Upgrading method and device for whole vehicle parts

By simultaneously updating the over-the-air download application of the vehicle end on the cloud service platform, the problem of resource waste when upgrading vehicle parts in the existing technology is solved, and a faster and more efficient upgrade process is achieved.

CN119829111APending Publication Date: 2025-04-15ROX MOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411917499.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

When upgrading parts of the vehicle, the existing technology needs to update the full software version of the central control unit first, resulting in wasting time and traffic resources and reducing the upgrade speed.

Method used

Through the synchronous update of the air download application on the cloud service platform and the air download application on the vehicle side, the full software version update of the CCU is avoided, and the OTA application is directly updated to upgrade the entire vehicle parts.

Benefits of technology

It shortens the time for upgrading parts of the vehicle, improves the upgrade efficiency, and avoids waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829111A_ABST
    Figure CN119829111A_ABST
Patent Text Reader

Abstract

The invention provides a whole vehicle part upgrading method and device, and the method comprises the steps: reading a target version of an over-the-air application currently carried by a vehicle from a target data storage partition under a central control unit of the vehicle; sending the target version to a cloud service platform to perform update detection of the over-the-air application, and obtaining an update detection result fed back by the cloud service platform; if the update detection result indicates that the application update task exists, downloading a target application installation package from the cloud service platform; the target application installation package is analyzed, the over-the-air application currently carried by the vehicle is updated to the target update version, and the updated over-the-air application is restarted; and upgrading the whole vehicle parts by using the updated over-the-air downloading application. According to the method, the OTA application on the cloud service platform is synchronized to be pulled apart, so that the problem of time and flow resource waste caused by full-amount software version updating of the CCU is avoided, and the upgrading efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of over-the-air upgrades, and in particular to a method and device for upgrading vehicle parts. Background Art

[0002] OTA (Over-The-Air) is a method of remotely updating device firmware or software through wireless communication technology. This technology is widely used in modern IoT devices, smart phones, automobiles, embedded systems and other fields, providing a convenient update method without physical connection.

[0003] With the gradual increase in vehicle functions, the remote upgrade frequency of firmware or software used in vehicle parts is relatively high. The vehicle-side OTA application (i.e., OtaManager) needs to be updated frequently to support the update application of new functions of parts. The current OTA application is located in the vehicle's central control unit (CCU, Central Control Unit). In this case, if you want to implement diagnostic flashing or change the flashing process for a certain part in the car, you need to first modify the code corresponding to the OTA application and compile the program, and then integrate a CCU full software package, and push the upgrade task of this CCU full software package on the cloud platform. After the user completes the OTA application upgrade, push the upgrade task of the corresponding part.

[0004] It can be seen that the vehicle parts upgrade method provided by the prior art requires actively triggering the update of the full software version of the CCU to complete the update of the OTA application each time the parts are upgraded, and then triggering the update of the parts again. In this process, due to the complexity of the full software version update process of the CCU, it not only wastes time but also traffic, reduces the update speed of the vehicle parts, and causes a waste of resources. Summary of the invention

[0005] In view of this, the purpose of this application is to at least provide a method and device for upgrading vehicle parts, by synchronously updating the air-download application on the cloud service platform and the air-download application on the vehicle side, so as to avoid the waste of time and traffic resources caused by the full software version update of the CCU, thereby shortening the upgrade time of vehicle parts and improving the upgrade efficiency.

[0006] This application mainly includes the following aspects:

[0007] In a first aspect, an embodiment of the present application provides a method for upgrading vehicle parts, the method comprising: reading a target version of an over-the-air application currently carried by the vehicle from a target data storage partition under a central control unit of the vehicle, the target data storage partition being an upgrade update partition or an original equipment manufacturer partition, the target data storage partition being used to carry the over-the-air application on the vehicle side; sending the target version to a cloud service platform for update detection of the over-the-air application, obtaining an update detection result fed back by the cloud service platform, the cloud service platform being equipped with an over-the-air application corresponding to the central control unit, the update detection result indicating whether there is an application update task, the application update task indicating a target update version corresponding to the over-the-air application; if the update detection result indicates that there is an application update task, downloading a target application installation package from the cloud service platform, the target application installation package including a target update version of the over-the-air application, the target update version being the latest version of the over-the-air application on the cloud service platform; parsing the target application installation package, updating the over-the-air application currently carried by the vehicle to the target update version, and restarting the updated over-the-air application; and using the updated over-the-air application to upgrade the vehicle parts.

[0008] In one possible implementation, the target version of the over-the-air application currently installed in the vehicle is read in the following manner: determine whether the over-the-air application exists in the upgrade and update partition; if the over-the-air application exists in the upgrade and update partition, read the version corresponding to the over-the-air application in the upgrade and update partition and use it as the target version; if the over-the-air application does not exist in the upgrade and update partition, read the version corresponding to the over-the-air application in the original equipment manufacturer partition and use it as the target version.

