Display control automatic test system and method based on process injection

Through the automatic testing system of display control based on process injection, the Qt attribute inspection library dynamic injection obtains display control information, and the consistency judgment is achieved through the test control program, which solves the problems of long testing cycle and low efficiency of display control software, and realizes an efficient and reliable automated testing process.

CN119847801APending Publication Date: 2025-04-18CHINA NORTH VEHICLE RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411744609.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-01
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The testing cycle of display control software is long, making it difficult to complete the fast delivery requirements. The existing testing methods are single, inefficient, and the manual testing process is complex, resulting in slow and unreliable testing progress.

Method used

Using a display and control automatic testing system based on process injection, the real-time dynamic information of the display and control control is obtained through dynamic injection of the Qt attribute inspection library, and the consistency judgment of the simulation data and the measured display and control control information is realized through the test control program, and an automated testing process is constructed.

Benefits of technology

It improves the efficiency and credibility of display and control software testing, avoids the inefficiency and unreliability of manual testing, realizes an automated test process, and supports rapid delivery of demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847801A_ABST
    Figure CN119847801A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of vehicle electronic information systems, and particularly relates to an automatic display control test system and method based on process injection, and the system comprises a test control program, a bus simulation monitoring program, tested display control software and a Qt attribute inspection program. According to the display control automatic test system, automatic acquisition of attribute information of a tested display control interface is realized through dynamic injection of a Qt inspection library, the problems of low efficiency and low credibility of a manual visual method and manual recording are avoided, and a basis is provided for an automatic test process; a display control automatic test system based on simulation data driving ensures that a series of tests including simulation input, display control interface presentation and input and presentation consistency judgment enter an automatic test process, so that the test efficiency can be improved, and the reliability of a test result can be improved; compared with a traditional manual test mode, the display control automatic test system can accumulate test data in the test process, provides good training data for test model establishment, and can be better integrated into a digital enterprise construction scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of vehicle electronic information systems, and in particular relates to a display and control automatic testing system and method based on process injection. Background Art

[0002] As combat tends to develop towards group collaboration and manned / unmanned collaborative technology develops, the equipment that can be controlled by the crew covers manned combat vehicles, unmanned combat vehicles, drones, etc., resulting in a large number of human-machine control devices for the crew. The emergence of display control provides the crew with a good human-machine interaction window, supporting the crew's quick decision-making during combat.

[0003] However, with the growth of the demand for crew control tasks, the crew display and control interface carries too many human-computer interaction windows such as manned platforms, unmanned platforms, and drones. Its complex processing flow, massive real-time data processing, numerous interface controls, and components have led to complex display and control software testing processes and many test data interfaces, which seriously hinder the rapid delivery of display and control software. At the same time, traditional display and control software testing usually requires testers to visually display and verify data input on the display and control interface. Not only is it difficult to quickly locate the position of the information displayed on the display and control interface, but it is also necessary to calculate and verify the displayed data and input data. The test process requires data to be input, displayed, and verified one by one. The test progresses slowly, and it cannot be guaranteed that the process is difficult to achieve 100% credibility. Therefore, there is an urgent need for an automatic testing system and method for display and control software to complete efficient testing of display and control software. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] The technical problem to be solved by the present invention is: how to propose a display and control automatic testing system and method based on process injection. Based on the current situation that the numerous display and control software interfaces lead to a long testing cycle and it is difficult to meet the rapid delivery requirements, an automatic testing system for display and control software is proposed to solve the difficulties of single display and control software testing means, low testing efficiency, and complex manual testing links, thereby improving the testing efficiency of display and control software.

[0006] (II) Technical solution

[0007] In order to solve the above technical problems, the present invention provides a display control automatic test system based on process injection, the system comprising: a test control program, a bus simulation monitoring program, a display control software to be tested and a Qt property inspection program;

[0008] The test control program includes: a simulation data sending module, a property inspection data acquisition module and a consistency judgment module;

[0009] Wherein, the simulation data sending module of the test control program is used to send the simulation data required by the tested display and control;

