A vehicle OTA method and storage medium taking into account performance testing

By coordinating the remote control platform with the vehicle and using the test software package for performance testing, the problem of uncontrollable performance during the vehicle OTA upgrade process was solved, and the synchronization of performance testing and upgrade was achieved, ensuring the smooth progress of OTA upgrades and driving safety.

CN116668432BActive Publication Date: 2025-09-16CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310772670.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2025-09-16
Estimated Expiration
2043-06-27

AI Technical Summary

Technical Problem

In existing technologies, the performance of vehicles cannot be effectively controlled during OTA upgrades, resulting in an increased risk of vehicle failure.

Method used

Through the cooperation between the remote control platform and the target vehicle, the upgrade test task is performed using the test software package, and the test results of the performance indicators are recorded. The software upgrade package is only issued when the test is qualified to complete the OTA upgrade of the on-board target controller.

Benefits of technology

It achieves performance control during the OTA upgrade process, ensures smooth upgrades, prevents vehicle failures due to insufficient performance, and improves the success rate of OTA upgrades and driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116668432B_ABST
    Figure CN116668432B_ABST
Patent Text Reader

Abstract

The present invention relates to a vehicle OTA method and storage medium that takes into account performance testing, and relates to the field of OTA upgrade test technology. The method includes: a remote control platform sends a first control signal to instruct a target vehicle to perform a self-test and obtain the current vehicle information of the target vehicle; the remote control platform generates an OTA upgrade plan based on the vehicle information and determines the upgrade test task; the on-board information terminal responds to a second control signal sent by the remote control platform, putting it in a high-load state and obtaining the upgrade test task; the remote control platform mounts a test software package and sends it to the target vehicle, and the target vehicle performs a performance test according to the upgrade test task and records the test results of the performance index items; when the test results are qualified, the remote control platform sends a software upgrade package to the target vehicle according to the OTA upgrade plan to complete the OTA upgrade of the on-board target controller. Compared with the existing technology, the present invention can achieve performance control during the OTA upgrade process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of OTA upgrade testing, and in particular to a vehicle OTA method and storage medium that take into account performance testing. Background Art

[0002] With the continuous development of intelligent connected vehicles and the increasing adoption of intelligent and electrified technologies, the use of OTA (Over-the-Air Technology)—wireless system upgrades via mobile communications—is becoming increasingly common, driving a significant portion of the costs invested by automakers. Especially with the increasing pace of vehicle feature version updates and the increasing number of new features, the performance of vehicle OTA upgrades is of particular concern to major automakers.

[0003] The existing technology proposes a vehicle OTA whole vehicle version upgrade method, which includes creating a whole vehicle version, obtaining the whole vehicle version and the software versions of all ECUs under it based on the vehicle model; configuring the whole vehicle version task and publishing it on the OTA platform; and performing a vehicle detection upgrade. After the vehicle detects the new whole vehicle version on the OTA platform, it displays the corresponding whole vehicle version number on the user and vehicle sides after the upgrade is successful, and creates the corresponding whole vehicle version on the OTA platform based on the vehicle model. However, this existing technology suffers from the problem of uncontrollable performance during the vehicle OTA upgrade process. Summary of the Invention

[0004] One of the purposes of the present invention is to provide a vehicle OTA method that takes performance testing into consideration, so as to solve the problem in the prior art that OTA performance testing of the vehicle is not performed, resulting in the inability to control performance during the OTA upgrade process; the second purpose is to provide a computer-readable storage medium.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] First, a vehicle OTA method that takes into account performance testing includes:

[0007] The remote control platform sends a first control signal to the target vehicle, causing the target vehicle to perform a self-check and obtain current vehicle information of the target vehicle; wherein the vehicle information includes a hardware part number and corresponding version information, and / or a software part number and corresponding version information;

[0008] The remote control platform generates an OTA upgrade plan based on the vehicle information and determines an upgrade test task based on the OTA upgrade plan; wherein the OTA upgrade plan includes information about an onboard target controller and a software upgrade package; and the upgrade test task includes information about at least one test target controller, a test software package, and its corresponding test target version information.

[0009] The vehicle information terminal (THU) responds to the second control signal sent by the remote control platform, puts itself in a high-load state, and obtains the upgrade test task;

[0010] The remote control platform mounts the test software package and sends it to the target vehicle. The target vehicle performs a performance test according to the upgrade test task based on the test target controller and the test target version information, and records the test results of the performance indicators.

