Real vehicle automatic test method and device, electronic equipment, storage medium and program

CN122108627APending Publication Date: 2026-05-29BEIJING CO WHEELS TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING CO WHEELS TECH CO LTD
Filing Date
2024-11-27
Publication Date
2026-05-29

Smart Images

  • Figure CN122108627A_ABST
    Figure CN122108627A_ABST
Patent Text Reader

Abstract

The application discloses a kind of real vehicle automation test method, device, electronic equipment, storage medium and program, belong to intelligent vehicle field, wherein, the method is applied to vehicle terminal, method includes: obtaining the test task that cloud management platform issues;According to the test task control target vehicle of the vehicle terminal belongs to, and the operating state information of the target vehicle is collected;Real vehicle test result is generated based on the operating state information and the expected result of the test task, and the real vehicle vehicle result is fed back to the cloud management platform.The application embodiment realizes the real vehicle automation test of vehicle software in vehicle terminal, can reduce the physical environment limit of test, improves real vehicle test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent vehicle technology, and in particular to a method, apparatus, electronic device, storage medium, and program for automated testing of real vehicles. Background Technology

[0002] With the development of intelligent vehicles, in-vehicle software is rapidly updated. Whenever a new version of the in-vehicle software is released, various types of testing are required before pushing over-the-air (OTA) updates. These tests include, but are not limited to, individual component testing, bench testing, and real-vehicle testing. Among these, real-vehicle testing of in-vehicle software is particularly important for vehicle safety, preventing system-level problems after the software is installed. Currently, real-vehicle testing often requires manual testing or automation using external equipment, resulting in low testing efficiency. This is incompatible with the current environment of rapid updates and iterations of in-vehicle software, and the process consumes excessive human and vehicle resources. Therefore, a fast and efficient automated real-vehicle testing method is urgently needed. Summary of the Invention

[0003] This invention provides a method, apparatus, electronic device, storage medium, and program for automated testing of real vehicles. By realizing automated testing of vehicle software on a vehicle terminal, the physical environment limitations of testing can be reduced and the efficiency of real vehicle testing can be improved.

[0004] According to one aspect of the present invention, a real-vehicle automated testing method is provided, applied to an in-vehicle terminal, wherein the method includes:

[0005] Obtain test tasks issued by the cloud management platform;

[0006] Control the target vehicle to which the vehicle terminal belongs according to the test task, and collect the operating status information of the target vehicle;

[0007] Based on the operational status information and the expected results of the test task, real vehicle test results are generated and fed back to the cloud management platform.

[0008] According to another aspect of the present invention, a real vehicle automated testing device is provided, applied to an in-vehicle terminal, the device comprising:

[0009] The task acquisition module is used to acquire test tasks issued by the cloud management platform;

[0010] The test monitoring module is used to control the target vehicle to which the vehicle terminal belongs according to the test task, and to collect the operating status information of the target vehicle.

[0011] The test results module is used to generate real vehicle test results based on the running status information and the expected results of the test task, and to feed back the real vehicle results to the cloud management platform.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0013] At least one processor; and

[0014] A memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the real vehicle automated testing method according to any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the real vehicle automated testing method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer program product is provided, wherein the computer program generates a computer program that, when executed by a processor, implements the real vehicle automated testing method as described in any embodiment of the present invention.

[0018] The technical solution of this invention receives test tasks from a cloud management platform, controls the target vehicle according to the test tasks, collects the target vehicle's operating status information, generates real-vehicle test results based on the operating status information and the expected results of the test tasks, and feeds these real-vehicle test results back to the cloud management platform. In this embodiment, the test tasks from the cloud management platform are acquired through an onboard terminal, eliminating the need for the actual vehicle to be connected to test equipment. This reduces the physical limitations of real-vehicle testing. The test results are directly determined through the onboard terminal without the need for intervention from a higher-level test system, thus improving the efficiency of real-vehicle testing.

[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a flowchart of an automated testing method for a real vehicle according to Embodiment 1 of the present invention;

[0022] Figure 2 This is a flowchart of another automated vehicle testing method provided according to Embodiment 2 of the present invention;

[0023] Figure 3 This is a flowchart of another automated vehicle testing method provided in Embodiment 3 of the present invention;

[0024] Figure 4 This is an example diagram of an automated vehicle testing method provided in Embodiment 4 of the present invention;

[0025] Figure 5 This is a schematic diagram of the structure of an automated vehicle testing device provided in Embodiment 5 of the present invention;

[0026] Figure 6 This is a schematic diagram of the structure of an electronic device that implements the automated vehicle testing method of this invention. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] Example 1

