CN114979297A - Vehicle software version large-span OTA (over the air) upgrading method - Google Patents

Vehicle software version large-span OTA (over the air) upgrading method Download PDF

Info

Publication number
CN114979297A
CN114979297A CN202210582309.0A CN202210582309A CN114979297A CN 114979297 A CN114979297 A CN 114979297A CN 202210582309 A CN202210582309 A CN 202210582309A CN 114979297 A CN114979297 A CN 114979297A
Authority
CN
China
Prior art keywords
ota
software
version
upgrading
controller
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.)
Granted
Application number
CN202210582309.0A
Other languages
Chinese (zh)
Other versions
CN114979297B (en
Inventor
周聪泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202210582309.0A priority Critical patent/CN114979297B/en
Publication of CN114979297A publication Critical patent/CN114979297A/en
Application granted granted Critical
Publication of CN114979297B publication Critical patent/CN114979297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a large-span OTA (over the air) upgrading method for a vehicle software version, which comprises the following steps: 1) acquiring current version information of controller software; 2) judging whether the current software version of the controller is lower than the software version required by normal upgrading, if so, executing the step 3), and if not, executing the step 4); 3) executing a simple upgrading task to update the OTA application software and the controller software to a transition version; 4) and executing a normal upgrading task to update the OTA application software and the controller software to the latest version. In the invention, when the software version of the controller is too low to directly upgrade the latest version, the transition version software is adopted to temporarily replace the OTA application and the upgrading program of the controller, so that the multi-version forced upgrading is realized, the problems that the user does not upgrade for a long time, the controller software version is too low, the software version difference is too large to complete the OTA upgrading task of the latest version on line at one time can be effectively solved, and the effects of improving the OTA upgrading reliability and the user experience are achieved.

Description

