A testing method, LABCAR system and testing equipment
By simulating the vehicle environment in the LABCAR system, obtaining authorization information and conducting OTA upgrade tests, the problem of low efficiency of OTA upgrade tests in the existing technology is solved, automated testing is realized, and the workload of testers is reduced.
Patent Information
- Application Number
- CN202111489817.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-08
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2041-12-08
AI Technical Summary
In the prior art, the tester has a large workload and low testing efficiency when conducting OTA upgrade tests.
Provide a test method and LABCAR system to obtain upgrade test task information through remote upgrade of FOTA platform, obtain authorization information on the simulated vehicle, and conduct upgrade test of vehicle controller to realize automatic testing of OTA upgrade.
It reduces the workload of testers, improves testing efficiency, reduces the pressure on actual vehicle testing resources, and realizes automatic testing of OTA upgrades.
Smart Images

Figure CN114676039B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automotive testing, and particularly relates to a testing method, a LABCAR system, and a testing device. Background Art
[0002] Over-the-Air Technology is a technology for software or firmware upgrading of terminal devices through the air interface of mobile communication. Currently, this upgrading method has been widely implemented in new energy vehicles, and this upgrading method has the following advantages: realizing intelligent rapid development and continuous software version updates; fixing software BUGs and reducing after-sales maintenance costs; being able to add new functions or implement value-added service upgrades to improve user experience; users do not need to go to the 4S store for local upgrading. After-sales marketers of vehicle manufacturers only need to perform simple operations, and through wifi wireless networks or 4G / 5G mobile networks, download the data packets required for upgrading to complete online upgrading, greatly saving the time of vehicle owners and the after-sales costs of vehicle manufacturers.
[0003] However, with the rapid development of new energy vehicles, vehicle safety has always been given top priority. Therefore, before vehicle manufacturers perform OTA upgrades on after-sales vehicles, a large number of tests will be carried out to ensure that the upgrades are foolproof. The current testing method creates an upgrade task on the remote upgrade (Firmware Over-The-Air, FOTA) platform of the mobile terminal, sends the task to the vehicle end, and then upgrades the vehicle end program. However, there may be multiple different existing versions in the current market, and each version requires a large amount of time, energy, and vehicle resources for testing. Therefore, a testing method needs to be designed to reduce the workload of testers and improve the efficiency of test research and development. Summary of the Invention
[0004] Embodiments of the present invention provide a testing method, a LABCAR system, and a testing device to solve the problems in the prior art that the workload of testers is large and the testing efficiency is low during OTA upgrade testing.
[0005] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
[0006] Embodiments of the present invention provide a testing method applied to a LABCAR system, and the method includes:
[0007] Obtaining upgrade test task information through the remote upgrade FOTA platform;
[0008] When the vehicle simulated by the LABCAR system is in the powered-on state, obtaining authorization information according to the upgrade test task information;
[0009] Perform the upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information;
[0010] Among them, the upgrade test task information includes the controller upgrade package, upgrade task type, upgrade method, and upgrade controller.
[0011] Optionally, the method further includes:
[0012] Obtain the test data and test results during the upgrade test;
[0013] In the case where the test result does not meet the preset result, determine the reason why the test result does not meet the preset result according to the test data.
[0014] Optionally, the test data includes:
[0015] Ethernet data;
[0016] CAN data;
[0017] CANFD data.
[0018] Optionally, the authorization information includes controller upgrade package download authorization information and upgrade authorization information;
[0019] Obtain authorization information according to the upgrade test task information, including:
[0020] Obtain the controller upgrade package download authorization information according to the upgrade test task information;
[0021] After downloading the controller upgrade package according to the controller upgrade package download authorization information, obtain the upgrade authorization information.
[0022] Optionally, the authorization information is input by the human-machine interaction module by collecting the interface image of the in-vehicle pop-up screen in the LABCAR system through a camera and identifying the authorization button on the interface image, so that the manipulator clicks the authorization button;
[0023] Among them, the authorization button is a download authorization button or an upgrade authorization button;
[0024] When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information; the human-machine interaction module is connected to the LABCAR system.
[0025] Optionally, obtaining authorization information includes:
[0026] Collect the interface image of the in-vehicle pop-up screen in the LABCAR system;
[0027] Identify the authorization button in the interface image;
[0028] Control the manipulator to click the authorization button;
[0029] When the authorization button is clicked, obtain the authorization information;
[0030] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0031] When the authorization button is a download authorization button, the authorization information is the download authorization information of the controller upgrade package; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information.
[0032] Optionally, according to the upgrade test task information, perform an upgrade test on the vehicle controller simulated by the LABCAR system, including:
[0033] Adjust the voltage environment in which the vehicle controller is located according to the upgrade test task information;
[0034] Perform an upgrade test on the vehicle controller simulated by the LABCAR system under different voltage environments.
[0035] Optionally, the voltage environment in which the vehicle controller is located includes one of the following:
[0036] In an environment where the vehicle is powered off during the upgrade process;
[0037] In an environment where the voltage value is less than a preset value during the upgrade process
[0038] An embodiment of the present invention also provides an LABCAR system, and the system includes:
[0039] A task acquisition module, configured to obtain upgrade test task information through a remote upgrade FOTA platform;
[0040] An authorization module, configured to obtain authorization information according to the upgrade test task information when the entire vehicle simulated by the LABCAR system is in a powered-on state;
[0041] A test module, configured to perform an upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information;
[0042] Wherein, the upgrade test task information includes a controller upgrade package, an upgrade task type, an upgrade method, and an upgrade controller.
[0043] Optionally, the system further includes:
[0044] A data acquisition module, configured to obtain test data and test results during the upgrade test;
[0045] A determination module, configured to determine the reason why the test result does not meet the preset result according to the test data when the test result does not meet the preset result.
[0046] Optionally, the test data includes:
[0047] Ethernet data;
[0048] CAN data;
[0049] CANFD data.
[0050] Optionally, the authorization information includes controller upgrade package download authorization information and upgrade authorization information;
[0051] The authorization module includes:
[0052] A first processing unit, configured to obtain the controller upgrade package download authorization information according to the upgrade test task information;
[0053] A second processing unit, configured to obtain the upgrade authorization information after downloading and completing the controller upgrade package according to the controller upgrade package download authorization information.
[0054] Optionally, the authorization information is input by the human-computer interaction module by collecting the interface image of the car machine pop-up screen in the LABCAR system, identifying the authorization button on the interface image, and enabling the manipulator to click the authorization button;
[0055] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0056] When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information;
[0057] The human-computer interaction module is connected to the LABCAR system.
[0058] Optionally, the authorization module is specifically configured to:
[0059] Collect the interface image of the car machine pop-up screen in the LABCAR system;
[0060] Identify the authorization button in the interface image;
[0061] Control the manipulator to click the authorization button;
[0062] When the authorization button is clicked, obtain the authorization information;
[0063] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0064] When the authorization button is a download authorization button, the authorization information is the download authorization information of the controller upgrade package; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information.
[0065] Optionally, the test module includes:
[0066] A voltage regulation unit for regulating the voltage environment in which the vehicle controller is located according to the upgrade test task information;
[0067] A test unit for performing an upgrade test on the vehicle controller simulated by the LABCAR system in different voltage environments.
[0068] Optionally, the voltage environment in which the vehicle controller is located includes one of the following:
[0069] In an environment where the vehicle is powered off during the upgrade process;
[0070] In an environment where the voltage value is less than a preset value during the upgrade process. An embodiment of the present invention also provides a test device, including: a processor, a memory, and a program stored on the memory and executable on the processor, and when the program is executed by the processor, the steps of the test method described in any one of the above are implemented.
[0071] An embodiment of the present invention also provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the test method described in any one of the above are implemented.
[0072] The beneficial effects of the present invention are:
[0073] The solution of the present invention provides a test method applied to the LABCAR system. By obtaining upgrade test task information through the remote upgrade FOTA platform, when the entire vehicle simulated by the LABCAR system is in the powered-on state, according to the upgrade test task information, obtaining authorization information, and according to the upgrade test task information, performing an upgrade test on the vehicle controller simulated by the LABCAR system, it is possible to realize the automated test of OTA upgrade, thereby reducing the workload of testers and improving the R & D efficiency. Description of the Drawings
[0074] Figure 1 It represents a flowchart of the test method provided by the embodiment of the present invention;
[0075] Figure 2 Schematic diagram showing the structure of the test system provided by the embodiments of the present invention;
[0076] Figure 3 Schematic diagram showing the structure of the LABCAR test bench provided by the embodiments of the present invention;
[0077] Figure 4 Block diagram showing the structure of the LABCAR system provided by the embodiments of the present invention. Detailed implementation manners
[0078] To make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0079] Aiming at the problems of large workload and low test efficiency of testers during OTA upgrade testing in the prior art, the present invention provides a test method, a LABCAR system and a test device.
[0080] As Figure 1 shown, an embodiment of the present invention provides a test method applied to a LABCAR system, and the method includes:
[0081] Step 101: Obtain upgrade test task information through a remote upgrade FOTA platform;
[0082] Among them, the upgrade test task information includes information such as a controller upgrade package, an upgrade task type, an upgrade method, and an upgrade controller.
[0083] It should be noted that the test method provided by the embodiments of the present invention is applied to a LABCAR system. Among them, the LABCAR test bench is built close to a real vehicle and includes vehicle controllers, high- and low-voltage wiring harnesses, various vehicle lights and other body components, mainly realizing the simulation of a real vehicle.
[0084] In the embodiments of the present invention, please refer to Figure 2 , Figure 2 , which is a schematic diagram of the structure of the test system. Among them, the LABCAR system is the LABCAR test bench. In the test system, the LABCAR test bench is access-connected to the cloud access module, and the upgrade test task information is obtained by accessing the FOTA platform through the cloud access module. Specifically, the cloud access module accesses the interface of the FOTA platform through the software programming (python) language to realize the operation of the FOTA platform. First, the access to the FOTA platform is realized through the call of functions, and the creation of upgrade tasks is carried out using the python language. After the platform makes the upgrade package, the task can be issued, thereby realizing the automation of a series of operations on the FOTA platform, including software synchronization, vehicle synchronization, task creation, upgrade package production, task issuance, etc., reducing labor costs.
[0085] Step 102: When the whole vehicle simulated by the LABCAR system is in the powered-on state, obtain authorization information according to the upgrade test task information.
[0086] It should be noted that, please continue to refer to Figure 2 , the test system further includes a programmable power supply module, which is connected in parallel to the power interface of the LABCAR bench to achieve voltage regulation and control of power-on and power-off of the whole vehicle. The programmable power supply module controls the whole vehicle simulated by the LABCAR bench to power on, and then authorizes the vehicle end, that is, obtains authorization information. Through the authorization information, download authorization of the controller upgrade package and subsequent upgrade authorization are carried out.
[0087] Step 103: According to the upgrade test task information, perform an upgrade test on the vehicle controller simulated by the LABCAR system.
[0088] It should be noted that, please refer to Figure 3 , all controllers (i.e., Electronic Control Unit (ECU)) that support OTA upgrade, the vehicle controller, the in-vehicle terminal, and the vehicle-mounted pop-up screen are included in the LABCAR bench. Among them, the in-vehicle terminal queries and receives the upgrade test task information, and through the gateway, sends the upgrade test task information to the vehicle controller. According to the upgrade test task information, the in-vehicle terminal guides the upgrade of each controller. The in-vehicle terminal is also used to send the upgrade test task information to the vehicle-mounted pop-up screen for human-machine interaction test. After the vehicle-mounted pop-up screen obtains the authorization information, it enters the download process, downloads the controller upgrade package. After the download is completed, upgrade authorization is performed, and the upgrade process is entered. According to the authorization information and the controller upgrade instruction, the upgrade is carried out.
[0089] It should also be noted that the LABCAR frame is mainly used for the simulation of all OTA controllers on the vehicle, and different controllers are configured according to the vehicle configuration change, and it can be applied to different vehicle models under the same project, saving real vehicle resources.
[0090] Optionally, the method further includes:
[0091] Obtain the test data and test results during the upgrade test process;
[0092] In the case where the test result does not meet the preset result, determine the reason why the test result does not meet the preset result according to the test data.
[0093] It should be noted that, please continue to refer to Figure 2, the test system further includes a data acquisition module, which is connected to the LABCAR bench and is used to collect test data. The collected test data is used to automatically analyze whether the download controller upgrade package and the subsequent upgrade process meet the expectations (preset results). If not, analyze the reasons for the failure of downloading the controller upgrade package or the failure of the upgrade process.
[0094] Optionally, the test data includes:
[0095] Ethernet data;
[0096] Controller Area Network (CAN) data;
[0097] Controller Area Network with Flexible Data-Rate (CANFD) data.
[0098] Specifically, the data acquisition module uses the CAN Open Environment (CANoe) tool. The specific acquisition process includes: collecting Ethernet data through the Ethernet data acquisition unit in the data acquisition module, collecting CAN data through the CAN data acquisition unit in the data acquisition module, and collecting CANFD data through the CANFD data acquisition unit in the data acquisition module. Among them, the Ethernet data acquisition unit is set in series between the in-vehicle telematics system (Telematics BOX, T-BOX) simulated by the LABCAR system and the gateway; the CAN data acquisition unit and the CANFD data acquisition unit are set in parallel on each bus BUS. The collected Ethernet data, CAN data, and CANFD data are used to automatically analyze whether the process of downloading and upgrading the controller upgrade package meets the expectations, and to analyze the reasons for the failure when the download of the controller upgrade package fails or the upgrade fails.
[0099] Optionally, the authorization information includes the controller upgrade package download authorization information and the upgrade authorization information;
[0100] According to the upgrade test task information, obtaining authorization information includes:
[0101] According to the upgrade test task information, obtaining the controller upgrade package download authorization information;
[0102] After downloading the controller upgrade package according to the controller upgrade package download authorization information, obtaining the upgrade authorization information.
[0103] Specifically, the process of obtaining authorization information includes that after the whole vehicle simulated by the LABCAR bench is powered on through the programmable power supply module, the user can obtain the controller upgrade package download authorization information. According to the controller upgrade package download authorization information, the controller upgrade package is downloaded. After the download is completed, the upgrade authorization information can be obtained.
[0104] As an embodiment, the authorization information is input by the human-machine interaction module by collecting the interface image of the in-vehicle pop-up screen in the LABCAR system through a camera and identifying the authorization button on the interface image, so that the manipulator clicks the authorization button;
[0105] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0106] When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information;
[0107] The human-machine interaction module is connected to the LABCAR system.
[0108] In the embodiment of the present invention, please continue to refer to Figure 2 , the test system further includes a data human-machine interaction module. The human-machine interaction module is connected to the LABCAR bench, and the human-machine interaction module is also respectively connected to the manipulator and the camera. The human-machine interaction module mainly realizes the simulation test of the download authorization and upgrade authorization for the in-vehicle pop-up screen, that is, the human-machine interaction test. Specifically, the automatic implementation process of the human-machine interaction is as follows: the authorization button on the interface image of the in-vehicle pop-up screen is collected through the camera. Among them, the authorization button includes a download authorization button and an upgrade authorization button. Correspondingly, the download authorization button is used to obtain the controller upgrade package download authorization information, and the upgrade authorization button is used to obtain the upgrade authorization information. After the authorization button on the interface image of the in-vehicle pop-up screen is collected by the camera, through the image processing technology of the camera, the above two authorization buttons are respectively positioned. After positioning, the manipulator is guided to perform a click operation. At the same time, the camera collects the interface image of the in-vehicle pop-up screen, and through the image processing technology, it judges the correctness of the manipulator clicking the authorization button.
[0109] It should also be noted that in the embodiment of the present invention, the human-machine interaction module realizes the operation of the in-vehicle pop-up screen through the camera and the manipulator, so as to realize the automation of the download authorization and upgrade authorization, and is also used to realize the sending of prompts such as upgrade instructions, upgrade duration, precautions during the upgrade, version information, and release notes to the user, so as to facilitate judging whether the upgrade is carried out as expected.
[0110] As another embodiment, obtaining authorization information includes:
[0111] Collect the interface image of the in-vehicle pop-up screen in the LABCAR system;
[0112] Identify the authorization button in the interface image;
[0113] Control the manipulator to click the authorization button;
[0114] When the authorization button is clicked, obtain the authorization information;
[0115] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0116] When the authorization button is a download authorization button, the authorization information is the download authorization information of the controller upgrade package; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information.
[0117] In the embodiment of the present invention, the LABCAR bench collects the interface image of the in-vehicle pop-up screen by itself, and identifies the authorization button on the interface image. Among them, the authorization button includes a download authorization button and an upgrade authorization button. Correspondingly, the download authorization button is used to obtain the download authorization information of the controller upgrade package, and the upgrade authorization button is used to obtain the upgrade authorization information. After the LABCAR bench identifies the position of the authorization button, it controls the manipulator connected to the LABCAR bench to click the authorization button to obtain the corresponding authorization information.
[0118] Optionally, according to the upgrade test task information, perform the upgrade test of the vehicle controller simulated by the LABCAR system, including:
[0119] Adjust the voltage environment in which the vehicle controller is located according to the upgrade test task information;
[0120] Perform the upgrade test of the vehicle controller simulated by the LABCAR system under different voltage environments.
[0121] Specifically, please continue to refer to Figure 2 , the programmable power supply module can also automatically adjust the voltage of the environment (voltage environment) during the upgrade process, create an abnormal scenario for the upgrade test process of the vehicle controller simulated by the LABCAR system, and achieve the function of regulating the voltage.
[0122] Furthermore, the voltage environment in which the vehicle controller is located includes one of the following:
[0123] In the environment of vehicle power-off during the upgrade process;
[0124] In the environment where the voltage value is less than the preset value during the upgrade process.
[0125] It should be noted that the process of remote upgrade is usually restricted by the vehicle voltage. Therefore, during the upgrade test of the vehicle controller simulated by the LABCAR system, the voltage environment regulated by the programmable power supply module includes one of the following:
[0126] During the upgrade process, it is in the environment of vehicle power-off, that is, vehicle power-off test is carried out during the upgrade process;
[0127] During the upgrade process, it is in the environment where the voltage value is less than the preset value, that is, the influence of low voltage on the upgrade is tested during the upgrade process.
[0128] The test method provided by the embodiments of the present invention, in order to reduce the workload of testers, improve the test efficiency, and reduce the pressure on real vehicle test resources, builds a simulated real vehicle environment, and adds software programming to control cloud access, automatically creates and issues upgrade test tasks; controls the power-on and power-off of the whole vehicle through the programmable power supply module; after the vehicle terminal queries the task, uses camera positioning, the manipulator clicks on the vehicle machine large screen, and judges the correctness of the human-machine interaction by processing the image content collected by the camera, and conducts human-machine interaction function tests. Serial access to the Ethernet data acquisition device is used to analyze the data when problems occur and locate the problems. The test cycle can be shortened and the upgrade can be completed as soon as possible.
[0129] As Figure 4 shown, the embodiments of the present invention also provide an LABCAR system, and the system includes:
[0130] A task acquisition module 401, configured to obtain upgrade test task information through a remote upgrade FOTA platform;
[0131] An authorization module 402, configured to obtain authorization information according to the upgrade test task information when the whole vehicle simulated by the LABCAR system is in the power-on state;
[0132] A test module 403, configured to perform an upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information;
[0133] Wherein, the upgrade test task information includes a controller upgrade package, an upgrade task type, an upgrade method, and an upgrade controller.
[0134] In the embodiments of the present invention, by obtaining upgrade test task information through a remote upgrade FOTA platform, obtaining authorization information according to the upgrade test task information when the whole vehicle simulated by the LABCAR system is in the power-on state, and performing an upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information, the automated test of OTA upgrade can be realized, thereby reducing the workload of testers and improving the R & D efficiency.
[0135] Optionally, the system further includes:
[0136] A data acquisition module, configured to obtain test data and test results during the upgrade test process;
[0137] A determination module, configured to determine the reason why the test result does not meet the preset result according to the test data when the test result does not meet the preset result.
[0138] Optionally, the test data includes:
[0139] Ethernet data;
[0140] CAN data;
[0141] CANFD data.
[0142] The authorization information includes controller upgrade package download authorization information and upgrade authorization information;
[0143] Optionally, the authorization module 402 includes:
[0144] A first processing unit, configured to obtain the controller upgrade package download authorization information according to the upgrade test task information;
[0145] A second processing unit, configured to obtain the upgrade authorization information after downloading and completing the controller upgrade package according to the controller upgrade package download authorization information.
[0146] Optionally, the authorization information is input by the human-computer interaction module by collecting the interface image of the in-vehicle pop-up screen in the LABCAR system through a camera, and identifying the authorization button on the interface image, so that the manipulator clicks the authorization button;
[0147] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0148] When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information;
[0149] The human-computer interaction module is connected to the LABCAR system.
[0150] Optionally, the authorization module 402 is specifically configured to:
[0151] Collect the interface image of the in-vehicle pop-up screen in the LABCAR system;
[0152] Identify the authorization button in the interface image;
[0153] The control manipulator clicks the authorization button;
[0154] When the authorization button is clicked, obtain the authorization information;
[0155] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0156] When the authorization button is a download authorization button, the authorization information is the download authorization information of the controller upgrade package; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information.
[0157] Optionally, the test module 403 includes:
[0158] A voltage regulation unit for regulating the voltage environment in which the vehicle controller is located according to the upgrade test task information;
[0159] A test unit for performing an upgrade test on the vehicle controller simulated by the LABCAR system in different voltage environments.
[0160] Optionally, the voltage environment in which the vehicle controller is located includes one of the following:
[0161] In the environment where the vehicle is powered off during the upgrade process;
[0162] In the environment where the voltage value is less than a preset value during the upgrade process. It should be noted that the LABCAR system provided by the embodiments of the present invention is a system capable of executing the above test method, so all embodiments of the above test method are applicable to this system and can achieve the same or similar technical effects.
[0163] An embodiment of the present invention further provides a test device, including: a processor, a memory, and a program stored on the memory and executable on the processor, and the program is called by the processor and executes the program and data stored in the memory.
[0164] Specifically, the processor is used for:
[0165] Obtain upgrade test task information through the remote upgrade FOTA platform;
[0166] When the whole vehicle simulated by the LABCAR system is in the powered-on state, obtain authorization information according to the upgrade test task information;
[0167] Perform an upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information;
[0168] Among them, the upgrade test task information includes a controller upgrade package, an upgrade task type, an upgrade method, and an upgrade controller.
[0169] Optionally, the processor is further configured to:
[0170] Obtain test data and test results during the upgrade test process;
[0171] In the case where the test result does not meet the preset result, determine the reason why the test result does not meet the preset result according to the test data.
[0172] Optionally, the test data includes:
[0173] Ethernet data;
[0174] CAN data;
[0175] CANFD data.
[0176] Optionally, the authorization information includes controller upgrade package download authorization information and upgrade authorization information;
[0177] The processor is specifically configured to:
[0178] Obtain the controller upgrade package download authorization information according to the upgrade test task information;
[0179] After downloading and completing the controller upgrade package according to the controller upgrade package download authorization information, obtain the upgrade authorization information.
[0180] Optionally, the authorization information is input by the human-machine interaction module by collecting the interface image of the car machine pop-up screen in the LABCAR system and identifying the authorization button on the interface image, so that the manipulator clicks the authorization button;
[0181] Among them, the authorization button is a download authorization button or an upgrade authorization button;
[0182] When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information;
[0183] The human-machine interaction module is connected to the LABCAR system.
[0184] Optionally, the processor is specifically configured to:
[0185] Collect the interface image of the car machine pop-up screen in the LABCAR system;
[0186] Identify the authorization button in the interface image;
[0187] The control manipulator clicks the authorization button;
[0188] When the authorization button is clicked, obtain the authorization information;
[0189] Wherein, the authorization button is a download authorization button or an upgrade authorization button;
[0190] When the authorization button is a download authorization button, the authorization information is the download authorization information of the controller upgrade package; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information.
[0191] Optionally, the processor is specifically configured to:
[0192] Adjust the voltage environment in which the vehicle controller is located according to the upgrade test task information;
[0193] Perform the upgrade test of the vehicle controller simulated by the LABCAR system under different voltage environments.
[0194] Optionally, the voltage environment in which the vehicle controller is located includes one of the following:
[0195] In the environment where the vehicle is powered off during the upgrade process;
[0196] In the environment where the voltage value is less than the preset value during the upgrade process
[0197] An embodiment of the present invention further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in any one of the above test methods are implemented.
[0198] The above are the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, several improvements and refinements can be made without departing from the principle of the present invention, and these improvements and refinements are also within the protection scope of the present invention.
Claims
1. A testing method, characterized in that, Applied to the LABCAR system, the method includes: Obtaining upgrade test task information through the remote upgrade FOTA platform; When the vehicle simulated by the LABCAR system is in the powered-on state, obtaining authorization information according to the upgrade test task information; According to the upgrade test task information, performing an upgrade test on the vehicle controller simulated by the LABCAR system; wherein, the upgrade test task information includes a controller upgrade package, an upgrade task type, an upgrade method, and an upgrade controller; Wherein, the authorization information includes controller upgrade package download authorization information and upgrade authorization information; The authorization information is input by the human-machine interaction module by collecting the interface image of the in-vehicle pop-up screen in the LABCAR system through a camera, and identifying the authorization button on the interface image, so that the manipulator clicks the authorization button; Wherein, the authorization button is a download authorization button or an upgrade authorization button; When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information; The human-machine interaction module is connected to the LABCAR system.
2. The test method according to claim 1, wherein The method further includes: Obtaining test data and test results during the upgrade test; When the test result does not meet the preset result, determining the reason why the test result does not meet the preset result according to the test data.
3. The test method according to claim 2, characterized in that, The test data includes: Ethernet data; CAN data; CANFD data.
4. The test method according to claim 1, wherein Obtaining authorization information according to the upgrade test task information includes: Obtaining the controller upgrade package download authorization information according to the upgrade test task information; After downloading and completing the controller upgrade package according to the controller upgrade package download authorization information, obtaining the upgrade authorization information.
5. The test method according to claim 1, wherein Obtaining authorization information includes: Collecting the interface image of the in-vehicle pop-up screen in the LABCAR system; Identifying the authorization button in the interface image; Controlling the manipulator to click the authorization button; When the authorization button is clicked, obtaining the authorization information; Wherein, the authorization button is a download authorization button or an upgrade authorization button; When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information.
6. The test method according to claim 1, characterized in that Performing an upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information includes: Adjusting the voltage environment in which the vehicle controller is located according to the upgrade test task information; Performing an upgrade test on the vehicle controller simulated by the LABCAR system under different voltage environments.
7. The test method according to claim 6, characterized in that, The voltage environment in which the vehicle controller is located includes one of the following: In the environment where the vehicle is powered off during the upgrade process; In the environment where the voltage value is less than the preset value during the upgrade process.
8. An LABCAR system, characterized in that, The system includes: A task acquisition module for obtaining upgrade test task information through the remote upgrade FOTA platform; An authorization module, configured to obtain authorization information according to the upgrade test task information when the whole vehicle simulated by the LABCAR system is powered on; A test module, configured to perform an upgrade test on the vehicle controller simulated by the LABCAR system according to the upgrade test task information; wherein, the upgrade test task information includes a controller upgrade package, an upgrade task type, an upgrade method, and an upgrade controller; Wherein, the authorization information includes controller upgrade package download authorization information and upgrade authorization information; The authorization information is input by the human-machine interaction module by collecting the interface image of the in-vehicle pop-up screen in the LABCAR system through a camera, identifying the authorization button on the interface image, and enabling the manipulator to click the authorization button; Wherein, the authorization button is a download authorization button or an upgrade authorization button; When the authorization button is a download authorization button, the authorization information is the controller upgrade package download authorization information; when the authorization button is an upgrade authorization button, the authorization information is the upgrade authorization information; The human-machine interaction module is connected to the LABCAR system.
9. A test device, characterized in that, Including: A processor, a memory, and a program stored on the memory and executable on the processor, where the program, when executed by the processor, implements the steps of the test method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that, A program is stored on the readable storage medium, and when the program is executed by the processor, it implements the steps in the test method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Electric automobile vehicle controller test method and system
CN104850112A
Vehicle controller software upgrading test system and vehicle
CN110727255A
Remote upgrade control method and device and automobile
CN113676500A