Summary of the invention
The embodiment of the invention provides a kind of method of upgrading programme labeling information, and set-top box and system all will upgrade the rendition list when being used for solving the prior art set-top box and starting at every turn, have caused network resources waste, and have influenced the problem of set-top box response speed.
The embodiment of the invention provides a kind of renewal programme labeling information method, comprises,
Receive the instruction that starts list control, described list control is used to show the table data that comprises program classification and respective program tabulation thereof;
Obtain the version information of table data in the digital TV broadcasting network;
Whether the version information that contrasts table data in the described digital TV broadcasting network that obtains changes with the version information of this locality storage;
If change, the table data in the receiving digital television broadcast network then is to upgrade the table data of local storage.
According to the further aspect of the inventive method embodiment, the version information of described table data is identified by the particular descriptor among the network information table NIT.
According to another further aspect of the inventive method embodiment, the table data of described reception is used the specific format encapsulation, and this specific form is made up of the data message of program classification and corresponding the rendition list thereof.
According to another further aspect of the inventive method embodiment, clear screen is to show the table data after the described renewal.
Another further aspect according to the inventive method embodiment, when showing the described table data that receives, mate corresponding icon index according to the programme labeling information in the described table data, show and the corresponding icon of described program classification in the precalculated position when showing described program classification, when selecting focus to select certain described icon, in the corresponding tabulation of described icon, show the rendition list in the described table data.
The embodiment of the invention also provides a kind of set-top box, comprises,
The command reception unit is used to receive the instruction that starts list control, and described list control is used to show the table data that comprises program classification and respective program tabulation thereof;
The version information acquiring unit is used for obtaining the version information of digital TV broadcasting network table data;
Whether comparing unit, the version information that is used for contrasting the described digital TV broadcasting network table data of obtaining change with the version information of this locality storage;
The table data updating block, when the version information that is used for the table data obtained when the output of described comparing unit changes with the described local version information of storing, then receive the table data in the described digital TV broadcasting network, to upgrade the table data of local storage.
Set-top box embodiment further aspect also comprises refresh unit according to the present invention, and when the version information of described table data upgraded, this refresh unit was used for clear screen to show the table data after the described renewal.
Another further aspect of set-top box embodiment according to the present invention, also comprise matching unit, be used for when showing the described table data that receives, mate corresponding icon index according to the programme labeling information in the described table data, show and the corresponding icon of described program classification in the precalculated position when described refresh unit also is used to show described program classification.
The embodiment of the invention also provides a kind of VOD system renewal tabulating method to comprise,
According to the content in order program data storehouse, generate the table data of upgrading, described table data comprises program classification and corresponding the rendition list thereof;
Described table data is carried out the encapsulation of specific format, and described specific format is meant that this table data is made up of the data message of program classification and corresponding the rendition list thereof;
Broadcast this table data by digital TV broadcasting network;
Generate the version information of described table data, and broadcast the version information of this table data by described digital TV broadcasting network.
The embodiment of the invention also provides a kind of VOD system that can upgrade tabulation, comprises,
The on-demand assets administrative unit is used for the content according to the order program data storehouse, generates the table data of upgrading;
The table data transmitting element is used for broadcasting this table data by digital TV broadcasting network;
The data encapsulation unit is used for described table data is carried out the encapsulation of specific format, and described specific format is meant, is made up of the data message of program classification and corresponding the rendition list thereof;
The version information transmitting element is used to generate the version information of described table data and the version information of broadcasting this table data by described digital TV broadcasting network.
By the embodiment of the invention, by sending the version information of table data, realized set-top box table data timely replacement, saved outside Internet resources and the hardware resource, can also accelerate the response speed of set-top box.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Be illustrated in figure 1 as a kind of flow chart that upgrades the programme labeling information method of the embodiment of the invention.
Step 101 receives the instruction that starts list control, and described list control is used to show the table data that comprises program classification and respective program tabulation thereof.
Step 102 is obtained the version information of table data in the digital TV broadcasting network.
Whether step 103, the version information that contrasts table data in the described digital TV broadcasting network that obtains change with the version information of this locality storage.
Step 104 if change, then receives the table data in the described digital TV broadcasting network, to upgrade the table data of local storage.Wherein, described table data comprises program classification and corresponding the rendition list thereof.
As a further aspect of the embodiment of the invention, in step 102, the version information of described table data is identified by the particular descriptor in the network information table (NIT).
In step 104, the table data of described reception is used the specific format encapsulation, this specific form is made up of the data message of program classification and corresponding the rendition list thereof, wherein do not comprise in HTML in the prior art or the Script script information about data format, therefore can reduce the bandwidth resources that table data takies, and can not need the browser resolves on the set-top box, improve the speed of document analysis.
Wherein, described demonstration be at the program classification in the demand (telecommunication) service and corresponding the rendition list thereof, because the program classification in the demand (telecommunication) service and corresponding the rendition list content change frequency ratio are higher, and for program classification, for example program is divided into TV play, film, cartoon, variety entertainment etc., all has corresponding the rendition list under each program classification, in this rendition list, has the programm name that belongs to this classification, not only the rendition list needs to upgrade often, and this program classification also can adjust variation, so need have the method for a cover list update and the more format of use separately.
A further aspect as the embodiment of the invention also comprises, after described step 104, clear screen is to show the table data after the described renewal.And, when the version information that can also work as described table data upgrades once more, receive table data after upgrading once more upgrading the table data of local storage, and clear screen is to show described table data after upgrading once more.
In above-mentioned steps, also comprise, when showing the described table data that receives, mate corresponding icon index according to the programme labeling information in the described table data, show and the corresponding icon of described program classification in the precalculated position when showing described program classification, when selecting focus to select certain described icon, in the corresponding tabulation of described icon, show the rendition list in the described table data.
Be illustrated in figure 2 as the structural representation of a kind of set-top box of the embodiment of the invention.
Comprise command reception unit 201, be used to receive the instruction that starts list control, described list control is used to show the table data that comprises program classification and respective program tabulation thereof.
Version information acquiring unit 202 is used for obtaining the version information of digital TV broadcasting network table data.For example, the particular descriptor from the NIT table is obtained the version information of described table data.
Whether comparing unit 203, the version information that is used for contrasting the described digital TV broadcasting network table data of obtaining change with the version information of this locality storage.
Table data updating block 204, when the version information that is used for the table data obtained when the output of described comparing unit changes with the described local version information of storing, then receive the table data in the described digital TV broadcasting network, to upgrade the table data of local storage.Wherein, table data updating block 204 is resolved the table data of being made up of the data message of program classification and corresponding the rendition list thereof, and is presented on the screen.
Also comprise refresh unit 205, be used for clear screen to show the table data after the described renewal.For example on screen, shown the described table data that receives, when the version information of described table data upgrades once more, this refresh unit 205 can clear screen to show described table data after upgrading once more.
Also comprise matching unit 206, be connected with refresh unit 205 with described table data updating block 204, be used for when showing the described table data that receives, mate corresponding icon index according to the programme labeling information in the described table data, show and the corresponding icon of described program classification in the precalculated position when described refresh unit 205 also is used to show described program classification.
Pass through the foregoing description, by obtaining the version information of table data earlier, whether to receive table data by relatively decision again, therefore can realize making set-top box need not receive identical table data repeatedly, make set top box operations smooth more version information.And, by the table data updating block table data of specific format is resolved, avoided using the browser in the set-top box, make that the speed of resolving table data is faster, in addition, used the table data of specific format littler, be convenient in digital TV broadcasting network, transmit with respect to the document size of html format of the prior art.
Be illustrated in figure 3 as a kind of VOD system of the embodiment of the invention and upgrade the flow chart of tabulating method.
Comprise step 301, according to the content in order program data storehouse, generate the table data of upgrading, described table data comprises program classification and corresponding the rendition list thereof.
Step 302 is broadcasted this table data by digital TV broadcasting network.
Step 303 generates the version information of described table data and the version information of broadcasting this table data by described digital TV broadcasting network.
Above-mentioned step 302 does not limit the sequencing of execution between 303.
A further aspect as the embodiment of the invention, in step 302, also comprise the encapsulation of described table data being carried out specific format, described specific format is meant, this table data is made up of the data message of program classification and corresponding the rendition list thereof, wherein do not comprise in HTML in the prior art or the Script script information about data format, therefore can reduce the bandwidth resources that table data takies, and can not need the browser resolves on the set-top box, improve the speed of document analysis.
And the version information that described step 303 is broadcasted this table data by digital TV broadcasting network is meant that the particular descriptor in the NIT table is carried the version information of described table data.
Be illustrated in figure 4 as a kind of VOD system structural representation that can upgrade tabulation of the embodiment of the invention.
Comprise on-demand assets administrative unit 401, be used for content, generate the table data of upgrading according to the order program data storehouse.
Table data transmitting element 402 is used for broadcasting this table data by digital TV broadcasting network.
Version information transmitting element 403 is used to generate the version information of described table data and the version information of broadcasting this table data by described digital TV broadcasting network.Wherein, can be by the version information of this table data of NIT table broadcasting.
A further aspect as the embodiment of the invention, also comprise data encapsulation unit 404, be used for described table data is carried out the encapsulation of specific format, described specific format is meant, data message by program classification and corresponding the rendition list thereof is formed, and does not wherein comprise in HTML in the prior art or the Script script information about data format.
Be illustrated in figure 5 as a kind of renewal tabulating method of embodiment of the invention flow chart.
Step 501, content according to program classification in on-demand assets (VPM) database and corresponding the rendition list thereof, generate the table data of upgrading, for example shown in Figure 6, program classification is divided into 5 classification, is followed successively by import sheet, TV play, cartoon, domestic film and variety, when focus shown in the figure is separated film, it is the content of described the rendition list down, and this rendition list comprises many movie name in this example.
Step 502 encapsulates above-mentioned table data according to specific form, the form of encapsulation is as follows:
In following service content information (ServiceInfo), if show at current channel :-1, if jump to the film clips channel, specified channel serviceid:4003 is in this example for jumping to the film clips channel.
[ServiceInfo]
#4003
In following number of types (TypeNum), the expression program classification specifically has several, is 5 classification in this example.
[TypeNum]
#5
Below describe the encapsulation format of (TypeInfo), comprise display program classification ID for program classification | the display program specific name | non-focus picture | the focus picture.
[Type?Info]
#1| import sheet | 1|11
The #2| TV play | 2|12
The #3| cartoon | 3|13
The #4| domestic film | 4|14
The #5| variety | 5|15
In following the rendition list content-data (ShowInfo), comprise display program classification ID | the display program List name | reveal codes | whole price | the diversity price | the collection number | the undercarriage time, wherein, reveal codes: show product code; Whole price: price is watched in single-point film price or packing; The diversity price: the price of the single collection of TV play, this field of single-point film is 0; The collection number: the collection of TV plays number, if be that this field of single-point film is 1; The undercarriage time: YYYYMMDDHHMMSS;
[ShowInfo]
#1| import sheet one | 172|5|0|1|20090430235959
#2| TV play one | 601|20|1|30|20090430235959
It is as follows that programme labeling information and program list information generate the formatted file sample by above-mentioned data format:
[ServiceInfo]
4003
[Typ?eNum]
5
[Type?Info]
1| import sheet | 268435458|268435459
The 2| TV play | 268435460|268435461
The 3| cartoon | 268435462|268435463
The 4| domestic film | 268435464|268435465
The 5| variety | 268435466|268435467
[ShowInfo]
1| import sheet one | 355|1000|0|1|20101231000000
1| import sheet two | 354|1000|0|1|20101231000000
2| TV play one | 565|1500|100|32|20101231000000
2| TV play two | 561|1500|100|30|20101231000000
2| TV play three | 563|2500|100|43|20101231000000
3| cartoon one | 534|1000|0|1|20101231000000
3| cartoon two | 436|1000|0|1|20101231000000
3| cartoon three | 106|800|0|1|20101231000000
4| domestic film one | 350|1000|0|1|20101231000000
4| domestic film two | 267|1000|0|1|20101231000000
4| domestic film three | 266|1500|0|1|20101231000000
5| variety one | 549|200|0|1|20101231000000
5| variety two | 540|200|0|1|20101231000000
Step 503 is broadcasted the table data after the above-mentioned encapsulation by digital TV broadcasting network.
Step 504 generates the version information of described table data and the version information of broadcasting this table data by described digital TV broadcasting network.
Wherein, can carry described version information by the NIT table and be broadcast to the set-top box end, for example:
Descriptor by label (TAG) value of expanding in the NIT table equals 189 generates updating message, and 189 descriptors are defined as follows:
Be applicable to system end to the updating message of set-top box transmission about program classification and the rendition list, set-top box can judge whether update content according to the information change of 189 descriptors.
This descriptor is inserted in the NIT ground floor, descriptor tag=189
Descriptor definition is as follows:
Wherein, descriptor tag Descriptor_tag, 8 bit fields are used to identify different descriptors, and its value is OXBD (decimal system 189); Descriptor length Descriptor_length, 8 bit fields are used to indicate the byte number that is right after the descriptor after this field; New logo VODMessage_Version more, 8 bit fields, value are that 0x00~0xff recycles, this value of preserving when set-top box and system end send not simultaneously, begin to receive the formatted file of the table data of renewal, in embodiments of the present invention, this field is called the version information field.
Step 505, the user shows control by the menu that remote controller triggers demand (telecommunication) service, set-top box is obtained above-mentioned version information, and judge whether the version information that obtains is consistent with the version information of set-top box storage, if inequality then need to upgrade table data and enter step 506, otherwise enter step 508.
Set-top box is regularly monitored 189 descriptors in the NIT table, in finding 189 descriptors, write down in the field value of expression version information and the set-top box inconsistent the time, show that then variation has taken place for program classification and the rendition list, need the renewal table data.
Step 506, set-top box receive table data in digital TV broadcasting network, and resolve described table data, to upgrade the table data of the local storage of described set-top box.
Set-top box is carried out decapsulation according to the corresponding mode of encapsulation format in the step 502 to table data, obtains table data, and described table data is shown on the screen.
In the process that shows, set-top box is according to the information of program classification in the table data, the program classification ID in the Typeinfo field for example, the icon that coupling is stored in advance in set-top box, each icon all has program classification ID, if program classification ID unanimity then on the ad-hoc location of screen, show display program specific name in this icon and the Typeinfo field, because so program classification of the prior art can't upgrade operator and can't recommend the program of certain newly-increased type as required to the user, can the real-time update program classification and the rendition list the time by the embodiment of the invention, upgrade the icon of screen display, can make the user better understand program classification and corresponding the rendition list thereof.
When receiving table data, can also receive by data messages such as the picture of system end broadcasting, literal, promptly can receive icon corresponding and program classification title with program classification ID.
If the user will select focus to stay certain film under certain program classification surely by remote controller, the import sheet one in the import sheet for example, the selection focus of this moment is in position as shown in Figure 6, if this set-top box has detected the version information of table data update content is arranged, then obtain the table data in the digital TV broadcasting network, and the table data of the local storage of renewal, clear screen, the table data behind display update on the screen.
After collecting and finish, step 507, set-top box preserve the currency of version information byte in 189 descriptors.
Step 508 directly uses the table data that is stored in local set-top box to show, does not need to collect once more table data.
The version information that in digital TV broadcasting network, transmits table data described in the embodiment of the invention, perhaps illustrating among the embodiment just such as table data, described digital TV broadcasting network for example comprises, digital television broadcasting terrestrial wireless network (Digital Video Broadcasting-Terrestrial, DVB-T), digital television broadcasting satellite network (Digital Video Broadcasting-Satellite, DVB-S), the digital television broadcasting cable network (Digital Video Broadcasting-Cable, DVB-C) etc.
Adopt the method and system of the embodiment of the invention, the set-top box end does not need to start browser, and it is fast to receive and resolve formatted file speed; Under the situation of transmission same amount of information, adopt above-mentioned formatted file, littler than the html file size, be more conducive in cable television network, transmit; Because adopt the updating message informing mechanism, when not upgrading program classification and the rendition list, set-top box need not be collected identical data content repeatedly, makes the operation of set-top box more smooth.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.