Vehicle testing method and device, electronic equipment and storage medium

By obtaining test scripts and configuration information from the test cloud platform and automatically performing vehicle tests, the high cost and error problems caused by manual operations in the existing technology are solved, and the automation and consistency of vehicle tests are achieved.

CN119756876APending Publication Date: 2025-04-04BEIJING CO WHEELS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411595935.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The existing real-life aging test plan relies on manual operations, resulting in high labor costs and errors, and cannot guarantee the complete consistency of the test logic and methods.

Method used

By obtaining the test script data and task configuration information corresponding to the model information from the test cloud platform, automate the vehicle test, and using multi-threaded parallel test items to ensure that each vehicle is tested according to consistent logic and methods.

Benefits of technology

It realizes automation of vehicle testing, reduces labor costs, reduces operational errors, and ensures the consistency of logic and methods of each vehicle testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119756876A_ABST
    Figure CN119756876A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle testing method and device, electronic equipment and a storage medium. The method comprises the steps that testing script data and task configuration information corresponding to vehicle type information of a current vehicle are acquired from a testing cloud platform; and executing a vehicle test according to the test script data and the task configuration information. Through the embodiment of the invention, automatic testing is realized, the labor cost is reduced, errors are reduced, and the consistency of the testing logic and the testing method of each vehicle is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle testing, and in particular to a vehicle testing method, a vehicle testing device, an electronic device and a computer-readable storage medium. Background Art

[0002] Currently, the actual vehicle aging test plan is a purely manual test plan or a semi-automatic test plan. One type is manual operation by factory workers, and the other type is automated testing for a small number of test items. The vast majority of test items are still performed manually. The controllers that need to undergo aging testing are tested repeatedly to observe whether there are any parts problems.

[0003] However, manual execution of vehicle aging tests has the following problems:

[0004] (1) High labor costs;

[0005] (2) Due to manual operation, zero error cannot be avoided;

[0006] (3) It is impossible to ensure that the test logic and test methods of each vehicle are completely consistent. Summary of the Invention

[0007] In view of the above problems, a vehicle-based testing method, a vehicle testing device, an electronic device and a computer-readable storage medium are proposed to overcome the above problems or at least partially solve the above problems.

[0008] An embodiment of the present invention provides a vehicle testing method, which is applied to a vehicle side. The method includes:

[0009] Obtain the test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0010] Execute vehicle testing according to the test script data and task configuration information.

[0011] Optionally, the task configuration information includes the number of test items and / or the type of test items, and executing the vehicle test according to the test script data and the task configuration information includes:

[0012] Establishing multiple threads according to the number of test items and / or the type of test items;

[0013] The vehicle test is executed according to the test script data using the multiple threads.

[0014] Optionally, executing the vehicle test according to the test script data and task configuration information includes:

[0015] Determining a test execution mode of the controller under test in the current vehicle according to the task configuration information;

[0016] Execute a test on the controller under test according to the test execution mode and the test script data.

[0017] Optionally, executing the test on the controller under test according to the test execution mode and the test script data includes:

[0018] When the test execution mode is a diagnostic execution mode, generating a diagnostic instruction for the controller under test in the current vehicle;

[0019] The diagnostic instruction is sent to the controller under test to control the controller under test to execute the test according to the test script data.

[0020] Optionally, executing the test on the controller under test according to the test execution mode and the test script data includes:

[0021] When the test execution mode is a service-oriented architecture signal execution mode, a service-oriented architecture signal is generated for the controller under test in the current vehicle, and the service-oriented architecture signal is forwarded to the controller under test through the domain control unit of the current vehicle to control the controller under test to execute the test according to the test script data.

[0022] Optionally, executing the test on the controller under test according to the test execution mode and the test script data includes:

[0023] When the test execution mode is the UI execution mode, generating a UI control signal for simulating an interactive operation between a user and a vehicle;

[0024] The UI control signal is sent to the controller under test to control the controller under test to execute the test according to the test script data.

[0025] Optionally, it also includes:

[0026] Obtain the test results of the vehicle test and upload the test results to the test cloud platform according to a preset upload cycle.

[0027] Optionally, it also includes:

[0028] After the vehicle test is completed, the target software is uninstalled.

