CN115580523A - Fault processing method and device for modular electric energy meter and electric energy meter - Google Patents

Fault processing method and device for modular electric energy meter and electric energy meter Download PDF

Info

Publication number
CN115580523A
CN115580523A CN202211478967.1A CN202211478967A CN115580523A CN 115580523 A CN115580523 A CN 115580523A CN 202211478967 A CN202211478967 A CN 202211478967A CN 115580523 A CN115580523 A CN 115580523A
Authority
CN
China
Prior art keywords
module
fault
communication
management
management module
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.)
Granted
Application number
CN202211478967.1A
Other languages
Chinese (zh)
Other versions
CN115580523B (en
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.)
Shijiazhuang Kelin Electric Co Ltd
Original Assignee
Shijiazhuang Kelin Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shijiazhuang Kelin Electric Co Ltd filed Critical Shijiazhuang Kelin Electric Co Ltd
Priority to CN202211478967.1A priority Critical patent/CN115580523B/en
Publication of CN115580523A publication Critical patent/CN115580523A/en
Application granted granted Critical
Publication of CN115580523B publication Critical patent/CN115580523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention provides a fault processing method and device for a modular electric energy meter and the electric energy meter. The fault processing method comprises the following steps: the management module periodically receives communication state information of each slave module, wherein the communication state information of the slave module is used for indicating whether the communication of the slave module is normal or not; the management module is a functional module with a fault management right in the plurality of functional modules, and the slave module is other functional modules except the management module in the plurality of functional modules; the management module determines a functional module with a communication fault based on the communication state information of each slave module; the management module sends reset indication information to the power supply module, and the indication information is used for indicating the power supply module to reset the functional module with the communication fault. The invention can realize self-repairing when the communication fault between the modules of the electric energy meter occurs, and ensure the reliable and stable operation of the whole electric energy meter.

Description

