CN113626311B - Test method, test system and storage medium for cabin display system - Google Patents
Test method, test system and storage medium for cabin display system Download PDFInfo
- Publication number
- CN113626311B CN113626311B CN202110796073.6A CN202110796073A CN113626311B CN 113626311 B CN113626311 B CN 113626311B CN 202110796073 A CN202110796073 A CN 202110796073A CN 113626311 B CN113626311 B CN 113626311B
- Authority
- CN
- China
- Prior art keywords
- test
- client
- simulation device
- display interface
- script
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- 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—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3648—Debugging of software using additional hardware
- G06F11/3652—Debugging of software using additional hardware in-circuit-emulation [ICE] arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- 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—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- 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)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention relates to the technical field of cabin display systems, and discloses a test method, a test system and a storage medium of a cabin display system. The invention relates to a test method of a cabin display system, which comprises the following steps: the client acquires a test script and sends an excitation signal to the operation simulation device according to the test script; the operation simulation device simulates the cabin display system to execute test operation corresponding to the excitation signal and displays a test display interface comprising a test operation result; the server collects a test display interface for running the simulation device according to the instruction of the client; identifying a test display interface to obtain a test identification result; transmitting the test identification result to the client; and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface. By adopting the embodiment, the efficiency of testing the cabin display system can be improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of cabin display systems, in particular to a test method, a test system and a storage medium of a cabin display system.
Background
With the ever increasing number of modern aircraft functions and associated electronics, the logic of the display and interaction of cockpit display systems (Cockpit DISPLAY SYSTEM, CDS) has become increasingly complex. At present, a test script is usually written manually, and a mode of manually observing the change of a display picture is combined to test the cockpit display system.
However, as the number of test scripts increases, the software requirements and input/output (I/O) configuration are frequently updated during development, the efficiency of writing and executing the test scripts is greatly affected, and the efficiency of testing the cockpit display system is reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a test method, a test system and a storage medium for a cabin display system, which can improve the efficiency of testing the cabin display system.
In order to solve the above technical problem, in a first aspect, an embodiment of the present application provides a test method for a cabin display system, which is applied to a test system, where the test system includes a client, a server, and an operation simulation device, the client is connected to the server, and the operation simulation device is connected to the client, and the test method includes: the client acquires a test script and sends an excitation signal to the operation simulation device according to the test script; the operation simulation device simulates the cabin display system to execute test operation corresponding to the excitation signal and displays a test display interface comprising a test operation result; the server collects a test display interface for running the simulation device according to the instruction of the client; identifying a test display interface to obtain a test identification result; transmitting the test identification result to the client; and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
In a second aspect, embodiments of the present application also provide a test system for a cockpit display system, including: the system comprises a client, a server and an operation simulation device, wherein the client is connected with the server, and the operation simulation device is connected with the client; the client is used for acquiring a test script and sending an excitation signal to the operation simulation device according to the test script; the operation simulation device is used for simulating the cabin display system to execute test operation corresponding to the excitation signal and displaying a test display interface comprising test operation results; the server side is used for collecting a test display interface for running the simulation device according to the instruction of the client side; identifying a test display interface to obtain a test identification result; transmitting the test identification result to the client; the client is used for determining the test result according to the received test recognition result and the recognition result of the pre-stored expected display interface.
In a third aspect, embodiments of the present application further provide a computer readable storage medium storing a computer program, which when executed by a processor, implements the above-described test method.
The test method of the cabin display system in the embodiment of the application is applied to a test system, the test system adopts a working structure of a client/server, the processing capacity of the client can be fully exerted, and the response speed of the client is high; the test result is determined through the test display interface and a prestored expected display interface, and the efficiency of the test is improved because no manual participation is needed; in addition, in the test method, the simulation of the cabin display system and the determination of the test result are obtained from the test script, so that manual participation is not needed, the results of all steps interact, and the test efficiency of the cabin display system is improved; the client is connected with the operation simulation device, so that the client can send the generated excitation signal to the operation simulation device, the simulation cabin display system in the operation simulation device is triggered to execute the test operation corresponding to the excitation signal, the excitation signal is not required to be sent to the operation simulation device of the entity, the environment requirement on the cabin display system test is reduced, and the test applicability is improved.
In addition, the client obtaining the test script includes: and receiving configuration information of each test item determined by a user, and generating a test script. And a test script is not required to be written manually, so that the test efficiency is improved.
In addition, before sending the excitation signal to the running simulation device according to the test script, the test method further comprises: detecting the validity of the test script according to a pre-stored interface definition file; and if the invalid information exists in the test script, indicating the position of the invalid information. Because the test script comprises a plurality of test cases, if manual detection is performed, the workload is large, and manual detection is not needed in the embodiment, so that the detection efficiency is improved, and meanwhile, the accuracy of the test is improved.
In addition, the test method adopts an asynchronous execution mechanism. By adopting an asynchronous execution mechanism, occupation of a main thread can be reduced, and the problem that the test speed is influenced due to overlong occupation time of the main thread is avoided.
In addition, the test method further comprises the following steps: and the client saves the test script of each version and the test result after the test script is executed to the database. Each version of the test script is saved, facilitating subsequent queries of the test script for study by the tester.
In addition, before the client control server monitors the test display interface of the running simulation device and transmits the display interface to the client, the test method further comprises the following steps: the client displays at least two preset test mode options so that a user can select a test mode through a display interface; and the client responds to the selected test mode and tests the simulated cabin display system according to the test mode. And a plurality of test modes are provided for users to select, so that the flexibility of the test is improved.
In addition, the test method further comprises the following steps: the method comprises the steps that a client obtains airborne data of airborne equipment; analyzing the airborne data to obtain all parameters in the airborne data; and drawing a curve corresponding to the airborne data according to each parameter in the airborne data and a prestored airborne interface definition file. The test mode can analyze the airborne data in the test process, so that a curve corresponding to the airborne data is drawn, and the application range of the test mode is improved.
In addition, the test method includes: the query interface defines parameters in the file.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a flow chart of a method of testing a cockpit display system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of a method for obtaining test scripts according to the present application;
FIG. 3 is a schematic diagram of a specific implementation of verification of a test script provided in accordance with an embodiment of the present application;
FIG. 4 is a schematic diagram of a specific implementation of storing each version of a test script to a database, provided in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of a specific implementation providing at least two test modes according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a specific implementation of processing on-board data provided in accordance with an embodiment of the present application;
Fig. 7 is a schematic structural diagram of a test system according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present application, numerous technical details have been set forth in order to provide a better understanding of the present application. The claimed application may be practiced without these specific details and with various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present invention, and the embodiments can be mutually combined and referred to without contradiction.
The ARINC661 standard is used for standardizing the development of a cockpit display system and reducing the development and operation cost. The cabin display system includes: the content of the test on the cabin display system mainly comprises the following components of: (1) testing whether ARINC661 protocol is supported; (2) Testing whether the cockpit display system accords with a CDS end and a user end of ARINC661 protocol specification or not, wherein the CDS end and the UA end can perform data interaction; (3) The CDS end can read and analyze the related configuration files, and the related configuration files are checked by engineers on a display; (4) Whether the CDS end can manage the object in the graphic Definition File (DF) or not and whether the object can be stimulated according to the DF or not; (5) whether the UA terminal can run the test script or not; (7) And (3) whether the UA end records the test result and the reason and generates a report. According to the traditional manual testing method, the change of the display picture in the UA end is observed manually, and the testing result is recorded manually, so that the attention of a tester is required to be concentrated in the process of executing the testing, particularly, for the testing of the flight warning system (FLIGHT DECK ALERT SYSTEM, FDAS) and other warning systems, due to the fact that the number of the testing cases is large, meanwhile, the similarity of part of warning information content is high, misjudgment of the testing result is easy to be caused by visual fatigue or distraction and other reasons, the testing accuracy is poor, and the testing efficiency is low.
A first embodiment of the application relates to a method of testing a cockpit display system. The test method is applied to a test system, and the test system comprises a client, a server and an operation simulation device, wherein the client is connected with the server, and the operation simulation device is connected with the client.
The programming environments supported by the test system may be Eclipse and PyCharm, supporting the use of virtual machines. The test system adopts a C/S architecture, a client is deployed in a test verification environment (Subsystem Development Lab, SSDL), a server supports a Python development language, and a client supports a Java development language.
The operating system of the client can be Windows 7 or above, or Linux or Mac OS 64bit; other configurations of the client can be a multi-core CPU, and the main frequency is not lower than 2GHz; the memory capacity is 4GB and above, and the hard disk capacity is 256GB and above; the capacity of the display card is 8GB or more. The server configuration may be: the operating system can be Linux 16.04 and 64 bits above; the multi-core CPU has a main frequency not lower than 3.2GHz; the memory capacity is 8GB or more; the hard disk capacity is 1TB or more;
The flow of the test method is described below with reference to fig. 1:
step 101: the client acquires the test script.
Specifically, the client has a data input interface through which a user can import a manually written test script, and the client obtains the test script. The test script is computer readable instructions in the testing process.
Step 102: the client transmits an excitation signal to the operation simulation device according to the test script.
Specifically, the client executes each instruction in the test script, generates an excitation signal corresponding to the instruction, and sends the excitation signal to the operation simulation device. The client is provided with a test platform access interface which is used for executing signal setting instructions of test cases and realizing data excitation based on interface call of a test verification environment.
Step 103: and running the simulation device to simulate the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface comprising the test operation result.
Specifically, the operation simulation device is used for simulating the cockpit display system, the cockpit display system comprises a CDS end and a UA end, and the operation simulation device comprises a display component which is used for displaying pictures in the simulated UA end. The operation simulation device receives the excitation signal, the CDS end in the operation simulation device is triggered by the excitation signal to execute the test operation corresponding to the excitation signal, and the operation simulation device displays the display state of each UA in the cabin display system, namely, the display interface in the operation simulation device displays the test display interface of the test operation result. The client may send an indication to the server after sending the excitation signal, where the indication is used to instruct the server to collect a test display interface of the running simulation device. The client may also instruct the server to monitor the test display interface of the running simulation device within a preset period of time.
Step 104: and the server acquires a test display interface for running the simulation device according to the instruction of the client.
Specifically, the server is deployed in a high-performance computer with a graphics card and an image acquisition card. The client is also provided with a server communication interface, and the server communication interface realizes data interaction with the server based on http, and comprises the following steps: and detecting the state of the server, testing the identification result and the like. The line between the server and the client for transmitting data may be an ethernet line. The server receives the indication and collects a test display interface of the running simulation device, which in this example may be collected by a camera.
Step 105: and the server identifies the test display interface to obtain a test identification result.
And identifying the identifiable objects in the test display interface according to the image identification network trained to be converged in advance. The recognizable objects in the test display interface may be text, images of controls, etc.
The neural network combined mode is adopted to construct a related recognition model library aiming at the characteristics of different controls in the cabin display system, and a better recognition effect is achieved by preprocessing images through a computer vision technology. The training that uses in the training process is that the server stores the image of sample display interface that 3 sets at least different image acquisition equipment gathered, and wherein, the neural network model that the system used has in the aspect of the deep learning: the convolutional neural network CNN, CNN network is to utilize convolutional operation based on convolutional kernel and multi-layer (convolutional layer, pooling layer, full-connection layer) structure to realize the high-efficiency classification of the image; the network FASTER RCNN and the network RCNN can be adopted to position the specified characteristic images in the test display interface based on the network obtained by training, such as pointers, characters and the like; and calling other algorithms or network models after the positioning is finished to realize further content identification. The LSTM network can be adopted, is a special cyclic neural network, can control the transmission state through the gating state, is more beneficial to memorizing information which needs to be memorized for a long time and forgetting some unimportant information, and is used for identifying a text related model.
Step 106: and the server transmits the test identification result to the client.
Step 107: and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
Specifically, the client may store the identification result of the tested expected display interface in advance, compare the test identification result with the identification result of the expected display interface, if the state of each control in the identification result is the same as the state of each pre-stored control, determine that the test is qualified, and if the states are different, determine that the test is unqualified. After obtaining the test results, a test report may be generated that the client supports exporting into pdf or txt formats.
It should be noted that, the test script includes a plurality of test cases to be tested, the client supports adding the test script into the execution list, and executes all the test cases in the script, and the execution process includes data excitation, waiting, result determination, etc.
The embodiment of the application realizes the testing method which comprises the steps of obtaining the testing script, executing the testing script and recording the testing result; realizing the full-automatic execution of the test case; in the process of testing the script, the server controls the industrial camera to complete image acquisition and execute information (such as text content, color, control state and the like) extraction of the appointed identification target and identification result return.
The test method of the cabin display system in the embodiment of the application is applied to a test system, the test system adopts a working structure of a client/server, the processing capacity of the client can be fully exerted, and the response speed of the client is high; the test result is determined through the test display interface and a prestored expected display interface, and the efficiency of the test is improved because no manual participation is needed; in addition, in the test method, the simulation of the cabin display system and the determination of the test result are obtained from the test script, so that manual participation is not needed, the results of all steps interact, and the test efficiency of the cabin display system is improved; the client is connected with the operation simulation device, so that the client can send the generated excitation signal to the operation simulation device, the simulation cabin display system in the operation simulation device is triggered to execute the test operation corresponding to the excitation signal, the excitation signal is not required to be sent to the operation simulation device of the entity, the environment requirement on the cabin display system test is reduced, and the test applicability is improved.
In one embodiment, the acquisition test script in the test method is generated by a client, and a schematic diagram thereof is shown in fig. 2.
Step 1011: and receiving configuration information of each test item determined by a user, and generating a test script.
Specifically, the configuration information may be input by a user, for example, a test case editor may be displayed on a display interface on the client, and the client edits a test case according to a selection instruction, where the selection instruction is used to instruct a test control or instruction in the test case editor selected by the user, and the selection instruction may be a click. For example, the display interface receives an instruction from a user to select a SET control or other command control related to parameters in an interface definition file (INTERFACE CONTROL DOCUMENT, ICD), and the client dynamically provides selectable parameter prompts according to the currently selected control of the user in combination with ICD parameter configuration when the parameters are input; the user can input parameters based on the optional parameter prompt; a test script is automatically generated.
The test method further includes the client querying parameters in the interface definition file.
Specifically, the client receives a query request from a user, queries parameters in the interface definition file according to the query request, and queries ICD parameters so as to quickly generate the test script. For example, the query result is displayed, an input selection instruction is received, single or multiple parameters in the query result are obtained, and the client terminal completes automatic generation of the test script corresponding to the test item based on the selected parameters. The test script comprises the execution sequence of each test case.
Step 102: the client transmits an excitation signal to the operation simulation device according to the test script.
Step 103: and running the simulation device to simulate the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface comprising the test operation result.
Step 104: and the server acquires a test display interface for running the simulation device according to the instruction of the client.
Step 105: and the server identifies the test display interface to obtain a test identification result.
Step 106: and the server transmits the test identification result to the client.
Step 107: and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
It should be noted that, the testing method adopts an asynchronous execution mechanism, and adopts an asynchronous testing mechanism, so as to reduce occupation of the main thread and avoid the problems that the occupation time of the main thread is too long and the testing speed is affected. An asynchronous test execution mechanism is adopted, namely, process control is performed when a test is executed, and the problem of overlong response time caused by occupation of a main thread is avoided.
In the embodiment, the test script does not need to be written manually, so that the test efficiency is improved.
In one embodiment, the client verifies the test script, a schematic diagram of which is shown in FIG. 3.
Step 1011: and receiving configuration information of each test item determined by a user, and generating a test script.
Step 102-1: and detecting the validity of the test script according to a pre-stored interface definition file.
In the traditional mode, all test cases of a user are written based on Excel, and ICD parameter configuration of an SSDL platform cannot be timely and effectively obtained in the writing process, so that errors which cannot be identified by signals in actual operation of a finally completed test script, namely CVT invalid errors, are easy to occur. Meanwhile, due to the fact that the update frequency of the SSDL platform is high in a production environment, a tester often needs to consume a great deal of time and effort in verifying the correctness of the test script.
Before executing the test script, the validity of the test script is checked, and the checked content comprises the validity of the parameters and the validity of the parameter values, so that the accuracy of the test script can be ensured.
The process of validity verification of the parameters may be: and acquiring an interface definition file of the test item, and acquiring parameters in the interface definition file. And acquiring the test script, and detecting whether the test script comprises all parameters in the interface definition file of the test item, if not, indicating that the current test script has missing parameters.
The method can also be realized by detecting whether the pre-stored parameter value is the same as the corresponding parameter value in the test script.
Step 102-2: and if the invalid information exists in the test script, indicating the position of the invalid information.
And after the verification is finished, outputting all error reasons and position information for a user to check.
Step 102: the client transmits an excitation signal to the operation simulation device according to the test script.
Step 103: and running the simulation device to simulate the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface comprising the test operation result.
Step 104: and the server acquires a test display interface for running the simulation device according to the instruction of the client.
Step 105: and the server identifies the test display interface to obtain a test identification result.
Step 106: and the server transmits the test identification result to the client.
Step 107: and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
In this embodiment, since the test script includes a plurality of test cases, if the test script is manually detected, the workload is large, and the manual detection is not required in this embodiment, so that the detection efficiency is improved, and meanwhile, the accuracy of the test is improved.
In one embodiment, the client stores each version of the test script in a database for viewing by a tester, a schematic diagram of which is shown in FIG. 4.
Step 1011: and receiving configuration information of each test item determined by a user, and generating a test script.
Step 102-1: and detecting the validity of the test script according to a pre-stored interface definition file.
Step 102-2: and if the invalid information exists in the test script, indicating the position of the invalid information.
Step 102-3: the client saves the test script of each version into a database, and the test script corresponds to the respective identification information.
Specifically, the client is further provided with a database access interface, the database access interface is used for storing and reading data in a database, and the database can be a MySQL database. Because of the update of the test scripts, each version of the test scripts can be stored in the database, and meanwhile, the identification information of each version of the test scripts is stored in the database. The procedure for saving the test script is as follows:
When the test script is executed, the client generates a unique turn number according to the content and version of the test script; and storing all relevant test processes and result data including the acquired images under the turn in the test execution process for the test personnel to check.
The test system in this example may also monitor parameters selected by the user, who may select parameters from the input/output of the client; the numerical value of each parameter is monitored, the monitoring duration can be set according to the needs, and the monitored parameters can be refreshed manually or refreshed at regular time by the system so as to adapt to different testing scenes.
The client supports the importing of Excel format user test scripts, and can perform operations such as searching, updating, checking and deleting on the test scripts of the importing system.
Step 102: the client transmits an excitation signal to the operation simulation device according to the test script.
Step 103: and running the simulation device to simulate the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface comprising the test operation result.
Step 104: and the server acquires a test display interface for running the simulation device according to the instruction of the client.
Step 105: and the server identifies the test display interface to obtain a test identification result.
Step 106: and the server transmits the test identification result to the client.
Step 107: and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
In this embodiment, each version of the test script is saved and the test script is queried later for study by the tester.
In one embodiment, the client provides at least two test modes, a schematic of which is shown in FIG. 5.
Step 1011: and receiving configuration information of each test item determined by a user, and generating a test script.
Step 102-1: and detecting the validity of the test script according to a pre-stored interface definition file.
Step 102-2: and if the invalid information exists in the test script, indicating the position of the invalid information.
Step 102-3: the client saves the test script of each version into a database, and the test script corresponds to the respective identification information.
Step 102: the client transmits an excitation signal to the operation simulation device according to the test script.
Step 103: and running the simulation device to simulate the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface comprising the test operation result.
Step 104-1: the client displays at least two preset test mode options so that a user can select a test mode through a display interface.
Step 104-2: and the client responds to the selected test mode and tests the simulated cabin display system according to the test mode.
The test mode includes two modes, an adaptive mode and a full-automatic mode. The self-adaptive mode refers to a mixed test which is supervised by people, and can be automatically switched between a semi-automatic execution mode and a full-automatic execution mode according to the type of the test step; the full-automatic test step will be skipped automatically; the full-automatic mode refers to an unsupervised long-time full-automatic test, and the semi-automatic test steps will be skipped automatically, and for possible errors in operation, such as: the use case contains illegal signals or SSDL call errors, etc., the user confirmation dialog box is popped up, and error information is recorded.
Step 104: and the server acquires a test display interface for running the simulation device according to the instruction of the client.
Step 105: and the server identifies the test display interface to obtain a test identification result.
Step 106: and the server transmits the test identification result to the client.
Step 107: and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
In this embodiment, multiple test modes are provided for the user to select, so as to improve the flexibility of the test.
In one embodiment, the client may also process the on-board data, a schematic diagram of which is shown in fig. 6.
Step 1011: and receiving configuration information of each test item determined by a user, and generating a test script.
Step 102-1: and detecting the validity of the test script according to a pre-stored interface definition file.
Step 102-2: and if the invalid information exists in the test script, indicating the position of the invalid information.
Step 102-3: the client saves the test script of each version into a database, and the test script corresponds to the respective identification information.
Step 102: and the client sends an excitation signal to the operation simulation device according to the test script.
Step 103: and running the simulation device to simulate the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface comprising the test operation result.
Step 104-1: the client displays at least two preset test mode options so that a user can select a test mode through a display interface.
Step 104-2: and the client responds to the selected test mode, and tests the simulated cabin display system according to the test mode.
Step 104: and the server acquires a test display interface for running the simulation device according to the instruction of the client.
Step 105: and the server identifies the test display interface to obtain a test identification result.
Step 106: and the server transmits the test identification result to the client.
Step 107: and the client determines the test result according to the received test recognition result and a prestored recognition result of the expected display interface.
Step 108: and the client acquires the airborne data of the airborne equipment.
The on-board data indication refers to data collected by on-board equipment, such as an aircraft. The on-board data may be imported to the client by other devices.
Step 109: the client analyzes the airborne data and obtains all parameters in the airborne data.
Step 110: and the client draws a curve corresponding to the airborne data according to each parameter in the airborne data and a prestored airborne interface definition file.
Specifically, the airborne data is analyzed, and each parameter in the airborne data is acquired so as to simulate the airborne data or analyze and process the airborne data. And a pre-stored airborne interface definition file can be allocated for the airborne data, and a curve corresponding to the airborne data is drawn according to allocation time sequencing.
It should be noted that, the test system in this embodiment performs deployment test in a laboratory environment, and can continuously run automatic test for more than 10 hours in an unsupervised laboratory environment, so as to ensure continuous working time; the average operation response time is less than 1 second, and the heavy load operation response time is less than 2 seconds; when the length of the airborne data file to be analyzed is tested, the prototype system can analyze the airborne data file with the size of more than 2GB, and meanwhile, the number of parameters of a single airborne data file can realize the analysis of the airborne data file with the size of more than 200 parameters; recording the data processing time of a single record file during testing, wherein the time for actually measuring and analyzing the airborne data file with the size of 2GB is about 6 minutes; in the image processing module of the server, the pictures with different test display interfaces are used for testing, so that numerical information, english sentences and linetypes in the pictures can be successfully identified. Wherein the numerical information includes: the content, color, position and duration of the numerical values, the english sentence includes: the appearance (Appear) and Disappearance (DISAPPEAR) of English sentences, the color, position and duration of the sentences; the line type includes: the state of the line (combination of color, length and thickness) and duration. In actual measurement, the automatic recognition accuracy of the numbers and English sentences is 96.32%, and the linear and icon recognition accuracy is 97.11%.
Therefore, the test system in the embodiment of the application has high test efficiency and high test accuracy.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A second embodiment of the present application relates to a test system for a cockpit display system, as shown in fig. 7, comprising: the system comprises a client 201, a server 202 and an operation simulation device 203, wherein the client is connected with the server, and the operation simulation device is connected with the client.
The client 201 is configured to obtain a test script, and send an excitation signal to the running simulation device according to the test script; the operation simulation device 203 is used for simulating the cabin display system to execute the test operation corresponding to the excitation signal and display a test display interface including the test operation result; the server 202 is configured to collect a test display interface of the running simulation device according to an instruction of the client; identifying the test display interface to obtain a test identification result; transmitting the test identification result to the client; the client 201 is further configured to determine a test result according to the received test identification result and an identification result of a pre-stored expected display interface.
The server and the client each have a processor and a memory, the memories are connected by a bus, the bus may include any number of interconnected buses and bridges, and the buses link various circuits of one or more processors and memories together. The bus may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory may be used to store data used by the processor in performing operations.
A third embodiment of the present application relates to a computer-readable storage medium storing a computer program which, when executed by a processor, implements the test method described above.
Those skilled in the art will appreciate that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, including instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.
Claims (10)
1. The test method for the cabin display system is characterized by being applied to the test system, wherein the test system comprises a client, a server and an operation simulation device, the client is connected with the server, and the operation simulation device is connected with the client, and the test method comprises the following steps:
the client acquires a test script, and sends an excitation signal to the operation simulation device according to the test script;
The operation simulation device simulates the cabin display system to execute test operation corresponding to the excitation signal and displays a test display interface comprising a test operation result;
The server acquires a test display interface of the operation simulation device according to the instruction of the client; identifying the test display interface to obtain a test identification result; transmitting the test identification result to the client;
and the client determines a test result according to the received test identification result and a prestored identification result of an expected display interface.
2. The method for testing a cockpit display system of claim 1 wherein the client obtains a test script comprising:
And receiving configuration information of each test item determined by a user, and generating a test script.
3. The method of claim 1, wherein prior to said sending an excitation signal to said running simulation device in accordance with said test script, said method further comprises:
Performing validity detection on the test script according to a pre-stored interface definition file;
and if the invalid information is detected to exist in the test script, indicating the position of the invalid information.
4. The method of claim 1, wherein the method of testing employs an asynchronous execution mechanism.
5. A method of testing a cockpit display system according to claim 3, further comprising:
And the client saves each version of test script and the test result after the test script is executed to a database.
6. The method of claim 5, wherein before the client controls the server to monitor a test display interface of the running simulation device and transmits the display interface to the client, the method further comprises:
the client displays at least two preset test mode options so that a user can select a test mode through a display interface;
and the client responds to the selected test mode, and tests the simulated cabin display system according to the test mode.
7. The method of claim 1, further comprising:
the client acquires airborne data of airborne equipment;
The client analyzes the airborne data and obtains each parameter in the airborne data;
and the client draws a curve corresponding to the airborne data according to each parameter in the airborne data and a prestored airborne interface definition file.
8. A method of testing a cockpit display system according to claim 3, wherein the method of testing comprises:
and querying parameters in the interface definition file.
9. A system for testing a cockpit display system, comprising: the system comprises a client, a server and an operation simulation device, wherein the client is connected with the server, and the operation simulation device is connected with the client;
The client is used for acquiring a test script and sending an excitation signal to the operation simulation device according to the test script;
the operation simulation device is used for simulating the cabin display system to execute test operation corresponding to the excitation signal and displaying a test display interface comprising a test operation result;
The server is used for collecting a test display interface of the operation simulation device according to the instruction of the client; identifying the test display interface to obtain a test identification result; transmitting the test identification result to the client;
The client is used for determining a test result according to the received test recognition result and a recognition result of a pre-stored expected display interface.
10. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the test method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110796073.6A CN113626311B (en) | 2021-07-14 | 2021-07-14 | Test method, test system and storage medium for cabin display system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110796073.6A CN113626311B (en) | 2021-07-14 | 2021-07-14 | Test method, test system and storage medium for cabin display system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113626311A CN113626311A (en) | 2021-11-09 |
CN113626311B true CN113626311B (en) | 2024-07-16 |
Family
ID=78379753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110796073.6A Active CN113626311B (en) | 2021-07-14 | 2021-07-14 | Test method, test system and storage medium for cabin display system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113626311B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761186A (en) * | 2014-01-17 | 2014-04-30 | 中国航空无线电电子研究所 | Plane cockpit display system server software testing method conforming to ARINC661 standard |
CN104503902A (en) * | 2014-12-05 | 2015-04-08 | 中国航空工业集团公司第六三一研究所 | Method for testing DF file based on ARINC661 specification |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9009669B2 (en) * | 2010-05-07 | 2015-04-14 | Salesforce.Com, Inc. | Visual user interface validator |
CN106200612B (en) * | 2016-07-07 | 2019-01-22 | 百度在线网络技术(北京)有限公司 | For testing the method and system of vehicle |
-
2021
- 2021-07-14 CN CN202110796073.6A patent/CN113626311B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761186A (en) * | 2014-01-17 | 2014-04-30 | 中国航空无线电电子研究所 | Plane cockpit display system server software testing method conforming to ARINC661 standard |
CN104503902A (en) * | 2014-12-05 | 2015-04-08 | 中国航空工业集团公司第六三一研究所 | Method for testing DF file based on ARINC661 specification |
Also Published As
Publication number | Publication date |
---|---|
CN113626311A (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8204711B2 (en) | System and apparatus for managing test procedures within a hardware-in-the-loop simulation system | |
CN110245089A (en) | Stress testing method, device, equipment and computer-readable storage medium | |
CN107909088B (en) | Method, apparatus, device and computer storage medium for obtaining training samples | |
US20150242297A1 (en) | Method and system for testing of applications in asset management software | |
CN113837596B (en) | Fault determination method and device, electronic equipment and storage medium | |
CN113342692B (en) | Automatic test case generation method and device, electronic equipment and storage medium | |
CN111949545A (en) | Automatic testing method, system, server and storage medium | |
US12124325B2 (en) | Automatic sensor trace validation using machine learning | |
US20220068042A1 (en) | Automated prediction of repair based on sensor data | |
CN105204981A (en) | Application performance test method and device | |
CN112561331A (en) | Visual experimental analysis evaluation index construction method | |
CN109710523B (en) | Visual draft test case generation method and device, storage medium and electronic equipment | |
CN113626311B (en) | Test method, test system and storage medium for cabin display system | |
US9104573B1 (en) | Providing relevant diagnostic information using ontology rules | |
JPH09223038A (en) | Remote terminal emulator | |
CN115203012A (en) | Artificial intelligence performance test method and device | |
CN118097913A (en) | Sensitivity detection method and device of early warning detection device | |
CN115292146B (en) | System capacity estimation method, system, equipment and storage medium | |
CN114679402B (en) | Method and device for testing communication protocol between upper computer and lower computer of medical robot | |
CN113590484B (en) | Algorithm model service testing method, system, equipment and storage medium | |
CN116176860A (en) | Fuel system testing method, system, equipment and readable storage medium | |
US11321341B2 (en) | Dynamic metadata extraction workflow for measurement data storage | |
CN114064510A (en) | Function testing method and device, electronic equipment and storage medium | |
CN118964161A (en) | A test system, method, device and medium | |
CN112485554B (en) | Electrical performance test platform for complex product |
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 |