CN115623464B - Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter - Google Patents

Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter Download PDF

Info

Publication number
CN115623464B
CN115623464B CN202211465375.6A CN202211465375A CN115623464B CN 115623464 B CN115623464 B CN 115623464B CN 202211465375 A CN202211465375 A CN 202211465375A CN 115623464 B CN115623464 B CN 115623464B
Authority
CN
China
Prior art keywords
bluetooth module
fault
electric energy
energy meter
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.)
Active
Application number
CN202211465375.6A
Other languages
Chinese (zh)
Other versions
CN115623464A (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 CN202211465375.6A priority Critical patent/CN115623464B/en
Publication of CN115623464A publication Critical patent/CN115623464A/en
Application granted granted Critical
Publication of CN115623464B publication Critical patent/CN115623464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a fault processing method and device for a Bluetooth module of an electric energy meter and the electric energy meter. The fault processing method comprises the following steps: monitoring the working state of a Bluetooth module of the electric energy meter; if the Bluetooth module is in a fault state, determining the fault type of the Bluetooth module; and resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module based on the fault type of the Bluetooth module. The invention can timely discover and process the fault of the Bluetooth module of the electric energy meter, and ensures the normal metering function of the electric energy meter.

Description

Fault processing method and device for Bluetooth module of 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 Bluetooth module of an electric energy meter and the electric energy meter.
Background
With the development of communication technology, the bluetooth module is gradually applied to the intelligent electric energy meter in a large scale. In the current newest intelligent internet of things electric energy meter, the Bluetooth module is an important channel interacting with the outside. When the bluetooth breaks down, the loss of bluetooth networking function, unable normal and external interaction of intelligent thing antithetical couplet electric energy meter. In severe cases, the failure of the bluetooth module may cause the failure of the whole electric energy meter, which affects the metering function of the electric energy meter.
Disclosure of Invention
The invention provides a fault processing method and device for a Bluetooth module of an electric energy meter and the electric energy meter, which can timely discover and process faults of the Bluetooth module of the electric energy meter and ensure the normal metering function of the electric energy meter.
In a first aspect, the present invention provides a fault handling method for a bluetooth module of an electric energy meter, including: monitoring the working state of a Bluetooth module of the electric energy meter; if the Bluetooth module is in a fault state, determining the fault type of the Bluetooth module; and resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module based on the fault type of the Bluetooth module.
The invention provides a fault processing method of a Bluetooth module of an electric energy meter, which is characterized in that the working state of the Bluetooth module of the electric energy meter is detected, the fault type of the Bluetooth module is determined when the Bluetooth module has a fault, and the Bluetooth module is reset or the power supply of the Bluetooth module is disconnected based on the fault type. Therefore, the Bluetooth module of the electric energy meter can be timely processed, and the fault of the Bluetooth module of the electric energy meter can be timely found and processed. According to the embodiment of the invention, the self-repairing of the Bluetooth module or the cutting off of the Bluetooth module from the electric energy meter is realized by resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module, the influence of the Bluetooth module on the whole electric energy meter is avoided, and the normal metering function of the electric energy meter is ensured.
In a possible implementation manner, monitoring an operating state of a bluetooth module of the electric energy meter includes: receiving self-detection information of the Bluetooth module, wherein the self-detection information is used for indicating the working state of the Bluetooth module; and determining whether the Bluetooth module is in a fault state or not based on the self-detection information.
In a possible implementation manner, monitoring an operating state of a bluetooth module of the electric energy meter includes: periodically sending heartbeat information to the Bluetooth module; the heartbeat information is used for testing the communication state of the Bluetooth module; if the heartbeat response of the Bluetooth module is received within the set time length, determining that the Bluetooth module is in a normal state; if the heartbeat response of the Bluetooth module is not received within the set time length, determining that the Bluetooth module is in a fault state; the starting time of the set duration is the ending time of sending heartbeat information to the Bluetooth module for the last time.
In one possible implementation manner, monitoring the operating state of the bluetooth module of the electric energy meter includes: detecting the working current of the Bluetooth module through a power supply detection circuit of the electric energy meter; and if the change rate of the working current of the Bluetooth module is greater than the set change rate, determining that the Bluetooth module is in a fault state.
In one possible implementation, determining the fault type of the bluetooth module includes: determining the fault type of the Bluetooth module based on the self-detection information sent by the Bluetooth module, wherein the fault type comprises a fault to be reset or a fault to be powered off, and the fault to be reset comprises any one of the following items: unsuccessful matching, intermittent connection, abnormal data transmission and signal interference; the fault to be powered off comprises large-current high-temperature abnormity; or if the heartbeat response of the Bluetooth module is not received within the set time length, determining the fault type of the Bluetooth module as a fault to be reset; or, determining the fault type of the Bluetooth module based on the working current of the Bluetooth module.
In one possible implementation manner, determining the fault type of the bluetooth module based on the operating current of the bluetooth module includes: if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is less than the set current, determining the fault type of the Bluetooth module as a fault to be reset; and if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is greater than or equal to the set current, determining the fault type of the Bluetooth module as the fault to be powered off.
In a possible implementation manner, after resetting the bluetooth module or disconnecting the power supply of the bluetooth module based on the fault type of the bluetooth module, the method further includes: storing the fault record of the Bluetooth module; the fault record comprises a fault type and a processing mode; and sending the fault record to the superior equipment of the electric energy meter through a carrier channel.
In a second aspect, an embodiment of the present invention provides a fault handling apparatus for a bluetooth module of an electric energy meter, including: the communication module is used for monitoring the working state of a Bluetooth module of the electric energy meter; the processing module is used for determining the fault type of the Bluetooth module if the Bluetooth module is in the fault state; and resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module based on the fault type of the Bluetooth module.
In a possible implementation manner, the communication module is specifically configured to receive self-detection information of the bluetooth module, where the self-detection information is used to indicate an operating state of the bluetooth module; and the processing module is specifically used for determining whether the Bluetooth module is in a fault state or not based on the self-detection information.
In a possible implementation manner, the communication module is specifically configured to periodically send heartbeat information to the bluetooth module; the heartbeat information is used for testing the communication state of the Bluetooth module; the processing module is specifically used for determining that the Bluetooth module is in a normal state if the heartbeat response of the Bluetooth module is received within a set time length; if the heartbeat response of the Bluetooth module is not received within the set time length, determining that the Bluetooth module is in a fault state; wherein, the starting time of the set duration is the ending time of sending the heartbeat information to the Bluetooth module for the last time.
In a possible implementation manner, the communication module is specifically configured to detect an operating current of the bluetooth module through a power detection circuit of the electric energy meter; the processing module is specifically used for determining that the fault of the Bluetooth module is in a fault state if the change rate of the working current of the Bluetooth module is greater than a set change rate;
in a possible implementation manner, the processing module is specifically configured to determine a fault type of the bluetooth module based on self-detection information sent by the bluetooth module, where the fault type includes a fault to be reset or a fault to be powered off, and the fault to be reset includes any one of the following: unsuccessful matching, intermittent connection, abnormal data transmission and signal interference; the fault to be powered off comprises large-current high-temperature abnormity; or if the heartbeat response of the Bluetooth module is not received within the set time length, determining the fault type of the Bluetooth module as a fault to be reset; or, determining the fault type of the Bluetooth module based on the working current of the Bluetooth module.
In a possible implementation manner, the processing module is specifically configured to determine that the fault type of the bluetooth module is a fault to be reset if the change rate of the working current of the bluetooth module is greater than a set change rate and the working current of the bluetooth module is less than a set current; and if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is greater than or equal to the set current, determining the fault type of the Bluetooth module as the fault to be powered off.
In a possible implementation manner, the processing module is specifically configured to store a fault record of the bluetooth module; the fault record comprises a fault type and a processing mode; and sending the fault record to the superior equipment of the electric energy meter through a carrier channel.
In a third aspect, an embodiment of the present invention provides an electric energy meter, including: a control module; the control module comprises a memory storing a computer program and a processor for calling and executing the computer program stored in the memory to perform the steps of the method according to the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, where a computer program is stored, where the computer program is configured to, when executed by a processor, implement the steps of the method according to the first aspect and any possible implementation manner of the first aspect.
The technical effects brought by any one of the implementation manners of the second aspect to the fourth aspect may refer to the technical effects brought by the corresponding implementation manners of the first aspect, and are not described herein again.
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 bluetooth module of an electric energy meter according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an architecture of an electric energy meter according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a fault handling apparatus of a bluetooth module of an electric energy meter according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control module 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" or "a plurality" means 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 present invention provides a method for processing a fault of a bluetooth module of an electric energy meter. The execution subject is a fault handling device. The fault handling method comprises steps S101-S103.
S101, monitoring the working state of a Bluetooth module of the electric energy meter.
In some embodiments, the operating state of the bluetooth module includes: a normal state and a fault state.
As an example, different types of failures may occur in a bluetooth module. The fault type includes a fault to be reset or a fault to be powered off, for example, the fault to be reset includes any one of the following: unsuccessful matching, intermittent connections, abnormal data transmission, and signal interference. As another example, the to-be-powered-off fault includes a large-current high-temperature abnormality.
As a possible implementation manner, the fault processing apparatus may receive self-detection information of the bluetooth module, where the self-detection information is used to indicate an operating state of the bluetooth module; and determining whether the Bluetooth module is in a fault state or not based on the self-detection information.
It should be noted that the bluetooth module can detect itself, and when the bluetooth module detects that itself has a fault, the bluetooth module can send self-detection information to the fault handling device. For example, when the bluetooth module detects that data transmission between the bluetooth module and the upper level device is abnormal, self-detection information may be sent to the fault handling device to prompt the fault handling device that the bluetooth module has the data transmission abnormality.
As another possible implementation manner, the failure processing device may determine whether the bluetooth module is in a failure state through a heartbeat mechanism.
Illustratively, the fault handling apparatus may determine whether the bluetooth module is in a fault state through steps A1-A3.
A1, periodically sending heartbeat information to the Bluetooth module.
In some embodiments, the heartbeat information is used to test the communication status of the bluetooth module.
And A2, if the heartbeat response of the Bluetooth module is received within the set time length, determining that the Bluetooth module is in a normal state.
And A3, if the heartbeat response of the Bluetooth module is not received within the set time length, determining that the Bluetooth module is in a fault state.
Wherein, the starting time of the set duration is the ending time of sending the heartbeat information to the Bluetooth module for the last time.
As another possible implementation manner, the fault processing apparatus may detect the working current of the bluetooth module through a power detection circuit of the electric energy meter; and if the change rate of the working current of the Bluetooth module is greater than the set change rate, determining that the Bluetooth module is in a fault state.
As shown in fig. 2, an embodiment of the present invention provides a schematic diagram of an electric energy meter. The electric energy meter comprises a control module, a Bluetooth module and a power supply detection circuit. The fault processing device of the electric energy meter can be applied to the control module.
In some embodiments, the power detection circuit of the electric energy meter is respectively connected with the control module and the bluetooth module of the electric energy meter. The control module of the electric energy meter can be a main control chip of the electric energy meter.
In some embodiments, the control module provides power to the bluetooth module and monitors the operating state of the bluetooth module. The control module detects the working current of the Bluetooth module through the power supply detection circuit to realize the monitoring of the working state of the Bluetooth module.
Therefore, the embodiment of the invention can monitor the working state of the Bluetooth module in a mode of the hardware of the power supply detection circuit, so that the monitoring of the working state of the Bluetooth module is more accurate and reliable.
As another possible implementation manner, after receiving the self-detection information of the bluetooth module, the fault processing device detects the working current of the bluetooth module through the power detection circuit; and determining whether the Bluetooth module is in a fault state and the fault type when the Bluetooth module is in the fault state based on the self-detection information and the working current. Therefore, the embodiment of the invention can more accurately monitor the working state of the Bluetooth module.
And S102, if the Bluetooth module is in a fault state, determining the fault type of the Bluetooth module.
In some embodiments, the fault type includes a to-reset fault or a to-power-off fault, the to-reset fault including any one of: unsuccessful matching, intermittent connection, abnormal data transmission and signal interference; the fault to be powered off comprises a large-current high-temperature anomaly.
As a possible implementation manner, the fault processing means may determine the fault type of the bluetooth module based on the self-detection information.
For example, if the fault type included in the self-detection information is unsuccessful matching, intermittent connection, abnormal data transmission, or signal interference, the fault processing apparatus may determine that the fault type of the bluetooth module is a to-be-reset fault.
For another example, if the fault type included in the self-detection information is a large-current high-temperature abnormality, the fault processing apparatus may determine that the fault type of the bluetooth module is a to-be-powered-off fault.
As another possible implementation manner, if the heartbeat response of the bluetooth module is not received within the set time period, the fault processing apparatus may determine that the fault type of the bluetooth module is a fault to be reset.
As another possible implementation, the fault handling apparatus may determine the fault type of the bluetooth module based on an operating current of the bluetooth module.
For example, if the change rate of the working current of the bluetooth module is greater than the set change rate and the working current of the bluetooth module is less than the set current, it is determined that the fault type of the bluetooth module is a fault to be reset;
for another example, if the change rate of the operating current of the bluetooth module is greater than the set change rate and the operating current of the bluetooth module is greater than or equal to the set current, it is determined that the fault type of the bluetooth module is a fault to be powered off.
S103, resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module based on the fault type of the Bluetooth module.
For example, if the fault type of the bluetooth module is a fault to be reset, the bluetooth module is reset.
For example, if the fault type of the bluetooth module is a fault to be powered off, the power of the bluetooth module is turned off.
The invention provides a fault processing method of an electric energy meter Bluetooth module, which is characterized in that the working state of the electric energy meter Bluetooth module is monitored, the fault type of the Bluetooth module is determined when the Bluetooth module has a fault, and the Bluetooth module is reset or the power supply of the Bluetooth module is disconnected based on the fault type. Therefore, the Bluetooth module of the electric energy meter can be timely processed, and the fault of the Bluetooth module of the electric energy meter can be timely found and processed. According to the embodiment of the invention, the self-repairing of the Bluetooth module or the cutting off of the Bluetooth module from the electric energy meter is realized by resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module, the influence of the Bluetooth module on the whole electric energy meter is avoided, and the normal metering function of the electric energy meter is ensured.
Optionally, the method for processing a fault of a bluetooth module of an electric energy meter according to the embodiment of the present invention further includes: the fault processing device can store the fault records of the Bluetooth module; the fault record comprises a fault type and a processing mode; and sending the fault record to the superior equipment of the electric energy meter through a carrier channel.
Optionally, the method for processing the fault of the bluetooth module of the electric energy meter according to the embodiment of the present invention further includes: the fault processing device can inquire the fault record of the Bluetooth module when the Bluetooth module has a fault. And if the reset times of the Bluetooth module in the set time period exceed the set times, the power supply of the Bluetooth module is disconnected.
It should be noted that, the number of times of resetting of the bluetooth module in the set time period exceeds the set number of times, which indicates that the fault of the bluetooth module cannot be relieved by resetting, and the power supply of the bluetooth module needs to be disconnected, thereby ensuring that the bluetooth module is offline, avoiding the influence of the bluetooth module on the whole electric energy meter, and ensuring the normal metering function of the 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. 3 shows a schematic structural diagram of a fault handling apparatus of a bluetooth module of an electric energy meter according to an embodiment of the present invention. The fault handling apparatus 200 includes a communication module 201 and a processing module 202.
And the communication module 201 is used for monitoring the working state of the Bluetooth module of the electric energy meter.
The processing module 202 is used for determining the fault type of the Bluetooth module if the Bluetooth module is in a fault state; and resetting the Bluetooth module or disconnecting the power supply of the Bluetooth module based on the fault type of the Bluetooth module.
In a possible implementation manner, the communication module 201 is specifically configured to receive self-detection information of the bluetooth module, where the self-detection information is used to indicate an operating state of the bluetooth module; the processing module 202 is specifically configured to determine whether the bluetooth module is in a failure state based on the self-detection information.
In a possible implementation manner, the communication module 201 is specifically configured to periodically send heartbeat information to the bluetooth module; the heartbeat information is used for testing the communication state of the Bluetooth module; the processing module 202 is specifically configured to determine that the bluetooth module is in a normal state if a heartbeat response of the bluetooth module is received within a set duration; if the heartbeat response of the Bluetooth module is not received within the set time length, determining that the Bluetooth module is in a fault state; the starting time of the set duration is the ending time of sending heartbeat information to the Bluetooth module for the last time.
In a possible implementation manner, the communication module 201 is specifically configured to detect an operating current of the bluetooth module through a power detection circuit of the electric energy meter; the processing module 202 is specifically configured to determine that a fault of the bluetooth module is in a fault state if a change rate of a working current of the bluetooth module is greater than a set change rate;
in a possible implementation manner, the processing module 202 is specifically configured to determine a fault type of the bluetooth module based on self-detection information sent by the bluetooth module, where the fault type includes a fault to be reset or a fault to be powered off, and the fault to be reset includes any one of the following: unsuccessful matching, intermittent connection, abnormal data transmission and signal interference; the fault to be powered off comprises large-current high-temperature abnormity; or if the heartbeat response of the Bluetooth module is not received within the set time length, determining the fault type of the Bluetooth module as a fault to be reset; or, determining the fault type of the Bluetooth module based on the working current of the Bluetooth module.
In a possible implementation manner, the processing module 202 is specifically configured to determine that the fault type of the bluetooth module is a fault to be reset if the change rate of the working current of the bluetooth module is greater than a set change rate and the working current of the bluetooth module is less than a set current; and if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is greater than or equal to the set current, determining the fault type of the Bluetooth module as a fault to be powered off.
In a possible implementation manner, the processing module 202 is specifically configured to store a fault record of the bluetooth module; the fault record comprises a fault type and a processing mode; and sending the fault record to the superior equipment of the electric energy meter through a carrier channel.
Fig. 4 is a schematic structural diagram of a control module according to an embodiment of the present invention. As shown in fig. 4, the control module 300 of this embodiment includes: a processor 301, a memory 302 and a computer program 303 stored in said memory 302 and executable on said processor 301. The processor 301, when executing the computer program 303, implements the steps in the above-described method embodiments, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 301 executes the computer program 303 to realize the functions of the modules/units in the device embodiments, for example, the functions of the communication module 201 and the processing module 202 shown in fig. 3.
Illustratively, the computer program 303 may be partitioned into one or more modules/units, which are stored in the memory 302 and executed by the processor 301 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 of the computer program 303 in the control module 300. For example, the computer program 303 may be divided into the communication module 201 and the processing module 202 shown in fig. 3.
The Processor 301 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 memory 302 may be an internal storage unit of the control module 300, such as a hard disk or a memory of the control module 300. The memory 302 may also be an external storage device of the control module 300, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the control module 300. Further, the memory 302 may also include both an internal storage unit and an external storage device of the control module 300. The memory 302 is used for storing the computer programs and other programs and data required by the terminal. The memory 302 may also be used to temporarily store data that has been output or is to be output.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described 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 for convenience of distinguishing from each other, 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 description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any 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 technical solution. 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 may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, 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 for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should 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 (5)

1. A fault processing method for a Bluetooth module of an electric energy meter is characterized by comprising the following steps:
monitoring the working state of a Bluetooth module of the electric energy meter;
if the Bluetooth module is in a fault state, determining the fault type of the Bluetooth module;
resetting the Bluetooth module or disconnecting the power of the Bluetooth module based on the fault type of the Bluetooth module;
the operating condition of the bluetooth module of monitoring electric energy meter includes: detecting the working current of the Bluetooth module through a power supply detection circuit of the electric energy meter; if the change rate of the working current of the Bluetooth module is greater than the set change rate, determining that the Bluetooth module is in a fault state;
the determining the fault type of the bluetooth module includes: if the change rate of the working current of the Bluetooth module is greater than a set change rate and the working current of the Bluetooth module is less than a set current, determining that the fault type of the Bluetooth module is a fault to be reset; and if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is greater than or equal to the set current, determining that the fault type of the Bluetooth module is a fault to be powered off.
2. The method for processing the fault of the Bluetooth module of the electric energy meter according to claim 1, wherein after the Bluetooth module is reset or powered off based on the fault type of the Bluetooth module, the method further comprises:
storing the fault record of the Bluetooth module; the fault record comprises a fault type and a processing mode;
and sending the fault record to superior equipment of the electric energy meter through a carrier channel.
3. The utility model provides a fault handling device of electric energy meter bluetooth module which characterized in that includes:
the communication module is used for monitoring the working state of the Bluetooth module of the electric energy meter;
the processing module is used for determining the fault type of the Bluetooth module if the Bluetooth module is in a fault state; resetting the Bluetooth module or disconnecting the power of the Bluetooth module based on the fault type of the Bluetooth module;
the communication module is specifically used for detecting the working current of the Bluetooth module through a power supply detection circuit of the electric energy meter;
the processing module is specifically configured to determine that the bluetooth module fault is in a fault state if a change rate of a working current of the bluetooth module is greater than a set change rate; if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is less than the set current, determining the fault type of the Bluetooth module as a fault to be reset; and if the change rate of the working current of the Bluetooth module is greater than the set change rate and the working current of the Bluetooth module is greater than or equal to the set current, determining that the fault type of the Bluetooth module is a fault to be powered off.
4. An electric energy meter, comprising: a control module;
the control module comprises a memory storing a computer program and a processor for invoking and executing the computer program stored in the memory to perform the steps of the method according to claim 1 or 2.
5. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to claim 1 or 2 above.
CN202211465375.6A 2022-11-22 2022-11-22 Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter Active CN115623464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211465375.6A CN115623464B (en) 2022-11-22 2022-11-22 Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211465375.6A CN115623464B (en) 2022-11-22 2022-11-22 Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter

Publications (2)

Publication Number Publication Date
CN115623464A CN115623464A (en) 2023-01-17
CN115623464B true CN115623464B (en) 2023-03-14

Family

ID=84878584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211465375.6A Active CN115623464B (en) 2022-11-22 2022-11-22 Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter

Country Status (1)

Country Link
CN (1) CN115623464B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116761196B (en) * 2023-08-21 2023-12-22 深圳市华曦达科技股份有限公司 Recovery method and device for abnormal work of Bluetooth module

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4684946B2 (en) * 2006-05-30 2011-05-18 株式会社日立産機システム Monitoring device
CN101329381A (en) * 2008-07-28 2008-12-24 庞元俊 Method for detecting short circuit fault with current change rate
CN103560584B (en) * 2013-10-25 2015-08-26 中国东方电气集团有限公司 A kind of based on wireless photovoltaic plant state monitoring apparatus
CN107517127A (en) * 2017-08-18 2017-12-26 深圳创维汽车智能有限公司 Processing method, mobile unit and the storage medium of communication abnormality
CN109714811A (en) * 2018-12-10 2019-05-03 惠州Tcl移动通信有限公司 A kind of SOT state of termination detection method, device, terminal and storage medium
CN210867721U (en) * 2019-12-04 2020-06-26 广东电网有限责任公司 Device for detecting faults of communication module of metering terminal
CN111275215A (en) * 2020-02-29 2020-06-12 云南电网有限责任公司西双版纳供电局 Voltage monitor fault self-diagnosis method and system based on Internet of things
WO2022002146A1 (en) * 2020-06-30 2022-01-06 云丁网络技术(北京)有限公司 Smart device control method and system
CN212966482U (en) * 2020-07-10 2021-04-13 柒贰零(北京)健康科技有限公司 Intelligent household appliance power failure fault reporting device

Also Published As

Publication number Publication date
CN115623464A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN111131936B (en) Optical module monitoring method, monitoring device, switch and storage medium
CN115623464B (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN104320308A (en) Method and device for detecting anomalies of server
CN106407059A (en) Server node testing system and method
CN109085811B (en) Equipment point inspection method and device
CN112527582A (en) Detection method, detection device, detection equipment and storage medium of server cable
CN106155826B (en) For the method and system of mistake to be detected and handled in bus structures
CN101800672B (en) Equipment detection method and equipment
CN117251401A (en) Serial port information output control system, method and device
CN115060966B (en) Electric quantity metering method and device and electric energy meter
CN115543679B (en) Liquid leakage detection line detection method, system, device, server and electronic equipment
CN116755024A (en) Method and device for testing electric energy meter communication interface and readable storage medium
CN113447880B (en) Fault diagnosis method and device for electric energy meter and terminal equipment
KR20200124472A (en) Apparatus for diagnosis error of a vehicle, system having the same and method thereof
CN107238754B (en) Method and device for detecting electric quantity
US20180074123A1 (en) System Test Mode For Electricity Meter In A Metering Network
CN110213120B (en) Message middleware pressure measurement method and device and terminal equipment
CN115580523B (en) Fault processing method and device for modular electric energy meter and electric energy meter
CN112383462A (en) Network device and bus configuration method
CN115357458B (en) Method and device for testing TISDM display information
CN113271223B (en) Unified communication management method for charging module and terminal equipment
CN111986707B (en) Disk link exception handling test method and device
CN112466383B (en) Test method, test device and test equipment for arbitration reliability of storage system
CN109714211B (en) Marketing interface troubleshooting method and terminal equipment
US9989379B2 (en) Techniques for counting resource usage

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