CN101714093A - Three-section type double-backup Loader upgrading method of set-top box - Google Patents

Three-section type double-backup Loader upgrading method of set-top box Download PDF

Info

Publication number
CN101714093A
CN101714093A CN200910112895A CN200910112895A CN101714093A CN 101714093 A CN101714093 A CN 101714093A CN 200910112895 A CN200910112895 A CN 200910112895A CN 200910112895 A CN200910112895 A CN 200910112895A CN 101714093 A CN101714093 A CN 101714093A
Authority
CN
China
Prior art keywords
loader
utility
upgrading
upgrade
top box
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
CN200910112895A
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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN200910112895A priority Critical patent/CN101714093A/en
Publication of CN101714093A publication Critical patent/CN101714093A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a three-section type double-backup Loader upgrading method of a set-top box. In the method, two Loader programs and a Booter program are stored in different storage spaces of a FLASH of a set-top box; the two Loader programs are respectively a main Loader program and a subordinate Loader program which are interchangeable; the main Loader program and the subordinate Loader program are alternately updated to mutually back up, and the upgrading skip uses a latest module. The invention adopts a three-section type double-backup storage way, fundamentally improves the integrality and the safety of upgrading, and has rapid and flexible synchronous process.

Description

The syllogic double copies Loader upgrade method of set-top box
[technical field]
The present invention relates to a kind of upgrade method of digital TV set-top box, relate in particular to a kind of three root modules that have of digital TV set-top box, comprise double copies Loader upgrade method, belong to digitizing terminal device field.
[background technology]
Along with the popularization of cable digital TV, cable digital TV set-top box is popularized gradually.In the use of set-top box, along with the continuous release of cable digital TV value-added service, the radio and TV operator has the requirement of upgrading; Set-top box supplier also might propose the requirement of software upgrading in order to solve the software defect of having found simultaneously.Therefore, method for updating set-top box software occupies critical role, but owing to there is the influence of many uncertain factors in escalation process, makes upgrading itself have certain risk, and this just proposes very high requirement to the integrality and the security of upgrade technique.
Set-top box generally adopts the online upgrading mode, commonly used is the structure of one-part form list Loader at present, this upgrading mode is when upgrading loader utility self, especially in writing the process of FLASH, there is potential safety hazard, in case the fortuitous event of force majeure takes place, directly just causes writing failure and cause program imperfect.In addition as No. the 200910111628.8th, Chinese invention patent application, publication number be CN101567962's " double-Loader updating method of set-top box " a kind of upgrading mode of double-Loader is disclosed, it is to adopt simple backup module to backup each other, though safe, really there is the slow and inflexible problem of synchronizing process.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of syllogic double copies Loader upgrade method of set-top box, takes the storage mode of " syllogic double copies ", has fundamentally improved the integrality and the security of upgrading, and synchronizing process is fast and flexibly.
The present invention is achieved in that a kind of syllogic double copies Loader upgrade method of set-top box, it is characterized in that: this method is the different storage spaces at set-top box FLASH, deposit two loader utilitys and a Booter program, this two loader utility is respectively interchangeable main loader utility and from loader utility, this main loader utility and upgrade in turn from loader utility, backup each other, up-to-date module is used in the upgrading redirect.
This method is after the loader utility upgrading is finished smoothly, also comprise a synchronous operation steps, see that the Loader that whether needs with new upgrading replaces original loader utility, this step is continued to be responsible for judging to main loader utility with from loader utility by the program of operation Loader, this deterministic process is controlled, carry out synchronous operation if desired, judge main loader utility with from loader utility consistent when guiding enters Loader next time, and then acquiescence is used main Loader operation.
This method specifically comprises the steps:
Step 11, start do not have upgrade information, directly jump to APP (application program from Booter (boot);
Step 12, start have upgrade information, but do not have E2PROM (EEPROM (Electrically Erasable Programmable Read Only Memo)), and perhaps Loader A and Loader B are destroyed, and directly jump to APP from Booter this moment;
Step 13, start detect the information of upgrading, upgrade by main loader utility or the effective Loader module from loader utility;
After step 21, the upgrading Loader success, need to judge whether synchronous operation, if need synchronous operation, then the Loader with new upgrading replaces original loader utility.
In the described step 21, when carrying out Loader synchronous operation, as power down in replacing old Loader process, cause old Loader destroyed, just upgrading realization Loader is synchronous once more after start next time, and two kinds of situations are arranged this moment:
If 1. next time, start did not have upgrade information, then leap to APP from Booter;
2. start next time to upgrading by former Loader module again, is jumped to Booter more then if upgrade information is arranged, and jumps to APP from Booter again.
The present invention has following advantage: take the storage mode of " syllogic double copies ", fundamentally improved the integrality and the security of upgrading, synchronizing process is fast and flexible.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the structured flowchart of the FLASH of the set-top box of use the inventive method.
Fig. 2 is the process flow diagram of the inventive method.
[embodiment]
See also shown in Figure 1ly, use the FLASH of the set-top box of the inventive method to be divided into two loader utility districts (Loader A program area and Loader B program area) and a Booter program area, a hardware parameter district, application area and other FLASH piece zone.
The syllogic double copies Loader upgrade method of set-top box of the present invention is in the Loader of set-top box FLASH A program area and Loader B program area is deposited main loader utility respectively and from loader utility, and deposits a Booter program in the Booter program area.This main loader utility and upgrade in turn from loader utility backups each other, and up-to-date module is used in the upgrading redirect, makes this main loader utility and can change each other from the role of loader utility two.Described Booter program is mainly used in initialization system, detects upgrade requirement information, main loader utility and from the integrality of the selectivity guiding of loader utility and this two loader utility of verification and master routine and to the judgement and the respective handling of accident failure; Loader partly is mainly the overall process of finishing upgrading with front end alternately, and the Loader major function of accepting guiding is that download, renewal and synchronous etc. process are finished in guiding.
This method is after the loader utility upgrading is finished smoothly, also comprise a synchronous operation steps, see that the Loader that whether needs with new upgrading replaces original loader utility, this step is continued to be responsible for judging to main loader utility with from loader utility by the program of operation Loader, this deterministic process is controlled, carry out synchronous operation if desired, judge main loader utility with from loader utility consistent when guiding enters Loader next time, and then acquiescence is used main Loader operation.
As shown in Figure 2, this method specifically comprises the steps:
Step 11, start do not have upgrade information, directly jump to APP from Booter;
Step 12, start have upgrade information, but do not have E2, and perhaps Loader A and Loader B are destroyed, and directly jump to APP from Booter this moment;
Step 13, start detect the information of upgrading, upgrade by main loader utility or the effective Loader module from loader utility;
After step 21, the upgrading Loader success, need to judge whether synchronous operation, if need synchronous operation, then the Loader with new upgrading replaces original loader utility.
In the described step 21, when carrying out Loader synchronous operation, as power down in replacing old Loader process, cause old Loader destroyed, just upgrading realization Loader is synchronous once more after start next time, and two kinds of situations are arranged this moment:
If 1. next time, start did not have upgrade information, then leap to APP from Booter;
2. start next time to upgrading by former Loader module again, is jumped to Booter more then if upgrade information is arranged, and jumps to APP from Booter again.
The concrete operations implementation procedure of the inventive method:
1, the long MENU key by set-top box of start ejects the upgrading picture, upgrades, and has upgraded and has jumped to Booter, jumps to APP from Booter again.
2, start is long by determining key, ejects input password prompt picture, can revise upgrade parameter after the success of input password, has revised the back and has upgraded by the MENU key, has upgraded and has jumped to Booter, jumps to APP from Booter again.
If the upgrading failure when parameter f orceupdate=0, turns back to input password prompt picture, when forceupdate=1, directly jump to APP from Booter.
3, start long by volume+/-, channel+/-on panel, show following information respectively behind the key, switch and can see by button.And then upgrade by the MENU key, upgraded second identical.
Volume+: show Loader version number
Volume-: the issuing time that shows APP
Channel+: show PID, Table ID, symbol rate, QAM pattern
Channel-: display frequency
4, APP issues the upgrade information of Booter, judges by the variable among the E2, when relevant variable set, upgrade information is arranged, and upgrades then.
5, start detects flash protection situation, judges by the variable among the E2, upgrades when relevant variable set.
In sum, the present invention takes the storage mode of " syllogic double copies ", has fundamentally improved the integrality and the security of upgrading, and synchronizing process is fast and flexible.

Claims (4)

1. the syllogic double copies Loader upgrade method of a set-top box, it is characterized in that: this method is the different storage spaces at set-top box FLASH, deposit two loader utilitys and a Booter program, this two loader utility is respectively interchangeable main loader utility and from loader utility, this main loader utility and upgrade in turn from loader utility, backup each other, up-to-date module is used in the upgrading redirect.
2. the syllogic double copies Loader upgrade method of set-top box according to claim 1, it is characterized in that: this method is after the loader utility upgrading is finished smoothly, also comprise a synchronous operation steps, see that the Loader that whether needs with new upgrading replaces original loader utility, this step is continued to be responsible for judging to main loader utility with from loader utility by the program of operation Loader, this deterministic process is controlled, carry out synchronous operation if desired, judge main loader utility with from loader utility consistent when guiding enters Loader next time, and then acquiescence is used main Loader operation.
3. the syllogic double copies Loader upgrade method of set-top box according to claim 2 is characterized in that this method specifically comprises the steps:
Step 11, start do not have upgrade information, directly jump to APP from Booter;
Step 12, start have upgrade information, but do not have E2, and perhaps Loader A and Loader B are destroyed, and directly jump to APP from Booter this moment;
Step 13, start detect the information of upgrading, upgrade by main loader utility or the effective Loader module from loader utility;
After step 21, the upgrading Loader success, need to judge whether synchronous operation, if need synchronous operation, then the Loader with new upgrading replaces original loader utility.
4. the syllogic double copies Loader upgrade method of set-top box according to claim 3, it is characterized in that: in the described step 21, when carrying out Loader synchronous operation, as power down in replacing old Loader process, cause old Loader destroyed, just upgrading realization Loader is synchronous once more after start next time, and two kinds of situations are arranged this moment:
If 1. next time, start did not have upgrade information, then leap to APP from Booter;
2. start next time to upgrading by former Loader module again, is jumped to Booter more then if upgrade information is arranged, and jumps to APP from Booter again.
CN200910112895A 2009-12-01 2009-12-01 Three-section type double-backup Loader upgrading method of set-top box Pending CN101714093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910112895A CN101714093A (en) 2009-12-01 2009-12-01 Three-section type double-backup Loader upgrading method of set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910112895A CN101714093A (en) 2009-12-01 2009-12-01 Three-section type double-backup Loader upgrading method of set-top box

Publications (1)

Publication Number Publication Date
CN101714093A true CN101714093A (en) 2010-05-26

Family

ID=42417760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910112895A Pending CN101714093A (en) 2009-12-01 2009-12-01 Three-section type double-backup Loader upgrading method of set-top box

Country Status (1)

Country Link
CN (1) CN101714093A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895671A (en) * 2010-07-21 2010-11-24 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN102170536A (en) * 2011-04-15 2011-08-31 深圳创维数字技术股份有限公司 Digital television network system, digital television all-in-one machine and upgrading method thereof
CN102945176A (en) * 2012-11-09 2013-02-27 青岛海信移动通信技术股份有限公司 Terminal equipment booting and updating method and equipment
CN102981872A (en) * 2012-11-09 2013-03-20 青岛海信移动通信技术股份有限公司 Start-up and upgrade method of terminal equipment and terminal equipment
CN103136015A (en) * 2011-12-05 2013-06-05 深圳长城开发科技股份有限公司 Method and system for controlling U boot to enter download operation mode
CN103186390A (en) * 2011-12-29 2013-07-03 中国移动通信集团公司 Home gateway and software upgrading method thereof
CN104166564A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Display terminal program updating method
CN106303709A (en) * 2016-08-01 2017-01-04 深圳市创维软件有限公司 A kind of Set Top Box and application program updating method, system
CN109803177A (en) * 2018-12-06 2019-05-24 安徽站乾科技有限公司 A kind of set-top box quickly loads and upgrade method
CN110188004A (en) * 2019-05-31 2019-08-30 烽火通信科技股份有限公司 A kind of double copies software system management method and system of terminal device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895671A (en) * 2010-07-21 2010-11-24 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN101895671B (en) * 2010-07-21 2013-05-01 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN102170536A (en) * 2011-04-15 2011-08-31 深圳创维数字技术股份有限公司 Digital television network system, digital television all-in-one machine and upgrading method thereof
CN102170536B (en) * 2011-04-15 2013-10-30 深圳创维数字技术股份有限公司 Digital television network system, digital television all-in-one machine and upgrading method thereof
CN103136015A (en) * 2011-12-05 2013-06-05 深圳长城开发科技股份有限公司 Method and system for controlling U boot to enter download operation mode
CN103186390A (en) * 2011-12-29 2013-07-03 中国移动通信集团公司 Home gateway and software upgrading method thereof
CN102981872A (en) * 2012-11-09 2013-03-20 青岛海信移动通信技术股份有限公司 Start-up and upgrade method of terminal equipment and terminal equipment
CN102945176A (en) * 2012-11-09 2013-02-27 青岛海信移动通信技术股份有限公司 Terminal equipment booting and updating method and equipment
CN102945176B (en) * 2012-11-09 2016-09-28 青岛海信移动通信技术股份有限公司 Terminal unit start, upgrade method and equipment
CN104166564A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Display terminal program updating method
CN106303709A (en) * 2016-08-01 2017-01-04 深圳市创维软件有限公司 A kind of Set Top Box and application program updating method, system
WO2018024198A1 (en) * 2016-08-01 2018-02-08 深圳市创维软件有限公司 Application upgrade method and system for set-top box, and set-top box
CN106303709B (en) * 2016-08-01 2019-04-16 深圳市创维软件有限公司 A kind of set-top box and its application program updating method, system
CN109803177A (en) * 2018-12-06 2019-05-24 安徽站乾科技有限公司 A kind of set-top box quickly loads and upgrade method
CN110188004A (en) * 2019-05-31 2019-08-30 烽火通信科技股份有限公司 A kind of double copies software system management method and system of terminal device

Similar Documents

Publication Publication Date Title
CN101714093A (en) Three-section type double-backup Loader upgrading method of set-top box
CN102082965B (en) Method for ensuring success in upgrading set-top box
CN108111331B (en) Method, device, storage medium, processor and system for acquiring update data packet
CN102662798A (en) Data recovery method and terminal for Android system
CN102646043B (en) Mobile terminal software upgrading method, update device and mobile terminal
US20160321063A1 (en) Method and Device for Making Differential Upgrade Package, and Method and Device for System Differential Upgrading
CN104252369A (en) On-board equipment and dual-system backup method and device of on-board equipment
CN106802813A (en) Method, device and vehicle for aerial firmware upgrade
CN103841155A (en) Software download method and software download device
CN105653262A (en) Application program upgrade method, device and system
CN107396188B (en) A kind of upgrade method and system of set-top box
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
CN101567962A (en) Double-Loader updating method for set-top box
CN102243594A (en) Method for safely and remotely upgrading embedded Linux system software
CN103995721A (en) Application program upgrading method, device and system
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN103186394A (en) Method and device for installing software
CN106126203A (en) A kind of OTA start accelerated method and system
CN102346673A (en) Method and device for upgrading mobile phone system
CN102223380A (en) Client terminal automatic updating frame based on Webservice and application thereof
CN103235792A (en) Method and device for operating file
CN103997684A (en) Method and device for updating operating system
CN106303709A (en) A kind of Set Top Box and application program updating method, system
CN103516667A (en) System, method and apparatus used for safety information data disaster recovery backup
CN103488516A (en) System repair method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100526