Water meter water quality early warning method and system, intelligent terminal and storage medium

By integrating water quality detection devices on the water meter, analyzing water quality deviation information, outputting water quality warning information or adjusting control information, the problem of water quality reduction caused by aging of water pipes is solved, and real-time monitoring and adjustment of tap water quality is achieved.

CN119023922APending Publication Date: 2024-11-26NINGBO DONGHAI GRP CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411008109.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the tap water supply system, aging and leakage of water pipes lead to a reduction in the water quality of municipal water. The existing water meter can only detect the water consumption and cannot provide early warning of water quality.

Method used

By integrating a water quality detection device on the water meter, users can obtain water consumption and water quality detection information, analyze water quality deviation information, determine the water consumption purification adjustment value and adjustment range, and output water quality warning information or adjustment control information to the user terminal or water meter.

Benefits of technology

It has realized early warning and adjustment of the water quality delivered to the user, improved the accuracy of water quality detection and the effect of water consumption purification, and ensured that the water quality meets the standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119023922A_ABST
    Figure CN119023922A_ABST
Patent Text Reader

Abstract

The invention relates to a water meter water quality early warning method and system, an intelligent terminal and a storage medium, and relates to the technical field of water meters, and the method comprises the following steps: obtaining user water consumption and water quality detection information detected by a water quality detection device preset on a water meter; analyzing a deviation condition between the water quality detection information and preset water quality reference information and taking the deviation condition as water quality deviation information; analyzing and determining a water consumption purification adjustment value according to the water quality deviation information; analyzing and determining a water consumption adjustment interval according to the water consumption of the user; and determining water quality early warning information or water quality adjustment control information according to the falling condition of the water consumption purification adjustment value and the water consumption adjustment interval, and outputting the water quality early warning information to a terminal held by a user or outputting the water quality adjustment control information to a water meter. The water quality early warning device has the effect of conveniently carrying out early warning on the water quality conveyed to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water meters, and in particular to a water meter water quality early warning method, system, intelligent terminal and storage medium. Background Art

[0002] A water meter is an instrument used to measure the amount of water passing through a specific outlet. Currently, water meters are widely used in tap water supply systems. Water meters are used to record users' water consumption so that their water consumption can be billed and managed.

[0003] In the tap water supply system, after the raw water is extracted from the water source, it will be transported to the water treatment plant first, where it will be centrally purified. After reaching a certain water quality standard, it will be used as municipal water and transported to every household through water pipes. The user's water consumption will then be recorded through a water meter.

[0004] In the process of transporting municipal water to every household through water pipes, aging and leakage caused by long-term use of water pipes can easily cause secondary pollution to municipal water, thereby reducing the water quality when municipal water is transported to each household. The water meter only detects and records the water consumption and cannot provide early warning of the water quality delivered to the user. Summary of the invention

[0005] In order to facilitate early warning of water quality delivered to users, the present invention provides a water meter water quality early warning method, system, intelligent terminal and storage medium.

[0006] In a first aspect, the present invention provides a water quality early warning method for a water meter, which adopts the following technical solution:

[0007] A water quality early warning method for a water meter, comprising:

[0008] Obtain the user's water consumption and water quality detection information detected by the water quality detection device preset on the water meter;

[0009] Analyze the deviation between water quality test information and preset water quality benchmark information and use it as water quality deviation information;

[0010] Determine the water consumption purification adjustment value based on the water quality deviation information analysis;

[0011] Determine the water consumption adjustment interval based on user water consumption analysis;

[0012] According to the falling of the water consumption purification adjustment value and the water consumption adjustment interval, the water quality warning information or the water quality adjustment control information is determined, and the water quality warning information is output to the user's terminal or the water quality adjustment control information is output to the water meter.

[0013] Optionally, the method for determining the water consumption purification adjustment value includes:

[0014] Retrieving water quality deviation type information and water quality deviation value corresponding to the water quality deviation type information based on the water quality deviation information;

[0015] The water quality deviation type information consistent with the preset filtration and purification type information is used as the deviation purification type information, and the water quality deviation value corresponding to the deviation purification type information is used as the purification type deviation value;

[0016] According to the correspondence between the deviation purification type information and the purification type benchmark purification value corresponding to the preset unit water consumption for purification, the purification type benchmark purification value corresponding to the deviation purification type information is determined;

[0017] Calculate the ratio between the purification type deviation value and the purification type benchmark purification value and use it as the purification type purification adjustment value;

[0018] The purification adjustment values ​​are sorted from large to small based on the purification type, and the purification adjustment value of the purification type ranked first is used as the water consumption purification adjustment value.

[0019] Optionally, the method further includes a step after using the purification adjustment value of the purification type ranked first as the water consumption purification adjustment value, which is specifically as follows:

[0020] Determine whether the water consumption purification adjustment value is greater than the preset purification adjustment warning value;

[0021] If yes, the deviation purification type information corresponding to the water consumption purification adjustment value greater than the purification adjustment warning value is used as the purification warning type information, and the purification type deviation value corresponding to the purification warning type information is used as the purification warning type deviation value;

[0022] According to the correspondence between the purification warning type information and the preset warning type influencing cause information, the warning type influencing cause information corresponding to the purification warning type information is determined;

[0023] Determine the influencing cause warning information based on the influencing cause information of the warning type and the deviation value of the purification warning type, and directly output the influencing cause warning information;

[0024] If not, continue to output the water consumption purification adjustment value.

