Vehicle upgrading method, device and processing equipment

By obtaining vehicle controller version information, generating matching task packages, and combining offline and online production, the problem of repeated vehicle upgrades during remote upgrades is solved, improving user experience and server performance.

CN116126377BActive Publication Date: 2025-12-12BEIJING ELECTRIC VEHICLE
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310018209.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-06
Publication Date
2025-12-12
Estimated Expiration
2043-01-06

AI Technical Summary

Technical Problem

In existing technologies, during remote upgrades, vehicles may receive upgrade task packages even after the upgrade has been completed, leading to task errors.

Method used

By obtaining the controller version information of the vehicle to be upgraded, a matching task package is generated and sent to avoid upgraded vehicles receiving the task package again. The task package is created using a combination of offline and online methods to improve the matching accuracy and reduce server pressure.

Benefits of technology

This avoids invalid sending of vehicle upgrade task packages, reduces upgrade errors, improves user experience, and optimizes server performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116126377B_ABST
    Figure CN116126377B_ABST
Patent Text Reader

Abstract

The application provides a vehicle upgrading method, device and processing equipment, wherein the method comprises the following steps: obtaining first version information of at least one controller of a vehicle to be upgraded; in the case that the first version information of a first target controller does not match target version information of the first target controller, generating a first task package for the first target controller, wherein the first task package comprises an original package and a target package of the first target controller; and sending the first task package to the vehicle to be upgraded, so that the first target controller is upgraded. In the case that the target version information before the production of the upgrading task package of the vehicle to be upgraded does not match the first version information after the production of the upgrading task package, the first task package is generated according to the first version information and is sent to the vehicle to be upgraded to complete the vehicle upgrading. In this way, the vehicle that has been upgraded can avoid receiving the upgrading task package again, so that the invalid sending of the upgrading task package is avoided, and the vehicle upgrading error is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a vehicle upgrading method, device and processing equipment. BACKGROUND

[0002] With the development of intelligent networked electric vehicles in recent years, more and more car manufacturers have favored and applied remote upgrading technology. Compared with traditional local software upgrading, the remote upgrading method does not require engineers to perform software flashing on site, but only needs to perform task issuing and pushing through a cloud platform, and the vehicle owner performs the operation of the software upgrading process according to the task reminder, which can greatly reduce the cost of after-sales service and improve customer experience. However, while the remote upgrading generates a task package according to vehicle information and waits for triggering, a certain proportion of vehicles have completed upgrading locally, and the vehicles that have completed upgrading receive the upgrading task package again, which causes task errors. SUMMARY

[0003] The present application aims to provide a vehicle upgrading method, device and processing equipment, which solves the problem that in the prior art, while the remote upgrading generates a task package according to vehicle information and waits for triggering, a certain proportion of vehicles have completed upgrading locally, and the vehicles that have completed upgrading receive the upgrading task package again, which causes task errors.

[0004] To solve the above technical problems, the present application provides a vehicle upgrading method, wherein the method comprises:

[0005] obtaining first version information of at least one controller of a vehicle to be upgraded;

[0006] in a case where the first version information of the first target controller does not match the target version information of the first target controller, generating a first task package for the first target controller, the first task package comprising an original package and a target package of the first target controller;

[0007] sending the first task package to the vehicle to be upgraded, so that the first target controller is upgraded.

[0008] Optionally, the method further comprises:

[0009] in a case where the first version information of the second target controller matches the target version information of the second target controller, sending a second task package of the second target controller to the vehicle to be upgraded, the second task package being generated based on the target version information of the second target controller, the second task package comprising the original package and the target package of the second target controller.

[0010] Optionally, the method, wherein, in the case that the first version information of the second target controller matches the target version information of the second target controller, sending a second task package of the second target controller to the vehicle to be upgraded, further comprises:

[0011] sending a version query command to the vehicle to be upgraded;

[0012] receiving the target version information of at least one controller sent by the vehicle to be upgraded;

