CN102081539A - Reliable software upgrade method for dual-mode terminal - Google Patents
Reliable software upgrade method for dual-mode terminal Download PDFInfo
- Publication number
- CN102081539A CN102081539A CN2011100050365A CN201110005036A CN102081539A CN 102081539 A CN102081539 A CN 102081539A CN 2011100050365 A CN2011100050365 A CN 2011100050365A CN 201110005036 A CN201110005036 A CN 201110005036A CN 102081539 A CN102081539 A CN 102081539A
- Authority
- CN
- China
- Prior art keywords
- software
- upgrade
- module
- flash memory
- terminal
- 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
Abstract
The invention provides a reliable software upgrade method for a dual-mode terminal, comprising the following steps: firstly, backuping a system module of the current software in the high-address part of a flash memory; secondly, writing a system module of upgrade software in the low-address part of the flash memory; and finally, writing an application program module of the upgrade software in the high-address part of the flash memory to replace the system module of the current software, thus finishing the upgrade process. By using the method provided by the invention, a safe and reliable software upgrade mode can be formed. If accidents occur in the upgrade process or the upgrade process fails, the terminal can automatically upgrade the system again until the update process is finished when the terminal is started next time.
Description
Technical field
The invention provides a kind of method for upgrading software, particularly relate to a kind of method for upgrading software that is used for dual-mode terminal.
Background technology
Dual-mode terminal adopts IP (Internet protocol) upgrade method that its terminal software is upgraded usually, but there are the factors of instability in this method, in case escalation process accident power-off or Network Transmission failure, just the failure of can upgrading makes system the mistake that can't recover occur, can't restart or can't operate as normal such as dual-mode terminal, must rely on the technician to recover mistake and make the terminal operate as normal by complicated operations more.
Summary of the invention
The objective of the invention is to avoid cause dual-mode terminal can't recover normal by the upgrading failure, thereby a kind of reliable software upgrade method that is used for dual-mode terminal is proposed, dual-mode terminal is restarted and operate as normal even its technical scheme assurance upgrading failure can not influence yet, and do not need the technician to participate in, terminal system when next time starting upgrades to upgrading automatically again and finishes.
According to the proposed method, current software (early version software program) is divided into system module and two parts of application program module, and upgrade software (new version software program) also is divided into system module and two parts of application program module.Current software also is divided into system module and two parts of application program module.System module is made up of operating system and terminal staging module; Application program module is made up of browser, player and other application programs.Terminal system is the system module of upgrade software and application program module coupling check code separately as the successful sign of upgrading separately automatically in the escalation process.
The system module of the system module of current software and upgrade software and application program module write flash memory in escalation process, and flash memory from being divided into high address and low address two parts in logic, is respectively applied for storage system modules and application program module accordingly.
The upgrade method that the present invention proposes is: at first terminal system backups to the system module of current software the high address part of flash memory; Then obtain the system module of upgrade software, and be system module school check code of generation automatically of upgrade software, the system module and the check code of upgrade software write flash memory low address part from upgrade server; Last terminal system obtains the application program module of upgrade software from upgrade server, and be check code of the automatic generation of application program module of upgrade software, the system module that the application program module and the check code of upgrade software are replaced current software, write flash memory high address part, escalation process is finished.
Adopt the present invention's failure of in escalation process, no matter when upgrading, the system module of current software or the system module of upgrade software, all the time there is one to be kept in the flash memory, as long as system module is normal, terminal system just can restart normally, start the integrality of the check code of corresponding module in back system test flash memory low address and the flash memory high address, because the upgrading failure causes check code imperfect, make system check unsuccessful, system will obtain upgrade software (ROMPaq) automatically from upgrade server, finish until upgrading.
This upgrade method also goes for having IPTV (Web TV) terminal of IP function.
Description of drawings
Fig. 1 is the preservation location drawing of terminal software in flash memory under the normal condition;
Fig. 2 is backup current software (early version) system module figure;
Fig. 3 is that success writes upgrade software (redaction) system module figure;
Fig. 4 is the preservation location drawing of terminal software in flash memory after system upgrade is finished;
Embodiment
The present invention is used for the concrete support that need to implement terminal (having the IP function), upgrade server and internet of reliable software upgrade method of dual-mode terminal.In case software upgrading begins, terminal is connected with upgrade server at first automatically, checks hardware version and software version, version checking by after carry out upgrade software.Method by the present invention proposes can form safe and reliable software upgrading pattern.Occur unexpected in the escalation process or the upgrading failure, terminal will be when starting next time upgrade-system again automatically, finish up to upgrading.
The present invention is in the embodiment of escalation process:
1. first-selected terminal system backups to the early version system module of current software that (this process is labeled as step a) in the flash memory high address.The preservation position of this early version system module in flash memory as shown in Figure 2.If the failure of system cut-off or network data transmission does not influence restarting of terminal in the process of execution in step a, start the back terminal and carry out step a again.
2. terminal system obtains the new version system module of upgrade software behind the completing steps a from upgrade server, and calculate and mate the check code of this system module automatically, (this process is labeled as step b) afterwards new version system module and check code to be write the low address part of flash memory.This new version system module is preserved the position as shown in Figure 3 in flash memory.If system cut-off or network data transmission failure in the process of execution in step b, it is incorrect that system will detect flash memory low address check code partly automatically after terminal is restarted, terminal system partly starts from high address automatically, because the early version system module has backuped in the high address of flash memory in step a before, therefore the terminal terminal system can normally start, and terminal system re-executes step b.
3. terminal system obtains the redaction application program module of upgrade software behind the complete step b from upgrade server, and calculate and mate the check code of this application program module automatically, afterwards redaction application program module and check code are replaced the system module of current software, write the high address part of flash memory, escalation process finishes that (this process is labeled as step c).This redaction should program module be preserved the position as shown in Figure 4 in flash memory.If system cut-off or network data transmission failure in the process of execution in step c, terminal completing steps b can normally start, and restarting the back system, will to detect the high address check code of flash memory automatically incorrect, and terminal system re-executes step c, up to finishing upgrading.
Claims (3)
1. reliable software upgrade method that is used for dual-mode terminal is characterized in that:
-current software is divided into system module and two parts of application program module, and upgrade software is divided into system module and two parts of application program module;
-system module of current software and the system module and the application program module of upgrade software write in the flash memory in escalation process, and flash memory is respectively applied for storage system modules and application program module from being divided into high address and low address two parts in logic;
-terminal system is the system module of upgrade software and application program module coupling check code as the successful sign of upgrading separately automatically in escalation process;
-upgrade step: the system module backup of at first current software is in the high address part of flash memory, secondly the system module of upgrade software writes the low address part of flash memory, the system module that the application program module of last upgrade software is replaced current software writes the high address part of flash memory, and upgrading is finished.
2. system module according to claim 1 is characterized in that, is made up of operating system and terminal staging module.
3. application program module according to claim 1 is characterized in that, is made up of browser, player and other application programs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100050365A CN102081539A (en) | 2011-01-12 | 2011-01-12 | Reliable software upgrade method for dual-mode terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100050365A CN102081539A (en) | 2011-01-12 | 2011-01-12 | Reliable software upgrade method for dual-mode terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102081539A true CN102081539A (en) | 2011-06-01 |
Family
ID=44087518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100050365A Pending CN102081539A (en) | 2011-01-12 | 2011-01-12 | Reliable software upgrade method for dual-mode terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102081539A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831031A (en) * | 2011-06-17 | 2012-12-19 | 鸿富锦精密工业(深圳)有限公司 | Recovery method and system for operating system |
CN103713911A (en) * | 2012-09-28 | 2014-04-09 | 中兴通讯股份有限公司 | Single version upgrading method and single version upgrading device |
CN105094911A (en) * | 2015-08-03 | 2015-11-25 | 深圳市广和通无线通信软件有限公司 | One-key upgrading method and tool of wireless communication module |
CN105611067A (en) * | 2016-01-29 | 2016-05-25 | 努比亚技术有限公司 | Mobile terminal and upgrading method thereof |
CN105611068A (en) * | 2016-01-29 | 2016-05-25 | 努比亚技术有限公司 | Mobile terminal and system upgrading method |
CN105763722A (en) * | 2016-01-29 | 2016-07-13 | 努比亚技术有限公司 | Mobile terminal and system update method |
CN105763723A (en) * | 2015-09-30 | 2016-07-13 | 努比亚技术有限公司 | Mobile terminal and system update method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051273A (en) * | 2006-04-07 | 2007-10-10 | 北京汉辰科技有限公司 | Reliable soft ware upgrading method for IPIV |
CN101694621A (en) * | 2009-10-22 | 2010-04-14 | 中兴通讯股份有限公司 | Method for updating software of mobile terminal and mobile terminal |
-
2011
- 2011-01-12 CN CN2011100050365A patent/CN102081539A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101051273A (en) * | 2006-04-07 | 2007-10-10 | 北京汉辰科技有限公司 | Reliable soft ware upgrading method for IPIV |
CN101694621A (en) * | 2009-10-22 | 2010-04-14 | 中兴通讯股份有限公司 | Method for updating software of mobile terminal and mobile terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831031A (en) * | 2011-06-17 | 2012-12-19 | 鸿富锦精密工业(深圳)有限公司 | Recovery method and system for operating system |
CN103713911A (en) * | 2012-09-28 | 2014-04-09 | 中兴通讯股份有限公司 | Single version upgrading method and single version upgrading device |
CN103713911B (en) * | 2012-09-28 | 2017-11-10 | 中兴通讯股份有限公司 | A kind of single version upgrade method and device |
CN105094911A (en) * | 2015-08-03 | 2015-11-25 | 深圳市广和通无线通信软件有限公司 | One-key upgrading method and tool of wireless communication module |
CN105094911B (en) * | 2015-08-03 | 2018-12-07 | 深圳市广和通无线通信软件有限公司 | A key upgrade method and a key upgrading tool for wireless communication module |
CN105763723A (en) * | 2015-09-30 | 2016-07-13 | 努比亚技术有限公司 | Mobile terminal and system update method |
CN105763723B (en) * | 2015-09-30 | 2019-10-01 | 努比亚技术有限公司 | Mobile terminal and method for upgrading system |
CN105611067A (en) * | 2016-01-29 | 2016-05-25 | 努比亚技术有限公司 | Mobile terminal and upgrading method thereof |
CN105611068A (en) * | 2016-01-29 | 2016-05-25 | 努比亚技术有限公司 | Mobile terminal and system upgrading method |
CN105763722A (en) * | 2016-01-29 | 2016-07-13 | 努比亚技术有限公司 | Mobile terminal and system update method |
CN105611067B (en) * | 2016-01-29 | 2019-05-31 | 努比亚技术有限公司 | Mobile terminal and its upgrade method |
CN105763722B (en) * | 2016-01-29 | 2019-05-31 | 努比亚技术有限公司 | Mobile terminal and its method for upgrading system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102081539A (en) | Reliable software upgrade method for dual-mode terminal | |
CN101232397B (en) | Apparatus and method for renovating multi controller systems | |
US10114655B2 (en) | Rapid start up method for electronic equipment | |
CN103699421B (en) | Embedded device method for upgrading system and its device | |
US20100169709A1 (en) | System Of Updating Firmware And Method Thereof, And Method Of Creating Firmware | |
US8443084B2 (en) | Enhanced upgrade path | |
CN111142911A (en) | Embedded system with abnormal recovery function and upgrading method thereof | |
US9983791B2 (en) | System management controller and method of configuration file backup and recovery | |
CN101247268B (en) | Synchronization method and apparatus of terminal system version | |
CN101453550A (en) | Automatic updating method for set-top box software | |
CN106897166B (en) | Mobile terminal and repairing method thereof | |
US20170242685A1 (en) | Updating of firmware | |
CN101895671A (en) | Set top box Loader module updating method and set top box thereof | |
CN102902563A (en) | Linux operating system and method for mounting file system in starting process of Linux operating system | |
WO2020029967A1 (en) | Method and apparatus for repairing fault in operating system | |
CN103186390A (en) | Home gateway and software upgrading method thereof | |
US8612799B2 (en) | Method and apparatus of backing up subversion repository | |
WO2018049798A1 (en) | Method and apparatus for reconstructing cache partition | |
CN202009452U (en) | Verification system for TV set application program upgrading | |
CN111273928A (en) | Self-upgrading bootloader design method | |
CN1331050C (en) | Method for starting basic input and output system | |
KR102274668B1 (en) | Apparatus and method for controlling updating software of AVN system in vehicle | |
US9529581B2 (en) | Circuit and method for writing program codes of basic input/output system | |
CN101051273A (en) | Reliable soft ware upgrading method for IPIV | |
CN102043640A (en) | Flash system and program updating method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110601 |