CN115164947A - Method and device for detecting uncapping event of metering equipment - Google Patents

Method and device for detecting uncapping event of metering equipment Download PDF

Info

Publication number
CN115164947A
CN115164947A CN202210897035.4A CN202210897035A CN115164947A CN 115164947 A CN115164947 A CN 115164947A CN 202210897035 A CN202210897035 A CN 202210897035A CN 115164947 A CN115164947 A CN 115164947A
Authority
CN
China
Prior art keywords
event
metering equipment
metering
communication
level signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210897035.4A
Other languages
Chinese (zh)
Inventor
刘型志
舒永生
程瑛颖
田娟
邹波
骆凯波
王思韡
何珉
彭鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Chongqing Electric Power Co Marketing Service Center
State Grid Corp of China SGCC
Original Assignee
State Grid Chongqing Electric Power Co Marketing Service Center
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Chongqing Electric Power Co Marketing Service Center, State Grid Corp of China SGCC filed Critical State Grid Chongqing Electric Power Co Marketing Service Center
Priority to CN202210897035.4A priority Critical patent/CN115164947A/en
Publication of CN115164947A publication Critical patent/CN115164947A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a method and a device for detecting a metering device uncovering event, relates to the technical field of detection, and mainly aims to solve the problem that the existing metering device uncovering event is poor in detection accuracy. The method mainly comprises the following steps: acquiring a cover opening event of metering equipment and receiving interval time of a carrier signal, wherein the cover opening event is determined based on a key level signal of the metering equipment, and the carrier signal is sent by a communication assembly installed in the metering equipment; if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment; and if the communication assembly is in an in-place state relative to the metering equipment, determining that the uncapping event is an abnormal uncapping event.

Description

Method and device for detecting uncapping event of metering equipment
Technical Field
The invention relates to the technical field of detection, in particular to a method and a device for detecting an uncovering event of metering equipment.
Background
An electric energy meter has been popularized in various fields of electricity consumption as a metering device, and particularly, the electric energy meter detects the electricity consumption. The electric energy meter is adhered with a certification after being qualified in production, and the meter cover (also called a housing) is not allowed to be opened under the normal use condition of the electric energy meter, and can be used as a judgment basis for electricity stealing, faults and the like if the electric energy meter is abnormally opened.
At present, the uncovering event of the existing electric energy meter is usually based on configuring a key or a switch in the content of the electric energy meter, and the uncovering event is detected by acquiring a level signal of the key or the switch. However, the configured keys or switches belong to a mechanical structure, indirect misoperation can be generated on the keys or switches along with the change of time and environment, and the generated abnormal switching can cause wrong uncapping events, so that the efficiency of detecting the uncapping events of the metering equipment is reduced.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for detecting an uncapping event of a metering device, and mainly aims to solve the problem of poor accuracy in detecting an uncapping event of an existing metering device.
According to one aspect of the invention, a method for detecting a uncovering event of a metering device is provided, which comprises the following steps:
acquiring a cover opening event of metering equipment and receiving interval time of a carrier signal, wherein the cover opening event is determined based on a key level signal of the metering equipment, and the carrier signal is sent by a communication assembly installed in the metering equipment;
if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment;
and if the communication assembly is in an in-place state relative to the metering equipment, determining that the uncapping event is an abnormal uncapping event.
Further, the determining whether the communication assembly is in place relative to the metering device comprises:
configuring a target pin of the communication assembly as an input state, acquiring a pin level signal of the target pin in the input state, and judging whether the communication assembly is in place relative to the metering equipment or not based on the pin level signal;
before determining that the decap event is an abnormal decap event, the method further includes:
and if the pin level signal is a preset pin level signal, determining that the communication assembly is in an in-place state relative to the metering equipment.
Further, the determining whether the communication assembly is in place relative to the metering device comprises:
sending a response request to the communication assembly, detecting whether response reply information is received or not, and judging whether the communication assembly is in place relative to the metering equipment or not according to the response reply information;
before determining that the decap event is an abnormal decap event, the method further includes:
and if the response reply message is received, determining that the communication assembly is in an in-place state relative to the metering equipment.
Further, before the acquiring the decapping event of the metering device and the receiving interval time of the carrier signal, the method further includes:
after the metering equipment finishes the power-on operation, detecting whether message information sent by the communication assembly is received within a first preset time interval;
and if the message information is received, determining that the communication assembly completes installation in the metering equipment.
Further, before the acquiring the decapping event of the metering device and the receiving interval time of the carrier signal, the method further includes:
acquiring key level signals of different metering devices within a second preset time interval;
and generating a cover opening event of the metering equipment according to the comparison result of the key level signal and a preset cover opening level signal, and storing the cover opening event and the detection time of the key level signal.
Further, the method further comprises:
and if the detection time of the key level signal is less than or equal to the receiving interval time, determining that the communication assembly is in an in-place state relative to the metering equipment, and the uncapping event is an abnormal uncapping event.
Further, the method further comprises:
reporting the abnormal uncapping event to carry out offline inspection on the metering equipment;
and after the abnormal uncapping event detection is finished and the message information of the metering equipment is not received within a third preset time interval, resetting the target pin of the communication assembly to judge that the communication assembly is in the in-place state relative to the metering equipment again.
According to another aspect of the present invention, there is provided an apparatus for detecting an uncapping event in a metering device, comprising:
the measurement device comprises an acquisition module, a detection module and a processing module, wherein the acquisition module is used for acquiring a cover opening event of the measurement device and receiving interval time of a carrier signal, the cover opening event is determined based on a key level signal of the measurement device, and the carrier signal is sent by a communication assembly installed in the measurement device;
the judging module is used for judging whether the communication assembly is in place relative to the metering equipment or not if the detection time of the key level signal is longer than the receiving interval time;
and the determining module is used for determining that the uncapping event is an abnormal uncapping event if the communication assembly is in the in-place state relative to the metering equipment.
Further, the determining module is specifically configured to configure a target pin of the communication component as an input state, and acquire a pin level signal of the target pin in the input state, so as to determine whether the communication component is in place relative to the metering device based on the pin level signal;
the determining module is specifically configured to determine that the communication component is in an in-place state with respect to the metering device if the pin level signal is a preset pin level signal.
Further, the determining module is specifically configured to send a response request to the communication component, and detect whether a response reply message is received, so as to determine whether the communication component is in place relative to the metering device according to the response reply message;
the determining module is specifically configured to determine that the communication component is in an in-place state with respect to the metering device if the response reply message is received.
Further, the apparatus further comprises: a detection module for detecting the position of the optical fiber,
the detection module is used for detecting whether message information sent by the communication assembly is received within a first preset time interval after the metering equipment completes power-on operation;
the determining module is further configured to determine that the communication component completes installation in the metering device if the message information is received.
Further, the apparatus further comprises: a module for generating a plurality of data files,
the acquisition module is also used for acquiring key level signals of different metering devices within a second preset time interval;
the generating module is used for generating a cover opening event of the metering equipment according to a comparison result of the key level signal and a preset cover opening level signal, and storing the cover opening event and the detection time of the key level signal.
Further, the determining module is further configured to determine that the communication component is in an in-place state with respect to the metering device if the detection time of the key level signal is less than or equal to the reception interval time, and the decapping event is an abnormal decapping event.
Further, the apparatus further comprises:
the reporting module is used for reporting the abnormal uncapping event so as to carry out offline inspection on the metering equipment;
and the resetting module is used for resetting the target pin of the communication assembly to judge that the communication assembly is in the in-place state relative to the metering equipment again when the message information of the metering equipment is not received within a third preset time interval after the abnormal uncapping event detection is finished.
According to another aspect of the present invention, there is provided a storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to execute operations corresponding to the method for detecting a meter uncovering event.
According to still another aspect of the present invention, there is provided a terminal including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the detection method of the metering device uncovering event.
By means of the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the invention provides a method and a device for detecting a cover opening event of metering equipment, compared with the prior art, the method and the device have the advantages that the cover opening event of the metering equipment and the receiving interval time of carrier signals are obtained, the cover opening event is determined based on a key level signal of the metering equipment, and the carrier signals are sent by a communication component installed in the metering equipment; if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment or not; if the communication assembly is in an in-place state relative to the metering equipment, the uncovering event is determined to be an abnormal uncovering event, the condition of key false alarm caused by the fact that the uncovering event is determined based on a key level judging mode is avoided, the frequency of abnormal uncovering reporting is greatly reduced, and therefore the detection accuracy of the uncovering event of the metering equipment is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a method for detecting an uncapping event of a metering device according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for detecting a decapping event of a metering device according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a module for detecting whether an electricity meter is loaded with a carrier according to an embodiment of the invention;
fig. 4 is a flowchart illustrating a further method for detecting an uncapping event of a metering device according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating an abnormal uncapping detection scenario according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating an apparatus for detecting an uncapping event in a metering device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The uncapping event of the existing electric energy meter is generally based on configuring a key or a switch in the content of the electric energy meter, and the uncapping event is detected by acquiring a level signal of the key or the switch. However, the configured keys or switches belong to a mechanical structure, indirect misoperation can be generated on the keys or switches along with the change of time and environment, and the generated abnormal switching can cause wrong uncapping events, so that the efficiency of detecting the uncapping events of the metering equipment is reduced. An embodiment of the present invention provides a method for detecting an uncapping event of a metering device, and as shown in fig. 1, the method includes:
101. and acquiring the uncapping event of the metering equipment and the receiving interval time of the carrier signal.
In an embodiment of the present invention, the current execution main body may be a processor configured in advance to be installed on the metering device, or a terminal device having remote data communication with the metering device, where the terminal device includes, but is not limited to, a server, a personal computer device, a cloud processor, and the like, and the metering device is a detection device which is suitable for different industrial production and has a housing and limits the housing to be opened based on a button, such as an electric energy meter in the power industry, a flow meter in pipeline transportation, and the like, and the embodiment of the present invention is not particularly limited. Each metering device is provided with a key independently used for opening and closing the shell of the metering device, the key is electrically connected with the current execution main body to acquire a key level signal, and therefore, the uncapping event is determined based on the key level signal of the metering device, namely, the uncapping event is used for representing the uncapping state of the shell of the metering device. Specifically, the key is a key assembly having a function of outputting high and low levels, such as a relay, and the embodiment of the present invention is not limited in particular. In the embodiment of the present invention, each metering device is further configured with a communication component for performing data communication to a current execution main body or a remote server, and the like, at this time, the carrier signal is sent by the communication component installed in the metering device, and the communication component sends the carrier signal according to a specific time sequence, so as to implement transmission of communication data, and therefore, after the model, hardware information, or communication protocol of the communication component is determined, the receiving interval time of the carrier signal of the current execution main body can be obtained.
It should be noted that, because the key is a component for opening and closing the metering device, the output high and low level signals are used as triggering bases of the decapping event, for example, the high level corresponds to decapping of the metering device, so that the decapping event can be determined based on the key level signals, at this time, the correspondence between the high and low levels and the decapping event can be configured in advance based on a technician, and the embodiment of the present invention is not limited specifically.
102. And if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment.
In the embodiment of the present invention, the detection time of the key level signal is a time length that is configured in advance and is used for triggering the determination of whether to open the lid through the key level signal, and if the detection time is longer than the reception interval time of the communication component, it is described that there may be a case where the communication component is abnormal in the state where the metering device is opened at that time, and therefore, it is determined whether the communication component is in place with respect to the metering device. Specifically, whether the communication component is in place relative to the metering device is characterized as whether the communication component is separated from the metering device, in the embodiment of the present invention, when the metering device is in a normal cover closing state, the communication component is installed inside the metering device housing, and at this time, the communication component is in place relative to the metering device, when the metering device is in a normal cover opening state, the communication configuration is separated from the metering device, and at this time, the communication component is not in place relative to the metering device.
It should be noted that, in the embodiment of the present invention, the communication component is installed in the module compartment of the metering device, and when the metering device is opened, the communication component in the module compartment is separated from the metering device body, so as to determine the in-place state between the communication component and the metering device.
103. And if the communication assembly is in an in-place state relative to the metering equipment, determining that the uncapping event is an abnormal uncapping event.
In the embodiment of the invention, when the communication component is in the on-position state relative to the metering device, the communication component is still configured on the metering device, and the real uncapping condition of the metering device does not occur, so that the uncapping event obtained based on the step 101 is misjudged, and the uncapping event of the metering device is further described as an abnormal uncapping event, so that the accuracy of uncapping event detection is greatly improved.
In another embodiment of the present invention, for further definition and illustration, the step of determining whether the communication assembly is in place relative to the metering device comprises: and configuring a target pin of the communication assembly as an input state, and acquiring a pin level signal of the target pin in the input state to judge whether the communication assembly is in place relative to the metering equipment or not based on the pin level signal.
In order to judge whether the metering device is in an abnormal uncapping state or not based on the communication assembly, whether the communication assembly is in place relative to the metering device or not is judged specifically through a pin level signal of a target pin of the configured communication assembly. The communication component may include, but is not limited to, a chip that transmits a carrier signal, a single chip, and other module units, and thus the target pin of the communication component is configured to be in an input state, and at this time, the target pin may include, but is not limited to, a module reset pin RST, an electric meter transmission and module reception pin TXD, and the like. Meanwhile, a pin level signal of the target pin in an input state is detected, and whether the communication assembly is in place is judged based on the pin level signal.
Correspondingly, for further definition and explanation, before the decap event is determined to be an abnormal decap event, the method further includes: and if the pin level signal is a preset pin level signal, determining that the communication assembly is in an in-place state relative to the metering equipment.
Specifically, in the embodiment of the present invention, a predetermined pin signal is configured in advance for the target pin, and the predetermined pin signal is used as a basis for determining that the communication component is in the on-position state, that is, when the detected pin level signal of the target pin is the predetermined pin level signal, it is determined that the communication component is in the on-position state relative to the metering device. For example, when RST and TXD are both high, it is determined that the communication component is in place. The preset pin signal may be that the target pins are all at a high level or all at a low level, and the embodiment of the present invention is not limited in particular. In addition, in the embodiment of the invention, after the pin level signal detection of the target pin is finished, the target pin is reset to output high level, so as to recover the communication function of the communication assembly.
In another embodiment of the present invention, for further definition and illustration, the step of determining whether the communication assembly is in place relative to the metering device comprises: and sending a response request to the communication assembly, detecting whether response reply information is received or not, and judging whether the communication assembly is in place relative to the metering equipment or not according to the response reply information.
In order to realize the judgment of whether the metering device is abnormally uncovered based on the communication component, the communication component sends a response request to the communication component through the current execution end as to whether the communication component is in place relative to the metering device, and the judgment of whether the communication component is in place relative to the metering device is carried out based on whether reply information is received. The communication component is configured on the metering equipment, if the communication component is in place, the communication component can carry out normal data communication, and if the communication component is not in place, the normal data communication cannot be carried out, so that a response request is sent to the communication component, and whether response reply information is received or not is detected to judge whether the communication component is in place or not. For example, a read chip ID information request is sent to the communication component, and it is determined whether the communication component is in place by detecting whether a response reply information of the chip ID information of the communication component is received.
Correspondingly, for further definition and explanation, before the decap event is determined to be an abnormal decap event, the method further includes: and if the response reply message is received, determining that the communication assembly is in an in-place state relative to the metering equipment.
Specifically, in the embodiment of the present invention, request content of the response request may be configured in advance, and without specific limitation, after the current execution end sends the request response, if response reply information of the request response is received, it is indicated that the communication component may perform data communication normally, so that it is determined that the communication component is in an in-place state with respect to the metering device.
In another embodiment of the present invention, for further definition and explanation, as shown in fig. 2, before the step of acquiring the decapping event of the metering device and the receiving interval time of the carrier signal, the method further includes:
201. after the metering equipment completes the power-on operation, detecting whether message information sent by the communication assembly is received within a first preset time interval;
202. and if the message information is received, determining that the communication assembly completes installation in the metering equipment.
In the embodiment of the present invention, in order to implement abnormal detection of a decapping event of a metering device based on a communication component, it is necessary to determine in advance whether the communication component is installed in a recording device, so as to ensure transmission and reception of a carrier signal of the communication component. Firstly, the metering device is powered on, that is, the metering device may be powered on based on an electric wire, or the metering device may be powered on through a device battery, which is not specifically limited in the embodiment of the present invention. After the power-on operation is completed, the metering equipment is in a normal operation state, and the current execution end determines whether the communication assembly is in normal communication or not by detecting whether message information sent by the communication assembly can be received or not. The first preset time interval is a preset time length for judging whether the message information is received, and may be 10 seconds, 1 minute, and the like, and the embodiment of the present invention is not particularly limited. Meanwhile, if the message information sent by the communication component is detected within the first preset time interval, it is indicated that the communication component normally operates in the metering device, and the message information is preferably a legal message, so that it can be determined that the communication component completes normal installation in the metering device, and the communication component is combined with the communication component to perform abnormal detection of the uncapping event under the condition of normal installation. For example, after the electric meter is powered on, if a legal message of the module is received, it is determined that the communication module is installed in the electric meter, and if the message is not received, it is determined that there is no communication module, as shown in fig. 3.
In another embodiment of the present invention, for further definition and explanation, as shown in fig. 4, before the step of acquiring the decapping event of the metering device and the receiving interval time of the carrier signal, the method further includes:
301. acquiring key level signals of different metering devices within a second preset time interval;
302. and generating a cover opening event of the metering equipment according to the comparison result of the key level signal and a preset cover opening level signal, and storing the cover opening event and the detection time of the key level signal.
In the embodiment of the invention, in order to improve the accuracy of uncapping judgment based on the key level signal, the uncapping event of the metering equipment needs to be detected in advance, so that the judgment is carried out based on the uncapping event and the communication assembly. Specifically, key level signals of different metering devices in the second preset time interval are obtained, at this moment, because the metering devices can be installed at metering targets at different positions, the key level signals of different metering devices can be collected, and when an uncapping event needs to be detected, the key level signals of different metering devices in the second preset time interval are obtained, so that unified judgment is carried out. The second preset time interval may be 1 day, 1 week, etc., and the embodiment of the present invention is not limited in particular. Meanwhile, a uncapping level signal, such as a high level, is preset so that after the key level signal is compared with the preset uncapping level signal, an uncapping event of the metering device is generated, and if the key level signal is detected to be the high level, the uncapping event of the metering device is generated, and the uncapping state of the metering device is indicated. In addition, in order to conveniently judge the abnormity of the uncapping event of the metering equipment, the uncapping event and the corresponding detection time are stored, so that whether the uncapping event is abnormal or not is determined based on the comparison between the receiving interval time and the detection time, and the accuracy of uncapping event detection is improved.
In another embodiment of the present invention, for further definition and explanation, the steps further comprise: and if the detection time of the key level signal is less than or equal to the receiving interval time, determining that the communication assembly is in an in-place state relative to the metering equipment, and the uncapping event is an abnormal uncapping event.
The interval time of sending the carrier signal of the communication assembly installed in the metering equipment is a basis for judging the communication assembly, at the moment, if the detection time of detecting the key level signal is less than or equal to the receiving interval time, the uncovering event occurs in a carrier signal receiving interval in the normal communication process of the communication assembly, the uncovering is abnormal, and therefore the communication assembly is determined to be in the on-site state of the metering equipment at the moment, the uncovering event is an abnormal uncovering event, and the requirement of detecting the uncovering abnormality in the receiving interval time period content is met.
In another embodiment of the present invention, for further definition and explanation, the steps further comprise: reporting the abnormal uncapping event to carry out offline inspection on the metering equipment; and after the abnormal uncapping event detection is finished and the message information of the metering equipment is not received within a third preset time interval, resetting the target pin of the communication assembly to judge that the communication assembly is in the in-place state relative to the metering equipment again.
In the embodiment of the invention, in order to ensure the processing efficiency of the abnormal uncapping event and avoid the metering error caused by the abnormal uncapping event, the abnormal uncapping event is reported so that an operator can perform offline inspection on the metering equipment with the abnormal uncapping event. In addition, after the abnormal uncapping event detection is completed, in order to enable the metering equipment to normally operate and execute normal metering operation, whether message information of the communication assembly can be received is detected at a third preset time interval or more, if the message information is not received, the communication assembly is abnormal, and at the moment, the target pin of the communication assembly is reset to judge that the communication assembly is in the in-place state relative to the metering equipment again. The third preset time interval may be 24 hours, 2 days, and the like, and the embodiment of the present invention is not particularly limited. For example, if no legal communication message is received for more than 24 hours, the RST pin is reset, and the communication reading number of the electric meter is read again after the communication component is reset, so as to determine whether the electric meter is provided with the communication component again.
In addition, in the embodiment of the present invention, the generated decapping event may also be directly reported, that is, after the report instruction of the decapping event is started, the generated decapping event is detected and is directly reported, and the embodiment of the present invention is not particularly limited.
In a specific implementation scenario in the embodiment of the present invention, as shown in fig. 5, after detecting a decapping level, a decapping event is generated and recorded, whether a carrier module serving as a communication component is provided in an electric meter is determined, if so, it is determined that a carrier detection time is greater than a reception interval time of a carrier signal, whether the carrier module is in place is determined based on a target pin RST, a TXD or a request to read chip ID information, and if so, it is determined that the decapping event is an abnormal decapping event.
Compared with the prior art, the method for detecting the uncapping event of the metering equipment comprises the steps that the uncapping event of the metering equipment and the receiving interval time of a carrier signal are obtained, the uncapping event is determined based on a key level signal of the metering equipment, and the carrier signal is sent out by a communication assembly installed in the metering equipment; if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment or not; if the communication assembly is in an in-place state relative to the metering equipment, the uncovering event is determined to be an abnormal uncovering event, the condition of key false alarm caused by the fact that the uncovering event is determined based on a key level judging mode is avoided, the frequency of abnormal uncovering reporting is greatly reduced, and therefore the detection accuracy of the uncovering event of the metering equipment is improved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides an apparatus for detecting an uncapping event of a metering device, where as shown in fig. 6, the apparatus includes:
an obtaining module 41, configured to obtain a decapping event of a metering device and a receiving interval time of a carrier signal, where the decapping event is determined based on a key level signal of the metering device, and the carrier signal is sent by a communication component installed in the metering device;
a determining module 42, configured to determine whether the communication component is in place relative to the metering device if the detection time of the key level signal is longer than the receiving interval time;
a determining module 43, configured to determine that the decapping event is an abnormal decapping event if the communication component is in an in-place state with respect to the metering device.
Further, the determining module is specifically configured to configure a target pin of the communication component as an input state, and acquire a pin level signal of the target pin in the input state, so as to determine whether the communication component is in place relative to the metering device based on the pin level signal;
the determining module is specifically configured to determine that the communication component is in an in-place state with respect to the metering device if the pin level signal is a preset pin level signal.
Further, the determining module is specifically configured to send a response request to the communication component, and detect whether a response reply message is received, so as to determine whether the communication component is in place relative to the metering device according to the response reply message;
the determining module is specifically configured to determine that the communication component is in an in-place state with respect to the metering device if the response reply message is received.
Further, the apparatus further comprises: a detection module for detecting the position of the object,
the detection module is used for detecting whether message information sent by the communication assembly is received within a first preset time interval after the metering equipment completes power-on operation;
the determining module is further configured to determine that the communication component completes installation in the metering device if the message information is received.
Further, the apparatus further comprises: a module for generating a plurality of modules,
the acquisition module is also used for acquiring key level signals of different metering devices within a second preset time interval;
the generating module is used for generating an uncapping event of the metering equipment according to a comparison result of the key level signal and a preset uncapping level signal, and storing the uncapping event and the detection time of the key level signal.
Further, the determining module is further configured to determine that the communication component is in an in-place state with respect to the metering device if the detection time of the key level signal is less than or equal to the reception interval time, and the decap event is an abnormal decap event.
Further, the apparatus further comprises:
the reporting module is used for reporting the abnormal uncapping event so as to carry out offline inspection on the metering equipment;
and the resetting module is used for resetting the target pin of the communication assembly to judge that the communication assembly is in the in-place state relative to the metering equipment again when the message information of the metering equipment is not received within a third preset time interval after the abnormal cover opening event detection is finished.
Compared with the prior art, the detection device for the uncapping event of the metering equipment has the advantages that the uncapping event of the metering equipment and the receiving interval time of the carrier signal are obtained, the uncapping event is determined based on the key level signal of the metering equipment, and the carrier signal is sent out by a communication assembly installed in the metering equipment; if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment or not; if the communication assembly is in an in-place state relative to the metering equipment, the uncovering event is determined to be an abnormal uncovering event, the condition of key false alarm caused by the fact that the uncovering event is determined based on a key level judging mode is avoided, the frequency of abnormal uncovering reporting is greatly reduced, and therefore the detection accuracy of the uncovering event of the metering equipment is improved.
According to an embodiment of the present invention, a storage medium is provided, where the storage medium stores at least one executable instruction, and the computer executable instruction may execute the method for detecting a decapping event of a metering device in any method embodiment described above.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the specific embodiment of the present invention does not limit a specific implementation of the terminal.
As shown in fig. 7, the terminal may include: a processor (processor) 502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with network elements of other devices, such as clients or other servers.
The processor 502 is configured to execute the program 510, and may specifically execute relevant steps in the above method for detecting an uncapping event of a metering device.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
A memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be used to cause the processor 502 to perform the following operations:
acquiring a cover opening event of metering equipment and receiving interval time of a carrier signal, wherein the cover opening event is determined based on a key level signal of the metering equipment, and the carrier signal is sent by a communication assembly installed in the metering equipment;
if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment;
and if the communication assembly is in an in-place state relative to the metering equipment, determining that the uncapping event is an abnormal uncapping event.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for detecting a decap event of a metering device, comprising:
acquiring a cover opening event of metering equipment and receiving interval time of a carrier signal, wherein the cover opening event is determined based on a key level signal of the metering equipment, and the carrier signal is sent by a communication component installed in the metering equipment;
if the detection time of the key level signal is longer than the receiving interval time, judging whether the communication assembly is in place relative to the metering equipment or not;
and if the communication assembly is in an in-place state relative to the metering equipment, determining that the uncapping event is an abnormal uncapping event.
2. The method of claim 1, wherein the determining whether the communication component is in place relative to the metering device comprises:
configuring a target pin of the communication assembly as an input state, acquiring a pin level signal of the target pin in the input state, and judging whether the communication assembly is in place relative to the metering equipment or not based on the pin level signal;
before the uncapping event is determined to be an abnormal uncapping event, the method further comprises the following steps:
and if the pin level signal is a preset pin level signal, determining that the communication assembly is in an in-place state relative to the metering equipment.
3. The method of claim 1, wherein determining whether the communication component is in place relative to the metering device comprises:
sending a response request to the communication assembly, detecting whether response reply information is received or not, and judging whether the communication assembly is in place relative to the metering equipment or not according to the response reply information;
before determining that the decap event is an abnormal decap event, the method further includes:
and if the response reply message is received, determining that the communication assembly is in an in-place state relative to the metering equipment.
4. The method of claim 1, wherein before the acquiring the decap event of the metering device and the receiving interval time of the carrier signal, the method further comprises:
after the metering equipment completes the power-on operation, detecting whether message information sent by the communication assembly is received within a first preset time interval;
and if the message information is received, determining that the communication assembly completes installation in the metering equipment.
5. The method of claim 1, wherein before the acquiring the decap event of the metering device and the receiving interval time of the carrier signal, the method further comprises:
acquiring key level signals of different metering devices within a second preset time interval;
and generating a cover opening event of the metering equipment according to the comparison result of the key level signal and a preset cover opening level signal, and storing the cover opening event and the detection time of the key level signal.
6. The method of claim 1, further comprising:
and if the detection time of the key level signal is less than or equal to the receiving interval time, determining that the communication assembly is in an in-place state relative to the metering equipment, and the uncapping event is an abnormal uncapping event.
7. The method of any one of claims 1-6, further comprising:
reporting the abnormal uncapping event so as to carry out offline inspection on the metering equipment;
and after the abnormal uncapping event detection is finished and the message information of the metering equipment is not received within a third preset time interval, resetting the target pin of the communication assembly to judge that the communication assembly is in the in-place state relative to the metering equipment again.
8. An apparatus for detecting a decap event in a metering device, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a cover opening event of metering equipment and receiving interval time of a carrier signal, the cover opening event is determined based on a key level signal of the metering equipment, and the carrier signal is sent by a communication assembly installed in the metering equipment;
the judging module is used for judging whether the communication assembly is in place relative to the metering equipment or not if the detection time of the key level signal is longer than the receiving interval time;
and the determining module is used for determining that the uncapping event is an abnormal uncapping event if the communication assembly is in the in-place state relative to the metering equipment.
9. A storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform an operation corresponding to the method for detecting a meter uncapping event according to any one of claims 1-7.
10. A terminal, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the detection method of the metering device uncovering event according to any one of claims 1-7.
CN202210897035.4A 2022-07-28 2022-07-28 Method and device for detecting uncapping event of metering equipment Pending CN115164947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210897035.4A CN115164947A (en) 2022-07-28 2022-07-28 Method and device for detecting uncapping event of metering equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210897035.4A CN115164947A (en) 2022-07-28 2022-07-28 Method and device for detecting uncapping event of metering equipment