[0009] In a possible implementation, the steps of parsing the target application installation package, updating the over-the-air application currently installed in the vehicle to the target updated version, and restarting the updated over-the-air application include: updating the over-the-air application of the target updated version to the upgrade partition; and restarting the over-the-air application in the upgrade partition.

[0010] In a possible implementation, after reading the target version of the over-the-air download application currently installed in the vehicle, the method also includes: obtaining the communication status between the central control unit and the cloud service platform; if the communication status between the central control unit and the cloud service platform is abnormal, directly starting the over-the-air download application in the target data storage partition to upgrade the vehicle parts.

[0011] In one possible implementation, before updating the over-the-air application currently installed in the vehicle to the target updated version, the method also includes: parsing the application installation package to obtain the over-the-air application of the target updated version and its corresponding digital signature; performing a signature verification operation on the over-the-air application of the target updated version using a given public key and digital signature pre-provided by the cloud service platform; if the signature verification is successful, updating the over-the-air application currently installed in the vehicle to the target updated version; if the signature verification fails, re-downloading the target application installation package from the cloud service platform.

[0012] In one possible implementation, the step of using an updated over-the-air download application to upgrade vehicle parts includes: in response to a startup operation of the over-the-air download application, reading vehicle parts information, the vehicle parts information including the firmware version currently used by each part on the vehicle; reporting the vehicle parts information to a cloud service platform for part upgrade task detection, obtaining the part upgrade task detection result from the cloud service platform, the part upgrade task detection result indicating whether the vehicle has a part upgrade task, the part upgrade task indicating a target upgrade version corresponding to the part to be upgraded and its firmware; if the part upgrade task detection result indicates that the vehicle has a part upgrade task, generating a part update prompt; receiving a part update trigger operation input by the user in response to the part update prompt, and executing the part upgrade task: downloading a target part upgrade package corresponding to the part to be upgraded from the cloud service platform, the target part upgrade package including the target upgrade version of the firmware corresponding to the part to be upgraded; parsing the target part upgrade package, updating the firmware currently used by the part to be upgraded to the target upgrade version, and restarting the updated part to be upgraded.

[0013] In a possible implementation, the method further includes: if the parts upgrade task detection result indicates that the vehicle does not have a parts upgrade task, determining that the vehicle is in an idle state for parts upgrade; and returning to execute reading of vehicle parts information in response to a parts upgrade detection request input by the user.

[0014] On the second aspect, an embodiment of the present application also provides a method for upgrading vehicle parts, the method comprising: receiving a target version of an over-the-air application currently carried by the vehicle sent by a central control unit of the vehicle, the central control unit applying the method for upgrading vehicle parts provided by any of the above embodiments; performing an update detection for the over-the-air application according to the target version: comparing the target version with the latest version of the over-the-air application stored in the platform itself; if the target version is consistent with the latest version of the over-the-air application, no application update task is generated; if the target version is inconsistent with the latest version of the over-the-air application, the latest version of the over-the-air application is used as the target update version and a corresponding application update task is generated; based on whether an application update task is generated, determining the update task detection result and sending it to the central control unit.

[0015] In a possible implementation, the method also includes: receiving vehicle parts information sent by a central control unit of the vehicle, the vehicle parts information including the firmware version currently used by each part on the vehicle; performing the following processing for each part: performing a consistency check on the firmware version currently used by the part and the latest firmware version; if the firmware version currently used by the part is consistent with the latest firmware version, determining that the firmware of the part does not need to be upgraded; if the firmware version currently used by the part is inconsistent with the latest firmware version, determining the latest firmware version as the target upgrade version corresponding to the part and generating a corresponding part upgrade task; forming an upgrade task detection result from the part upgrade tasks corresponding to each part and sending the upgrade task detection result to the central control unit.

[0016] In a third aspect, an embodiment of the present application further provides an upgrade device for vehicle parts, the device comprising: a reading module, used to read the target version of the over-the-air application currently carried by the vehicle from the target data storage partition under the central control unit of the vehicle, the target data storage partition being an upgrade update partition or an original equipment manufacturer partition, and the target data storage partition being used to carry the over-the-air application on the vehicle side; a sending module, used to send the target version to the cloud service platform for update detection of the over-the-air application, and obtain the update detection result fed back by the cloud service platform, the cloud service platform is equipped with an over-the-air application corresponding to the central control unit, the update detection result indicates whether there is an application update task, and the application update task indicates the target update version corresponding to the over-the-air application; a downloading module, used to download a target application installation package from the cloud service platform if the update detection result indicates the existence of an application update task, the target application installation package including the over-the-air application of the target update version, and the target update version is the latest version of the over-the-air application on the cloud service platform; a parsing module, used to parse the target application installation package, update the over-the-air application currently carried by the vehicle to the target update version, and restart the updated over-the-air application; an upgrading module, used to use the updated over-the-air application to upgrade the vehicle parts.

