Test method of vehicle controller, vehicle and storage medium

By obtaining the configuration parameters of the vehicle controller and using the factor mapping table and test equipment for collaborative testing, the problem of poor vehicle controller testing accuracy is solved, and refined testing and cost reduction are achieved.

CN120630958APending Publication Date: 2025-09-12CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510967981.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-14
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

The existing technology for testing vehicle controllers has poor accuracy and cannot effectively verify their performance and ability to adapt to different environments.

Method used

By obtaining the configuration parameters of the controller to be tested on the vehicle, using the factor mapping relationship table to determine multiple test factors, constructing a test factor group, and using the test equipment to perform collaborative testing, including the vehicle and the initial test bench, combined with the preset test strategy to obtain collaborative test data, and construct the controller test results.

Benefits of technology

It achieves refined testing of vehicle controllers, improves test accuracy, reduces costs and shortens test cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120630958A_ABST
    Figure CN120630958A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a test method of a vehicle controller, a vehicle and a storage medium. The method comprises the following steps: acquiring a first configuration parameter of a to-be-tested controller on the vehicle; based on the first configuration parameter, obtaining a plurality of test factors matched with the to-be-tested controller from a factor mapping relation table; combining the plurality of test factors according to a preset combination strategy to construct at least one test factor group; and testing the to-be-tested controller based on the at least one test factor group by using the test device to obtain a controller test result, the controller test result being used for representing the operation condition of the to-be-tested controller in the test process. According to the invention, the technical problem of poor accuracy of testing the controller on the vehicle in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of vehicle controller testing, and more specifically, to a vehicle controller testing method, a vehicle, and a storage medium. Background Art

[0002] With the rapid development of the automotive industry, the complexity of vehicle control systems has increased dramatically. As core components that enable various vehicle functions, the performance and reliability of vehicle electronic controllers are directly related to the overall safety and driving experience of the vehicle. Vehicle manufacturers and suppliers are not only facing fluctuations in the global chip supply chain, but also under pressure to accelerate the localization of chips. This makes the testing and verification of vehicle controllers particularly important. However, current testing technologies have significant accuracy issues when verifying the reliability of domestically produced chip controllers. This means that they are unable to accurately test the performance of vehicle electronic controllers and their adaptability to different environments.

[0003] There is currently no good solution to the above problems. Summary of the Invention

[0004] Embodiments of the present application provide a vehicle controller testing method, a vehicle, and a storage medium to at least solve the technical problem of poor accuracy in testing controllers on vehicles in related technologies.

[0005] According to one aspect of an embodiment of the present application, a method for testing a vehicle controller is provided, including: obtaining a first configuration parameter of a controller to be tested on a vehicle; based on the first configuration parameter, obtaining a plurality of test factors matching the controller to be tested from a factor mapping relationship table, wherein the factor mapping relationship table is used to store a mapping relationship between the first configuration parameter and the test factor, and the test factor is used to characterize factors that will affect the operation process of the controller to be tested in the driving environment of the vehicle; combining the plurality of test factors according to a preset combination strategy to construct at least one group of test factor groups; using a test device, testing the controller to be tested based on at least one group of test factor groups to obtain a controller test result, wherein the controller test result is used to characterize the operation status of the controller to be tested during the test process.

[0006] Furthermore, the test equipment includes: a vehicle and an initial test bench; using the test equipment, testing the controller to be tested based on at least one set of test factor groups to obtain a controller test result, including: configuring the initial test bench based on at least one set of test factor groups to obtain a target test bench; according to a preset test strategy, using the vehicle and the target test bench in turn to perform collaborative testing on the controller to be tested to obtain collaborative test data of the controller to be tested; determining the controller test result based on the collaborative test data and calibrated controller data.

[0007] Furthermore, the preset test strategy includes: a first test strategy corresponding to the vehicle, and a second test strategy corresponding to the target test bench; according to the preset test strategy, the vehicle and the target test bench are used in turn to perform collaborative testing on the controller to be tested to obtain collaborative test data of the controller to be tested, including: based on the vehicle, performing a functional test on the controller to be tested according to the first test strategy to obtain first functional test data of the controller to be tested, wherein the first functional test data is used to characterize the operating status of the controller to be tested when the vehicle is operating normally; disassembling the controller to be tested from the vehicle, and based on the target test bench, performing a factor test on the disassembled controller to be tested according to the second test strategy to obtain factor test data, wherein the factor test data is used to characterize the operating status of the controller to be tested under the action of at least one group of test factor groups; reinstalling the controller to be tested to the vehicle, and re-based on the vehicle, performing a functional test on the controller to be tested according to the first test strategy to obtain second functional test data of the controller to be tested; obtaining collaborative test data based on the first functional test data, the factor test data, and the second functional test data.

[0008] Furthermore, based on the vehicle, a functional test is performed on the controller to be tested according to the first test strategy to obtain first functional test data of the controller to be tested, including: controlling the vehicle to be stationary, and obtaining static test data generated by the controller to be tested when the vehicle is stationary; controlling the vehicle to travel according to a preset driving condition, and obtaining dynamic test data generated when the vehicle travels according to the preset driving condition; constructing the first functional test data based on the static test data and the dynamic test data.

[0009] Furthermore, based on the collaborative test data and the calibration controller data, the controller test result is determined, including: matching the first function test data with the calibration function data to obtain a first matching result, wherein the first matching result is used to characterize whether the first function test data is consistent with the calibration function data; matching the factor test data with the calibration factor data to obtain a second matching result, wherein the second matching result is used to characterize whether the factor test data is consistent with the calibration factor data; matching the first function test data with the second function test data to obtain a third matching result, wherein the third matching result is used to characterize whether the first function test data is consistent with the second function test data; constructing the controller test result based on the first matching result, the second matching result and the third matching result.

[0010] Furthermore, the initial test bench is configured based on at least one set of test factor groups to obtain a target test bench, including: identifying any set of test factor groups to obtain target factors contained in any set of test factor groups; assigning values ​​to the target factors according to a preset numerical strategy to obtain at least one set of target factor parameters; and configuring the initial test bench based on any set of target factor parameters to obtain a target test bench.

[0011] Furthermore, the above method also includes: identifying the factor mapping relationship table to obtain controller identifiers of multiple vehicle controllers and environmental factor identifiers of multiple environmental factors, wherein the multiple vehicle controllers are used to characterize the controllers that need to be tested on the vehicle, and the multiple environmental factors are used to characterize the factors that will affect any vehicle controller; based on the controller identifiers, obtaining second configuration parameters of the multiple vehicle controllers, wherein the multiple vehicle controllers include the controller to be tested; based on the environmental factor identifiers, obtaining third configuration parameters of multiple factor simulation devices, wherein the multiple factor simulation devices are used to simulate multiple environmental factors; and building an initial test bench based on the second configuration parameters and the third configuration parameters.