Fault processing method and device for modular electric energy meter and electric energy meter
Technical Field
The invention relates to the technical field of power supply and distribution, in particular to a fault processing method and device for a modular electric energy meter and the electric energy meter.
Background
International recommendations for IR46 active electric energy meters were published by international legal metering Organization (OIML) in 2012, and in 2016, the standard was officially implemented domestically, resulting in a change in a series of national standards for electric energy meters, national metrological regulations, and standards for smart meter enterprises. Among these, the metering and non-metering parts must be strictly separated and are the core of many variations.
The metering part and the non-metering part of the method must be strictly separated, and the electric energy meter is required to adopt a double-core mode. In order to adapt to the rapidly developed internet of things technology, a multi-functional module is added on the basis of a base meter to form a multi-core modularized electric energy meter. Each module of the electric energy meter can complete more complex functions through interface communication. Meanwhile, communication faults such as channel blockage and the like easily occur due to communication among the modules of the electric energy meter, and the operation risk is increased. For example, when special electromagnetic working conditions or environmental changes occur, interface faults are caused, so that normal communication between modules cannot be achieved, and finally the whole electric energy meter runs.
Disclosure of Invention
The invention provides a fault processing method and device for a modular electric energy meter and the electric energy meter, which can realize self-repairing when communication faults occur among modules of the electric energy meter, and ensure the reliable and stable operation of the whole electric energy meter.
In a first aspect, the present invention provides a fault handling method for a modular electric energy meter, including: the management module periodically receives communication state information of each slave module, wherein the communication state information of the slave module is used for indicating whether the communication of the slave module is normal or not; the management module is a functional module with a fault management right in the plurality of functional modules, and the slave module is other functional modules except the management module in the plurality of functional modules; the management module determines a functional module with a communication fault based on the communication state information of each slave module; and the management module sends reset indication information to the power supply module, wherein the indication information is used for indicating the power supply module to reset the functional module with the communication fault.
The invention provides a fault processing method of a modular electric energy meter, which is used for processing communication faults of a plurality of functional modules by arranging the functional modules with fault management rights in the functional modules. The communication state information of each slave module is periodically received, and a functional module with a communication fault is determined based on the communication state information of each slave module; and then, reset indication information is sent to the power supply module to indicate the power supply module to reset the functional module with the communication fault, so that the reset of the functional module with the communication fault is completed, self-repair is realized when the communication fault occurs among the modules of the electric energy meter, and the complete machine of the electric energy meter is ensured to run reliably and stably.
In a possible implementation manner, the determining, by the management module, the functional module in which the communication fault occurs based on the communication state information of each slave module includes: the management module analyzes the communication state information of each slave module and determines active reporting fault data and follow-up reporting fault data; and the management module eliminates the following reported fault data and determines the functional module with the communication fault. The management module determines a functional module with a communication fault based on the communication state information of each slave module, and further comprises: the management module generates a fault record, and the fault record is used for indicating the functional module with the communication fault; and the management module reports the fault record to the superior equipment of the electric energy meter.
In a possible implementation manner, before the management module periodically receives the communication state information of each slave module, the method further includes: the management module sends a first request to each slave module, wherein the first request is used for requesting the occupancy rate of the communication port of each slave module; the management module receives first responses sent by the slave modules, wherein the first responses comprise the communication port occupancy rates of the slave modules; the management module sorts the plurality of function modules based on the sequence of the communication port occupancy rate of each slave module and the communication port occupancy rate of the management module from small to large; if the rank of the management module is less than the set ranking, the management module continues to hold the fault management right and carries out communication fault processing on the electric energy meter; if the rank of the management module is more than or equal to the set ranking, the management module selects a function module from the function modules before the set ranking, the fault management right is handed over to the function module, and the function module carries out communication fault processing on the electric energy meter.
In a possible implementation manner, the fault handling method further includes: the metering module periodically detects whether the management module is in a normal communication state; if the management module is in a normal communication state, the management module keeps the fault management right unchanged, and the management module processes the communication fault of the electric energy meter; and if the management module is in the abnormal communication state, the metering module holds the fault management right to process the communication fault of the electric energy meter.
In a possible implementation manner, if the management module is in a communication abnormal state, the metering module holds the fault management right to process the communication fault of the electric energy meter, and the method includes: if the management module is in the abnormal communication state, the metering module sends first indication information to the power supply module, and the first indication information is used for indicating the power supply module to reset the management module.
In a possible implementation manner, if the management module is in a communication abnormal state, the metering module holds the fault management right to process the communication fault of the electric energy meter, and the method includes: and if the management module is in the abnormal communication state, the metering module sends second indication information to the functional modules, and the second indication information is used for indicating the functional modules to send communication state information to the metering module.
In one possible implementation manner, the sending, by the management module, the reset indication information to the power module includes: if the module with the communication fault is other functional modules except the management module and the metering module, directly sending reset indication information to the power supply module; and if the module with the communication fault is the metering module, storing the metering record of the metering module, and sending reset indication information to the power supply module in an idle time period, wherein the idle time period is a time period when the metering electric quantity of the metering module in a unit time period is less than the set electric quantity.
In a second aspect, an embodiment of the present invention provides a fault handling apparatus for a modular electric energy meter, where the electric energy meter includes a power module and a plurality of functional modules, the fault handling apparatus is applied to a management module, and the management module is a functional module with a fault management right among the plurality of functional modules, and the fault handling apparatus includes: the communication unit is used for periodically receiving communication state information of each slave module, wherein the communication state information of the slave module is used for indicating whether the communication of the slave module is normal or not; the slave module is other functional modules except the management module in the plurality of functional modules; the processing unit is used for determining a functional module with a communication fault based on the communication state information of each slave module; and sending reset indication information to the power supply module, wherein the indication information is used for indicating the power supply module to reset the functional module with the communication fault.
In a possible implementation manner, the processing unit is specifically configured to analyze communication state information of each slave module, and determine active reporting of fault data and follow-up reporting of fault data; and eliminating the following reported fault data, and determining the functional module with the communication fault. The processing unit is also used for generating a fault record, and the fault record is used for indicating the functional module with the communication fault; and the communication unit is also used for reporting the fault record to the superior equipment of the electric energy meter.
In a possible implementation manner, the communication unit is specifically configured to send a first request to each slave module, where the first request is used to request the occupancy rate of the communication port of each slave module; receiving a first response sent by each slave module, wherein the first response comprises the communication port occupancy rate of each slave module; the processing unit is also used for sorting the plurality of functional modules based on the sequence that the communication port occupancy rates of the slave modules and the communication port occupancy rates of the management module are small to large; if the rank of the management module is less than the set ranking, continuing to hold the fault management right and processing the communication fault of the electric energy meter; if the rank of the management module is larger than or equal to the set ranking, the management module selects a function module from the function modules before the set ranking, the fault management right is handed over to the function module, and the function module carries out communication fault processing on the electric energy meter.
In a possible implementation manner, the communication unit is further configured to periodically detect whether the management module is in a normal communication state; the processing unit is also used for keeping the fault management right unchanged if the management module is in a normal communication state, and the management module is used for carrying out communication fault processing on the electric energy meter; and if the management module is in the abnormal communication state, the metering module holds the fault management right to process the communication fault of the electric energy meter.
In a possible implementation manner, the processing unit is specifically configured to send, by the metering module, first indication information to the power supply module if the management module is in a communication abnormal state, where the first indication information is used to indicate the power supply module to reset the management module.
In a possible implementation manner, the processing unit is specifically configured to, if the management module is in an abnormal communication state, send second indication information to the plurality of functional modules by the metering module, where the second indication information is used to indicate the plurality of functional modules to send communication state information to the metering module.
In a possible implementation manner, the processing unit is specifically configured to directly send reset indication information to the power supply module if the module with the communication failure is another functional module of the plurality of functional modules except the management module and the metering module; and if the module with the communication fault is the metering module, storing the metering record of the metering module, and sending reset indication information to the power supply module in an idle time period, wherein the idle time period is a time period when the metering electric quantity of the metering module in a unit time period is less than the set electric quantity.
In a third aspect, an embodiment of the present invention provides an electric energy meter, including: an electronic device; the electronic device comprises a memory and a processor, the memory stores a computer program, and the processor is used for calling and running the computer program stored in the memory to execute the steps of the fault handling method of the modular electric energy meter according to the first aspect and any one of the possible implementation manners of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program is configured to, when executed by a processor, implement the steps of the method for handling a fault of a modular electric energy meter according to the first aspect and any one of the possible implementations of the first aspect.
For technical effects brought by any one of the implementation manners of the second aspect to the fourth aspect, reference may be made to technical effects brought by a corresponding implementation manner of the first aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a fault handling method for a modular electric energy meter according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a fault handling method for another modular electric energy meter according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a fault handling method for another modular electric energy meter according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a fault handling apparatus of a modular electric energy meter according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In the description of the present invention, "/" means "or" unless otherwise specified, for example, a/B may mean a or B. "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. Further, "at least one" and "a plurality" mean two or more. The terms "first", "second", and the like do not necessarily limit the number and execution order, and the terms "first", "second", and the like do not necessarily limit the difference.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion for ease of understanding.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules, but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the invention provides a method for handling a fault of a modular electric energy meter. The modularized electric energy meter comprises a power supply module and a plurality of functional modules. The fault handling method comprises steps S101-S103.
S101, the management module periodically receives communication state information of each slave module.
In the embodiment of the application, the communication state information of the slave module is used for indicating whether the communication of the slave module is normal.
In some embodiments, the communication status information may include identification information of the slave module, a communication status identification, an event and time of occurrence of a communication failure, and the like. This is not limited in this application.
In the embodiment of the application, the management module is a functional module with a fault management right in a plurality of functional modules, and the slave module is other functional modules except the management module in the plurality of functional modules;
as a possible implementation manner, the management module may send indication information to each slave module, where the indication information is used to instruct each slave module to periodically send the communication state information to the management module, so that the management module periodically receives the communication state information of each slave module.
As another possible implementation manner, the management module may periodically send polling information to each slave module, and each slave module periodically returns communication status information of each slave module.
S102, the management module determines a functional module with a communication fault based on the communication state information of each slave module.
In some embodiments, the communication status information may include active reporting data and follow-up reporting data.
Illustratively, the active reporting data is data reported by a functional module with a communication failure. The active reported data includes identification information of the functional module with the communication fault, fault type, fault event, fault time and the like.
Illustratively, the follow-up report data is data reported by a functional module that communicates with the functional module in which the communication failure occurs. The following reported data comprises identification information of the functional module with the communication fault, the fault type, the fault event, the fault time and the like.
It should be noted that there is duplication between the active reported data and the following reported data, and the duplication data needs to be discriminated and eliminated.
As a possible implementation manner, the management module analyzes the communication state information of each slave module, and determines to report the fault data actively and report the fault data following the fault data; and the management module eliminates the following reported fault data and determines the functional module with the communication fault.
Correspondingly, after step S102, the management module may further generate a fault record, and report the fault record to the upper device of the electric energy meter. The fault record is used for indicating the functional module with the communication fault.
Compared with the scheme that each functional module directly communicates with the superior device of the electric energy meter and reports the fault information to the superior device of the electric energy meter, the embodiment of the invention can screen the fault information through the management module, eliminate repeated data, reduce the communication pressure between the electric energy meter and the superior device, improve the communication efficiency between the electric energy meter and the superior device and ensure the safe and stable operation of the electric energy meter.
S103, the management module sends reset indication information to the power supply module.
In the embodiment of the application, the indication information is used for indicating the power module to reset the functional module with the communication fault.
As a possible implementation manner, if the module with the communication fault is other functional modules except the management module and the metering module, the module directly sends reset indication information to the power supply module;
therefore, the embodiment of the invention can directly reset a functional module when the functional module has communication faults, ensure the functional module to work and be in a normal state, realize self-repair when the communication faults occur among the modules of the electric energy meter, and ensure the complete machine of the electric energy meter to reliably and stably run.
As another possible implementation manner, if the module with the communication failure is the metering module, the metering record of the metering module is stored, and the reset indication information is sent to the power module in an idle period.
The idle time period is a time period when the metering electric quantity of the metering module in a unit time period is smaller than the set electric quantity.
Therefore, the embodiment of the invention can store the metering record of the metering module firstly and then send the reset indication information to the power supply module in the idle period, thereby avoiding the problem of inaccurate metering of the electric energy meter caused by the missing of the metering record of the metering module. The embodiment of the invention can ensure the metering accuracy of the electric energy meter while ensuring the reliable and stable operation of the whole electric energy meter.
The invention provides a fault processing method of a modular electric energy meter, which is used for processing communication faults of a plurality of functional modules by arranging the functional modules with fault management rights in the functional modules. Periodically receiving the communication state information of each slave module, and determining a functional module with a communication fault based on the communication state information of each slave module; and then, reset indication information is sent to the power supply module to indicate the power supply module to reset the functional module with the communication fault, so that the reset of the functional module with the communication fault is completed, self-repair is realized when the communication fault occurs among the modules of the electric energy meter, and the complete machine of the electric energy meter is ensured to run reliably and stably.
Optionally, as shown in fig. 2, the fault handling method for a modular electric energy meter according to an embodiment of the present invention further includes steps S201 to S205 before step S101.
S201, the management module sends a first request to each slave module.
In the embodiment of the present invention, the first request is used to request the communication port occupancy of each slave module.
S202, the management module receives the first response sent by each slave module.
In the embodiment of the present invention, the first response includes the communication port occupancy of each slave module.
S203, the management module sorts the plurality of functional modules according to the sequence that the communication port occupancy rates of the slave modules and the communication port occupancy rates of the management module are small to large.
And S204, if the rank of the management module is less than the set ranking, the management module continues to hold the fault management right to process the communication fault of the electric energy meter.
As a possible implementation manner, the management module may perform communication fault processing on the electric energy meter by the fault processing method of the modular electric energy meter described in steps S101 to S103 and steps S201 to S205.
And S205, if the rank of the management module is larger than or equal to the set ranking, selecting a function module from the function modules before the set ranking by the management module, handing over the fault management right to the function module by the management module, and processing the communication fault of the electric energy meter by the function module.
As a possible implementation manner, after receiving the fault management right, the functional module may perform communication fault processing on the electric energy meter based on the fault processing method of the modular electric energy meter described in steps S101 to S103 and steps S201 to S205.
Therefore, the embodiment of the invention can monitor the occupancy rate of the communication port of each functional module in real time and determine the functional module with the fault management right of each functional module based on the occupancy rate of the communication port of each functional module. The functional modules with less communication port occupancy rate of each functional module hold the fault management right to process the communication faults of the electric energy meter, thereby realizing the optimal selection of the fault management right, ensuring the self-repairing capability of the communication faults among the modules of the electric energy meter and further improving the probability of the reliable and stable operation of the whole electric energy meter.
Optionally, as shown in fig. 3, the method for handling a fault of a modular power meter according to an embodiment of the present invention further includes steps S301 to S303.
S301, the metering module periodically detects whether the management module is in a normal communication state.
As a possible implementation manner, the management module may periodically send the communication state information to the metering module, so as to ensure that the metering module monitors the communication state of the management module in real time.
For example, when the management module is in normal communication, the management module may send communication state information representing that the communication is normal to the metering module.
For example, when the management module is in communication abnormality, the management module may send communication state information characterizing the communication abnormality to the metering module.
As a possible implementation manner, the metering module may periodically send a second request indicating the backhaul communication state to the management module, and the metering module receives a second response backhaul from the management module to determine whether the management module is in the normal communication state.
For example, if the second response indicates that the management module is communicating normally, the metering module may determine that the management module is in a normal communication state.
For example, if the second response indicates that the management module is in a communication abnormal state, the metering module may determine that the management module is in a communication abnormal state.
For example, if the metering module receives a first response, the metering module may determine that the management module is in a communication exception state.
And S302, if the management module is in a normal communication state, keeping the fault management right unchanged, and performing communication fault processing on the electric energy meter by the management module.
As a possible implementation manner, the management module may perform communication fault processing on the electric energy meter through the fault processing method of the modular electric energy meter described in steps S101 to S103 and steps S201 to S205.
And S303, if the management module is in the abnormal communication state, the metering module holds the fault management right and processes the communication fault of the electric energy meter.
As a possible implementation manner, if the management module is in a communication abnormal state, the metering module sends first indication information to the power supply module, where the first indication information is used for indicating the power supply module to reset the management module.
As a possible implementation manner, if the management module is in the abnormal communication state, the metering module sends second indication information to the plurality of functional modules, where the second indication information is used for indicating the plurality of functional modules to send the communication state information to the metering module.
Therefore, the embodiment of the invention can monitor the management module in real time through the metering module, ensures the self-repairing function of the electric energy meter when the management module has communication faults, further improves the self-repairing capability of the electric energy meter, and further improves the probability of reliable and stable operation of the whole electric energy meter.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 4 is a schematic structural diagram illustrating a fault handling apparatus of a modular electric energy meter according to an embodiment of the present invention. The modularized electric energy meter comprises a power supply module and a plurality of functional modules. The fault processing device is applied to a management module, and the management module is a functional module with a fault management right in a plurality of functional modules. The fault handling apparatus 400 includes a communication unit 401 and a processing unit 402.
A communication unit 401, configured to periodically receive communication status information of each slave module, where the communication status information of the slave module is used to indicate whether communication of the slave module is normal; the management module is a functional module with a fault management right in the plurality of functional modules, and the slave module is other functional modules except the management module in the plurality of functional modules.
A processing unit 402, configured to determine a functional module in which a communication failure occurs based on communication state information of each slave module; and sending reset indication information to the power supply module, wherein the indication information is used for indicating the power supply module to reset the functional module with the communication fault.
In a possible implementation manner, the processing unit 402 is specifically configured to analyze communication state information of each slave module, and determine to actively report fault data and follow-up report fault data; and eliminating the following reported fault data, and determining the functional module with the communication fault. The processing unit 402 is further configured to generate a fault record, where the fault record is used to indicate a functional module with a communication fault; the communication unit 401 is further configured to report a fault record to a superior device of the electric energy meter by the management module.
In a possible implementation manner, the communication unit 401 is specifically configured to send a first request to each slave module, where the first request is used to request the communication port occupancy rate of each slave module; receiving a first response sent by each slave module, wherein the first response comprises the communication port occupancy rate of each slave module; the processing unit 402 is further configured to sort the plurality of function modules based on a sequence of the communication port occupancy rates of the slave modules and the communication port occupancy rate of the management module from small to large; if the rank of the management module is less than the set ranking, continuing to hold the fault management right and processing the communication fault of the electric energy meter; if the rank of the management module is more than or equal to the set ranking, the management module selects a function module from the function modules before the set ranking, the fault management right is handed over to the function module, and the function module carries out communication fault processing on the electric energy meter.
In a possible implementation manner, the communication unit 401 is further configured to periodically detect whether the management module is in a normal communication state; the processing unit is also used for keeping the fault management right unchanged if the management module is in a normal communication state, and the management module is used for processing the communication fault of the electric energy meter; and if the management module is in the abnormal communication state, the metering module holds the fault management right to process the communication fault of the electric energy meter.
In a possible implementation manner, the processing unit 402 is specifically configured to, if the management module is in a communication abnormal state, send first indication information to the power supply module by the metering module, where the first indication information is used to indicate the power supply module to reset the management module.
In a possible implementation manner, the processing unit 402 is specifically configured to send second indication information to the plurality of functional modules if the management module is in an abnormal communication state, where the second indication information is used to instruct the plurality of functional modules to send communication state information to the metering module.
In a possible implementation manner, the processing unit 402 is specifically configured to directly send reset indication information to the power module if the module with the communication failure is another functional module of the plurality of functional modules except the management module and the metering module; and if the module with the communication fault is the metering module, storing the metering record of the metering module, and sending reset indication information to the power supply module in an idle time period, wherein the idle time period is a time period when the metering electric quantity of the metering module in a unit time period is less than the set electric quantity.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 5, the electronic apparatus 500 of this embodiment includes: a processor 501, a memory 502 and a computer program 503 stored in said memory 502 and executable on said processor 501. The processor 501 executes the computer program 503 to implement the steps in the above-mentioned method embodiments, such as the steps S101 to S103 shown in fig. 1 or the steps S201 to S205 shown in fig. 2. Alternatively, the processor 501, when executing the computer program 503, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the communication unit 401 and the processing unit 402 shown in fig. 4.
Illustratively, the computer program 503 may be partitioned into one or more modules/units that are stored in the memory 502 and executed by the processor 501 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 503 in the electronic device 500. For example, the computer program 503 may be divided into the communication unit 401 and the processing unit 402 shown in fig. 4.
The Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 502 may be an internal storage unit of the electronic device 500, such as a hard disk or a memory of the electronic device 500. The memory 502 may also be an external storage device of the electronic device 500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 500. Further, the memory 502 may also include both internal storage units and external storage devices of the electronic device 500. The memory 502 is used for storing the computer programs and other programs and data required by the terminal. The memory 502 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The above-mentioned embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A fault handling method for a modular electric energy meter is characterized in that the electric energy meter comprises a power module and a plurality of functional modules, and the fault handling method comprises the following steps:
the management module periodically receives communication state information of each slave module, wherein the communication state information of the slave module is used for indicating whether the communication of the slave module is normal or not; the management module is a functional module with a fault management right in the plurality of functional modules, and the slave module is other functional modules except the management module in the plurality of functional modules;
the management module determines a functional module with a communication fault based on the communication state information of each slave module;
and the management module sends reset indication information to the power supply module, wherein the indication information is used for indicating the power supply module to reset the functional module with the communication fault.
2. The method as claimed in claim 1, wherein the step of determining, by the management module, the functional module with the communication fault based on the communication status information of the slave modules comprises:
the management module analyzes the communication state information of each slave module and determines active reporting fault data and follow-up reporting fault data;
the management module rejects the following reported fault data and determines the functional module with the communication fault;
after the management module determines the functional module with the communication fault based on the communication state information of each slave module, the management module further includes:
the management module generates a fault record, wherein the fault record is used for indicating the functional module with the communication fault;
and the management module reports the fault record to the superior equipment of the electric energy meter.
3. The method of claim 1, wherein before the management module periodically receives the communication status information of each slave module, the method further comprises:
the management module sends a first request to each slave module, wherein the first request is used for requesting the communication port occupancy rate of each slave module;
the management module receives a first response sent by each slave module, wherein the first response comprises the communication port occupancy rate of each slave module;
the management module sorts the plurality of functional modules based on the sequence that the communication port occupancy rates of the slave modules and the communication port occupancy rates of the management module are small to large;
if the rank of the management module is less than the set ranking, the management module continues to hold the fault management right and carries out communication fault processing on the electric energy meter;
if the ranking of the management module is larger than or equal to the set ranking, the management module selects a function module from the function modules before the set ranking, the management module hands over the fault management right to the function module, and the function module processes the communication fault of the electric energy meter.
4. The method of claim 1, further comprising:
the metering module periodically detects whether the management module is in a normal communication state;
if the management module is in a normal communication state, the fault management right is kept unchanged, and the management module carries out communication fault processing on the electric energy meter;
and if the management module is in the abnormal communication state, the metering module holds the fault management right and processes the communication fault of the electric energy meter.
5. The method as claimed in claim 4, wherein the communication fault handling of the electric energy meter is performed by the metering module holding the fault management right if the management module is in the abnormal communication state, and includes:
and if the management module is in an abnormal communication state, the metering module sends first indication information to the power supply module, wherein the first indication information is used for indicating the power supply module to reset the management module.
6. The method as claimed in claim 4, wherein the communication fault handling of the electric energy meter is performed by the metering module holding the fault management right if the management module is in the abnormal communication state, and includes:
and if the management module is in an abnormal communication state, the metering module sends second indication information to the functional modules, and the second indication information is used for indicating the functional modules to send the communication state information to the metering module.
7. The method of claim 1, wherein the step of sending the reset indication information to the power module by the management module comprises:
if the module with the communication fault is other functional modules except the management module and the metering module, the module directly sends the reset indication information to the power supply module;
and if the module with the communication fault is the metering module, storing the metering record of the metering module, and sending reset indication information to the power supply module in an idle time period, wherein the idle time period is a time period when the metering electric quantity of the metering module in a unit time period is smaller than the set electric quantity.
8. The utility model provides a fault handling device of module electric energy meter which characterized in that, the electric energy meter includes power module and a plurality of functional module, fault handling device is applied to the management module, the management module is the functional module that has the fault management right among a plurality of functional module, fault handling device includes:
the communication unit is used for periodically receiving communication state information of each slave module, wherein the communication state information of the slave module is used for indicating whether the communication of the slave module is normal or not; the slave module is other functional modules except the management module in the plurality of functional modules;
the processing unit is used for determining a functional module with a communication fault based on the communication state information of each slave module; and sending reset indication information to the power supply module, wherein the indication information is used for indicating the power supply module to reset the functional module with the communication fault.
9. An electric energy meter, comprising: an electronic device;
the electronic device comprises a memory storing a computer program and a processor for calling and running the computer program stored in the memory to perform the steps of the fault handling method of the modular electric energy meter according to any one of claims 1 to 7.
CN202211478967.1A 2022-11-24 2022-11-24 Fault processing method and device for modular electric energy meter and electric energy meter Active CN115580523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211478967.1A CN115580523B (en) 2022-11-24 2022-11-24 Fault processing method and device for modular electric energy meter and electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211478967.1A CN115580523B (en) 2022-11-24 2022-11-24 Fault processing method and device for modular electric energy meter and electric energy meter

Publications (2)

Publication Number Publication Date
CN115580523A true CN115580523A (en) 2023-01-06
CN115580523B CN115580523B (en) 2023-03-10

Family

ID=84590688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211478967.1A Active CN115580523B (en) 2022-11-24 2022-11-24 Fault processing method and device for modular electric energy meter and electric energy meter

Country Status (1)

Country Link
CN (1) CN115580523B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2732592A1 (en) * 2011-02-21 2012-08-21 David A. Kelly Smart bi-directional electric energy storage and multifunction power conversion system
CN202929106U (en) * 2012-12-10 2013-05-08 温州市创力电子有限公司 Wall-mounted electronic three-phase four-wire intelligent electric energy meter
CN107561478A (en) * 2016-06-30 2018-01-09 湖南东瑞智能仪表有限公司 A kind of electric energy meter complete machine hardware fault automatic detection device and its detection method
CN111722173A (en) * 2020-05-29 2020-09-29 宁波三星医疗电气股份有限公司 Electric energy meter metering fault self-checking method and system
CN214252961U (en) * 2021-03-01 2021-09-21 云南电网有限责任公司电力科学研究院 IR46 electric energy meter fault simulation device
CN114488915A (en) * 2022-03-31 2022-05-13 石家庄科林电气股份有限公司 Processing method for abnormal reset of MCU and electric energy meter for realizing method
CN115267646A (en) * 2022-07-27 2022-11-01 南京飞腾电子科技有限公司 Method for detecting state of electric energy meter and related equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2732592A1 (en) * 2011-02-21 2012-08-21 David A. Kelly Smart bi-directional electric energy storage and multifunction power conversion system
CN202929106U (en) * 2012-12-10 2013-05-08 温州市创力电子有限公司 Wall-mounted electronic three-phase four-wire intelligent electric energy meter
CN107561478A (en) * 2016-06-30 2018-01-09 湖南东瑞智能仪表有限公司 A kind of electric energy meter complete machine hardware fault automatic detection device and its detection method
CN111722173A (en) * 2020-05-29 2020-09-29 宁波三星医疗电气股份有限公司 Electric energy meter metering fault self-checking method and system
CN214252961U (en) * 2021-03-01 2021-09-21 云南电网有限责任公司电力科学研究院 IR46 electric energy meter fault simulation device
CN114488915A (en) * 2022-03-31 2022-05-13 石家庄科林电气股份有限公司 Processing method for abnormal reset of MCU and electric energy meter for realizing method
CN115267646A (en) * 2022-07-27 2022-11-01 南京飞腾电子科技有限公司 Method for detecting state of electric energy meter and related equipment