[0010] The bus simulation monitoring program acquires simulation data and presents the simulation data in real time, providing a window for testers to monitor bus simulation data;

[0011] The display control software under test is used to obtain simulation data, perform data preprocessing, and drive the interface control display; wherein the display control software under test has been injected with the Qt property inspection library;

[0012] The Qt property inspection program is used to obtain and output the window property data of the tested display and control software interface based on the dynamic injection of the Qt property inspection library;

[0013] The attribute inspection data acquisition module is used to obtain the window attribute data from the display and control software interface under test, and output it to the consistency judgment module;

[0014] The consistency judgment module of the test control program obtains the simulation data of the simulation data sending module and the window attribute data of the tested display and control software interface sent by the attribute inspection data acquisition module, performs consistency judgment, and outputs the judgment result.

[0015] The Qt property inspection program obtains the window property data of the tested display and control interface based on the dynamic injection of the Qt property inspection library;

[0016] The process includes:

[0017] S1: Start the Qt property inspection program and select the process of the display and control software to be tested, that is, specify the process ID or program path to be inspected;

[0018] S2: Determine whether the selected process exists. If not, reselect the process or start the corresponding program. If it exists, use the Gdb / MI method or LD_PRELOAD method to inject it into the process.

[0019] S3: Start the socket communication mechanism and request the corresponding view attribute information from the Qt attribute inspector;

[0020] S4: The Qt attribute inspector returns the corresponding view attribute data;

[0021] S5: Obtaining graphic window meta-object information as the window attribute data output of the measured display and control interface.

[0022] The simulation data sending module sends the simulation data required by the tested display and control, including vehicle speed and rotation speed.

[0023] Among them, when the simulation data is the vehicle speed, that is, when the vehicle speed display and control is performed, the vehicle speed display and control interface is tested according to the display and control automatic test system based on process injection. The process is as follows:

[0024] First, start the display and control automatic test system, use the simulation data sending module of the test control program to send the vehicle speed of 56Km / h, and the bus simulation monitoring program obtains the original data frame of the vehicle speed in the bus data frame in real time, and presents the 56Km / h information to the tester after processing, so as to monitor whether the vehicle speed information sent by the simulation data sending module of the test control program is correctly sent to the bus;

[0025] Then, the tested display control software that has been injected into the inspection library obtains the bus speed information, processes and drives the speed interface control to display the speed information;

[0026] The Qt property inspection program acquires the vehicle speed interface control data of the tested display control interface from the vehicle speed interface control, and outputs it to the property inspection data acquisition module of the test control program;

[0027] The attribute inspection data acquisition module forwards the vehicle speed interface control data of the measured display control interface to the consistency judgment module;

[0028] Finally, the consistency judgment module of the test control program obtains the vehicle speed information sent by the simulation data sending module and the vehicle speed interface control data sent by the attribute inspection data acquisition module for consistency judgment. If the two are consistent, the test passes; if the two are inconsistent, the test fails.

[0029] In addition, the present invention provides a display control automatic testing method based on process injection, the display control automatic testing method is implemented based on the display control automatic testing system according to claim 4, and the display control automatic testing method includes:

[0030] Step 1: The simulation data sending module of the test control program sends the simulation data required by the tested display and control;

[0031] Step 2: The bus simulation monitoring program acquires simulation data and presents the simulation data in real time, providing a window for the tester to monitor the bus simulation data;

[0032] Step 3: The display and control software under test obtains simulation data, performs data preprocessing, and drives the interface control display; wherein the display and control software under test has been injected with the Qt property inspection library;

[0033] Step 4: The Qt property inspection program obtains and outputs the window property data of the tested display and control software interface based on the dynamic injection of the Qt property inspection library;

[0034] Step 5: The attribute inspection data acquisition module acquires the window attribute data from the display and control software interface under test, and outputs it to the consistency judgment module;

[0035] Step 6: The consistency judgment module of the test control program obtains the simulation data of the simulation data sending module and the window attribute data of the tested display and control software interface sent by the attribute inspection data acquisition module, performs consistency judgment, and outputs the judgment result.

