CN109696591A - A kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording - Google Patents

A kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording Download PDF

Info

Publication number
CN109696591A
CN109696591A CN201811450562.0A CN201811450562A CN109696591A CN 109696591 A CN109696591 A CN 109696591A CN 201811450562 A CN201811450562 A CN 201811450562A CN 109696591 A CN109696591 A CN 109696591A
Authority
CN
China
Prior art keywords
recording
ats
test
file
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811450562.0A
Other languages
Chinese (zh)
Other versions
CN109696591B (en
Inventor
陈潇
刘庆海
郑宝明
陈旺
王丽莉
姚亮
朱杰媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing SAC Automation Co Ltd
Original Assignee
Nanjing SAC Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing SAC Automation Co Ltd filed Critical Nanjing SAC Automation Co Ltd
Priority to CN201811450562.0A priority Critical patent/CN109696591B/en
Publication of CN109696591A publication Critical patent/CN109696591A/en
Application granted granted Critical
Publication of CN109696591B publication Critical patent/CN109696591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of, and the intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording.Include: ATS platform implementation of test cases, applies failure amount in protective device;Protective device makes a response, feedback coherent signal to ATS platform;Differentiate test result values;According to test result values, it is made whether to need to store the differentiation of recording;After needing recording storage operation after confirmation, ATS platform is through waiting, it is ensured that device generates recorded wave file;ATS platform executes calling recorded wave file operation, is stored under " Rec " recorded wave file folder;ATS platform record is current abnormal, and forms test report.The present invention is based on ATS automatically testing platforms; pass through the message feedback analysis to tester, protective device; actively obtain recorded wave file and achieve, with make up execute a large amount of automatic test cases during protective device recorded wave file amount of storage it is insufficient and the defect of reason can not be analyzed afterwards.

Description

A kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording
Technical field
The intelligence that the present invention relates to a kind of based on ATS automatically testing platform obtains the test method of failure wave-recording, belong to after Electric protection field of automatic testing.
Background technique
Substation, China technology was grown rapidly in recent years, for playing the protective relaying device requirement of protection power grid security It is higher and higher.Reliable and stable protective relaying device is particularly important each relay protection manufacturer.In R&D process Comprehensive test need to be done to product, part relay protection producer introduces Auto-Test System, substitutes traditional manual testing's mould Formula can be realized comprehensive continual test, and form test report.
Failure wave-recording file is able to record entire failure process, plays great help to problem analysis.By constantly testing, Discovering problems and solve them is the main purpose tested automatically.For Auto-Test System, easily for several hundred test use, The limited memory space of protective device can not store the recorded wave file in test process, once abnormal response has occurred, Can only recording exceptional test case as a result, can not but pass through recorded wave file mode problem analysis.Automatic test is being realized to this While function, and the failure wave-recording file of abnormal use-case can be stored and be particularly important.
Summary of the invention
The present invention provides a kind of, and the intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording, with more The defect of failure wave-recording file can not be provided by mending protective device in automatic testing process.
In order to solve the above-mentioned technical problem, a kind of intelligence based on ATS automatically testing platform of the invention obtains failure record The test method of wave, includes the following steps:
Step SS1:ATS platform implementation of test cases applies failure amount in protective device;
Step SS2: protective device makes a response, feedback coherent signal to ATS platform;
Step SS3: differentiating test result Result value, that is, judges whether that test is abnormal;
Step SS4: it according to Result value, is made whether to need to store the differentiation of recording;
Step SS5: after confirmation needs recording storage operation, ATS platform was waited through 30 seconds, it is ensured that device generates recording text Part;
Step SS6:ATS platform executes calling recorded wave file operation, and is stored in " Rec " recorded wave file folder;
Step SS7:ATS platform record is current abnormal, and forms test report;It stores, will report if any recorded wave file The failure wave-recording filename and access path of middle recording exceptional.
In the step SS3, the differentiation of test result state (whether testing exception) is based on following several points: relay protective scheme Correctly whether, whether accurate, operating time of protection is overtime, whether protection act outlet is correct, protects for protection act definite value On send background event message whether correct.
Test result Result value is as follows:
In the step SS4, if the method for discrimination for needing to store recording is as follows:
If a, Result value is 0x0000, then it represents that test result meets expected requirement, without storing recording, continues to execute Next test case.
If b, Result value is 0x4800, indicate that device action logic is normal, exit feedback is normal, but on send backstage to report Literary abnormal, this situation only needs recording exceptional event, without storing recorded wave file.
If c, Result value is not 0x4800, and contains 0x4000 in Result value, then it represents that test result is abnormal, needs to carry out Recorded wave file storage, is further analysed.
It in the step SS5, waits within ATS platform 30 seconds, is to be considered based on following: generating a large amount of records in automatic testing process Wave file, the conversion of protective device recording have delay;And existing code requirement failure wave-recording file need to convert in 30 seconds, Therefore the waiting time of setting 30 seconds, to ensure that current recorded wave file is needed for test.
In the step SS6, ATS platform is by file operation mode, until obtaining under protective device/COMTRADE file Newest recorded wave file, and contain following three kinds of formatted files: .cfg .dat .hdr store recorded wave file to current test item File " Rec " under.
In the step SS6, when ATS platform carries out file operation, there are 30 seconds timeouts.If calling recorded wave file Operating time is more than 30 seconds, still not successfully, then judges to obtain failure, abandons this time operating, and indicates in abnormality test report Recorded wave file obtains time-out.
It is abnormal when test occurs in the step SS7, it will form abnormality test report, in detail record test abnormal conditions.
Compared with the existing technology, beneficial effects of the present invention: while the present invention is by realizing automatic test, and can be automatic Obtain failure wave-recording file when test exception.Play the role of for the subsequent analysis of causes it is highly important, can be accurate Entire failure process is analyzed, and wave record playback can be carried out according to recorded wave file, carries out the simulation of recurrence of failure.
Detailed description of the invention
Figure 1A TS tests environment map automatically;
The method flow diagram that Fig. 2 present invention realizes.
Specific embodiment
With reference to the accompanying drawing 1 and 2, of the invention is further described.Following embodiment is only used for clearly saying Bright technical solution of the present invention, and not intended to limit the protection scope of the present invention.
Fig. 1 is that ATS tests environment map automatically, the method flow diagram that as shown in Fig. 2 present invention realizes.The present invention proposes A kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording, includes the following steps: that 1) ATS platform is held Row test case applies failure amount in protective device;2) protective device makes a response, feedback coherent signal to ATS platform;3) sentence Other test result Result value;4) it according to Result value, is made whether to need to store the differentiation of recording;5) confirmation needs recording to deposit After storage operation, ATS platform was waited through 30 seconds, it is ensured that device generates recorded wave file;6) ATS platform executes calling recorded wave file behaviour Make, and is stored in " Rec " recorded wave file folder;7) ATS platform record is current abnormal, and forms test report;If any recorded wave file Storage, by the failure wave-recording filename and access path of the recording exceptional in report.
In the step 3), test is abnormal based on following several points: whether relay protective scheme is correct, whether protection act definite value is smart Really, whether operating time of protection is overtime, whether protection act outlet is correct, send background event message correct in protection.
Test result Result value is as shown in table 1 below:
1 test result Result value of table differentiates
In the step SS4, if the method for discrimination for needing to store recording is as follows:
If a, Result value is 0x0000, then it represents that test result meets expected requirement, without storing recording, continues to execute Next test case.
If b, Result value is 0x4800, indicate that device action logic is normal, exit feedback is normal, but on send backstage to report Literary abnormal, this situation only needs recording exceptional event, without storing recorded wave file.
If c, Result value is not 0x4800, and contains 0x4000 in Result value, then it represents that test result is abnormal, needs to carry out Recorded wave file storage, is further analysed.
It in the step 5), waits within ATS platform 30 seconds, is to be considered based on following: generating a large amount of records in automatic testing process Wave file, the conversion of protective device recording have delay;And existing state's net code requirement failure wave-recording file need to be converted in 30 seconds It completes, therefore sets 30 seconds waiting time, to ensure that current recorded wave file is needed for test.
In the step 6), ATS platform is by file operation mode, until obtaining under protective device/COMTRADE file Newest recorded wave file, and contain following three kinds of formatted files: .cfg .dat .hdr store recorded wave file to current test item File " Rec " under.
In the step 6), when ATS platform carries out file operation, there are 30 seconds timeouts.If calling recorded wave file Operating time is more than 30 seconds, still not successfully, then judges to obtain failure, abandons this time operating, and indicates in abnormality test report Recorded wave file obtains time-out.
In the step 7), ATS platform record is current abnormal, and forms abnormality test report, and record test in detail is abnormal Situation;It is stored if any recorded wave file, by the failure wave-recording filename and access path of the recording exceptional in report.
The above display describes basic principles and main features and advantage of the invention.The technical staff of the industry should Understand, the present invention is not limited to the above embodiments, what is described in the above embodiment and the description is only saying the principle of the present invention, Without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes and improvements are all It drops into the claimed scope of the invention.The scope of the present invention is defined by the appended claims and its equivalents.

Claims (7)

1. the test method that a kind of intelligence based on ATS automatically testing platform obtains failure wave-recording, which is characterized in that comprising as follows Step:
Step SS1:ATS platform implementation of test cases applies failure amount in protective device;
Step SS2: protective device makes a response, feedback coherent signal to ATS platform;
Step SS3: differentiating test result Result value, that is, judges whether that test is abnormal;
Step SS4: it according to test result Result value, is made whether to need to store the differentiation of recording;
Step SS5: after confirmation needs recording storage operation, ATS platform was waited through 30 seconds, it is ensured that device generates recorded wave file;
Step SS6:ATS platform executes calling recorded wave file operation, and is stored in " Rec " recorded wave file folder;
Step SS7:ATS platform record is current abnormal, and forms test report;It stores if any recorded wave file, is recorded in report Abnormal failure wave-recording filename and access path.
2. a kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording according to claim 1, Be characterized in that, judge whether that test is abnormal based on following several points in the step SS3: relay protective scheme whether correct, protection act Whether definite value accurate, whether time-out, protection act outlet correct for operating time of protection, send the background event message to be in protection It is no correct;
Test result Result value is as follows:
.
3. a kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording according to claim 1, It is characterized in that, in the step SS4, if need to store the method for discrimination of recording are as follows:
If a, Result value is 0x0000, then it represents that test result meets expected requirement, without storing recording, continues to execute next Test case;
If b, Result value is 0x4800, indicate that device action logic is normal, exit feedback is normal, but on send backstage message different Often, this situation only needs recording exceptional event, without storing recorded wave file;
If c, Result value is not 0x4800, and contains 0x4000 in Result value, then it represents that test result is abnormal, need to carry out recording File storage, is further analysed.
4. a kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording according to claim 1, It is characterized in that, in the step SS5, waits within ATS platform 30 seconds, be to be considered based on following: being generated in automatic testing process a large amount of Recorded wave file, the conversion of protective device recording have delay;And existing state's net code requirement failure wave-recording file need to turn in 30 seconds Completion is changed, therefore sets 30 seconds waiting time, to ensure current recorded wave file for needed for test.
5. a kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording according to claim 1, It is characterized in that, in the step SS6, ATS platform is by file operation mode, until obtaining under protective device/COMTRADE file Take newest recorded wave file, and contain following three kinds of formatted files: .cfg .dat .hdr store recorded wave file to current test item Under " Rec " of purpose file.
6. a kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording according to claim 4, It is characterized in that in the step SS6, when ATS platform carries out file operation, there are 30 seconds timeouts;If calling recording text The part operating time is more than 30 seconds, still not successfully, then judges to obtain failure, abandons this time operating, and infuses in abnormality test report Bright recorded wave file obtains time-out.
7. a kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording according to claim 1, It is characterized in that, it is abnormal when test occurs in the step SS7, it will form abnormality test report, record in detail tests abnormal feelings Condition;It is stored if any recorded wave file, by the failure wave-recording filename and access path of the recording exceptional in report.
CN201811450562.0A 2018-11-30 2018-11-30 Testing method for intelligently acquiring fault recording based on ATS automatic testing platform Active CN109696591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811450562.0A CN109696591B (en) 2018-11-30 2018-11-30 Testing method for intelligently acquiring fault recording based on ATS automatic testing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811450562.0A CN109696591B (en) 2018-11-30 2018-11-30 Testing method for intelligently acquiring fault recording based on ATS automatic testing platform

Publications (2)

Publication Number Publication Date
CN109696591A true CN109696591A (en) 2019-04-30
CN109696591B CN109696591B (en) 2021-07-30

Family

ID=66230161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811450562.0A Active CN109696591B (en) 2018-11-30 2018-11-30 Testing method for intelligently acquiring fault recording based on ATS automatic testing platform

Country Status (1)

Country Link
CN (1) CN109696591B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324500A (en) * 2020-02-29 2020-06-23 苏州浪潮智能科技有限公司 Method, device and storage medium for detecting ATS function of storage array
CN113177029A (en) * 2021-04-21 2021-07-27 中国电力科学研究院有限公司 Dynamic generation method, system, equipment and storage medium of power grid wave recording file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035260A (en) * 2010-12-17 2011-04-27 国电南瑞科技股份有限公司 Intelligent warning and fault analysis realizing method for intelligent transformer substation monitoring system
CN103501047A (en) * 2013-10-09 2014-01-08 云南电力调度控制中心 Intelligent fault wave recording main station information management system
CN104931831A (en) * 2015-06-18 2015-09-23 广东电网有限责任公司电力调度控制中心 Troubleshooting information acquisition method and system
CN205178654U (en) * 2015-11-28 2016-04-20 国网江西省电力公司赣东北供电分公司 Intelligent substation trouble record ripples protection action message diagnostic device
CN108666992A (en) * 2018-05-21 2018-10-16 海南电网有限责任公司 Electric network fault comprehensive analysis platform and working method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035260A (en) * 2010-12-17 2011-04-27 国电南瑞科技股份有限公司 Intelligent warning and fault analysis realizing method for intelligent transformer substation monitoring system
CN103501047A (en) * 2013-10-09 2014-01-08 云南电力调度控制中心 Intelligent fault wave recording main station information management system
CN104931831A (en) * 2015-06-18 2015-09-23 广东电网有限责任公司电力调度控制中心 Troubleshooting information acquisition method and system
CN205178654U (en) * 2015-11-28 2016-04-20 国网江西省电力公司赣东北供电分公司 Intelligent substation trouble record ripples protection action message diagnostic device
CN108666992A (en) * 2018-05-21 2018-10-16 海南电网有限责任公司 Electric network fault comprehensive analysis platform and working method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324500A (en) * 2020-02-29 2020-06-23 苏州浪潮智能科技有限公司 Method, device and storage medium for detecting ATS function of storage array
CN111324500B (en) * 2020-02-29 2023-01-10 苏州浪潮智能科技有限公司 Method, device and storage medium for detecting ATS (automatic transfer switching) function of storage array
CN113177029A (en) * 2021-04-21 2021-07-27 中国电力科学研究院有限公司 Dynamic generation method, system, equipment and storage medium of power grid wave recording file

Also Published As

Publication number Publication date
CN109696591B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN109119124A (en) The production method and solid state hard disk of solid state hard disk
CN109446076A (en) Software project testing method, system, storage medium and terminal device
CN106291060B (en) Mobile phone current testing system and mobile phone current testing method
CN110008129B (en) Reliability test method, device and equipment for storage timing snapshot
CN111209206B (en) Automatic test method and system for software products
CN105022694B (en) Method for generating test case and system for mobile terminal test
CN107861864A (en) Automated testing method, system and computer-readable recording medium
CN106546278B (en) Verify the statistical test device and method of nuclear safe level instrument control platform safety crash rate
CN101738550A (en) Electronic device test device and test method
CN109696591A (en) A kind of intelligence based on ATS automatically testing platform obtains the test method of failure wave-recording
CN103823145A (en) Automation test platform for hardware
CN103034571A (en) Read-write test method for hand-held electronic product
CN111999579A (en) Automatic detection system and method for charging pile
CN112231163A (en) Multifunctional computer detection equipment and operation method thereof
CN110764960B (en) Solid state disk firmware testing method
CN110928795A (en) Stability test method and device for upgrading storage system
US20060190234A1 (en) Property generating method, verification method and verification apparatus
CN109444570B (en) Electronic product fault diagnosis module and method based on memory
CN114780317A (en) Hard disk plug-in and pull-out test method, system and related components
CN116306429A (en) Method, device, computer storage medium and terminal for realizing state data capture
CN115662488A (en) SSD reliability test method and system
CN114879647A (en) ECU fault code test system, electronic controller and car
CN109344023B (en) System and method for testing stability of USB3.0 interface of server
CN113778770B (en) Detection method and system for hard disk chip
JP2007328447A (en) Software test item selecting device, software test item selecting program, recording medium in which software test item selecting program is stored, and software test item selecting method

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