Also Published As

Publication number Publication date
CN115580523B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN111626443A (en) Operation and maintenance method, system, device, equipment and storage medium of power equipment
CN113125851B (en) Power consumption statistical method, device, equipment and storage medium
CN105808407A (en) Equipment management method, equipment and equipment management controller
CN111899011A (en) Medical bill reconciliation system, computer equipment and storage medium
CN109242433A (en) A kind of graphical system and method configured and execute office service process
CN111509706A (en) Power supply topology information correction method, system, device and storage medium
CN109447553A (en) A kind of checking method of inventory, system and terminal device
CN108181546A (en) Localization method, positioning device and the terminal device of distribution network failure
CN106155826B (en) For the method and system of mistake to be detected and handled in bus structures
CN101800672B (en) Equipment detection method and equipment
CN109325603B (en) Fault request processing method and device and terminal equipment
CN113077359B (en) Line loss abnormity investigation method, device, equipment and storage medium
CN110083512A (en) The method and device of cluster monitoring
CN115580523B (en) Fault processing method and device for modular electric energy meter and electric energy meter
CN115623464B (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN111600942B (en) Report processing method, device and equipment
CN115060966B (en) Electric quantity metering method and device and electric energy meter
CN104462116A (en) Data selecting method and device
CN113376564B (en) Smart electric meter metering correction method and device based on data analysis and terminal
CN110223132A (en) Order processing method, apparatus, terminal and storage medium based on more authorization roles
CN109600738A (en) Updating method of user information, device, equipment and storage medium
CN104363113A (en) Business continuity detection method
CN111813719B (en) Data polling method and device and terminal equipment
US20180074123A1 (en) System Test Mode For Electricity Meter In A Metering Network
CN110493247A (en) A kind of distribution terminal communication check method, system, equipment and computer media

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
GR01 Patent grant
GR01 Patent grant