[0025] Optionally, the method for determining the impact cause warning information includes:

[0026] According to the correspondence between the purification warning type deviation value and the preset impact cause severity value, the impact cause severity value corresponding to the purification warning type deviation value is determined;

[0027] Determine whether there is only one cause of impact for the warning type;

[0028] If yes, the severity value of the impact cause is combined with the impact cause information of the warning type and used as the impact cause warning information;

[0029] If not, then according to the correspondence between the early warning type influencing cause information and the preset influencing cause benchmark deviation interval, the influencing cause benchmark deviation interval corresponding to the early warning type influencing cause information is determined;

[0030] According to the situation where the deviation value of the purification warning type falls within the baseline deviation range of the impact cause, the impact estimate cause information is determined;

[0031] The severity value of the impact cause is combined with the impact estimate cause information and used as the impact cause warning information.

[0032] Optionally, the method for determining the water consumption adjustment interval includes:

[0033] Retrieve historical water consumption and current water consumption based on user water consumption;

[0034] Determine the water consumption reference range based on historical water consumption analysis;

[0035] Calculating a sum and a difference based on the current water consumption and a preset water consumption benchmark adjustment value to form a current water consumption adjustment interval;

[0036] Determine whether the current water consumption is within the water consumption reference range;

[0037] If yes, the current water consumption adjustment interval is used as the water consumption adjustment interval;

[0038] If not, the difference between the current water consumption and the water consumption reference interval is calculated and used as the water consumption deviation value;

[0039] The water consumption deviation adjustment interval is determined based on the water consumption deviation value and the current water consumption adjustment interval, and the water consumption deviation adjustment interval is used as the water consumption adjustment interval.

[0040] Optionally, the method for determining the water consumption reference interval includes:

[0041] Get the current time point;

[0042] Based on the current time point, the historical water consumption is retrieved from the historical water consumption at the same time;

[0043] Sort the historical simultaneous water consumption from large to small, and use the historical simultaneous water consumption that is ranked first and the historical simultaneous water consumption that is ranked last as end values ​​to form a historical simultaneous initial interval;

[0044] Calculate the average value of the difference between each adjacent historical water consumption at the same time and use it as the historical simultaneous change mean;

[0045] Based on the mean of historical simultaneous changes, the historical simultaneous initial interval is narrowed and adjusted to form a historical simultaneous adjustment interval, and the historical simultaneous adjustment interval is used as a reference interval for water consumption.

[0046] Optionally, the method for determining the water consumption deviation adjustment interval includes:

[0047] Determine whether the water consumption deviation value is greater than a preset deviation reference value;

[0048] If yes, get the current ambient temperature value;

[0049] According to the corresponding relationship between the current ambient temperature value and the preset water consumption temperature influence value, the water consumption temperature influence value corresponding to the current ambient temperature value is determined;

[0050] Calculate the product of the water consumption deviation value and the water consumption temperature impact value and use it as the temperature adjustment deviation value;

[0051] According to the correspondence between the temperature adjustment deviation value and the preset interval temperature adjustment value, the interval temperature adjustment value corresponding to the temperature adjustment deviation value is determined;

[0052] Based on the interval temperature adjustment value, the current adjustment interval of water consumption is adjusted to expand the interval to form a water consumption deviation adjustment interval;

[0053] If not, then according to the correspondence between the water consumption deviation value and the preset interval deviation adjustment value, the interval deviation adjustment value corresponding to the water consumption deviation value is determined;

[0054] Based on the interval deviation adjustment value, the current water consumption adjustment interval is adjusted to expand the interval to form a water consumption deviation adjustment interval.

[0055] In a second aspect, the present invention provides a water meter water quality early warning system, which adopts the following technical solution:

[0056] A water meter water quality early warning system, comprising:

[0057] The acquisition module is used to obtain the user's water consumption, water quality detection information, current time point and current ambient temperature value;

[0058] A memory for storing a program of the water meter water quality early warning method according to any one of the first aspects;

[0059] The program in the memory can be loaded and executed by the processor to implement the water meter water quality early warning method as described in any one of the first aspects.

[0060] In a third aspect, the present invention provides an intelligent terminal, which adopts the following technical solution:

[0061] An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes a water meter water quality early warning method as described in any one of the first aspects.

[0062] In a fourth aspect, the present invention provides a computer storage medium capable of storing a corresponding program, which has the characteristic of being convenient for realizing early warning of water quality delivered to users, and adopts the following technical solution:

[0063] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes a water meter water quality early warning method as described in any one of the first aspects.

[0064] In summary, the present invention includes at least one of the following beneficial technical effects:

[0065] 1. Obtain and analyze water quality deviation information from user water consumption and water quality detection information, and then analyze and determine the water consumption purification adjustment value. Determine the water consumption adjustment interval through user water consumption analysis, and then analyze the water consumption purification adjustment value and the water consumption adjustment interval to determine water quality warning information and transmit it to the user's terminal or determine water quality adjustment control information and output it to the water meter. In this way, the water meter on each household is used to detect water quality and water consumption, and timely analyze when water quality adjustment cannot be performed, so as to facilitate early warning of water quality delivered to the user;

[0066] 2. Retrieve water quality deviation type information and water quality deviation value through water quality deviation information, and define deviation purification type information and purification type deviation value respectively, determine purification type benchmark purification value through deviation purification type information analysis, and calculate purification type purification adjustment value, and then use the purification type purification adjustment value ranked first from largest to smallest as water consumption purification adjustment value, so as to improve the accuracy of the obtained water consumption purification adjustment value;

