CN114401212B - Method for testing double-master-station communication protocol - Google Patents
Method for testing double-master-station communication protocol Download PDFInfo
- Publication number
- CN114401212B CN114401212B CN202210075353.2A CN202210075353A CN114401212B CN 114401212 B CN114401212 B CN 114401212B CN 202210075353 A CN202210075353 A CN 202210075353A CN 114401212 B CN114401212 B CN 114401212B
- Authority
- CN
- China
- Prior art keywords
- master
- station
- testing
- parameters
- master station
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for testing a double-master-station communication protocol, which comprises the steps that firstly, in the aspect of workstation configuration, according to the actual condition that a power distribution automation master station is in a double-master-station operation mode, parameters of a simulation master station A and parameters of a simulation master station B are configured, and configuration parameters of the master station A and configuration parameters of the master station B are respectively obtained; the workstation is simultaneously provided with an automatic closed-loop test module and an automatic default analysis module, and the two groups of modules are matched to read configuration parameters of a master station A and configuration parameters of a master station B; the automatic closed loop test module and the default automatic analysis module simultaneously acquire rules and regulations, including link layer, application layer definition, commonly used ASDU selection type, information body address allocation and remote measurement dead zone general parameters. The invention relates to the field of communication protocol testing, in particular to a method for testing a double-master-station communication protocol.
Description
Technical Field
The invention relates to the field of communication protocol testing, in particular to a method for testing a double-master-station communication protocol.
Background
With the rapid development of national economy, the living standard of people is gradually improved, and higher requirements on the power supply reliability are provided. The wide application of the power distribution automation system is important to improving the power supply of a power distribution network, and the reliability provides strong protection as a framework and support of the power distribution automation, so that the normal operation of a power distribution automation terminal is important. Only if the distribution automation terminal normally operates on line, the data acquisition and analysis of the distribution network can be realized, so that the functions of distribution network operation monitoring, fault automatic isolation, equipment remote control operation and the like are realized, and finally the purposes of reducing the power failure time and improving the power supply reliability of the distribution network are achieved.
Communication has become an integral part of various systems and plays an important role in transferring information and commands. In order to ensure that data transmission can be performed safely and reliably between communication parties in a communication network, various regulations are proposed during transmission and reception of communication, so that both parties can be ensured to work orderly, and these regulations are called data transmission control procedures, namely communication regulations.
The communication protocol consistency and the automatic analysis characteristics of the distribution automation are higher in requirements on detection equipment, and the conventional detection flow and method are difficult to meet the requirements of large-scale engineering deployment. First, current power distribution automation communication protocol detection methods are too dependent on manual work. The current communication protocol message data volume is less, hundreds of messages are more, thousands of messages are more, all messages are checked one by means of manpower, a great deal of manpower and time are consumed, and efficiency is quite low. Second, the existing communication protocol analysis tools in the market have simple functions and different communication protocol terms to be applied to distribution automation equipment produced by different manufacturers, so that various analysis tools without communication protocol analysis are required. Third, the laboratory test environment cannot simulate the field wireless networking mode, the field environment cannot be simulated or restored, and the functions and performances of the equipment under the real operation condition cannot be evaluated. Therefore, the invention provides a method for testing the double-master-station communication protocol.
Disclosure of Invention
Aiming at the situation, the invention provides a method for testing the communication protocol of the double master stations in order to overcome the defects of the prior art.
The technical scheme adopted by the invention is as follows: the invention relates to a method for testing a double-master-station communication protocol, which comprises the following steps:
step one, in the aspect of workstation configuration, according to the actual condition that a power distribution automation master station is in a double-master-station operation mode, configuring a simulation master-station A parameter and a simulation master-station B parameter to respectively obtain a master-station A configuration parameter and a master-station B configuration parameter;
step two, the workstation is simultaneously configured with an automatic closed-loop test module and an automatic default analysis module, and the two groups of modules are matched to read configuration parameters of a master station A and configuration parameters of a master station B;
step three, the automatic closed loop test module and the automatic default analysis module simultaneously acquire rules and regulations including link layer, application layer definition, ASDU common selection type, information body address allocation and remote measurement dead zone common parameters;
step four, after the parameters are acquired by the automatic closed-loop testing module and the default automatic analysis module, pre-testing and pre-analyzing are carried out in a workstation, and the next testing is carried out after a testing scheme is determined;
step five, in the aspect of the communication interface device, a physical channel A and a physical channel B are required to be set, a channel A configuration parameter is set in the physical channel A, and a channel B configuration parameter is set in the physical channel B;
step six, the channel A configuration parameters can be communicated with the simulation master station A, and the channel B configuration parameters can be communicated with the simulation master station B;
step seven, the terminal equipment to be tested can set a physical channel A-1 and a physical channel B-1, can communicate with the physical channel A and the physical channel B in the communication interface device, and can acquire and upload test data;
step eight, after the preparation work is completed, testing can be carried out according to a previewed testing scheme;
and step nine, after the test is completed, an automatic closed loop test module of the workstation can automatically generate a test report.
Preferably, the protocol may use 101 and 104 protocols;
data flow method in 101 protocol test:
work station < - > Ethernet interface < - > communication interface < - > serial port < - > terminal to be measured;
104 data flow method during protocol test:
work station < - > Ethernet interface < - > communication interface < - > Ethernet or optical fiber interface < - > terminal to be tested.
The beneficial effects obtained by the invention by adopting the structure are as follows: firstly, adopting automatic communication and recording, setting up completion parameters in a workstation, setting up an automatic analysis module against the contract, and checking all message correctness one by one without relying on manual work and detecting all contents of the contract without relying on manual work. Secondly, the number of adoption is unified, the test software is unified, the test quality can be ensured, the test result can automatically generate a report form, and the possibility of repeated test is avoided. Thirdly, the communication protocol detection of the power distribution automation equipment can be carried out in the real operation environment of the equipment, the workstation can establish two simulation master stations and configure corresponding parameters according to actual conditions, and the two simulation master stations are simultaneously connected with a terminal to be tested through the communication interface device to carry out protocol test so as to detect whether the communication is normal or not and whether the communication can normally respond to the operation of the double master stations or not.
Drawings
Fig. 1 is a schematic diagram of a method for testing a communication protocol of a dual-master station according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention; all other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," "outer," and the like indicate or are based on the orientation or positional relationship shown in the drawings, merely to facilitate description of the present invention and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Embodiment 1, the invention is a method for testing a double-master station communication protocol, comprising the following steps:
step one, in the aspect of workstation configuration, according to the actual condition that a power distribution automation master station is in a double-master-station operation mode, configuring a simulation master-station A parameter and a simulation master-station B parameter to respectively obtain a master-station A configuration parameter and a master-station B configuration parameter;
step two, the workstation is simultaneously configured with an automatic closed-loop test module and an automatic default analysis module, and the two groups of modules are matched to read configuration parameters of a master station A and configuration parameters of a master station B;
step three, the automatic closed loop test module and the automatic default analysis module simultaneously acquire 101 protocol or 104 protocol implementation rules including link layer, application layer definition, ASDU common selection type, information body address allocation and telemetry dead zone common parameters;
step four, after the parameters are acquired by the automatic closed-loop testing module and the default automatic analysis module, pre-testing and pre-analyzing are carried out in a workstation, and the next testing is carried out after a testing scheme is determined;
step five, in the aspect of the communication interface device, a physical channel A and a physical channel B are required to be set, a channel A configuration parameter is set in the physical channel A, and a channel B configuration parameter is set in the physical channel B;
step six, the channel A configuration parameters can be communicated with the simulation master station A, and the channel B configuration parameters can be communicated with the simulation master station B;
step seven, the terminal equipment to be tested can set a physical channel A-1 and a physical channel B-1, can communicate with the physical channel A and the physical channel B in the communication interface device, and can acquire and upload test data;
step eight, after the preparation work is completed, testing can be carried out according to a previewed testing scheme;
and step nine, after the test is completed, an automatic closed loop test module of the workstation can automatically generate a test report.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
While the fundamental and principal features of the invention and advantages of the invention have been shown and described, it will be apparent to those skilled in the art that the invention is not limited to the details of the foregoing exemplary embodiments, but may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present disclosure describes embodiments, not every embodiment is provided with a separate embodiment, and that this description is provided for clarity only, and that the disclosure is not limited to the embodiments described in detail below, and that the embodiments described in the examples may be combined as appropriate to form other embodiments that will be apparent to those skilled in the art.
Claims (2)
1. The method for testing the double-master-station communication protocol is characterized by comprising the following steps of:
step one, in the aspect of workstation configuration, according to the actual condition that a power distribution automation master station is in a double-master-station operation mode, configuring a simulation master-station A parameter and a simulation master-station B parameter to respectively obtain a master-station A configuration parameter and a master-station B configuration parameter;
step two, the workstation is simultaneously configured with an automatic closed-loop test module and an automatic default analysis module, and the two groups of modules are matched to read configuration parameters of a master station A and configuration parameters of a master station B;
step three, the automatic closed loop test module and the automatic default analysis module simultaneously acquire rules and regulations including link layer, application layer definition, ASDU common selection type, information body address allocation and remote measurement dead zone common parameters;
step four, after the parameters are acquired by the automatic closed-loop testing module and the default automatic analysis module, pre-testing and pre-analyzing are carried out in a workstation, and the next testing is carried out after a testing scheme is determined;
step five, in the aspect of the communication interface device, setting a physical channel A and a physical channel B, setting a channel A configuration parameter in the physical channel A, and setting a channel B configuration parameter in the physical channel B;
step six, the channel A configuration parameters are communicated with the simulation master station A, and the channel B configuration parameters are communicated with the simulation master station B;
step seven, the terminal equipment to be tested is provided with a physical channel A-1 and a physical channel B-1, and communicates with the physical channel A and the physical channel B in the communication interface device to acquire and upload test data;
step eight, testing according to a previewed testing scheme after finishing the preparation work;
and step nine, after the test is completed, an automatic closed loop test module of the workstation automatically generates a test report.
2. The method for testing double master station communication protocols according to claim 1, wherein: the conventions use 101 and 104 conventions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210075353.2A CN114401212B (en) | 2022-01-22 | 2022-01-22 | Method for testing double-master-station communication protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210075353.2A CN114401212B (en) | 2022-01-22 | 2022-01-22 | Method for testing double-master-station communication protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114401212A CN114401212A (en) | 2022-04-26 |
CN114401212B true CN114401212B (en) | 2023-08-04 |
Family
ID=81232257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210075353.2A Active CN114401212B (en) | 2022-01-22 | 2022-01-22 | Method for testing double-master-station communication protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114401212B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114885041A (en) * | 2022-05-26 | 2022-08-09 | 海南电网有限责任公司电力科学研究院 | Multi-interface communication access method for double master stations through protocol evaluation |
CN115190054B (en) * | 2022-06-30 | 2024-04-05 | 海南电网有限责任公司电力科学研究院 | Double-master-station batch communication protocol analysis method |
CN115514658B (en) * | 2022-11-23 | 2023-03-10 | 博智安全科技股份有限公司 | Simulation construction method and device for industrial control protocol |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0879222A (en) * | 1994-08-30 | 1996-03-22 | Oki Electric Ind Co Ltd | Communication method |
CN101572440A (en) * | 2009-02-27 | 2009-11-04 | 国电南瑞科技股份有限公司 | Power grid protocol analysis and test method |
KR20100012227A (en) * | 2008-07-28 | 2010-02-08 | 서경대학교 산학협력단 | Apparatus for analyzing distributed network protocol call |
WO2011054596A1 (en) * | 2009-11-09 | 2011-05-12 | Robert Bosch Gmbh | Network system for audio equipment, method and computer program |
CN104113873A (en) * | 2014-07-11 | 2014-10-22 | 珠海许继电气有限公司 | Automatic test system and device for GPRS module internally arranged in power distribution terminal |
CN104811498A (en) * | 2015-05-12 | 2015-07-29 | 国家电网公司 | Remote transformer substation monitoring system based on EMS (Enhanced Message Service) system |
WO2016019662A1 (en) * | 2014-08-04 | 2016-02-11 | 国家电网公司 | Closed loop test system for monitoring host of intelligent substation and test method therefor |
CN108710566A (en) * | 2018-04-28 | 2018-10-26 | 南京国电南自电网自动化有限公司 | A kind of distribution scheduling station integration testing framework and method |
CN109444582A (en) * | 2018-11-08 | 2019-03-08 | 积成电子股份有限公司 | The automatic adjustment method in distribution terminal side based on live mobile terminal and simulation main website |
CN109495499A (en) * | 2018-12-13 | 2019-03-19 | 南京国电南自电网自动化有限公司 | Communication protocol bi-directional verification automated test tool and method based on Encryption Algorithm |
CN112214441A (en) * | 2020-12-08 | 2021-01-12 | 北京和利时系统工程有限公司 | Communication switching method, equipment and system based on serial bus polling protocol |
WO2021126147A1 (en) * | 2019-12-16 | 2021-06-24 | Mentor Graphics Corporation | A device for testing a base station |
-
2022
- 2022-01-22 CN CN202210075353.2A patent/CN114401212B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0879222A (en) * | 1994-08-30 | 1996-03-22 | Oki Electric Ind Co Ltd | Communication method |
KR20100012227A (en) * | 2008-07-28 | 2010-02-08 | 서경대학교 산학협력단 | Apparatus for analyzing distributed network protocol call |
CN101572440A (en) * | 2009-02-27 | 2009-11-04 | 国电南瑞科技股份有限公司 | Power grid protocol analysis and test method |
WO2011054596A1 (en) * | 2009-11-09 | 2011-05-12 | Robert Bosch Gmbh | Network system for audio equipment, method and computer program |
CN104113873A (en) * | 2014-07-11 | 2014-10-22 | 珠海许继电气有限公司 | Automatic test system and device for GPRS module internally arranged in power distribution terminal |
WO2016019662A1 (en) * | 2014-08-04 | 2016-02-11 | 国家电网公司 | Closed loop test system for monitoring host of intelligent substation and test method therefor |
CN104811498A (en) * | 2015-05-12 | 2015-07-29 | 国家电网公司 | Remote transformer substation monitoring system based on EMS (Enhanced Message Service) system |
CN108710566A (en) * | 2018-04-28 | 2018-10-26 | 南京国电南自电网自动化有限公司 | A kind of distribution scheduling station integration testing framework and method |
CN109444582A (en) * | 2018-11-08 | 2019-03-08 | 积成电子股份有限公司 | The automatic adjustment method in distribution terminal side based on live mobile terminal and simulation main website |
CN109495499A (en) * | 2018-12-13 | 2019-03-19 | 南京国电南自电网自动化有限公司 | Communication protocol bi-directional verification automated test tool and method based on Encryption Algorithm |
WO2021126147A1 (en) * | 2019-12-16 | 2021-06-24 | Mentor Graphics Corporation | A device for testing a base station |
CN112214441A (en) * | 2020-12-08 | 2021-01-12 | 北京和利时系统工程有限公司 | Communication switching method, equipment and system based on serial bus polling protocol |
Non-Patent Citations (1)
Title |
---|
移动式主站模拟测试装置关键技术研究;王晓蔚;郭捷;刘翔宇;杨启金;孟勇亮;;河北电力技术(第05期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114401212A (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114401212B (en) | Method for testing double-master-station communication protocol | |
CN111478818A (en) | Telecontrol checking method based on SCD file and RCD file | |
CN106656654B (en) | A kind of network fault diagnosis method and trouble-shooter | |
CN107333288B (en) | Communication fault detection method and device for field equipment of electricity consumption information acquisition system | |
CN116232931B (en) | Dual-mode test system applied to HPLC and broadband micropower wireless | |
CN111552271A (en) | Systematic testing method for regional stability control joint debugging | |
CN104076807B (en) | The adjustment method of the automated system of intelligent substation | |
CN105262211A (en) | Distribution master station and terminal synchronous on-line self-diagnosis method | |
CN103107914A (en) | Detection method and detection system for remote power acquisition terminal | |
CN105553885A (en) | FC switch priority testing method | |
CN106921522A (en) | Intelligent substation network message record analysis device networked information model inspection device | |
CN112564740A (en) | Device for detecting advanced application function of HPLC | |
CN113067745A (en) | Aircraft 1394B bus communication simulation test platform | |
CN114390374B (en) | Broadband micropower multi-network comprehensive test system of electricity consumption information acquisition system | |
CN109031005B (en) | Distributed relay protection device testing method and relay protection tester | |
CN114553677A (en) | HPLC district communication network operation and maintenance terminal | |
CN101846728B (en) | Incoming inspection device of power battery for hybrid electric vehicle and inspection method | |
CN104822157B (en) | Short distance power communication micro power radio communication Protocol Conformance Test System | |
CN111708700A (en) | Intelligent telemechanical closed-loop comprehensive test method | |
CN108200545B (en) | WLAN signaling test system and test method | |
CN114977494A (en) | Batch remote control checking device and method for substation in-service equipment without power outage | |
CN115065426A (en) | Production measurement and control system and method for wireless router product | |
CN112380121A (en) | Automatic testing method and system for Internet of things equipment | |
CN111083723A (en) | Micropower wireless simulation test system and method | |
CN116132343B (en) | Online monitoring terminal simulation test system and method for primary equipment of intelligent substation |
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 |