CN113626311A - Test method and test system of cockpit display system and storage medium - Google Patents

Test method and test system of cockpit display system and storage medium Download PDF

Info

Publication number
CN113626311A
CN113626311A CN202110796073.6A CN202110796073A CN113626311A CN 113626311 A CN113626311 A CN 113626311A CN 202110796073 A CN202110796073 A CN 202110796073A CN 113626311 A CN113626311 A CN 113626311A
Authority
CN
China
Prior art keywords
test
client
simulation device
display system
display interface
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
CN202110796073.6A
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 Fujia Information Technology Co ltd
Original Assignee
Shanghai Fujia Information Technology 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 Fujia Information Technology Co ltd filed Critical Shanghai Fujia Information Technology Co ltd
Priority to CN202110796073.6A priority Critical patent/CN113626311A/en
Publication of CN113626311A publication Critical patent/CN113626311A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3652Software debugging using additional hardware in-circuit-emulation [ICE] arrangements
    • 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/3684Test management for test design, e.g. generating new test cases
    • 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/3692Test management for test results analysis

Abstract

The embodiment of the invention relates to the technical field of cockpit display systems, and discloses a test method, a test system and a storage medium of a cockpit display system. The invention discloses a test method of a cockpit display system, which comprises the following steps: the client acquires a test script and sends an excitation signal to the running simulation device according to the test script; running a 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; the server collects a test display interface of the operation simulation device according to the indication 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 identification result and the pre-stored identification result of the expected display interface. By adopting the embodiment, the efficiency of testing the cockpit display system can be improved.

Description

