Meter anomaly detection method, system, equipment and medium

By analyzing the interactive data and signal strength parameters of the metering module, determining the operating status of the metering module, the problem of inability to distinguish between metering module damage and no flow in the prior art is solved, and the efficiency of abnormal detection of metering modules is achieved.

CN119935216APending Publication Date: 2025-05-06GOLDEN CARD WATER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411952790.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, when the metering module does not output a pulse signal, it is impossible to distinguish whether the module is damaged or the meter has no flow, resulting in the inability to identify the abnormal state of the metering module in time.

Method used

By obtaining the interactive data sent by the metering module, analyzing the metering cumulative measurement and signal strength parameters obtained by processing, determining the operating status of the metering module, and determining whether there is an abnormality. The specific method includes using the signal strength parameter as the filtered data source, calculating the average value with the historical data, and if it is within the preset interval, it is considered that the module is operating normally, otherwise it is an abnormality.

Benefits of technology

It realizes the timely identification of the operating status of the metering module, reduces the non-metering problem caused by abnormal metering modules, and improves the abnormal detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119935216A_ABST
    Figure CN119935216A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a meter anomaly detection method, system and device and a medium. The method is applied to the metering system, the metering system comprises a meter and a control device, and the meter comprises a metering module; the metering module is connected with the control device. The method comprises the following steps: the control device obtains interaction data sent by the metering module; analyzing and processing the interaction data to obtain an analysis result, the analysis result comprising a metering cumulant and / or a signal intensity parameter of the meter; and according to the metering cumulant and / or the signal intensity parameter, determining an operation state of the metering module, the operation state being used for indicating whether the meter is abnormal or not. According to the method, the problem of no metering caused by the abnormity of the meter is avoided, and the abnormity positioning efficiency of the meter is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of anomaly detection, and in particular to a meter anomaly detection method, system, device and medium. Background Art

[0002] With the development of instrumentation technology, sensor technology and other aspects, it provides technical support for data measurement. Pulse meters have high-precision and high-reliability measurement performance and are widely used in measuring electricity, gas, water, heat and other aspects.

[0003] At present, the metering module of the mechanical meter outputs a pulse signal by sensing the rotation of the base meter dial through a coil. The main control microcontroller program performs interrupt pulse detection on the output pin of the metering module. When an interrupt signal is detected in the pulse signal, the cumulative amount increases by one unit.

[0004] However, in the prior art, when the metering module does not output a pulse signal, it is impossible to distinguish whether the module is damaged or the meter originally has no flow. Summary of the invention

[0005] The embodiments of the present application provide a meter anomaly detection method, system, device and medium, which avoid the problem of non-metering due to meter anomaly and improve the meter anomaly detection efficiency.

[0006] In a first aspect, an embodiment of the present application provides a meter abnormality detection method, wherein the control device obtains interaction data sent by the metering module;

[0007] Analyze and process the interaction data to obtain analysis results, wherein the analysis results include: the metering cumulative amount and / or signal strength parameters of the meter;

[0008] The operating state of the metering module is determined according to the metering accumulated amount and / or the signal strength parameter, and the operating state is used to indicate whether there is an abnormality in the meter.

[0009] In a possible implementation, when the analysis result includes the metering cumulative amount and the signal strength parameter of the meter, determining the operating state of the metering module includes:

[0010] In the case where the metering cumulative amount changes, using the signal strength parameter as a filtering data source;

[0011] Calculating an average value of the filtering data source and a preset number of historical filtering data sources, where the preset number of historical filtering data sources are filtering data sources that are closest to the filtering data source in the time dimension;

[0012] If the average value is within a first preset interval, it is determined that the metering module is in a normal operating state, and the first preset interval is used to indicate a signal strength range corresponding to a normal sensing distance between the metering module and the meter;

[0013] If the average value is not within the first preset interval, it is determined that the metering module is in an abnormal operating state.

[0014] In a possible implementation, when the analysis result includes the metering cumulative amount of the meter, determining the operating state of the metering module includes:

[0015] Based on the metering cumulative amount, determining a change amount corresponding to the metering cumulative amount;

[0016] Determine whether the change is consistent with the number of pulse signals output by the metering module;