[0036] The Qt property inspection program obtains the window property data of the tested display and control interface based on the dynamic injection of the Qt property inspection library;

[0037] The process includes:

[0038] S1: Start the Qt property inspection program and select the process of the display and control software to be tested, that is, specify the process ID or program path to be inspected;

[0039] S2: Determine whether the selected process exists. If not, reselect the process or start the corresponding program. If it exists, use the Gdb / MI method or LD_PRELOAD method to inject it into the process.

[0040] S3: Start the socket communication mechanism and request the corresponding view attribute information from the Qt attribute inspector;

[0041] S4: The Qt attribute inspector returns the corresponding view attribute data;

[0042] S5: Obtaining graphic window meta-object information as the window attribute data output of the measured display and control interface.

[0043] The simulation data sending module sends the simulation data required by the tested display and control, including vehicle speed and rotation speed.

[0044] Among them, when the simulation data is the vehicle speed, that is, when the vehicle speed display and control is performed, the vehicle speed display and control interface is tested according to the display and control automatic test system based on process injection. The process is as follows:

[0045] First, start the display and control automatic test system, use the simulation data sending module of the test control program to send the vehicle speed of 56Km / h, and the bus simulation monitoring program obtains the original data frame of the vehicle speed in the bus data frame in real time, and presents the 56Km / h information to the tester after processing, so as to monitor whether the vehicle speed information sent by the simulation data sending module of the test control program is correctly sent to the bus;

[0046] Then, the display control software under test that has been injected into the inspection library obtains the bus speed information, processes and drives the speed interface control to display the speed information;

[0047] The Qt property inspection program acquires the vehicle speed interface control data of the tested display control interface from the vehicle speed interface control, and outputs it to the property inspection data acquisition module of the test control program;

[0048] The attribute inspection data acquisition module forwards the vehicle speed interface control data of the measured display control interface to the consistency judgment module;

[0049] Finally, the consistency judgment module of the test control program obtains the vehicle speed information sent by the simulation data sending module and the vehicle speed interface control data sent by the attribute inspection data acquisition module for consistency judgment. If the two are consistent, the test passes; if the two are inconsistent, the test fails.

[0050] (III) Beneficial effects

[0051] Compared with the prior art, the present invention is a display and control automatic testing system based on process injection, which obtains real-time dynamic information of display and control controls through dynamic injection of the Qt property inspection library; by constructing a test control program, consistency judgment of simulation data and tested display and control control information is achieved, that is, by pre-registering the tested display and control inspection library, a display and control automatic testing system driven by simulation data is realized.

[0052] The beneficial effects of the present invention are: providing a display control automatic test system and method based on process injection, realizing automatic collection of attribute information of the tested display control interface through dynamic injection of Qt inspection library, avoiding the problems of low efficiency of manual visual method, low efficiency of manual recording, low credibility of manual process, etc., and providing basic conditions for automatic test process; through the display control automatic test system and method driven by simulation data, ensuring that a series of tests such as simulation input, display control interface presentation, input and presentation consistency judgment enter the automatic test process, which can improve test efficiency and improve the credibility of test results. In addition, compared with traditional manual testing methods, the present invention can accumulate test data during the test process, provide good training data for test model establishment, and can also better integrate into the digital enterprise construction scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 This is a schematic diagram of traditional display and control software testing;

[0054] Figure 2 This is a flow chart of the display and control automatic test system in an embodiment of the present invention;

[0055] Figure 3 This is a functional schematic diagram of a test control program in an embodiment of the present invention;

[0056] Figure 4 This is a flow chart of the dynamic injection of the Qt property inspection library in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] In order to make the purpose, content, and advantages of the present invention more clear, the specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments.

[0058] In order to solve the above technical problems, the present invention provides a display control automatic test system based on process injection, such as Figure 2 As shown, the system includes: a test control program, a bus simulation monitoring program, a display control software under test, and a Qt property viewing program;

[0059] The test control program includes: a simulation data sending module, a property inspection data acquisition module and a consistency judgment module; Figure 3 As shown;