Test method and test system of cockpit display system and storage medium
Technical Field
The embodiment of the invention relates to the technical field of cockpit display systems, in particular to a test method, a test system and a storage medium of a cockpit display system.
Background
With the increasing number of modern aircraft functions and associated electronics, the logic of Display and interaction of the 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 a cockpit display system.
However, as the number of test scripts increases, software requirements and input/output (I/O) configurations are frequently updated during development, the efficiency of writing and executing the test scripts is greatly affected, reducing the efficiency of testing the cockpit display system.
Disclosure of Invention
The invention aims to provide a test method, a test system and a storage medium for a cockpit display system, which can improve the efficiency of testing the cockpit 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 cockpit 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 running simulation device according to the test script; running a 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; the server collects a test display interface of the operation simulation device according to the indication 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 identification result and the pre-stored identification result of the expected display interface.
In a second aspect, embodiments of the present application further 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 the 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 the 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 indication of the client; 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 identification result and the identification result of the pre-stored expected display interface.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the testing method described above.
The test method of the cockpit display system in the embodiment of the application is applied to the test system, the test system adopts a working structure of a client/a 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 by the test display interface and the pre-stored expected display interface, and the test efficiency is improved because manual participation is not needed; in addition, because the test script is obtained in the test method, the simulation of the cockpit display system and the determination of the test result do not need manual participation, and the results of all the steps are interacted, the efficiency of testing the cockpit 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, and trigger the simulation cabin display system in the operation simulation device to execute the corresponding test operation of the excitation signal, the excitation signal is not required to be sent to the operation simulation device of an entity, the environmental requirement on the cabin display system test is reduced, and the test applicability is improved.
In addition, the client acquiring the test script comprises: and receiving the configuration information of each test item determined by the user, and generating a test script. And a test script does not need to be manually compiled, so that the test efficiency is improved.
In addition, before sending the excitation signal to the running simulation apparatus according to the test script, the test method further includes: carrying out 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. Because the test script includes a plurality of test cases, if manual detection, work load is big, and need not manual detection in this embodiment, improved detection efficiency, improve the accuracy of test simultaneously.
In addition, the test method adopts an asynchronous execution mechanism. By adopting an asynchronous execution mechanism, the occupation of the main thread can be reduced, and the problem that the occupation time of the main thread is too long to influence the testing speed is avoided.
In addition, the test method further comprises: and the client stores the test script of each version and the test result after the test script is executed to the database. And storing each version of the test script, so that the test script can be conveniently inquired subsequently for a tester to study.
In addition, before the client controls the server to monitor and operate the test display interface of the simulation device and transmit 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 cockpit display system according to the test mode. And a plurality of test modes are provided for the user to select, and the test flexibility is improved.
In addition, the test method further comprises: the method comprises the steps that a client side obtains airborne data of airborne equipment; analyzing the airborne data to obtain each parameter 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 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 widened.
In addition, the test method comprises: parameters in the interface definition file are queried.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a testing method of a cockpit display system according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a specific implementation of obtaining a test script according to an embodiment of the present application;
FIG. 3 is a diagram illustrating an implementation of verifying a test script according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an embodiment of storing each version of a test script in a database according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an implementation of providing at least two test patterns according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an implementation of processing airborne data according to 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
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The ARINC661 standard is used for standardizing the development of a cockpit display system and reducing the cost of development, operation and maintenance. The cockpit display system includes: CDS end and User end (UA), the content of the test to the cockpit display system mainly includes: (1) testing whether ARINC661 protocol is supported; (2) testing whether a cabin display system accords with a CDS end and a user end of an ARINC661 protocol specification, wherein the CDS end and the UA end can carry out data interaction; (3) the CDS terminal can read and analyze the related configuration file and is used for an engineer to check on a display; (4) whether the CDS end can manage the object in a graphic Definition File (DF) or not and whether the object can generate excitation according to the DF or not; (5) whether the UA end can run the test script or not; (7) and the UA end records the test result and reason and generates a report. In the traditional manual testing method, the change of a display picture in the UA end is observed manually, and a testing result is recorded manually, so that the attention of a tester is highly concentrated in the process of executing the test, and particularly for the test of an alarm System such as a Flight alarm System (FDAS), because the number of test cases is large, the similarity of the content of part of alarm information is high, the misjudgment of the testing result is easily caused by visual fatigue, distraction and the like, the testing accuracy is poor, and the testing efficiency is low.
The first embodiment of the application relates to a test method of a cockpit display system. The test method is applied to a test system, 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.
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 (SSDL), a server supports Python Development language, and a client supports Java Development language.
The operating system of the client can be Windows 7 or above, Linux or Mac OS 64 bit; other configurations of the client can be a multi-core CPU, and the main frequency is not lower than 2 GHz; the memory capacity is 4GB and above, and the hard disk capacity is 256GB and above; the capacity of the video card is 8GB or above. The server configuration may be: the operating system can be Linux 16.04 and above 64 bit; a multi-core CPU with a main frequency not lower than 3.2 GHz; the memory capacity is 8GB and above; the hard disk capacity is 1TB and above;
the flow of the test method is described below with reference to fig. 1:
step 101: the client obtains the test script.
Specifically, the client has a data input interface, a user can import a manually written test script through the data input interface, and the client obtains the test script through the data input interface. The test script is computer readable instructions in a test process.
Step 102: the client sends an excitation signal to the running 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, and the test platform access interface is used for executing a signal setting instruction of a test case and calling an interface based on a test verification environment to realize data excitation.
Step 103: and operating 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, and the display component 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 cockpit display system, namely a test display interface of a test operation result is displayed on a display interface in the operation simulation device. The client side can send an instruction to the server side after sending the excitation signal, wherein the instruction is used for instructing the server side to collect a test display interface of the operation simulation device. The client can also instruct the server to monitor the test display interface of the running simulation device in a preset time period.
Step 104: and the server collects a test display interface of the running simulation device according to the indication of the client.
In particular, 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: detecting the state of the server, testing the recognition result and the like. The line for transmitting data between the server and the client may be an ethernet line. The server receives the instruction and collects the test display interface of the operation simulation device, in this example, the test display interface of the operation simulation device can be collected by a camera.
Step 105: and the server side 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 object in the test display interface may be text, an image of a control, etc.
A relevant recognition model library is constructed according to the characteristics of different controls in the cockpit display system by adopting a mode combined with a neural network, and a better recognition effect is achieved by preprocessing an image by utilizing a computer vision technology. The training that the service end that uses in the training process stores the image of the sample display interface of at least 3 different image acquisition equipment acquisitions, wherein, the neural network model that the system used in the aspect of deep learning has: the convolutional neural network CNN realizes the efficient classification of images by using convolutional operation based on a convolutional kernel and a multi-layer (convolutional layer, pooling layer and full-connection layer) structure; a fast RCNN network can also be adopted, and the RCNN network positions specified characteristic images in the test display interface based on the network obtained by training, such as pointers, characters and the like; and after the positioning is finished, calling other algorithms or network models to realize further content identification. An LSTM network can be adopted, is a special recurrent neural network, can control the transmission state through the gating state, is more favorable for forgetting some unimportant information while remembering the information needing to be memorized for a long time, and is used for identifying the character correlation 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 identification result and the pre-stored identification result of the expected display interface.
Specifically, the client may pre-store an identification result of an expected display interface to be tested, compare the test identification result with the identification result of the expected display interface, determine that the test is qualified if the state of each control in the identification result is the same as the pre-stored state of each control, and determine that the test is unqualified if the states are different. After obtaining the test result, a test report may be generated, and the client supports exporting the test report into pdf or txt format.
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 executing all the test cases in the script, and the execution process includes data excitation, waiting, result determination, and the like.
The embodiment of the application realizes a test method which can obtain the test script, execute the test script and record the test result; the full-automatic execution of the test case is realized; in the process of testing the script, the server controls the industrial camera to finish image acquisition and executes information (such as text content, color, control state and the like) extraction and identification result return of a specified identification target.
The test method of the cockpit display system in the embodiment of the application is applied to the test system, the test system adopts a working structure of a client/a 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 by the test display interface and the pre-stored expected display interface, and the test efficiency is improved because manual participation is not needed; in addition, because the test script is obtained in the test method, the simulation of the cockpit display system and the determination of the test result do not need manual participation, and the results of all the steps are interacted, the efficiency of testing the cockpit 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, and trigger the simulation cabin display system in the operation simulation device to execute the corresponding test operation of the excitation signal, the excitation signal is not required to be sent to the operation simulation device of an entity, the environmental requirement on the cabin display system test is reduced, and the test applicability is improved.
In one embodiment, the test script obtained in the test method is generated by the client, and a schematic diagram of the test script is shown in fig. 2.
Step 1011: and receiving the configuration information of each test item determined by the 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, the client edits the test case according to a selection instruction, the selection instruction is used to indicate a test control or an 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 of selecting an SET Control or other command controls related to parameters in an Interface Control Document (ICD) by a user, 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 also comprises the step that the client queries the parameters in the interface definition file.
Specifically, the client receives a query request of a user, queries ICD parameters according to the parameters in the query request query interface definition file, so as to generate a test script quickly. For example, the query result is displayed, the input selection instruction is received, the single or multiple parameters in the query result are obtained, and the client side completes automatic generation of the test script corresponding to the test item based on the selected parameters. The test script includes the execution sequence of each test case.
Step 102: the client sends an excitation signal to the running simulation device according to the test script.
Step 103: and operating 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 collects a test display interface of the running simulation device according to the indication of the client.
Step 105: and the server side 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 identification result and the pre-stored identification result of the expected display interface.
It should be noted that, the test method adopts an asynchronous execution mechanism and an asynchronous test mechanism, so that the occupation of the main thread can be reduced, and the problem that the occupation time of the main thread is too long to influence the test speed is solved. An asynchronous test execution mechanism is adopted, namely the process control during the test execution is realized, and the problem of overlong response time caused by the occupation of a main thread is solved.
In the embodiment, the test script does not need to be manually compiled, and the test efficiency is improved.
In one embodiment, the client checks the test script, which is schematically illustrated in fig. 3.
Step 1011: and receiving the configuration information of each test item determined by the user, and generating a test script.
Step 102-1: and carrying out validity detection on the test script according to a pre-stored interface definition file.
In a traditional mode, all test cases of a user are compiled based on Excel, and because ICD parameter configuration of an SSDL platform cannot be timely and effectively acquired in the compiling process, errors that signals cannot be identified in actual operation of a finally completed test script, namely CVT invalid errors, easily occur. Meanwhile, because the update frequency of the SSDL platform is fast in the production environment, a lot of time and effort are often consumed for verifying the correctness of the test script by a tester.
Before the test script is executed, validity verification is carried out on the test script, and the verified 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 validity check of the parameter may be performed by: and acquiring an interface definition file of the test item, and acquiring parameters in the interface definition file. And acquiring the test script, detecting whether the test script comprises all parameters in the interface definition file of the test item, and if not, indicating that the current test script has missing parameters.
The method can also be realized by detecting whether the pre-stored parameter values are the same as the corresponding parameter values in the test script.
Step 102-2: and if the invalid information is detected to exist in the test script, indicating the position of the invalid information.
And outputting all error reasons and position information after the verification is finished so as to be checked by a user.
Step 102: the client sends an excitation signal to the running simulation device according to the test script.
Step 103: and operating 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 collects a test display interface of the running simulation device according to the indication of the client.
Step 105: and the server side 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 identification result and the pre-stored identification result of the expected display interface.
In the embodiment, because the test script comprises a plurality of test cases, if manual detection is performed, the workload is large, manual detection is not needed in the embodiment, the detection efficiency is improved, and the test accuracy is improved.
In one embodiment, the client stores each version of the test script in a database for review by a tester, a schematic of which is shown in FIG. 4.
Step 1011: and receiving the configuration information of each test item determined by the user, and generating a test script.
Step 102-1: and carrying out validity detection on the test script according to a pre-stored interface definition file.
Step 102-2: and if the invalid information is detected to exist in the test script, indicating the position of the invalid information.
Step 102-3: the client stores the test script of each version into the database, and the test script corresponds to 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 the database, and the database can be a MySQL database. Because the test script is updated, each version of the test script can be stored in the database, and the identification information of each version of the test script 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 round number according to the content and the version of the test script; and all relevant test process and result data including the acquired images are stored under the turn in the test execution process for the test personnel to view.
In this example, the test system may also monitor parameters selected by the user, and the user may select parameters from the input/output end of the client; the numerical values of the parameters are monitored, the monitoring duration can be set according to needs, and the monitored parameters can be refreshed manually or regularly by a system so as to adapt to different test scenes.
The client supports the import of the Excel format user test script, and can perform operations such as retrieval, update, check, deletion and the like on the test script of the import system.
Step 102: the client sends an excitation signal to the running simulation device according to the test script.
Step 103: and operating 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 collects a test display interface of the running simulation device according to the indication of the client.
Step 105: and the server side 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 identification result and the pre-stored identification result of the expected display interface.
In this embodiment, each version of the test script is saved, and the test script is subsequently queried for the tester to study.
In one embodiment, the client provides at least two test modes, which are schematically illustrated in fig. 5.
Step 1011: and receiving the configuration information of each test item determined by the user, and generating a test script.
Step 102-1: and carrying out validity detection on the test script according to a pre-stored interface definition file.
Step 102-2: and if the invalid information is detected to exist in the test script, indicating the position of the invalid information.
Step 102-3: the client stores the test script of each version into the database, and the test script corresponds to respective identification information.
Step 102: the client sends an excitation signal to the running simulation device according to the test script.
Step 103: and operating 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 cockpit display system according to the test mode.
The test mode includes two modes, an adaptive mode and a fully automatic mode. The self-adaptive mode refers to a hybrid test with supervision, namely, the self-adaptive mode 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 unsupervised long-time full-automatic test, and semi-automatic test steps are automatically skipped, and errors which can occur in operation, such as: the use case contains illegal signals or SSDL calling errors and the like, the pop-up of the user confirmation dialog box is cancelled, and error information is recorded.
Step 104: and the server collects a test display interface of the running simulation device according to the indication of the client.
Step 105: and the server side 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 identification result and the pre-stored identification result of the expected display interface.
In the embodiment, a plurality of test modes are provided for the user to select, and the test flexibility is improved.
In one embodiment, the client may also process the onboard data, which is schematically illustrated in fig. 6.
Step 1011: and receiving the configuration information of each test item determined by the user, and generating the test script.
Step 102-1: and carrying out validity detection on the test script according to a pre-stored interface definition file.
Step 102-2: and if the invalid information is detected to exist in the test script, indicating the position of the invalid information.
Step 102-3: the client stores the test script of each version into the database, and the test script corresponds to respective identification information.
Step 102: and the client sends an excitation signal to the running simulation device according to the test script.
Step 103: and operating 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 cockpit display system according to the test mode.
Step 104: and the server collects a test display interface of the running simulation device according to the indication of the client.
Step 105: and the server side 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 identification result and the pre-stored identification result of the expected display interface.
Step 108: the client acquires airborne data of the airborne equipment.
The onboard data indication refers to data collected by onboard equipment, such as an airplane. The on-board data may be imported to the client by other devices.
Step 109: the client analyzes the airborne data to obtain each parameter 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 pre-stored airborne interface definition file.
Specifically, the airborne data is analyzed, and each parameter in the airborne data is acquired, so that the airborne data is simulated, or the airborne data is analyzed and processed. The pre-stored airborne interface definition file can be distributed to the airborne data, and the curves corresponding to the airborne data are drawn according to the distribution time sequence.
It should be noted that the test system in this embodiment performs deployment test in a laboratory environment, and can continuously run for automatic test for more than 10 hours in an unsupervised laboratory environment, thereby ensuring continuous working time; in terms of the operation response 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 exceeding 2GB, and the parameter number of a single airborne data file can realize the analysis of the airborne data file containing more than 200 parameters; recording the data processing time of a single recorded file during testing, and actually measuring and analyzing the airborne data file with the size of 2GB for about 6 minutes; in an image processing module of the server, pictures of different test display interfaces are used for testing, and numerical information, English sentences and line types in the pictures can be successfully identified. Wherein the numerical information includes: content, color, position and duration of the numerical value, and the English sentence comprises: appearance (appearance) and disappearance (disppear) of english sentences, color, position, and time of continuous display of the sentences; the line type includes: the state of the line (combination of color, length and thickness) and the duration. In actual measurement, the automatic recognition accuracy of the numbers and the English sentences is 96.32%, and the line type 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 steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
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 apparatus according to the test script; the operation simulation device 202 is used for simulating a cockpit display system to execute test operation corresponding to the excitation signal and displaying a test display interface comprising a test operation result; the server 203 is used for acquiring 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 201 is further configured to determine a test result according to the received test identification result and a pre-stored identification result of the expected display interface.
The server and the client are respectively provided with a processor and a memory, the memory and the processor are connected in a bus mode, the bus can comprise any number of interconnected buses and bridges, and the buses link various circuits of one or more processors and the memory together. The bus may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or 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 a wireless medium via an 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 the 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, in which a computer program is stored, which, when executed by a processor, implements the above-described testing method.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and 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 for 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 in practice.