[0017] The embodiment of the present application provides a method and device for upgrading vehicle parts, including: reading the target version of the over-the-air application currently installed on the vehicle from the target data storage partition under the central control unit of the vehicle; sending the target version to the cloud service platform for update detection of the over-the-air application, and obtaining the update detection result fed back by the cloud service platform; if the update detection result indicates that there is an application update task, downloading the target application installation package from the cloud service platform; parsing the target application installation package, updating the over-the-air application currently installed on the vehicle to the target update version, and restarting the updated over-the-air application; using the updated over-the-air application to upgrade the vehicle parts. The present application improves the upgrade efficiency by synchronizing the OTA application on the cloud service platform to a disconnected state, thereby avoiding the waste of time and traffic resources caused by the full software version update of the CCU.

[0018] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A flow chart of a vehicle parts upgrading method provided by an embodiment of the present application is shown;

[0021] Figure 2 A timing diagram of an OTA application version update process in a normal update scenario provided by an embodiment of the present application is shown;

[0022] Figure 3 A timing diagram of an OTA application version update process in a factory update scenario provided by an embodiment of the present application is shown;

[0023] Figure 4 A timing diagram of an OTA application version update process in an abnormal update scenario provided by an embodiment of the present application is shown;

[0024] Figure 5 A flow chart of an OTA application update method provided by an embodiment of the present application is shown;

[0025] Figure 6 A flow chart of a vehicle parts upgrading method provided by an embodiment of the present application is shown;

[0026] Figure 7A functional module diagram of a vehicle parts upgrading device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0027] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.

[0028] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0029] With the gradual increase in vehicle functions, the remote upgrade frequency of firmware or software applied to vehicle parts is relatively high. The vehicle-side OTA application needs to be updated frequently to support the update application of new functions of parts. The current OTA application is located in the central control unit of the vehicle. In this case, if you want to implement diagnostic flashing or change the flashing process for a certain part in the vehicle, you need to first modify the code corresponding to the OTA application and compile the program, and then integrate a CCU full software package, and push the upgrade task of this CCU full software package on the cloud platform. After the user completes the OTA application upgrade, push the upgrade task of the corresponding part. It can be seen that the vehicle parts upgrade method provided by the prior art needs to actively trigger the update of the full software version of the CCU to complete the update of the OTA application each time the parts are upgraded, and then trigger the update of the parts again. In this process, due to the complexity of the full software version update process of the CCU, not only time but also traffic is wasted, which reduces the update speed of vehicle parts and causes resource waste.

[0030] Based on this, the embodiment of the present application provides a method and device for upgrading vehicle parts, which avoids the problem of time and traffic resource waste caused by the full software version update of the CCU by synchronously updating the over-the-air download application on the cloud service platform and the over-the-air download application on the vehicle side, thereby shortening the time for upgrading vehicle parts and improving the upgrade efficiency, as follows:

[0031] See also Figure 1 , Figure 1 FIG. 1 is a flow chart showing a method for upgrading vehicle parts provided by an embodiment of the present application. Figure 1 As shown, the method provided in the embodiment of the present application is applied to a central control unit and includes the following steps:

[0032] S100 , reading a target version of an over-the-air application currently installed in the vehicle from a target data storage partition under a central control unit of the vehicle.

[0033] The target data storage partition is an upgrade update partition or an original equipment manufacturer partition, and the target data storage partition is used to carry an over-the-air download application on the vehicle side.

[0034] S200: Send the target version to the cloud service platform for over-the-air application update detection, and obtain the update detection result fed back by the cloud service platform.

[0035] The cloud service platform is equipped with an over-the-air download application corresponding to the central control unit. The update detection result indicates whether there is an application update task, and the application update task indicates a target update version corresponding to the over-the-air download application.

[0036] S300: If the update detection result indicates that there is an application update task, download the target application installation package from the cloud service platform.

[0037] The target application installation package includes a target updated version of the over-the-air application, and the target updated version is the latest version of the over-the-air application on the cloud service platform.

[0038] S400: Parse the target application installation package, update the over-the-air application currently installed in the vehicle to the target updated version, and restart the updated over-the-air application.

[0039] S500, use the updated over-the-air download application to upgrade the vehicle parts.

[0040] In the present application, steps S100 to S400 are actually a detection and update process of the OTA application on the vehicle, and the detection and update process of the OTA application is performed in real time.

[0041] In step S100, the central control unit includes an upgrade update (Update) partition and an original equipment manufacturer (Oem, Original Equipment Manufacturer) partition, wherein the Update partition is readable and writable, and the Update partition refers to a specific area for storing and managing update-related data. In the present application, each time the target updated version of the over-the-air application and its related information obtained from the cloud service platform will be written to the Update partition, the Oem partition is read-only, and the Oem partition is a storage area reserved specifically for original equipment manufacturers. In the present application, the Oem partition stores the factory version of the over-the-air application.

