CN110928566A - Software ota upgrading method based on multi-version hardware - Google Patents
Software ota upgrading method based on multi-version hardware Download PDFInfo
- Publication number
- CN110928566A CN110928566A CN201911183173.0A CN201911183173A CN110928566A CN 110928566 A CN110928566 A CN 110928566A CN 201911183173 A CN201911183173 A CN 201911183173A CN 110928566 A CN110928566 A CN 110928566A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- software
- upgrading
- equipment terminal
- tftp server
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A software ota upgrading method based on multi-version hardware belongs to the technical field of software upgrading, and particularly relates to a wireless ota upgrading method of automobile electronic equipment software. Aiming at the problem that the upgrading of the electronic equipment fails due to version incompatibility in the ota upgrading process of the conventional automobile electronic equipment, the method initializes the automobile electronic equipment terminal, and establishes network connection between the electronic equipment terminal and a tftp server; sending a hardware configuration and software version information table to the tftp server; and the tftp server matches the hardware configuration and software version information of the electronic equipment terminal with the hardware configuration and software version information in the software upgrading package one by one, and if the matching is successful, the software upgrading package is downloaded, and the electronic equipment terminal is upgraded. The invention is suitable for upgrading the electronic equipment terminal.
Description
Technical Field
The invention belongs to the technical field of software upgrading, and particularly relates to a wireless ota upgrading method for automobile electronic equipment software.
Background
With the increasing number and variety of electronic devices in automobiles, the electronic devices in automobiles are more and more complex. And a new bug inevitably appears at the initial stage of loading and using the equipment. Equipment manufacturers need to upgrade the equipment in time for product stability and user safety. The traditional equipment upgrading is that after-sale personnel of the equipment go to an automobile to use the field to manually upgrade the equipment one by one, so that the workload of upgrading is large, the efficiency is low, and a large amount of human resources and cost are wasted. With the popularization of wireless cellular network communication, automobile equipment also has a wireless networking function. The automobile electronic equipment manufacturer uniformly carries out ota (Over-the-Air) upgrading on electronic equipment software in a wireless mode.
Due to the different grades and styles of automotive equipment, the functions and components of the equipped electronic equipment vary greatly. When wireless unified upgrade is performed, the problem of failed upgrade of equipment due to incompatible versions of multi-model electronic equipment generally occurs.
Disclosure of Invention
Aiming at the problem that the upgrading of the electronic equipment fails due to version incompatibility in the process of ota upgrading of the existing automobile electronic equipment, a software ota upgrading method based on multi-version hardware is provided.
The invention relates to a software ota upgrading method based on multi-version hardware, which is characterized in that the method realizes the upgrading of an electronic equipment terminal based on a tftp (simple File Transfer Protocol) server, wherein software upgrading packages corresponding to the electronic equipment terminals with different hardware configurations and software versions are stored in the tftp server;
initializing an automobile electronic equipment terminal, and enabling the electronic equipment terminal to enter a state to be updated;
secondly, the electronic equipment terminal starts a tftp service and establishes network connection with a tftp server;
step three, the electronic equipment terminal sends a hardware configuration and software version information table to the tftp server;
step four, the tftp server matches the hardware configuration and software version information of the electronic equipment terminal with the hardware configuration and software version information in the software upgrading package one by one; the step five is executed after the matching is successful, otherwise, upgrade failure information is sent to the electronic equipment terminal; disconnecting the network connection between the tftp server and the electronic equipment terminal, and ending the upgrading;
step five, the electronic equipment terminal downloads the software upgrading package after successful matching from the tftp server; judging whether the upgrade package is downloaded completely, if so, installing the upgrade package, and completing the upgrade of the electronic equipment terminal; and if not, continuing to download the upgrade package until the upgrade package is not successfully downloaded after N times of downloading, and failing to upgrade, wherein N is more than 1 ten thousand and less than 10 ten thousand.
Further, the hardware configuration and software version information of the electronic device terminal in the fourth step includes a bluetooth device model, a wifi connection device model, a network card model, a memory model, a serial peripheral interface model, an integrated circuit bus model and a software version number.
The invention adopts a mode of matching software and hardware information one by one to judge whether the corresponding upgrade package exists on the server, thereby avoiding the problem of upgrade failure caused by version mismatching after the upgrade package is downloaded, reducing the waste of download resources, and simultaneously avoiding the problem of upgrade conflict when different versions of software are upgraded because the network server stores the software upgrade packages corresponding to different hardware configurations and software versions, thereby effectively improving the probability of upgrading the terminal software of the electronic equipment.
Drawings
Fig. 1 is a flow chart of a method for upgrading multi-version hardware-based software ota according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
The first embodiment is as follows: the following describes the present embodiment with reference to fig. 1, where the method for upgrading multi-version hardware-based software ota is implemented by upgrading an electronic device terminal based on a tftp server, where software upgrade packages corresponding to electronic device terminals with different hardware configurations and software versions are stored in the tftp server;
initializing an automobile electronic equipment terminal, and enabling the electronic equipment terminal to enter a state to be updated;
secondly, the electronic equipment terminal starts a tftp service and establishes network connection with a tftp server;
step three, the electronic equipment terminal sends a hardware configuration and software version information table to the tftp server;
step four, the tftp server matches the hardware configuration and software version information of the electronic equipment terminal with the hardware configuration and software version information in the upgrade file one by one; the step five is executed after the matching is successful, otherwise, upgrade failure information is sent to the electronic equipment terminal; disconnecting the network connection between the tftp server and the electronic equipment terminal, and ending the upgrading;
step five, the electronic equipment terminal downloads the software upgrading package after successful matching from the tftp server; judging whether the upgrade package is downloaded completely, if so, installing the upgrade package, and completing the upgrade of the electronic equipment terminal; otherwise, continuing to download the upgrade package until the download is not successful after N times of download, and failing to upgrade.
Further, the hardware configuration and software version information of the electronic device terminal in the fourth step includes a bluetooth device model, a wifi connection device model, a network card model, a memory model, a serial peripheral interface model, an integrated circuit bus model and a software version number.
Before the electronic terminal is used, a hardware configuration and software version information table needs to be stored in the electronic terminal; and ensuring that the electronic equipment has a networking function, firstly matching hardware configuration and software version information, abandoning upgrading if the matching is unsuccessful, downloading an upgrade package after the matching is successful, and successfully downloading or decompressing the upgrade package and then installing the decompressed upgrade file in a storage area set by a system. And finishing the upgrading of the file.
In the process of upgrading the electronic equipment terminal, if the problem that the electronic equipment terminal cannot be upgraded or fails to be upgraded is met, the tftp server stores the information to prompt that the version is failed to be upgraded, or an upgrade package matched with the hardware configuration and the software version is carried out in the network, and if the electronic equipment terminal does not have the corresponding upgrade package, the electronic equipment terminal cannot be upgraded any more.
Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that features described in different dependent claims and herein may be combined in ways different from those described in the original claims. It is also to be understood that features described in connection with individual embodiments may be used in other described embodiments.
Claims (2)
1. The software ota upgrading method based on multi-version hardware is characterized in that the method realizes the upgrading of the electronic equipment terminal based on a tftp server, and software upgrading packages corresponding to the electronic equipment terminals with different hardware configurations and software versions are stored in the tftp server;
initializing an automobile electronic equipment terminal, and enabling the electronic equipment terminal to enter a state to be updated;
secondly, the electronic equipment terminal starts a tftp service and establishes network connection with a tftp server;
step three, the electronic equipment terminal sends a hardware configuration and software version information table to the tftp server;
step four, the tftp server matches the hardware configuration and software version information of the electronic equipment terminal with the hardware configuration and software version information corresponding to the software upgrading packet one by one; the step five is executed after the matching is successful, otherwise, upgrade failure information is sent to the electronic equipment terminal; disconnecting the network connection between the tftp server and the electronic equipment terminal, and ending the upgrading;
step five, the electronic equipment terminal downloads the software upgrading package after successful matching from the tftp server; judging whether the software upgrading package is downloaded completely, if so, installing the software upgrading package to complete the terminal upgrading of the electronic equipment; and if not, continuously downloading the software upgrading package, failing to upgrade until the software upgrading package is not successfully downloaded after N times of downloading, and ending the upgrading, wherein N is more than 1 ten thousand and less than or equal to 10 ten thousand.
2. The multi-version hardware-based software ota upgrading method according to claim 1, wherein the hardware configuration and software version information of the electronic device terminal in step four includes a bluetooth device model, a wifi connection device model, a network card model, a memory model, a serial peripheral interface model, an integrated circuit bus model, and a software version number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911183173.0A CN110928566A (en) | 2019-11-27 | 2019-11-27 | Software ota upgrading method based on multi-version hardware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911183173.0A CN110928566A (en) | 2019-11-27 | 2019-11-27 | Software ota upgrading method based on multi-version hardware |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110928566A true CN110928566A (en) | 2020-03-27 |
Family
ID=69846648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911183173.0A Withdrawn CN110928566A (en) | 2019-11-27 | 2019-11-27 | Software ota upgrading method based on multi-version hardware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110928566A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113242145A (en) * | 2021-04-30 | 2021-08-10 | 合肥移瑞通信技术有限公司 | Wireless device, firmware upgrading method, firmware server and readable storage medium |
CN113805923A (en) * | 2021-09-27 | 2021-12-17 | 一飞智控(天津)科技有限公司 | Method, system and medium for upgrading control components of formation aircrafts, formation aircrafts and application |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674590A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Client device and remote updating method and remote updating service system thereof |
CN103810011A (en) * | 2014-02-25 | 2014-05-21 | 广州视源电子科技股份有限公司 | Method for realizing OTA (over the air) upgrading through file server |
CN103927211A (en) * | 2014-04-25 | 2014-07-16 | 航天科技控股集团股份有限公司 | Wireless upgrading method based on FTP wireless upgrading system |
CN105677363A (en) * | 2016-02-03 | 2016-06-15 | 四川长虹电器股份有限公司 | OTA (Over-the-Air Technology) upgrading system |
CN105933150A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | OTA upgrade method, device and system |
CN106470227A (en) * | 2015-08-20 | 2017-03-01 | 青岛海信移动通信技术股份有限公司 | A kind of collocation method of OTA AKU and device |
CN107239302A (en) * | 2017-05-10 | 2017-10-10 | 努比亚技术有限公司 | A kind of firmware upgrade method, terminal and server |
US20180204008A1 (en) * | 2012-01-12 | 2018-07-19 | Facebook, Inc. | Multiple system images for over-the-air updates |
CN110086885A (en) * | 2019-05-10 | 2019-08-02 | 上海擎感智能科技有限公司 | The upgrade package method for down loading and device of space download technology, storage medium and terminal |
-
2019
- 2019-11-27 CN CN201911183173.0A patent/CN110928566A/en not_active Withdrawn
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674590A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Client device and remote updating method and remote updating service system thereof |
US20180204008A1 (en) * | 2012-01-12 | 2018-07-19 | Facebook, Inc. | Multiple system images for over-the-air updates |
CN103810011A (en) * | 2014-02-25 | 2014-05-21 | 广州视源电子科技股份有限公司 | Method for realizing OTA (over the air) upgrading through file server |
CN103927211A (en) * | 2014-04-25 | 2014-07-16 | 航天科技控股集团股份有限公司 | Wireless upgrading method based on FTP wireless upgrading system |
CN106470227A (en) * | 2015-08-20 | 2017-03-01 | 青岛海信移动通信技术股份有限公司 | A kind of collocation method of OTA AKU and device |
CN105677363A (en) * | 2016-02-03 | 2016-06-15 | 四川长虹电器股份有限公司 | OTA (Over-the-Air Technology) upgrading system |
CN105933150A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | OTA upgrade method, device and system |
CN107239302A (en) * | 2017-05-10 | 2017-10-10 | 努比亚技术有限公司 | A kind of firmware upgrade method, terminal and server |
CN110086885A (en) * | 2019-05-10 | 2019-08-02 | 上海擎感智能科技有限公司 | The upgrade package method for down loading and device of space download technology, storage medium and terminal |
Non-Patent Citations (2)
Title |
---|
方兵兵: "基于STM32的嵌入式软件远程升级研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
贺翔等: "基于WiFi的车载终端远程软件升级方法", 《单片机与嵌入式系统应用》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113242145A (en) * | 2021-04-30 | 2021-08-10 | 合肥移瑞通信技术有限公司 | Wireless device, firmware upgrading method, firmware server and readable storage medium |
CN113805923A (en) * | 2021-09-27 | 2021-12-17 | 一飞智控(天津)科技有限公司 | Method, system and medium for upgrading control components of formation aircrafts, formation aircrafts and application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110134418A (en) | Vehicle upgrade method and device, storage medium and terminal based on space download technology | |
EP2608585B1 (en) | Method, device and system for triggering terminal operation | |
CN105653262A (en) | Application program upgrade method, device and system | |
US20120117557A1 (en) | Method and system for upgrading wireless data card | |
CN105307195B (en) | A kind of method and device updating access point name parameter | |
CN109725921B (en) | Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument | |
CN101593119B (en) | Method and device for firmware over-the-air of exclusive flash memory combined equipment | |
CN110147242A (en) | Upgrading in the downloading of space relies on inspection method and device, storage medium and terminal | |
WO2017049550A1 (en) | Adapter and adapter upgrade method | |
KR20090090801A (en) | Method and apparatus for updating firmware in portable terminal | |
CN110928566A (en) | Software ota upgrading method based on multi-version hardware | |
CN106850241A (en) | A kind of vehicle-mounted OBD terminals and its remote upgrade method | |
CN111614765A (en) | Vehicle OTA (over the air) upgrading method and system | |
CN111901142A (en) | Firmware silent upgrading method and device for embedded equipment cluster | |
CN110543321A (en) | OTA (over the air) upgrading method, device, terminal and computer readable storage medium | |
CN110764812B (en) | Intelligent device, intelligent wearable device and software upgrading system and method thereof | |
CN110647337A (en) | Internet of things MCU (microprogrammed control Unit) air firmware upgrading method | |
CN1949718A (en) | FOTA supplying method | |
CN114172803A (en) | Multi-FPGA version control and configuration system and method based on Ethernet switching technology | |
CN103517258A (en) | A method of updating software on a mobile terminal, a mobile terminal and a server | |
CN106021003A (en) | Intelligent terminal repairing method, intelligent terminal, and server | |
CN117369844A (en) | OTA upgrading method, device, equipment and storage medium | |
CN105872106A (en) | Over-the-air upgrade method, over-the-air server and terminal | |
CN115220747A (en) | Upgrading method of vehicle-mounted multimedia system, vehicle-mounted multimedia system and vehicle | |
CN110602688A (en) | Terminal software upgrading method and upgrading system |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200327 |
|
WW01 | Invention patent application withdrawn after publication |