[0012] Furthermore, the above method also includes: obtaining first configuration parameters of multiple vehicle controllers on the vehicle; dividing the vehicle based on the first configuration parameters to obtain multiple controller areas; determining at least one environmental factor corresponding to any controller area based on the regional characteristics of any controller area; constructing a factor mapping relationship table based on the first configuration parameters of any controller area and at least one environmental factor corresponding to any controller area.

[0013] According to one aspect of an embodiment of the present application, a testing device for a vehicle controller is provided, including: a first parameter acquisition module for acquiring a first configuration parameter of a controller to be tested on a vehicle; a factor acquisition module for acquiring, based on the first configuration parameter, a plurality of test factors matching the controller to be tested from a factor mapping relationship table, wherein the factor mapping relationship table is used to store a mapping relationship between the first configuration parameter and the test factor, and the test factor is used to characterize the factors that will affect the operation process of the controller to be tested in the driving environment of the vehicle; a factor group construction module for combining a plurality of test factors according to a preset combination strategy to construct at least one group of test factor groups; a controller test module for using a test device to test the controller to be tested based on at least one group of test factor groups to obtain a controller test result, wherein the controller test result is used to characterize the operation status of the controller to be tested during the test process.

[0014] Furthermore, the test equipment includes: a vehicle and an initial test bench; the controller test module is also used to: configure the initial test bench based on at least one set of test factor groups to obtain a target test bench; according to a preset test strategy, use the vehicle and the target test bench in sequence to perform collaborative testing on the controller to be tested to obtain collaborative test data of the controller to be tested; and determine the controller test results based on the collaborative test data and the calibrated controller data.

[0015] Furthermore, the preset test strategy includes: a first test strategy corresponding to the vehicle, and a second test strategy corresponding to the target test bench; the controller test module is also used to: based on the vehicle, perform a functional test on the controller to be tested according to the first test strategy to obtain first functional test data of the controller to be tested, wherein the first functional test data is used to characterize the operating status of the controller to be tested when the vehicle is operating normally; disassemble the controller to be tested from the vehicle, and based on the target test bench, perform a factor test on the disassembled controller to be tested according to the second test strategy to obtain factor test data, wherein the factor test data is used to characterize the operating status of the controller to be tested under the action of at least one group of test factor groups; reinstall the controller to be tested to the vehicle, and re-based on the vehicle, perform a functional test on the controller to be tested according to the first test strategy to obtain second functional test data of the controller to be tested; based on the first functional test data, the factor test data and the second functional test data, obtain collaborative test data.

[0016] Furthermore, the controller test module is also used to: control the vehicle to be stationary and obtain static test data generated by the controller to be tested when the vehicle is stationary; control the vehicle to travel according to preset driving conditions and obtain dynamic test data generated when the vehicle travels according to preset driving conditions; and construct first functional test data based on the static test data and dynamic test data.

[0017] Furthermore, the controller test module is also used to: match the first function test data with the calibration function data to obtain a first matching result, wherein the first matching result is used to characterize whether the first function test data is consistent with the calibration function data; match the factor test data with the calibration factor data to obtain a second matching result, wherein the second matching result is used to characterize whether the factor test data is consistent with the calibration factor data; match the first function test data with the second function test data to obtain a third matching result, wherein the third matching result is used to characterize whether the first function test data is consistent with the second function test data; and construct a controller test result based on the first matching result, the second matching result and the third matching result.

[0018] Furthermore, the controller test module is also used to: identify any group of test factor groups to obtain the target factors contained in any group of test factor groups; assign values ​​to the target factors according to a preset numerical strategy to obtain at least one group of target factor parameters; configure the initial test bench based on any group of target factor parameters to obtain the target test bench.

[0019] Furthermore, the above-mentioned device also includes: a relationship table identification module, which is used to identify the factor mapping relationship table to obtain controller identifiers of multiple vehicle controllers and environmental factor identifiers of multiple environmental factors, wherein the multiple vehicle controllers are used to characterize the controllers that need to be tested on the vehicle, and the multiple environmental factors are used to characterize the factors that will affect any vehicle controller; a second parameter acquisition module, which is used to obtain second configuration parameters of the multiple vehicle controllers based on the controller identifier, wherein the multiple vehicle controllers include the controller to be tested; a third parameter acquisition module, which is used to obtain third configuration parameters of multiple factor simulation devices based on the environmental factor identifier, wherein the multiple factor simulation devices are used to simulate multiple environmental factors; a test bench construction module, which is used to build an initial test bench based on the second configuration parameters and the third configuration parameters.

[0020] Furthermore, the above-mentioned device also includes: a second parameter acquisition module, used to obtain second configuration parameters of multiple vehicle controllers on the vehicle; an area division module, used to divide the vehicle based on the second configuration parameters to obtain multiple controller areas; a factor determination module, used to determine at least one environmental factor corresponding to any controller area based on the area characteristics of any controller area; a relationship table construction module, used to construct a factor mapping relationship table based on the first configuration parameters of any controller area and at least one environmental factor corresponding to any controller area.

[0021] According to another aspect of an embodiment of the present application, a vehicle is further provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the method of each embodiment of the present application is executed when the program is running.

[0022] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present application.

[0023] According to another aspect of the embodiments of the present application, a computer program product is further provided, including a computer program, which implements the methods in various embodiments of the present application when executed by a processor.

[0024] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present application is implemented.

[0025] According to another aspect of the embodiments of the present application, a computer program is further provided, which implements the methods in various embodiments of the present application when executed by a processor.

[0026] In an embodiment of the present application, a method is adopted in which a first configuration parameter of a controller to be tested on a vehicle is obtained; based on the first configuration parameter, a plurality of test factors matching the controller to be tested is obtained from a factor mapping relationship table; the plurality of test factors are combined according to a preset combination strategy to construct at least one test factor group; and a test device is used to test the controller to be tested based on at least one test factor group to obtain a controller test result. By determining a plurality of test factors that will have a greater impact on the operation process of the controller to be tested according to the first configuration parameter, and then using at least one test factor group constructed from the plurality of test factors to test the controller to be tested, the comprehensiveness of the test of the controller to be tested can be ensured while avoiding the intervention of test factors that are irrelevant to or have a low impact on the operation process of the controller to be tested, which affects the accuracy of the controller test results, thereby achieving the purpose of fine-grained testing of the controller to be tested, thereby achieving the technical effect of reducing costs and shortening test cycles while ensuring test accuracy, thereby solving the technical problem of poor accuracy in testing controllers on vehicles in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0028] Figure 1 is a flow chart of a vehicle controller testing method according to an embodiment of the present application;

[0029] Figure 2 is a schematic diagram showing a stress coupling test result of a bench test according to an embodiment of the present application;

[0030] Figure 3 is a schematic diagram showing another bench test stress coupling result according to an embodiment of the present application;

[0031] Figure 4 is a schematic diagram illustrating a preset driving condition according to an embodiment of the present application;

[0032] Figure 5is a schematic diagram showing a vehicle classification result according to an embodiment of the present application;

[0033] Figure 6 This is a structural block diagram of a vehicle controller testing device according to an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] According to an embodiment of the present application, a method embodiment of a vehicle controller testing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] In this embodiment, a method for testing a vehicle controller is provided. Figure 1 FIG. 1 is a flow chart of a method for testing a vehicle controller according to an embodiment of the present application, as shown in FIG. Figure 1 As shown, the process includes the following steps:

[0038] Step S102: obtaining first configuration parameters of a controller to be tested on a vehicle.

[0039] The first configuration parameter may refer to a parameter that can reflect the physical layout of the controller to be tested, such as the installation position, installation details, installation environment, and other parameters of the controller to be tested on the vehicle.

[0040] In an alternative embodiment of the present invention, considering that the stable operation of controllers on a vehicle, such as an engine control unit, airbag controller, electronic stability program controller, etc., has a decisive impact on the safe driving of the vehicle and the driving experience of the user, it is particularly important to test the controllers on the vehicle in multiple aspects, such as environmental adaptability, functional consistency, and dynamic performance evaluation, to determine the stability and accuracy of the controllers under test during vehicle driving. Furthermore, considering the differences in the first configuration parameters of the controllers under test, the factors that may affect the operation of the controllers under test may be different. For example, the controller in the engine compartment may be subject to more frequent temperature changes, higher vibration levels, and greater power loads than the controller in the passenger compartment, while the radar controller located at the rear of the vehicle may be subject to erosion by moisture and dust, and vibration caused by bumpy roads. Therefore, in order to accurately test the controllers under test, the test system can first identify the controllers under test to obtain the first configuration parameters of the controllers under test, and then accurately determine the factors that may affect the operation of the controllers under test based on the first configuration parameters, so that the test system can accurately test the controllers under test based on the determined factors.

[0041] Step S104: Based on the first configuration parameter, a plurality of test factors matching the controller to be tested are obtained from the factor mapping relationship table.

[0042] The factor mapping relationship table is used to store the mapping relationship between the first configuration parameter and the test factor, and the test factor is used to represent the factors that will affect the operation process of the controller to be tested in the driving environment of the vehicle.

[0043] In an optional solution of this embodiment, considering that in the driving environment of the vehicle, there are usually many environmental stresses that will affect the operation process of the controller to be tested, such as temperature, humidity, vibration, electromagnetic interference, chemical corrosion and other stresses, and most of the environmental stresses are unavoidable during the driving process of the vehicle, therefore, in the process of testing the controller to be tested, the factors that need to be clearly considered that will affect the operation process of the controller to be tested can include these environmental stresses. Since the degree to which different environmental stresses affect the operation process of the controller to be tested is different under different first configuration parameters, in order to avoid the blindness that may occur in the process of testing the controller to be tested, the test system can select multiple environmental stresses that will have a significant impact on the operation process of the controller to be tested as multiple test factors for testing the controller to be tested. In order to improve the efficiency of determining multiple test factors, a factor mapping relationship table for storing the mapping relationship between the first configuration parameters and the test factors can be configured in the test system, so as to record and analyze the first configuration parameters of different controllers, such as installation location, physical layout, connection method and other parameters, and the interaction rules between different environmental stresses through the factor mapping relationship table. Correspondingly, when obtaining multiple test factors, the test system can quickly select from the factor mapping relationship table multiple environmental stresses that match the controller to be tested and have a significant impact on the operation process of the controller to be tested based on the first configuration parameters of the controller to be tested, as multiple test factors for testing the controller to be tested, thereby avoiding the application of irrelevant factors to the test process, resulting in waste of resources and the generation of misleading test results.

[0044] Step S106: Combine multiple test factors according to a preset combination strategy to construct at least one test factor group.

[0045] In an alternative solution to this embodiment, considering that the environmental stresses to which a vehicle controller is subjected may vary under different driving environments, the impacts on the vehicle controller under different environmental stresses may also vary. For example, the aging rates of circuit boards and components may differ at temperatures of 100°C and 50°C, and the degree of corrosion of circuits and connectors may differ in high-concentration salt spray and low-concentration salt spray scenarios. Therefore, to test the operation of the controller under test when the vehicle is driving under different driving environments, the testing system may generate a factor combination including at least one test factor based on the obtained multiple test factors in a preset manner, such as permutation and combination, random selection, etc., such as a factor combination including only test factors such as temperature or humidity, or a factor combination including both test factors such as temperature and humidity. The system then assigns values ​​to different factors in the factor combination, such as assigning a preset temperature value to the temperature in the factor combination and a preset humidity value to the humidity, thereby constructing at least one test factor group. The at least one test factor group is then used to test the controller under test, thereby ensuring comprehensive testing of the controller under test.

[0046] Step S108: Using a test device, test the controller to be tested based on at least one set of test factor groups to obtain a controller test result.

[0047] The controller test results are used to characterize the operation status of the controller to be tested during the test process.

[0048] In an optional scheme of this embodiment, in order to simulate the real operating scenario and ensure the effectiveness and credibility of the test of the controller to be tested, the test system can use test equipment, such as an environmental simulation chamber, a vibration table, impact test equipment, etc., to test the controller to be tested based on at least one set of test factor groups constructed, so as to obtain accurate controller test results, so as to use the controller test results to reflect the operating status of the controller to be tested during the test process.

