Summary of the invention
The acquisition methods that the purpose of this invention is to provide a kind of digital television program guide, the technical problem that solve be to use the family convenient browse digital television programs information.
For solving the problems of the technologies described above, the present invention by the following technical solutions: a kind of acquisition methods of digital television program guide may further comprise the steps: Event Information Table (EIT_BUF) space in (1), the Digital Television initializes memory; (2), the basic TV Guide (EPG) of Digital Television receiving digital television broadcast from network, and obtain basic TV Guide (EPG) and transmit complete SI information in the stream, obtain Event Information Table (EIT) data in the SI information, and with in Event Information Table (EIT_BUF) space of Event Information Table (EIT) storage in memory; (3) Digital Television is according to the description (EIT Schedule EITpresent/following) of the current or subsequent program of certain time period of the current program in the Event Information Table (EIT) decoding current video information data, and decoded current video information data is stored in (EIT_BUF) space; (4) user opens digital television program guide, and Digital Television obtains the current video information data from Event Information Table (EIT_BUF) space, and with the digital television program guide interface display on display.
Event Information Table of the present invention (EIT) comprises the actual subordinate list (EIT scheduleactual) of Event Information Table and other subordinate list (EIT schedule other) of Event Information Table.
Event Information Table of the present invention (EIT) uses linkage descriptor (LINKAGE_TYPE=0X04) to point to the transmission stream of basic TV Guide EPG.
Certain time period of current program of the present invention, description (EIT Schedule EITpresent/following) current or subsequent program comprised the simple descriptor of start time information, duration information and the incident of TV programme.
TV programme of the present invention is represented the TV programme of a TV station by service, utilizes event that the TV programme service of TV station is divided into several time periods, and each time period is represented with event_id.
Current or subsequent program of the present invention comprises existing or other transmit current/successor information (table_id=0x4e or 0x4F), current program information (section_number=0) and the subsequent program information (section_number=1) of stream.
When current event of the present invention changed, version_number added 1, represented the variation of current/subsequent program description generation.
The span of the listing of existing transmission stream of the present invention is table_id=0x50~0x5F.
The span that other transmit the listing of stream of the present invention is table_id=0x60~0x6F.
What current video information data of the present invention comprised the generic of theme, program of start and end time, the program of simple introduction, the program of information, programm name, the program of the sign of number of programs, program provider of the fate of transmission information, the number that transmits channel and title, transmission and title, transmission network and program watches the classification restriction.
The present invention compared with prior art according to the digital tv encoder standard, correctly handles the content of the basic TV Guide EPG information of digital television broadcasting, makes the demonstration of TV Guide EPG in set-top box more reasonable simultaneously.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
In Digital Television, all information and signal comprise that video, audio frequency, literal, picture etc. have all become data after digitlization.Data will form transmission (TS) bag of regular length according to related standards (generally being MPEG-2) packing before transmission, the TS bag length of MPEG-2 is 188 bytes, and then is transferred to the destination fast by network.For the identical TS of these length bag, if there is not guidance information, the receiving terminal decoder is to find the code stream that needs.Therefore, in MPEG-2, defined PSI specially.The effect of PSI is that setting automatically and guiding decoder are decoded.
PSI is made up of Program Association Table (PAT), CAT Conditional Access Table (CAT), Program Map Table (PMT) and network information table (NIT), and each table is divided into plurality of sections mapping (conversion) to be transmitted in TS.In PAT, program 0 is always that NIT reserves.Here pid value is metric, and the pid value that distributes in related standards is hexadecimal, promptly uses the value representation of 0 * beginning.As metric 22,54, be respectively 0 * 16,0 * 36 in hexadecimal.
The PSI data provide and receive the information that function is provided with automatically, make it the different program streams in the multiplex stream is decoded.But the PSI table can not provide the identifying information about professional and program.Therefore, the DVB tissue is expanded the PSI of MPEG-2, and the multiple form of different information categories is provided, and is referred to as SI.SI is used for describing data such as transfer system, transmission content and broadcast data stream timetable, and its helps Integrated Receive Decoder (IRD) automatic tuning, provides additional information to the user, makes IRD that alternative business can be set automatically.SI is provided by BAT bouquet association table (BAT), SDT Service Description Table (SDT), Event Information Table 9 tables such as (EIT), and they are divided into plurality of sections and are mapped to transmission in the TS bag.In PSI, the content of network information table (NIT) is special-purpose and stipulate, but defined the syntax and semantics of NIT in SI shows specially, expanded the data format of NIT, aims to provide more information about physical networks.Different with PAT, PMT among the PSI, CAT is, 9 tables of SI are mandatory transmission in actual use and not all.In actual (existing) transfer system, the transmission of NIT, SDT, EIT and TDT is enforceable.In other transfer system, NIT, SDT, EIT are optional transmission.BAT, RST, TOT under any circumstance are optional transmission.ST, SIT and DIT just exist when needing.Except that the EIT that carries schedule information, all PSI and SI table all can not scrambling, in order to avoid influence the decoder operate as normal.
To the requirement of EPG, EPG should provide basic functions such as programme and current playing programs according to " digital TV broadcasting service information standard ", and senior functions such as program additional information, program classification, program booking and parental ratings control also can be provided.In interactive television, EPG is more complicated, should be able to provide such as functions such as programme content background information, visual angle switching, weather forecast, recreation.These functions of EPG all can realize by the data that SI provides.That is to say that SI is the prerequisite that realizes the EPG function.In the SI table, the most important thing is NIT, EIT and SDT, utilize the data in these 3 tables just can construct the different EPG of function.
Therefore, for make the user convenient browse digital television programs information, the preparation method of digital television program guide of the present invention may further comprise the steps: Event Information Table (EIT_BUF) space in (1), the Digital Television initializes memory; (2), the basic TV Guide (EPG) of Digital Television receiving digital television broadcast from network, and obtain basic TV Guide (EPG) and transmit complete SI information in the stream, obtain Event Information Table (EIT) data in the SI information, and with in Event Information Table (EIT_BUF) space of Event Information Table (EIT) storage in memory; (3) Digital Television is according to the description (EIT Schedule EITpresent/following) of the current or subsequent program of certain time period of the current program in the Event Information Table (EIT) decoding current video information data, and decoded current video information data is stored in (EIT_BUF) space; (4) user opens digital television program guide, and Digital Television obtains the current video information data from Event Information Table (EIT_BUF) space, and with the digital television program guide interface display on display.
Event Information Table EIT of the present invention comprises the actual subordinate list (EIT schedule actual) of Event Information Table and other subordinate list (EIT schedule other) of Event Information Table.
Event Information Table EIT of the present invention uses linkage descriptor (LINKAGE_TYPE=0X04) to point to the transmission stream of basic TV Guide EPG.
Certain time period of current program of the present invention, description (EIT Schedule EITpresent/following) current or subsequent program comprised the simple descriptor of start time information, duration information and the incident of TV programme.
TV programme of the present invention is represented the TV programme of a TV station by service, utilizes event that the TV programme service of TV station is divided into several time periods, and each time period is represented with event_id.
Current or subsequent program of the present invention comprises existing or other transmit current/successor information (table_id=0x4e or 0x4F), current program information (section_number=0) and the subsequent program information (section_number=1) of stream.
When current event of the present invention changed, version_number added 1, represented the variation of current/subsequent program description generation.
The span of the listing of existing transmission stream of the present invention is table_id=0x50~0x5F.
The span that other transmit the listing of stream of the present invention is table_id=0x60~0x6F.
What current video information data of the present invention comprised the generic of theme, program of start and end time, the program of simple introduction, the program of information, programm name, the program of the sign of number of programs, program provider of the fate of transmission information, the number that transmits channel and title, transmission and title, transmission network and program watches the classification restriction.
As shown in Figure 3, be the decoding process figure of digital television program guide of the present invention, its idiographic flow is as follows: one, the user opens Digital Television; Two, the EIT_BUF space in the Digital Television initializes memory; Three, Digital Television is obtained and is transmitted complete SI information in the basic TV Guide EPG transmission of the stream stream, obtains Event Information Table EIT table data in the SI information, solves the current video information data; Four, the current video information data is stored among the memory EIT_BUF; Five, the user sends instruction by remote controller, after Digital Television receives instruction, obtains from memory EIT_BUF space in the Event Information Table EIT_BUF space and obtains the current video information data; Six, with the digital television program guide interface display on display.
As shown in Figure 4, be the flow chart of standard identification of the present invention, its idiographic flow is as follows: one, beginning; Two, Digital Television initialization; Three, the current video information data in the EIT_BUF space of Digital Television from memory is obtained current frame data; Four, Digital Television is obtained down frame data by the current video information data; Five, accumulative total frame (F+2); Six, two frame data are compared, difference then enters step 8, identically then enters next step; Seven, identical N+1; Eight, whether be one second, be then to enter next step, otherwise return step 3; Nine, finish.
A service of the present invention represents the program of a platform, with event service is divided into a lot of time periods, each independent event can go to describe with an event_id, for example: the news hookup program of 19:00---19:30 just can be used as an event and goes to describe, and current incident can have current/subsequent descriptions.At first table_id=0x4e or 0x4F represent that this is the current/successor information existing or other transmission are flowed.Section_number=0 then, expression is a current program information, section_number=1, expression is a subsequent program information.When incident changed, version_number added 1, represented that variation has also taken place in current/subsequent program description.For example:
19:00----19:30 news hookup version_number=1 event_id=0x01
19:31----20:00 cartoon version_number=2 event_id=0x02
More than current/subsequent program of two incidents describe variation just taken place.
What the current video information data transmitted the stream generic of theme, program of start and end time, the program of simple introduction, the program of information, programm name, the program of the sign of number of programs, program provider of the fate, the number that transmits channel and the title that solve the information that (what meaning solves is) transmit, transmission and title, transmission network and program from basic TV Guide EPG watches the classification restriction, and above content such as Fig. 2 demonstrate concrete digital television program guide interface.
The present invention once decodes all programme information contents and preservation according to the digital coding standard.Be implemented in the same user interface user and when the program video information of same of viewing channel 1, browse other channel program advance notice, program detail information content, and the parallel multiple programs schedule information of browsing.