CN102750170B - A kind of method of upgrading Set Top Box FLASH upgrading module - Google Patents

A kind of method of upgrading Set Top Box FLASH upgrading module Download PDF

Info

Publication number
CN102750170B
CN102750170B CN201210209504.5A CN201210209504A CN102750170B CN 102750170 B CN102750170 B CN 102750170B CN 201210209504 A CN201210209504 A CN 201210209504A CN 102750170 B CN102750170 B CN 102750170B
Authority
CN
China
Prior art keywords
upgrading
module
upgrade
new
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.)
Active
Application number
CN201210209504.5A
Other languages
Chinese (zh)
Other versions
CN102750170A (en
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201210209504.5A priority Critical patent/CN102750170B/en
Publication of CN102750170A publication Critical patent/CN102750170A/en
Application granted granted Critical
Publication of CN102750170B publication Critical patent/CN102750170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to top box of digital machine field, the invention discloses a kind of method of upgrading Set Top Box FLASH upgrading module, it specifically comprises following steps: two upgrading channels are set, first upgrading channel comprises the upgrade applications of the module of upgrading and new upgrading module, and another one upgrading channel comprises up-to-date upgrade applications; The upgrade applications of upgrading module and new upgrading module are set in described first upgrading channel, the upgrade applications of the module of upgrading in loading upgrading passage, and use the upgrade applications of upgrading module that current upgrading module is updated to new upgrading module. Be new upgrading module by using upgrade applications by upgrading module upgrade, in the process of normally watching program, move upgrade applications, user can directly not shut down or the operation of power-off, the module of simultaneously upgrading is generally smaller, FLASH is erasable consuming time few, in application program, upgrade, reduced the possibility of user misoperation.

Description

A kind of method of upgrading Set Top Box FLASH upgrading module
Technical field
The present invention relates to DTV STB field, relate in particular to a kind of method of upgrading Set Top Box FLASH upgrading module.
Background technology
Along with DTV develop rapidly, various application emerge in an endless stream, DTV STB can be realized various functions, it can make simulated television turn to interactive digital TV (as video request program etc.) from passive reception simulated television, and can enter the Internet, make user enjoy the omnibearing information services such as TV, data, language, therefore the software of the upper operation in digital television top also must get more and more, and the upgrading of software and renewal namely must need the urgent problem solving.
Generally, upgrading module Loader, as the important component part of set-top box software, in order to ensure the stability of Set Top Box, does not generally allow to upgrade. Because software upgrading upgrading Dou Shi operator common in Set Top Box carries out batch upgrade by Operation Network, if there is unexpected power down while upgrading upgrading module Loader, the situation of shutdown, can cause Set Top Box can not use completely, upgrades ROM failure as mobile phone. But because original upgrading module Loader meeting more or less exists some design defect, sometimes can meet the situation of having to upgrade upgrading module Loader. Just because of these reasons, operator and Set Top Box producer proposed some and avoid Loader to upgrade failed method, such as backing up for Loader at reserved area of Flash planning, but still can there is a crucial problem in this method: starting loader module cannot upgrade.
Summary of the invention
The object of the invention is to have unexpected power down for the method for above-mentioned Adoption Network batch upgrade Set Top Box FLASH upgrading module, the situation of shutdown, if and in Flash, planned that a reserved area backs up for Loader, would exist again and start the technical problem that loader module cannot be upgraded. The invention discloses a kind of method of upgrading Set Top Box FLASH upgrading module
Object of the present invention realizes by following technical proposals:
A kind of method of upgrading Set Top Box FLASH upgrading module, it specifically comprises following steps: two upgrading channels are set, first upgrading channel comprises the upgrade applications of the module of upgrading and new upgrading module, and another one upgrading channel comprises up-to-date upgrade applications; The upgrade applications of upgrading module and new upgrading module are set in described first upgrading channel, the upgrade applications of the module of upgrading in loading upgrading passage, and use the upgrade applications of upgrading module that current upgrading module is updated to as new upgrading module.
Preferably, said method also comprises: first detect new upgrading module whether consistent with current upgrading module, if consistent, the renewal of the module of not upgrading, otherwise, the renewal of the module of upgrading.
Preferably, said method also comprises: after upgrading module is upgraded, adopt new upgrading module that application program is upgraded.
Preferably, said method also comprises: after detecting that new upgrading mould is consistent with current upgrading module, directly adopt current upgrading module that application program is upgraded.
Preferably, said method also comprises: in the process of upgrading, and display display reminding information.
Beneficial effect of the present invention: by using upgrade applications that upgrading module Loader0 is upgraded to new upgrading module Loader1, in the process of normally watching program, move upgrade applications APP1, user can directly not shut down or the operation of power-off, the module of simultaneously upgrading Loader is generally smaller, FLASH is erasable consuming time few, in application program, upgrade, reduced the possibility of user misoperation, more enough renewal operations that completes well Loader and APP.
Brief description of the drawings
Fig. 1 is the state flow chart of FLASH in escalation process.
Fig. 2 is the design flow diagram of APP1.
Detailed description of the invention
Below in conjunction with specific embodiments and the drawings, the present invention is further illustrated.
The invention discloses a kind of method of upgrading Set Top Box FLASH upgrading module, it specifically comprises following steps: two upgrading channel PID are set, first upgrading channel comprises the upgrade applications APP1 of the module of upgrading and new upgrading module Loader1, and another one upgrading channel comprises up-to-date upgrade applications APP2; The upgrade applications APP1 of upgrading module and new upgrading module Loader1 are set in described first upgrading channel, the upgrade applications APP1 of the module of upgrading in loading upgrading passage, and use the upgrade applications APP1 of upgrading module that current upgrading module Loader0 is updated to as new upgrading module Loader1. Wherein: Loader0 is current upgrading module in FLASH in Set Top Box, and Loader1 is upgrading module new in upgrading channel, and APP1 is the application program of the current upgrading module of upgrading. By using upgrade applications that upgrading module Loader0 is upgraded to new upgrading module Loader1, in the process of normally watching program, move upgrade applications APP1, user can directly not shut down or the operation of power-off, the module of simultaneously upgrading Loader is generally smaller, FLASH is erasable consuming time few, in application program, upgrade, reduced the possibility of user misoperation, more enough renewal operations that completes well Loader and APP.
Preferably, described method also comprises: first detect new upgrading module Loader1 whether consistent with current upgrading module Loader0, if consistent, the renewal of the module of not upgrading, otherwise, the renewal of the module of upgrading. Avoid Set Top Box in not needing to upgrade upgrading module to repeat to upgrade operation by such mode, improved the efficiency of Set Top Box, reduced the risk of system.
Preferably, described method also comprises: after upgrading module is upgraded, adopt new upgrading module that application program is upgraded. Upgrade to after Loader1 at Loader0, adopt Loader1 that application A PP2 is upgraded, thereby complete the upgrading of application program. By such mode, use new upgrading module application programs APP2 to upgrade, complete more efficiently the renewal of application program.
Preferably, described method also comprises: after detecting that new upgrading module Loader1 is consistent with current upgrading module Loader0, directly adopt current upgrading module that application program is upgraded. After detecting that Loader0 is consistent with Loader1, do not need to upgrade Loader0, directly adopt Loader0 that application A PP2 is upgraded, thereby complete the upgrading of application program. By such mode, avoid Set Top Box in not needing to upgrade upgrading module to repeat to upgrade operation, improve the efficiency of Set Top Box, reduce the risk of system.
Preferably, described method also comprises: in the process of upgrading, and display display reminding information. If display reminding information is on TV that " Set Top Box also will continue the new software of upgrading, please bear with, and not do any operation! " information like that, not closing television or power-off of prompting user, has ensured the stable of upgrading module renewal process, has further reduced the risk of system.
The present invention is from the operating habit from user, in adopting Operation Network to carry out batch upgrade, many times can in escalation process, there is shutdown in user, the maloperations such as power-off, and the present invention puts into and should watch that the APP1 of normal program carries out upgrading the process of Loader1, in the time upgrading Loader1, provide simultaneously user's prompting " Set Top Box also will continue the new software of upgrading, and please bear with, and not do any operation! ". The realization of this invention is generally by two upgrading channels of operator's arrangement (PID), and one is made up of APP1 and Loader1, and this special APP1 completes Loader0 and is updated to Loader1 function. Another is up-to-date ROMPaq APP2, and operator's front end is described the upgrading stream of APP1+Loader1 in auto-update descriptor simultaneously, and the upgrade information of APP2 is responsible for writing Set Top Box by APP1.
In digital television business, APP represents application program, Loader representative upgrading module, and they are independently modules of difference. When startup, master chip first starts Loader module, Loader module check upgrading
Flag bit, if the upgrading of corresponding manner is carried out in the set of upgrading flag bit. If there is no set, start APP application program, user can use DTV related service. As shown in Figure 1, Loader0, APP0 is upgrading module and application program old in Set Top Box. Loader1, upgrading module and application program that APP2 is new state. APP1 application program is the application program that Loader0 is updated to Loader1.
Escalation process is divided into following three steps: the first step, the first upgrading code stream by the Loader0 upgrading App1+Loader1 in Set Top Box; Second step, APP1 replaces Loader0 with Loader1, if be replaced successfully, APP1 arranges the upgrade information of APP2 upgrading code stream, and (effect of this upgrading flag bit is to start rear Loader1 and checks this upgrading flag bit next time the set of upgrading flag bit, if set, enters the upgrade function of Loader1), then restart. The 3rd step, after restarting, the Loader1 APP2 that upgrades, finally completes the renewal of Loader1 and APP2.
The state flow chart of FLASH as shown in Figure 1 in escalation process, the reset condition schematic diagram that State0 is set-top box software, State3 is the schematic diagram that has upgraded up-to-date Loader1 and APP2 software. Under normal circumstances, only have APP region be can software upgrading region, the purposes of Loader is to load and starts APP and upgrading APP. State1 state has been the state of APP1+Loader1 that used Loader0 software upgrading, after Loader0 operation is restarted, and Loader0 load operating APP1, APP1 uses Loader1 to replace Loader0, then APP2 upgrade parameter is set, then restarts, be i.e. State2. Loader1 upgrades APP2 again and completes whole escalation process.
The design cycle of APP1 as shown in Figure 2, first APP1 checks the uniformity in Loader0 region and Loader1 region, if inconsistent, replaces Loader0 with Loader1, and point out user " Set Top Box also will continue the new software of upgrading; please bear with, and not do any operation! "; If consistent, APP2 upgrade parameter is set, then restart, enter Loader1 and carry out the upgrading of App2. Due to the characteristic of Loader software, general Loader relatively little (Flash is erasable consuming time few), and upgrade in APP, reduce the possibility of user misoperation, can complete well the renewal operation of Loader and APP.
Here by specific embodiment, the present invention be have been described in detail, provide the description of above-described embodiment for those skilled in the art being manufactured or being suitable for the present invention, the various amendments of these embodiment are that appearance is intelligible for a person skilled in the art. The present invention is not limited to these examples, or some aspect wherein. Scope of the present invention is elaborated by additional claim.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to disclosed form herein, should not regard the eliminating to other embodiment as, and can be used for various other combinations, amendment and environment, and can, in invention contemplated scope described herein, change by technology or the knowledge of above-mentioned instruction or association area. And the change that those skilled in the art carry out and variation do not depart from the spirit and scope of the present invention, all should be in the protection domain of claims of the present invention.

Claims (4)

1. a method of upgrading Set Top Box FLASH upgrading module, it specifically comprises following steps: arrange two and riseLevel passage, first upgrading channel comprises the upgrade applications of the module of upgrading and new upgrading module, other oneIndividual upgrading channel comprises up-to-date upgrade applications; Upgrading module is set in described first upgrading channelUpgrade applications and new upgrading module, the upgrade applications of the module of upgrading in loading the first upgrading channel,And use the upgrade applications of upgrading module that current upgrading module is updated to new upgrading module; At upgrading mouldPiece adopts new upgrading module will apply according to the up-to-date upgrade applications in the second upgrading channel after upgradingProgram is upgraded.
2. the method for renewal Set Top Box FLASH upgrading module as claimed in claim 1, is characterized in that described sideMethod also comprises: first detect new upgrading module whether consistent with current upgrading module, if consistent, do not carry outThe renewal of upgrading module, otherwise, the renewal of the module of upgrading.
3. the method for renewal Set Top Box FLASH upgrading module as claimed in claim 1, is characterized in that described sideMethod also comprises: after detecting that new upgrading module is consistent with current upgrading module, directly adopt current upgradingModule is upgraded application program.
4. the method for renewal Set Top Box FLASH upgrading module as claimed in claim 1, is characterized in that described sideMethod also comprises: in the process of upgrading, and display display reminding information.
CN201210209504.5A 2012-06-25 2012-06-25 A kind of method of upgrading Set Top Box FLASH upgrading module Active CN102750170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210209504.5A CN102750170B (en) 2012-06-25 2012-06-25 A kind of method of upgrading Set Top Box FLASH upgrading module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210209504.5A CN102750170B (en) 2012-06-25 2012-06-25 A kind of method of upgrading Set Top Box FLASH upgrading module

Publications (2)

Publication Number Publication Date
CN102750170A CN102750170A (en) 2012-10-24
CN102750170B true CN102750170B (en) 2016-05-25

Family

ID=47030389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210209504.5A Active CN102750170B (en) 2012-06-25 2012-06-25 A kind of method of upgrading Set Top Box FLASH upgrading module

Country Status (1)

Country Link
CN (1) CN102750170B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313231A (en) * 2013-07-03 2013-09-18 百度在线网络技术(北京)有限公司 Method, system and server for upgrading application program in mobile terminal
CN106210877A (en) * 2016-08-17 2016-12-07 青岛海信电器股份有限公司 The method for upgrading system of intelligent television and device
CN107071570A (en) * 2017-02-13 2017-08-18 青岛海信宽带多媒体技术有限公司 A kind of set top box upgrading method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520734A (en) * 2008-12-17 2009-09-02 康佳集团股份有限公司 Method for upgrading data in flash memory, network TV and interactive set-top box thereof
CN101567962A (en) * 2009-04-24 2009-10-28 福建新大陆通信科技有限公司 Double-Loader updating method for set-top box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100521676C (en) * 2005-04-14 2009-07-29 华为技术有限公司 Method and apparatus for realizing independent staging business software in set-top box

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520734A (en) * 2008-12-17 2009-09-02 康佳集团股份有限公司 Method for upgrading data in flash memory, network TV and interactive set-top box thereof
CN101567962A (en) * 2009-04-24 2009-10-28 福建新大陆通信科技有限公司 Double-Loader updating method for set-top box

Also Published As

Publication number Publication date
CN102750170A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN100521676C (en) Method and apparatus for realizing independent staging business software in set-top box
US20160227276A1 (en) Intelligent television operation system
CN102082965B (en) Method for ensuring success in upgrading set-top box
CN103699420B (en) System recovery method and system recovery device
CN102938857B (en) A kind of method of Set Top Box online upgrading
CN102222011A (en) Software upgrading method for set-top box and set-top box
CN102253850A (en) Incremental software updating method of internet protocol television (IPTV) set top box
CN102789381A (en) Method for achieving digital televisions in accordance to digital video broadcasting (DVB) standards in Andriod system
CN103686363A (en) Set top box supporting double operating systems and operating system switching method of set top box
CN106331862A (en) Set-top box software upgrading method and set-top box
CN102750170B (en) A kind of method of upgrading Set Top Box FLASH upgrading module
CN103945264A (en) Set top box application program upgrading method
CN105744366A (en) Data configuration sharing method and system of set top box
TW201621647A (en) Operating system updating method
CN103024025A (en) Method and system of managing and sharing application information of intelligent device
CN103458097A (en) Mobile terminal startup animation and startup music updating system and method
CN103442272A (en) System upgrading method
CN105100144A (en) Application updating method and device
CN102298530A (en) Set top box software upgrading method and device
CN105554552A (en) UI dynamic layout system and method based on set-top box
CN106028152B (en) Set top box operating system upgrading method and device
CN110719528A (en) IPTV terminal hot update system and method
CN104714856A (en) Software repairing method and terminal equipment
CN102082966B (en) Method for upgrading script configuration of set top box
CN102984572A (en) Double backup method for system software upgrade of set top box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant