CN114697358A - Intelligent automobile FOTA upgrading system and method - Google Patents
Intelligent automobile FOTA upgrading system and method Download PDFInfo
- Publication number
- CN114697358A CN114697358A CN202210185492.0A CN202210185492A CN114697358A CN 114697358 A CN114697358 A CN 114697358A CN 202210185492 A CN202210185492 A CN 202210185492A CN 114697358 A CN114697358 A CN 114697358A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- fota
- data
- ota server
- task
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/009—Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/44—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本发明涉及一种智能汽车FOTA升级系统及方法,系统包括基线数据模块、车辆数据模块和OTA服务器,所述基线数据模块用于将其存放的研发端的基线数据发送给所述OTA服务器,所述车辆数据模块用户获取车辆出厂配置数据发送给所述OTA服务器,所述OTA服务器用于从车端获取当前的车辆数据并且根据所述基线数据、所述车辆出厂配置数据和当前的车辆数据判断当前的车辆数据对应的车端软件版本和基线数据对应的最新FOTA版本是否存在差异,并且当存在差异时,创建FOTA任务在车端提示用户有新的FOTA版本需要更新。判断最新FOTA版本和车端软件版本是否存在差异时,通过OTA服务器向车辆推送FOTA任务,实现远程控制车辆功能的快速更迭及远程车辆故障修复,优化了用户的驾驶体验。
The invention relates to a FOTA upgrade system and method for an intelligent vehicle. The system includes a baseline data module, a vehicle data module and an OTA server, wherein the baseline data module is used to send the stored baseline data of the research and development terminal to the OTA server, and the The vehicle data module user obtains the vehicle factory configuration data and sends it to the OTA server, and the OTA server is used to obtain the current vehicle data from the vehicle end and judge the current vehicle data according to the baseline data, the vehicle factory configuration data and the current vehicle data. Whether there is a difference between the on-board software version corresponding to the vehicle data and the latest FOTA version corresponding to the baseline data, and when there is a difference, create a FOTA task on the on-board side to prompt the user that there is a new FOTA version that needs to be updated. When judging whether there is a difference between the latest FOTA version and the vehicle-end software version, the FOTA task is pushed to the vehicle through the OTA server, which realizes the rapid change of the remote control vehicle function and the remote vehicle fault repair, and optimizes the user's driving experience.
Description
技术领域technical field
本发明涉及汽车控制技术领域,尤其涉及一种智能汽车FOTA升级系统及方法。The invention relates to the technical field of automobile control, in particular to a system and method for FOTA upgrading of an intelligent automobile.
背景技术Background technique
随着汽车电动化、智能化的发展,车载控制器越来越多,功能越来越复杂。传统的软件升级,通过4S店大规模召回车辆后升级软件可完成修复bug。FOTA泛指远程车辆软件升级,是判断智能电动汽车的一大重要指标。With the development of automobile electrification and intelligence, there are more and more on-board controllers, and their functions are more and more complex. Traditional software upgrades can be done to fix bugs by upgrading the software after a large-scale recall of vehicles through 4S stores. FOTA generally refers to remote vehicle software upgrade, which is an important indicator for judging smart electric vehicles.
拥有FOTA能力的车辆将能够:Vehicles with FOTA capability will be able to:
1、针对车辆电子控制单元(ECU)、车机系统固件等升级;1. Upgrade the vehicle electronic control unit (ECU), vehicle system firmware, etc.;
2、用户无需前往线下服务中心或连接外部设备;2. Users do not need to go to the offline service center or connect to external devices;
3、通过云端即可获取升级包并进行升级更新,实现功能的快速迭代,以及车辆使用体验、驾驶体验的不断优化。3. The upgrade package can be obtained and updated through the cloud to realize the rapid iteration of functions and the continuous optimization of the vehicle experience and driving experience.
简单概括为FOTA能带来整车车机系统级别的升级,是一种高于OTA的车机软件更新功能(例如在智能手机层面,微信软件版本的更新为OTA,而iPhone的软件版本由iOS11升级到iOS13则是FOTA),而现有的汽车OTA技术,仅仅是对导航APP、多媒体APP进行升级级。A brief summary is that FOTA can bring the upgrade of the vehicle system level of the whole vehicle. It is a vehicle software update function higher than OTA (for example, at the smartphone level, the WeChat software version update is OTA, and the iPhone software version is changed from iOS11. Upgrading to iOS13 is FOTA), and the existing car OTA technology is only an upgrade of the navigation APP and multimedia APP.
因此,需要提供一种可以实现FOTA固件远程升级并且快速完成整车功能更迭并且信息安全等级较高的智能汽车FOTA升级系统来解决上述技术问题。Therefore, it is necessary to provide a smart car FOTA upgrade system that can realize FOTA firmware remote upgrade and quickly complete vehicle function change and has a high level of information security to solve the above technical problems.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题,本发明提供了一种智能汽车FOTA升级系统。解决了现有技术中需要通过4S店大规模召回车辆后升级软件完成修复bug,浪费成本和时间的问题。In order to solve the above technical problems, the present invention provides a FOTA upgrade system for a smart car. It solves the problem of wasting cost and time in the existing technology, which needs to be repaired by upgrading software after a large-scale recall of vehicles through 4S stores.
本发明的技术效果通过如下实现的:The technical effect of the present invention is achieved by the following:
一种智能汽车FOTA升级系统,包括基线数据模块、车辆数据模块和OTA服务器,所述基线数据模块和所述车辆数据模块均与所述OTA服务器连接,所述基线数据模块用于将其存放的研发端的基线数据发送给所述OTA服务器,所述基线数据包括用于完成整车功能更迭的所有控制器的软件包数据及每次需要发布的整车所有电子控制单元的软件版本的集合,所述车辆数据模块用户获取车辆出厂配置数据发送给所述OTA服务器,所述OTA服务器用于从车端获取当前的车辆数据并且根据所述基线数据、所述车辆出厂配置数据和当前的车辆数据判断当前的车辆数据对应的车端软件版本和基线数据对应的最新FOTA版本是否存在差异,并且当存在差异时,创建FOTA任务在车端提示用户有新的FOTA版本需要更新。通过设置基线数据模块,使得每次FOTA升级基于整车软件基线数据,发布整车层级软件静态画像及BSS软件升级包,每次FOTA升级都会考虑整车的基线数据,以整车为单位发布BSS软件升级包,将整车的所有相关联的汽车电子控制单元都进行更新(即将整车ECU拉都到一个软件基线数据上面),不会出现以往的只升级单个汽车电子控制单元导致的不能持续迭代的问题。OTA服务器可以根据基线数据、当前的车辆数据和车辆出厂配置数据判断出最新FOTA版本和车端软件版本是否存在差异,当存在差异时,通过OTA服务器向车辆推送FOTA任务,以使用户在车辆上完成FOTA任务的下载,从而通过基线数据的不断更迭,实现远程控制车辆功能的快速更迭,优化了用户的驾驶体验,解决了现有技术中需要通过4S店大规模召回车辆后升级软件完成修复bug,浪费成本和时间的问题。通过设置车辆数据模块,使得OTA服务器可以从车辆数据模块及时获取车辆查询的车辆型号、车架号、配置信息,匹配到对应的车辆生产批次、车辆型号,发布对应的软件。A smart car FOTA upgrade system, comprising a baseline data module, a vehicle data module and an OTA server, wherein the baseline data module and the vehicle data module are both connected to the OTA server, and the baseline data module is used to store the data stored therein. The baseline data of the research and development end is sent to the OTA server, and the baseline data includes the software package data of all controllers used to complete the function change of the whole vehicle and the collection of software versions of all electronic control units of the whole vehicle that need to be released each time. The vehicle data module user obtains the vehicle factory configuration data and sends it to the OTA server, and the OTA server is used to obtain the current vehicle data from the vehicle end and judge according to the baseline data, the vehicle factory configuration data and the current vehicle data. Whether there is a difference between the on-board software version corresponding to the current vehicle data and the latest FOTA version corresponding to the baseline data, and when there is a difference, create a FOTA task on the on-board side to prompt the user that there is a new FOTA version that needs to be updated. By setting the baseline data module, each FOTA upgrade is based on the vehicle software baseline data, and the vehicle-level software static image and BSS software upgrade package are released. Each FOTA upgrade will consider the vehicle's baseline data, and the BSS will be released on a vehicle-by-vehicle basis. The software upgrade package will update all the related automotive electronic control units of the whole vehicle (that is, pull all the ECUs of the whole vehicle to a software baseline data), and there will be no unsustainability caused by only upgrading a single automotive electronic control unit in the past. Iterative problem. The OTA server can determine whether there is a difference between the latest FOTA version and the on-board software version according to the baseline data, current vehicle data and vehicle factory configuration data. Complete the download of FOTA tasks, so as to realize the rapid change of remote control vehicle functions through the continuous change of baseline data, optimize the user's driving experience, and solve the problem in the existing technology that requires a large-scale recall of vehicles through 4S stores and then upgrade the software to complete the repair of bugs , the problem of wasting cost and time. By setting the vehicle data module, the OTA server can obtain the vehicle model, frame number, and configuration information queried by the vehicle in time from the vehicle data module, match it to the corresponding vehicle production batch and vehicle model, and release the corresponding software.
进一步地,还包括过渡模块,所述过渡模块用于存储通过所述OTA服务器对基线数据加密得到的加密软件包,所述过渡模块用于发送加密软件包的地址至所述OTA服务器。通过设置过渡模块,使得可以通过OTA服务器将从基线数据模块传输过来的基线数据的加密软件包存储在过渡模块中,提升软件包的安全性,从而使得当车端收到FOTA任务时,可以通过过渡模块下载加密软件包并进行解密安装。Further, a transition module is also included, the transition module is configured to store an encrypted software package obtained by encrypting the baseline data by the OTA server, and the transition module is configured to send the address of the encrypted software package to the OTA server. By setting the transition module, the encrypted software package of the baseline data transmitted from the baseline data module can be stored in the transition module through the OTA server to improve the security of the software package, so that when the vehicle receives the FOTA task, it can pass The transition module downloads the encrypted software package and decrypts it for installation.
进一步地,还包括车辆无线数据终端和FOTA主控制器,所述车辆无线数据终端用于接收所述OTA服务器的FOTA任务并将其发送至所述FOTA主控制器以完成FOTA任务的下载,所述FOTA主控制器用于当FOTA任务下载完成后通过所述车辆无线数据终端从所述过渡模块中下载并安装加密软件包。Further, it also includes a vehicle wireless data terminal and a FOTA main controller, the vehicle wireless data terminal is used to receive the FOTA task of the OTA server and send it to the FOTA main controller to complete the download of the FOTA task, so The FOTA main controller is used to download and install an encrypted software package from the transition module through the vehicle wireless data terminal after the FOTA task is downloaded.
进一步地,还包括车载控制屏,所述车载控制屏用于根据用户的授权向车辆无线数据终端所述发送下载授权指令、安装授权指令,并且接收所述FOTA主控制器发出的下载进度、安装进度。用户通过车载控制屏授权才可以开始加密软件包的下载。用户通过车载控制屏授权才可以开始软件包的安装,而且这时候才开始加密软件包解压,安装完成后对软件包进行删除,也缩短了加密文件处于解密状态的时间,防止软件包出现信息安全问题。Further, it also includes a vehicle-mounted control screen, which is used to send a download authorization instruction and an installation authorization instruction to the vehicle wireless data terminal according to the authorization of the user, and receive the download progress and installation instructions sent by the FOTA main controller. schedule. The user can start the download of the encrypted software package only after authorization through the on-board control panel. The user can start the installation of the software package only after authorization from the vehicle control screen, and then start to decompress the encrypted software package. After the installation is completed, the software package is deleted, which also shortens the time that the encrypted file is in the decrypted state and prevents the information security of the software package from appearing. question.
进一步地,所述车载控制屏还用于供用户搜索基线数据对应的最新FOTA版本以控制所述OTA服务器创建并传输FOTA任务。Further, the on-board control screen is also used for the user to search for the latest FOTA version corresponding to the baseline data to control the OTA server to create and transmit FOTA tasks.
进一步地,还包括分布式控制单元集合,所述分布式控制单元集合用于通过所述FOTA主控制器下载加密软件包至本地后在进行自刷写。通过设置分布式控制单元集合(Distributed控制器),将需要FOTA升级的软件包直接下载到分布式控制单元集合的本地存储器里面,然后由分布式控制单元集合自己刷写自己,优化了软件包先下载到FOTA主控制器再传输给控制单元的流程,极大的缩短了FOTA的升级时间。Further, it also includes a set of distributed control units, and the set of distributed control units is used to download the encrypted software package to the local through the FOTA main controller and then perform self-refreshing. By setting the distributed control unit set (Distributed controller), the software package that needs FOTA upgrade is directly downloaded to the local memory of the distributed control unit set, and then the distributed control unit set refreshes itself, optimizing the software package first. The process of downloading to the FOTA main controller and then transmitting it to the control unit greatly shortens the FOTA upgrade time.
进一步地,还包括非分布式控制单元集合,所述非分布式控制单元集合用于通过所述FOTA主控制器控制完成UDS刷写并UDS回复至所述FOTA主控制器。通过设置分布式控制单元集合(Distributed ECUs),使得分布式控制单元集合(Distributed ECUs)、所述车辆无线数据终端和所述FOTA主控制器之间采用IPCP协议进行通信。Further, a set of non-distributed control units is also included, and the set of non-distributed control units is configured to control the FOTA master controller to complete the UDS flashing and restore the UDS to the FOTA master controller. By setting the distributed control unit set (Distributed ECUs), the IPCP protocol is used for communication between the distributed control unit set (Distributed ECUs), the vehicle wireless data terminal and the FOTA main controller.
进一步地,所述基线数据模块、所述车辆无线数据终端和所述FOTA主控制器之间采用IPCP协议进行通信。通过采用IPCP协议进行通信,不同于传统的标准化的UDS协议,相对于CAN,Flexray总线传输速度更快,信息安全等级较高。Further, IPCP protocol is used for communication between the baseline data module, the vehicle wireless data terminal and the FOTA main controller. By using the IPCP protocol for communication, different from the traditional standardized UDS protocol, compared with CAN, the Flexray bus has a faster transmission speed and a higher level of information security.
另外,还提供一种智能汽车FOTA升级方法,所述方法基于上述的智能汽车FOTA升级系统实现的,所述方法包括:In addition, a smart car FOTA upgrade method is also provided, the method is implemented based on the above-mentioned smart car FOTA upgrade system, and the method includes:
利用OTA服务器获取研发端的基线数据、目标车辆的车辆出厂配置数据和目标车辆当前的车辆数据,所述车辆出厂配置数据包括车架号;Use the OTA server to obtain the baseline data of the research and development terminal, the vehicle factory configuration data of the target vehicle and the current vehicle data of the target vehicle, and the vehicle factory configuration data includes the frame number;
根据目标车辆的车辆出厂配置数据和目标车辆当前的车辆数据确定目标车辆对应的目标基线数据;Determine the target baseline data corresponding to the target vehicle according to the vehicle factory configuration data of the target vehicle and the current vehicle data of the target vehicle;
根据所述目标基线数据和目标车辆当前的车辆数据判断目标车辆当前的车辆数据对应的车端软件版本和目标基线数据对应的FOTA版本是否存在差异;According to the target baseline data and the current vehicle data of the target vehicle, determine whether there is a difference between the on-board software version corresponding to the current vehicle data of the target vehicle and the FOTA version corresponding to the target baseline data;
若否,则不需要进行操作;若是,则创建FOTA任务并将FOTA任务推送至车辆无线数据终端,以在车端提示用户有新的FOTA版本需要更新;If not, no operation is required; if so, create a FOTA task and push the FOTA task to the vehicle wireless data terminal to prompt the user on the vehicle side that there is a new FOTA version that needs to be updated;
当获取用户的下载授权指令和安装授权指令时,利用FOTA主控制器完成FOTA任务的下载和加密软件包的下载和安装。When the user's download authorization instruction and installation authorization instruction are obtained, the FOTA main controller is used to complete the download of the FOTA task and the download and installation of the encrypted software package.
进一步地,利用FOTA主控制器完成FOTA任务的下载和加密软件包的安装,之后包括:Further, the FOTA main controller is used to complete the downloading of the FOTA task and the installation of the encrypted software package, and then include:
当车端软件更新完成后,利用FOTA主控制器上报当前的车辆数据对应的车端软件版本至车辆无线数据终端,以使车辆无线数据终端将所述车端软件版本上传至OTA服务器;After the on-board software update is completed, use the FOTA main controller to report the on-board software version corresponding to the current vehicle data to the vehicle wireless data terminal, so that the vehicle wireless data terminal uploads the on-board software version to the OTA server;
或当到达预设周期时,通过FOTA主控制器自动触发上报当前的车辆数据对应的车端软件版本至车辆无线数据终端,以使车辆无线数据终端将所述车端软件版本上传至OTA服务器。Or when the preset period is reached, the FOTA main controller automatically triggers the reporting of the on-board software version corresponding to the current vehicle data to the vehicle wireless data terminal, so that the vehicle wireless data terminal uploads the on-board software version to the OTA server.
如上所述,本发明具有如下有益效果:As mentioned above, the present invention has the following beneficial effects:
1)通过设置基线数据模块,使得每次FOTA升级基于整车软件基线数据,发布整车层级软件静态画像及BSS软件升级包,每次FOTA升级都会考虑整车的基线数据,以整车为单位发布BSS软件升级包,将整车的所有相关联的汽车电子控制单元都进行更新(即将整车ECU拉都到一个软件基线数据上面),不会出现以往的只升级单个汽车电子控制单元导致的不能持续迭代的问题。1) By setting the baseline data module, each FOTA upgrade is based on the baseline data of the vehicle software, and the vehicle-level software static image and BSS software upgrade package are released. Each FOTA upgrade will consider the baseline data of the vehicle, with the vehicle as the unit Release the BSS software upgrade package to update all the related automotive electronic control units of the whole vehicle (that is, pull all the ECUs of the whole vehicle to a software baseline data), and there will be no previous problems caused by only upgrading a single automotive electronic control unit. The problem of not being able to iterate continuously.
2)OTA服务器可以根据基线数据、当前的车辆数据和车辆出厂配置数据判断出最新FOTA版本和车端软件版本是否存在差异,当存在差异时,通过OTA服务器向车辆推送FOTA任务,以使用户在车辆上完成FOTA任务的下载,从而通过基线数据的不断更迭,实现远程控制车辆功能的快速更迭,优化了用户的驾驶体验,解决了现有技术中需要通过4S店大规模召回车辆后升级软件完成修复bug,浪费成本和时间的问题。2) The OTA server can judge whether there is a difference between the latest FOTA version and the on-board software version according to the baseline data, current vehicle data and vehicle factory configuration data. The download of the FOTA task is completed on the vehicle, so as to realize the rapid change of the remote control vehicle function through the continuous change of the baseline data, optimize the user's driving experience, and solve the need to upgrade the software after the large-scale recall of the vehicle through the 4S store in the existing technology. Fix bugs that waste cost and time.
3)通过设置过渡模块,使得可以通过OTA服务器将从基线数据模块传输过来的基线数据的加密软件包存储在过渡模块中,提升软件包的安全性,从而使得当车端收到FOTA任务时,可以通过过渡模块下载加密软件包并进行解密安装。3) By setting the transition module, the encrypted software package of the baseline data transmitted from the baseline data module can be stored in the transition module through the OTA server to improve the security of the software package, so that when the vehicle receives the FOTA task, The encrypted software package can be downloaded and decrypted through the transition module.
4)用户通过车载控制屏授权才可以开始加密软件包的下载。4) The user can start the download of the encrypted software package only after authorization through the vehicle control screen.
5)用户通过车载控制屏授权才可以开始软件包的安装,而且这时候才开始加密软件包解压,安装完成后对软件包进行删除,也缩短了加密文件处于解密状态的时间,防止软件包出现信息安全问题。5) The user can start the installation of the software package only after authorization from the vehicle control screen, and then start to decompress the encrypted software package. After the installation is completed, the software package is deleted, which also shortens the time that the encrypted file is in the decrypted state and prevents the software package from appearing. Information security issues.
6)通过设置分布式控制单元集合(Distributed控制器),将需要FOTA升级的软件包直接下载到分布式控制单元集合的本地存储器里面,然后由分布式控制单元集合自己刷写自己,优化了软件包先下载到FOTA主控制器再传输给控制单元的流程,极大的缩短了FOTA的升级时间。6) By setting the distributed control unit set (Distributed controller), the software package that needs FOTA upgrade is directly downloaded to the local memory of the distributed control unit set, and then the distributed control unit set refreshes itself, optimizing the software The process of downloading the package to the FOTA main controller and then transmitting it to the control unit greatly shortens the FOTA upgrade time.
7)通过设置分布式控制单元集合(Distributed ECUs),使得分布式控制单元集合(Distributed ECUs)、所述车辆无线数据终端和所述FOTA主控制器之间采用IPCP协议进行通信。通过采用IPCP协议进行通信,不同于传统的标准化的UDS协议,相对于CAN,Flexray总线传输速度更快,信息安全等级较高。7) By setting the distributed control unit set (Distributed ECUs), the distributed control unit set (Distributed ECUs), the vehicle wireless data terminal and the FOTA main controller are communicated using the IPCP protocol. By using the IPCP protocol for communication, different from the traditional standardized UDS protocol, compared with CAN, the Flexray bus has a faster transmission speed and a higher level of information security.
8)通过设置车辆数据模块,使得OTA服务器可以从车辆数据模块及时获取车辆查询的车辆型号、车架号、配置信息,匹配到对应的车辆生产批次、车辆型号,发布对应的软件。8) By setting the vehicle data module, the OTA server can obtain the vehicle model, frame number, and configuration information queried by the vehicle in time from the vehicle data module, match it to the corresponding vehicle production batch and vehicle model, and release the corresponding software.
附图说明Description of drawings
为了更清楚地说明本发明的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还能够根据这些附图获得其它附图。In order to illustrate the technical solutions of the present invention more clearly, the following will briefly introduce the accompanying drawings that are required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1为本说明书实施例提供的一种智能汽车FOTA升级系统的结构示意图;1 is a schematic structural diagram of a smart car FOTA upgrade system provided by an embodiment of the present specification;
图2为本说明书实施例提供的一种智能汽车FOTA升级方法的流程图。FIG. 2 is a flowchart of a smart car FOTA upgrade method according to an embodiment of the present specification.
其中,图中附图标记对应为:Among them, the reference signs in the figure correspond to:
基线数据模块1、车辆数据模块2、OTA服务器3、过渡模块4、车辆无线数据终端5、FOTA主控制器6、车载控制屏7、分布式控制单元集合8、非分布式控制单元集合9。
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.
需要说明的是,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to expressly Instead, those steps or elements listed may include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
实施例1:Example 1:
如图1所示,本说明书实施例提供了一种智能汽车FOTA升级系统,包括基线数据模块1、车辆数据模块2和OTA服务器3,基线数据模块1和车辆数据模块2均与OTA服务器3连接,基线数据模块1用于将其存放的研发端的基线数据发送给OTA服务器3,基线数据包括用于完成整车功能更迭的所有控制器的软件包数据及每次需要发布的整车所有电子控制单元的软件版本的集合,车辆数据模块2用户获取车辆出厂配置数据发送给OTA服务器3,OTA服务器3用于从车端获取当前的车辆数据并且根据基线数据、车辆出厂配置数据和当前的车辆数据判断当前的车辆数据对应的车端软件版本和基线数据对应的最新FOTA版本是否存在差异,并且当存在差异时,创建FOTA任务并将FOTA任务推送至车辆,以在车端提示用户有新的FOTA版本需要更新。As shown in FIG. 1 , the embodiment of this specification provides a smart car FOTA upgrade system, including a
具体地,基线数据模块1、车辆数据模块2和OTA服务器3设置在车厂端。其中,基线数据模块1为用于存放研发数据的后台,在智能汽车FOTA升级系统中是研发的基线数据存放的入口,由研发端将对应基线数据的软件包存放在基线数据模块1里面,基线数据模块1发送基线数据给OTA服务器3,基线数据包含了整车功能更迭相关的所有控制器,基线数据以基线的概念完成功能的迭代,例如,基线数据的软件包名称为21R1,代表21年的第一版软件,并且车厂端的基线数据模块1中基线数据会不断更迭,软件包也会同步进行版本的升级,FOTA升级系统以版本列车(多个控制器组成)的形式推送到用户的车辆上,以使车辆在用户手上仍能修复bug或增加功能,通过设置基线数据模块,使得每次FOTA升级基于整车软件基线数据,发布整车层级软件静态画像及BSS(Base Station Subsystem,基站子系统)升级包,每次FOTA升级都会考虑整车的基线数据,将整车的所有相关联的汽车电子控制单元ECU都进行更新(即将整车ECU都拉到一个软件基线数据上面),不会出现以往的只升级单个汽车电子控制单元导致的不能持续迭代的问题。。Specifically, the
具体地,车辆数据模块2在智能汽车FOTA升级系统中是当前车辆数据存放的入口,用户获取车辆数据发送给OTA服务器3。Specifically, the
具体地,OTA服务器3为FOTA任务的创建、管理的云平台,用于向车端传输任务信息,当自动识别FOTA有新版本更新后直接提示用户下载软件包以更新车端的功能。Specifically, the
需要说明的是,现有整车功能更迭的方式为通过4S店大规模召回车辆后升级软件来修复bug或增加功能,浪费成本和时间。It should be noted that the existing way of changing the functions of the entire vehicle is to upgrade the software through a large-scale recall of the vehicle through 4S stores to fix bugs or add functions, which wastes cost and time.
因此,本申请通过在车厂端设置基线数据模块1、车辆数据模块2和OTA服务器3,使得OTA服务器3可以根据基线数据、当前的车辆数据和车辆出厂配置数据判断出最新FOTA版本和车端软件版本是否存在差异,当存在差异时,通过OTA服务器3向车端推送FOTA任务,以使用户在车端完成FOTA任务的下载,通过基线数据的不断更迭,实现远程控制车辆功能的快速更迭,优化了用户的驾驶体验,解决了现有技术中需要通过4S店大规模召回车辆后升级软件完成修复bug,浪费成本和时间的问题。Therefore, in this application, the
优选地,还包括过渡模块4,过渡模块4用于存储通过OTA服务器3对基线数据加密得到的加密软件包,过渡模块4用于发送加密软件包的地址至OTA服务器3。Preferably, a
具体地,过渡模块4设于车厂端,过渡模块4为用于存放基线数据模块1传输给OTA服务器3的软件包的过渡云盘,供车端随时取用后进行解密安装,过渡模块4可以是CDN(内容分发网络)或其他本地存储器,FOTA的软件包都是加密后存储在过渡模块4里面,再由过渡模块4发送软件包地址给OTA服务器3,通过OTA服务器3对软件包加密和解密的目的是提升软件包的安全性。Specifically, the
优选地,还包括车辆无线数据终端5和FOTA主控制器6,车辆无线数据终端5用于接收OTA服务器3的FOTA任务并将其发送至FOTA主控制器6以完成FOTA任务的下载,FOTA主控制器6用于当FOTA任务下载完成后通过车辆无线数据终端5从过渡模块4中下载并安装加密软件包。Preferably, the vehicle
优选地,还包括车载控制屏7,车载控制屏7用于根据用户的授权向车辆无线数据终端5发送下载授权指令、安装授权指令,并且接收FOTA主控制器6发出的下载进度、安装进度。Preferably, it also includes a vehicle-mounted
优选地,车载控制屏7还用于供用户搜索基线数据对应的最新FOTA版本以控制OTA服务器3创建并传输FOTA任务。Preferably, the vehicle-mounted
优选地,还包括分布式控制单元集合8,分布式控制单元集合8用于通过FOTA主控制器6下载加密软件包至本地后在进行自刷写。Preferably, a set of distributed
优选地,还包括非分布式控制单元集合98,非分布式控制单元集合98用于通过FOTA主控制器6控制完成UDS刷写并UDS回复至FOTA主控制器6。Preferably, a non-distributed control unit set 98 is also included, and the non-distributed control unit set 98 is used to control the FOTA
优选地,基线数据模块1、车辆无线数据终端5和FOTA主控制器6之间采用IPCP协议进行通信。Preferably, the IPCP protocol is used for communication between the
具体地,车辆无线数据终端5、FOTA主控制器6、车载控制屏7、分布式控制单元集合8和非分布式控制单元集合9设于车端,即在用户端使用的车辆上。Specifically, the vehicle
其中,车辆无线数据终端5通过4G、5G或WIFI等移动数据和OTA服务器3连接,OTA服务器3通过车辆无线数据终端5向FOTA主控制器6传输任务信息,实现车联网的功能,FOTA主控制器6通过车辆无线数据终端5向OTA服务器3反馈任务进度。Among them, the vehicle
FOTA主控制器6负责版本同步、下载和安装的整体控制,可以存储非分布式控制单元集合9的软件包,然后通过UDS刷写非分布式控制单元集合9,同时可以传输http下载软件包给分布式控制单元集合8,同时反馈下载进度和安装进度给车载控制屏7,FOTA主控制器7通过车辆无线数据终端(5)发送实车数据(软件数据)给OTA服务器(3),首次采用IPCP协议私有协议,不同于传统的标准化的UDS协议,可以自定义以太网报文执行下载,相对于CAN,Flexray总线传输速度更快,信息安全等级较高。The
用户通过车载控制屏7通过车辆无线数据终端5向FOTA主控制器6下发下载授权、安装授权指令,并通过车载控制屏7从FOTA主控制器获取下载进度、安装进度等信息,需要用户在大屏进行授权才能完成下载,减少流量的焦虑,更加安全可靠,用户通过车载车载控制屏授权才可以开始加密软件包的下载,用户通过车载车载控制屏授权才可以开始软件包的安装,而且这时候才开始加密软件包解压,安装完成后对软件包进行删除,也缩短了加密文件处于解密状态的时间,防止软件包出现信息安全问题。The user sends download authorization and installation authorization instructions to the FOTA
分布式控制单元集合8为支持分布式下载的ECU的集合,泛指支持分布式下载的ECU,可以是一个或多个ECU,它们的软件包较大会通过http等协议下载到本地再进行自刷写,分布式控制单元集合8需要反馈下载进度和安装进度给FOTA主控制器6,分布式ECU的分布式升级极大的缩短了FOTA的升级时间,比传统的非分布式控制单元集合9的UDS刷写速度有极大的提升,通过设置分布式控制单元集合(Distributed ECUs),将需要FOTA升级的软件包直接下载到分布式控制单元集合的本地存储器里面,然后由分布式控制单元集合自己刷写自己,优化了软件包先下载到FOTA主控制器再传输给控制单元的流程,极大的缩短了FOTA的升级时间。Distributed control unit set 8 is a set of ECUs that support distributed download, which generally refers to ECUs that support distributed download, which can be one or more ECUs, and their software packages will be downloaded locally through protocols such as http and then self-refreshed. Write, the distributed control unit set 8 needs to feed back the download progress and installation progress to the
非分布式控制单元集合9为非分布式下载的ECU的集合,泛指不支持分布式下载的ECU,可以是一个或多个ECU,它们的软件包较小,会通过IPCP或Http协议下载到FOTA主控制器6,然后由FOTA主控制器6通过UDS刷写,同时,非分布式控制单元集合9需要支持UDS回复,完成UDS刷写流程。The non-distributed control unit set 9 is a set of ECUs that do not support distributed downloading. It generally refers to ECUs that do not support distributed downloading. It can be one or more ECUs. Their software packages are small and will be downloaded to the IPCP or Http protocol. The FOTA
如图2所示,本说明书实施例提供了一种智能汽车FOTA升级方法,所述方法基于实施例1中的智能汽车FOTA升级系统实现的,所述方法包括:As shown in FIG. 2 , an embodiment of the present specification provides a method for FOTA upgrade of a smart car. The method is implemented based on the FOTA upgrade system for a smart car in
S100:利用OTA服务器3获取研发端的基线数据、目标车辆的车辆出厂配置数据和目标车辆当前的车辆数据;S100: Use the
具体地,利用OTA服务器3从基线数据模块1获取研发端的基线数据,此基线数据是不断更新的,利用OTA服务器3从车辆数据模块2获取车辆出厂配置数据,利用OTA服务器3从车辆无线数据终端5获取当前的车辆数据。Specifically, use the
OTA服务器3获取到基线数据后,将基线数据加密后以FOTA软件包存储在过渡模块4中,并且过渡模块4发送软件包地址给OTA服务器3。After the
其中,车辆出厂配置数据包括车辆型号、车架号和配置信息等,通过车辆出厂配置数据从基线数据中筛选出目标车辆对应的基线数据,即目标基线数据,以对目标车辆发布对应的软件包。Among them, the vehicle factory configuration data includes vehicle model, frame number, configuration information, etc., and the baseline data corresponding to the target vehicle, that is, the target baseline data, is filtered from the baseline data through the vehicle factory configuration data, so as to release the corresponding software package for the target vehicle. .
S200:根据目标车辆的车辆出厂配置数据和目标车辆当前的车辆数据确定目标车辆对应的目标基线数据;S200: Determine target baseline data corresponding to the target vehicle according to the vehicle factory configuration data of the target vehicle and the current vehicle data of the target vehicle;
S300:根据所述目标基线数据和目标车辆当前的车辆数据判断目标车辆当前的车辆数据对应的车端软件版本和目标基线数据对应的FOTA版本是否存在差异;S300: According to the target baseline data and the current vehicle data of the target vehicle, determine whether there is a difference between the on-board software version corresponding to the current vehicle data of the target vehicle and the FOTA version corresponding to the target baseline data;
具体地,创建的FOTA任务,即用于通知车端下载FOTA软件包,当用户授权下载FOTA任务时,利用车俩无线数据终端5从OTA服务器3下载FOTA任务的软件包。Specifically, the created FOTA task is used to notify the car end to download the FOTA software package. When the user authorizes the download of the FOTA task, the car
S400:若否,则不需要进行操作;若是,则创建FOTA任务并将FOTA任务推送至车辆无线数据终端5,以在车端提示用户有新的FOTA版本需要更新;S400: If no, no operation is required; if yes, create a FOTA task and push the FOTA task to the vehicle
S500:当获取用户的下载授权指令和安装授权指令时,利用FOTA主控制器6完成FOTA任务的下载和加密软件包的下载和安装。S500: When the download authorization instruction and the installation authorization instruction of the user are obtained, the FOTA
具体地,当用户通过车端控制屏7授权安装后,利用FOTA主控制器6完成非分布式控制单元集合9的安装(分布式控制器单元集合8自己安装自己的软件),在用户的车辆上实现FOTA固件远程升级。Specifically, after the user authorizes the installation through the vehicle-
一种具体的实施方式中,利用FOTA主控制器6完成FOTA任务的下载和加密软件包的安装,之后包括:In a specific embodiment, the
当车端软件更新完成后,利用FOTA主控制器6上报当前的车辆数据对应的车端软件版本至车辆无线数据终端5,以使车辆无线数据终端5将所述车端软件版本上传至OTA服务器3;After the on-board software update is completed, the FOTA
或当到达预设周期时,通过FOTA主控制器6自动触发上报当前的车辆数据对应的车端软件版本至车辆无线数据终端5,以使车辆无线数据终端5将所述车端软件版本上传至OTA服务器3。Or when the preset period is reached, the FOTA
本实施例中,预设周期设置为24h。In this embodiment, the preset period is set to 24h.
虽然本发明已经通过优选实施例进行了描述,然而本发明并非局限于这里所描述的实施例,在不脱离本发明范围的情况下还包括所作出的各种改变以及变化。Although the present invention has been described in terms of the preferred embodiments, the present invention is not limited to the embodiments described herein, and various changes and changes can be made without departing from the scope of the present invention.
在不冲突的情况下,本文中上述实施例及实施例中的特征能够相互结合。The above-described embodiments and features of the embodiments herein can be combined with each other without conflict.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosure is only a preferred embodiment of the present invention, and of course, it cannot limit the scope of the rights of the present invention. Therefore, the equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210185492.0A CN114697358A (en) | 2022-02-28 | 2022-02-28 | Intelligent automobile FOTA upgrading system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210185492.0A CN114697358A (en) | 2022-02-28 | 2022-02-28 | Intelligent automobile FOTA upgrading system and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114697358A true CN114697358A (en) | 2022-07-01 |
Family
ID=82137394
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210185492.0A Pending CN114697358A (en) | 2022-02-28 | 2022-02-28 | Intelligent automobile FOTA upgrading system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114697358A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116088913A (en) * | 2023-04-11 | 2023-05-09 | 北京集度科技有限公司 | Integrated device, method and computer program product for whole vehicle upgrade software |
| CN116639063A (en) * | 2023-05-04 | 2023-08-25 | 零束科技有限公司 | Vehicle management method, device and storage medium based on vehicle software baseline |
| CN117032764A (en) * | 2023-10-08 | 2023-11-10 | 富钛字节车载软件(长春)有限公司 | Vehicle OTA task scheduling method based on MQTT protocol |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107493186A (en) * | 2016-12-23 | 2017-12-19 | 宝沃汽车(中国)有限公司 | The remote update system and its control method of vehicle |
| CN109120718A (en) * | 2018-09-28 | 2019-01-01 | 慧翰微电子股份有限公司 | A kind of car networking terminal and implementation method for supporting other ECU FOTA to upgrade |
| CN111610993A (en) * | 2020-05-20 | 2020-09-01 | 麦腾物联网技术有限公司 | Firmware upgrading method, server and system |
| CN112882737A (en) * | 2021-03-18 | 2021-06-01 | 上海麦腾物联网技术有限公司 | Wireless upgrading method for ECU software of whole vehicle |
| CN215344632U (en) * | 2021-05-29 | 2021-12-28 | 奇瑞汽车股份有限公司 | Vehicle-mounted FOTA remote upgrading system |
| CN113867748A (en) * | 2020-06-30 | 2021-12-31 | 比亚迪股份有限公司 | Vehicle software upgrade method, vehicle terminal, vehicle and server |
-
2022
- 2022-02-28 CN CN202210185492.0A patent/CN114697358A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107493186A (en) * | 2016-12-23 | 2017-12-19 | 宝沃汽车(中国)有限公司 | The remote update system and its control method of vehicle |
| CN109120718A (en) * | 2018-09-28 | 2019-01-01 | 慧翰微电子股份有限公司 | A kind of car networking terminal and implementation method for supporting other ECU FOTA to upgrade |
| CN111610993A (en) * | 2020-05-20 | 2020-09-01 | 麦腾物联网技术有限公司 | Firmware upgrading method, server and system |
| CN113867748A (en) * | 2020-06-30 | 2021-12-31 | 比亚迪股份有限公司 | Vehicle software upgrade method, vehicle terminal, vehicle and server |
| CN112882737A (en) * | 2021-03-18 | 2021-06-01 | 上海麦腾物联网技术有限公司 | Wireless upgrading method for ECU software of whole vehicle |
| CN215344632U (en) * | 2021-05-29 | 2021-12-28 | 奇瑞汽车股份有限公司 | Vehicle-mounted FOTA remote upgrading system |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116088913A (en) * | 2023-04-11 | 2023-05-09 | 北京集度科技有限公司 | Integrated device, method and computer program product for whole vehicle upgrade software |
| CN116639063A (en) * | 2023-05-04 | 2023-08-25 | 零束科技有限公司 | Vehicle management method, device and storage medium based on vehicle software baseline |
| CN116639063B (en) * | 2023-05-04 | 2026-01-23 | 零束科技有限公司 | Vehicle management method, device and storage medium based on vehicle software baseline |
| CN117032764A (en) * | 2023-10-08 | 2023-11-10 | 富钛字节车载软件(长春)有限公司 | Vehicle OTA task scheduling method based on MQTT protocol |
| CN117032764B (en) * | 2023-10-08 | 2023-12-05 | 富钛字节车载软件(长春)有限公司 | Vehicle OTA task scheduling method based on MQTT protocol |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11579865B2 (en) | Vehicle information communication system | |
| US11163549B2 (en) | Vehicle information communication system | |
| US10592231B2 (en) | Vehicle information communication system | |
| CN114697358A (en) | Intelligent automobile FOTA upgrading system and method | |
| JP6216730B2 (en) | Software update device and software update method | |
| CN113176902A (en) | OTA (over the air) upgrading method of vehicle ECU (electronic control Unit), electronic equipment, vehicle and readable storage medium | |
| JP6397993B2 (en) | Personal vehicle diagnostic system and method based on smart mobile terminal | |
| US10203949B2 (en) | System and method for providing software updates | |
| KR20120071243A (en) | Apparatus for updating software of vehicle and method thereof | |
| JP7358928B2 (en) | Vehicle electronic control system, data relay device, campaign information distribution control method, and campaign information distribution control program | |
| CN106886424B (en) | Device and method for upgrading automobile software according to intelligent equipment | |
| JP7571621B2 (en) | Center device and on-board electronic control device | |
| CN106708988A (en) | Urban rail transit electronic map sharing method and system | |
| CN113190250A (en) | Cabin software upgrading method, electronic equipment and readable storage medium | |
| JP2011070307A (en) | Program update device | |
| CN115421753B (en) | A method, apparatus, equipment and medium for remote upgrading of production line vehicles | |
| US12164910B2 (en) | Vehicle software compatibility | |
| JP2018063711A (en) | Method and system for updating vehicle program | |
| CN114398064A (en) | A method and system for OTA upgrading vehicle controller | |
| CN117762452A (en) | Vehicle software upgrade method, device, terminal equipment and storage medium | |
| CN110704079A (en) | Vehicle-mounted system upgrading method and system based on mobile terminal | |
| US20240419429A1 (en) | Vehicle software deployment service | |
| CN115686561B (en) | Vehicle upgrading method, device and vehicle | |
| CN114675855B (en) | Methods, devices and platform equipment for remote vehicle software upgrades | |
| CN215344632U (en) | Vehicle-mounted FOTA remote upgrading system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20220812 Address after: 315336 zone B, building I, No. 7, Zhongchuang Second Road, Hangzhou Bay New Area, Ningbo City, Zhejiang Province Applicant after: Zhejiang Zhima Intelligent Technology Co.,Ltd. Address before: 315336 818 Binhai two road, Hangzhou Bay New District, Ningbo, Zhejiang Applicant before: Smart motor Automobile Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220701 |
|
| RJ01 | Rejection of invention patent application after publication |