[0029] A vehicle testing method, applied to a testing cloud platform, comprises:

[0030] In the test cloud platform, configure the test script data and task configuration information according to the target vehicle model information;

[0031] The test script data and the task configuration information are sent to the target vehicle, so that the target vehicle performs the vehicle test according to the test script data and the task configuration information.

[0032] Optionally, it also includes:

[0033] Receiving a test result of the target vehicle;

[0034] Performing consistency check on the test results;

[0035] When the consistency check is successful, pass rate trend information is generated according to the test result, and the pass rate trend information is displayed in the test cloud platform.

[0036] Optionally, it also includes:

[0037] During the test execution of the target vehicle, if the time interval between the current time and the last time the test result sent by the target vehicle is received is greater than the preset time interval, the test cloud platform displays that the target vehicle is in an abnormal execution state.

[0038] A vehicle testing device, applied to a vehicle, comprising:

[0039] The test data acquisition module is used to obtain the test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0040] The vehicle testing module is used to perform vehicle testing according to the test script data and task configuration information.

[0041] An embodiment of the present invention further provides a vehicle testing device, characterized in that it is applied to a test cloud platform, and the device includes:

[0042] The information configuration module is used to configure the test script data and task configuration information according to the target vehicle model information in the test cloud platform;

[0043] The information sending module is used to send the test script data and the task configuration information to the target vehicle, so that the target vehicle performs the vehicle test according to the test script data and the task configuration information.

[0044] An embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above vehicle testing method when executed by the processor.

[0045] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the vehicle testing method described above is implemented.

[0046] The embodiments of the present invention have the following advantages:

[0047] The embodiment of the present invention obtains test script data and task configuration information corresponding to vehicle model information from the test cloud platform; performs vehicle testing according to the test script data and task configuration information. As a result, vehicles of different models can obtain test scripts and task configuration information from the cloud to perform fully automated testing on the vehicle side. After the test is started, various test results of the vehicle can be obtained without user participation, thereby reducing labor costs, reducing errors, and ensuring that the test logic and test methods of each vehicle are consistent. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the description of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0049] Figure 1 is a flowchart of the steps of a vehicle testing method according to an embodiment of the present invention;

[0050] Figure 2 is a flowchart of another vehicle testing method according to an embodiment of the present invention;

[0051] Figure 3 is a flowchart of another vehicle testing method according to an embodiment of the present invention;

[0052] Figure 4 This is a schematic flow chart of a vehicle aging test according to an embodiment of the present invention;

[0053] Figure 5 This is a structural block diagram of a vehicle testing device according to an embodiment of the present invention;

[0054] Figure 6 It is a structural block diagram of another vehicle testing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0055] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments described are only a portion of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are also within the scope of protection of the present invention.

[0056] Reference Figure 1 , shows a flowchart of the steps of a vehicle testing method according to an embodiment of the present invention, which is applied to a vehicle side and may include the following steps:

[0057] Step S101: Acquire test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0058] In an embodiment of the present invention, the current vehicle is a real vehicle that has just rolled off the production line. Target software for automated testing may be pre-installed in the current vehicle. After the target software is started, the current vehicle may determine its own vehicle model information.

[0059] The test cloud platform can communicate with the vehicle, and the test script data after each vehicle model test script passes can be stored in the test platform. When the target software is started, the vehicle can perform automatic testing, so that the corresponding test script data and task configuration information can be pulled from the test cloud platform according to the vehicle model information. Among them, the test script data can be the corresponding executable script code of the vehicle test item, and the task configuration information is the configuration information of the test task that the vehicle needs to perform. The task configuration information may include the type of test item to be tested in the current vehicle and / or the number of tests for each test item.

[0060] Among them, the test items in the current vehicle may include: light test items, window test items, steering wheel test items, etc. In the embodiment of the present invention, the vehicle test can specifically be a vehicle aging test. The aging test is to test the actual vehicle controller at zero kilometers after the vehicle is off the production line, and strive to expose the controller hardware problems that may occur during the vehicle's 100-kilometer mileage in the factory, screen out possible premature products, and prevent them from reaching consumers. The vehicle aging automation test uniformly maintains the off-line vehicles and uniformly pushes the aging test automation program. In the absence of human intervention, the commonly used functions of the vehicle, such as windows, seats, lights, air conditioning, etc., are automatically tested to achieve the number of times each controller is operated during the vehicle's 100-kilometer mileage, and observe whether the sample has any abnormalities.