[0030] Figure 1 This is a flowchart of a real-vehicle automated testing method according to Embodiment 1 of the present invention. This embodiment is applicable to the real-vehicle testing of in-vehicle software in intelligent vehicles. The method can be executed by a real-vehicle automated testing device, which can be implemented in hardware and / or software. The device can be configured in an in-vehicle terminal, which can be located in the target vehicle being tested. Figure 1 As shown, the method includes:

[0031] Step 110: Obtain the test task issued by the cloud management platform.

[0032] The cloud management platform can be a management system based on cloud technology. This platform can manage the test tasks and results of real-vehicle testing. It provides functions for writing test tasks and reading test results. A test task can be a real-vehicle test of in-vehicle software. A test task can consist of one or more test cases for the in-vehicle software. These test cases can include information such as test objectives, test scenarios, input data, execution steps, and expected results set for the in-vehicle software.

[0033] In this embodiment of the invention, the user can send test tasks to the vehicle terminal that performs real vehicle testing through the cloud management platform. The vehicle terminal can communicate with the cloud management platform. This communication connection can be achieved through a wired connection or a wireless connection. The vehicle terminal can receive the test tasks sent by the cloud management platform. The test tasks can include one or more test cases for vehicle software.

[0034] Step 120: Control the target vehicle to which the vehicle terminal belongs according to the test task, and collect the operating status information of the target vehicle.

[0035] In this embodiment of the invention, the target vehicle may be the vehicle where the vehicle-mounted terminal is located. The vehicle-mounted terminal in the target vehicle may serve as the main control unit or other functional unit of the target vehicle. After obtaining the test task, the vehicle-mounted terminal may control the target vehicle according to the test cases in the test task, so that the target vehicle executes the test operation corresponding to the test task. When the target vehicle executes the control corresponding to the test task, the operating status information of the target vehicle may be collected. The operating status information may include the feedback of the target vehicle to the test operation. For example, the operating status information may include the feedback information of the control unit in the target vehicle to the test operation, as well as the execution result of the target vehicle to the test operation, etc. The execution result may include whether the target vehicle turns on the air conditioner, turns on the headlights, or generates abnormal smoke, etc.

[0036] Step 130: Generate real vehicle test results based on the running status information and the expected results of the test task, and feed the real vehicle results back to the cloud management platform.

[0037] The expected result can be the anticipated outcome of the on-vehicle software's real-vehicle testing within the test task. This expected result can be a reasonable result derived from the inputs and execution steps of the test task and can be configured within the test task. The real-vehicle test result can be the final result after the target vehicle undergoes real-vehicle testing. The real-vehicle test result can correspond to a test task; that is, each test task can have its own corresponding test result. The real-vehicle test result can include whether the expected result matches the operational status information or whether the expected result does not match the operational status information within the test task.

[0038] In this embodiment of the invention, the operating status information monitored in the test task can be extracted, and the corresponding expected results can be extracted within the test task. The operating status information can be compared with the expected results, and the actual vehicle test results can be generated based on whether the operating status information meets the expected results. The vehicle terminal can feed the actual vehicle test results back to the cloud management platform to complete the actual vehicle test of the vehicle software in the target vehicle.

[0039] In this embodiment of the invention, a test task is received from a cloud management platform. The target vehicle is controlled according to the test task, and its operational status information is collected. Based on the operational status information and the expected results of the test task, a real-vehicle test result is generated and fed back to the cloud management platform. This embodiment of the invention obtains the test task from the cloud management platform through an in-vehicle terminal, eliminating the need for the actual vehicle to be connected to test equipment. This reduces the physical limitations of real-vehicle testing. The test result is directly determined through the in-vehicle terminal without the need for intervention from a higher-level test system, thus improving the efficiency of real-vehicle testing.

[0040] Example 2

[0041] Figure 2 This is a flowchart of another automated vehicle testing method provided in Embodiment 2 of the present invention. The embodiments of the present invention are specific modifications based on the above-described embodiments. See also... Figure 2 The method provided in this embodiment of the invention specifically includes the following steps:

[0042] Step 210: Obtain the test task issued by the cloud management platform.

[0043] Step 220: Extract the test operations for the test task.