[0011] When the test result is qualified, the remote control platform sends the software upgrade package to the target vehicle according to the OTA upgrade plan to complete the OTA upgrade of the on-board target controller; when the test result is unqualified, the remote control platform does not send the software upgrade package.

[0012] In a second aspect, a computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the method described in the first aspect.

[0013] Beneficial effects of the present invention:

[0014] This invention, through collaboration between a remote control platform and the target vehicle, executes upgrade testing tasks based on a test software package, completing performance testing during the OTA upgrade process. This effectively manages performance during the OTA upgrade process, ensuring smooth OTA upgrades and preventing vehicle failures caused by unexpected performance deficiencies during the upgrade process, which could impact driving safety. Compared to existing technologies, this invention offers a higher OTA upgrade success rate and allows performance evaluation to be completed during the upgrade process. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 Schematic diagram of the process of the method described in Example 1 of the present invention;

[0016] Figure 2 Schematic diagram of the performance test process of Example 1 of the present invention. DETAILED DESCRIPTION

[0017] 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 terms used in this way can be interchangeable under appropriate circumstances, and this is merely a way of distinguishing the objects of the same attributes when describing them in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0018] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.

[0019] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.

[0020] It is understandable to those skilled in the art that some well-known structures and descriptions thereof may be omitted in the drawings.

[0021] The technical solution of the present invention is further described below with reference to the accompanying drawings and embodiments.

[0022] Example 1

[0023] This embodiment proposes a vehicle OTA method that takes into account performance testing. Figure 1 ,include:

[0024] The remote control platform sends a first control signal to the target vehicle, causing the target vehicle to perform a self-check and obtain current vehicle information of the target vehicle; wherein the vehicle information includes a hardware part number and corresponding version information, and / or a software part number and corresponding version information;

[0025] The remote control platform generates an OTA upgrade plan based on the vehicle information and determines an upgrade test task based on the OTA upgrade plan; wherein the OTA upgrade plan includes information of an onboard target controller and a software upgrade package; and the upgrade test task includes information of at least one test target controller, a test software package, and corresponding test target version information;

[0026] The in-vehicle information terminal responds to the second control signal sent by the remote control platform, puts itself in a high-load state, and obtains the upgrade test task;

[0027] The remote control platform mounts the test software package and sends it to the target vehicle. The target vehicle performs a performance test according to the upgrade test task based on the test target controller and the test target version information, and records the test results of the performance indicators.

[0028] When the test result is qualified, the remote control platform sends the software upgrade package to the target vehicle according to the OTA upgrade plan to complete the OTA upgrade of the on-board target controller; when the test result is unqualified, the remote control platform does not send the software upgrade package.

[0029] This embodiment performs upgrade test tasks based on the test software package through the cooperation between the remote control platform and the target vehicle, and completes performance testing during the OTA upgrade process. It can effectively realize performance management and control during the OTA upgrade process, and ensure the smooth progress of the OTA upgrade, preventing vehicle failures caused by unexpected performance deficiencies during the upgrade process, thereby affecting driving safety. It is particularly suitable for the field of autonomous driving with rapid iterative updates.

[0030] Those skilled in the art should understand that the in-vehicle information terminal is provided on the target vehicle.

[0031] As non-limiting examples, the vehicle-mounted target controller includes but is not limited to a GW gateway controller and an IBCM body controller.

[0032] It should be noted that the test target controller can be one or more of the on-board target controllers of this OTA upgrade; the test software package can be applicable to one or more test target controllers and can be set by technical personnel in this field according to actual conditions.

[0033] Those skilled in the art should understand that before performing OTA-related tasks on a target vehicle, the target vehicle and its in-vehicle information terminal should be in a startup state.

[0034] In some examples, the in-vehicle information terminal is placed in a high-load state by enabling functions such as voice interaction, map positioning navigation, and / or online music playback.

[0035] In some examples, the remote control platform is a cloud server;

[0036] In some examples, the remote control platform is a local computer;

[0037] In other examples, the remote control platform is implemented using CANoe5640.

[0038] In some examples, for the same on-vehicle target controller, the test software package is consistent with the software upgrade package used during the official upgrade;

[0039] In other examples, for the same vehicle-mounted target controller, the test software package and the software upgrade package are different, and their small size facilitates the rapid completion of the performance testing process.