[0049] In an embodiment of the present application, a method is adopted in which a first configuration parameter of a controller to be tested on a vehicle is obtained; based on the first configuration parameter, a plurality of test factors matching the controller to be tested is obtained from a factor mapping relationship table; the plurality of test factors are combined according to a preset combination strategy to construct at least one test factor group; and a test device is used to test the controller to be tested based on at least one test factor group to obtain a controller test result. By determining a plurality of test factors that will have a greater impact on the operation process of the controller to be tested according to the first configuration parameter, and then using at least one test factor group constructed from the plurality of test factors to test the controller to be tested, the comprehensiveness of the test of the controller to be tested can be ensured while avoiding the intervention of test factors that are irrelevant to or have a low impact on the operation process of the controller to be tested, which affects the accuracy of the controller test results, thereby achieving the purpose of fine-grained testing of the controller to be tested, thereby achieving the technical effect of reducing costs and shortening test cycles while ensuring test accuracy, thereby solving the technical problem of poor accuracy in testing controllers on vehicles in related technologies.

[0050] Furthermore, the test equipment includes: a vehicle and an initial test bench; using the test equipment, testing the controller to be tested based on at least one set of test factor groups to obtain a controller test result, including: configuring the initial test bench based on at least one set of test factor groups to obtain a target test bench; according to a preset test strategy, using the vehicle and the target test bench in turn to perform collaborative testing on the controller to be tested to obtain collaborative test data of the controller to be tested; determining the controller test result based on the collaborative test data and calibrated controller data.

[0051] In an optional solution of this embodiment, considering that the vehicle is a highly complex and interdependent system, in order to ensure the stability and safety of the vehicle during actual driving, the test system needs to consider not only the controller performance that the controller on the vehicle can exhibit under the influence of different test factors, but also the ability of different controllers to interact and work together on the vehicle. However, due to the high complexity of the vehicle itself and the vehicle driving environment, when the controller to be tested is tested separately through a simple environmental simulation, it is usually impossible to reflect the interaction and collaboration between different controllers. Therefore, in the actual process of testing the controller to be tested, the test collaboration can introduce the vehicle in which the controller to be tested is expected to be deployed, that is, use the vehicle as the above-mentioned test equipment to test the controller to be tested, so as to use the performance of the controller to be tested during the vehicle driving process to reflect the interaction and collaboration between the controller to be tested and other controllers. Furthermore, due to the large variety of vehicle driving environments, it is difficult to fully determine the operating conditions of the controller to be tested under different driving environments simply by the vehicle driving method. Therefore, in addition to using the vehicle as a test device to test the controller to be tested, one or more initial test benches can also be configured in the test device to use the initial test bench to simulate the driving environment that the controller to be tested may face based on at least one set of test factor groups constructed above.

[0052] Based on this, when using the test equipment to test the controller to be tested, the test system can first use the constructed at least one set of test factor groups to configure the initial test bench to obtain the target test bench, and then according to the preset test strategy, use the vehicle and the target test bench in turn to perform collaborative testing on the controller to be tested, obtain corresponding collaborative test data, and use the collaborative test data and calibration controller data, that is, the operating data of the controller to be tested under ideal conditions, to construct corresponding controller test results, so as to use the controller test results to accurately reflect the operating conditions of the controller to be tested. For example, the test system can first test the controller to be tested on the vehicle, then install the controller to be tested on the target test bench for testing, and finally redeploy the controller to be tested on the vehicle for testing, so as to form a closed-loop test process, ensuring that the state changes from the original state of the controller to the state after being tested in extreme environments are fully recorded and evaluated, thereby testing the controller's recovery ability and long-term reliability in a real-world use environment.

[0053] Furthermore, the preset test strategy includes: a first test strategy corresponding to the vehicle, and a second test strategy corresponding to the target test bench; according to the preset test strategy, the vehicle and the target test bench are used in turn to perform collaborative testing on the controller to be tested to obtain collaborative test data of the controller to be tested, including: based on the vehicle, performing a functional test on the controller to be tested according to the first test strategy to obtain first functional test data of the controller to be tested, wherein the first functional test data is used to characterize the operating status of the controller to be tested when the vehicle is operating normally; disassembling the controller to be tested from the vehicle, and based on the target test bench, performing a factor test on the disassembled controller to be tested according to the second test strategy to obtain factor test data, wherein the factor test data is used to characterize the operating status of the controller to be tested under the action of at least one group of test factor groups; reinstalling the controller to be tested to the vehicle, and re-based on the vehicle, performing a functional test on the controller to be tested according to the first test strategy to obtain second functional test data of the controller to be tested; obtaining collaborative test data based on the first functional test data, the factor test data, and the second functional test data.

[0054] In an optional solution of this embodiment, in order to stably utilize the vehicle and the target test bench to perform collaborative testing on the controller to be tested, the preset test strategy used may at least include: a first test strategy used when the vehicle is used to test the controller to be tested, and a second test strategy used when the target test bench is used to test the controller to be tested. When performing collaborative testing on the controller to be tested, the test system may first install the controller to be tested on the vehicle and control the vehicle operation according to the first test strategy, such as controlling the vehicle to travel at a preset speed, controlling the vehicle to travel under a preset environment, etc., to perform a functional test on the controller to be tested, thereby obtaining first functional test data of the controller to be tested, so as to use the first functional test data to reflect the operating conditions of the controller to be tested when the vehicle is driving normally, such as whether the controller to be tested is operating normally, whether it is interacting normally with other controllers, etc. After using the vehicle to perform a functional test on the controller to be tested, the test system can disassemble the controller to be tested from the vehicle and install it on the target test bench, and use the target test bench to perform factor testing on the controller to be tested according to the second test strategy, such as changing the factor values ​​of different test factors configured on the target test bench in real time, or performing a long-term test on the controller to be tested on the target test bench, etc., to obtain corresponding factor test data, and use the factor test data to determine the operating conditions of the controller to be tested under the influence of the above-mentioned at least one group of test factors, thereby accurately determining the adaptability of the controller to be tested in different driving environments. After using the target test bench to test the controller to be tested, the test system can reinstall the controller to be tested on the vehicle and retest the controller to be tested according to the first test strategy to obtain corresponding second functional test data to determine whether the controller to be tested can continue to operate on the vehicle after being affected by at least one test factor. Correspondingly, based on the above-mentioned first functional test data, second functional test data and factor test data, the above-mentioned collaborative test data can be constructed.

[0055] Among them, when using the target test bench to test the controller to be tested, in order to improve the test efficiency, the test system can use different test benches to test different controllers at the same time. Take the deployment of bench 1 and bench 2 as an example, as shown in the following table:

[0056] Table 1

[0057]

[0058] In bench 1, the test system can test controller combinations of categories A1 and A2. The corresponding test conditions may include: muddy water, dust, and windshield washer fluid, a temperature range of -40 to 110°C, a humidity range of 30% RH to 90% RH (for example, 90% RH), and vibration and shock. In bench 2, the test system can test controller combinations of categories B2, B2, B2, B3, D1, D2, D3, and D4. The corresponding test conditions may include: muddy water, dust, a temperature range of -40 to 110°C, a humidity range of 90% RH, vibration and shock, and sunlight simulation.

