CN108306786A - A kind of automatic test approach and system based on WAMS communication protocols - Google Patents
A kind of automatic test approach and system based on WAMS communication protocols Download PDFInfo
- Publication number
- CN108306786A CN108306786A CN201711478545.3A CN201711478545A CN108306786A CN 108306786 A CN108306786 A CN 108306786A CN 201711478545 A CN201711478545 A CN 201711478545A CN 108306786 A CN108306786 A CN 108306786A
- Authority
- CN
- China
- Prior art keywords
- test
- event
- inspection
- tested device
- communication protocol
- 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
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/06—Generation of reports
-
- 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/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- 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/18—Protocol analysers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Abstract
The present invention relates to a kind of automatic test approach and system based on WAMS communication protocols generates test event message data corresponding with the test event according to the preconfigured tested device interactive information of acquisition and test content;When needing to execute test event, the corresponding message data of the test event is executed according to preset test mode.This method can realize that the automatically generating of test assignment, the automatic of testing procedure execute and test report automatically generates, reduce artifact interference, improve the reliability of testing efficiency and test, realize test repeatability, the trackability for ensureing test job, ensures the reliability and consistency of test result.
Description
Technical field
The present invention relates to automation equipment technical field of measurement and test, and in particular to a kind of automatic survey based on WAMS communication protocols
Method for testing and system.
Background technology
It is intelligent grid construction as digital P MU (synchronous phasor measuring device) is widely used in intelligent substation
Important component, while being given to wide area in PMU data acquisition and monitoring main station system, it is supervised convenient for the real-time dynamic of main station system
The use of the advanced application functions such as survey, presence estimation.The data transmission of digital P MU is based primarily upon WAMS communication protocols
The data sharing between main website.
To solve the active demand of engineer application, it is suitable for the WAMS communication protocols of the digital P MU of intelligent substation at present
View test is mainly all that the software of producer voluntarily is tested, though such study test can general data communication test nothing
Method fully meets the testing requirement of current intelligent substation, and major embodiment is in the following areas:
1. the test software of producer voluntarily is only capable of carrying out the test of part, single devices, can not carry out comprehensive, systemic
Inspection, test;
2. being unable to monitor transmission delay of the data flow between distinct device;
3. for distinctive mark position in the top-priority data frame of main website, do not have test function;
Once 4. communication disruption, investigation problem can not quick fault point, can only be by tester with wireshark etc.
Third-party testing software is positioned, and investigation issue workload is big;
5. although the test of above-mentioned correlation function can be completed by the combination of multiple test equipments, due to respective interface
Caused introducing error will cause test result validity poor, and introduce multiple test equipments and cause equipment cost height, survey
Try the shortcomings of complicated for operation, the testing time is long.
Invention content
For solve study test caused by can not carry out it is comprehensive, it is systematic check, test, monitoring propagation delay time and
Investigate the big problem of issue workload, the object of the present invention is to provide a kind of automatic test approach based on WAMS communication protocols and
System, technical solution provided by the invention can realize the automatic execution and test of the automatically generating of test assignment, testing procedure
Report automatically generates, and reduces artifact interference, improves the reliability of testing efficiency and test, realizes test repeatability,
The trackability for ensureing test job, ensures the reliability and consistency of test result.
The purpose of the present invention is what is realized using following technical proposals:
The present invention provides a kind of automatic test approach based on WAMS communication protocols, thes improvement is that:
Test event and the survey are generated according to the interactive information of the preconfigured tested device of acquisition and test content
The corresponding message data of examination project;
When needing to execute test event, the corresponding message of the test event is executed according to preset test mode
Data obtain test result.
Further:It is described when needing to execute test event, the test is executed according to preset test mode
The corresponding message data of project obtains test result, including:
Test is executed according to preset test mode according to selected test event to tested device, if test passes through,
Test is then prompted to pass through;If occurring mistake in test process, test is prompted not pass through, and send out warning information;
The corresponding communication protocol message data of test event is automatically recorded, the communication protocol message data is subjected to standard
It checks, carries out communication protocol message data dissection process, obtain test result.
Further:The preset test mode includes single stepping test and sequential testing.
Further:It is described that single stepping test is executed according to selected test event to tested device, if test passes through, prompt
Test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:To tested device
Each testing procedure according to selected test event is judged when executing test, if test passes through, prompts test logical
It crosses, and whether next step test is carried out according to prompt operation;If occurring mistake in test process, test is prompted not pass through, and
Send out warning information.
Further:It is described that sequential testing is executed according to selected test event to tested device, if test passes through, prompt
Test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:
When executing sequential testing to test event selected by tested device, after having executed all testing procedures, then judge described
Whether test event, which tests, passes through, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt to survey
Examination does not pass through, and sends out warning information.
Further:The preconfigured tested device interactive information according to acquisition and test content generate test item
Mesh message data corresponding with the test event, including:
Obtain the attribute information and test content of tested device;
According to attribute information and test content, after generating test event, information exchange is carried out according to the test content,
The corresponding message data of test event is generated in information interactive process.
Further:Further include after obtaining test result executing the corresponding message data of the test event:
Test report is generated according to test result.
Further:The preconfigured tested device interactive information includes the attribute information of tested device;The quilt
Survey device attribute information include:Data pipe port, management pipe end, as the basis of data transmission PMU devices it is solid
There are information, phasor number, analog quantity number, switching value number and IP address.
Further:The test content includes real-time Data Transmission inspection and off-line data transfer check;
The real-time Data Transmission inspection includes:Connection procedure inspection, configuration frame 1 check, configuration frame 2 checks, data frame
Format checking, head frame message format inspection and command frame format inspection;
The off-line data transfer check includes:Connection procedure inspection, the inspection of off-line data frame, the inspection of event identifier frame and
File directory frame inspection.
The present invention also provides a kind of Auto-Test Systems based on WAMS communication protocols, it is characterised in that:
Generation module, the interactive information for the preconfigured tested device according to acquisition generate test with test content
Project message data corresponding with the test event;
Execution module, for when needing to execute test event, the test to be executed according to preset test mode
The corresponding message data of project obtains test result.
Further:The generation module includes:
Acquiring unit, the attribute information for obtaining tested device and test content;
Unit is generated, for foundation attribute information and test content, after generating test test event, according in the test
Hold and carry out information exchange, the corresponding message data of test event is generated in information interactive process.
Further:The execution module, including:
Test cell, for executing survey according to preset test mode according to selected test event to tested device
Examination prompts test to pass through if test passes through;If occurring mistake in test process, test is prompted not pass through, and send out alarm
Information;
Processing unit, for automatically recording the corresponding communication protocol message data of test event, by the communication protocol report
Literary data carry out standard inspection, carry out communication protocol message data dissection process, record test result.
Further:Further include setting module, for presetting test mode, the setting module, including:
Single stepping test unit, for executing single stepping test according to selected test event to tested device, if test passes through,
Prompt test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:To tested
Device according to selected test event each testing procedure execute test when judged, if test pass through, prompt to survey
It pinged, and whether next step test is carried out according to prompt operation;If occurring mistake in test process, prompt to test obstructed
It crosses, and sends out warning information;
Sequential testing unit, for executing sequential testing according to selected test event to tested device, if test passes through,
Prompt test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:
When executing sequential testing to test event selected by tested device, after having executed all testing procedures, then judge described
Whether examination project, which tests, passes through, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt to test
Do not pass through, and sends out warning information.
Further:Further include generation module, for generating test report according to test result.
Further:The preconfigured tested device interactive information includes the attribute information of tested device;The quilt
Survey device attribute information include:Data pipe port, management pipe end, as the basis of data transmission PMU devices it is solid
There are information, phasor number, analog quantity number, switching value number and IP address.
Further:The real-time Data Transmission inspection includes:Connection procedure inspection, configuration frame 1 check, configuration frame 2 is examined
Look into, data frame format inspection, head frame message format inspection and command frame format inspection;
The off-line data transfer check includes:Connection procedure inspection, the inspection of off-line data frame, the inspection of event identifier frame and
File directory frame inspection.
Compared with the immediate prior art, technical solution provided by the invention has an advantageous effect in that:
1. the present invention provides a kind of automatic test approach and system based on WAMS communication protocols, according to matching in advance for acquisition
The tested device interactive information and test content set generate test event message data corresponding with the test event;Work as needs
When executing test event, the corresponding message data of the test event is executed according to preset test mode.Solution of the present invention
Comprehensive, systematic inspection, test, monitoring propagation delay time can not be certainly carried out caused by study test.
2. this method can realize the automatically generating of test assignment, testing procedure it is automatic execute and test report it is automatic
It generates, reduces artifact interference, improve the reliability of testing efficiency and test, realize test repeatability, ensure test work
The trackability of work ensures the reliability and consistency of test result, solves the problems, such as that investigation issue workload is big.
3. the present invention starts with from WAMS communication protocols, and combines the technology requirement of prevailing network SV sampling special identifiers position,
Stipulations protocol test is carried out to tested PMU devices, so as to tested device communication specification, accuracy;
4. Auto-Test System of the present invention removes one-touch test function, accurate communication fault location function is also provided, to reach
To repetition, the tedious work for reducing tester, the purpose improved work efficiency.
Description of the drawings
Fig. 1 is the automatic test approach simple process figure provided by the invention based on WAMS communication protocols;
Fig. 2 is the detail flowchart of the automatic test approach provided by the invention based on WAMS communication protocols;
Fig. 3 is the test philosophy structure chart provided by the invention based on WAMS communication protocols.
Specific implementation mode
The specific implementation mode of the present invention is described in further detail below in conjunction with the accompanying drawings.
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to
Put into practice them.Other embodiments may include structure, logic, it is electrical, process and other change.Embodiment
Only represent possible variation.Unless explicitly requested, otherwise individual component and function are optional, and the sequence operated can be with
Variation.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.This hair
The range of bright embodiment includes equivalent obtained by the entire scope of claims and all of claims
Object.Herein, these embodiments of the invention can individually or generally be indicated that this is only with term " invention "
For convenience, it and if in fact disclosing the invention more than one, is not meant to automatically limit ranging from appointing for the application
What single invention or inventive concept.
Embodiment one,
The present invention provides a kind of automatic test approach based on WAMS communication protocols, as illustrated in fig. 1 and 2, including:
Test event and the test are generated according to the preconfigured tested device interactive information of acquisition and test content
The corresponding message data of project;
When needing to execute test event, the corresponding message of the test event is executed according to preset test mode
Data.
The preconfigured tested device interactive information includes the attribute information of tested device.The category of the tested device
Property information includes:Data pipe port manages pipe end, as the basic PMU devices intrinsic information of data transmission, phasor
Number, analog quantity number, switching value number and IP address;The test content includes real-time Data Transmission inspection and off-line data
Transfer check.
Test content covers real-time Data Transmission inspection and off-line data transfer check, and real-time Data Transmission inspection includes:
Connection procedure inspection, configuration frame 1 check, configure the inspection of frame 2, data frame format inspection, the inspection of head frame message format, command frame lattice
Formula inspection;The off-line data transfer check includes:Connection procedure inspection, the inspection of off-line data frame, the inspection of event identifier frame and
File directory frame inspection.
It is described when needing to execute test event, it is corresponding that the test event is executed according to preset test mode
Message data, including:
Test is executed according to preset test mode according to selected test event to tested device, if test passes through,
Test is then prompted to pass through;If occurring mistake in test process, test is prompted not pass through, and send out warning information;
The corresponding communication protocol message data of test event is automatically recorded, the communication protocol message data is subjected to standard
It checks, carries out message data dissection process, record test result.
Further:The preset test mode includes single stepping test and sequential testing.
Further:It is described that single stepping test is executed according to selected test event to tested device, if test passes through, prompt
Test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:To tested device
Each testing procedure according to selected test event is judged when executing test, if test passes through, prompts test logical
It crosses, and whether next step test is carried out according to prompt operation;If occurring mistake in test process, test is prompted not pass through, and
Send out warning information.
Further:It is described that sequential testing is executed according to selected test event to tested device, if test passes through, prompt
Test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:
When executing sequential testing to test event selected by tested device, after having executed all testing procedures, then judge described
Whether test event, which tests, passes through, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt to survey
Examination does not pass through, and sends out warning information.
Further:The preconfigured tested device interactive information according to acquisition and test content generate test item
Mesh message data corresponding with the test event, including:
Obtain the attribute information and test content of tested device;
According to attribute information and test content, after generating test event, information exchange is carried out according to the test content,
The corresponding message data of test event is generated in information interactive process.
Further:After executing the corresponding message data of the test event, further include:
Test result is automatically analyzed, test report is generated according to communication protocol message data in test event content and test
It accuses.
It is mainly made of human-computer interaction management function, data transmit-receive function when test, schematic diagram is as shown in Figure 3.
Human-computer interaction management function:It is shown for man-machine dialogue system, reception data distribution, bottom data, automatic execution
Test, the function of generating test report;
Data transmit-receive function:For receiving, sending datagram;Data receiver is data that following equipment are transmitted, such as:
Synchronous phasor measuring device (PMU), data concentrator (PDC).Data transmission refers in establishing criteria to WAMS main websites, substation data
The message of transfer process and the regulation transmission standard of message, and the variation of test packet data.
The test mode includes that single step executes test and sequentially executes test.
When postponing the progress single step execution test of PMU devices to matching, it the described method comprises the following steps.
Step 1:The test system and the configuration of the interactive information of the tested PMU devices;
Step 2:Tested device is tested according to selected item, after single test event is completed, is by test
Whether system prompt operating personnel carry out next step test;
Step 3:Automatically record communication protocol message data in survey project between tested device and test system, will acquire
Message data carries out standard inspection, carries out message data dissection process, records test result;
Step 4:The test system automatically analyzes test result, generates test report.
Postpone PMU devices progress sequence to matching and execute test, the method includes with following steps.
Step 1:The test system and the configuration of the interactive information of the tested PMU devices;
Step 2:Tested device to be tested according to selected item, all items are tested according to project order, if
Occur mistake in test process, by the alarm function of test system, detailed warning information is provided, problem is facilitated to investigate;
Step 3:Automatically record communication protocol message data in survey project between tested device and test system, will acquire
Message data carries out standard inspection, carries out message data dissection process, records test result;
Step 4:The test system automatically analyzes test result, generates test report.
(2) test event selection and test.Needed according to test, flexibly choose test event, test system automatically according to
Project demands carry out information exchange, to check that tested device message is correct according to standard message call format and tested PMU devices
Property.It supports that single step executes test, sequence executes test simultaneously, relies on test system real time data to refresh work(in automatic testing process
Energy, warning information function and data packet parsing function, grasp test case at any time;
(3) data are automatically analyzed and test report is provided.Test system automatically analyzes test result, according to test content
And test data, automatically generate test report.
The realization of WAMS communication protocols tested automatically is realized based on following functions.
When WAMS communication protocols are tested automatically, for easy test and test communication process, in automatic testing process, communication
Stipulations Auto-Test System has following functions feature
Real time data refresh function;
The data sent in intuitive observation tested device, in addition to the phasor value, analog quantity, switching value etc. sent in monitoring are believed substantially
Breath is outer, can also be achieved to " markers is abnormal " in data frame, " low-frequency oscillation ", the monitorings such as " triggering reason ", in transmission frame
Sensitive byte, if FRACSEC fields carry out special identifier, the reaction to device in leap second is more intuitive to embody, in addition
The functional test of channel data quality identification in all data frames of increase is required for the technology of adaptation " four unifications, four specifications ".
Data message parses function;The message that segmented is carried out for the transfer process between test system and tested device is adopted
Set analysis.Such as:Real-time (offline) transfer process data message between main website, substation, " management pipeline connection procedure ", " data pipe
The flow storages such as connection procedure ", " real-time Data Transmission frame format ", " off-line data transmission frame format ", " off-line data transmission "
Message is parsed for the message of each link, is removed from for test system user the time of analytic message, while to survey
Test result and test report provide data analysis, understand convenient for message.
Warning information function.In test process, if format message in data transmission procedure occur does not meet standard requirement
There is corresponding prompt message at information alert interface, while in combination with data message analytic function, problem can be accurately positioned in phenomenon
Source.
Furthermore according to test object difference, flexibly configurable " the intercepting port of data pipe ", " management pipe end ",
Information such as " off-line data pipeline intercept port ".Consider that the facility environment of scene operation is different from laboratory, in view of more equipment rooms
Interoperability, increase " multiple PMU carry out data compare test ".Finally according to the test report template of setting and selected survey
Examination project analyzes test data and result of calculation, automatically generates the test report for meeting test specification, complete whole tests.
Real time data refresh function, data parsing function and alarm function are the bases of Auto-Test System.
Embodiment two,
Based on same inventive concept, the present invention also provides a kind of Auto-Test System based on WAMS communication protocols, packets
It includes:
Generation module, the interactive information for the preconfigured tested device according to acquisition generate test with test content
Project message data corresponding with the test event;
Execution module, for when needing to execute test event, the test to be executed according to preset test mode
The corresponding message data of project obtains test result.
Further:The generation module includes:
Acquiring unit, the attribute information for obtaining tested device and test content;
Unit is generated, for foundation attribute information and test content, after generating test test event, according in the test
Hold and carry out information exchange, the corresponding message data of test event is generated in information interactive process.
Further:The execution module, including:
Test cell, for executing survey according to preset test mode according to selected test event to tested device
Examination prompts test to pass through if test passes through;If occurring mistake in test process, test is prompted not pass through, and send out alarm
Information;
Processing unit, for automatically recording the corresponding communication protocol message data of test event, by the communication protocol report
Literary data carry out standard inspection, carry out communication protocol message data dissection process, record test result.
Further:Further include setting module, for presetting test mode, the setting module, including:
Single stepping test unit, for executing single stepping test according to selected test event to tested device, if test passes through,
Prompt test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:To tested
Device according to selected test event each testing procedure execute test when judged, if test pass through, prompt to survey
It pinged, and whether next step test is carried out according to prompt operation;If occurring mistake in test process, prompt to test obstructed
It crosses, and sends out warning information;
Sequential testing unit, for executing sequential testing according to selected test event to tested device, if test passes through,
Prompt test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:
When executing sequential testing to test event selected by tested device, after having executed all testing procedures, then judge described
Whether examination project, which tests, passes through, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt to test
Do not pass through, and sends out warning information.
Further:Further include generation module, for generating test report according to test result.
Further:The preconfigured tested device interactive information includes the attribute information of tested device;The quilt
Survey device attribute information include:Data pipe port, management pipe end, as the basis of data transmission PMU devices it is solid
There are information, phasor number, analog quantity number, switching value number and IP address.
Further:The real-time Data Transmission inspection includes:Connection procedure inspection, configuration frame 1 check, configuration frame 2 is examined
Look into, data frame format inspection, head frame message format inspection and command frame format inspection;
The off-line data transfer check includes:Connection procedure inspection, the inspection of off-line data frame, the inspection of event identifier frame and
File directory frame inspection.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, although with reference to above-described embodiment pair
The present invention is described in detail, those of ordinary skill in the art still can to the present invention specific implementation mode into
Row modification either equivalent replacement these without departing from any modification of spirit and scope of the invention or equivalent replacement, applying
Within the claims of the pending present invention.
Claims (16)
1. a kind of automatic test approach based on WAMS communication protocols, it is characterised in that:
Test event and the test item are generated according to the interactive information of the preconfigured tested device of acquisition and test content
The corresponding message data of mesh;
When needing to execute test event, the corresponding message number of the test event is executed according to preset test mode
According to acquisition test result.
2. the automatic test approach of communication protocol as described in claim 1, it is characterised in that:It is described to need to execute test item
When mesh, the corresponding message data of the test event is executed according to preset test mode, obtains test result, including:
Test is executed according to preset test mode according to selected test event to tested device, if test passes through, is carried
Show that test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information;
The corresponding communication protocol message data of test event is automatically recorded, the communication protocol message data is subjected to standard inspection
It looks into, carries out communication protocol message data dissection process, obtain test result.
3. the automatic test approach of communication protocol as claimed in claim 2, it is characterised in that:The preset test side
Formula includes single stepping test and sequential testing.
4. the automatic test approach of communication protocol as claimed in claim 3, it is characterised in that:It is described to tested device according to institute
It selects test event to execute single stepping test, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt
Test does not pass through, and sends out warning information, including:Each testing procedure to tested device according to selected test event is executing
All judged when test, if test passes through, test is prompted to pass through, and whether next step test is carried out according to prompt operation;
If occurring mistake in test process, test is prompted not pass through, and send out warning information.
5. the automatic test approach of communication protocol as claimed in claim 3, it is characterised in that:It is described to tested device according to institute
It selects test event to execute sequential testing, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt
Test does not pass through, and sends out warning information, including:
When executing sequential testing to test event selected by tested device, after having executed all testing procedures, then the test is judged
Whether project, which tests, passes through, if test passes through, test is prompted to pass through;If occurring mistake in test process, test is prompted not
Pass through, and sends out warning information.
6. the automatic test approach of communication protocol as described in claim 1, it is characterised in that:The matching in advance according to acquisition
The tested device interactive information and test content set generate test event message data corresponding with the test event, including:
Obtain the attribute information and test content of tested device;
According to attribute information and test content, after generating test event, information exchange is carried out according to the test content, in information
The corresponding message data of test event is generated in interactive process.
7. the automatic test approach of communication protocol as described in claim 1, it is characterised in that:Executing the test event pair
The message data answered, obtain test result after, further include:
Test report is generated according to test result.
8. the automatic test approach of communication protocol as described in claim 1, it is characterised in that:The preconfigured tested dress
Set the attribute information that interactive information includes tested device;The attribute information of the tested device includes:Data pipe port, management
Pipe end, as data transmission basis PMU devices intrinsic information, phasor number, analog quantity number, switching value number and
IP address.
9. the automatic test approach of communication protocol as described in claim 1, it is characterised in that:The test content includes real-time
Data transmission inspection and off-line data transfer check;
The real-time Data Transmission inspection includes:Connection procedure inspection, configuration frame 1 check, configuration frame 2 checks, data frame format
Inspection, head frame message format inspection and command frame format inspection;
The off-line data transfer check includes:Connection procedure inspection, the inspection of off-line data frame, the inspection of event identifier frame and file
Catalogue frame inspection.
10. a kind of Auto-Test System based on WAMS communication protocols, it is characterised in that:
Generation module, the interactive information for the preconfigured tested device according to acquisition generate test event with test content
Message data corresponding with the test event;
Execution module, for when needing to execute test event, the test event to be executed according to preset test mode
Corresponding message data obtains test result.
11. the Auto-Test System of communication protocol as claimed in claim 10, it is characterised in that:The generation module includes:
Acquiring unit, the attribute information for obtaining tested device and test content;
Generate unit, for according to attribute information and test content, generate test test event after, according to the test content into
Row information interacts, and the corresponding message data of test event is generated in information interactive process.
12. the Auto-Test System of communication protocol as claimed in claim 10, it is characterised in that:The execution module, including:
Test cell, for executing test according to preset test mode according to selected test event to tested device, if
Test passes through, then test is prompted to pass through;If occurring mistake in test process, test is prompted not pass through, and send out warning information;
Processing unit, for automatically recording the corresponding communication protocol message data of test event, by the communication protocol message number
According to standard inspection is carried out, communication protocol message data dissection process is carried out, records test result.
13. the Auto-Test System of communication protocol as claimed in claim 10, it is characterised in that:Further include setting module, uses
In presetting test mode, the setting module, including:
Single stepping test unit, if test passes through, is prompted for executing single stepping test according to selected test event to tested device
Test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:To tested device
Each testing procedure according to selected test event judged executing the when of testing, if test passes through, prompt test logical
It crosses, and whether next step test is carried out according to prompt operation;If occurring mistake in test process, test is prompted not pass through, and
Send out warning information;
Sequential testing unit, if test passes through, is prompted for executing sequential testing according to selected test event to tested device
Test passes through;If occurring mistake in test process, test is prompted not pass through, and send out warning information, including:
When executing sequential testing to test event selected by tested device, after having executed all testing procedures, then the examination item is judged
Whether mesh, which is tested, passes through, if test passes through, test is prompted to pass through;If occurring mistake in test process, prompt to test obstructed
It crosses, and sends out warning information.
14. the Auto-Test System of communication protocol as claimed in claim 10, it is characterised in that:Further include generation module, uses
According to test result generation test report.
15. the Auto-Test System of communication protocol as claimed in claim 10, it is characterised in that:It is described preconfigured tested
Device interactive information includes the attribute information of tested device;The attribute information of the tested device includes:Data pipe port, pipe
Manage pipe end, as the basic PMU devices intrinsic information of data transmission, phasor number, analog quantity number, switching value number
And IP address.
16. the Auto-Test System of communication protocol as claimed in claim 10, it is characterised in that:The real-time Data Transmission inspection
Look into including:Connection procedure inspection, configuration frame 1 check, configuration frame 2 inspection, data frame format inspection, head frame message format inspection and
Command frame format inspection;
The off-line data transfer check includes:Connection procedure inspection, the inspection of off-line data frame, the inspection of event identifier frame and file
Catalogue frame inspection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711478545.3A CN108306786A (en) | 2017-12-29 | 2017-12-29 | A kind of automatic test approach and system based on WAMS communication protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711478545.3A CN108306786A (en) | 2017-12-29 | 2017-12-29 | A kind of automatic test approach and system based on WAMS communication protocols |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108306786A true CN108306786A (en) | 2018-07-20 |
Family
ID=62868221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711478545.3A Pending CN108306786A (en) | 2017-12-29 | 2017-12-29 | A kind of automatic test approach and system based on WAMS communication protocols |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108306786A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773913A (en) * | 2005-11-16 | 2006-05-17 | 上海南瑞实业有限公司 | Wide area measurement WAMS main station/sub station simulating method |
CN101572440A (en) * | 2009-02-27 | 2009-11-04 | 国电南瑞科技股份有限公司 | Power grid protocol analysis and test method |
CN101629995A (en) * | 2009-08-10 | 2010-01-20 | 华中电网有限公司 | Detection method of phasor measurement unit PMU |
CN102970175A (en) * | 2012-02-08 | 2013-03-13 | 深圳市金宏威技术股份有限公司 | Power distribution network protocol test analytical method and system |
CN103033789A (en) * | 2012-12-26 | 2013-04-10 | 华北电力大学 | Static and dynamic test system of synchronous phasor measurement unit pressure measuring unit (PMU) |
CN104217127A (en) * | 2014-09-18 | 2014-12-17 | 北京四方继保自动化股份有限公司 | PMU (Power Management Unit) dynamic data simulation generating method |
US20150062767A1 (en) * | 2013-08-30 | 2015-03-05 | Lsis Co., Ltd. | Power device for preventing malfunction |
CN104536858A (en) * | 2015-01-04 | 2015-04-22 | 中国科学院光电技术研究所 | Automated remote terminal and 1553 B bus communication test method |
CN104678337A (en) * | 2015-02-10 | 2015-06-03 | 国家电网公司 | Automatic detection method for performance indicators of optical digital relay protection testers |
CN105572616A (en) * | 2015-12-16 | 2016-05-11 | 华北电力大学 | Phasor measurement unit (PMU) static-dynamic test system based on high-precision calibrator |
CN105656720A (en) * | 2016-01-26 | 2016-06-08 | 云南电网有限责任公司电力科学研究院 | Test method based on IEC60870-5-101 protocol of telecontrol device |
-
2017
- 2017-12-29 CN CN201711478545.3A patent/CN108306786A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773913A (en) * | 2005-11-16 | 2006-05-17 | 上海南瑞实业有限公司 | Wide area measurement WAMS main station/sub station simulating method |
CN101572440A (en) * | 2009-02-27 | 2009-11-04 | 国电南瑞科技股份有限公司 | Power grid protocol analysis and test method |
CN101629995A (en) * | 2009-08-10 | 2010-01-20 | 华中电网有限公司 | Detection method of phasor measurement unit PMU |
CN102970175A (en) * | 2012-02-08 | 2013-03-13 | 深圳市金宏威技术股份有限公司 | Power distribution network protocol test analytical method and system |
CN103033789A (en) * | 2012-12-26 | 2013-04-10 | 华北电力大学 | Static and dynamic test system of synchronous phasor measurement unit pressure measuring unit (PMU) |
US20150062767A1 (en) * | 2013-08-30 | 2015-03-05 | Lsis Co., Ltd. | Power device for preventing malfunction |
CN104217127A (en) * | 2014-09-18 | 2014-12-17 | 北京四方继保自动化股份有限公司 | PMU (Power Management Unit) dynamic data simulation generating method |
CN104536858A (en) * | 2015-01-04 | 2015-04-22 | 中国科学院光电技术研究所 | Automated remote terminal and 1553 B bus communication test method |
CN104678337A (en) * | 2015-02-10 | 2015-06-03 | 国家电网公司 | Automatic detection method for performance indicators of optical digital relay protection testers |
CN105572616A (en) * | 2015-12-16 | 2016-05-11 | 华北电力大学 | Phasor measurement unit (PMU) static-dynamic test system based on high-precision calibrator |
CN105656720A (en) * | 2016-01-26 | 2016-06-08 | 云南电网有限责任公司电力科学研究院 | Test method based on IEC60870-5-101 protocol of telecontrol device |
Non-Patent Citations (1)
Title |
---|
张晓莉,周泽昕,张道农,于跃海,蒋宜国,黎明: "《同步相量测量装置的测试与评估》", 《电力科学与技术学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103678093B (en) | A kind of automated test frame and method of testing | |
CN107544077B (en) | A kind of GNSS data quality testing analysis system and its analysis method | |
CN201886095U (en) | Test device of merging unit | |
CN104217127B (en) | A kind of PMU dynamic datas simulation-generation method | |
CN101572440B (en) | Power grid code analysis and test method | |
CN109783552A (en) | A kind of data cleansing restorative procedure | |
CN102118282A (en) | Communication protocol consistency detection method and system | |
CN106405294B (en) | Portable power distribution product transmission calibrator and implementation test method thereof | |
CN106787199A (en) | A kind of portable substation simulated testing system and method | |
CN104978262A (en) | Terminal test method and terminal test device | |
CN110632461B (en) | Test method, test terminal and test system for synchrophasor data concentrator | |
CN111308242A (en) | Test platform and test method of distribution automation system | |
CN106405383B (en) | The embedded board Auto-Test System and method of view-based access control model detection technique | |
CN110365804A (en) | A kind of distribution terminal cloud detection system | |
CN110989547A (en) | Detection method and system for intelligent substation one-key sequence control system | |
CN111930078B (en) | Network testing device for nuclear control system | |
CN105785170A (en) | Intelligent transformer substation oriented data flow panoramic displaying device and intelligent transformer substation oriented data flow panoramic displaying method | |
CN108845952A (en) | A kind of avionics FC data stimuli method based on test case script | |
Song et al. | Interoperability test for IEC 61850-9-2 standard-based merging units | |
CN108965282B (en) | Non-invasive cross-safety-area message tracking and monitoring system and method | |
CN104639351A (en) | Processing system and method for constructing network structure deployment diagram | |
CN110224882B (en) | Energy storage power station remote control time delay test method and device | |
CN108306786A (en) | A kind of automatic test approach and system based on WAMS communication protocols | |
CN104065524B (en) | The performance test methods of GOOSE message in a kind of IEC61850 | |
CN116383061A (en) | Method and related device for testing basic platform interface of substation control system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180720 |