CN109375939A - A kind of onboard system firmware on line upgrading method - Google Patents

A kind of onboard system firmware on line upgrading method Download PDF

Info

Publication number
CN109375939A
CN109375939A CN201811547746.9A CN201811547746A CN109375939A CN 109375939 A CN109375939 A CN 109375939A CN 201811547746 A CN201811547746 A CN 201811547746A CN 109375939 A CN109375939 A CN 109375939A
Authority
CN
China
Prior art keywords
upgrade
file
upgrading
onboard system
firmware
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
Application number
CN201811547746.9A
Other languages
Chinese (zh)
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.)
Honeycomb (wuhan) Microsystem Technology Co Ltd
Original Assignee
Honeycomb (wuhan) Microsystem Technology 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 Honeycomb (wuhan) Microsystem Technology Co Ltd filed Critical Honeycomb (wuhan) Microsystem Technology Co Ltd
Priority to CN201811547746.9A priority Critical patent/CN109375939A/en
Publication of CN109375939A publication Critical patent/CN109375939A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention proposes a kind of onboard system firmware on line upgrading methods, it include: that upgrade file solution is depressed under onboard system more new directory by movable storage device, system compares the version information of upgrade file and current system under more new directory, MD5 verification is carried out to upgrade file if version information is different, teaching and research achievement, then tab file is generated under more new directory, enter upgrade mode when system reboot if detecting tab file, system judges whether to upgrade successfully after upgrading, tab file is deleted if success, upgrade again if failure, enter if still failing and restores factory mode, the present invention provides a kind of more simple and effective firmware upgrade mode of onboard system, the problem of Defective vehicle recall caused by can be effectively reduced because of the system failure and maintenance, improve user experience, reduce automobile production enterprise Pressure.

Description