[0040] In a preferred embodiment, the performing of performance testing according to the upgrade test task includes at least one of the following:

[0041] Download test: The in-vehicle information terminal downloads the test upgrade package from the remote control platform, records the download time in the test log, and checks whether the downloaded file is complete; if so, no download exception is recorded in the test log; otherwise, a download exception is recorded in the test log;

[0042] Deployment test: the in-vehicle information terminal deploys the test upgrade package to the test target controller according to the upgrade test task, and records the deployment time in the test log;

[0043] Installation test: The test target controller responds to a third control signal from the in-vehicle information terminal to install the test upgrade package, and the in-vehicle information terminal records the installation time in the test log based on CAN (Controller Area Network) communication protocol message information. After the installation is complete, the target vehicle performs a self-test and obtains version information of the test target controller, which is recorded in the test log.

[0044] After completing at least one of the above, the remote control platform determines whether the test result meets the preset conditions based on the test log: if so, the test result is considered qualified; otherwise, the test result is considered unqualified and the software upgrade package is not sent to the target vehicle.

[0045] In some examples, the performance test includes download test, deployment test and installation test in sequence, see Figure 2 ;

[0046] In some examples, the performance test sequentially includes a download test and an installation test;

[0047] In other examples, the performance testing includes a download test.

[0048] In an optional embodiment, the recording of the installation time based on the CAN communication protocol message information is specifically:

[0049] The in-vehicle information terminal records a first message time when the first frame of the first message is received, and records a second message time when the first frame of the second message is received; wherein the first message is used to indicate the start of the flashing task for the test upgrade package, and the second message is used to indicate the end of the flashing task for the test upgrade package;

[0050] The installation time is calculated according to the difference between the second message time and the first message time, and recorded in the test log.

[0051] In some examples, the first message is 023E80 and the second message is 0414FFF; those skilled in the art should understand that in this optional embodiment, the installation time = the second message time (0414FFF first frame) - the first message time (023E80 first frame).

[0052] In an optional embodiment, the preset condition includes at least one of the following:

[0053] (1) The download time does not exceed a fourth preset threshold;

[0054] (2) There are no download anomalies;

[0055] (3) the download rate is not less than the fifth preset threshold;

[0056] (4) the deployment time does not exceed a sixth preset threshold;

[0057] (5) the installation time does not exceed a seventh preset threshold;

[0058] (6) After the installation is completed, the version information of the test target controller is consistent with the version information of the test target;

[0059] If the preset conditions are met, the test result is deemed qualified and the performance test is terminated; if the preset conditions are not met, the test result is deemed unqualified and the performance test is terminated.

[0060] As a non-limiting example, the download rate is calculated based on the size of the test software package and the download time, that is, download rate = size of the test software package / download time.

[0061] In some examples, the preset conditions include (2) the absence of download anomalies;

[0062] In other examples, the preset conditions include (2) there is no download anomaly, (4) the deployment time does not exceed a sixth preset threshold, (5) the installation time does not exceed a seventh preset threshold, and (6) after the installation is completed, the version information of the test target controller is consistent with the test target version information.

[0063] In an optional embodiment, before the installation test, the in-vehicle information terminal pushes to the user immediate upgrade information for immediate installation, off-vehicle upgrade information for installation when the user is not using the vehicle, and / or scheduled upgrade information for installation at a time specified by the user;

[0064] The in-vehicle information terminal generates a third control signal according to the immediate upgrade information, the off-vehicle upgrade information or the scheduled upgrade information fed back by the user.

[0065] It should be noted that the information fed back by the user includes one of the immediate upgrade information, the off-vehicle upgrade information and the scheduled upgrade information, so as to avoid logic conflicts causing target vehicle failures.

[0066] In a preferred embodiment, the method further includes detecting a communication environment state of the target vehicle before the remote control platform sends the first control signal to the target vehicle, specifically:

[0067] Detect the type of communication network currently available to the target vehicle:

[0068] For the cellular network, determine whether the target vehicle is equipped with a vehicle-machine Internet of Things card and whether the cellular network coverage strength is greater than a first preset threshold. If so, determine whether the available traffic of the vehicle-machine Internet of Things card is greater than a second preset threshold. If it is greater than the second preset threshold, the cellular network communication environment is considered to be in a normal state; otherwise, the cellular network communication environment is considered to be in an abnormal state.