[0060] Wherein, the simulation data sending module of the test control program is used to send the simulation data required by the tested display and control;

[0061] The bus simulation monitoring program acquires simulation data and presents the simulation data in real time, providing a window for testers to monitor bus simulation data;

[0062] The display control software under test is used to obtain simulation data, perform data preprocessing, and drive the interface control display; wherein the display control software under test has been injected with the Qt property inspection library;

[0063] The Qt property inspection program is used to obtain and output the window property data of the tested display and control software interface based on the dynamic injection of the Qt property inspection library;

[0064] The attribute inspection data acquisition module is used to obtain the window attribute data from the display and control software interface under test, and output it to the consistency judgment module;

[0065] The consistency judgment module of the test control program obtains the simulation data of the simulation data sending module and the window attribute data of the tested display and control software interface sent by the attribute inspection data acquisition module, performs consistency judgment, and outputs the judgment result.

[0066] Among them, Figure 4 As shown, the Qt property inspection program obtains the window property data of the tested display and control interface based on the dynamic injection of the Qt property inspection library;

[0067] The process includes:

[0068] S1: Start the Qt property inspection program and select the process of the display and control software to be tested, that is, specify the process ID or program path to be inspected;

[0069] S2: Determine whether the selected process exists. If not, reselect the process or start the corresponding program. If it exists, use the Gdb / MI method or LD_PRELOAD method to inject it into the process.

[0070] S3: Start the socket communication mechanism and request the corresponding view attribute information from the Qt attribute inspector;

[0071] S4: The Qt attribute inspector returns the corresponding view attribute data;

[0072] S5: Obtaining graphic window meta-object information as the window attribute data output of the measured display and control interface.

[0073] The simulation data sending module sends the simulation data required by the tested display and control, including vehicle speed and rotation speed.

[0074] Among them, when the simulation data is the vehicle speed, that is, when the vehicle speed display and control is performed, the vehicle speed display and control interface is tested according to the display and control automatic test system based on process injection. The process is as follows:

[0075] First, start the display and control automatic test system, use the simulation data sending module of the test control program to send the vehicle speed of 56Km / h, and the bus simulation monitoring program obtains the original data frame of the vehicle speed in the bus data frame in real time, and presents the 56Km / h information to the tester after processing, so as to monitor whether the vehicle speed information sent by the simulation data sending module of the test control program is correctly sent to the bus;

[0076] Then, the tested display control software that has been injected into the inspection library obtains the bus speed information, processes and drives the speed interface control to display the speed information;

[0077] The Qt property inspection program acquires the vehicle speed interface control data of the tested display control interface from the vehicle speed interface control, and outputs it to the property inspection data acquisition module of the test control program;

[0078] The attribute inspection data acquisition module forwards the vehicle speed interface control data of the measured display control interface to the consistency judgment module;

[0079] Finally, the consistency judgment module of the test control program obtains the vehicle speed information sent by the simulation data sending module and the vehicle speed interface control data sent by the attribute inspection data acquisition module for consistency judgment. If the two are consistent, the test passes; if the two are inconsistent, the test fails.

[0080] In addition, the present invention provides a display control automatic testing method based on process injection, the display control automatic testing method is implemented based on the display control automatic testing system according to claim 4, and the display control automatic testing method includes:

[0081] Step 1: The simulation data sending module of the test control program sends the simulation data required by the tested display and control;

[0082] Step 2: The bus simulation monitoring program acquires simulation data and presents the simulation data in real time, providing a window for the tester to monitor the bus simulation data;

[0083] Step 3: The display and control software under test obtains simulation data, performs data preprocessing, and drives the interface control display; wherein the display and control software under test has been injected with the Qt property inspection library;

[0084] Step 4: The Qt property inspection program obtains and outputs the window property data of the tested display and control software interface based on the dynamic injection of the Qt property inspection library;

[0085] Step 5: The attribute inspection data acquisition module acquires the window attribute data from the display and control software interface under test, and outputs it to the consistency judgment module;