[0061] In one embodiment of the present invention, automated test scripts may include diagnostic test scripts, SOA test scripts, and UI test scripts. The automated test scripts are uniformly managed and maintained on the test cloud platform, and different vehicle models can share the same test scripts.

[0062] In the embodiment of the present invention, all aspects of the vehicle aging test can be fully covered through the diagnostic test script, SOA test script, and UI test script, so that the test solution of the embodiment of the present invention has a wide range of applications.

[0063] Step S102: Execute vehicle testing according to the test script data and task configuration information.

[0064] After pulling the test script data and task configuration information, the vehicle can follow the test script data and task configuration information. Specifically, each test item and the number of tests for each test item can be determined from the task configuration information. The script code corresponding to the test item can be determined from the test script data. The target software executes the script code according to the number of tests to complete the test item. All pending test tasks can be executed in sequence.

[0065] In one embodiment of the present invention, the task configuration information includes the number of test items and / or the type of test items, and the vehicle test is performed according to the test script data and the task configuration information, including: establishing multiple threads according to the number of test items and / or the type of test items; and using multiple threads to perform the vehicle test according to the test script data.

[0066] In actual applications, a complete vehicle test may include multiple test items, and the number of tests for each test item can be set according to the specific scenario, which is not limited in the embodiments of the present invention.

[0067] To improve test efficiency, multiple threads can be established in the vehicle to perform tests simultaneously, thereby shortening the test time.

[0068] Different test item types in a vehicle may be partially mergeable and partially non-mergeable. When executing tests in multiple threads, the following thread allocation rules can be followed between test items of different test item types: test items for the same controller are executed serially, while different test items are executed in parallel; mutually exclusive test items are executed serially, while non-mutually exclusive test items are executed in parallel.

[0069] In addition, the number of threads can be dynamically configured based on the number of test items for different vehicle models, thereby ensuring that test tasks can be executed synchronously and improving test efficiency.

[0070] For example, the diagnostic test script requires the vehicle's controller under test (ECU) to be executed one by one, while the SOA test script and UI test script can be executed using multi-threading, that is, the vehicle ECU executes one diagnostic instruction at a time. The vehicle ECU can establish multi-threading and execute multiple SOA instructions and / or UI instructions at the same time. Therefore, when there are a large number of items to be tested in the vehicle, the multi-threaded execution of the ECU can shorten the test time and effectively improve the test efficiency.

[0071] In one embodiment of the present invention, the test results of the vehicle test are obtained, and the test results are uploaded to the test cloud platform at a preset upload period.

[0072] Specifically, the test results can be staged test results or all test results for the vehicle. That is, the current vehicle can upload test results at preset time intervals (i.e., upload cycles), or upload the test results of each test item to the test cloud platform after completing each test item. These two methods are staged transmission of test results. After the vehicle completes the test of all test items, the test results are uploaded to the test cloud platform for test result analysis on the test cloud platform. In actual applications, the test cloud platform can record all vehicle abnormal data, which is conducive to later problem tracking.

[0073] Among them, the test cloud platform can pre-agree with the automated software program to parse the test case name, test item results and test execution times. The test results after the test is completed may include the test case name, test item results and test execution times.

[0074] In one embodiment of the present invention, after the vehicle test is completed, the target software used for the test may be uninstalled.

[0075] In an embodiment of the present invention, 100% automation of vehicle testing can be achieved through data interaction between the test cloud platform and the vehicle. During the test process, after the test is started, the test cloud platform interacts with the vehicle, and the user does not need to apply test equipment to test each vehicle separately, reducing labor costs and operational errors caused by manual intervention. The test results are uniformly managed by the cloud platform, which is convenient for later split analysis and data statistics.

[0076] In an embodiment of the present invention, test script data and task configuration information corresponding to the current vehicle's model information are obtained from the test cloud platform; vehicle testing is performed according to the test script data and task configuration information, thereby realizing automated testing, reducing labor costs, reducing errors, and ensuring that the test logic and test methods of each vehicle are consistent.

