Test system and method for intelligent cabin car infotainment
By developing on-board testing applications in smart cockpits, using preset functional controls, log modules and reporting modules, automated testing and automatic log analysis are realized, solving the problem of low testing efficiency of smart cockpits, and significantly improving testing efficiency and accuracy.
Patent Information
- Application Number
- CN202411940089.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-25
AI Technical Summary
The smart cockpit car is inefficient during the testing process, and needs to frequently enter the engineering mode debugging page, execute cumbersome debugging and testing instructions, and it is easy to cause deviations in the test results due to human factors.
A test system for intelligent cockpit car machines has been developed, including on-board testing applications. The application is equipped with a report module, a log module and a preset function module. A multiple preset function controls are set up in the preset function module. Each control is used to call the background control service to execute the vehicle control function. The log module records the test data and generates a test log. The report module generates a test report to realize automated testing.
It significantly improves the testing efficiency of smart cockpits, reduces manual intervention, avoids deviations in test results, and realizes automated testing and automatic log analysis.
Smart Images

Figure CN119882673A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle testing, and in particular to a testing system and method for an intelligent cockpit vehicle computer. Background Art
[0002] With the development of automobile intelligence, the smart cockpit vehicle machine, as the core platform of human-computer interaction, is in charge of various automatic control capabilities on the vehicle. The complexity and diversity of its functions are increasing day by day. For example, the smart cockpit vehicle machine can realize the automatic window opening function and automatic obstacle avoidance function. In order to realize the above functions, the smart cockpit vehicle machine is required to be able to perform correct signal transmission and reception. During the development and testing phase, engineers need to frequently enter the engineering mode debugging page, execute a large number of tedious debugging and testing instructions, and carry out automated testing tasks in various scenarios. Then, they need to manually collect vehicle machine logs and perform a large amount of manual analysis to ensure that the software signals of the smart cockpit vehicle machine are accurate. This process is not only time-consuming and labor-intensive, but also prone to deviations in test results due to human factors. Therefore, it is particularly important to develop an efficient and intelligent test system for smart cockpit vehicle machines. Summary of the invention
[0003] In view of this, the present invention provides a testing system and method for a smart cockpit vehicle computer to solve the problem of low testing efficiency of the smart cockpit vehicle computer.
[0004] In the first aspect, the present invention provides a test system for a smart cockpit vehicle computer. The test system is applied to the smart cockpit vehicle computer. The test system includes a vehicle-mounted test application. The vehicle-mounted test application includes a report module, a log module and a preset function module. The preset function module is provided with multiple preset function controls. Each preset function control is used to call the background control service in the smart cockpit vehicle computer to execute a vehicle control function. The log module is used to record the data when the preset function control executes the vehicle control function and generate a test log. The report module is used to generate a test report according to the test log.
[0005] According to the above technical means, the present invention develops an in-vehicle test application in the smart cockpit vehicle computer, which separately configures a preset function control for the vehicle control function, and each preset function control is used to call the background control service in the smart cockpit vehicle computer to execute a vehicle control function. Therefore, when the user needs to test, any preset function control can be triggered directly through the smart cockpit vehicle computer screen or voice control to automatically execute the corresponding vehicle control test process. During this period, the log module records the test data and generates a test log. The report module is used to generate a test report according to the test log, realizing an integrated automated testing solution. There is no need to frequently enter the engineering mode debugging page for various scenarios, and there is no need to execute a large number of cumbersome debugging and testing instructions. It also automatically collects vehicle computer logs and automatically analyzes them, which significantly improves the testing efficiency of the smart cockpit vehicle computer.
[0006] In some optional embodiments, the test system also includes: a remote test application, which is installed on a client device, and the remote test application includes a remote control module. The client device is used to establish a communication connection with the smart cockpit vehicle computer, and the remote control module is used to remotely trigger preset function modules in the vehicle test application.
[0007] According to the above technical means, the present invention also deploys a client device to establish a remote communication connection with the smart cockpit vehicle computer, so as to remotely trigger the preset functional modules in the vehicle test application through the instructions issued by the client device, thereby realizing the capability of remote automated testing.
[0008] In some optional implementations, the remote test application further includes a preset function editing module, and the preset function editing module is used to create a new preset function.
[0009] According to the above-mentioned technical means, the present invention also develops a preset function editing module based on a remote test application, which is used to configure new preset functions, so as to remotely add the configured new preset functions to the on-board test application of the smart cockpit vehicle computer, thereby forming a new preset function control in the smart cockpit vehicle computer, further expanding the automated testing scenarios of the smart cockpit vehicle computer, thereby improving the automated testing capabilities of the smart cockpit vehicle computer.
[0010] In some optional implementations, a test analysis model is also deployed in the remote testing application, which is used to receive test logs and test reports in the vehicle testing application, and analyze the test logs and test reports to extract key information in the test logs and test reports and generate solution suggestions.
[0011] Based on the above-mentioned technical means, the present invention also trains and generates a test analysis model in the client device to analyze the test logs and test reports, determine the problems therein, and generate solutions for solving the problems, providing users with precise guidance for adjusting the software functions in the smart cockpit vehicle, thereby further improving the testing efficiency.
[0012] In a second aspect, the present invention provides a testing method for a smart cockpit vehicle computer, the method comprising: receiving a touch command through an on-board test application in the smart cockpit vehicle computer; triggering a first target preset function control in a preset function module in response to the touch command through the on-board test application; calling a background control service in the smart cockpit vehicle computer through the first target preset function control to execute a first target vehicle control function; recording data when executing the first target vehicle control function through a log module and generating a test log; generating a test report according to the test log through a report module.
[0013] According to the above technical means, the present invention develops an in-vehicle test application in the smart cockpit vehicle computer, which separately configures a preset function control for the vehicle control function, and each preset function control is used to call the background control service in the smart cockpit vehicle computer to execute a vehicle control function. Therefore, when the user needs to test, any preset function control can be triggered directly through the smart cockpit vehicle computer screen or voice control to automatically execute the corresponding vehicle control test process. During this period, the log module records the test data and generates a test log. The report module is used to generate a test report according to the test log, realizing an integrated automated testing solution. There is no need to frequently enter the engineering mode debugging page for various scenarios, and there is no need to execute a large number of cumbersome debugging and testing instructions. It also automatically collects vehicle computer logs and automatically analyzes them, which significantly improves the testing efficiency of the smart cockpit vehicle computer.
[0014] In some optional implementations, the testing method also includes: establishing a communication connection between the smart cockpit vehicle computer and the client device; sending a remote trigger instruction to the on-board test application in the smart cockpit vehicle computer through the remote test application in the client device; responding to the remote trigger instruction through the on-board test application to trigger the second target preset function control in the preset function module; calling the background control service in the smart cockpit vehicle computer through the second target preset function control to execute the second target vehicle control function; recording the data when executing the second target vehicle control function through the log module and generating a test log; generating a test report according to the test log through the report module.
[0015] According to the above technical means, the present invention also deploys a client device to establish a remote communication connection with the smart cockpit vehicle computer, so as to remotely trigger the preset functional modules in the vehicle test application through the instructions issued by the client device, thereby realizing the capability of remote automated testing.
[0016] In some optional implementations, establishing a communication connection between the smart cockpit vehicle computer and the client device includes: checking the network status of the smart cockpit vehicle computer and the client device; when the network status check passes, searching for the smart cockpit vehicle computer in the wireless connection list through the client device; when the smart cockpit vehicle computer is searched, pairing the client device with the smart cockpit vehicle computer to establish wireless network communication; sending a network test signal to the smart cockpit vehicle computer through the client device; responding to the network test signal through the smart cockpit vehicle computer, and feeding back a connection success signal to the client device; when the client device receives the connection success signal, confirming that a communication connection is established with the smart cockpit vehicle computer.
[0017] In some optional implementations, the testing method further includes: when the client device does not receive a connection success signal within a preset time, generating network abnormality prompt information, and outputting the network abnormality prompt information through the client device.
[0018] Based on the above technical means, a method is provided for establishing a communication connection between a client device and an intelligent cockpit vehicle computer and verifying the reliability of communication, thereby avoiding the problem of sending a communication request but not knowing whether the communication is successfully connected, and reducing the risk of remote test failure.
[0019] In some optional implementations, the testing method also includes: configuring a script file through a preset function editing module, the script file is used to expand the test of other vehicle control functions; sending the script file to the smart cockpit vehicle computer through a remote control module in a client device; parsing the script file through a preset function module in the smart cockpit vehicle computer to obtain the script content; verifying the script content through the preset function module; when the verification passes, generating a new preset function control according to the script content through the preset function module.
[0020] According to the above-mentioned technical means, the present invention also deploys a preset function editing module based on a remote test application, which is used to configure new preset functions, thereby remotely adding the configured new preset functions to the on-board test application of the smart cockpit vehicle computer, thereby forming a new preset function control in the smart cockpit vehicle computer, further expanding the automated testing scenarios of the smart cockpit vehicle computer, thereby improving the automated testing capabilities of the smart cockpit vehicle computer.
[0021] In some optional implementations, the testing method also includes: sending a log pull notification to the smart cockpit vehicle computer through the remote control module in the client device; receiving the test log and test report feedback from the smart cockpit vehicle computer through the client device; analyzing the test log and test report through the test analysis model, extracting key information from the test log and test report, and generating solution suggestions.
[0022] Based on the above-mentioned technical means, the present invention also trains and generates a test analysis model in the client device to analyze the test logs and test reports, determine the problems therein, and generate solutions for solving the problems, providing users with precise guidance for adjusting the software functions in the smart cockpit vehicle, thereby further improving the testing efficiency.
[0023] In some optional implementations, the test log and test report are analyzed through a test analysis model, key information in the test log and test report is extracted, and solution suggestions are generated, including: analyzing the test log and test report through a test analysis model, extracting key information in the test log and test report; judging whether there is a problem log or problem report based on the key information; summarizing the problem information when there is a problem log or problem report; counting business data in the test process based on the key information; generating solution suggestions based on the business data and problem information; and adding the business data, problem information, and solution suggestions to the test report.
[0024] According to the above-mentioned technical means, the embodiment of the present invention analyzes the test log and test report based on the test analysis model to determine whether there are any problems in the test log and test report. If there are any problems, the problem information is summarized and the business data is counted, and at the same time, solution suggestions for the problems are generated and finally added to the test report; if there are no problems, only the business data is counted and added to the test report, so that the test report is more complete, which not only includes the test process information, but also the marked key information to remind users to pay attention. The existing problems and solution suggestions are also included in the test report, so that the test report provides R&D personnel with the accurate R&D direction of the smart cockpit vehicle machine, and provides reliable data support for the subsequent upgrade and iteration of the smart cockpit vehicle machine.
[0025] In some optional implementations, the steps of training the test analysis model include: collecting actual control data of the smart cockpit vehicle computer; marking key information in the actual control data; providing solution suggestion data for solving different problems; forming training data based on the marked key information and solution suggestion data; creating an original neural network model; inputting the training data into the original neural network model, training the original neural network model, and obtaining a test analysis model.
[0026] According to the above-mentioned technical means, the present invention trains a neural network model based on historical data from actual applications of the smart cockpit vehicle computer, thereby learning key information and key issues in the big data of the smart cockpit vehicle computer through the learning ability of the neural network model. The test analysis model obtained through training can quickly identify problems during the testing of the smart cockpit vehicle computer, significantly improving the test efficiency and avoiding a large number of manual problem location operations.
[0027] The technical solution provided by the present invention has the following advantages:
[0028] (1) According to the above technical means, the present invention develops an in-vehicle test application in the smart cockpit vehicle computer. The in-vehicle test application separately configures preset function controls for vehicle control functions. Each preset function control is used to call the background control service in the smart cockpit vehicle computer to execute a vehicle control function. Therefore, when the user needs to test, any preset function control can be directly triggered through the smart cockpit vehicle computer screen or voice control to automatically execute the corresponding vehicle control test process. During this period, the log module records the test data and generates a test log. The report module is used to generate a test report according to the test log, realizing an integrated automated testing solution. There is no need to frequently enter the engineering mode debugging page for various scenarios, and there is no need to execute a large number of tedious debugging and testing instructions. In addition, the vehicle computer log is automatically collected and analyzed, which significantly improves the testing efficiency of the smart cockpit vehicle computer.
[0029] (2) According to the above technical means, the present invention also deploys a client device to establish a remote communication connection with the smart cockpit vehicle computer, so as to remotely trigger the preset functional modules in the vehicle test application through the instructions issued by the client device, thereby realizing the capability of remote automated testing.
[0030] (3) According to the above technical means, the remote test application provided by the present invention also includes a preset function editing module for configuring new preset functions, so as to remotely add the configured new preset functions to the on-board test application of the smart cockpit vehicle computer, thereby forming a new preset function control in the smart cockpit vehicle computer, further expanding the automated testing scenarios of the smart cockpit vehicle computer, thereby improving the automated testing capabilities of the smart cockpit vehicle computer.
[0031] (4) Based on the above technical means, the present invention also trains and generates a test analysis model in the client device to analyze the test logs and test reports, determine the problems therein, and generate solutions for solving the problems, providing users with precise guidance for adjusting the software functions in the smart cockpit vehicle, thereby further improving the test efficiency.
[0032] (5) Based on the above technical means, a method is provided for establishing a communication connection between a client device and an intelligent cockpit vehicle computer and verifying the reliability of the communication, thereby avoiding the problem of sending a communication request but not knowing whether the communication is successfully connected, and reducing the risk of remote test failure.
[0033] (6) According to the above technical means, the embodiment of the present invention analyzes the test log and test report based on the test analysis model to determine whether there are problems in the test log and test report. If there are problems, the problem information is summarized and the business data is counted, and at the same time, solution suggestions for the problems are generated and finally added to the test report; if there are no problems, only the business data is counted and added to the test report, so that the test report is more complete, including not only the test process information, but also the marked key information to remind users to pay attention. The existing problems and solution suggestions are also included in the test report, so that the test report provides R&D personnel with the accurate R&D direction of the smart cockpit vehicle machine, and provides reliable data support for the subsequent upgrade and iteration of the smart cockpit vehicle machine.
[0034] (7) According to the above-mentioned technical means, the present invention trains a neural network model based on historical data during the actual application of the smart cockpit vehicle computer, thereby learning the key information and key issues in the big data of the smart cockpit vehicle computer through the learning ability of the neural network model. The test analysis model obtained through training can quickly identify problems during the testing of the smart cockpit vehicle computer, which significantly improves the test efficiency and avoids a large number of manual problem location operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 is a structural schematic diagram of a test system for an intelligent cockpit vehicle computer according to an embodiment of the present invention;
[0037] Figure 2 It is a flowchart of a method for testing a cockpit vehicle computer according to an embodiment of the present invention;
[0038] Figure 3 is another flowchart of a method for testing a cockpit vehicle computer according to an embodiment of the present invention;
[0039] Figure 4 is another flowchart of a method for testing a cockpit vehicle computer according to an embodiment of the present invention;
[0040] Figure 5 is a schematic diagram of a process for collecting training data according to an embodiment of the present invention;
[0041] Figure 6 4 is a flow chart of model analysis according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0043] According to an embodiment of the present invention, Figure 1 As shown, a test system for a smart cockpit vehicle computer is provided, which is applied to the smart cockpit vehicle computer. The test system includes an on-board test application. The on-board test application includes a report module, a log module and a preset function module. A plurality of preset function controls are arranged in the preset function module. Each preset function control is used to call the background control service in the smart cockpit vehicle computer to perform a vehicle control function. The log module is used to record the data when the preset function control performs the vehicle control function and generate a test log. The report module is used to generate a test report according to the test log.
[0044] The test system also includes a remote test application, which is installed on a client device. The remote test application includes a remote control module. The client device is used to establish a communication connection with the smart cockpit vehicle computer. The remote control module is used to remotely trigger preset function modules in the vehicle test application.
[0045] The remote test application further includes a preset function editing module, which is used to create a new preset function.
[0046] A test analysis model is also deployed in the remote test application. The test analysis model is used to receive test logs and test reports in the vehicle test application, and analyze the test logs and test reports to extract key information in the test logs and test reports and generate solution suggestions.
[0047] The test system for the smart cockpit vehicle computer provided by the present invention is a software and hardware combined system. The principle explanation and beneficial effect description of the above system embodiment are more clearly described through the following method embodiment, so they will not be repeated here. Please refer to the following method embodiment for details.
[0048] According to an embodiment of the present invention, an embodiment of a method for testing a cockpit vehicle computer is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0049] The present embodiment provides a test method for a smart cockpit vehicle computer, which can be used for the test system of the smart cockpit vehicle computer. Figure 2 1 is a flow chart of a method for testing a cockpit vehicle computer according to an embodiment of the present invention, and the flow includes the following steps:
[0050] Step S101, receiving a touch command through an onboard test application in the smart cockpit vehicle computer;
[0051] Step S102, triggering a first target preset function control in the preset function module in response to a touch command through the vehicle-mounted test application;
[0052] Step S103, calling the background control service in the smart cockpit vehicle computer through the first target preset function control to execute the first target vehicle control function;
[0053] Step S104, recording data when the first target vehicle control function is executed through a log module, and generating a test log;
[0054] Step S105: Generate a test report according to the test log through a reporting module.
[0055] Specifically, the smart cockpit car computer is the core platform for human-computer interaction in the vehicle. The smart cockpit car computer is a device formed by an on-board computer equipped with a specific car computer system. Its car computer system includes but is not limited to Android system, IOS system and various self-developed systems. The smart cockpit car computer is in charge of various automatic control capabilities of the vehicle. For example, the smart cockpit car computer can realize automatic window opening function, automatic obstacle avoidance function, etc.
[0056] In order to facilitate the effect of automated testing of the smart cockpit vehicle machine, the embodiment of the present invention installs an on-board test application in the smart cockpit vehicle machine. The on-board test application, as a test software, at least includes a report module, a log module and a preset function module, wherein a plurality of preset function controls are provided in the preset function module, each preset function control is a set of test codes, and by running the test code corresponding to the preset function control, the background control service in the smart cockpit vehicle machine can be automatically called to execute one of the vehicle control functions, such as the test code controls the vehicle windows, and the called background control service needs to complete the signal receiving and sending process of the window control. The log module is used to record the test data when the preset function control executes the vehicle control function and generate a test log, and the report module is used to generate a test report according to the test log.
[0057] When testing, the vehicle test application will display a shortcut menu on the specified interface, which displays various preset function controls (such as Figure 3The preset functions 1, 2, 3, etc. in the smart cockpit vehicle computer are allowed to allow the user to directly click on the screen of the smart cockpit vehicle computer to select the desired first target preset function control, or select the desired first target preset function control through voice commands. Figure 3 As shown, when the user clicks or voice selects a first target preset function control, the preset function module of the vehicle test application will respond immediately and send the touch command to the background service or module for processing. This processing is performed without interrupting the user interface, ensuring the smoothness and responsiveness of the user interface. After receiving the touch command, the background service or module will perform the corresponding functional operation and return the operation result to the vehicle test application. This step realizes direct interaction between the user and the vehicle test application and ensures rapid processing and feedback of the command.
[0058] In an embodiment of the present invention, while executing the test function operation, the vehicle-mounted test application will try to obtain the write permission of the specific directory of the vehicle system through the log module, so as to record the software and hardware information, timestamp, status, etc. during the execution process into the specific directory and save them as logs. These logs are crucial for subsequent troubleshooting and performance optimization. Once the write permission is obtained, the log module will save the log data to the specified directory. If the permission cannot be obtained or the save fails, the log module will give a corresponding prompt message and try other solutions. This step ensures that the vehicle-mounted test application can leave a complete operation record, providing strong support for subsequent maintenance and optimization.
[0059] When the background service or module of the smart cockpit vehicle completes the specified function operation, the vehicle test application will mark the touch command as completed through the reporting module and organize the execution results according to the test log. These results are organized into a test report, including the success / failure status of the operation based on the log content, related data, etc. Regardless of whether the test is successful or not, a test report will be generated, which will outline the process, results, and any key log summaries of the function execution. Then, the reporting module attempts to obtain write permissions for the system directory in order to save the test report to a specific directory of the vehicle system. If the save is successful, the vehicle test application will give a prompt message that the command is completed through the interface, such as "The operation is completed, please check the report", and guide the user to view the saved report. After the user clicks the prompt, the report content can be directly viewed on the vehicle screen to understand the specific situation of the function execution. If the save fails, the vehicle test application will give a corresponding error prompt and try other solutions. This step not only feedbacks the operation results to the user, but also provides a detailed result report for the user to review and analyze.
[0060] Through the technical solution provided by the embodiment of the present invention, the present invention develops an on-board test application in the smart cockpit vehicle computer. The on-board test application separately configures preset function controls for vehicle control functions. Each preset function control is used to call the background control service in the smart cockpit vehicle computer to execute a vehicle control function. Therefore, when the user needs to test, any preset function control can be directly triggered through the smart cockpit vehicle computer screen or voice control to automatically execute the corresponding vehicle control test process. During this period, the log module records the test data and generates a test log. The report module is used to generate a test report according to the test log, realizing an integrated automated testing solution. There is no need to frequently enter the engineering mode debugging page for various scenarios, and there is no need to execute a large number of cumbersome debugging and testing instructions. In addition, the vehicle computer log is automatically collected and analyzed, which significantly improves the testing efficiency of the smart cockpit vehicle computer.
[0061] In some optional implementations, the method for testing the smart cockpit vehicle computer provided by the present invention further includes the following steps:
[0062] Step a1, establishing a communication connection between the smart cockpit vehicle machine and the client device;
[0063] Step a2, sending a remote trigger command to the vehicle-mounted test application in the smart cockpit vehicle computer through the remote test application in the client device;
[0064] Step a3, responding to the remote trigger instruction through the vehicle test application to trigger the second target preset function control in the preset function module;
[0065] Step a4, calling the background control service in the smart cockpit vehicle computer through the second target preset function control to execute the second target vehicle control function;
[0066] Step a5, recording data when the second target vehicle control function is executed through a log module, and generating a test log;
[0067] Step a6: Generate a test report based on the test log through the reporting module.
[0068] Specifically, the present invention also deploys a client device for establishing a remote communication connection with the smart cockpit vehicle computer. In an embodiment of the present invention, the client device includes but is not limited to electronic mobile terminals such as mobile phones and tablets, or computer devices such as personal computers and servers.
[0069] First, it is necessary to establish a communication connection between the smart cockpit vehicle machine and the client device based on a wireless network. After the communication connection is successfully established, the user can send a remote trigger instruction through the remote test application of the client device. After the remote trigger instruction is sent to the smart cockpit vehicle machine, the vehicle-mounted test application responds to the remote trigger instruction to start the second target preset function control in the vehicle-mounted test application. In the vehicle-mounted test application, each preset function control corresponds to a unique ID. Therefore, after the vehicle-mounted test application receives the remote trigger instruction, it will immediately locate the corresponding second target preset function control according to the preset function ID in the remote trigger instruction and execute it. The second target preset function control will call the background control service in the smart cockpit vehicle machine to execute the second target vehicle control function. At the same time, the vehicle-mounted test application of the smart cockpit vehicle machine will start to execute the action of collecting log information and save these logs to a specific directory inside the vehicle machine for subsequent analysis and debugging. The user does not need to directly intervene in this process, but only needs to wait for the function to be executed.
[0070] Through the technical solution provided by the present invention, the preset function modules in the vehicle-mounted test application are remotely triggered through the instructions issued by the client device, and the remote automatic testing capability is also realized.
[0071] In some optional implementations, the above step a1 includes:
[0072] Step a11, checking the network status of the smart cockpit vehicle machine and the client device;
[0073] Step a12, when the network status check passes, search the smart cockpit vehicle computer in the wireless connection list through the client device;
[0074] Step a13, when the smart cockpit vehicle machine is searched, pairing is performed with the smart cockpit vehicle machine through the client device to establish wireless network communication;
[0075] Step a14, sending a network test signal to the smart cockpit vehicle computer through the client device;
[0076] Step a15, the smart cockpit vehicle computer responds to the network test signal and feeds back a connection success signal to the client device;
[0077] Step a16, when the client device receives the connection success signal, it confirms to establish a communication connection with the smart cockpit vehicle computer.
[0078] Step a17, when the client device does not receive the connection success signal within the preset time, a network abnormality prompt message is generated and outputted through the client device.
[0079] Specifically, before the smart cockpit vehicle machine and the client device establish a network connection, the smart cockpit vehicle machine checks whether it is in a connectable network state, and the client device also performs self-checking. For example, check whether the IP address is configured correctly, whether the network port is configured correctly, whether the security protection is turned on, and so on. After both parties have checked the network status, the smart cockpit vehicle machine sends the device information to the operator server through WIFI or cellular data, so that the smart cockpit vehicle machine is displayed in the wireless connection list as an accessible online state. After that, the client device searches for the smart cockpit vehicle machine in the wireless connection list and determines that the smart cockpit vehicle machine is a device that needs to be accessed. When the client device searches for the smart cockpit vehicle machine in the wireless connection list, the client device sends a pairing request, and the operator server pairs the client device with the smart cockpit vehicle machine according to the pairing request, establishes a friend relationship, and realizes wireless network communication. Thus, the message sent by the client device can be forwarded to the specified smart cockpit vehicle machine through the operator server, and the message of the smart cockpit vehicle machine can also be forwarded to the specified client device through the operator server.
[0080] In addition, in another optional implementation, the smart cockpit car computer and the client device can also achieve network communication based on a wireless LAN. For example, the smart cockpit car computer can be discovered by other devices when the Bluetooth function is turned on. The client device searches for nearby devices based on the Bluetooth function, and then displays the searched devices in the wireless connection list. The client device then searches for the smart cockpit car computer in the wireless connection list. When the smart cockpit car computer is found, the two can be paired based on Bluetooth technology.
[0081] The connection mode of the above-mentioned LAN and WAN can be flexibly selected according to the actual application scenario of the user, and the present invention does not make special limitations. After the two establish a network communication connection, the client device also needs to send a network test signal to the smart cockpit vehicle machine to detect whether the network connection is successful. After receiving the network test signal, the smart cockpit vehicle machine responds to the network test signal and feeds back a connection success signal to the client device; when the client device receives the connection success signal, it confirms that the communication connection with the smart cockpit vehicle machine is established. The client device will play a success message through the display or speaker and allow the user to continue subsequent operations. When the client device does not receive a connection success signal within the preset time, it confirms that the communication has failed and generates a network abnormality prompt message. The client device will play a network abnormality prompt message through the display or speaker, including possible error causes and solutions, to guide the user to check the network connection or device pairing status.
[0082] Based on the above technical means, a method is provided for establishing a communication connection between a client device and an intelligent cockpit vehicle computer and verifying the reliability of communication, thereby avoiding the problem of sending a communication request but not knowing whether the communication is successfully connected, and reducing the risk of remote test failure.
[0083] In some optional implementations, the method for testing the smart cockpit vehicle computer provided by the present invention further includes the following steps:
[0084] Step b1, configuring a script file through a preset function editing module, the script file is used to expand and test other vehicle control functions;
[0085] Step b2, sending the script file to the smart cockpit vehicle computer through the remote control module in the client device;
[0086] Step b3, parsing the script file through the preset function module in the smart cockpit vehicle computer to obtain the script content;
[0087] Step b4, verifying the script content through the preset function module;
[0088] Step b5: when the verification is passed, a new preset function control is generated according to the script content through the preset function module.
[0089] Specifically, in an embodiment of the present invention, the present invention also develops a preset function editing module in a client device based on a remote test application, which is used to configure a new preset function in the client device, thereby remotely adding the configured new preset function to the on-board test application of the smart cockpit vehicle computer, forming a new preset function control in the smart cockpit vehicle computer, and upgrading the on-board test application of the smart cockpit vehicle computer, further expanding the automated testing scenarios of the smart cockpit vehicle computer, and improving the automated testing capabilities of the smart cockpit vehicle computer.
[0090] For example Figure 4 As shown, when the test function is extended, the embodiment of the present invention first needs to develop a local script file on the client device through the preset function editing module. The script file includes the test code for executing the new test function. After that, the client device sends the extension message to the smart cockpit vehicle computer together with the script file. After receiving the extension message, the smart cockpit vehicle computer parses the script file through the preset function module to obtain the script content, and then verifies the legality, security and compatibility of the script content with the vehicle computer system. If the verification passes, the code in the script can be run in the smart cockpit vehicle computer, otherwise the subsequent steps are not allowed to be executed, so as to avoid the system crash of the smart cockpit vehicle computer. After the verification is successful, the corresponding software package is made for the script content through the preset function module, thereby generating a new preset function control, and configuring a unique ID to bind with the new preset function control, so that the subsequent client device can remotely trigger the new preset function control using the unique ID. The new preset function control will also be displayed on the interface of the vehicle test application for users to manually trigger these newly added functions in the smart cockpit vehicle computer later.
[0091] In some optional implementations, the method for testing the smart cockpit vehicle computer provided by the present invention further includes:
[0092] Step c1, sending a log pull notification to the smart cockpit vehicle computer through the remote control module in the client device;
[0093] Step c2, receiving the test log and test report fed back by the smart cockpit vehicle computer through the client device;
[0094] Step c3: Analyze the test logs and test reports through the test analysis model, extract key information from the test logs and test reports, and generate solution suggestions.
[0095] Specifically, an embodiment of the present invention also deploys a test analysis model in the remote testing application of the client device. The test analysis model is a natural language model obtained based on big data training. The test analysis model is used to analyze the test logs and test reports output by the vehicle-mounted test application to extract key information in the test logs and test reports and generate solution suggestions.
[0096] Thus, when the smart cockpit vehicle computer test is completed, the user is allowed to trigger the pull operation regularly or manually, and the client device will send a log pull notification to the smart cockpit vehicle computer. The smart cockpit vehicle computer responds to the log pull notification and feeds back the test log and test report to the client device. Then the client device analyzes the test log and test report through the test analysis model, so that the user can perform subsequent log analysis and troubleshooting. The technical solution provided by the embodiment of the present invention provides users with a flexible data management method, which helps to improve the maintainability and reliability of the system.
[0097] In some optional implementations, the step of training the test analysis model includes:
[0098] Step d1, collecting actual control data of the smart cockpit vehicle computer;
[0099] Step d2, marking key information in the actual control data;
[0100] Step d3, providing solution suggestion data for solving different problems;
[0101] Step d4, forming training data based on the annotated key information and solution suggestion data;
[0102] Step d5, creating an original neural network model;
[0103] Step d6, input the training data into the original neural network model, train the original neural network model, and obtain a test analysis model.
[0104] Specifically, Figure 5As shown in the figure, when building a test analysis model to handle specific tasks (such as log analysis, system monitoring, etc.), creating a high-quality application data set is a crucial first step. Not only does it require the comprehensiveness and diversity of the data, but it also needs to ensure the accuracy and timeliness of the data. Specifically, for the information points mentioned - package name, class name, log tag, process information, system information, it is necessary to collect data from the actual control process. The process of collecting data involves parsing log files, integrating system monitoring tools, and capturing real-time data from various applications and services.
[0105] In order to construct an effective data set, the embodiment of the present invention also pre-processes the data, including steps such as cleaning (removing noise and erroneous data) and formatting (unifying the data format for model processing). After that, for supervised learning tasks, the data also needs to be labeled accordingly, such as manually marking the key information in the actual control data. In addition, considering the training requirements of large models, the amount of data collected by the embodiment of the present invention should be large enough to cover a wide range of scenarios and abnormal situations, so as to improve the generalization ability and robustness of the model. In addition, the test analysis model provided by the embodiment of the present invention is also used to output solution suggestions for different problems, so the user also needs to provide corresponding solution suggestion data for different problems, so as to form training data based on the labeled key information and solution suggestion data.
[0106] Afterwards, the training data is sent to the large language model application for training. In an embodiment of the present invention, the large language model can be composed of network architectures such as Transformer and self-attention. Through the process of data processing, model selection and configuration, training process execution and monitoring, the model can learn and optimize its parameters to accurately process input data and achieve preset goals, and ultimately provide powerful prediction or analysis support for practical applications. The trained test analysis model can not only quickly identify problems during the intelligent cockpit vehicle test, but also provide reasonable solution suggestions, avoiding a large number of manual problem location operations and significantly improving test efficiency.
[0107] In some optional implementation manners, the above step c3 includes:
[0108] Step c31, analyzing the test log and the test report through the test analysis model, and extracting key information from the test log and the test report;
[0109] Step c32, judging whether there is a problem log or problem report according to the key information;
[0110] Step c33, when there is a problem log or problem report, summarize the problem information;
[0111] Step c34, collecting business data during the test according to key information;
[0112] Step c35, generating solution suggestions based on business data and problem information;
[0113] Step c36, adding business data, problem information and solution suggestions to the test report.
[0114] Specifically, Figure 6 As shown in the figure, the system will securely send the organized log data and report data to the test analysis model for in-depth log analysis through API calls, message queues or file transfers. This process ensures the integrity, timeliness and security of the log data, laying a solid foundation for subsequent analysis work.
[0115] This embodiment uses the trained test analysis model to analyze the test logs and test reports. This process includes log classification, anomaly detection, pattern recognition, etc., aiming to quickly identify key information and potential problems in the logs. After the analysis is completed, the large model returns the analysis results in a structured data format to the remote test application for storage. After receiving the data, the remote test application will perform preliminary verification and analysis to ensure the accuracy and completeness of the data and prepare for subsequent processing steps.
[0116] If the parsed data contains problem logs and problem reports, the system will automatically trigger the problem analysis process, which is used to summarize problem information, such as problem level (severe, warning, information, etc.), detailed description, and expected solution results or status.
[0117] If no problem logs or problem reports are found after parsing the log data, the business statistics analysis step will be entered directly. This step focuses on the business operation status reflected in the log, such as the usage frequency of different software applications in the smart cockpit vehicle, system performance, the operating status of each module, the success rate of operations, etc. By analyzing these statistical information, the system can generate detailed business reports to help users understand the overall health of the business and discover potential business trends or bottlenecks. These analysis results are of great significance for optimizing business processes, improving user experience, and formulating future strategies.
[0118] Based on the problem information and the above business data, the system can further perform automated problem diagnosis, impact assessment or make preliminary solutions, and give reasonable suggestions based on the results of previous model training. At the same time, the system will also record these problem information in the problem tracking system for subsequent tracking, repair and verification.
[0119] Finally, regardless of whether problem logs and problem reports are detected, the client device will integrate all parsed information (including problem analysis results and business statistics) into the test report. This report is a comprehensive reflection of the system health and business operation status, and is of great value to software development teams, operation and maintenance teams, and business decision makers. By regularly reviewing and analyzing test reports, the team can promptly identify and resolve potential problems, optimize system performance, and improve business efficiency. At the same time, the data and insights in the report also provide strong support for future product planning, feature iteration, and performance tuning.
[0120] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0121] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0122] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A test system for an intelligent cockpit vehicle computer, characterized in that: The test system is applied to a smart cockpit vehicle computer, and the test system includes an on-board test application. The on-board test application includes a report module, a log module and a preset function module. The preset function module is provided with a plurality of preset function controls, and each preset function control is used to call a background control service in the smart cockpit vehicle computer to perform a vehicle control function. The log module is used to record data when the preset function control performs a vehicle control function and generate a test log. The report module is used to generate a test report according to the test log.
2. The test system according to claim 1, characterized in that: Also includes: A remote test application, which is installed on a client device, and includes a remote control module. The client device is used to establish a communication connection with the smart cockpit vehicle computer, and the remote control module is used to remotely trigger a preset function module in the vehicle-mounted test application.
3. The test system according to claim 2, characterized in that: The remote test application further comprises a preset function editing module, and the preset function editing module is used to create a new preset function.
4. The test system according to claim 2, characterized in that: A test analysis model is also deployed in the remote test application, and the test analysis model is used to receive the test logs and test reports in the vehicle-mounted test application, and analyze the test logs and test reports to extract key information from the test logs and test reports and generate solution suggestions.
5. A method for testing a smart cockpit vehicle computer, characterized in that: The method comprises: Receive touch commands through the vehicle test application in the smart cockpit vehicle computer; In response to the touch command, the in-vehicle test application triggers a first target preset function control in the preset function module; Calling the background control service in the smart cockpit vehicle computer through the first target preset function control to execute the first target vehicle control function; Recording data when executing the first target vehicle control function through a log module and generating a test log; A test report is generated according to the test log by a reporting module.
6. The testing method according to claim 5, characterized in that: The method further comprises: Establish communication connection between smart cockpit vehicle and client device; Sending a remote trigger instruction to the vehicle-mounted test application in the smart cockpit vehicle computer through the remote test application in the client device; Responding to the remote trigger instruction through the vehicle-mounted test application to trigger a second target preset function control in the preset function module; Calling the background control service in the smart cockpit vehicle computer through the second target preset function control to execute the second target vehicle control function; Recording data when executing the second target vehicle control function through a log module and generating a test log; A test report is generated according to the test log by a reporting module.
7. The testing method according to claim 6, characterized in that: The step of establishing a communication connection between the smart cockpit vehicle computer and the client device includes: Checking the network status of the smart cockpit vehicle computer and the client device; When the network status check passes, searching the smart cockpit vehicle computer in the wireless connection list through the client device; When the smart cockpit vehicle computer is found, pairing is performed with the smart cockpit vehicle computer through the client device to establish wireless network communication; Sending a network test signal to the smart cockpit vehicle computer through the client device; The smart cockpit vehicle computer responds to the network test signal and feeds back a connection success signal to the client device; When the client device receives the connection success signal, it confirms that a communication connection is established with the smart cockpit vehicle computer.
8. The testing method according to claim 7, characterized in that: The establishing of a communication connection between the smart cockpit vehicle machine and the client device also includes: When the client device does not receive the connection success signal within a preset time, network abnormality prompt information is generated and outputted through the client device.
9. The testing method according to claim 6, characterized in that: The method further comprises: Configure the script file through the preset function editing module, and the script file is used to expand and test other vehicle control functions; Sending the script file to the smart cockpit vehicle computer through the remote control module in the client device; Parsing the script file through a preset function module in the smart cockpit vehicle computer to obtain the script content; Verifying the script content through the preset function module; When the verification is passed, a new preset function control is generated according to the script content through the preset function module.
10. The testing method according to claim 6, characterized in that: The method further comprises: Sending a log pull notification to the smart cockpit vehicle computer through the remote control module in the client device; Receiving the test log and test report fed back by the smart cockpit vehicle computer through the client device; The test log and the test report are analyzed by a test analysis model, key information in the test log and the test report is extracted, and a solution suggestion is generated.
11. The testing method according to claim 10, characterized in that: The test log and the test report are analyzed by the test analysis model, key information in the test log and the test report are extracted, and a solution suggestion is generated, including: Analyze the test log and the test report through a test analysis model to extract key information from the test log and the test report; Determine whether there is a problem log or problem report based on the key information; When the problem log or the problem report exists, summarizing the problem information; Count the business data during the test process based on the key information; Generate the solution suggestion based on the business data and the problem information; The business data, the problem information and the solution suggestion are added to the test report.
12. The testing method according to claim 10, characterized in that: The steps of training the test analysis model include: Collect actual control data of smart cockpit vehicle computers; Marking key information in the actual control data; Providing solution suggestion data for solving different problems; Forming training data based on the annotated key information and the solution suggestion data; Create the original neural network model; The training data is input into the original neural network model, and the original neural network model is trained to obtain the test analysis model.
Citation Information
Cited By
Vehicle-mounted voice interaction simulation method and device, equipment and storage medium
CN121148365A
Vehicle performance test method and device, electronic equipment and storage medium
CN121165696A