[0059] The test results obtained by using bench 1 and bench 2 to test the controller to be tested can be respectively as follows Figure 2 and Figure 3 As shown, taking the life of the controller to be tested at different temperatures as an example, Figure 2 is a schematic diagram of a bench test stress coupling according to an embodiment of the present application. Figure 3 FIG. 1 is a schematic diagram of another bench test stress coupling according to an embodiment of the present application. Specifically, Figure 2 As shown, with temperature, humidity, vibration and other stresses as test stresses, the test controller can be tested for 1 hour at 23°C and preset vibration conditions in the first test time period; in the second test time period, the controller to be tested is tested for 4 hours at 60°C, 90% RH and preset vibration conditions; in the third test time period, the controller to be tested is tested for 8 hours at -10°C and preset vibration conditions; in the fourth test time period, the controller to be tested is tested for 8 hours only at 110°C; in the fifth test time period, the controller to be tested is tested for 8 hours at 23°C and preset vibration conditions; in the sixth test time period, the controller to be tested is tested for 5 hours only at -40°C; in the seventh test time period, the controller to be tested is tested for 8 hours only at -40°C; in the eighth test time period, the controller to be tested is tested for 7 hours at 23°C and preset vibration conditions.

[0060] like Figure 3As shown, with stresses such as temperature, humidity, vibration, and sunlight as test stresses, the test system can test the controller to be tested at 23°C for 1 hour in the first test time period; in the second test time period, the controller to be tested is tested at 85°C for 8 hours, and sunlight is introduced as an irradiation condition in the last 2 hours of this time period to test the controller to be tested; in the third test time period, the controller to be tested is tested at 23°C and preset vibration conditions for 8 hours; in the fourth test time period, the controller to be tested is tested at 60°C, 90% RH and preset vibration conditions for 4 hours; in the fifth test time period, the controller to be tested is tested at -10°C and preset vibration conditions for 8 hours; in the sixth test time period, the controller to be tested is tested only at 85°C for 8 hours; in the seventh test time period, the controller to be tested is tested only at -40°C for 5 hours; and in the eighth test time period, the controller to be tested is tested at 23°C and preset vibration conditions for 7 hours.

[0061] pass Figure 2 and Figure 3 It can be seen from the content that when using a test bench to conduct system-level reliability testing on the controller to be tested on a vehicle, the test design can fully consider the dynamic changes of different stresses in the time dimension and the diversity of stress intensity. That is, the stress type and intensity applied in different time periods are not necessarily fixed, but can be carefully selected from the mapping relationship between environmental stress and failure mode based on the specific installation location and working environment of the controller. This allows test engineers to customize test plans according to the personalized needs of the controller, while also ensuring that the test system can automatically execute preset combined stresses to improve test efficiency, thereby achieving precise control of test conditions.

[0062] Furthermore, based on the vehicle, a functional test is performed on the controller to be tested according to the first test strategy to obtain first functional test data of the controller to be tested, including: controlling the vehicle to be stationary, and obtaining static test data generated by the controller to be tested when the vehicle is stationary; controlling the vehicle to travel according to a preset driving condition, and obtaining dynamic test data generated when the vehicle travels according to the preset driving condition; constructing the first functional test data based on the static test data and the dynamic test data.

[0063] In an optional scheme of this embodiment, in order to more comprehensively determine the operating conditions of the controller to be tested when the vehicle is running, when performing a functional test on the control to be tested, the test system can first control the vehicle to be stationary to obtain static test data generated by the controller to be tested when the vehicle is stationary, and then control the vehicle to travel according to preset operating conditions, for example, control the vehicle to travel at a preset speed and a preset driving path to obtain dynamic test data generated when the vehicle travels according to the preset driving conditions. Based on the static test data and the dynamic test data, the test system can construct corresponding first functional test data.

[0064] To facilitate understanding of controlling the vehicle to drive according to the preset driving conditions, Figure 4 is a schematic diagram of a preset driving condition according to an embodiment of the present application, such as Figure 4 As shown, the preset driving conditions used in the test system may include: serpentine conditions (used to test the Y-direction load of the controller). In the serpentine conditions, the test system can control the vehicle to drive according to the preset driving path, and also control the vehicle to brake urgently during driving to determine the operation of the controller to be tested when the vehicle drives on a complex driving path and brakes urgently. For example, the test system can drive 2 circles on a square right-angle turn path, then drive 3 circles forward and backward on an 8-shaped path, and finally drive a serpentine path at a speed of 60-65km / h, and repeat this back and forth 3 times to determine the operation of the controller under different driving paths. In addition, the preset driving conditions used in the test system may also include emergency braking conditions (used to test the X-direction load of the controller), bad road conditions (used to test the Z-direction load of the controller), etc. Among them, in the emergency braking condition, the test system can control the vehicle to travel in a preset direction, such as from east to west, at a speed of 100 km / h, and perform emergency braking three times in a row during the driving process to detect the operation of the controller to be tested under emergency braking; in the bad road condition, the test system can first drive through a twisting road at 30 km / h, then drive through a pothole road at 40 km / h, and then drive through a speed bump at 60 km / h. Then, after turning around, for example, after driving from west to east to the eastern boundary, turn around and drive through the speed bump at 60 km / h, then drive through a rope road at 25 km / h, then drive through a Brazilian stone road at 60 km / h, then turn around again after driving to the western area boundary, drive through a twisting road at 30 km / h, then drive through a pothole road at 40 km / h, then drive through the speed bump at 60 km / h, and finally drive out of this test section, so as to determine the operation of the controller under the bad road condition.

[0065] Table 2

[0066]

[0067]

[0068] For ease of understanding, Table 2 above shows the items that need to be checked for different controllers when the vehicle is stationary and in motion when the controller is tested using a vehicle. For example, for a discless navigation system, since the discless navigation system can provide navigation, entertainment, Bluetooth connection and other functions, the items that need to be checked when the vehicle is stationary may include: checking navigation map updates, Bluetooth connection stability, etc.; the items that need to be checked when the vehicle is in motion may include: Global Positioning System (GPS) signals, navigation route planning, etc.; during the test of the discless navigation system, the test system can also obtain the operating data of the interactive controller that interacts with the discless navigation system, such as the vehicle speed information output by the ECU, the temperature information displayed by the automatic air conditioning control module, and other data. In addition, the functional descriptions, stationary inspection items and driving inspection items of other controllers, as well as the relevant operating data of the corresponding interactive controllers, can be shown in Table 2 above and will not be repeated here.