[0013] generating the second task package of at least one controller according to the target version information.

[0014] Optionally, the method, wherein the generating the second task package of at least one controller according to the target version information comprises:

[0015] comparing the target version information with the second version information in the vehicle remote upgrade task;

[0016] if the target version information of the third target controller is lower than the second version information, generating the second task package of the third target controller.

[0017] Optionally, the method, wherein the obtaining the first version information of at least one controller of the vehicle to be upgraded comprises:

[0018] sending a version query command to the vehicle to be upgraded;

[0019] receiving the first version information of at least one controller sent by the vehicle to be upgraded.

[0020] Optionally, the method, wherein the generating the first task package for the first target controller in the case that the first version information of the first target controller does not match the target version information of the first target controller comprises:

[0021] comparing the first version information of the first target controller with the target version information of the first target controller;

[0022] if the first version information is higher than the target version information, generating the first task package for the first target controller according to the first version information.

[0023] Optionally, the method, wherein the method further comprises:

[0024] sending a download information query command to the vehicle to be upgraded:

[0025] receive download information sent by the vehicle to be upgraded, and send a third task package to the vehicle to be upgraded according to the download information;

[0026] The download information includes task package information downloaded by at least one controller in the vehicle to be upgraded, and the third task package is a part of the first task package different from the task package in the download information.

[0027] To achieve the above purpose, the application provides a vehicle upgrading device, wherein the device comprises:

[0028] The first acquisition module is configured to acquire first version information of at least one controller of the vehicle to be upgraded.

[0029] The first generation module is configured to generate a first task package for the first target controller in the case that the first version information of the first target controller does not match the target version information of the first target controller, and the first task package includes an original package and a target package of the first target controller.

[0030] The first sending module is configured to send the first task package to the vehicle to be upgraded, so that the first target controller is upgraded.

[0031] To achieve the above purpose, the application provides a processing device, which comprises a processor, a memory, and a program stored in the memory and executable on the processor, and the program is executed by the processor to implement the vehicle upgrading method.

[0032] The above technical solution of the application has the following advantages:

[0033] In the above scheme, the target version information before the upgrading task package of the vehicle to be upgraded is made is compared with the first version information of the vehicle to be upgraded after the upgrading task package is made, and in the case that the information does not match, a first task package for the first target controller of the vehicle to be upgraded is generated according to the first version information and is sent to the vehicle to be upgraded to complete vehicle upgrading. This method can avoid that the vehicle that has been upgraded receives the upgrading task package again, thereby avoiding invalid sending of the upgrading task package and avoiding vehicle upgrading error. BRIEF DESCRIPTION OF DRAWINGS

[0034] Figure 1 One of the flowcharts of the vehicle upgrading method according to the embodiments of the application;

[0035] Figure 2 One of the architecture diagrams of the vehicle upgrading method according to the embodiments of the application;

[0036] Figure 3 The second architecture diagram of the vehicle upgrading method according to the embodiments of the application;

[0037] Figure 4 Flowchart No. 2 of a vehicle upgrading method according to an embodiment of the present application;

[0038] Figure 5 Structure diagram of a vehicle upgrading device according to an embodiment of the present application. DETAILED DESCRIPTION

[0039] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0040] The present application aims at the problem in the prior art that no version check is performed before vehicle upgrading, resulting in failure of upgrading target version and inability to restore the version before upgrading, and causing serious limitation of vehicle functions, and provides a vehicle upgrading method, device and processing equipment.

[0041] As shown in Figure 1 The present application provides a vehicle upgrading method, wherein the method comprises:

[0042] In step S110, first version information of at least one controller of a vehicle to be upgraded is acquired.

[0043] In step S120, in the case that the first version information of a first target controller does not match target version information of the first target controller, a first task package for the first target controller is generated, and the first task package comprises an original package and a target package of the first target controller.

[0044] In step S130, the first task package is sent to the vehicle to be upgraded, so that the first target controller is upgraded.

