CN102938857A - Method for on-line upgrading of STB (Set Top Box) - Google Patents

Method for on-line upgrading of STB (Set Top Box) Download PDF

Info

Publication number
CN102938857A
CN102938857A CN2012104896300A CN201210489630A CN102938857A CN 102938857 A CN102938857 A CN 102938857A CN 2012104896300 A CN2012104896300 A CN 2012104896300A CN 201210489630 A CN201210489630 A CN 201210489630A CN 102938857 A CN102938857 A CN 102938857A
Authority
CN
China
Prior art keywords
upgrading
top box
kernel
stb
aku
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.)
Granted
Application number
CN2012104896300A
Other languages
Chinese (zh)
Other versions
CN102938857B (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.)
Xinle Visual Intelligent Electronic Technology Tianjin Co ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201210489630.0A priority Critical patent/CN102938857B/en
Publication of CN102938857A publication Critical patent/CN102938857A/en
Application granted granted Critical
Publication of CN102938857B publication Critical patent/CN102938857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for on-line upgrading of an STB (Set Top Box). The method comprises the steps of: setting an upgrading flag bit in a configuration partition, accessing a kernel fix when the upgrading flag bit is one, and executing an upgrading task. After upgrading is finished, the upgrading flag bit is set as zero. During the process of kernel fix, if upgrading cannot be finished as normal, a reason for an upgrading error is prompted; and when the STB is started again, the upgrading operation is executed repeatedly. The method mainly solves the problem about reliability of on-line upgrading of the STB, that is, the STB cannot be started in case of power failure during the kernel upgrading process of the STB or during other program upgrading processes except the boot procedure upgrading process; and fewer resources of a nand-flash, namely a program storing space of the STB, are occupied.

Description

A kind of method of set-top box online upgrading
Technical field
The present invention relates to network communications technology field, more specifically, relate to a kind of method of set-top box online upgrading.
Background technology
Along with the progress of science and technology, the especially progress of the communication technology, TV tech is in conjunction with the communication technology, from before the simulated television technology to the digital television techniques transition.Along with popularizing of Digital Television, the set-top box that is used for propagation and converting digital programme signal is also come into huge numbers of families successively, has become the household appliances of family's indispensability.
The full name of set-top box is called digital TV set-top box, and english abbreviation is STB.It is a kind of conversion equipment that digital television signal is converted to analog signal, it is to the reduction of decoding through the image of digitalization compressed and voice signal, produce video and the voice signal of simulation, provide high-quality TV programme by television indicator and stereo set to spectators.Present digital TV set-top box has become a kind of embedded computing equipment, has perfect real time operating system, powerful CPU computing capability is provided, be used for coordinating the hardware facility between the controller top box, and provide easy-operating graphic user interface, such as the electronic program guides of enhanced-quality television, provide program introduction and the background information that both pictures and texts are excellent to the user.Digital TV set-top box can be connected with home computer, sound equipment, general television set, telephone set etc., realizes such as many services such as internet browsing, video request program, household electric business, telephone communications.
The IP set-top box is a kind of professional computing equipment, and it can serve as the interface between television set and the broadband network.Located TV signal is decoded and presented outside its content, the IP set-top box can also provide the function that comprises video request program, electronic program guides, Digital Right Management and various interactive services and multimedia service.In the use procedure of IP set-top box, how the client may satisfy client's demand to the product function new demand of deducting a percentage under the prerequisite of not replacing product, and this just needs corresponding online upgrading program realize this function.
The upgrading of set-top box is a basic function of set-top box, but the upgrading of set-top box is simple unlike the software upgrading of PC, need the content of upgrading may comprise kernel, start logo, application program and file system etc., and set-top box generally is placed in the client family, in case go wrong, for example operating system can't start, and maintenance cost will be very high.
Present set top box upgrading method, generally be in DVB, the file conversion of upgrading to be become code stream, it is periodically sent in the cable of subscriber computer top box, after detecting the information that needs upgrading, user's set-top box upgrades, but the method that should upgrade is not suitable for and uses the Ethernet connected mode to realize upgrading IP set-top box.
And current set top box upgrading method generally there are the following problems: 1, cut off the power supply in the Kernel-Process in upgrading, or in the upgrading arbitrary process except the outage of upgrading boot program, the problem that can cause set-top box to start.If 2 have backup kernel or the crucial upgrading of other backups content, in case outage can be used stand-by program, if but need the content of upgrading many, can cause wasting space, and save routine space nand-flash is smaller in set top box embedded equipment.
Summary of the invention
The invention provides a kind of method of set-top box online upgrading, it is characterized in that the method for described set-top box online upgrading comprises the steps: 1) when carrying out online upgrading, the upgrading marker bit is set in configure partition, and described upgrading marker bit is made as 1, and described set-top box is restarted in prompting; 2) after described set-top box is restarted, check the upgrading marker bit in the described configure partition, when described upgrading marker bit is 1, enter the kernel reparation, in the kernel reparation, carry out upgrade job; 3) when described upgrading marker bit is 0, then carry out normal flow; 4) in the process that described kernel is repaired, if normal upgrading is finished, the upgrading flag bit that described configure partition then is set is 0; 5) in the process that described kernel is repaired, finish if can't normally upgrade, then point out the reason of staging error; When restarting described set-top box next time, repeated execution of steps 2) carries out updating operation.
Preferably, the upgrading flag bit that described configure partition is set described in the step 4) be 0 when being used for starting described set-top box next time according to the step 3) normal boot-strap.
Preferably, the method for described set-top box online upgrading, also comprises the steps: before the step 5) in step 1)
After a, the described set-top box of starting up, operation backstage ROMPaq, whether described backstage ROMPaq can periodically exist new AKU from the upgrade server inquiry;
If there is described new AKU in b, described backstage ROMPaq will download to ROMPaq with described AKU and deposit subregion; If there is not AKU, then carry out normal flow;
C, when described AKU download finish after, it is carried out verification, if verification succeeds can be upgraded by prompting user.If the verification failure then continues to carry out normal flow.
Compared with prior art, the present invention mainly solves the integrity problem of set-top box online upgrading, namely in the set top box upgrading Kernel-Process, cut off the power supply, or in the upgrading arbitrary process, except upgrading boot program, cut off the power supply, the problem that can cause set-top box to start, and it is less to take the resource of save routine space nand-flash of set-top box.
Description of drawings
In order to make the present invention be convenient to understand, specific embodiments of the invention are described by reference to the accompanying drawings now.
Fig. 1 shows the schematic flow sheet of upgrading and beginning to upgrade of judging whether of one embodiment of the present invention.
Fig. 2 shows the concrete upgrading schematic flow sheet of one embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing with preferred embodiment the present invention is described in further detail.The corresponding relation between the instantiation can following illustration among constitutive requirements and the embodiment in the claim.The intention of the description here is to confirm to have described in an embodiment the instantiation that is used for supporting the theme of stating in the claims, owing to described example in an embodiment, does not mean that this instantiation does not represent constitutive requirements.On the contrary, even comprised the element characteristic of instantiation as corresponding constitutive requirements at this, do not mean that this instantiation does not represent any other constitutive requirements yet.
In addition, the description does not here mean that corresponding to all themes of the instantiation of stating among the embodiment and has all quoted in the claims.In other words, this entity is not denied in the description here, i.e. the instantiation that comprises of corresponding embodiment, but be not included in its any one claim, that is and, correction that can be afterwards is by division and application or the entity that may invent that increases.
Should be noted in the discussion above that " system " means the processing that is made of two or more equipment at this.
Apparently, user terminal can be made of personal computer.In addition, described user terminal can also be by such as cell phone, any other PDA(personal digital assistant) instrument, AV(audio frequency and video) device, such as the CE(consumer-elcetronics devices of home electric (household electricity gasification) equipment) etc. formation.
" network " means the mechanism that has connected at least two equipment, and therein, an information can send to another equipment from an equipment.The equipment of setting up communication via network can be separated from one another, also can be the internal module that consists of a machine.
" communication " can represent radio communication and wire communication.Yet, can also be communicating by letter of hybrid wireless and wire communication, more specifically, take radio communication at certain section and take the communication of wire communication at another section.Equally, it also can be such communication: the communication from an equipment to another equipment is wired, and rightabout communication is wireless.
As depicted in figs. 1 and 2, a preferred embodiment of the method for described set-top box online upgrading comprises the steps: that Fig. 1 shows the schematic flow sheet of upgrading and beginning to upgrade of judging whether of one embodiment of the present invention, as shown in Figure 1,
1, after the described set-top box of starting up, operation backstage ROMPaq, whether described backstage ROMPaq can periodically exist new AKU from the upgrade server inquiry.
If 2 exist described new AKU, described backstage ROMPaq will download to ROMPaq with described AKU and deposit subregion; If there is not AKU, then carry out normal flow.
3, after described AKU download is finished, it is carried out verification, if verification succeeds can be upgraded by prompting user.If the verification failure then continues to carry out normal flow.
If 4 users confirm to carry out online upgrading, then begin upgrading, putting a upgrading marker bit in the place of configure partition is 1, and described set-top box is restarted in prompting.
Fig. 2 shows the concrete upgrading schematic flow sheet of one embodiment of the present invention.As shown in Figure 2,
5, after described set-top box is restarted, at first check the upgrading marker bit in the described configure partition, when the upgrading marker bit is 1, enter the kernel reparation, in the kernel reparation, carry out upgrade job.
If 6 upgrading marker bits are 0, enter kernel, carry out normal flow.
7, in kernel is repaired escalation process, if normal upgrading is finished, the upgrading flag bit that described configure partition is set is 0, when being convenient to start described set-top box next time according to step 6 normal boot-strap.
If 8 in the situation that kernel is repaired, powering-off state occurs, when then restarted described set-top box next time, repeated execution of steps 5 entered the kernel repair procedure again, carries out updating operation.
Upgrading mode provided by the invention, owing to have the kernel repair procedure, and only in the kernel reparation, upgrade, even guaranteed under the fortuitous events such as outage, proceed to half in the programming process, also can in the kernel reparation, continue to re-start upgrading, can not cause startup not problem.Simultaneously, upgrading scheme takes up room smaller.
Foregoing detailed description has been illustrated the various embodiment of system and/or process by embodiment and/or schematic diagram.With regard to these schematic diagrames and/or comprise with regard to one or more functions and/or the operation, it will be understood by those skilled in the art that each function among these schematic diagrames or the embodiment and/or operation can by various hardware, software, firmware or in fact its combination in any come individually and/or jointly realize.
Should be appreciated that method described herein can combined with hardware or software, or realize in conjunction with both combination in due course.Therefore, method of the present invention, can adopt the program code that is included in the tangible mediums such as floppy disk, CD-ROM, hard disk drive or any other machinable medium (namely, instruction) form, wherein, when program code in the situation that programmable calculator is carried out, computing equipment generally includes processor, readable storage medium (comprising volatile memory and/or memory element), at least one input equipment and at least one output equipment of this processor.One or more programs can be for example, and by using API, the process of describing in conjunction with the present invention is realized or utilized to reusable control etc.Such program preferably realizes with high level procedural or Object-Oriented Programming Language, to communicate by letter with computer system.Yet if necessary, this program can realize with assembler language or machine language.In any case, language can be compiler language or interpretative code, and realizes combining with hardware.
Need to prove that the category of the scheme of the method for a kind of set-top box online upgrading of the present invention includes but not limited to the combination in any between the each part mentioned above.
Although illustrate and described the present invention with reference to its preferred embodiment particularly, those skilled in the art will appreciate that and to make the various changes on form and the details and do not break away from the scope of the present invention described in the appended claims.Abovely describe in detail in conjunction with specific embodiments of the invention, but be not to be limitation of the present invention.Any simple modification that every foundation technical spirit of the present invention is done above embodiment all still belongs to the scope of technical solution of the present invention.