Vehicle software version large-span OTA (over the air) upgrading method
Technical Field
The invention belongs to the technical field of automobile intellectualization, and particularly relates to a large-span OTA (over the air) upgrading method for a vehicle software version.
Background
Along with the rapid development of automobile intellectualization, more and more importance is attached to the development of automobile software, and the OTA (over the air) upgrading requirement of the automobile controller software is more and more frequent. When the vehicle-enterprise maintenance platform issues the OTA upgrading task to the vehicle, most users choose to ignore the upgrading message due to time consideration; as time goes on, the versions of the controller software of the same vehicle type on the market become uneven, and the controller software of the latest version and the controller software of the old version can be greatly different due to adjustment of requirements or modification aiming at some important problems; when the upgrade condition is detected, the upgrade process or the communication protocol is partially changed, or the difference between the new version and the old version of the firmware of the controller is too large, the function of the software of the latest version cannot be supported, the situation that the OTA upgrade fails occurs. In addition, when receiving the upgrade message each time, some users may only accept the upgrade of some software controllers, and the associated software controller versions are not updated all the time, resulting in the associated software controller versions being too low and depending on the states of other controllers in the upgrade process, but due to the incompatibility of protocols, OTA upgrade failure may also result.
In view of the above situation, a commonly used solution in the market at present is to drive a car back to a 4S store, upgrade the car through a special online or offline channel by service personnel of the 4S store, perform multiple upgrades by using multiple intermediate versions, and finally upgrade to the latest version. Therefore, a method for performing OTA upgrade across multiple versions is needed to solve the problem that the OTA upgrade task of the latest version cannot be completed online at one time due to the fact that the controller software version is too low because the user does not upgrade for a long time.
Disclosure of Invention
Aiming at the defects in the prior art, the technical problem to be solved by the invention is to provide a vehicle software version large-span OTA upgrading method, solve the problem that the OTA upgrading task of the latest version cannot be completed online at one time due to overlarge software version difference, and achieve the effects of improving the OTA upgrading reliability and the user experience.
In order to solve the technical problems, the invention adopts the following technical scheme:
a vehicle software version large-span OTA upgrading method comprises the following steps:
1) the OTA application acquires the current version information of the controller software and uploads the version information to the OTA server;
2) the OTA server judges whether the current software version of the controller is lower than the software version required by normal upgrade, if so, the step 3) is executed, and if not, the step 4) is executed;
3) the OTA server executes a simple upgrading task to update the OTA application software and the controller software to a transition version;
4) and the OTA server executes a normal upgrading task to update the OTA application software and the controller software to the latest version.
Further, step 3) comprises the following sub-steps:
31) the OTA server acquires the OTA application and the transitional version software of the controller from the database and transmits the transitional version software to the OTA application;
32) the OTA application updates the OTA application software and the controller software to the transitional version based on the transitional version software;
33) and the OTA application feeds the upgrade result back to the OTA server, and the OTA server sends the latest version software to the OTA application.
Further, in step 32), the OTA application software upgrade has a higher priority than the controller software upgrade.
Further, the transitional version software of the OTA application can be downward compatible with the functionality of the OTA application and support easy upgrades.
Further, the transitional version software of the controller supports upgrading of low-version controller software and supports easy upgrading.
Further, the simple upgrade refers to temporarily replacing the normal upgrade protocol between the OTA application and the controller to a simple upgrade protocol to remove the associated external more condition detection and cumbersome handshaking signals.
Further, step 31) further comprises the OTA server sending a protocol switching signal to the OTA application, and step 32) further comprises the OTA application receiving the protocol switching signal to switch the normal upgrade protocol to the easy upgrade protocol.
Further, the simple upgrade protocol includes functions of version request, upgrade request, file transmission, file verification, upgrade progress reply and installation result reply.
Further, the OTA application can complete the transmission of the upgrade package to the controller, the flashing of the internal firmware and program of the controller, and the upgrade confirmation of the controller and the OTA application based on the simple upgrade protocol.
Compared with the prior art, the invention has the following beneficial effects:
the invention relates to a vehicle software version large-span OTA upgrading method, which is characterized in that transition version software of an OTA application and a controller is prestored in an OTA server, when the OTA server knows that the software version of the controller is too low to directly upgrade the latest version, a normal upgrading protocol of the OTA application is replaced by a simple upgrading protocol, the transition version software is issued to quickly upgrade the OTA application and the controller to the transition version, and then the OTA application and the controller are normally upgraded. The invention adopts transitional version software to temporarily replace the OTA application and the upgrading program of the controller, thereby realizing the forced upgrading of multiple versions, effectively solving the problems that the user cannot upgrade for a long time, the controller software version is too low, the software version difference is too large, and the latest version OTA upgrading task cannot be finished online at one time, and obtaining the effects of improving the OTA upgrading reliability and the user experience.
Drawings
Fig. 1 is a flowchart of a vehicle software version large-span OTA upgrading method according to an embodiment.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
Example (b):
referring to fig. 1, a vehicle software version large-span OTA upgrading method includes the following steps:
1) the OTA application acquires the current version information of the controller software and uploads the version information to the OTA server;
2) the OTA server judges whether the current software version of the controller is lower than the software version required by normal upgrade, if so, the step 3) is executed, and if not, the step 4) is executed;
the software version required by the normal upgrade is the condition that some early versions are known to be incapable of being upgraded to the latest version at one time due to the support of program logic by developers.
3) The OTA server executes a simple upgrading task to update the OTA application software and the controller software to a transition version; the simple upgrading means that a normal upgrading protocol between the OTA application and the controller is temporarily replaced by the simple upgrading protocol, more external condition detection and complicated handshaking signals are omitted, and the simple upgrading are realized by a simple communication protocol to finish the process of transmitting an upgrading packet to the controller, the internal firmware and the program of the controller and the upgrading confirmation of the controller and the OTA application.
Step 3) comprises the following substeps:
31) the OTA server acquires the OTA application and the transitional version software of the controller from the database and sends the software to the OTA application, and meanwhile, the OTA server sends a protocol switching signal to the OTA application;
the transitional version software of the OTA application can be downward compatible with the function of the OTA application and can support simple upgrading; the transition version software of the controller supports both low-version upgrading of the controller and simple upgrading of OTA application, does not change the functional part of the controller software, and only replaces the interactive part of the controller software and the OTA application;
32) the OTA application receives a protocol switching signal to switch a normal upgrading protocol into a simple upgrading protocol, and updates OTA application software and controller software to a transitional version based on transitional version software;
the priority of OTA application software upgrading is higher than that of controller software upgrading so as to finish the software replacement of OTA application in advance, thereby ensuring that the controller software can be smoothly updated to a transition version;
the OTA application can finish transmitting an upgrade package to the controller, the flash of the internal firmware and program of the controller and the upgrade confirmation of the controller and the OTA application based on the simple upgrade protocol;
33) and the OTA application feeds the upgrade result back to the OTA server, and the OTA server sends the latest version software to the OTA application.
4) The OTA server executes a normal upgrading task to update the OTA application software and the controller software to the latest version; at this time, the OTA server sends a protocol switching signal to the OTA application again to switch the simple upgrading protocol to the normal upgrading protocol.
The invention prestores the OTA application and the transitional version software of the controller in the OTA server, when the OTA server knows that the software version of the controller is too low to directly upgrade the latest version, the normal upgrade protocol of the OTA application is replaced by the simple upgrade protocol, and the transitional version software is issued to rapidly upgrade the OTA application and the controller to the transitional version, and then the OTA application and the controller are normally upgraded. The invention adopts transition version software to temporarily replace the OTA application and the upgrading program of the controller, thereby realizing the forced upgrading of the multi-version, effectively solving the problems that the user can not upgrade for a long time, the controller software version is too low, the software version difference is too large, and the latest version OTA upgrading task can not be finished on line at one time, and obtaining the effects of improving the OTA upgrading reliability and the user experience.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (9)

