CN104079993B - A kind of set top box upgrading method, set top box, server and system - Google Patents

A kind of set top box upgrading method, set top box, server and system Download PDF

Info

Publication number
CN104079993B
CN104079993B CN201410272520.8A CN201410272520A CN104079993B CN 104079993 B CN104079993 B CN 104079993B CN 201410272520 A CN201410272520 A CN 201410272520A CN 104079993 B CN104079993 B CN 104079993B
Authority
CN
China
Prior art keywords
upgrading
top box
set top
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410272520.8A
Other languages
Chinese (zh)
Other versions
CN104079993A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201410272520.8A priority Critical patent/CN104079993B/en
Publication of CN104079993A publication Critical patent/CN104079993A/en
Application granted granted Critical
Publication of CN104079993B publication Critical patent/CN104079993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of set top box upgrading method, including:During editing saving, obtain and the information table of reserved field included in TS transport streams, using a reserved field in described information table as set top box upgrading flag bit;When detecting needs and broadcasting upgrading data, the upgrading flag bit by the first preset value is updated to the second preset value, and carries in described information table the parameter information of the upgrading data;Transmission includes the TS transport stream data packets of described information table, and the upgrading data are broadcast in default frequency.The embodiment of the invention also discloses a kind of front-end server, set top box and system.Using the embodiment of the present invention, front-end server is when broadcasting upgrading data, and set top box can automatically detect upgrade information, and identify that set top box is needed after upgrading, and be automatically performed escalation process.

Description

A kind of set top box upgrading method, set top box, server and system
Technical field
The present invention relates to digital TV technology, more particularly to a kind of set top box upgrading method, set top box, server and System.
Background technology
With continuing to develop for DTV, client is more and more to the functional requirement of set top box, to meet user's request, Generally, the software of set top box needs continuous upgrading.
At present, the method for set top box upgrading has a variety of, such as online upgrading, is risen using USB flash disk or by serial mode Level etc., latter two upgrading mode needs voluntarily to copy upgrading data and set top box is upgraded, cumbersome, and is not suitable for greatly Scale is upgraded.Nowadays most popular upgrade method is to carry out online upgrading, and existing online upgrading method is by when specified Between broadcast upgrading data in section, upgraded by user within the period restarts set top box manually.However, most of users During using set top box, generally only it can disconnect TV set power or set top box is arranged at holding state, seldom directly Go to restart set top box or disconnect set top box power supply, and because the period that front-end server broadcasts upgrading data is limited, and user The period can not be known in real time, therefore, cause most of users not restart set top box in stipulated time section, so as to miss The upgrading opportunity of set top box.
The content of the invention
The embodiments of the invention provide a kind of set top box upgrading method, set top box, front-end server and system, when front end clothes Business device is when broadcasting upgrading data, and set top box can automatically detect upgrade information, and identify that set top box is needed after upgrading, automatically Complete escalation process.
The embodiments of the invention provide a kind of set top box upgrading method, including:
During editing saving, the information table for including reserved field in TS transport streams is obtained, by described information table One reserved field as set top box upgrading flag bit;
When detecting needs and broadcasting upgrading data, the upgrading flag bit is updated to second by the first preset value and preset Value, and carry in described information table the parameter information of the upgrading data;
Transmission includes the TS transport stream data packets of described information table, and the upgrading data are broadcast in default frequency.
Correspondingly, the embodiment of the present invention additionally provides a kind of front-end server, including:
Acquisition module, for during editing saving, the information table for including reserved field in TS transport streams being obtained, by institute A reserved field in information table is stated as the upgrading flag bit of set top box;
Update module, for when detect needs broadcast upgrading data when, by it is described upgrading flag bit by the first preset value The second preset value is updated to, and carries in described information table the parameter information of the upgrading data;
Sending module, includes the TS transport stream data packets of described information table for sending, and broadcasts described in default frequency Upgrading data.
Correspondingly, the embodiment of the present invention additionally provides a kind of set top box upgrading method, including:
The TS transport stream data packets that receiving front-end server is sent, and parsed from the packet and carry liter The information table of level flag bit;
The upgrading flag bit in described information table is obtained, the upgrading flag bit is used for whether identifying the front-end server Broadcasting the upgrading data for set top box upgrading;
If the upgrading flag bit is the second preset value, believed according to the parameter of the upgrading data carried in described information table Whether breath, identification current set top box needs upgrading;
If so, the set top box carries out reboot operation, default frequency is switched to after restarting and downloads the upgrading data progress Upgrading.
Correspondingly, the embodiment of the present invention additionally provides a kind of set top box, including:
Receiving module, the TS transport stream data packets sent for receiving front-end server, and from the packet Parse the information table for carrying upgrading flag bit;
Acquisition module, for obtaining the upgrading flag bit in described information table, the upgrading flag bit is described for identifying Whether front-end server is broadcasting the upgrading data for set top box upgrading;
Identification module, if being the second preset value for the upgrading flag bit, according to the upgrading carried in described information table Whether the parameter information of data, identification current set top box needs upgrading;
Upgraded module, for if so, set top box progress reboot operation, switches to default frequency download described after restarting Upgrading data are upgraded.
The embodiment of the present invention includes the information table of reserved field by obtaining in TS transport streams, one in information table is pre- Section of writeeing down characters as set top box upgrading flag bit;When detect needs broadcast upgrading data when, by upgrading flag bit it is pre- by first If value is updated to the second preset value, and carries in information table the parameter information of upgrading data;Transmission includes the TS of the information table Transport stream data packet, and upgrading data are broadcast in default frequency, so that set top box is according to set in TS transport stream data packets Whether upgrading flag bit and parameter information identification current set top box need upgrading, if so, then switching to default frequency downloads upgrading Data are upgraded.Using the embodiment of the present invention, front-end server is when broadcasting upgrading data, and set top box can be automatically detected Upgrade information, and upgraded automatically according to upgrade information.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of schematic flow sheet of set top box upgrading method provided in an embodiment of the present invention;
Fig. 2 is a kind of another schematic flow sheet of set top box upgrading method provided in an embodiment of the present invention;
Fig. 3 is a kind of another schematic flow sheet of set top box upgrading method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of front-end server provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of set top box provided in an embodiment of the present invention;
Fig. 6 is the structural representation for the one of which upgraded module that Fig. 5 is provided;
Fig. 7 is a kind of structural representation of system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In the present invention, when front-end server broadcasts upgrading data, set top box is set in the information table in TS transport streams Upgrading flag bit so that set top box knows whether front-end server is broadcasting upgrading data according to the upgrading flag bit so that Further confirm that whether upgraded, a kind of set top box upgrading method provided first from the front end server side introduction present invention.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of set top box upgrading method provided in an embodiment of the present invention, at this In inventive embodiments, this method comprises the following steps.
S101:During editing saving, the information table for including reserved field in TS transport streams is obtained, by described information table In a reserved field as set top box upgrading flag bit.
In DTV, all videos, audio, word, picture etc. all become data after being digitized into processing, and press According to MPEG-2 standard packing, the transmission bag of regular length (188 bytes) is formed, then these packets are multiplexed, Form transport stream (Transport Stream, transport stream, abbreviation TS).Transmitting stream is made up of one or multi-channel program, per pass Program is combined with each other by one or more primary flows and some other streams, including video flowing, audio stream, Program Specific Information stream (Program Specifically Information, program information table, abbreviation PSI) and other packets.
Program information table PSI defined in Moving Picture Experts Group-2, is the description to single code stream, because digital television system is logical Multiple code streams are commonly present, in order to enable users to the business that oneself needs is rapidly found out in many code streams, in DVB (Digital Video Broadcasting, DVB) MPEG-2 program information table PSI is expanded in standard, in PSI Nine tables have been further added by the basis of four tables, SI (Service Information, information on services) is formed.Information on services SI It is the description to all code streams of whole system, the data such as description system transferring content, the layout of broadcast data stream and timetable.
PSI (programme information) generally includes PAT (Program Association Table), PMT (Program Map Table), CAT (CAT Conditional Access Table) With NIT (network information table), these tables are inserted into TS transport streams and transmitted, and are specified how to carry multiple programs from one by PSI Transmitting stream in be correctly found specific program.When receiver will receive some appointed program, it is first from programming association The PID (Packet Identifier, package identifier) of the Program Map Table (PMT) of this program is obtained in table (PAT), then The Program Map Table (PMT) corresponding with this pid value is found out from TS transport streams, composition is obtained from this pmt table, and this is saved The pid value of purpose elementary stream, the elementary streams such as corresponding video, audio and data are filtered out according to this pid value, multiple after decoding Originally it was primary signal, and deleted the transmission bag containing remaining PID.
SI (information on services) includes:BAT bouquet association table (BAT), SDT Service Description Table (SDT), Event Information Table (EIT), fortune Row state table (RST), TDT Time and Date Table (TDT), TOT Time Offset Table (TOT), filling table (ST), selection information table (SIT), Disconnected information table (DIT).Wherein, based on BAT, SDT, EIT table.Each table in information on services SI is not necessarily all needed in actual use Transmit, wherein SDT Service Description Table SDT, Event Information Table EIT, TDT Time and Date Table TDT must be transmitted, and other tables are then pressed According to need carry out selection transmission.For convenience of description, first by taking SDT Service Description Table SDT as an example.
Service information list SDT is Service Description Table abbreviation, and it contains current transmission stream and its The programm name included in the business information of his transport stream, such as current transmission stream ID, current transmission stream, program category etc..SDT Title that table is used to servicing in description system, ISP, whether there is information in terms of corresponding event description table, numeral The descriptors such as channel number, channel designation and frequency channel volume in TV are all set in SDT tables.Service information list SDT by Multiple business description section transmission, each business description section is to be transmitted by PID for 0x0011 TS.Existing SDT Service Description Table Any section of table_id is 0x42, and any section of table_id of the SDT Service Description Table of other business is 0x46, business description Table SDT data structure is as follows:
It can be seen that there be untapped pre- write down characters in SDT Service Description Table from above SDT Service Description Table SDT data structure Section, i.e. reserved_future_use fields, user can use the reserved field as needed.In embodiments of the present invention, may be used Used first reserved_future_use field in SDT Service Description Table SDT as upgrading flag bit, when front end clothes Business device changes the numerical value of the upgrading flag bit, set top box is received the TS of front-end server transmission when broadcasting upgrading data Know that front-end server is currently broadcasting upgrading data according to the upgrading flag bit after stream.For example:Front-end server is not broadcast Can be the first preset value by the upgrading flag bit default setting, such as " 0 " during data of upgrading;Front-end server is broadcasting upgrading During data, the upgrading flag bit is updated to the second preset value from the first preset value, it is " 1 " such as to take the second preset value, when the liter When level flag bit is the second preset value, illustrate that front-end server is broadcasting upgrading data;When the upgrading flag bit is first pre- If illustrating that front-end server is not broadcasting upgrading data during value.So as to what set top box can be sent according to front-end server SDT Service Description Table SDT in TS transport streams automatically identifies upgrade information, knows that front-end server broadcasts upgrading data in time Time.Meanwhile, the parameter information for data of upgrading is carried by the descriptor () in SDT Service Description Table SDT, set top box is obtained Know upgrading flag bit after the second preset value, further to know the parameter information of upgrading data from the table to recognize current machine top Whether box needs upgrading, and detailed step refers to S102.
Event Information Table EIT is the main of generation EPG (Electronic Program Guide, electric program menu) Table, including each program current broadcast programm name, broadcast time started, broadcast time section, father and mother's control hierarchy etc. and believe Breath and next broadcast items relevant information.Event Information Table EIT data structure is as follows:
It can be seen that there be untapped pre- write down characters in Event Information Table from above Event Information Table EIT data structure Section, i.e. reserved_future_use fields, can be by the event information based on the same analysis method with SDT Service Description Table SDT Reserved_future_use fields in table EIT are used as upgrading flag bit, and ascending series are carried in descriptor () According to parameter information.
Network information table NIT purpose is to provide the information about physical network, wherein the network ID comprising operator and Network name.Network information table NIT data structure is as follows:
It can be seen that there be untapped pre- write down characters in network information table from above network information table NIT data structure Section, i.e. reserved_future_use fields, can be by the network information based on the same analysis method with SDT Service Description Table SDT Reserved_future_use fields in table NIT are used as upgrading flag bit, and ascending series are carried in descriptor () According to parameter information.
In the embodiment of the present invention, the data structure to each information table will not enumerate, every information table that must be transmitted If in comprising reserved field, the upgrading flag bit of the reserved field in the information table as set top box can be used, passed through The upgrading flag bit informs that set-top box front-end server is broadcasting upgrading data, so that set top box completes automatic upgrading.It is based on Above-mentioned analysis process is understood, be able to will be reserved at least through SDT Service Description Table SDT, Event Information Table EIT or network information table NIT Field is provided as upgrading flag bit and used.Front-end server determines after the information table of carrying upgrading flag bit that set top box is direct Go in the information table to obtain upgrading flag bit.
It is preferred that, it regard first reserved_future_use field in SDT Service Description Table SDT as upgrading flag bit Use, because SDT Service Description Table SDT updates the most frequent in front-end server, as programm name changes, therefore, machine top Whether box is received after the packet that front-end server is sent, monitoring SDT Service Description Table SDT can change, will rise in real time Level flag bit, which is arranged in SDT Service Description Table SDT, can more timely know upgrade information.
For convenience of description,, will during editing saving in the embodiment of the present invention exemplified by choosing SDT Service Description Table SDT A reserved field (reserved_future_use) in SDT Service Description Table SDT uses as the upgrading flag bit of set top box, The parameter information of upgrading data is carried by the descriptor () in SDT Service Description Table SDT, so that set top box receives front end During the TS transport stream data packets that server is sent, the upgrading flag bit in SDT Service Description Table SDT is obtained.
S102:When detecting needs and broadcasting upgrading data, the upgrading flag bit is updated to the by the first preset value Two preset values, and carry in described information table the parameter information of the upgrading data.
When detecting needs and broadcasting upgrading data, upgrading flag bit by the first preset value is updated to the second preset value, And the parameter information of upgrading data is carried in the information table of selection, so that set top box is known according to the numerical value of the upgrading flag bit Whether front-end server is broadcasting upgrading data, if so, then further according to the parameter information recognize current set top box whether need Upgrade.
For convenience of description, in the embodiment of the present invention exemplified by choosing SDT Service Description Table SDT.For example:In front-end server It is exclusively used in depositing the upgrading data of set top box under some fixed route, a upgrading data is increased under the specified path newly when detecting When, or user inputted in operation interface broadcast upgrading data instruction when, front-end server, which is detected, to be needed to broadcast ascending series According to then, the upgrading flag bit in SDT Service Description Table SDT being updated into the second preset value by the first preset value automatically, and pass through Descriptor () function in SDT Service Description Table SDT carries the parameter information of the upgrading data, and set top box is believed according to the parameter Cease for recognizing whether the upgrading data can be upgraded with current set top box.For example:Parameter information can be hardware letter The term of validity of breath, software information and/or data of upgrading, can also further include the frequency point information for broadcasting upgrading data, its Middle hardware information is used to identify the hardware configuration information that must be met when using the upgrading data being upgraded or manufacturer's information etc., Software information is used to identify title and version number of upgrading data etc., and frequency point information includes broadcasting frequency, the symbol of upgrading data Rate and modulation system etc..
It is preferred that, front-end server can mark the weight of this upgrading data when broadcasting upgrading data in parameter information Degree is wanted, if this upgrading is that then importance is high, using phase in order to solve a fatal error present in existing software Close identification information and inform that set top box must carry out mandatory upgrade
S103:Transmission includes the TS transport stream data packets of described information table, and the upgrading data are broadcast in default frequency.
Amended information table is added in TS transport streams, so that, front-end server carries upgrade information in transmission During TS transport stream data packets, meanwhile, broadcast upgrading data in default frequency.Therefore, set top box is in running order or standby shape During state, upgrade information can be got from the TS transport stream data packets received, if set top box needs upgrading, switched to default Ascending series are downloaded on frequency according to being upgraded.
What deserves to be explained is, the frequency for broadcasting upgrading data can keep immobilizing and can also convert as needed Frequency, if keeping immobilizing, can pre-set frequency point information, frequency point information includes in front-end server and set top box Frequency, symbol rate and modulation system are specified, when front-end server will broadcast upgrading data, in the frequency specified by the frequency point information Upgrading data are broadcast on point;At the same time, if set top box recognizes the need for upgrading, acquiescence is switched to specified by the frequency point information Frequency download upgrading data.Accordingly, if front-end server converts frequency as needed when broadcasting upgrading data, broadcast every time During hair upgrading data, frequency point information is carried in information table, set top box is switched according to the frequency point information carried in information table Upgrading data are downloaded to the frequency specified.For example:Frequency point information is carried in descriptor () function.
To save bandwidth, front-end server generally only broadcasts upgrading data a period of time, and such as the first preset time is passed through After first preset time, interruption is broadcast to the operation of upgrading data on default frequency.Therefore, as the one of the embodiment of the present invention Kind of embodiment, when detect do not broadcast upgrading data when, the upgrading flag bit in information table is updated to by the second preset value First preset value.
In the set top box upgrading method described by the embodiment of the present invention, the letter for including reserved field in TS transport streams is obtained Cease table, using a reserved field in information table as set top box upgrading flag bit;Upgrading data are broadcast when detecting needs When, upgrading flag bit is updated to the second preset value by the first preset value, and the parameter of carrying upgrading data is believed in information table Breath;Transmission includes the TS transport stream data packets of the information table, and broadcasts upgrading data in default frequency, so that set top box is according to TS Whether set upgrading flag bit and parameter information identification current set top box need upgrading in transport stream data packet, if so, then Default frequency download upgrading data are switched to be upgraded.Using the embodiment of the present invention, front-end server is broadcasting ascending series According to when, set top box can automatically detect upgrade information, and be upgraded automatically according to upgrade information.
Next a kind of set top box upgrading method that the present invention is provided is introduced from set top box side.
Fig. 2 is referred to, Fig. 2 is a kind of another schematic flow sheet of set top box upgrading method provided in an embodiment of the present invention, In embodiments of the present invention, this method comprises the following steps.
S201:The TS transport stream data packets that receiving front-end server is sent, and parse and take from the packet Information table with upgrading flag bit.
TS transport stream data packets include various information tables, and different information tables pass through PID (PID Packet Identifier) and Table_ Id (table identifier) is recognized.The TS transport stream data packets that set top box receiving front-end server is sent, and from packet Parse the information table for carrying upgrading flag bit.The information table is SDT Service Description Table SDT, network information table NIT, event information Table EIT or other information table, specifically, depending on according to the setting of front-end server, front-end server is implemented using the present invention When the method for example broadcasts upgrading data, the type of the information table is then specifically determined.
SDT Service Description Table SDT tables are cut into multiple business description sections (service_description_section), appoint What constitutes the section of SDT tables, will be transmitted by PID for 0x0011 TS bags.Existing TS (TS for including SDT tables) SDT is described Any section of table_id values of table should be 0x42, and with identical table_id_extension (tranport_ ) and identical original_network_id stream_id.Times of the SDT tables of other TS outside one existing TS of sensing The table_id values of what section should take 0x46.
EIT tables are cut into multiple event information sections, and the section of any composition EIT tables will be by TS bags of the PID for 0x0012 Transmission.
NIT tables are cut into multiple network information sections (network_information_section), any composition NIT The section of table, will be transmitted by PID for 0x0010 TS bags.Prevailing network (network where TS i.e. comprising NIT tables) is described Any section of table_id values of NIT tables should be 0x40, and with identical table_id_extension (network_id). 0x41 should be taken by pointing to any section of table_id values of the NIT tables of other networks outside a prevailing network.
For convenience of description, it is assumed that the information table that upgrading flag bit is carried in front-end server is SDT Service Description Table SDT.Then machine When top box receives TS transport stream data packets, the packet is parsed, the business description for carrying upgrading flag bit is obtained Table SDT.
S202:The upgrading flag bit in described information table is obtained, the upgrading flag bit is used to identify the front end services Whether device is broadcasting the upgrading data for set top box upgrading.
Front-end server is when broadcasting upgrading data, and the upgrading flag bit in the information table is the second preset value;Front end takes When business device does not broadcast upgrading data, the upgrading flag bit is the first preset value, and set top box is obtained is for identifying front-end server It is no in the upgrading flag bit for broadcasting the upgrading data for set top box upgrading, know that front end takes according to the numerical value of the upgrading flag bit Whether business device is broadcasting upgrading data.
S203:If the upgrading flag bit is the second preset value, according to the ginseng of the upgrading data carried in described information table Whether number information, identification current set top box needs upgrading.
If upgrading flag bit is the second preset value, illustrate that front-end server is broadcasting upgrading data, therefore set top box Further obtain the parameter information of upgrading data carried in information table, according to parameter information identification current set top box whether need Upgrade.For example:Parameter information parameter information can be the term of validity of hardware information, software information and/or data of upgrading, and enter one The frequency point information that can also include broadcasting upgrading data of step, set top box is according to hardware information signified in the parameter information and works as The hardware information of preceding set top box identifies whether current set top box has promotion condition, and the hardware of such as manufacturer's difference or set top box is matched somebody with somebody It can not then upgrade when putting too low;Set top box meets on hardware after upgrading requirement, and need are further determined whether according to software information Upgrade, such as determine whether current set top box needs upgrading according to software version number.What deserves to be explained is, set top box and front end clothes Business device can pre-set frequency point information, and the frequency point information that front-end server is pre-set according to this broadcasts upgrading data, Set top box is detected after needs upgrading, and the frequency that acquiescence is switched to specified by the frequency point information is downloaded upgrading data and upgraded; If carrying frequency point information in parameter information, set top box is switched under the frequency specified by the frequency point information carried in parameter information Upgrading data are carried to be upgraded.
S204:If so, the set top box carries out reboot operation, default frequency is switched to after restarting and downloads the upgrading data Upgraded.
Identify that set top box is needed after upgrading by S203, if carrying frequency point information in parameter information, frequency point information is passed To the loader in set top box;If not carrying frequency point information in parameter information, the parameter information pre-set is transmitted to machine top Loader in box.Set top box is restarted automatically, as the default frequency specified by loader is directly switch into frequency point information after restarting Upgrading data are downloaded to be upgraded.Wherein, default frequency can be the frequency point information pre-set determined by frequency, also may be used Be upgrade data parameter information in frequency determined by the frequency point information that carries, the embodiment of the present invention is not restricted to this.
It is preferred that, if current set top box records program, monitor the process of recording operation;Treat that recording operation terminates Afterwards, set top box carries out reboot operation again, and the default frequency download upgrading data are switched to after restarting and are upgraded.
In the set top box upgrading method described by the embodiment of the present invention, set top box receiving front-end server is sent TS transport stream data packets, and the information table for carrying upgrading flag bit is parsed from the packet;If the upgrading flag bit is Second preset value, according to the parameter information of the upgrading data carried in information table, whether identification current set top box needs upgrading;If It is to go after then set top box is restarted automatically default frequency to download upgrading data to be upgraded.Using the embodiment of the present invention, when front end clothes Business device is when broadcasting upgrading data, and set top box can automatically detect upgrade information, and identify that set top box is needed after upgrading, automatically Complete escalation process.
Fig. 3 is referred to, Fig. 3 is a kind of another schematic flow sheet of set top box upgrading method provided in an embodiment of the present invention, In embodiments of the present invention, this method comprises the following steps.
In embodiments of the present invention, for convenience of description, by taking SDT Service Description Table SDT as an example, but the embodiment of the present invention is not limited It is formed on the SDT Service Description Table.
S301:The TS transport stream data packets that receiving front-end server is sent, and parse and take from the packet SDT Service Description Table with upgrading flag bit.
TS transport stream data packets include various information tables, and different information tables pass through PID (PID Packet Identifier) and Table_ Id (table identifier) is recognized.The TS transport stream data packets that set top box receiving front-end server is sent, and from packet Parse the SDT Service Description Table SDT for carrying upgrading flag bit.
S302:The upgrading flag bit in SDT Service Description Table is obtained, the upgrading flag bit is used to identify the front end services Whether device is broadcasting the upgrading data for set top box upgrading.
Front-end server is when broadcasting upgrading data, and the upgrading flag bit in SDT Service Description Table SDT is the second preset value;Before When end server does not broadcast upgrading data, the upgrading flag bit in SDT Service Description Table SDT is the first preset value, and set top box is obtained should Upgrading flag bit, knows whether front-end server is broadcasting upgrading data according to the numerical value of the upgrading flag bit.If getting The upgrading flag bit is the second preset value, then illustrates that front-end server is broadcasting upgrading data, perform S303;If the upgrading mark Will position is the first preset value, then illustrates that front-end server does not broadcast upgrading data, set top box is without upgrading.
S303:According to the parameter information of the upgrading data carried in SDT Service Description Table, whether identification current set top box needs Upgrading.
If it is the second preset value to get upgrading flag bit, illustrates that front-end server is broadcasting upgrading data, enter one Step obtains the parameter information of upgrading data carried in SDT Service Description Table, according to parameter information identification current set top box whether need Upgrade, if so, S304 is performed, if it is not, set top box is without upgrading.
S304:A dialog box for being used to prompt the user whether to determine upgrading is shown in the user interface of generation.
When identifying that current set top box needs upgrading, upgrading further can be determined whether by user.Specifically, in generation User interface on display one be used for prompt the user whether determine upgrading dialog box, receive confirm upgrading instruction when, Perform S306;When receiving the instruction for cancelling upgrading, S305 is performed.
S305:If receiving the instruction for cancelling upgrading, this selection is recorded.
If receiving the instruction for cancelling upgrading, illustrate that user is not desired to upgrade to current set top box, then record user defeated This selection entered, after (the second preset time) after a while, performs S302, judges whether set top box needs liter again Level.What deserves to be explained is, if (such as 30 seconds) do not receive any of user's input within a period of time of ejection prompted dialog frame Information, then can the default setting situation to cancel the instruction of upgrading or confirm the instruction of upgrading.It is preferred that, front-end server is being broadcast During hair upgrading data, the significance level of this upgrading data can be marked in parameter information, if this upgrading is to solve A fatal error present in existing software, then inform that set top box carries out mandatory upgrade, set top box using correlated identities information When receiving such upgrade information, mandatory upgrade is carried out to current set top box.
S306:When receiving the instruction for confirming upgrading, the set top box carries out reboot operation, is switched to after restarting described pre- Upgraded if frequency downloads the upgrading data.
If receiving the instruction for confirming upgrading, illustrate that user confirms to upgrade to current set top box, it is more to obtain Function, therefore, when set top box receives the instruction for confirming upgrading, restart automatically, default frequency is switched to after restarting download and rise DBMS is upgraded.
It is preferred that, if current set top box records program, monitor the process of recording operation;When monitoring recording operation After end, set top box carries out reboot operation again, and the default frequency download upgrading data are switched to after restarting and are upgraded.
In the set top box upgrading method described by the embodiment of the present invention, set top box receiving front-end server is sent TS transport stream data packets, and the information table for carrying upgrading flag bit is parsed from the packet;If the upgrading flag bit is Second preset value, according to the parameter information of the upgrading data carried in information table, whether identification current set top box needs upgrading;If Set top box needs to upgrade and is confirmed to upgrade by user, then goes default frequency to download upgrading data after set top box is restarted automatically and risen Level.Using the embodiment of the present invention, front-end server is when broadcasting upgrading data, and set top box can automatically detect upgrade information, And identify that set top box is needed after upgrading, it is automatically performed escalation process.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of front-end server provided in an embodiment of the present invention, in the present invention In embodiment, the front-end server 10 includes:Acquisition module 101, update module 102 and sending module 103.
Acquisition module 101, for during editing saving, obtaining the information table for including reserved field in TS transport streams, Using a reserved field in described information table as set top box upgrading flag bit.
It is preferred that, the information table is SDT Service Description Table.
Update module 102, for when detect needs broadcast upgrading data when, by it is described upgrading flag bit preset by first Value is updated to the second preset value, and carries in described information table the parameter information of the upgrading data.
Sending module 103, includes the TS transport stream data packets of described information table, and broadcast institute in default frequency for sending State upgrading data.
In the front-end server described by the embodiment of the present invention, the information for including reserved field in TS transport streams is obtained Table, using a reserved field in information table as set top box upgrading flag bit;When detect needs broadcast upgrading data when, Upgrading flag bit is updated to the second preset value by the first preset value, and carries in information table the parameter information of upgrading data; Transmission includes the TS transport stream data packets of the information table, and broadcasts upgrading data in default frequency, so that set top box is passed according to TS Whether set upgrading flag bit and parameter information identification current set top box need upgrading in defeated stream packets, if so, then cutting Default frequency download upgrading data are shifted to be upgraded.Using the embodiment of the present invention, front-end server is broadcasting upgrading data When, set top box can automatically detect upgrade information, and be upgraded automatically according to upgrade information.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of set top box provided in an embodiment of the present invention, in present invention implementation In example, the set top box 20 includes:Receiving module 201, acquisition module 202, identification module 203 and upgraded module 204.
Receiving module 201, the TS transport stream data packets sent for receiving front-end server, and from the packet In parse carry upgrading flag bit information table.
Acquisition module 202, for obtaining the upgrading flag bit in described information table, the upgrading flag bit is used to identify institute State whether front-end server is broadcasting the upgrading data for set top box upgrading.
Identification module 203, if being the second preset value for the upgrading flag bit, according to the liter carried in described information table Whether the parameter information of DBMS, identification current set top box needs upgrading.
Upgraded module 204, for if so, set top box progress reboot operation, switches to default frequency and download after restarting The upgrading data are upgraded.
It is preferred that, upgraded module 204 includes:Tip element 2041, upgrade unit 2042 and recording unit 2043.Such as Fig. 6 Shown, Fig. 6 is the structural representation for the one of which upgraded module that Fig. 5 is provided.
Tip element 2041, for if so, showing that one is used to prompt the user whether to determine in the user interface of generation The dialog box of upgrading.
Upgrade unit 2042, when the instruction of upgrading is confirmed for receiving, the set top box carries out reboot operation, after restarting The default frequency download upgrading data are switched to be upgraded.
Recording unit 2043, if cancelling the instruction of upgrading for receiving, records this selection.
It is preferred that, upgrade unit 2042 is additionally operable to:
When receiving the instruction for confirming upgrading, if detecting set top box records program, the process of recording operation is monitored; If monitoring recording operation to terminate, the set top box carries out reboot operation, the default frequency download is switched to after restarting described Upgrading data are upgraded.
It is preferred that, if acquisition module 202 is additionally operable to receive the instruction for cancelling upgrading, after the second preset time, obtain Take the upgrading flag bit in described information table.
In the set top box described by the embodiment of the present invention, the TS transmission flow datas that receiving front-end server is sent Bag, and the information table for carrying upgrading flag bit is parsed from the packet;If the upgrading flag bit is the second preset value, root According to the parameter information of the upgrading data carried in information table, whether identification current set top box needs upgrading;If so, then set top box from Move and go default frequency download upgrading data to be upgraded after restarting.Using the embodiment of the present invention, front-end server is broadcasting liter During DBMS, set top box can automatically detect upgrade information, and identify that set top box is needed after upgrading, and be automatically performed and upgraded Journey.
Fig. 7 is referred to, Fig. 7 is a kind of structural representation of system provided in an embodiment of the present invention, in the embodiment of the present invention In, the system 30 includes front-end server 10 as described above and set top box as described above 20.
For convenience of description, by taking the server and set top box of one of which embodiment as an example, but in the embodiment of the present invention Set top box 20 can be the set top box of any embodiment in foregoing description.It is used as one embodiment of the present invention, front end Server 10 uses the upgrading flag bit of the reserved field in one of information table as set top box, and upgrading data are not broadcast When, the upgrading flag bit is the first preset value, and when broadcasting upgrading data, the upgrading flag bit is updated to second by the first preset value Preset value, and carry in described information table the parameter information of the upgrading data, sending includes the TS of described information table and transmits Stream packets, the upgrading data are broadcast in default frequency;The TS transmission that the receiving front-end server 10 of set top box 20 is sent Stream packets, and the upgrading flag bit in described information table is obtained, if the upgrading flag bit is the second preset value, illustrate front end Server 10 is broadcasting upgrading data, then further according to the parameter information of the upgrading data carried in described information table, Whether identification current set top box needs upgrading, if current set top box needs upgrading, set top box carries out reboot operation, cut after restarting The default frequency download upgrading data are shifted to be upgraded.
Using the embodiment of the present invention, front-end server is when broadcasting upgrading data, and set top box can automatically detect upgrading Information, and identify that set top box is needed after upgrading, it is automatically performed escalation process.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and will according to right of the present invention Made equivalent variations are sought, still falls within and invents covered scope.

Claims (13)

1. a kind of set top box upgrading method, it is characterised in that including:
During editing saving, the information table for including reserved field in TS transport streams is obtained, by one in described information table Reserved field as set top box upgrading flag bit;
When detecting needs and broadcasting upgrading data, the upgrading flag bit by the first preset value is updated to the second preset value, And the parameter information of the upgrading data is carried in described information table;The parameter information recognizes the ascending series for set top box Whether according to that can be upgraded with current set top box, the parameter information includes the description below or its combination:Hardware information, Software information, the term of validity for data of upgrading, the frequency point information for broadcasting upgrading data, the significance level of this upgrading data;
Transmission includes the TS transport stream data packets of described information table, and the upgrading data are broadcast in default frequency.
2. the method as described in claim 1, it is characterised in that described information table is SDT Service Description Table.
3. a kind of front-end server, it is characterised in that including:
Acquisition module, for during editing saving, the information table for including reserved field in TS transport streams being obtained, by the letter A reserved field in table is ceased as the upgrading flag bit of set top box;
Update module, for when detect needs broadcast upgrading data when, by it is described upgrading flag bit updated by the first preset value For the second preset value, and carry in described information table the parameter information of the upgrading data;The parameter information is used for machine top Box recognizes whether the upgrading data can be upgraded with current set top box, the parameter information include the description below or its Combination:Hardware information, software information, the term of validity for data of upgrading, the frequency point information for broadcasting upgrading data, this data of upgrading Significance level;
Sending module, includes the TS transport stream data packets of described information table, and broadcast the upgrading in default frequency for sending Data.
4. front-end server as claimed in claim 3, it is characterised in that described information table is SDT Service Description Table.
5. a kind of set top box upgrading method, it is characterised in that including:
The TS transport stream data packets that receiving front-end server is sent, and parse from the packet and to carry upgrading mark The information table of will position;
The upgrading flag bit in described information table is obtained, the upgrading flag bit is used to identify whether the front-end server is being broadcast Hair is in the upgrading data of set top box upgrading;
If the upgrading flag bit is the second preset value, according to the parameter information of the upgrading data carried in described information table, know Whether other current set top box needs upgrading;The parameter information recognizes whether the upgrading data can be used in current machine for set top box Upgraded on top box, the parameter information includes the description below or its combination:Hardware information, software information, upgrading data The term of validity, broadcast upgrading data frequency point information, this upgrading data significance level;If so, the set top box is weighed Operation is opened, the default frequency download upgrading data are switched to after restarting and are upgraded.
6. method as claimed in claim 5, it is characterised in that described if so, the set top box switches to default frequency download The upgrading data are upgraded, including:
If so, showing a dialog box for being used to prompt the user whether to determine upgrading in the user interface of generation;
When receiving the instruction for confirming upgrading, the set top box carries out reboot operation, is switched to after restarting under the default frequency The upgrading data are carried to be upgraded.
7. method as claimed in claim 6, it is characterised in that described to show that one is used to point out in the user interface of generation Whether user determines after the dialog box of upgrading that methods described also includes:
If receiving the instruction for cancelling upgrading, this selection is recorded;
After the second preset time, the step of performing the upgrading flag bit in the acquisition described information table.
8. method as claimed in claim 6, it is characterised in that described when receiving the instruction for confirming upgrading, the set top box Reboot operation is carried out, the default frequency download upgrading data are switched to after restarting and are upgraded, including:
When receiving the instruction for confirming upgrading, if detecting set top box records program, the process of recording operation is monitored;
If monitoring recording operation to terminate, the set top box carries out reboot operation, and the default frequency is switched to after restarting and is downloaded The upgrading data are upgraded.
9. a kind of set top box, it is characterised in that including:
Receiving module, the TS transport stream data packets sent for receiving front-end server, and parsed from the packet Go out the information table for carrying upgrading flag bit;
Acquisition module, for obtaining the upgrading flag bit in described information table, the upgrading flag bit is used to identify the front end Whether server is broadcasting the upgrading data for set top box upgrading;
Identification module, if being the second preset value for the upgrading flag bit, according to the upgrading data carried in described information table Parameter information, identification current set top box whether need upgrading;The parameter information recognizes that the upgrading data are for set top box No to be upgraded with current set top box, the parameter information includes the description below or its combination:Hardware information, software Information, the term of validity for data of upgrading, the frequency point information for broadcasting upgrading data, the significance level of this upgrading data;
Upgraded module, for if so, set top box progress reboot operation, switches to default frequency and download the upgrading after restarting Data are upgraded.
10. set top box as claimed in claim 9, it is characterised in that the upgraded module includes:
Tip element, for if so, showing a pair for being used to prompt the user whether to determine upgrading in the user interface of generation Talk about frame;
Upgrade unit, when the instruction of upgrading is confirmed for receiving, the set top box carries out reboot operation, and institute is switched to after restarting The default frequency download upgrading data are stated to be upgraded.
11. set top box as claimed in claim 10, it is characterised in that the upgraded module also includes:
Recording unit, if cancelling the instruction of upgrading for receiving, records this selection;
The acquisition module, is additionally operable to after the second preset time, obtains the upgrading flag bit in described information table.
12. set top box as claimed in claim 10, it is characterised in that the upgrade unit is additionally operable to:
When receiving the instruction for confirming upgrading, if detecting set top box records program, the process of recording operation is monitored;
If monitoring recording operation to terminate, the set top box carries out reboot operation, and the default frequency is switched to after restarting and is downloaded The upgrading data are upgraded.
13. a kind of set top box upgrading system, it is characterised in that including the front-end server as described in claim any one of 3-4 With the set top box as described in claim any one of 9-12.
CN201410272520.8A 2014-06-18 2014-06-18 A kind of set top box upgrading method, set top box, server and system Active CN104079993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410272520.8A CN104079993B (en) 2014-06-18 2014-06-18 A kind of set top box upgrading method, set top box, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410272520.8A CN104079993B (en) 2014-06-18 2014-06-18 A kind of set top box upgrading method, set top box, server and system