[0044] Among them, the test operation can be an operation used to test the in-vehicle software in the target vehicle. The test operation can consist of one or more operations that control the in-vehicle software, and each operation within the test operation can be arranged in a specific order.

[0045] In this embodiment of the invention, the test task may include at least test operations, which may be a set of operations for controlling the in-vehicle software in the target vehicle. One or more operations corresponding to the test operation may be executed sequentially in a specified execution order.

[0046] Step 230: Generate vehicle simulation operation instructions for the test operation.

[0047] Among them, vehicle simulation operation instructions can be instructions generated by simulating user operations. Vehicle simulation operation instructions can be stored in the form of events or operation data. Vehicle simulation operation instructions can have a corresponding relationship with test operations. For example, test operations and vehicle simulation operation instructions have the same identification information.

[0048] In this embodiment of the invention, a corresponding vehicle simulation operation command can be generated for the test operation. The vehicle simulation operation command simulates the user's operation in the target vehicle, thereby realizing the real vehicle test of the in-vehicle software in the target vehicle.

[0049] Step 240: Trigger the function control of the control unit in the target vehicle according to the vehicle simulation operation command.

[0050] The control unit can be a hardware or software unit within the target vehicle that performs functional control. The control unit can be configured with onboard software to achieve functional control. For example, the control unit can be a controller that controls the air conditioning or a controller that controls the vehicle lights.

[0051] In this embodiment of the invention, the control unit in the target vehicle can be triggered by the vehicle simulation operation command, so that the control unit executes its pre-configured function. The test execution of the test task can be realized through the functional control of one or more control units.

[0052] Step 250: Receive control feedback information generated by the control unit based on function control, and use the control feedback information as operating status information.

[0053] The control feedback information can be feedback information generated by the control unit when performing function control. The control feedback information can include the execution result or execution process information of the function control. In some embodiments, the control feedback information can also include execution error information of the function control.

[0054] In this embodiment of the invention, the vehicle terminal can receive control feedback information generated by the control unit for function control. The control feedback information indicates the execution status of the control unit for function control. The execution status includes information such as execution result, execution process and execution error. The vehicle terminal can use the control feedback result fed back by the control unit as the running status information for generating real vehicle test results.

[0055] Step 260: Generate real vehicle test results based on the running status information and the expected results of the test task, and feed the real vehicle results back to the cloud management platform.

[0056] In this embodiment of the invention, by receiving test tasks transmitted from a cloud management platform, extracting test operations within the test tasks, generating vehicle simulation operation instructions corresponding to the test operations, transmitting the vehicle simulation operation instructions to the control unit of the target vehicle to trigger the control unit to perform functional control, receiving control feedback information from the control unit during the functional control process, using the control feedback information as operating status information, comparing the operating status information with the expected results of the test tasks to obtain the actual vehicle test results, and uploading the actual vehicle test results to the cloud management platform, thereby realizing automated actual vehicle testing of in-vehicle software. By generating vehicle simulation operation instructions for test operations, the actual vehicle testing process does not require human intervention, saving testing manpower costs. The actual vehicle test results are generated on the in-vehicle terminal based on the comparison of operating status information and expected results, without the participation of a higher-level testing system, which can reduce the physical environment limitations of the actual vehicle testing process and improve the efficiency of actual vehicle testing.

[0057] Furthermore, based on the above embodiments of the invention, the function control of the control unit in the target vehicle is triggered according to the vehicle simulation operation command, including:

[0058] The vehicle simulation operation command is sent to the control unit through a preset communication protocol, wherein the preset communication protocol includes at least one of the following: controller area network protocol, local interconnection network protocol, Ethernet network protocol, general measurement and calibration protocol, and safety enclosure protocol.

[0059] In this embodiment of the invention, the vehicle terminal can communicate with the control unit of the target vehicle. This communication can be achieved through a preset communication protocol. The vehicle terminal generates vehicle simulation operation instructions based on the test task and transmits them to the control unit through the preset communication protocol, so that the control unit performs function control when it receives the vehicle simulation operation instructions. The preset communication protocol may include at least one of the following: controller area network protocol, local interconnection network protocol, Ethernet network protocol, general measurement and calibration protocol, and safety enclosure protocol.

