CN110990283A - Method for automatically testing robustness of airborne display and control software - Google Patents
Method for automatically testing robustness of airborne display and control software Download PDFInfo
- Publication number
- CN110990283A CN110990283A CN201911238272.4A CN201911238272A CN110990283A CN 110990283 A CN110990283 A CN 110990283A CN 201911238272 A CN201911238272 A CN 201911238272A CN 110990283 A CN110990283 A CN 110990283A
- Authority
- CN
- China
- Prior art keywords
- control software
- display
- robustness
- software
- airborne
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims description 31
- 230000008569 process Effects 0.000 claims description 18
- 238000013461 design Methods 0.000 claims description 11
- 230000005856 abnormality Effects 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 6
- 230000006399 behavior Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 claims description 3
- 238000010998 test method Methods 0.000 claims description 3
- 238000013024 troubleshooting Methods 0.000 claims description 3
- 238000013522 software testing Methods 0.000 abstract description 2
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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/3688—Test 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)
- Debugging And Monitoring (AREA)
Abstract
The invention belongs to the technical field of airborne software testing, and relates to an automatic testing method for robustness of airborne display and control software.
Description
Technical Field
The invention belongs to the technical field of airborne software testing, relates to automatic testing of an airborne display control system, and particularly relates to an automatic testing method for robustness of airborne display control software.
Background
With the rapid development of avionic technology, a cockpit display control system of a helicopter/fixed wing is gradually changed from a complicated mechanical instrument into large-screen panoramic digital display, high integration and intellectualization are realized, a large-view and more detailed parameter display is provided for a pilot, and the pilot completes picture switching and parameter binding in the modes of physical/virtual keys, gesture operation, voice control and the like. The application of the large screen enables the complexity and the integration degree of display control software to be higher and higher, and how to ensure that the software can still normally run (automatically recover or continuously run regardless of faults) without crashing when a pilot carries out some special operations (pressing entity/virtual keys, gesture operation, voice control and the like) so as to ensure the robustness of software running, the software design and development capacity needs to be improved, the comprehensiveness of the test needs to be enhanced in the testing link, possible problems are exposed in a laboratory in advance, and particularly the software robustness test aiming at some abnormal operations is carried out.
At present, various helicopter/fixed wing cockpit display control software tests are manually operated and tested according to manuals or based on normal processes, various logic combinations are difficult to traverse, testers are heavy in burden, the test period is long, and the like, and the method belongs to deterministic tests.
Disclosure of Invention
The purpose of the invention is: the method for automatically testing the robustness of the airborne display and control software is provided, and the technical problems that various logic combinations are difficult to traverse, the burden of testers is heavy, the testing period is long and the like in the conventional manual operation test are solved.
In order to solve the technical problem, the technical scheme of the invention is as follows:
an automatic test method for robustness of airborne display and control software comprises the following steps:
determining an identification code of an input signal according to the actual design state of a cockpit display control system, wherein the identification code corresponds to the input signal one by one;
step two, respectively establishing a testing software process on hardware where each display control software resides; the testing software process residing on the hardware with the function of collecting external input generates an identification code according to a design strategy period; transmitting the input signal corresponding to the identification code to an I/O layer corresponding to display control software;
in the whole operation process, the test software observes and records the display and control software behavior in the whole process:
recording the running time of the display and control software, recording an identification code sequence generated in the running process of the display and control software, and recording a digital interface for external input and output of the display and control software;
and step three, if the display control software is abnormal, the test software resets and restarts the display control software and continues to start automatic test.
The input signal simulates the operation of an external user and comprises the following steps: physical keys, virtual keys, gesture operation and voice control.
The virtual keys are non-entity keys and are generated through a touch area of the touch screen.
The gesture operation comprises: single click, double click, long press, move, rotate, zoom, slide.
The design strategy specifically adopts the following two modes:
generating according to equal random numbers, wherein the generation probabilities of all identification codes are consistent;
all identifiers are generated with inconsistent probability according to unequal random number generation, including the combination of identifiers in a specified fixed order.
The mode of recording the behavior of the display control software by the test software in the step two is as follows: printed out immediately or saved to non-volatile memory, requiring that the recorded information be accessible.
Preferably, the method for automatically testing the robustness of the onboard display and control software further comprises a step of finally troubleshooting, specifically:
by recording the running time of the display and control software with abnormality or dead halt, recognizing code sequences and outputting and inputting digital interface information, the corresponding operation and input and output states when the abnormality occurs are rapidly reproduced according to the recorded information, and troubleshooting is carried out according to the abnormality.
The invention has the beneficial effects that: the method for automatically testing the robustness of the airborne display and control software can be used as a supplementary means and a method for normal test/verification of a laboratory, adopts a software process embedded mode to simulate human to carry out automatic blind operation or operation with a certain rule, comprises the steps of pressing entity/virtual keys, gesture operation, voice control and the like, simultaneously monitors the behaviors of the display and control software, including an operation state, an external input/output digital interface state and the like, automatically records the result, can automatically test in idle time of the laboratory, does not need additional test equipment, does not need human participation, has high automation degree, low cost, safety and reliability, and improves the test efficiency of the airborne display and control software.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the embodiment of the present invention will be briefly explained. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a cross-sectional diagram of an exemplary automated test method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Features of various aspects of embodiments of the invention will be described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without these specific details. The following description of the embodiments is merely intended to better understand the present invention by illustrating examples thereof. The present invention is not limited to any particular arrangement or method provided below, but rather covers all product structures, any modifications, alterations, etc. of the method covered without departing from the spirit of the invention.
In the drawings and the following description, well-known structures and techniques are not shown to avoid unnecessarily obscuring the present invention.
By combining the typical cross-linked block diagram of the automatic testing method shown in fig. 1, the automatic testing method for the robustness of the airborne display and control software of the invention adopts the following steps to complete the automatic testing for the robustness of the airborne display and control software.
Step 1, determining the number of entity/virtual keys and corresponding identification codes according to the actual design state of a cockpit display control system, determining the identification codes of gesture operation, determining the instruction number of voice control, and forming corresponding identification codes, wherein the identification codes are required to have uniqueness;
description of the drawings:
1) for the touch screen, associating the touch area with the corresponding virtual key and the identification code thereof;
2) the gesture operation comprises the following steps: single click, double click, long press, move, rotate, zoom, slide, etc.
Step 2, respectively creating a testing software process on each display and control software resident hardware, for example, a certain cockpit display and control system comprises: 2 multifunctional displays, 1 display control processing unit, 1 control display unit and the like, wherein test software processes need to be respectively created;
step 3, the testing software residing on the device/module with the function of collecting external input generates an identification code according to a design strategy period, the identification code range covers all entity/virtual keys, gesture operation and voice operation, a human simulator randomly operates the display control system in various modes, the period time is determined according to experience, and the design plan comprises the following contents:
1) equal random numbers are generated, and the generation probabilities of all identification codes are consistent;
2) the method comprises the steps of generating unequal random numbers, wherein the generation probability of all identification codes is inconsistent, and the identification codes are combined in a designated fixed sequence, for example, a D8 key of a multifunctional display of a certain helicopter is a main menu operation key, the generation probability of the identification codes corresponding to a D8 key needs to be improved, a control display unit firstly presses a data binding key, then presses a flight control law, then presses a numeric key to complete the setting of a control rate, and the probability of the sequential generation of the data binding, the flight control law and the numeric key is improved.
Step 4, the testing software transmits the information corresponding to the identification code operated by the simulator to the I/O layer corresponding to the display control software, and the simulator operates the display control system randomly or according to a specified rule (combination sequence), such as switching a certain picture, performing field pressure binding, and equipment radar mode;
step 5, in the whole operation process, the test software observes and records the behavior of the display control software in the whole process, and the specific contents are as follows:
1) recording the running time of the display control software, wherein the recording mode comprises immediate printing output or saving to a nonvolatile memory and the like, and the recording information is required to be accessed;
2) recording an identification code sequence generated in the running process, wherein the recording mode comprises immediate printing output or saving in a nonvolatile memory and the like, for example, a U1 key is simulated and pressed for the first time, certain voice control operation is performed for the second time, a certain picture is operated by a gesture for the third time, … …, and recorded information is required to be accessed;
3) and recording the digital interface of the external input and output of the software, comparing the digital interface with the effective range of the digital interface specified by the system design, and recording the abnormal state when the abnormal state occurs, wherein the recording mode comprises immediate printing output or saving to a nonvolatile memory and the like, and the recorded information is required to be accessed.
Step 6, in the automatic test process, if the display control software is observed to be abnormal, the test software completes the reset restart of the display control software and continues to start the automatic test;
and 7, automatically testing for a period of time, reviewing the running time of the display and control software with abnormality or crash, identifying code sequences and outputting and inputting digital interface information by recording information, rapidly reproducing the corresponding operation and input and output states when the abnormality occurs according to the recorded information, and performing next fault clearing work according to the operation and input and output states.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.
Claims (8)
1. An automatic test method for robustness of airborne display and control software is characterized by comprising the following steps: the automatic robustness testing method for the airborne display and control software comprises the following steps of:
determining an identification code of an input signal according to the actual design state of a cockpit display control system, wherein the identification code corresponds to the input signal one by one;
step two, respectively establishing a testing software process on hardware where each display control software resides; the testing software process residing on the hardware with the function of collecting external input generates an identification code according to a design strategy period; transmitting the input signal corresponding to the identification code to an I/O layer corresponding to display control software;
in the whole operation process, the test software observes and records the display and control software behavior in the whole process:
recording the running time of the display and control software, recording an identification code sequence generated in the running process of the display and control software, and recording a digital interface for external input and output of the display and control software;
and step three, if the display control software is abnormal, the test software resets and restarts the display control software and continues to start automatic test.
2. The method for automatically testing the robustness of the airborne display and control software according to claim 1, is characterized in that: the input signal simulates the operation of an external user and comprises the following steps: physical keys, virtual keys, gesture operation and voice control.
3. The method for automatically testing the robustness of the airborne display and control software according to claim 1, is characterized in that: the virtual keys are non-entity keys and are generated through a touch area of the touch screen.
4. The method for automatically testing the robustness of the airborne display and control software according to claim 1, is characterized in that: the gesture operation comprises: single click, double click, long press, move, rotate, zoom, slide.
5. The method for automatically testing the robustness of the airborne display and control software according to claim 1, is characterized in that: the design strategy in the second step is as follows:
the generation of all identification codes is consistent according to the equal random number.
6. The method for automatically testing the robustness of the airborne display and control software according to claim 1, is characterized in that: the design strategy in the second step is as follows:
all identifiers are generated with inconsistent probability according to unequal random number generation, including the combination of identifiers in a specified fixed order.
7. The method for automatically testing the robustness of the airborne display and control software according to claim 1, is characterized in that: in the second step, the mode of recording the behavior of the display control software by the test software is as follows: immediately printed out or saved to non-volatile memory.
8. The method for automatically testing the robustness of the on-board display and control software according to any one of claims 1 to 7, wherein the method comprises the following steps: the method also comprises a final fault clearing step, which specifically comprises the following steps:
by recording the running time of the display and control software with abnormality or dead halt, recognizing code sequences and outputting and inputting digital interface information, the corresponding operation and input and output states when the abnormality occurs are rapidly reproduced according to the recorded information, and troubleshooting is carried out according to the abnormality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911238272.4A CN110990283A (en) | 2019-12-04 | 2019-12-04 | Method for automatically testing robustness of airborne display and control software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911238272.4A CN110990283A (en) | 2019-12-04 | 2019-12-04 | Method for automatically testing robustness of airborne display and control software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110990283A true CN110990283A (en) | 2020-04-10 |
Family
ID=70090631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911238272.4A Pending CN110990283A (en) | 2019-12-04 | 2019-12-04 | Method for automatically testing robustness of airborne display and control software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110990283A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070168745A1 (en) * | 2005-11-29 | 2007-07-19 | Alam Mohammed D | Automation test systems |
CN101241466A (en) * | 2007-02-08 | 2008-08-13 | 深圳迈瑞生物医疗电子股份有限公司 | Embedded software test method and system |
CN101727393A (en) * | 2009-12-29 | 2010-06-09 | 青岛海信宽带多媒体技术有限公司 | Method for dynamically testing embedded system software |
US20120174075A1 (en) * | 2010-08-10 | 2012-07-05 | International Business Machines Corporation | Automatically Testing a Web Application |
CN102855174A (en) * | 2011-06-28 | 2013-01-02 | 奇智软件(北京)有限公司 | Automatic-recovery target program run control method and device in automated testing |
CN106776325A (en) * | 2016-12-20 | 2017-05-31 | 广东美晨通讯有限公司 | A kind of stability of a system method of testing and system, terminal of Virtual User operation |
CN108415822A (en) * | 2017-02-10 | 2018-08-17 | 阿里巴巴集团控股有限公司 | A kind of random testing method and device |
-
2019
- 2019-12-04 CN CN201911238272.4A patent/CN110990283A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070168745A1 (en) * | 2005-11-29 | 2007-07-19 | Alam Mohammed D | Automation test systems |
CN101241466A (en) * | 2007-02-08 | 2008-08-13 | 深圳迈瑞生物医疗电子股份有限公司 | Embedded software test method and system |
CN101727393A (en) * | 2009-12-29 | 2010-06-09 | 青岛海信宽带多媒体技术有限公司 | Method for dynamically testing embedded system software |
US20120174075A1 (en) * | 2010-08-10 | 2012-07-05 | International Business Machines Corporation | Automatically Testing a Web Application |
CN102855174A (en) * | 2011-06-28 | 2013-01-02 | 奇智软件(北京)有限公司 | Automatic-recovery target program run control method and device in automated testing |
CN106776325A (en) * | 2016-12-20 | 2017-05-31 | 广东美晨通讯有限公司 | A kind of stability of a system method of testing and system, terminal of Virtual User operation |
CN108415822A (en) * | 2017-02-10 | 2018-08-17 | 阿里巴巴集团控股有限公司 | A kind of random testing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100985749B1 (en) | Automatic-testing system and method for embedded system software and test scenario composing method | |
KR20080024185A (en) | Functionality disable and re-enable for programmable calculators | |
CN104483959A (en) | Fault simulation and test system | |
CN108959678B (en) | Method and apparatus for testing the design of satellite wiring harnesses and signal processing units | |
CN104850475B (en) | A kind of test method and device of equipment | |
CN105320595A (en) | Application test method and device | |
CN100559423C (en) | Equipment simulator | |
CN105810273B (en) | A kind of virtual dish platform of nuclear power station and virtual dish platform method of testing | |
CN111970166A (en) | Test method, device, equipment, system and computer readable storage medium | |
CN106547667B (en) | Fault prompting method and system for mobile terminal | |
CN110990283A (en) | Method for automatically testing robustness of airborne display and control software | |
CN108984380A (en) | A kind of server test method, device and medium based on linux system | |
CN101312546A (en) | Method for tracking and recording television operation steps and television thereof | |
CN109240934B (en) | Application program performance test method and device and computer readable storage medium | |
CN111077401B (en) | Keyboard testing method, device and storage medium | |
CN114356769A (en) | Software learning method, device, equipment and storage medium | |
CN111975172B (en) | Interaction method and interaction system for electric arc welder and interaction equipment for electric arc welder | |
CN111679924B (en) | Reliability simulation method and device for componentized software system and electronic equipment | |
CN114637669A (en) | Device management method, device and storage medium | |
CN109361192B (en) | Terminal equipment, and constant value modification method and device | |
CN109408380B (en) | Game system defect management method and device and electronic equipment | |
KR20220139506A (en) | Automatic evaluating apparatus for built-in video recording device of vehicle, system having the same, and method thereof | |
CN107481595B (en) | FPGA experiment board debugging system | |
CN108983083B (en) | Electric tool switch debugging control method, device and system | |
CN108281205A (en) | A kind of reactor protection system function logic joint verification 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200410 |
|
RJ01 | Rejection of invention patent application after publication |