CN115190186A - Electric energy meter information reporting method, electric energy meter and storage medium - Google Patents

Electric energy meter information reporting method, electric energy meter and storage medium Download PDF

Info

Publication number
CN115190186A
CN115190186A CN202210803502.2A CN202210803502A CN115190186A CN 115190186 A CN115190186 A CN 115190186A CN 202210803502 A CN202210803502 A CN 202210803502A CN 115190186 A CN115190186 A CN 115190186A
Authority
CN
China
Prior art keywords
communication protocol
concentrator
information
electric energy
energy meter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210803502.2A
Other languages
Chinese (zh)
Inventor
丁小燕
周杰
刘志成
秦争营
黄顺双
洪涛
陈家焱
周娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and 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 Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN202210803502.2A priority Critical patent/CN115190186A/en
Publication of CN115190186A publication Critical patent/CN115190186A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the invention provides an electric energy meter information reporting method and device, an electric energy meter and a storage medium, and relates to the field of electric power systems. The method is applied to the electric energy meter, the electric energy meter is in communication connection with the concentrator, and the method comprises the following steps: a message sent by the concentrator is received. The message contains information characterizing the communication protocol employed by the concentrator. And identifying the target communication protocol adopted by the concentrator according to the information used for characterizing the communication protocol adopted by the concentrator in the message. And when the target communication protocol is inconsistent with the current communication protocol of the electric energy meter, updating the current communication protocol to the target communication protocol. And reporting the information to be reported to the concentrator according to the target communication protocol. The communication protocol adopted by the concentrator is the same by changing the mode of the current communication protocol of the electric energy meter, so that the electric energy meter can report the information to the concentrator successfully.

Description