[0060] Specifically, the Controller Area Network (CAN) protocol can be used to connect different control units within the target vehicle. These control units may include, but are not limited to, the engine control module, braking system, and airbags. The CAN protocol features high reliability, strong real-time performance, multi-master communication, and long transmission distance. The Local Interconnect Network (LIN) protocol can be used to connect control units of different auxiliary systems within the target vehicle. These control units may include lighting control units, windshield wiper control units, etc. The LIN protocol features single-wire transmission and master-slave communication, controlling multiple slave control nodes through a single master control node. The Ethernet protocol supports various application layer protocols, including but not limited to TCP / IP, HTTP, and FTP. Control units within the target vehicle can form a vehicle-to-everything (V2X) network via Ethernet. The Universal Measurement and Calibration Protocol (XCP) is used for the measurement, calibration, and diagnostics of control units within the target vehicle. The Secure Shell (SSH) protocol uses encryption technology to encrypt communication data, ensuring the secure transmission of data between control units within the target vehicle and preventing data from being stolen or tampered with. The encryption algorithms supported by the SSH protocol can include AES, RSA, DSA, etc.

[0061] Furthermore, based on the above embodiments of the invention, it also includes: acquiring vehicle operation status images of the target vehicle, and identifying vehicle status information from the vehicle operation status images as operation status information.

[0062] The vehicle operating status images can be images of the target vehicle during actual vehicle testing. These images can be collected by image sensors configured in the target vehicle and may include, but are not limited to, images of the vehicle's infotainment interface, buttons, lights, and exhaust smoke. These images reflect the functional control results of the target vehicle's control units. Vehicle status information can be determined by identifying these images. This information may include details reflecting the target vehicle's functional control results, such as whether the infotainment interface is open or closed, whether buttons are active or inactive, whether lights are on or off, and whether exhaust smoke is emitted normally or abnormally.

[0063] In this embodiment of the invention, the operating status image of the target vehicle can be acquired during the function control process of the control unit of the target vehicle. The vehicle interface image, vehicle button image, vehicle light image, vehicle exhaust smoke image, etc. can be acquired as the vehicle operating status image. Image recognition can be performed on the vehicle operating status image, and the recognized information can be used as vehicle status information. The vehicle status information can be determined by the image content of the vehicle operating status image, and the extracted vehicle status information can be used as the operating status information of the target vehicle.

[0064] In some embodiments of the invention, the vehicle simulation operation instructions for generating test operations include at least one of the following:

[0065] Input events are generated for the test operation and used as vehicle simulation operation commands. The input events include at least one of the following: vehicle infotainment button click event, vehicle infotainment touch event, and vehicle infotainment swipe event.

[0066] For test operations, target operation data in a preset operation dataset is found, and the target operation data is used as vehicle simulation commands. The target operation data in the preset operation dataset is generated by training a pre-trained neural network model based on historical user operation data.

[0067] In this embodiment of the invention, the vehicle simulation operation instruction can be determined for the test operation. In some embodiments, the vehicle simulation operation instruction may include an input event, which may include event information generated by the target vehicle receiving the input event. The input event may include, but is not limited to, vehicle infotainment system button click event, vehicle infotainment system touch event, and vehicle infotainment system swipe event. The pre-configured input event can be found according to the test operation, and the relevant event data of the input event can be used as the vehicle simulation operation instruction. It is understood that the event data of the input event can be directly simulated and generated by the application software. The event data of the transaction event may include input parameters, such as the click position, duration, and touch pressure of the input event.

[0068] In other embodiments of the invention, vehicle simulation operation instructions can be selected and determined within a preset operation dataset through test operations. The preset operation dataset can consist of one or more operation data. Each operation data can be generated by training a neural network model based on historical user operation data. The corresponding operation data can be searched within the preset operation dataset as the target operation data according to the test operation. It is understood that the search can be determined by the correspondence between the test operation and the operation data. The correspondence may include the test operation and the operation data having the same identification information or the same characters.

[0069] Example 3

[0070] Figure 3 This is a flowchart of another automated vehicle testing method provided in Embodiment 3 of the present invention. The embodiments of the present invention describe the process of generating vehicle test results. Figure 3 The method provided in this embodiment of the invention specifically includes the following steps:

[0071] Step 310: Obtain the test task issued by the cloud management platform.

[0072] Step 320: Control the target vehicle to which the vehicle terminal belongs according to the test task, and collect the operating status information of the target vehicle.

[0073] Step 330: Extract the expected results for different test operations within the test task.