[0045] In this embodiment, the target version information before the vehicle upgrading task package of the vehicle to be upgraded is made is compared with the first version information after the upgrading task package is made, in the case that the information does not match, the first task package for the first target controller of the vehicle to be upgraded is generated according to the first version information, and is sent to the vehicle to be upgraded to complete vehicle upgrading. This way can avoid that the vehicle that has been upgraded receives the upgrading task package again, so as to avoid invalid sending of the upgrading task package and vehicle upgrading error.

[0046] Optionally, the method further comprises:

[0047] If the first version information of the second target controller matches the target version information of the second target controller, the second task package of the second target controller is sent to the vehicle to be upgraded. The second task package is generated based on the target version information of the second target controller and includes the original package and the target package of the second target controller.

[0048] In this embodiment, if the version of the vehicle to be upgraded before the upgrade is the same as that before the upgrade task package was created (i.e., the first version information matches the target version information), the offline-created second task package is sent to the vehicle to be upgraded. The second task package includes the original package created based on the target version information of the vehicle to be upgraded and the target package created based on this vehicle upgrade task. The second task package, created offline, avoids the problems of long upgrade waiting times and poor user experience associated with online upgrade creation. Figure 2 As shown, in this embodiment of the invention, the vehicle remote upgrade OTA backend selects the corresponding software package from the software repository to create the second task package, and communicates with the vehicle to be upgraded via the network to complete the vehicle remote upgrade.

[0049] Optionally, the method, wherein, if the first version information of the second target controller matches the target version information of the second target controller, sending the second task package of the second target controller to the vehicle to be upgraded, further includes:

[0050] Send a version query command to the vehicle to be upgraded;

[0051] Receive the target version information of at least one controller sent by the vehicle to be upgraded;

[0052] Based on the target version information, generate the second task package for at least one controller.

[0053] In this embodiment, such as Figure 3 As shown, the vehicle remote upgrade OTA backend server creates a task, queries and wakes up the vehicle's onboard wireless terminal, and the onboard wireless terminal sends a message through the gateway to the multiple controllers (XCUs) of the vehicle to be upgraded. 1 XCU 2 ... XCU n The system sends a version query command. The vehicle-mounted wireless terminal receives the current version information of multiple controllers through the gateway and sends the query results to the OTA backend server. The OTA backend server selects the target package and the original package from the software repository based on the query results, creates an upgrade package, and sends it to the vehicle to be upgraded.

[0054] Upgrade process as follows Figure 4As shown, specifically includes: vehicle remote upgrade OTA background server creates upgrade task, and prepares offline production task package, triggers vehicle information query program, judges whether the vehicle end matches the current task information according to the platform version information reported by the vehicle end TBOX;If it is "no", the task package is produced online and the next step is carried out, and if it is "yes", the next step is directly carried out.

[0055] It should be noted that the embodiment of the application only shows the way of sending a version query command from the cloud to the vehicle to trigger vehicle version query, and is not limited to the way of vehicle power-on and user active query, and all possible active and passive triggering query modes are included in the scope of protection of the present application.

[0056] Optionally, the method, wherein the generating the second task package of the at least one controller according to the target version information comprises:

[0057] Comparing the target version information with the second version information in the vehicle remote upgrade task;

[0058] If the target version information of the third target controller is lower than the second version information, the second task package of the third target controller is generated.

[0059] In this embodiment, the judgment logic for whether the vehicle upgrade task this time contains the third target controller is as follows:

[0060] If: XCU TG_Ver XCU RE_Ver , then XCU OTA_Ver = XCU TG_Ver ;

[0061] If: XCU TG_Ver ≤ XCU RE_Ver , then XCU OTA_Ver = NaN;

[0062] That is, when the second version information XCU TG_Ver of the third target controller XCU is higher than the target version information XCU RE_Ver , the second version information pushed by the vehicle remote upgrade OTA background is XCU TG_Ver , otherwise it is NaN, that is, the third target controller is not required to be included in the vehicle remote upgrade OTA task this time.

[0063] For a vehicle to be upgraded, the vehicle remote upgrade OTA task package can be represented as a set of target packages and original packages:

[0064]

[0065] N represents the number of controllers of the vehicle Veh1 to be upgraded this time.

[0066] The target package is configured by the vehicle remote upgrade OTA cloud platform and the software warehouse according to the latest released version, and the original package needs to obtain the corresponding historical software package from the software warehouse according to the version currently carried by the vehicle to be upgraded. Before upgrading, the two kinds of packages need to be made and processed as a set of vehicle remote upgrade OTA tasks.

[0067] Optionally, the method, wherein the first version information of at least one controller of the vehicle to be upgraded is obtained by:

[0068] sending a version query command to the vehicle to be upgraded;

[0069] receiving the first version information of at least one controller sent by the vehicle to be upgraded.

[0070] In this embodiment, the matching method of the target package is as follows:

[0071]

[0072]

[0073]

[0074] The matching method of the original package is as follows:

[0075]

[0076]

[0077]

[0078] The above method shows the version information query logic of multiple controllers XCU 1 , XCU 2 , …, XCU n of a vehicle to be upgraded, which is also used for batch query of vehicles. Wherein represents the upgrade target version of the controller XCU 1 , represents the current version Ver1 of the controller XCU 1 of the vehicle to be upgraded at T time, which is used for vehicle state recovery after failure of the upgrade target package. The first version information is obtained by sending a version information query command to the vehicle to be upgraded, and the original package is made according to the first version information, which avoids the situation that the vehicle function is limited due to the failure of the vehicle in the upgrading process and the inability to recover the original version, and improves the user experience.

[0079] Optionally, the method, wherein the generating the first task package for the first target controller in the case that the first version information of the first target controller does not match the target version information of the first target controller comprises:

[0080] comparing the first version information of the first target controller with the target version information of the first target controller;

[0081] if the first version information is higher than the target version information, generating the first task package for the first target controller according to the first version information.

[0082] In this embodiment, T1 time is defined as the time when the vehicle upgrade task is created, and the target version information is obtained by sending a version query command to the vehicle before this time. The vehicle remote upgrade OTA background running logic is as follows:

[0083]

[0084] That is, by the target version information reported by the vehicle before T1 time, the software package is matched offline and the vehicle upgrade task package is produced;

[0085] T2 time is defined as the time when the vehicle upgrade is executed, and the vehicle remote upgrade OTA background running logic is as follows:

[0086]

[0087] According to the principle that software version can only be upgraded, the closer to the time when the vehicle upgrade is executed, the fewer the number of controllers that need to be upgraded by the vehicle remote upgrade OTA background. Because some controllers may complete the upgrade offline due to various reasons, therefore:

[0088] m≤n, the difference between m and n is the number of changes in the version of the controller of the vehicle to be upgraded from T1 to T2. Once the version query mechanism is used to obtain the change in the version of the vehicle, the difference will be re-produced and downloaded online before the vehicle remote upgrade OTA is executed, to ensure that the upgrade task executed by the vehicle can match the current latest state of the vehicle. At the same time, the problem of server performance pressure caused by using online production of upgrade package is avoided.

[0089] Optionally, the method, wherein the method further comprises:

[0090] sending a download information query command to the vehicle to be upgraded:

[0091] receive the download information sent by the vehicle to be upgraded, and send a third task package to the vehicle to be upgraded according to the download information;

[0092] The download information includes task package information downloaded by at least one controller in the vehicle to be upgraded, and the third task package is part of the first task package different from the task package in the download information.

[0093] In this embodiment, as shown in the figure, Figure 4 Before performing the vehicle remote upgrade OTA task, it is necessary to check whether the vehicle has downloaded part of the software upgrade package, if not, download all the upgrade package, if yes, download the software upgrade package different from the downloaded part, and perform differential download. Thus, the server performance pressure is reduced, and the vehicle remote upgrade OTA time is reduced.