Claims (3)

1. the method for a set-top box online upgrading is characterized in that, the method for described set-top box online upgrading comprises the steps:
When 1) carrying out online upgrading, the upgrading marker bit is set in configure partition, and described upgrading marker bit is made as 1, and described set-top box is restarted in prompting;
2) after described set-top box is restarted, check the upgrading marker bit in the described configure partition, when described upgrading marker bit is 1, enter the kernel reparation, in the kernel reparation, carry out upgrade job;
3) when described upgrading marker bit is 0, then carry out normal flow;
4) in the process that described kernel is repaired, if normal upgrading is finished, the upgrading flag bit that described configure partition then is set is 0;
5) in the process that described kernel is repaired, finish if can't normally upgrade, then point out the reason of staging error; When restarting described set-top box next time, repeated execution of steps 2) carries out updating operation.
2. the method for a set-top box online upgrading as claimed in claim 1 is characterized in that, the upgrading flag bit that described configure partition is set described in the step 4) be 0 when being used for starting described set-top box next time according to the step 3) normal boot-strap.
3. the method for a set-top box online upgrading as claimed in claim 1 is characterized in that, the method for described set-top box online upgrading, also comprises the steps: before the step 5) in step 1)
After a, the described set-top box of starting up, operation backstage ROMPaq, whether described backstage ROMPaq can periodically exist new AKU from the upgrade server inquiry;
If there is described new AKU in b, described backstage ROMPaq will download to ROMPaq with described AKU and deposit subregion; If there is not AKU, then carry out normal flow;
C, when described AKU download finish after, it is carried out verification, if verification succeeds can upgrade by prompting user, if the verification failure then continues to carry out normal flow.
CN201210489630.0A 2012-11-27 2012-11-27 A kind of method of Set Top Box online upgrading Active CN102938857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210489630.0A CN102938857B (en) 2012-11-27 2012-11-27 A kind of method of Set Top Box online upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210489630.0A CN102938857B (en) 2012-11-27 2012-11-27 A kind of method of Set Top Box online upgrading

Publications (2)

Publication Number Publication Date
CN102938857A true CN102938857A (en) 2013-02-20
CN102938857B CN102938857B (en) 2016-02-10

Family

ID=47697722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210489630.0A Active CN102938857B (en) 2012-11-27 2012-11-27 A kind of method of Set Top Box online upgrading

Country Status (1)

Country Link
CN (1) CN102938857B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197597A (en) * 2013-04-09 2013-07-10 上海维宏电子科技股份有限公司 Method for upgrade control of motion control system separated from human-computer interaction interface
CN103268235A (en) * 2013-04-23 2013-08-28 青岛海信宽带多媒体技术有限公司 Intelligent installation method of application programs of network set-top box based on Android platform
CN103442272A (en) * 2013-09-11 2013-12-11 东莞市远峰科技有限公司 System upgrading method
CN103634592A (en) * 2013-12-09 2014-03-12 乐视致新电子科技(天津)有限公司 Automatic test method and system for intelligent televisions
CN103716696A (en) * 2013-12-16 2014-04-09 乐视致新电子科技(天津)有限公司 System software upgrading method and smart television
WO2015176550A1 (en) * 2014-05-19 2015-11-26 中兴通讯股份有限公司 Method and apparatus for repairing stb configuration breakage
CN105426940A (en) * 2015-12-17 2016-03-23 福建新大陆通信科技股份有限公司 Automatic factory production method and system for set-top boxes
CN106201578A (en) * 2016-06-25 2016-12-07 国云科技股份有限公司 A kind of software system more new frame
CN106934868A (en) * 2015-12-31 2017-07-07 航天信息股份有限公司 ETC mobile units and upgrade method, the equipment and control method of control ETC mobile unit upgradings
CN107015833A (en) * 2017-04-14 2017-08-04 湖南威胜信息技术有限公司 The self-recovery method of embedded device application program
CN104142834B (en) * 2013-05-08 2018-08-07 腾讯科技(深圳)有限公司 Force update method and device
CN112004155A (en) * 2020-08-24 2020-11-27 深圳创维-Rgb电子有限公司 OAD upgrading method and device, smart television and readable storage medium
CN112948182A (en) * 2021-03-30 2021-06-11 广东九联科技股份有限公司 Set top box emergency backup recovery upgrading method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141553A (en) * 2007-10-18 2008-03-12 株洲德通实业有限公司 digital set up boxes software online updating method
CN101882087A (en) * 2010-06-30 2010-11-10 中兴通讯股份有限公司 Multimedia terminal equipment and maintaining method thereof
CN102243591A (en) * 2011-06-30 2011-11-16 南京熊猫信息产业有限公司 Method for improving Loader-upgrading stability of set top box by adopting two zone bits
CN102253851A (en) * 2011-07-26 2011-11-23 中兴通讯股份有限公司 Set-top box and upgrading method thereof
CN102567043A (en) * 2011-11-18 2012-07-11 福建二菱电子有限公司 Set-top box online updating method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141553A (en) * 2007-10-18 2008-03-12 株洲德通实业有限公司 digital set up boxes software online updating method
CN101882087A (en) * 2010-06-30 2010-11-10 中兴通讯股份有限公司 Multimedia terminal equipment and maintaining method thereof
CN102243591A (en) * 2011-06-30 2011-11-16 南京熊猫信息产业有限公司 Method for improving Loader-upgrading stability of set top box by adopting two zone bits
CN102253851A (en) * 2011-07-26 2011-11-23 中兴通讯股份有限公司 Set-top box and upgrading method thereof
CN102567043A (en) * 2011-11-18 2012-07-11 福建二菱电子有限公司 Set-top box online updating method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197597B (en) * 2013-04-09 2015-11-04 上海维宏电子科技股份有限公司 The method that the upgrading of the kinetic control system be separated with human-computer interaction interface controls
CN103197597A (en) * 2013-04-09 2013-07-10 上海维宏电子科技股份有限公司 Method for upgrade control of motion control system separated from human-computer interaction interface
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
CN103442272A (en) * 2013-09-11 2013-12-11 东莞市远峰科技有限公司 System upgrading method
CN103634592A (en) * 2013-12-09 2014-03-12 乐视致新电子科技(天津)有限公司 Automatic test method and system for intelligent televisions
CN103716696A (en) * 2013-12-16 2014-04-09 乐视致新电子科技(天津)有限公司 System software upgrading method and smart television
WO2015176550A1 (en) * 2014-05-19 2015-11-26 中兴通讯股份有限公司 Method and apparatus for repairing stb configuration breakage
CN105426940A (en) * 2015-12-17 2016-03-23 福建新大陆通信科技股份有限公司 Automatic factory production method and system for set-top boxes
CN106934868A (en) * 2015-12-31 2017-07-07 航天信息股份有限公司 ETC mobile units and upgrade method, the equipment and control method of control ETC mobile unit upgradings
CN106201578A (en) * 2016-06-25 2016-12-07 国云科技股份有限公司 A kind of software system more new frame
CN107015833A (en) * 2017-04-14 2017-08-04 湖南威胜信息技术有限公司 The self-recovery method of embedded device application program
CN112004155A (en) * 2020-08-24 2020-11-27 深圳创维-Rgb电子有限公司 OAD upgrading method and device, smart television and readable storage medium
CN112948182A (en) * 2021-03-30 2021-06-11 广东九联科技股份有限公司 Set top box emergency backup recovery upgrading method and system
CN112948182B (en) * 2021-03-30 2024-01-30 广东九联科技股份有限公司 Method and system for recovering and upgrading emergency backup of set top box

Also Published As

Publication number Publication date
CN102938857B (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN102938857B (en) A kind of method of Set Top Box online upgrading
CN101207699B (en) Method for upgrading set-top box
CN101094229B (en) Increment upgrading method for networked application programs
CN106658475B (en) Method and device for upgrading over-the-air technology
CN103746833B (en) PXE-based RAID automatic configuration method and system
CN107333181A (en) Linux system intelligent television software upgrade method
US20110078678A1 (en) Methods and apparatus for producing cross-platform software applications
US20080052702A1 (en) Firmware update method and system utilizing digital broadcasting system
CN102222011A (en) Software upgrading method for set-top box and set-top box
CN102572541A (en) Television subscriber interaction method and system
CN104079970A (en) System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television
CN101916198A (en) Method for updating web TV and managing software version thereof
CN105577645A (en) Agent-based HLS client-end device and realization method thereof
CN105589699A (en) Serial number information update method, device and terminal
CN102298530A (en) Set top box software upgrading method and device
CN103269450B (en) A kind of multimedia system towards Android intelligent television
CN105430435B (en) The method and system of pushing video file download in a kind of IOS system
CN102004654A (en) Software installation method and device
CN106028152B (en) Set top box operating system upgrading method and device
CN103096137A (en) Smart television application program remote boot method and system
CN102164314B (en) Data management method and device based on digital television terminal middleware
CN111427595A (en) Client upgrading method, device and system
CN101640602B (en) Management method for network television
CN102622254A (en) Method and system for processing television outage
CN102946564A (en) Video service system automatic update method

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
PP01 Preservation of patent right

Effective date of registration: 20170721

Granted publication date: 20160210

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20200721

Granted publication date: 20160210

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee after: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

Address before: 300467, Tianjin District, Tianjin City, Tanggu animation road 126 No. 201-427 animation building B1 district two

Patentee before: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address after: Room 301-1, Room 301-3, Area B2, Animation Building, No. 126 Animation Road, Zhongxin Eco-city, Tianjin Binhai New Area, Tianjin

Patentee after: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address before: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee before: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210201

Granted publication date: 20160210