CN109598918B - Electric energy meter event information transmission method - Google Patents
Electric energy meter event information transmission method Download PDFInfo
- Publication number
- CN109598918B CN109598918B CN201811598174.7A CN201811598174A CN109598918B CN 109598918 B CN109598918 B CN 109598918B CN 201811598174 A CN201811598174 A CN 201811598174A CN 109598918 B CN109598918 B CN 109598918B
- Authority
- CN
- China
- Prior art keywords
- event information
- electric energy
- energy meter
- upper computer
- event
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a transmission method of event information of an electric energy meter, which comprises the following steps: s1, starting; s2, matching the upper computer and the electric energy meter, and if the matching is successful, entering the next step; if the matching is not successful, entering S7; s3, establishing connection between the upper computer and the electric energy meter, and entering the next step if the connection is successful; if the connection fails, go to S7; s4, the upper computer sends a command for reading the event information set to the electric energy meter, if the electric energy meter receives the command, the next step is carried out, and if the electric energy meter cannot receive the command, the step is carried out, and the step is carried out S7; s5, reading the event information set by the electric energy meter and sending the event information set to the upper computer; s6, disconnecting the upper computer from the electric energy meter; and S7, ending. According to the invention, the event information is stored in the form of an event information set, and the electric energy meter can be read all at once, so that the upper computer can obtain all the event information at one time, the data transmission efficiency is greatly improved, and the management capability and efficiency of the upper computer are improved.
Description
Technical Field
The invention relates to the technical field of data transmission of electric energy meters, in particular to a transmission method of event information of an electric energy meter.
Background
Along with the development of economy, the demand of residential electricity and industrial electricity is greater and greater, so that the demand of an electric energy meter is increased year by year, after the number of the electric energy meters is increased, more and more electric energy meters which need to be managed and monitored by an upper computer or a system are provided, the data transmission efficiency between the upper computer or the system and the electric energy meter is crucial, when an abnormal event occurs in the electric energy meter, the event information needs to be sent to the upper computer or the system, the transmission mode of the event information between the existing upper computer or the system and the electric energy meter is shown in fig. 1, wherein the event information on the electric energy meter is output singly, so that the upper computer can only read one event information at a time, if a plurality of event information exists, the upper computer needs to read for multiple times, the reading time is long, the data transmission efficiency between the upper computer or the system and the electric energy meter is low, and the management of the electric energy, the abnormal condition of the electric energy meter can not be found in time by the upper computer or the system, so that the event information transmission mode between the existing electric energy meter and the upper computer or the system needs to be improved.
Disclosure of Invention
The invention provides a transmission method of event information of an electric energy meter, wherein data are transmitted between the electric energy meter and an upper computer in an event information set mode, the upper computer can obtain all event information only by reading once, the data reading efficiency is high, and the upper computer can find the abnormality of the managed electric energy meter in time.
The technical scheme adopted by the invention is that the transmission method of the event information of the electric energy meter comprises the following steps:
s1, starting;
s2, carrying out communication protocol matching on the upper computer and the electric energy meter, and if the communication protocol matching is successful, entering the next step; if the communication protocol matching is not successful, entering S7;
s3, establishing communication connection between the upper computer and the electric energy meter, and entering the next step if the communication connection is successful; if the communication connection fails, go to S7;
s4, the upper computer sends a command for reading the event information set to the electric energy meter, if the electric energy meter normally receives the command for reading the event information set, the next step is carried out, and if the electric energy meter cannot normally receive the command for reading the event information set, the next step is carried out, the step S7 is carried out;
s5, reading an event information set by the electric energy meter and sending the event information set to an upper computer, wherein the event information set at least comprises one event information, each event information is preset with a sequence number, and the sequence numbers correspond to the types of the event information one by one; the storage format of the event information set is as follows: status bits of event information + first event information + second event information + … nth event information, where N is a positive integer; the state bits of the event information comprise the sequence numbers of the first event information to the Nth event information;
s6, after the event information set is sent, the upper computer is disconnected from the electric energy meter in communication;
and S7, ending.
After the technical scheme is adopted, compared with the prior art, the invention has the following advantages:
according to the invention, the event information in the electric energy meter is stored in the form of the event information set, the electric energy meter can read and output a plurality of event information at one time, and after the electric energy meter sends the event information set to the upper computer, the upper computer can obtain all the event information at one time, so that the data transmission efficiency between the upper computer and the electric energy meter is greatly improved, the time for managing one electric energy meter by the upper computer is saved, and the management capability and efficiency of the upper computer are further improved.
As an improvement, the sequence number of the event information is a positive integer which is arranged in sequence, and the maximum value is M, so that the storage and the identification are convenient.
As an improvement, the maximum value of the sequence number of the event information is 16, and the 16 event information types are common.
As an improvement, the sequence number of the event information is stored in a hexadecimal format, so that the storage and the identification are convenient.
As an improvement, the status bits of the event information include 2 bytes stored in hexadecimal, which sequentially represent the sequence numbers of 16 event information, that is, the first bit is the event information with sequence number 1, and the 16 th bit is the event information with sequence number 16, when a certain event information occurs, the corresponding position of the sequence number in the byte is set to 1, and when the event information does not occur, the corresponding position of the sequence number in the byte is set to 0, so as to facilitate storage and identification.
As an improvement, the event information includes the serial number of the event information, the year, month, day, hour, minute and second when the event information occurs, so as to facilitate obtaining the type and specific occurrence time of the event information.
As an improvement, the storage format of the content of the event information is consistent with that of the serial number of the event information, so that reading and communication are facilitated.
As an improvement, the first event information and the second event information … are arranged in sequence according to the sequence of the occurrence time, so that the detection personnel can conveniently maintain the abnormality of the electric energy meter according to the sequence of the occurrence time of the event information.
As an improvement, the first event information and the second event information … are sequentially arranged from small to large according to the sequence numbers, so that the event information is conveniently queried sequentially.
As an improvement, the types of the event information comprise meter opening cover, end cover opening, reversal, zero line breaking, strong magnetism, overload, overvoltage, undervoltage, voltage loss, reverse phase sequence, settlement locking, programming, clock abnormity, RAM abnormity and E2P abnormity, and the types of the abnormal event information which is frequently generated by the electric energy meter are covered.
Drawings
FIG. 1 is a flow chart of a prior art upper computer or system reading event information in an electric energy meter
FIG. 2 is a flow chart of the present invention
Detailed Description
As shown in fig. 2, a method for transmitting event information of an electric energy meter includes the following steps:
s1, starting;
s2, carrying out communication protocol matching on the upper computer or the system and the electric energy meter, wherein the upper computer or the system can be successfully matched when the communication protocols used by the upper computer or the system and the electric energy meter are the same, and if the communication protocols are successfully matched, entering the next step; if the communication protocol matching is not successful, entering S7;
s3, establishing communication connection between the upper computer or the system and the electric energy meter, and entering the next step if the communication connection is successful; if the communication connection fails, go to S7;
s4, the upper computer sends a command for reading the event information set to the electric energy meter, if the electric energy meter normally receives the command for reading the event information set, the next step is carried out, and if the electric energy meter cannot normally receive the command for reading the event information set, the next step is carried out, the step S7 is carried out;
s5, the electric energy meter reads an event information set from the memory and sends the event information set to the upper computer, the event information set at least comprises one event information, each event information is preset with a sequence number, and the sequence number corresponds to the type of the event information one by one; the storage format of the event information set is as follows: status bits of event information + first event information + second event information + … nth event information, where N is a positive integer; the status bits of the event information comprise serial numbers of the first event information to the Nth event information; the status bit of the event information is used to mutually authenticate with the next N event information, for example, the status bit of the event information includes the event information with sequence numbers 1 and 2, and if the status bit of the event information is the event information with sequence numbers 2 and 3, it indicates that there is an event information storage error, and directly proceeds to S7; when the sequence numbers of the following event information are 1 and 2 respectively, the event information is indicated to be stored correctly, and the next step is carried out;
s6, after the event information set is sent, the upper computer is disconnected from the electric energy meter in communication;
and S7, ending.
The types of the event information comprise 16 types of event information, namely, an open meter cover, an open end cover, an open top cover, a reverse direction, a zero line break, strong magnetism, overload, overvoltage, undervoltage, no-voltage, a reverse phase sequence, settlement locking, programming, clock abnormity, RAM abnormity, namely random access memory abnormity, and E2P abnormity, namely electrically erasable memory abnormity, wherein each type is provided with a sequence number, for example, the sequence number 1 represents the open meter cover, the sequence number 2 represents the open end cover, and the like, the sequence numbers of the event information are positive integers which are sequentially arranged, the maximum value is M, and the M is 16; the sequence number of the event information is stored in a hexadecimal format, 16 event information occupies 2 bytes, so that 2 bytes are needed when the state bit of the event information is stored in the hexadecimal format, the 2 bytes comprise 16 bits, the 16 bits sequentially represent the sequence numbers of the 16 event information, namely, the first bit is the event information with the sequence number of 1, the 16 th bit is the event information with the sequence number of 16, when a certain event information occurs, the bit position of the sequence number is 1, and when the event information does not occur, the bit position corresponding to the sequence number is 0. The event information comprises the serial number of the event information, the year, month, day and hour, minute and second when the event information occurs; the storage format of the content of the event information coincides with the storage format of the sequence number of the event information.
The first event information and the second event information … are sequentially arranged according to the sequence of the occurrence time or the first event information and the second event information … are sequentially arranged from small to large according to the sequence numbers.
For example, if the time of occurrence of the event information with sequence number 1 is 2018-12-01, 18:30:01, the time of occurrence of the event information with sequence number 2 is 2018-12-01, and 18:30:03, the storage format of the event information with sequence number 1 is as follows: 0x01+0x18+0x12+0x01+0x18+0x30+0x 01; the storage format of the event information with the sequence number 2 is as follows: 0x02+0x18+0x12+0x01+0x18+0x30+0x 03; the status bit storage format of the time information is: 0x000x03, in binary form: 0000000000000011, the expression means that the contents of the event information with sequence numbers 1 and 2 need to be read, and the storage format of the complete event information set is: 0x000x03+0x01+0x18+0x12+0x01+0x18+0x30+0x01+0x02+0x18+0x12+0x01+0x18+0x30+0x 03; after the event information set is sent to the upper computer or the system, the upper computer or the system can read all event information at one time, namely abnormal event information of the meter opening cover and the meter opening cover occurs, the upper computer obtains all abnormal data, and the electric energy meter can be correspondingly adjusted according to the abnormal data.
The above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that various changes and modifications can be made in the technical solutions described in the foregoing embodiments, or equivalent technical features of various portions thereof, without departing from the scope of the embodiments of the present invention.
Claims (10)
1. A transmission method of event information of an electric energy meter is characterized by comprising the following steps:
s1, starting;
s2, carrying out communication protocol matching on the upper computer and the electric energy meter, and if the communication protocol matching is successful, entering the next step; if the communication protocol matching is not successful, entering S7;
s3, establishing communication connection between the upper computer and the electric energy meter, and entering the next step if the communication connection is successful; if the communication connection fails, go to S7;
s4, the upper computer sends a command for reading the event information set to the electric energy meter, if the electric energy meter normally receives the command for reading the event information set, the next step is carried out, and if the electric energy meter cannot normally receive the command for reading the event information set, the next step is carried out, the step S7 is carried out;
s5, reading an event information set by the electric energy meter and sending the event information set to an upper computer, wherein the event information set at least comprises one event information, each event information is preset with a sequence number, and the sequence numbers correspond to the types of the event information one by one; the storage format of the event information set is as follows: status bits of event information + first event information + second event information + … nth event information, where N is a positive integer; the state bits of the event information comprise the sequence numbers of the first event information to the Nth event information;
s6, after the event information set is sent, the upper computer is disconnected from the electric energy meter in communication;
and S7, ending.
2. The method for transmitting the event information of the electric energy meter according to claim 1, wherein the sequence numbers of the event information are sequentially positive integers, and the maximum value of the sequence numbers is M.
3. The method as claimed in claim 2, wherein the maximum value of the sequence number of the event message is 16.
4. The method as claimed in claim 3, wherein the serial number of the event message is stored in hexadecimal format.
5. The method as claimed in claim 4, wherein the status bits of the event information include 2 bytes stored in hexadecimal, and sequentially represent sequence numbers of 16 event information, that is, the first bit is the event information with sequence number 1, and the 16 th bit is the event information with sequence number 16, when an event information occurs, the corresponding position of the sequence number in the byte is set to 1, and when the event information does not occur, the corresponding position of the sequence number in the byte is set to 0.
6. The method as claimed in claim 1, wherein the event information includes a serial number of the event information, a year, month, day, hour, minute and second of the event information.
7. The method as claimed in claim 6, wherein the content of the event message is stored in a format consistent with the serial number of the event message.
8. The method for transmitting the event information of the electric energy meter according to claim 7, wherein the first event information and the second event information … are sequentially arranged according to the sequence of the occurrence time.
9. The method for transmitting the event information of the electric energy meter according to claim 7, wherein the first event information and the second event information … are sequentially arranged from small to large according to the sequence numbers of the first event information and the second event information.
10. The method for transmitting the event information of the electric energy meter according to the claim 6, characterized in that the types of the event information comprise meter opening cover, reversal, zero line breaking, strong magnetism, overload, overvoltage, undervoltage, voltage loss, reverse phase sequence, settlement locking, programming, clock abnormity, RAM abnormity and E2P abnormity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811598174.7A CN109598918B (en) | 2018-12-26 | 2018-12-26 | Electric energy meter event information transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811598174.7A CN109598918B (en) | 2018-12-26 | 2018-12-26 | Electric energy meter event information transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109598918A CN109598918A (en) | 2019-04-09 |
CN109598918B true CN109598918B (en) | 2020-06-02 |
Family
ID=65963471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811598174.7A Active CN109598918B (en) | 2018-12-26 | 2018-12-26 | Electric energy meter event information transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109598918B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830348A (en) * | 2019-11-13 | 2020-02-21 | 上海艾临科智能科技有限公司 | Slave data acquisition method, device and system based on serial port communication |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355437A (en) * | 2007-07-25 | 2009-01-28 | 华为技术有限公司 | Method and apparatus for processing alarm/event information |
US7619976B2 (en) * | 2004-01-15 | 2009-11-17 | Sony Ericsson Mobile Communications Japan, Inc. | Data transmission method and data transmission apparatus |
CN102044138A (en) * | 2009-10-14 | 2011-05-04 | 西安威尔罗根能源科技有限公司 | Memorial continuous high-speed telemetry data transmission method |
CN102447575A (en) * | 2011-10-08 | 2012-05-09 | 烽火通信科技股份有限公司 | Method for analyzing and managing log file with hexadecimal data |
CN203275986U (en) * | 2013-05-20 | 2013-11-06 | 浙江新能量科技有限公司 | Multiple energy centralized monitoring system |
CN103630869A (en) * | 2013-11-29 | 2014-03-12 | 国网安徽省电力公司 | Clustering algorithm-based exceptional event analysis method for evaluating whole state of electric meter |
CN104636083A (en) * | 2014-12-31 | 2015-05-20 | 漳州科能电器有限公司 | Holiday and festival programming event recording and reading method for intelligent ammeter |
CN106128063A (en) * | 2016-06-30 | 2016-11-16 | 国网山东省电力公司济南市历城区供电公司 | Abnormal user collection is mended and is recruited device |
CN106952464A (en) * | 2017-01-19 | 2017-07-14 | 武汉企鹅能源数据有限公司 | Intelligent data acqusition system and acquisition method |
CN107328968A (en) * | 2017-06-27 | 2017-11-07 | 威胜集团有限公司 | For freezing and event log data storage method for electric energy meter |
CN107633670A (en) * | 2017-07-21 | 2018-01-26 | 国网浙江省电力公司 | A kind of acquisition abnormity diagnostic method using collection O&M knowledge base |
CN107656231A (en) * | 2017-07-21 | 2018-02-02 | 国网浙江省电力公司 | A kind of electric energy meter game clock lid event analysis of the accuracy method |
CN107741522A (en) * | 2017-09-21 | 2018-02-27 | 国网上海市电力公司 | A kind of electrical energy meter fault remote diagnosis method |
CN107967801A (en) * | 2017-12-25 | 2018-04-27 | 东华理工大学 | A kind of energy measurement data online acquisition and monitoring method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100258212B1 (en) * | 1997-02-20 | 2000-09-01 | 윤종용 | System environment monitoring apparatus and method of outdoor base station |
DE19740716C2 (en) * | 1997-09-16 | 2002-03-14 | Siemens Ag | Method for handling alarms generated in communication systems from a hardware-related managed object |
-
2018
- 2018-12-26 CN CN201811598174.7A patent/CN109598918B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7619976B2 (en) * | 2004-01-15 | 2009-11-17 | Sony Ericsson Mobile Communications Japan, Inc. | Data transmission method and data transmission apparatus |
CN101355437A (en) * | 2007-07-25 | 2009-01-28 | 华为技术有限公司 | Method and apparatus for processing alarm/event information |
CN102044138A (en) * | 2009-10-14 | 2011-05-04 | 西安威尔罗根能源科技有限公司 | Memorial continuous high-speed telemetry data transmission method |
CN102447575A (en) * | 2011-10-08 | 2012-05-09 | 烽火通信科技股份有限公司 | Method for analyzing and managing log file with hexadecimal data |
CN203275986U (en) * | 2013-05-20 | 2013-11-06 | 浙江新能量科技有限公司 | Multiple energy centralized monitoring system |
CN103630869A (en) * | 2013-11-29 | 2014-03-12 | 国网安徽省电力公司 | Clustering algorithm-based exceptional event analysis method for evaluating whole state of electric meter |
CN104636083A (en) * | 2014-12-31 | 2015-05-20 | 漳州科能电器有限公司 | Holiday and festival programming event recording and reading method for intelligent ammeter |
CN106128063A (en) * | 2016-06-30 | 2016-11-16 | 国网山东省电力公司济南市历城区供电公司 | Abnormal user collection is mended and is recruited device |
CN106952464A (en) * | 2017-01-19 | 2017-07-14 | 武汉企鹅能源数据有限公司 | Intelligent data acqusition system and acquisition method |
CN107328968A (en) * | 2017-06-27 | 2017-11-07 | 威胜集团有限公司 | For freezing and event log data storage method for electric energy meter |
CN107633670A (en) * | 2017-07-21 | 2018-01-26 | 国网浙江省电力公司 | A kind of acquisition abnormity diagnostic method using collection O&M knowledge base |
CN107656231A (en) * | 2017-07-21 | 2018-02-02 | 国网浙江省电力公司 | A kind of electric energy meter game clock lid event analysis of the accuracy method |
CN107741522A (en) * | 2017-09-21 | 2018-02-27 | 国网上海市电力公司 | A kind of electrical energy meter fault remote diagnosis method |
CN107967801A (en) * | 2017-12-25 | 2018-04-27 | 东华理工大学 | A kind of energy measurement data online acquisition and monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109598918A (en) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12099468B2 (en) | Systems and methods for collecting, analyzing, billing, and reporting data from intelligent electronic devices | |
US9482555B2 (en) | System and method for improved data transfer from an IED | |
ES2459119T3 (en) | Security event logging and conversion of security event messages into process control | |
EP2352971B1 (en) | Measurement device, particularly energy counter and method for recognition of manipulations | |
EP2460258B1 (en) | Method and device for auto-generating goose signal connection topology from substation level | |
CN109598918B (en) | Electric energy meter event information transmission method | |
CN107995051A (en) | Secondary equipment of intelligent converting station visualized O&M module information interactive system and method | |
CN106341183A (en) | Method for monitoring optical module by netmanager software | |
US11843704B2 (en) | Ensuring data consistency between a modular device and an external system | |
CN102361104B (en) | Battery and battery identification circuit | |
US11516561B2 (en) | Method for reading fluid meters | |
KR101462230B1 (en) | Gateway for smart distribution network | |
CN112887132B (en) | Transformer substation integral process layer configuration-free GOOSE self-adaptive probe method | |
KR102019964B1 (en) | Apparatus and method for searching communication protocol of solar inverter apparatus automatically | |
CN202333075U (en) | Battery and battery identifying circuit | |
CN112532725A (en) | Ammeter reading management method, device and system and storage medium | |
WO2018064168A1 (en) | Enhanced meter reading schema to improve functionality in a utility's communications system | |
CN113219887A (en) | Internet of things controller with link encryption function | |
US20230064062A1 (en) | Method for transmitting metrological data and device implementing the method | |
CN111522642A (en) | Method for acquiring state monitoring data of wind turbine generator, query method and electronic equipment | |
WO2008004269A1 (en) | Wireless ic tag and wireless ic tag system | |
CN211880171U (en) | Intelligent lightning protection power distribution unit | |
US20240152479A1 (en) | Method for transmitting data according to a protocol comprising a class of communication interface objects of the serial port type, and electronic device executing said method | |
CN104601395B (en) | Intelligent record analysis system based on substation's digital communication | |
CN115835051B (en) | Method, apparatus, processing device and storage medium for performing predetermined operation |
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 |