[0017] If yes, it is determined that the metering module is in a normal operating state;

[0018] If not, it is determined that the metering module is in an abnormal operating state.

[0019] In a possible implementation manner, before acquiring the interaction data sent by the metering module, the method further includes:

[0020] The control device sends an interaction instruction to the metering module;

[0021] Determining whether the interaction data sent by the metering module is received within a preset time period;

[0022] If yes, determine that the metering module is in a normal interaction state, and obtain the interaction data sent by the metering module;

[0023] If not, it is determined that the metering module is in an abnormal operating state, and the metering module is controlled to restart.

[0024] In a possible implementation, the method further includes:

[0025] When the metering module is in an abnormal operation state, controlling the metering module to restart;

[0026] The interactive data sent by the restarted metering module is acquired, and based on the interactive data sent by the restarted metering module, the operation status of the restarted metering module is determined.

[0027] In a possible implementation, the method further includes:

[0028] In case of detecting the pulse signal sent by the metering module, the control device determines the pulse parameters of the pulse signal, the pulse parameters including: a pulse port and a pulse width;

[0029] Whether the pulse signal is abnormal is determined according to the pulse width and the operating state of the metering module.

[0030] In a possible implementation, the pulse signal is a level signal, and the pulse width is a duration during which the level signal is a high level signal; and judging whether the pulse signal is abnormal according to the pulse width and the operating state of the metering module includes:

[0031] Determining whether the pulse width satisfies a second preset interval;

[0032] If so, determining whether the level signal is a valid signal according to the level signal and the operating state of the metering module;

[0033] If not, the level signal is regarded as an abnormal signal.

[0034] In a second aspect, an embodiment of the present application provides a meter abnormality detection system, the meter abnormality detection system comprising: a meter and a control device, the meter comprising: a metering module; the metering module is connected to the control device;

[0035] The control device is used to obtain the interactive data sent by the metering module; analyze and process the interactive data to obtain analysis results, wherein the analysis results include: the metering cumulative amount and / or the signal strength parameter of the meter; and determine the operating status of the metering module based on the metering cumulative amount and / or the signal strength parameter, wherein the operating status is used to indicate whether there is an abnormality in the meter.

[0036] In a possible implementation, when the analysis result includes the metering cumulative amount and the signal strength parameter of the meter, when the metering cumulative amount changes, the control device is further used to use the signal strength parameter as a filtering data source; calculate an average value of the filtering data source and a preset number of historical filtering data sources, and the preset number of historical filtering data sources are filtering data sources that are closest to the filtering data source in the time dimension;

[0037] If the average value is within a first preset interval, the control device is used to determine that the metering module is in a normal operating state, and the first preset interval is used to indicate a signal strength range corresponding to a normal sensing distance between the metering module and the meter; if the average value is not within the first preset interval, the control device is used to determine that the metering module is in an abnormal operating state.

[0038] In a possible implementation, when the analysis result includes the metering cumulative amount of the meter, the operating state of the metering module is determined, and the control device is used to determine the change amount corresponding to the metering cumulative amount based on the metering cumulative amount; judge whether the change amount is consistent with the number of pulse signals output by the metering module; if so, determine that the metering module is in a normal operating state; if not, determine that the metering module is in an abnormal operating state.

[0039] In a possible implementation, the control device is used to send an interaction instruction to the metering module; determine whether the interaction data sent by the metering module is received within a preset time period; if so, determine that the metering module is in a normal interaction state, and obtain the interaction data sent by the metering module; if not, determine that the metering module is in an abnormal operating state, and control the metering module to restart.

[0040] In a possible implementation, when the metering module is in an abnormal operating state, the control device is used to control the metering module to restart; obtain the interaction data sent by the restarted metering module, and determine the operating state of the restarted metering module based on the interaction data sent by the restarted metering module.

[0041] In a possible implementation, when a pulse signal sent by the metering module is detected, the control device is used to determine the pulse parameters of the pulse signal, where the pulse parameters include: a pulse port and a pulse width; and based on the pulse width and the operating status of the metering module, determine whether the pulse signal is abnormal.