[0069] Furthermore, based on the collaborative test data and the calibration controller data, the controller test result is determined, including: matching the first function test data with the calibration function data to obtain a first matching result, wherein the first matching result is used to characterize whether the first function test data is consistent with the calibration function data; matching the factor test data with the calibration factor data to obtain a second matching result, wherein the second matching result is used to characterize whether the factor test data is consistent with the calibration factor data; matching the first function test data with the second function test data to obtain a third matching result, wherein the third matching result is used to characterize whether the first function test data is consistent with the second function test data; constructing the controller test result based on the first matching result, the second matching result and the third matching result.

[0070] In an optional solution of this embodiment, when using collaborative test data and calibration controller data to determine the controller test results, the test system can first match the first functional test data with the calibration functional data to obtain a corresponding first matching result. Based on the first matching result, the test system can determine whether the two are consistent, thereby determining whether the current operation of the controller under test on the vehicle is stable and whether it can be put into use. Similar to matching the first functional test data with the calibration functional data, the test system can further match the factor test data with the calibration factor data to obtain a corresponding second matching result. Based on the second matching result, the test system can also determine whether the two are consistent, thereby determining the adaptability of the controller under test to different test factors and its stability under different test factors. Furthermore, unlike matching the first functional test data with the calibration functional test data, the test system can match the second functional test data with the first functional test data to determine whether the controller under test can maintain consistent performance and operate stably after being subjected to the different test factors. Finally, the determined first matching result, second matching result, and third matching result are sorted and summarized to obtain a controller test result that can reflect the operation status of the controller to be tested.

[0071] Furthermore, the initial test bench is configured based on at least one set of test factor groups to obtain a target test bench, including: identifying any set of test factor groups to obtain target factors contained in any set of test factor groups; assigning values ​​to the target factors according to a preset numerical strategy to obtain at least one set of target factor parameters; and configuring the initial test bench based on any set of target factor parameters to obtain a target test bench.

[0072] In an optional scheme of this embodiment, in order to accurately configure the initial test bench, the test system can first identify any group of test factor groups to determine the target factors that currently need to be configured on the initial test bench, and then assign values ​​to the determined target factors according to a preset numerical strategy, such as determining the factor values ​​contained in any group of test factor groups, or assigning values ​​in sequence according to preset numerical values, such as assigning values ​​to parameters such as the size of the target factor, the time period of the test, and the duration of the test, so as to obtain the above-mentioned at least one group of target factor parameters, and finally use this any group of target factor parameters to configure the target factors in the initial test bench, for example, within the test time period corresponding to the target factor, the initial test bench is configured according to the size of the determined target factor, so as to obtain the above-mentioned target test bench. Specifically, the target factors are assigned to obtain at least one group of target factor parameters, and the initial test bench is configured using any group of target factor parameters. Figure 2 and Figure 3, which will not be repeated here. Furthermore, the above method also includes: identifying the factor mapping relationship table to obtain controller identifiers of multiple vehicle controllers and environmental factor identifiers of multiple environmental factors, wherein the multiple vehicle controllers are used to characterize the controllers that need to be tested on the vehicle, and the multiple environmental factors are used to characterize the factors that will affect any vehicle controller; based on the controller identifiers, obtaining second configuration parameters of the multiple vehicle controllers, wherein the multiple vehicle controllers include the controller to be tested; based on the environmental factor identifiers, obtaining third configuration parameters of multiple factor simulation devices, wherein the multiple factor simulation devices are used to simulate multiple environmental factors; and building an initial test bench based on the second configuration parameters and the third configuration parameters.

[0073] In an optional scheme of this embodiment, in order to be able to configure different test factors on the initial test bench to conduct a comprehensive test of the controller to be tested, the test system can first identify the constructed factor mapping relationship table to determine the controller identifiers of multiple vehicle controllers that can be deployed on the vehicle, and the environmental factor identifiers of multiple environmental factors in the vehicle driving environment that may affect the operation of any vehicle controller. Based on the controller identifiers, the test system can first obtain second configuration parameters of these multiple vehicle controllers, such as installation location, installation method, auxiliary equipment required for installation, and other parameters, and use the environmental factor identifiers of these multiple environmental factors to obtain third configuration parameters of the factor simulation device used to simulate these multiple environmental factors. Based on the second configuration parameters and the third configuration parameters, the test system can construct an initial test bench that can test different vehicle controllers under different environmental factors.

[0074] Furthermore, the above method also includes: obtaining first configuration parameters of multiple vehicle controllers on the vehicle; dividing the vehicle based on the first configuration parameters of multiple vehicle controllers to obtain multiple controller areas; determining at least one environmental factor corresponding to any controller area based on the regional characteristics of any controller area; constructing a factor mapping relationship table based on the first configuration parameters of any controller area and at least one environmental factor corresponding to any controller area.

[0075] In an optional scheme of this embodiment, considering that the test factors that may affect the operation of the vehicle controller may be different under different first configuration parameters, in order to construct an accurate factor mapping relationship table, the test system can first obtain the first configuration parameters of multiple vehicle controllers on the vehicle, and use the first configuration parameters of these multiple vehicle controllers to divide the vehicle to obtain multiple controller areas, and then use the regional characteristics of any controller area to determine at least one environmental factor in the driving environment that will affect the vehicle controller in any one control area, and finally use the third configuration parameters of any one controller area and at least one environmental factor corresponding to any one controller area to construct the above-mentioned factor mapping relationship table.

[0076] For ease of understanding, Table 1 shows 42 controllers that can be tested according to embodiments of the present application. These controllers can include 167 chips, which may involve sensor, storage, power, computing, control, analog power, communication and other chip categories:

[0077] Table 1

[0078]

[0079]

[0080]

