Detection Method and Device for Opening and Closing State of Measuring Equipment

By combining the detection method of button level signals and device battery voltage data, the problem of low detection efficiency of metering equipment is solved, and more efficient state judgment and battery status monitoring are achieved.

CN115219976BActive Publication Date: 2025-07-25STATE GRID CHONGQING ELECTRIC POWER COMPANY MARKETING SERVICE CENTER +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210897307.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-28
Publication Date
2025-07-25
Estimated Expiration
2042-07-28

AI Technical Summary

Technical Problem

The current metering equipment has low efficiency in opening and closing status detection, which is prone to misjudgment due to aging of buttons or switches, increasing maintenance workload.

Method used

By obtaining the key level signal of the metering device and the device battery voltage data, it is determined whether the battery voltage is greater than the preset threshold. If it is greater than the threshold, it is determined as an error judgment and the adjustment of the opening and closing state is normal; if it is less than or equal to the threshold, the opening and closing state is confirmed, and alarm information is sent or offline inspection is conducted.

Benefits of technology

It improves the accuracy and efficiency of the opening and closing state detection of the metering equipment, reduces manpower and material consumption, and ensures the normal use of the battery state of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115219976B_ABST
    Figure CN115219976B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for detecting the opening and closing state of a metering device, relating to the technical field of detection, and mainly aiming to solve the problem of poor detection efficiency of the opening and closing state of existing metering devices. It mainly includes: obtaining the key level signal of the metering device and the device battery voltage data; if it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then judging whether the device battery voltage data is greater than a preset voltage threshold; if the device battery voltage data is greater than the preset voltage threshold, then determining the abnormal opening and closing state as a misjudgment detection result and configuring the opening and closing state of the metering device as a normal opening and closing state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technologies, and particularly to a method and device for detecting the opening and closing state of a metering device. Background Art

[0002] As a metering device, an electric energy meter has been popularized in various power consumption fields, especially for detecting the power consumption. Among them, a certificate of conformity will be pasted on the electric energy meter after it is produced qualified, and the meter cover (also known as the housing) of the electric energy meter is not allowed to be opened under normal use conditions. If it is opened abnormally, it will be used as a basis for judging electricity theft, faults, etc. For example, for the structural design of a single-phase electric energy meter, if the meter cover is opened, the battery must be removed.

[0003] Currently, the opening and closing state of the existing electric energy meter is usually determined by configuring a button or a switch inside the electric energy meter and obtaining the level signal of the button or the switch to determine whether there is an abnormal opening and closing situation. However, the method of obtaining the level signal by using a button or a switch may cause misjudgment due to the aging and failure of the button or the switch, and the number of electric energy meters is too large, which increases the workload of maintaining the switch or the button, increases the maintenance manpower and material resources, and thus reduces the detection efficiency of the opening and closing state of the metering device. Summary of the Invention

[0004] In view of this, the present invention provides a method and device for detecting the opening and closing state of a metering device, mainly aiming to solve the problem of poor detection efficiency of the opening and closing state of the existing metering device.

[0005] According to one aspect of the present invention, a method for detecting the opening and closing state of a metering device is provided, including:

[0006] Obtaining the key level signal of the metering device and the device battery voltage data;

[0007] If it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then determine whether the device battery voltage data is greater than a preset voltage threshold;

[0008] If the device battery voltage data is greater than the preset voltage threshold, then determine the abnormal opening and closing state as a misjudgment detection result, and configure the opening and closing state of the metering device as a normal opening and closing state.

[0009] Further, after determining whether the device battery voltage data is greater than the preset voltage threshold, the method further includes:

[0010] If the device battery voltage data is less than or equal to the preset voltage threshold, then determine the abnormal opening and closing state as a normal detection result, and send an alarm message.

[0011] Further, the method further includes:

[0012] If the key level signal of the metering device is a missing signal and the device battery voltage data is less than or equal to a preset voltage threshold, determine that the opening and closing state of the metering device is a normal opening and closing state, and determine that the battery state of the metering device is an under-voltage battery state.

[0013] Further, the obtaining of the key level signal of the metering device and the device battery voltage data includes:

[0014] Collect the key level signals and device battery voltage data of different metering devices at a first preset time interval, and configure time stamps for the key level signals and the device battery voltage data to store the key level signals and the device battery voltage data according to the time stamps;

[0015] When a metering device opening and closing state detection instruction is received, extract the key level signal and the device battery voltage data that match the time stamp based on the target time point or target time period carried in the metering device opening and closing state detection instruction.

[0016] Further, after determining the abnormal opening and closing state as a misjudgment detection result, the method further includes:

[0017] Count the number of misjudgments of the metering device corresponding to the misjudgment detection result;

[0018] When the number of misjudgments reaches a preset number of misjudgments, obtain the device information and location information of the metering device, and report the device information and the location information to perform an offline inspection on the metering device based on the device information and the location information.

[0019] Further, after determining the abnormal opening and closing state as a misjudgment detection result, the method further includes:

[0020] Obtain the measurement values collected by the metering device within a second preset time interval, and determine the detection node corresponding to the opening and closing state being an abnormal opening and closing state;

[0021] Determine the reference detection measurement value in the measurement values based on the detection node;

[0022] Determine the user information corresponding to the metering device, and bind the reference detection measurement value to the user information so as to calculate the metering resources of the user information based on the reference detection measurement value.

[0023] Further, the method further includes:

[0024] Receive an opening / closing state adjustment instruction, where the opening / closing state adjustment instruction is used to change the abnormal opening / closing state determined as a misjudgment detection result, or to change the normal opening / closing state determined as a normal detection result;

[0025] Update the preset voltage threshold based on the voltage adjustment value carried in the opening / closing state adjustment instruction to re-detect the opening / closing state.

[0026] According to another aspect of the present invention, there is provided a detection device for the opening / closing state of a metering device, including:

[0027] An acquisition module, configured to acquire the key level signal of the metering device and the device battery voltage data;

[0028] A judgment module, configured to judge whether the device battery voltage data is greater than a preset voltage threshold if it is determined based on the key level signal that the opening / closing state of the metering device is an abnormal opening / closing state;

[0029] A determination module, configured to determine the abnormal opening / closing state as a misjudgment detection result and configure the opening / closing state of the metering device as a normal opening / closing state if the device battery voltage data is greater than the preset voltage threshold.

[0030] Further,

[0031] The determination module is further configured to determine the abnormal opening / closing state as a normal detection result and send an alarm message if the device battery voltage data is less than or equal to the preset voltage threshold.

[0032] Further,

[0033] The determination module is further configured to determine the opening / closing state of the metering device as a normal opening / closing state and determine the battery state of the metering device as an under-voltage battery state if the key level signal of the metering device obtained is a missing signal and the device battery voltage data is less than or equal to the preset voltage threshold.

[0034] Further, the acquisition module includes:

[0035] A configuration unit, configured to collect the key level signal of different metering devices and the device battery voltage data at a first preset time interval, and configure time stamps for the key level signal and the device battery voltage data, so as to store the key level signal and the device battery voltage data according to the time stamps;

[0036] An extraction unit, configured to extract the key level signal and the device battery voltage data that match the time stamp based on the target time point or target time period carried in the metering device opening / closing state detection instruction when receiving the metering device opening / closing state detection instruction.

[0037] Further, the device further includes:

[0038] A statistics module, configured to count the number of misjudgments of the metering device corresponding to the misjudgment detection result;

[0039] A reporting module, configured to obtain the device information and location information of the metering device when the number of misjudgments reaches a preset number of misjudgments, and report the device information and the location information, so as to perform offline inspection on the metering device based on the device information and the location information.

[0040] Further,

[0041] The obtaining module is further configured to obtain the metering values collected by the metering device within a second preset time interval, and determine the detection nodes corresponding to the abnormal opening and closing state when the opening and closing state is determined to be an abnormal opening and closing state;

[0042] The determining module is further configured to determine the reference detection metering value in the metering value based on the detection node;

[0043] The determining module is further configured to determine the user information corresponding to the metering device, and bind the reference detection metering value to the user information, so as to calculate the metering resources of the user information based on the reference detection metering value.

[0044] Further, the device further includes:

[0045] A receiving module, configured to receive an opening and closing state adjustment instruction, where the opening and closing state adjustment instruction is used to change the abnormal opening and closing state determined as the misjudgment detection result, or to change the normal opening and closing state determined as the normal detection result;