Electric energy meter information reporting method, electric energy meter and storage medium
Technical Field
The invention relates to the field of power systems, in particular to an electric energy meter information reporting method, an electric energy meter and a storage medium.
Background
The intelligent electric energy meter monitors some important and urgent events and reports the events to a master station or a concentrator in a transformer area when necessary. So that the power bureau can timely process the relevant emergency, such as suspected electricity stealing behavior of the user, overload of the electricity load and the like.
Due to the electric energy meter and the concentrator, a mode of communication in a 645 communication protocol or a mode of communication in a 698 communication protocol exists, however, when the communication protocol of the concentrator is different from that of the electric energy meter in one cell, there is a case that the electric energy meter fails to report information to the concentrator.
Disclosure of Invention
The invention aims to provide an electric energy meter information reporting method, an electric energy meter and a storage medium, which can switch an adopted communication protocol into a communication protocol consistent with a target communication protocol adopted by a concentrator so as to successfully report information.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a method for reporting information of an electric energy meter, which is applied to an electric energy meter, where the electric energy meter is in communication connection with a concentrator, and the method includes:
receiving a message sent by the concentrator; the message contains information for representing the concentrator to adopt a communication protocol;
identifying a target communication protocol adopted by the concentrator according to information used for representing the communication protocol adopted by the concentrator in the message;
when the target communication protocol is inconsistent with the current communication protocol of the electric energy meter, updating the current communication protocol to the target communication protocol;
and reporting the information to be reported to the concentrator according to the target communication protocol.
In an alternative embodiment, the step of receiving the message sent by the concentrator comprises:
receiving a message sent by equipment to be determined;
matching the message with a preset condition; the preset condition is used for identifying that the equipment to be determined is the concentrator;
and if the messages are matched, determining that the messages are sent by the concentrator.
In an optional embodiment, the step of matching the message with a preset condition includes:
determining whether the source of the message is the concentrator or not according to the communication address type and/or the function information contained in the message;
and if the communication address type and/or the function information are matched with the concentrator, the equipment to be determined is the concentrator.
In an optional implementation manner, when the target communication protocol is a 698 communication protocol and the current communication protocol is a 645 communication protocol, the step of updating the current communication protocol to the target communication protocol includes:
updating the 645 communication protocol to the 698 communication protocol;
the step of reporting the information to be reported to the concentrator according to the target communication protocol includes:
reporting the information to be reported to the concentrator;
receiving a first confirmation command sent by the concentrator; the first acknowledgement command is used for indicating that the information to be reported is reported successfully.
In an alternative embodiment, the electric energy meter is in communication connection with the concentrator through a communication module; when the target communication protocol is a 645 communication protocol and the current communication protocol is a 698 communication protocol, the step of updating the current communication protocol to the target communication protocol includes:
updating the 698 communication protocol to the 645 communication protocol;
the step of reporting the information to be reported to the concentrator according to the target communication protocol includes:
when an EventOut pin of the electric energy meter is in a high-impedance state and the information to be reported is a state word, reporting the state word to the concentrator;
receiving a second confirmation command sent by the concentrator for the status word or a second confirmation command sent by the communication module for the status word; the second acknowledgement command is used for indicating that the status word is reported successfully.
In an alternative embodiment, after the step of receiving the confirmation command, the method further comprises:
and deleting the information to be reported.
In an optional implementation manner, the step of deleting the information to be reported includes:
when the information to be reported is an event and a reading command sent by the concentrator aiming at the event is received, deleting the information to be reported; or the like, or, alternatively,
when the information to be reported is a state word, resetting the flag bit of the state word and deleting the information to be reported;
in an alternative embodiment, the method further comprises:
when the 698 communication protocol is updated to the 645 communication protocol and there is at least one status word to be reported, if the flag bits of all the status words are completely reset, the EventOut pin is set to a low level.
In a second aspect, the present invention provides an electric energy meter comprising: memory, a processor and a program stored on the memory and executable on the processor, which when executed by the processor implements the method according to any of the preceding embodiments.
In a third aspect, the present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any one of the preceding embodiments.
The beneficial effects of the embodiment of the invention include, for example: and receiving a message sent by the concentrator, and identifying a target communication protocol adopted by the concentrator. And when the current communication protocol of the electric energy meter is inconsistent with the target communication protocol, updating the current communication protocol of the electric energy meter to the target communication protocol. And reporting the information to be reported to the concentrator according to the target communication protocol. The communication protocol adopted by the concentrator is the same by changing the mode of the current communication protocol of the electric energy meter, so that the electric energy meter can report the information to the concentrator successfully.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an electric energy meter according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a method for reporting information of an electric energy meter according to an embodiment of the present invention.
Fig. 3 is a second flowchart of a method for reporting information of an electric energy meter according to an embodiment of the present invention.
Fig. 4 is a third schematic flowchart of a method for reporting information on an electric energy meter according to an embodiment of the present invention.
Fig. 5 is a functional module diagram of an electric energy meter information reporting device according to an embodiment of the present invention.
Icon: 100-an electric energy meter; 110-a communication unit; 120-a memory; 130-a processor;
200-an electric energy meter information reporting device; 210-a receiving module; 220-an identification module; 230-an update module; 240-reporting module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In the prior art, only a concentrator and an electric energy meter with the same communication protocol can be assembled in the same area, so that the concentrator and the electric energy meter can normally communicate with each other. At present, two electric energy meters are generally provided, one electric energy meter adopting a 645 communication protocol belongs to an old electric energy meter, and the other electric energy meter adopting a 698 communication protocol belongs to a novel electric energy meter.
For a district adopting the 645 communication protocol, namely, the communication protocol adopted by the concentrator in the district and the communication protocol adopted by the electric energy meter are both 645 communication protocols. However, when the electric energy meter in the station area is damaged or replaced, the electric energy meter adopting 698 communication protocol is usually used for replacement. Therefore, the electric energy meter and the concentrator cannot report some information which needs to be actively reported to the concentrator in time due to different communication protocols.
Based on the problems in the prior art, please refer to fig. 1, which is a schematic structural diagram of an electric energy meter 100 according to an embodiment of the present invention. The power meter 100 includes a memory 120, a processor 130, and a communication unit 110.
The memory 120, the processor 130, and the communication unit 110 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The electric energy meter information reporting method may be stored in the memory 120 in the form of software or Firmware (Firmware) or may be a software function module solidified in an Operating System (OS) of the electric energy meter 100. Processor 130 is used to execute executable modules stored in memory 120.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction. The communication unit 110 is used for communication connection with an external system.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be 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 components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Fig. 2 is a schematic flow chart of an electric energy meter information reporting method according to an embodiment of the present invention, in order to timely notify the concentrator of some information such as electricity stealing behavior events or electricity utilization compliance overload. Referring to fig. 2, the method can be applied to the electric energy meter, and the electric energy meter is connected to the concentrator in a communication manner, and can be implemented by the following steps:
step S101, receiving the message sent by the concentrator.
Wherein the message contains information characterizing the communication protocol employed by the concentrator.
And S102, identifying a target communication protocol adopted by the concentrator according to the information used for representing the communication protocol adopted by the concentrator in the message.
And S103, when the target communication protocol is inconsistent with the current communication protocol of the electric energy meter, updating the current communication protocol to the target communication protocol.
And step S104, reporting the information to be reported to the concentrator according to the target communication protocol.
Upon receiving a message sent by the concentrator, a target communication protocol employed by the concentrator is identified. And comparing the target communication protocol with the current communication protocol of the electric energy meter, if the target communication protocol is consistent with the current communication protocol of the electric energy meter, indicating that the electric energy meter is consistent with the communication protocol adopted by the concentrator, and reporting the information to be reported to the concentrator according to the target communication protocol, namely reporting the information to be reported to the concentrator according to the current communication protocol of the electric energy meter. If the communication protocols are inconsistent with each other, the current communication protocol needs to be updated to the target communication protocol, and the reported information can be reported to the concentrator according to the target communication protocol, namely the information to be reported is reported to the concentrator according to the updated target communication protocol. Therefore, the electric energy meter updates the current communication protocol to be consistent with the target communication protocol by identifying the target communication protocol adopted by the concentrator, so that the concentrator can receive and analyze the information reported by the electric energy meter, namely the electric energy meter reports the information successfully or timely informs the concentrator of the information.
In addition, the communication protocol of the concentrator is automatically identified and automatically switched to the communication protocol consistent with the communication protocol adopted by the concentrator, so that the concentrator or the electric energy meter can be gradually eliminated, and the waste of material resources is reduced.
Continuing with fig. 2, the electric energy meter is illustratively communicatively coupled to the concentrator via the communication module. The communication module can not only forward the information of the electric energy meter or the concentrator, but also automatically send the information to the electric energy meter so as to match with the communication rate of the electric energy meter. And for the electric energy meter, the message is sent by the communication module. Whether the initial source device of the message is a concentrator or a communication module can be determined through information carried in the message.
It should be noted that, the communication module is for matching the communication rate of the electric energy meter, and may send messages of a plurality of different communication protocols to ensure successful communication with the electric energy meter without knowing the communication protocol adopted by the electric energy meter.
Alternatively, step S101 may be determined to be implemented by: and receiving a message sent by the equipment to be determined. And matching the message with preset conditions. If so, determining that the message is sent by the concentrator. The preset condition is used for identifying the equipment to be determined as the concentrator.
For example, whether the source of the message is the concentrator may be determined by the communication address type and/or the function information, and if the communication address type and/or the function information matches the concentrator, the device to be determined is the concentrator. For example, if the communication address type is a broadcast address or a wildcard address, it may be determined that the source of the message is not a concentrator, but a message automatically sent by the communication module. For another example, if the function information indicates that the meter number of the electric energy meter is read or that the address of the electric energy meter is read, it may be determined that the source of the message is not the concentrator but the message actively transmitted by the communication module. By excluding the message actively sent by the communication module, the situation of misjudgment is avoided. I.e. to avoid the situation where the concentrator cannot communicate successfully due to the identification of the wrong target communication protocol.
For example, when the module rate negotiation frame sent by the concentrator is received, the information to be reported may be directly reported to the concentrator by using the current communication protocol of the electric energy meter without executing step S103 and step S104.
For example, the method embodiments may be applied to any communication channel where an electric energy meter communicates with a concentrator. Such as carrier channel and RS-485 communication, etc.
Illustratively, when the power meter is powered up again after being powered down, the current communication protocol of the power meter is the same as the current communication protocol before the power meter is not powered down.
When the target communication protocol is a 698 communication protocol and the current communication protocol is a 645 communication protocol, fig. 3 is a second flowchart of the method for reporting information of an electric energy meter according to the embodiment of the present invention. As shown in fig. 3, the step of updating the current communication protocol to the target communication protocol in step S103 may be implemented as follows:
step S103-1, the 645 communication protocol is updated to 698 communication protocol.
Step S104 may be implemented as follows:
and step S104-1, reporting the information to be reported to the concentrator.
And step S104-2, receiving a first confirmation command sent by the concentrator.
The first acknowledgement command is used for indicating that the information to be reported is reported successfully.
When the current communication protocol is judged to be inconsistent with the target communication protocol, the current communication protocol of the electric energy meter can be modified, namely, the 645 communication protocol is modified into the 698 communication protocol. Under the condition that a 698 communication protocol is adopted, the EventOut pin is set to be at a low level, and the electric energy meter is in communication connection with the communication module through a serial interface, namely the electric energy meter is in communication connection with the concentrator through the serial interface. After receiving the first confirmation command sent by the concentrator, determining that the concentrator can receive and analyze the information to be reported, namely, indicating that the information to be reported is reported successfully.
For example, after the information to be reported is reported to the concentrator, the first acknowledgement command is not received within a predetermined time, and the reporting may be performed again. For example, if the first acknowledgement command is not received within 10s, the reporting may be resumed.
For example, in order to reduce invalid occupation of CPU resources in the electric energy meter, reporting may be repeated until a predetermined number of times is reached. For example, if the report is repeated 3 times, the information to be reported is not reported again.
For example, after the repeated reporting is unsuccessful, the information to be reported may be retained and an event log of the repeated reporting error may be recorded. The information to be reported can be reported again after all the information to be reported is reported, the information to be reported can be reported again at preset intervals, the reporting can be stopped, and the information to be reported can be displayed when relevant personnel overhaul the electric energy meter.
Illustratively, if a message including information representing the 645 communication protocol, which is sent by the concentrator in the process of non-waiting for receiving the first acknowledgement command, is received, reporting is stopped, steps S102 to S104 are re-executed, information to be reported before the switching to the 645 communication protocol is cleared, and information to be reported adopting the 645 communication protocol is re-generated and reported.
For example, when the electric energy meter adopting the 698 communication protocol is actively reported, the information to be reported may be one of an event record (which may be understood as an event log), an event (which may be understood as a number or a name of a certain event that is reported), and a status word.
For example, after receiving the first confirmation command for the information to be reported, that is, after step S104-2, the information to be reported may be deleted according to the type of the information to be reported. For example, when the information to be reported is an event and a reading command sent by the concentrator for the event is received, the information to be reported is deleted, that is, the event stored in the electric energy meter is deleted. For another example, when the information to be reported is a status word, the flag bit of the status word is reset, and the information to be reported is deleted.
When the target communication protocol is a 645 communication protocol, the current communication protocol is a 698 communication protocol. Fig. 4 is a third schematic flow chart of a method for reporting information of an electric energy meter according to an embodiment of the present invention, as shown in fig. 4. The step of updating the current communication protocol to the target communication protocol in step S103 may be specifically implemented in the following manner:
step S103-2, update 698 communication protocol to 645 communication protocol.
Step S104 may be implemented as follows:
and step S104-3, when the EventOut pin of the electric energy meter is in a high impedance state and the information to be reported is a state word, reporting the state word to the concentrator.
And step S104-4, receiving a second confirmation command sent by the concentrator for the status word, or a second confirmation command sent by the communication module for the status word. The second acknowledgement command is used for indicating that the status word is reported successfully.
When the current communication protocol is judged to be inconsistent with the target communication protocol, the current communication protocol of the electric energy meter can be modified, namely the 698 communication protocol is modified into the 645 communication protocol. Under the condition that a 645 communication protocol is adopted, when the EventOut pin is set to be in a high-impedance state, the electric energy meter is in communication connection with the communication module through the serial interface, namely the electric energy meter is in communication connection with the concentrator through the serial interface. After receiving the second acknowledgement command sent by the concentrator or the second acknowledgement command sent by the communication module, it is determined that the concentrator can receive and analyze the information to be reported, i.e. the success of reporting the information to be reported is indicated.
The communication module may be, for example, a carrier communication module, a micro power wireless communication module, a General Packet Radio Service (GPRS) module, or a CDMA module.
Illustratively, when the communication module is a carrier communication module or a micropower wireless communication module, the communication module reads a status word actively reported by the electric energy meter and forwards the status word to the concentrator, and the concentrator sends a second confirmation command to the electric energy meter for the status word after receiving the status. The concentrator reports the information such as the identification bit of the state word and the times of acquiring the state word to the master station. The master station is in communication connection with the plurality of concentrators so as to collect information acquired by the concentrators.
Illustratively, when the communication module is a GPRS module or a CDMA module, after the communication module reads the status word actively reported, the communication module sends a second confirmation command to the electric energy meter for the status word. And the communication module reports the information such as the identification bit of the state word, the times of acquiring the state word and the like to the master station.
It should be noted that, under the condition that the 645 communication protocol is adopted, when the electric energy meter has a status word that needs to be actively reported, the identification position corresponding to the status word is automatically set to a non-zero state. And when the actively reported status word meets the actively reported requirement, the EventOut pin is automatically set to be in a high impedance state.
It should be noted that, when the electric energy meter adopting the 645 communication protocol reports actively, the report is performed in the form of a status word.
For example, after receiving the second confirmation command for the information to be reported, that is, after step S104-4, the information to be reported may be deleted. The specific implementation manner for deleting the information to be reported is as follows: after receiving the second acknowledgement command for the status word, the flag of the status word may be reset, and the information to be reported may be deleted, i.e., the status word may be deleted.
Illustratively, in the case of the 645 communication protocol, when there is at least one status word that needs to be reported, it can be detected whether the flag bits of all status words are reset. And if the identification bits of all the state words are completely reset, setting the EventOut pin to be at a low level. It should be noted that when the flag bit of a certain status word remains set (i.e., set to a non-zero state), the status word is reported until a second acknowledgement command is received.
Illustratively, similar to the 698 communication protocol, if a message including information representing the 698 communication protocol sent by the concentrator is received in the process of non-waiting for receiving the second acknowledgement command, the reporting is stopped, the steps S102 to S104 are executed again, the information to be reported before the switching to the 698 communication protocol is cleared, and the information to be reported using the 698 communication protocol is regenerated and reported.
Fig. 5 is a functional module schematic diagram of an electric energy meter information reporting apparatus 200 according to an embodiment of the present invention, the basic principle and the generated technical effect of the apparatus are the same as those of the foregoing corresponding method embodiment, and for brief description, reference may be made to corresponding contents in the method embodiment for a part not mentioned in this embodiment. As shown in fig. 5, the apparatus includes a receiving module 210, an identifying module 220, an updating module 230, and a reporting module 240.
A receiving module 210, configured to receive the message sent by the concentrator. Wherein the message contains information characterizing the communication protocol employed by the concentrator.
And the identifying module 220 is configured to identify a target communication protocol adopted by the concentrator according to the information in the message, which is used for characterizing the communication protocol adopted by the concentrator.
And the updating module 230 is configured to update the current communication protocol to the target communication protocol when the target communication protocol is inconsistent with the current communication protocol of the electric energy meter.
And a reporting module 240, configured to report the information to be reported to the concentrator according to the target communication protocol.
The electric energy meter information reporting device further comprises a deleting module for deleting the information to be reported.
The electric energy meter information reporting device further comprises an EventOut pin control module, wherein the EventOut pin control module is used for setting an EventOut pin to be at a low level if the identification bits of all the status words are reset when the 698 communication protocol is updated to be the 645 communication protocol and at least one status word to be reported exists.
It should be noted that, the communication module in the above method embodiment may be understood as a hardware device, and is communicatively connected to the electric energy meter through a communication interface of the electric energy meter.
The embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and the computer program is executed by a processor to perform the steps of the above method embodiments.
In summary, embodiments of the present invention provide a method and an apparatus for reporting information of an electric energy meter, and a storage medium, which identify a target communication protocol adopted by a concentrator after receiving a message sent by the concentrator. And when the current communication protocol of the electric energy meter is inconsistent with the target communication protocol, updating the current communication protocol of the electric energy meter to the target communication protocol. And reporting the information to be reported to the concentrator according to the target communication protocol. The communication protocol adopted by the concentrator is the same as that adopted by the electric energy meter by changing the current communication protocol of the electric energy meter, so that the electric energy meter can report the information to the concentrator successfully.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The method for reporting the information of the electric energy meter is characterized by being applied to the electric energy meter, wherein the electric energy meter is in communication connection with a concentrator, and the method comprises the following steps:
receiving a message sent by the concentrator; the message contains information for representing the concentrator to adopt a communication protocol;
identifying a target communication protocol adopted by the concentrator according to information used for representing the communication protocol adopted by the concentrator in the message;
when the target communication protocol is inconsistent with the current communication protocol of the electric energy meter, updating the current communication protocol to the target communication protocol;
and reporting the information to be reported to the concentrator according to the target communication protocol.
2. The method of claim 1, wherein the step of receiving the message sent by the concentrator comprises:
receiving a message sent by equipment to be determined;
matching the message with a preset condition; the preset condition is used for identifying that the equipment to be determined is the concentrator;
and if so, determining that the message is sent by the concentrator.
3. The method of claim 2, wherein the step of matching the message with a preset condition comprises:
determining whether the source of the message is the concentrator or not according to the communication address type and/or the function information contained in the message;
and if the communication address type and/or the function information are matched with the concentrator, the equipment to be determined is the concentrator.
4. The method of claim 1, wherein when the target communication protocol is a 698 communication protocol and the current communication protocol is a 645 communication protocol, the step of updating the current communication protocol to the target communication protocol comprises:
updating the 645 communication protocol to the 698 communication protocol;
the step of reporting the information to be reported to the concentrator according to the target communication protocol includes:
reporting the information to be reported to the concentrator;
receiving a first confirmation command sent by the concentrator; the first acknowledgement command is used for indicating that the information to be reported is reported successfully.
5. The method of claim 1, wherein the power meter is communicatively coupled to the concentrator via a communication module; when the target communication protocol is a 645 communication protocol and the current communication protocol is a 698 communication protocol, the step of updating the current communication protocol to the target communication protocol includes:
updating the 698 communication protocol to the 645 communication protocol;
the step of reporting the information to be reported to the concentrator according to the target communication protocol comprises the following steps:
when an EventOut pin of the electric energy meter is in a high-impedance state and the information to be reported is a state word, reporting the state word to the concentrator;
receiving a second confirmation command sent by the concentrator for the status word or a second confirmation command sent by the communication module for the status word; the second acknowledgement command is used for indicating that the status word is reported successfully.
6. Method according to claim 4 or 5, characterized in that after the step of receiving an acknowledgement command, the method further comprises:
and deleting the information to be reported.
7. The method of claim 6, wherein the step of deleting the information to be reported comprises:
when the information to be reported is an event and a reading command sent by the concentrator aiming at the event is received, deleting the event; or the like, or, alternatively,
and when the information to be reported is a state word, resetting the flag bit of the state word and deleting the state.
8. The method of claim 7, further comprising:
when the 698 communication protocol is updated to the 645 communication protocol and there is at least one status word to be reported, if the flag bits of all the status words are completely reset, the EventOut pin is set to a low level.
9. An electric energy meter, comprising: memory, processor and program stored on the memory and executable on the processor, which when executed by the processor implements the method of any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of a method according to any one of claims 1-7.
CN202210803502.2A 2022-07-07 2022-07-07 Electric energy meter information reporting method, electric energy meter and storage medium Pending CN115190186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210803502.2A CN115190186A (en) 2022-07-07 2022-07-07 Electric energy meter information reporting method, electric energy meter and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210803502.2A CN115190186A (en) 2022-07-07 2022-07-07 Electric energy meter information reporting method, electric energy meter and storage medium

Publications (1)

Publication Number Publication Date
CN115190186A true CN115190186A (en) 2022-10-14

Family

ID=83517880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210803502.2A Pending CN115190186A (en) 2022-07-07 2022-07-07 Electric energy meter information reporting method, electric energy meter and storage medium

Country Status (1)

Country Link
CN (1) CN115190186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082160A (en) * 2023-09-27 2023-11-17 深圳龙电华鑫控股集团股份有限公司 Concentrator communication control method, control device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795680A (en) * 2012-10-29 2014-05-14 苏州工业园区新宏博通讯科技有限公司 Communication method supporting multiple communication protocols, and electric energy meter
CN106652415A (en) * 2016-12-30 2017-05-10 武汉盛帆智能科技有限公司 Processing method and device of protocol for concentrated reading of multiple meters
US20180316729A1 (en) * 2015-10-13 2018-11-01 Schneider Electric Industries Sas Centralized management of a software defined automation system
CN113112786A (en) * 2021-04-09 2021-07-13 宁波三星医疗电气股份有限公司 Multi-data reading method, medium and electronic equipment for ammeter
US20210357968A1 (en) * 2020-05-15 2021-11-18 GolfNorth Properties Inc. Computerized systems and methods for golf course management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795680A (en) * 2012-10-29 2014-05-14 苏州工业园区新宏博通讯科技有限公司 Communication method supporting multiple communication protocols, and electric energy meter
US20180316729A1 (en) * 2015-10-13 2018-11-01 Schneider Electric Industries Sas Centralized management of a software defined automation system
CN106652415A (en) * 2016-12-30 2017-05-10 武汉盛帆智能科技有限公司 Processing method and device of protocol for concentrated reading of multiple meters
US20210357968A1 (en) * 2020-05-15 2021-11-18 GolfNorth Properties Inc. Computerized systems and methods for golf course management
CN113112786A (en) * 2021-04-09 2021-07-13 宁波三星医疗电气股份有限公司 Multi-data reading method, medium and electronic equipment for ammeter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082160A (en) * 2023-09-27 2023-11-17 深圳龙电华鑫控股集团股份有限公司 Concentrator communication control method, control device, electronic equipment and storage medium
CN117082160B (en) * 2023-09-27 2023-12-26 深圳龙电华鑫控股集团股份有限公司 Concentrator communication control method, control device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101977124B (en) Service clustering method and system based on ZooKeeper technology
CN103152374A (en) Method and device for learning terminal online state
EP1825656A2 (en) System and method for monitoring mobile units in a wireless network
CN103874051A (en) Internet of Things preset resource processing method and device
CN115190186A (en) Electric energy meter information reporting method, electric energy meter and storage medium
CN100373976C (en) Method and apparatus for processing fault task in apparatus management
CN114138296A (en) Multi-system gateway upgrading method, equipment and storage medium
CN101001213B (en) Short message transmission system and method
CN111652681A (en) Receipt processing method, server and computer readable storage medium
CN104507059B (en) A kind of multimedia message transmitting administrative method and multimedia message send managing device
CN101800684A (en) Method, system and equipment for detecting signaling equipment
CN102781046A (en) Business service quality assurance method and operation service system
CN114116262B (en) Processing method, device, medium and equipment for distributed asynchronous data communication
CN111757371A (en) Statistical method of transmission delay, server and storage medium
CN109144800A (en) A kind of collection method, device and the relevant device of server failure information
CN102204297B (en) Method and device for updating user context
CN114826962A (en) Link fault detection method, device, equipment and machine readable storage medium
CN110968255A (en) Data processing method, data processing device, storage medium and processor
CN112187937B (en) Unpairing method and device, terminal equipment and storage medium
CN101578815B (en) Network support for non-compliant mobile terminals and core network nodes
CN101151618B (en) Mobile device, pattern file update method, and communication system
CN101730050B (en) Method and system for preventing information inconsistency of network elements of MBBMS service system
CN1848838B (en) Method and system for realizing radio network business control in wireless communication system
CN116669084B (en) Fault restoration method, device, equipment and storage medium based on cellular network
CN113839800B (en) Abnormal network element prompting method and device, electronic equipment and storage medium

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