[0094] As shown in the figure, Figure 5 In order to achieve the above purpose, the application provides a vehicle upgrading device, wherein the device comprises:

[0095] The first acquisition module 31 is configured to acquire first version information of at least one controller of a vehicle to be upgraded.

[0096] The first generation module 32 is configured to generate a first task package for the first target controller in the case that the first version information of the first target controller does not match the target version information of the first target controller, and the first task package includes the original package and the target package of the first target controller.

[0097] The first sending module 33 is configured to send the first task package to the vehicle to be upgraded, so that the first target controller is upgraded.

[0098] Optionally, the device further comprises:

[0099] The second sending module is configured to send a second task package of the second target controller to the vehicle to be upgraded in the case that the first version information of the second target controller matches the target version information of the second target controller, and the second task package is generated based on the target version information of the second target controller, and the second task package includes the original package and the target package of the second target controller.

[0100] Optionally, the second sending module further comprises:

[0101] The first sending unit is configured to send a version query command to the vehicle to be upgraded.

[0102] The first receiving unit is configured to receive the target version information of at least one controller sent by the vehicle to be upgraded.

[0103] The first generating unit is configured to generate the second task package of at least one controller according to the target version information.

[0104] Optionally, the apparatus, wherein the first generating unit comprises:

[0105] comparing the target version information with second version information in a vehicle remote upgrade task;

[0106] If the target version information of the third target controller is lower than the second version information, the second task package of the third target controller is generated.

[0107] Optionally, the apparatus, wherein the first obtaining module 31 comprises:

[0108] The second sending unit is configured to send a version query command to the vehicle to be upgraded.

[0109] The second receiving unit is configured to receive the first version information of at least one controller sent by the vehicle to be upgraded.

[0110] Optionally, the apparatus, wherein the first generating module 32 comprises:

[0111] The first comparing unit is configured to compare the first version information of the first target controller with the target version information of the first target controller.

[0112] The second generating unit is configured to generate a first task package for the first target controller according to the first version information if the first version information is higher than the target version information.

[0113] Optionally, the apparatus, wherein the apparatus further comprises:

[0114] The third sending module is configured to send a download information query command to the vehicle to be upgraded.

[0115] The fourth sending module is configured to receive download information sent by the vehicle to be upgraded, and send a third task package to the vehicle to be upgraded according to the download information.

[0116] The download information comprises task package information of at least one controller in the vehicle to be upgraded; and the third task package is a part of the first task package different from the task package in the download information.

[0117] In order to achieve the above object, the application provides a processing device, which comprises a processor, a memory and a program stored on the memory and executable on the processor, and the program is executed by the processor to realize the vehicle upgrading method.

[0118] It should be noted that, compared with the existing offline upgrading software package production mode, the application fully considers the timeliness of offline software package production, combines the current latest version information of the vehicle to make online supplement, on the basis of improving the real-time matching degree of the upgrading package, the part of the controller version change is re-produced, and the dependence on the server computing capacity is reduced.

[0119] It should be noted that the above device provided by the embodiment of the application can realize all the method steps realized by the method embodiment and achieve the same technical effects, and the same parts and beneficial effects in the method embodiment will not be described in detail.

[0120] Obviously, those skilled in the art can make various modifications and variations to the application without departing from the spirit and scope of the application. Thus, if these modifications and variations of the application belong to the scope of the claims of the application and the equivalent technology thereof, the application also intends to include these modifications and variations.

Claims

