CN118096240A - Abnormal detection method and system for water meter consumption of Internet of things - Google Patents

Abnormal detection method and system for water meter consumption of Internet of things Download PDF

Info

Publication number
CN118096240A
CN118096240A CN202410486804.0A CN202410486804A CN118096240A CN 118096240 A CN118096240 A CN 118096240A CN 202410486804 A CN202410486804 A CN 202410486804A CN 118096240 A CN118096240 A CN 118096240A
Authority
CN
China
Prior art keywords
water consumption
water
reporting frequency
reporting
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410486804.0A
Other languages
Chinese (zh)
Inventor
李江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihe Intelligent Technology Co ltd
Original Assignee
Shenzhen Yihe Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihe Intelligent Technology Co ltd filed Critical Shenzhen Yihe Intelligent Technology Co ltd
Priority to CN202410486804.0A priority Critical patent/CN118096240A/en
Publication of CN118096240A publication Critical patent/CN118096240A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A20/00Water conservation; Efficient water supply; Efficient water use

Landscapes

  • Alarm Systems (AREA)

Abstract

The invention relates to a method and a system for detecting abnormal water meter usage of the Internet of things, wherein the method comprises the following steps: predicting the predicted water information of each user based on the water prediction model; planning a report frequency table of water use data of each user according to the predicted water use information; acquiring the actual water consumption of each user in each unit time based on the reporting frequency table, and correcting the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user; and continuously obtaining a plurality of user water consumption reported by taking the corrected reporting frequency as a rule, taking the user water consumption as verification water consumption, and judging whether the water consumption is abnormal or not according to the verification water consumption. According to the invention, the reporting frequency of each user in unit time is flexibly adjusted by predicting the water consumption level, the abnormal water consumption of the user is accurately detected on the basis of avoiding the too high and too low reporting frequency, the water consumption problem of residents can be timely found, and the water resource waste caused by forgetting to close the water valve is avoided.

Description

