New energy automobile online upgrading system and upgrading method
Through the online upgrade system of new energy vehicles, the combination of cloud server and vehicle-side system is used to ensure the authenticity and integrity of the software upgrade package, solve the problems of insecure and low efficiency in the upgrade process in the existing technology, and achieve high efficiency. Safe software upgrade.
Patent Information
- Application Number
- CN202411111088.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-13
AI Technical Summary
In the prior art, it is difficult to ensure the integrity and authenticity of the upgrade package during the online upgrade of software in the prior art, resulting in insecure and inefficient upgrade process of vehicle software.
A new energy vehicle online upgrade system was designed, including cloud servers and vehicle-side systems, and software source version information was collected through the information management unit, the business unit generated upgrade packages, the content distribution unit optimized transmission speed, and the certificate key unit performed digital verification. Ensure the authenticity and integrity of the upgrade package and prevent tampering through permission management and security audit modules.
Achieves large-scale and batch upgrades of multiple controller software, improves upgrade efficiency and security, ensures the authenticity and integrity of the upgrade package during transmission, prevents malicious tampering, and improves the convenience of software upgrades and Security.
Smart Images

Figure CN119135377A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile communication technology, and in particular to an online upgrading system and upgrading method for a new energy automobile. Background Art
[0002] The modern automobile industry is developing rapidly with intelligence and networking. Intelligent and networked cars are not only a means of transportation, but also a part of human life. The work of the automobile system is coordinated and controlled by multiple electronic control units. The operation of the electronic control units is mainly realized through software code. With the increase in the number and complexity of the electronic control unit software in the car, the risk of defects in the vehicle software has also increased further. When the defects caused in the development process of the vehicle software and the hacker attacks suffered during the Internet communication process cause the software to be damaged, the vehicle manufacturer processes the received software damage information, optimizes the defects to form a software upgrade package and publishes it to the automotive electronic control unit. The traditional online software upgrade method is difficult to ensure the authenticity and integrity of the software upgrade process. Therefore, an upgrade system that can ensure the safety and completeness of the software upgrade process is needed to escort the upgrade of the vehicle software. Summary of the invention
[0003] One of the purposes of the present invention is to provide an online upgrade system and method for new energy vehicles to solve the problem in the prior art that it is difficult to ensure the integrity and authenticity of the upgrade package during the online software upgrade process, so as to ensure the smooth upgrade of the vehicle-mounted software.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] The present invention provides an online upgrade system and an upgrade method for a new energy vehicle, wherein an online upgrade system for a new energy vehicle comprises a plurality of control units, each control unit being mounted on a vehicle, and further comprising: a cloud server and a vehicle-side system, wherein the cloud server and the vehicle-side system are communicatively connected;
[0006] The vehicle-side system includes an information management unit and a communication unit; the information management unit is used to collect the software source version information of the control unit; the communication unit is used to synchronize the source version information to the cloud server;
[0007] The cloud server includes a business unit and a data interface unit. The business unit is used to perform version management on source version information and generate upgrade packages. The data interface unit is used to communicate with the business unit and the vehicle-side system so that the upgrade package can be transmitted to the vehicle-side system.
[0008] The cloud server also includes a content distribution unit and a certificate key unit. The content distribution unit is used to transmit the upgrade package to the vehicle-side system and optimize the transmission speed of the upgrade package; the certificate key unit is used to digitally verify the upgrade package to ensure the authenticity and integrity of the upgrade package during the download process.
[0009] The information management unit collects the software source version information of the controller and synchronizes it to the cloud server through the communication unit. The business unit compares the source version information with the version information of the latest software stored in the server and generates an upgrade package. The upgrade package is sent to the information management unit through the content distribution unit, and the certificate key unit digitally verifies the upgrade package.
[0010] The upgrade system of the present invention updates the software of the controller through an online upgrade method, and can upgrade the software of multiple controllers on a large scale and in batches, greatly improving the efficiency of controller software upgrades; at the same time, the certificate key unit can ensure the authenticity and integrity of the upgrade package during the transmission process, prevent the upgrade package from being maliciously tampered with, and make the controller software upgrade more convenient, efficient and secure.
[0011] Furthermore, the certificate key unit includes a permission management module and a security audit module; the permission management module is used to manage access rights of the upgrade package to ensure that unauthorized users are prohibited from accessing the upgrade package, and the security audit module is used to monitor and identify illegal access during the upgrade package transmission process to prevent data from being tampered with during the upgrade package transmission process.
[0012] Furthermore, the business unit includes a version management module and a difference management module. The version management module is used to track the information change of the control unit software version, and the difference management module extracts the changed information and forms an upgrade package.
[0013] Furthermore, the data interface unit includes a data transmission module, which is used to transmit the upgrade package to the vehicle-side system.
[0014] Furthermore, the data interface unit also includes a file management module, which is used to temporarily store the upgrade packages and classify the upgrade packages; the data transmission module can transmit various types of upgrade packages to each control unit respectively.
[0015] Furthermore, the cloud server also includes an interaction unit, which is used to display data information of the upgrade package to the user and provide an editable operation interface for the user.
[0016] Furthermore, the cloud server also includes a data storage unit, which is used to store data information of the upgrade package and perform data backup of the upgrade package to prevent data loss of the upgrade package.
[0017] The present invention also provides a new energy vehicle online upgrade method, based on the above-mentioned new energy vehicle online upgrade system, comprising the following steps:
[0018] S1. The information management unit collects source version information of the control unit software and synchronizes it to the cloud server;
[0019] S2. The business unit queries whether there is an upgradeable version based on the source version information, packages the upgradeable version and adds installation information and download tags to form an upgrade package;
[0020] S3, the information management unit sends an upgrade package download request to the cloud server and downloads the upgrade package;
[0021] S4. The information management unit transmits the upgrade package to each control unit for installation, thereby completing the software upgrade of the control unit.
[0022] According to the above technical means, the upgrade method of the present invention utilizes the upgrade system to upgrade the controller software. The upgrade method is simple and clear, and the transmission process of the upgrade package is securely guaranteed based on the certificate key unit, so that the authenticity of the controller software upgrade is high.
[0023] Furthermore, collecting the software source version information of the control unit in step S1 includes:
[0024] Active collection, where the cloud server actively sends information collection instructions to the information management unit to collect the software source version information of the control unit;
[0025] Passive collection: the user operates the information management unit to collect the software source version information of the control unit.
[0026] Furthermore, step S3 includes the following sub-steps:
[0027] S31, the information management unit sends an upgrade package download request to the cloud server;
[0028] S32, the cloud server sends the upgrade package, and the certificate key unit verifies the authenticity and integrity of the upgrade package;
[0029] If the verification is passed, proceed to step S33;
[0030] If the verification fails, return to step S31;
[0031] S33. The information management unit downloads the upgrade package.
[0032] The beneficial effects of the present invention are:
[0033] 1. The upgrade system of the present invention updates the software of the controller through an online upgrade method, and can upgrade the software of multiple controllers on a large scale and in batches, greatly improving the efficiency of controller software upgrades; at the same time, the certificate key unit can ensure the authenticity and integrity of the upgrade package during the transmission process, prevent the upgrade package from being maliciously tampered with, and make the controller software upgrade more convenient, efficient and safe.
[0034] 2. The upgrade method of the present invention utilizes the upgrade system to upgrade the controller software. The upgrade method is simple and clear, and the transmission process of the upgrade package is securely guaranteed based on the certificate key unit, so that the authenticity of the controller software upgrade is high. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 It is a schematic diagram of the overall structure of the upgrade system of the present invention;
[0037] Figure 2 It is a schematic diagram of the composition of the vehicle-side system of the present invention;
[0038] Figure 3 It is a schematic diagram of the composition of the cloud server of the present invention;
[0039] Figure 4 is a flow chart of the upgrading method of the present invention;
[0040] Figure 5 It is a sub-step flow chart of step S3 in the upgrading method of the present invention;
[0041] Figure 6 It is a sub-step flow chart of step S4 in the upgrading method of the present invention. DETAILED DESCRIPTION
[0042] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. The accompanying drawings are only used for exemplary description and cannot be understood as limiting the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0043] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0044] This embodiment provides Figures 1 to 6 A new energy vehicle online upgrade system and upgrade method shown in FIG. Figures 1 to 3 A new energy vehicle online upgrade system shown includes multiple control units, each of which is mounted on a vehicle, and also includes: a cloud server and a vehicle-side system, the cloud server and the vehicle-side system are communicatively connected;
[0045] like Figure 2 As shown, the vehicle-side system of this embodiment includes an information management unit and a communication unit; the information management unit includes IVI (in-vehicle infotainment system) and TBOX (in-vehicle information and positioning transmission system), IVI (in-vehicle infotainment system) is used to connect to the cloud server so that users can obtain application information, etc., TBOX (in-vehicle information and positioning transmission system) is used to collect vehicle information, including collecting software source version information of the control unit, and can synchronize the collected vehicle information to the cloud server in real time; the communication unit includes GW (gateway), GW (gateway) can realize the connection between different controllers in the vehicle, and can realize the communication between the vehicle and the external network, and is used to synchronize the software source version information of the control unit to the cloud server;
[0046] like Figure 3 As shown, the cloud server of this embodiment includes a business unit and a data interface unit. The business unit is used for the core processing controller software upgrade logic, including vehicle management, version management, log management, differential calculation, etc. The business unit can perform version management for source version information and generate upgrade packages; the data interface unit is a bridge for the cloud server to communicate with the vehicle-side system, and is used for communication connection between the business unit and the vehicle-side system, and provides upgrade services for controller software version upgrades through remote communication means, so that the upgrade package can be transmitted to the vehicle-side system;
[0047] The cloud server also includes a content distribution unit and a certificate key unit. The content distribution unit is used to transmit the upgrade package to the vehicle-side system and optimize the transmission speed of the upgrade package; the certificate key unit is used to digitally verify the upgrade package to ensure the authenticity and integrity of the upgrade package during the download process.
[0048] The information management unit collects the software source version information of the controller and synchronizes it to the cloud server through the communication unit. The business unit compares the source version information with the version information of the latest software stored in the server and generates an upgrade package. The upgrade package is sent to the information management unit through the content distribution unit, and the certificate key unit digitally verifies the upgrade package.
[0049] The upgrade system of the present invention updates the software of the controller through an online upgrade method, and can upgrade the software of multiple controllers on a large scale and in batches, thereby improving the efficiency of controller software upgrades; at the same time, the certificate key unit can ensure the authenticity and integrity of the upgrade package during the transmission process, prevent the upgrade package from being maliciously tampered with, and make the controller software upgrade more convenient, efficient and safe.
[0050] In this embodiment, the certificate key unit includes a permission management module and a security audit module; the permission management module is used to manage the access rights of the upgrade package to ensure that unauthorized users are prohibited from accessing the upgrade package, and the security audit module is used to monitor and identify illegal access during the upgrade package transmission process to prevent data from being tampered with during the upgrade package transmission process.
[0051] In this embodiment, the vehicle includes a power system, a body system, a chassis system, a cockpit system and an automatic driving system, and multiple control units can respectively control the power system, the body system, the chassis system, the cockpit system and the automatic driving system.
[0052] In this embodiment, the business unit includes a version management module and a differential management module. The version management module is used to track the information changes of the control unit software version. The differential management module can compare the source version information with the new version information of the corresponding software in the cloud server and extract the changed information to form an upgrade package.
[0053] Preferably, the business unit also includes a log management module, which is used to generate traceable logs. The logs include: information change records tracked by the version management module, digital verification records of the upgrade package by the certificate key unit, logs of user access to the upgrade package, logs of user installation of the upgrade package, etc., to form a record. When the upgrade package installation fails, the user can check the log to query the problem.
[0054] In this embodiment, the data interface unit includes a data transmission module, and the data transmission module is used to transmit the upgrade package to the vehicle-side system to facilitate the installation of the upgrade package.
[0055] In this embodiment, the data interface unit also includes a file management module, which is used to temporarily store upgrade packages and classify the upgrade packages; the data transmission module can transmit various types of upgrade packages to each control unit separately. Through the classification and transmission of upgrade packages, multiple control units can upgrade their software versions at the same time, making the software upgrade process more efficient.
[0056] like Figure 3 As shown, in this embodiment, the cloud server also includes an interaction unit, which is used to display data information of the upgrade package to the user and provide an editable operation interface for the user.
[0057] Preferably, the interactive unit includes a display module mounted on the vehicle, which can display the data information of the upgrade package to the user, and the user can operate the information management unit through the display module, so that the information management unit can collect and manage the software source version information of the controller in response to the user's operation. In addition, the display module also includes six major functions: user notification, user confirmation, power guarantee, preconditions, policy configuration, and task management. After the cloud server sends the upgrade package to the vehicle-side system, the display module displays the information of this upgrade (upgrade purpose, upgrade time, changes in vehicle functions, etc.) to the user, and the user confirms the upgrade after reading it.
[0058] Preferably, the display module is an onboard computer.
[0059] In this embodiment, the cloud server further includes a data storage unit, which is used to store data information of the upgrade package and perform data backup of the upgrade package to prevent data loss of the upgrade package.
[0060] like Figures 4 to 6 As shown, this embodiment also provides a new energy vehicle online upgrade method, based on the above-mentioned new energy vehicle online upgrade system, including the following steps:
[0061] S1. The information management unit collects source version information of the control unit software and synchronizes it to the cloud server;
[0062] S2. The business unit queries whether there is an upgradeable version based on the source version information, and packages the upgradeable version and adds installation information and download tags to form an upgrade package; at the same time, the business unit sends an upgrade prompt to the information management unit;
[0063] S3, the information management unit sends an upgrade package download request to the cloud server and downloads the upgrade package;
[0064] S4. The information management unit transmits the upgrade package to each control unit for installation, thereby completing the software upgrade of the control unit.
[0065] The upgrade method of the present invention is based on the above-mentioned upgrade system to detect and install the upgrade package through the above-mentioned steps to upgrade the controller software. The upgrade method is simple and clear; and the above-mentioned upgrade method is based on the certificate key unit to ensure the security of the transmission process of the upgrade package, so that the authenticity of the controller software upgrade is high.
[0066] In this embodiment, the method of collecting the software source version information of the control unit in step S1 includes:
[0067] Active collection, where the cloud server actively sends information collection instructions to the information management unit to collect the software source version information of the control unit;
[0068] Passive collection, where the user operates the information management unit through the display module to collect the software source version information of the control unit;
[0069] By collecting the software source version information of the control unit in the above two ways and feeding it back to the cloud server, an upgrade package can be generated in time and sent to the information management unit when a new version of the software is released on the cloud server, so as to upgrade the software version efficiently and quickly. At the same time, users can manually query whether there is an upgradeable software version as needed, which is convenient and fast.
[0070] In this embodiment, in step S2, when the business unit finds that there is an upgradeable version of the control unit software, and the business unit sends an upgrade prompt to the information management unit, the information management unit needs to query whether the upgrade package has been downloaded. If it has been downloaded, it skips step S3 and directly executes step S4; if it has not been downloaded, the display module prompts the user whether to download the upgrade package. If the user chooses to download the upgrade package, step S3 is executed; if the user chooses not to download the upgrade package, the display module keeps the prompt icon so that the user can manually choose to download the upgrade package when needed.
[0071] When the business unit finds that there is no upgradeable version:
[0072] When the active collection method detects that there is no upgradeable version, there is no prompt;
[0073] When it is detected by the passive collection method that there is no upgradeable version, the display module will show the user that the controller software is the latest version, including but not limited to displaying "already the latest version", "no update" or other information prompts.
[0074] like Figure 5 As shown, in this embodiment, after the business unit sends the upgrade prompt to the information management unit, step S3 is executed, and step S3 includes the following sub-steps:
[0075] S31, the information management unit sends an upgrade package download request to the cloud server;
[0076] S32, the cloud server sends the upgrade package, and the certificate key unit verifies the authenticity and integrity of the upgrade package;
[0077] If the verification is passed, execute step S33;
[0078] If the verification fails, return to step S31;
[0079] S33. The information management unit downloads the upgrade package.
[0080] In this embodiment, the information management unit presets a limit value for the number of download requests. When the authenticity and integrity checks fail, the information management unit continues to request downloads and the number of download requests reaches the limit value, then the display module prompts the user that "download failed" and deletes the downloaded content of the upgrade package. At the same time, the cloud server adds "download requested" and "download unsuccessful" marks to the software and displays them to the user on the display module.
[0081] like Figure 6 As shown, in this embodiment, step S4 includes the following sub-steps:
[0082] S41, the information management unit transmits the upgrade package to the control unit;
[0083] S42, the interactive unit prompts the user to choose to install the upgrade package immediately or to schedule installation;
[0084] If the user chooses to install immediately, step S43 is executed immediately;
[0085] The user selects scheduled installation and sets the installation time of the upgrade package, and the control unit executes step S43 at the scheduled time;
[0086] S43. Install the upgrade package.
[0087] Preferably, in this embodiment, when the interactive unit prompts the user to choose to install immediately or to schedule to install the upgrade package, it also includes a return option. If the user chooses to return, it returns to the upgrade interface and keeps the prompt of the upgrade icon so that the user can subsequently perform the installation operation of the upgrade package.
[0088] Before installing the upgrade package, the vehicle-side system will detect the vehicle upgrade environment through power guarantee (power battery, battery voltage) and preconditions (vehicle is in P gear, manual brake is pulled, not charged, etc.). If the power guarantee conditions and preconditions are not met, the upgrade package cannot be installed.
[0089] During the installation of the upgrade package, the vehicle-side system closes the application message, network management message, and DTC record (diagnostic trouble code record), and flashes the control unit software according to the steps of Bootloader (boot loader) pre-programming, main programming, and post-programming.
[0090] Obviously, the above embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A new energy vehicle online upgrade system, comprising a plurality of control units, each of which is mounted on a vehicle, characterized in that: It also includes: a cloud server and a vehicle-side system, wherein the cloud server and the vehicle-side system are communicatively connected; The vehicle-side system includes an information management unit and a communication unit; the information management unit is used to collect software source version information of the control unit; the communication unit is used to synchronize the source version information to the cloud server; The cloud server includes a business unit and a data interface unit, wherein the business unit is used to perform version management on the source version information and generate an upgrade package, and the data interface unit is used to connect the business unit and the vehicle-side system in communication so that the upgrade package can be transmitted to the vehicle-side system; The cloud server also includes a content distribution unit and a certificate key unit. The content distribution unit is used to transmit the upgrade package to the vehicle-side system and optimize the transmission speed of the upgrade package; the certificate key unit is used to digitally verify the upgrade package to ensure the authenticity and integrity of the upgrade package during the download process.
2. The online upgrade system for new energy vehicles according to claim 1, characterized in that: The certificate key unit includes a permission management module and a security audit module; the permission management module is used to manage the access rights of the upgrade package to ensure that unauthorized users are prohibited from accessing the upgrade package, and the security audit module is used to monitor and identify illegal access during the upgrade package transmission process to prevent data from being tampered with during the upgrade package transmission process.
3. The online upgrade system for new energy vehicles according to claim 1, characterized in that: The business unit includes a version management module and a difference management module. The version management module is used to track the information change of the control unit software version, and the difference management module extracts the changed information and forms the upgrade package.
4. The online upgrade system for new energy vehicles according to claim 1, characterized in that: The data interface unit includes a data transmission module, and the data transmission module is used to transmit the upgrade package to the vehicle-side system.
5. The online upgrade system for new energy vehicles according to claim 4, characterized in that: The data interface unit also includes a file management module, which is used to temporarily store the upgrade packages and classify the upgrade packages; the data transmission module can transmit each type of upgrade package to each control unit respectively.
6. The online upgrade system for new energy vehicles according to claim 1, characterized in that: The cloud server also includes an interaction unit, which is used to display data information of the upgrade package to the user and provide an editable operation interface for the user.
7. The online upgrade system for new energy vehicles according to claim 1, characterized in that: The cloud server also includes a data storage unit, which is used to store data information of the upgrade package and perform data backup of the upgrade package to prevent data loss of the upgrade package.
8. A new energy vehicle online upgrade method, based on the new energy vehicle online upgrade system according to any one of claims 1 to 5, characterized in that: The following steps are involved: S1, the information management unit collects the source version information of the control unit software and synchronizes it to the cloud server; S2. The business unit queries whether there is an upgradeable version according to the source version information, and packages the upgradeable version and adds installation information and a download tag to form an upgrade package; S3, the information management unit sends an upgrade package download request to the cloud server and downloads the upgrade package; S4. The information management unit transmits the upgrade package to each of the control units for installation, thereby completing the software upgrade of the control unit.
9. The online upgrade method for new energy vehicles according to claim 8, characterized in that: Collecting the software source version information of the control unit in step S1 includes: Active collection, where the cloud server actively sends an information collection instruction to the information management unit to collect the software source version information of the control unit; Passive collection, where the user operates the information management unit to collect the software source version information of the control unit.
10. The online upgrade method for new energy vehicles according to claim 8, characterized in that: The S3 step includes the following sub-steps: S31, the information management unit sends an upgrade package download request to the cloud server; S32, the cloud server sends the upgrade package, and the certificate key unit verifies the authenticity and integrity of the upgrade package; If the verification is passed, proceed to step S33; If the verification fails, return to step S31; S33. The information management unit downloads the upgrade package.