[0067] 3. By judging whether the water consumption purification adjustment value is greater than the preset purification adjustment warning value, if it is greater, respectively define the purification warning type information and the purification warning type deviation value, and determine the warning type influencing cause information through purification warning type information analysis, and then determine the influencing cause warning information through the warning type influencing cause information and the purification warning type deviation value analysis and directly output it. When it is not greater than, continue to output the water consumption purification adjustment value, so that when the purification adjustment exceeds the warning value, the influencing cause is directly warned, which is convenient for warning the water quality delivered to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 This is a flow chart of a method for water quality early warning of a water meter according to an embodiment of the present application;

[0069] Figure 2is a method flow chart of a method for determining a water consumption purification adjustment value according to an embodiment of the present application;

[0070] Figure 3 is a method flow chart of the step after using the purification adjustment value of the first-ranked purification type as the water consumption purification adjustment value of the embodiment of the present application;

[0071] Figure 4 is a method flow chart of a method for determining the impact cause warning information of an embodiment of the present application;

[0072] Figure 5 is a method flow chart of a method for determining a water consumption adjustment interval according to an embodiment of the present application;

[0073] Figure 6 is a method flow chart of a method for determining a water consumption reference interval according to an embodiment of the present application;

[0074] Figure 7 is a method flow chart of a method for determining a water consumption deviation adjustment interval according to an embodiment of the present application;

[0075] Figure 8 It is a system flow chart of water meter water quality warning in an embodiment of the present application.

[0076] Explanation of the accompanying drawings: 1. Acquisition module; 2. Memory; 3. Processor. DETAILED DESCRIPTION

[0077] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0078] A water meter water quality early warning method detects the water quality passing through the water meter and, when there is a deviation in the water quality, analyzes the deviation and the water consumption adjustment, thereby giving an early warning or performing water quality adjustment control.

[0079] The embodiment of the invention discloses a water quality early warning method for a water meter.

[0080] Reference Figure 1 , a water meter water quality early warning method includes:

[0081] Step S100: obtaining the user's water consumption and water quality detection information detected by a water quality detection device preset on the water meter.

[0082] Among them, user water consumption refers to the amount of water used by a household connected to a water meter, and the user water consumption is obtained through detection by the water meter. Water quality detection information refers to the water quality detection information obtained by testing the water quality of municipal water transported to the user, and the water quality detection information is obtained after testing by the water quality detection device preset on the water meter.

[0083] Step S200: Analyze the deviation between the water quality detection information and the preset water quality reference information and use it as water quality deviation information.

[0084] Among them, water quality benchmark information refers to the benchmark requirement information that municipal water needs to meet when it is transported to users. The water quality benchmark information can be obtained through pre-input by the operator, or by retrieving the database on water quality requirements on the government website.

[0085] Water quality deviation information refers to the deviation value corresponding to the deviation in water quality when municipal water is transported to users. The deviation between water quality detection information and preset water quality benchmark information is analyzed and the deviation between the two is used as water quality deviation information, which facilitates subsequent use.

[0086] Step S300: Determine the water consumption purification adjustment value based on the water quality deviation information analysis.

[0087] Among them, the water consumption purification adjustment value refers to the adjustment value of the water consumption that needs to be changed when the water quality is adjusted. By analyzing the water quality deviation information, the water consumption purification adjustment value is determined to facilitate subsequent use.

[0088] Step S400: Determine a water consumption adjustment interval based on user water consumption analysis.

[0089] The water consumption adjustment interval refers to the adjustment interval within which the user's water consumption can be adjusted. The water consumption adjustment interval is determined by analyzing the user's water consumption to facilitate subsequent use.

[0090] Step S500: Determine water quality warning information or water quality adjustment control information according to the water consumption purification adjustment value and the water consumption adjustment interval, and output the water quality warning information to the user's terminal or output the water quality adjustment control information to the water meter.

[0091] Among them, water quality warning information refers to warning information that warns that water quality does not meet requirements, and water quality adjustment control information refers to control information used to control the water meter to adjust water consumption to adjust water quality.

[0092] By analyzing the falling situation of the water consumption purification adjustment value and the water consumption adjustment interval, when falling, the water consumption purification adjustment control information corresponding to the water consumption purification adjustment value is determined according to the corresponding relationship between the water consumption purification adjustment value and the preset water consumption purification adjustment control information, and the water consumption purification adjustment control information is used as the water quality adjustment control information, and the water quality adjustment control information is output to the water meter, so as to control the user's water consumption to improve the purification effect, thereby improving the water quality. When not falling, the difference between the water consumption purification adjustment value and the water consumption adjustment interval is calculated and used as the water consumption purification adjustment deviation value, and the adjustment deviation warning information corresponding to the water consumption purification adjustment deviation value is determined according to the corresponding relationship between the water consumption purification adjustment deviation value and the preset adjustment deviation warning information, and the adjustment deviation warning information is used as the water quality warning information and transmitted to the terminal held by the user, so as to facilitate the warning of the water quality transmitted to the user.

[0093] The water consumption purification adjustment control information refers to the control information for controlling the valve preset on the water meter and used to control the generated water consumption according to the water consumption purification adjustment value. The water consumption purification adjustment control information is obtained by querying from a database storing water consumption purification adjustment values ​​and water consumption purification adjustment control information. The water consumption purification adjustment deviation value refers to the deviation value of the adjustment when the water quality is adjusted by adjusting the water consumption. The water consumption purification adjustment deviation value is obtained by calculating the difference between the water consumption purification adjustment value and the water consumption adjustment interval. The adjustment deviation warning information refers to the warning information for water quality warning to users according to the water consumption purification adjustment deviation value. The adjustment deviation warning information is obtained by querying from a database storing water consumption purification adjustment deviation values ​​and adjustment deviation warning information.