Claims (10)

1. A test method of a cockpit display system is characterized by being applied to a 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 running 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 the test operation result;
the server collects a test display interface of the operation simulation device according to the indication 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 pre-stored identification result of an expected display interface.
2. The method for testing a cockpit display system of claim 1 wherein said client obtains a test script comprising:
and receiving the configuration information of each test item determined by the user, and generating a test script.
3. The method of testing a cockpit display system of claim 1 wherein prior to said sending an excitation signal to said operational simulation device according to said test script, said method further comprises:
carrying out validity detection on the test script according to a pre-stored interface definition file;
and if the test script is detected to have invalid information, indicating the position of the invalid information.
4. The method for testing a cockpit display system of claim 1 where said testing method employs an asynchronous execution mechanism.
5. The method for testing a cockpit display system of claim 3 further comprising:
and the client stores the test script of each version and the test result after the test script is executed to a database.
6. The method for testing a cockpit display system of claim 5 where before said client controls said service to monitor a test display interface of said operational simulation device and transmit said display interface to said client, said 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 cockpit display system according to the test mode.
7. The method for testing a cockpit display system of claim 1 further comprising:
the client acquires airborne data of airborne equipment;
the client analyzes the airborne data to obtain 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 pre-stored airborne interface definition file.
8. The method of testing a cockpit display system of claim 3 where said method of testing comprises:
and querying parameters in the interface definition file.
9. A cockpit display system testing 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 running simulation device according to the test script;
the operation simulation device is used for simulating the cockpit 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 indication 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 is used for determining a test result according to the received test identification result and a pre-stored identification result of an expected display interface.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the testing method according to any one of claims 1 to 8.
CN202110796073.6A 2021-07-14 2021-07-14 Test method and test system of cockpit display system and storage medium Pending CN113626311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110796073.6A CN113626311A (en) 2021-07-14 2021-07-14 Test method and test system of cockpit display system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110796073.6A CN113626311A (en) 2021-07-14 2021-07-14 Test method and test system of cockpit display system and storage medium