[0074] In this embodiment of the invention, a test task may consist of test cases for one or more in-vehicle software. Each test case may include at least test operations set for the in-vehicle software and corresponding expected results. The expected results can be extracted from the test task issued by the cloud management platform. It is understood that a test task may include multiple test operations, and each test operation may have its corresponding warning result.

[0075] Step 340: Extract the running status information and / or control feedback information corresponding to the test operation from the running status information.

[0076] In this embodiment of the invention, the running status information and / or control feedback information corresponding to each test operation can be extracted from the running status information. The control feedback information can be obtained by the control unit that performs the test operation in the target vehicle. The running status information can be obtained by the target vehicle through the image sensor to collect vehicle image information during the execution of the test operation. Each test operation can obtain its corresponding running status information and / or control feedback information as running status information when performing the actual vehicle test corresponding to the task test.

[0077] Step 350: For the test operation, compare the running status information and / or control feedback information with the expected results.

[0078] In this embodiment of the invention, for the same test operation, the corresponding running status information and / or control feedback information can be compared with the expected result to determine whether the parameters corresponding to the running status information and / or control feedback information are consistent with the expected result. The consistency between the running status information and / or control feedback information and the expected result can be used as the comparison result.

[0079] Step 360: Use the comparison results of each test operation as the actual vehicle test results.

[0080] In this embodiment of the invention, the comparison result of each test operation can be obtained. The comparison result may include whether the running status information and / or control feedback information of the corresponding test operation are consistent with or inconsistent with the expected result. The comparison results of all the above test operations can be used together as the actual vehicle test result of the test task.

[0081] Step 370: Upload the real vehicle test results to the cloud management platform so that the cloud management platform can generate a real vehicle test report based on the real vehicle test results.

[0082] The actual vehicle test report can be a detailed record or summary of the test results of the test task. The actual vehicle test report can be generated according to a specified text structure. The actual vehicle test report can also include the test process corresponding to the test task, which can include at least the operating status information of the target vehicle.

[0083] In this embodiment of the invention, the vehicle-mounted terminal can upload the actual vehicle test results to a cloud management platform. The cloud management platform can process the actual vehicle test results into an actual vehicle test report according to a specified text structure. The cloud management platform can then manage this actual vehicle test report for user reading and use. In some embodiments, the vehicle-mounted terminal can also upload the target vehicle's operating status information along with the actual vehicle test results to the cloud management platform, allowing the cloud management platform to include operating status information in the actual vehicle test report to describe the testing process of the test task.

[0084] In this embodiment of the invention, test tasks are acquired from a cloud management platform. The target vehicle is controlled through these test tasks, and its operational status information is collected. The expected results for different test operations within the test tasks are extracted. The operational status information and / or control feedback information corresponding to each test operation are obtained. The expected results are compared with the operational status information and / or control feedback information, and the resulting comparison is used as the actual vehicle test result. This actual vehicle test result is transmitted to the cloud management platform, enabling the platform to generate a corresponding actual vehicle test report. In this embodiment, the test tasks from the cloud management platform are acquired through an in-vehicle terminal, eliminating the need for the actual vehicle to be connected to test equipment. This reduces the physical limitations of actual vehicle testing. The test results are directly determined through the in-vehicle terminal without the need for intervention from a higher-level test system, thus improving the efficiency of actual vehicle testing.

[0085] Example 4

[0086] Figure 4 This is an example diagram of a real-vehicle automated testing method provided in Embodiment 4 of the present invention. In this embodiment, a vehicle or control unit with an Ethernet communication architecture is used as the test object. The test object may be equipped with in-vehicle software, which can realize vehicle function control, such as controlling the lights, controlling the air conditioning, and switching driving modes. The method provided in this embodiment can perform real-vehicle testing on the above-mentioned function control. This testing process can be implemented through application software, and the steps executed by the application software can be as follows:

[0087] 1. Install the application software on the vehicle or control unit to be tested;

[0088] 2. Simulate the actions of manual operation of the vehicle-mounted intelligent terminal through application software, and send the generated operation instructions to the control unit with an Ethernet communication architecture. The control unit may include an XCU. After receiving the operation instructions, the XCU performs relevant function control.

[0089] 3. The application software can communicate with the XCU via CAN / LIN / Ethernet / XCP protocols to obtain the signals fed back by the XCU, thereby comparing the expected results with the feedback results of the XCU, and finally judging the automated test results. This process may include the following steps:

[0090] 3.1 CAN / LIN signal acquisition is achieved by the APP accessing the XCU_A core SDC service via the SSH protocol to obtain the CAN / LIN signal feedback from the XCU_A core SDC;

[0091] 3.2. The APP controls the vehicle-mounted intelligent terminal to send CAN / Ethernet signals to the XCU, and then the APP obtains the CAN / Ethernet signals fed back by the XCU.

[0092] 3.3 For signals sent by the XCU but not received by the vehicle-mounted intelligent terminal node, the APP communicates with the XCU through the XCP protocol, and then compares the expected results of the test cases with the internal variables of the XCU.

[0093] 4. The above testing process is initiated by sending test tasks to the automated testing application software on the vehicle intelligent terminal through the test management platform. After receiving the corresponding task, the application software executes the automated test on the actual vehicle.

[0094] join Figure 4 In this embodiment of the invention, the process of automated testing of a real vehicle is as follows:

[0095] 4.1 Test engineers create test tasks on the test management platform;

[0096] 4.2 Test engineers distribute the created test tasks to the automated test APP on the in-vehicle intelligent terminal through the test management platform;

[0097] 4.3 The automated test APP receives test tasks, downloads and executes test tasks. During task execution, the automated test APP obtains the results fed back by the control unit under test through CAN / LIN / Ethernet protocol, compares the received results with the expected results, and outputs the final test results.

[0098] 4.4 After the test task is completed, the automated test APP will send the test report to the test management platform and notify the test engineer who created the task to view the test report via message. The test is then completed.

[0099] In this embodiment of the invention, the actual vehicle testing process can reduce the application of testing equipment, such as eliminating the need for a host testing system consisting of a computer, CAN device, and connecting harness. This solution can improve the efficiency of actual vehicle testing and reduce the actual vehicle testing cycle.

[0100] Example 5

[0101] Figure 5 This is a schematic diagram of the structure of an automated vehicle testing device according to Embodiment 5 of the present invention. Figure 5 As shown, the device includes:

[0102] The task acquisition module 410 is used to acquire test tasks issued by the cloud management platform.

[0103] The test monitoring module 420 is used to control the target vehicle to which the vehicle terminal belongs according to the test task and to collect the operating status information of the target vehicle.

[0104] The test results module 430 is used to generate real vehicle test results based on the running status information and the expected results of the test task, and to feed back the real vehicle results to the cloud management platform.

[0105] In this embodiment of the invention, a task acquisition module receives test tasks from a cloud management platform. A test monitoring module controls the target vehicle according to the test tasks and collects the target vehicle's operational status information. A test result module generates real-vehicle test results based on the operational status information and the expected results of the test tasks, and feeds these results back to the cloud management platform. This embodiment of the invention acquires test tasks from the cloud management platform through an in-vehicle terminal, eliminating the need for the actual vehicle to be connected to test equipment. This reduces the physical limitations of real-vehicle testing. Furthermore, the test results are directly determined through the in-vehicle terminal without the need for intervention from a higher-level test system, thus improving the efficiency of real-vehicle testing.

[0106] In some embodiments of the invention, the test monitoring module 420 includes:

[0107] The operation extraction unit is used to extract the test operations of the test task.

[0108] The simulation instruction unit is used to generate vehicle simulation operation instructions for test operations.

[0109] The function triggering unit is used to trigger the function control of the control unit in the target vehicle according to the vehicle simulation operation command.

[0110] The status receiving unit is used to receive control feedback information generated by the control unit based on functional control, and to use the control feedback information as operating status information.

[0111] Based on the above embodiments of the invention, the test monitoring module 420 further includes: an image recognition unit, used to collect vehicle operation status images of the target vehicle and recognize the vehicle status information in the vehicle operation status images as operation status information.

[0112] In some embodiments of the invention, the function triggering unit is specifically used to: send vehicle simulation operation instructions to the control unit through a preset communication protocol, wherein the preset communication protocol includes at least one of the following: controller area network protocol, local interconnection network protocol, Ethernet network protocol, general measurement and calibration protocol, and safety enclosure protocol.

[0113] In some embodiments of the invention, the test result module 430 includes:

[0114] The expected extraction unit is used to extract the expected results for different test operations within the test task.

[0115] The status parsing unit is used to extract the running status information and / or control feedback information corresponding to the test operation from the running status information.

[0116] The comparison processing unit is used to compare the running status information and / or control feedback information with the expected results for the test operation.