[0069] For the wireless local area network, determining whether the target vehicle can connect to the remote control platform through the current wireless local area network and whether the wireless local area network coverage strength is greater than a third preset threshold: if so, the wireless local area network communication environment is considered to be in a normal state; otherwise, the wireless local area network communication environment is considered to be in an abnormal state;

[0070] When either the cellular network communication environment or the wireless local area network communication environment is in a normal state, it is considered that the communication environment state of the target vehicle is normal.

[0071] It should be noted that due to the influence of the vehicle shell, windows, floor, etc., the communication environment status of the vehicle varies greatly in different locations and external environments, which may affect the smooth progress of the OTA task of the entire vehicle, such as affecting the information transmission between the remote control platform and the target vehicle, and then causing unexpected failures. Therefore, the communication environment status of the target vehicle should be tested before performing OTA related tasks.

[0072] In some examples, the first preset threshold value for the cellular network coverage strength is -90 dBm;

[0073] In other examples, the third preset threshold for the wireless local area network coverage strength is -90dbm.

[0074] In a preferred embodiment, the method further includes: after completing the recording of the test results, the remote control platform sends a rollback software package to the target vehicle based on the vehicle information, so that the version information of the target vehicle is rolled back to the version before the performance test.

[0075] In an optional embodiment, after the rollback operation is completed, the performance test is repeated a preset number of times.

[0076] In some examples, the performance test is repeated 5 times.

[0077] Furthermore, the remote control platform generates a visual chart based on the received test log.

[0078] In a preferred embodiment, before the remote control platform sends the first control signal to the target vehicle, the remote control platform performs signature authentication on the in-vehicle information terminal.

[0079] This preferred embodiment improves the security of the OTA process including performance testing through signature authentication.

[0080] In a preferred embodiment, the method further includes: performing an OTA functional logic test on the target vehicle before detecting the communication environment status of the target vehicle.

[0081] Example 2

[0082] This embodiment proposes a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement all or part of the steps of the method described in Example 1.

[0083] Exemplarily, the storage medium includes, but is not limited to, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.

[0084] Exemplarily, the instructions, program, code set or instruction set may be implemented using a programming language such as Java, Python, C++, R, or Golang.

[0085] Exemplarily, the processor includes but is not limited to a smart phone, a personal computer, a server, a network device, etc., and is used to execute all or part of the steps of the method described in Example 1.

[0086] It can be understood that the options in the above embodiment 1 are also applicable to this embodiment, so they will not be described again here.

[0087] This embodiment also provides a car, including a car body, on which the above-mentioned storage medium is provided.

[0088] Example 3

[0089] This embodiment proposes an electronic device, including a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement all or part of the steps of the method described in Example 1.

[0090] It can be understood that the options in the above embodiment 1 are also applicable to this embodiment, so they will not be described again here.

[0091] The same or similar reference numerals correspond to the same or similar components;

[0092] The terms used in the drawings to describe positional relationships are for illustrative purposes only and should not be construed as limiting this patent;

[0093] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. For ordinary technicians in the field, other different forms of changes or modifications can be made on the basis of the above description. Each functional module or unit can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. It is not necessary and impossible to list all the implementation methods here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A vehicle OTA method that takes into account performance testing, characterized in that: include: The remote control platform sends a first control signal to the target vehicle, causing the target vehicle to perform a self-check and obtain current vehicle information of the target vehicle; wherein the vehicle information includes a hardware part number and its corresponding version information, and / or a software part number and its corresponding version information; The remote control platform generates an OTA upgrade plan based on the vehicle information and determines an upgrade test task based on the OTA upgrade plan; wherein the OTA upgrade plan includes information of an onboard target controller and a software upgrade package; and the upgrade test task includes information of at least one test target controller, a test software package, and its corresponding test target version information; The in-vehicle information terminal responds to the second control signal sent by the remote control platform, puts itself in a high-load state, and obtains the upgrade test task; The remote control platform mounts the test software package and sends it to the target vehicle. The target vehicle performs a performance test according to the upgrade test task based on the test target controller and the test target version information, and records the test results of the performance indicators. When the test result is qualified, the remote control platform sends the software upgrade package to the target vehicle according to the OTA upgrade plan to complete the OTA upgrade of the on-board target controller; when the test result is unqualified, the remote control platform does not send the software upgrade package.

