CN102081532B - Method for dynamically upgrading functions of set top box - Google Patents

Method for dynamically upgrading functions of set top box Download PDF

Info

Publication number
CN102081532B
CN102081532B CN 201010511510 CN201010511510A CN102081532B CN 102081532 B CN102081532 B CN 102081532B CN 201010511510 CN201010511510 CN 201010511510 CN 201010511510 A CN201010511510 A CN 201010511510A CN 102081532 B CN102081532 B CN 102081532B
Authority
CN
China
Prior art keywords
function
stb
top box
set top
literature kit
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
Application number
CN 201010511510
Other languages
Chinese (zh)
Other versions
CN102081532A (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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN 201010511510 priority Critical patent/CN102081532B/en
Publication of CN102081532A publication Critical patent/CN102081532A/en
Application granted granted Critical
Publication of CN102081532B publication Critical patent/CN102081532B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method for dynamically upgrading functions of a set top box, comprising the steps of: respectively defining some basic functions of the set top box to be corresponding script program files, setting a plurality of corresponding resource files according to the basic functions of the set top box, compressing each resource file and the corresponding script program file to generate a plurality of functional file packages, storing the functional file packages in flash storage of the set top box, when certain functions is required to be upgraded by a user, guiding a corresponding functional file package into a memory space by a main program of the set top box, analyzing by a script analysis engine, and completing the functional upgrade operation for the set top box by analyzing and invoking a basic functional function of the set top box and combining the resource files in the functional packages. By means of the method provided by the invention, the problem that when a program function is required to be upgraded by a user, the entire programs of the traditional digital television set top box are bound to be upgraded and the favorite function cannot be independently selected and upgraded is solved, and meanwhile, the problem that the set top box cannot operate because power failure and other abnormalities occur in the upgrading process is solved.

Description

A kind of method of set-top box functionality dynamic update
[technical field]
The present invention relates to a kind of embedded technology, especially a kind of method of set-top box functionality dynamic update 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 increasing of function, need the program of upgrading increasing, cause update time long.When the conventional digital tv STB needs the ROMPaq function as the user; The whole program of necessary upgrading; And the STB program is provided by radio and television operator; Can't upgrade separately and select the function oneself like, exist escalation process that outage etc. takes place simultaneously and cause STB normally to move unusually.
At Chinese invention patent was 2002.07.24 in open day; Publication number is the method that discloses a kind of dynamic upgrade of set top box software in 1360256, which comprises at least one according to being transmitted the data layout of data and being applicable to that method that the set top box upgrading software packing of unit sends, is according to being transmitted the data layout of data and being applicable to method that the set top box upgrading software packing of network service end sends, and one being preset at program in the STB, that be used to receive download and upgrade software.Wherein the set top box upgrading software of the unit packing method of sending comprise the steps: 1, according to being downloaded file, write corresponding unit download formats information to content flag information territory, data length information field; 2, generate the stream file of forming by above-mentioned information and data download describe, in general terms information, data download divisional description information and data download bag descriptor; 3, send above-mentioned data streaming file to corresponding PORT COM.The method of wherein sending based on the set top box upgrading software packing of the network service end of digital video-frequency broadcast standard comprises the steps: 1, server end generates the stream file of being made up of data download describe, in general terms information, data download divisional description information and data download bag descriptor; 2, generate the data packet stream of the reception that is fit to the respective set-top box host-host protocol; 3, send through cable system.Wherein be preset in the STB, be used for receiver item kit upgrading software download procedure stores and write read-only memory block in that STB is erasable; It accomplishes the download of set top box upgrading software according to following steps: 1, judge whether to be network download, if not forward step 3 to; 2, firing cable network-driven module begins to receive data, forwards step 4 to; 3, start the serial port drive module, begin to receive data; 4, search for data download describe, in general terms information, obtain the download partition information that is complementary by vendor code, hardware version numbers and software version number; 5, whether accomplish whole download subregions, accomplish then forwarding step 11 to; 6, divisional description information is downloaded in search, obtains this divisional description information; 7, whether accomplishing entire packet in the download subregion, is then to forward step 10 to; 8, search data download bag descriptor obtains part and downloads content; 9, download content by the part that obtains and be assembled into data partition, go back to step 7; 10, according to divisional description information processing partition data, go back to step 5; 11, finish.The advantage of this invention is: the software download after can will upgrading through network mode and unit mode at any time is in user's software STB; The no matter change of standard; Still the increase of function; All need not back factory's upgrading or, neither can cause waste, promoted the development of the universal and family information platform of STB again the STB calcellation.But this invention can't be upgraded separately and selected the function oneself like, can not overcome simultaneously the problem that outage etc. causes STB to move unusually takes place in escalation process.
[summary of the invention]
The technical matters that the present invention will solve; Be to provide a kind of method of set-top box functionality dynamic update; Overcome in escalation process the problem that outage etc. causes STB to move has unusually taken place, reduced relevant hardware, the cost of set top box upgrading can not increased with the increase of function.
The present invention is achieved in that a kind of method of set-top box functionality dynamic update, it is characterized in that: may further comprise the steps:
Step 10, with the basic function of STB, comprise that program function, program search feature, system are provided with the shell script file that function and safety management function are defined as a plurality of correspondences respectively;
Step 20, a plurality of corresponding resource file are set according to the basic function of said STB; Each resource file comprises: picture, icon, character string; And each resource file and corresponding said shell script file generated a plurality of function literature kit through compression one by one; A plurality of function literature kit are stored in the server of radio and television operator front end, when the user need upgrade a function, are connected to radio and television operator front-end server through STB; Select corresponding function literature kit, and pass through network download in the STB flash storer of this locality;
Step 30, in the STB master routine an integrated script analytics engine, and carry out related with described script analytics engine the basic function of STB;
When step 40, set-top-box opening, corresponding function literature kit is searched in the feature operation that the STB master routine need be upgraded according to the user from STB flash storer, imports in the STB memory headroom, and the function literature kit is carried out decompress(ion);
Script analytics engine in step 50, the STB master routine reads the function literature kit of described decompress(ion); And the shell script file in the function literature kit resolved; Call the basic function function of STB through parsing, and the resource file in the combined function literature kit is accomplished the function upgrading operation of STB.
The present invention has following advantage: some basic functions in the STB are defined as corresponding shell script file respectively; And a plurality of corresponding resource file are set according to these basic functions of STB; Each resource file and corresponding shell script file are generated a plurality of function literature kit through compression; Be stored in the STB flash storer, when the user need upgrade a certain function, the shell script file in the function literature kit resolved by STB script analytics engine; Call the basic function function of STB through parsing, and the resource file in the combined function literature kit is accomplished the function upgrading operation of STB.The present invention overcomes the conventional digital tv STB when the user needs the ROMPaq function; The whole program of necessary upgrading; Can't upgrade separately and select the function oneself like, overcome simultaneously the problem that outage etc. causes STB to move unusually takes place in escalation process.
[description of drawings]
Fig. 1 is the inventive method schematic flow sheet.
[embodiment]
Combine embodiment that the present invention is further described with reference to Fig. 1 below: a kind of method of set-top box functionality dynamic update; The function of liking that the user oneself that can upgrade separately selects is upgraded; Overcome simultaneously in escalation process the problem that outage etc. causes STB to move unusually takes place, implementation step is following:
The basic function of step 10, STB comprises that program function, program search feature, system are provided with the shell script file that function and safety management function are defined as a plurality of correspondences respectively, and a functional definition becomes a shell script file;
Step 20, a plurality of corresponding resource file are set according to the basic function of said STB; Each resource file comprises: picture, icon, character string; And with each resource file and corresponding said shell script file through compression one by one generate a plurality of function literature kit (as: file that the program functional definition is become shell script and corresponding program function need resource file; Through compression systematic function literature kit); Each function literature kit is stored in the STB flash storer,, can not stores all set-top box functionality literature kit because the storage space of the flash of STB is limited; Therefore a plurality of function literature kit that will produce are stored in the server of radio and television operator front end; When the user need upgrade a function, be connected to radio and television operator front-end server through STB, select corresponding function literature kit; And passing through network download in the STB of this locality, the user selects directly to carry out the function literature kit or stores in the local STB flash storer;
Step 30, in the STB master routine an integrated script analytics engine, and carry out related with described script analytics engine the basic function of STB;
When step 40, set-top-box opening, corresponding function literature kit is searched in the feature operation that the STB master routine need be upgraded according to the user from STB flash storer, imports in the STB memory headroom, and the function literature kit is carried out decompress(ion);
Script analytics engine in step 50, the STB master routine reads the function literature kit of described decompress(ion); And the shell script file in the function literature kit resolved; Call the basic function function of STB through parsing, and the resource file in the combined function literature kit is accomplished the function upgrading operation of STB.
In order to improve the inventive method function file real-time verification function is set also in STB; When the real-time verification function is opened; When STB obtained the function file that the user need upgrade, STB can be connected to radio and television operator front-end server automatically, verifies whether this function file has new upgraded version; If have then point out customer upgrade, if not then do not upgrade.
What deserves to be mentioned is: the version number that records the minimum STB master routine of this function literature kit of operation in the function literature kit of wherein downloading; When the STB master routine finds that through identification version number the version number of the STB master routine of this machine is lower than the version number that wants the required STB master routine of operation function literature kit at present; Whether the prompting user upgrading set top box master routine; If the user confirms upgrading, then starter motor top box master routine upgrading (being functions whole in the upgrading set top box).Wherein said STB basic function; Further comprise other functions (as: add-minus function of volume; Change function of platform operation or the like), described program function specifically comprises: have the function of the rendition list, electronic program guides, editing saving, described program search feature specifically comprises: have the function that search parameter is provided with; Described system is provided with function and specifically comprises: the function with language setting, audio frequency and video setting, standard setting; Described safety management function specifically comprises: have father and mother's lock, cryptographic function, the function of adult's restriction.
When if the user is switched the set-top box functionality of upgrading different, the STB master routine can judge automatically whether corresponding function literature kit exists, and execution is then called in existence, does not exist then from STB flash storer, to search and calls in the STB memory headroom.
In a word; Function through the present invention's certain STB of customer upgrade under general situation; Need only from the radio and television operator corresponding function literature kit of front-end server download and can move, cut off the power supply as finding in this process, or other can not cause system to move unusually to this machine.
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 (3)

1. the method for a set-top box functionality dynamic update is characterized in that: may further comprise the steps:
Step 10, with the basic function of STB, comprise that program function, program search feature, system are provided with the shell script file that function and safety management function are defined as a plurality of correspondences respectively;
Step 20, a plurality of corresponding resource file are set according to the basic function of said STB; Each resource file comprises: picture, icon, character string; And each resource file and corresponding said shell script file generated a plurality of function literature kit through compression one by one; A plurality of function literature kit are stored in the server of radio and television operator front end, when the user need upgrade a function, are connected to radio and television operator front-end server through STB; Select corresponding function literature kit, and pass through network download in the STB flash storer of this locality;
Step 30, in the STB master routine an integrated script analytics engine, and carry out related with described script analytics engine the basic function of STB;
When step 40, set-top-box opening, corresponding function literature kit is searched in the feature operation that the STB master routine need be upgraded according to the user from STB flash storer, imports in the STB memory headroom, and the function literature kit is carried out decompress(ion);
Script analytics engine in step 50, the STB master routine reads the function literature kit of described decompress(ion); And the shell script file in the function literature kit resolved; Call the basic function function of STB through parsing, and the resource file in the combined function literature kit is accomplished the function upgrading operation of STB.
2. the method for a kind of set-top box functionality dynamic update according to claim 1; It is characterized in that: function literature kit real-time verification function is set, when the real-time verification function is opened, when STB obtains the function literature kit that the user need upgrade in STB; STB can be connected to radio and television operator front-end server automatically; Verify whether this function literature kit has new upgraded version, if having then point out customer upgrade, if not then do not upgrade.
3. the method for a kind of set-top box functionality dynamic update according to claim 1; It is characterized in that: if when the user is switched the different set-top box functionality of upgrading; The STB master routine can judge automatically whether corresponding function literature kit exists in the STB memory headroom; Exist and then call in execution, do not exist then from STB flash storer, to search and call in.
CN 201010511510 2010-10-15 2010-10-15 Method for dynamically upgrading functions of set top box Expired - Fee Related CN102081532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010511510 CN102081532B (en) 2010-10-15 2010-10-15 Method for dynamically upgrading functions of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010511510 CN102081532B (en) 2010-10-15 2010-10-15 Method for dynamically upgrading functions of set top box

Publications (2)

Publication Number Publication Date
CN102081532A CN102081532A (en) 2011-06-01
CN102081532B true CN102081532B (en) 2012-12-19

Family

ID=44087513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010511510 Expired - Fee Related CN102081532B (en) 2010-10-15 2010-10-15 Method for dynamically upgrading functions of set top box

Country Status (1)

Country Link
CN (1) CN102081532B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333240A (en) * 2011-08-04 2012-01-25 深圳创维数字技术股份有限公司 Set-top box and online upgrade method thereof
CN102298534B (en) * 2011-09-22 2015-02-18 四川长虹电器股份有限公司 Method for writing software into set-top box
CN102419713B (en) * 2011-12-31 2014-03-12 四川长虹电器股份有限公司 Method for upgrading software of nandflash-based set-top box
CN103488491B (en) * 2012-06-11 2016-11-23 腾讯科技(深圳)有限公司 Terminal is carried out method and this terminal of system upgrade
CN103279372B (en) * 2013-05-23 2017-07-28 青岛海信宽带多媒体技术有限公司 Method for updating set-top box software and set top box
CN103442272A (en) * 2013-09-11 2013-12-11 东莞市远峰科技有限公司 System upgrading method
CN103561321B (en) * 2013-10-15 2017-01-18 深圳创维数字技术有限公司 Method and device for preventing Android intelligent set top box from being abnormally upgraded
CN104111856A (en) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 Software upgrading method and system based on resource bundle
CN104461612B (en) * 2014-11-12 2018-05-04 上海华为技术有限公司 A kind of data processing method and device
CN104506943A (en) * 2014-12-31 2015-04-08 山东泰信电子股份有限公司 Set top box software customized upgrading method
CN105451080A (en) * 2015-12-10 2016-03-30 安徽广行通信科技股份有限公司 Method for upgrading terminal system of intelligent set-top-box
CN107026884A (en) * 2016-02-02 2017-08-08 阿里巴巴集团控股有限公司 Acquisition methods, client, server and the system of resource file
CN106648691A (en) * 2016-12-29 2017-05-10 深圳Tcl数字技术有限公司 Multi-module software updating method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094229A (en) * 2007-07-24 2007-12-26 深圳市融合视讯科技有限公司 Increment upgrading system and method for networked application programs
CN101290579A (en) * 2008-06-16 2008-10-22 四川长虹电器股份有限公司 Reconfigurable software unit upgrading method
CN101315605A (en) * 2008-06-26 2008-12-03 四川长虹电器股份有限公司 Automatic upgrading method of panel TV software based on USB port
CN101719977A (en) * 2009-11-17 2010-06-02 四川长虹电器股份有限公司 Method for updating functional modules of set-top box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003208542A1 (en) * 2002-03-22 2003-10-08 Koninklijke Philips Electronics N.V. Modular set top box_____________________________________________

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094229A (en) * 2007-07-24 2007-12-26 深圳市融合视讯科技有限公司 Increment upgrading system and method for networked application programs
CN101290579A (en) * 2008-06-16 2008-10-22 四川长虹电器股份有限公司 Reconfigurable software unit upgrading method
CN101315605A (en) * 2008-06-26 2008-12-03 四川长虹电器股份有限公司 Automatic upgrading method of panel TV software based on USB port
CN101719977A (en) * 2009-11-17 2010-06-02 四川长虹电器股份有限公司 Method for updating functional modules of set-top box

Also Published As

Publication number Publication date
CN102081532A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
CN102081532B (en) Method for dynamically upgrading functions of set top box
US7818737B2 (en) Video device having software upgrade function using wireless communication and method for controlling the same
US20110302274A1 (en) Architecture of a network device for processing applications, and control method for the network device
KR101260185B1 (en) Smart settop box and operating method for providing smart service and digital television service using default media player included in single operating systme
US20060179465A1 (en) Handling feature availability in a broadcast
US20080216100A1 (en) Method and Apparatus for Software Upgrade in a Digital Television Receiving Device
CN101472051B (en) Method for updating set-top box software
US8880695B2 (en) Information processing apparatus and information processing method
CN102355603B (en) Middleware system based on wired digital television set top box middleware
CN102790912A (en) Channel information and menu information updating method of set-top box
CN101184151A (en) System for united updating and management of set up box downloader files
CN101917567A (en) Digital television terminal software upgrading method
EP3474559B1 (en) Smart-television playback method and apparatus
CN103327403A (en) Set top box upgrading method, device and system
CN102957941A (en) Program content broadcasting method and digital television front end
CN102026031A (en) Set top box
CN102298530A (en) Set top box software upgrading method and device
CN105451042B (en) A kind of document upgrading system and method based on set-top box
US6941559B2 (en) Software bus and interface for digital television application software environments
JPH10301788A (en) Data communication system and method therefor and data receiving device and method therefor
CN100515028C (en) Unified updating management system for set-top box downloading document
JP2007528048A (en) Software application execution method
KR20050042733A (en) Apparatus and method for receiving data broadcasting service to support a connection with mobile networks
CN110719528A (en) IPTV terminal hot update system and method
US20080092197A1 (en) Method of upgrading software by using common module shared by multiple models, and digital broadcast receiver therefor

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

Granted publication date: 20121219

Termination date: 20191015

CF01 Termination of patent right due to non-payment of annual fee