[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110688298A - Nuclear power plant man-machine interaction system automatic testing device based on event driving - Google Patents

Nuclear power plant man-machine interaction system automatic testing device based on event driving Download PDF

Info

Publication number
CN110688298A
CN110688298A CN201910138337.1A CN201910138337A CN110688298A CN 110688298 A CN110688298 A CN 110688298A CN 201910138337 A CN201910138337 A CN 201910138337A CN 110688298 A CN110688298 A CN 110688298A
Authority
CN
China
Prior art keywords
event
module
interaction system
human
testing
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
Application number
CN201910138337.1A
Other languages
Chinese (zh)
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.)
Shanghai Nuclear Engineering Research and Design Institute Co Ltd
Original Assignee
Shanghai Nuclear Engineering Research and Design Institute 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 Shanghai Nuclear Engineering Research and Design Institute Co Ltd filed Critical Shanghai Nuclear Engineering Research and Design Institute Co Ltd
Priority to CN201910138337.1A priority Critical patent/CN110688298A/en
Publication of CN110688298A publication Critical patent/CN110688298A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)
  • Testing And Monitoring For Control Systems (AREA)
  • Monitoring And Testing Of Nuclear Reactors (AREA)

Abstract

The invention aims to disclose an event-driven automatic testing device for a nuclear power plant man-machine interaction system, which comprises an event driving module, an event definition module, a communication interface module and a testing module, wherein the event definition module is sequentially communicated and connected with the event driving module, the communication interface module and the testing module, the event driving module is communicated and connected with external dynamic data, the communication interface module is communicated and connected with the man-machine interaction system, and the output end of the testing module is connected with a display terminal; during testing, a test sample can be imported according to the actual functional requirements of the human-computer interaction system, and the test of the human-computer interaction system is completed by comparing an expected result and an actual result after event triggering; meanwhile, the testing correctness is checked by checking the actual event response state in the human-computer interaction system, so that the working time of engineering technicians for engaging in complicated and repeated work in the system testing work is greatly reduced.

Description

Nuclear power plant man-machine interaction system automatic testing device based on event driving
Technical Field
The invention relates to an automatic test platform, in particular to an event-driven automatic test device for a nuclear power plant man-machine interaction system, which is suitable for testing a nuclear power plant application software system.
Background
As the nuclear power plant application software is used as an important system required for supporting the operation and the monitoring of a nuclear power plant, due to the fact that a data interface exists between the nuclear power plant application software and a nuclear power plant instrument control system, the function and the performance of the system need to be fully tested before the nuclear power plant instrument control system is accessed.
After the integration test of the components of the nuclear power plant application software is completed and before the nuclear power plant application software is formally integrated with the instrument control system of the nuclear power plant, the function and the performance of the system are verified mainly through system test. At present, in the system test work of the application software of the nuclear power plant, some software logic calculation parts adopt software development engineers to simulate data by themselves, and the functional test is carried out in a data excitation mode. Some manual point testing methods are similar to single-step testing, each testing needs to consume a large amount of time, testing efficiency is low, workload is large, manual statistical data is inaccurate, and manual testing can hardly be completed in many aspects such as system performance testing under the condition of large data volume concurrence.
In addition, no corresponding test tool is available in the test stage of the nuclear power plant software system, and the test tool is used for simulating specific commands and interfaces of the nuclear power plant instrument control system, such as response commands of a simulator, dual redundancy and the like. Therefore, in the test of similar special functions and interfaces in the system test stage, the application software of the nuclear power plant can not be developed almost, the test can be developed only after the application software is integrated with the instrument control system of the nuclear power plant, once a problem occurs in the stage, the problem is difficult to locate, and the time and labor are consumed in the system test work.
Therefore, an event-driven automated testing device for a nuclear power plant human-computer interaction system is particularly needed to solve the existing problems.
Disclosure of Invention
The invention aims to provide an event-driven automatic testing device for a nuclear power plant man-machine interaction system, which can meet the requirements of the function and performance tests of a nuclear power plant application software system in a testing stage aiming at the defects of the prior art, and can simulate specific instructions and interfaces of a nuclear power plant so as to meet the requirements of the system tests of the nuclear power plant application software and reduce the testing risk before the system is put into operation.
The technical problem solved by the invention can be realized by adopting the following technical scheme:
the automatic testing device for the nuclear power plant man-machine interaction system based on event driving is characterized by comprising an event driving module, an event definition module, a communication interface module and a testing module, wherein the event definition module is sequentially in communication connection with the event driving module, the communication interface module and the testing module, the event driving module is in communication connection with external dynamic data, the communication interface module is in communication connection with the man-machine interaction system, and the output end of the testing module is connected with a display terminal.
In one embodiment of the invention, the event-driven module generates one or more event messages continuously or discontinuously per unit time.
In one embodiment of the invention, the event definition module establishes event generation conditions based on specific rules and data combinations.
In an embodiment of the present invention, the communication interface module sends the event data to the human-computer interaction system, and obtains the state feedback information after the human-computer interaction system obtains the event through the communication interface module.
In an embodiment of the invention, the test module displays and records state feedback information after the human-computer interaction system obtains the event through the display terminal.
In an embodiment of the invention, the test module defines expected state feedback information after the human-computer interaction system acquires the event, and the expected state feedback can be imported by a method of an event script.
In an embodiment of the invention, the test module compares the expected state feedback information with the actual state feedback information of the human-computer interaction system, and displays the comparison result through the display terminal.
Compared with the prior art, the automatic testing device for the nuclear power plant man-machine interaction system based on event driving can introduce a test sample according to the actual functional requirements of the man-machine interaction system during testing, and complete the testing of the man-machine interaction system by comparing an expected result after event triggering with an actual result; meanwhile, the actual event response state in the human-computer interaction system is checked, the testing correctness is checked, the working time of engineering technicians for engaging in complicated and repeated work in the system testing work is greatly reduced, and the purpose of the invention is realized.
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 a schematic structural flow diagram of the present invention;
FIG. 2 is a schematic view of the device interface of the present invention;
FIG. 3 is a graph showing a comparison of the test results of 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
As shown in fig. 1 to 3, the automated testing device for the man-machine interaction system of the nuclear power plant based on event driving of the invention comprises an event driving module 2, an event definition module 1, a communication interface module 3 and a testing module 4, wherein the event definition module 1 is sequentially connected with the event driving module 2, the communication interface module 3 and the testing module 4 in a communication way, the event driving module 2 is connected with external dynamic data 7 in a communication way, the communication interface module 3 is connected with the man-machine interaction system 8 in a communication way, and the output end of the testing module 4 is connected with a display terminal 5.
In the present embodiment, the tester 6 accesses the event definition module 1 to establish an event generation condition; the tester 6 accesses the test module 4 to define the expected state feedback information after the human-computer interaction system 8 obtains the event, and the expected state feedback can be imported into the test module 4 by an event script method; the event driving module 2 autonomously generates dynamic data or acquires external dynamic data 7, and the acquired dynamic data are combined to generate event information according to the rule and the data given in the event definition module 1; the event driving module 2 receives a command issued by the tester 6 and sends event information to the communication interface module 3; the communication interface module 3 sends the event information to a tested human-computer interaction system 8 and obtains the event feedback of the human-computer interaction system 8; the communication interface module 3 sends the event feedback information of the human-computer interaction system 8 to the test module 4 for comparing the test results; after obtaining the event feedback, the test module 4 compares the event feedback result with the expected result, and sends the comparison result to the display terminal 5.
The event definition module 1: the event definition module provides event generating conditions, the generating conditions are based on specific rules and data combinations, the rules and data combinations are logical operation results of AND or NOT and the like aiming at the events and the data, and one or more event generating conditions can be defined at the same time;
the event-driven module 2: the event-driven module generates one or more pieces of event information continuously or discontinuously in a unit time, and the event-driven module controls the generation of different events according to the driving conditions defined in the event definition module 1 and external dynamic data, and the events may be periodic or aperiodic.
Communication interface module 3: the communication interface module sends the event data to the human-computer interaction system, and state feedback information after the human-computer interaction system acquires the event is acquired through the communication interface module; the communication interface adopts standard communication protocols (such as OPC and MODBUS) to send and acquire event data; the event data includes at least event trigger time, event name, event description, event importance, event response, and the like.
The test module 4: the test module displays and records the state feedback information of the human-computer interaction system after the event is acquired, namely, the state feedback information of the human-computer interaction system after the event is acquired is compared with an expected feedback result imported/input by a tester, and the comparison result is recorded in the device or a text.
The display terminal 5: the display terminal is a device for displaying the test result, and the display content comprises the expected feedback result, the actual state feedback information and the comparison result.
The automatic test device for the nuclear power plant man-machine interaction system based on event driving can simulate an event generation mechanism on the premise of not influencing the functions and interfaces of the man-machine interaction system, verify the correctness of the functional service and configuration content of the man-machine interaction system, effectively accelerate the test process, and provide a convenient operation environment by butting with design, development, unit test and integrated test.
The automatic testing device of the nuclear power plant man-machine interaction system based on event driving has flexibility, and can compare results of expected feedback and actual feedback when an event feedback state can be obtained, so that a quantitative testing function is realized; when the event feedback state cannot be acquired, the function of qualitative test can be realized by manually observing the feedback state of the human-computer interaction system;
the automatic testing device based on the event-driven nuclear power plant man-machine interaction system has wide applicability and expansibility, can be suitable for various man-machine interaction systems through a standard communication interface, can cover the requirements of various event-driven forms and event relevance through self-defining event rules and data combination, provides a rule and script importing function, and enlarges the application range.
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 (7)