A kind of onboard system firmware on line upgrading method
Technical field
The present invention relates to automotive system upgrade technique field more particularly to a kind of onboard system firmware on line upgrading methods.
Background technique
With the development trend of vehicle intellectualized net connectionization, the technological progress of car networking brings answering for automobile software systems Miscellaneous degree is continuously increased, and the speed for upgrading iteration is getting faster, and the unstability risk of software is inevitable.Statistical data shows, More than half Defective vehicle recall of Vehicles Collected from Market is as caused by software defect, this following ratio will likely reach 70%.
In view of the above-mentioned problems, the firmware on line upgrading technology of current country's mainstream, is all the OTA technical foundation for using for reference mobile phone The function of progress is improved, however this upgrading mode considers insufficient, the upgrading nothing of onboard system to the application scenarios of onboard system Method directly relies on mobile wireless network or cable network to be upgraded, therefore and its it is inconvenient, pass through wireless network if wanting to have Or the ability that cable network is upgraded then needs to be updated hardware device upgrading.
Summary of the invention
In view of this, the invention proposes it is a kind of from save hardware resource angle, for onboard system in stabilization The requirement of property, safety, high efficiency and flexibility etc., a kind of onboard system firmware on line upgrading method of proposition.
The technical scheme of the present invention is realized as follows: the present invention provides a kind of onboard system firmware on line upgrading sides Method, comprising:
S10, upgrade file solution is depressed under onboard system more new directory by movable storage device;
The version information of S20, the upgrade file under onboard system comparison more new directory and current system, if version information It is different, execute S30;
S30, MD5 verification is carried out to subregion upgrade file each under more new directory, after verification, is generated under more new directory Tab file;
S40, when system restarting when, system detection whether there is tab file, enter if detecting tab file Upgrade mode carries out firmware upgrade to each subregion;
S50, upgrading finish, and system judges whether to upgrade successfully, if upgrading successfully, deletes tab file, and to upgrading Subregion execute installation script.
On the basis of above technical scheme, it is preferred that further include:
If S60, upgrading failure, judge whether to upgrade failure for the first time, if then repeating step S40, and judge whether to rise Grade success, if failure, and be not to fail for the first time, then tab file is deleted, into recovery factory mode.
On the basis of above technical scheme, it is preferred that the movable storage device include USB flash disk, mobile hard disk, CD and Mobile phone.
On the basis of above technical scheme, it is preferred that the upgrade mode includes: flashburn tools according to upgrade file pair Each subregion carries out programming upgrading.
Still more preferably, the S30 further include:
If S31, not passing through verification, system prompt user verifies failure and simultaneously deletes all upgrade files.
On the basis of above technical scheme, it is preferred that the S50 further include:
S51, multiple upgradings if it exists subregion, then execute installation script subregion sequence successively are as follows: system, spsdk, sdlapp、qtweb。
A kind of onboard system firmware on line upgrading method of the invention has the advantages that compared with the existing technology
Onboard system firmware on line upgrading method of the invention overcomes asking for conventional onboard system firmware upgrade inconvenience Topic, can carry out firmware upgrade by movable storage device, carry out being confirmed whether it is correct upgrading by version information comparison File is confirmed whether upgrade file is correct file by MD5 verification, this method can also in install failure for the first time into Row upgrades again, if factory reset still if install failure for the second time, avoids install failure that from can not restoring to cause to user Puzzlement, the present invention can overcome at present because of Defective vehicle recall caused by system defect, improve user experience, reduce the city of Automobile Enterprises Field pressure, increases automotive system fault-tolerance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of onboard system firmware on line upgrading method of the invention.
Specific embodiment
Below in conjunction with embodiment of the present invention, the technical solution in embodiment of the present invention is carried out clearly and completely Description, it is clear that described embodiment is only some embodiments of the invention, rather than whole embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all Other embodiments shall fall within the protection scope of the present invention.
As shown in Figure 1, onboard system firmware on line upgrading method of the invention comprising:
S10, upgrade file solution is depressed under onboard system more new directory by movable storage device;
The version information of S20, the upgrade file under onboard system comparison more new directory and current system, if version information It is different, execute S30;
S30, MD5 verification is carried out to subregion upgrade file each under more new directory, after verification, is generated under more new directory Tab file;
S40, when system restarting when, system detection whether there is tab file, enter if detecting tab file Upgrade mode carries out firmware upgrade to each subregion;
S50, upgrading finish, and system judges whether to upgrade successfully, if upgrading successfully, deletes tab file, and to upgrading Subregion execute installation script.
In a specific embodiment, further includes:
If S60, upgrading failure, judge whether to upgrade failure for the first time, if then repeating step S40, and judge whether to rise Grade success, if failure, and be not to fail for the first time, then tab file is deleted, into recovery factory mode.
In a specific embodiment, the movable storage device includes USB flash disk, mobile hard disk, CD and mobile phone.
In a specific embodiment, the upgrade mode includes: that flashburn tools carry out each subregion according to upgrade file Programming upgrading.
In a specific embodiment, S30 further include:
If S31, not passing through verification, system prompt user verifies failure and simultaneously deletes all upgrade files.
In a specific embodiment, S50 further include:
S51, multiple upgradings if it exists subregion, then execute the sequence of installation script successively are as follows: system, spsdk, sdlapp、qtweb。
The foregoing is merely better embodiments of the invention, are not intended to limit the invention, all of the invention Within spirit and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of onboard system firmware on line upgrading method characterized by comprising
S10, upgrade file solution is depressed under onboard system more new directory by movable storage device;
The version information of S20, the upgrade file under onboard system comparison more new directory and current system, if version information is different Sample executes S30;
S30, MD5 verification is carried out to subregion upgrade file each under more new directory, after verification, label is generated under more new directory File;
S40, when system restarting when, system detection whether there is tab file, if detecting tab file enter upgrading Mode carries out firmware upgrade to each subregion;
S50, upgrading finish, and system judges whether to upgrade successfully, if upgrading successfully, deletes tab file, and divide upgrading Area executes installation script.
2. a kind of onboard system firmware on line upgrading method as described in claim 1, it is characterised in that: further include:
If S60, upgrading failure, judge whether to upgrade failure for the first time, if then repeat step S40, and judge whether upgrading at Function, if failure, and be not to fail for the first time, then tab file is deleted, into recovery factory mode.
3. a kind of onboard system firmware on line upgrading method as described in claim 1, which is characterized in that the mobile storage is set Standby includes USB flash disk, mobile hard disk, CD and mobile phone.
4. a kind of onboard system firmware on line upgrading method as described in claim 1, which is characterized in that the upgrade mode packet Include: flashburn tools carry out programming upgrading to each subregion according to upgrade file.
5. a kind of onboard system firmware on line upgrading method as described in claim 1, which is characterized in that the S30 further include:
If S31, not passing through verification, system prompt user verifies failure and simultaneously deletes all upgrade files.
6. a kind of onboard system firmware on line upgrading method as described in claim 1, which is characterized in that the S50 further include:
S51, multiple upgradings if it exists subregion, then execute the sequence of installation script successively are as follows: system, spsdk, sdlapp, qtweb。
CN201811547746.9A 2018-12-17 2018-12-17 A kind of onboard system firmware on line upgrading method Pending CN109375939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811547746.9A CN109375939A (en) 2018-12-17 2018-12-17 A kind of onboard system firmware on line upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811547746.9A CN109375939A (en) 2018-12-17 2018-12-17 A kind of onboard system firmware on line upgrading method

Publications (1)

Publication Number Publication Date
CN109375939A true CN109375939A (en) 2019-02-22

Family

ID=65374586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811547746.9A Pending CN109375939A (en) 2018-12-17 2018-12-17 A kind of onboard system firmware on line upgrading method

Country Status (1)

