Vehicle OTA test method and system

By dividing the electronic control unit into a main control group and a non-main control group, and testing and corrections are carried out in parallel during OTA testing, the problems of long OTA testing cycle and low efficiency are solved, and the effect of improving the efficiency of OTA testing is achieved.

CN119556681APending Publication Date: 2025-03-04ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411812578.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the prior art, the OTA test cycle is very long and the overall test efficiency is not high.

Method used

The electronic control unit is divided into a main control group and a non-main control group. During OTA testing, the main control group and the non-main control group conduct different tests and corrections in parallel, and the correction times are staggered.

Benefits of technology

It saves overall correction time during the test process, improves OTA testing efficiency, and solves the problem of long OTA testing cycle and low overall testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556681A_ABST
    Figure CN119556681A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle OTA test method and system, and the method comprises the steps: dividing all electronic control units into a main control group and a non-main control group according to whether the electronic control units belong to a main control node or not; and during the OTA test, the main control group and the non-main control group perform different tests and corrections in parallel. According to whether the electronic control units belong to the main control nodes or not, the electronic control units are divided into the main control groups and the non-main control groups, all the in-vehicle electronic control units are decoupled and divided, different groups are subjected to different tests in parallel during OTA testing, the correction time is staggered, the overall correction time in the testing process is saved, and the testing efficiency is improved. The technical effect of improving the OTA test efficiency can be achieved, and then the problems that the OTA test period is very long, and the overall test efficiency is not high are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and more specifically, to an OTA testing method and system for a vehicle. Background Art

[0002] OTA (Over the Air Technology) is a technology for remote firmware or software upgrades through the air interface of mobile communications. It is mainly used for remote vulnerability repair and adding new functional experience to users on the whole vehicle. Under the trend of "software-defined cars", automotive OTA upgrades are becoming more and more important in the whole life cycle of vehicles, and the frequency of upgrades is increasing. Based on this, OEMs need to invent an OTA test method and system to fully verify the security and stability of OTA upgrade activities.

[0003] With the development of intelligent cars, the update and upgrade of car software has become more and more frequent. OTA upgrade technology allows car manufacturers to push software updates to vehicles via wireless networks, providing users with more convenient services and better driving experience. However, various problems may occur during the OTA upgrade process, such as upgrade failure, functional abnormality, etc., so strict testing of car OTA upgrades is required. At present, there are problems such as long OTA test cycle and low overall test efficiency. Summary of the invention

[0004] The present application provides a vehicle OTA testing method and system, which divides the electronic control unit into a main control group and a non-main control group according to whether the electronic control unit belongs to a main control node, decouples and divides all the electronic control units in the vehicle, and during OTA testing, different groups perform different tests in parallel, and the correction times are staggered, which saves the overall correction time in the testing process, and can achieve the technical effect of improving OTA testing efficiency, thereby solving the problem of long OTA testing cycle and low overall testing efficiency.

[0005] The present application provides an OTA testing method for a vehicle, including:

[0006] According to whether the electronic control unit belongs to the master control node, all electronic control units are divided into a master control group and a non-master control group;

[0007] During OTA testing, the main control group and non-main control group perform different tests and corrections in parallel.

[0008] Preferably, before the OTA test, the following steps are also included:

[0009] Perform boot program flash test on the electronic control unit;

[0010] Sort the electronic control units according to the test results of the bootloader flash test;

[0011] Perform OTA testing on the electronic control units according to the sorted groups.

[0012] Preferably, the electronic control units are sorted according to the test results of the boot program flashing test, specifically including:

[0013] Put the master control group first, and then sort the electronic control units in the non-master control group according to the test results of the boot program flash test.

[0014] Preferably, the electronic control unit is subjected to three boot program flashing tests.

[0015] Preferably, during OTA testing, the main control group is first tested for OTA. If a problem occurs during the debugging of the main control node, the main control node is corrected, and during the correction of the main control node, the electronic control unit of the non-main control group is tested for OTA.

[0016] The present application also provides an OTA test system for a vehicle, comprising a first grouping module and a test module;