Publications (2)

Publication Number Publication Date
CN104079993A CN104079993A (en) 2014-10-01
CN104079993B true CN104079993B (en) 2017-08-25

Family

ID=51601000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410272520.8A Active CN104079993B (en) 2014-06-18 2014-06-18 A kind of set top box upgrading method, set top box, server and system

Country Status (1)

Country Link
CN (1) CN104079993B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357550A (en) * 2015-12-09 2016-02-24 福建新大陆通信科技股份有限公司 Method and system for remotely controlling set top box based on broadcast television network
CN107613329A (en) * 2017-09-29 2018-01-19 深圳前海茂佳软件科技有限公司 Program updating method, television set and the computer-readable recording medium of television set
CN108063954B (en) * 2017-12-25 2020-09-25 青岛海信电器股份有限公司 Method and device for processing advertising time in electronic program and smart television
CN108551591B (en) * 2018-03-30 2019-12-10 四川迪佳通电子有限公司 Set top box OTA (over the air) upgrading method and system
CN110113652A (en) * 2019-04-18 2019-08-09 晶晨半导体(上海)股份有限公司 One kind powering on managing device and method
CN112702654A (en) * 2019-10-22 2021-04-23 深圳市茁壮网络股份有限公司 Software upgrading method and device and set top box
CN115022718B (en) * 2022-06-02 2024-03-22 湖南国科微电子股份有限公司 Data importing method and data transmitting method

Citations (2)

* 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
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557458A (en) * 2009-05-26 2009-10-14 四川长虹电器股份有限公司 Upgrading monitoring method and system for two-way set-top box
US20140019952A1 (en) * 2012-07-10 2014-01-16 General Instrument Corporation Secure method of enforcing client code version upgrade in digital rights management system

Patent Citations (2)

* 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
CN101867694A (en) * 2010-05-21 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading interactive internet protocol television (IPTV) set top box (STB)

Also Published As

Publication number Publication date
CN104079993A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN104079993B (en) A kind of set top box upgrading method, set top box, server and system
US10244287B2 (en) Transmission apparatus and method, reception apparatus and method, and transmission and reception system
EP2613527B1 (en) Transmission device and method, reception device and method, and transmission and reception system
US8909694B2 (en) Transmission apparatus and method, reception apparatus and method, and transmission and reception system
US9967622B2 (en) Receiver, reception method, program, and information processing system for utilizing a trigger correlation table
EP2840798A1 (en) Reception device, reception method, transmission device, transmission method, and program
CN103891301B (en) For the method and apparatus of the media data of synchronized multimedia broadcast service
CN102365872B (en) Systems and methods for interrupted program recording
CN103650482B (en) Send and receive the method and its reception device of broadcast service
CN103535046A (en) Transmission method for broadcast service, reception method therefor, and reception apparatus therefor
CN104221395A (en) Information processing device, information processing method, and information processing system
US20080141327A1 (en) Apparatus and method for configuring and executing function of application appropriate to broadcast-receiving device
CN101667208A (en) Digital television receiver and methods for searching and switching programs thereof
CN101001386A (en) Updating method of mobile multimedia broadcast electronci service guide
CN101184151A (en) System for united updating and management of set up box downloader files
EP1063797A2 (en) Digital broadcast reception apparatus for retrieving broadcast program information, and computer-readable record medium carrying a computer program allowing a computer to function as a digital broadcast reception apparatus
CN105264898A (en) Software upgrade method, device and equipment
CN103905890A (en) EPG information automatic calibration correction method, device and system
CN101646038A (en) TV program alerting method and TV set applying same
KR101741552B1 (en) Method and device for receiving an expanded service/program guide
EP2259543A1 (en) Method, system and terminal for transmitting continuous service multiplexing configuration information
EP1906667A2 (en) Handling applications received by data broadcast
CN108924634A (en) A kind of TS stream method for quickly identifying and device
KR20070115123A (en) The broadcasting signal of comprising information related to now event table in psip, the method of controlling the broadcasting signal, and the receiver for controlling the same
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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant before: Shenzhen Skyworth Software Co., Ltd.

GR01 Patent grant
GR01 Patent grant