[0077] Reference Figure 2 , shows a flowchart of another vehicle testing method according to an embodiment of the present invention, which is applied to a vehicle side and may include the following steps:

[0078] Step S201: Acquire test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0079] Step S202, determining a test execution mode of the controller under test in the current vehicle according to the task configuration information;

[0080] In actual applications, multiple controllers under test in a vehicle need to use different test execution methods to trigger tests. The test execution method can be determined based on the task configuration information. For example, the controller under test corresponding to each test item in the task configuration information can be determined, and then the test execution method corresponding to each controller under test in the current vehicle can be determined based on the correspondence between the controller under test and the test execution method.

[0081] The controller under test of the current vehicle may be any one or more of various ECUs to be tested in the vehicle, such as an engine control unit (ECU), a transmission control unit, a body control module (BCM), and the like.

[0082] Step S203: Execute the test on the controller under test according to the test execution mode and the test script data.

[0083] After determining the test execution method, you can perform automatic testing according to the test execution method to improve test efficiency.

[0084] In one embodiment of the present invention, a test is performed on the controller under test according to the test execution mode and test script data, including: when the test execution mode is a diagnostic execution mode, generating a diagnostic instruction for the controller under test in the current vehicle; and sending the diagnostic instruction to the controller under test to control the controller under test to perform the test according to the test script data.

[0085] Among them, the test items for automated testing using the diagnostic execution method may include but are not limited to any one or more of lighting tests, rearview mirror tests, window tests, seat adjustment tests, suspension tests, HUD display tests, and brake tests.

[0086] In actual applications, the diagnostic service application in the vehicle can generate diagnostic instructions, and then send the diagnostic instructions directly to the ECU, and the ECU executes the corresponding test items. In the embodiment of the present invention, the diagnostic instructions of the vehicle ECU can be executed one at a time.

[0087] In one embodiment of the present invention, a test is performed on the controller under test according to the test execution mode and test script data, including: when the test execution mode is a service-oriented architecture signal execution mode, a service-oriented architecture signal is generated for the controller under test in the current vehicle, and the service-oriented architecture signal is forwarded to the controller under test through the domain control unit of the current vehicle to control the controller under test to perform the test according to the test script data.

[0088] Among them, the test items for automated testing using the Service-Oriented Architecture (SOA) signal execution method may include any one or more of steering wheel tests, door tests, seat massage tests, seat heating and ventilation tests, air conditioning tests, streaming media rearview mirror tests, wiper tests, and refrigerator tests.

[0089] In actual applications, when the test method is SOA signal execution, the vehicle can simulate the generation of SOA signals, and then send the SOA signals to the XCU (extended domain control unit), which is then forwarded by the XCU to the specific ECU to execute the corresponding test items. In an embodiment of the present invention, multi-threaded execution of SOA signals can be set.

[0090] In one embodiment of the present invention, a test is performed on the controller under test according to the test execution mode and test script data, including: when the test execution mode is the UI execution mode, generating a UI control signal for simulating a user performing a target operation on the current vehicle central control interface; sending the UI control signal to the controller under test to control the controller under test to perform the test according to the test script data.

[0091] Among them, the test items for automated testing using the UI execution method may include any one or more of power amplifier and audio tests, 360-degree surround view tests, and ambient light tests.

[0092] In actual applications, the vehicle also includes some human-computer interaction functions that need to be tested. To achieve fully automatic testing, the UI control signal can be simulated and generated. The UI control signal is the UI control signal generated by the HU when the user performs the target operation on the current vehicle central control interface.

[0093] Furthermore, the generated UI control signal can be sent directly or through an intermediate module to the ECU to be tested, and the ECU executes the corresponding test items.

[0094] The UI control signal can be any of the following: SOA, CAN, or LIN signals. In practical applications, the UI control signal can be sent directly to the ECU, which then executes the test according to the test script data. The UI control signal can also be sent to the ECU via the XCU for execution.

[0095] In an embodiment of the present invention, multi-threading can be set in the controller under test so that multiple UI control signals can be executed simultaneously during the vehicle testing process to improve the testing efficiency. In an embodiment of the present invention, testing is performed by simulating the UI control signals generated during the human-computer interaction process, and the human-computer interaction function test is completed without user participation, thereby realizing complete full-automatic testing, improving testing efficiency, and reducing labor costs.

[0096] The above-mentioned diagnostic execution mode, SOA execution mode and UI execution mode in the embodiment of the present invention complement each other and can cover various types of vehicle tests. Therefore, the above-mentioned vehicle testing method in the embodiment of the present invention has good test versatility and a wide range of applications.

[0097] In an embodiment of the present invention, test script data and task configuration information corresponding to the vehicle model information of the current vehicle are obtained from the test cloud platform; the test execution mode of the controller under test in the current vehicle is determined according to the task configuration information; and the controller under test is tested according to the test execution mode and the test script data, thereby realizing automated testing, reducing labor costs, reducing errors, and ensuring that the test logic and test methods of each vehicle are consistent.

[0098] Reference Figure 3 , shows a flowchart of another vehicle testing method according to an embodiment of the present invention, which is applied to a test cloud platform and may include the following steps:

[0099] Step S301: In the test cloud platform, configure test script data and task configuration information according to the target vehicle model information;

[0100] In actual applications, the test cloud platform can communicate with vehicles of various models. Test script data for different models can be pre-configured in the test cloud platform, and task configuration information can be configured for different models of vehicles. The task configuration information includes the test items that need to be tested in the test task, the number of tests for each test item, etc.

[0101] Step S302: Send the test script data and task configuration information to the target vehicle, so that the target vehicle performs the vehicle test according to the test script data and task configuration information.

[0102] After the test cloud platform is configured, when a target vehicle requires testing, the test cloud platform can distribute stored test script data and task configuration information based on the target vehicle's model. The target vehicle can then execute the test in accordance with the test script data and task configuration information. The vehicle test in this embodiment of the present invention can specifically be a vehicle aging test.

[0103] In one embodiment of the present invention, a test result of a target vehicle is received; a consistency check is performed on the test result; when the consistency check is successful, pass rate trend information is generated based on the test result, and the pass rate trend information is displayed in a test cloud platform.

[0104] In actual applications, after obtaining the test script data and task configuration information required by its test, the target vehicle can perform automated testing. During or after the test, the test results can be returned to the test cloud platform for analysis of the test data in the test cloud platform.

[0105] To ensure the accuracy of the data, the test cloud platform can perform consistency checks on the received test results to ensure that the data received by the test cloud platform is consistent with the data sent by the target vehicle.

[0106] The received test results can be parsed on the test cloud platform to determine the current test progress and display the test progress on the test cloud platform.

[0107] The test cloud platform can also analyze the received test results to generate pass rate trend information, which can be a fitted linear graph and / or bar graph. After the pass rate trend information is generated, it can be displayed on the test platform.

[0108] In one embodiment of the present invention, during the test execution of the target vehicle, if the time interval between the current time and the last time the test result sent by the target vehicle is received is greater than the preset time interval, the test cloud platform displays that the target vehicle is in an abnormal execution state.

[0109] In actual applications, when the target vehicle is abnormally interrupted, such as network disconnection, manual stop, vehicle power off, etc., the test cloud platform does not receive the target vehicle result report within the preset time interval, then the test cloud platform will display that the execution of the current target vehicle's automated test is in an abnormal state.

[0110] It should be noted that the preset time interval in the embodiment of the present invention can be set according to actual scenarios, and is not limited in the embodiment of the present invention.

[0111] In an embodiment of the present invention, in the test cloud platform, test script data and task configuration information are configured according to the vehicle model information of the target vehicle, and the test script data and task configuration information are sent to the target vehicle so that the target vehicle performs vehicle testing according to the test script data and task configuration information, thereby realizing automated testing, reducing labor costs, reducing errors, and ensuring that the test logic and test methods of each vehicle are consistent.

[0112] Reference Figure 4, shows a schematic diagram of a vehicle aging test process according to an embodiment of the present invention, which may specifically include the following processes:

[0113] In the test cloud platform, tasks can be configured for the aging test of each vehicle model. Specifically, test cases and the number of executions of each test case can be configured for different vehicle models. Among them, the test cases in the embodiment of the present invention are executable script code data. In actual applications, parallel test cases can be configured on the test cloud platform, so that parallel test cases can be configured through multiple test items, the overall test time is shortened, and the test efficiency can be improved. In order to maximize the test efficiency, the multiple test cases involved in the aging test can be classified according to the test tasks. The specific classification method is: the same controller test items are executed serially, different test items are executed in parallel, mutually exclusive test items are executed serially, and non-mutually exclusive test items are executed in parallel; the number of test tasks corresponding to different vehicle models is different. The automation software can obtain the number of test tasks before testing, and then dynamically establish multiple threads when testing is required to ensure that the test tasks can be executed synchronously.

[0114] The automated testing software for vehicle aging testing is installed in the application market for the actual vehicle that has come off the production line. In the automated software, the corresponding test script data (i.e., test cases) and task configuration information (including the number of executions of the test cases) can be pulled from the test cloud platform based on the vehicle model.

[0115] During the test, the test cloud platform can communicate with the vehicle, allowing real-time monitoring of the vehicle's test progress. The automated software can upload the current test results to the test cloud platform every 5 minutes.

[0116] After the aging test is completed, the automation software can be automatically uninstalled from the target vehicle and the test results of this test can be uploaded to the cloud platform.

[0117] After the test results are uploaded, the consistency check between the cloud platform and the target vehicle results can be performed;

[0118] When the script execution on the vehicle side is abnormally interrupted, such as network disconnection, manual stop, vehicle power off, etc., if the test cloud platform does not receive the target vehicle result report within 20 minutes, the test cloud platform will display the execution abnormal status.

[0119] The test cloud platform can record the test data (i.e. test results) of each vehicle, and then analyze the pass rate trend based on the test data.

[0120] In order to detect zero-kilometer problems on the actual vehicle controllers, the controllers of lights, steering wheels, rearview mirrors, doors and windows, seats, air conditioning, suspension, wipers, car refrigerators, streaming media rearview mirrors, etc. will be tested repeatedly for each actual vehicle that rolls off the production line to ensure that there are no problems with the parts of the actual vehicle within 100 kilometers.

[0121] Since different controllers have different control instructions and control methods, in order to avoid manual intervention and achieve 100% real vehicle automation, the test items involved in aging testing are divided into three categories, namely: diagnostic execution method, SOA signal execution method, and UI execution method.

[0122] Diagnostic execution method: directly control the controller under test, let the controller enter the programming session through diagnostic instructions, and after passing the security access, control the controller under test by sending diagnostic instructions to perform relevant tests.

[0123] Among them, the test items for automated testing using the diagnostic execution method may include but are not limited to any one or more of lighting tests, rearview mirror tests, window tests, seat adjustment tests, suspension tests, HUD display tests, and brake tests.

[0124] SOA signal execution method: SOA (Service-Oriented Architecture) signals are sent through the HU (Head Unit), and forwarded to the bottom layer of the controller through the XCU (Cross-domain Control Unit) for relevant testing.

[0125] Among them, the test items for automated testing using the service-oriented architecture (Service-Oriented Architecture) signal execution method may include any one or more of steering wheel tests, door tests, seat massage tests, seat heating and ventilation tests, air conditioning tests, streaming media rearview mirror tests, wiper tests, and refrigerator tests.

[0126] UI execution method: Use ADB (Android Debug Bridge) commands to implement human-computer interaction and perform relevant tests on the controller by operating on the central control screen.

[0127] Among them, the test items for automated testing using the UI execution method may include any one or more of power amplifier and audio tests, 360-degree surround view tests, and ambient light tests.

[0128] In an embodiment of the present invention,

[0129] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0130] Reference Figure 5 , shows a schematic structural diagram of a multimodal interaction device according to an embodiment of the present invention, which is applied to a vehicle side and may include the following modules:

[0131] The test data acquisition module 501 is used to obtain the test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0132] The vehicle testing module 502 is configured to execute vehicle testing according to the test script data and task configuration information.

[0133] In an optional embodiment of the present invention, the task configuration information includes the number of test items and / or the type of test items, and the vehicle testing module 502 may include:

[0134] A thread establishment submodule, configured to establish multiple threads according to the number of test items and / or the type of test items;

[0135] The first test execution submodule is configured to execute the vehicle test according to the test script data using the multiple threads.

[0136] In an optional embodiment of the present invention, the vehicle testing module 502 may include:

[0137] a test execution mode determination submodule, configured to determine a test execution mode of the controller under test in the current vehicle according to the task configuration information;

[0138] The second test execution submodule is used to execute the test on the controller under test according to the test execution mode and the test script data.

[0139] In an optional embodiment of the present invention, the second test execution submodule may include:

[0140] a diagnostic instruction generating unit, configured to generate a diagnostic instruction for the controller under test in the current vehicle when the test execution mode is a diagnostic execution mode;

[0141] The first test execution unit is used to send the diagnostic instruction to the controller under test to control the controller under test to execute the test according to the test script data.

[0142] In an optional embodiment of the present invention, the second test execution submodule may include:

[0143] The second test execution unit is used to generate a service-oriented architecture signal for the controller under test in the current vehicle when the test execution mode is a service-oriented architecture signal execution mode, and forward the service-oriented architecture signal to the controller under test through the domain control unit of the current vehicle to control the controller under test to perform the test according to the test script data.

[0144] In an optional embodiment of the present invention, the second test execution submodule may include:

[0145] A UI control signal generating unit, configured to generate a UI control signal for simulating a user performing a target operation on the central control interface of the current vehicle when the test execution mode is the UI execution mode;

[0146] The third test execution unit is used to send the UI control signal to the controller under test to control the controller under test to execute the test according to the test script data.

[0147] In an optional embodiment of the present invention, the device further includes:

[0148] The test result uploading module is used to obtain the test results of the vehicle test and upload the test results to the test cloud platform.

[0149] In an optional embodiment of the present invention, the device further includes:

[0150] The target software uninstallation module is used to uninstall the target software after the vehicle test is completed.

[0151] In an optional embodiment of the present invention, uploading the test results to the test cloud platform includes:

[0152] The test results are uploaded to the test cloud platform according to a preset upload cycle.

[0153] In an embodiment of the present invention, test script data and task configuration information corresponding to the current vehicle's model information are obtained from the test cloud platform; vehicle testing is performed according to the test script data and task configuration information, thereby realizing automated testing, reducing labor costs, reducing errors, and ensuring that the test logic and test methods of each vehicle are consistent.

[0154] Reference Figure 6 , shows a schematic structural diagram of a multimodal interaction device according to an embodiment of the present invention, which is applied to a test cloud platform and may include the following modules:

[0155] The information configuration module 601 is used to configure the test script data and task configuration information according to the model information of the target vehicle in the test cloud platform;

[0156] The information sending module 602 is used to send the test script data and the task configuration information to the target vehicle, so that the target vehicle performs the vehicle test according to the test script data and the task configuration information.

[0157] In an optional embodiment of the present invention, the device further comprises:

[0158] A test result receiving module, configured to receive the test result of the target vehicle;

[0159] A consistency check module, used to perform consistency check on the test results;

[0160] The pass rate trend display module is used to generate pass rate trend information according to the test results when the consistency check is successful, and display the pass rate trend information in the test cloud platform.

[0161] In an optional embodiment of the present invention, the device further includes:

[0162] The abnormal status display module is used to display on the test cloud platform that the target vehicle is in an abnormal execution state if the time interval between the current time and the last time the test result sent by the target vehicle is received is greater than the preset time interval during the test execution of the target vehicle.

[0163] In an embodiment of the present invention, in the test cloud platform, test script data and task configuration information are configured according to the vehicle model information of the target vehicle, and the test script data and task configuration information are sent to the target vehicle so that the target vehicle performs vehicle testing according to the test script data and task configuration information, thereby realizing automated testing, reducing labor costs, reducing errors, and ensuring that the test logic and test methods of each vehicle are consistent.

[0164] An embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the following vehicle testing method is implemented:

[0165] Obtain the test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0166] Execute vehicle testing according to the test script data and task configuration information.

[0167] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the following vehicle testing method is implemented:

[0168] Obtain the test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform;

[0169] Execute vehicle testing according to the test script data and task configuration information.

[0170] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0171] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0172] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0173] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0174] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1The function specified in one or more boxes.

[0175] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0176] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0177] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

[0178] The above provides a detailed introduction to a vehicle-based testing method, a vehicle testing device, an electronic device and a computer-readable storage medium. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A vehicle testing method, characterized in that: Applied to the vehicle side, the method includes: Obtain the test script data and task configuration information corresponding to the current vehicle model information from the test cloud platform; The vehicle test is performed according to the test script data and task configuration information.

2. The method according to claim 1, characterized in that The task configuration information includes the number of test items and / or the type of test items, and the performing of the vehicle test according to the test script data and the task configuration information includes: Establishing multiple threads according to the number of test items and / or the type of test items; The plurality of threads are used to execute vehicle testing according to the test script data.

3. The method according to claim 1, characterized in that The performing of the vehicle test according to the test script data and the task configuration information includes: Determining a test execution mode of the controller under test in the current vehicle according to the task configuration information; The controller under test is tested according to the test execution mode and the test script data.

4. The method according to claim 3, characterized in that The performing of the test on the controller under test according to the test execution mode and the test script data comprises: When the test execution mode is a diagnostic execution mode, generating a diagnostic instruction for the controller under test in the current vehicle; The diagnostic instruction is sent to the controller under test to control the controller under test to execute the test according to the test script data.

5. The method according to claim 3, characterized in that: The performing of the test on the controller under test according to the test execution mode and the test script data comprises: When the test execution mode is a service-oriented architecture signal execution mode, a service-oriented architecture signal is generated for the controller under test in the current vehicle, and the service-oriented architecture signal is forwarded to the controller under test through the domain control unit of the current vehicle to control the controller under test to perform the test according to the test script data.

6. The method according to claim 3, characterized in that The performing of the test on the controller under test according to the test execution mode and the test script data comprises: When the test execution mode is the UI execution mode, generating a UI control signal for simulating an interactive operation between a user and a vehicle; The UI control signal is sent to the controller under test to control the controller under test to execute the test according to the test script data.

7. The method according to claim 1, characterized in that Also includes: Obtain the test results of the vehicle test, and upload the test results to the test cloud platform according to a preset upload cycle.

8. The method according to claim 1, characterized in that Also includes: After the vehicle test is completed, the target software is uninstalled.

9. A vehicle testing method, characterized in that: Applied to the test cloud platform, the method includes: In the test cloud platform, configure the test script data and task configuration information according to the model information of the target vehicle; The test script data and the task configuration information are sent to the target vehicle, so that the target vehicle performs the vehicle test according to the test script data and the task configuration information.

10. The method according to claim 9, characterized in that: Also includes: Receiving a test result of the target vehicle; Performing consistency check on the test results; When the consistency check is successful, pass rate trend information is generated according to the test result, and the pass rate trend information is displayed in the test cloud platform.

11. The method according to claim 9, characterized in that Also includes: During the execution of the test of the target vehicle, if the time interval between the current time and the last time the test result sent by the target vehicle is received is greater than the preset time interval, the test cloud platform displays that the target vehicle is in an abnormal execution state.

12. A vehicle testing device, characterized in that: Applied to a vehicle, the device comprises: The test data acquisition module is used to obtain the test script data and task configuration information corresponding to the model information of the current vehicle from the test cloud platform; The vehicle testing module is used to execute vehicle testing according to the test script data and task configuration information.

13. A vehicle testing device, characterized in that: Applied to the test cloud platform, the device includes: The information configuration module is used to configure the test script data and task configuration information according to the model information of the target vehicle in the test cloud platform; The information sending module is used to send the test script data and the task configuration information to the target vehicle, so that the target vehicle performs the vehicle test according to the test script data and the task configuration information.

14. An electronic device, characterized in that: The vehicle testing method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the vehicle testing method according to any one of claims 1 to 11 when executed by the processor.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle testing method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Vehicle diagnosis method, device and system, equipment and computer readable storage medium

    CN111026096A

  • Vehicle production line testing method and device and storage medium

    CN115238114A

  • Vehicle testing method and device

    CN115840098A

  • Vehicle testing method and system, control device and storage medium

    CN117724454A