Abnormal detection method and system for water meter consumption of Internet of things
Technical Field
The invention relates to the technical field of water meters of the Internet of things, in particular to a method and a system for detecting abnormal water meter usage of the Internet of things.
Background
The internet of things water meter is an intelligent water meter applying the internet of things technology, realizes remote communication through the internet of things private network, and has various intelligent functions. The method combines new generation information technologies such as the Internet of things, cloud computing, big data and the like, so that the water business industry can be managed more efficiently and intelligently. The water meter of the Internet of things can automatically record the use amount of water, does not need to manually read the meter, and reduces meter reading errors and labor cost; through the internet of things technology, remote monitoring and management of the water meter can be realized, the water consumption condition can be mastered in real time, and the management efficiency is improved. The water meter of the internet of things generally needs to report data through the wireless communication module, and the process consumes electric energy. Because the reporting frequency is too high, the battery power of the equipment can be consumed rapidly, and the normal operation and the service life of the equipment are affected. Therefore, the reporting frequency of the current Internet of things water meter is low, accurate control of water consumption is not facilitated, the problem of resident water consumption is difficult to discover in time, and water resource waste is caused. Therefore, it is urgently needed to provide a method and a system for detecting the water meter usage abnormality, which can accurately control the water consumption of the internet of things.
Disclosure of Invention
Aiming at the problems, the invention provides a method and a system for detecting the abnormal water meter usage of the Internet of things.
In order to achieve the above purpose, the present invention provides the following technical solutions:
the method for detecting the water meter consumption abnormality of the Internet of things comprises the following steps:
Training the model by adopting historical water consumption data of each user to obtain a water consumption prediction model, and predicting the water consumption information of each user based on the water consumption prediction model, wherein the predicted water consumption information comprises predicted water consumption in each unit time in the future and predicted water consumption grades corresponding to each unit time in the future;
planning a report frequency table of water use data of each user according to the predicted water use information;
Based on the reporting frequency in the reporting frequency table, acquiring the actual water consumption of each user in each unit time, and correcting the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user;
and continuously acquiring a plurality of user water consumption amounts reported by taking reporting frequencies in the corrected reporting frequency table as rules according to time sequence, wherein the user water consumption amounts are used as verification water consumption amounts, and judging whether water consumption is abnormal according to the verification water consumption amounts.
As a further technical solution of the present invention, the step of planning the reporting frequency table of the water consumption data of each user according to the predicted water consumption information includes:
Obtaining a predicted water level and a preset frequency table corresponding to each unit time in the future, wherein the preset frequency table comprises a plurality of preset water levels and reporting frequencies which are arranged in pairs, and the preset water levels and the reporting frequencies are in positive correlation;
comparing the predicted water level with a preset frequency table, and matching to obtain reporting frequency in each unit time;
And sequencing the reporting frequencies in each unit time according to the time sequence to obtain a reporting frequency table.
As a further technical solution of the present invention, the step of obtaining the actual water consumption of each user in each unit time based on the reporting frequency in the reporting frequency table, and correcting the reporting frequency in the nearest unit time according to the actual water consumption and the predicted water consumption of each user includes:
Acquiring the actual water consumption of a user in each unit time based on the reporting frequency in the reporting frequency table;
comparing the actual water consumption with the predicted water consumption;
when the difference value between the actual water consumption and the predicted water consumption does not exceed a first preset threshold value, judging that the water consumption is normal;
when the difference value between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, judging that the primary water consumption is abnormal, and correcting the reporting frequency in the reporting frequency table to enable the reporting frequency in the latest unit time in the reporting frequency table to be adjusted to be a first tight reporting frequency, wherein the rest of reporting frequencies are unchanged;
when the difference between the actual water consumption and the predicted water consumption exceeds a second preset threshold, judging that the primary water consumption is abnormal, and correcting the reporting frequency in the reporting frequency table, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest is unchanged, wherein the latest unit time refers to the integral unit time nearest to the current moment.
As a further technical solution of the present invention, the step of continuously obtaining, according to a time sequence, a plurality of user water volumes reported according to a rule of reporting frequencies in the corrected reporting frequency table as verification water volumes, and determining whether water consumption is abnormal according to the verification water volumes includes:
Continuously acquiring a plurality of user water consumption reported by taking reporting frequencies in the corrected reporting frequency table as rules according to a time sequence to serve as verification water consumption;
calculating and judging whether the difference value between the adjacent verification water consumption exceeds a preset difference value;
When the difference value between the adjacent verification water consumption exceeds a preset difference value, judging that the water consumption is normal;
And when the difference value between the adjacent verification water consumption amounts does not exceed a preset difference value, judging that the water consumption is abnormal, and sending prompt information to a management end.
Another object of the present invention is to provide a system for detecting abnormal usage of a water meter in the internet of things, the system comprising:
the prediction information acquisition module is used for training the model by adopting historical water consumption data of each user to obtain a water consumption prediction model, and predicting the predicted water consumption information of each user based on the water consumption prediction model, wherein the predicted water consumption information comprises predicted water consumption in each unit time in the future and predicted water consumption levels corresponding to each unit time in the future;
the reporting frequency planning module is used for planning a reporting frequency table of the water use data of each user according to the predicted water use information;
The reporting frequency correction module is used for acquiring the actual water consumption of each user in unit time based on the reporting frequency in the reporting frequency table, and correcting the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user;
And the water consumption abnormality verification module is used for continuously acquiring a plurality of user water consumption reported by taking the reporting frequency in the corrected reporting frequency table as a rule according to the time sequence, and judging whether the water consumption is abnormal or not according to the verification water consumption.
As a further technical solution of the present invention, the reporting frequency planning module includes:
the data acquisition unit is used for acquiring a predicted water level and a preset frequency table corresponding to each unit time in the future, wherein the preset frequency table comprises a plurality of preset water levels and reporting frequencies which are arranged in pairs, and the preset water levels and the reporting frequencies are in positive correlation;
the frequency matching unit is used for comparing the predicted water level with a preset frequency table, and matching to obtain reporting frequencies in each unit time;
And the frequency ordering unit is used for ordering the reporting frequencies in each unit time according to the time sequence to obtain a reporting frequency table.
As a further technical solution of the present invention, the reporting frequency correction module includes:
The actual water consumption obtaining unit is used for obtaining the actual water consumption of the user in each unit time based on the reporting frequency in the reporting frequency table;
the water consumption comparison unit is used for comparing the actual water consumption with the predicted water consumption;
a water consumption first judging unit for judging that the water consumption is normal when the difference value between the actual water consumption and the predicted water consumption does not exceed a first preset threshold value;
the water consumption second judging unit is used for judging that the primary water consumption is abnormal when the difference value between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, and correcting the reporting frequency in the reporting frequency table so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be a first tight reporting frequency, and the rest of the reporting frequencies are unchanged;
And the water consumption third judging unit is used for judging that the primary water consumption is abnormal when the difference value between the actual water consumption and the predicted water consumption exceeds a second preset threshold value, correcting the reporting frequency in the reporting frequency table, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest of the reporting frequency is unchanged, wherein the latest unit time refers to the integral unit time closest to the current moment.
As a further technical solution of the present invention, the water use abnormality verification module includes:
The verification water consumption acquisition unit is used for continuously acquiring a plurality of user water consumption reported regularly by reporting frequencies in the corrected reporting frequency table according to time sequence, and the user water consumption is used as verification water consumption;
the verification difference value calculation unit is used for calculating and judging whether the difference value between adjacent verification water consumption exceeds a preset difference value or not;
the water use normal judging unit is used for judging that the water use is normal when the difference value between the adjacent verification water use amounts exceeds a preset difference value;
And the water consumption abnormality judging unit is used for judging that the water consumption is abnormal when the difference value between the adjacent verification water consumption does not exceed a preset difference value, and sending prompt information to the management end.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a method and a system for detecting abnormal water meter usage of the Internet of things, wherein a reporting frequency table of water data of each user is planned according to the predicted water information, the actual water consumption of each user in each unit time is obtained based on the reporting frequency in the reporting frequency table, and the reporting frequency in the latest unit time in the future is corrected according to the difference value between the actual water consumption of each user and the predicted water consumption and a preset threshold value; and continuously acquiring a plurality of user water consumption reported by taking the reporting frequency in the corrected reporting frequency table as a rule according to the time sequence, taking the user water consumption as verification water consumption, and judging whether the water consumption is abnormal according to the difference value between the adjacent verification water consumption. According to the invention, the reporting frequency of each user in unit time is flexibly adjusted by predicting the water consumption level, the abnormal water consumption of the user is accurately detected on the basis of avoiding the too high and too low reporting frequency, the water consumption problem of residents can be timely found, and the water resource waste caused by forgetting to close the water valve is avoided.
Drawings
Fig. 1 is a flow chart of a method for detecting abnormal usage of a water meter in the internet of things.
Fig. 2 is a flow chart of a step of planning and reporting a frequency table in the abnormal water meter usage detection method of the internet of things.
Fig. 3 is a flow chart of a step of correcting reporting frequency in the abnormal water meter usage detection method of the internet of things.
Fig. 4 is a flow chart of an abnormality verification step in the method for detecting the abnormal usage of the water meter of the internet of things.
Fig. 5 is a block diagram of a system for detecting abnormal usage of a water meter in the internet of things.
Detailed Description
The technical scheme of the patent is further described in detail below with reference to the specific embodiments.
As shown in fig. 1, the embodiment of the invention provides a method for detecting the abnormal usage of a water meter of the internet of things, which comprises the following steps:
Step S100, training a model by adopting historical water consumption data of each user to obtain a water consumption prediction model, and predicting the predicted water consumption information of each user based on the water consumption prediction model, wherein the predicted water consumption information comprises predicted water consumption in each unit time in the future and predicted water consumption levels corresponding to each unit time in the future;
Step S200, planning a report frequency table of water use data of each user according to the predicted water use information;
Step S300, based on the reporting frequency in the reporting frequency table, acquiring the actual water consumption of each user in each unit time, and correcting the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user;
Step S400, continuously obtaining a plurality of user water consumption reported by taking the reporting frequency in the corrected reporting frequency table as a rule according to the time sequence, and judging whether the water consumption is abnormal according to the verification water consumption.
The embodiment of the invention is mainly suitable for detecting abnormal water consumption of residents, mainly solves the problem of water resource waste caused by forgetting to close a water valve, predicts and obtains the predicted water consumption information of each user based on the water consumption prediction model, plans a reporting frequency table of water consumption data of each user according to the predicted water consumption information, obtains the actual water consumption of each user in each unit time based on the reporting frequency in the reporting frequency table, and corrects the reporting frequency in the latest unit time in the future according to the difference value between the actual water consumption and the predicted water consumption of each user and a preset threshold value; and continuously acquiring a plurality of user water consumption reported by taking the reporting frequency in the corrected reporting frequency table as a rule according to the time sequence, taking the user water consumption as verification water consumption, and judging whether the water consumption is abnormal according to the difference value between the adjacent verification water consumption. According to the invention, the reporting frequency of each user in unit time is flexibly adjusted by predicting the water consumption level, the abnormal water consumption of the user is accurately detected on the basis of avoiding the too high and too low reporting frequency, the water consumption problem of residents can be timely found, and the water resource waste caused by forgetting to close the water valve is avoided.
As a preferred embodiment of the present invention, the step of training the model by using the historical water consumption data of each user to obtain a water consumption prediction model, and predicting the predicted water consumption information of each user based on the water consumption prediction model comprises the steps of;
First, it is necessary to extract user historical water usage data from an internet-of-things water meter system. These data typically include the amount of water used per unit time (e.g., hours, days, weeks, etc.), and the water usage level for each unit time is determined based on the amount of water used per unit time. The water consumption level of each unit time is used for measuring the water consumption in each unit time, the water consumption level comprises primary water consumption, secondary water consumption and tertiary water consumption, and the higher the water consumption level is, the higher the water consumption in the unit time is, so that the water consumption habit and mode of a user can be reflected. In addition, the data also needs to bind user ID information to ensure accuracy and traceability of the data. The water consumption data of each user are independent, and the water consumption conditions of different users can be accurately distinguished through the user ID.
After the original historical water consumption data of the user is obtained, data preprocessing work is needed. This includes the steps of data cleansing (removal of outliers, missing values, etc.), data conversion (e.g., unifying the water usage units to the same standard), data aggregation (grouping data by user ID and time unit), etc. These preprocessing efforts help to improve the accuracy and efficiency of subsequent model training. The preprocessed historical water consumption data of the user is divided into a training set and a testing set so as to be used in training and testing the models, the selection of the models can be determined according to the characteristics and the prediction requirements of the data, and common models comprise a time sequence analysis model, a machine learning model (such as a regression model, a neural network and the like), a deep learning model and the like. In the embodiment of the invention, a time sequence analysis model can be selected, the model is trained by using a training set, the performance of the model is tested by using a testing set, and when the accuracy of the output information of the prediction model reaches a preset threshold value, the training is completed. When the model training is completed, the model can be used to predict future water usage information of the user. The water consumption prediction method comprises the steps of predicting water consumption in unit time in the future, predicting water consumption levels corresponding to each unit time in the future and distribution of the water consumption, and possibly also comprises the trend of water consumption change along with time and the like. This information is of great importance to both water management and user water planning. It should be noted that, because the water consumption of the user may be affected by various factors (such as weather, holidays, living habits, etc.), the model needs to be continuously updated and optimized in practical application to improve the accuracy and reliability of the prediction, and the specific scheme is not specifically described in the present invention.
As shown in fig. 2, as a preferred embodiment of the present invention, the step of planning the report frequency table of the water consumption data of each user according to the predicted water consumption information includes:
Step S201, obtaining a predicted water level and a preset frequency table corresponding to each unit time in the future, wherein the preset frequency table comprises a plurality of preset water levels and reporting frequencies which are arranged in pairs, the preset water levels and the reporting frequencies are in positive correlation, when the predicted water level is the same as a first preset level, the corresponding unit time of the predicted water level is matched with the first reporting frequency, when the predicted water level is the same as a second preset level, the corresponding unit time of the predicted water level is matched with the second reporting frequency, and when the predicted water level is the same as a third preset level, the corresponding unit time of the predicted water level is matched with the third reporting frequency;
step S202, comparing the predicted water level with a preset frequency table, and matching to obtain reporting frequencies in each unit time;
And step S203, sequencing the reporting frequencies in each unit time according to the time sequence to obtain a reporting frequency table.
In this embodiment, the reporting frequency of the water consumption data in the unit time in the future of the user can be accurately matched by predicting the water consumption level, so that the reporting frequency can be flexibly adjusted according to the actual water consumption of the user, the high-frequency monitoring reporting can be performed for the unit time with more water consumption, the low-frequency monitoring reporting can be performed for the unit time with less water consumption, the problem of forgetting to close the water valve can be timely found when the water consumption is more, and the waste of water resources can be effectively avoided.
As shown in fig. 3, as a preferred embodiment of the present invention, the step of obtaining the actual water consumption of each user in each unit time based on the reporting frequency in the reporting frequency table, and correcting the reporting frequency in the nearest unit time according to the actual water consumption and the predicted water consumption of each user includes:
Step S301, based on the report frequency in the report frequency table, obtaining the actual water consumption of the user in each unit time, wherein the actual water consumption is generally the total water consumption in the unit time;
step S302, comparing the actual water consumption with the predicted water consumption, wherein the predicted water consumption is generally the predicted total water consumption in unit time;
step S303, when the difference value between the actual water consumption and the predicted water consumption does not exceed a first preset threshold value, judging that the water consumption is normal, and at the moment, correcting the report frequency table is not needed;
step S304, when the difference between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, judging that the primary water consumption is abnormal, and correcting the reporting frequency in the reporting frequency table so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be a first tight reporting frequency, and the rest is unchanged;
And step S305, when the difference between the actual water consumption and the predicted water consumption exceeds a second preset threshold, judging that the preliminary water consumption is abnormal, and correcting the reporting frequency in the reporting frequency table so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest is unchanged, wherein the latest unit time refers to the integral unit time closest to the current moment.
In this embodiment, the actual water consumption and the predicted water consumption are compared to obtain the difference value, and the degree of abnormality is primarily determined by comparing the magnitude of the difference value with a preset threshold value, so that the reporting frequency in the latest unit time is adjusted more specifically as follows: when the difference value between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, judging that the primary water consumption is abnormal, correcting the reporting frequency in the reporting frequency table, wherein the reporting frequency in the unit time is unchanged, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the first tight reporting frequency, and the rest of reporting frequencies are unchanged; when the difference value between the actual water consumption and the predicted water consumption exceeds a second preset threshold value, judging that the primary water consumption is abnormal, correcting the reporting frequency in the reporting frequency table, wherein the unit time is unchanged, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest of reporting frequencies are unchanged.
As shown in fig. 4, as a preferred embodiment of the present invention, the step of continuously obtaining, in time sequence, a plurality of user water volumes reported according to a rule of reporting frequencies in the corrected reporting frequency table, as verification water volumes, and determining whether the water volumes are abnormal according to the verification water volumes includes:
step S401, continuously obtaining a plurality of user water consumption reported by taking reporting frequency in the corrected reporting frequency table as a rule according to a time sequence, and taking the user water consumption as verification water consumption;
Step S402, calculating and judging whether the difference value between the adjacent verification water consumption exceeds a preset difference value;
step S403, when the difference value between the adjacent verification water consumption exceeds a preset difference value, judging that the water consumption is normal;
and step S404, when the difference value between the adjacent verification water consumption does not exceed a preset difference value, judging that the water consumption is abnormal, and sending prompt information to a management end.
In this embodiment, after the actual water usage and the predicted water usage are used to preliminarily determine that the water usage is abnormal, a plurality of user water usage reported regularly with reporting frequency in the corrected reporting frequency table is continuously obtained according to a time sequence, and as the verification water usage, because the corrected reporting frequency is increased, a plurality of verification water usage with the same reporting time interval can be obtained, whether the difference between adjacent verification water usage exceeds a preset difference value is determined, and when the difference between the adjacent verification water usage does not exceed the preset difference value, the water usage is determined to be abnormal, and prompt information is sent to the management end to remind the user whether to forget to close the water valve. In general, when the user actually uses water, in order to save the water, the operation of opening and closing the valve is performed, and when the water valve is opened each time, the opening of the valve cannot be guaranteed to be the same, so that the difference value between adjacent verification water consumption of the user cannot be always the same, and if the difference value between the adjacent verification water consumption is always the same in preset time, the abnormality of the water consumption can be further verified.
As shown in fig. 5, another object of the present invention is to provide a system for detecting abnormal usage of a water meter in the internet of things, the system comprising:
The prediction information obtaining module 100 is configured to obtain a water consumption prediction model by training a model using historical water consumption data of each user, and predict and obtain predicted water consumption information of each user based on the water consumption prediction model, where the historical water consumption data of each user includes water consumption in each unit time and water consumption levels corresponding to each unit time, the historical water consumption data of each user is bound with user ID information, and the water consumption levels in each unit time are used for measuring water consumption in each unit time, and the water consumption levels include primary water consumption, secondary water consumption and tertiary water consumption; the predicted water information comprises predicted water consumption in each unit time in the future and predicted water levels corresponding to each unit time in the future, and the predicted water information is bound with user ID information;
The reporting frequency planning module 200 is configured to plan a reporting frequency table of water usage data of each user according to the predicted water usage information;
the reporting frequency correction module 300 is configured to obtain an actual water consumption of each user in each unit time based on the reporting frequency in the reporting frequency table, and correct the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user;
The water consumption abnormality verification module 400 is configured to continuously obtain, according to a time sequence, a plurality of user water consumption amounts reported according to a rule that a reporting frequency in the corrected reporting frequency table is a rule, as verification water consumption amounts, and determine whether water consumption is abnormal according to the verification water consumption amounts.
As a preferred embodiment of the present invention, the reporting frequency planning module 200 includes:
The data acquisition unit is configured to acquire a predicted water level and a preset frequency table corresponding to each unit time in the future, where the preset frequency table includes a plurality of preset water levels and reporting frequencies that are set in pairs, and the preset water levels and the reporting frequencies are in a positive correlation relationship, specifically, when the predicted water level is the same as the first preset level, the corresponding unit time of the predicted water level is made to match the first reporting frequency, when the predicted water level is the same as the second preset level, the corresponding unit time of the predicted water level is made to match the second reporting frequency, and when the predicted water level is the same as the third preset level, the corresponding unit time of the predicted water level is made to match the third reporting frequency;
the frequency matching unit is used for comparing the predicted water level with a preset frequency table, and matching to obtain reporting frequencies in each unit time;
And the frequency ordering unit is used for ordering the reporting frequencies in each unit time according to the time sequence to obtain a reporting frequency table.
As a preferred embodiment of the present invention, the reporting frequency correction module 300 includes:
The actual water consumption obtaining unit is used for obtaining the actual water consumption of the user in each unit time based on the reporting frequency in the reporting frequency table, wherein the actual water consumption is generally the total water consumption in the unit time;
a water consumption comparison unit for comparing the actual water consumption with a predicted water consumption, wherein the predicted water consumption is generally the predicted total water consumption in unit time;
The water consumption first judging unit is used for judging that the water consumption is normal when the difference value between the actual water consumption and the predicted water consumption does not exceed a first preset threshold value, and the report frequency table is not required to be corrected at the moment;
the water consumption second judging unit is used for judging that the primary water consumption is abnormal when the difference value between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, and correcting the reporting frequency in the reporting frequency table so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be a first tight reporting frequency, and the rest of the reporting frequencies are unchanged;
And the water consumption third judging unit is used for judging that the primary water consumption is abnormal when the difference value between the actual water consumption and the predicted water consumption exceeds a second preset threshold value, correcting the reporting frequency in the reporting frequency table, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest of the reporting frequency is unchanged, wherein the latest unit time refers to the integral unit time closest to the current moment.
As a preferred embodiment of the present invention, the water use abnormality verification module 400 includes:
The verification water consumption acquisition unit is used for continuously acquiring a plurality of user water consumption reported regularly by reporting frequencies in the corrected reporting frequency table according to time sequence, and the user water consumption is used as verification water consumption;
the verification difference value calculation unit is used for calculating and judging whether the difference value between adjacent verification water consumption exceeds a preset difference value or not;
the water use normal judging unit is used for judging that the water use is normal when the difference value between the adjacent verification water use amounts exceeds a preset difference value;
And the water consumption abnormality judging unit is used for judging that the water consumption is abnormal when the difference value between the adjacent verification water consumption does not exceed a preset difference value, and sending prompt information to the management end.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. The method for detecting the water meter consumption abnormality of the Internet of things is characterized by comprising the following steps of:
Training the model by adopting historical water consumption data of each user to obtain a water consumption prediction model, and predicting the water consumption information of each user based on the water consumption prediction model, wherein the predicted water consumption information comprises predicted water consumption in each unit time in the future and predicted water consumption grades corresponding to each unit time in the future;
planning a report frequency table of water use data of each user according to the predicted water use information;
Based on the reporting frequency in the reporting frequency table, acquiring the actual water consumption of each user in each unit time, and correcting the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user;
and continuously acquiring a plurality of user water consumption amounts reported by taking reporting frequencies in the corrected reporting frequency table as rules according to time sequence, wherein the user water consumption amounts are used as verification water consumption amounts, and judging whether water consumption is abnormal according to the verification water consumption amounts.
2. The method for detecting abnormal water meter usage of the internet of things according to claim 1, wherein the step of planning the reporting frequency table of the water usage data of each user according to the predicted water usage information comprises the steps of:
Obtaining a predicted water level and a preset frequency table corresponding to each unit time in the future, wherein the preset frequency table comprises a plurality of preset water levels and reporting frequencies which are arranged in pairs, and the preset water levels and the reporting frequencies are in positive correlation;
comparing the predicted water level with a preset frequency table, and matching to obtain reporting frequency in each unit time;
And sequencing the reporting frequencies in each unit time according to the time sequence to obtain a reporting frequency table.
3. The method for detecting abnormal water meter usage of the internet of things according to claim 2, wherein the step of obtaining the actual water usage of the users in each unit time based on the reporting frequency in the reporting frequency table and correcting the reporting frequency in the latest unit time according to the actual water usage and the predicted water usage of the users comprises the steps of:
Acquiring the actual water consumption of a user in each unit time based on the reporting frequency in the reporting frequency table;
comparing the actual water consumption with the predicted water consumption;
when the difference value between the actual water consumption and the predicted water consumption does not exceed a first preset threshold value, judging that the water consumption is normal;
when the difference value between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, judging that the primary water consumption is abnormal, and correcting the reporting frequency in the reporting frequency table to enable the reporting frequency in the latest unit time in the reporting frequency table to be adjusted to be a first tight reporting frequency, wherein the rest of reporting frequencies are unchanged;
when the difference between the actual water consumption and the predicted water consumption exceeds a second preset threshold, judging that the primary water consumption is abnormal, and correcting the reporting frequency in the reporting frequency table, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest is unchanged, wherein the latest unit time refers to the integral unit time nearest to the current moment.
4. The method for detecting abnormal water meter usage of the internet of things according to claim 3, wherein the step of continuously obtaining a plurality of user water volumes reported by using reporting frequencies in the corrected reporting frequency table as rules according to time sequence as verification water volumes, and judging whether the water volumes are abnormal according to the verification water volumes comprises the steps of:
Continuously acquiring a plurality of user water consumption reported by taking reporting frequencies in the corrected reporting frequency table as rules according to a time sequence to serve as verification water consumption;
calculating and judging whether the difference value between the adjacent verification water consumption exceeds a preset difference value;
When the difference value between the adjacent verification water consumption exceeds a preset difference value, judging that the water consumption is normal;
And when the difference value between the adjacent verification water consumption amounts does not exceed a preset difference value, judging that the water consumption is abnormal, and sending prompt information to a management end.
5. An abnormal water meter usage detection system of the internet of things, which is characterized by comprising:
the prediction information acquisition module is used for training the model by adopting historical water consumption data of each user to obtain a water consumption prediction model, and predicting the predicted water consumption information of each user based on the water consumption prediction model, wherein the predicted water consumption information comprises predicted water consumption in each unit time in the future and predicted water consumption levels corresponding to each unit time in the future;
the reporting frequency planning module is used for planning a reporting frequency table of the water use data of each user according to the predicted water use information;
The reporting frequency correction module is used for acquiring the actual water consumption of each user in unit time based on the reporting frequency in the reporting frequency table, and correcting the reporting frequency in the latest unit time according to the actual water consumption and the predicted water consumption of each user;
And the water consumption abnormality verification module is used for continuously acquiring a plurality of user water consumption reported by taking the reporting frequency in the corrected reporting frequency table as a rule according to the time sequence, and judging whether the water consumption is abnormal or not according to the verification water consumption.
6. The abnormal water meter usage detection system of claim 5, wherein the reporting frequency planning module comprises:
the data acquisition unit is used for acquiring a predicted water level and a preset frequency table corresponding to each unit time in the future, wherein the preset frequency table comprises a plurality of preset water levels and reporting frequencies which are arranged in pairs, and the preset water levels and the reporting frequencies are in positive correlation;
the frequency matching unit is used for comparing the predicted water level with a preset frequency table, and matching to obtain reporting frequencies in each unit time;
And the frequency ordering unit is used for ordering the reporting frequencies in each unit time according to the time sequence to obtain a reporting frequency table.
7. The abnormal water meter usage detection system of claim 6, wherein the reporting frequency correction module comprises:
The actual water consumption obtaining unit is used for obtaining the actual water consumption of the user in each unit time based on the reporting frequency in the reporting frequency table;
the water consumption comparison unit is used for comparing the actual water consumption with the predicted water consumption;
a water consumption first judging unit for judging that the water consumption is normal when the difference value between the actual water consumption and the predicted water consumption does not exceed a first preset threshold value;
the water consumption second judging unit is used for judging that the primary water consumption is abnormal when the difference value between the actual water consumption and the predicted water consumption exceeds a first preset threshold value but does not exceed a second preset threshold value, and correcting the reporting frequency in the reporting frequency table so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be a first tight reporting frequency, and the rest of the reporting frequencies are unchanged;
And the water consumption third judging unit is used for judging that the primary water consumption is abnormal when the difference value between the actual water consumption and the predicted water consumption exceeds a second preset threshold value, correcting the reporting frequency in the reporting frequency table, so that the reporting frequency in the latest unit time in the reporting frequency table is adjusted to be the second tight reporting frequency, and the rest of the reporting frequency is unchanged, wherein the latest unit time refers to the integral unit time closest to the current moment.
8. The abnormal water meter usage detection system of claim 6, wherein the abnormal water usage verification module comprises:
The verification water consumption acquisition unit is used for continuously acquiring a plurality of user water consumption reported regularly by reporting frequencies in the corrected reporting frequency table according to time sequence, and the user water consumption is used as verification water consumption;
the verification difference value calculation unit is used for calculating and judging whether the difference value between adjacent verification water consumption exceeds a preset difference value or not;
the water use normal judging unit is used for judging that the water use is normal when the difference value between the adjacent verification water use amounts exceeds a preset difference value;
And the water consumption abnormality judging unit is used for judging that the water consumption is abnormal when the difference value between the adjacent verification water consumption does not exceed a preset difference value, and sending prompt information to the management end.
CN202410486804.0A 2024-04-23 2024-04-23 Abnormal detection method and system for water meter consumption of Internet of things Pending CN118096240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410486804.0A CN118096240A (en) 2024-04-23 2024-04-23 Abnormal detection method and system for water meter consumption of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410486804.0A CN118096240A (en) 2024-04-23 2024-04-23 Abnormal detection method and system for water meter consumption of Internet of things