[0094] exist Figure 1 In step S300, in order to further ensure the rationality of the water consumption purification adjustment value, it is necessary to further analyze and calculate the water consumption purification adjustment value. Figure 2 The steps shown are explained in detail.

[0095] Reference Figure 2 , the method for determining the water consumption purification adjustment value includes the following steps:

[0096] Step S310: Retrieving water quality deviation type information and a water quality deviation value corresponding to the water quality deviation type information based on the water quality deviation information.

[0097] The water quality deviation information includes water quality deviation type information and water quality deviation value. The water quality deviation type information refers to the parameter type information corresponding to the water quality test parameters in municipal water that do not meet the requirements, and the water quality deviation value refers to the specific value corresponding to the water quality test parameters that do not meet the requirements. The water quality deviation type information and water quality deviation value are retrieved through the water quality deviation information, so as to facilitate subsequent use.

[0098] Step S320: using the water quality deviation type information consistent with the preset filtering and purification type information as the deviation purification type information, and using the water quality deviation value corresponding to the deviation purification type information as the purification type deviation value.

[0099] The filtering and purification type information refers to the parameter type information that can be filtered and purified by the filtering device preset on the water meter, and the filtering and purification type information is obtained by querying the model of the filtering device. By using the water quality deviation type information consistent with the preset filtering and purification type information as the deviation purification type information, and using the water quality deviation value corresponding to the deviation purification type information as the purification type deviation value, the deviation purification type information and the purification type deviation value are defined respectively, which is convenient for subsequent use.

[0100] Step S330: Determine the purification type reference purification value corresponding to the deviation purification type information according to the correspondence between the deviation purification type information and the purification type reference purification value corresponding to the preset unit water consumption for purification.

[0101] The purification type benchmark purification value refers to the benchmark purification value corresponding to the purification of the water quality parameters to be purified for the unit water consumption, and the purification type benchmark purification value is obtained by querying from a database storing the deviation purification type information and the purification type benchmark purification value. The purification type benchmark purification value is determined by querying the deviation purification type information, which is convenient for subsequent use.

[0102] Step S340: Calculate the ratio between the purification type deviation value and the purification type reference purification value and use it as the purification type purification adjustment value.

[0103] Among them, the purification type purification adjustment value refers to the water consumption that needs to be adjusted when purifying the water quality parameters that need to be purified. The ratio between the purification type deviation value and the purification type benchmark purification value is calculated and used as the purification type purification adjustment value, which is convenient for subsequent use.

[0104] Step S350: sorting the purification adjustment values ​​from large to small based on the purification types, and taking the purification adjustment value of the purification type ranked first as the water consumption purification adjustment value.

[0105] The purification adjustment values ​​of the purification types are sorted from large to small, and the purification adjustment value of the purification type ranked first is used as the water consumption purification adjustment value, thereby improving the accuracy of the obtained water consumption purification adjustment value.

[0106] exist Figure 2 After step S350, in order to further ensure the rationality of the water consumption purification adjustment value, it is necessary to further analyze and calculate the purification adjustment value of the first-ranked purification type as the water consumption purification adjustment value. Figure 3 The steps shown are explained in detail.

[0107] Reference Figure 3 The steps after using the purification adjustment value of the first-ranked purification type as the water consumption purification adjustment value include the following steps:

[0108] Step S351: Determine whether the water consumption purification adjustment value is greater than the preset purification adjustment warning value. If yes, execute step S352; if no, execute step S355.

[0109] The purification adjustment warning value refers to the maximum water consumption adjustment value that can be tolerated during purification adjustment. The purification adjustment warning value is retrieved by querying the water meter model. By judging whether the water consumption purification adjustment value is greater than the preset purification adjustment warning value, it is judged whether the water consumption during purification adjustment reaches the maximum adjustment value.

[0110] Step S352: the deviation purification type information corresponding to the water consumption purification adjustment value greater than the purification adjustment warning value is used as the purification warning type information, and the purification type deviation value corresponding to the purification warning type information is used as the purification warning type deviation value.

[0111] Among them, when the water consumption purification adjustment value is greater than the preset purification adjustment warning value, it means that the water consumption during the purification adjustment has reached the maximum adjustment value. Therefore, the deviation purification type information corresponding to the water consumption purification adjustment value greater than the purification adjustment warning value is used as the purification warning type information, and the purification type deviation value corresponding to the purification warning type information is used as the purification warning type deviation value, thereby defining the purification warning type information and the purification warning type deviation value respectively, which is convenient for subsequent use.

[0112] Step S353: determining the warning type influencing cause information corresponding to the purification warning type information according to the corresponding relationship between the purification warning type information and the preset warning type influencing cause information.

[0113] The information on the cause of the impact of the warning type refers to the information on the cause of the impact on the type of water quality parameters that require purification warning. The information on the cause of the impact of the warning type is obtained by querying from a database storing purification warning type information and warning type impact cause information. The information on the cause of the impact of the warning type is determined by querying the purification warning type information, which is convenient for subsequent use.

[0114] Step S354: determining the influencing cause warning information according to the influencing cause information of the warning type and the deviation value of the purification warning type, and directly outputting the influencing cause warning information.

[0115] Among them, the influencing cause warning information refers to the warning information for warning the reasons why the types of water quality parameters do not meet the requirements. The influencing cause warning information is determined by analyzing the deviation value of the warning type influencing cause information and the purification warning type, and the influencing cause warning information is directly output, so that there is no need to analyze the water consumption adjustment interval to issue a warning, thereby reducing the analysis time and facilitating the warning of the water quality delivered to the user.

[0116] Step S355: Continue to output the water consumption purification adjustment value.

[0117] Among them, when the water consumption purification adjustment value is not greater than the preset purification adjustment warning value, it means that the water consumption during purification adjustment has not reached the maximum adjustment value, and there is still a possibility of adjusting the water quality by adjusting the water consumption, so the water consumption purification adjustment value continues to be output.

[0118] exist Figure 3 In step S354, in order to further ensure the rationality of the impact cause warning information, it is necessary to further analyze and calculate the impact cause warning information separately. Figure 4 The steps shown are explained in detail.

[0119] Reference Figure 4 , the method for determining the impact cause warning information includes the following steps:

[0120] Step S3541: According to the correspondence between the purge warning type deviation value and the preset influencing cause severity value, the influencing cause severity value corresponding to the purge warning type deviation value is determined.

[0121] Among them, the severity value of the influencing cause refers to the severity value of the cause that causes the water quality parameter type to fail to meet the requirements and requires an early warning. The severity value of the influencing cause is determined by calculating the purification early warning type deviation value according to the preset proportion value corresponding to the purification early warning type information. The preset proportion value corresponding to the purification early warning type information is retrieved through the purification early warning type deviation value, and the severity value of the influencing cause is determined after calculation, which is convenient for subsequent use.

[0122] Step S3542: Determine whether there is only one warning type influencing cause information. If yes, execute step S3543; if no, execute step S3544.

[0123] Here, by judging whether there is only one influencing cause information of the warning type, it is judged whether to directly issue a warning for the acquired influencing cause.

[0124] Step S3543: Combine the severity value of the impact cause with the warning type impact cause information and use it as the impact cause warning information.

[0125] Among them, when there is only one warning type of impact cause information, it means that a warning is directly issued for the acquired impact cause at this time, so the impact cause severity value is combined with the warning type impact cause information and used as the impact cause warning information, thereby improving the accuracy of the acquired impact cause warning information.

[0126] Step S3544: According to the correspondence between the early warning type influencing cause information and the preset influencing cause benchmark deviation interval, the influencing cause benchmark deviation interval corresponding to the early warning type influencing cause information is determined.

[0127] Among them, the influencing cause benchmark deviation interval refers to the benchmark interval of deviation that may be caused by the causes that cause the water quality parameter types not to meet the requirements. The influencing cause benchmark deviation interval is obtained by querying the database that stores the warning type influencing cause information and the influencing cause benchmark deviation interval.

[0128] When there is more than one warning type influencing cause information, it means that the obtained influencing cause cannot be directly warned at this time. Therefore, the influencing cause benchmark deviation interval is determined by querying the warning type influencing cause information to facilitate subsequent use.

[0129] Step S3545: Determine the impact estimation cause information according to the fall between the purification warning type deviation value and the impact cause benchmark deviation interval.

[0130] Among them, the impact estimation cause information refers to the cause information for estimating the causes that affect the water quality parameters. By analyzing the fall-in situation between the purification warning type deviation value and the impact cause benchmark deviation interval, when there is only one purification warning type deviation value falling within the impact cause benchmark deviation interval, the warning type impact cause information corresponding to the purification warning type deviation value that falls within the impact cause benchmark deviation interval is directly used as the impact estimation cause information; when there are multiple purification warning type deviation values ​​falling within the impact cause benchmark deviation interval, the difference between the purification warning type deviation value and the middle value of the impact cause benchmark deviation interval is calculated, and the differences are sorted from small to large, and the warning type impact cause information corresponding to the first-ranked difference is used as the impact estimation cause information, which is convenient for subsequent use.

[0131] Step S3546: Combine the impact cause severity value with the impact estimate cause information and use it as impact cause warning information.

[0132] Among them, by combining the impact cause severity value with the impact estimate cause information and using them as impact cause warning information, the accuracy of the acquired impact cause warning information is improved.

[0133] exist Figure 1 In step S500, in order to further ensure the rationality of the water consumption adjustment interval, it is necessary to further analyze and calculate the water consumption adjustment interval separately, specifically by Figure 5 The steps shown are explained in detail.

[0134] Reference Figure 5 , the method for determining the water consumption adjustment interval includes the following steps:

[0135] Step S510: Retrieve historical water consumption and current water consumption based on the user's water consumption.

[0136] Among them, the user's water consumption includes historical water consumption and current water consumption. Historical water consumption refers to the user's water consumption in historical time, and current water consumption refers to the user's water consumption at the current time. By retrieving historical water consumption and current water consumption, subsequent use is convenient.

[0137] Step S520: Determine a water consumption reference interval based on historical water consumption analysis.

[0138] Among them, the water consumption reference interval refers to the interval for reference of water consumption based on the user's usage in historical time. By analyzing the historical water consumption, the water consumption reference interval is determined to facilitate subsequent use.

[0139] Step S530: Calculate the sum and difference based on the current water consumption and the preset water consumption reference adjustment value to form a current water consumption adjustment interval.