[0042] In a possible implementation, the pulse signal is a level signal, and the control device is used to determine whether the pulse width satisfies a second preset interval; if so, determine whether the level signal is a valid signal based on the level signal and the operating status of the metering module; if not, treat the level signal as an abnormal signal.

[0043] In a third aspect, an embodiment of the present application provides a meter abnormality detection device, including: a memory, a processor;

[0044] The memory stores computer-executable instructions;

[0045] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0047] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0048] The meter anomaly detection method, system, device and medium provided in the embodiments of the present application can timely identify the operating status of the metering module by analyzing and processing the interactive data sent by the metering module, reducing the problem of non-metering caused by the abnormality of the metering module and improving the efficiency of anomaly detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0050] Figure 1 A schematic diagram of a scenario in which the meter provided in the embodiment of the present application is used;

[0051] Figure 2 A flow chart of a meter abnormality detection method provided in an embodiment of the present application Figure 1 ;

[0052] Figure 3 A flow chart of a meter abnormality detection method provided in an embodiment of the present application Figure 2 ;

[0053] Figure 4 A flow chart of a meter abnormality detection method provided in an embodiment of the present application Figure 3 ;

[0054] Figure 5 A schematic diagram of the structure of a meter abnormality detection system provided in an embodiment of the present application;

[0055] Figure 6 A schematic diagram of the structure of a meter abnormality detection device provided in an embodiment of the present application.

[0056] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0058] With the development of technologies in the Internet of Things, sensors, etc., the instrumentation industry has entered a period of rapid development. Not only has the measurement accuracy been further improved, but it has also acquired more functions, providing technical support for data measurement.

[0059] Figure 1 A schematic diagram of a scenario in which the meter provided in the embodiment of the present application is used, such as Figure 1 As shown, the metering system 1 includes a meter and a control device 12. The meter includes a metering module 11. The metering module 11 senses the rotation of the base meter turntable through a coil and outputs a pulse signal. When the base meter turntable is detected to rotate one circle in the forward direction, the forward pulse pin of the metering module 11 outputs a forward pulse signal; when the base meter turntable is detected to rotate one circle in the reverse direction, the reverse pulse pin of the metering module 11 outputs a reverse pulse signal. The control device 12 performs interrupt pulse detection on the output pin of the metering module 11. When an interrupt signal is detected at the forward pulse pin of the metering module 11, the forward cumulative amount increases by one metering unit. When an interrupt signal is detected at the reverse pulse pin of the metering module 11, the reverse cumulative amount increases by one metering unit.

[0060] From the above scenario, it can be seen that when the metering module is damaged, the metering module will not output any signal. In the prior art, data metering is achieved through the pulse signal output by the metering module. When the metering module does not output the pulse signal, it is impossible to determine whether the reason why the metering module does not output the pulse signal is that the metering module is damaged or the meter originally has no flow. Therefore, it is difficult for staff to detect the abnormal state of the metering module in time.

[0061] The meter abnormality detection method provided in the present application analyzes and processes the interactive data sent by the metering module to obtain an analysis result, and determines to detect the operating status of the metering module based on the analysis result, thereby solving the problem of being unable to determine whether the reason why the metering module does not output a pulse signal is that the metering module is damaged or the meter originally has no flow.

[0062] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0063] Figure 2 A flow chart of a meter abnormality detection method provided in an embodiment of the present application Figure 1 , the execution subject can be, for example, Figure 1 Control devices in Figure 2 As shown, the method includes:

[0064] S201, the control device obtains the interactive data sent by the metering module;

[0065] The control device may, for example, obtain the interaction data sent by the metering module at a preset period; or send an interaction instruction to the metering module, and the metering module sends the interaction data to the control device after receiving the interaction instruction.

[0066] Exemplarily: the control device obtains the interactive signal sent by the metering module according to a preset period. The interactive signal may be, for example, a signal sent by the metering module to the control device at a fixed time; metering data sent by the metering module to the control device at a fixed time, etc.

[0067] In a possible implementation, before obtaining the interaction data sent by the metering module, the method also includes: the control device sends an interaction instruction to the metering module; determines whether the interaction data sent by the metering module is received within a preset time period; if so, determines that the metering module is in a normal interaction state, and obtains the interaction data sent by the metering module; if not, determines that the metering module is in an abnormal operating state, and controls the metering module to restart.