1. A vehicle software version large-span OTA upgrading method is characterized in that: the method comprises the following steps:
1) the OTA application acquires the current version information of the controller software and uploads the version information to the OTA server;
2) the OTA server judges whether the current software version of the controller is lower than the software version required by normal upgrade, if so, the step 3) is executed, and if not, the step 4) is executed;
3) the OTA server executes a simple upgrading task to update the OTA application software and the controller software to a transition version;
4) and the OTA server executes a normal upgrading task to update the OTA application software and the controller software to the latest version.
2. The vehicle software version large-span OTA upgrading method according to claim 1, characterized in that: step 3) comprises the following substeps:
31) the OTA server acquires the OTA application and the transitional version software of the controller from the database and transmits the transitional version software to the OTA application;
32) the OTA application updates the OTA application software and the controller software to a transitional version based on the transitional version software;
33) and the OTA application feeds the upgrading result back to the OTA server, and the OTA server issues the latest version software to the OTA application.
3. The vehicle software version large-span OTA upgrading method according to claim 2, characterized in that: in step 32), the priority of OTA application software upgrading is higher than that of controller software upgrading.
4. The vehicle software version large-span OTA upgrading method according to claim 2, characterized in that: the transitional version software of the OTA application can be downward compatible with the functions of the OTA application and support easy upgrading.
5. The vehicle software version large-span OTA upgrading method according to claim 2, characterized in that: the transitional version software of the controller supports upgrading of low-version controller software and supports simple upgrading.
6. The vehicle software version large-span OTA upgrading method according to claim 2, characterized in that: the simple upgrade refers to temporarily replacing a normal upgrade protocol between the OTA application and the controller to a simple upgrade protocol to remove associated external more condition detection and cumbersome handshake signals.
7. The vehicle software version large-span OTA upgrade method according to claim 6, wherein: step 31) further comprises the OTA server sending a protocol switching signal to the OTA application, and step 32) further comprises the OTA application receiving the protocol switching signal to switch the normal upgrade protocol to the simple upgrade protocol.
8. The vehicle software version large-span OTA upgrade method according to claim 6, wherein: the simple upgrading protocol comprises the functions of version request, upgrading request, file transmission, file verification, upgrading progress reply and installation result reply.
9. The vehicle software version large-span OTA upgrade method according to claim 6, wherein: the OTA application can finish the flash of transmitting an upgrade package to the controller, the internal firmware and the program of the controller and the upgrade confirmation of the controller and the OTA application based on the simple upgrade protocol.
CN202210582309.0A 2022-05-26 2022-05-26 Vehicle software version large-span OTA upgrading method Active CN114979297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210582309.0A CN114979297B (en) 2022-05-26 2022-05-26 Vehicle software version large-span OTA upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210582309.0A CN114979297B (en) 2022-05-26 2022-05-26 Vehicle software version large-span OTA upgrading method

Publications (2)

Publication Number Publication Date
CN114979297A true CN114979297A (en) 2022-08-30
CN114979297B CN114979297B (en) 2023-06-27

Family

ID=82955724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210582309.0A Active CN114979297B (en) 2022-05-26 2022-05-26 Vehicle software version large-span OTA upgrading method

Country Status (1)