[0086] Step 6: The consistency judgment module of the test control program obtains the simulation data of the simulation data sending module and the window attribute data of the tested display and control software interface sent by the attribute inspection data acquisition module, performs consistency judgment, and outputs the judgment result.

[0087] The Qt property inspection program obtains the window property data of the tested display and control interface based on the dynamic injection of the Qt property inspection library;

[0088] The process includes:

[0089] S1: Start the Qt property inspection program and select the process of the display and control software to be tested, that is, specify the process ID or program path to be inspected;

[0090] S2: Determine whether the selected process exists. If not, reselect the process or start the corresponding program. If it exists, use the Gdb / MI method or LD_PRELOAD method to inject it into the process.

[0091] S3: Start the socket communication mechanism and request the corresponding view attribute information from the Qt attribute inspector;

[0092] S4: The Qt attribute inspector returns the corresponding view attribute data;

[0093] S5: Obtaining graphic window meta-object information as the window attribute data output of the measured display and control interface.

[0094] The simulation data sending module sends the simulation data required by the tested display and control, including vehicle speed and rotation speed.

[0095] Among them, when the simulation data is the vehicle speed, that is, when the vehicle speed display and control is performed, the vehicle speed display and control interface is tested according to the display and control automatic test system based on process injection. The process is as follows:

[0096] First, start the display and control automatic test system, use the simulation data sending module of the test control program to send the vehicle speed of 56Km / h, and the bus simulation monitoring program obtains the original data frame of the vehicle speed in the bus data frame in real time, and presents the 56Km / h information to the tester after processing, so as to monitor whether the vehicle speed information sent by the simulation data sending module of the test control program is correctly sent to the bus;

[0097] Then, the tested display control software that has been injected into the inspection library obtains the bus speed information, processes and drives the speed interface control to display the speed information;

[0098] The Qt property inspection program acquires the vehicle speed interface control data of the tested display control interface from the vehicle speed interface control, and outputs it to the property inspection data acquisition module of the test control program;

[0099] The attribute inspection data acquisition module forwards the vehicle speed interface control data of the measured display control interface to the consistency judgment module;

[0100] Finally, the consistency judgment module of the test control program obtains the vehicle speed information sent by the simulation data sending module and the vehicle speed interface control data sent by the attribute inspection data acquisition module for consistency judgment. If the two are consistent, the test passes; if the two are inconsistent, the test fails.

[0101] Example 1

[0102] The system of this embodiment includes: dynamic injection based on Qt inspection library (1) and automatic testing system driven by simulation data (2).

[0103] The dynamic injection based on Qt inspection library (1) mainly realizes the display control graphic window meta-object information. By dynamically injecting the inspection library, the display control graphic attribute information under test can be obtained in real time, that is, the inspection library is injected into the display control software under test to actively obtain the display control meta-object information under test;

[0104] The automatic test system (2) driven by simulation data mainly realizes the automatic test process of the display and control software. Through the test control program, the consistency of the simulation data and the information of the display and control graphics element under test is judged, and the output of the display and control software is whether the display information is correct. That is, based on (1), the display and control software under test is driven by simulation data to process and present data, and the simulation data and the display data output by the inspection library related to the stimulus data are compared for consistency, and the output of the display and control software is whether the display processing is correct.

[0105] The characteristics are as follows: (1) The display control interface is usually composed of multiple controls and components, which presents a lot of data information; dynamic injection based on Qt view library can realize automatic acquisition of display information, and its information acquisition efficiency and accuracy are greatly improved, which also provides basic conditions for the automatic test system. The automatic test system driven by simulation data (2) realizes automatic closed-loop testing in the entire test process, that is, through right (1), the display data information is obtained. In the automatic test system, the simulation data is used as the input of the display control software to drive the display control software to execute data processing and display programs; the automatic test system judges the consistency between the simulation data and the display control display data, and outputs whether the display data of the display control software is correct, so as to achieve automatic testing, which greatly improves the test efficiency of the display control software and the credibility of the test results.

