Upgrade methods, vehicle-mounted terminal, program product and storage medium
By deploying download and upgrade control modules in the smart cockpit and smart driving domain controller, autonomous download and upgrade software packages are enabled, solving the problem of long upgrade times for smart cockpit and smart driving domain controller, and improving upgrade efficiency and user experience.
Patent Information
- Application Number
- PCT/CN2024/137369
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-21
- Filing Date
- 2024-12-06
- Publication Date
- 2025-12-26
AI Technical Summary
In existing technologies, the software upgrade packages for smart cockpits and smart driving domain controllers are too large, resulting in long upgrade times, low upgrade efficiency, and negatively impacting user experience.
Deploy download and upgrade control modules in the intelligent cockpit and intelligent driving domain controller to enable autonomous download and upgrade software packages, reducing transmission time.
By enabling users to independently download and upgrade software packages, upgrade time has been significantly shortened, upgrade efficiency has been improved, and the OTA upgrade experience for users has been enhanced.
Smart Images

Figure CN2024137369_26122025_PF_FP_ABST
Abstract
Description
An upgrade method, an in-vehicle terminal, a software product, and a storage medium. Cross-reference to related applications
[0001] This application claims priority to Chinese patent application No. 2024108095198, filed on June 21, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This disclosure relates to the field of vehicle technology, and more particularly to an upgrade method, an in-vehicle terminal, a software product, and a storage medium. Background Technology
[0003] With the development of automotive technology, the number of ECUs (Electronic Control Units) in cars is increasing, and the system software is becoming more complex and consuming more space. In the early stages of R&D and real-vehicle verification of modern automotive electronic control products such as digital instrument clusters and central infotainment systems, each system or module is in a phase of gradual improvement. Engineers need to iteratively update the product software through on-site upgrades or OTA (Over-the-Air) upgrades. During product iteration, even minor changes often require the generation of a complete upgrade package file, and the size of the upgrade package file directly affects the efficiency of software upgrades. If the software upgrade package is too large, it may take several hours to complete the upgrade, posing a significant challenge to the efficiency of software development and verification, as well as the work efficiency of on-site engineers.
[0004] In related technologies, the OTA (Over-The-Air) component is deployed in the vehicle's central domain controller, undertaking the functions of downloading and upgrading software packages for the entire vehicle's ECUs. During the software upgrade process, the OTA component needs to transmit the software package to the ECU to be upgraded. However, when the transmitted software package file is large, the transmission process consumes a significant amount of time, resulting in low upgrade efficiency.
[0005] With the rapid development of smart cockpit and autonomous driving technologies, the number of applications and image elements they contain is increasing rapidly, resulting in excessively large upgrade packages. Consequently, when software upgrades are required for smart cockpit domain controllers and / or autonomous driving domain controllers, the upgrade process is lengthy and inefficient. Summary of the Invention
[0006] This disclosure provides an upgrade method, an in-vehicle terminal, a program product, and a storage medium, which can at least to some extent shorten the upgrade time of vehicle system software and improve upgrade efficiency.
[0007] According to a first aspect of this disclosure, an upgrade method is provided, applied to an OTA master control module of an in-vehicle terminal, the in-vehicle terminal further comprising a target controller, the target controller comprising an intelligent cockpit domain controller and / or an intelligent driving domain controller, the method comprising: receiving an upgrade task sent by an OTA cloud; and when the upgrade task is to perform a software upgrade of the target controller, performing corresponding software package download and software upgrade through interaction with the download module and the upgrade control module.
[0008] According to a second aspect of this disclosure, an upgrade method is provided, applied to a target controller of an in-vehicle terminal, wherein the target controller is equipped with a download module and an upgrade control module, the method comprising: when the upgrade task is to perform a software upgrade on the target controller, if the download module receives a download instruction, downloading the corresponding software package through the download module; and if the upgrade control module receives an upgrade instruction, performing a software upgrade through the upgrade control module.
[0009] According to a third aspect of this disclosure, an upgrade method is provided, applied in a vehicle, wherein the vehicle's onboard terminal includes an OTA master control module and a target controller, the OTA master control module being located in the vehicle's central processing domain controller, the method comprising: the OTA master control module receiving an upgrade task sent by an OTA cloud; and when the upgrade task is to perform a software upgrade on the target controller, the target controller downloading and upgrading the corresponding software package.
[0010] According to a fourth aspect of this disclosure, an in-vehicle terminal is provided, the in-vehicle terminal including a central domain controller and a target controller, wherein the central domain controller is equipped with an OTA master control module, and the target controller is equipped with a download module and an upgrade control module; the OTA master control module is used to execute the method described in any embodiment of the first aspect above; and the target controller is used to execute the method described in the embodiment of the second aspect above.
[0011] According to a fifth aspect of this disclosure, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the method executed by the OTA master control module as described in any embodiment of the first aspect above, or to perform the method executed by the target controller as described in any embodiment of the second aspect above.
[0012] According to a sixth aspect of this disclosure, a computer-readable storage medium is provided, wherein computer program instructions are stored therein, the computer program instructions being loaded and executed by a processor to perform the operations performed by the method as described in any embodiment of the first aspect above, or to perform the operations performed by the method as described in any embodiment of the second aspect above. Attached Figure Description
[0013] The accompanying drawings, which are incorporated in and form part of this disclosure, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0014] Figure 1 is a structural schematic diagram of a vehicle-mounted terminal according to some embodiments of the present disclosure;
[0015] Figure 2 is a diagram of an OTA vehicle-cloud architecture according to some embodiments of the present disclosure;
[0016] Figure 3 is a flowchart of an upgrade method executed by the OTA master control module of an in-vehicle terminal according to some embodiments of the present disclosure;
[0017] Figure 4 shows a flowchart of the steps involved in downloading and upgrading the corresponding software package through interaction with the download module and the upgrade control module when the upgrade task is to upgrade the target controller's software.
[0018] Figure 5 shows a flowchart of the steps performed when the upgrade task is to upgrade the software of the target controller;
[0019] Figure 6 is a detailed flowchart of an upgrade method performed by the OTA master control module of an in-vehicle terminal according to some embodiments of the present disclosure;
[0020] Figure 7 is another detailed flowchart of an upgrade method performed by the OTA master control module of an in-vehicle terminal according to some embodiments of the present disclosure;
[0021] Figure 8 is a flowchart of an upgrade method performed by a target controller of an in-vehicle terminal according to some embodiments of the present disclosure; and
[0022] Figure 9 is a schematic diagram of the structure of a computer program product according to some embodiments of the present disclosure. Detailed Implementation
[0023] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this disclosure.
[0024] The features, structures, or characteristics described in this disclosure can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0025] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0026] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0027] In the description of this disclosure, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this disclosure, unless otherwise stated, "a plurality of" means two or more.
[0028] To enable those skilled in the art to better understand this disclosure, a brief explanation of the application scenarios involved in this disclosure will be given first.
[0029] With the rapid development of vehicle networking technology, automobiles have entered an era of intelligence and connectivity. In-vehicle Internet technology has become a trend in automotive technology development. Updating and optimizing automotive controller software and in-vehicle application software, and updating functions, can effectively improve the driving experience and enhance car owner satisfaction.
[0030] Building upon vehicle-to-everything (V2X) technology, remotely upgrading controller software via OTA (Over-The-Air) updates is a development trend for intelligent connected vehicles. Since software is the fastest-evolving and most easily personalized component of a car, and offline updates are insufficient to address software faults and meet user demands for updates, continuous OTA upgrades of the entire vehicle system provide users with a superior driving experience.
[0031] With the development of automotive technology, the number of ECUs (electronic control units) in cars is increasing, and the system software is becoming more complex and consuming more space. In the early stages of R&D and real-vehicle verification of modern automotive electronic control products such as digital instrument clusters and central infotainment systems, each system or module is in a phase of gradual improvement, requiring engineers to iteratively update the product software through on-site upgrades or OTA (Over-The-Air) updates. During product iteration, even minor changes often require the generation of a complete upgrade package file, and the size of the upgrade package file directly affects the efficiency of software upgrades. If the software upgrade package is too large, it may take several hours to complete the upgrade, posing a significant challenge to the efficiency of software development and verification, as well as the work efficiency of on-site engineers.
[0032] With the rapid development of smart cockpit and autonomous driving technologies, the number of applications and image elements they contain is increasing rapidly, resulting in excessively large upgrade packages, typically exceeding 3GB. In DOIP (Diagnostic Communication over Internet Protocol), to balance system stability and reduce system load, the block size for data transmission in the 0x36 module is set to 256KB. This means that upgrade times for packages transmitted via Ethernet to smart cockpit domain controllers such as IVI (In-Vehicle Infotainment) and intelligent driving domain controllers such as ADAS (Advanced Driving Assistance System) are close to 1.5 hours, resulting in very low upgrade efficiency and significantly impacting the user's OTA upgrade experience.
[0033] Based on this, this disclosure provides an upgrade method that, by deploying a download module and an upgrade control module in the target controller (including the intelligent cockpit domain controller and / or the intelligent driving domain controller), enables the target controller to autonomously download software packages and perform upgrades, thereby reducing software package transmission time and improving upgrade efficiency.
[0034] Figure 1 is a schematic diagram of the structure of an in-vehicle terminal according to some embodiments of the present disclosure. As shown in Figure 1, the in-vehicle terminal includes a central domain controller 110 and a target controller 120. The target controller 120 includes a smart cockpit domain controller 121 and / or a smart driving domain controller 122. The in-vehicle terminal may also include a body system domain controller 130, a powertrain system domain controller 140, and a power management domain controller 150, etc. The central domain controller 110 is equipped with an OTA master module 111, which mainly performs software upgrade control for the in-vehicle terminal.
[0035] The intelligent cockpit domain controller 121 is an important component of intelligent connected vehicles, integrating multiple functions and technologies, including a full LCD instrument panel, head-up display, streaming rearview mirror, cockpit entertainment system, vehicle networking, and telematics. The intelligent driving domain controller 122 is a crucial component in the intelligent driving decision-making process, primarily responsible for processing perception information and making planning decisions.
[0036] The Body System Domain Controller 130 is responsible for controlling body-related functions, such as lighting control, wiper control, door and window control, PEPS, seat control, etc.
[0037] The powertrain domain controller 140 is an intelligent powertrain management unit responsible for controlling powertrain-related functions. The power management domain controller 150 is responsible for controlling power management-related functions.
[0038] Over-the-air (OTA) updates for vehicles are technologies that update the software of the vehicle's controller via wireless communication networks (WIFI / 5G / 4G). OTA technology involves three steps: 1. Uploading the updated software to the OTA cloud platform 200; 2. The OTA cloud platform 200 wirelessly transmits the updated software to the vehicle (i.e., the in-vehicle terminal); 3. The vehicle automatically updates the software. Referring to Figure 2, which is an OTA vehicle-cloud architecture diagram according to some embodiments of this disclosure, on the vehicle side, OTA is implemented by flashing the software from the TBox (4G LTE) terminal via a gateway through bus communication (CAN or Ethernet) to the embedded ECU (target ECU).
[0039] T-BOX is an important component of the vehicle networking system. It is an intelligent terminal device that integrates vehicle network and wireless communication functions. By connecting the vehicle CAN bus and the external cloud platform, it enables communication and data exchange between vehicles (V2V), vehicles and infrastructure (V2I), and vehicles and the Internet (V2N).
[0040] Because the software packages of the intelligent cockpit domain controller 121 and the intelligent driving domain controller 122 are too large (over 3GB), when the software packages are downloaded and stored in the central domain controller 110 via the OTA component deployed in the central domain controller 110, the OTA component transmits the data to the intelligent cockpit domain controller 121 and the intelligent driving domain controller 122 respectively through the UDS (Unified Diagnostic Services) diagnostic service 0x36 command during the boot loader flashing process, which takes nearly 1.5 hours each time, resulting in low upgrade efficiency. Therefore, in order to improve the upgrade efficiency of the intelligent cockpit domain controller 121 and the intelligent driving domain controller 122, this disclosure deploys OTA component agents in the intelligent cockpit domain controller 121 and the intelligent driving domain controller 122 respectively. Specifically, referring to Figure 1, a download module 1211 and an upgrade control module 1212 are deployed in the intelligent cockpit domain controller 121 and the intelligent driving domain controller 122 respectively. Therefore, when the upgrade task is to upgrade the software of the intelligent cockpit domain controller 121, the download module 1211 and upgrade control module 1212 deployed in the intelligent cockpit domain controller 121 can autonomously download the software package and perform the upgrade, which can reduce the transmission time of the upgrade software package and improve the upgrade efficiency. When the upgrade task is to upgrade the software of the intelligent driving domain controller 122, the download module 1211 and upgrade control module 1212 deployed in the intelligent driving domain controller 122 can autonomously download the software package and perform the upgrade, which can also reduce the transmission time of the upgrade software package and improve the upgrade efficiency.
[0041] Referring to Figure 3, which is a flowchart of an upgrade method performed by the OTA master control module of an in-vehicle terminal according to some embodiments of the present disclosure.
[0042] It should be noted that the vehicle-mounted terminal can be a vehicle-mounted central control device. As the front-end equipment of the vehicle monitoring and management system, the vehicle-mounted terminal is generally installed in various vehicles. The vehicle-mounted terminal equipment mainly consists of various external devices such as a vehicle-mounted video server, an LCD touch screen, an external camera, a handset, and a car anti-theft device.
[0043] As shown in Figure 3, the upgrade method executed by the OTA master control module of the vehicle terminal includes at least steps S310 to S320.
[0044] In step S310, an upgrade task sent by the OTA cloud is received.
[0045] The OTA cloud, also known as the OTA management platform cloud, can create upgrade files based on upgrade requirements and then send the upgrade files to the in-vehicle terminal in the corresponding vehicle to be upgraded. The OTA main control module 111 deployed in the central domain controller 110 in the in-vehicle terminal can receive the upgrade task sent by the OTA cloud and control the corresponding software upgrade.
[0046] In some embodiments, when vehicle version developers or other vehicle management personnel learn that a vehicle of a certain model needs a version upgrade, they can send the vehicle's VIN (Vehicle Identification Number) code to the OTA cloud. The OTA cloud pre-determines the vehicle to be upgraded based on the VIN code, creates corresponding upgrade task information according to the upgrade requirements, and generates corresponding upgrade files (such as manifest files). After the upgrade file is generated, the OTA cloud can distribute it to the corresponding in-vehicle terminal, enabling the OTA main control module 111 in the corresponding in-vehicle terminal to perform the corresponding software upgrade control.
[0047] In step S320, when the upgrade task is to upgrade the target controller's software, the corresponding software package is downloaded and the software is upgraded through interaction with the download module and the upgrade control module.
[0048] In some embodiments, since a download module 1211 and an upgrade control module 1212 are deployed in the target controller 120, they can interact with the OTA master control module 111 to download the corresponding software package and upgrade the software. This means the target controller 120 can autonomously download and upgrade the software package through the deployed download module 1211 and upgrade control module 1212, reducing the software package transmission process, thereby saving upgrade time and improving upgrade efficiency.
[0049] In some embodiments, since a download module 1211 and an upgrade control module 1212 are deployed in the smart cockpit domain controller 121, when the upgrade task is to upgrade the software of the smart cockpit domain controller 121, the download module 1211 and the upgrade control module 1212 deployed in the smart cockpit domain controller 121 can autonomously download the software package and perform the upgrade, thereby reducing the transmission time of the upgrade software package and improving the upgrade efficiency.
[0050] In some embodiments, since a download module 1211 and an upgrade control module 1212 are deployed in the intelligent driving domain controller 122, when the upgrade task is to upgrade the software of the intelligent driving domain controller 122, the download module 1211 and the upgrade control module 1212 deployed in the intelligent driving domain controller 122 can autonomously download the software package and perform the upgrade, which can also reduce the transmission time of the upgrade software package and improve the upgrade efficiency.
[0051] Figure 4 is a flowchart illustrating the steps of downloading and upgrading the corresponding software package through interaction with the download module and the upgrade control module when the upgrade task is to upgrade the target controller's software, based on some embodiments of this disclosure. Referring to Figure 4, in step S320 above, when the upgrade task is to upgrade the target controller's software, the corresponding software package is downloaded and upgraded through interaction with the download module and the upgrade control module. The upgrade process may include:
[0052] Step S321: When the upgrade task is to upgrade the target controller's software, the firmware online upgrade main control unit sends the upgrade package download address and download command to the download module, so that the download module downloads the corresponding upgrade package according to the download command and the upgrade package download address; and
[0053] Step S322: The firmware online upgrade main control unit receives the download result returned by the download module, and when the download result indicates that the download is complete, the update and configuration management unit sends an upgrade command to the upgrade control module so that the upgrade control module can perform a software upgrade based on the upgrade command.
[0054] In some embodiments, the OTA master module 111 includes a firmware online upgrade master unit (Fota Master) and an update and configuration management unit (UCM Master). The firmware online upgrade master unit interacts with the download module 1211 in the target controller 120 to control the download module 1211 to start and pause the download of the corresponding upgrade package. The firmware online upgrade master unit interacts with the download module 1211 in the target controller 120 to enable the resumption of interrupted downloads of incomplete packages based on the system startup status of the target controller 120, and to verify the integrity and authenticity of the downloaded packages.
[0055] The update and configuration management unit interacts with the upgrade control module 1212 in the target controller 120 to control the upgrade control module 1212 to perform corresponding software upgrades. In some embodiments, the download module 1211 deployed in the target controller 120 is responsible for receiving the URL address (i.e., the software package download address) and download instructions of the upgrade package server to be connected from the firmware online upgrade master unit, so as to download the corresponding software package. To realize the software upgrade of the target controller 120, the upgrade control module 1212 deployed in the target controller 120 is responsible for receiving the upgrade instructions sent by the update and configuration management unit, and interacting with the self-upgrade module built into the target controller 120 based on the upgrade instructions to realize the corresponding software upgrade.
[0056] In some embodiments, when the upgrade task is to upgrade the software of the target controller 120, the firmware online upgrade master control unit sends an upgrade package download address and a download instruction to the download module 1211, so that the download module 1211 downloads the corresponding upgrade package according to the download instruction and the upgrade package download address. After the download module 1211 performs the download operation, it returns the download result to the firmware online upgrade master control unit. When the download result indicates that the download is complete, the update and configuration management unit sends an upgrade instruction to the upgrade control module 1212, so that the upgrade control module 1212 interacts with the self-upgrade module built into the target controller 120 based on the upgrade instruction to realize the corresponding software upgrade.
[0057] In some embodiments, when the target controller is the intelligent cockpit domain controller 121, i.e., when the upgrade task is to upgrade the software of the intelligent cockpit domain controller 121, the firmware online upgrade master control unit sends an upgrade package download address and a download instruction to the download module 1211 in the intelligent cockpit domain controller 121. This allows the download module 1211 in the intelligent cockpit domain controller 121 to download the corresponding upgrade package according to the download instruction and the upgrade package download address. After performing the download operation, the download module 1211 in the intelligent cockpit domain controller 121 returns the download result to the firmware online upgrade master control unit. When the download result indicates that the download is complete, the update and configuration management unit sends an upgrade instruction to the upgrade control module 1212 in the intelligent cockpit domain controller 121. This allows the upgrade control module 1212 in the intelligent cockpit domain controller 121 to interact with the built-in self-upgrade module of the intelligent cockpit domain controller 121 based on the upgrade instruction, thereby achieving the corresponding software upgrade.
[0058] In some embodiments, when the target controller is the intelligent driving domain controller 122, i.e., when the upgrade task is to upgrade the software of the intelligent driving domain controller 122, the firmware online upgrade master control unit sends an upgrade package download address and a download instruction to the download module 1211 in the intelligent driving domain controller 122. This allows the download module 1211 in the intelligent driving domain controller 122 to download the corresponding upgrade package according to the download instruction and the upgrade package download address. After performing the download operation, the download module 1211 in the intelligent driving domain controller 122 returns the download result to the firmware online upgrade master control unit. When the download result indicates that the download is complete, the update and configuration management unit sends an upgrade instruction to the upgrade control module 1212 in the intelligent driving domain controller 122. This allows the upgrade control module 1212 in the intelligent driving domain controller 122 to interact with the built-in self-upgrade module based on the upgrade instruction to achieve the corresponding software upgrade.
[0059] Figure 5 is a flowchart of the steps performed when the upgrade task is to upgrade the software of the target controller according to some embodiments of the present disclosure. Referring to Figure 5, in step S320 above, when the upgrade task is to upgrade the software of the target controller, the following steps S3211 to S3213 are also performed:
[0060] Step S3211: The firmware online upgrade main control unit obtains the status of the target controller;
[0061] Step S3212: When the target controller is in the wake-up state, the firmware online upgrade main control unit sends the upgrade package download address and download command to the download module, so that the download module downloads the corresponding upgrade package according to the download command and the upgrade package download address; and
[0062] Step S3213: When the target controller is in a sleep state, the firmware online upgrade main control unit wakes up the target controller so that the target controller switches from a sleep state to a wake-up state.
[0063] In some embodiments, when the upgrade task is to upgrade the software of the target controller 120, the firmware online upgrade master control unit can obtain the status of the target controller 120. If it determines that the target controller 120 is in a wake-up state, the firmware online upgrade master control unit can send an upgrade package download address and a download instruction to the download module 1211, so that the download module 1211 downloads the corresponding upgrade package according to the download instruction and the upgrade package download address. Conversely, if it determines that the target controller 120 is in a sleep state, the firmware online upgrade master control unit can send a wake-up instruction to the target controller 120 to wake it up, thereby switching the target controller 120 from a sleep state to a wake-up state.
[0064] It should be noted that when the target controller is in a sleep state, the OTA master control module 111 can also detect whether the target controller 120 meets the wake-up conditions. Only when the target controller 120 meets the wake-up conditions will the OTA master control module 111 send a wake-up command to the target controller to wake up the target controller 120.
[0065] In some embodiments, when the upgrade task is to upgrade the software of the smart cockpit domain controller 121, the firmware online upgrade master control unit can obtain the status of the smart cockpit domain controller 121. When it is determined that the smart cockpit domain controller 121 is in a wake-up state, the firmware online upgrade master control unit can send an upgrade package download address and a download instruction to the download module 1211 in the smart cockpit domain controller 121, so that the download module 1211 in the smart cockpit domain controller 121 downloads the corresponding upgrade package according to the download instruction and the upgrade package download address. Conversely, when it is determined that the smart cockpit domain controller 121 is in a sleep state, the firmware online upgrade master control unit can send a wake-up instruction to the smart cockpit domain controller 121 to wake it up, thereby switching the smart cockpit domain controller 121 from a sleep state to a wake-up state.
[0066] In some embodiments, when the upgrade task is to upgrade the software of the intelligent driving domain controller 122, the firmware online upgrade master control unit can obtain the status of the intelligent driving domain controller 122. When it is determined that the intelligent driving domain controller 122 is in a wake-up state, the firmware online upgrade master control unit can send an upgrade package download address and a download command to the download module 1211 in the intelligent driving domain controller 122, so that the download module 1211 in the intelligent driving domain controller 122 downloads the corresponding upgrade package according to the download command and the upgrade package download address. Conversely, when it is determined that the intelligent driving domain controller 122 is in a sleep state, the firmware online upgrade master control unit can send a wake-up command to the intelligent driving domain controller 122 to wake it up, thereby switching the intelligent driving domain controller 122 from a sleep state to a wake-up state.
[0067] Referring to Figure 6, which is a detailed flowchart of an upgrade method performed by an OTA master control module of an in-vehicle terminal according to some embodiments of the present disclosure, the method further includes the following steps S610 to S620:
[0068] Step S610: When the download result is a download failure, the firmware online upgrade main control unit sends the upgrade package download address and download instruction to the download module again, so that the download module downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; and
[0069] In step S620, when the download result is that the download is interrupted, the firmware online upgrade main control unit sends a continue download command to the download module when the target controller is in the wake-up state, so that the download module can download the unsuccessful part based on the continue download command.
[0070] In some embodiments, after the download module 1211 in the target controller 120 downloads the corresponding software package based on the download instruction from the firmware online upgrade master control unit, it will report the download result to the firmware online upgrade master control unit. When the download result is a download failure, the firmware online upgrade master control unit can send the upgrade package download address and download instruction to the download module 1211 in the target controller 120 again, so that the download module 1211 downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address. When the download result is a download interruption, the firmware online upgrade master control unit can send a continue download instruction to the download module 1211 when the target controller 120 is in a wake-up state, so that the download module 1211 downloads the unsuccessfully downloaded portion based on the continue download instruction. This allows control over the download module 1211 in the target controller 120 to resume and download software packages that have not been completed.
[0071] It should be noted that when the firmware online upgrade master control unit detects that the system to which the target controller 120 belongs does not meet the upgrade download conditions, the firmware online upgrade master control unit can send a pause download command to the download module 1211 in the target controller 120, so that the download module 1211 in the target controller 120 can control the pause download of the current software package based on the pause download command.
[0072] Understandably, once the download module 1211 in the target controller 120 has finished downloading the corresponding software package, it can store and manage the downloaded software package.
[0073] In some embodiments, when the target controller is a smart cockpit domain controller 121, after the download module 1211 in the smart cockpit domain controller 121 downloads the corresponding software package based on the download instruction from the firmware online upgrade master control unit, it will report the download result to the firmware online upgrade master control unit. When the download result is a download failure, the firmware online upgrade master control unit can send the upgrade package download address and download instruction to the download module 1211 in the smart cockpit domain controller 121 again, so that the download module 1211 in the smart cockpit domain controller 121 downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address. When the download result is a download interruption, the firmware online upgrade master control unit can send a continue download instruction to the download module 1211 when the smart cockpit domain controller 121 is in a wake-up state, so that the download module 1211 in the smart cockpit domain controller 121 downloads the unsuccessfully downloaded portion based on the continue download instruction. This allows control over the download module 1211 in the smart cockpit domain controller 121 to resume and download software packages that have not been completed.
[0074] In some embodiments, when the target controller is an intelligent driving domain controller 122, after the download module 1211 in the intelligent driving domain controller 122 downloads the corresponding software package based on the download instruction from the firmware online upgrade master control unit, it will report the download result to the firmware online upgrade master control unit. When the download result is a download failure, the firmware online upgrade master control unit can send the upgrade package download address and download instruction to the download module 1211 in the intelligent driving domain controller 122 again, so that the download module 1211 in the intelligent driving domain controller 122 can download the corresponding upgrade package according to the download instruction and based on the upgrade package download address. When the download result is a download interruption, the firmware online upgrade master control unit can send a continue download instruction to the download module 1211 when the intelligent driving domain controller 122 is in a wake-up state, so that the download module 1211 in the intelligent driving domain controller 122 can download the unsuccessfully downloaded portion based on the continue download instruction. This allows control over the download module 1211 in the intelligent driving domain controller 122 to resume and download software packages that have not been completed.
[0075] In some embodiments, the integrity and authenticity of the downloaded software package can be securely verified through the interaction between the firmware online upgrade main control unit and the download module 1211 in the target controller 120. In some embodiments, the firmware online upgrade main control unit can send a verification command to the download module 1211 in the target controller 120, so that the download module 1211 verifies the integrity and authenticity of the downloaded software package based on the verification command.
[0076] In some embodiments, when the target controller is a smart cockpit domain controller 121, a verification command can be sent to the download module 1211 in the smart cockpit domain controller 121 via the firmware online upgrade master control unit, so that the download module 1211 in the smart cockpit domain controller 121 verifies the integrity and authenticity of the downloaded software package based on the verification command. When the target controller is a smart driving domain controller 122, a verification command can be sent to the download module 1211 in the smart driving domain controller 122 via the firmware online upgrade master control unit, so that the download module 1211 in the smart driving domain controller 122 verifies the integrity and authenticity of the downloaded software package based on the verification command.
[0077] In some embodiments, referring to FIG7, FIG7 is another detailed flowchart of an upgrade method performed by an OTA master control module of an in-vehicle terminal according to some embodiments of the present disclosure, the method further comprising the following steps S710 to S720:
[0078] Step S710: The update and configuration management unit sends a signature verification command to the upgrade control module, causing the upgrade control module to call the encryption / decryption unit to decrypt and verify the signature of the software package downloaded by the download module; and
[0079] In step S720, the update and configuration management unit receives the signature verification result returned by the upgrade control module, and when the signature verification result is successful, the update and configuration management unit sends an upgrade command to the upgrade control module so that the upgrade control module can perform a software upgrade based on the upgrade command.
[0080] In some embodiments, the target controller 120 has a built-in encryption / decryption unit, meaning that both the intelligent cockpit domain controller 121 and the intelligent driving domain controller 122 have built-in encryption / decryption units. This unit, through interaction with the upgrade control module 1212 deployed in the target controller 120, can decrypt and verify the downloaded software packages, ensuring the integrity and authenticity of the downloaded software packages and preventing tampering during the upgrade process, thus avoiding potential safety hazards to the vehicle. In some embodiments, after the download module 1211 in the target controller 120 downloads the corresponding software package based on the download command from the firmware online upgrade master control unit, it sends the download result back to the firmware online upgrade master control unit. When the download result indicates completion, the update and configuration management unit can send a verification command to the upgrade control module 1212 in the target controller 120, causing the upgrade control module 1212 to invoke the encryption / decryption unit built into the target controller 120 to decrypt and verify the software packages downloaded by the download module 1211. After verification, the upgrade control module 1212 can return the verification result to the update and configuration management unit. When the signature verification result is successful, the update and configuration management unit can send an upgrade command to the upgrade control module 1212, enabling the upgrade control module 1212 to interact with the self-upgrade module built into the target controller 120 based on the upgrade command, thereby upgrading the corresponding software. This ensures the security of the software package downloaded by the download module 1211 and prevents the software package from being tampered with during the upgrade process.
[0081] Referring to FIG8, FIG8 is a flowchart of an upgrade method performed by a target controller of an in-vehicle terminal according to some embodiments of the present disclosure. Referring to FIG8, the upgrade method performed by the target controller 120 of the in-vehicle terminal includes at least step S810, which is described in detail below:
[0082] In step S810, when the upgrade task is to upgrade the target controller's software, the download module and the upgrade control module interact with the OTA main control module to download the corresponding software package and perform the software upgrade.
[0083] In this embodiment, the target controller 120 is equipped with a download module 1211 and an upgrade control module 1212, and includes a smart cockpit domain controller 121 and / or a smart driving domain controller 122. Therefore, when the upgrade task is to perform a software upgrade on the target controller 120, the download module 1211 and the upgrade control module 1212 in the target controller 120 interact with the OTA master control module to download and upgrade the corresponding software package. This allows the target controller to autonomously download and upgrade the software package, reducing the process of transferring the software package from the OTA master control module to the target controller, saving transmission time, and thus improving upgrade efficiency.
[0084] Based on the same inventive concept, this disclosure also provides an upgrade method applied to a vehicle, wherein the vehicle's on-board terminal includes an OTA master control module and a target controller, the OTA master control module being located in the vehicle's central processing domain controller, and the method comprising: the OTA master control module receiving an upgrade task sent by an OTA cloud; and when the upgrade task is to perform a software upgrade on the target controller, the target controller downloading the corresponding software package and performing the software upgrade.
[0085] In some implementations, when the upgrade task is to upgrade the software of the target controller, the target controller performs a corresponding software package download and software upgrade, including: when the upgrade task is to upgrade the software of the target controller, the OTA master control module sends an upgrade package download address and a download instruction to the target controller; the target controller downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; the OTA master control module receives the download result returned by the target controller, and when the download result indicates that the download is complete, sends an upgrade instruction to the target controller; and the target controller performs a software upgrade based on the upgrade instruction.
[0086] In some embodiments, the method further includes: the OTA master control module acquiring the status of the target controller; when the target controller is in a wake-up state, the OTA master control module sending an upgrade package download address and a download instruction to the target controller; the target controller downloading the corresponding upgrade package according to the download instruction and based on the upgrade package download address; and when the target controller is in a sleep state, the OTA master control module waking up the target controller, so that the target controller switches from the sleep state to the wake-up state.
[0087] In some embodiments, the method further includes: when the download result is a download failure, the OTA master control module sends the upgrade package download address and download instruction to the target controller again; the target controller downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; when the download result is a download interruption, the OTA master control module sends a continue download instruction to the target controller when the target controller is in a wake-up state; and the target controller downloads the unsuccessfully downloaded portion based on the continue download instruction.
[0088] In some implementations, the method further includes: the OTA master control module sending a verification command to the target controller; and the target controller verifying the integrity and authenticity of the downloaded software package based on the verification command.
[0089] In some implementations, when the download result is "download complete", the method further includes: the OTA master control module sending a signature verification command to the target controller; the target controller decrypting and verifying the downloaded software package; the OTA master control module receiving the signature verification result returned by the target controller, and when the signature verification result is "verification passed", sending an upgrade command to the target controller; and the target controller performing a software upgrade based on the upgrade command.
[0090] Based on the same inventive concept, this disclosure also provides a computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the methods provided in any of the above embodiments.
[0091] Please refer to Figure 9, which illustrates the hardware structure of a computer program product according to some embodiments of this disclosure. The computer program product includes:
[0092] The processor 901 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the upgrade method according to some embodiments of this disclosure.
[0093] The memory 902 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 902 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902 and is called and executed by the processor 901 according to some embodiments of this disclosure.
[0094] The input / output interface 903 is used to implement information input and output.
[0095] The communication interface 904 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0096] Bus 905 transmits information between various components of the device (e.g., processor 901, memory 902, input / output interface 903, and communication interface 904).
[0097] The processor 901, memory 902, input / output interface 903, and communication interface 904 are connected to each other within the device via bus 905.
[0098] Based on the same inventive concept, this disclosure provides a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to perform the operations performed by the method provided in any of the above embodiments.
[0099] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this disclosure and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0100] In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0101] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing computer program instructions, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0103] The above description is merely an embodiment of this disclosure and is not intended to limit this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.
Claims
1. An upgrade method applied to an OTA master control module of an in-vehicle terminal, wherein the in-vehicle terminal further includes a target controller, the target controller having a download module and an upgrade control module deployed therein, the method comprising: Receive upgrade tasks sent by OTA cloud; as well as When the upgrade task is to upgrade the software of the target controller, the target controller is enabled to download the corresponding software package and upgrade the software through interaction with the download module and the upgrade control module.
2. The method according to claim 1, wherein, The target controller includes a smart cockpit domain controller and / or a smart driving domain controller.
3. The method according to claim 1 or 2, wherein, The OTA main control module includes an update and configuration management unit and a firmware online upgrade main control unit. When the upgrade task is to upgrade the target controller's software, the module interacts with the download module and the upgrade control module to download the corresponding software package and perform the software upgrade, including: When the upgrade task is to upgrade the software of the target controller, the firmware online upgrade main control unit sends the upgrade package download address and download instruction to the download module, so that the download module downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; and The firmware online upgrade main control unit receives the download result returned by the download module, and when the download result indicates that the download is complete, the update and configuration management unit sends an upgrade command to the upgrade control module so that the upgrade control module performs a software upgrade based on the upgrade command.
4. The method according to claim 3, wherein when the upgrade task is to perform a software upgrade on the target controller, the method further comprises: The status of the target controller is obtained by the firmware online upgrade main control unit; When the target controller is in a wake-up state, the firmware online upgrade main control unit sends an upgrade package download address and a download instruction to the download module, so that the download module downloads the corresponding upgrade package according to the download instruction and the upgrade package download address; and When the target controller is in a sleep state, the firmware online upgrade main control unit wakes up the target controller so that the target controller switches from a sleep state to a wake-up state.
5. The method according to claim 3, further comprising: When the download result is a download failure, the firmware online upgrade main control unit sends the upgrade package download address and download instruction to the download module again, so that the download module downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; and When the download result is that the download is interrupted, the firmware online upgrade main control unit sends a continue download instruction to the download module when the target controller is in the wake-up state, so that the download module can download the unsuccessful part based on the continue download instruction.
6. The method according to claim 3, further comprising: The firmware online upgrade main control unit sends a verification command to the download module, so that the download module can verify the integrity and authenticity of the downloaded software package based on the verification command.
7. The method according to claim 3, wherein the target controller has a built-in encryption / decryption unit, and the method further includes: The update and configuration management unit sends a signature verification command to the upgrade control module, so that the upgrade control module calls the encryption and decryption unit to decrypt and verify the software package downloaded by the download module; The update and configuration management unit receives the signature verification result returned by the upgrade control module. When the signature verification result is successful, the update and configuration management unit sends an upgrade command to the upgrade control module so that the upgrade control module performs a software upgrade based on the upgrade command.
8. The method according to claim 2, wherein, When the target controller is the intelligent cockpit domain controller, the download module of the target controller is the download module deployed in the intelligent cockpit domain controller, and the upgrade control module of the target controller is the upgrade control module deployed in the intelligent cockpit domain controller. When the upgrade task is to perform a software upgrade on the intelligent cockpit domain controller, the step of downloading and upgrading the corresponding software package through interaction with the download module and the upgrade control module includes: The system autonomously downloads and upgrades software packages using the download and upgrade control modules deployed in the intelligent cockpit domain controller.
9. The method according to claim 2, wherein, When the target controller is the intelligent driving domain controller, the download module of the target controller is the download module deployed in the intelligent driving domain controller, and the upgrade control module of the target controller is the upgrade control module deployed in the intelligent driving domain controller. When the upgrade task is to perform a software upgrade on the intelligent driving domain controller, the step of downloading and upgrading the corresponding software package through interaction with the download module and the upgrade control module includes: The system autonomously downloads and upgrades software packages using the download and upgrade control modules deployed in the intelligent driving domain controller.
10. An upgrade method applied to a target controller of an in-vehicle terminal, the target controller having a download module and an upgrade control module deployed therein, the method comprising: When the upgrade task is to upgrade the software of the target controller, if the download module receives a download instruction, it downloads the corresponding software package. as well as If the upgrade control module receives an upgrade command, it will perform a software upgrade.
11. The method according to claim 10, wherein, The target controller includes a smart cockpit domain controller and / or a smart driving domain controller.
12. An upgrade method applied to a vehicle, wherein the vehicle's onboard terminal includes an OTA master control module and a target controller, the OTA master control module being located in the vehicle's central processing domain controller, the method comprising: The OTA main control module receives upgrade tasks sent by the OTA cloud; as well as When the upgrade task is to upgrade the software of the target controller, the target controller downloads the corresponding software package and performs the software upgrade.
13. The method according to claim 12, wherein, When the upgrade task is to upgrade the software of the target controller, the target controller performs the corresponding software package download and software upgrade, including: When the upgrade task is to upgrade the software of the target controller, the OTA main control module sends the upgrade package download address and download instruction to the target controller; The target controller downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; The OTA master control module receives the download result returned by the target controller, and sends an upgrade command to the target controller when the download result indicates that the download is complete; and The target controller performs a software upgrade based on the upgrade command.
14. The method according to claim 13, further comprising: The OTA master control module acquires the status of the target controller; When the target controller is in a wake-up state, the OTA main control module sends the upgrade package download address and download command to the target controller; The target controller downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; and When the target controller is in a sleep state, the OTA master control module wakes up the target controller so that the target controller switches from the sleep state to the wake-up state.
15. The method according to claim 13, further comprising: When the download result is a download failure, the OTA main control module sends the upgrade package download address and download instruction to the target controller again; The target controller downloads the corresponding upgrade package according to the download instruction and based on the upgrade package download address; and When the download result is that the download is interrupted, the OTA master control module sends a continue download command to the target controller when the target controller is in a wake-up state; the target controller then downloads the unsuccessful portion based on the continue download command.
16. The method according to claim 13, further comprising: The OTA master control module sends a verification command to the target controller; as well as The target controller verifies the integrity and authenticity of the downloaded software package based on the verification command.
17. A vehicle-mounted terminal, the vehicle-mounted terminal comprising a central domain controller and a target controller, wherein, The central domain controller is equipped with an OTA master control module, and the target controller is equipped with a download module and an upgrade control module. The OTA master control module is used to execute the method according to any one of claims 1-9; and The target controller is used to execute the method of claim 10.
18. The vehicle terminal according to claim 17, wherein the target controller includes a smart cockpit domain controller and / or a smart driving domain controller.
19. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the method performed by the OTA master control module as described in any one of claims 1-9, or the method performed by the target controller as described in any one of claims 10-11, or the method performed by the vehicle as described in claims 12-16.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that are loaded and executed by a processor to perform the operations performed by the method as described in any one of claims 1-9, or to perform the operations performed by the method as described in any one of claims 10-11, or to perform the operations performed by the method as described in any one of claims 12-16.
Citation Information
Patent Citations
OTA upgrading system and method of vehicle
CN116132947A
Upgrading method of vehicle system, vehicle system and vehicle
CN116431168A
Vehicle-mounted entertainment system upgrading method and system, intelligent cabin and electronic equipment
CN117111982A
Upgrading method capable of improving OTA upgrading efficiency and vehicle-mounted terminal
CN118656096A