CN103746827A - Method and system for automatic parameter identification in IEC101/104 protocol analysis - Google Patents
Method and system for automatic parameter identification in IEC101/104 protocol analysis Download PDFInfo
- Publication number
- CN103746827A CN103746827A CN201310685886.3A CN201310685886A CN103746827A CN 103746827 A CN103746827 A CN 103746827A CN 201310685886 A CN201310685886 A CN 201310685886A CN 103746827 A CN103746827 A CN 103746827A
- Authority
- CN
- China
- Prior art keywords
- length
- address
- stipulations
- original message
- imformosome
- 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
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention relates to the field of electric power automation and particularly relates to a method and a system for automatic parameter identification in IEC101/104 protocol analysis. The method comprises the steps of acquiring a small amount of an original message, reading the length of the message and the length of an ASDU, calculating protocol parameters based on the two lengths and analyzing a data frame based on the parameters. The system comprises a first device used for acquiring the original message, a second device used for calculating the parameters and a third device used for analyzing the data frame. By the adoption of the method and the system, the parameters in protocol analysis can be quickly calculated, the efficiency of protocol analysis can be improved, and the speed of communication event checking can be improved.
Description
Technical field
The present invention relates to power automation field, particularly a kind of IEC101,104 protocol analysis parameter automatic identifying method and systems.
Background technology
Power automatic system adopts digital communication technology mostly, and telemechanical apparatus converts information to binary system, after carrying out calculation process and packing according to certain rule of communication, by analog channel or digital channel, transmits; Receiving terminal is followed same rule the data of receiving is carried out verification and unpacked, and then processes.The rule is here exactly communication protocol (protocol).
Through development for many years, electric power system has customized and has promulgated a series of remote communication protocol standards, as CDT, DNP3.0, IEC870-5 series etc., these stipulations to intercommunication interconnection between device and device, and guarantee automation equipment and main station system has good opening and compatibility plays critical effect in automated system application.
At present, use stipulations more widely to have IEC870-5-101, IEC870-5-104 stipulations.But main station system is all not quite similar to the parsing of stipulations.Stipulations are the key of protocol analysis to the identification of stipulations parameter in resolving.In in the past to IEC101,104 protocol analysis, before carrying out protocol analysis, all need the every parameter to relating in stipulations to carry out preset.These parameters comprise applying unit public address length, imformosome address size, transmit reason length, link address, ASDU public address, each imformosome initial address and stipulations version etc.When multiple main websites are carried out to protocol analysis, parameter initialization process step is numerous and diverse, is unfavorable for carrying out fast of protocol analysis, affects the investigation of communication event.Therefore find a kind of simple method of carrying out fast protocol analysis, be technological difficulties in puzzlement power automation field always.
Summary of the invention
For addressing the above problem, the object of the present invention is to provide a kind of IEC101,104 protocol analysis parameter automatic identifying method and systems, by the parameter in a small amount of Receive message protocol analysis, thereby carry out fast protocol analysis, improve the efficiency of communication event investigation.
The present invention solves the technical scheme that its problem adopts:
The preferred embodiments of the present invention provide a kind of IEC101,104 protocol analysis parameter automatic identifying method and systems, first obtain a small amount of original message, the length of original message and ASDU length can directly read, length and ASDU length by original message can calculate other parameter in protocol analysis, original message is comprised of Frame, Frame comprises beginning flag, address word, control word, imformosome and end mark, thereby by the particular content of parameter resolution data frame obtaining information body.
The invention has the beneficial effects as follows:
The present invention adopts a kind of IEC101,104 protocol analysis parameter automatic identifying method and systems, by a small amount of original message, obtain other the parameter in protocol analysis, avoid the complicated processes arranging in prior art, improve the efficiency of protocol analysis, reach the communicate by letter object of bad communication event of quick investigation.
Accompanying drawing explanation
Below in conjunction with accompanying drawing and example, the invention will be further described.
Fig. 1 is the method for the invention flow chart;
Fig. 2 is the selected a kind of stipulations definition schematic diagram of preferred embodiment in the present invention.
Embodiment
Referring to drawings and Examples, the present invention is further explained.
In IEC101,104 protocol analysis processes, if corresponding parameter disappearance, corresponding communication event cannot be investigated.The present invention on this basis, only need to pass through a small amount of original message, can reach the object of quick protocol analysis.
Power automatic system comprises real-time collecting system and display system, and for the software systems of calculating in real time, analyzing, control.The function that information and display system have data acquisition, screen display, safety detection, operating condition computational analysis and control in real time.Collection message part in power plant and transformer station is called telemechanical end, and the part that is positioned at control centre is called dispatching terminal.Information Collection System is also a main station system, can be directly from then on main station system obtain original message, the mode that also can monitor by mirror port, monitors the communication of main station system, thereby obtains corresponding communication message information.
With reference to the flow chart shown in Fig. 1, the present invention only need to pass through a small amount of original message, can obtain the parameter that protocol analysis needs, and the parsing of complete paired data frame.By mirror port monitor or the original message that directly obtains from main website by different Frame compositions, because the base unit of protocol analysis is data notes, and different communication protocols, Frame is also different, but the fundamental of composition Frame is identical, comprises beginning flag, address word, control word, imformosome (remote action data) and end mark.
The selected a kind of stipulations definition of the present invention as shown in Figure 2, the inside has stipulated APDU, APCI, the corresponding length of ASDU, by original message, can directly read length and the ASDU length of message, by this, the two can calculate other stipulations parameter, comprise applying unit public address length, imformosome address size, transmit reason length link address, public address, each imformosome initial address and stipulations version etc., these parameters analyzed out after, the content that can utilize these parameter resolution data frames that calculate to comprise, as the initial address of identification data frame and end mark, understand address word and control word, and the particular content in obtaining information body etc., Frame is parsed into the artificial subjective content that can identify.
The present invention has adopted a kind of IEC101,104 protocol analysis parameter automatic recognition systems, comprises;
First device, obtains the original message being comprised of Frame, and reads length and the ASDU length of original message;
The second device, calculates stipulations parameter by length and the ASDU length gauge of original message; And
The 3rd device, by stipulations parameter resolution data frame.
Described stipulations parameter comprises applying unit public address length, imformosome address size, transmits reason length link address, public address, each imformosome initial address and stipulations version.
The mode that adopts mirror port to monitor or directly read from main website is obtained original message.
Described Frame comprises beginning flag, address word, control word, imformosome and end mark, thereby by the particular content of stipulations parameter resolution data frame obtaining information body.
Described system adopts content described in above method, described in concrete reference method.
The above, be preferred embodiment of the present invention, and the present invention is not limited to above-mentioned execution mode, as long as it reaches technique effect of the present invention with identical means, all should belong to protection scope of the present invention.
Claims (8)
1. IEC101,104 protocol analysis parameter automatic identifying methods, is characterized in that, comprising:
Obtain the original message being formed by Frame, and read length and the ASDU length of original message;
Length and ASDU length gauge by original message calculate stipulations parameter; And
By stipulations parameter resolution data frame.
2. method according to claim 1, is characterized in that, described stipulations parameter comprises applying unit public address length, imformosome address size, transmits reason length link address, public address, each imformosome initial address and stipulations version.
3. method according to claim 1, is characterized in that, the mode that adopts mirror port to monitor or directly read from main website is obtained original message.
4. method according to claim 1, is characterized in that, described Frame comprises beginning flag, address word, control word, imformosome and end mark, thereby by the particular content of stipulations parameter resolution data frame obtaining information body.
5. IEC101,104 protocol analysis parameter automatic recognition systems, is characterized in that, comprises;
First device, obtains the original message being comprised of Frame, and reads length and the ASDU length of original message;
The second device, calculates stipulations parameter by length and the ASDU length gauge of original message; And
The 3rd device, by stipulations parameter resolution data frame.
6. system according to claim 5, is characterized in that, described stipulations parameter comprises applying unit public address length, imformosome address size, transmits reason length link address, public address, each imformosome initial address and stipulations version.
7. system according to claim 5, is characterized in that, the mode that adopts mirror port to monitor or directly read from main website is obtained original message.
8. system according to claim 5, is characterized in that, described Frame comprises beginning flag, address word, control word, imformosome and end mark, thereby by the particular content of stipulations parameter resolution data frame obtaining information body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310685886.3A CN103746827A (en) | 2013-12-16 | 2013-12-16 | Method and system for automatic parameter identification in IEC101/104 protocol analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310685886.3A CN103746827A (en) | 2013-12-16 | 2013-12-16 | Method and system for automatic parameter identification in IEC101/104 protocol analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103746827A true CN103746827A (en) | 2014-04-23 |
Family
ID=50503818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310685886.3A Pending CN103746827A (en) | 2013-12-16 | 2013-12-16 | Method and system for automatic parameter identification in IEC101/104 protocol analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103746827A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656729A (en) * | 2016-03-03 | 2016-06-08 | 国网浙江诸暨市供电公司 | IEC104 protocol underlying message error detection method |
CN106375291A (en) * | 2016-08-30 | 2017-02-01 | 国网山东省电力公司阳信县供电公司 | Transformer substation troubleshooting system and method based on original message monitoring |
CN107040522A (en) * | 2016-11-14 | 2017-08-11 | 许继集团有限公司 | A kind of photovoltaic monitoring system and the stipulations conversion method of a large amount of devices access |
CN110971491A (en) * | 2019-12-16 | 2020-04-07 | 科大智能电气技术有限公司 | Electric power system 101 and 104 communication protocol processing system and processing method thereof |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003218936A (en) * | 2002-01-18 | 2003-07-31 | Nissan Motor Co Ltd | Transmission/reception method and transmission/reception apparatus for variable length message |
US20050283639A1 (en) * | 2002-12-27 | 2005-12-22 | Jean-Francois Le Pennec | Path analysis tool and method in a data transmission network including several internet autonomous systems |
CN1968263A (en) * | 2006-09-27 | 2007-05-23 | 华为技术有限公司 | Data communication network protocol analysis testing method and device |
CN101163145A (en) * | 2007-11-13 | 2008-04-16 | 华为技术有限公司 | Method and device of transmitting data packet and method of negotiating key |
CN101488912A (en) * | 2008-12-19 | 2009-07-22 | 华为技术有限公司 | Method and apparatus for IP fragmentation |
CN102065105A (en) * | 2011-01-13 | 2011-05-18 | 威胜集团有限公司 | Framing method of IEC (International Electrotechnical Commission) 61850-9-2 protocol data frame for digital substation |
CN102752382A (en) * | 2012-07-02 | 2012-10-24 | 烟台东方威思顿电气有限公司 | Message self-adapting method for digital input electric energy meter |
CN102970175A (en) * | 2012-02-08 | 2013-03-13 | 深圳市金宏威技术股份有限公司 | Power distribution network protocol test analytical method and system |
CN103327030A (en) * | 2013-07-10 | 2013-09-25 | 上海庆科信息技术有限公司 | Method for information transmission by utilizing Wi-Fi (Wireless-Fidelity) message length |
CN103391223A (en) * | 2013-06-28 | 2013-11-13 | 吉林省电力有限公司长春供电公司 | Rapid automatic detection method of IEC101 (international electrotechnical commission 101) protocol messages |
-
2013
- 2013-12-16 CN CN201310685886.3A patent/CN103746827A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003218936A (en) * | 2002-01-18 | 2003-07-31 | Nissan Motor Co Ltd | Transmission/reception method and transmission/reception apparatus for variable length message |
US20050283639A1 (en) * | 2002-12-27 | 2005-12-22 | Jean-Francois Le Pennec | Path analysis tool and method in a data transmission network including several internet autonomous systems |
CN1968263A (en) * | 2006-09-27 | 2007-05-23 | 华为技术有限公司 | Data communication network protocol analysis testing method and device |
CN101163145A (en) * | 2007-11-13 | 2008-04-16 | 华为技术有限公司 | Method and device of transmitting data packet and method of negotiating key |
CN101488912A (en) * | 2008-12-19 | 2009-07-22 | 华为技术有限公司 | Method and apparatus for IP fragmentation |
CN102065105A (en) * | 2011-01-13 | 2011-05-18 | 威胜集团有限公司 | Framing method of IEC (International Electrotechnical Commission) 61850-9-2 protocol data frame for digital substation |
CN102970175A (en) * | 2012-02-08 | 2013-03-13 | 深圳市金宏威技术股份有限公司 | Power distribution network protocol test analytical method and system |
CN102752382A (en) * | 2012-07-02 | 2012-10-24 | 烟台东方威思顿电气有限公司 | Message self-adapting method for digital input electric energy meter |
CN103391223A (en) * | 2013-06-28 | 2013-11-13 | 吉林省电力有限公司长春供电公司 | Rapid automatic detection method of IEC101 (international electrotechnical commission 101) protocol messages |
CN103327030A (en) * | 2013-07-10 | 2013-09-25 | 上海庆科信息技术有限公司 | Method for information transmission by utilizing Wi-Fi (Wireless-Fidelity) message length |
Non-Patent Citations (1)
Title |
---|
汪正江: "基于网络监听的IEC60870-5-104通信规约测试方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656729A (en) * | 2016-03-03 | 2016-06-08 | 国网浙江诸暨市供电公司 | IEC104 protocol underlying message error detection method |
CN106375291A (en) * | 2016-08-30 | 2017-02-01 | 国网山东省电力公司阳信县供电公司 | Transformer substation troubleshooting system and method based on original message monitoring |
CN107040522A (en) * | 2016-11-14 | 2017-08-11 | 许继集团有限公司 | A kind of photovoltaic monitoring system and the stipulations conversion method of a large amount of devices access |
CN107040522B (en) * | 2016-11-14 | 2020-09-25 | 许继集团有限公司 | Photovoltaic monitoring system and protocol conversion method for accessing a large number of devices |
CN110971491A (en) * | 2019-12-16 | 2020-04-07 | 科大智能电气技术有限公司 | Electric power system 101 and 104 communication protocol processing system and processing method thereof |
CN110971491B (en) * | 2019-12-16 | 2022-08-12 | 科大智能电气技术有限公司 | Electric power system 101 and 104 communication protocol processing system and processing method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020134867A1 (en) | Method and device for detecting abnormal data of power terminal | |
CN103744985A (en) | Webpage adaption method and webpage adaption system | |
CN103746827A (en) | Method and system for automatic parameter identification in IEC101/104 protocol analysis | |
CN104980516A (en) | Configurable method for multi-vehicle model body information acquisition system | |
CN107908703B (en) | Metering data management system | |
CN105120339A (en) | Smart TV fault detection method and system | |
CN105530456A (en) | Method, device and system for substation monitoring | |
CN111966084A (en) | TBOX detection device and method | |
CN105656729A (en) | IEC104 protocol underlying message error detection method | |
CN101715147A (en) | Set-top box performance testing method, application downloading management method and equipment | |
CN112003234A (en) | Intelligent calibration system and method for relay protection equipment fixed value information | |
KR101341805B1 (en) | Apparatus for analyzing packets according to IEC 61850 standard | |
CN103152215A (en) | Testing system and testing method of data center | |
CN104579817A (en) | Communication loop test method based on GOOSE (generic object-oriented substation event) logics | |
CN104517082B (en) | Electric power data acquisition apparatus and method | |
CN111931012A (en) | Data model self-adaption method and device based on fault management subsystem | |
CN103633736A (en) | Online monitoring communication method from substation sub station to main station | |
CN107037262B (en) | Big data spectrum analysis system and method thereof | |
CN116259165A (en) | Monitoring data processing method and device, electronic equipment and storage medium | |
CN105279230A (en) | Method and system for constructing internet application feature identification database with active learning method | |
CN112702303A (en) | Train real-time data analysis method, device, equipment and storage medium | |
CN103390030A (en) | Data accessing method and system based on E language | |
US20140354447A1 (en) | Analyzing system and method for power data | |
CN110135857B (en) | Apple equipment verification method, terminal, server and system | |
CN103916639A (en) | Online telemetering method and device of reading of mechanical SF6 gas density meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140423 |
|
RJ01 | Rejection of invention patent application after publication |