[0106] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A display and control automatic test system based on process injection, characterized in that: The system includes: a test control program, a bus simulation monitoring program, a display control software under test, and a Qt property inspection program; The test control program includes: a simulation data sending module, a property inspection data acquisition module and a consistency judgment module; Wherein, the simulation data sending module of the test control program is used to send the simulation data required by the tested display and control; The bus simulation monitoring program acquires simulation data and presents the simulation data in real time, providing a window for testers to monitor bus simulation data; The display control software under test is used to obtain simulation data, perform data preprocessing, and drive the interface control display; wherein the display control software under test has been injected with the Qt property inspection library; The Qt property inspection program is used to obtain and output the window property data of the tested display and control software interface based on the dynamic injection of the Qt property inspection library; The attribute inspection data acquisition module is used to obtain the window attribute data from the display and control software interface under test, and output it to the consistency judgment module; The consistency judgment module of the test control program obtains the simulation data of the simulation data sending module and the window attribute data of the tested display and control software interface sent by the attribute inspection data acquisition module, performs consistency judgment, and outputs the judgment result.

2. The display and control automatic test system based on process injection as described in claim 1 is characterized in that: The Qt property inspection program obtains the window property data of the display and control interface under test based on the dynamic injection of the Qt property inspection library; The process includes: S1: Start the Qt property inspection program and select the process of the display and control software to be tested, that is, specify the process ID or program path to be inspected; S2: Determine whether the selected process exists. If not, reselect the process or start the corresponding program. If it exists, use the Gdb / MI method or LD_PRELOAD method to inject it into the process. S3: Start the socket communication mechanism and request the corresponding view attribute information from the Qt attribute inspector; S4: The Qt attribute inspector returns the corresponding view attribute data; S5: Obtaining graphic window meta-object information as the window attribute data output of the measured display and control interface.

3. The display and control automatic test system based on process injection as claimed in claim 1, characterized in that: The simulation data sending module sends the simulation data required by the tested display and control, including vehicle speed and rotation speed.

4. The display and control automatic test system based on process injection as claimed in claim 3 is characterized in that: When the simulation data is vehicle speed, that is, when vehicle speed display and control is performed, the vehicle speed display and control interface is tested according to the display and control automatic test system based on process injection. The process is as follows: First, start the display and control automatic test system, use the simulation data sending module of the test control program to send the vehicle speed of 56Km / h, and the bus simulation monitoring program obtains the original data frame of the vehicle speed in the bus data frame in real time, and presents the 56Km / h information to the tester after processing, so as to monitor whether the vehicle speed information sent by the simulation data sending module of the test control program is correctly sent to the bus; Then, the tested display control software that has been injected into the inspection library obtains the bus speed information, processes and drives the speed interface control to display the speed information; The Qt property inspection program acquires the vehicle speed interface control data of the tested display control interface from the vehicle speed interface control, and outputs it to the property inspection data acquisition module of the test control program; The attribute inspection data acquisition module forwards the vehicle speed interface control data of the measured display control interface to the consistency judgment module; Finally, the consistency judgment module of the test control program obtains the vehicle speed information sent by the simulation data sending module and the vehicle speed interface control data sent by the attribute inspection data acquisition module for consistency judgment. If the two are consistent, the test passes; if the two are inconsistent, the test fails.

5. The display and control automatic test system based on process injection as claimed in claim 4, characterized in that: The display and control automatic test system realizes automatic collection of attribute information of the display and control interface under test through dynamic injection of the Qt inspection library, avoiding the problems of low efficiency of manual visual methods, low efficiency of manual recording, and low credibility of manual processes, and providing basic conditions for the automatic test process; through the display and control automatic test system driven by simulation data, a series of tests such as simulation input, display and control interface presentation, and input and presentation consistency judgment are ensured to enter the automatic test process, which can improve test efficiency and improve the credibility of test results; in addition, compared with traditional manual testing methods, the display and control automatic test system can accumulate test data during the test process, provide good training data for the establishment of test models, and can also better integrate into the digital enterprise construction scenario.

