Error calibration method and system for multifunctional intelligent water meter
By using a multivariate linear regression model to predict water consumption and perform error verification in a multifunctional intelligent water meter, the problem of water meter being unable to be calibrated in time is solved, the measurement accuracy is improved and the calibration cost is reduced.
Patent Information
- Application Number
- CN202411263700.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-09-10
Smart Images

Figure CN118776645B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an error checking method and system for a multifunctional intelligent water meter. Background Art
[0002] With the development of science and technology, multifunctional smart water meters are gradually put into the market. Multifunctional smart water meters make comprehensive use of modern microelectronics technology, modern sensor technology and smart IC card technology. With the support of these technologies, multifunctional smart water meters can realize functions such as water consumption measurement, water consumption data transmission and settlement transactions. In addition, multifunctional smart water meters can also record and electronically display water consumption, control users' water consumption according to the water consumption set by users, automatically complete the water fee calculation of tiered water prices and water consumption data storage functions, avoiding traditional manual meter reading.
[0003] By timely performing error calibration on the multifunctional intelligent water meter, measurement errors caused by sensor drift or other factors in the multifunctional intelligent water meter can be prevented, thereby improving the measurement accuracy of the multifunctional intelligent water meter.
[0004] In the related art, for example, a Chinese patent application document with publication number CN109975738A provides an electronic water meter calibration method and calibration device, where a user calibrates the water meter by sending a control instruction to the water meter.
[0005] For example, the user sends a control instruction to the water meter every year to calibrate the water meter, or the user sends a control instruction to the water meter every month to calibrate the water meter, so as to achieve a more timely error check of the multifunctional smart water meter. Therefore, if the user does not send a control instruction to the water meter for calibration, the water meter cannot be calibrated in time, and the calibration efficiency of the water meter is limited. Summary of the invention
[0006] In order to overcome the problem in the related art that the multifunctional smart water meter cannot be error-checked in time, the present application provides an error-check method and system for a multifunctional smart water meter.
[0007] According to a first aspect of an embodiment of the present application, there is provided an error checking method for a multifunctional smart water meter, comprising: obtaining monitoring parameters of the multifunctional smart water meter within a target time period, the monitoring parameters comprising: date information of the target time period, temperature and pressure of water flowing through the multifunctional smart water meter; obtaining a first water consumption within the target time period collected by the multifunctional smart water meter; predicting a second water consumption of the multifunctional smart water meter within the target time period based on the monitoring parameters and a pre-established multivariate linear regression model; the multivariate linear regression model is used to characterize the correspondence between different monitoring parameters and water consumption; obtaining first difference information based on the first water consumption and the second water consumption, and performing error checking on the multifunctional smart water meter when the first difference information is greater than a preset difference threshold; the first difference information is used to characterize the degree of difference between the second water consumption and the first water consumption.
[0008] In this way, through the date information of the target time period, the temperature and pressure of the water flowing through the multifunctional smart water meter, the second water consumption of the multifunctional smart water meter within the target time period can be predicted. Combined with the first water consumption within the target time period collected by the multifunctional smart water meter, the error calibration of the multifunctional smart water meter can be realized in time to ensure the accurate measurement of water consumption by the multifunctional smart water meter.
[0009] At the same time, compared with performing regular error checks on the multifunctional smart water meters at a larger cycle, for example, compared with performing error checks on the multifunctional smart water meters every year, it is possible to discover problems that may exist in the multifunctional smart water meters in a timely manner, thereby performing error checks on the multifunctional smart water meters in a timely manner; and compared with performing regular error checks on the multifunctional smart water meters at a smaller cycle, for example, compared with performing regular error checks on the multifunctional smart water meters every day, it is possible to reduce the number of error checks on the multifunctional smart water meters while ensuring accurate measurement of the multifunctional smart water meters, thereby reducing the cost of error checks and reducing the number of user operations.
[0010] Optionally, the multivariate linear regression model is established in the following manner: obtaining multiple historical monitoring parameters corresponding to the multifunctional smart water meter in multiple historical time periods respectively; the historical monitoring parameters include: date information corresponding to the historical time period, water consumption, temperature and pressure of the water body flowing through the multifunctional smart water meter; determining a first regression coefficient corresponding to the date information, a second regression coefficient corresponding to the temperature, and a third regression coefficient corresponding to the pressure based on the multiple historical monitoring parameters corresponding to the multiple historical time periods; taking the date information, the temperature and the pressure as independent variables, taking the water consumption as the dependent variable, and establishing a multivariate linear regression model based on the first regression coefficient, the second regression coefficient and the third regression coefficient.
[0011] Optionally, based on the monitoring parameters and a pre-established multivariate linear regression model, a second water consumption of the multifunctional smart water meter within a target time period is predicted, including: obtaining historical monitoring parameters of the multifunctional smart water meter in a historical time period; the historical monitoring parameters include historical water consumption and month information of the historical time period; determining the historical monthly water consumption corresponding to the month information based on the historical water consumption under the month information; taking the historical monthly water consumption of the month information corresponding to the target time period as the first monthly water consumption, and determining a first correction coefficient for the water consumption based on the first monthly water consumption and multiple historical monthly water consumptions; inputting the monitoring parameters into a pre-established multivariate linear regression model to obtain a third water consumption, and multiplying the third water consumption by the first correction coefficient to obtain the second water consumption.
[0012] In this way, the monitoring parameters are input into a pre-established multiple linear regression model to obtain the third water consumption output by the multiple linear regression model, and the third water consumption is multiplied by the first correction coefficient corresponding to the target time period as the predicted second water consumption of the multifunctional intelligent water meter within the target time period; since the first correction coefficient corresponding to the target time period can correct the water consumption corresponding to the target time period, therefore, the multiplication of the third water consumption output by the multiple linear regression model and the first correction coefficient is used as the predicted second water consumption, so that the predicted second water consumption can take into account the impact of the month on the user's water use habits, so that the predicted second water consumption can better reflect the actual water consumption.
[0013] Optionally, a first correction coefficient for water consumption is determined based on the water consumption in the first month and multiple historical months, including: taking the average of the water consumption in the multiple historical months as the water consumption in the second month; and taking the ratio of the water consumption in the first month to the water consumption in the second month as the first correction coefficient for water consumption.
[0014] Optionally, based on the monitoring parameters and a pre-established multivariate linear regression model, a second water consumption of the multifunctional smart water meter within a target time period is predicted, including: obtaining historical monitoring parameters of the multifunctional smart water meter in a historical time period; the historical monitoring parameters include date information and historical water consumption corresponding to the historical time period; determining multiple fourth water consumptions within a first preset water consumption range from multiple historical water consumptions; obtaining a second correction coefficient for the water consumption based on the first water consumption and multiple historical date information, the historical date information being the date information corresponding to the fourth water consumption; inputting the monitoring parameters into a pre-established multivariate linear regression model to obtain a fifth water consumption, and multiplying the fifth water consumption by the second correction coefficient to obtain the second water consumption.
[0015] Optionally, based on the first water consumption and multiple historical date information, a second correction coefficient for the water consumption is obtained, including: determining multiple date interval values based on the multiple historical date information, the date interval values are used to characterize the date intervals between adjacent historical date information in the multiple historical date information; obtaining fluctuation information based on the multiple date interval values, the fluctuation information is used to characterize the degree of fluctuation between the multiple date interval values; obtaining second difference information between the first water consumption and the first preset water consumption, the second difference information is used to characterize the degree of difference between the first water consumption and the first preset water consumption; and obtaining a second correction coefficient corresponding to the target time period based on the fluctuation information and the second difference information.
[0016] In this way, since the fluctuation information can characterize the degree of fluctuation between multiple date interval values, and the second difference information can characterize the degree of difference between the first water consumption and the first preset water consumption, therefore, based on the fluctuation information and the second difference information, the second correction coefficient corresponding to the target time period is obtained, which can enable the second correction coefficient to reflect the impact of the time interval between adjacent historical dates on the water consumption of the target time period.
[0017] Optionally, the target time period includes multiple target sub-time periods, the second water consumption includes multiple second sub-water consumption corresponding to the multiple target sub-time periods, and the first water consumption includes multiple first sub-water consumption corresponding to the multiple target sub-time periods. The method also includes: determining third difference information based on the first sub-water consumption and the second sub-water consumption corresponding to the same sub-time period, and the third difference information is used to characterize the degree of difference between the first sub-water consumption and the second sub-water consumption corresponding to the same sub-time period; when the third difference information is greater than a preset difference threshold, performing error checking on the multifunctional smart water meter.
[0018] In this way, since the target time period includes multiple target sub-time periods, the second water consumption includes multiple second sub-water consumption corresponding to the multiple target sub-time periods, and the first water consumption includes multiple first sub-water consumption corresponding to the multiple target sub-time periods, it is possible to improve the monitoring accuracy of the multifunctional smart water meter and promptly perform error verification on the multifunctional smart water meter when an abnormality occurs in the multifunctional smart water meter.
[0019] Optionally, the multifunctional smart water meter includes a wireless communication module, and the wireless communication module is configured to send a first message to a server, where the first message includes the first water consumption;
[0020] If a second message sent by the server for the first message is not received within a preset time period of sending the first message to the server, it is confirmed that the first message has failed to be sent;
[0021] When it is confirmed that the first message fails to be sent, the first message is stored and the first message is periodically sent to the server.
[0022] In this way, when the first message fails to be sent, the first message can be periodically sent to the server to ensure that the first message is effectively delivered to the server, so as to ensure that the water consumption of multiple smart water meters is reported to the server.
[0023] According to a second aspect of an embodiment of the present application, there is provided an error checking system for a multifunctional smart water meter, comprising: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the steps of the error checking method for the multifunctional smart water meter described in the first aspect of the present application are implemented.
[0024] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0025] Through the date information of the target time period, the temperature and pressure of the water flowing through the multifunctional smart water meter, the second water consumption of the multifunctional smart water meter within the target time period can be predicted. Combined with the first water consumption within the target time period collected by the multifunctional smart water meter, the error calibration of the multifunctional smart water meter can be realized in time to ensure the accurate measurement of water consumption by the multifunctional smart water meter.
[0026] At the same time, compared with performing regular error checks on the multifunctional smart water meters at a larger cycle, for example, compared with performing error checks on the multifunctional smart water meters every year, it is possible to discover problems that may exist in the multifunctional smart water meters in a timely manner, thereby performing error checks on the multifunctional smart water meters in a timely manner; and compared with performing regular error checks on the multifunctional smart water meters at a smaller cycle, for example, compared with performing regular error checks on the multifunctional smart water meters every day, it is possible to reduce the number of error checks on the multifunctional smart water meters while ensuring accurate measurement of the multifunctional smart water meters, thereby reducing the cost of error checks and reducing the number of user operations.
[0027] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0029] Figure 1 is a flow chart of an error checking method for a multifunctional smart water meter according to an exemplary embodiment;
[0030] Figure 2It is a structural schematic diagram of an error checking system for a multifunctional smart water meter according to an exemplary embodiment. DETAILED DESCRIPTION
[0031] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0032] First, the application scenario of the embodiment of the present application is briefly introduced. In the application scenario of the present application, a multifunctional smart water meter with functions such as automatic meter reading and water consumption analysis can be used to realize real-time monitoring of water consumption, avoiding traditional manual meter reading; and, by performing error correction on the multifunctional smart water meter, the measurement accuracy of the multifunctional smart water meter can be improved.
[0033] In the related art, error checking of the multifunctional smart water meter is mainly performed manually. For example, the multifunctional smart water meter is error-checked every year. During the time interval when the error is not checked, the multifunctional smart water meter may also have measurement deviations, thereby affecting the measurement results of the user's water consumption. Therefore, the related art cannot perform error checking of the multifunctional smart water meter in time, and the multifunctional smart water meter may have measurement deviations.
[0034] In response to the above technical problems, an embodiment of the present application provides an error verification method and system for a multifunctional smart water meter. Through the date information of the target time period, the temperature and pressure of the water flowing through the multifunctional smart water meter, the second water consumption of the multifunctional smart water meter within the target time period can be predicted. Combined with the first water consumption within the target time period collected by the multifunctional smart water meter, the error verification of the multifunctional smart water meter can be realized in time to ensure the accurate measurement of water consumption by the multifunctional smart water meter.
[0035] Figure 1 is a flow chart of an error checking method for a multifunctional smart water meter according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.
[0036] In step S101, monitoring parameters of the multifunctional smart water meter within a target time period are obtained.
[0037] Among them, the monitoring parameters include: date information of the target time period, temperature and pressure of the water flowing through the multifunctional smart water meter.
[0038] The multifunctional smart water meter in the embodiment of the present application may be provided with a temperature sensor, a pressure sensor and a wireless communication module. The temperature sensor is used to obtain the temperature of the water flowing through the multifunctional smart water meter, and the pressure sensor is used to obtain the pressure of the water flowing through the multifunctional smart water meter. The multifunctional smart water meter can also measure water consumption, and the wireless communication module can send the water pressure, water temperature and water consumption to a designated terminal device or a designated server.
[0039] The wireless communication module provided on the multifunctional smart water meter may be, for example, one or more wireless communication modules such as a Bluetooth module, a WiFi module, and an NB-IoT (Narrow Band Internet of Things, cellular-based narrowband Internet of Things) module. The embodiment of the present application does not limit the type of the wireless communication module provided on the multifunctional smart water meter.
[0040] The multifunctional smart water meter can obtain the temperature and pressure of the water flowing through the multifunctional smart water meter through the various sensors provided; the date information of the target time period can be obtained by the multifunctional smart water meter from the server, or can be determined by other electronic devices other than the multifunctional smart water meter. The embodiment of the present application does not constitute a limitation on the determining entity of the date information of the target time period.
[0041] In this way, different monitoring parameters such as the date information of the target time period, the temperature and pressure of the water flowing through the multifunctional smart water meter can be used to characterize different information of the multifunctional smart water meter so as to predict the water consumption of the multifunctional smart water meter in the target time period; for example, the water use habits of users may be different on different dates; the temperature of the water flowing through the multifunctional smart water meter may affect the measurement of water consumption by the sensor in the multifunctional smart water meter; the pressure of the water flowing through the multifunctional smart water meter may also affect the measurement of water consumption by the sensor in the multifunctional smart water meter.
[0042] In step S102, a first water consumption within a target time period collected by the multifunctional intelligent water meter is obtained.
[0043] The multifunctional smart water meter has the function of measuring water consumption. For example, the multifunctional smart water meter can obtain the water flow velocity of the water body flowing through the multifunctional smart water meter through a velocity sensor, thereby determining the water consumption within a target time period.
[0044] Obtaining the first water consumption within the target time period collected by the multifunctional smart water meter may refer to a server or a terminal device obtaining the first water consumption within the target time period from the multifunctional smart water meter; for example, the server or the terminal device receives the first water consumption within the target time period sent by the multifunctional smart water meter through a communication connection established with the multifunctional smart water meter; or, the multifunctional smart water meter may include a memory and a processor, and the processor of the multifunctional smart water meter may obtain the first water consumption within the target time period stored in the memory from the memory of the multifunctional smart water meter.
[0045] In this way, by obtaining the first water consumption within the target time period collected by the multifunctional smart water meter, the water consumption collected by the multifunctional smart water meter can be understood, so as to determine whether there is any abnormality in the water consumption collected by the multifunctional smart water meter, and thus, when there is an abnormality in the water consumption collected by the multifunctional smart water meter, the multifunctional smart water meter can be error-checked in time.
[0046] In step S103, the second water consumption of the multifunctional smart water meter within the target time period is predicted based on the monitoring parameters and the pre-established multivariate linear regression model.
[0047] Among them, the multivariate linear regression model is used to characterize the corresponding relationship between different monitoring parameters and water consumption.
[0048] On the one hand, the historical date information of the target time period and the temperature and pressure of the water flowing through the multifunctional smart water meter may affect the user's water consumption, resulting in different water consumption measured by the multifunctional smart water meter; on the other hand, the date information and the temperature and pressure of the water flowing through the multifunctional smart water meter may affect the working state of the sensor in the multifunctional smart water meter, thereby affecting the measurement results of the water consumption by the multifunctional smart water meter.
[0049] The pre-established multivariate linear regression model can better characterize the corresponding relationship between different monitoring parameters and water consumption, so as to predict the second water consumption of the multifunctional smart water meter within the target time period according to different monitoring parameters within the target time period.
[0050] In one embodiment, a multivariate linear regression model is established in the following manner: obtaining multiple historical monitoring parameters corresponding to the multifunctional smart water meter in multiple historical time periods; the historical monitoring parameters include: date information corresponding to the historical time period, water consumption, temperature and pressure of the water body flowing through the multifunctional smart water meter; according to the multiple historical monitoring parameters corresponding to the multiple historical time periods, determining the first regression coefficient corresponding to the date information, the second regression coefficient corresponding to the temperature, and the third regression coefficient corresponding to the pressure; taking the date information, temperature and pressure as independent variables, taking the water consumption as the dependent variable, and establishing a multivariate linear regression model according to the first regression coefficient, the second regression coefficient and the third regression coefficient.
[0051] For example, different monitoring parameters may have different degrees of influence on water consumption, and the regression coefficients corresponding to different monitoring parameters may also be different. By using multiple historical monitoring parameters corresponding to multiple historical time periods, the relationship between different monitoring parameters and water consumption can be determined.
[0052] The multiple historical monitoring parameters corresponding to the multiple historical time periods may be the multiple historical monitoring parameters in the multiple historical time periods in the past year or the past years. The duration of the historical time period may be, for example, different durations such as 24 hours, 8 hours, and 12 hours; for example, the historical monitoring parameters of multiple dates such as May 1, May 2, and May 3 in the past year may be obtained respectively.
[0053] The temperature of the water flowing through the multifunctional smart water meter during the target time period may change. The average value of multiple temperatures of the water flowing through the multifunctional smart water meter during the target time period may be used as the temperature of the water flowing through the multifunctional smart water meter during the target time period; or, the mode of multiple temperatures of the water flowing through the multifunctional smart water meter during the target time period may be used as the temperature of the water flowing through the multifunctional smart water meter during the target time period; the mode of multiple temperatures refers to the temperature with the largest frequency among the multiple temperatures.
[0054] The pressure of the water body flowing through the multifunctional smart water meter during the target time period may change. The average value of multiple pressures of the water body flowing through the multifunctional smart water meter during the target time period may be used as the pressure of the water body flowing through the multifunctional smart water meter during the target time period; or, the mode of multiple pressures of the water body flowing through the multifunctional smart water meter during the target time period may be used as the pressure of the water body flowing through the multifunctional smart water meter during the target time period; the mode of multiple pressures refers to the pressure with the largest frequency among the multiple pressures.
[0055] The following is an example of an exemplary calculation formula to illustrate the process of establishing a multivariate linear regression model in the embodiment of the present application: ; Wherein, S is the water consumption in the target time period output by the multivariate linear regression model, A is the date information corresponding to the target time period, a is the first regression coefficient corresponding to the date information, T is the temperature of the water flowing through the multifunctional smart water meter, t is the second regression coefficient corresponding to the temperature, P is the pressure of the water flowing through the multifunctional smart water meter, and p is the third regression coefficient corresponding to the pressure; d is the bias term in the multivariate linear regression model, and the specific value of the bias term can be determined according to the fitting results of the multivariate linear regression, and the fitting results of the multivariate linear regression are determined based on multiple historical monitoring parameters corresponding to multiple historical time periods.
[0056] In one embodiment, the multiple linear regression model may be periodically updated using multiple historical monitoring parameters corresponding to multiple historical time periods.
[0057] For example, the multifunctional smart water meter was first installed in the user's household pipeline in January 2021. The multivariate linear regression model constructed in December 2021 was the first multivariate linear regression model. The first multivariate linear regression model was established using multiple historical monitoring parameters corresponding to multiple historical time periods from January 2021 to December 2021. As the cumulative water consumption of the multifunctional smart water meter continues to increase, the number of historical time periods of the multifunctional smart water meter is also increasing, and the total data volume of multiple historical monitoring parameters corresponding to multiple historical time periods continues to increase; in March 2022, the multiple historical monitoring parameters corresponding to multiple historical time periods from January 2021 to March 2022 can be used to establish a second multivariate linear regression model to achieve periodic updating of the multivariate linear regression model, making the multivariate linear regression model more accurate.
[0058] In one embodiment, multiple historical cumulative water consumption corresponding to multiple historical moments may also be obtained, and different historical moments correspond to different historical cumulative water consumption. According to the multiple historical cumulative water consumption corresponding to multiple historical moments, a multivariate regression model capable of reflecting the cumulative water consumption may be established.
[0059] For example, the cumulative water consumption can be the cumulative water consumption since the installation of the multifunctional smart water meter. The cumulative water consumption can more objectively reflect the user's cumulative water consumption; using a multivariate regression model that can reflect the cumulative water consumption, the cumulative water consumption of the multifunctional smart water meter can be predicted.
[0060] In one embodiment, a second water consumption of a multifunctional smart water meter within a target time period is predicted based on monitoring parameters and a pre-established multivariate linear regression model, including: obtaining historical monitoring parameters of the multifunctional smart water meter in a historical time period; the historical monitoring parameters include historical water consumption and month information of the historical time period; determining the historical monthly water consumption corresponding to the month information based on the historical water consumption under the month information; using the historical monthly water consumption of the month information corresponding to the target time period as the first monthly water consumption, and determining a first correction coefficient for the water consumption based on the first monthly water consumption and multiple historical monthly water consumptions; inputting the monitoring parameters into a pre-established multivariate linear regression model to obtain a third water consumption, and multiplying the third water consumption by the first correction coefficient to obtain the second water consumption.
[0061] For example, when multiple historical monitoring parameters are multiple historical monitoring parameters of the 12 months of the previous year, the user's water usage habits may be different in different months. According to multiple historical water consumptions in the multiple historical monitoring parameters, different historical monthly water consumptions corresponding to different monthly information are determined. The monthly water consumption is the sum of multiple historical water consumptions corresponding to the monthly information, such as the historical monthly water consumption in January, the historical monthly water consumption in February, the historical monthly water consumption in March, the historical monthly water consumption in April, etc.; among them, the historical monthly water consumption in January is the sum of the water consumption in all time periods in January.
[0062] Here, the monitoring parameters are input into a pre-established multiple linear regression model to obtain a third water consumption output by the multiple linear regression model, and the third water consumption is multiplied by the first correction coefficient corresponding to the target time period as the predicted second water consumption of the multifunctional intelligent water meter within the target time period; since the first correction coefficient corresponding to the target time period can correct the water consumption corresponding to the target time period, therefore, using the multiplication of the third water consumption output by the multiple linear regression model and the first correction coefficient as the predicted second water consumption can make the predicted second water consumption take into account the impact of the month on the user's water use habits, so that the predicted second water consumption can better reflect the actual water consumption.
[0063] In one embodiment, a first correction coefficient for water consumption is determined based on the water consumption in the first month and multiple historical months, including: taking the historical monthly water consumption of the month information corresponding to the target time period as the water consumption in the first month; taking the average of the water consumption in multiple historical months as the water consumption in the second month; and taking the ratio of the water consumption in the first month to the water consumption in the second month as the first correction coefficient for water consumption.
[0064] For example, if the month of the target time period is January, the historical monthly water consumption in January in the historical data can be obtained based on multiple historical monitoring parameters, and the average of multiple historical monthly water consumption can reflect the user's average monthly water consumption in each month; the larger the ratio of the first month's water consumption to the second month's water consumption, the greater the user's water consumption in the month corresponding to the target time period based on the user's historical water use habits, and the multiplication of the third water consumption output by the multivariate linear regression model and the first correction coefficient can be used as the predicted second water consumption. The first correction coefficient is used to correct the water consumption corresponding to the target time period, so that the predicted second water consumption can be more in line with the user's water use habits.
[0065] In one embodiment, a second water consumption of a multifunctional smart water meter within a target time period is predicted based on monitoring parameters and a pre-established multiple linear regression model, including: obtaining historical monitoring parameters of the multifunctional smart water meter in a historical time period; the historical monitoring parameters include date information and historical water consumption corresponding to the historical time period; determining multiple fourth water consumptions within a first preset water consumption range from multiple historical water consumptions; obtaining a second correction coefficient for water consumption based on the first water consumption and multiple historical date information, the historical date information being the date information corresponding to the fourth water consumption; inputting the monitoring parameters into a pre-established multiple linear regression model to obtain a fifth water consumption, and multiplying the fifth water consumption by the second correction coefficient to obtain the second water consumption.
[0066] The first preset water consumption range can be determined based on the first water consumption. For example, the date of the target time period is April 1, and the first water consumption in the target time period is 1 ton. 0.8 tons to 1.2 tons can be used as the first preset water consumption range to determine multiple fourth water consumptions within the first preset water consumption range from multiple historical water consumptions in multiple historical monitoring parameters, that is, multiple fourth water consumptions within the range of 0.8 tons to 1.2 tons are determined. For example, the user has time periods with water consumption within the range of 0.8 tons to 1.2 tons on March 26, March 27, March 28, and March 29, respectively, indicating that the user's water demand around April 1 is relatively close, and it is not accidental that the user's water consumption in the target time period is 1 ton. The user's water demand on April 1 may be greatly affected by the water use arrangements on other dates around April 1.
[0067] In one embodiment, a second correction coefficient for water consumption is obtained based on a first water consumption and multiple historical date information, including: determining multiple date interval values based on multiple historical date information, the date interval values are used to characterize the date intervals between adjacent historical date information in the multiple historical date information; obtaining fluctuation information based on the multiple date interval values, the fluctuation information is used to characterize the degree of fluctuation between the multiple date interval values; obtaining second difference information between the first water consumption and the first preset water consumption, the second difference information is used to characterize the degree of difference between the first water consumption and the first preset water consumption; the first preset water consumption is determined based on the average of multiple historical water consumption in multiple historical monitoring parameters; and obtaining a second correction coefficient corresponding to the target time period based on the fluctuation information and the second difference information.
[0068] Here, since the fluctuation information can characterize the degree of fluctuation between multiple date interval values, and the second difference information can characterize the degree of difference between the first water consumption and the first preset water consumption, therefore, based on the fluctuation information and the second difference information, the second correction coefficient corresponding to the target time period is obtained, so that the second correction coefficient can reflect the impact of the time interval between adjacent historical dates on the water consumption of the target time period.
[0069] For example, when the duration of the target time period is 4 hours, the average water consumption every 4 hours can be used as the first preset water consumption based on the historical water consumption of the multifunctional smart water meter. Through the second difference information obtained in the embodiment of the present application, the greater the difference between the first water consumption represented by the second difference information and the first preset water consumption, the more likely that the water consumption in the target time period is inconsistent with the user's historical water use habits, indicating that the probability of abnormal water consumption in the target time period is greater; using the fifth water consumption and the multiplied value of the second correction coefficient corresponding to the target time period as the predicted second water consumption of the multifunctional smart water meter in the target time period can make the predicted second water consumption more consistent with the user's historical water use habits.
[0070] The following takes an exemplary calculation formula of the second correction coefficient as an example to illustrate the process of obtaining the second correction coefficient: ; Wherein, V is the second correction coefficient, E is the number of multiple historical date information, q is a positive integer between 1 and E-1, I q is the qth date interval value, M is the average value of multiple date interval values, N is the first water consumption in the target time period, Q is the first preset water consumption; norm is the normalization process; the corresponding (I q -M) can characterize the degree of fluctuation between multiple date interval values, that is, the fluctuation information in the embodiment of the present application; N / Q can characterize the degree of difference between the first water consumption and the first preset water consumption, that is, the second difference information can refer to N / Q.
[0071] Here, the greater the fluctuation between the multiple date interval values, the less the water consumption on the date where the target time period is located is affected by the water consumption on the adjacent dates, and the smaller the required adjustment amount for the fifth water consumption output by the multiple linear regression model; on the contrary, the smaller the fluctuation between the multiple date interval values, the greater the influence of the water consumption on the date where the target time period is located on the adjacent dates, and the larger the required adjustment amount for the fifth water consumption output by the multiple linear regression model; the greater the difference between the first water consumption represented by the second difference information and the first preset water consumption, the larger the required adjustment amount for the fifth water consumption output by the multiple linear regression model.
[0072] Therefore, based on the fluctuation information and the second difference information, the second correction coefficient corresponding to the target time period is obtained to predict the second water consumption of the multifunctional smart water meter within the target time period, which can make the predicted second water consumption of the multifunctional smart water meter within the target time period more accurate.
[0073] In step S104, first difference information is obtained according to the first water consumption and the second water consumption, and when the first difference information is greater than a preset difference threshold, an error check is performed on the multifunctional smart water meter.
[0074] The first difference information is used to characterize the degree of difference between the second water consumption and the first water consumption. For example, the absolute value of the difference between the first water consumption and the second water consumption can be used as the first difference information. The greater the degree of difference between the second water consumption represented by the first difference information and the first water consumption, the greater the difference between the water consumption measured by the multifunctional smart water meter and the water consumption determined according to the user's historical water use habits. A larger preset difference threshold can be set to effectively reflect the possible abnormality of the multifunctional smart water meter when the first difference information is greater than the preset difference threshold.
[0075] For example, when the first difference information is the ratio of the larger to the smaller of the first water consumption and the second water consumption, the preset difference threshold may be between 30% and 60%; or, when the first difference information is the absolute value of the difference between the first water consumption and the second water consumption, the preset difference threshold may be between 30% and 60% of the first water consumption; when the first difference information is greater than the preset difference threshold, it means that the deviation between the first water consumption and the second water consumption is large, and there is a high probability that the multifunctional smart water meter is abnormal. When the first difference information is greater than the preset difference threshold, error checking is performed on the multifunctional smart water meter to ensure accurate measurement of the multifunctional smart water meter.
[0076] In this way, compared with performing regular error checks on the multifunctional smart water meters at a larger cycle, for example, compared with performing error checks on the multifunctional smart water meters every year, the embodiments of the present application can promptly discover possible problems with the multifunctional smart water meters, thereby promptly performing error checks on the multifunctional smart water meters; and compared with performing regular error checks on the multifunctional smart water meters at a smaller cycle, for example, compared with performing regular error checks on the multifunctional smart water meters every day, it is possible to reduce the number of error checks on the multifunctional smart water meters while ensuring accurate measurement of the multifunctional smart water meters, thereby reducing the cost of error checks and reducing the number of manual checks performed by users.
[0077] In one embodiment, the target time period includes multiple target sub-time periods, the second water consumption includes multiple second sub-water consumption corresponding to the multiple target sub-time periods, and the first water consumption includes multiple first sub-water consumption corresponding to the multiple target sub-time periods. Third difference information can also be determined based on the first sub-water consumption and the second sub-water consumption corresponding to the same sub-time period. The third difference information is used to characterize the degree of difference between the first sub-water consumption and the second sub-water consumption corresponding to the same sub-time period. When the third difference information is greater than a preset difference threshold, the multifunctional smart water meter is error checked.
[0078] For example, when the target time period is 4 hours, the target time period can include 4 target sub-time periods of 1 hour each; the second sub-water consumption in each hour can be determined separately, and the multifunctional smart water meter can also monitor the first-word water consumption within each hour.
[0079] In this way, the target time period includes multiple target sub-time periods, the second water consumption includes multiple second sub-water consumption corresponding to the multiple target sub-time periods, and the first water consumption includes multiple first sub-water consumption corresponding to the multiple target sub-time periods. This can improve the monitoring accuracy of the multifunctional smart water meter and promptly perform error verification on the multifunctional smart water meter when an abnormality occurs.
[0080] In the embodiments of the present application, those skilled in the art can determine the specific error checking method according to actual needs and perform error checking on the multifunctional smart water meter; for example, a water body with a preset flow rate can be controlled to flow through the multifunctional smart water meter, and the multifunctional smart water meter can be error checked based on the water consumption monitoring result of the water body with the preset flow rate by the multifunctional smart water meter; the technology for error checking the multifunctional smart water meter is relatively mature, and the application embodiments will not be described in detail here. The preset flow rate can be, for example, between 0.01 tons and 0.02 tons.
[0081] In one embodiment, the multifunctional intelligent water meter includes a wireless communication module, which is configured to send a first message to a server, wherein the first message includes a first water consumption; within a preset time period for sending the first message to the server, if a second message sent by the server for the first message is not received, it is confirmed that the first message has failed to be sent; when it is confirmed that the first message has failed to be sent, the first message is stored and the first message is periodically sent to the server.
[0082] For example, due to temporary channel occupancy or temporary poor signal strength, the multifunctional smart water meter may fail to successfully send the first message to the server.
[0083] In this way, when the first message fails to be sent, the first message can be periodically sent to the server to ensure that the first message is effectively delivered to the server, so as to ensure that the water consumption of multiple smart water meters is reported to the server.
[0084] Through the error verification method of the multifunctional smart water meter provided in the embodiment of the present application, the second water consumption of the multifunctional smart water meter within the target time period can be predicted based on the date information of the target time period, the temperature and pressure of the water flowing through the multifunctional smart water meter. Combined with the first water consumption within the target time period collected by the multifunctional smart water meter, the error verification of the multifunctional smart water meter can be realized in time to ensure the accurate measurement of water consumption by the multifunctional smart water meter.
[0085] Figure 2 FIG. 1 is a schematic diagram of a structure of an error checking system for a multifunctional smart water meter according to an exemplary embodiment. Figure 2 The error checking system 1000 of the multifunctional smart water meter may include a processor 1100 and a memory 1200. The memory 1200 stores computer program instructions. When the computer program instructions are executed by the processor 1100, the steps of the error checking method of the multifunctional smart water meter described in the first aspect of the present application are implemented.
[0086] For example, the processor 1100 can be configured to implement the following steps: obtaining monitoring parameters of the multifunctional smart water meter within a target time period, the monitoring parameters including: date information of the target time period, temperature and pressure of the water flowing through the multifunctional smart water meter; obtaining a first water consumption within the target time period collected by the multifunctional smart water meter; predicting a second water consumption of the multifunctional smart water meter within the target time period based on the monitoring parameters and a pre-established multivariate linear regression model; the multivariate linear regression model is used to characterize the correspondence between different monitoring parameters and water consumption; obtaining first difference information based on the first water consumption and the second water consumption, and performing an error check on the multifunctional smart water meter when the first difference information is greater than a preset difference threshold; the first difference information is used to characterize the degree of difference between the second water consumption and the first water consumption.
[0087] Through the error correction system of the multifunctional smart water meter provided in the embodiment of the present application, the second water consumption of the multifunctional smart water meter within the target time period can be predicted based on the date information of the target time period, the temperature and pressure of the water flowing through the multifunctional smart water meter. Combined with the first water consumption within the target time period collected by the multifunctional smart water meter, the error correction of the multifunctional smart water meter can be realized in time to ensure the accurate measurement of water consumption by the multifunctional smart water meter.
[0088] At the same time, compared with performing regular error checks on the multifunctional smart water meters at a larger cycle, for example, compared with performing error checks on the multifunctional smart water meters every year, it is possible to discover problems that may exist in the multifunctional smart water meters in a timely manner, thereby performing error checks on the multifunctional smart water meters in a timely manner; and compared with performing regular error checks on the multifunctional smart water meters at a smaller cycle, for example, compared with performing regular error checks on the multifunctional smart water meters every day, it is possible to reduce the number of error checks on the multifunctional smart water meters while ensuring accurate measurement of the multifunctional smart water meters, thereby reducing the cost of error checks and reducing the number of user operations.
[0089] It should be understood that the features of some embodiments of the various applications described herein may be combined with each other, unless specifically stated otherwise.
[0090] Although terms such as "first", "second" and "third" can be used herein to describe various components, parts, regions, layers or sections, these components, parts, regions, layers or sections are not limited to these terms. On the contrary, these terms are only used to distinguish one component, component, region, layer or section from another component, component, region, layer or section. Therefore, without departing from the teachings of each example, the first component, component, region, layer or section mentioned in the examples described herein may also be referred to as the second component, component, region, layer or section. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may expressly or implicitly include at least one of the features. In the description herein, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0091] In addition, the word "exemplary" is used in this article to represent serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a concrete way. As used in this article, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "a" and "an" as used in this application and the appended claims are generally understood to mean "one or more".
[0092] Likewise, although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present application includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise indicated, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although specific features of the present application may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and beneficial to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in a specific embodiment or claim, such terms are intended to be inclusive in a manner similar to the term "comprising".
[0093] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
[0094] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A multifunctional intelligent water meter error checking method, characterized in that: include: Acquire monitoring parameters of the multifunctional smart water meter within a target time period, wherein the monitoring parameters include: date information of the target time period, temperature and pressure of water flowing through the multifunctional smart water meter; Obtaining the first water consumption within a target time period collected by the multifunctional intelligent water meter; According to the monitoring parameters and the pre-established multiple linear regression model, predicting the second water consumption of the multifunctional smart water meter within the target time period includes: obtaining historical monitoring parameters of the multifunctional smart water meter in the historical time period; the historical monitoring parameters include date information corresponding to the historical time period and the historical water consumption; determining multiple fourth water consumptions within a first preset water consumption range from multiple historical water consumptions; obtaining a second correction coefficient for the water consumption according to the first water consumption and multiple historical date information, wherein the historical date information is the date information corresponding to the fourth water consumption; inputting the monitoring parameters into the pre-established multiple linear regression model to obtain a fifth water consumption, and multiplying the fifth water consumption by the second correction coefficient to obtain the second water consumption; the multiple linear regression model is used to characterize the corresponding relationship between different monitoring parameters and water consumption, and the first preset water consumption range is determined according to the first water consumption; Acquire first difference information according to the first water consumption and the second water consumption, and perform error check on the multifunctional smart water meter when the first difference information is greater than a preset difference threshold; the first difference information is used to characterize the degree of difference between the second water consumption and the first water consumption; The process of obtaining the second correction coefficient: ; Wherein, V is the second correction coefficient, E is the number of multiple historical date information, q is a positive integer between 1 and E-1, I q is the qth date interval value, M is the average value of multiple date interval values, N is the first water consumption in the target time period, Q is the first preset water consumption; norm is the normalization processing process; the first preset water consumption is determined according to the average of multiple historical water consumption in multiple historical monitoring parameters.
2. The method according to claim 1, characterized in that The multivariate linear regression model was established in the following way: Acquire multiple historical monitoring parameters corresponding to the multifunctional smart water meter in multiple historical time periods; the historical monitoring parameters include: date information corresponding to the historical time period, water consumption, temperature and pressure of the water body flowing through the multifunctional smart water meter; Determine, according to a plurality of historical monitoring parameters corresponding to a plurality of historical time periods, a first regression coefficient corresponding to the date information, a second regression coefficient corresponding to the temperature, and a third regression coefficient corresponding to the pressure; Taking date information, temperature and pressure as independent variables and water consumption as dependent variable, a multiple linear regression model was established based on the first regression coefficient, the second regression coefficient and the third regression coefficient.
3. The method according to claim 1, characterized in that According to the monitoring parameters and the pre-established multivariate linear regression model, the second water consumption of the multifunctional smart water meter within the target time period is predicted, including: Obtain historical monitoring parameters of the multifunctional smart water meter in a historical time period; the historical monitoring parameters include historical water consumption and month information of the historical time period; determine the historical monthly water consumption corresponding to the month information based on the historical water consumption under the month information; The historical monthly water consumption of the month information corresponding to the target time period is used as the water consumption of the first month, and a first correction coefficient for the water consumption is determined according to the water consumption of the first month and the water consumption of multiple historical months; The monitoring parameters are input into a pre-established multiple linear regression model to obtain a third water consumption, and the third water consumption is multiplied by the first correction coefficient to obtain a second water consumption.
4. The method according to claim 3, characterized in that According to the water consumption in the first month and the water consumption in multiple historical months, the first correction coefficient for water consumption is determined, including: The average of the water consumption of the multiple historical months is used as the water consumption of the second month; The ratio of the water consumption in the first month to the water consumption in the second month is used as a first correction coefficient for the water consumption.
5. The method according to claim 1, characterized in that The target time period includes a plurality of target sub-time periods, the second water consumption includes a plurality of second sub-water consumptions corresponding to the plurality of target sub-time periods respectively, the first water consumption includes a plurality of first sub-water consumptions corresponding to the plurality of target sub-time periods respectively, and the method further includes: Determine third difference information according to the first sub-water consumption and the second sub-water consumption corresponding to the same sub-time period, wherein the third difference information is used to characterize the degree of difference between the first sub-water consumption and the second sub-water consumption corresponding to the same sub-time period; When the third difference information is greater than a preset difference threshold, an error check is performed on the multifunctional smart water meter.
6. The method according to any one of claims 1 to 5, characterized in that The multifunctional smart water meter includes a wireless communication module, and the wireless communication module is configured to send a first message to a server, wherein the first message includes the first water consumption; If a second message sent by the server for the first message is not received within a preset time period of sending the first message to the server, it is confirmed that the first message has failed to be sent; When it is confirmed that the first message fails to be sent, the first message is stored and the first message is periodically sent to the server.
7. A multifunctional intelligent water meter error checking system, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Electronic water meter calibration method and calibration device
CN109975738A
Ultrasonic water meter fault detection and automatic calibration method and system based on Internet of Things
CN117664281A
