CN108255713A - One kind is towards intelligent alarm Injection Testing test data auto generation method - Google Patents
One kind is towards intelligent alarm Injection Testing test data auto generation method Download PDFInfo
- Publication number
- CN108255713A CN108255713A CN201711492050.6A CN201711492050A CN108255713A CN 108255713 A CN108255713 A CN 108255713A CN 201711492050 A CN201711492050 A CN 201711492050A CN 108255713 A CN108255713 A CN 108255713A
- Authority
- CN
- China
- Prior art keywords
- fault
- signal
- test case
- file
- sequence template
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Abstract
The present invention relates to one kind towards intelligent alarm Injection Testing test data auto generation method, technical characterstic is:Include the following steps:Step 1, the test logic in fault distinguishing logic chart, determine the principle of ordering of fault-signal, and then implementor name, signal description, interval, state value and the quality factor of fault-signal test case sequence template are edited, form single fault-signal test case sequence template file;Step 2 forms fault-signal test case sequence template library;Step 3, by the fault-signal automatic mapping in the fault-signal test case sequence template file and Practical Project SCD in the fault-signal test case sequence template library of step 2, form the instantiation test case file of specific failure.The present invention realizes the reuse of template, shortens the generated time of test case, improves work efficiency.
Description
Technical field
The invention belongs to power system automation technology fields, are related to substation's integrated monitoring system, especially a kind of
Towards intelligent alarm Injection Testing test data auto generation method.
Background technology
It is called for response Guo Wang companies " four unifications, four specifications ", it should we have studied substation's integrated monitoring intelligence
With function testing inspection and postitallation evaluation technology, a kind of note towards the advanced application of integrated monitoring system intelligent alarm is had developed
Enter test system, system is by visual testing logic configuration software, whole station intelligent alarm time stimulatiom instrument and DL/T476 agreements point
Three parts such as analyzer form.Wherein, important component-Test cases technology of visual testing logic configuration software is to be
The most important thing of system.
At present, about the test case research towards the advanced application test systems of monitoring system, at home and abroad existing money
In source, belong to the new subject of comparison, relevant research is fewer, mainly comes from colleges and universities and R&D institution, from operation of power networks one
The research of line is also few.
It is most at present using choosing and input manually according to test logic moreover, the realization about test case
Method, fault-signal and interval all realized by the method that is manually entered, heavy workload, error-prone, and test every time is required for hand
Dynamic typing test case, take it is longer, be unfavorable for operating and change.
Invention content
The purpose of the present invention is to provide a kind of reasonable design, it is time saving and energy saving and conducive to operation and change towards intelligent announcement
Alert Injection Testing test data auto generation method.
One kind includes the following steps towards intelligent alarm Injection Testing test data auto generation method:
Step 1, the test logic in fault distinguishing logic chart determine the principle of ordering of fault-signal, and then edit
Implementor name, signal description, interval, state value and the quality factor of fault-signal test case sequence template, form single failure
Signal testing use-case sequence template file;
Step 2, according to the typical fault type mentioned in the voltage class of existing substation, fault distinguishing logical specification and
Common typical fault type in practice, forms fault-signal test case sequence template library, and fault-signal test is used
The typical fault for all voltage class substations that disclosure satisfy that general test demand is included in example sequence template library;
Step 3, by the fault-signal test case sequence in the fault-signal test case sequence template library of step 2
Fault-signal automatic mapping in template file and Practical Project SCD forms the instantiation test case file of specific failure.
Moreover, the edit methods of the fault-signal test case sequence template file of the step 1 include the following steps:
(1) according to failure phase criterion, the IED equipment in SCD file is added in failure phase;
(2) according to failure phase criterion, SCD file is selected in failure phase, specific failure is added according to data set and is believed
Breath;
(3) according to failure phase criterion, the state value of fault-signal is added in exemplary application template;
(4) according to failure phase criterion, the interval time of fault-signal is added in exemplary application template;
(5) according to failure phase criterion, the quality factor of fault-signal is added in exemplary application template;
(6) (1)-(5) are repeated and adds next fault-signal, until all fault-signal additions finish.
Moreover, the specific steps of the step 3 include:
(1) IED of the IED information in concrete engineering SCD file and fault-signal test case sequence template file
Information MAP;
(2) in the Dataset information in concrete engineering SCD file and fault-signal test case sequence template file
Dataset mapping;
(3) it is tested according to the information such as InClass, desc, doName of FCDA in concrete engineering SCD file and fault-signal
Name, mstchrule, desc mapping of use-case sequence template file;
(4) the Flt instantiation test cases in the information of mapping and fault-signal test case sequence template file
File.
The advantages of the present invention:
1st, the automatic mapping technology of fault-signal sequence template file of the invention and SCD file realizes the repetition of template
It uses, shortens the generated time of test case, improve work efficiency.To promote the hair of integrated monitoring system high application
Foundation work has been done in exhibition, is also made that for the smooth implementation of Guo Wang companies " four unifications, four specifications " basic but very important
Contribution.
2nd, after a kind of generation method of test case of the present invention proposes, in intelligent substation comprehensive analysis of fault criterion specification
Cover common voltage grade transformer substation typical fault, the formation of fault-signal sequence template library significantly enrich and
The knowledge base in intelligent alarm direction is accumulated, the efficiency of test configurations is promoted, fills up the field blank.
Description of the drawings
Fig. 1 is the general frame figure of the present invention of the present invention;
Fig. 2 is the fault test use-case sequence template file schematic diagram of the present invention;
Fig. 3 is the fault-signal test case sequence template file automatic mapping of the present invention and instantiation process schematic diagram;
Fig. 4 is the fault-signal test case sequence template file automatic mapping of the present invention and instantiation procedure flow chart;
Fig. 5 is the instantiation failure sequence file schematic diagram of the present invention;
Fig. 6 is the failure sequence template file working interface figure of the present invention.
Specific embodiment
The embodiment of the present invention is described in further detail below in conjunction with attached drawing:
It is provided the present invention is based on fault distinguishing logic chart a kind of towards intelligent alarm Injection Testing test case
Automatic generation method realizes the Test cases technology based on test case template.
One kind is towards intelligent alarm Injection Testing test data auto generation method, as shown in Figure 1, including following
Step:
Step 1, the test logic in fault distinguishing logic chart determine the principle of ordering of fault-signal, and then edit
Implementor name, signal description, interval, state value and the quality factor of fault-signal test case sequence template, form single failure
Signal testing use-case sequence template file, the fault test use-case sequence template file are as shown in Figure 2;
In the present embodiment, the test logic based on fault distinguishing logic chart carries out fault-signal test case sequence mould
Plate Document Editing;The fault-signal test case sequence template Document Editing is mainly that staff relies on fault distinguishing logic chart
Failure sequence is manually entered, and corresponding state is set, fault test use-case sequence template file after the completion is as shown in Figure 2.
The edit methods of the fault-signal test case sequence template file of the step 1 include the following steps:
(1) according to failure phase criterion, the IED equipment in SCD file is added in failure phase;
(2) according to failure phase criterion, SCD file is selected in failure phase, specific failure is added according to data set and is believed
Breath;
(3) according to failure phase criterion, the state value of fault-signal is added in exemplary application template;
(4) according to failure phase criterion, the interval time of fault-signal is added in exemplary application template;
(5) according to failure phase criterion, the quality factor of fault-signal is added in exemplary application template;
(6) (1)-(5) are repeated and adds next fault-signal, until all fault-signal additions finish.
Step 2, according to the typical fault type mentioned in the voltage class of existing substation, fault distinguishing logical specification and
Common typical fault type in practice, forms fault-signal test case sequence template library, and fault-signal test is used
The typical fault for all voltage class substations that disclosure satisfy that general test demand is included in example sequence template library;
Step 3, by the fault-signal test case sequence in the fault-signal test case sequence template library of step 2
Fault-signal automatic mapping in template file and Practical Project SCD, fault-signal test case sequence template file reflect automatically
It penetrates and instantiation process is as shown in figure 3, fault-signal test case sequence template file automatic mapping and instantiation flow such as Fig. 4
It is shown, the instantiation test case file of specific failure is formed, the instantiation test case failure sequence file is as shown in Figure 5;
The specific steps of the step 3 include:
(1) IED of the IED information in concrete engineering SCD file and fault-signal test case sequence template file
Information MAP;
(2) in the Dataset information in concrete engineering SCD file and fault-signal test case sequence template file
Dataset mapping;
(3) it is tested according to the information such as InClass, desc, doName of FCDA in concrete engineering SCD file and fault-signal
Name, mstchrule, desc mapping of use-case sequence template file;
(4) the Flt instantiation test cases in the information of mapping and fault-signal test case sequence template file
File.
In the present embodiment, the specific work process of the step 3 is:
(1) standrded fault pattern is selected according to demand;
(2) failure use-case is selected;
(3) IED is mapped according to template file and specific SCD file;If IED all maps, jump
To (4), if IED revises standrded fault pattern file, and reselect failure without all mapping
Template);
(4) manually revision IED mappings;
(5) according to template file and specific SCDW File Mappings signal;If signal all maps, jump
To (6), if signal revises standrded fault pattern file, and reselect failure without all mapping
Template;
(6) manually revision signal mapping;
(7) signal sequence maps;
(8) instantiation test case file is completed, as shown in Figure 5.
The present invention also developed visual fault-signal sequence template configuration module and fault-signal mapping configuration module,
The software interface displaying of its failure sequence template file working interface is as shown in Figure 6.
Its specific software operating process is as follows:
" being connected to template " button is clicked, selects standrded fault pattern;
Select failure use-case;
" mapping IED " button is clicked, maps IED;(if IED all maps, and jumps to (4), if IED is mapped without whole,
It then returns to (1) or the artificial revision IED of selection is mapped and jumped to (4))
It clicks " signal mapping ", signal mapping;(if signal all maps, and jumps to (5), if signal is mapped without whole,
It then returns to (1) or the artificial revision signal of selection is mapped and jumped to (5))
Signal sequence maps;
Test case file is instantiated, shown in Fig. 5.
Working interface displaying is as shown in Figure 6.
It is emphasized that embodiment of the present invention is illustrative rather than limited, therefore the present invention includes
Embodiment described in specific embodiment is not limited to, it is every to be obtained according to the technique and scheme of the present invention by those skilled in the art
Other embodiment, also belong to the scope of protection of the invention.
Claims (3)
- It is 1. a kind of towards intelligent alarm Injection Testing test data auto generation method, it is characterised in that:Including following Step:Step 1, the test logic in fault distinguishing logic chart determine the principle of ordering of fault-signal, and then edit failure Implementor name, signal description, interval, state value and the quality factor of signal testing use-case sequence template, form single fault-signal Test case sequence template file;Step 2, according to the typical fault type and reality mentioned in the voltage class of existing substation, fault distinguishing logical specification In common typical fault type, formed fault-signal test case sequence template library, the fault-signal test case sequence The typical fault for all voltage class substations that disclosure satisfy that general test demand is included in row template file library;Step 3, by the fault-signal test case sequence template in the fault-signal test case sequence template library of step 2 Fault-signal automatic mapping in file and Practical Project SCD forms the instantiation test case file of specific failure.
- 2. it is according to claim 1 a kind of towards intelligent alarm Injection Testing test data auto generation method, It is characterized in that:The edit methods of the fault-signal test case sequence template file of the step 1 include the following steps:(1) according to failure phase criterion, the IED equipment in SCD file is added in failure phase;(2) according to failure phase criterion, SCD file is selected in failure phase, specific fault message is added according to data set;(3) according to failure phase criterion, the state value of fault-signal is added in exemplary application template;(4) according to failure phase criterion, the interval time of fault-signal is added in exemplary application template;(5) according to failure phase criterion, the quality factor of fault-signal is added in exemplary application template;(6) (1)-(5) are repeated and adds next fault-signal, until all fault-signal additions finish.
- It is 3. according to claim 1 or 2 a kind of towards intelligent alarm Injection Testing test data auto generation side Method, it is characterised in that:The specific steps of the step 3 include:(1) the IED information in concrete engineering SCD file and the IED information of fault-signal test case sequence template file Mapping;(2) in the Dataset information in concrete engineering SCD file and fault-signal test case sequence template file Dataset maps;(3) according to the information such as InClass, desc, doName of FCDA in concrete engineering SCD file and fault-signal test case Name, mstchrule, desc mapping of sequence template file;(4) the Flt instantiation test case files in the information of mapping and fault-signal test case sequence template file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711492050.6A CN108255713B (en) | 2017-12-30 | 2017-12-30 | Automatic generation method for test case of intelligent alarm injection test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711492050.6A CN108255713B (en) | 2017-12-30 | 2017-12-30 | Automatic generation method for test case of intelligent alarm injection test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108255713A true CN108255713A (en) | 2018-07-06 |
CN108255713B CN108255713B (en) | 2021-10-22 |
Family
ID=62725688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711492050.6A Active CN108255713B (en) | 2017-12-30 | 2017-12-30 | Automatic generation method for test case of intelligent alarm injection test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108255713B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157577A (en) * | 2021-04-27 | 2021-07-23 | 中国工商银行股份有限公司 | PaaS cloud platform fault testing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103439612A (en) * | 2013-09-02 | 2013-12-11 | 上海毅昊自动化有限公司 | Intelligent transformer substation automatic testing system based on SCD |
CN104360948A (en) * | 2014-12-01 | 2015-02-18 | 国网重庆市电力公司江津供电分公司 | IEC 61850 configuration file engineering consistency test method based on fuzzy algorithm |
CN104391247A (en) * | 2014-11-26 | 2015-03-04 | 许继电气股份有限公司 | Relay protection test method and system based on IEC61850 digital tester |
CN104657913A (en) * | 2015-02-13 | 2015-05-27 | 广东电网有限责任公司电力科学研究院 | Intelligent warning system based on all-data model |
US20150286552A1 (en) * | 2007-11-12 | 2015-10-08 | Interactive TKO, Inc. | Spreadsheet Data Transfer Objects |
CN105680562A (en) * | 2015-12-08 | 2016-06-15 | 国家电网公司 | Double-debugging method for intelligent substation |
-
2017
- 2017-12-30 CN CN201711492050.6A patent/CN108255713B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150286552A1 (en) * | 2007-11-12 | 2015-10-08 | Interactive TKO, Inc. | Spreadsheet Data Transfer Objects |
CN103439612A (en) * | 2013-09-02 | 2013-12-11 | 上海毅昊自动化有限公司 | Intelligent transformer substation automatic testing system based on SCD |
CN104391247A (en) * | 2014-11-26 | 2015-03-04 | 许继电气股份有限公司 | Relay protection test method and system based on IEC61850 digital tester |
CN104360948A (en) * | 2014-12-01 | 2015-02-18 | 国网重庆市电力公司江津供电分公司 | IEC 61850 configuration file engineering consistency test method based on fuzzy algorithm |
CN104657913A (en) * | 2015-02-13 | 2015-05-27 | 广东电网有限责任公司电力科学研究院 | Intelligent warning system based on all-data model |
CN105680562A (en) * | 2015-12-08 | 2016-06-15 | 国家电网公司 | Double-debugging method for intelligent substation |
Non-Patent Citations (2)
Title |
---|
Y. YANG、L. L. SONG、H. O. CAO等: "Smart substation secondary system visualization and intelligent diagnosis based on improved SCD model", 《INTERNATIONAL CONFERENCE ON RENEWABLE POWER GENERATION (RPG 2015)》 * |
谢俊、李锋、李勇等: "智能变电站保护装置通用测试模板及生成方法", 《中国电力》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157577A (en) * | 2021-04-27 | 2021-07-23 | 中国工商银行股份有限公司 | PaaS cloud platform fault testing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108255713B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107346917B (en) | Secondary device based on virtual machine integrates joint debugging method | |
WO2023115842A1 (en) | Data-driven offline and online integrated simulation system and method for power distribution network | |
CN103500249B (en) | Visualization Relay Protection Setting Calculation System and method | |
CN108549017B (en) | Relay protection testing method and system based on cloud sharing | |
CN108414849A (en) | Intelligent substation automatization test system and method | |
CN106814286B (en) | Power distribution network fault positioning system, method and server based on multi-element fault acquisition | |
CN109635127A (en) | A kind of power equipment portrait knowledge mapping construction method based on big data technology | |
CN108268706B (en) | Closed loop test system and method for intelligent alarm application of integrated monitoring system | |
CN106779095B (en) | Intelligent substation equipment soft pressing plate checking method based on KMP algorithm | |
CN106841908A (en) | The visual presentation method of the distribution network failure positioning based on power grid GIS | |
CN110852023B (en) | Automatic generation method and device for primary main wiring diagram of intelligent substation | |
CN108206522B (en) | Power equipment state monitoring method and system | |
CN102930111A (en) | Converting station substation configuration description (SCD) model file generating method and device thereof | |
CN105354680A (en) | GIS-based auxiliary determination and analysis method for grid section | |
CN109447466B (en) | Overall process visual management and control system based on power distribution network communication network construction | |
CN108255713A (en) | One kind is towards intelligent alarm Injection Testing test data auto generation method | |
CN110517163B (en) | Distribution network feeder group analysis method | |
CN114936442B (en) | System and method for accurately positioning power distribution network equipment and forming topological graph | |
CN111784192A (en) | Industrial park emergency plan executable system based on dynamic evolution | |
CN110310048A (en) | A kind of distribution planning overall process appraisal procedure and device | |
CN116383061A (en) | Method and related device for testing basic platform interface of substation control system | |
CN109633381A (en) | A kind of electric network failure diagnosis intelligent analysis method | |
CN104376505B (en) | A kind of operation reliability evaluation method of power distribution network in power system | |
CN108242028A (en) | Substation Bus Arrangement figure and intelligent alarm test case visualization automatic correlation method | |
CN109713662B (en) | Method for equivalence of load model identification parameters of power system to low-voltage nodes |
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 |