Publications (1)

Publication Number Publication Date
CN113626311A true CN113626311A (en) 2021-11-09

Family

ID=78379753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110796073.6A Pending CN113626311A (en) 2021-07-14 2021-07-14 Test method and test system of cockpit display system and storage medium

Country Status (1)

Country Link
CN (1) CN113626311A (en)

Similar Documents

Publication Publication Date Title
US11396386B2 (en) Supporting off-wing maintenance of an engine of an aircraft
Prisaznuk ARINC 653 role in integrated modular avionics (IMA)
US20190171540A1 (en) Apparatus fault detecting system and fault detection device
US5541863A (en) Virtual integrated software testbed for avionics
US20100250220A1 (en) System and apparatus for managing test procedures within a hardware-in-the-loop simulation system
US8402315B2 (en) Electronic card able to execute a command originating from a simulation system and a command originating from a diagnostic module and associated simulation method
CN111949545A (en) Automatic testing method, system, server and storage medium
US20170168913A9 (en) Method and system for testing of applications in asset management software
CN108021505A (en) Data loading method, device and computer equipment
CN103180834A (en) An automated operating system test framework
CN114564374A (en) Operator performance evaluation method and device, electronic equipment and storage medium
CN115203012A (en) Artificial intelligence performance test method and device
KR101308022B1 (en) A testing apparatus for a portable avionics system development and an operating method thereof
CN113626311A (en) Test method and test system of cockpit display system and storage medium
CN114153929B (en) Test data interpretation method and device, electronic equipment and storage medium
CN113590484B (en) Algorithm model service testing method, system, equipment and storage medium
CN113986753A (en) Interface test method, device, equipment and storage medium
CN112561331A (en) Visual experimental analysis evaluation index construction method
US11321341B2 (en) Dynamic metadata extraction workflow for measurement data storage
CN115600323B (en) Aviation system simulation method and system, electronic device and readable storage medium
Ziegler et al. An Ada based real-time closed-loop integration and regression test tool
US20220068042A1 (en) Automated prediction of repair based on sensor data
RU2817184C1 (en) Method of testing software of embedded control systems
CN116126478B (en) Method, device, equipment and medium for generating interface control document
CN115658516A (en) Cloud desktop stability testing method and terminal

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