[0042] Specifically, for the determination of the target data storage partition, the priority of the Update partition is higher than that of the Oem partition, that is, the target version of the over-the-air application currently installed in the vehicle is read from the Update partition by default, and the target version of the over-the-air application currently installed in the vehicle is read from the Oem partition only in specific circumstances.

[0043] In step S200, after reading the target version of the over-the-air application currently installed in the vehicle, a corresponding application update detection request is generated and sent to the cloud service platform. The application update detection request carries the target version of the over-the-air application currently installed in the vehicle. The cloud service platform can be a TSP (Telematics Service Provider) platform. The operation and maintenance personnel will publish the latest version of the over-the-air application that has been modified to the cloud service platform. After receiving the application update detection request, the cloud service platform will perform an update detection on the over-the-air application on the vehicle according to the target version of the over-the-air application currently installed in the vehicle and the latest version corresponding to the over-the-air application on the cloud service platform, determine the update detection result, and feed it back to the central control unit of the vehicle.

[0044] In step S300, if the update detection result indicates that there is an application update task, it means that the OTA application installed in the central control unit needs to be updated, and the target application installation package is downloaded from the TSP platform. The target update version is the latest version of the OTA application on the TSP platform.

[0045] In step S400 to step S500, the OTA application installed in the vehicle is updated by parsing the target application installation package, updating it to the target updated version, and starting the updated OTA application, thereby achieving an upgrade of the vehicle parts.

[0046] The method indicated in steps S100 to S500 of the present application can be executed by the OTA refresh control application OtaMaster in the integrated central control unit. The OTA refresh control application is read-only, and it mainly links the OTA application stored in the target data storage partition with the OTA application on the TSP platform. Therefore, when the OTA application version on the TSP platform is updated, the updated version of the OTA application can be synchronously updated and applied to the central processing unit of the vehicle. In this way, only the OTA application is updated, avoiding the waste of time and traffic resources caused by the full software version update of the CCU, thereby shortening the time for upgrading vehicle parts and improving the upgrade efficiency.

[0047] In a preferred embodiment, in step S400, before updating the OTA application currently installed in the vehicle to the latest version, the present application also performs a signature verification operation on the target upgraded version of the OTA application in the target application installation package to prevent the target upgraded version of the OTA application in the target application installation package from being tampered with.

[0048] In this application, the update of the OTA application version on the vehicle is divided into three update scenarios according to the state of the central control unit, specifically including normal update scenario, factory update scenario and abnormal update scenario.

[0049] In a preferred embodiment, in a normal update scenario, the update process of the OTA application version provided by this application includes:

[0050] Determine whether there is an over-the-air application in the upgrade and update partition. If there is an over-the-air application in the upgrade and update partition, determine that it is in a normal update scenario at this time. At this time, read the corresponding version of the over-the-air application in the upgrade and update partition and use it as the target version, generate a corresponding application update detection request according to the target version and send it to the cloud service platform for version update detection of the OTA application, obtain the update detection result fed back by the cloud service platform, and if the update detection result indicates that there is an application update task, download the target application installation package from the cloud service platform, parse the target application installation package, and verify the signature of the target updated version of the over-the-air application in the target application installation package. After the signature verification is successful, update the target updated version of the over-the-air application to the upgrade and update partition to update the over-the-air application currently installed on the vehicle to the target updated version, restart the over-the-air application in the upgrade and update partition, and use the updated over-the-air application to upgrade the vehicle parts.

[0051] In one specific embodiment, see Figure 2 , Figure 2 FIG. 1 shows a timing diagram of an OTA application version update process in a normal update scenario provided by an embodiment of the present application. Figure 2As shown, when there is an OTA application (OtaManager) in the Update partition, it is determined that the OTA application on the vehicle side is in a normal update scenario. At this time, the OTA refresh control application OtaMaster executes:

[0052] Read the version of the OTA application in the Update partition and use it as the target version of the OTA application currently installed in the vehicle, generate the corresponding application update detection request according to the target version and send it to the TSP platform, perform version update detection on the OTA application through the TSP platform, obtain the update detection result fed back by the TSP platform, parse the update detection result, and if the update detection result indicates that there is an application update task, download the target application installation package from the TSP platform, parse the target application installation package, and verify the signature of the target updated version of the OTA application in the target application installation package. After the verification is successful, update the downloaded latest version of the OTA application to the Update partition to update the OTA application currently installed in the vehicle to the target updated version, restart the OTA application in the Update partition, and use the updated over-the-air application to upgrade the vehicle parts.

