CN103675529B - The protective relaying device automatic test approach of feature based word and device - Google Patents

The protective relaying device automatic test approach of feature based word and device Download PDF

Info

Publication number
CN103675529B
CN103675529B CN201310610559.1A CN201310610559A CN103675529B CN 103675529 B CN103675529 B CN 103675529B CN 201310610559 A CN201310610559 A CN 201310610559A CN 103675529 B CN103675529 B CN 103675529B
Authority
CN
China
Prior art keywords
test
word
test case
tagged word
information point
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
Application number
CN201310610559.1A
Other languages
Chinese (zh)
Other versions
CN103675529A (en
Inventor
温东旭
邢玉龙
杨震晖
马仪成
郑晓庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical XJ Electric Co Ltd
Priority to CN201310610559.1A priority Critical patent/CN103675529B/en
Publication of CN103675529A publication Critical patent/CN103675529A/en
Application granted granted Critical
Publication of CN103675529B publication Critical patent/CN103675529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention relates to protective relaying device automatic test approach and the device of feature based word, its feature is the generation of the test case towards fc-specific test FC business, and unlike prior art, test case must be in the face of specific device.By introduced feature word; the test case template towards fc-specific test FC business of feature based word can be worked out; when concrete device is tested; information point according to device and the mapping relations of tagged word in test case template; complete the test towards fc-specific test FC business; thus it is applicable to the test of this protection device, what the method can substantially reduce test case writes workload, is rapidly completed the test job of new tested device.The method makes test case farthest reuse, and improves the testing efficiency of Auto-Test System.

Description

The protective relaying device automatic test approach of feature based word and device
Technical field
The present invention relates to the automatic test field of protective relaying device, a kind of feature based word from Dynamic method of testing.
Background technology
Existing automatic test system of relay protection device as shown in Figure 1, including tester client; Tester;Automatically testing execution module;Input and output card;Protection device.
In conventionally test, tester, input and output card and tested device constitute test major loop, tester Output electric current, voltage, by input and output card, send into tested device.Tester client and automatically test Performing module composition software test and control part, the initial conditions of protection device comes from tester.To test The control of instrument is that tester client is completed by test case, and tester has test report to export, test During, need automatic testing execution module and the cooperation of input and output card.Automatically testing execution module is responsible for Simultaneously with tester client, device communication and to input and output card control.
Briefly, the test process of Auto-Test System includes:
1) automatic testing execution module is according to the information point table configuration testing use-case of specific device;
2) automatically testing execution module is called test case and is automatically tested, and is handed over by tester client Control tester output mutually;By mutual with input and output card, control the input information of tested device;Pass through Test result is obtained with the message interaction of tested device;
Automatically testing execution module implementation of test cases, interacts with device in information point mode;Device moves To return remote signalling after work, definite value sets the information points such as result, returns to automatic testing execution module;Automatically survey Examination performs module and judges according to device feedback result;
3) testing execution module completes to test data compilation warehouse-in automatically, forms test report.
The above-mentioned test case configured by automatic testing execution module information point based on specific device, test is used Example directly quotes mounted point table message composition, uses information point mode to hand between testing tool and tested device Mutually, this test case specific aim is very strong, is i.e. only applicable to specific device test.
The advantage of existing Auto-Test System is: by conventional manual test process automation;To same kind Device, test case immobilization, possess test case library;To same kind device, test case repeats to make With;Test case can be optionally combined, it is achieved the test of different purposes.
Its shortcoming is: existing Auto-Test System is tested, and for concrete test device, needs according to dress Putting information point table and write concrete test case, for different model device, test case is the most applicable, needs Write new test case;Test case is write huge with maintenance workload;Test case is difficult to write.
The protection test case of one table apparatus generally has 200~300, it is necessary to write 200~300 tests Use-case.Test case quantity needed for the test of many table apparatus is the hugest.So many test case, compiles Write the heaviest with maintenance work.
How to reduce the quantity of test case in Auto-Test System, different with limited testing case The device of type, is problem demanding prompt solution.
Summary of the invention
It is an object of the invention to provide protective relaying device automatic test approach and the device of feature based word, use To solve to use Auto-Test System to carry out protection device test at present, for the device of model of the same race, test Use-case can be reused, but for different types of device, although test business is identical, but test case Can not be general, the maintenance of writing and manage of test case needs to put into the biggest energy, builds based on the method The problem that Auto-Test System adaptive faculty is poor.
For achieving the above object, the solution of the present invention includes:
The protective relaying device automatic test approach of feature based word, step is as follows:
1) testing execution module calls test case template automatically;
2) testing execution module is mutual with tagged word mapping block with tagged word form automatically;Tagged word maps mould Block completes tagged word and the mapping of information point in test case template;
3) it is converted into tested device discernible information point mode after having mapped to perform to tested device;
4) tested device is with information point mode feedback test result;
5) described test result maps through tagged word mapping block, and object information point is mapped as feature font Formula, feeds back to automatic testing execution module;
6) testing execution module judges automatically.
Described tagged word mapping block is positioned at automatic testing execution module port.
The integrated described tagged word mapping block of described tested device.
The protective relaying device automatic testing equipment of feature based word, including such as lower module 1)-6):
1) testing execution module calls test case template automatically;
2) testing execution module is mutual with tagged word mapping block with tagged word form automatically;Tagged word maps mould Block completes tagged word and the mapping of information point in test case template;
3) it is converted into tested device discernible information point mode after having mapped to perform to tested device;
4) tested device is with the feedback test result of information point mode;
5) described test result maps through tagged word mapping block, and object information point is mapped as feature font Formula, feeds back to automatic testing execution module;
6) testing execution module judges automatically.
Described tagged word mapping block is positioned at automatic testing execution module port.
The integrated described tagged word mapping block of described tested device.
Tagged word is service-oriented object, the formal parameter of substituted device information point.Use tagged word editor tool Having the test case template of general meaning, by mapping relations, tagged word uses after being substituted by device information point. The automatic test approach of the present invention, its feature is towards fc-specific test FC business, and unlike prior art, Test case must be in the face of specific device.By introduced feature word, can work out feature based word towards spy The test case template of location survey examination business, when concrete device is tested, according to the information point of device with The mapping relations of tagged word in test case template, complete the test towards fc-specific test FC business, thus are suitable for In the test of this protection device, what the method can substantially reduce test case writes workload, is rapidly completed The test job of new tested device.The method makes test case template farthest reuse, and improves and automatically surveys The testing efficiency of test system.
Accompanying drawing explanation
Fig. 1 is automatic test system of relay protection device structure chart;
Fig. 2 is the schematic diagram of embodiments of the invention 1;
Fig. 3 is the schematic diagram of embodiments of the invention 2.
Detailed description of the invention
The present invention will be further described in detail below in conjunction with the accompanying drawings.
The automatic test approach of the present invention, is improved by software control part, at least adds tagged word and maps Module and (comprising tagged word) test case template.Automatically testing execution module is by message interaction and quilt Surveying the information point table of device communication acquisition device, there are mapping relations, automatically in the information point of device and tagged word Testing execution module completes the test case template mapping to device information point.Automatically testing execution module is passed through Control tester and input and output card realizes controlling the dosage of test device and the information of acquisition feedback, utilize anti- Feedback result judges the most successful action of defencive function to be measured.
Specifically, the test case template that feature based word is write is normalized test file, test point Occur with the form of tagged word.Device information point and tagged word characteristic of correspondence word mapping table, reflect with tagged word Penetrate modular form to occur in a test system, if the spy such as the remote control in test case template, definite value setting Levying before word controlled quentity controlled variable is issued to device, complete the mapping of tagged word and device information point, device just can be just Really identify the control command of test template.The test case of feature based word is compiled by automatic testing execution module Volume, multiple test cases can assemble storehouse and be managed, and automatic testing execution module can be called at any time.
By introduced feature word, test case being fixed up with template form, test case region be directly facing survey Examination business is write, for the test of concrete device, by calling the test case template in test case library, Information point according to device and tagged word mapping relations, by test case template instantiation, are used further to concrete device Test, improve test case reusability.
Writing the test case template of feature based word, tagged word itself has concrete meaning.According to feature Word implication can develop the test case towards concrete business demand, and no longer facing device information point is write Test case.Write limited test case template for testing, can effectively simplify test case quantity.
The write method of the test case code requirement of feature based word, it then follows predefined grammatical rules, Generally embody with text mode.For different types of test business such as definite value test, remote measurement tests, need Write different test cases.These constitute feature based word towards the test case of difference test business Test case library.
As a example by protection test, function is moved back in the throwing of soft pressing plate, due to device self character arrange restriction etc. because of Element, causes crossing stream I section soft pressing plate remote information point describing mode in device A, B, C different, such as device A Being described as " crossing stream 1 section ", informosome address is B220;Device B is described as " crossing stream one section ", informosome Address is B231;Device C is described as " cross the soft pressing plate of stream I ", and informosome address is B215, for this three The test case that table apparatus is write, will use the informosome address preparation of correspondence, in corresponding communication packet respectively Indicate, " crossing the stream soft pressing plate of I section " this tagged word, dress after introduced feature word method, can be used uniformly across Putting the mapping relations that only need to provide respective title and this feature word respectively, automatic testing execution module calls test Use-case, maps with each device name and informosome address respectively by the tagged word in test case, the most applicable Three table apparatus are tested respectively.
Tagged word mapping block finishing device information point and the conversion of tagged word in test case template.Automatically The test case template directly write in test system or call, concrete device does not identifies, test case In control instruction can not be performed by device, in order to solve this problem, at device and test case template Between set up a contact channel, here it is tested device information and tagged word characteristic of correspondence word mapping table. Protection device comprises the type information points such as remote signalling, remote measurement, remote control, distant arteries and veins and definite value.In the face of different tests Business, all or part of needs of these information points is tested.Write tested device information point and tagged word Storehouse characteristic of correspondence word mapping table seeks to the corresponding relation setting up information point with tagged word.Different types of dress Putting and comprise different information point tables, information point is the most different from tagged word mapping relations.These mapping relations can be with Form or alternative document form exist.
In order to make it easy to understand, device information point and tagged word mapping relations can regard concrete device and test as " communications protocol " of use-case template, by means of these mapping relations, test case template can be by concrete device Accurately identify.
Test point in test case is not based on specific device information point and writes, but by tagged word and dress Putting information point and set up contact, to be suitable for the test of specific protection device, this method well improves test The versatility of use-case self, can significantly reduce test job amount.The test case template of amount can form test Use-case object library is to be managed using.
Different according to tagged word mapping block location in automatic testing process, the present invention has following two Plant embodiment.
Embodiment 1
These process point following steps are carried out, as shown in Figure 2:
A) testing execution module calls the test case template in test case template storehouse automatically;
B) testing execution module is mutual with tagged word mapping block with tagged word form automatically;Tagged word maps mould Block completes tagged word and the mapping of information point in test case template;
C) it is converted into tested device discernible information point mode after having mapped and is handed down to tested device execution;
D) tested device is with the feedback test result of information point mode;
E) described test result maps through tagged word mapping block, and object information point is mapped as tagged word form Feed back to automatic testing execution module;
F) test result is judged by testing execution module automatically.
The feature of above procedure is that the instantaneous of automatic testing execution module implementation of test cases carries out tagged word Mapping and Converting to information point.Tagged word mapping block is positioned at automatic testing execution module port.
Embodiment 2
As it is shown on figure 3, concrete grammar step is:
A) testing execution module calls the test case template in test case template storehouse automatically;
B) testing execution module is directly mutual with tested device with tagged word form automatically;Tagged word mapping block Integrated with device, tagged word is mapped as the discernible information point of device by this module;
C) being converted into the discernible information point of tested device after having mapped makes tested device perform;
D) tested device is with the feedback test result of information point mode;
E) described test result maps through tagged word mapping block, and object information point is mapped as tagged word form Feed back to automatic testing execution module;
F) test result is judged by testing execution module automatically.
In embodiment 2, tagged word mapping block is integrated with tested device, with tagged word form and test automatically Execution module is mutual, and tagged word is converted to device information point, becomes device and automatic testing execution module The tie of contact.From the perspective of system, in embodiment 2, not only add survey in testing and control part Example template (storehouse) on probation, and the software of tested device has been also carried out improving, and is integrated with in tested device Tagged word mapping block.This mode, tagged word mapping block be equivalent to a kind of by tagged word to information point Stipulations modular converter.
A kind of specific embodiment given above, but the present invention is not limited to described embodiment.This The basic ideas of invention are such scheme, for those of ordinary skill in the art, according to the religion of the present invention Lead, design the method for various deformation, module be not required to spend creative work.Without departing from the present invention Principle and spirit in the case of embodiment is carried out change, revise, replace and modification still falls within this In bright protection domain.

Claims (3)

1. the protective relaying device automatic test approach of feature based word, it is characterised in that step is as follows:
1) testing execution module calls test case template automatically;
2) testing execution module is mutual with tagged word mapping block with tagged word form automatically;Tagged word mapping block completes tagged word and the mapping of information point in test case template;Tagged word is service-oriented object, the formal parameter of substituted device information point;
3) it is converted into tested device discernible information point mode after having mapped to perform to tested device;
4) tested device is with information point mode feedback test result;
5) described test result maps through tagged word mapping block, object information point is mapped as tagged word form, feeds back to automatic testing execution module;
6) testing execution module judges automatically.
The protective relaying device automatic test approach of feature based word the most according to claim 1, it is characterised in that described tagged word mapping block is positioned at automatic testing execution module port.
The protective relaying device automatic test approach of feature based word the most according to claim 1, it is characterised in that the integrated described tagged word mapping block of described tested device.
CN201310610559.1A 2013-11-26 2013-11-26 The protective relaying device automatic test approach of feature based word and device Active CN103675529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310610559.1A CN103675529B (en) 2013-11-26 2013-11-26 The protective relaying device automatic test approach of feature based word and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310610559.1A CN103675529B (en) 2013-11-26 2013-11-26 The protective relaying device automatic test approach of feature based word and device

Publications (2)

Publication Number Publication Date
CN103675529A CN103675529A (en) 2014-03-26
CN103675529B true CN103675529B (en) 2016-12-07

Family

ID=50313691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310610559.1A Active CN103675529B (en) 2013-11-26 2013-11-26 The protective relaying device automatic test approach of feature based word and device

Country Status (1)

Country Link
CN (1) CN103675529B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391247A (en) * 2014-11-26 2015-03-04 许继电气股份有限公司 Relay protection test method and system based on IEC61850 digital tester
CN104483567B (en) * 2014-12-05 2017-07-11 广东电网有限责任公司佛山供电局 500kV circuit relay protections device detection method and system
CN105823940A (en) * 2015-01-09 2016-08-03 国家电网公司 Relay protection testing system and method
CN106226721B (en) * 2016-09-22 2018-11-09 许昌许继软件技术有限公司 A kind of fault oscillograph starting performance test method and system
CN110687375B (en) * 2019-10-11 2021-08-20 南京能云电力科技有限公司 Parallel automatic test system and method for relay protection device
CN110824279A (en) * 2019-11-15 2020-02-21 上海思源弘瑞自动化有限公司 Automatic testing system and method for relay protection device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03229165A (en) * 1990-02-05 1991-10-11 Matsushita Electric Ind Co Ltd Automatic testing device for insulation breakdown strength and carrier system therefor
CN101694952B (en) * 2009-09-28 2012-04-25 国电南京自动化股份有限公司 Method for generating embedded telecontrol system definitions by IEC61850 SCD files
CN102169147A (en) * 2010-12-28 2011-08-31 山东电力集团公司聊城供电公司 Automatic test system of relay protection device
CN102323499A (en) * 2011-06-15 2012-01-18 北京四方继保自动化股份有限公司 Method for automatically testing relay protection equipment
CN102855187B (en) * 2012-07-31 2015-10-28 许继电气股份有限公司 A kind of protective relaying device bug track management system and method
CN103268362B (en) * 2013-06-08 2017-03-01 国家电网公司 Empty terminal auxiliary design method based on common template and key character coupling

Also Published As

Publication number Publication date
CN103675529A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103675529B (en) The protective relaying device automatic test approach of feature based word and device
CN103675528B (en) The protective relaying device automatic test approach and device of a kind of feature based word
CN103529377B (en) The Auto-Test System of intelligent transformer substation digital protection device and method
CN109726132A (en) A kind of method for testing software and software test automation management system
CN105069587B (en) A kind of relay protection check device based on mobile interchange
CN102522128A (en) Method and system for testing configuration logic design of DCS (Distributed Control System) of nuclear power station
CN104793076A (en) Intelligent automatic test system and method
CN101287266B (en) Test system and method for mobile phone
CN105677306A (en) Automation script compiling method and device
CN104820635A (en) Method of testing robustness of closed loop protocol based on semantic analysis of dynamic script
CN101848042A (en) Method and system for testing radio frequency of mobile phones
CN101808356B (en) Protocol simulation system for TD-SCDMA terminal protocol conformance tests
CN103927256A (en) Method for controlling multiple Android devices
CN104391247A (en) Relay protection test method and system based on IEC61850 digital tester
CN104978262A (en) Terminal test method and terminal test device
CN204291050U (en) A kind of dispatching and monitoring information check system
CN102750301A (en) Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description
CN102967815A (en) Chip testing method, automated testing equipment and system
CN103323714A (en) Automatic test method based on report template technology in intelligent substation test system
CN107135124A (en) A kind of method and system of many bluetooth communication concurrent testings
CN205472063U (en) Lift control cabinet test system
CN110209584A (en) A kind of automatic generation of test data and relevant apparatus
CN105468817A (en) Multi-model real-time simulation system
CN100403670C (en) Radio-frequency indicator testing method
CN106936658A (en) The method of testing and test platform of test case, simulation test equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wen Dongxu

Inventor after: Xing Yulong

Inventor after: Yang Zhenhui

Inventor after: Ma Yicheng

Inventor after: Zheng Xiaoqing

Inventor before: Wen Dongxu

Inventor before: Xing Yulong

Inventor before: Yang Zhenhui

Inventor before: Ma Yicheng

Inventor before: Zheng Xiaoqing

C14 Grant of patent or utility model
GR01 Patent grant