[0046] An updating module, configured to update the preset voltage threshold based on the voltage adjustment value carried in the opening and closing state adjustment instruction, so as to re-detect the opening and closing state.

[0047] 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 perform operations corresponding to the above method for detecting the opening and closing state of a metering device.

[0048] According to still another aspect of the present invention, there is provided a terminal, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete communication with each other through the communication bus;

[0049] The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the above method for detecting the opening and closing state of a metering device.

[0050] By the above technical solution, the technical solution provided by the embodiment of the present invention has at least the following advantages:

[0051] The present invention provides a method and device for detecting the opening and closing state of a metering device. Compared with the prior art, in the embodiment of the present invention, the key level signal of the metering device and the device battery voltage data are obtained; if it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then it is judged whether the device battery voltage data is greater than a preset voltage threshold; if the device battery voltage data is greater than the preset voltage threshold, the abnormal opening and closing state is determined as a misjudgment detection result, and the opening and closing state of the metering device is configured as a normal opening and closing state, so as to realize the judgment of the opening state in combination with the device battery, accelerate the detection of the opening and closing states of a large number of metering devices, reduce the consumption of human and physical resources, and thus improve the detection efficiency of the opening and closing states of the metering device.

[0052] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable, the specific embodiments of the present invention are hereinafter specifically exemplified. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. And throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0054] Figure 1 A flowchart of a method for detecting the opening and closing state of a metering device provided by an embodiment of the present invention is shown;

[0055] Figure 2 A flowchart of another method for detecting the opening and closing state of a metering device provided by an embodiment of the present invention is shown;

[0056] Figure 3 A flowchart of still another method for detecting the opening and closing state of a metering device provided by an embodiment of the present invention is shown;

[0057] Figure 4 A flowchart of yet another method for detecting the opening and closing state of a metering device provided by an embodiment of the present invention is shown;

[0058] Figure 5 A schematic diagram of an open cover judgment process of an electric energy meter provided by an embodiment of the present invention is shown;

[0059] Figure 6The block diagram of a detection device for the opening / closing state of a metering device provided by an embodiment of the present invention is shown;

[0060] Figure 7 The schematic structural diagram of a terminal provided by an embodiment of the present invention is shown. Specific embodiments

[0061] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.

[0062] Regarding the opening / closing state of an electricity meter, it is usually based on configuring a button or a switch inside the electricity meter, and determining whether there is an abnormal opening / closing situation by obtaining the level signal of the button or the switch. However, the method of obtaining the level signal by using a button or a switch may cause misjudgment due to the aging and failure of the button or the switch, and the number of electricity meters is too large, which increases the workload of maintaining the switch or the button, increases the maintenance manpower and material resources, and thus reduces the detection efficiency of the opening / closing state of the metering device. An embodiment of the present invention provides a method for detecting the opening / closing state of a metering device, as Figure 1 shown, the method includes:

[0063] 101. Obtain the button level signal of the metering device and the device battery voltage data.

[0064] In an embodiment of the present invention, the current execution subject may be a processor pre-configured and installed on the metering device, or a terminal device having remote data communication with the metering device. The terminal device includes, but is not limited to, a server, a personal computer device, a cloud processor, etc. The metering device is a detection device applicable to different industrial productions with a housing and defining that the housing is opened based on a button, such as an electricity meter in the power industry, a flow meter in pipeline transportation, etc. Of course, each metering device is also configured with an independent device battery and a button for opening / closing the housing of the metering device, and the device battery and the button are electrically connected to the current execution subject to obtain the button level signal and the device battery voltage data. The button is a button component with the function of outputting high and low levels, such as a relay, etc., and the embodiment of the present invention does not make specific limitations.

[0065] It should be noted that since the button is a component for opening and closing the metering device, the output high and low level signals are used as the trigger basis for opening and closing. For example, a high level corresponds to opening the cover of the metering device, so that the opening and closing state can be determined based on the button level signal. At this time, the correspondence between the high and low levels and the opening and closing state can be pre-configured by technicians, and the embodiments of the present invention do not make specific limitations. In addition, since the opening and closing state of the device battery is associated with the housing of the metering device, that is, if the device battery is configured on the metering device, the housing cover is not opened. If the device battery is not configured on the metering device, it means that the housing cover opening operation has occurred. Therefore, the opening and closing state is judged based on the obtained device battery voltage data.

