Intelligent water meter reporting method and system based on flow change and medium
By setting a timed reporting period and interrupt time node on the smart water meter to collect data, and encrypting transmission when the flow change exceeds the threshold, the instability and security of the smart water meter data transmission is solved, and reliable flow statistics of the water platform are realized and error test.
Patent Information
- Application Number
- CN202411040867.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-17
AI Technical Summary
Intelligent remote IoT water meter faces network instability, data security and equipment maintenance problems during data transmission, resulting in interruption or inaccuracy of data transmission, and the inability to accurately count water use and pipeline water transportation losses.
The intelligent water meter reporting method based on flow changes is adopted. Data is collected by setting a timed reporting period and interrupt time node, and traffic change information is analyzed. If the threshold is exceeded, the transmission will be encrypted. Otherwise, the monitoring strategy will be switched to ensure data security and accuracy.
Improves the security and accuracy of data transmission, ensuring complete flow data provided in the event of network instability, is suitable for smart water on-site operation and maintenance, and provides reliable flow statistics and error inspection.
Smart Images

Figure CN119155572A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water meter flow reporting, and in particular to a method, system and medium for reporting a smart water meter based on flow changes. Background Art
[0002] During the operation of the smart remote IoT water meter, the current water volume and other data are usually reported discretely every day. The shortcomings of the smart remote IoT water meter reporting mainly include the following aspects: Data transmission problem: Smart remote IoT water meters transmit data via the Internet. If the network is unstable or fails, data transmission may be interrupted or the data may be inaccurate.
[0003] Data security issues: The data transmission of smart remote IoT water meters needs to be connected to the Internet, which to some extent involves user privacy issues.
[0004] Equipment maintenance issues: Smart remote IoT water meters require regular equipment maintenance to ensure the normal operation of the equipment and the accuracy of the data. If the equipment fails or is improperly maintained, it may affect the reporting and accuracy of the data. Existing equipment cannot verify the accuracy of the data.
[0005] System statistics issues: Since the flow data received by the system platform are all discrete time, the system cannot accurately count water usage and pipeline water losses. Effective technical solutions are urgently needed to address the above issues. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide a smart water meter reporting method, system and medium based on flow changes, which triggers the reporting mechanism by timing and combining the flow change method, and then encrypts the data before reporting it to the platform, thereby improving the security of the reported data.
[0007] The embodiment of the present application also provides a smart water meter reporting method based on flow change, including: Set a scheduled reporting cycle, set a number of interruption time nodes based on the scheduled reporting cycle, and collect a number of corresponding water meter collection data based on the interruption time nodes; Analyze the water meter flow data corresponding to several interruption time nodes based on the water meter collection data, and generate water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; Determine whether the water meter flow change information at adjacent interruption time nodes is greater than or equal to the set flow increment threshold; If it is greater than or equal to, water meter flow change information is generated, encrypted and transmitted to the terminal; If it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle.
[0008] Optionally, in the smart water meter reporting method based on flow change described in the embodiment of the present application, a regular reporting cycle is set, a number of interruption time nodes are set based on the regular reporting cycle, and a number of corresponding water meter collection data are collected based on the interruption time nodes, specifically including: Set a scheduled reporting period, which includes 1 hour, 1 day or 1 week; Set the time period, divide the scheduled reporting cycle into equal time periods based on the time period, and generate several interruption time nodes; Each interrupt time node generates a corresponding acquisition signal; The water meter data is collected at each interruption time node based on the collected signal.
[0009] Optionally, in the smart water meter reporting method based on flow change described in the embodiment of the present application, analyzing water meter flow data corresponding to several interruption time nodes based on water meter collection data specifically includes: Acquire the collected signal, extract the signal features, and compare the signal features with the set feature interval; Determine whether the signal characteristics are within the set characteristic interval; If it is, the water meter flow data corresponding to the interruption time node is obtained; If not, obtain the signal feature distribution, obtain the noise feature based on the signal feature distribution analysis, remove the noise feature, and obtain the collected signal after the noise is removed; The water meter flow is collected based on the collected signal after noise removal to obtain the water meter flow data corresponding to the interruption time node.
[0010] Optionally, in the smart water meter reporting method based on flow change described in the embodiment of the present application, generating water meter flow change information of adjacent interruption time nodes based on water meter flow data corresponding to the interruption time node specifically includes: Obtain water meter flow data at adjacent interruption time nodes, perform difference calculation on the water meter flow data at adjacent time nodes, and obtain flow difference; Determining whether the flow difference is greater than or equal to a set flow difference threshold; If it is less than, flow fluctuation information is generated; If it is greater than or equal to, the water meter flow change information is calculated based on the flow difference.
[0011] Optionally, in the smart water meter reporting method based on flow change described in the embodiment of the present application, if it is greater than or equal to, then water meter flow change information is generated, and the water meter flow change information is encrypted and transmitted to the terminal, specifically including: Obtaining traffic change information, generating encryption parameters based on the traffic change information, and generating corresponding encryption keys based on the encryption parameters; Encrypt the traffic change information based on the encryption key to generate ciphertext data; Upload the encrypted data to the terminal according to the predetermined transmission method and transmission channel; A matching decryption key is established based on the encryption key, and the decryption key is saved to the terminal.
[0012] Optionally, in the smart water meter reporting method based on flow change described in the embodiment of the present application, if it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle, specifically including: If the water meter flow change information at the adjacent interruption time nodes is less than the set flow increment threshold, the flow change is determined to be normal and adjustment information is generated; Adjust the divided time period based on the adjustment information to generate a new divided time period; Based on the new divided time period, the scheduled reporting cycle is divided again to generate a new interruption time node; Based on the new interruption time node, the water meter flow change information is monitored again.
[0013] In a second aspect, an embodiment of the present application provides a smart water meter reporting system based on flow changes, the system comprising: a memory and a processor, the memory comprising a program of a smart water meter reporting method based on flow changes, the program of the smart water meter reporting method based on flow changes being executed by the processor to implement the following steps: Set a scheduled reporting cycle, set a number of interruption time nodes based on the scheduled reporting cycle, and collect a number of corresponding water meter collection data based on the interruption time nodes; Analyze the water meter flow data corresponding to several interruption time nodes based on the water meter collection data, and generate water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; Determine whether the water meter flow change information at adjacent interruption time nodes is greater than or equal to the set flow increment threshold; If it is greater than or equal to, water meter flow change information is generated, encrypted and transmitted to the terminal; If it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle.
[0014] Optionally, in the smart water meter reporting system based on flow change described in the embodiment of the present application, a timed reporting period is set, a number of interruption time nodes are set based on the timed reporting period, and a number of corresponding water meter collection data are collected based on the interruption time nodes, specifically including: Set a scheduled reporting period, which includes 1 hour, 1 day or 1 week; Set the time period, divide the scheduled reporting cycle into equal time periods based on the time period, and generate several interruption time nodes; Each interrupt time node generates a corresponding acquisition signal; The water meter data is collected at each interruption time node based on the collected signal.
[0015] Optionally, in the intelligent water meter reporting system based on flow change described in the embodiment of the present application, analyzing the water meter flow data corresponding to several interruption time nodes based on the water meter collection data specifically includes: Acquire the collected signal, extract the signal features, and compare the signal features with the set feature interval; Determine whether the signal characteristics are within the set characteristic interval; If it is, the water meter flow data corresponding to the interruption time node is obtained; If not, obtain the signal feature distribution, obtain the noise feature based on the signal feature distribution analysis, remove the noise feature, and obtain the collected signal after the noise is removed; The water meter flow is collected based on the collected signal after noise removal to obtain the water meter flow data corresponding to the interruption time node.
[0016] In the third aspect, an embodiment of the present application also provides a computer-readable storage medium, which includes a smart water meter reporting method program based on flow changes. When the smart water meter reporting method program based on flow changes is executed by a processor, the steps of the smart water meter reporting method based on flow changes as described in any one of the above items are implemented.
[0017] As can be seen from the above, the embodiment of the present application provides a smart water meter reporting method, system and medium based on flow change, by setting a scheduled reporting cycle, setting several interruption time nodes based on the scheduled reporting cycle, and collecting several corresponding water meter collection data based on the interruption time nodes; analyzing the water meter flow data corresponding to several interruption time nodes based on the water meter collection data, and generating water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; judging whether the water meter flow change information of adjacent interruption time nodes is greater than or equal to the set flow increment threshold; if greater than or equal to, generating water meter flow change information, encrypting the water meter flow change information and transmitting it to the terminal; if less than, determining that the flow change is normal, switching the monitoring strategy, and monitoring the water meter flow change information again in the next scheduled reporting cycle; triggering the reporting mechanism by a method of timing combined with flow change, and then encrypting the data before reporting the data to the platform, thereby improving the security of the reported data; being able to report data in real time when the flow changes, and providing the water platform with reliable flow increase time and flow; being able to provide complete data for the water platform when the network is unstable or fails. It is particularly suitable for use in scenarios of on-site operation and maintenance of smart water services, providing effective data for water management losses and water meter error inspection. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flow chart of a smart water meter reporting method based on flow change provided in an embodiment of the present application; Figure 2 A flow chart of a method for acquiring water meter data collected by a smart water meter reporting method based on flow changes provided in an embodiment of the present application; Figure 3 A flow chart of a method for acquiring water meter flow data according to a smart water meter reporting method based on flow changes provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0021] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0022] Please refer to Figure 1 , Figure 1 This is a flow chart of a smart water meter reporting method based on flow change in some embodiments of the present application. The smart water meter reporting method based on flow change is used in a terminal device, and the smart water meter reporting method based on flow change includes the following steps: S101, setting a regular reporting cycle, setting a number of interruption time nodes based on the regular reporting cycle, and collecting a number of corresponding water meter collection data based on the interruption time nodes; S102, analyzing water meter flow data corresponding to a number of interruption time nodes based on water meter collection data, and generating water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; S103, determining whether the water meter flow change information at adjacent interruption time nodes is greater than or equal to a set flow increment threshold; S104, if it is greater than or equal to, generating water meter flow change information, encrypting the water meter flow change information and transmitting it to the terminal; S105: If it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle.
[0023] It should be noted that by setting the reporting cycle to collect water meter flow data intermittently, the water meter flow change information at different interruption time nodes can be determined. When the flow change information of two adjacent interruption time nodes is greater than the set flow increment threshold, it indicates that the flow change is abnormal, and the abnormal data is transmitted to the terminal, and the abnormal time node is recorded for maintenance reporting.
[0024] Please refer to Figure 2 , Figure 2 The present invention is a flow chart of a method for acquiring water meter data collection based on a flow change-based smart water meter reporting method in some embodiments of the present application. According to an embodiment of the present invention, a timed reporting cycle is set, a number of interruption time nodes are set based on the timed reporting cycle, and a number of corresponding water meter data are collected based on the interruption time nodes, specifically including: S201, set a scheduled reporting period, where the scheduled reporting period includes 1 hour, 1 day or 1 week; S202, setting a divided time period, dividing the scheduled reporting cycle into equal time periods based on the divided time periods, and generating a number of interruption time nodes; S203, generating a corresponding acquisition signal at each interruption time node; S204, collecting water meter data at each interruption time node based on the collection signal.
[0025] It should be noted that the time periods are divided according to the set scheduled reporting cycle. For example, if the scheduled reporting cycle is 1 hour, the divided time periods are set to 10 minutes or 20 minutes, thereby dividing the 1-hour scheduled reporting cycle into multiple interruption time nodes. If the scheduled reporting cycle is 1 day, the divided time periods are set to 1 hour or 2 hours. If the scheduled reporting cycle is 1 week, the divided time periods are set to 12 hours, thereby establishing the divided time periods of different scheduled reporting cycles, obtaining the corresponding interruption time nodes, and collecting water meter data in different time periods according to different interruption time nodes.
[0026] Furthermore, the setting of the periodic reporting cycle may be considered to be set according to the type of water meter, or the water flow rate, or user demand information.
[0027] For example, for a water flow with a high velocity, the period is shorter, and for a water flow with a low velocity, the period is longer.
[0028] For dividing time periods, some other dynamic adjustment schemes may be considered.
[0029] Dynamically adjust the time periods within each scheduled reporting cycle based on traffic changes that trigger reporting.
[0030] For example, when the trigger reporting frequency is high, the divided time period may be set shorter; and when the trigger reporting frequency is low, the divided time period may be set longer.
[0031] For example, for a certain day, 24 time periods are divided, corresponding to 24 interruption time nodes; if traffic change information is reported at more than 12 interruption time points, it means that the frequency is high, and every 2 hours can be set as an interruption time node, that is, 12 time periods are divided.
[0032] Furthermore, the time period division may not be equal to the time period division, and multiple interruption time points may be determined directly in one timing reporting cycle.
[0033] Please refer to Figure 3 , Figure 3 The flow chart of a method for obtaining water meter flow data based on a flow change reporting method of a smart water meter in some embodiments of the present application is as follows. According to an embodiment of the present invention, analyzing water meter flow data corresponding to a plurality of interruption time nodes based on water meter collection data specifically includes: S301, acquiring a collected signal, extracting signal features, and comparing the signal features with a set feature interval; S302, determining whether the signal feature is within a set feature interval; S303, if it is, obtain the water meter flow data corresponding to the interruption time node; S304, if not, obtain signal feature distribution, obtain noise features based on signal feature distribution analysis, remove the noise features, and obtain a collected signal after noise removal; S305, collecting water meter flow based on the collected signal after noise removal, and obtaining water meter flow data corresponding to the interruption time node.
[0034] It should be noted that the collected signal is subjected to feature extraction and analysis to eliminate invalid features, thereby eliminating noise signals and ensuring the accuracy of the collected signal. In this way, accurate water meter flow data can be collected based on the collected signal, reducing data fluctuations during the flow collection process and improving the stability of data collection.
[0035] According to an embodiment of the present invention, generating water meter flow change information of adjacent interruption time nodes based on water meter flow data corresponding to the interruption time node specifically includes: Obtain water meter flow data at adjacent interruption time nodes, perform difference calculation on the water meter flow data at adjacent time nodes, and obtain flow difference; Determine whether the flow difference is greater than or equal to a set flow difference threshold; If it is less than, flow fluctuation information is generated; If it is greater than or equal to, the water meter flow change information is calculated based on the flow difference.
[0036] It should be noted that by analyzing the water meter flow data of adjacent time nodes to calculate the flow difference and analyze the flow fluctuation information, when the flow in adjacent interruption time nodes is less than the set flow difference threshold, it means that the flow has only fluctuated to a certain extent and has not caused a large change, and it will not be recorded as a flow change, thereby accurately obtaining the water meter flow change information.
[0037] According to an embodiment of the present invention, if it is greater than or equal to, water meter flow change information is generated, and the water meter flow change information is encrypted and transmitted to the terminal, specifically including: Obtaining traffic change information, generating encryption parameters based on the traffic change information, and generating corresponding encryption keys based on the encryption parameters; Encrypt the traffic change information based on the encryption key to generate ciphertext data; Upload the encrypted data to the terminal according to the predetermined transmission method and transmission channel; A matching decryption key is established based on the encryption key, and the decryption key is saved to the terminal.
[0038] It should be noted that by establishing an encryption key to encrypt the traffic change information for transmission, the security of data transmission is improved. At the same time, a matching decryption key is generated synchronously during the encryption process. When the data needs to be called, the encrypted ciphertext data is reversely parsed using the decryption key to obtain accurate traffic change data.
[0039] Furthermore, the water meter location or user contact information is sent at the same time as the flow change information so that maintenance personnel can arrive at the site in time. By communicating with the ground cellular network through satellite communication, the problem of IoT water meters being unable to report because they are installed in some remote areas without cellular network coverage can be avoided.
[0040] Specifically, in order to protect the privacy of user data, it is possible to consider combining zero-knowledge proof or quantum key or blockchain, so that encryption keys and decryption keys can be stored in different blocks to improve the security of user data.
[0041] According to an embodiment of the present invention, if it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle, specifically including: If the water meter flow change information at the adjacent interruption time nodes is less than the set flow increment threshold, the flow change is determined to be normal and adjustment information is generated; Adjust the divided time period based on the adjustment information to generate a new divided time period; Based on the new divided time period, the scheduled reporting cycle is divided again to generate a new interruption time node; Based on the new interruption time node, the water meter flow change information is monitored again.
[0042] It should be noted that by analyzing the water meter flow change information at adjacent time nodes, when the flow change is normal, it is not possible to accurately judge that the water meter flow is normal. Therefore, the time period is adjusted. For example, the time period is set from 10 minutes or 20 minutes to 5 minutes, the collection interval is reduced, and the collected data is judged again to improve the analysis accuracy of the water meter flow change.
[0043] According to an embodiment of the present invention, it also includes: setting a timed interruption and a timed reporting period (1 hour to 10 days), and the timed reporting period can be modified through the platform.
[0044] The timer interrupt starts the scheduled data reporting, extracts the current flow, the previous three scheduled reported flows and the recent 24-hour hourly flow, encrypts the current time and the extracted flow data, and reports the data through the Internet of Things module; Monitor traffic data. If the traffic data reaches the traffic increment threshold, extract the current time data, current traffic volume, and the previous three traffic change times, and encrypt the current time, extracted traffic, and time data.
[0045] It should be noted that by collecting water meter flow at regular intervals and analyzing flow changes, encrypted transmission is performed, network fluctuation information is analyzed during encrypted transmission, and the time delay in the data transmission process is analyzed based on the network fluctuation information, thereby analyzing the missing data and filling in the missing data to improve the accuracy of the transmitted data.
[0046] In a second aspect, an embodiment of the present application provides a smart water meter reporting system based on flow changes, the system comprising: a memory and a processor, the memory comprising a program of a smart water meter reporting method based on flow changes, and the program of the smart water meter reporting method based on flow changes is executed by the processor to implement the following steps: Set a scheduled reporting cycle, set a number of interruption time nodes based on the scheduled reporting cycle, and collect a number of corresponding water meter collection data based on the interruption time nodes; Analyze the water meter flow data corresponding to several interruption time nodes based on the water meter collection data, and generate water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; Determine whether the water meter flow change information at adjacent interruption time nodes is greater than or equal to the set flow increment threshold; If it is greater than or equal to, water meter flow change information is generated, encrypted and transmitted to the terminal; If it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle.
[0047] It should be noted that by setting the reporting cycle to collect water meter flow data intermittently, the water meter flow change information at different interruption time nodes can be determined. When the flow change information of two adjacent interruption time nodes is greater than the set flow increment threshold, it indicates that the flow change is abnormal, and the abnormal data is transmitted to the terminal, and the abnormal time node is recorded for maintenance reporting.
[0048] According to an embodiment of the present invention, a regular reporting cycle is set, a number of interruption time nodes are set based on the regular reporting cycle, and a number of corresponding water meter collection data are collected based on the interruption time nodes, specifically including: Set a scheduled reporting period, which includes 1 hour, 1 day or 1 week; Set the time period, divide the scheduled reporting cycle into equal time periods based on the time period, and generate several interruption time nodes; Each interrupt time node generates a corresponding acquisition signal; The water meter data is collected at each interruption time node based on the collected signal.
[0049] It should be noted that the time periods are divided according to the set scheduled reporting cycle. For example, if the scheduled reporting cycle is 1 hour, the divided time periods are set to 10 minutes or 20 minutes, thereby dividing the 1-hour scheduled reporting cycle into multiple interruption time nodes. If the scheduled reporting cycle is 1 day, the divided time periods are set to 1 hour or 2 hours. If the scheduled reporting cycle is 1 week, the divided time periods are set to 12 hours, thereby establishing the divided time periods of different scheduled reporting cycles, obtaining the corresponding interruption time nodes, and collecting water meter data in different time periods according to different interruption time nodes.
[0050] Furthermore, the setting of the periodic reporting cycle may be considered to be set according to the type of water meter, or the water flow rate, or user demand information.
[0051] For example, for a water flow with a high velocity, the period is shorter, and for a water flow with a low velocity, the period is longer.
[0052] For dividing time periods, some other dynamic adjustment schemes may be considered.
[0053] Dynamically adjust the time periods within each scheduled reporting cycle based on traffic changes that trigger reporting.
[0054] For example, when the trigger reporting frequency is high, the divided time period may be set shorter; and when the trigger reporting frequency is low, the divided time period may be set longer.
[0055] For example, for a certain day, 24 time periods are divided, corresponding to 24 interruption time nodes; if traffic change information is reported at more than 12 interruption time points, it means that the frequency is high, and every 2 hours can be set as an interruption time node, that is, 12 time periods are divided.
[0056] Furthermore, the time period division may not be equal to the time period division, and multiple interruption time points may be determined directly in one timing reporting cycle.
[0057] According to an embodiment of the present invention, analyzing water meter flow data corresponding to a number of interruption time nodes based on water meter collection data specifically includes: Acquire the collected signal, extract the signal features, and compare the signal features with the set feature interval; Determine whether the signal characteristics are within the set characteristic interval; If it is, the water meter flow data corresponding to the interruption time node is obtained; If not, obtain the signal feature distribution, obtain the noise feature based on the signal feature distribution analysis, remove the noise feature, and obtain the collected signal after the noise is removed; The water meter flow is collected based on the collected signal after noise removal to obtain the water meter flow data corresponding to the interruption time node.
[0058] It should be noted that the collected signal is subjected to feature extraction and analysis to eliminate invalid features, thereby eliminating noise signals and ensuring the accuracy of the collected signal. In this way, accurate water meter flow data can be collected based on the collected signal, reducing data fluctuations during the flow collection process and improving the stability of data collection.
[0059] According to an embodiment of the present invention, generating water meter flow change information of adjacent interruption time nodes based on water meter flow data corresponding to the interruption time node specifically includes: Obtain water meter flow data at adjacent interruption time nodes, perform difference calculation on the water meter flow data at adjacent time nodes, and obtain flow difference; Determine whether the flow difference is greater than or equal to a set flow difference threshold; If it is less than, flow fluctuation information is generated; If it is greater than or equal to, the water meter flow change information is calculated based on the flow difference.
[0060] It should be noted that by analyzing the water meter flow data of adjacent time nodes to calculate the flow difference and analyze the flow fluctuation information, when the flow in adjacent interruption time nodes is less than the set flow difference threshold, it means that the flow has only fluctuated to a certain extent and has not caused a large change, and it will not be recorded as a flow change, thereby accurately obtaining the water meter flow change information.
[0061] According to an embodiment of the present invention, if it is greater than or equal to, water meter flow change information is generated, and the water meter flow change information is encrypted and transmitted to the terminal, specifically including: Obtaining traffic change information, generating encryption parameters based on the traffic change information, and generating corresponding encryption keys based on the encryption parameters; Encrypt the traffic change information based on the encryption key to generate ciphertext data; Upload the encrypted data to the terminal according to the predetermined transmission method and transmission channel; A matching decryption key is established based on the encryption key, and the decryption key is saved to the terminal.
[0062] It should be noted that by establishing an encryption key to encrypt the traffic change information for transmission, the security of data transmission is improved. At the same time, a matching decryption key is generated synchronously during the encryption process. When the data needs to be called, the encrypted ciphertext data is reversely parsed using the decryption key to obtain accurate traffic change data.
[0063] Furthermore, the water meter location or user contact information is sent at the same time as the flow change information so that maintenance personnel can arrive at the site in time. By communicating with the ground cellular network through satellite communication, the problem of IoT water meters being unable to report because they are installed in some remote areas without cellular network coverage can be avoided.
[0064] Specifically, in order to protect the privacy of user data, it is possible to consider combining zero-knowledge proof or quantum key or blockchain, so that encryption keys and decryption keys can be stored in different blocks to improve the security of user data.
[0065] According to an embodiment of the present invention, if it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle, specifically including: If the water meter flow change information at the adjacent interruption time nodes is less than the set flow increment threshold, the flow change is determined to be normal and adjustment information is generated; Adjust the divided time period based on the adjustment information to generate a new divided time period; Based on the new divided time period, the scheduled reporting cycle is divided again to generate a new interruption time node; Based on the new interruption time node, the water meter flow change information is monitored again.
[0066] It should be noted that by analyzing the water meter flow change information at adjacent time nodes, when the flow change is normal, it is not possible to accurately judge that the water meter flow is normal. Therefore, the time period is adjusted. For example, the time period is set from 10 minutes or 20 minutes to 5 minutes, the collection interval is reduced, and the collected data is judged again to improve the analysis accuracy of the water meter flow change.
[0067] According to an embodiment of the present invention, it also includes: setting a timed interruption and a timed reporting period (1 hour to 10 days), and the timed reporting period can be modified through the platform.
[0068] The timer interrupt starts the scheduled data reporting, extracts the current flow, the previous three scheduled reported flows and the recent historical 24-hour hourly flow, encrypts the current time and the extracted flow data, and reports the data through the Internet of Things module; Monitor traffic data. If the traffic data reaches the traffic increment threshold, extract the current time data, current traffic volume, and the previous three traffic change times, and encrypt the current time, extracted traffic, and time data.
[0069] It should be noted that by collecting water meter flow at regular intervals and analyzing flow changes, encrypted transmission is performed, network fluctuation information is analyzed during encrypted transmission, and the time delay in the data transmission process is analyzed based on the network fluctuation information, thereby analyzing the missing data and filling in the missing data to improve the accuracy of the transmitted data.
[0070] A third aspect of the present invention provides a computer-readable storage medium, which includes a smart water meter reporting method program based on flow changes. When the smart water meter reporting method program based on flow changes is executed by a processor, the steps of the smart water meter reporting method based on flow changes as described in any one of the above items are implemented.
[0071] The present invention discloses a smart water meter reporting method, system and medium based on flow change, which comprises the following steps: setting a timed reporting cycle, setting a number of interruption time nodes based on the timed reporting cycle, collecting a number of corresponding water meter collection data based on the interruption time nodes; analyzing the water meter flow data corresponding to the number of interruption time nodes based on the water meter collection data, generating water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; judging whether the water meter flow change information of adjacent interruption time nodes is greater than or equal to a set flow increment threshold; if greater than or equal to, generating water meter flow change information, encrypting the water meter flow change information and transmitting it to a terminal; if less than, judging that the flow change is normal, switching the monitoring strategy, and monitoring the water meter flow change information again in the next timed reporting cycle; triggering the reporting mechanism by a method of timing combined with flow change, and then encrypting the data before reporting the data to the platform, thereby improving the security of the reported data; being able to report data in real time when the flow changes, and providing a water service platform with reliable flow increase time and flow; and being able to provide the water service platform with complete data when the network is unstable or fails. It is particularly suitable for use in scenarios of on-site operation and maintenance of smart water services, providing effective data for water management losses and water meter error inspection.
[0072] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0073] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0074] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0075] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, the aforementioned program can be stored in a readable storage medium, and when the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0076] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A smart water meter reporting method based on flow change, characterized in that: include: Set a scheduled reporting cycle, set a number of interruption time nodes based on the scheduled reporting cycle, and collect a number of corresponding water meter collection data based on the interruption time nodes; Analyze the water meter flow data corresponding to several interruption time nodes based on the water meter collection data, and generate water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; Determine whether the water meter flow change information at adjacent interruption time nodes is greater than or equal to the set flow increment threshold; If it is greater than or equal to, water meter flow change information is generated, encrypted and transmitted to the terminal; If it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle.
2. The method for reporting intelligent water meters based on flow changes according to claim 1 is characterized in that: Set a scheduled reporting cycle, set several interruption time nodes based on the scheduled reporting cycle, and collect several corresponding water meter collection data based on the interruption time nodes, including: Set a scheduled reporting period, which includes 1 hour, 1 day or 1 week; Set the time period, divide the scheduled reporting cycle into equal time periods based on the time period, and generate several interruption time nodes; Each interrupt time node generates a corresponding acquisition signal; The water meter data is collected at each interruption time node based on the collected signal.
3. The method for reporting intelligent water meters based on flow changes according to claim 2 is characterized in that: Based on the water meter collection data, the water meter flow data corresponding to several interruption time nodes are analyzed, including: Acquire the collected signal, extract the signal features, and compare the signal features with the set feature interval; Determine whether the signal characteristics are within the set characteristic interval; If it is, the water meter flow data corresponding to the interruption time node is obtained; If not, obtain the signal feature distribution, obtain the noise feature based on the signal feature distribution analysis, remove the noise feature, and obtain the collected signal after the noise is removed; The water meter flow is collected based on the collected signal after noise removal to obtain the water meter flow data corresponding to the interruption time node.
4. The method for reporting intelligent water meters based on flow changes according to claim 3 is characterized in that: Based on the water meter flow data corresponding to the interruption time node, the water meter flow change information of the adjacent interruption time node is generated, including: Obtain water meter flow data at adjacent interruption time nodes, perform difference calculation on the water meter flow data at adjacent time nodes, and obtain flow difference; Determining whether the flow difference is greater than or equal to a set flow difference threshold; If it is less than, flow fluctuation information is generated; If it is greater than or equal to, the water meter flow change information is calculated based on the flow difference.
5. The method for reporting intelligent water meters based on flow changes according to claim 4 is characterized in that: If it is greater than or equal to, the water meter flow change information is generated, encrypted and transmitted to the terminal, including: Obtaining traffic change information, generating encryption parameters based on the traffic change information, and generating corresponding encryption keys based on the encryption parameters; Encrypt the traffic change information based on the encryption key to generate ciphertext data; Upload the encrypted data to the terminal according to the predetermined transmission method and transmission channel; A matching decryption key is established based on the encryption key, and the decryption key is saved to the terminal.
6. The method for reporting intelligent water meters based on flow changes according to claim 5 is characterized in that: If it is less than, the flow change is considered normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle, including: If the water meter flow change information at the adjacent interruption time nodes is less than the set flow increment threshold, the flow change is determined to be normal and adjustment information is generated; Adjust the divided time period based on the adjustment information to generate a new divided time period; Based on the new divided time period, the scheduled reporting cycle is divided again to generate a new interruption time node; Based on the new interruption time node, the water meter flow change information is monitored again.
7. A smart water meter reporting system based on flow change, characterized in that: The system includes: a memory and a processor, wherein the memory includes a program of a smart water meter reporting method based on flow change, and when the program of the smart water meter reporting method based on flow change is executed by the processor, the following steps are implemented: Set a scheduled reporting cycle, set a number of interruption time nodes based on the scheduled reporting cycle, and collect a number of corresponding water meter collection data based on the interruption time nodes; Analyze the water meter flow data corresponding to several interruption time nodes based on the water meter collection data, and generate water meter flow change information of adjacent interruption time nodes based on the water meter flow data corresponding to the interruption time nodes; Determine whether the water meter flow change information at adjacent interruption time nodes is greater than or equal to the set flow increment threshold; If it is greater than or equal to, water meter flow change information is generated, encrypted and transmitted to the terminal; If it is less than, the flow change is determined to be normal, the monitoring strategy is switched, and the water meter flow change information is monitored again in the next scheduled reporting cycle.
8. The intelligent water meter reporting system based on flow change according to claim 7 is characterized in that: Set a scheduled reporting cycle, set several interruption time nodes based on the scheduled reporting cycle, and collect several corresponding water meter collection data based on the interruption time nodes, including: Set a scheduled reporting period, which includes 1 hour, 1 day or 1 week; Set the time period, divide the scheduled reporting cycle into equal time periods based on the time period, and generate several interruption time nodes; Each interrupt time node generates a corresponding acquisition signal; The water meter data is collected at each interruption time node based on the collected signal.
9. The intelligent water meter reporting system based on flow change according to claim 8 is characterized in that: Based on the water meter collection data, the water meter flow data corresponding to several interruption time nodes are analyzed, including: Acquire the collected signal, extract the signal features, and compare the signal features with the set feature interval; Determine whether the signal characteristics are within the set characteristic interval; If it is, the water meter flow data corresponding to the interruption time node is obtained; If not, obtain the signal feature distribution, obtain the noise feature based on the signal feature distribution analysis, remove the noise feature, and obtain the collected signal after the noise is removed; The water meter flow is collected based on the collected signal after noise removal to obtain the water meter flow data corresponding to the interruption time node.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a smart water meter reporting method program based on flow changes. When the smart water meter reporting method program based on flow changes is executed by a processor, the steps of the smart water meter reporting method based on flow changes as described in any one of claims 1 to 6 are implemented.
