CN103095524B - A kind of response formula electric power communication protocol automatic test approach based on configuration - Google Patents
A kind of response formula electric power communication protocol automatic test approach based on configuration Download PDFInfo
- Publication number
- CN103095524B CN103095524B CN201210569769.6A CN201210569769A CN103095524B CN 103095524 B CN103095524 B CN 103095524B CN 201210569769 A CN201210569769 A CN 201210569769A CN 103095524 B CN103095524 B CN 103095524B
- Authority
- CN
- China
- Prior art keywords
- message
- communication protocol
- program
- substation
- response
- 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
Abstract
What the present invention relates to is a kind of response formula electric power communication protocol automatic test approach based on configuration, be mainly used to simulation electric power protection or measure and control device automatically generate dynamic message, from the request of dynamic response from the communication protocol program run on supervisory control of substation substation, be applied to the test of electric power communication protocol program in telemechanical communication; Its method is: by message definition, communications setting, and message response maps, and automatically organizes dynamic message, according to the request of main website, from the corresponding message of dynamic response; Automatic display and parsing are transmited and receive telegrams the various information represented by literary composition and message content thereof.By this method of testing, the monitoring substation that developer is write and the power communication program of measure and control device obtain relatively testing fully, improve the efficiency of developer, and the program alleviating site operation personnel is to a certain extent installed, debugging and maintenance work.
Description
Technical field
The invention belongs to technical field of electric power communication, particularly relate to a kind of response formula electric power communication protocol automatic test approach based on configuration in power communication.
Background technology
In Automation of Electric Systems, power remote monitor substation has important effect, and completeness and the reliability of monitoring function are extremely important.Under the environmental condition that electric intelligent device is numerous, electric power communication protocol is also respectively have its self-defining version, or even same function communicates with monitoring substation as small current neutral grounding also has different communication protocols; Monitoring substation needs to realize communicating with electric intelligent device.When the current division of labor is clear and definite and device producer is numerous, program location and the intelligent apparatus location of exploitation usually can not in places, therefore developer is when doing communication protocol, the simple debugging acid of using function is manually debugged, the message information content provided to debugged program immobilizes, this differs too large with on-the-spot actual motion environment, cause communication protocol program not tested fully, there is uncertain hidden danger.
Summary of the invention
For the deficiencies in the prior art and shortcoming, for reducing this risk, the present invention seeks to be to propose a kind of response formula electric power communication protocol automatic test approach based on configuration, according to the request of monitoring substation, respond the correct dynamic message data of automatic generation, alleviate stipulations commissioning cost, to a certain extent approaching to reality Run-time scenario, reduce risk.
For achieving the above object, technical scheme of the present invention is as follows:
A kind of response formula electric power communication protocol automatic test approach based on configuration, it is characterized in that, its method is: by defining message format and establishing message dynamic data algorithm, communication mode, response relation to map, according to the request of monitoring substation, response generates dynamic message data automatically, is automatically presented at the communication message mutual between communication protocol program and test program that monitoring substation is run.Message format is defined by message definition module to realize, and message definition module defines the algorithm needing dynamically to generate data simultaneously.Test program independently can be set as serial communication or TCP network service with the communication of the communication protocol program on monitoring substation.
Response relation specifies which type of data of communication protocol PROGRAMMED REQUESTS on monitoring substation, and which type of data test program should answer.
The present invention be used for simulation electric power protection or measure and control device automatically generate dynamic message; from the request of dynamic response from the communication protocol program run on supervisory control of substation substation; be applied to the test of electric power communication protocol program in telemechanical communication; by above-mentioned method; the monitoring substation that developer is write and the power communication program of measure and control device obtain relatively testing fully; improve the testing efficiency of developer, the program alleviating site operation personnel is to a certain extent installed, is debugged and maintenance work.
Accompanying drawing explanation
The present invention is described in detail below in conjunction with the drawings and specific embodiments;
Fig. 1 is flow chart of the present invention.
Embodiment
The technological means realized for making the present invention, creation characteristic, reaching object and effect is easy to understand, below in conjunction with embodiment, setting forth the present invention further.
As shown in Figure 1, a kind of response formula electric power communication protocol automatic test approach based on configuration of the present invention, it is according to the request of monitoring substation, respond the correct dynamic message data of automatic generation, alleviate stipulations commissioning cost, to a certain extent approaching to reality Run-time scenario, reduce risk.It comprises message definition module, communication configuration module, response message mapping block and test program module; Wherein:
1, message definition module is the form for defining message, which specifies be dynamic data in message, specifies the algorithm of software test data generation, the type of dynamic data.
2, communicate configuration module; Communication mode is set, mainly serial communication and network service two kinds of modes.
3, response message mapping block; The message of which kind of type should be responded when the communication protocol PROGRAMMED REQUESTS of monitoring substation is set.
4, test program module; Test program module major function is: the tissue of the reception of communication protocol message and analysis, dynamically message also sends to the communication protocol program etc. of monitoring substation.This test module comprises:
Receiver module, receives and the message of the communication protocol PROGRAMMED REQUESTS of analysis monitoring substation;
Molded tissue block, generates the data needing dynamic change, and is organized into corresponding message, then send to the communication protocol program of the monitoring substation of request;
Message display module, to the display of question and answer message.
Test program and the communication protocol on monitoring substation are primarily of realizations such as serial ports or TCP networks.
The present invention is by above-mentioned module, and its response formula electric power communication protocol automatic test approach step realized based on configuration is as follows:
Based on a response formula electric power communication protocol automatic test approach for configuration, it is characterized in that: comprise method step as follows:
(1) message is defined; First be the form defining message, be used to specify the type which is dynamic data in message, dynamic data, the definition of dynamic region of variation and software test data generation algorithm in the implication of each byte position representative in message, message.In the present embodiment, dynamic region of variation refers to the monitoring bearing area of each signal of conveyer in message, substation, is also the data field in message.
(2) configuration communication parameter; By the definition message of step (1), corresponding communication mode is set; Monitoring substation is mapped with the messaging parameter of each device, the self-defined of message and response message and is all realized by configuration; This messaging parameter refers to and adopts serial communication or the network communication mode based on TCP/IP;
(3) response message maps; Communication protocol PROGRAMMED REQUESTS on monitoring substation and the mapping relations of test program response message, namely when monitoring the communication protocol program on substation and sending request message, test program should respond corresponding message, and these mapping relations are realized by configuration communication parameter;
(4) operation of autotest program; First the operation of test program, receives and analyzes the message from monitoring substation communication protocol program, organizing corresponding message, then the request of response monitoring substation communication protocol program; Last question and answer message display, namely shows and resolves the various information of transmiting and receive telegrams represented by literary composition and message content thereof.
The present invention be used for simulation electric power protection or measure and control device automatically generate dynamic message; from the request of dynamic response from the communication protocol program run on supervisory control of substation substation; be applied to the test of electric power communication protocol program in telemechanical communication; by above-mentioned method; the monitoring substation that developer is write and the power communication program of measure and control device obtain relatively testing fully; improve the testing efficiency of developer, the program alleviating site operation personnel is to a certain extent installed, is debugged and maintenance work.
More than show and describe general principle of the present invention and principal character and advantage of the present invention.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; what describe in above-described embodiment and specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.Application claims protection range is defined by appending claims and equivalent thereof.
Claims (1)
1., based on a response formula electric power communication protocol automatic test approach for configuration, it is characterized in that: comprise method step as follows:
(1) message is defined; First be the form defining message, be used to specify the type which is dynamic data in message, dynamic data, the definition of dynamic region of variation and software test data generation algorithm in the implication of each byte position representative in message, message; Described dynamic region of variation refers to the monitoring bearing area of each signal of conveyer in message, substation, is also the data field in message;
(2) configuration communication parameter; By the definition message of step (1), corresponding communication mode is set; Described messaging parameter refers to and adopts serial communication or the network communication mode based on TCP/IP;
(3) response message maps; Communication protocol PROGRAMMED REQUESTS on monitoring substation and the mapping relations of test program response message, namely when monitoring the communication protocol program on substation and sending request message, test program should respond corresponding message, and these mapping relations are realized by configuration communication parameter;
(4) operation of autotest program; First the operation of test program, receives and analyzes the message from monitoring substation communication protocol program, organizing corresponding message, then the request of response monitoring substation communication protocol program; Last question and answer message display;
Described monitoring substation is mapped with the messaging parameter of each device, the self-defined of message and response message and is all realized by configuration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210569769.6A CN103095524B (en) | 2012-12-25 | 2012-12-25 | A kind of response formula electric power communication protocol automatic test approach based on configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210569769.6A CN103095524B (en) | 2012-12-25 | 2012-12-25 | A kind of response formula electric power communication protocol automatic test approach based on configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103095524A CN103095524A (en) | 2013-05-08 |
CN103095524B true CN103095524B (en) | 2015-12-23 |
Family
ID=48207682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210569769.6A Active CN103095524B (en) | 2012-12-25 | 2012-12-25 | A kind of response formula electric power communication protocol automatic test approach based on configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103095524B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103730959B (en) * | 2013-12-19 | 2015-11-11 | 广东电网公司电力科学研究院 | The communication protocol method of testing of Distribution Network Equipment |
CN103795146B (en) * | 2014-01-26 | 2016-02-10 | 国家电网公司 | Distribution terminal conformance test method |
CN105699930B (en) * | 2014-11-24 | 2019-08-13 | 国网辽宁省电力有限公司营口供电公司 | Intelligent electric meter serial ports DL/T645 communication protocol on-line quick detection device |
CN104468566B (en) * | 2014-12-05 | 2015-09-16 | 广东电网有限责任公司江门供电局 | A kind of electric power stipulations means of communication |
CN104820635B (en) * | 2015-04-07 | 2017-11-21 | 南京国电南自电网自动化有限公司 | A kind of self-closing ring gauge about robustness testing method based on the semantic parsing of dynamic script |
CN111524429B (en) * | 2020-04-01 | 2021-09-21 | 安徽晶宸未来科技有限公司 | System and method for power system communication and protocol experiment |
CN113064047B (en) * | 2021-03-05 | 2024-03-08 | 万向一二三股份公司 | Testing device and testing method for end-to-end protection between electronic control units |
CN115473837B (en) * | 2022-02-22 | 2024-03-22 | 北京广利核系统工程有限公司 | Communication test tool capable of configuring protocol and communication test method based on communication test tool |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6847994B1 (en) * | 1999-12-10 | 2005-01-25 | Panasonic Communications Co., Ltd. | Error informing apparatus and error informing method |
CN101572440A (en) * | 2009-02-27 | 2009-11-04 | 国电南瑞科技股份有限公司 | Power grid protocol analysis and test method |
CN102355378A (en) * | 2011-07-22 | 2012-02-15 | 上海思南电力通信有限公司 | Carrier channel testing system |
-
2012
- 2012-12-25 CN CN201210569769.6A patent/CN103095524B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6847994B1 (en) * | 1999-12-10 | 2005-01-25 | Panasonic Communications Co., Ltd. | Error informing apparatus and error informing method |
CN101572440A (en) * | 2009-02-27 | 2009-11-04 | 国电南瑞科技股份有限公司 | Power grid protocol analysis and test method |
CN102355378A (en) * | 2011-07-22 | 2012-02-15 | 上海思南电力通信有限公司 | Carrier channel testing system |
Non-Patent Citations (2)
Title |
---|
基于101 规约的电力远动通信测试软件;狄文辉 等;《计算机工程与设计》;20091231;第30卷(第12期);全文 * |
配电网自动化通信规约测试系统开发与应用;李克文 等;《广西电力》;20110228;第34卷(第1期);正文第11页左栏第2段及附图1 * |
Also Published As
Publication number | Publication date |
---|---|
CN103095524A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103095524B (en) | A kind of response formula electric power communication protocol automatic test approach based on configuration | |
CN103412520B (en) | Various energy resources centralized monitoring system and monitoring method thereof | |
CN103365286B (en) | A kind of intelligent building integrated communication control system | |
CN103051055B (en) | Convergence controller | |
CN104601415B (en) | Intelligent substation steady state data closed loop test method and test system thereof | |
CN104037937A (en) | Simulation intelligent substation measurement and control device | |
CN108390699B (en) | Cloud communication system based on power line carrier technology and communication method and device | |
CN110768372A (en) | IEC61850 standard-based protection information system source end modeling method | |
CN113364643A (en) | Internet of things client protocol based edge side APP simulation test system | |
CN103984335A (en) | Testing method and system for power distribution automation system | |
CN211124131U (en) | Power distribution station topology and asset management system | |
CN203909606U (en) | Test system for distribution automation system | |
CN105680441A (en) | Simulated replacement technique-based simulated point-alignment device | |
CN204243908U (en) | A kind of electric instrument Fieldbus Intelligent Selected Inspection device | |
CN103731666B (en) | A kind of video linkage simulation device and method | |
CN203027019U (en) | Telecontrol-channel monitoring and alarming device | |
CN203965931U (en) | TCU terminal and locomotive operation digital data recording system | |
CN107896240A (en) | Single-chip microcomputer and configuration software telecommunication system based on Internet | |
KR20140005551A (en) | Apparatus and method for acquiring data | |
CN206640613U (en) | A kind of equipment runs intelligent and safe monitoring system | |
CN202696289U (en) | Low voltage power distribution monitoring system | |
CN112187766A (en) | Modbus protocol conversion terminal configuration method and Modbus protocol conversion terminal | |
CN104749492A (en) | Plug and play method for travelling wave fault location system | |
CN105577655A (en) | 104 protocol expansion method applied to distribution network automation station terminal | |
CN105403847A (en) | Voltage monitoring system based on FPGA technology and verification method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |