Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of digital television information player method and system are provided, can be associated by accurately that various information are identical with classification programming events, when the user watches certain programming events of certain channel, set-top box is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of digital television information player method, comprising:
Dominant frequency point in the locking digital TV network and demodulation obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream;
Resolve described Event Information Table and related information descriptor, obtain each related information in the described related information descriptor; And judge that according to the type of described each related information or keyword whether described each related information is associated with current programming events;
Play the related information that is associated with described current programming events.
Wherein, if described Event Information Table is supported the classification of programming events, comprise the type of related information in the then described related information descriptor; What the type of described related information was a headend equipment according to this related information is content-defined.
Wherein, described Event Information Table of described parsing and related information descriptor obtain each related information in the described related information descriptor; And judge according to described each related information descriptor whether the type of described each related information is related with current programming events, comprising:
Resolve described Event Information Table, obtain the type of current programming events; What the type of described programming events was a headend equipment according to this programming events is content-defined;
Resolve described related information descriptor, obtain the type of each related information in the described related information descriptor;
Whether the type of judging each related information in the described related information descriptor one by one is consistent with the type of described current programming events; If consistent, judge that then this related information is associated with current programming events.
Wherein, described headend equipment is consistent with the criteria for classification of each related information in the related information descriptor to the criteria for classification of each programming events in the Event Information Table.
Wherein, the type of described programming events is represented by the content descriptors of the Event Information Table in the Program Specific Information PSI/ business information SI standard.
Wherein, described criteria for classification comprises: one-level classification, secondary classification and User Defined classification.
Wherein, if described Event Information Table is not supported the classification of programming events, comprise the keyword of related information in the then described related information descriptor; What the keyword of described related information was a headend equipment according to this related information is content-defined.
Wherein, described Event Information Table of described parsing and related information descriptor obtain each related information in the described related information descriptor; And judge that according to the keyword of described each related information whether described each related information is associated with current programming events, comprising:
Resolve described Event Information Table, obtain the title of current programming events;
Resolve described related information descriptor, obtain the keyword of each related information in the described related information descriptor; What the keyword of described related information was a headend equipment according to this related information is content-defined;
Judge the keyword that whether comprises each related information in the described related information descriptor in the title of described current programming events one by one; If comprise, judge that then this related information is associated with current programming events.
Wherein, comprise in the described related information descriptor: the package identification of each related information correspondence, sequence number, type or keyword, play rules.
Wherein, this related information of described judgement is with after current programming events is associated, play with related information that described current programming events is associated before, also comprise;
Obtain the package identification corresponding with the related information that is associated of current programming events;
According to described package identification, obtain the corresponding data bag in the baseband transmission stream.
Wherein, described related information descriptor is inserted in the self-defining table of BAT bouquet association table, SDT Service Description Table or headend equipment in the PSI/ SI standard.
Correspondingly, the embodiment of the invention also provides the digital television information Play System, comprising: headend equipment and receiving terminal for digital television;
Described headend equipment is used for the content according to each related information, package identification, sequence number, type or keyword, the play rules of each related information of definition in the related information descriptor; And, on digital TV network, transmit in described related information descriptor and the Event Information Table adding baseband transmission stream;
Described receiving terminal for digital television, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; Resolve described Event Information Table and related information descriptor, obtain the related information descriptor of each related information; And judge one by one according to the type or the keyword of described related information whether each related information is associated with described current programming events; And the related information that broadcast is associated with described current programming events.
Wherein, if described Event Information Table is supported the classification of programming events, comprise the type of related information in the then described related information descriptor; What the type of described related information was a headend equipment according to this related information is content-defined.
Wherein, described headend equipment is used for the content according to each programming events, the type of each programming events of definition in Event Information Table; According to the content of each related information, package identification, sequence number, type, the play rules of each related information of definition in the related information descriptor; And, on digital TV network, transmit in described related information descriptor and the Event Information Table adding baseband transmission stream;
Described receiving terminal for digital television, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; And resolve described Event Information Table and related information descriptor, obtain the type of current programming events and the type of each related information; And whether the type of judging each related information in the described related information descriptor one by one is consistent with the type of described current programming events; Play its type related information consistent with the type of described current programming events.
Wherein, described headend equipment is consistent with the criteria for classification of each related information in the related information descriptor to the criteria for classification of each programming events in the Event Information Table.
Wherein, the type of described programming events is represented by the content descriptors of the Event Information Table in the Program Specific Information PSI/ business information SI standard.
Wherein, described criteria for classification comprises: one-level classification, secondary classification and User Defined classification.
Wherein, described receiving terminal for digital television comprises: the frequency locking demodulation module, and the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream;
First comparing module is used to resolve described Event Information Table and related information descriptor, obtains the type of current programming events and the type of each related information; And whether the type of judging each related information in the described related information descriptor one by one is consistent with the type of described current programming events; If consistent, judge that then this related information is associated with current programming events;
The information playing module is used to play the related information that is associated with described current programming events.
Wherein, if described Event Information Table is not supported the classification of programming events, then described related information descriptor is described the keyword of related information; What the keyword of described related information was a headend equipment according to this related information is content-defined.
Wherein, described headend equipment is used for the content according to each related information, the keyword of each related information of definition in the related information descriptor; And, on digital TV network, transmit in described Event Information Table and the related information descriptor adding baseband transmission stream;
Described receiving terminal for digital television, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; And resolve described Event Information Table and related information descriptor, obtain the title of current programming events and the keyword of each related information; And judge the keyword that whether comprises each related information in the described related information descriptor in the title of described current programming events one by one; If comprise, then play this related information.
Wherein, described receiving terminal for digital television comprises:
The frequency locking demodulation module, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream;
Second comparing module is used to resolve described Event Information Table and related information descriptor, obtains the title of current programming events and the keyword of each related information; And judge the keyword that whether comprises each related information in the described related information descriptor in the title of described current programming events one by one; If comprise, judge that then this related information is associated with current programming events;
The information playing module is used to play the related information that is associated with described current programming events.
Wherein, described related information descriptor is inserted in the self-defining table of BAT bouquet association table, SDT Service Description Table or headend equipment in the PSI/ SI standard.
Wherein, described information playing module comprises:
The sign acquiring unit is used for according to described related information descriptor, obtains the corresponding package identification of related information that described first comparing module or second comparing module and current programming events are associated;
The packet acquiring unit is used for the package identification that obtains according to described sign acquiring unit, obtains the corresponding data bag in the baseband transmission stream;
Information playing unit is used to resolve the packet that described packet acquiring unit is obtained, and plays according to play rules corresponding in the described related information descriptor.
Wherein, described receiving terminal for digital television is set-top box or digital TV integrated machine.
Implement digital television information player method provided by the invention and system, can be associated by accurately that various information are identical with classification programming events, when the user watches certain programming events of certain channel, set-top box is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
Embodiment
Digital television information player method provided by the invention and system, can be associated by accurately that various information are identical with classification programming events, when the user watches certain programming events of certain channel, set-top box is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
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.
Referring to Fig. 1, be the digital television information player method first embodiment schematic flow sheet provided by the invention, as shown in Figure 1:
At step S100, dominant frequency point in the locking digital TV network and demodulation obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream.
At step S101, resolve described Event Information Table and related information descriptor, obtain each related information in the described related information descriptor.
At step S102, judge that according to the type of described each related information or keyword whether described each related information is associated with current programming events.
At step S104, play the related information that is associated with described current programming events.
Implement digital television information player method provided by the invention, can be associated by accurately that various related informations are identical with classification programming events, when the user watches certain programming events of certain channel, receiving terminal for digital television is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
Referring to Fig. 2, be the digital television information player method second embodiment schematic flow sheet provided by the invention, in the present embodiment, with the flow process of this digital television information player method of more detailed description.As shown in Figure 2:
At step S200, the headend equipment of digital TV network defines the type of each programming events according to the content of each programming events in Event Information Table.
More specifically, type for programming events, in the present embodiment can be by Program Specific Information (PSI, Program Specific Information)/content descriptors (content_descriptor) of Event Information Table in business information (SI, the Service Information) standard represents.
In the PSI/SI standard, the information of the programming events that Event Information Table provides each channel in chronological order and comprised.Can insert in this table by the content descriptors (content_descriptor) of PSI/SI standard definition to provide clearly information description for incident, promptly each programming events of describing is classified, each programming events be can be respectively and one-level classification and secondary classification carried out, each classification all is 4 bit fields, just can define 16 big classes at most like this, 256 groups are if can also can satisfy the classificating requirement of various programming events fully by the maximum two layers of classification of User Defined inadequately.
At step S201, headend equipment defines the type of each related information according to the content of each related information in the related information descriptor.Further, headend equipment is consistent with the criteria for classification of each programming events in the Event Information Table to the criteria for classification of each related information in the related information descriptor, can be multiclass classification also, for example comprises: one-level classification, secondary classification and User Defined classification.
More specifically, in the present embodiment, comprise in the related information descriptor: the package identification of each related information correspondence, sequence number, type or keyword, play rules; The type of described related information is represented by the related information descriptor in the described related information descriptor.
In embodiments of the present invention, can carry out as giving a definition the related information descriptor:
Associated?Information?Descriptor(){
Descriptor_tag // 8bit may be defined as 0x8A herein
Descriptor_length // 8bit, descriptor length
Content_nibble_level_1 // 4bit, the classification of incident one-level
Content_nibble_level_2 // 4bit, the incident secondary classification
User_nibble_1 // 4bit, the User Defined classification 1 of incident
User_nibble_2 // 4bit, the User Defined classification 2 of incident
Info_PID // 8bit, the Packet Identifier of information data
Info_index // 8bit, the sequence number of information data
Info_type // 8bit, the type of information data
Info_duration_time // 32bit, information shows the time
Info_x // 16bit is presented at the x coordinate on the screen
Info_y // 16bit is presented at the y coordinate on the screen
Info_width // 16bit is presented at the width on the screen
Info_height // 16bit is presented at the height on the screen
}
Each explanation of field that adopts in the above-mentioned related information descriptor is as follows:
Descriptor_tag: descriptor tag, 8 bit fields may be defined as 0x8A(in " digital video broadcasting Chinese business information standard " the inside at this, provide the privately owned descriptor tag that 0x80-0xFE defines voluntarily for the user).
Descriptor_length: descriptor length, 8 bit fields are used to describe this byte length of descriptor afterwards.
Content_nibble_level_1: the classification of incident one-level, 4 bit fields are classified corresponding to the one-level in the content descriptors.Wherein 0x0 represents film/drama, and 0x2 represents news and current affairs, and 0x3 represents performance/match, and 0x4 represents physical culture etc., and the specific coding mode is referring to " digital video broadcasting Chinese business information standard ".
Content_nibble_level_2: the incident secondary classification, 4 bit fields are corresponding to the secondary classification in the content descriptors.When the content_nibble_level_1 value is 0x1, this value is represented film/drama (common) for 0x0,0x1 represents detective/horror film, 0x2 represents adventure movie/Western/war film etc., when the content_nibble_level_1 value is 0x2, this value is represented news and current affairs (common) for 0x0, and 0x1 represents news/weather forecast etc., and the specific coding mode is referring to " digital video broadcasting Chinese business information standard ".
User_nibble_1: User Defined classification 1,4 bit field, corresponding to the self-defined classification 1 of the user's programme content in the content descriptors.Be defaulted as 0x0, be invalid value.
User_nibble_2: User Defined classification 2,4 bit fields, corresponding to the self-defined classification 2 of the user's programme content in the content descriptors.Be defaulted as 0x0, be invalid value.
Info_PID: the Packet Identifier of information data (Packet Identifier, PID), 8 bit fields.Identical with the pid value of real data in the Program Map Table.
Info_index: the sequence number of information data, 8 bit fields, this field is different from info_PID, is used for the DISPLAY ORDER of descriptor data.Acquiescence is since 1 counting.
Info_type: the type of information data, 8 bit fields, its value is invalid for 0x0 represents, and 0x1 represents video data, and 0x2 represents voice data, 0x3 representative picture data, 0x4 represents lteral data, and other are worth reservation, expand waiting.
Info_duration_time: information shows the time, and 32 bit fields are used for the time that descriptor continues demonstration, and unit is second.
Info_x: information is specified the x coordinate that is presented on the screen, 16 bit fields, and unit is a pixel.
Info_y: information is specified the y coordinate that is presented on the screen, 16 bit fields, and unit is a pixel.
Info_width: information is specified the width that is presented on the screen, 16 bit fields, and unit is a pixel.
Info_height: information is specified the height that is presented on the screen, 16 bit fields, and unit is a pixel.
Based on above-mentioned related information descriptor, need to revise the information distributing system of digital TV network headend equipment, increase above-mentioned taxonomic structure, in PSI/SI, add this related information descriptor simultaneously.
Preferably, present embodiment can be added the related information descriptor in the information table of original information distributing system definition, the concrete definition of this information table is different according to the difference of information distributing system, can be in the PSI/SI standard, SDT Service Description Table, also can be the table that headend equipment redefines as required.
Further, step S200 and step S201 can carry out simultaneously.
At step S202, headend equipment flows to the PSI/SI of Event Information Table and related information descriptor into multiplexer together with other program baseband transmission multiplexing, then with the code stream after multiplexing through modulating unit, on digital TV network, transmit.
At step S203, receiving terminal for digital television receive the user by remote controller send change the platform instruction after, dominant frequency point in the locking digital TV network and demodulation obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream.In the present embodiment, described receiving terminal for digital television can be digital TV set-top box or Digital Television and set-top box integrated machine.
At step S204, receiving terminal for digital television is resolved described Event Information Table, obtains the type of current programming events.More specifically, receiving terminal for digital television is resolved Event Information Table, obtains the title of current programming events, and time started and duration, resolve content descriptors simultaneously and get access to one-level classification, the secondary classification of this programming events, if there is the User Defined classification also will obtain.
At step S205, receiving terminal for digital television is resolved described related information descriptor, obtains the type of each related information in the described related information descriptor.
At step S206, receiving terminal for digital television judges one by one whether the type of each related information in the described related information descriptor is consistent with the type of described current programming events.More specifically, when the type of receiving terminal for digital television judgement related information was consistent with the type of current programming events, the multiclass classification that must guarantee both all was the unanimity of coincideing.When the type of judging relevant information when receiving terminal for digital television is consistent with the type of current programming events, execution in step S207; Otherwise, ignore this related information, continue to judge whether next bar related information is consistent with the type of current programming events, until all related informations in the related information descriptor are all finished judgement.
At step S207, receiving terminal for digital television obtains its type related information corresponding package identification consistent with the type of current programming events in the related information descriptor; And, obtain the corresponding data bag in the baseband transmission stream according to described package identification.
At step S208, receiving terminal for digital television is resolved described packet, and plays according to play rules corresponding in the described related information descriptor.Described play rules is meant the type of the information data of being indicated by field info_type in the related information descriptor; The information of info_duration_time indication shows the time; Info_x: the information of indication is presented at the x coordinate on the screen; The information of info_y indication is presented at the y coordinate on the screen; The information of info_width indication is presented at width indication on the screen; The information of info_height indication is specified the height that is presented on the screen.
Preferably, if current programming events has the identical with it related information of a plurality of types, then receiving terminal for digital television is play related information in order according to each related information corresponding sequence number in the related information descriptor.
Implement digital television information player method provided by the invention,, can be associated by accurately that various related informations are identical with type programming events by programming events is classified according to identical criteria for classification with related information.When the user watches certain programming events of certain channel, receiving terminal for digital television is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
Referring to Fig. 3, be digital television information player method the 3rd embodiment schematic flow sheet provided by the invention, be that with the difference of a last embodiment in the present embodiment, described related information descriptor is described the keyword of related information; What the keyword of described related information was a headend equipment according to this related information is content-defined.In the present embodiment, will be with the title of programming events and the keyword foundation that whether both are associated as judgement of related information, if in Event Information Table, do not add content descriptors with the reply headend equipment, or digital TV network is not supported the situation of programming events classification.This digital television information player method is as shown in Figure 3:
At step S300, headend equipment defines the keyword of each related information according to the content of each related information in the related information descriptor.
More specifically, in the present embodiment, comprise in the related information descriptor: the package identification of each related information correspondence, sequence number, type or keyword, play rules; Described related information descriptor is mainly described the keyword of related information; What the keyword of described related information was a headend equipment according to this related information is content-defined.
In embodiments of the present invention, can carry out as giving a definition the related information descriptor:
Associated?Information?Descriptor(){
Descriptor_tag // 8bit may be defined as 0x8A herein
Descriptor_length // 8bit, descriptor length
Key_word_length // 8bit, key length
Key_word _ data () // keyword content
Info_PID // 8bit, the Packet Identifier of information data
Info_index // 8bit, the sequence number of information data
Info_type // 8bit, the type of information data
Info_duration_time // 32bit, information shows the time
Info_x // 16bit is presented at the x coordinate on the screen
Info_y // 16bit is presented at the y coordinate on the screen
Info_width // 16bit is presented at the width on the screen
Info_height // 16bit is presented at the height on the screen
}
To comparing in the above-mentioned related information descriptor with among second embodiment, have the explanation of field of change as follows:
Key_word_length: key length, 8 bit fields.Be used to describe the length of ensuing key data, maximum is 255 bytes.Key_word _ data (): the keyword content, support Chinese, English, digital, conventional sign.Content-length equals the length of key_word_length.Consistent among the effect of other field and second embodiment.
Headend equipment adds this related information descriptor in PSI/SI.
Preferably, present embodiment can be added the related information descriptor in the information table of original information distributing system definition, the concrete definition of this information table table is different according to the difference of information distributing system, can be BAT bouquet association table, the SDT Service Description Table in the PSI/SI standard, also can be the table that headend equipment redefines as required.
At step S301, headend equipment is multiplexing with flowing to into multiplexer together with other program baseband transmission of Event Information Table and related information descriptor, with the process of the code stream after multiplexing modulating unit, transmits on digital TV network then.
At step S302, receiving terminal for digital television receive the user by remote controller send change the platform instruction after, dominant frequency point in the locking digital TV network and demodulation obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream.In the present embodiment, described receiving terminal for digital television can be digital TV set-top box or digital TV integrated machine.
At step S303, receiving terminal for digital television is resolved described Event Information Table, obtains the title of current programming events.More specifically, receiving terminal for digital television is resolved Event Information Table, obtains the title of current programming events, and time started and duration.
At step S304, receiving terminal for digital television is resolved described related information descriptor, obtains the keyword of each related information in the described related information descriptor.
At step S305, receiving terminal for digital television judges one by one whether the keyword of each related information in the described related information descriptor is comprised by the title of current programming events.That is, whether the title of current programming events has comprised the keyword of each related information.When receiving terminal for digital television judges that the keyword of relevant information is comprised by the title of current programming events, judge the information of this related information, execution in step S306 for being associated with current programming events; Otherwise, ignore this related information, continue to judge whether the keyword of next bar related information is comprised by the title of current programming events, until all related informations in the related information descriptor are all finished judgement.
At step S306, receiving terminal for digital television obtains its keyword by the package identification of the related information correspondence that title comprised of current programming events in the related information descriptor; And, obtain the corresponding data bag in the baseband transmission stream according to described package identification.
At step S307, receiving terminal for digital television is resolved described packet, and plays according to play rules corresponding in the described related information descriptor.Preferably, if current programming events has the identical with it related information of a plurality of types, then receiving terminal for digital television is play related information in order according to each related information corresponding sequence number in the related information descriptor.
Implement digital television information player method provided by the invention,, can be associated by accurately that various related informations are identical with type programming events by programming events is classified according to identical criteria for classification with related information.When the user watches certain programming events of certain channel, receiving terminal for digital television is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
Referring to Fig. 4, be the digital television information Play System first example structure schematic diagram provided by the invention, as shown in Figure 4, this system comprises: headend equipment 1 and receiving terminal for digital television 2;
Described headend equipment 1 is used for the content according to each related information, the related information descriptor of each related information of definition in the related information descriptor; And, on digital TV network, transmit in the described related information descriptor adding baseband transmission stream.
Described receiving terminal for digital television 2, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; Resolve described Event Information Table and related information descriptor, obtain the related information descriptor of each related information; And judge one by one according to described related information descriptor whether each related information is associated with described current programming events; And the related information that broadcast is associated with described current programming events.
When receiving terminal for digital television 2 was set-top box, it play related information by the Digital Television that is attached thereto; When receiving terminal for digital television 2 was Digital Television and set-top box integrated machine, its video module by self was play related information.
Implement digital television information Play System provided by the invention, can be associated by accurately that various related informations are identical with classification programming events, when the user watches certain programming events of certain channel, receiving terminal for digital television is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
Referring to Fig. 5, be the digital television information Play System second example structure schematic diagram provided by the invention, in the present embodiment, with the structure of this digital television information Play System of more detailed description.As shown in Figure 4, this system comprises equally: headend equipment 1 and receiving terminal for digital television 2;
Described headend equipment 1 is used for the content according to each related information, the related information descriptor of each related information of definition in the related information descriptor; And, on digital TV network, transmit in the described related information descriptor adding baseband transmission stream.
Described receiving terminal for digital television 2, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; Resolve described Event Information Table and related information descriptor, obtain the related information descriptor of each related information; And judge one by one according to described related information descriptor whether each related information is associated with described current programming events; And the related information that broadcast is associated with described current programming events.
More specifically, in embodiments of the present invention, described related information descriptor is used to represent the type of related information; What the type of described related information was a headend equipment according to this related information is content-defined.
Headend equipment 1 is used for the content according to each programming events, the type of each programming events of definition in Event Information Table; According to the content of each related information, package identification, sequence number, type or keyword, the play rules of each related information of definition in the related information descriptor; And described related information descriptor is inserted in the table in the PSI/ SI standard, add in the baseband transmission stream together with Event Information Table, on digital TV network, transmit.
Receiving terminal for digital television 2, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; And resolve described Event Information Table and related information descriptor, obtain the type of current programming events and the type of each related information; And whether the type of judging each related information in the described related information descriptor one by one is consistent with the type of described current programming events; Play its type related information consistent with the type of described current programming events.
More specifically, described headend equipment is consistent with the criteria for classification of each related information in the related information descriptor to the criteria for classification of each programming events in the Event Information Table, this criteria for classification can be a multiclass classification, for example comprises: one-level classification, secondary classification and User Defined classification.
The type of headend equipment 1 each programming events of definition is the content according to each programming events.Type for programming events, headend equipment 1 can be at Program Specific Information (PSI in the present embodiment, Program Specific Information)/content descriptors (content_descriptor) of Event Information Table in business information (SI, the Service Information) standard represents.
In the PSI/SI standard, the information of the programming events that Event Information Table provides each channel in chronological order and comprised.Can insert in this table by the content descriptors (content_descriptor) of PSI/SI standard definition to provide clearly information description for incident, promptly each programming events of describing is classified, each programming events be can be respectively and one-level classification and secondary classification carried out, each classification all is 4 bit fields, just can define 16 big classes at most like this, 256 groups are if can also can satisfy the classificating requirement of various programming events fully by the maximum two layers of classification of User Defined inadequately.
Simultaneously, the criteria for classification of each related information is consistent with the criteria for classification of each programming events in the Event Information Table in 1 pair of related information descriptor of headend equipment, can be multiclass classification also, for example comprises: one-level classification, secondary classification and User Defined classification.
More specifically, in the present embodiment, comprise in the related information table: the package identification of each related information correspondence, sequence number and related information descriptor; The type of described related information is represented by the related information descriptor in the described related information table.In embodiments of the present invention, can carry out as giving a definition the related information descriptor:
Associated?Information?Descriptor(){
Descriptor_tag // 8bit may be defined as 0x8A herein
Descriptor_length // 8bit, descriptor length
Content_nibble_level_1 // 4bit, the classification of incident one-level
Content_nibble_level_2 // 4bit, the incident secondary classification
User_nibble_1 // 4bit, the User Defined classification 1 of incident
User_nibble_2 // 4bit, the User Defined classification 2 of incident
Info_PID // 8bit, the Packet Identifier of information data
Info_index // 8bit, the sequence number of information data
Info_type // 8bit, the type of information data
Info_duration_time // 32bit, information shows the time
Info_x // 16bit is presented at the x coordinate on the screen
Info_y // 16bit is presented at the y coordinate on the screen
Info_width // 16bit is presented at the width on the screen
Info_height // 16bit is presented at the height on the screen
}
Each explanation of field that adopts in the above-mentioned related information descriptor is as follows:
Descriptor_tag: descriptor tag, 8 bit fields may be defined as 0x8A(in " digital video broadcasting Chinese business information standard " the inside at this, provide the privately owned descriptor tag that 0x80-0xFE defines voluntarily for the user).
Descriptor_length: descriptor length, 8 bit fields are used to describe this byte length of descriptor afterwards.
Content_nibble_level_1: the classification of incident one-level, 4 bit fields are classified corresponding to the one-level in the content descriptors.Wherein 0x0 represents film/drama, and 0x2 represents news and current affairs, and 0x3 represents performance/match, and 0x4 represents physical culture etc., and the specific coding mode is referring to " digital video broadcasting Chinese business information standard ".
Content_nibble_level_2: the incident secondary classification, 4 bit fields are corresponding to the secondary classification in the content descriptors.When the content_nibble_level_1 value is 0x1, this value is represented film/drama (common) for 0x0,0x1 represents detective/horror film, 0x2 represents adventure movie/Western/war film etc., when the content_nibble_level_1 value is 0x2, this value is represented news and current affairs (common) for 0x0, and 0x1 represents news/weather forecast etc., and the specific coding mode is referring to " digital video broadcasting Chinese business information standard ".
User_nibble_1: User Defined classification 1,4 bit field, corresponding to the self-defined classification 1 of the user's programme content in the content descriptors.Be defaulted as 0x0, be invalid value.
User_nibble_2: User Defined classification 2,4 bit fields, corresponding to the self-defined classification 2 of the user's programme content in the content descriptors.Be defaulted as 0x0, be invalid value.
Info_PID: the Packet Identifier of information data (Packet Identifier, PID), 8 bit fields.Identical with the pid value of real data in the Program Map Table.
Info_index: the sequence number of information data, 8 bit fields, this field is different from info_PID, is used for the DISPLAY ORDER of descriptor data.Acquiescence is since 1 counting.
Info_type: the type of information data, 8 bit fields, its value is invalid for 0x0 represents, and 0x1 represents video data, and 0x2 represents voice data, 0x3 representative picture data, 0x4 represents lteral data, and other are worth reservation, expand waiting.
Info_duration_time: information shows the time, and 32 bit fields are used for the time that descriptor continues demonstration, and unit is second.
Info_x: information is specified the x coordinate that is presented on the screen, 16 bit fields, and unit is a pixel.
Info_y: information is specified the y coordinate that is presented on the screen, 16 bit fields, and unit is a pixel.
Info_width: information is specified the width that is presented on the screen, 16 bit fields, and unit is a pixel.
Info_height: information is specified the height that is presented on the screen, 16 bit fields, and unit is a pixel.
Based on above-mentioned related information descriptor, headend equipment 1 need add the related information descriptor in PSI/SI.The related information descriptor of each related information gathers together with corresponding package identification, sequence number, forms the related information descriptor of this digital TV network.
Preferably, headend equipment 1 can be added the related information descriptor in the information table of original information distributing system definition, the concrete definition of this information table table is different according to the difference of information distributing system, can be BAT bouquet association table, the SDT Service Description Table of standard among the PSI/SI, also can be the table that headend equipment 1 redefines as required.
After headend equipment 1 is finished type definition to programming events and related information, flow to into multiplexer multiplexing together with other program baseband transmission the PSI/SI of Event Information Table and related information descriptor, with the process of the code stream after multiplexing modulating unit, on digital TV network, transmit then.
Further, described receiving terminal for digital television 2 comprises:
Frequency locking demodulation module 21, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream.More specifically, receiving terminal for digital television 2 receive the user by remote controller send change the platform instruction after, dominant frequency point and demodulation in the frequency locking demodulation module 21 locking digital TV networks obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream.In the present embodiment, described receiving terminal for digital television 2 can be digital TV set-top box or Digital Television and set-top box integrated machine.
First comparing module 22 is used to resolve described Event Information Table and related information descriptor, obtains the type of current programming events and the type of each related information; And whether the type of judging each related information in the described related information descriptor one by one is consistent with the type of described current programming events; If consistent, judge that then this related information is associated with current programming events.
More specifically, first comparing module 22 is resolved Event Information Table, obtains the title of current programming events, and time started and duration, resolve content descriptors simultaneously and get access to one-level classification, the secondary classification of this programming events, if there is the User Defined classification also will obtain.First comparing module 22 is also resolved described related information descriptor, obtains the type of each related information in the described related information descriptor.When the type of first comparing module, 22 judgement related informations was consistent with the type of current programming events, the multiclass classification that must guarantee both all was the unanimity of coincideing.Otherwise, ignore this related information, first comparing module 22 continues to judge whether next bar related information is consistent with the type of current programming events, until all related informations in the related information descriptor are all finished judgement.
Information playing module 23 is used to play the related information that is associated with described current programming events.More specifically, information playing module 23 comprises as shown in Figure 7:
Sign acquiring unit 231 is used for according to described related information descriptor, obtain described first comparing module judge with current programming events to the corresponding package identification of related related information.
Packet acquiring unit 232 is used for the package identification that obtains according to described sign acquiring unit 231, obtains the corresponding data bag in the baseband transmission stream.
Information playing unit 233 is used to resolve the packet that described packet acquiring unit 232 is obtained, and plays according to play rules corresponding in the described related information descriptor.Described play rules is meant the type of the information data of being indicated by field info_type in the related information descriptor; The information of info_duration_time indication shows the time; Info_x: the information of indication is presented at the x coordinate on the screen; The information of info_y indication is presented at the y coordinate on the screen; The information of info_width indication is presented at width indication on the screen; The information of info_height indication is specified the height that is presented on the screen.
Preferably, if current programming events has the identical with it related information of a plurality of types, then information playing module 23 is play related information in order according to each related information corresponding sequence number in the related information descriptor.
Implement digital television information Play System provided by the invention,, can be associated by accurately that various related informations are identical with type programming events by programming events is classified according to identical criteria for classification with related information.When the user watches certain programming events of certain channel, receiving terminal for digital television is judged the classification of current programming events, receive the information corresponding with this programming events, present on TV, the information that this mode can be guaranteed to present on TV is consistent with the current program category of watching of user, have more specific aim, the also easier admittance of user, the propelling movement effect of raising information.
Referring to Fig. 6, be digital television information player method the 3rd example structure schematic diagram provided by the invention, be that with the difference of a last embodiment in the present embodiment, described related information descriptor is mainly described the keyword of related information; What the keyword of described related information was a headend equipment according to this related information is content-defined, second comparing module 24 will be with the title of programming events and the keyword foundation that whether both are associated as judgement of related information, if in Event Information Table, do not add content descriptors with the reply headend equipment, or digital TV network is not supported the situation of programming events classification.This digital television information player method is as shown in Figure 6: this system comprises: headend equipment 1 and receiving terminal for digital television 2;
Described headend equipment 1 is used for the content according to each related information, the keyword of each related information of definition in the related information descriptor; And, on digital TV network, transmit in described Event Information Table and the related information descriptor adding baseband transmission stream.
Described receiving terminal for digital television 2, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream; And resolve described Event Information Table and related information descriptor, obtain the title of current programming events and the keyword of each related information; And judge the keyword that whether comprises each related information in the described related information descriptor in the title of described current programming events one by one; If comprise, then play this related information.
More specifically, headend equipment 1 defines the keyword of each related information according to the content of each related information in the related information descriptor.In the present embodiment, comprise in the related information descriptor: the package identification of each related information correspondence, sequence number, type or keyword, play rules; Described related information descriptor is mainly described the keyword of related information; What the keyword of described related information was a headend equipment according to this related information is content-defined.
In embodiments of the present invention, can carry out as giving a definition the related information descriptor:
Associated?Information?Descriptor(){
Descriptor_tag // 8bit may be defined as 0x8A herein
Descriptor_length // 8bit, descriptor length
Key_word_length // 8bit, key length
Key_word _ data () // keyword content
Info_PID // 8bit, the Packet Identifier of information data
Info_index // 8bit, the sequence number of information data
Info_type // 8bit, the type of information data
Info_duration_time // 32bit, information shows the time
Info_x // 16bit is presented at the x coordinate on the screen
Info_y // 16bit is presented at the y coordinate on the screen
Info_width // 16bit is presented at the width on the screen
Info_height // 16bit is presented at the height on the screen
}
To comparing with an embodiment in the above-mentioned related information descriptor, have the explanation of field of change as follows:
Key_word_length: key length, 8 bit fields.Be used to describe the length of ensuing key data, maximum is 255 bytes.Key_word _ data (): the keyword content, support Chinese, English, digital, conventional sign.Content-length equals the length of key_word_length.Consistent among the effect of other field and second embodiment.
Headend equipment adds this related information descriptor in PSI/SI.The related information descriptor of each related information gathers together with corresponding package identification, sequence number, the related information descriptor of forming this digital TV network, headend equipment flows to into multiplexer multiplexing together with other program baseband transmission Event Information Table and related information descriptor then, code stream after multiplexing through modulating unit, is transmitted on digital TV network.
Preferably, present embodiment can be added the related information descriptor in the information table of original information distributing system definition, the concrete definition of this information table is different according to the difference of information distributing system, can be BAT bouquet association table, the SDT Service Description Table of standard among the PSI/SI, also can be the table that headend equipment redefines as required.
Further, the receiving terminal for digital television that provides of present embodiment specifically comprises:
Frequency locking demodulation module 21, the dominant frequency point and the demodulation that are used to lock in the digital TV network obtain baseband transmission stream, obtain Event Information Table and related information descriptor in the described baseband transmission stream.
Second comparing module 24 is used to resolve described Event Information Table and related information descriptor, obtains the title of current programming events and the keyword of each related information; And judge the keyword that whether comprises each related information in the described related information descriptor in the title of described current programming events one by one; If comprise, judge that then this related information is associated with current programming events.
More specifically, second comparing module 24 is resolved Event Information Table, obtains the title of current programming events, and time started and duration; Second comparing module 24 is resolved described related information descriptor, obtains the keyword of each related information in the described related information descriptor.Second comparing module 24 judges one by one whether the keyword of each related information in the described related information descriptor is comprised by the title of current programming events.That is, whether the title of current programming events has comprised the keyword of each related information.When second comparing module 24 judges that the keyword of relevant information is comprised by the title of current programming events, judge the information of this related information for being associated with current programming events; Otherwise, ignore this related information, second comparing module 24 continues to judge whether the keyword of next bar related information is comprised by the title of current programming events, until all related informations in the related information descriptor are all finished judgement.
Information playing module 23 is used to play the related information that is associated with described current programming events.Information playing module 23 comprises as shown in Figure 7:
Sign acquiring unit 231 is used for according to described related information descriptor, obtain described second comparing module judge with current programming events to the corresponding package identification of related related information.
Packet acquiring unit 232 is used for the package identification that obtains according to described sign acquiring unit 231, obtains the corresponding data bag in the baseband transmission stream.
Information playing unit 233 is used to resolve the packet that described packet acquiring unit 232 is obtained, and plays according to play rules corresponding in the described related information descriptor.
Certainly, in a receiving terminal for digital television, whether support the classification of programming events, need equip first comparing module or second comparing module respectively, with the different situation of correspondence according to Event Information Table.At last, it is emphasized that the receiving terminal for digital television among the present invention can be a set-top box, perhaps Digital Television and set-top box integrated machine.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.