Publications (1)

Publication Number Publication Date
CN118096240A true CN118096240A (en) 2024-05-28

Family

ID=91160041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410486804.0A Pending CN118096240A (en) 2024-04-23 2024-04-23 Abnormal detection method and system for water meter consumption of Internet of things

Country Status (1)

Country Link
CN (1) CN118096240A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107658977A (en) * 2017-08-28 2018-02-02 南京天溯自动化控制系统有限公司 With energy Anomalous dynamics self-adaptive monitoring method and system
CN116992385A (en) * 2023-08-14 2023-11-03 宁夏隆基宁光仪表股份有限公司 Abnormal detection method and system for water meter consumption of Internet of things
KR20230159159A (en) * 2022-05-13 2023-11-21 재단법인 한국기계전기전자시험연구원 Standard remote meter reader for detecting water meter remote meter reading system failure and evaluation method using the same
CN117196120A (en) * 2023-10-25 2023-12-08 无锡市水务集团有限公司 Water consumption behavior analysis algorithm for user

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107658977A (en) * 2017-08-28 2018-02-02 南京天溯自动化控制系统有限公司 With energy Anomalous dynamics self-adaptive monitoring method and system
KR20230159159A (en) * 2022-05-13 2023-11-21 재단법인 한국기계전기전자시험연구원 Standard remote meter reader for detecting water meter remote meter reading system failure and evaluation method using the same
CN116992385A (en) * 2023-08-14 2023-11-03 宁夏隆基宁光仪表股份有限公司 Abnormal detection method and system for water meter consumption of Internet of things
CN117196120A (en) * 2023-10-25 2023-12-08 无锡市水务集团有限公司 Water consumption behavior analysis algorithm for user

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁浔;景新幸;韩冰;: "长期演进系统中一种改进的信通质量指示修正算法的设计", 科学技术与工程, no. 35, 18 December 2013 (2013-12-18) *

