CN101567962A - Double-Loader updating method for set-top box - Google Patents

Double-Loader updating method for set-top box Download PDF

Info

Publication number
CN101567962A
CN101567962A CNA2009101116288A CN200910111628A CN101567962A CN 101567962 A CN101567962 A CN 101567962A CN A2009101116288 A CNA2009101116288 A CN A2009101116288A CN 200910111628 A CN200910111628 A CN 200910111628A CN 101567962 A CN101567962 A CN 101567962A
Authority
CN
China
Prior art keywords
loader
upgrading
top box
starter
program
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
CNA2009101116288A
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 CNA2009101116288A priority Critical patent/CN101567962A/en
Publication of CN101567962A publication Critical patent/CN101567962A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a double-Loader updating method for set-top box, which includes the following steps: turning on the power, running the Starter program firstly by CPU, detecting whether the upgrade is required; if required, skipping to the main Loader for updating; if the main Loader is broken, skipping to the backup Loader for updating; if updating request is not detected or two Loaders are broken, skipping to the application program; restarting set-top box after the Loader program is updated smoothly, comparing the double Loader by the Starter program, replacing the original non-updating Loader with the new updated Loader, and then skipping to the application program. The updating method not only can realize update of program or data outside Loader, but also can realize self-updating of Loader, thereby greatly reducing failure rate of set-top box.

Description

