-
2006-05-23
10/867,034
2004-06-14
US 7,051,170 B2
2006-05-23
-
-
Matthew D. Anderson
2024-08-14
A method and system for decoding a transport stream are disclosed. In one embodiment, the method includes receiving a system information table in the transport stream, reading an activation time from the system information table, storing the table in a memory without activating values contained in the system information table, determining when the activation time is reached, and activating the values contained in the system information table when the activation time is reached. An advantage of the present invention is that the program and system information tables can be transmitted less frequently and still allow the receiver to execute the acquired ânextâ tables in a timely manner, once the tables have been received for the first time and their activation times have arrived. Another advantage of the present invention is its backward compatibility with the existing protocol formats, because the present invention requires no syntactic modification to the existing table formats.
Get notified when new applications in this technology area are published.
G06F12/00 IPC
Accessing, addressing or allocating within memory systems or architectures
This is a continuation of co-pending U.S. patent application Ser. No. 09/588,041, filed Jun. 5, 2000, now U.S. Pat. No. 6,751,713, entitled âMethod And System For Scheduled Activation Of System Information Tables In Digital Transport Streams,â which is incorporated herein by reference in its entirety.
The present invention relates to the decoding of digital transport streams such as MPEG-2 bitstreams, and in particular to a method and system for scheduled activation of system information tables in transport streams.
In digital television systems or services, such as those compliant with the ATSC Digital Television Standard and/or MPEG-2 protocols, tables containing various program and system information form part of the transport stream. One such table is a âvirtual channel tableâ (in ATSC nomenclature), also known as a channel map. This channel map provides information regarding major and minor channel numbers, carrier frequencies, program numbers and other useful information for all of the virtual channels supported by the system. The virtual channel table syntax includes a âcurrent_next_indicator,â which indicates whether the channel map being provided is currently valid or will become valid ânextâ (i.e. once the currently valid channel map is no longer valid). Other program and system information tables also include a âcurrent_next_indicator.â
When a channel map or other table is to be valid ânext,â the receiver cannot anticipate when the table will become âcurrent.â As a result, when the table becomes âcurrent,â it must be processed immediately in real time by the receiver. In order for channel map changes and other table changes to be reflected quickly at the receiver, the tables must be transmitted in the transport stream as frequently as possible, consuming valuable bandwidth in the transport stream. For channel maps in particular, this problem becomes more significant as increasing numbers of channels must be described in the channel maps. The channel maps must be transmitted along with a large amount of other program data such as program titles, descriptions, schedules, categories and ratings, as well as the packetized elementary streams containing audio and video data, all of which compete for the limited available bandwidth.
Therefore, a need has arisen for a method and system for handling system information tables that address the disadvantages and deficiencies of the prior art. In particular, a need has arisen for a method and system for scheduled activation of system information tables in transport streams.
Accordingly, a method for decoding a transport stream is disclosed. In one embodiment, the method includes receiving a system information table in the transport stream, reading an activation time from the system information table, storing the table in a memory without activating values contained in the system information table, determining when the activation time is reached, and activating the values contained in the system information table when the activation time is reached.
A transport stream reception system is also disclosed. In one embodiment, the system includes a receiver with a memory for storing data. The receiver also has a decoder that receives a system information table in a transport stream, reads an activation time from the system information table, stores the table in the memory without activating values contained in the system information table, determines when the activation time is reached, and activates the values contained in the system information table when the activation time is reached.
An advantage of the present invention is that the program and system information tables can be transmitted less frequently and still allow the receiver to execute the acquired ânextâ tables in a timely manner, once the tables have been received for the first time and their activation times have arrived. Another advantage of the present invention is its backward compatibility with the existing protocol formats. This is because the present invention requires no syntactic modification to the existing table formats. Instead, a new descriptor, called activation_time_descriptor( ), is defined for inclusion in those tables that actually utilize the current_next_indicator to aid the processing in the receiver, such as channel tuning. As a result, the descriptor can be discarded by the receivers that do not recognize it.
For a more complete understanding of the present invention and for further features and advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which:
FIG. 1 is an illustration of an integrated receiver/decoder;
FIG. 2 is an illustration of a Cable Virtual Channel Table used in accordance with the present invention;
FIG. 3 is a table illustrating an activation_time_descriptor for use in the Cable Virtual Channel Table; and
FIG. 4 is a flowchart illustrating a method for activating the Cable Virtual Channel Table in the receiver/decoder.
The preferred embodiments of the present invention and their advantages are best understood by referring to FIGS. 1, 2 and 3 of the drawings. Like numerals are used for like and corresponding parts of the various drawings.
Referring to FIG. 1, a block diagram of an integrated receiver/decoder 10 is shown. Receiver/decoder 10 includes a front end block 11 which receives an incoming RF signal from an antenna (not shown). Front end block 11 includes a tuner 12 for tuning to the desired frequency, a demodulator 13 for demodulating the RF signal and an error correction block 14 for correcting errors in the demodulated signal. The demodulated signal is provided to a transport unit 15, which acts as a demultiplexer. Transport unit 15 provides audio and video data to an audio/video processing system 16, which processes the audio and video data and provides audio and video output to a monitor or other presentation system (not shown). Transport unit 15 provides other data such as program and system information tables to a central processing unit (CPU) 17, which takes appropriate action in response to the data. A memory 18, which may comprise various RAM and ROM memory units, may be used by CPU 17 and transport unit 15 to store received data as needed. As will be seen, memory 18 may be used to store a Virtual Channel Table for future use by receiver/decoder 10.
Demodulator 13 is designed to decode an ATSC/MPEG-2 transport stream such as that described in the ATSC standard entitled âProgram and System Information Protocol for Terrestrial Broadcast and Cable,â Doc. A/65, Dec. 23, 1997 (hereinafter, âATSC A/65â), which is incorporated herein by reference in its entirety, as amended by âAmendment No. 1 to ATSC Standard: Program and System Information Protocol for Terrestrial Broadcast and Cable,â Doc. A/67, Dec. 17, 1999 (hereinafter, âATSC A/67â), which is incorporated herein by reference in its entirety.
In accordance with the MPEG-2 standard (known as ISO/IEC 13818-1), the transport stream received by decoder block 16 includes program and system information in the form of tables. Examples of program and system information tables include program association tables, program map tables, conditional access tables and âprivateâ tables with unspecified content. ATSC A/65 and A/67 provide formats for various âprivateâ tables to carry additional program and system information. Such âprivateâ tables include terrestrial and cable virtual channel tables.
Each one of the aforementioned program and system information tables specified by ISO/IEC 13818-1 and ATSC A/65 and A/67 includes a âcurrent_next_indicatorâ field, which indicates whether the table is currently valid or will become valid ânext.â However, when such a conventional table is to be valid ânext,â a receiver cannot anticipate when the table will become âcurrent,â giving rise to the difficulties outlined above. Accordingly, a new activation_time_descriptor is defined herein for carriage in these program and system information tables to address this problem.
Referring to FIG. 2, a Cable Virtual Channel Table 20 adopted from ATSC A/65 and A/67 in accordance with the present invention is shown. Cable Virtual Channel Table 20 has a number of fields that correspond to fields specified in ATSC A/65 and A/67. As will be described more fully below, Cable Virtual Channel Table 20 includes a novel descriptor (âactivation_time_descriptorâ) among the âadditional descriptorsâ specified by ATSC A/65 and A/67.
The number of bits and format for each field of Cable Virtual Channel Table 20 are set forth in FIGS. 2 and 3. In accordance with ATSC A/65 and A/67 and MPEG-2 protocol, the format code âbslbfâ indicates a bit string, left bit first. The format code âuimsbfâ indicates an unsigned integer, most significant bit first. The format code ârpchof indicates remainder polynomial coefficients, highest order first.
The âtable_idâ field of Cable Virtual Channel Table 20 (FIG. 2) carries a value (0ĂC9) which identifies the table as a Cable Virtual Channel Table in accordance with ATSC A/65 and A/67. The âsection_syntax_indicator,â âprivate_indicator,â âsection_lengthâ and âtransport_stream_idâ fields are defined in accordance with ATSC A/65 and A/67, and will not be described further herein.
The âversion_numberâ field is a five-bit field carrying the version number of Cable Virtual Channel Table 20. For the âcurrentâ Virtual Channel Table (VCT) (current_next_indicator=1), the version number is incremented by 1 whenever the definition of the current VCT changes. For the ânextâ VCT (current_next_indicator=0), the version number is one unit more than that of the âcurrentâ VCT.
The âcurrent_next_indicatorâ field is a one-bit field in which a â1â indicates that Cable Virtual Channel Table 20 is currently applicable. If the bit is set to â0,â Cable Virtual Channel Table 20 is not yet applicable, but will be the next table to become valid. This value also determines the treatment given to the âactivation_timeâ field, as described below.
The âsection_numberâ and âlast_section_numberâ fields are defined in accordance with ATSC A/65 and A/67, and will not be described further herein.
The âprotocol_versionâ field is an eight-bit unsigned integer representing the protocol version of which Cable Virtual Channel Table 20 forms a part. A protocol_version value of zero is used for conventional ATSC-specified tables. Because the protocol described herein is modified from that described in ATSC A/65 and A/67, the protocol_version value for Cable Virtual Channel Table 20 may be any non-zero value such as, for example, one.
The ânum_channels_in_sectionâ field and the following fields specified for each channel are defined in accordance with ATSC A/65 and A/67, and will not be described further herein. Likewise, the âadditional_descriptors_lengthâ and âadditional_descriptorsâ fields are defined in accordance with ATSC A/65 and A/67.
In accordance with the present invention, an âactivation_time_descriptorâ is implemented as one of the âadditional_descriptorsâ of Cable Virtual Channel Table 20. The âactivation_time_descriptorâ specifies when Cable Virtual Channel Table 20 will become current, in the case where current_next_indicator=0.
Referring to FIG. 3, a table illustrating an activation_time_descriptor is shown. The activation_time_descriptor defines a 32-bit activation time, which is the time when a program and system information table becomes current, as specified below. Note that an activation time can be defined in many cases because changes to the program and system information tables are pre-scheduled. For example, when the same channel number is shared by two program sources, such as âCNNfnâ and âCountry Television Network,â the time to switch from one program source to the other is known in advance. This is also the case when a new service is scheduled to go online or an existing service is scheduled to stop.
In FIG. 3, the âdescriptor_tagâ field identifies this descriptor as an activation_time_descriptor. The actual value of the descriptor_tag may be chosen by individual system designers to meet their system requirements. The descriptor_tag may, for example, have a value selected from the range of 0ĂC0 through 0ĂFF, which is in harmonization with ATSC A/65 and A/67, SCTE DVS 234 (Service Information Carried Out-Of-Band for Digital Cable Television), and DVB SI (Digital Video Broadcast; Specification for Service Information in DVB System).
The âdescriptor_lengthâ field specifies the number of bytes immediately following the descriptor_length field up to the end of the descriptor. The âactivation_timeâ field is a 32-bit unsigned integer representing the activation time of Cable Virtual Channel Table 20 as a number of Global Positioning System (GPS) seconds from the from the epoch start time of 12:00 am, Jan. 6, 1980.
The activation_time_descriptor shown in FIG. 3 is to be carried as a top-level descriptor in program and system information tables, including (but not limited to) virtual channel tables such as Cable Virtual Channel Table 20 shown in FIG. 2. As previously stated, the activation_time descriptor may be placed in the additional_descriptors loop immediately preceding the CRC_32 field of Cable Virtual Channel Table 20.
Referring to FIG. 4, a flowchart illustrating a method for activating Cable Virtual Channel Table 20 by receiver 14 is shown. The method begins at step 22, when receiver 14 receives Cable Virtual Channel Table 20 in the transport stream. In the normal course of decoding, decoder 16 determines from the âtable_idâ field that the table 20 is a Cable Virtual Channel Table. At step 24, decoder 16 examines the âcurrent_next_indicatorâ field. If the field has a value of 1, indicating that Cable Virtual Channel Table 20 is âcurrent,â then the table is activated immediately as the current Cable Virtual Channel Table at step 32.
If the âcurrent_next_indicatorâ field has a value of 0, indicating that Cable Virtual Channel Table 20 is ânext,â then the method proceeds to step 26, where Cable Virtual Channel Table 20 is stored in memory 18 for future activation. At step 28, the âactivation_timeâ field of the activation_time_descriptor is compared to the current clock time kept by receiver 14. If, at step 30, it is determined that the two times do not match (i.e. if the âactivation_timeâ is later than the current time), then receiver 14 returns to step 28, where the two times are again compared. This comparison step is repeated, at intervals determined by the available processor time in decoder 16, until the âactivation timeâ arrives (i.e. the âactivation_timeâ is the same as or earlier than the current time). At that point, Cable Virtual Channel Table 20 is activated as the current Cable Virtual Channel Table at step 32, and the method ends.
It will be appreciated that the above-described method for activating Cable Virtual Channel Table 20 eliminates the need to periodically resend the ânextâ Cable Virtual Channel Table in the transport stream. Sending the ânextâ Cable Virtual Channel Table once is sufficient to ensure that the table is activated at the appropriate time by receiver 14. Of course, it will be understood that the same method may be used for the activation of other system information tables, and is not limited to the Cable Virtual Channel Table.
It will be understood that the activation_time_descriptor may not be useful in all types of program and system information tables. For example, the Event Information Table defined in ATSC A/65 is used to inform a user of, among other things, the start times and titles of events available on television channels, and most of these events will occur in the future. In fact, in accordance with ATSC A/65, the current_next_indicator of an Event Information Table is always set to â1,â indicating that the Event Information Table is always currently applicable.
In general, the activation_time_descriptor may be useful in program and system information tables that are transmitted in advance but are not applicable until a predetermined future time. For unexpected sudden parameter changes, the current_next_indicator may still be used as specified in ATSC A/65. Together with the current_next_indicator, the activation_time_descriptor allows the receivers to know in advance when to begin using a next program and system information table. Obviously, a previously defined activation_time may be updated as necessary, and the revised value will be sent to and used by the receiver to override the old one.
Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions, and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
1. A method for decoding a transport stream that includes only one version of a virtual channel table, comprising:
reading an activation time included in a virtual channel table in the transport stream; and
activating one or more values contained in the received virtual channel table in accordance with an activation time included in the received virtual channel table.
2. The method according to claim 1, further comprising:
determining when the activation time is reached.
3. The method according to claim 2, wherein determining when the activation time is reached comprises:
comparing a current time to the activation time; and
determining when the current time equals or is greater than the activation time.
4. The method according to claim 1, wherein the virtual channel table includes information for controlling a display of the transport stream.
5. The method according to claim 1, further comprising:
reading a current/next indicator from the received virtual channel table;
activating the values contained in the received virtual channel table in response to a first value of the current/next indicator.
6. The method according to claim 1, further comprising:
storing the virtual channel table in memory without activating the values contained in the virtual channel table.
7. The method according to claim 5, further comprising:
storing the virtual channel table in memory without activating the values contained in the virtual channel table.
8. The method according to claim 6, wherein the step of storing the virtual channel table in memory is performed in response to a second value of the current/next indicator.
9. A transport stream reception system for processing a transport stream that includes only one version of a virtual channel table comprising:
a receiver including:
a memory operable to store a received virtual channel table;
a processor to receive a virtual channel table in the transport stream, to read an activation time from the virtual channel table, to store the virtual channel table in the memory without activating one or more values included in the virtual channel table, to determine when the activation time is reached, and to activate one or more values contained in the virtual channel table when the activation time is reached.
10. The system according to claim 9, further comprising:
an antenna to couple to the receiver, and to receive radio frequency signals including the transport stream, and to provide the radio frequency signals to the receiver.
11. An apparatus for processing a transport stream that includes only one transmission of a system information table, comprising:
a receiver front end to convert a received RF signal into a digital transport stream, which includes one copy of the system information table;
a memory to store the system information table; and
a processor to activate one or more values in the received system information table based on an activation time included in the received system information table.
12. The apparatus according to claim 11, wherein said processor:
determines when the activation time is reached.
13. The apparatus according to claim 12, wherein said processor determines when the activation time is reached by comparing a current time to the activation time and determining when the current time equals or is greater than the activation time.
14. The apparatus according to claim 11, wherein the virtual channel table includes information for controlling a display of the transport stream.
15. The apparatus according to claim 1, wherein said processor:
reads a current/next indicator from the received virtual channel table; and
activates the values contained in the received virtual channel table in response to a first value of the current/next indicator.
16. The apparatus according to claim 11, wherein said processor:
stores the virtual channel table in the memory without activating the values contained in the virtual channel table.
17. The apparatus according to claim 15, wherein said processor:
stores the virtual channel table in memory without activating the values contained in the virtual channel table.
18. The apparatus according to claim 16, wherein said processor stores the virtual channel table in memory in response to a second value of the current/next indicator.