[0068] The control device sends interaction instructions to the metering module according to a preset period, for example, it can be the time of reading the timer, and sends interaction instructions to the metering module through the signal pin every 2 minutes. The interaction instruction can be, for example, a high-level pulse with a pulse width of 500ms. If the interaction data sent by the metering module is received within the preset time period, the preset time period can be, for example, 50ms to 500ms; it is determined that the metering module is in a normal interaction state; if the interaction data sent by the metering module is not received within the preset time period, it is determined that the metering module is in an abnormal operation state.

[0069] S202, analyzing and processing the interaction data to obtain analysis results, where the analysis results include: the metering cumulative amount and / or signal strength parameters of the meter;

[0070] The analysis results are obtained by analyzing and processing the interactive data sent by the metering module. The analysis results include abnormal alarm information, the metering cumulative amount and / or signal strength parameters of the meter. When the analysis results include abnormal alarm information, it means that the operating state of the metering module is abnormal.

[0071] S203, determining the operating state of the metering module according to the metering cumulative amount and / or the signal strength parameter;

[0072] The operating status is used to indicate whether there is any abnormality in the meter.

[0073] Optionally, the operating status of the metering module is determined in the following manner:

[0074] 1) When the analysis results include the metering cumulative amount and signal strength parameters of the meter, the specific process of determining the operating status of the metering module is described in detail:

[0075] When the metering cumulative amount changes, the signal strength parameter is used as the filter data source; the average value of the filter data source and a preset number of historical filter data sources is calculated; if the average value is within a first preset interval, it is determined that the metering module is in a normal operating state, and the first preset interval is used to indicate the signal strength range corresponding to the normal sensing distance between the metering module and the meter; if the average value is not within the first preset interval, it is determined that the metering module is in an abnormal operating state.

[0076] Among them, the preset number of historical filter data sources are the filter data sources that are closest to the filter data source in the time dimension; the first preset interval is used to indicate the signal strength range corresponding to the normal sensing distance between the metering module and the meter; the lower limit value of the first preset interval is the signal strength corresponding to the farthest measurable sensing distance of the metering module, for example, it can be 20; the upper limit value of the first preset interval is the signal strength corresponding to when the metering module is close to the base meter transmitting disk, for example, it can be 60.

[0077] When the cumulative amount changes inside the metering module, the signal strength parameter of this time can be selected as the filter data source, and the average value of the filter data source and the preset number of historical filter data sources is calculated as the signal judgment basis. For example, if the preset number is 3, the average value of the filter data source and the last 3 historical filter data sources is calculated. If the average value is within the preset value range from the dial to the metering module, it is determined that the metering module is in a normal operating state; when the average value is not within the first preset interval, and the average values ​​of the consecutive preset times before the average value are not within the first preset interval, it is determined that the metering module is in an abnormal operating state, and the consecutive preset times can be, for example, 3 to 5 times.

[0078] 2) In the case where the analysis results include the metering cumulative amount of the meter, the specific process of determining the operating status of the metering module is described in detail, including: based on the metering cumulative amount, determining the change corresponding to the metering cumulative amount; judging whether the change is consistent with the number of pulse signals output by the metering module; if so, determining that the metering module is in a normal operating state; if not, determining that the metering module is in an abnormal operating state.

[0079] Review the cumulative change provided by the metering module itself and the number of pulse outputs. When the number of pulse outputs is consistent with the cumulative change provided by the metering module itself, the metering module is determined to be in a normal operating state; when the number of pulse outputs is inconsistent with the cumulative change provided by the metering module itself, the metering module is determined to be in an abnormal operating state.

[0080] The meter anomaly detection method provided in the embodiment of the present application analyzes and processes the interactive data sent by the metering module, and determines the operating status of the meter based on the analysis results obtained by the analysis and processing. It can timely identify the operating status of the metering module, reduce the problem of non-metering caused by abnormalities of the metering module, and improve the efficiency of anomaly detection.

[0081] Figure 3 A flow chart of a meter abnormality detection method provided in an embodiment of the present application Figure 2 In this embodiment, the pulse signal is a level signal, and the pulse width is the duration of the high level signal. Figure 2 Based on the embodiment, the meter abnormality detection method is described in detail, such as Figure 3 As shown, the method includes:

[0082] S301, when a pulse signal sent by a metering module is detected, the control device determines the pulse parameters of the pulse signal, the pulse parameters including: a pulse port and a pulse width;

[0083] The pulse port includes a forward pulse port and a reverse pulse port, and the pulse width is used to indicate the duration of the pulse signal.

[0084] Since there may be electromagnetic interference sources around the meter's operating environment, such as transformers, motors and other electrical equipment, magnetic fields and electric fields will be generated during operation, and these electromagnetic fields may affect the normal transmission of pulse signals. Therefore, when the meter is measuring data, it is necessary to first determine whether the pulse signal is a normal signal before measuring. If the pulse signal is an abnormal signal, it will lead to inaccurate measurement. When the metering module is operating normally, the pulse width should be within the normal pulse width range. Therefore, the duration of the pulse signal and the operating status of the metering module are used to determine whether the pulse signal is a normal signal.

[0085] After the control device detects the pulse signal sent by the metering module, it refers to Figure 1 The control device determines the output port of the pulse signal according to the port receiving the signal, and determines the duration of the pulse signal.

[0086] When a level signal is detected, the control device starts a timer, such as a 1ms cycle timer, and determines the pulse port, and determines the duration of the high level signal in the level signal according to the timer, and determines the pulse width according to the duration.

[0087] Exemplarily, the level signal can be an interrupt signal, for example. The control device performs interrupt pulse detection on the pulse port. When a positive interrupt signal is detected, the control device starts a positive 1ms cycle timer and determines that the pulse port is a positive pulse port. The positive 1ms cycle timer triggers an interrupt every 1ms. Each time the interrupt is triggered, it is determined whether the level of the positive level signal at this time is a high level. If it is a high level, it means that the interrupt has not ended, and the pulse width count is accumulated and the timing continues; if it is a low level, it means that the interrupt has ended, and the pulse width is determined.

[0088] S302, determining whether the pulse width is within a second preset interval; if so, executing step S307; if not, executing step S308;

[0089] The second preset interval is a normal pulse width range of the level signal.

[0090] Determine whether the pulse width is within a second preset interval, for example, it may be a 40-80 ms interval. If the level signal is within the second preset interval and the operating state of the metering module is a normal operating state, determine that the level signal is a valid signal; if the level signal is not within the second preset interval, determine that the signal is an abnormal signal, and the abnormal signal is also an invalid signal.

[0091] In a possible implementation, after determining that the level signal is a valid signal, measurement may be performed.

[0092] For example: after determining that the level signal is a valid signal, if the pulse port of the level signal is detected to be a forward pulse port, the forward cumulative amount increases by 1 unit; if the pulse port of the level signal is detected to be a reverse pulse port, the reverse cumulative amount increases by 1 unit.

[0093] S303, the control device obtains the interactive data sent by the metering module;

[0094] It should be noted that there is no clear timing relationship between step S301 and step S303. Step S301 is executed when the pulse signal is obtained; step S303 is executed according to a preset cycle. The relationship between the two is that if it is necessary to determine whether the level signal is a valid signal, it is determined whether the level signal is a valid signal based on the operating state of the metering module, for example, the operating state of the metering module determined most recently.

[0095] Step S303 is similar to step S201 and will not be described again here.

[0096] S304, analyzing and processing the interaction data to obtain analysis results, the analysis results including: the metering cumulative amount and / or signal strength parameters of the meter;

[0097] Step S304 is similar to step S202 and will not be described again.

[0098] S305, determining the operating state of the metering module according to the metering cumulative amount and / or the signal strength parameter;

[0099] Step S305 is similar to step S203 and will not be described again.

[0100] S306, when the operation state of the metering module is an abnormal operation state, controlling the metering module to restart;

[0101] When the operating state of the metering module is an abnormal operating state, the control device controls the metering module to power off and restart.

[0102] S307, when the operating state of the metering module is a normal operating state, determining that the level signal is a valid signal;

[0103] S308: Take the level signal as an abnormal signal.

[0104] For example, Figure 4 A flow chart of a meter abnormality detection method provided in an embodiment of the present application Figure 3 ,like Figure 4 As shown, the control device reads the metering data according to the preset cycle. If the reading fails, the module state is determined to be abnormal; if the reading is successful, the metering data is processed and the module state is determined according to the processing result. When the module state is abnormal, the metering module is restarted. The control device detects the pulse signal. When the pulse signal is detected and the pulse signal is normal, if the metering module state is also normal, a stable and reliable metering is output.

[0105] The meter abnormality detection method provided in the embodiment of the present application analyzes and processes the interactive data sent by the metering module, and determines the operating status of the metering module based on the result of the analysis and processing, and determines that the reason why the metering module does not output a pulse signal is that the meter originally has no flow, thereby realizing real-time monitoring of the operating status of the metering module, and controlling the metering module to restart when the connection status is an abnormal operating state, thereby improving the robustness, and after detecting the pulse signal output by the metering module, first judges whether the pulse signal is abnormal based on the pulse width of the pulse signal, and then determines whether the pulse signal is abnormal based on the operating status of the metering module, thereby effectively avoiding the problem of mismeasurement caused by interference.

[0106] Figure 5 A schematic diagram of a meter anomaly detection system provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the pulse signal-based metering device 50 provided in this embodiment includes:

[0107] Meter and control device 501, the meter includes: meter module 502; meter module 502 is connected to control device 501;

[0108] The control device 501 is used to obtain the interactive data sent by the metering module 502; analyze and process the interactive data to obtain analysis results, which include: the metering cumulative amount and / or signal strength parameters of the meter; and determine the operating status of the metering module 502 based on the metering cumulative amount and / or signal strength parameters, and the operating status is used to indicate whether there is an abnormality in the meter.

[0109] In a possible implementation, when the analysis result includes the metering cumulative amount and the signal strength parameter of the meter, when the metering cumulative amount changes, the control device 501 is further used to use the signal strength parameter as a filtering data source; calculate an average value of the filtering data source and a preset number of historical filtering data sources, and the preset number of historical filtering data sources are filtering data sources that are closest to the filtering data source in the time dimension;

[0110] If the average value is within the first preset interval, the control device 501 is used to determine that the metering module 502 is in a normal operating state. The first preset interval is used to indicate the signal strength range corresponding to the distance between the metering module 502 and the meter that is normally sensed; if the average value is not within the first preset interval, the control device 501 is used to determine that the metering module 502 is in an abnormal operating state.

[0111] In one possible implementation, when the analysis result includes the metering cumulative amount of the meter, the operating state of the metering module 502 is determined, and the control device 501 is used to determine the change amount corresponding to the metering cumulative amount based on the metering cumulative amount; judge whether the change amount is consistent with the number of pulse signals output by the metering module 502; if so, determine that the metering module 502 is in a normal operating state; if not, determine that the metering module 502 is in an abnormal operating state.

[0112] In one possible implementation, the control device 501 is used to send an interaction instruction to the metering module 502; determine whether the interaction data sent by the metering module 502 is received within a preset time period; if so, determine that the metering module 502 is in a normal interaction state, and obtain the interaction data sent by the metering module 502; if not, determine that the metering module 502 is in an abnormal operating state, and control the metering module 502 to restart.

[0113] In a possible implementation, when the metering module 502 is in an abnormal operating state, the control device 501 is used to control the metering module 502 to restart; obtain the interaction data sent by the restarted metering module 502, and determine the operating state of the restarted metering module 502 based on the interaction data sent by the restarted metering module 502.

[0114] In a possible implementation, when a pulse signal sent by the metering module 502 is detected, the control device 501 is used to determine the pulse parameters of the pulse signal, the pulse parameters including: a pulse port and a pulse width; and based on the pulse width and the operating status of the metering module 502, determine whether the pulse signal is abnormal.

[0115] In a possible implementation, the pulse signal is a level signal, and the control device 501 is used to determine whether the pulse width satisfies a second preset interval; if so, it is determined whether the level signal is a valid signal based on the level signal and the operating status of the metering module 502; if not, the level signal is regarded as an abnormal signal.

[0116] The meter anomaly detection system provided in this embodiment can execute the meter anomaly detection method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.