[0053] In a preferred embodiment, the factory update scenario refers to the central control unit CCU of the vehicle being in the factory setting state. When the central control unit CCU is in the factory setting state, the internal Update partition is generally empty. At this time, it is necessary to rely on the factory version of the OTA application provided by the manufacturer stored in the Oem partition for subsequent parts updates. Therefore, in the factory update scenario, the update process of the OTA application version provided by this application includes:

[0054] Determine whether there is an over-the-air application in the upgrade and update partition. If there is no over-the-air application in the upgrade and update partition, and it is determined that the central control unit is in the factory setting state at this time, then it is determined that it is in the factory update scenario at this time. At this time, the corresponding version of the over-the-air application in the OEM partition is read and used as the target version, and the corresponding application update detection request is generated according to the target version and sent to the cloud service platform for version update detection of the OTA application, and the update detection result fed back by the cloud service platform is obtained. If the update detection result indicates that there is an application update task, the target application installation package is downloaded from the cloud service platform, the target application installation package is parsed, and the target updated version of the over-the-air application in the target application installation package is verified. After the verification is successful, the target updated version of the over-the-air application is updated to the upgrade and update partition to update the over-the-air application currently installed on the vehicle to the target updated version, restart the over-the-air application in the upgrade and update partition, and use the updated over-the-air application to upgrade the vehicle parts.

[0055] In one specific embodiment, see Figure 3 , Figure 3FIG. 1 shows a timing diagram of an OTA application version update process in a factory update scenario provided by an embodiment of the present application. Figure 3 As shown, when there is an OTA application (OtaManager) in the Update partition, it is determined that the OTA application on the vehicle side is in the factory update scenario. At this time, the OTA refresh control application OtaMaster is executed:

[0056] Read the version of the OTA application in the Oem partition and use it as the target version of the OTA application currently installed in the vehicle, generate the corresponding application update detection request according to the target version and send it to the TSP platform, perform version update detection on the OTA application through the TSP platform, obtain the update detection result fed back by the TSP platform, parse the update detection result, if the update detection result indicates that there is an application update task, download the target application installation package from the TSP platform, parse the target application installation package, and verify the signature of the target updated version of the OTA application in the target application installation package. After the verification is successful, update the downloaded latest version of the OTA application to the Update partition to update the OTA application currently installed in the vehicle to the target updated version, restart the OTA application in the Update partition, and use the updated over-the-air application to upgrade the vehicle parts.

[0057] In a preferred embodiment, the abnormal update scenario refers to that the central control unit CCU of the vehicle is in an abnormal state. The central control unit CCU is in an abnormal state, which means that the communication between the central control unit CCU and the cloud service platform is abnormal. In this scenario, the central control unit CCU cannot establish normal communication with the cloud service platform, and it is impossible to establish a synchronous update between the OTA application on the cloud service platform and the OTA application on the CCU. Therefore, in the abnormal update scenario, the update process of the OTA application version provided by this application includes:

[0058] The communication status between the central control unit and the cloud service platform is detected. If the communication status between the central control unit and the cloud service platform is abnormal, the over-the-air download application in the target data storage partition is directly started to upgrade the vehicle parts.

[0059] In one specific embodiment, see Figure 4 , Figure 4 FIG. 1 shows a timing diagram of an OTA application version update process in an abnormal update scenario provided by an embodiment of the present application. Figure 4 As shown in the figure, the OTA application on the vehicle side is in an abnormal update scenario. At this time, the OTA refresh control application OtaMaster executes:

[0060] After step S100, the communication status between the CCU and the TSP platform is obtained. When a communication abnormality occurs between the CCU and the TSP platform, it is handled in two situations. Situation ①: When it is determined that the target data storage partition is the Update partition, the OTA application corresponding to the Update partition is directly started. Situation ②: When it is determined that the target data storage partition is the Oem partition, the OTA application corresponding to the Oem partition is directly started.

[0061] In a preferred embodiment, step S400 further includes:

[0062] Parse the target application installation package, obtain the target updated version of the over-the-air application and its corresponding digital signature, and use the given public key and digital signature pre-provided by the cloud service platform to perform a signature verification operation on the target updated version of the over-the-air application. If the signature verification is successful, the over-the-air application currently installed in the vehicle is updated to the target updated version. If the signature verification fails, the target application installation package is downloaded again from the cloud service platform.

[0063] In this application, the cloud service platform signs the target updated version of the OTA application corresponding to the target application installation package. The signing and verification process provided in this application is a known method and will not be described in detail here.

[0064] See also Figure 5 , Figure 5 FIG. 1 is a flow chart of an OTA application update method provided by an embodiment of the present application. Figure 5 As shown, after the OTA refresh control application OtaMaster provided by this application is started, the following method is executed:

[0065] SA01. Determine whether there is an OTA application in the Update partition.

[0066] SA02. If there is an OTA application in the Update partition, read the target version corresponding to the OTA application currently installed on the vehicle from the Update partition.