1. A vehicle upgrade method characterized by, The method comprises: obtaining first version information of at least one controller of a vehicle to be upgraded; wherein the first version information is version information of the vehicle to be upgraded after a task package is made for upgrading; in a case where the first version information of a first target controller does not match target version information of the first target controller, generating a first task package for the first target controller according to the first version information, wherein the first task package comprises an original package and a target package of the first target controller; wherein the target version information is version information of the vehicle to be upgraded before a task package is made for upgrading; sending the first task package to the vehicle to be upgraded, so that the first target controller is upgraded; in a case where the first version information of a second target controller matches the target version information of the second target controller, sending a second task package of the second target controller to the vehicle to be upgraded, wherein the second task package is generated based on the target version information of the second target controller, and the second task package comprises the original package and the target package of the second target controller; wherein the second task package comprises the original package made according to the target version information of the vehicle to be upgraded and the target package made according to the vehicle upgrading task this time; in a case where the first version information of a second target controller matches the target version information of the second target controller, sending a second task package of the second target controller to the vehicle to be upgraded, comprising: receiving the target version information of at least one controller sent by the vehicle to be upgraded; wherein a vehicle-mounted wireless terminal gateway receives current version information of a plurality of controllers, sends a query result to an OTA background server, and the OTA background server selects a target package and an original package from a software warehouse based on the query result, and makes an upgrading package and sends the upgrading package to the vehicle to be upgraded.

2. The method of claim 1, wherein, in a case where the first version information of a second target controller matches the target version information of the second target controller, sending a second task package of the second target controller to the vehicle to be upgraded, further comprising: sending a version query command to the vehicle to be upgraded; receiving the target version information of at least one controller sent by the vehicle to be upgraded; generating the second task package of at least one controller according to the target version information.

3. The method of claim 2, wherein, the generating the second task package of at least one controller according to the target version information comprises: comparing the target version information with second version information in a vehicle remote upgrading task; if the target version information of a third target controller is lower than the second version information, generating the second task package of the third target controller.

4. The method of claim 1, wherein, the obtaining first version information of at least one controller of a vehicle to be upgraded comprises: sending a version query command to the vehicle to be upgraded; receiving the first version information of at least one controller sent by the vehicle to be upgraded.

5. The method of claim 1, wherein, The first task package for the first target controller is generated in the case that the first version information of the first target controller does not match the target version information of the first target controller, including: Comparing the first version information of the first target controller with the target version information of the first target controller; If the first version information is higher than the target version information, generating the first task package for the first target controller according to the first version information.

6. The method of claim 1, wherein, The method further includes: Sending a download information query command to the vehicle to be upgraded; Receiving the download information sent by the vehicle to be upgraded, and sending a third task package to the vehicle to be upgraded according to the download information; The download information includes the task package information downloaded by at least one controller in the vehicle to be upgraded; and the third task package is the part of the first task package different from the task package in the download information.

7. A vehicle upgrade apparatus, characterized by, The device includes: A first obtaining module for obtaining the first version information of at least one controller in the vehicle to be upgraded; wherein the first version information is the version information of the vehicle to be upgraded after the upgrade task package is made; A first generating module for generating the first task package for the first target controller according to the first version information in the case that the first version information of the first target controller does not match the target version information of the first target controller, wherein the first task package includes the original package and the target package of the first target controller; and wherein the target version information is the version information of the vehicle to be upgraded before the upgrade task package is made; A first sending module for sending the first task package to the vehicle to be upgraded so that the first target controller is upgraded; A second sending module for sending the second task package of the second target controller to the vehicle to be upgraded in the case that the first version information of the second target controller matches the target version information of the second target controller, wherein the second task package is generated based on the target version information of the second target controller, and the second task package includes the original package and the target package of the second target controller; and wherein the second task package includes the original package made according to the target version information of the vehicle to be upgraded and the target package made according to the vehicle upgrade task this time; The second sending module includes: A first receiving unit for receiving the target version information of at least one controller sent by the vehicle to be upgraded; wherein the current version information of a plurality of controllers is received by a vehicle-mounted wireless terminal gateway, the query result is sent to an OTA background server, the OTA background server selects the target package and the original package from a software warehouse through the query result, and an upgrade package is made and sent to the vehicle to be upgraded.

8. A processing device, characterized by It includes: A processor, a memory, and a program stored on the memory and executable on the processor, wherein the program is executed by the processor to implement the vehicle upgrade method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • OTA upgrading method and system for vehicle ECU

    CN112328294A