[0017] The first grouping module is used to divide all electronic control units into a main control group and a non-main control group according to whether the electronic control unit belongs to a main control node;

[0018] The test module is used to perform different tests and corrections in parallel for the main control group and the non-main control group during OTA testing.

[0019] Preferably, the vehicle OTA test system further includes a boot flash test module and a sorting module;

[0020] The boot flash test module is used to perform a boot program flash test on the electronic control unit before OTA testing;

[0021] The sorting module is used to sort the electronic control units according to the test results of the boot program flashing test; and,

[0022] The test module is used to perform OTA testing on the electronic control units according to the sorted groups.

[0023] Preferably, the sorting module is used to sort the master control group to the first place, and then sort the non-master control group according to the test result of the boot program flashing test.

[0024] Preferably, the boot program flashing test module is used to perform three boot program flashing tests on the electronic control unit.

[0025] Preferably, the test module is used to perform OTA test on the master control group first. If a problem occurs during the debugging of the master control node, the master control node is corrected, and OTA test is performed on the electronic control unit of the non-master control group during the correction of the master control node.

[0026] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.

[0028] Figure 1 A flow chart of the OTA testing method for a vehicle provided in this application;

[0029] Figure 2 This is a structural diagram of the vehicle OTA testing method system provided in this application. DETAILED DESCRIPTION

[0030] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0031] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.

[0032] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0033] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0034] The present application provides a vehicle OTA testing method and system, which divides the electronic control unit into a main control group and a non-main control group according to whether the electronic control unit belongs to a main control node, decouples and divides all the electronic control units in the vehicle, and during OTA testing, different groups perform different tests in parallel, and the correction times are staggered, which saves the overall correction time in the testing process, and can achieve the technical effect of improving OTA testing efficiency, thereby solving the problem of long OTA testing cycle and low overall testing efficiency.

[0035] During OTA testing, various components are reasonably combined together to complete functions such as command interaction, data sending, data receiving, sample testing, error analysis, and report download between each component and the control unit, thereby realizing automobile OTA single-piece, real-vehicle OTA system, and OTA bench testing.

[0036] (1) Prepare the test environment: Build an automotive OTA upgrade test platform, including simulated vehicles, OTA servers, network equipment, etc.

[0037] (2) Develop a test plan: Develop a detailed test plan based on the functions and requirements of the vehicle OTA upgrade, including test cases, test scenarios, test steps, etc.

[0038] (3) Perform functional testing: According to the test plan, test the functions of the car OTA upgrade, including the upgrade process, upgrade success rate, upgrade time, whether the functions after the upgrade are normal, etc.

[0039] (4) Perform performance testing: Test the performance of the car's OTA upgrade, including network bandwidth usage, server load, upgrade speed, etc.

[0040] (5) Conduct compatibility testing: Test the compatibility of car OTA upgrades with different car models and different software versions. (6) Conduct security testing: Test the security of car OTA upgrades, including data encryption, identity authentication, and prevention of malicious attacks.

[0041] (7) Analyze test results: Analyze the test results, identify problems and deficiencies, and make suggestions for improvement.

[0042] (8) Write a test report: Based on the test results, write a detailed test report, including the test purpose, test method, test results, problem analysis and improvement suggestions, etc.

[0043] Based on the above OTA test, there are problems such as long OTA test cycle and low overall test efficiency.

[0044] Based on this technical problem, such as Figure 1 As shown, the OTA testing method for a vehicle provided by the present application includes:

[0045] S110: Divide all electronic control units into a master control group and a non-master control group according to whether the electronic control units belong to the master control node.

[0046] Specifically, the Electronic Control Unit (ECU) is a microcomputer controller for automobiles. Like ordinary computers, it consists of a microprocessor (CPU), memory (ROM, RAM), input / output interface (I / O), analog-to-digital converter (A / D), and large-scale integrated circuits such as shaping and driving. The master control node is the OTA test master control node, which can include a T-BOX (vehicle information box) controller and an IVI (in-vehicle screen) controller; that is, the T-BOX controller and IVI controller in the car are taken as one group (master control group), and other electronic control units in the car are taken as another group (non-master control group).

[0047] It should be noted that, through step 110, all the in-vehicle electronic control units can be decoupled and divided into at least two groups, so as to perform group OTA testing on them later.

[0048] S120: During OTA testing, the main control group and the non-main control group perform different tests and corrections in parallel.

[0049] Specifically, as an embodiment, the main control group can be first tested OTA. If a problem occurs during the debugging of the main control node in the main control group, the main control node is corrected, and the electronic control unit of the non-main control group is tested OTA during the correction of the main control node. In this way, the correction time of the main control node can be staggered with the correction time of the electronic control unit, saving the overall correction time during the test process, improving the OTA test efficiency, and solving the problem of long OTA test cycle and low overall test efficiency.

[0050] As another embodiment, after grouping, different groups perform bench testing and vehicle testing in parallel. For example, the main control group performs vehicle testing while the non-main control group performs bench testing, or the non-main control group performs vehicle testing while the main control group performs bench testing. The two are performed in parallel, thereby saving the overall time of OTA testing, improving OTA testing efficiency, and solving the problem of long OTA testing cycle and low overall testing efficiency.

[0051] On the basis of the above, preferably, before the OTA test, the following is also included:

[0052] P1: Perform boot program flash test on the electronic control unit.

[0053] Preferably, the electronic control unit is subjected to three boot program flashing tests.

[0054] P2: Sort the electronic control units according to the test results of the bootloader flash test.

[0055] Specifically, the main control group may be ranked first, and then the electronic control units in the non-main control group may be ranked according to the test result of the boot program flashing test.

[0056] On this basis, in S120, OTA testing is performed on the electronic control units according to the sorted groups.

[0057] The OTA test efficiency is improved by sequencing the arrangements for testing each electronic control unit and combining it with a parallel strategy.

[0058] On the basis of the above, preferably, the vehicle OTA testing method further includes:

[0059] Before OTA testing, the master control group and non-master control group are divided into multiple CAN bus groups according to the CAN bus to which the electronic control unit belongs. During OTA testing, the groups under different CAN buses are corrected and debugged in turn.

[0060] Specifically, the CAN (Controller Area Network) bus is one of the most widely used field buses in the world. It is valued for its high reliability and good error detection capabilities, and is widely used in automotive computer control systems and industrial environments with harsh ambient temperatures, strong electromagnetic radiation and high vibrations. The electronic control units of non-master control nodes are usually distributed on different CAN buses in the car. Depending on the CAN buses to which the electronic control units belong, the electronic control units can be divided into multiple different groups.

[0061] More preferably, the vehicle OTA testing method further includes: based on whether there is a signal interaction logic between the electronic control units, further dividing the electronic control units divided based on the CAN bus to which the electronic control units belong.

[0062] It should be noted that, through the above possible implementation methods, the electronic control unit that needs to be tested OTA can be further decoupled and divided into multiple different groups. During the OTA test process, the correction and debugging of these groups can be carried out in sequence, further shortening the OTA test time.

[0063] Based on the above, if Figure 2 As shown, the present application also provides an OTA testing system for a vehicle, including a first grouping module 210 and a testing module 220 .

[0064] The first grouping module 210 is used to divide all electronic control units into a master control group and a non-master control group according to whether the electronic control unit belongs to a master control node.

[0065] The test module 220 is used for performing different tests and corrections in parallel on the master control group and the non-master control group during OTA testing.

[0066] Preferably, the vehicle OTA test system further includes a boot flash test module 230 and a sequencing module 240 .

[0067] The boot program flashing test module 230 is used to perform a boot program flashing test on the electronic control unit before the OTA test.

[0068] The sorting module 240 is used to sort the electronic control units according to the test results of the boot program flashing test.

[0069] The testing module 220 is used to perform OTA testing on the electronic control units according to the sorted groups.

[0070] Preferably, the sorting module 240 is used to sort the master control group to the first place, and then sort the non-master control group according to the test result of the boot program flashing test.

[0071] Preferably, the boot program flashing test module 230 is used to perform three boot program flashing tests on the electronic control unit.

