CN-121977853-A - Vehicle testing method and device and electronic equipment
Abstract
The application discloses a vehicle testing method, a device and electronic equipment, wherein the vehicle is provided with a plurality of control equipment, and the method comprises the following steps: acquiring test cases for a plurality of control devices, wherein the test cases are used for testing data interaction functions among the plurality of control devices; in the process of executing the test cases, generating various test data, wherein the test data are used for reflecting the functional states of the data interaction functions according to preset data forms, fusing the various test data to obtain fused test data, and determining the test results of the data interaction functions based on the fused test data, wherein the test results are used for indicating whether the data interaction functions are normal interaction functions or abnormal interaction functions. The application solves the technical problem of low testing efficiency of the vehicle.
Inventors
- ZHOU DENGKE
- JI QINGHUI
- GUO YANLING
- Qin fangyuan
- Fu Chenkang
Assignees
- 奇瑞汽车股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260127
Claims (10)
- 1. A method of testing a vehicle, the vehicle comprising a plurality of control devices, the method comprising: Acquiring test cases for a plurality of control devices, wherein the test cases are used for testing data interaction functions among the plurality of control devices; Generating various test data in the process of executing the test cases, wherein the test data are used for reflecting the functional state of the data interaction function according to a preset data form; Fusing the plurality of test data to obtain fused test data; And determining a test result of the data interaction function based on the fusion test data, wherein the test result is used for indicating whether the data interaction function is a normal interaction function or an abnormal interaction function.
- 2. The method of claim 1, wherein the plurality of control devices includes a first control device in a driving area of the vehicle and a second control device in a cabin area of the vehicle, wherein generating the plurality of test data during execution of the test case includes: In the process of executing the test case, generating a plurality of types of test data based on a first action executed by the first control device and a second action executed by the second control device, wherein the first action corresponds to the second action, and the execution time of the first action is the same as the execution time of the second action.
- 3. The method of claim 2, wherein the plurality of test data includes first test data, second test data, and third test data, the preset data forms include a log data form, a bus data form, and an image data form, the first test data is used to reflect the functional status through the log data form, the second test data is used to reflect the functional status through the bus data form, and the third test data is used to reflect the functional status through the image data form, wherein, in executing the test case, the plurality of test data are generated based on a first action that the first control device has executed and a second action that the second control device has executed, including: in the process of executing the test case, acquiring first log data and second log data, and generating the first test data based on the first log data and the second log data, wherein the first log data is used for recording the execution state of the executed first action, and the second log data is used for recording the execution state of the executed second action; In the process of executing the test case, acquiring bus data of recording equipment of the vehicle, and generating second test data based on the bus data, wherein the bus data is used for recording interactive data frames among a plurality of control equipment; And in the process of executing the test case, acquiring image data of acquisition equipment of the vehicle, and generating third test data based on the image data, wherein the acquisition equipment is used for acquiring a picture on the second control equipment, and the image data is used for reflecting the display state of the executed first action on the second control equipment.
- 4. The method of claim 3, wherein generating the first test data based on the first log data and the second log data comprises: Combining the first log data and the second log data to obtain target log data; and performing format conversion on the target log data to obtain the first test data.
- 5. A method according to claim 3, wherein generating the second test data based on the bus data comprises: Extracting target bus data from the bus data, wherein the target bus data is used for recording interactive data frames between the first control equipment and the second control equipment; and performing format conversion on the target bus data to obtain the second test data.
- 6. A method according to claim 3, wherein generating the third test data based on the image data comprises: Adjusting the image data; And performing format conversion on the adjusted image data to obtain the third test data.
- 7. The method according to any one of claims 1 to 6, wherein determining a test result of the data interaction function based on the fusion test data comprises: Performing coupling analysis on the fusion test data to obtain a coupling analysis result, wherein the coupling analysis result is used for indicating that the functional state belongs to a normal functional state or an abnormal functional state; And determining the test result based on the coupling analysis result.
- 8. The method of claim 7, wherein determining the test result based on the coupling analysis result comprises: Responding to the coupling analysis result to determine that the functional state belongs to the normal functional state, and determining that the test result indicates that the data interaction function is the normal interaction function; and responding to the coupling analysis result to determine that the functional state belongs to the abnormal functional state, and determining that the test result indicates that the data interaction function is the abnormal interaction function.
- 9. A test apparatus for a vehicle, the vehicle comprising a plurality of control devices, the apparatus comprising: the system comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring test cases aiming at a plurality of control devices, and the test cases are used for testing data interaction functions among the plurality of control devices; the generating unit is used for generating various test data in the process of executing the test cases, wherein the test data are used for reflecting the functional state of the data interaction function according to a preset data form; the fusion unit is used for fusing the plurality of test data to obtain fusion test data; and the determining unit is used for determining a test result of the data interaction function based on the fusion test data, wherein the test result is used for indicating whether the data interaction function is a normal interaction function or an abnormal interaction function.
- 10. An electronic device, comprising: a memory storing an executable program; A processor for executing the program, wherein the program when run performs the method of any one of claims 1 to 8.
Description
Vehicle testing method and device and electronic equipment Technical Field The embodiment of the application relates to the field of vehicles, in particular to a vehicle testing method, a vehicle testing device and electronic equipment. Background Currently, in the process of testing intelligent driving and cabins, only single-point functions are often focused on testing, and the functional testing depends on a real vehicle. In addition, the above-described functional test performed on a real vehicle can only simulate a conventional scene of the vehicle, and it is difficult to simulate a limit scene of the vehicle, resulting in a problem of low test efficiency of the vehicle. Aiming at the technical problem of low test efficiency of the vehicle, no effective solution is proposed at present. Disclosure of Invention The embodiment of the application provides a vehicle testing method, a vehicle testing device and electronic equipment, which are used for at least solving the technical problem of low testing efficiency of a vehicle. According to one aspect of the embodiment of the application, a testing method of a vehicle is provided, the vehicle is provided with a plurality of control devices, the method comprises the steps of obtaining a testing case aiming at the plurality of control devices, wherein the testing case is used for testing data interaction functions among the plurality of control devices, generating various testing data in the process of executing the testing case, wherein the testing data are used for reflecting the functional states of the data interaction functions according to a preset data form, fusing the various testing data to obtain fused testing data, and determining the testing result of the data interaction functions based on the fused testing data, wherein the testing result is used for indicating that the data interaction functions are normal interaction functions or abnormal interaction functions. Further, the plurality of control devices comprise a first control device and a second control device, the first control device is located in a driving area of the vehicle, the second control device is located in a cabin area of the vehicle, and various test data are generated in the process of executing the test case, wherein the various test data are generated based on a first action executed by the first control device and a second action executed by the second control device in the process of executing the test case, the first action corresponds to the second action, and the execution time of the first action is identical to the execution time of the second action. Further, the plurality of test data includes first test data, second test data and third test data, the preset data form includes a log data form, a bus data form and an image data form, the first test data is used for reflecting a functional state through the log data form, the second test data is used for reflecting the functional state through the bus data form, the third test data is used for reflecting the functional state through the image data form, wherein in the process of executing the test case, the plurality of test data are generated based on a first action executed by the first control device and a second action executed by the second control device, the plurality of test data include the first log data and the second log data acquired in the process of executing the test case, and the first test data are generated based on the first log data and the second log data, wherein the first log data are used for recording an execution state of the executed first action, the second log data are used for recording an execution state of the executed second action, in the process of executing the test case, the bus data of recording devices of the vehicle are acquired in the process of executing the test case, and the second test data are generated based on the bus data acquired in the process of executing the test case, the image data are acquired in the process of executing the test case is used for acquiring the image data in the image data is acquired in the process of executing the test case, the image data is recorded in the image data is acquired in the process of the image data is recorded in the device. Further, generating the first test data based on the first log data and the second log data comprises merging the first log data and the second log data to obtain target log data, and performing format conversion on the target log data to obtain the first test data. Further, generating second test data based on the bus data comprises extracting target bus data from the bus data, wherein the target bus data is used for recording interactive data frames between the first control device and the second control device, and performing format conversion on the target bus data to obtain the second test data. Further, third test data is generated based on the image data, and the method comprises the steps of adjusting