[0081] By dividing the above-mentioned controllers, the vehicle can be divided into at least four parts: engine compartment ①, passenger compartment ②, luggage compartment ③ and outside the cabin ④. Figure 5 This is a schematic diagram of a vehicle partitioning result according to an embodiment of the present application, wherein the left side represents multiple areas obtained by dividing the vehicle, which may include the engine compartment ①, the passenger compartment ②, and the luggage compartment ③. The outside of the cabin ④ is the other area except the engine compartment ①, the passenger compartment ②, and the luggage compartment ③. Since the outside of the cabin ④ overlaps with the engine compartment ①, the passenger compartment ②, and the luggage compartment ③, it is not included in the diagram. Figure 5 Draw in; Figure 5 The right side represents the factor mapping relationship table. Figure 5As shown, among these four parts, the engine compartment may include at least controllers of category A1 (installed on the engine transmission assembly) and category A2 (installed on the vehicle body), which may include but are not limited to: supercharger, phase sensor, engine speed sensor, intake air temperature and pressure sensor, ignition coil, throttle body, generator assembly, electronic water pump, electronic shift module assembly, transmission oil pressure sensor, transmission gear position sensor, transmission speed sensor, coolant temperature sensor, ECU, Electronic Stability Program (ESP) controller; the passenger compartment may include at least controllers of category B1 (upper part of the instrument panel or sub-instrument panel), category B2 (lower part of the instrument panel or sub-instrument panel) and category B3 (other locations), which may include but are not limited to: central control panel assembly, automatic air conditioning control module, automatic air conditioning control panel assembly, instrument cluster, light rain and fog sensor, USB charging module, host, electronic shift control mechanism, automatic heating, ventilation and air conditioning system (HVAC), electronic accelerator pedal, electronic steering column with intermediate shaft assembly, transmission control unit (TCU), etc. The vehicle's components include the vehicle's body domain controller (TCU), body domain manager (BDM), airbag controller, left / right door guard panel with switch assembly and ambient lighting, side impact sensor assembly, and Universal Serial Bus Charging Module (USB charging module). The luggage compartment may include at least Category C1 (side panel) and Category C21 (bottom) controllers, including but not limited to a radar control module and pressure sensor. The exterior compartment may include at least Category D1 (front), Category D2 (bottom), Category D3 (rear), and Category D4 (other areas) controllers, including but not limited to a radar sensor, tire pressure sensor, left / right front wheel speed sensor, left / right rear wheel speed sensor with caliper wiring harness assembly, rear oxygen sensor, rearview camera, radar sensor, and remote control key. Environmental stresses that may impact these controllers include but are not limited to temperature, vibration, impact, sunlight, muddy water, dust, foreign object impact, detergent, water, and drops. Figure 5 The solid dots in the middle represent the corresponding stress that affects the controller of the corresponding category, and the hollow dots represent the corresponding stress that does not affect the controller of the corresponding category. For example, taking the A1 controller as an example, the stresses that need to be paid attention to during the test may include: temperature, vibration, shock, muddy water, dust, foreign body impact, detergent, water, etc. The mapping relationship between the specific stress and the corresponding category of controller can be as follows: Figure 5 The factor mapping relationship table in is determined and will not be described in detail here.

[0082] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0083] According to an embodiment of the present application, an apparatus embodiment of a vehicle controller testing method is provided. It should be noted that the apparatus can be used to execute the above-mentioned vehicle controller testing method. Figure 6 FIG. 1 is a structural block diagram of a vehicle controller test device according to an embodiment of the present application. Figure 6 As shown, the apparatus includes: a first parameter acquisition module 602 , a factor acquisition module 604 , a factor group construction module 606 and a controller testing module 608 .

[0084] Among them, the first parameter acquisition module 602 is used to obtain the first configuration parameter of the controller to be tested on the vehicle; the factor acquisition module 604 is used to obtain multiple test factors matching the controller to be tested from the factor mapping relationship table based on the first configuration parameter, wherein the factor mapping relationship table is used to store the mapping relationship between the first configuration parameter and the test factor, and the test factor is used to characterize the factors that will affect the operation process of the controller to be tested in the driving environment of the vehicle; the factor group construction module 606 is used to combine multiple test factors according to a preset combination strategy to construct at least one group of test factor groups; the controller test module 608 is used to use the test equipment to test the controller to be tested based on at least one group of test factor groups to obtain the controller test results, wherein the controller test results are used to characterize the operation status of the controller to be tested during the test process.

[0085] Furthermore, the test equipment includes: a vehicle and an initial test bench; the controller test module is also used to: configure the initial test bench based on at least one set of test factor groups to obtain a target test bench; according to a preset test strategy, use the vehicle and the target test bench in sequence to perform collaborative testing on the controller to be tested to obtain collaborative test data of the controller to be tested; and determine the controller test results based on the collaborative test data and the calibrated controller data.

[0086] Furthermore, the preset test strategy includes: a first test strategy corresponding to the vehicle, and a second test strategy corresponding to the target test bench; the controller test module is also used to: based on the vehicle, perform a functional test on the controller to be tested according to the first test strategy to obtain first functional test data of the controller to be tested, wherein the first functional test data is used to characterize the operating status of the controller to be tested when the vehicle is operating normally; disassemble the controller to be tested from the vehicle, and based on the target test bench, perform a factor test on the disassembled controller to be tested according to the second test strategy to obtain factor test data, wherein the factor test data is used to characterize the operating status of the controller to be tested under the action of at least one group of test factor groups; reinstall the controller to be tested to the vehicle, and re-based on the vehicle, perform a functional test on the controller to be tested according to the first test strategy to obtain second functional test data of the controller to be tested; based on the first functional test data, the factor test data and the second functional test data, obtain collaborative test data.

[0087] Furthermore, the controller test module is also used to: control the vehicle to be stationary and obtain static test data generated by the controller to be tested when the vehicle is stationary; control the vehicle to travel according to preset driving conditions and obtain dynamic test data generated when the vehicle travels according to preset driving conditions; and construct first functional test data based on the static test data and dynamic test data.

[0088] Furthermore, the controller test module is also used to: match the first function test data with the calibration function data to obtain a first matching result, wherein the first matching result is used to characterize whether the first function test data is consistent with the calibration function data; match the factor test data with the calibration factor data to obtain a second matching result, wherein the second matching result is used to characterize whether the factor test data is consistent with the calibration factor data; match the first function test data with the second function test data to obtain a third matching result, wherein the third matching result is used to characterize whether the first function test data is consistent with the second function test data; and construct a controller test result based on the first matching result, the second matching result and the third matching result.

[0089] Furthermore, the controller test module is also used to: identify any group of test factor groups to obtain the target factors contained in any group of test factor groups; assign values ​​to the target factors according to a preset numerical strategy to obtain at least one group of target factor parameters; configure the initial test bench based on any group of target factor parameters to obtain the target test bench.

