CN102082965B - Method for ensuring success in upgrading set-top box - Google Patents
Method for ensuring success in upgrading set-top box Download PDFInfo
- Publication number
- CN102082965B CN102082965B CN 201010510402 CN201010510402A CN102082965B CN 102082965 B CN102082965 B CN 102082965B CN 201010510402 CN201010510402 CN 201010510402 CN 201010510402 A CN201010510402 A CN 201010510402A CN 102082965 B CN102082965 B CN 102082965B
- Authority
- CN
- China
- Prior art keywords
- upgrade
- upgrading
- stb
- data
- parameter
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a method for ensuring the success in upgrading a set-top box, comprising the following steps: defining an upgrading status flag, an upgrading mode flag, an upgrading parameter check flag and upgrading parameters of the set-top box, and storing the flags and parameters in an EEPROM (electrically erasable programmable read-only memory) of the set-top box; when a main program of the set-top box detects an upgrading request transmitted by a front-end network of a broadcast television operator, recording the upgrading parameters transmitted by the corresponding front-end network into the EEPROM, and judging whether the set-top box needs to be upgraded according to the flags; starting the upgrading program and receiving upgrading data when upgrading is needed, and modifying the upgrading status flag; and operating the main program of the set-top box if upgrading is not needed. The invention can ensure normal operation of upgrading of the set-top box, and when special events such as power cut and the like are encountered, upgrading can be restored and continued automatically.
Description
[technical field]
The present invention relates to a kind of embedded technology, especially a kind of guarantee set top box upgrading successful method belongs to the field of set-top technology.
[background technology]
Along with the extensive of national digital TV popularized; As the function of the DTV STB of digital TV terminal product also from strength to strength; Because the needs of the new application that the user is a large amount of; The value-added service of CATV set-top-box constantly increases, and therefore the requirement of radio and television operator upgrading has been arranged, and the supplier as STB can release new software simultaneously.Along with the function of DTV STB is more and more abundanter, original STB ensures that with regard to upgrading through the mode of OTA (based on short message mechanism) success of upgrading is the most important requirement of ROMPaq.The upgrading of conventional digital tv STB is to receive the data that radio and television operator front network is sent; Wipe the data on the flash piece then; Write flash to the data that receive, when running into outage, perhaps in particular cases some other; Because data do not write fully, STB can't normally move.
At Chinese invention patent was 2002.07.24 in open day; Publication number is to disclose a kind of set top box upgrading method in 101800840; This method may further comprise the steps: the first step; STB at first moves the loader utility that is stored among the Flash when starting, if program running is then ended in Loader operation failure; If Loader (reprinting) program running success will be verified the current software configuration information among the Flash in the final step of loader utility operation; In second step, if software configuration information is incorrect, then program enters into the upgrading flow process; If correct, then check the upgrading configuration information that store E2PROM (EEPROM) lining, if upgrading configuration information is incorrect, the upgrading configuration information that then will be stored in the Flash software configuration information copies E2PROM to; In the 3rd step, the sky in the inspection E2PROM upgrading configuration information rises identifier, carries out empty the liter if be designated, and then program enters into the flow process otherwise whether the verification Application program is correct of upgrading; If application program is incorrect, then program enters into the upgrading flow process, otherwise executive utility.The advantage of this invention is: preserve software configuration information among Flash and the E2PROM simultaneously owing to be employed in, even the configuration information corrupted data among the Flash does not influence the aerial upgrade success yet; If the upgrading configuration information corrupted data among the E2PROM is in STB when start next time restore data from Flash automatically.But this invention is wanted in Flash and E2PROM, to preserve software configuration information simultaneously, has so just wasted the STB memory headroom.
[summary of the invention]
The technical problem that the present invention will solve is to provide a kind of guarantee set top box upgrading successful method, can ensure normally carrying out of set top box upgrading, when running into special events such as outage, can recover and continue upgrading automatically.
The present invention is achieved in that a kind of guarantee set top box upgrading successful method, it is characterized in that: comprise the steps:
The upgrade status sign of step 10, definition STB comprises: upgrade status, no upgrade status; The upgrade mode sign comprises: mandatory upgrade, manually upgrading, nothing upgrading; Upgrade parameter check mark: when STB is received upgrade parameter; After writing the STB memory headroom to upgrade parameter; And the check value that obtains through computing, upgrade parameter comprises: the tableID (tableID of EIT table in the program channel) of the PID of upgrading (PID of EIT table in the program channel), upgrading, frequency, symbol rate, the modulation system of upgrade data place code stream are stored in these signs and parameter among the eeprom of STB;
Step 20, when the STB main program detects the upgrade request that radio and television operator front network sends, record the upgrade parameter of corresponding front network transmission among the eeprom, restart STB then;
Step 30, when set-top-box opening, whether the STB boot detects earlier described check value wrong? Be then the memory headroom that is used to store upgrade data to be carried out initialization; Operation STB main program, upgrading set top box data not, otherwise judge that described upgrade status sign is a upgrade status? Be then to change step 50 over to; Otherwise judge described upgrade mode sign; If there is not upgrade mode, operation STB main program, not upgrading set top box data; If manual upgrade mode requires the user to import upgrade parameter, after waiting user's input parameter and confirming upgrading, change step 40 over to; If the mandatory upgrade pattern, the upgrade parameter of STB reading machine top box memory headroom changes step 40 over to;
Step 40, STB are according to described upgrade parameter; The frequency at locking upgrade data place receives upgrade data, and is stored in the memory headroom of said STB; When whole upgrade datas finish receiving, change the upgrade status sign into upgrade status from no upgrade status;
Step 50, the upgrade data programming that receives to flash; Do you judge earlier whether the data on the flash piece of wiping consistent with the upgrade data that writes? Be; Then continue to judge the data of next flash piece, otherwise wipe the flash piece, on this flash piece that writes upgrade data; When the whole programming flash of all upgrade datas go up, change the upgrade status sign into no upgrade status.
The present invention has following advantage: the upgrade status sign of definition STB; The upgrade mode sign, upgrade parameter check mark, upgrade parameter; And with these the sign and parameter be stored among the eeprom of STB; When the STB main program detected the upgrade request of radio and television operator front network transmission, the upgrade parameter that sends corresponding front network recorded among the eeprom, and judges according to described sign whether STB will upgrade.The present invention can ensure normally carrying out of set top box upgrading, when running into special events such as outage, can recover and continue upgrading automatically.
[description of drawings]
Fig. 1 is the inventive method schematic flow sheet.
[embodiment]
A kind of guarantee set top box upgrading successful method comprises the steps:
The upgrade status sign of step 10, definition STB comprises: upgrade status, no upgrade status; The upgrade mode sign comprises: mandatory upgrade, manually upgrading, nothing upgrading; Upgrade parameter check mark: when STB is received upgrade parameter; After writing the STB memory headroom to upgrade parameter; And the check value that obtains through computing, upgrade parameter comprises: frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream are stored in these signs and parameter among the eeprom of STB;
Step 20, when the STB main program detects the upgrade request that radio and television operator front network sends, record the upgrade parameter of corresponding front network transmission among the eeprom, restart STB then;
Step 30, when set-top-box opening, whether the STB boot detects earlier described check value wrong? Be then the memory headroom that is used to store upgrade data to be carried out initialization; Operation STB main program, upgrading set top box data not, otherwise judge that described upgrade status sign is a upgrade status? Be then to change step 50 over to; Otherwise judge described upgrade mode sign; If there is not upgrade mode, operation STB main program, not upgrading set top box data; If manual upgrade mode requires the user to import upgrade parameter, after waiting user's input parameter and confirming upgrading, change step 40 over to; If the mandatory upgrade pattern, the upgrade parameter of STB reading machine top box memory headroom changes step 40 over to;
Step 40, STB are according to described upgrade parameter (frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream); The frequency at locking upgrade data place; Upgrade data is received; And be stored in the memory headroom of said STB, when whole upgrade datas finish receiving, change the upgrade status sign into upgrade status from no upgrade status;
Step 50, the upgrade data programming that receives to flash; Do you judge earlier whether the data on the flash piece of wiping consistent with the upgrade data that writes? Be; Then continue to judge the data of next flash piece, otherwise wipe the flash piece, on this flash piece that writes upgrade data; When the whole programming flash of all upgrade datas go up, change the upgrade status sign into no upgrade status.Wherein when the programming upgrade data, when set-top-box system sudden power or appearance can not be accomplished programming work unusually, STB restarted, and judges the upgrade status sign automatically, continued to accomplish upgrade job.
Below in conjunction with three specific embodiments the present invention is further described:
Specific embodiment one:
The upgrade status sign of step 10, definition STB comprises: upgrade status, no upgrade status; The upgrade mode sign comprises: mandatory upgrade, manually upgrading, nothing upgrading; Upgrade parameter check mark: when STB is received upgrade parameter; After writing the STB memory headroom to upgrade parameter; And the check value that obtains through computing, upgrade parameter comprises: frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream are stored in these signs and parameter among the eeprom of STB;
Step 20, when the STB main program detects the upgrade request that radio and television operator front network sends, record the upgrade parameter of corresponding front network transmission among the eeprom, restart STB then;
Step 30, when set-top-box opening, whether the STB boot detects earlier described check value wrong? Be, then the memory headroom that is used to store upgrade data carried out initialization, operation STB main program, not upgrading set top box data.
Specific embodiment two:
The upgrade status sign of step 10, definition STB comprises: upgrade status, no upgrade status; The upgrade mode sign comprises: mandatory upgrade, manually upgrading, nothing upgrading; Upgrade parameter check mark: when STB is received upgrade parameter; After writing the STB memory headroom to upgrade parameter; And the check value that obtains through computing, upgrade parameter comprises: frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream are stored in these signs and parameter among the eeprom of STB;
Step 20, when the STB main program detects the upgrade request that radio and television operator front network sends, record the upgrade parameter of corresponding front network transmission among the eeprom, restart STB then;
Step 30, when set-top-box opening, whether the STB boot detects earlier described check value wrong? Do you not, judge that then described upgrade status sign is a upgrade status? Be then to change step 40 over to;
Step 40, the upgrade data programming that receives to flash; Do you judge earlier whether the data on the flash piece of wiping consistent with the upgrade data that writes? Be; Then continue to judge the data of next flash piece, otherwise wipe the flash piece, on this flash piece that writes upgrade data; When the whole programming flash of all upgrade datas go up, change the upgrade status sign into no upgrade status.Wherein when the programming upgrade data, when set-top-box system sudden power or appearance can not be accomplished programming work unusually, STB restarted, and judges the upgrade status sign automatically, continued to accomplish upgrade job.
Specific embodiment three:
The upgrade status sign of step 10, definition STB comprises: upgrade status, no upgrade status; The upgrade mode sign comprises: mandatory upgrade, manually upgrading, nothing upgrading; Upgrade parameter check mark: when STB is received upgrade parameter; After writing the STB memory headroom to upgrade parameter; And the check value that obtains through computing, upgrade parameter comprises: frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream are stored in these signs and parameter among the eeprom of STB;
Step 20, when the STB main program detects the upgrade request that radio and television operator front network sends, record the upgrade parameter of corresponding front network transmission among the eeprom, restart STB then;
Step 30, when set-top-box opening; Whether the STB boot detects described check value earlier wrong? Not; Do you judge that then described upgrade status sign is a upgrade status?, then do not judge described upgrade mode sign, if there is not upgrade mode; Operation STB main program, not upgrading set top box data; If manual upgrade mode requires the user to import upgrade parameter, after waiting user's input parameter and confirming upgrading, change step 40 over to; If the mandatory upgrade pattern, the upgrade parameter of STB reading machine top box memory headroom changes step 40 over to;
Step 40, STB are according to described upgrade parameter (frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream); The frequency at locking upgrade data place; Upgrade data is received; And be stored in the memory headroom of said STB, when whole upgrade datas finish receiving, change the upgrade status sign into upgrade status from no upgrade status;
Step 50, the upgrade data programming that receives to flash; Do you judge earlier whether the data on the flash piece of wiping consistent with the upgrade data that writes? Be; Then continue to judge the data of next flash piece, otherwise wipe the flash piece, on this flash piece that writes upgrade data; When the whole programming flash of all upgrade datas go up, change the upgrade status sign into no upgrade status.Wherein when the programming upgrade data, when set-top-box system sudden power or appearance can not be accomplished programming work unusually, STB restarted, and judges the upgrade status sign automatically, continued to accomplish upgrade job.
In a word, the present invention is through the upgrade status sign of definition STB, upgrade mode sign; The upgrade parameter check mark; Upgrade parameter judges that whether STB will upgrade, and can ensure normally carrying out of set top box upgrading; When running into special events such as outage, can recover and continue upgrading automatically.
The above is merely preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. one kind ensures the set top box upgrading successful method, it is characterized in that: comprise the steps:
The upgrade status sign of step 10, definition STB comprises: upgrade status, no upgrade status; The upgrade mode sign comprises: mandatory upgrade, manually upgrading, nothing upgrading; Upgrade parameter check mark: when STB is received upgrade parameter; After writing the STB memory headroom to upgrade parameter; And the check value that obtains through computing, upgrade parameter comprises: frequency, symbol rate, the modulation system of the PID of upgrading, the tableID of upgrading, upgrade data place code stream are stored in these signs and parameter among the eeprom of STB;
Step 20, when the STB main program detects the upgrade request that radio and television operator front network sends, record the upgrade parameter of corresponding front network transmission among the eeprom, restart STB then;
Step 30, when set-top-box opening, whether the STB boot detects earlier described check value wrong? Be then the memory headroom that is used to store upgrade data to be carried out initialization; Operation STB main program, upgrading set top box data not, otherwise judge that described upgrade status sign is a upgrade status? Be then to change step 50 over to; Otherwise judge described upgrade mode sign; If there is not upgrade mode, operation STB main program, not upgrading set top box data; If manual upgrade mode requires the user to import upgrade parameter, after waiting user's input parameter and confirming upgrading, change step 40 over to; If the mandatory upgrade pattern, the upgrade parameter of STB reading machine top box memory headroom changes step 40 over to;
Step 40, STB are according to described upgrade parameter; The frequency at locking upgrade data place receives upgrade data, and is stored in the memory headroom of said STB; When whole upgrade datas finish receiving, change the upgrade status sign into upgrade status from no upgrade status;
Step 50, the upgrade data programming that receives to flash: judge earlier whether the data on the flash piece of wiping consistent with the upgrade data that writes? Be; Then continue to judge the data of next flash piece; Otherwise wipe the flash piece; On this flash piece that writes upgrade data, when the whole programming flash of all upgrade datas go up, change the upgrade status sign into no upgrade status.
2. a kind of guarantee set top box upgrading successful method according to claim 1; Set-top-box system sudden power or appearance it is characterized in that: when can not be accomplished programming work unusually; STB restarts, and judges the upgrade status sign automatically, continues to accomplish upgrade job.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010510402 CN102082965B (en) | 2010-10-15 | 2010-10-15 | Method for ensuring success in upgrading set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010510402 CN102082965B (en) | 2010-10-15 | 2010-10-15 | Method for ensuring success in upgrading set-top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102082965A CN102082965A (en) | 2011-06-01 |
CN102082965B true CN102082965B (en) | 2012-12-19 |
Family
ID=44088690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010510402 Expired - Fee Related CN102082965B (en) | 2010-10-15 | 2010-10-15 | Method for ensuring success in upgrading set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102082965B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106028153A (en) * | 2016-06-21 | 2016-10-12 | 深圳创维数字技术有限公司 | Set top box upgrading and channel changing methods and systems |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722394B (en) * | 2012-06-08 | 2015-03-18 | 深圳路迪网络有限公司 | Start upgrading method of embedded equipment |
CN103268235A (en) * | 2013-04-23 | 2013-08-28 | 青岛海信宽带多媒体技术有限公司 | Intelligent installation method of application programs of network set-top box based on Android platform |
CN104142834B (en) * | 2013-05-08 | 2018-08-07 | 腾讯科技(深圳)有限公司 | Force update method and device |
CN103279372B (en) * | 2013-05-23 | 2017-07-28 | 青岛海信宽带多媒体技术有限公司 | Method for updating set-top box software and set top box |
CN103561321B (en) * | 2013-10-15 | 2017-01-18 | 深圳创维数字技术有限公司 | Method and device for preventing Android intelligent set top box from being abnormally upgraded |
CN105354043A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Terminal upgrading method and apparatus |
CN105786554A (en) * | 2014-12-23 | 2016-07-20 | 希姆通信息技术(上海)有限公司 | Dynamic memory utilization method and device |
CN104506931B (en) * | 2015-01-08 | 2017-11-17 | 大唐微电子技术有限公司 | A kind of method and system for supporting CAM card online upgradings |
CN105516788A (en) * | 2015-12-09 | 2016-04-20 | 珠海迈科智能科技股份有限公司 | Programming method and system for storage device of set top box |
CN107273158B (en) * | 2017-06-08 | 2021-10-26 | 广东美的暖通设备有限公司 | Program upgrading method and device, host, slave and multi-split air conditioning system |
CN107613286A (en) * | 2017-08-30 | 2018-01-19 | 深圳市芯智科技有限公司 | A kind of file monitoring method for being used to avoid retest set top box |
CN107967146A (en) * | 2017-12-19 | 2018-04-27 | 北京趣拿软件科技有限公司 | The upgrade method and device of application program |
CN108829533B (en) * | 2018-05-22 | 2022-03-29 | 中国科学技术大学苏州研究院 | Fault tolerance detection method for intelligent computer system |
CN109766140A (en) * | 2018-12-19 | 2019-05-17 | 青岛海信宽带多媒体技术有限公司 | A kind of localization method and device that set-top box starting is abnormal |
CN110806887A (en) * | 2019-10-29 | 2020-02-18 | 华工正源智能终端(孝感)有限公司 | Software security upgrading method and device |
CN112004155A (en) * | 2020-08-24 | 2020-11-27 | 深圳创维-Rgb电子有限公司 | OAD upgrading method and device, smart television and readable storage medium |
CN114281392A (en) * | 2022-03-04 | 2022-04-05 | 季华实验室 | Serial port upgrading method and system for multi-MCU slave station |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1172006B1 (en) * | 1999-04-21 | 2006-01-18 | General Instrument Corporation | Method and system for targeted or universal upgrades of programming in a population of advanced set-top boxes in a cable television system |
CN101207729A (en) * | 2007-12-17 | 2008-06-25 | 深圳市同洲电子股份有限公司 | Digital television receiving terminal and software upgrading system thereof |
CN101207699A (en) * | 2006-12-22 | 2008-06-25 | 深圳市同洲电子股份有限公司 | Method for upgrading set-top box |
CN101719072A (en) * | 2009-11-23 | 2010-06-02 | 青岛海信宽带多媒体技术有限公司 | Embedded type terminal equipment software upgrading method and upgrading device |
-
2010
- 2010-10-15 CN CN 201010510402 patent/CN102082965B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1172006B1 (en) * | 1999-04-21 | 2006-01-18 | General Instrument Corporation | Method and system for targeted or universal upgrades of programming in a population of advanced set-top boxes in a cable television system |
CN101207699A (en) * | 2006-12-22 | 2008-06-25 | 深圳市同洲电子股份有限公司 | Method for upgrading set-top box |
CN101207729A (en) * | 2007-12-17 | 2008-06-25 | 深圳市同洲电子股份有限公司 | Digital television receiving terminal and software upgrading system thereof |
CN101719072A (en) * | 2009-11-23 | 2010-06-02 | 青岛海信宽带多媒体技术有限公司 | Embedded type terminal equipment software upgrading method and upgrading device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106028153A (en) * | 2016-06-21 | 2016-10-12 | 深圳创维数字技术有限公司 | Set top box upgrading and channel changing methods and systems |
Also Published As
Publication number | Publication date |
---|---|
CN102082965A (en) | 2011-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102082965B (en) | Method for ensuring success in upgrading set-top box | |
CN102222011A (en) | Software upgrading method for set-top box and set-top box | |
CN101800842B (en) | Method for upgrading software of set-top box | |
CN102081532B (en) | Method for dynamically upgrading functions of set top box | |
CN102890638B (en) | Upgrade method of STB (set top box) | |
CN101472051B (en) | Method for updating set-top box software | |
CN101714093A (en) | Three-section type double-backup Loader upgrading method of set-top box | |
CN102170539A (en) | Television and starting LOGO upgrading method thereof | |
CN102722394A (en) | Start upgrading method of embedded equipment | |
CN103945264A (en) | Set top box application program upgrading method | |
CN101867690A (en) | Method for setting personalized information of television | |
CN102333240A (en) | Set-top box and online upgrade method thereof | |
CN103442272A (en) | System upgrading method | |
CN102141926A (en) | Application program management method, device and digital television set top box | |
JP2000137607A (en) | Digital television receiver | |
CN105744366A (en) | Data configuration sharing method and system of set top box | |
CN101212554B (en) | Method for upgrading set-top box system | |
CN101102547B (en) | Method for periodical file update and download | |
CN101800840A (en) | Set top box upgrading method | |
CN102243591B (en) | Method for improving Loader-upgrading stability of set top box by adopting two zone bits | |
CN100515028C (en) | Unified updating management system for set-top box downloading document | |
CN101090526A (en) | File update time message sending method and method for file up date loading unperiode | |
CN101510948A (en) | Method for updating set-top box software | |
CN103079109A (en) | Method for counting upgrading conditions of set top box | |
JP2003067284A (en) | Digital broadcast receiver |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121219 Termination date: 20181015 |