1. The automatic testing device for the nuclear power plant man-machine interaction system based on event driving is characterized by comprising an event driving module, an event definition module, a communication interface module and a testing module, wherein the event definition module is sequentially in communication connection with the event driving module, the communication interface module and the testing module, the event driving module is in communication connection with external dynamic data, the communication interface module is in communication connection with the man-machine interaction system, and the output end of the testing module is connected with a display terminal.
2. The event-driven-based automated testing device for human-computer interaction systems of nuclear power plants of claim 1, wherein the event-driven module generates one or more event messages continuously or discontinuously in a unit time.
3. The event-driven-based nuclear power plant human-computer interaction system automation test device of claim 1, wherein the event definition module establishes event generation conditions based on specific rules and data combinations.
4. The automated testing device for the human-computer interaction system of the nuclear power plant based on the event driving as claimed in claim 1, wherein the communication interface module sends the event data to the human-computer interaction system, and obtains the state feedback information after the human-computer interaction system obtains the event through the communication interface module.
5. The automated testing device for the human-computer interaction system of the nuclear power plant based on the event driving as claimed in claim 1, wherein the testing module displays and records the state feedback information after the human-computer interaction system obtains the event through a display terminal.
6. The event-driven-based nuclear power plant human-machine interaction system automation testing device of claim 1, wherein the testing module defines expected state feedback information after the human-machine interaction system obtains an event, and the expected state feedback can be imported by an event script.
7. The automated testing device for the human-computer interaction system of the nuclear power plant based on the event driving as claimed in claim 1, wherein the testing module compares the expected state feedback information with the actual state feedback information of the human-computer interaction system, and displays the comparison result through a display terminal.
CN201910138337.1A 2019-02-25 2019-02-25 Nuclear power plant man-machine interaction system automatic testing device based on event driving Pending CN110688298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138337.1A CN110688298A (en) 2019-02-25 2019-02-25 Nuclear power plant man-machine interaction system automatic testing device based on event driving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138337.1A CN110688298A (en) 2019-02-25 2019-02-25 Nuclear power plant man-machine interaction system automatic testing device based on event driving

Publications (1)

Publication Number Publication Date
CN110688298A true CN110688298A (en) 2020-01-14

Family

ID=69107586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138337.1A Pending CN110688298A (en) 2019-02-25 2019-02-25 Nuclear power plant man-machine interaction system automatic testing device based on event driving

Country Status (1)

Country Link
CN (1) CN110688298A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111613357A (en) * 2020-04-14 2020-09-01 中国核电工程有限公司 Monitoring and control method of safety level actuator of nuclear power plant

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216712A (en) * 2007-12-26 2008-07-09 航天东方红卫星有限公司 Satellite automated test frame system
CN103106071A (en) * 2011-11-15 2013-05-15 中兴通讯股份有限公司 Mobile terminal user interface (UI) demonstration method and system
CN104239202A (en) * 2013-06-09 2014-12-24 刘伟 Non-Root testing method and system of interactive intelligent equipment
CN104866423A (en) * 2015-05-20 2015-08-26 中国科学院空间应用工程与技术中心 Software configuration item test method and system
US20160011959A1 (en) * 2014-07-09 2016-01-14 Fujitsu Limited Event-driven software testing
CN106597947A (en) * 2016-12-23 2017-04-26 国网浙江宁波市鄞州区供电公司 Substation equipment test method and system, server and tester

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216712A (en) * 2007-12-26 2008-07-09 航天东方红卫星有限公司 Satellite automated test frame system
CN103106071A (en) * 2011-11-15 2013-05-15 中兴通讯股份有限公司 Mobile terminal user interface (UI) demonstration method and system
CN104239202A (en) * 2013-06-09 2014-12-24 刘伟 Non-Root testing method and system of interactive intelligent equipment
US20160011959A1 (en) * 2014-07-09 2016-01-14 Fujitsu Limited Event-driven software testing
CN104866423A (en) * 2015-05-20 2015-08-26 中国科学院空间应用工程与技术中心 Software configuration item test method and system
CN106597947A (en) * 2016-12-23 2017-04-26 国网浙江宁波市鄞州区供电公司 Substation equipment test method and system, server and tester

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李翔 等: "一种基于事件关系的图形用户界面程序测试方法", 《小型微型计算机系统》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111613357A (en) * 2020-04-14 2020-09-01 中国核电工程有限公司 Monitoring and control method of safety level actuator of nuclear power plant
CN111613357B (en) * 2020-04-14 2022-11-18 中国核电工程有限公司 Monitoring and control method of safety level actuator of nuclear power plant

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN107885097B (en) Nuclear power station simulator control system DCS transformation closed loop verification system and method
US8204711B2 (en) System and apparatus for managing test procedures within a hardware-in-the-loop simulation system
CN109634867B (en) Software testing method and device based on data simulation system and storage medium
CN107797928B (en) Instrument control system platform logic algorithm block testing device and method
CN112526966B (en) Automatic test method and system for HIL (high-performance liquid chromatography) of controller
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN111176984A (en) Signal-oriented automatic test implementation method
CN103077114A (en) Automatic testing method based on communication protocol of temperature measuring device
CN113572658A (en) Vehicle control signal testing method and device, electronic equipment and storage medium
CN106354629A (en) Construction method of iOS system mobile application automatic test system based on multiple stages of servers
CN107976990A (en) A kind of complete vehicle fault test method based on CANoe
CN114661615B (en) FPGA software testing method and device
CN110688298A (en) Nuclear power plant man-machine interaction system automatic testing device based on event driving
CN110968517A (en) Automatic test method, device, platform and computer readable storage medium
KR20060061038A (en) Method and system for verification of control rod control system in nuclear power plant
CN114253248B (en) System and method for automatically testing and verifying nuclear power station DCS control system
CN110688299A (en) Automatic test platform for application software of nuclear power plant
CN112765018B (en) Instrument and meter debugging system and method
CN104678292A (en) Test method and device for CPLD (Complex Programmable Logic Device)
CN211528548U (en) Miniaturized satellite universal test platform based on system on chip
CN103744757A (en) DF file verification method based on ARINC661
CN115469640A (en) Test system and test method of automobile instrument system
CN113535560A (en) Test execution method and device, storage medium and computing equipment
CN114647568A (en) Automatic testing method and device, electronic equipment and readable storage medium

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200114