Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is described in further details below in conjunction with embodiment and accompanying drawing.At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Below in conjunction with the drawings and specific embodiments system and method for the present invention is elaborated.
At first, please refer to Fig. 1, in the present embodiment, label television system 14 of the present invention is to be applied to digital television system, be coupled respectively with the code stream playing device 11 and the multiplexer 13 of digital television system, be used for the state of the Digital Television incident of the program stream of code stream playing device transmission is analyzed and judged, with the form sign of label data and the accurate state variation of description Digital Television incident, a corresponding action is set simultaneously, for example switch to application data or beginning program recording etc., with request according to the digital television system terminal use, when the state variation of described Digital Television incident, carry out this action, and described label data is sent by multiplexer 13, so that the terminal use of digital television system is when selecting or set the program of watching, can be more initiatively, and be unlikely to influence view reception effect because of clock jitter.
In the present embodiment; be that to broadcast one road program stream with the code stream playing device be example; label television system of the present invention promptly is to carry out state description and action setting at the incident in this road program stream; in other embodiments; also at two-way or more the incident in the multi-channel program code stream carry out state description and action is provided with, these all are contained in protection scope of the present invention.
As shown in Figure 1, the label television system 14 of present embodiment comprises label editing unit 141, label unit 142 and label data broadcast unit 143, wherein:
Label editing unit 141 is used for changing according to the Digital Television state-event, calculate the basic shift time that state-event changes, use this basic shift time to describe the beginning and ending time that described Digital Television incident is broadcasted, entrained time data when generating label and sending.Each business at a time uses two labels to describe the end shift time of current event and the beginning shift time of next incident respectively, and shift time calculates in broadcast beginning and ending time of terminal with respect to incident, with millisecond (ms) as least unit.For example, the beginning shift time of certain incident is 3500ms, represents that this incident began to broadcast in terminal after 3.5 seconds; The end shift time of certain incident is 1200ms, represents that this incident finished to broadcast in terminal after 1.2 seconds.In addition, the state variation of above-mentioned Digital Television incident, also promptly broadcasting information can obtain from various channels, for example can from incident (program) advance notice of electronic program guides, obtain broadcast information, perhaps obtain broadcast information in the incident that also can from memory cell, store (program) advance notice, even can obtain from the various medium of advance notice Digital Television incident, the present invention is not limited.
Wherein, described business is meant the code stream of each digital channel transmission, also is a broadcast items stream of Digital Television, as CCTV1, BTV1 etc., each business is made up of a plurality of incidents according to the transmission time order, and each incident is exactly a program, as stated in the Background Art.Illustrate, CCTV1 begins to play news in 7 o'clock sharps, until intercut advertisement in five minutes 7 thirty, then continue the broadcast of this news, up to 8 o'clock sharps, in 7 o'clock to 8 o'clock this hour, this CCTV1 business has comprised three incidents, the i.e. news of the advertisement of the news of 7:00~7:30,7:30~7:35,7:35~8:00 so.
Label unit 142 is coupled with code stream playing device 11, be used for the state variation according to the Digital Television incident of the business (program stream) of code stream playing device transmission, the label that carries time data that the label editing unit is generated changes at this state-event and constantly sends.Wherein, the method of decision event state variation can be by gathering, observe and select the method for I frame, because in mpeg encoded, picture generally is divided into three kinds, be intra-coded frame I, forward predicted frame P and two-way interpolation frame B, because the coded system of I frame is similar to the jpeg image coded system, shows picture picture completely, can be used for observing picture, and B frame and P frame belong to incomplete picture, can not be used to observe picture, therefore, take the method for selecting the I frame to observe.The I frame is gathered in this unit 142 that labels from the program stream of code stream playing device transmission, and on program interface, show, because each I frame all comprises the temporal information that frame produces, if the current event state changed in the moment of certain I frame, the unit 142 that then labels will send in the moment of described I frame at the label that carries time data that this event tag edit cell generates.
Label data broadcasts unit 143 and is coupled with described multiplexer 13, be used for the label that carries time data that the described unit 142 of labelling sends is packaged as the given transmission form, and be multiplexed into by the label data that described multiplexer 13 will be packed in the network of digital television system and transmit.Wherein, the label data packing can be made into this label data the data file of specific format by using Software tool.And, in the transport stream of digital television system, label data is with independently professional broadcast, the data of each label are put in the section (section), be bundled in a transport stream (TS:Transport Stream) bag and broadcast, the data of different labels are independent of each other in packing tissue and transmission course.In addition, the business of carrying label data can send in a plurality of transport stream, comprise identical label data in each business, the terminal of digital television system can be received the label data that label television system 14 sends at digital television business in current transport stream and other transport stream in a road sign is signed data service.Such as program making label data to A, two digital channels of B, though A, B two-way TV programme are different transport stream, but two label datas describing respectively at A channel and B channel can send with one road TS stream, terminal is signed in the data service at a road sign received.And at any time, send two labels at most simultaneously at a business, and the end of current event and the beginning of next incident are described respectively, guarantee like this to send more state information of event with very little bandwidth.So that 20 transport stream to be arranged in the network, 10 professional calculating of bag in each transport stream, intactly define the label of all incidents of playing and being about to play of a certain moment in 200 business, the data volume that needs 30080 bits uses the bandwidth of 31Kbps in 1 second these label datas transmissions to be finished.So significantly reduce volume of transmitted data and improved efficiency of transmission.
According to one embodiment of the invention, this label television system comprises that also at least one action is provided with unit (figure does not show), this action is provided with the unit can be contained in label editing unit 141, be used in a kind of data of label definition, these data are used to notify terminal to begin or carry out the finish time corresponding action in the Digital Television incident.For example, if the terminal use of digital television system does not want to watch a certain incident (for example advertisement) in the program stream of code stream playing device transmission, then can trigger corresponding action the unit is set by terminal operation (for example importing certain button), as the application data switch unit, begin or when the last incident of this incident finishes in this incident, switch to application data, the application data here can be the code stream that operator issues voluntarily, for example picture, literal, audio frequency, video etc.For another example, if the terminal use of digital television system wishes to record certain incident (for example film), this incident may be that the code stream playing device issues, also may local operator issue, then can trigger corresponding action the unit is set by terminal operation (for example importing certain button), as recording elements, begin or when the last incident of this incident finishes, begin to record action in this incident.
According to one embodiment of the invention, this label television system also comprises a comprehensive correction value generation unit (figure does not show), this comprehensive correction value generation unit can be contained in label editing unit 141, be used for taking all factors into consideration incident broadcast time-delay, business data flow is at the transmission equipment of digital television system and the transmission delay in the digital TV network, label data is behind the combined influence of the transmission equipment of digital television system and the factors such as transmission delay in the digital TV network, generate comprehensive correction value Δ t, broadcast start-stop shift time value with the correction incident, also promptly revise basic shift time Δ T, obtain a more accurate and shift time accurately.For example, if the basic shift time of the state-event before considering comprehensive correction value is Δ T, considered that then the shift time that draws after the comprehensive above-mentioned multinomial influencing factor is Δ T+ Δ t.
In other words, the shift time of label is obtained by basic shift time and the addition of correction shift time.Basic shift time is the deviant that calculates according to metastable objective factors such as program broadcasting time, label transmitting times.Revising shift time is an experience correction value that draws after the influence of combined factors such as equipment, network having considered, uses this experience correction value that basic shift time is revised, thereby draws label shift time accurately.
According to another embodiment of the present invention, this label television system comprises that also file data packaged unit 144 and data broadcasting broadcast unit 145, wherein:
File data packaged unit 144, be used for application data with operator oneself making or editor, perhaps the required application data of the terminal applies of digital television system is packaged as the file of transport stream format, send to data broadcasting broadcast unit 145 and broadcast away, the application data here can be picture, literal, audio frequency, video etc.
Data broadcasting broadcasts unit 145, is coupled with described multiplexer 13, is used to receive the file that described file data packaged unit 144 generates, and this document is multiplexed in the digital TV network by described multiplexer 13 sends.
According to another embodiment of the present invention, this label television system also comprises memory cell 146, this memory cell 146 can be respectively be coupled with label editing unit, label unit and file data packaged unit, be used to store transport stream, channel information, programme information, label information, relevant journal file etc., for example the schedule information of Digital Television incident.In addition, this memory cell 16 can also be stored the application data of the own editing of operator, as (for example local advertisings) such as picture, literal, audio frequency, videos, offers file data packaged unit 144 processing of packing.
Need to prove, for the terminal that makes digital television system can in time respond label, can also in digital television system, set up a code stream delayer 12, this code stream delayer is connected between code stream playing device 11 and the multiplexer 13, so that the transport stream of described code stream playing device transmission is broadcasted in time-delay.
The foregoing description is the label television system that is used to describe the Digital Television state-event provided by the invention, the present invention also provides a kind of describing method of Digital Television state-event, be applied to digital television system, the Digital Television state-event of the digital television code stream that the code stream playing device of accurate description digital television system is issued, please refer to system configuration sketch shown in Figure 2 and flow chart shown in Figure 3, this method comprises the following steps:
The code stream playing device sends program stream, is transferred to terminal by delayer, multiplexer etc.;
The label editing unit of label television system of the present invention broadcasts information according to the incident of the described program stream that obtains from certain channel, calculate the basic shift time that each state-event changes, use this basic shift time to describe the beginning and ending time that described each incident is broadcasted, entrained time data when the label that generates each incident sends, and this label sent to the unit that labels;
The state-event of the program stream that the unit sends according to described code stream playing device of labelling changes, and the described label of this incident correspondence is changed sending to label data constantly and broadcast the unit at this state-event;
Label data broadcasts the unit and receives described label, is packaged as the transformat of appointment, sends to described multiplexer;
Multiplexer receives the label data of this incident of the incident of program stream of code stream playing device transmission and the transmission of label television system, and both are issued to terminal together, in time label data is responded for terminal.
In order to describe the Digital Television state-event exactly, method of the present invention can also comprise a step of revising basic shift time, promptly in an experience correction value of having considered to draw after the influence of combined factors such as equipment, network, use this experience correction value that basic shift time is revised, thereby draw label shift time accurately.
In addition, the describing method of Digital Television state-event of the present invention can also define the notice terminal begins or carry out the finish time corresponding action in the Digital Television incident data in label, as switch to application data, begin to record or the like, think that terminal provides more applications.In order to describe the Digital Television state-event better and to cooperate terminal applies, this method has also increased a storing step, be used to store transport stream, channel information, programme information, label information, relevant journal file etc., as store the broadcast information of Digital Television incident, so that calculate the basic shift time that state-event changes according to this, use this basic shift time to describe the beginning and ending time that incident is broadcasted, entrained time data when generating label and sending; Store some application datas for another example, so that use this application data according to the request of terminal.The transmission of above-mentioned application data is to be packaged as the file of transport stream format and to send to multiplexer by data broadcasting broadcast unit by the file data packaged unit to send out.
In order to make the terminal label that comprises time data of the corresponding program stream that issued of response label television system of the present invention in time, the describing method of Digital Television state-event of the present invention has also increased by one and has postponed step, broadcast the program stream that the code stream playing device issues by the time-delay of code stream delayer, achieve the above object.
In a word, label television system provided by the invention and Digital Television event description method, by in digital TV transmission stream, inserting the description of label data realization to digital TV event state, its distinctive state-event determination methods, state-event describing method and data transmission method for uplink can ensure the state of notifying terminal numeral TV event timely and accurately, in the deficiency that has overcome electronic program guidance system aspect state-event accuracy and the real-time, and the state information of event that provides based on label data, can fast and accurately state-event be sent to terminal, can realize the application higher in terminal to the state information of event accuracy requirement.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the 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.