[0090] Furthermore, the above-mentioned device also includes: a relationship table identification module, which is used to identify the factor mapping relationship table to obtain controller identifiers of multiple vehicle controllers and environmental factor identifiers of multiple environmental factors, wherein the multiple vehicle controllers are used to characterize the controllers that need to be tested on the vehicle, and the multiple environmental factors are used to characterize the factors that will affect any vehicle controller; a second parameter acquisition module, which is used to obtain second configuration parameters of the multiple vehicle controllers based on the controller identifier, wherein the multiple vehicle controllers include the controller to be tested; a third parameter acquisition module, which is used to obtain third configuration parameters of multiple factor simulation devices based on the environmental factor identifier, wherein the multiple factor simulation devices are used to simulate multiple environmental factors; a test bench construction module, which is used to build an initial test bench based on the second configuration parameters and the third configuration parameters.

[0091] Furthermore, the above-mentioned device also includes: a second parameter acquisition module, used to obtain second configuration parameters of multiple vehicle controllers on the vehicle; an area division module, used to divide the vehicle based on the second configuration parameters to obtain multiple controller areas; a factor determination module, used to determine at least one environmental factor corresponding to any controller area based on the area characteristics of any controller area; a relationship table construction module, used to construct a factor mapping relationship table based on the first configuration parameters of any controller area and at least one environmental factor corresponding to any controller area.

[0092] An embodiment of the present application further provides a vehicle, comprising: a memory storing an executable program; and a processor for running the program, wherein the method of each embodiment of the present application is executed when the program is running.

[0093] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present application.

[0094] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present application when executed by a processor.

[0095] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present application is implemented.

[0096] The embodiments of the present application further provide a computer program, which, when executed by a processor, implements the methods in the above-mentioned embodiments of the present application.

[0097] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0098] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0099] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.

[0100] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0101] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code.

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

Claims

1. A vehicle controller testing method, characterized in that: include: Obtaining first configuration parameters of a controller to be tested on a vehicle; Based on the first configuration parameter, obtaining a plurality of test factors that match the controller to be tested from a factor mapping relationship table, wherein the factor mapping relationship table is used to store mapping relationships between the first configuration parameter and the test factors, and the test factors are used to represent factors that may affect the operation process of the controller to be tested in the driving environment of the vehicle; Combining the multiple test factors according to a preset combination strategy to construct at least one test factor group; The controller to be tested is tested based on the at least one set of test factor groups using a test device to obtain a controller test result, wherein the controller test result is used to characterize the operation status of the controller to be tested during the test process.

2. The method according to claim 1, characterized in that The test equipment includes: the vehicle and an initial test bench; using the test equipment, testing the controller to be tested based on the at least one set of test factor groups, and obtaining a controller test result, including: configuring the initial test bench based on the at least one set of test factor groups to obtain a target test bench; According to a preset test strategy, the vehicle and the target test bench are sequentially used to perform a collaborative test on the controller to be tested to obtain collaborative test data of the controller to be tested; The controller test result is determined based on the collaborative test data and the calibrated controller data.

3. The method according to claim 2, characterized in that The preset test strategy includes: a first test strategy corresponding to the vehicle, and a second test strategy corresponding to the target test bench; according to the preset test strategy, the vehicle and the target test bench are sequentially used to perform collaborative testing on the controller to be tested, to obtain collaborative test data of the controller to be tested, including: Based on the vehicle, performing a functional test on the controller to be tested according to a first test strategy to obtain first functional test data of the controller to be tested, wherein the first functional test data is used to characterize the operating condition of the controller to be tested when the vehicle is operating normally; Disassembling the controller to be tested from the vehicle, and performing a factor test on the disassembled controller to be tested according to a second test strategy based on the target test bench to obtain factor test data, wherein the factor test data is used to characterize the operation of the controller to be tested under the action of the at least one set of test factors; Reinstalling the controller to be tested to the vehicle, and re-performing a functional test on the controller to be tested according to the first test strategy based on the vehicle to obtain second functional test data of the controller to be tested; The collaborative test data is obtained based on the first functional test data, the factor test data and the second functional test data.

4. The method according to claim 3, characterized in that Based on the vehicle, performing a functional test on the controller to be tested according to a first test strategy to obtain first functional test data of the controller to be tested, including: controlling the vehicle to be stationary, and acquiring static test data generated by the controller to be tested when the vehicle is stationary; Controlling the vehicle to travel according to a preset driving condition, and obtaining dynamic test data generated when the vehicle travels according to the preset driving condition; The first functional test data is constructed based on the static test data and the dynamic test data.

5. The method according to claim 3, characterized in that Determining the controller test result based on the collaborative test data and the calibrated controller data includes: Matching the first functional test data with the calibration functional data to obtain a first matching result, wherein the first matching result is used to indicate whether the first functional test data is consistent with the calibration functional data; Matching the factor test data with the calibration factor data to obtain a second matching result, wherein the second matching result is used to indicate whether the factor test data is consistent with the calibration factor data; Matching the first functional test data with the second functional test data to obtain a third matching result, wherein the third matching result is used to indicate whether the first functional test data is consistent with the second functional test data; The controller test result is constructed based on the first matching result, the second matching result, and the third matching result.

6. The method according to claim 2, characterized in that The configuring the initial test bench based on the at least one set of test factor groups to obtain a target test bench includes: Identifying any set of test factor groups to obtain target factors included in the any set of test factor groups; Assigning values ​​to the target factors according to a preset numerical strategy to obtain at least one set of target factor parameters; The initial test bench is configured based on any set of target factor parameters to obtain a target test bench.

7. The method according to claim 2, characterized in that The method further comprises: Identifying the factor mapping relationship table to obtain controller identifiers of a plurality of vehicle controllers and environmental factor identifiers of a plurality of environmental factors, wherein the plurality of vehicle controllers are used to represent controllers to be tested on the vehicle, and the plurality of environmental factors are used to represent factors that may affect any of the vehicle controllers; Based on the controller identifier, obtaining second configuration parameters of the plurality of vehicle controllers, wherein the plurality of vehicle controllers includes the controller to be tested; Based on the environmental factor identifier, obtaining third configuration parameters of a plurality of factor simulation devices, wherein the plurality of factor simulation devices are used to simulate the plurality of environmental factors; The initial test bench is constructed based on the second configuration parameters and the third configuration parameters.

8. The method according to claim 1, characterized in that The method further comprises: obtaining first configuration parameters of a plurality of vehicle controllers on the vehicle; Dividing the vehicle based on first configuration parameters of the plurality of vehicle controllers to obtain a plurality of controller areas; determining at least one environmental factor corresponding to any one controller area based on the area characteristics of the any one controller area; The factor mapping relationship table is constructed based on the first configuration parameter of any controller area and at least one environmental factor corresponding to the any controller area.

9. A vehicle, characterized in that: include: a memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 8 when running.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 8.