[0140] Among them, the water consumption benchmark adjustment value refers to the benchmark adjustment value when adjusting the water consumption, and the water consumption benchmark adjustment value is obtained after being pre-input by the operator. The current water consumption adjustment interval refers to the water consumption interval after the water consumption at the current time is adjusted. The current water consumption is calculated with the preset water consumption benchmark adjustment value, and the sum and difference of the current water consumption and the preset water consumption benchmark adjustment value are used as the two endpoints of the interval to form the current water consumption adjustment interval, which is convenient for subsequent use.

[0141] Step S540: Determine whether the current water consumption is within the water consumption reference interval. If yes, execute step S550; if no, execute step S560.

[0142] Herein, by judging whether the current water consumption is within the water consumption reference interval, it is judged whether the current water consumption adjustment interval can be directly used.

[0143] Step S550: taking the current water consumption adjustment interval as the water consumption adjustment interval.

[0144] Among them, if the current water consumption is within the water consumption reference interval, it means that the current water consumption adjustment interval can be used directly at this time, so the current water consumption adjustment interval is used as the water consumption adjustment interval, thereby improving the accuracy of the obtained water consumption adjustment interval.

[0145] Step S560: Calculate the difference between the current water consumption and the water consumption reference interval and use it as the water consumption deviation value.

[0146] Among them, the water consumption deviation value refers to the deviation value when there is a deviation between the water consumption at the current time and the reference interval. If the current water consumption is not within the water consumption reference interval, it means that the current water consumption adjustment interval cannot be used directly at this time. Therefore, the difference between the current water consumption and the water consumption reference interval is calculated and used as the water consumption deviation value for subsequent use.

[0147] Step S570: Determine the water consumption deviation adjustment interval according to the water consumption deviation value and the current water consumption adjustment interval, and use the water consumption deviation adjustment interval as the water consumption adjustment interval.

[0148] Among them, the water consumption deviation adjustment interval refers to the interval after adjusting the interval according to the water consumption deviation. By analyzing the water consumption deviation value and the current water consumption adjustment interval, the water consumption deviation adjustment interval is determined and used as the water consumption adjustment interval, thereby improving the accuracy of the obtained water consumption adjustment interval.

[0149] exist Figure 5In step S520, in order to further ensure the rationality of the water consumption reference interval, it is necessary to further analyze and calculate the water consumption reference interval separately, specifically by Figure 6 The steps shown are explained in detail.

[0150] Reference Figure 6 , the method for determining the water consumption reference interval includes the following steps:

[0151] Step S521: Get the current time point.

[0152] The current time point refers to the time point at which the current time is located, and the current time point is obtained by querying a database of the current time.

[0153] Step S522: Based on the current time point, retrieve the historical water consumption at the same time.

[0154] Among them, the historical simultaneous water consumption refers to the water consumption corresponding to the current time point in historical time. By retrieving the water consumption corresponding to the current time point from the historical water consumption and using it as the historical simultaneous water consumption, it is convenient for subsequent use.

[0155] Step S523: Sort the historical simultaneous water consumption from large to small, and use the first ranked historical simultaneous water consumption and the last ranked historical simultaneous water consumption as end values ​​to form a historical simultaneous initial interval.

[0156] Among them, the historical simultaneous initial interval refers to the initial reference interval generated based on the historical simultaneous water consumption. The historical simultaneous water consumption is sorted from large to small, and the first-ranked historical simultaneous water consumption and the last-ranked historical simultaneous water consumption are used as the end values ​​of the interval to form a historical simultaneous initial interval, which is convenient for subsequent use.

[0157] Step S524: Calculate the average value of the differences between each adjacent historical simultaneous water consumption and use it as the historical simultaneous change mean.

[0158] Among them, the historical simultaneous change mean refers to the mean change in water consumption corresponding to two adjacent current time points in historical time. After calculating the difference between each adjacent historical simultaneous water consumption, all the differences are calculated to obtain the average value of the differences, and then the average value is used as the historical simultaneous change mean, so as to facilitate subsequent use.

[0159] Step S525: Based on the historical simultaneous change mean, the historical simultaneous initial interval is narrowed and adjusted to form a historical simultaneous adjustment interval, and the historical simultaneous adjustment interval is used as a water consumption reference interval.

[0160] Among them, the historical simultaneous adjustment interval refers to the interval formed after adjusting the initial reference interval generated based on the historical simultaneous water consumption, by calculating the sum of the smaller end value of the historical simultaneous initial interval and the historical simultaneous change mean, and calculating the difference between the larger end value of the historical simultaneous initial interval and the historical simultaneous change mean, and then using the calculated sum and difference as the end values ​​to form the historical simultaneous adjustment interval, and then using the historical simultaneous adjustment interval as the water consumption reference interval, thereby improving the accuracy of the obtained water consumption reference interval.

[0161] exist Figure 5 In step S570, in order to further ensure the rationality of the water consumption deviation adjustment interval, it is necessary to further analyze and calculate the water consumption deviation adjustment interval separately, specifically by Figure 7 The steps shown are explained in detail.

[0162] Reference Figure 7 , the method for determining the water consumption deviation adjustment interval includes the following steps:

[0163] Step S571: Determine whether the water consumption deviation value is greater than a preset deviation reference value. If yes, execute step S572; if no, execute step S577.

[0164] The deviation reference value refers to the reference deviation value that can be tolerated when the water consumption deviates, and the deviation reference value is obtained after being pre-entered by the operator. By judging whether the water consumption deviation value is greater than the preset deviation reference value, it is judged whether the interval can be adjusted and determined according to the deviation of the water consumption.

[0165] Step S572: Obtain the current ambient temperature value.

[0166] Among them, the current ambient temperature value refers to the temperature value of the environment where the water meter is located at the current time. The current ambient temperature value can be obtained by detecting the temperature sensor preset on the water meter, and the current ambient temperature value can also be obtained by querying the real-time temperature website at the location of the water meter. When the water consumption deviation value is greater than the preset deviation reference value, it means that the interval cannot be adjusted and determined based on the deviation caused by the water consumption at this time, so the current ambient temperature value is used for convenience in subsequent use.

[0167] Step S573: Determine the water consumption temperature impact value corresponding to the current ambient temperature value according to the corresponding relationship between the current ambient temperature value and the preset water consumption temperature impact value.

[0168] The water consumption temperature impact value refers to the degree of influence of the ambient temperature on the user's water consumption. The water consumption temperature impact value is obtained by querying from a database storing the current ambient temperature value and the water consumption temperature impact value. The water consumption temperature impact value is determined by querying the current ambient temperature value, which is convenient for subsequent use.

[0169] Step S574: Calculate the product of the water consumption deviation value and the water consumption temperature impact value and use it as the temperature adjustment deviation value.

[0170] The temperature adjustment deviation value refers to the actual deviation value when the ambient temperature affects the user's water consumption. The product value between the water consumption deviation value and the water consumption temperature impact value is calculated and used as the temperature adjustment deviation value, which facilitates subsequent use.

[0171] Step S575: determining the interval temperature adjustment value corresponding to the temperature adjustment deviation value according to the correspondence between the temperature adjustment deviation value and the preset interval temperature adjustment value.

[0172] The interval temperature adjustment value refers to the adjustment value for adjusting the interval due to the influence of the ambient temperature, and the interval temperature adjustment value is obtained by querying from a database storing temperature adjustment deviation values ​​and interval temperature adjustment values. The interval temperature adjustment value is determined by querying the temperature adjustment deviation value, which is convenient for subsequent use.

[0173] Step S576: Based on the interval temperature adjustment value, the current water consumption adjustment interval is adjusted to expand the interval to form a water consumption deviation adjustment interval.

[0174] Among them, by calculating the difference between the smaller end value of the current water consumption adjustment interval and the interval temperature adjustment value, and calculating the sum between the larger end value of the current water consumption adjustment interval and the interval temperature adjustment value, the calculated difference and sum are respectively used as the end values ​​of the interval to form a water consumption deviation adjustment interval, thereby improving the accuracy of the obtained water consumption deviation adjustment interval.

[0175] Step S577: Determine the interval deviation adjustment value corresponding to the water consumption deviation value according to the correspondence between the water consumption deviation value and the preset interval deviation adjustment value.

[0176] The interval deviation adjustment value refers to an adjustment value for adjusting the interval according to the water consumption deviation value, and the interval deviation adjustment value is obtained by querying from a database storing water consumption deviation values ​​and interval deviation adjustment values.

[0177] When the water consumption deviation value is not greater than the preset deviation reference value, it means that the interval can be adjusted and determined based on the deviation caused by the water consumption. Therefore, the interval deviation adjustment value is determined by querying the water consumption deviation value, which is convenient for subsequent use.

[0178] Step S578: Based on the interval deviation adjustment value, the current water consumption adjustment interval is adjusted to expand the interval to form a water consumption deviation adjustment interval.

[0179] Among them, by calculating the difference between the smaller end value of the current water consumption adjustment interval and the interval deviation adjustment value, and calculating the sum between the larger end value of the current water consumption adjustment interval and the interval deviation adjustment value, the calculated difference and sum are respectively used as the end values ​​of the interval to form a water consumption deviation adjustment interval, thereby improving the accuracy of the obtained water consumption deviation adjustment interval.

[0180] Reference Figure 8 Based on the same inventive concept, an embodiment of the present invention provides a water meter water quality early warning system, including:

[0181] Acquisition module 1, used to obtain user water consumption, water quality detection information, current time point and current ambient temperature value;

[0182] Memory 2, used to store Figures 1 to 7 Procedures for early warning methods of water quality at water meters in any of the above;

[0183] Processor 3, the program in the memory can be loaded and executed by the processor and realize the following Figures 1 to 7 Any of the water quality early warning methods for water meters.

[0184] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a program that can be loaded and executed by the processor. Figures 1 to 7 A computer program for the water quality early warning method of any one of the water meters.

[0185] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0186] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor. Figures 1 to 7 A computer program for the water quality early warning method of any one of the water meters.

[0187] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0188] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A water quality early warning method for a water meter, characterized in that: include: Obtain the user's water consumption and water quality detection information detected by the water quality detection device preset on the water meter; Analyze the deviation between water quality test information and preset water quality benchmark information and use it as water quality deviation information; Determine the water consumption purification adjustment value based on the water quality deviation information analysis; Determine the water consumption adjustment interval based on user water consumption analysis; According to the falling situation of the water consumption purification adjustment value and the water consumption adjustment interval, the water quality warning information or the water quality adjustment control information is determined, and the water quality warning information is output to the terminal held by the user or the water quality adjustment control information is output to the water meter.

2. The water quality early warning method for water meter according to claim 1 is characterized in that: Methods for determining water consumption purification adjustment values ​​include: Retrieving water quality deviation type information and water quality deviation value corresponding to the water quality deviation type information based on the water quality deviation information; The water quality deviation type information consistent with the preset filtration and purification type information is used as the deviation purification type information, and the water quality deviation value corresponding to the deviation purification type information is used as the purification type deviation value; According to the correspondence between the deviation purification type information and the purification type benchmark purification value corresponding to the preset unit water consumption for purification, the purification type benchmark purification value corresponding to the deviation purification type information is determined; Calculate the ratio between the purification type deviation value and the purification type benchmark purification value and use it as the purification type purification adjustment value; The purification adjustment values ​​are sorted from large to small based on the purification type, and the purification adjustment value of the purification type ranked first is used as the water consumption purification adjustment value.

3. The water quality early warning method for water meter according to claim 2 is characterized in that: The step further includes the following steps after using the purification adjustment value of the purification type ranked first as the water consumption purification adjustment value: Determine whether the water consumption purification adjustment value is greater than the preset purification adjustment warning value; If yes, the deviation purification type information corresponding to the water consumption purification adjustment value greater than the purification adjustment warning value is used as the purification warning type information, and the purification type deviation value corresponding to the purification warning type information is used as the purification warning type deviation value; According to the correspondence between the purification warning type information and the preset warning type influencing cause information, the warning type influencing cause information corresponding to the purification warning type information is determined; Determine the influencing cause warning information based on the influencing cause information of the warning type and the deviation value of the purification warning type, and directly output the influencing cause warning information; If not, continue to output the water consumption purification adjustment value.

4. The water quality early warning method of water meter according to claim 3 is characterized in that: Methods for determining the impact cause warning information include: According to the correspondence between the purification warning type deviation value and the preset impact cause severity value, the impact cause severity value corresponding to the purification warning type deviation value is determined; Determine whether there is only one cause of impact for the warning type; If yes, the severity value of the impact cause is combined with the impact cause information of the warning type and used as the impact cause warning information; If not, then according to the correspondence between the early warning type influencing cause information and the preset influencing cause benchmark deviation interval, the influencing cause benchmark deviation interval corresponding to the early warning type influencing cause information is determined; According to the situation where the deviation value of the purification warning type falls within the baseline deviation range of the impact cause, the impact estimate cause information is determined; The severity value of the impact cause is combined with the impact estimate cause information and used as the impact cause warning information.

5. The water quality early warning method for water meter according to claim 1, characterized in that: Methods for determining the water consumption adjustment interval include: Retrieve historical water consumption and current water consumption based on user water consumption; Determine the water consumption reference range based on historical water consumption analysis; Calculating a sum and a difference based on the current water consumption and a preset water consumption benchmark adjustment value to form a current water consumption adjustment interval; Determine whether the current water consumption is within the water consumption reference range; If yes, the current water consumption adjustment interval is used as the water consumption adjustment interval; If not, the difference between the current water consumption and the water consumption reference interval is calculated and used as the water consumption deviation value; The water consumption deviation adjustment interval is determined based on the water consumption deviation value and the current water consumption adjustment interval, and the water consumption deviation adjustment interval is used as the water consumption adjustment interval.

6. The water quality early warning method for water meter according to claim 5 is characterized in that: The methods for determining the water consumption reference range include: Get the current time point; Based on the current time point, the historical water consumption is retrieved from the historical water consumption at the same time; Sort the historical simultaneous water consumption from large to small, and use the historical simultaneous water consumption that is ranked first and the historical simultaneous water consumption that is ranked last as end values ​​to form a historical simultaneous initial interval; Calculate the average value of the difference between each adjacent historical water consumption at the same time and use it as the historical simultaneous change mean; Based on the mean of historical simultaneous changes, the historical simultaneous initial interval is narrowed and adjusted to form a historical simultaneous adjustment interval, and the historical simultaneous adjustment interval is used as a reference interval for water consumption.

7. The water quality early warning method of water meter according to claim 6 is characterized in that: Methods for determining the water consumption deviation adjustment interval include: Determine whether the water consumption deviation value is greater than a preset deviation reference value; If yes, get the current ambient temperature value; According to the corresponding relationship between the current ambient temperature value and the preset water consumption temperature influence value, the water consumption temperature influence value corresponding to the current ambient temperature value is determined; Calculate the product of the water consumption deviation value and the water consumption temperature impact value and use it as the temperature adjustment deviation value; According to the correspondence between the temperature adjustment deviation value and the preset interval temperature adjustment value, the interval temperature adjustment value corresponding to the temperature adjustment deviation value is determined; Based on the interval temperature adjustment value, the current adjustment interval of water consumption is adjusted to expand the interval to form a water consumption deviation adjustment interval; If not, then according to the correspondence between the water consumption deviation value and the preset interval deviation adjustment value, the interval deviation adjustment value corresponding to the water consumption deviation value is determined; Based on the interval deviation adjustment value, the current water consumption adjustment interval is adjusted to expand the interval to form a water consumption deviation adjustment interval.

8. A water meter water quality early warning system, characterized in that: include: The acquisition module (1) is used to obtain the user's water consumption, water quality detection information, current time point and current ambient temperature value; A memory (2), used for storing a program of the water meter water quality early warning method according to any one of claims 1 to 7; A processor (3), wherein the program in the memory can be loaded and executed by the processor and implement the water meter water quality early warning method as claimed in any one of claims 1 to 7.

9. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the water meter water quality early warning method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the water meter water quality early warning method according to any one of claims 1 to 7.