The double-Loader updating method of set-top box
[technical field]
The present invention relates to a kind of upgrade method of set-top box, relate in particular to a kind of double-Loader updating method of set-top box with dual fail-safe.
[background technology]
In recent years, along with the popularization of cable digital TV, cable digital TV set-top box is come into huge numbers of families 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, the updating set-top box software demand is constantly soaring.
As shown in Figure 1, common set top box upgrading software (Loader) is the structure of one-part form list Loader, and its upgrade method usually as shown in Figure 2, step 10: during the energising start, CPU at first moves loader utility, if Loader is destroyed, system can't start; If Loader does not have destroyed, then detect in Loader whether the upgrading requirement is arranged; Step 20: if the upgrading requirement is arranged, start upgrade function, otherwise jump to the operation of application program (APP is Application); Step 30: in the process that runs application, also might receive the order of front end upgrading, application program will jump to Loader this moment, carry out the download and upgrade process.
Loader is a bit of program that operates in before the application program, and its main effect is to realize the program beyond the Loader or the upgrading of data, as upgrade applications, character library, data etc.Loader plays crucial effects for the operate as normal and the subsequent software upgrading of set-top box, in case this section program goes wrong, will directly influence user's use.The common one-part form list Loader software data beyond the Loader that generally only are used to upgrade, easily self is not upgraded, in case upgrading Loader self failure, loader utility is with destroyed, set-top box can't operate as normal, and need technical staff's on-site maintenance just can recover this moment.
For above-mentioned this Loader, it self is dangerous upgrading, and causes the upgrading failure if run into accident in software upgrade process, and set-top box is just possible can't operate as normal.Therefore, how to guarantee carrying out smoothly of escalation process, when in escalation process, running into accident and make that software is destroyed, how to repair software and make that set-top box can operate as normal that these become the problem of more and more being paid close attention in the updating set-top box software process.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of double-Loader updating method of set-top box, it has the function of the upgrading of dual fail-safe, the program beyond the Loader or the upgrading of data both can have been realized, the upgrading of Loader self can be realized again, but also the failure rate of set-top box can be greatly reduced.
The present invention is achieved in that a kind of double-Loader updating method of set-top box, comprises the steps:
Step 100: after the energising start, CPU at first moves the Starter program, and whether detect in Starter has the upgrading requirement;
Step 200: if Starter has detected the upgrading requirement, judge whether main Loader is destroyed earlier, destroyed if main Loader does not have, just jump to main Loader, carry out the upgrading of main Loader; If main Loader is destroyed, judge again whether backup Loader is destroyed, destroyed if backup Loader does not have, then jump to backup Loader, back up the Loader upgrading; Not upgrading requires or two Loader are destroyed if Starter detects, and then jumps to application program;
Step 300: after the loader utility upgrading finishes smoothly and restarts, be responsible for two Loader are compared, replace the original not Loader of upgrading, jump to application program again with the new Loader after the upgrading by the Starter program.
Aforesaid upgrade method, it also further comprises step 400 after step 300: in the process that runs application, when receiving the order of front end upgrading, execution in step 200.
The present invention has following advantage: both can realize the program beyond the Loader or the upgrading of data; can realize the upgrading of Loader self again; and can guarantee at utmost that Loader is not destroyed; guarantee that to greatest extent set-top box can not lose the function of online upgrading; guaranteeing that set-top box all the time can operate as normal, is a kind of upgrade method with dual fail-safe therefore.
[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 existing set top box upgrading software list Loader.
Fig. 2 is the FB(flow block) of existing set top box upgrading method.
Fig. 3 is the structured flowchart of set top box upgrading software double-Loader of the present invention.
Fig. 4 is the FB(flow block) of set top box upgrading method of the present invention.
[embodiment]
See also shown in Figure 3ly, set top box upgrading software of the present invention is the software configuration of a two-part double-Loader, and two-part is meant Starter module and Loader module, independent separately, the storage respectively of these two modules; Double-Loader is meant main Loader and backup Loader.Starter partly comprises the initialization to system, the verification of double-Loader, the check of main journey, detects upgrade requirement; The Loader part mainly is the process of guiding upgrading.The subregion storage in Flash of Starter part and Loader part.
As shown in Figure 4, based on above-mentioned basis of software, the double-Loader updating method of set-top box of the present invention comprises the steps:
Step 100: after the energising start, CPU at first moves the Starter program, and whether detect in Starter has the upgrading requirement;
Step 200: if Starter has detected the upgrading requirement, judge whether main Loader is destroyed earlier, destroyed if main Loader does not have, just jump to main Loader, carry out the upgrading of main Loader; If main Loader is destroyed, main Loader herein destroys the destruction that typically refers to sudden power in the escalation process, the Starter program detects main Loader and can not normally move, judge again whether backup Loader is destroyed, if it is destroyed that backup Loader does not have, then jump to backup Loader, back up the Loader upgrading, not upgrading requires or two Loader are destroyed if Starter detects, and then jumps to application program (APP);
Step 300: after the loader utility upgrading finishes smoothly and restarts, be responsible for two Loader are compared, replace the original not Loader of upgrading, jump to application program (APP) again with the new Loader after the upgrading by the Starter program.
Step 400: in the process that runs application, when receiving the order of front end upgrading, execution in step 200.
The double-Loader updating method of set-top box of the present invention, different memory spaces at FLASH, deposit two identical loader utilitys (main Loader and backup Loader), Loader adopts the storage mode of " two-part ", make in the failure of upgrading loader utility self, under the situation that Loader can not normally move, the Starter program can also the vectoring aircraft top box starts and loads other application programs, continues operate as normal.And the Starter program is shielded, and it is can be not ruined in escalation process, and this also is the key that set-top box all the time can operate as normal.After the loader utility upgrading finishes smoothly and restarts, be responsible for two Loader are compared by the Starter program, replace original Loader with the new Loader that upgrades.If when loader utility is upgraded,, cause the upgrading failure to cause main Loader to damage because of the generation of fortuitous event, in set-top box once more behind the electrifying startup, the Starter program detects main Loader and can not normally move, and just jumps to backup Loader and continues operation, restarts upgrade job.So, even if loader utility upgrading failure can not make set-top box lose the function of online upgrading yet.

Claims (2)

1, a kind of double-Loader updating method of set-top box is characterized in that, comprises the steps:
Step 100: after the energising start, CPU at first moves the Starter program, and whether detect in Starter has the upgrading requirement;
Step 200: if Starter has detected the upgrading requirement, judge whether main Loader is destroyed earlier, destroyed if main Loader does not have, just jump to main Loader, carry out the upgrading of main Loader; If main Loader is destroyed, judge again whether backup Loader is destroyed, destroyed if backup Loader does not have, then jump to backup Loader, back up the Loader upgrading; Not upgrading requires or two Loader are destroyed if Starter detects, and then jumps to application program;
Step 300: after the loader utility upgrading finishes smoothly and restarts, be responsible for two Loader are compared, replace the original not Loader of upgrading, jump to application program again with the new Loader after the upgrading by the Starter program.
2, the double-Loader updating method of set-top box as claimed in claim 1 is characterized in that, also further comprises step 400 after the described step 300: in the process that runs application, and when receiving the order of front end upgrading, execution in step 200.
CNA2009101116288A 2009-04-24 2009-04-24 Double-Loader updating method for set-top box Pending CN101567962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101116288A CN101567962A (en) 2009-04-24 2009-04-24 Double-Loader updating method for set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101116288A CN101567962A (en) 2009-04-24 2009-04-24 Double-Loader updating method for set-top box

Publications (1)

Publication Number Publication Date
CN101567962A true CN101567962A (en) 2009-10-28

Family

ID=41283896

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101116288A Pending CN101567962A (en) 2009-04-24 2009-04-24 Double-Loader updating method for set-top box

Country Status (1)

Country Link
CN (1) CN101567962A (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
CN102243591A (en) * 2011-06-30 2011-11-16 南京熊猫信息产业有限公司 Method for improving Loader-upgrading stability of set top box by adopting two zone bits
CN102750170A (en) * 2012-06-25 2012-10-24 四川长虹电器股份有限公司 Method for updating FLASH upgrade module of set top box
CN103186390A (en) * 2011-12-29 2013-07-03 中国移动通信集团公司 Home gateway and software upgrading method thereof
CN103561321A (en) * 2013-10-15 2014-02-05 深圳创维数字技术股份有限公司 Method and device for preventing Android intelligent set top box from being abnormally upgraded
CN103929675A (en) * 2014-03-28 2014-07-16 深圳市九洲电器有限公司 Communication implementation method of set top box and set top box
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method
CN104166564A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Display terminal program updating method
CN107396188A (en) * 2017-09-08 2017-11-24 北京赛科世纪科技股份有限公司 The upgrade method and system of a kind of set top box
CN111263232A (en) * 2020-01-19 2020-06-09 珠海迈科智能科技股份有限公司 Background OTA (over the air) upgrading implementation method and system based on digital set-top box

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895671B (en) * 2010-07-21 2013-05-01 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN101895671A (en) * 2010-07-21 2010-11-24 深圳创维数字技术股份有限公司 Set top box Loader module updating method and set top box thereof
CN102243591A (en) * 2011-06-30 2011-11-16 南京熊猫信息产业有限公司 Method for improving Loader-upgrading stability of set top box by adopting two zone bits
CN102243591B (en) * 2011-06-30 2014-02-19 南京熊猫信息产业有限公司 Method for improving Loader-upgrading stability of set top box by adopting two zone bits
CN103186390A (en) * 2011-12-29 2013-07-03 中国移动通信集团公司 Home gateway and software upgrading method thereof
CN102750170B (en) * 2012-06-25 2016-05-25 四川长虹电器股份有限公司 A kind of method of upgrading Set Top Box FLASH upgrading module
CN102750170A (en) * 2012-06-25 2012-10-24 四川长虹电器股份有限公司 Method for updating FLASH upgrade module of set top box
CN103561321A (en) * 2013-10-15 2014-02-05 深圳创维数字技术股份有限公司 Method and device for preventing Android intelligent set top box from being abnormally upgraded
CN103561321B (en) * 2013-10-15 2017-01-18 深圳创维数字技术有限公司 Method and device for preventing Android intelligent set top box from being abnormally upgraded
CN103929675A (en) * 2014-03-28 2014-07-16 深圳市九洲电器有限公司 Communication implementation method of set top box and set top box
CN104166565A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Intelligent display terminal firmware updating method
CN104166564A (en) * 2014-08-11 2014-11-26 成都瑞博慧窗信息技术有限公司 Display terminal program updating method
CN104166565B (en) * 2014-08-11 2017-10-17 成都瑞博慧窗信息技术有限公司 A kind of intelligent display terminal firmware upgrade method
CN104166564B (en) * 2014-08-11 2017-10-27 成都瑞博慧窗信息技术有限公司 A kind of display terminal method for updating program
CN107396188A (en) * 2017-09-08 2017-11-24 北京赛科世纪科技股份有限公司 The upgrade method and system of a kind of set top box
CN107396188B (en) * 2017-09-08 2019-08-02 北京赛科世纪科技股份有限公司 A kind of upgrade method and system of set-top box
CN111263232A (en) * 2020-01-19 2020-06-09 珠海迈科智能科技股份有限公司 Background OTA (over the air) upgrading implementation method and system based on digital set-top box
CN111263232B (en) * 2020-01-19 2022-07-15 珠海迈科智能科技股份有限公司 Background OTA (over the air) upgrading implementation method and system based on digital set top box

Similar Documents

Publication Publication Date Title
CN101567962A (en) Double-Loader updating method for set-top box
CN102289397B (en) Method and device for automatically restoring embedded system of set top box
CN101425018B (en) Embedded firmware upgrading method and device based on sectional form
CN102023881B (en) Method and device for upgrading software as well as embedded device
CN102650947B (en) Continuous increment over-the-air upgrade method of Android handheld equipment
CN102110000A (en) Method, device and equipment for controlling software for auto-updating
CN101594613A (en) The method of terminal equipment and upgrading thereof, system
US9205809B2 (en) Vehicle unit and method for operating the vehicle unit
CN102222011A (en) Software upgrading method for set-top box and set-top box
CN102622250B (en) Software upgrading method for set top box supporting multi-flash equipment
CN105930236A (en) Application program version returning method based on BMS Bootloaderupgrade
CN106257417A (en) Bootstrap upgrade method, embedded device, control equipment and embedded system
CN105760200A (en) Terminal device and system updating method thereof
CN101221508A (en) Equipment starting method and device
CN103995712A (en) Boot loader device capable of updating automatically and updating method thereof
CN100430894C (en) TV system software updating method with power-off protection
WO2016078060A1 (en) Multi-system terminal system updating method, updating device and terminal
CN101714093A (en) Three-section type double-backup Loader upgrading method of set-top box
CN103186390A (en) Home gateway and software upgrading method thereof
CN106331862A (en) Set-top box software upgrading method and set-top box
CN102163152A (en) Software upgrading method and device thereof for embedded terminal device
CN103136002A (en) Automatic upgrade control method based on UBoot instruction and system
CN102736586A (en) Vehicle control unit for pure electric automobile and system booting method
CN102339264B (en) A kind of satellite borne electronic system equipment plug and play control method and system
CN103995717A (en) Method for upgrading software in embedded device

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

Open date: 20091028