CN110688296A - Automatic testing method for computerized rule configuration - Google Patents
Automatic testing method for computerized rule configuration Download PDFInfo
- Publication number
- CN110688296A CN110688296A CN201910138320.6A CN201910138320A CN110688296A CN 110688296 A CN110688296 A CN 110688296A CN 201910138320 A CN201910138320 A CN 201910138320A CN 110688296 A CN110688296 A CN 110688296A
- Authority
- CN
- China
- Prior art keywords
- test
- script
- logic
- configuration
- excitation
- 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
Images
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
-
- 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/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention aims to disclose an automatic testing method aiming at computerized regulation configuration, 1) when the logic configuration of a computerized regulation system is tested, a testing script is compiled according to the regulation testing logic and verification platform software is introduced; 2) the verification platform software performs value excitation according to a script which is required by the rule internal configuration logic test and controls the rule operation, and the excitation value can be controlled through the defined script in the test, and a corresponding logic test excitation value is sent; 3) in configuration test, the test procedure receives the excitation data, and the tester obtains the test result by observing the comparison between the logic result of the man-machine interface of the computerized procedure system and the preset excitation signal and result. Through the script and the visual configuration interface, the test process is standardized, the work load of the rule configuration logic test is reduced, and the purpose of the invention is realized.
Description
Technical Field
The invention relates to an automatic test method, in particular to an automatic test method aiming at a computerized regulation configuration, which is suitable for a computerized regulation system of a nuclear power plant to carry out configuration logic test.
Background
The computerized regulation system is a power plant operation auxiliary system specific to a digital instrument control system nuclear power plant, is driven by real-time data of power plant operation, is based on a computer software technology, and utilizes the advantages of the computer system in the aspect of regular response through a graphical mode which is easy to understand such as a flow chart, a logic diagram and the like, thereby helping an operator to monitor the state of the power plant and execute the power plant operation regulation, providing parallel information needing attention in time, improving the response efficiency and accuracy of the operator, and greatly relieving the psychological pressure of the operator in emergency.
Currently, testing for the configuration logic of a computerized protocol system is divided into a simulator-based data stimulus test and a manual test. For the data excitation test based on the simulator, the method cannot cover the logic test of all the procedure steps, the pertinence of the procedure logic test is lacked, the starting operation of the simulator is required for each logic test, the flow is uncontrollable, the efficiency is low, and the cost is very high. The manual testing mode carries out data verification on the configuration logic by changing the value of the database, a large number of database execution statements need to be compiled in each testing, the testing efficiency is low, the workload is large, the database data need to be repeatedly inquired in the data verification process, the workload is tedious and huge, the efficiency is very low, and the manual testing cost is very high.
Therefore, there is a need for an automated testing method for computerized protocol configuration that solves the above-mentioned problems.
Disclosure of Invention
Aiming at the defects of the prior art, the invention optimizes the computerized procedure configuration test by flexibly configuring the excitation, standardizing the test flow, saving the test scene and the like, reduces the personnel load, standardizes the test flow and achieves the aim of efficiently and normatively carrying out the computerized procedure system configuration test.
The technical problem solved by the invention can be realized by adopting the following technical scheme:
an automated testing method for computerized protocol configurations, comprising the steps of:
1) when the logic configuration test of the computerized rule system is carried out, a test script is compiled according to the rule test logic and verification platform software is introduced;
2) the verification platform software performs value excitation according to a script which is required by the rule internal configuration logic test and controls the rule operation, and the excitation value can be controlled through the defined script in the test, and a corresponding logic test excitation value is sent;
3) in configuration test, the test procedure receives the excitation data, and the tester obtains the test result by observing the comparison between the logic result of the man-machine interface of the computerized procedure system and the preset excitation signal and result.
In one embodiment of the invention, the import script is excited to define timing information of the excitation source and the expected result through a standardized or customized script to accurately test all results.
In one embodiment of the present invention, the test protocol receives value-accessible information including, but not limited to, data roll names, values, time stamps, and data quality during configuration testing.
In one embodiment of the present invention, when performing procedure entry condition configuration test, a test script can be written according to the data points of the entry condition, and the script shall cover all the logic branches and traverse all the possible logic combinations.
In one embodiment of the present invention, when performing the procedure step logic configuration test, a test script may be written according to the data points of the procedure step logic, and the script should cover all the logic branches and traverse all the possible logic combinations.
In one embodiment of the present invention, when performing the continuous monitoring parameter configuration test, a test script may be written according to the data points of the continuous monitoring parameters, and the script should cover all the logic branches and traverse all the possible logic combinations.
In one embodiment of the present invention, when performing the configuration test of the insert item, a test script can be written according to the data point of the insert item, and the script should cover all the logic branches and traverse all the possible logic combinations.
In one embodiment of the present invention, when performing the attention alert configuration test, a test script can be written according to the data points of the attention alert, and the script should cover all the logic branches and traverse all the possible logic combinations.
In an embodiment of the present invention, when performing the configuration test of the key safety function state tree, a test script may be written according to the data points of the key safety function state tree, and the script should cover all the logic branches and traverse all the possible logic combinations.
Compared with the prior art, the automatic testing method aiming at the computerized rule configuration can carry out the automatic testing of the calculation logics such as the rule entry condition, the rule step logic, the continuous monitoring parameters, the attention and the warning, the insert page item, the key safety function state tree and the like through the script or the visual configuration interface, standardizes the testing process, reduces the testing workload of the rule configuration logic, has the characteristics of normalization, repeatability, flexibility and the like, supports the development of multi-rule testing scene data support, supports various excitation modes, supports standard and self-defined testing scripts and realizes the aim of the invention.
The features of the present invention will be apparent from the accompanying drawings and from the detailed description of the preferred embodiments which follows.
Drawings
FIG. 1 is an illustration of a script of the present invention;
FIG. 2 is a schematic diagram of an automated testing method for computerized protocol configuration according to the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further explained below by combining the specific drawings.
Examples
Referring to fig. 1 and 2, the automated testing method for computerized protocol configuration of the present invention comprises the following steps:
it comprises the following steps:
1) when the logic configuration test of the computerized rule system is carried out, a test script is compiled according to the rule test logic and verification platform software is introduced;
2) the verification platform software performs value excitation according to a script which is required by the rule internal configuration logic test and controls the rule operation, and the excitation value can be controlled through the defined script in the test, and a corresponding logic test excitation value is sent;
3) in configuration test, the test procedure receives the excitation data, and the tester obtains the test result by observing the comparison between the logic result of the man-machine interface of the computerized procedure system and the preset excitation signal and result.
Protocol entry condition testing: when configuration testing is performed, a test script can be written according to data points of the entry conditions, and the script covers all logic branches and traverses all possible logic combinations. Timing information for the stimulus and the expected results may be defined to accurately test all results for the protocol entry conditions.
And (3) procedure step logic test: when configuration testing is carried out, a test script can be written according to data points of the rule step logic, and the script covers all logic branches and traverses all possible logic combinations. Timing information for the stimulus and the expected result may be defined to accurately test all results of the protocol step logic.
Continuously monitoring parameters: during configuration testing, a test script can be written according to data points of the continuously monitored parameters, and the script covers all logic branches and traverses all possible logic combinations. Timing information for the stimulus and the expected result may be defined to accurately test all results of the continuously monitored parameter.
An insert item: when configuration testing is carried out, a test script can be written according to data points of the insert page item, and the script covers all logic branches and traverses all possible logic combinations. Timing information for the stimulus and the expected results may be defined to accurately test all results for the interleaf items.
Attention warning: when configuration testing is performed, a test script can be written according to the data points of attention warning, and the script should cover all logic branches and traverse all possible logic combinations. Timing information for the stimulus and the expected result may be defined to accurately test all results of the attention alert.
Critical safety function state tree: when configuration testing is carried out, a test script can be written according to the data points of the key safety function state tree, and the script covers all logic branches and traverses all possible logic combinations. Timing information for the stimulus and the expected result may be defined to accurately test all results of the critical safety function state tree.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are merely illustrative of the principles of the present invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention, which is defined by the appended claims and their equivalents.
Claims (9)
1. An automated testing method for computerized protocol configuration,
1) when the logic configuration test of the computerized rule system is carried out, a test script is compiled according to the rule test logic and verification platform software is introduced;
2) the verification platform software performs value excitation according to a script which is required by the rule internal configuration logic test and controls the rule operation, and the excitation value can be controlled through the defined script in the test, and a corresponding logic test excitation value is sent;
3) in configuration test, the test procedure receives the excitation data, and the tester obtains the test result by observing the comparison between the logic result of the man-machine interface of the computerized procedure system and the preset excitation signal and result.
2. The automated testing method for computerized protocol configurations of claim 1, wherein the import script incentivizes to define timing information for incentives and expected outcomes through standardized or custom scripts to refine all outcomes of a test.
3. The method of claim 1, wherein in the protocol configuration test, the test protocol receives numerical retrievable information including but not limited to data roll names, numerical values, time stamps and data quality.
4. The method of claim 1, wherein in performing a protocol entry condition configuration test, a test script is written based on data points of entry conditions, the script covering all logical branches, traversing all possible logical combinations.
5. The method of claim 1, wherein during the procedure-step logic configuration test, a test script is written according to the data points of the procedure-step logic, and the script covers all logic branches and traverses all possible logic combinations.
6. The method of claim 1, wherein during the continuous monitoring parameter configuration test, a test script is written according to data points of the continuous monitoring parameters, and the script covers all logic branches and traverses all possible logic combinations.
7. The method of claim 1, wherein in performing the configuration test of the interleaf item, a test script is written based on the data points of the interleaf item, the script covering all logical branches, traversing all possible logical combinations.
8. The method of claim 1, wherein in performing attention alert configuration testing, a test script is written based on the data points of the attention alert, the script covering all logical branches, traversing all possible logical combinations.
9. The method of claim 1, wherein during the testing of the Critical safety function State Tree configuration, a test script is written based on the data points of the Critical safety function State Tree, the script covering all logical branches, traversing all possible logical combinations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910138320.6A CN110688296A (en) | 2019-02-25 | 2019-02-25 | Automatic testing method for computerized rule configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910138320.6A CN110688296A (en) | 2019-02-25 | 2019-02-25 | Automatic testing method for computerized rule configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110688296A true CN110688296A (en) | 2020-01-14 |
Family
ID=69107608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910138320.6A Pending CN110688296A (en) | 2019-02-25 | 2019-02-25 | Automatic testing method for computerized rule configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110688296A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966341A (en) * | 2020-07-23 | 2020-11-20 | 中国航发控制***研究所 | Gas turbine monitoring software event configuration method supporting event sequence customization |
CN114609984A (en) * | 2022-03-10 | 2022-06-10 | 清华大学 | Automatic evaluation system and method for execution condition of nuclear power plant operation regulation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549119A (en) * | 2003-05-07 | 2004-11-24 | 华为技术有限公司 | Logic emulation testing system and method |
US20070234121A1 (en) * | 2006-03-31 | 2007-10-04 | Sap Ag | Method and system for automated testing of a graphic-based programming tool |
CN104516818A (en) * | 2014-12-29 | 2015-04-15 | 北京四方继保自动化股份有限公司 | Automatic testing system and method both applicable to compiler in logical configuration software |
CN107797929A (en) * | 2017-10-26 | 2018-03-13 | 北京广利核***工程有限公司 | The statistical method and device of FPGA emulation testing function coverage |
CN108845952A (en) * | 2018-08-17 | 2018-11-20 | 成都成电光信科技股份有限公司 | A kind of avionics FC data stimuli method based on test case script |
-
2019
- 2019-02-25 CN CN201910138320.6A patent/CN110688296A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549119A (en) * | 2003-05-07 | 2004-11-24 | 华为技术有限公司 | Logic emulation testing system and method |
US20070234121A1 (en) * | 2006-03-31 | 2007-10-04 | Sap Ag | Method and system for automated testing of a graphic-based programming tool |
CN104516818A (en) * | 2014-12-29 | 2015-04-15 | 北京四方继保自动化股份有限公司 | Automatic testing system and method both applicable to compiler in logical configuration software |
CN107797929A (en) * | 2017-10-26 | 2018-03-13 | 北京广利核***工程有限公司 | The statistical method and device of FPGA emulation testing function coverage |
CN108845952A (en) * | 2018-08-17 | 2018-11-20 | 成都成电光信科技股份有限公司 | A kind of avionics FC data stimuli method based on test case script |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966341A (en) * | 2020-07-23 | 2020-11-20 | 中国航发控制***研究所 | Gas turbine monitoring software event configuration method supporting event sequence customization |
CN114609984A (en) * | 2022-03-10 | 2022-06-10 | 清华大学 | Automatic evaluation system and method for execution condition of nuclear power plant operation regulation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108681801B (en) | Method and system for monitoring operation index in production process | |
CN104407589B (en) | Workshop manufacturing process-oriented active sensing and anomaly analysis method of real-time production performance | |
CN107085415A (en) | Regular composer in process control network | |
CA2869923A1 (en) | Efficient health management, diagnosis and prognosis of a machine | |
CN110688296A (en) | Automatic testing method for computerized rule configuration | |
CN116316613B (en) | Power equipment operation monitoring method, system, electronic equipment and storage medium | |
CN107621368A (en) | A kind of engine expert diagnostic system based on trainer aircraft | |
CN110674049A (en) | Intelligent formal verification method for PLC (programmable logic controller) logic programming | |
CN114446417B (en) | Configuration method, device, equipment and storage medium of multi-mode constraint rule | |
CN117350379A (en) | Method and system for judging abnormal state of oil immersed transformer | |
RU2013121575A (en) | PARAMETRIZED SYSTEM FOR CENTRALIZED MAINTENANCE FOR THE AIRCRAFT | |
CN101594627A (en) | A kind of apparatus and method of simulating mobile terminal fault | |
CN110687884A (en) | Automatic testing method for alarm configuration | |
CN116859838B (en) | Early warning system for monitoring equipment operation condition | |
CN105404567A (en) | Method for automatically controlling server aging time in Linux system | |
CN117520184A (en) | Test system for developing computer software | |
CN116679139A (en) | Cable replacement monitoring system and method | |
CN113386976B (en) | Full-mode test method for large aircraft fuel system | |
CN115755799A (en) | Method for monitoring quality fluctuation | |
CN114511209A (en) | Optical fiber cable link quality evaluation method and device, electronic equipment and storage medium | |
CN114356460A (en) | Medical equipment health real-time acquisition monitoring method and system | |
CN112231062A (en) | Safety test system and method for programmable industrial controller | |
CN106226615A (en) | A kind of electronic equipment automatization test system | |
CN109725629A (en) | A kind of entire car controller refresh testing system | |
CN111624954B (en) | Advanced process control machine learning system for flow type manufacturing industry |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200114 |
|
WD01 | Invention patent application deemed withdrawn after publication |