Country Link
CN (1) CN109375939A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032377A (en) * 2019-03-19 2019-07-19 芯讯通无线科技(上海)有限公司 Communication module method for upgrading software, system and communication module
CN112559419A (en) * 2020-12-21 2021-03-26 厦门市美亚柏科信息股份有限公司 Firmware upgrade protection method and device for PCIE (peripheral component interface express) storage module
CN113703801A (en) * 2021-07-14 2021-11-26 深圳市有为信息技术发展有限公司 Vehicle-mounted terminal firmware upgrading method and electronic device
CN115220750A (en) * 2021-11-25 2022-10-21 广州汽车集团股份有限公司 Automobile OTA (over the air) upgrading method, front-row host and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995723A (en) * 2014-05-26 2014-08-20 惠州华阳通用电子有限公司 IVI system firmware updating method and device based on mobile storage equipment
CN104468784A (en) * 2014-12-05 2015-03-25 北京速通科技有限公司 System and method for achieving vehicle-mounted unit software upgrade through DSRC interface
CN106886422A (en) * 2017-04-07 2017-06-23 广州华多网络科技有限公司 Method for upgrading software and device, electronic equipment
CN107809471A (en) * 2017-10-12 2018-03-16 智车优行科技(北京)有限公司 Intelligent vehicle-mounted system data handling system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995723A (en) * 2014-05-26 2014-08-20 惠州华阳通用电子有限公司 IVI system firmware updating method and device based on mobile storage equipment
CN104468784A (en) * 2014-12-05 2015-03-25 北京速通科技有限公司 System and method for achieving vehicle-mounted unit software upgrade through DSRC interface
CN106886422A (en) * 2017-04-07 2017-06-23 广州华多网络科技有限公司 Method for upgrading software and device, electronic equipment
CN107809471A (en) * 2017-10-12 2018-03-16 智车优行科技(北京)有限公司 Intelligent vehicle-mounted system data handling system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032377A (en) * 2019-03-19 2019-07-19 芯讯通无线科技(上海)有限公司 Communication module method for upgrading software, system and communication module
WO2020186551A1 (en) * 2019-03-19 2020-09-24 芯讯通无线科技(上海)有限公司 Communication module software upgrading method and system, and communication module
CN113767365A (en) * 2019-03-19 2021-12-07 芯讯通无线科技(上海)有限公司 Communication module software upgrading method and system and communication module
CN110032377B (en) * 2019-03-19 2024-06-07 芯讯通无线科技(上海)有限公司 Communication module software upgrading method and system and communication module
CN112559419A (en) * 2020-12-21 2021-03-26 厦门市美亚柏科信息股份有限公司 Firmware upgrade protection method and device for PCIE (peripheral component interface express) storage module
CN113703801A (en) * 2021-07-14 2021-11-26 深圳市有为信息技术发展有限公司 Vehicle-mounted terminal firmware upgrading method and electronic device
CN115220750A (en) * 2021-11-25 2022-10-21 广州汽车集团股份有限公司 Automobile OTA (over the air) upgrading method, front-row host and system
CN115220750B (en) * 2021-11-25 2024-03-15 广州汽车集团股份有限公司 Automobile OTA upgrading method, front-row host and system

Similar Documents

Publication Publication Date Title
CN109375939A (en) A kind of onboard system firmware on line upgrading method
CN107493290B (en) OTA (over the air) upgrading method for Android smart television system software
CN104166561B (en) Electronic equipment system starting method and electronic equipment
US10423585B2 (en) Method and device for making differential upgrade package, and method and device for system differential upgrading
US10705820B2 (en) Method and apparatus for secure multi-cycle vehicle software updates
CN105653262A (en) Application program upgrade method, device and system
CN109673009B (en) Method and device for upgrading VCU software in air
CN106020861A (en) FOTA upgrading method and system for smart watch
CN103428333B (en) Mobile terminal, server and errors repair method
CN109587331B (en) Method and system for automatically repairing cloud mobile phone fault
US20160170735A1 (en) Operating system updating method by using a checklist
CN102591745A (en) Method and device for system recovery based on android system and intelligent equipment
CN102163167A (en) Method and device for rescuing system
CN104220981A (en) Firmware package to modify active firmware
CN104978223A (en) Method for implementing upgrade of device firmware in Web manner
CN107102849B (en) Method and apparatus for file replacement with periodic ignition switch off
CN104951348A (en) Interruptible recovery upgrading method and device
CN105786636A (en) System repairing method and device
CN102841794A (en) Method, device and system for reinstalling operating system of terminal equipment
CN110119285A (en) A kind of low side scm software upgrade method and relevant apparatus
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
CN112732301A (en) Vehicle upgrading method and device
CN114675621A (en) OTA remote vehicle fault recovery method and system
CN113204359A (en) Online server upgrading method and device
CN112463208A (en) Version management method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222