Nothing Special   »   [go: up one dir, main page]

CN103095524A - Automatic testing method of reply type electric power communication protocol based on configuration - Google Patents

Automatic testing method of reply type electric power communication protocol based on configuration Download PDF

Info

Publication number
CN103095524A
CN103095524A CN2012105697696A CN201210569769A CN103095524A CN 103095524 A CN103095524 A CN 103095524A CN 2012105697696 A CN2012105697696 A CN 2012105697696A CN 201210569769 A CN201210569769 A CN 201210569769A CN 103095524 A CN103095524 A CN 103095524A
Authority
CN
China
Prior art keywords
message
communication protocol
electric power
configuration
program
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.)
Granted
Application number
CN2012105697696A
Other languages
Chinese (zh)
Other versions
CN103095524B (en
Inventor
王位杰
宋康
肖明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing SAC Automation Co Ltd
Original Assignee
Nanjing SAC Automation 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 Nanjing SAC Automation Co Ltd filed Critical Nanjing SAC Automation Co Ltd
Priority to CN201210569769.6A priority Critical patent/CN103095524B/en
Publication of CN103095524A publication Critical patent/CN103095524A/en
Application granted granted Critical
Publication of CN103095524B publication Critical patent/CN103095524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention relates to an automatic testing method of a reply type electric power communication protocol based on configuration. The automatic testing method of the reply type electric power communication protocol based on the configuration is mainly used for simulating electric power protection or generating dynamic messages automatically through a measuring and control device, automatically responding to the application of a communication protocol program operated on a transformer station monitor substation, and is used in electrical power communication protocol test in tele-control communication. The testing method includes the steps of automatically organizing dynamic messages through message definition, communication setting, message reply mapping and the like, automatically responding to a relevant message according to the requirements of a master station; and automatically displaying and analyzing received messages and sent messages and all kinds of information expressed in the message contents. By means of the automatic testing method of the reply type electric power communication protocol based on the configuration, electric power communication programs of the monitor substation and the measuring and control device compiled by a developer receive relatively sufficient tests, the efficiency of the developer is improved, and program installation, debugging and maintenance work of a site operator is lightened to some extent.

Description

A kind of formula of replying electric power communication protocol automatic test approach based on configuration
Technical field
The invention belongs to the power system telecommunications technology field, particularly relate to a kind of formula of replying electric power communication protocol automatic test approach based on configuration in power communication.
Background technology
In Automation of Electric Systems, the power remote monitor substation has important effect, and completeness and the reliability of monitoring function are extremely important.Under the numerous environmental condition of electric intelligent device, electric power communication protocol is also that its self-defining version is respectively arranged, or even same function such as small current neutral grounding also have different communication protocols and communicate with the monitoring substation; Need to realize communicating by letter with the electric intelligent device in the monitoring substation.In the situation that 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 be in places, therefore the developer is when doing communication protocol, use the simple debugging acid of function manually to debug, the message information content that provides to debugged program immobilizes, this and on-the-spot actual motion environment differ too large, cause the communication protocol program not tested fully, have 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 formula of replying electric power communication protocol automatic test approach based on configuration, request according to the monitoring substation, respond the correct dynamic message data of automatic generation, alleviate stipulations commissioning cost, the approaching to reality Run-time scenario, reduce risk to a certain extent.
For achieving the above object, technical scheme of the present invention is as follows:
A kind of formula of replying 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 mapping, request according to the monitoring substation, response automatically generates dynamic message data, automatically is presented at communication message mutual between the communication protocol program moved on the monitoring substation and test program.Message format defines and realizes by the message definition module, and the message definition module defines the algorithm that needs dynamic generated data simultaneously.Test program can independently be set as serial communication or TCP network service with the communicating by letter of communication protocol program of monitoring on the substation.
Response relation is specified which type of data of communication protocol PROGRAMMED REQUESTS of monitoring on the substation, and which type of data test program should answer.
The present invention is used for simulating electric power protection or measure and control device generates dynamic message automatically; from the request of dynamic response from the communication protocol program of moving on the 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 makes that the developer writes and the power communication program of measure and control device obtain relatively testing fully; improve developer's testing efficiency, alleviate to a certain extent site operation personnel's installation, debugging and maintenance work.
Description of drawings
Describe the present invention in detail below in conjunction with the drawings and specific embodiments;
Fig. 1 is flow chart of the present invention.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect is easy to understand, below in conjunction with embodiment, further set forth the present invention.
As shown in Figure 1, a kind of formula of replying 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, the approaching to reality Run-time scenario, reduce risk to a certain extent.It comprises message definition module, communication configuration module, response message mapping block and test program module; Wherein:
1, message definition module is be used to the form that defines message, and which is specified is dynamic data in message, the algorithm of specifying dynamic data to generate, the type of dynamic data.
2, communication configuration module; Communication mode is set, and is mainly serial communication and network service dual mode.
3, response message mapping block; When being set, the communication protocol PROGRAMMED REQUESTS of monitoring the substation should respond the message of which kind of type.
4, test program module; Test program module major function is: the reception of communication protocol message and analysis, dynamically message tissue and send to the communication protocol program etc. of monitoring substation.This test module comprises:
Receiver module receives the also message of the communication protocol PROGRAMMED REQUESTS of analysis monitoring substation;
Molded tissue block, generating needs the data of dynamic change, and is organized into corresponding message, then sends to the communication protocol program of the monitoring substation of request;
The message display module is to the demonstration of question and answer message.
Test program with the communication protocol of monitoring on the substation mainly by realizations such as serial ports or TCP networks.
The present invention is by above-mentioned module, and it realizes based on the formula of the replying electric power communication protocol automatic test approach step of configuration as follows:
A kind of formula of replying electric power communication protocol automatic test approach based on configuration is characterized in that: comprise that method step is as follows:
(1) definition message; At first be the form that defines message, which is used to specify is the dynamic data in message, the type of dynamic data, definition and the dynamic data generating algorithm of capable of dynamic region of variation in the implication of each byte position representative, message in message.In the present embodiment, it is also the data field in message to the monitoring bearing area of each signal of conveyer in message, substation that the capable of dynamic region of variation refers to.
(2) configuration communication parameter; Definition message by step (1) arranges corresponding communication mode; Configuration is all passed through with the messaging parameter of each device, the self-defined and response message mapping of message in the monitoring substation; This messaging parameter refers to adopt serial communication or based on the network communication mode of TCP/IP;
(3) response message mapping; Communication protocol PROGRAMMED REQUESTS on the monitoring substation and the mapping relations of test program response message, when namely the communication protocol program on monitoring the substation sends request message, test program should be responded corresponding message, and these mapping relations realize by the configuration communication parameter;
(4) operation of autotest program; At first the operation of test program receives and analyzes from the message of monitoring substation communication protocol program, organizes corresponding message, then the request of response monitoring substation communication protocol program; Last question and answer message shows, namely shows and resolves transmit and receive telegrams literary composition and the represented various information of message content thereof.
The present invention is used for simulating electric power protection or measure and control device generates dynamic message automatically; from the request of dynamic response from the communication protocol program of moving on the 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 makes that the developer writes and the power communication program of measure and control device obtain relatively testing fully; improve developer's testing efficiency, alleviate to a certain extent site operation personnel's installation, debugging and maintenance work.
Above demonstration and described basic 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; that describes 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.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (4)

  1. One kind based on the configuration the formula of replying electric power communication protocol automatic test approach, it is characterized in that: comprise that method step is as follows:
    (1) definition message; At first be the form that defines message, which is used to specify is the dynamic data in message, the type of dynamic data, definition and the dynamic data generating algorithm of capable of dynamic region of variation in the implication of each byte position representative, message in message;
    (2) configuration communication parameter; Definition message by step (1) arranges corresponding communication mode;
    (3) response message mapping; Communication protocol PROGRAMMED REQUESTS on the monitoring substation and the mapping relations of test program response message, when namely the communication protocol program on monitoring the substation sends request message, test program should be responded corresponding message, and these mapping relations realize by the configuration communication parameter;
    (4) operation of autotest program; At first the operation of test program receives and analyzes from the message of monitoring substation communication protocol program, organizes corresponding message, then the request of response monitoring substation communication protocol program; Last question and answer message shows.
  2. 2. a kind of formula of replying electric power communication protocol automatic test approach based on configuration according to claim 1, is characterized in that, Configuration is all passed through with the messaging parameter of each device, the self-defined and response message mapping of message in described monitoring substation.
  3. 3. a kind of formula of replying electric power communication protocol automatic test approach based on configuration according to claim 1, is characterized in that, in described step (2), described messaging parameter is to adopt serial communication or based on the network communication mode of TCP/IP.
  4. According to claim 1 a kind of based on the configuration the formula of replying electric power communication protocol automatic test approach, it is characterized in that, in described step (1), described capable of dynamic region of variation be to the monitoring bearing area of each signal of conveyer in message, substation, i.e. data field in message.
CN201210569769.6A 2012-12-25 2012-12-25 A kind of response formula electric power communication protocol automatic test approach based on configuration Active CN103095524B (en)

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 true CN103095524A (en) 2013-05-08
CN103095524B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103730959A (en) * 2013-12-19 2014-04-16 广东电网公司电力科学研究院 Method for testing communication protocols of power distribution network equipment
CN103795146A (en) * 2014-01-26 2014-05-14 国家电网公司 Power distribution terminal conformance testing method
CN104468566A (en) * 2014-12-05 2015-03-25 广东电网有限责任公司江门供电局 Electric power protocol communication method
CN104820635A (en) * 2015-04-07 2015-08-05 南京国电南自电网自动化有限公司 Method of testing robustness of closed loop protocol based on semantic analysis of dynamic script
CN105699930A (en) * 2014-11-24 2016-06-22 国网辽宁省电力有限公司营口供电公司 Intelligent ammeter serial port DL/T645 communication protocol online fast detector
CN111524429A (en) * 2020-04-01 2020-08-11 安徽晶宸未来科技有限公司 System and method for power system communication and protocol experiment
CN113064047A (en) * 2021-03-05 2021-07-02 万向一二三股份公司 Testing device and testing method for end-to-end protection between electronic control units
CN115473837A (en) * 2022-02-22 2022-12-13 北京广利核系统工程有限公司 Communication testing tool capable of configuring protocol and communication testing method based on same

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
李克文 等: "配电网自动化通信规约测试系统开发与应用", 《广西电力》, vol. 34, no. 1, 28 February 2011 (2011-02-28) *
狄文辉 等: "基于101 规约的电力远动通信测试软件", 《计算机工程与设计》, vol. 30, no. 12, 31 December 2009 (2009-12-31) *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103730959A (en) * 2013-12-19 2014-04-16 广东电网公司电力科学研究院 Method for testing communication protocols of power distribution network equipment
CN103730959B (en) * 2013-12-19 2015-11-11 广东电网公司电力科学研究院 The communication protocol method of testing of Distribution Network Equipment
CN103795146A (en) * 2014-01-26 2014-05-14 国家电网公司 Power distribution terminal conformance testing method
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
CN105699930A (en) * 2014-11-24 2016-06-22 国网辽宁省电力有限公司营口供电公司 Intelligent ammeter serial port DL/T645 communication protocol online fast detector
CN104468566A (en) * 2014-12-05 2015-03-25 广东电网有限责任公司江门供电局 Electric power protocol communication method
CN104820635A (en) * 2015-04-07 2015-08-05 南京国电南自电网自动化有限公司 Method of testing robustness of closed loop protocol based on semantic analysis of dynamic script
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
CN111524429A (en) * 2020-04-01 2020-08-11 安徽晶宸未来科技有限公司 System and method for power system communication and protocol experiment
CN111524429B (en) * 2020-04-01 2021-09-21 安徽晶宸未来科技有限公司 System and method for power system communication and protocol experiment
CN113064047A (en) * 2021-03-05 2021-07-02 万向一二三股份公司 Testing device and testing method for end-to-end protection between electronic control units
CN113064047B (en) * 2021-03-05 2024-03-08 万向一二三股份公司 Testing device and testing method for end-to-end protection between electronic control units
CN115473837A (en) * 2022-02-22 2022-12-13 北京广利核系统工程有限公司 Communication testing tool capable of configuring protocol and communication testing method based on same
CN115473837B (en) * 2022-02-22 2024-03-22 北京广利核系统工程有限公司 Communication test tool capable of configuring protocol and communication test method based on communication test tool

Also Published As

Publication number Publication date
CN103095524B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN103095524A (en) Automatic testing method of reply type electric power communication protocol based on configuration
CN103412520B (en) Various energy resources centralized monitoring system and monitoring method thereof
CN110942400B (en) Automatic point-to-point method and device for intelligent substation monitoring system
CN104569688A (en) Automatic testing system and method for power distribution terminal
CN105445601A (en) Current transformer interface testing device and method
CN104037937A (en) Analog simulation intelligent substation measurement and control device
CN107819647B (en) Intelligent substation station control layer network tester
CN105978159A (en) Telecontrol testing online execution-free check method for transformer station
CN103905275A (en) Electric power telecontrol equipment testing method based on IEC61850 replacement services
CN107257304B (en) Telecontrol point-aligning-free configuration test system
CN104300683A (en) Substation relay protection direct current monitoring system based on substation configuration description (SCD) modeling
CN105680441A (en) Simulated replacement technique-based simulated point-alignment device
CN103888323A (en) Ethernet equipment first-operation behavior consistency testing method and device
CN211124131U (en) Power distribution station topology and asset management system
CN203909606U (en) Test system for distribution automation system
CN102780592A (en) Methods and systems for detecting compatibility issues within an electrical grid control system
CN110838946A (en) Automatic acceptance system and method based on simulation substation
CN103676669A (en) Method and system for checking motion information
CN109298326A (en) The test macro and method of protective relaying device
CN106560753A (en) Quality early warning management method for railway electric service vehicle-mounted equipment
CN105403847A (en) Voltage monitoring system based on FPGA technology and verification method
CN105388891A (en) Fault diagnosis device and method for fieldbus system
CN203951261U (en) switchyard fault simulator
CN203965931U (en) TCU terminal and locomotive operation digital data recording system
CN105006891A (en) On-line visual remote control terminal and method used for transformer station background upgrading

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