Country Link
CN (1) CN114979297B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460079A (en) * 2022-09-20 2022-12-09 台铃科技股份有限公司 OTA (over the air) upgrading system, method and storage medium for electric vehicle
CN115617378A (en) * 2022-12-16 2023-01-17 石家庄科林电气股份有限公司 Upgrading method and device of battery management system and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN105279001A (en) * 2015-11-20 2016-01-27 杭州云柚科技有限公司 Software remote upgrading method for network terminal devices
CN106470114A (en) * 2015-08-20 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of collocation method of OTA AKU and device
CN112230966A (en) * 2020-11-06 2021-01-15 天津经纬恒润科技有限公司 OTA (over the air) upgrading method and device
WO2021008184A1 (en) * 2019-07-18 2021-01-21 南京依维柯汽车有限公司 Remote upgrading system and upgrading method for fota firmware on new energy automobile
CN112486531A (en) * 2020-11-24 2021-03-12 航天信息股份有限公司 Method and system for updating equipment application software
CN113094073A (en) * 2021-04-29 2021-07-09 芜湖雄狮汽车科技有限公司 Vehicle remote upgrading method and device and server
CN113225729A (en) * 2020-01-21 2021-08-06 荣耀终端有限公司 OTA (over the air) upgrading method and device and readable storage medium
CN114327544A (en) * 2021-12-20 2022-04-12 经纬恒润(天津)研究开发有限公司 ECU version management method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN106470114A (en) * 2015-08-20 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of collocation method of OTA AKU and device
CN105279001A (en) * 2015-11-20 2016-01-27 杭州云柚科技有限公司 Software remote upgrading method for network terminal devices
WO2021008184A1 (en) * 2019-07-18 2021-01-21 南京依维柯汽车有限公司 Remote upgrading system and upgrading method for fota firmware on new energy automobile
CN113225729A (en) * 2020-01-21 2021-08-06 荣耀终端有限公司 OTA (over the air) upgrading method and device and readable storage medium
CN112230966A (en) * 2020-11-06 2021-01-15 天津经纬恒润科技有限公司 OTA (over the air) upgrading method and device
CN112486531A (en) * 2020-11-24 2021-03-12 航天信息股份有限公司 Method and system for updating equipment application software
CN113094073A (en) * 2021-04-29 2021-07-09 芜湖雄狮汽车科技有限公司 Vehicle remote upgrading method and device and server
CN114327544A (en) * 2021-12-20 2022-04-12 经纬恒润(天津)研究开发有限公司 ECU version management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘志军;顾睿;黄若琼;: "基于OTA的车辆ECU软件远程刷写系统", 汽车与驾驶维修(维修版), no. 06, pages 62 - 64 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460079A (en) * 2022-09-20 2022-12-09 台铃科技股份有限公司 OTA (over the air) upgrading system, method and storage medium for electric vehicle
CN115617378A (en) * 2022-12-16 2023-01-17 石家庄科林电气股份有限公司 Upgrading method and device of battery management system and readable storage medium

Also Published As

Publication number Publication date
CN114979297B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN114979297A (en) Vehicle software version large-span OTA (over the air) upgrading method
CN103841155A (en) Software download method and software download device
WO2010148739A1 (en) Terminal device and upgrade method and system thereof
US7324504B2 (en) System for automatically upgrading firmware of internet video phones and method of managing the same
CN101241364B (en) Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system
US20090013317A1 (en) Software Management for Software Defined Radio in a Distributed Network
CN104252369A (en) On-board equipment and dual-system backup method and device of on-board equipment
WO2013040906A1 (en) Method and system for managing software version of base station
CN100481776C (en) Distributed upgrading method for centralization management mode
CN101673205B (en) Interface board upgrading method and system
CN106657987A (en) Set-top box maintenance method and system
CN113934442A (en) Software upgrading method and device
CN111104146B (en) High-stability maintainability embedded device
JP2023138759A (en) Apparatus for confirming compatibility of software and vehicle equipped therewith, method and program for confirming compatibility of software
CN115878160B (en) ECU (electronic control Unit) upgrading method and system based on CAN (controller area network) communication
CN115334358B (en) Fusion gateway automation software remanufacturing method and storage medium
CN117675572A (en) Firmware upgrading method of slave node equipment of master-slave system and storage medium
CN111722856B (en) Method and device for upgrading firmware in vehicle-mounted microcontroller
CN109901860A (en) A kind of Android phone software version control method
CN113127032A (en) System updating method of train controller
CN101383729A (en) Method for implementing master control board software upgrading by SLIP protocol
CN101789958B (en) Method, system and equipment of data synchronization based on equipment management service
JP2006054804A (en) File downloading method, mobile communication network system, and base station apparatus
CN112849218A (en) Wheel diameter parameter adaptation method and device
CN116455744A (en) WiFi module and MCU upgrading method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant