CN103442272A - System upgrading method - Google Patents
System upgrading method Download PDFInfo
- Publication number
- CN103442272A CN103442272A CN2013104114651A CN201310411465A CN103442272A CN 103442272 A CN103442272 A CN 103442272A CN 2013104114651 A CN2013104114651 A CN 2013104114651A CN 201310411465 A CN201310411465 A CN 201310411465A CN 103442272 A CN103442272 A CN 103442272A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- file
- module
- upgrading
- upgraded
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention belongs to the technical field of digital television set-top boxes; and more particularly to a method for system upgrade with respect to a set-top box. The system upgrading method comprises the following steps: 1) the system comprises a main program module and a functional module; setting an upgrade file for system upgrade on an upgrade server, wherein the upgrade file comprises a function module replacement file and the number of the upgrade file is set; 2) and the system checks the upgrade file, downloads the upgrade file from the upgrade server and performs the self upgrade process at the same time. The invention has the following beneficial effects: when the system is upgraded, only the part of the functional modules needing to be upgraded is upgraded, and the number of downloaded files is small; and an upgrading program is arranged to guide the system to be upgraded, so that system failure, file loss and use utility of part of functional modules are avoided.
Description
Technical field
The invention belongs to technical field of digital television set-top; Specifically, relate to the method about the system upgrade of Set Top Box.
Background technology
Along with the development in epoch, it is very fast that Digital Television is promoted, and it is very fast that its technology is also reformed, and in order to allow Set Top Box meet the continuous increase of function, therefore need to constantly upgrade the system of Set Top Box, and the program of Set Top Box needs constantly upgrading.Being provided with the circuit loader for upgrading on current digital TV set-top box, is to realize by following steps in its upgrading.
At digital TV front-end, by application software, software program code to be updated is packaged into to the TS stream that meets DVB and Moving Picture Experts Group-2; Flow playout software and DVB Master by TS and play card, export above-mentioned TS stream to multiplexer multiplexing with other TS stream, then, after the QAM adjustment, enter cable television network.
Exist two class softwares in Set Top Box in terminal: Set Top Box main program and loader utility, in operating main program, by resolving business information (SI), show, receive Set Top Box main program upgrade information, after carrying out alternately with the user, store in the flash of some state variables, and the upgrade channel parameter (frequency, coincidence rate, demodulation parameter etc.) of code stream of front end is also placed in flash, then restart Set Top Box.
Now at first upgrade-system loader program is moved, check that the channel parameter of downloading flag bit and using storage before restores Set Top Box main program executable code through steps such as demodulation, demultiplexings, write in flash and cover original Set Top Box main program, realizing replacement and the upgrading of software.In loader, software to be updated can be the digital television application program software, can be also the driver software of Set Top Box, can also be exclusive data, as the start-up picture lamp.
At present, the system upgrade of Set Top Box, be to carry out under the control of upgrade-system, in escalation process, generally can be unloaded original system, then reinstall system, makes like this system operation comparatively stable.But because needs carry out erasablely completely to system, make download larger, system upgrade is slower.
Summary of the invention
The object of the invention is to solve the deficiencies in the prior art, a kind of method of system upgrade is provided, the method can reduce the download of system upgrade and the updating speed of accelerating system.
For achieving the above object, the technical solution used in the present invention is:
A kind of method of system upgrade, it comprises the following steps:
1), system comprises main program module and functional module; The upgrade file of system upgrade is set on upgrade server, and upgrade file comprises functional module replacing file, and the numbering of upgrade file is set;
2), the systems inspection upgrade file, and download upgrade file from upgrade server, carry out the escalation process of self simultaneously.
Further, described method also comprises: functional module is provided with the status file of its state of sign and the version file of upgraded version, and when functional module, when upgrading, this status file is identified as UP; When functional module completes when upgrading or do not upgraded, this status file is identified as work.
Further, described method also comprises: be provided with ROMPaq, carry out the upgrading of guidance system by ROMPaq.
Further, described method also comprises: main program module also is provided with status file and version file.
Further, described method also comprises: be provided with the upgrading bootstrap module of ROMPaq in main program module, ROMPaq is provided with version file and status file.
The beneficial effect that the present invention obtains is: during system upgrade, only for that part of functions module of needs upgrading, upgrade and get final product, download file is few; And be provided with ROMPaq and carry out the guidance system upgrading, avoid thrashing, File lose, the partial function module is used effectiveness.
The accompanying drawing explanation
Fig. 1 is workflow schematic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing 1, and embodiment is described further the present invention.
Embodiment 1: referring to Fig. 1.
A kind of method of system upgrade, it comprises the following steps:
1), system comprises main program module and functional module; The upgrade file of system upgrade is set on upgrade server, and upgrade file comprises functional module replacing file, and the numbering of upgrade file is set;
2), the systems inspection upgrade file, and download upgrade file from upgrade server, carry out the escalation process of self simultaneously.
This method is main program module and functional module by the system divides of Set Top Box, when system is upgraded, need to upgrade and get final product functional module for general; When system upgrade, upgrade server provides now each functional module of highest version, system is according to the numbering of each upgrade file, determine and need the upgrade file of changing, in the time of only need to be upgraded to the search module of the TV station of Set Top Box as the upgrading of certain primary system, the upgrade file that now Set Top Box only need to be downloaded search module gets final product, and search module is changed, upgrading that just can completion system.If during upgrading, system is not upgrading for a long time, and system will be downloaded all upgrade files that upgrade that need, then be changed.During due to system upgrade, only functional module is upgraded, so during system upgrade, do not affected the operation of main program module, i.e. the broadcasting of TV programme; Can when watching TV programme, carry out the upgrading of functional module.If changing certain functional module when watching TV programme, and now will be switched to this functional module the time, whether main program module can detect this functional module during upgrading, if during upgrading can point out, during upgrading, this handover operation is invalid simultaneously.
Further, described method also comprises: functional module is provided with the status file of its state of sign and the version file of upgraded version, and when functional module, when upgrading, this status file is identified as UP; When functional module completes when upgrading or do not upgraded, this status file is identified as work.
After functional module is identified in the system upgrade process, thereby main program module judges that by reading identification document whether handover operation is effective.After version file is set, the latest edition provided on version by the audit function module and current upgrade server is contrasted, if the version of functional module is lower than latest edition download and change upgrading, after downloading the replacing upgrading, the start context of version file is revised as to the latest edition label; Otherwise do not download replacing.If functional module is interrupted in escalation process, thereby cause, upgrade unsuccessfully, when upper Set Top Box once starts, system first can detect the status file of each functional module, when UP being detected, carries out this functional module is changed to upgrading.If file corruption, can not be upgraded, status file is revised as to work, simultaneously version file remains unchanged; In system, this functional module that detects again needs upgrading, and again upgrades, and downloads this updating functional modules file, revises status file.
Further, described method also comprises: be provided with ROMPaq, carry out the upgrading of guidance system by ROMPaq.
Set Top Box is when starting, and ROMPaq starts the version file of measuring ability module and the functional module version on upgrade server, thereby judges whether to need upgrading.
Further, described method also comprises: main program module also is provided with status file and version file.
Along with the progress of technology, system needs deeper raising, as the change from window 2000 to window xp systems, need to be changed from main program module.Now ROMPaq need to be detected status file and the version file of main program module, and the version information that on the contrast upgrade server, the system main program provides; After the version backwardness that main program module detected needs upgrading, ROMPaq starts guiding and downloads the main program module upgrade file, after having downloaded, main program module is upgraded, revise the status file of main program module simultaneously, by the work sign, be revised as the UP sign.If upgrade successfully, again the UP of status file sign is revised back to the work sign, the start context of version file is modified simultaneously.If in escalation process, have unexpectedly incident and cause upgrading unsuccessful (as outage), restart Set Top Box.While restarting Set Top Box, if main program module can not move, skip, directly move ROMPaq, ROMPaq detects status file and the version file of main program module, if status file is the UP sign, continues the guiding upgrading, if now file goes out active, cause upgrading unsuccessfully, end.Now status file is revised as work, and version file is constant; Status file and the version file of ROMPaq detection main program module again, and main program module is carried out to upgrading again, until upgrade successfully.
Further, described method also comprises: be provided with the upgrading bootstrap module of ROMPaq in main program module, ROMPaq is provided with version file and status file.
ROMPaq, when main program module and functional module are upgraded, records the interface relationship between main program module and each functional module in ROMPaq, and the quantity of functional module.When system is incomplete in early stage, functional module is less, and the functional module negligible amounts of therefore putting down in writing in the ROMPaq in early stage, when the guiding function module upgrade, only guide those functional modules of its record to be upgraded.Once functional module increases, ROMPaq can't be carried out guiding again, therefore need to guide ROMPaq.When set-top-box opening, during the main program module operation, thereby the upgrading bootstrap module starts to read the version file of ROMPaq obtains its version information, the version information of the ROMPaq provided on the version information of ROMPaq and upgrade server will be provided the upgrading bootstrap module, thereby judge whether upgrading, if need upgrading, from upgrade server, download the upgrade file of ROMPaq, the status file sign is revised as to UP by work simultaneously.If fortuitous event now occurs, as shutdown by force; After upper once start, the upgrading bootstrap module of main program module can detect version file and the status file of ROMPaq automatically, and when the Discovery Status file is UP, the bootstrap module of upgrading continues its upgrading of guiding, unsuccessful if upgrade, while finding that file is damaged.The sign of status file is modified, by UP, be revised as work; And keep version file constant.Now, its version file of upgrading bootstrap module detection again, if the version signal falls behind, the file carried out is again downloaded and upgrading.Until ROMPaq upgrades successfully.
Upgrade server provides the upgrade file of ROMPaq, and the upgrade file of functional module, main program module.
Be only below the application's preferred embodiment, equivalent technical solutions on this basis still falls into the application protection range.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2013104114651A CN103442272A (en) | 2013-09-11 | 2013-09-11 | System upgrading method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2013104114651A CN103442272A (en) | 2013-09-11 | 2013-09-11 | System upgrading method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103442272A true CN103442272A (en) | 2013-12-11 |
Family
ID=49695930
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2013104114651A Pending CN103442272A (en) | 2013-09-11 | 2013-09-11 | System upgrading method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103442272A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104038819A (en) * | 2014-05-30 | 2014-09-10 | 四川长虹电器股份有限公司 | Software upgrading system and method of digital set-top box |
| CN105224371A (en) * | 2015-10-21 | 2016-01-06 | 浪潮(北京)电子信息产业有限公司 | A kind of update method of storage management software and system |
| CN106033364A (en) * | 2015-03-19 | 2016-10-19 | Tcl集团股份有限公司 | Method and system for upgrading web application program |
| CN106886437A (en) * | 2017-01-24 | 2017-06-23 | 北京奇虎科技有限公司 | Application program update method and apparatus |
| CN106959871A (en) * | 2017-02-22 | 2017-07-18 | 索微生物技术(苏州)有限公司 | A kind of automated blood culture system system software upgrading method |
| CN109991922A (en) * | 2019-05-07 | 2019-07-09 | 西门子(中国)有限公司 | Numerical control production system, numerical control production method and monitoring unit |
| CN112612498A (en) * | 2020-12-30 | 2021-04-06 | 深圳市九洲电器有限公司 | Embedded equipment upgrading method and embedded equipment |
Citations (4)
| 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 |
| CN102081532A (en) * | 2010-10-15 | 2011-06-01 | 福建新大陆通信科技股份有限公司 | Method for dynamically upgrading functions of set top box |
| CN102938857A (en) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | Method for on-line upgrading of STB (Set Top Box) |
| US20130160064A1 (en) * | 2011-12-15 | 2013-06-20 | Echostar Global B.V. | Distributed System Architecture for Control of a Set Top Box |
-
2013
- 2013-09-11 CN CN2013104114651A patent/CN103442272A/en active Pending
Patent Citations (4)
| 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 |
| CN102081532A (en) * | 2010-10-15 | 2011-06-01 | 福建新大陆通信科技股份有限公司 | Method for dynamically upgrading functions of set top box |
| US20130160064A1 (en) * | 2011-12-15 | 2013-06-20 | Echostar Global B.V. | Distributed System Architecture for Control of a Set Top Box |
| CN102938857A (en) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | Method for on-line upgrading of STB (Set Top Box) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104038819A (en) * | 2014-05-30 | 2014-09-10 | 四川长虹电器股份有限公司 | Software upgrading system and method of digital set-top box |
| CN106033364A (en) * | 2015-03-19 | 2016-10-19 | Tcl集团股份有限公司 | Method and system for upgrading web application program |
| CN106033364B (en) * | 2015-03-19 | 2021-07-16 | Tcl科技集团股份有限公司 | A method and system for upgrading a web application |
| CN105224371A (en) * | 2015-10-21 | 2016-01-06 | 浪潮(北京)电子信息产业有限公司 | A kind of update method of storage management software and system |
| CN105224371B (en) * | 2015-10-21 | 2018-10-12 | 浪潮(北京)电子信息产业有限公司 | A kind of update method and system of storage management software |
| CN106886437A (en) * | 2017-01-24 | 2017-06-23 | 北京奇虎科技有限公司 | Application program update method and apparatus |
| CN106959871A (en) * | 2017-02-22 | 2017-07-18 | 索微生物技术(苏州)有限公司 | A kind of automated blood culture system system software upgrading method |
| CN109991922A (en) * | 2019-05-07 | 2019-07-09 | 西门子(中国)有限公司 | Numerical control production system, numerical control production method and monitoring unit |
| CN112612498A (en) * | 2020-12-30 | 2021-04-06 | 深圳市九洲电器有限公司 | Embedded equipment upgrading method and embedded equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103442272A (en) | System upgrading method | |
| US8904374B2 (en) | Firmware update data generating apparatus and information device | |
| CN102082965B (en) | Method for ensuring success in upgrading set-top box | |
| CN101984410B (en) | Method and device for generating and unloading software installation package | |
| US9411573B2 (en) | Testing framework for applications | |
| US20120102477A1 (en) | Firmware update method and apparatus for a mobile device | |
| CN102591745B (en) | Method and device for system recovery based on android system and intelligent equipment | |
| CN103518191A (en) | Upgrade method, intelligent terminal and upgrade system | |
| CN101420431A (en) | FOTA server, terminal and software version processing method and system therefor | |
| CN102346673A (en) | Method and device for upgrading mobile phone system | |
| CN106331862A (en) | Set-top box software upgrading method and set-top box | |
| TW201621647A (en) | Operating system updating method | |
| WO2016082450A1 (en) | Method for upgrading user terminal, and user terminal | |
| KR20100054817A (en) | Method and system for repairing damaged hard disk file systems | |
| CN102333240A (en) | Set-top box and online upgrade method thereof | |
| CN103365682A (en) | Information handling device and information handling method | |
| CN102890638A (en) | Upgrade method of STB (set top box) | |
| CN201585034U (en) | System update device of plug-and-play digital set top box | |
| CN101154163A (en) | Method and apparatus for upgrading software of a digital broadcast receiver | |
| CN101212554B (en) | Method for upgrading set-top box system | |
| CN103984585A (en) | Method for upgrading Linux kernel in running process of kernel module capable of being plugged in thermal mode | |
| JP2005531846A (en) | Software download to receiver | |
| CN106028152B (en) | Set top box operating system upgrading method and device | |
| CN103970556A (en) | Updating method and system for power amplification software in radio remote equipment | |
| CN102006510A (en) | Set-top box as well as method and device for set-top box software upgrading |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131211 |