2. The vehicle OTA method taking into account performance testing according to claim 1, characterized in that: The performing of a performance test according to the upgrade test task includes at least one of the following: Download test: The in-vehicle information terminal downloads the test software package from the remote control platform, records the download time in the test log, and checks whether the downloaded file is complete; if so, no download anomaly is recorded in the test log; otherwise, a download anomaly is recorded in the test log; Deployment test: the in-vehicle information terminal deploys the test software package to the test target controller according to the upgrade test task, and records the deployment time in the test log; Installation test: The test target controller responds to the third control signal of the in-vehicle information terminal to install the test software package, and the in-vehicle information terminal records the installation time in the test log based on the CAN communication protocol message information; after the installation is completed, the target vehicle performs a self-test and obtains version information of the test target controller and records it in the test log; After completing at least one of the above, the remote control platform determines whether the test result meets the preset conditions based on the test log: if so, the test result is considered qualified; otherwise, the test result is considered unqualified and the software upgrade package is not sent to the target vehicle.

3. The vehicle OTA method taking into account performance testing according to claim 2, characterized in that: The installation time is recorded based on the CAN communication protocol message information, specifically: The in-vehicle information terminal records a first message time when the first frame of the first message is received, and records a second message time when the first frame of the second message is received; wherein the first message is used to indicate the start of the flashing task for the test software package, and the second message is used to indicate the end of the flashing task for the test software package; The installation time is calculated according to the difference between the second message time and the first message time, and recorded in the test log.

4. The vehicle OTA method taking into account performance testing according to claim 2, characterized in that: The preset conditions include at least one of the following: (1) The download time does not exceed a fourth preset threshold; (2) There are no download anomalies; (3) The download rate is not less than the fifth preset threshold; (4) The deployment time does not exceed the sixth preset threshold; (5) The installation time does not exceed the seventh preset threshold; (6) After the installation is completed, the version information of the test target controller is consistent with the version information of the test target; If the preset conditions are met, the test result is deemed qualified and the performance test is terminated; if the preset conditions are not met, the test result is deemed unqualified and the performance test is terminated.

5. The vehicle OTA method taking into account performance testing according to claim 2, characterized in that: Also includes: Prior to the installation test, the in-vehicle information terminal pushes to the user immediate upgrade information for immediate installation, off-vehicle upgrade information for installation while the user is not using the vehicle, and / or scheduled upgrade information for installation at a time specified by the user; The in-vehicle information terminal generates a third control signal according to the immediate upgrade information, the off-vehicle upgrade information or the scheduled upgrade information fed back by the user.

6. The vehicle OTA method taking into account performance testing according to claim 1, characterized in that: The method further includes detecting a communication environment state of the target vehicle before the remote control platform sends the first control signal to the target vehicle, specifically: Detect the type of communication network currently available to the target vehicle: For the cellular network, determine whether the target vehicle is equipped with a vehicle-machine Internet of Things card and whether the cellular network coverage strength is greater than a first preset threshold. If so, determine whether the available traffic of the vehicle-machine Internet of Things card is greater than a second preset threshold. If it is greater than the second preset threshold, the cellular network communication environment is considered to be in a normal state; otherwise, the cellular network communication environment is considered to be in an abnormal state. For the wireless local area network, determining whether the target vehicle can connect to the remote control platform through the current wireless local area network and whether the wireless local area network coverage strength is greater than a third preset threshold: if so, the wireless local area network communication environment is considered to be in a normal state; otherwise, the wireless local area network communication environment is considered to be in an abnormal state; When either the cellular network communication environment or the wireless local area network communication environment is in a normal state, it is considered that the communication environment state of the target vehicle is normal.

7. The vehicle OTA method taking into account performance testing according to claim 1, characterized in that: Also includes: After completing the recording of the test results, the remote control platform sends a rollback software package to the target vehicle based on the vehicle information, so that the version information of the target vehicle is rolled back to the version before the performance test.

8. The vehicle OTA method taking into account performance testing according to claim 7, characterized in that: Also includes: After the rollback operation is completed, the performance test is repeated a preset number of times.

9. A vehicle OTA method taking into account performance testing according to any one of claims 1 to 8, characterized in that: Before the remote control platform sends the first control signal to the target vehicle, the remote control platform performs signature authentication on the in-vehicle information terminal.

10. A computer-readable storage medium, characterized in that The storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Vehicle-mounted software upgrading pressure testing method and device

    CN114880211A

  • Method, device and equipment for testing delay time of uploading automobile data to cloud and medium

    CN115442274A