6. A display control automatic testing method based on process injection, characterized in that: The automatic display and control test method is implemented based on the automatic display and control test system according to claim 4, and the automatic display and control test method includes: Step 1: The simulation data sending module of the test control program sends the simulation data required by the tested display and control; Step 2: The bus simulation monitoring program acquires simulation data and presents the simulation data in real time, providing a window for the tester to monitor the bus simulation data; Step 3: The display and control software under test obtains simulation data, performs data preprocessing, and drives the interface control display; wherein the display and control software under test has been injected with the Qt property inspection library; Step 4: The Qt property inspection program obtains and outputs the window property data of the tested display and control software interface based on the dynamic injection of the Qt property inspection library; Step 5: The attribute inspection data acquisition module acquires the window attribute data from the display and control software interface under test, and outputs it to the consistency judgment module; Step 6: The consistency judgment module of the test control program obtains the simulation data of the simulation data sending module and the window attribute data of the tested display and control software interface sent by the attribute inspection data acquisition module, performs consistency judgment, and outputs the judgment result.

7. The display control automatic testing method based on process injection as claimed in claim 6 is characterized in that: The Qt property inspection program obtains the window property data of the display and control interface under test based on the dynamic injection of the Qt property inspection library; The process includes: S1: Start the Qt property inspection program and select the process of the display and control software to be tested, that is, specify the process ID or program path to be inspected; S2: Determine whether the selected process exists. If not, reselect the process or start the corresponding program. If it exists, use the Gdb / MI method or LD_PRELOAD method to inject it into the process. S3: Start the socket communication mechanism and request the corresponding view attribute information from the Qt attribute inspector; S4: The Qt attribute inspector returns the corresponding view attribute data; S5: Obtaining graphic window meta-object information as the window attribute data output of the measured display and control interface.

8. The display control automatic testing method based on process injection as claimed in claim 7 is characterized in that: The simulation data sending module sends the simulation data required by the tested display and control, including vehicle speed and rotation speed.

9. The display control automatic testing method based on process injection as claimed in claim 8, characterized in that: When the simulation data is vehicle speed, that is, when vehicle speed display and control is performed, the vehicle speed display and control interface is tested according to the display and control automatic test system based on process injection. The process is as follows: First, start the display and control automatic test system, use the simulation data sending module of the test control program to send the vehicle speed of 56Km / h, and the bus simulation monitoring program obtains the original data frame of the vehicle speed in the bus data frame in real time, and presents the 56Km / h information to the tester after processing, so as to monitor whether the vehicle speed information sent by the simulation data sending module of the test control program is correctly sent to the bus; Then, the tested display control software that has been injected into the inspection library obtains the bus speed information, processes and drives the speed interface control to display the speed information; The Qt property inspection program acquires the vehicle speed interface control data of the tested display control interface from the vehicle speed interface control, and outputs it to the property inspection data acquisition module of the test control program; The attribute inspection data acquisition module forwards the vehicle speed interface control data of the measured display control interface to the consistency judgment module; Finally, the consistency judgment module of the test control program obtains the vehicle speed information sent by the simulation data sending module and the vehicle speed interface control data sent by the attribute inspection data acquisition module for consistency judgment. If the two are consistent, the test passes; if the two are inconsistent, the test fails.

10. The display and control automatic test system based on process injection as claimed in claim 9, characterized in that: The automatic display and control testing method realizes automatic collection of attribute information of the display and control interface under test through dynamic injection of the Qt inspection library, thereby avoiding the problems of low efficiency of manual visual methods, low efficiency of manual recording, and low credibility of manual processes, and provides basic conditions for the automatic testing process; through the automatic display and control testing method driven by simulation data, a series of tests such as simulation input, display and control interface presentation, and input and presentation consistency judgment are ensured to enter the automatic testing process, which can improve test efficiency and improve the credibility of test results; in addition, compared with traditional manual testing methods, the automatic display and control testing method can accumulate test data during the testing process, provide good training data for the establishment of test models, and can also be better integrated into the digital enterprise construction scenario.