[0117] Figure 6 This is a schematic diagram of the structure of a meter abnormality detection device provided in an embodiment of the present application. Figure 6 As shown, the meter abnormality detection device 60 provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the device 60 also includes a communication component 603. The processor 601, the memory 602 and the communication component 603 are connected via a bus 604.

[0118] In a specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, so that at least one processor 601 executes the above method.

[0119] The specific implementation process of the processor 601 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0120] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0121] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk storage.

[0122] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0123] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0124] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0125] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0126] An exemplary readable storage medium is coupled to a processor so that the processor can obtain information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0127] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.

[0129] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0130] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0131] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-accessible storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk, etc., various media that can store program codes.

[0132] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A meter abnormality detection method, characterized in that: Applied to a meter anomaly detection system, the anomaly detection system comprises: a meter and a control device, the meter comprises: a metering module; the metering module is connected to the control device, and the method comprises: The control device obtains the interaction data sent by the metering module; Analyze and process the interaction data to obtain analysis results, wherein the analysis results include: the metering cumulative amount and / or signal strength parameters of the meter; The operating state of the metering module is determined according to the metering accumulated amount and / or the signal strength parameter, and the operating state is used to indicate whether there is an abnormality in the meter.

2. The method according to claim 1, characterized in that In a case where the analysis result includes the metering cumulative amount and the signal strength parameter of the meter, determining the operating state of the metering module includes: In the case where the metering cumulative amount changes, using the signal strength parameter as a filtering data source; Calculating an average value of the filtering data source and a preset number of historical filtering data sources, where the preset number of historical filtering data sources are filtering data sources that are closest to the filtering data source in the time dimension; If the average value is within a first preset interval, it is determined that the metering module is in a normal operating state, and the first preset interval is used to indicate a signal strength range corresponding to a normal sensing distance between the metering module and the meter; If the average value is not within the first preset interval, it is determined that the metering module is in an abnormal operating state.

3. The method according to claim 1, characterized in that: In the case where the analysis result includes the metering cumulative amount of the meter, determining the operating state of the metering module includes: Based on the metering cumulative amount, determining a change amount corresponding to the metering cumulative amount; Determine whether the change is consistent with the number of pulse signals output by the metering module; If yes, it is determined that the metering module is in a normal operating state; If not, it is determined that the metering module is in an abnormal operating state.

4. The method according to claim 1, characterized in that Before acquiring the interaction data sent by the metering module, the method further includes: The control device sends an interaction instruction to the metering module; Determining whether the interaction data sent by the metering module is received within a preset time period; If yes, determine that the metering module is in a normal interaction state, and obtain the interaction data sent by the metering module; If not, it is determined that the metering module is in an abnormal operating state.

5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: When the metering module is in an abnormal operation state, controlling the metering module to restart; The interactive data sent by the restarted metering module is acquired, and based on the interactive data sent by the restarted metering module, the operation status of the restarted metering module is determined.

6. The method according to claim 1, characterized in that The method further comprises: In case of detecting the pulse signal sent by the metering module, the control device determines the pulse parameters of the pulse signal, the pulse parameters including: a pulse port and a pulse width; Whether the pulse signal is abnormal is determined according to the pulse width and the operating state of the metering module.

7. The method according to claim 6, characterized in that The pulse signal is a level signal, and the pulse width is the duration of the level signal being a high level signal; The determining, according to the pulse width and the operating state of the metering module, whether the pulse signal is abnormal includes: Determining whether the pulse width is within a second preset interval; If so, determining whether the level signal is a valid signal according to the level signal and the operating state of the metering module; If not, the level signal is regarded as an abnormal signal.

8. A meter abnormality detection system, characterized in that: The meter abnormality detection system comprises: a meter and a control device, wherein the meter comprises: a metering module; the metering module is connected to the control device; The control device is used to obtain the interactive data sent by the metering module; analyze and process the interactive data to obtain analysis results, wherein the analysis results include: the metering cumulative amount and / or the signal strength parameter of the meter; and determine the operating status of the metering module based on the metering cumulative amount and / or the signal strength parameter, wherein the operating status is used to indicate whether there is an abnormality in the meter.

9. A meter abnormality detection device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.