[0066] 102. If it is determined based on the button level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then judge whether the device battery voltage data is greater than a preset voltage threshold.

[0067] In the embodiments of the present invention, if it is determined based on the button level signal that the opening and closing state of the metering device is an abnormal opening and closing state, it means that at this time, the button level signal matches the preset level signal corresponding to opening the housing cover of the metering device. Therefore, it is determined as an abnormal opening and closing state. In order to determine whether the abnormal opening and closing state at this time is a misjudgment, it is further judged whether the device battery voltage data is greater than a preset voltage threshold, so as to determine whether it is a misjudgment. Among them, the preset voltage threshold can be configured as 1 volt, 5 volts, etc. based on the charging ability of the device battery, etc., and is specifically pre-configured by technicians, and the embodiments of the present invention do not make specific limitations.

[0068] 103. If the device battery voltage data is greater than the preset voltage threshold, then determine the abnormal opening and closing state as a misjudgment detection result, and configure the opening and closing state of the metering device as a normal opening and closing state.

[0069] In the embodiments of the present invention, if the device battery voltage data is greater than the preset voltage threshold, it means that the device battery is still configured on the metering device, and there is no real situation of opening the cover of the metering device. Therefore, the abnormal opening and closing state judged in step 102 at this time is a misjudgment, and further indicates that the opening and closing state of the metering device is a normal opening and closing state. Among them, the abnormal opening and closing state is determined as a misjudgment detection result, and the opening and closing state of the metering device is configured as a normal opening and closing state, so as to improve the detection accuracy of the opening and closing state of the metering device.

[0070] In another embodiment of the present invention, for further limitation and explanation, after the step of judging whether the device battery voltage data is greater than the preset voltage threshold, the method further includes: if the device battery voltage data is less than or equal to the preset voltage threshold, then determine the abnormal opening and closing state as a normal detection result, and send an alarm message.

[0071] In an embodiment of the present invention, since the misjudgment confirmation of the detection result of the abnormally opened / closed state is based on the device battery voltage data, if the device battery voltage data is less than or equal to the preset voltage threshold, it indicates that the device battery in the configuration and metering device is pulled out at this time, and the opening of the metering device actually occurs. The abnormally opened / closed state is determined as a normal detection result and an alarm message is sent, so as to prompt the technician to process based on the abnormally opened / closed state detected normally at this time, thereby improving the detection efficiency of the opened / closed state of the metering device.

[0072] In another embodiment of the present invention, for further limitation and explanation, the step further includes: if the obtained key level signal of the metering device is a missing signal and the device battery voltage data is less than or equal to the preset voltage threshold, determine that the opened / closed state of the metering device is a normal opened / closed state, and determine that the battery state of the metering device is an under-voltage battery state.

[0073] In order to achieve accurate detection of the opened / closed state of the metering device, and since the key level signal may not be detected, the opened / closed state is determined based on the comparison between the device battery voltage data and the preset voltage threshold when the key level signal is a missing signal. Specifically, if the obtained key level signal of the metering device is a missing signal, the missing signal is used to indicate that no high and low level signals are collected, and the device battery voltage data is less than or equal to the preset voltage threshold, it indicates that the opened / closed state of the device recorded at this time is normal, but the device battery is abnormal. Therefore, determine that the opened / closed state of the metering device is a normal opened / closed state, and at the same time determine that the battery state of the metering device is an under-voltage battery state, thereby ensuring the detection of the opened state under normal use of the device battery.

[0074] In another embodiment of the present invention, for further limitation and explanation, as Figure 2 shown, the step of obtaining the key level signal and the device battery voltage data of the metering device includes:

[0075] 201. Collect the key level signals and the device battery voltage data of different metering devices at a first preset time interval, and configure time stamps for the key level signals and the device battery voltage data;

[0076] 202. When receiving a detection instruction for the opened / closed state of the metering device, extract the key level signal and the device battery voltage data that match the time stamp based on the target time point or target time period carried in the detection instruction for the opened / closed state of the metering device.