[0072] Preferably, the test module 220 is used to perform OTA testing on the master control group first. If a problem occurs during the debugging of the master control node, the master control node is corrected, and OTA testing is performed on the electronic control units of the non-master control group during the correction of the master control node.

[0073] Preferably, the vehicle OTA test system further includes a second grouping module 250, which is used to divide the main control group and the non-main control group into multiple groups under the CAN bus according to the CAN bus to which the electronic control unit belongs before the OTA test.

[0074] Preferably, the test module 220 is used to correct and debug the groups under different CAN buses in sequence during OTA testing.

[0075] Preferably, the vehicle OTA test system further includes a third grouping module 260, and the third grouping module 260 is used to further divide the electronic control units divided based on the CAN bus to which the electronic control units belong, based on whether there is signal interaction logic between the electronic control units.

[0076] The present application divides the electronic control units into main control groups and non-main control groups according to whether they belong to the main control nodes, and performs OTA testing on the electronic control units according to the groups, thereby decoupling and segmenting all the electronic control units in the vehicle. By performing OTA testing on the electronic control units according to the groups, the correction time of the main control node can be staggered with the correction time of the electronic control unit, saving the overall correction time in the testing process, solving the problems of long OTA testing cycle and low overall testing efficiency, improving the reliability and stability of automobile OTA upgrades, reducing the risks of upgrade failures and functional abnormalities, and improving the quality and efficiency of software development for automobile manufacturers, reducing software development costs, and providing users with more convenient services and a better driving experience.

[0077] Although some specific embodiments of the present application have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are only for illustration, not for limiting the scope of the present application. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present application. The scope of the present application is defined by the appended claims.

Claims

1. A vehicle OTA testing method, characterized in that: include: According to whether the electronic control unit belongs to the master control node, all electronic control units are divided into a master control group and a non-master control group; During OTA testing, the main control group and non-main control group perform different tests and corrections in parallel.

2. The vehicle OTA testing method according to claim 1, characterized in that: Before OTA testing, it also includes: Perform boot program flash test on the electronic control unit; Sort the electronic control units according to the test results of the bootloader flash test; Perform OTA testing on the electronic control units according to the sorted groups.

3. The vehicle OTA testing method according to claim 2, characterized in that: The electronic control units are sorted according to the test results of the bootloader flash test, including: Put the master control group first, and then sort the electronic control units in the non-master control group according to the test results of the boot program flash test.

4. The vehicle OTA testing method according to claim 2, characterized in that: Perform three bootloader flash tests on the electronic control unit.

5. The vehicle OTA testing method according to claim 1, characterized in that: During OTA testing, the main control group is tested first. If a problem occurs during the debugging of the main control node, the main control node is corrected. During the correction of the main control node, the electronic control unit of the non-main control group is tested OTA.

6. A vehicle OTA test system, characterized in that: comprising a first grouping module and a testing module; The first grouping module is used to divide all electronic control units into a main control group and a non-main control group according to whether the electronic control unit belongs to a main control node; The test module is used for performing different tests and corrections in parallel on the main control group and the non-main control group during OTA testing.

7. The vehicle OTA test system according to claim 6, characterized in that: It also includes a boot flash test module and a sorting module; The boot flash test module is used to perform a boot program flash test on the electronic control unit before the OTA test; The sorting module is used to sort the electronic control units according to the test results of the boot program flashing test; and The test module is used to perform OTA testing on the electronic control unit according to the sorted groups.

8. The vehicle OTA test system according to claim 7, characterized in that: The sorting module is used to sort the master control group to the first place, and then sort the non-master control group according to the test result of the boot program flashing test.

9. The vehicle OTA test system according to claim 7, characterized in that: The boot program flashing test module is used to perform three boot program flashing tests on the electronic control unit.

10. The vehicle OTA test system according to claim 6, characterized in that: The test module is used to first perform an OTA test on the main control group. If a problem occurs during the debugging of the main control node, the main control node is corrected, and an OTA test is performed on the electronic control unit of the non-main control group during the correction of the main control node.