[0067] SA03. If the OTA application does not exist in the Update partition, read the target version corresponding to the OTA application currently installed on the vehicle from the Oem partition.

[0068] SA04. Determine whether the communication status between CCU and TSP is normal.

[0069] SA05. If the communication between CCU and TSP is normal, the target version is sent to the TSP platform for OTA application update detection, and the corresponding update detection result is obtained from the TSP platform.

[0070] SA06. Determine whether there is an application update task based on the update detection result.

[0071] SA07. If there is an application update task, download the target application installation package from the TSP platform.

[0072] SA08. Verify the signature of the target updated version of the OTA application in the target application installation package to determine whether the verification is successful.

[0073] SA09. If the signature verification is successful, the OTA application in the Update partition will be updated to the target update version.

[0074] SA10. Start the OTA application in the Update partition.

[0075] SA11. If it is determined that the communication between the CCU and the TSP is abnormal, determine whether there is an OTA application in the Update partition.

[0076] If there is an OTA application in the Update partition, execute step SA10.

[0077] SA12. If the OTA application does not exist in the Update partition, start the OTA application in the Oem partition.

[0078] In a preferred embodiment, the cloud service application platform provided by the present application performs:

[0079] The target version of the OTA application currently installed on the vehicle is received and sent by the central control unit CCU of the vehicle. The central control unit CCU executes the vehicle parts upgrade method provided in any of the above embodiments, and performs OTA application update detection according to the target version of the OTA application currently installed on the vehicle: compare the target version with the latest version of the OTA application stored in the platform itself. If the target version is consistent with the latest version of the OTA application on the platform, no application update task is generated. If the target version is inconsistent with the latest version of the OTA application stored in the platform itself, the latest version of the OTA application on the platform is used as the target update version and a corresponding application update task is generated. According to whether an application update task is generated, the update task detection result is determined and sent to the central control unit CCU.

[0080] In a specific embodiment, the cloud service platform detects the version of the OTA application uploaded by the user in real time. When it is detected that a new version of the OTA application is uploaded, an application update signal can be generated and sent to the central control unit CCU. After the central control unit CCU receives the application update signal, it can trigger the execution of steps S100 to S500.

[0081] In a preferred embodiment, the upgrade of vehicle parts in this application is performed by an updated OTA application (i.e., OtaManager). For details, please refer to Figure 6 , Figure 6 FIG. 1 is a flow chart showing a vehicle parts upgrading method provided by an embodiment of the present application. Figure 6 As shown, for OtaManager, vehicle parts are upgraded in the following ways:

[0082] S5001. In response to the start-up operation of the over-the-air download application, read vehicle parts information.

[0083] Vehicle parts information includes the current firmware version used by each part on the vehicle.

[0084] S5002. Report the vehicle parts information to the cloud service platform for parts upgrade task detection, and obtain the parts upgrade task detection results from the cloud service platform.

[0085] The part upgrade task detection result indicates whether the vehicle has a part upgrade task, and the part upgrade task indicates the target upgrade version of the part to be upgraded and its firmware.

[0086] S5003. Determine whether there is a part upgrade task based on the part upgrade task detection result.

[0087] S5004. If there is a parts upgrade task, generate a parts update prompt.

[0088] S5005. Receive a part update trigger operation and execute a part upgrade task.

[0089] The part upgrade task includes: downloading a target part upgrade package corresponding to the part to be upgraded from the cloud service platform, where the target part upgrade package includes a target upgrade version of firmware corresponding to the part to be upgraded.

[0090] S5006. Parse the target component upgrade package, update the firmware currently used by the component to be upgraded to the target upgrade version, and restart the updated component to be upgraded.

[0091] S5007: If there is no parts upgrade task, determine that the vehicle is in an idle state for parts upgrade.

[0092] S5008. When the vehicle is in an idle state for parts upgrade, determine whether a parts upgrade detection request is received.

[0093] If a parts upgrade detection request is received, return to step S5001.

[0094] If no parts upgrade detection request is received, return to step S5007.

[0095] Since the OtaManager used in executing steps S5001 to S5008 in this application has synchronized steps S100 to S500 and adjusted to the latest version, when this application updates the corresponding firmware of vehicle parts, the OTA application actually used is the latest version provided by the cloud service platform.

[0096] In a specific embodiment, step S5005 further includes:

[0097] Download the target part upgrade package corresponding to the part to be upgraded from the cloud service platform, and determine whether the target part upgrade package is downloaded successfully. If not, download it again. If downloaded successfully, verify the firmware of the target upgrade version in the target part upgrade package. After the verification is passed, execute step S5006. If the verification fails, download the target part upgrade package again.

[0098] In a preferred embodiment, during the vehicle parts upgrade process, the server also executes:

[0099] Receive vehicle parts information sent by the central control unit of the vehicle, the vehicle parts information includes the firmware version currently used by each part on the vehicle, and perform the following processing for each part: perform consistency check on the firmware version currently used by the part and the latest firmware version. If the firmware version currently used by the part is consistent with the latest firmware version, it is determined that the firmware of the part does not need to be upgraded. If the firmware version currently used by the part is inconsistent with the latest firmware version, the latest firmware version is determined as the target upgrade version corresponding to the part and a corresponding part upgrade task is generated. The upgrade task detection result is formed by the part upgrade task corresponding to each part and the upgrade task detection result is sent to the central control unit.

[0100] The cloud service platform is responsible for upgrading and releasing the firmware version used by each part on the vehicle. After receiving the vehicle parts information, the cloud service platform compares the firmware version currently used by the part with the latest firmware version corresponding to the part released by the platform. When it is determined that an upgrade is required, the corresponding part upgrade task is generated and fed back to the CCU. The CCU calls the corresponding OTA application to perform subsequent part update operations.

[0101] The vehicle parts upgrade method provided in this application stores OTA applications in the Update partition and the Oem partition, and synchronizes them with the OTA applications released by the cloud service platform, so that the OTA applications on the vehicle side have independent update capabilities. When the OTA application is updated, there is no need to integrate the full software package of the central control unit CCU, but only to update the OTA application version in the Update partition, thereby avoiding traffic waste and shortening the OTA application update time.

[0102] Based on the above, when the user triggers an update of vehicle parts, he only needs to enter a parts upgrade detection request once, and then he can use the adapted OTA application to complete the vehicle parts upgrade, simplifying the upgrade operation.

[0103] Based on the same application concept, the embodiments of the present application also provide an upgrading device for vehicle parts corresponding to the upgrading method for vehicle parts provided in the above embodiments. Since the principle of solving the problem by the device in the embodiments of the present application is similar to the upgrading method for vehicle parts in the above embodiments of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0104] Strong reference Figure 7 , Figure 7 The functional module diagram of a vehicle parts upgrading device provided in an embodiment of the present application is shown. The device comprises:

[0105] The reading module 600 is used to read the target version of the over-the-air application currently installed in the vehicle from the target data storage partition under the central control unit of the vehicle. The target data storage partition is an upgrade update partition or an original equipment manufacturer partition. The target data storage partition is used to carry the over-the-air application installed on the vehicle side.

[0106] The sending module 610 is used to send the target version to the cloud service platform for update detection of the over-the-air application and obtain the update detection result fed back by the cloud service platform. The cloud service platform is equipped with an over-the-air application corresponding to the central control unit. The update detection result indicates whether there is an application update task, and the application update task indicates the target update version corresponding to the over-the-air application.

[0107] The download module 620 is used to download the target application installation package from the cloud service platform if the update detection result indicates that there is an application update task. The target application installation package includes the target updated version of the over-the-air application. The target updated version is the latest version of the over-the-air application on the cloud service platform.

[0108] The parsing module 630 is used to parse the target application installation package, update the over-the-air application currently installed in the vehicle to the target updated version, and restart the updated over-the-air application.

[0109] The upgrade module 640 is used to upgrade vehicle parts using updated over-the-air download applications.

[0110] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0112] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0113] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0114] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for upgrading vehicle parts, characterized in that: The method comprises: Reading a target version of an over-the-air application currently carried by the vehicle from a target data storage partition under the central control unit of the vehicle, wherein the target data storage partition is an upgrade partition or an original equipment manufacturer partition, and the target data storage partition is used to carry the over-the-air application on the vehicle side; Sending the target version to a cloud service platform for over-the-air application update detection, obtaining an update detection result fed back by the cloud service platform, wherein the cloud service platform is equipped with an over-the-air application corresponding to the central control unit, the update detection result indicating whether there is an application update task, and the application update task indicating a target update version corresponding to the over-the-air application; If the update detection result indicates that there is an application update task, downloading a target application installation package from the cloud service platform, the target application installation package including an over-the-air application of a target update version, the target update version being the latest version of the over-the-air application on the cloud service platform; Parsing the target application installation package, updating the over-the-air application currently installed in the vehicle to the target updated version, and restarting the updated over-the-air application; Upgrade vehicle parts using updated over-the-air applications.

2. The method according to claim 1, characterized in that Read the target version of the over-the-air download application currently installed in the vehicle through the following methods: Determine whether there is an over-the-air download application in the upgrade and update partition; If there is an over-the-air application in the upgrade and update partition, reading a version corresponding to the over-the-air application in the upgrade and update partition and using it as the target version; If the upgrade partition does not have the over-the-air application, then the version corresponding to the over-the-air application in the OEM partition is read and used as the target version.

3. The method according to claim 2, characterized in that The steps of parsing the target application installation package, updating the over-the-air application currently installed in the vehicle to the target updated version, and restarting the updated over-the-air application include: Updating the over-the-air application of the target updated version to the upgrade update partition; Restart the over-the-air application in the upgrade update partition.

4. The method according to claim 1, characterized in that: After reading the target version of the over-the-air download application currently installed in the vehicle, the method further includes: Obtain the communication status between the central control unit and the cloud service platform; If the communication status between the central control unit and the cloud service platform is abnormal, the over-the-air download application in the target data storage partition is directly started to upgrade the vehicle parts.

5. The method according to claim 1, characterized in that Before updating the over-the-air application currently installed in the vehicle to the target updated version, the method further includes: Parsing the application installation package to obtain the target updated version of the over-the-air application and its corresponding digital signature; Performing a signature verification operation on the target updated version of the over-the-air downloaded application using a given public key and the digital signature pre-provided by the cloud service platform; If the signature verification is successful, the vehicle's current over-the-air application will be updated to the target update version; If the signature verification fails, the target application installation package is downloaded again from the cloud service platform.

6. The method according to claim 1, characterized in that The steps to upgrade vehicle parts using the updated over-the-air application include: In response to the start-up operation of the over-the-air download application, the vehicle parts information is read, wherein the vehicle parts information includes the firmware version currently used by each part of the vehicle; Reporting the vehicle parts information to the cloud service platform for parts upgrade task detection, and obtaining parts upgrade task detection results from the cloud service platform, wherein the parts upgrade task detection results indicate whether there is a parts upgrade task for the vehicle, and the parts upgrade task indicates the target upgrade version of the parts to be upgraded and their firmware; If the parts upgrade task detection result indicates that the vehicle has a parts upgrade task, a parts update prompt is generated; Receive a part update trigger operation input by a user in response to a part update prompt, and execute a part upgrade task: download a target part upgrade package corresponding to the part to be upgraded from the cloud service platform, wherein the target part upgrade package includes a target upgrade version of firmware corresponding to the part to be upgraded; The target component upgrade package is parsed, the firmware currently used by the component to be upgraded is updated to the target upgrade version, and the updated component to be upgraded is restarted.

7. The method according to claim 6, characterized in that The method further comprises: If the part upgrade task detection result indicates that the vehicle does not have a part upgrade task, determining that the vehicle is in a part upgrade idle state; In response to the parts upgrade detection request input by the user, return to execute reading of vehicle parts information.

8. A method for upgrading vehicle parts, characterized in that: The method comprises: Receiving a target version of an over-the-air download application currently carried by the vehicle sent by a central control unit of the vehicle, the central control unit applying the vehicle parts upgrade method described in any one of claims 1 to 7; Performing update detection of the over-the-air application according to the target version: comparing the target version with the latest version of the over-the-air application stored in the platform itself; If the target version is consistent with the latest version of the over-the-air application, no application update task is generated; If the target version is inconsistent with the latest version of the over-the-air application, the latest version of the over-the-air application is used as the target update version and a corresponding application update task is generated; According to whether an application update task is generated, an update task detection result is determined and sent to the central control unit.

9. The method according to claim 8, characterized in that The method further comprises: Receiving vehicle parts information sent by a central control unit of the vehicle, wherein the vehicle parts information includes a firmware version currently used by each part of the vehicle; For each part, perform the following processing: Perform consistency check between the current firmware version used by the part and the latest firmware version; If the firmware version currently used by the component is consistent with the latest firmware version, it is determined that the firmware of the component does not need to be upgraded; If the firmware version currently used by the part is inconsistent with the latest firmware version, the latest firmware version is determined as the target upgrade version corresponding to the part and a corresponding part upgrade task is generated; The upgrade task detection result is formed by the part upgrade tasks corresponding to each part and the upgrade task detection result is sent to the central control unit.

10. A vehicle parts upgrading device, characterized in that: The device comprises: A reading module, used to read a target version of an over-the-air application currently carried by the vehicle from a target data storage partition under a central control unit of the vehicle, wherein the target data storage partition is an upgrade partition or an original equipment manufacturer partition, and the target data storage partition is used to carry the over-the-air application on the vehicle side; a sending module, configured to send the target version to a cloud service platform for an over-the-air application update detection, and obtain an update detection result fed back by the cloud service platform, wherein the cloud service platform is equipped with an over-the-air application corresponding to the central control unit, the update detection result indicates whether there is an application update task, and the application update task indicates a target update version corresponding to the over-the-air application; a download module, configured to download a target application installation package from the cloud service platform if the update detection result indicates that there is an application update task, wherein the target application installation package includes an over-the-air application of a target update version, and the target update version is the latest version of the over-the-air application on the cloud service platform; A parsing module, used to parse the target application installation package, update the over-the-air application currently installed in the vehicle to the target updated version, and restart the updated over-the-air application; Upgrade module for upgrading vehicle parts using updated over-the-air applications.