Publications (1)

Publication Number Publication Date
CN115164947A true CN115164947A (en) 2022-10-11

Family

ID=83476444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210897035.4A Pending CN115164947A (en) 2022-07-28 2022-07-28 Method and device for detecting uncapping event of metering equipment

Country Status (1)

Country Link
CN (1) CN115164947A (en)

Similar Documents

Publication Publication Date Title
US9917737B2 (en) Systems and methods for programmable device installations
US20100070213A1 (en) Method for Monitoring the Electrical Energy Quality in an Electrical Energy Supply System, Power Quality Field Device and Power Quality System
CN108572308B (en) Fault diagnosis method and system
EP3748811B1 (en) A method for configuring an intelligent electronic device and a system therof
FR2933789A1 (en) METHODS OF IDENTIFYING FLIGHT PROFILES IN AIRCRAFT MAINTENANCE OPERATIONS
CN111123000A (en) Electronic integrated single machine automatic test system, method and medium
CN114510381A (en) Fault injection method, device, equipment and storage medium
JPS6211154Y2 (en)
CN115164947A (en) Method and device for detecting uncapping event of metering equipment
US11836036B2 (en) Method of detecting faults in intelligent electronic devices
US6023228A (en) Method and apparatus for checking electrical drive mechanisms
CN115623464B (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN111157942A (en) Electricity stealing event monitoring method, electronic monitoring equipment and electricity stealing prevention system
CN112782574A (en) Operation monitoring system and method of circuit breaker
CN109586788B (en) Monitoring system fault diagnosis method and device, computer equipment and storage medium
CN111025046A (en) Test system, method for controlling matrix switch and storage medium
CN110058979A (en) A kind of temperature reads monitoring method, BMC and the storage medium of failure failure
CN108427044A (en) A kind of test method of failure protection function, device, equipment and storage medium
CN115471968A (en) Cable burglar alarm
CN112034296B (en) Avionics fault injection system and method
CN115220945A (en) Raspberry pie-based vehicle detection device and method, vehicle and storage medium
CN111106979B (en) Method and equipment for switch threshold alarm test
CN115219976A (en) Method and device for detecting opening and closing states of metering equipment
CN107885169A (en) A kind of collection method of field data, device and system
CN113447880A (en) Fault diagnosis method and device for electric energy meter and terminal equipment

Legal Events

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