[0077] To meet the need for real-time detection of the opening and closing states of metering devices and improve detection efficiency, in the embodiments of the present invention, key-level signals of different metering devices and the device battery voltages are collected in advance at a first preset time interval as the data basis for real-time opening and closing state detection. The first preset time interval can be 1 week, 1 month, etc., and can be pre-configured according to requirements. The embodiments of the present invention do not make specific limitations. After collecting the key-level signals and device battery voltage data of different metering devices, in order to ensure the time correlation during storage, time stamps are configured for the simultaneously collected key-level signals and device battery voltage data, and the key-level signals and the device battery voltage data are stored according to the time stamps. At the same time, as the current execution entity, to meet the need for real-time opening and closing state detection, a metering device opening and closing state detection instruction is received, so as to extract the key-level signals and device battery voltage data that match the time stamps based on the target time point or target time period carried in the metering device opening and closing state detection instruction. The target time point or target time period is the time point or time period for which the opening and closing state needs to be detected, and can be entered and configured based on its own needs, such as 1 day or a certain time point on a certain day. The embodiments of the present invention do not make specific limitations, so as to match the time stamps based on the target time point or target time period.

[0078] In another embodiment of the present invention, for further limitation and explanation, as Figure 3 shown, after determining the abnormal opening and closing state as a misjudgment detection result, the method further includes:

[0079] 301. Count the number of misjudgments of the metering device corresponding to the misjudgment detection result;

[0080] 302. When the number of misjudgments reaches the preset number of misjudgments, obtain the device information and location information of the metering device, and report the device information and the location information to conduct an on-site inspection of the metering device based on the device information and the location information.

[0081] In order to conduct a more refined detection of the metering device with misjudged detection results, the current execution end counts the number of misjudgments of the metering device corresponding to the misjudged detection results to determine whether to conduct an on-site inspection. Among them, the counted number of misjudgments is obtained by counting and accumulating the metering devices for which misjudged detection results are determined. When the number of misjudgments reaches the preset number of misjudgments, it indicates that there is an abnormal detection situation for the metering device. Therefore, the device information and location information of the metering device are obtained to report the device information and location information, indicating to conduct an on-site inspection of the metering device matching the device information according to the location information. Specifically, the device information is the hardware information of the metering device, including but not limited to device model, device factory information, device functions, etc., and the location information is the location where the metering device is installed. Since the scenarios applicable to the metering device are different, the location information may include but not limited to the residential address, factory address, etc. of the paired metering device, and the embodiments of the present invention do not make specific limitations.

[0082] In another embodiment of the present invention, for further limitation and explanation, as Figure 4 shown, after determining the abnormal opening and closing state as the misjudged detection result, the method further includes:

[0083] 401. Obtain the metering values collected by the metering device within a second preset time interval, and determine the detection node corresponding to the abnormal opening and closing state;

[0084] 402. Determine the reference detection metering value in the metering values based on the detection node;

[0085] 403. Determine the user information corresponding to the metering device, and bind the reference detection metering value to the user information, so as to calculate the metering resources of the user information based on the reference detection metering value.

[0086] In order to avoid the situation of tampering with metering values after the metering device is abnormally opened, and thus ensure the accuracy detection function of the metering device, obtain the metering values collected by all metering devices within a second preset time interval, so as to determine the detection node corresponding to the abnormal opening and closing state. Among them, the second preset time interval can be 5 days, 1 week, etc., and can be pre-configured according to requirements, and the embodiments of the present invention do not make specific limitations. The metering value is the specific value collected by the metering device. At the same time, within the second preset time interval, based on the detection node of the determined abnormal opening and closing state, that is, the detection time point, the metering value corresponding to the occurrence of the abnormal opening and closing state can be determined as the reference detection metering value, so as to calculate the metering resources according to this reference detection metering value.

[0087] It should be noted that in a specific application scenario, since each metering device can correspond to a matching user, for example, each electricity meter detects the electricity consumption of a user. At this time, the reference detection metering value recorded for the determined abnormal opening and closing state is bound to the user information, so that when calculating metering resources, such as electricity bills, the metering resources for the matching user's usage situation are calculated based on the reference detection metering value, avoiding situations such as excessive electricity bills caused by electricity theft and leakage.

[0088] In another embodiment of the present invention, for further limitation and explanation, the step further includes: receiving an opening and closing state adjustment instruction; updating the preset voltage threshold based on the voltage adjustment value carried in the opening and closing state adjustment instruction to re-detect the opening and closing state.

[0089] In the embodiment of the present invention, to meet the diverse adjustment requirements for the opening and closing state during offline inspection, the current execution end receives an opening and closing state adjustment instruction, and the opening and closing state adjustment instruction is used to change the abnormal opening and closing state determined as a misjudgment detection result, or to change the normal opening and closing state determined as a normal detection result. That is, the preset voltage threshold can be updated through the voltage adjustment value corresponding to the opening and closing state adjustment instruction, so as to re-determine the abnormal opening and closing state determined as a misjudgment detection result, or re-determine the normal opening and closing state determined as a normal detection result. For example, the unadjusted preset voltage threshold is 1 volt, and the abnormal opening and closing state of the metering device is determined as a misjudgment detection result. The preset voltage threshold is adjusted and updated to 5 volts through the voltage adjustment value carried in the received opening and closing state adjustment instruction, so as to re-detect the opening and closing state. At this time, the detection result of the opening and closing state may be changed to meet the flexibility requirement for judging the opening and closing state based on the actual situation of the specific metering device during offline inspection.

[0090] In a specific application scenario in the embodiment of the present invention, such as Figure 5 shown, it specifically includes: after the electricity meter is powered on and working, it detects the open meter cover button and the battery voltage. When it is determined that the meter cover of the electricity meter is open, it further judges whether the battery voltage is less than V1. If not, an open meter cover misjudgment has occurred. If so, the situation of the open meter cover has been sent. At the same time, when it is determined that the meter cover of the electricity meter is not open and the battery voltage is low at this time, it is a battery under-voltage.

[0091] An embodiment of the present invention provides a method for detecting the opening and closing state of a metering device. Compared with the prior art, in the embodiment of the present invention, the key level signal of the metering device and the device battery voltage data are obtained; if it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then it is judged whether the device battery voltage data is greater than a preset voltage threshold; if the device battery voltage data is greater than the preset voltage threshold, the abnormal opening and closing state is determined as a misjudgment detection result, and the opening and closing state of the metering device is configured as a normal opening and closing state, realizing the judgment of the opening state in combination with the device battery, accelerating the detection of the opening and closing states of a large number of metering devices, reducing the consumption of human and physical resources, and thus improving the detection efficiency of the opening and closing states of the metering device.

[0092] Further, as an implementation of the method shown above Figure 1 An embodiment of the present invention provides a detection device for the opening and closing state of a metering device, as shown in Figure 6 shown, the device includes:

[0093] An acquisition module 51, configured to acquire the key level signal of the metering device and the device battery voltage data;

[0094] A judgment module 52, configured to judge whether the device battery voltage data is greater than a preset voltage threshold if it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state;

[0095] A determination module 53, configured to determine the abnormal opening and closing state as a misjudgment detection result and configure the opening and closing state of the metering device as a normal opening and closing state if the device battery voltage data is greater than the preset voltage threshold.

[0096] Furthermore,

[0097] The determination module is further configured to determine the abnormal opening and closing state as a normal detection result and send an alarm message if the device battery voltage data is less than or equal to the preset voltage threshold.

[0098] Furthermore,

[0099] The determination module is further configured to determine that the opening and closing state of the metering device is a normal opening and closing state and determine that the battery state of the metering device is an under-voltage battery state if the key level signal of the metering device obtained is a missing signal and the device battery voltage data is less than or equal to the preset voltage threshold.

[0100] Furthermore, the acquisition module includes:

[0101] A configuration unit for collecting key level signals and device battery voltage data of different metering devices at a first preset time interval, and configuring timestamps for the key level signals and the device battery voltage data, so as to store the key level signals and the device battery voltage data according to the timestamps;

[0102] An extraction unit for, when receiving a metering device opening / closing state detection instruction, extracting the key level signals and the device battery voltage data that match the timestamps based on the target time point or target time period carried in the metering device opening / closing state detection instruction.

[0103] Further, the device further includes:

[0104] A statistics module for counting the number of misjudgments of the metering device corresponding to the misjudgment detection result;

[0105] A reporting module for, when the number of misjudgments reaches a preset number of misjudgments, obtaining the device information and location information of the metering device, and reporting the device information and the location information, so as to conduct an offline inspection of the metering device based on the device information and the location information.

[0106] Further,

[0107] The obtaining module is further configured to obtain the measurement values collected by the metering device within a second preset time interval, and determine the detection nodes corresponding to the abnormal opening / closing state when the opening / closing state is an abnormal opening / closing state;

[0108] The determining module is further configured to determine the reference detection measurement value in the measurement values based on the detection nodes;

[0109] The determining module is further configured to determine the user information corresponding to the metering device, and bind the reference detection measurement value to the user information, so as to calculate the metering resources of the user information based on the reference detection measurement value.

[0110] Further, the device further includes:

[0111] A receiving module for receiving an opening / closing state adjustment instruction, where the opening / closing state adjustment instruction is used to change the abnormal opening / closing state determined as a misjudgment detection result, or to change the normal opening / closing state determined as a normal detection result;

[0112] An updating module for updating the preset voltage threshold based on the voltage adjustment value carried in the opening / closing state adjustment instruction, so as to re-detect the opening / closing state.

[0113] An embodiment of the present invention provides a detection device for the opening and closing state of a metering device. Compared with the prior art, the embodiment of the present invention obtains the key level signal of the metering device and the device battery voltage data; if it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then it is judged whether the device battery voltage data is greater than a preset voltage threshold; if the device battery voltage data is greater than the preset voltage threshold, the abnormal opening and closing state is determined as a misjudgment detection result, and the opening and closing state of the metering device is configured as a normal opening and closing state, so as to realize the judgment of the opening state in combination with the device battery, accelerate the detection of the opening and closing states of a large number of metering devices, reduce the consumption of human and physical resources, and thus improve the detection efficiency of the opening and closing states of the metering device.

[0114] According to an embodiment of the present invention, a storage medium is provided. The storage medium stores at least one executable instruction, and the computer executable instruction can execute the detection method for the opening and closing state of the metering device in any of the above method embodiments.

[0115] Figure 7 The structural schematic diagram of a terminal provided according to an embodiment of the present invention is shown. The specific embodiments of the present invention do not limit the specific implementation of the terminal.

[0116] As Figure 7 shown, the terminal may include: a processor 602, a communication interface 604, a memory 606, and a communication bus 608.

[0117] Among them: the processor 602, the communication interface 604, and the memory 606 complete mutual communication through the communication bus 608.

[0118] The communication interface 604 is used to communicate with network elements of other devices such as clients or other servers.

[0119] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the above embodiment of the detection method for the opening and closing state of the metering device.

[0120] Specifically, the program 610 may include program codes, and the program codes include computer operation instructions.

[0121] The processor 602 may be a central processing unit (CPU), or a specific application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. One or more processors included in the terminal may be of the same type, such as one or more CPUs; or may be of different types, such as one or more CPUs and one or more ASICs.

[0122] A memory 606 for storing a program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0123] The program 610 may specifically be used to cause the processor 602 to perform the following operations:

[0124] Obtain the key level signal of the metering device and the device battery voltage data;

[0125] If it is determined based on the key level signal that the opening / closing state of the metering device is an abnormal opening / closing state, then determine whether the device battery voltage data is greater than a preset voltage threshold;

[0126] If the device battery voltage data is greater than the preset voltage threshold, then determine the abnormal opening / closing state as a misjudgment detection result, and configure the opening / closing state of the metering device as a normal opening / closing state.

[0127] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by the computing device, so that they can be stored in the storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order than here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module to implement. Thus, the present invention is not limited to any specific combination of hardware and software.

[0128] The above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A detection method for the opening and closing state of a metering device, characterized in that, Including: Obtain the key level signal of the metering device and the device battery voltage data; If it is determined based on the key level signal that the opening and closing state of the metering device is an abnormal opening and closing state, then determine whether the device battery voltage data is greater than a preset voltage threshold; If the device battery voltage data is greater than the preset voltage threshold, then determine the abnormal opening and closing state as a misjudgment detection result, and configure the opening and closing state of the metering device as a normal opening and closing state; The obtaining the key level signal of the metering device and the device battery voltage data includes: Collect the key level signals and device battery voltage data of different metering devices at a first preset time interval, and configure timestamps for the key level signals and the device battery voltage data, so as to store the key level signals and the device battery voltage data according to the timestamps; When receiving a metering device opening and closing state detection instruction, extract the key level signal and the device battery voltage data that match the timestamp based on the target time point or target time period carried in the metering device opening and closing state detection instruction; The method further includes: If the key level signal obtained from the metering device is a missing signal, and the device battery voltage data is less than or equal to the preset voltage threshold, then determine the opening and closing state of the metering device as a normal opening and closing state, and determine the battery state of the metering device as an under-voltage battery state.

2. The method according to claim 1, wherein After determining whether the device battery voltage data is greater than the preset voltage threshold, the method further includes: If the device battery voltage data is less than or equal to the preset voltage threshold, then determine the abnormal opening and closing state as a normal detection result, and send an alarm message.

3. The method according to claim 1, wherein After determining the abnormal opening and closing state as a misjudgment detection result, the method further includes: Count the number of misjudgments of the metering device corresponding to the misjudgment detection result; When the number of misjudgments reaches a preset number of misjudgments, obtain the device information and location information of the metering device, and report the device information and the location information, so as to perform an offline inspection on the metering device based on the device information and the location information.

4. The method according to claim 2, wherein After determining the abnormal opening and closing state as a misjudgment detection result, the method further includes: Obtain the metering values collected by the metering device within a second preset time interval, and determine the detection node corresponding to the opening and closing state being an abnormal opening and closing state; Determine the reference detection metering value in the metering values based on the detection node; Determine the user information corresponding to the metering device, and bind the reference detection metering value with the user information, so as to calculate the metering resources of the user information based on the reference detection metering value.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Receive an opening and closing state adjustment instruction, where the opening and closing state adjustment instruction is used to change the abnormal opening and closing state determined as a misjudgment detection result, or is used to change the normal opening and closing state determined as a normal detection result; Update the preset voltage threshold based on the voltage adjustment value carried in the opening and closing state adjustment instruction, so as to re-detect the opening and closing state.

6. A detection device for the opening and closing state of a metering device, characterized in that, Including: An acquisition module, configured to acquire the key level signal of the metering device and the device battery voltage data; A determination module, configured to determine whether the device battery voltage data is greater than a preset voltage threshold if it is determined based on the key level signal that the opening / closing state of the metering device is an abnormal opening / closing state; A confirmation module, configured to, if the device battery voltage data is greater than the preset voltage threshold, determine the abnormal opening / closing state as a misjudgment detection result and configure the opening / closing state of the metering device as a normal opening / closing state; The confirmation module is further configured to, if the key level signal of the metering device is a missing signal and the device battery voltage data is less than or equal to the preset voltage threshold, determine the opening / closing state of the metering device as a normal opening / closing state and determine the battery state of the metering device as an under-voltage battery state; The acquisition module includes: A configuration unit, configured to collect the key level signal of different metering devices and the device battery voltage data at a first preset time interval, and configure time stamps for the key level signal and the device battery voltage data, so as to store the key level signal and the device battery voltage data according to the time stamps; An extraction unit, configured to, when receiving a metering device opening / closing state detection instruction, extract the key level signal and the device battery voltage data that match the time stamp based on the target time point or target time period carried in the metering device opening / closing state detection instruction.

7. A storage medium storing at least one executable instruction, where the executable instruction causes a processor to perform operations corresponding to the method for detecting the opening / closing state of a metering device according to any one of claims 1-5.

8. A terminal, comprising: A processor, a memory, a communication interface, and a communication bus, where the processor, the memory, and the communication interface complete communication with each other through the communication bus; The memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform operations corresponding to the method for detecting the opening / closing state of a metering device according to any one of claims 1-5.

Citation Information

Patent Citations

  • Safety protection control method for food processor

    CN111000461A

  • Uncovering detection circuit integrated in MCU and uncovering detection method based on MCU

    CN111323626A

  • Meter cover opening detection method and device for battery-replaceable electric energy meter, and electric energy meter

    CN117368830A