[0117] The test results unit is used to compare the results of each test operation as the actual vehicle test results.

[0118] The results feedback unit is used to upload the actual vehicle test results to the cloud management platform, so that the cloud management platform can generate an actual vehicle test report based on the actual vehicle test results.

[0119] Based on the above embodiments of the invention, the simulation instruction unit is specifically used for at least one of the following: generating an input event for a test operation, and using the input event as a vehicle simulation operation instruction, wherein the input event includes at least one of a vehicle infotainment system button click event, a vehicle infotainment system touch event, and a vehicle infotainment system swipe event; searching for target operation data in a preset operation dataset for a test operation, and using the target operation data as a vehicle simulation instruction, wherein the target operation data in the preset operation dataset is generated by training a pre-trained neural network model based on historical user operation data.

[0120] The automated vehicle testing device provided in this embodiment of the invention can execute the automated vehicle testing method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution.

[0121] Example 6

[0122] Figure 6 This is a schematic diagram of the structure of an electronic device implementing the automated vehicle testing method of this invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0123] like Figure 6As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0124] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0125] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as real-vehicle automated testing methods.

[0126] In some embodiments, the vehicle automation testing method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the vehicle automation testing method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the vehicle automation testing method by any other suitable means (e.g., by means of firmware).

[0127] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0128] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0129] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0130] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0131] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0132] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0133] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0134] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for automated testing of a real vehicle, characterized in that, The method, which should be implemented on an in-vehicle terminal, includes: Obtain test tasks issued by the cloud management platform; Control the target vehicle to which the vehicle terminal belongs according to the test task, and collect the operating status information of the target vehicle; Based on the operational status information and the expected results of the test task, real vehicle test results are generated and fed back to the cloud management platform.

2. The method according to claim 1, characterized in that, The step of controlling the target vehicle to which the vehicle-mounted terminal belongs according to the test task and collecting the operating status information of the target vehicle includes: Extract the test operations for the test task; Generate vehicle simulation operation instructions for the test operation; The vehicle simulation operation command triggers the function control of the control unit inside the target vehicle. The control unit receives control feedback information generated based on the function control and uses the control feedback information as the operating status information.

3. The method according to claim 2, characterized in that, The function control of triggering the control unit in the target vehicle according to the vehicle simulation operation command includes: The vehicle simulation operation command is sent to the control unit through a preset communication protocol, wherein the preset communication protocol includes at least one of the following: controller area network protocol, local interconnection network protocol, Ethernet network protocol, general measurement and calibration protocol, and safety enclosure protocol.

4. The method according to claim 2, characterized in that, Also includes: The vehicle operation status image of the target vehicle is acquired, and the vehicle status information in the vehicle operation status image is identified as the operation status information.

5. The method according to claim 1, characterized in that, The process of generating real-vehicle test results based on the operational status information and the expected results of the test task, and feeding back the real-vehicle results to the cloud management platform, includes: Extract the expected results for different test operations within the test task; Extract the running status information and / or control feedback information corresponding to the test operation from the running status information; For the test operation, the running status information and / or control feedback information are compared with the expected results; The comparison results of each of the aforementioned test operations shall be used as the actual vehicle test results; The actual vehicle test results are uploaded to the cloud management platform so that the cloud management platform can generate an actual vehicle test report based on the actual vehicle test results.

6. The method according to claim 2, characterized in that, The vehicle simulation operation command that generates the test operation includes at least one of the following: An input event is generated for the test operation, and the input event is used as the vehicle simulation operation command. The input event includes at least one of the following: vehicle infotainment button click event, vehicle infotainment touch event, and vehicle infotainment swipe event. For the test operation, target operation data in a preset operation dataset is found, and the target operation data is used as the vehicle simulation command. The target operation data in the preset operation dataset is generated by training a pre-trained neural network model based on historical user operation data.

7. An automated testing device for real vehicles, characterized in that, The device, applied to an in-vehicle terminal, includes: The task acquisition module is used to acquire test tasks issued by the cloud management platform; The test monitoring module is used to control the target vehicle to which the vehicle terminal belongs according to the test task, and to collect the operating status information of the target vehicle. The test results module is used to generate real vehicle test results based on the running status information and the expected results of the test task, and to feed back the real vehicle results to the cloud management platform.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the real vehicle automated testing method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the automated vehicle testing method according to any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the real vehicle automated testing method according to any one of claims 1-6.