Similar Documents

Publication Publication Date Title
CN101213421B (en) Automated integration of data in public utility monitoring systems
US9348392B2 (en) Systems and methods for measuring and verifying energy savings in buildings
KR102190845B1 (en) Driving control method of fuel cell generation system using power load estimation of building based on artificial intelligence
CN111458661A (en) Power distribution network line variation relation diagnosis method, device and system
CN114528929B (en) Multi-source data platform region measuring system and method
CN117176560A (en) Monitoring equipment supervision system and method based on Internet of things
CN112767193A (en) Situation awareness-based distribution network production differentiation operation and maintenance strategy method
CN114878934A (en) Electric energy consumption data abnormity early warning method
CN117764422B (en) Intelligent energy-saving operation and maintenance management cloud platform
CN114841443A (en) Electric energy analysis method, system and storage medium
CN114879619A (en) Digital workshop energy optimization method and system
CN109559046A (en) A kind of natural gas development influence factor appraisal procedure and assessment system
CN113608975A (en) Method and system for online evaluation of running state of electric energy metering system in electric power spot market
CN118096240A (en) Abnormal detection method and system for water meter consumption of Internet of things
CN117196883A (en) Sewage treatment decision optimization method and system based on artificial intelligence
CN113642248B (en) Method and device for evaluating residual use time of positioning equipment
Kelly Do homes that are more energy efficient consume less energy?: A structural equation model for England's residential sector
CN117949886B (en) Intelligent regulation and control method and system for transformer calibrator, electronic equipment and storage medium
CN111257758A (en) SOH estimation method for emergency lead-acid storage battery of power station
CN117039855B (en) Intelligent load prediction method and system for power system
CN117808157B (en) Intelligent identification-based unreported outage behavior prediction analysis system
CN117390028B (en) Big data statistical storage method and system based on intelligent water meter
CN112895967B (en) Method, system, medium, and device for predicting remaining service time of battery replacement mileage
US20240177594A1 (en) Methods for detecting gas alarms based on smart gas and internet of things (iot) systems
RU2740274C1 (en) Method for rapid assessment of energy-saving potential of group of single-type objects and automated system for implementation thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination