Water meter wireless data transmission management system and method based on internet of things
By acquiring water quality and water usage data through an IoT system, and calculating measurement error values and water usage thresholds, the problem of traditional water meters being unable to make personalized judgments is solved, enabling low-cost, highly integrated personalized water management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2026-03-03
AI Technical Summary
Traditional water meters cannot make personalized judgments based on different users' water usage habits, which can easily lead to misjudgments. Furthermore, existing 4G technology water meter systems are costly and have low integration.
By acquiring water quality and water usage data through the Internet of Things (IoT) system, calculating measurement error values and water usage thresholds, and utilizing predicted water consumption and influencing factors, personalized prompts or arrangements can be sent.
It enables accurate judgment based on users' water usage, reduces system costs, improves the integration of water meters, and provides personalized water management for users.
Smart Images

Figure CN116561597B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission management technology, specifically to a wireless data transmission management system and method for water meters based on the Internet of Things. Background Technology
[0002] The CIA1 belongs to the 4G series and can fully utilize existing 4G technology. 4G technology uses CAT4 and can achieve download speeds of up to 150Mbps. However, most IoT scenarios do not have such high requirements. As 4G technology continues to develop, the CIA1, as a low-end version of 4G, only requires minor modifications to existing 4G products to quickly launch to the market and reduce costs. In terms of chip cost, the optimized CIA1 has higher integration, simpler module hardware architecture, and lower peripheral hardware costs.
[0003] Traditional water meters can only monitor water usage based on the amount of water a user uses. When it comes to warning of abnormal water usage, they simply set water volume thresholds to judge the user's water usage. However, different users have different water usage habits. If a uniform standard is used to judge each user's water usage, it will be impossible to make the best judgment based on the user's own situation, and misjudgments may even occur. Summary of the Invention
[0004] The purpose of this invention is to provide a water meter wireless data transmission management system and method based on the Internet of Things, so as to solve the problems mentioned in the background art.
[0005] To address the aforementioned technical problems, this invention provides the following technical solution: a wireless data transmission management method for water meters based on the Internet of Things, the method comprising:
[0006] Step S100: Obtain historical water quality reports from the waterworks and extract the corresponding water quality data from each historical water quality report; the water quality data is the total hardness of the water. Based on the sensors in the water meters, obtain the historical water temperature data of the water flowing to the user. Calculate the measurement error value corresponding to each water meter based on the water quality data and the historical water temperature data.
[0007] Step S200: Based on the Internet of Things, obtain the user's historical water consumption and user location information, select the historical water consumption that is no more than a time threshold away from the current time period, and record it as the effective historical water consumption. Select the effective historical water consumption from the historical water consumption, extract the data from the effective historical water consumption, obtain the increase ratio between each adjacent effective historical water consumption, and calculate the user's corresponding predicted water consumption value based on the increase ratio and the effective historical water consumption.
[0008] Step S300: Obtain the two most recent valid historical water consumption data. Based on the two valid historical water consumption data, calculate the first threshold for predicted water consumption. Select the minimum and maximum valid historical water consumption data from the historical water consumption data. Based on the minimum and maximum valid historical water consumption data, calculate the second threshold for predicted water consumption. Obtain the water consumption impact data corresponding to the user. Based on the first threshold for predicted water consumption, the second threshold for predicted water consumption, and the water consumption impact data, calculate the first threshold for water consumption and the second threshold for water consumption, respectively.
[0009] Step S400: Based on the first water consumption threshold and the second water consumption threshold, obtain the first predicted value interval and the second predicted value interval; obtain the user's actual water consumption corresponding to the current time period, and according to the relationship between the user's actual water consumption and the first and second water consumption thresholds, choose to send a prompt message to the user or arrange for staff to handle the situation.
[0010] Furthermore, step S100 includes:
[0011] Step S101: When several total hardness values are the same in various water quality data, the total hardness value with the largest number of identical values is taken as the target total hardness value. The corresponding total water hardness value, when the total water hardness meets the first valid data screening condition: At that time; among them, The threshold for the number of elements in total water hardness. The number of terms representing the target total water hardness. The total number of records for total water hardness; the target total water hardness is recorded as the standard total water hardness. When the total hardness of the standard water does not meet the first valid data screening condition, the second valid data screening condition is used: The total water hardness S was screened, among which, The total water hardness is set as the screening threshold; data that meet the second valid screening criteria for total water hardness are recorded and collected to obtain a set. ;in, They are the 1st, 2nd, and 3rd respectively. The total hardness of n waters that meet the valid screening condition 2 is summed in set T, and the average value is taken to obtain the standard total hardness of water. ;
[0012] Step S102: When there are no multiple water quality data points with the same total hardness, remove the highest and lowest total hardness values, and sum the remaining water quality data points to obtain the standard total hardness. ;
[0013] Step S103: Calculate the measurement error value P corresponding to the water meter;
[0014] ;
[0015] in, Water quality influencing factors corresponding to the water meter; Factors affecting water temperature corresponding to the water meter; The water temperature measured by the sensor on the water meter at the i-th time point; This represents the total number of water temperature measurements.
[0016] The measurement error value calculated based on the suspended solids content in the above steps is because the accuracy of water meter measurement is itself affected by the objective environment to a certain extent. This also means that water quality may also affect the accuracy of water meter. Organic and inorganic substances in water, such as iron salts and calcium compounds, are also prone to forming scale on water filters and impeller boxes, which will affect water meter measurement. Water temperature is used as an influencing parameter because temperature changes may affect the measurement accuracy of water meter. From a physics perspective, this is because the density and viscosity of water change with temperature. The measurement error value of the water meter takes these factors into account, making the subsequent calculation of water consumption more accurate.
[0017] Furthermore, step S200 includes:
[0018] Step S201: Select historical water consumption that is no more than a time threshold away from the current time period, and record it as valid historical water consumption. Collect and record the valid historical water consumption to obtain a set. ;in, They are the 1st, 2nd, and 3rd respectively. 1. Calculate the water consumption increase ratio for each adjacent valid historical water consumption in set X, based on n valid historical water consumption data. The water consumption increase ratios between adjacent effective historical water consumptions are recorded and compiled into a set R. The average water consumption increase ratio is obtained by summing the water consumption increase ratios in set R. ;
[0019] Step S201: Select the most recent valid historical water consumption from the historical water consumption data as the sample valid historical water consumption data. Calculate the predicted water consumption H for each user:
[0020] ;
[0021] in, This represents the average increase in water consumption.
[0022] The above steps use historical water consumption that is no more than a time threshold away from the current time period as valid historical water consumption because in real life, as the distance of time increases, the correlation with the current time period becomes weaker. This is especially true for data about daily life, such as water consumption. Using valid historical water consumption as a parameter can provide a more accurate understanding of the user's water consumption.
[0023] Furthermore, step S300 includes:
[0024] Step S301: Use the two most recent valid historical water usage data from the current time period. , The first threshold for predicted water consumption is obtained. From the effective historical water consumption set The effective historical water consumption with the largest water consumption was selected as the maximum effective historical water consumption. Select the minimum effective historical water consumption from the set of effective historical water consumption X as the minimum effective historical water consumption. Based on the maximum and minimum effective historical water consumption, a second threshold for predicted water consumption is obtained. ;
[0025] Step S302: Normalize the water use impact data, which includes the average temperature t and water price during the current period. Perform a linear transformation on the data mapping to the range [0,1]. Based on the mapping result after normalizing the water use impact data, calculate the first threshold for water use. :
[0026] ;
[0027] in, This is the normalized mapping value of the average temperature t during the current time period. This is the normalized mapping value of the water price for the current period. The water consumption influencing factor is the first threshold of water consumption.
[0028] Calculate the second threshold for water consumption :
[0029] ;
[0030] in, The water consumption influencing factor is the second threshold of water consumption.
[0031] The water-related data used in the above steps include the average temperature and water price during the current period. The calculation of the first and second water consumption thresholds is because water consumption changes in daily life are generally affected by temperature and water price. Under normal circumstances, people tend to conserve water when the price is higher, and water consumption increases when the temperature is higher. Taking these factors into account makes the calculation of water consumption thresholds more accurate.
[0032] Furthermore, step S400 includes:
[0033] Step S401: Based on the predicted water consumption and the first threshold water consumption, obtain the first interval of the predicted value: Based on the predicted water consumption and the second threshold for water consumption, the second interval of the predicted value is obtained. Where H is the predicted water consumption value, The first threshold for water consumption, This is the second threshold for water consumption;
[0034] Step S402: Obtain user identity; when the user's actual water consumption in the current time period is greater than the maximum value of the first interval of the prediction. When the user's actual water consumption is less than the minimum value of the first interval of the forecast, a notification will be sent to the user. The system will issue a notification to the user regarding abnormal water usage; when the user's actual water usage for the current time period exceeds the maximum value of the second predicted interval. When the actual water consumption of the user in the current time period is less than the minimum value of the second interval of the forecast, the information will be sent to the relevant staff, who will then notify the user and arrange for professional personnel to check. At that time, based on the obtained user identity, staff were dispatched to check the situation according to the user's identity and location information.
[0035] To better implement the above method, a water meter wireless data transmission management system based on the Internet of Things is also proposed. The management system includes a measurement error value module, a predicted water consumption value module, a water consumption threshold module, and a processing module.
[0036] The measurement error value module is used to filter the historical water temperature data of the water flowing to the user based on the sensors in the water meter, and the water quality data includes the historical total hardness of water per unit volume. The module filters the water quality data to obtain valid water quality data, and calculates the measurement error value corresponding to each water meter based on the valid water quality data and the historical water temperature data.
[0037] The predicted water consumption module is used to obtain users' historical water consumption and user location information based on the Internet of Things, select the effective historical water consumption from the historical water consumption, extract data from the effective historical water consumption, obtain the increase ratio between each adjacent effective historical water consumption, and calculate the predicted water consumption value for the user based on the increase ratio and the effective historical water consumption.
[0038] The water usage threshold module is used to obtain water usage impact data for users and calculate the first water usage threshold and the second water usage threshold based on the predicted water usage first threshold, the predicted water usage second threshold, and the water usage impact data, respectively.
[0039] The processing module is used to obtain the user's actual water consumption for the current time period, and based on the relationship between the user's actual water consumption and the first and second water consumption thresholds, to choose to send a prompt message to the user or arrange for staff to handle the situation.
[0040] Furthermore, the measurement error value module includes a standard water total hardness unit and a measurement error value unit;
[0041] The standard total water hardness unit is used to filter the total water hardness in the water quality data, record and collect the total water hardness of the data that meets the effective data screening condition 1 or the effective data screening condition 2, and retain the collected total water hardness to obtain the standard total water hardness.
[0042] The measurement error value unit is used to calculate the measurement error value based on the total hardness of standard water.
[0043] Furthermore, the water consumption prediction module includes an average water consumption increase unit and a water consumption prediction unit;
[0044] The average water consumption increase unit is used to select historical water consumption that is no more than a time threshold away from the current time period and record it as valid historical water consumption. The valid historical water consumption is recorded and collected to obtain a set. The average water consumption increase is obtained based on each valid historical water consumption in the set.
[0045] The water consumption prediction unit is used to select the most recent valid historical water consumption from the historical water consumption as the sample valid historical water consumption, and calculate the corresponding water consumption prediction value for the user.
[0046] Furthermore, the water usage threshold module includes a predicted water usage threshold unit and a water usage threshold unit.
[0047] The predicted water consumption threshold unit is used to obtain the first predicted water consumption threshold and the second predicted water consumption threshold based on the effective historical water consumption.
[0048] The water consumption threshold unit is used to normalize the water consumption impact data, perform a linear transformation on the data mapping, and map the data to the range [0,1]. Based on the mapping result of the water consumption impact data normalization, the first water consumption threshold and the second water consumption threshold are calculated.
[0049] Furthermore, the processing module includes a predicted value interval unit and a processing unit;
[0050] The predicted value interval unit is used to obtain the first interval of predicted values based on the predicted water consumption value and the first threshold of water consumption, and to obtain the second interval of predicted values based on the predicted water consumption value and the second threshold of water consumption.
[0051] The processing unit is used to obtain the user's identity and, based on the relationship between the user's current water consumption and the second or first interval of the predicted value, choose to send a prompt message to the user or arrange for staff to handle the situation.
[0052] Compared with existing technologies, the beneficial effects achieved by this invention are as follows: The water meter using CAT1 technology consumes less power during operation and can be connected to telecommunications, mobile, and joint debugging networks. By comparing the user's actual water consumption with the predicted range, the user's situation can be accurately understood. For example, if the user's water consumption is greater than the predicted range, there may be a pipe leak, and the user should be alerted. When there are special personnel among the users, such as the elderly or disabled, the probability of accidents is higher when the actual water consumption is less than the predicted range. This invention can provide assistance to users based on their actual water consumption. Attached Figure Description
[0053] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0054] Figure 1 This is a flowchart of a wireless data transmission management system and method for water meters based on the Internet of Things, according to the present invention.
[0055] Figure 2 This is a schematic diagram of a module of a wireless data transmission management system and method for water meters based on the Internet of Things according to the present invention. Detailed Implementation
[0056] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0057] Please see Figures 1-2 This invention provides a technical solution: a method for managing wireless data transmission from water meters based on the Internet of Things (IoT), the method comprising:
[0058] Step S100: Obtain historical water quality reports from the waterworks and extract the corresponding water quality data from each historical water quality report; the water quality data is the total hardness of the water. Based on the sensors in the water meters, obtain the historical water temperature data of the water flowing to the user. Calculate the measurement error value corresponding to each water meter based on the water quality data and the historical water temperature data.
[0059] Step S100 includes:
[0060] Step S101: When several total hardness values are the same in various water quality data, the total hardness value with the largest number of identical values is taken as the target total hardness value. The corresponding total water hardness value, when the total water hardness meets the first valid data screening condition: At that time; among them, The threshold for the number of elements in total water hardness. The number of terms representing the target total water hardness. The total number of records for total water hardness; the target total water hardness is recorded as the standard total water hardness. When the total hardness of the standard water does not meet the first valid data screening condition, the second valid data screening condition is used: The total water hardness S was screened, among which, The total water hardness is set as the screening threshold; data that meet the second valid screening criteria for total water hardness are recorded and collected to obtain a set. ;in, They are the 1st, 2nd, and 3rd respectively. The total hardness of n waters that meet the valid screening condition 2 is summed in set T, and the average value is taken to obtain the standard total hardness of water. Step S102: When there are no multiple water quality data points with the same total hardness, the highest and lowest total hardness values are removed, and the remaining water quality data are summed and averaged to obtain the standard total hardness. ;
[0061] Step S103: Calculate the measurement error value P corresponding to the water meter;
[0062] ;
[0063] in, Water quality influencing factors corresponding to the water meter; Factors affecting water temperature corresponding to the water meter; The water temperature measured by the sensor on the water meter at the i-th time point; This represents the total number of water temperature measurements.
[0064] Step S200: Based on the Internet of Things, obtain the user's historical water consumption and user location information, select the historical water consumption that is no more than a time threshold away from the current time period, and record it as the effective historical water consumption. Select the effective historical water consumption from the historical water consumption, extract the data from the effective historical water consumption, obtain the increase ratio between each adjacent effective historical water consumption, and calculate the user's corresponding predicted water consumption value based on the increase ratio and the effective historical water consumption.
[0065] Step S200 includes:
[0066] Step S201: Select historical water consumption that is no more than a time threshold away from the current time period, and record it as valid historical water consumption. Collect and record the valid historical water consumption to obtain a set. ;in, They are the 1st, 2nd, and 3rd respectively. 1. Calculate the water consumption increase ratio for each adjacent valid historical water consumption in set X, based on n valid historical water consumption data. The water consumption increase ratios between adjacent effective historical water consumptions are recorded and compiled into a set R. The average water consumption increase ratio is obtained by summing the water consumption increase ratios in set R. ;
[0067] Step S201: Select the most recent valid historical water consumption from the historical water consumption data as the sample valid historical water consumption data. Calculate the predicted water consumption H for each user:
[0068] ;
[0069] in, This represents the average increase in water consumption.
[0070] For example, the average increase in water usage The effective historical water consumption of the sample is 30%. The estimated water consumption for the user is 100 tons. Tons; Step S300: Obtain the two most recent valid historical water consumptions. Based on the two valid historical water consumptions, calculate the first threshold for predicted water consumption. Select the minimum and maximum valid historical water consumptions from the historical water consumptions. Based on the minimum and maximum valid historical water consumptions, calculate the second threshold for predicted water consumption. Obtain the water consumption impact data corresponding to the user. Based on the first threshold for predicted water consumption, the second threshold for predicted water consumption, and the water consumption impact data, calculate the first threshold for water consumption and the second threshold for water consumption, respectively.
[0071] Step S300 includes:
[0072] Step S301: Use the two most recent valid historical water usage data from the current time period. , The first threshold for predicted water consumption is obtained. From the effective historical water consumption set The effective historical water consumption with the largest water consumption was selected as the maximum effective historical water consumption. Select the minimum effective historical water consumption from the set of effective historical water consumption X as the minimum effective historical water consumption. Based on the maximum and minimum effective historical water consumption, a second threshold for predicted water consumption is obtained. ;
[0073] Step S302: Normalize the water use impact data, which includes the average temperature t and water price during the current period. Perform a linear transformation on the data mapping to the range [0,1]. Based on the mapping result after normalizing the water use impact data, calculate the first threshold for water use. :
[0074] ;
[0075] in, This is the normalized mapping value of the average temperature t during the current time period. This is the normalized mapping value of the water price for the current period. The water consumption influencing factor is the first threshold of water consumption.
[0076] Calculate the second threshold for water consumption :
[0077] ;
[0078] in, The water consumption influencing factor is the second threshold of water consumption.
[0079] For example, It is 0.4. It is 0.5. It is 0.98. It is 0.6. It is 10. ;
[0080] Calculate the second threshold for water consumption :
[0081] ;
[0082] in, The water consumption influencing factor is the second threshold of water consumption.
[0083] For example, It is 0.4. It is 0.5. It is 0.98. It is 0.6. It is 20. ;
[0084] Step S400: Based on the first water consumption threshold and the second water consumption threshold, obtain the first predicted value interval and the second predicted value interval; obtain the user's actual water consumption corresponding to the current time period, and according to the relationship between the user's actual water consumption and the first and second water consumption thresholds, choose to send a prompt message to the user or arrange for staff to handle the situation.
[0085] Step S400 includes:
[0086] Step S401: Based on the predicted water consumption and the first threshold water consumption, obtain the first interval of the predicted value: Based on the predicted water consumption and the second threshold for water consumption, the second interval of the predicted value is obtained. Based on the predicted water consumption and the second threshold for water consumption, the second interval of the predicted value is obtained. ,
[0087] Step S402: Obtain user identity; when the user's actual water consumption in the current time period is greater than the maximum value of the first interval of the prediction. When the user's actual water consumption is less than the minimum value of the first interval of the forecast, a notification will be sent to the user. The system will issue a notification to the user regarding abnormal water usage; when the user's actual water usage for the current time period exceeds the maximum value of the second predicted interval. hour,
[0088] The information will be sent to relevant staff, who will then notify the user and arrange for professionals to investigate; if the user's actual water consumption for the current period is less than the minimum value of the second interval of the forecast; At that time, based on the obtained user identity and user location information, staff will be dispatched to check the situation;
[0089] To better implement the above method, a water meter wireless data transmission management system based on the Internet of Things is also proposed. The management system includes a measurement error value module, a predicted water consumption value module, a water consumption threshold module, and a processing module.
[0090] The measurement error value module is used to filter the historical water temperature data of the water flowing to the user based on the sensors in the water meter, and the water quality data includes the historical total hardness of water per unit volume. The module filters the water quality data to obtain valid water quality data, and calculates the measurement error value corresponding to each water meter based on the valid water quality data and the historical water temperature data.
[0091] The predicted water consumption module is used to obtain users' historical water consumption and user location information based on the Internet of Things, select the effective historical water consumption from the historical water consumption, extract data from the effective historical water consumption, obtain the increase ratio between each adjacent effective historical water consumption, and calculate the predicted water consumption value for the user based on the increase ratio and the effective historical water consumption.
[0092] The water usage threshold module is used to obtain water usage impact data for users and calculate the first water usage threshold and the second water usage threshold based on the predicted water usage first threshold, the predicted water usage second threshold, and the water usage impact data, respectively.
[0093] The processing module is used to obtain the user's actual water consumption for the current time period, and based on the relationship between the user's actual water consumption and the first and second water consumption thresholds, choose to send a prompt message to the user or arrange for staff to handle the situation.
[0094] The measurement error value module includes a standard water total hardness unit and a measurement error value unit.
[0095] The standard total water hardness unit is used to filter the total water hardness in the water quality data, record and collect the total water hardness of the data that meets the effective data screening condition 1 or the effective data screening condition 2, and retain the collected total water hardness to obtain the standard total water hardness.
[0096] The measurement error value unit is used to calculate the measurement error value based on the standard total hardness of water;
[0097] The predicted water consumption module includes an average water consumption increase unit and a predicted water consumption unit.
[0098] The average water consumption increase unit is used to select historical water consumption that is no more than a time threshold away from the current time period and record it as valid historical water consumption. The valid historical water consumption is recorded and collected to obtain a set. The average water consumption increase is obtained based on each valid historical water consumption in the set.
[0099] The water consumption prediction unit is used to select the most recent valid historical water consumption from the historical water consumption as the sample valid historical water consumption, and calculate the water consumption prediction value for the user.
[0100] The water usage threshold module includes a predicted water usage threshold unit and a water usage threshold unit.
[0101] The predicted water consumption threshold unit is used to obtain the first predicted water consumption threshold and the second predicted water consumption threshold based on the effective historical water consumption.
[0102] The water consumption threshold unit is used to normalize the water consumption impact data, perform a linear transformation on the data mapping, and map the data to the range [0,1]. Based on the mapping result of the water consumption impact data normalization, the first water consumption threshold and the second water consumption threshold are calculated.
[0103] The processing module includes a predicted value interval unit and a processing unit.
[0104] The predicted value interval unit is used to obtain the first interval of predicted values based on the predicted water consumption value and the first threshold of water consumption, and to obtain the second interval of predicted values based on the predicted water consumption value and the second threshold of water consumption.
[0105] The processing unit is used to obtain the user's identity and, based on the relationship between the user's current water consumption and the second or first predicted interval, choose to send a prompt message to the user or arrange for staff to handle the situation. It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.
[0106] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A water meter wireless data transmission management method based on the Internet of Things, characterized by, The method comprises: Step S100: obtaining historical water quality reports of a waterworks, and extracting corresponding water quality data from each historical water quality report; the water quality data is total hardness of water, historical water temperature data of water flowing to a user is obtained based on a sensor in a water meter, and a measurement error value corresponding to each water meter is calculated according to the water quality data and the historical water temperature data; Step S200: obtaining historical water consumption and user location information of a user based on the Internet of Things, selecting historical water consumption that is not more than a time threshold away from a current time period, denoted as effective historical water consumption, selecting effective historical water consumption from the historical water consumption, performing data extraction on the effective historical water consumption to obtain a rate of increase between each adjacent effective historical water consumption, and calculating a predicted water consumption value corresponding to the user according to the rate of increase and the effective historical water consumption; Step S300: obtaining two effective historical water consumptions closest to a current time period, calculating a predicted water consumption first threshold value according to the two effective historical water consumptions, selecting a minimum effective historical water consumption and a maximum effective historical water consumption from the historical water consumption, and calculating a predicted water consumption second threshold value according to the minimum effective historical water consumption and the maximum effective historical water consumption; obtaining water consumption influence data corresponding to the user, and respectively calculating a water consumption first threshold value and a water consumption second threshold value according to the predicted water consumption first threshold value, the predicted water consumption second threshold value, and the water consumption influence data; Step S400: obtaining a predicted value first interval and a predicted value second interval based on the water consumption first threshold value and the water consumption second threshold value; obtaining actual water consumption corresponding to a current time period of the user, and selecting to send prompt information to the user or arranging a staff to go to handle according to a size relationship between the actual water consumption of the user and the water consumption first threshold value and the water consumption second threshold value; The step S400 comprises: Step S401: obtaining a predicted value first interval according to a water consumption prediction value and a water consumption first threshold value: ; obtaining a second interval of prediction values according to the water consumption prediction value and a second threshold value of water consumption wherein H is a water consumption prediction value, is a first threshold value of water consumption, is a second threshold value of water consumption; Step S402: obtaining the user identity, when the actual water consumption of the user in the current period is greater than the maximum value of the first interval of the predicted value , sending a prompt to the user to remind the user that the water consumption is too large, and sending the information prompt to the user; when the actual water consumption of the user in the current period is less than the minimum value of the first interval of the predicted value , sending a prompt to the user that the water consumption is not normal; when the actual water consumption of the user in the current period is greater than the maximum value of the second interval of the predicted value , sending information to the relevant staff, notifying the user by the staff and arranging a professional to go and check; when the actual water consumption of the user in the current period is less than the minimum value of the second interval of the predicted value , according to the obtained user identity, arranging the staff to go and check according to the user identity and the user location information. 2.The water meter wireless data transmission management method based on the Internet of Things according to claim 1, wherein, The step S100 comprises: Step S101: When there are several water total hardness values in each water quality data, the water total hardness values with the largest number of same values are taken as the target water total hardness corresponding to the water total hardness value, when the water total hardness meets the first effective data screening condition: wherein, is the water total hardness number threshold, is the number of target water total hardness, is the total number of recorded water total hardness; the target water total hardness is recorded as the standard water total hardness ; the standard water total hardness does not meet the effective data screening condition 1, and the second effective data screening condition is used: the water total hardness S is screened, wherein, is the water total hardness screening threshold; the water total hardness that meets the second effective data screening is recorded and collected to obtain a set ; wherein, are the first, second, , n water total hardnesses that meet the effective screening condition 2, respectively, the water total hardnesses in the set T are added and averaged to obtain the standard water total hardness ; Step S102: When there are no water total hardnesses in each water quality data, the largest and smallest water total hardness values are removed, and the remaining each water quality data is added and averaged to obtain the standard water total hardness ; Step S103: calculating a measurement error value P corresponding to the water meter; : wherein, is a water quality influencing factor corresponding to the water meter; is a water temperature influencing factor corresponding to the water meter; is the water temperature measured by the i-th sensor of the water meter at the i-th time point; is the total number of water temperature measurements. 3.The water meter wireless data transmission management method based on the Internet of Things according to claim 2, characterized in that, The step S200 comprises: Step S201: selecting historical water consumption that is within a time threshold from the current time period, denoted as effective historical water consumption, recording and collecting the effective historical water consumption to obtain a set X ; wherein, are the first, second, , n effective historical water consumptions, respectively; calculating a water consumption growth rate between each adjacent effective historical water consumption in the set X ; recording and collecting the water consumption growth rate between each adjacent effective historical water consumption to obtain a set R, and adding and averaging each water consumption growth rate in the set R to obtain a water consumption growth average value ; Step S201: Select the effective historical water consumption closest to the current period from the historical water consumption as a sample effective historical water consumption , calculate the water consumption prediction value H corresponding to the user: ; wherein is the average value of the water expansion.
4. The water meter wireless data transmission management method based on the Internet of Things according to claim 3, characterized in that, The step S300 comprises: Step S301: Use the two most recent valid historical water usage data from the current time period. , The first threshold for predicted water consumption is obtained. From the effective historical water consumption set The effective historical water consumption with the largest water consumption was selected as the maximum effective historical water consumption. ; selecting, from the set of effective historical water consumptions X, the minimum effective historical water consumption as the minimum effective historical water consumption obtaining, from the maximum effective historical water consumption and the minimum effective historical water consumption, a second threshold of predicted water consumption ; Step S302: normalizing the water use influence data, the water use influence data including the average temperature t, water price ; performing linear transformation on the data mapping, mapping the data between [0, 1], and calculating the water use quantity first threshold value according to the mapping result of the water use influence data after the normalization processing : ; wherein, a mapping value of the average temperature t in the current period after normalization processing, a mapping value of the water price in the current period after normalization processing, a water consumption influence factor of the water consumption first threshold value; calculating a second threshold value for water consumption : ; wherein, is a water usage impact factor for the second threshold of water usage.
5. A water meter wireless data transmission management system applied to the water meter wireless data transmission management method of any one of claims 1-4, characterized in that, The management system comprises a measurement error value module, a predicted water consumption value module, a water consumption threshold value module, and a handling module; The measurement error value module is configured to obtain historical water temperature data of water flowing to a user based on a sensor in a water meter, water quality data including historical total hardness of water per unit volume, filter the water quality data to obtain effective water quality data, and calculate a measurement error value corresponding to each water meter based on the effective water quality data and the historical water temperature data; The predicted water consumption value module is configured to obtain historical water consumption and user location information of a user based on the Internet of Things, select effective historical water consumption from the historical water consumption, perform data extraction on the effective historical water consumption to obtain a rate of increase between each adjacent effective historical water consumption, and calculate a predicted water consumption value corresponding to the user according to the rate of increase and the effective historical water consumption; The water use threshold module is configured to obtain water use influence data corresponding to the user, and calculate a first water use threshold and a second water use threshold according to the first water use threshold, the second water use threshold, and the water use influence data. The processing module is configured to obtain an actual water use amount corresponding to a current time period of the user, and select to send a prompt information to the user or arrange a staff to process according to a size relationship between the actual water use amount and the first water use threshold and the second water use threshold.
6. The wireless data transmission management system for water meters of claim 5, wherein, The measurement error value module comprises a standard water total hardness unit and a measurement error value unit. The standard water total hardness unit is configured to filter water total hardness in water quality data, record and collect water total hardness of data meeting an effective data filtering condition 1 or an effective data filtering condition 2, and retain the collected water total hardness to obtain a standard water total hardness. The measurement error value unit is configured to calculate a measurement error value according to the standard water total hardness.
7. The wireless data transmission management system for water meters of claim 5, wherein, The predicted water use value module comprises a water use increase average value unit and a water use prediction value unit. The water use increase average value unit is configured to select historical water use amounts that are not more than a time threshold away from a current time period as effective historical water use amounts, record and collect the effective historical water use amounts to obtain a set, and obtain a water use increase average value according to each effective historical water use amount in the set. The water use prediction value unit is configured to select an effective historical water use amount closest to a current time period from historical water use amounts as a sample effective historical water use amount, and calculate a water use prediction value corresponding to the user.
8. The wireless data transmission management system for water meters of claim 5, wherein, The water use threshold module comprises a predicted water use threshold unit and a water use threshold unit. The predicted water use threshold unit is configured to obtain a first predicted water use threshold and a second predicted water use threshold according to the effective historical water use amounts. The water use threshold unit is configured to normalize water use influence data, linearly transform data mapping, map data to [0, 1], and calculate the first water use threshold and the second water use threshold according to a mapping result of the normalized water use influence data.
9. The wireless data transmission management system for water meters of claim 5, wherein, The processing module comprises a prediction value interval unit and a processing unit. The prediction value interval unit is configured to obtain a first prediction value interval according to a water use prediction value and the first water use threshold, and obtain a second prediction value interval according to the water use prediction value and the second water use threshold. The processing unit is configured to obtain a user identity, and select to send a prompt information to the user or arrange a staff to process according to a relationship between a water use amount of a current time period of the user and the second prediction value interval or the first prediction value interval.
Citation Information
Patent Citations
Online load resource prediction method based on periodic feature analysis
CN110297715A
A Data-Driven Method for Predicting Daily Urban Water Consumption
CN114936687A