[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2000064171A1 - Multiplexing structures, latency reduction, and stream indexing for delivery of encoded interactive program guide - Google Patents

Multiplexing structures, latency reduction, and stream indexing for delivery of encoded interactive program guide Download PDF

Info

Publication number
WO2000064171A1
WO2000064171A1 PCT/US2000/009922 US0009922W WO0064171A1 WO 2000064171 A1 WO2000064171 A1 WO 2000064171A1 US 0009922 W US0009922 W US 0009922W WO 0064171 A1 WO0064171 A1 WO 0064171A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
stream
pid
data
streams
Prior art date
Application number
PCT/US2000/009922
Other languages
French (fr)
Other versions
WO2000064171A9 (en
Inventor
Donald F. Gordon
Sadik Bryrakeri
Edward A. Ludvig
Eugene Gershtein
Jeremy S. Edmonds
John P. Comito
Original Assignee
Diva Systems Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/293,535 external-priority patent/US6584153B1/en
Priority claimed from US09/384,394 external-priority patent/US6621870B1/en
Priority claimed from US09/428,066 external-priority patent/US6651252B1/en
Priority claimed from US09/466,990 external-priority patent/US6614843B1/en
Priority claimed from US09/466,987 external-priority patent/US6968567B1/en
Priority claimed from US09/468,173 external-priority patent/US7058965B1/en
Application filed by Diva Systems Corporation filed Critical Diva Systems Corporation
Priority to AU42382/00A priority Critical patent/AU4238200A/en
Publication of WO2000064171A1 publication Critical patent/WO2000064171A1/en
Publication of WO2000064171A9 publication Critical patent/WO2000064171A9/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4351Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reassembling additional data, e.g. rebuilding an executable program from recovered modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234318Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by decomposing into objects, e.g. MPEG-4 objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23608Remultiplexing multiplex streams, e.g. involving modifying time stamps or remapping the packet identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23614Multiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2365Multiplexing of several video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4347Demultiplexing of several video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4348Demultiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4821End-user interface for program selection using a grid, e.g. sorted out by channel and broadcast time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6547Transmission by server directed to the client comprising parameters, e.g. for client setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/816Monomedia components thereof involving special video data, e.g 3D video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/162Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing
    • H04N7/163Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing by receiver means only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/162Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing
    • H04N7/165Centralised control of user terminal ; Registering at central
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/45Picture in picture, e.g. displaying simultaneously another television channel in a region of the screen

Definitions

  • the invention relates to communications systems in general and, more specifically, the invention relates to a video compression technique suitable for use in an interactive multimedia information delivery system.
  • the existing program guides have several drawbacks. They tend to require a significant amount of memory, some of them needing upwards of one megabyte of memory at the set top terminal (STT). They are very slow to acquire their current database of programming information when they are turned on for the first time or are subsequently restarted (e.g., a large database may be downloaded to a STT using only a vertical blanking interval (VBI) data insertion technique). Disadvantageously, such slow database acquisition may result in out of date database information or, in the case of a pay per view (PPV) or video on demand (NOD) system, limited scheduling flexibility for the information provider.
  • the use of compression techniques to reduce the amount of data to be transmitted may increase the speed of transmitting program guide information.
  • the data to be transmitted is compressed so that the available transmission bandwidth is used more efficiently.
  • MPEG Moving Pictures Experts Group
  • the first, known as MPEG-1 refers to ISO/IEC standards 11172 and is incorporated herein by reference.
  • MPEG-2 refers to ISO/IEC standards 13818 and is also incorporated herein by reference.
  • a compressed digital video system is described in the Advanced Television Systems Committee (ATSC) digital television standard document A/53, and is incorporated herein by reference.
  • ATSC Advanced Television Systems Committee
  • the above-referenced standards describe data processing and manipulation techniques that are well suited to the compression and delivery of video, audio and other information using fixed or variable rate digital communications systems.
  • the above-referenced standards, and other "MPEG-like" standards and techniques compress, illustratively, video information using intra-frame coding techniques (such as run-length coding, Huffman coding and the like) and inter-frame coding techniques (such as forward and backward predictive coding, motion compensation and the like).
  • intra-frame coding techniques such as run-length coding, Huffman coding and the like
  • inter-frame coding techniques such as forward and backward predictive coding, motion compensation and the like.
  • MPEG and MPEG-like video processing systems are characterized by prediction-based compression encoding of video frames with or without intra- and/or inter-frame motion compensation encoding.
  • the MPEG-1 and MPEG-2 standards have, in some instances, very strict elementary stream and transport stream formats, causing usage of extra bandwidth for certain applications. For example, if a number of interactive program guide (IPG) pages were created as video sequences, only limited number of pages could be encoded into a transport stream(s) at a specified bandwidth.
  • IPG interactive program guide
  • the present invention is directed to various aspects relating to delivery of an encoded interactive program guide. These techniques overcome the above described problems and disadvantages.
  • a first aspect relates to an apparatus for forming a multiplexed transport stream to deliver an encoded interactive program guide.
  • a second aspect relates to techniques to reduce latencies or delays in the delivery of an encoded interactive program guide.
  • a third aspect relates to stream indexing for delivery of an encoded interactive program guide.
  • Figure 1 depicts a block diagram of an illustrative interactive information distribution system that performs includes the encoding unit and process of the present invention
  • Figure 2 depicts a block diagram of an encoding and multiplexing unit in accordance with the present invention
  • Figure 3 is a flow diagram of a process used by a picture isolator;
  • Figure 4 depicts a data structure of a transport stream that is generated in accordance with the present invention
  • Figure 5 depicts a block diagram of a receiver within subscriber equipment suitable for use in an interactive information distribution system
  • Figure 6 depicts a flow diagram of a method for recombining and decoding streams
  • Figure 7 depicts a flow diagram of a second method for recombining and decoding streams
  • Figure 8 depicts a flow diagram of a third method for recombining and decoding streams
  • Figure 9 depicts an example of one frame taken from a video sequence that can be encoded using the present invention.
  • Figure 10 depicts a second example of one frame taken from another video sequence that can be encoded using the present invention
  • Figure 11 depicts a matrix representation of program guide data
  • Figure 12 depicts a matrix representation of program guide data with the data groupings shown for efficient encoding in accordance with the present invention.
  • Figure 13 depicts a slice map for the IPG of Figure 9;
  • Figure. 9A illustrates an exemplary slice division of an LPG
  • Figure 14 depicts a block diagram of the encoding unit of Figure 13;
  • Figure 15 depicts a block diagram of the local neighborhood network of Figure 13;
  • Figure 16 depicts a matrix representation of program guide data with the data groupings shown for efficient encoding in accordance with the present invention
  • Figure 17 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing intra-coded video and graphics slices;
  • Figure 18 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing predictive-coded video and graphics slices;
  • Figure 19 illustrates a data structure of a transport stream used to transmit the IPG of Figure 9;
  • Figure 20 is a diagrammatic flow diagram of a alternative process for generating a portion of transport stream containing predictive-coded video and graphics slices;
  • Figure 21 A depicts an illustration of an IPG having a graphics portion and a plurality of video portions;
  • Figure 2 IB depicts a slice map for the IPG of Figure 21 A;
  • Figure 22 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing intra-coded video and graphics slices for an IPG having a graphics portion and a plurality of video portions;
  • Figure 23 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing predictive-coded video and graphics slices for an IPG having a graphics portion and a plurality of video portions;
  • Figure 24 depicts a block diagram of a receiver within subscriber equipment suitable for use in an interactive information distribution system;
  • Figure 25 depicts a flow diagram of a first embodiment of a slice recombination process
  • Figure 26 depicts a flow diagram of a second embodiment of a slice recombination process
  • Figure 27 depicts a flow diagram of a third embodiment of a slice recombination process
  • Figure 28 depicts a flow diagram of a fourth embodiment of a slice recombination process
  • Figure 29 is a block diagram illustrating an apparatus for encoding, packetizing, multiplexing, and assigning programs to video, audio, and data in accordance with a "level zero" embodiment of the present invention
  • Figure 30 is a schematic diagram illustrating a program assignment structure for a multiple program final transport stream in accordance with a "level zero" embodiment of the present invention
  • Figure 31 is a schematic diagram illustrating a program assignment structure for a single program final transport stream in accordance with a "level zero" embodiment of the present invention
  • Figure 32 is a diagram illustrating multiplexing of video, audio, and data packets into a final transport stream in accordance with a "level zero" embodiment of the present invention
  • Figure 33 is a schematic diagram illustrating an assignment structure for multiple final transport streams in accordance with a "level zero" embodiment of the present invention
  • Figure 34 is a diagram illustrating a final transport stream in accordance with a "level one" embodiment of the present invention
  • Figures 35 A and 35B are diagrams illustrating multiple final transport streams in accordance with a "level one" embodiment of the present invention
  • Figure 36 is a diagram illustrating a final transport stream in accordance with a "level two" embodiment of the present invention
  • Figure 37 is a schematic diagram illustrating a technique for reducing switching latencies by carrying redundant packets in accordance with an embodiment of the present invention
  • Figure 38 is a schematic diagram illustrating slice-based multiple transport streams with overlapping PIDs to reduce latencies in accordance with an embodiment of the present invention
  • Figure 39 is a diagram illustrating an example IPG page with two threshold levels for stream priming in accordance with an embodiment of the present invention.
  • FIG 40 is a diagram illustrating a program mapping table (PMT) in accordance with an embodiment of the present invention.
  • Figure 41 is a diagram illustrating (a) prime time slots and (b) Vi hour shifts of a current programming timeslot in accordance with an embodiment of the present invention
  • Figure 42 is a diagram illustrating a mapping of lookahead video PIDs to lookahead data PIDs in accordance with an embodiment of the present invention
  • Figure 43 is a rough diagram illustrating television usage time during a typical week
  • Figure 44A is a diagram illustrating a first lookahead video PID layout
  • Figure 44B is a diagram illustrating a method 4420 of forming a second lookahead video PID layout in accordance with an embodiment of the present invention
  • Figure 44C is a schematic diagram illustrating the distribution of data messages among data PIDs in accordance with an embodiment of the present invention.
  • identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.
  • DESCRIPTION OF THE SPECIFIC EMBODIMENTS This invention is a system for generating, distributing and receiving a stream containing compressed video information from a substantial number of video sequences.
  • the invention is illustratively used to encode a plurality of interactive program guides that enable a user to interactively review, preview and select programming for a television system.
  • FIG. 1 depicts a high-level block diagram of an information distribution system 100, e.g., a video-on-demand system or digital cable system, that incorporates the present invention.
  • the system 100 contains service provider equipment (SPE) 102 (e.g., a head end), a distribution network 104 (e.g., hybrid fiber-coax network) and subscriber equipment (SE) 106.
  • SPE service provider equipment
  • SE subscriber equipment
  • the SPE 102 produces a plurality of digital streams that contain encoded information in MPEG compressed format. These streams are modulated using a modulation format that is compatible with the distribution network 104.
  • the subscriber equipment 106 at each subscriber location 1061, 1062, , 106n, comprises a receiver 124 and a display 126. Upon receiving a stream, the subscriber equipment receiver 124 extracts the information from the received signal and decodes the stream to produce the information on the display, i.e., produce a television program, program guide page, or other multimedia program.
  • the program streams are addressed to particular subscriber equipment locations that requested the information through an interactive menu.
  • a related interactive menu structure for requesting video on demand is disclosed in commonly assigned U.S. patent application serial number 08/984,427, filed December 3, 1997.
  • Another example of interactive menu for requesting multimedia services is the interactive program guide (IPG) disclosed in commonly assigned U.S. patent application 60/093,891, filed in July 23, 1998.
  • IPG interactive program guide
  • the SPE 102 produces an interactive program guide that is compressed for transmission in accordance with the present invention.
  • the IPG contains program information, e.g., title, time, channel, program duration and the like, as well at least one region displaying full motion video, i.e., a television advertisement or promotion. Such informational video is provided in various locations within the program guide screen.
  • the invention produces the IPG using a compositing technique that is described in commonly assigned US patent application serial numbers 09/201,528 filed November 30, 1998 and filed July 23, 1999 (attny dockets 168 and 168 CIPl), which are hereby incorporated by reference herein.
  • the compositing technique which will not be discussed further herein, enables full motion video to be positioned within an LPG and have the video seamlessly transition from one IPG page to another.
  • the composited IPG pages i.e., a plurality of video frame sequences
  • Audio signals associated with the video sequences are supplied by an audio source 112 to the encoding and multiplexing unit 116.
  • the encoding and multiplexing unit 116 compresses the frame sequences into a plurality of elementary streams.
  • the elementary streams are further processed to remove redundant predicted frames.
  • a multiplexer within unit 116 then assembles the elementary streams into a transport stream.
  • the transport stream is then modulated by the digital video modulator 122 using a modulation format that is compatible with the distribution network 104.
  • a modulation format that is compatible with the distribution network 104.
  • the modulation is quadrature amplitude modulation (QAM); however, other modulation formats could be used.
  • the subscriber equipment 106 contains a receiver 124 and a display 126
  • the receiver 124 demodulates the signals carried by the distribution network 104 and decodes the demodulated signals to extract the IPG pages from the stream. The details of the receiver 124 are described below with respect to Figure 5.
  • Figure 2 depicts a block diagram of the encoding and multiplexing unit 116 of Figure 1 which produces a transport stream comprising a plurality of encoded video, audio, and data elementary streams.
  • the invented system is designed specifically to work in an ensemble encoding environment, where a plurality of video streams are generated to compress video information that carries common and non-common content.
  • the common content is encoded into a single elementary stream and the non- common content are encoded into separate elementary streams.
  • some common information will appear in the stream intended to carry non-common information and some non-common information will appear in the stream intended to carry common information. In this way, thecommon content is notduplicated in every stream, yielding significant bandwidth savings.
  • the encoding and multiplexing unit 116 receives a plurality of video sequences V1-V10 and, optionally, one or both of a audio signal SA and a data signal SD.
  • the video sequences V1-V10 includes imagery common to each other, e.g., common IPG background information and common video portion information.
  • the programming information is different in every sequence V1-V10.
  • the audio source SA comprises, illustratively, audio information that is associated with a video portion in the video sequences such as an audio track associated with still or moving images.
  • the audio stream SA is derived from the source audio (e.g., music and voice-over) associated with the music trailer.
  • the data stream SD comprises, illustratively, overlay graphics information, textual information describing programming indicated by the guide region and other system or user interface related data.
  • the data stream SD can be separately encoded into its own elementary stream or included within the MPEG-2 or other suitable standard or proprietary transport stream suitable for use in the information distribution system of Figure 1. as private data, auxiliary data, and the like.
  • the encoding and multiplexing unit 116 comprises a plurality of real time MPEG-2 encoders 220-1 through 220-10 (collectively encoders 220), an encoding profile and clock generator 202, a plurality of picture isolators 230-1 through 230-10 (collectively picture isolators 230), a plurality of packetizers 240-1 through 240-13 (collectively packetizers 240), a plurality of buffers 250-1 through 250-13 (collectively buffers 250), a transport multiplexer 260, an audio delay element 270 and an optional data processor 280.
  • the video sequences V1-V10 are coupled to respective real time encoders
  • Each encoder 220 encodes, illustratively, a composited LPG screen sequence to form a corresponding compressed video bit stream, e.g., an MPEG-2 compliant bit stream having associated with it a predefined group of pictures (GOP) structure.
  • a common clock and encoding profile generator 202 provides a clock and profile to each encoder 220 to ensure that the encoding timing and encoding process occur similarly for each video sequence V1-V10. As such, the encoding is performed in a synchronous manner.
  • the GOP structure consists of an I-picture followed by ten B-pictures, where a P-picture separates each group of two B-pictures (i.e., "I-B-B-P-B-B-P-B-B-P-B-B-P-B-B-B-B-B"), however, any GOP structure and size may be used in different configurations and applications. It is preferable that the same encoding profile, including the GOP structure, is used by each of the real time encoders 220 to have uniform encoding across multiple streams and to produce approximately the same size encoded I- and Predicted-Pictures.
  • the encoding process can be performed by one encoder or a plurality of encoders depending on implementation choice.
  • Each of the real time encoders 220 produces an encoded MPEG-2 bit stream (E1-E10) that is coupled to a respective picture isolator 230.
  • Each of the picture isolators 230 examines the encoded video stream to isolate I-pictures within the MPEG-2 compliant streams E1-E10, by analyzing the stream access units associated with I-, P- and B- pictures.
  • the first picture isolator 230-1 receives the MPEG-2 compliant stream El from the first real time encoder 220-1 and responsively produces two output bit streams PRED and II.
  • the remaimng picture isolators 230-2 to 230-10 produces only I frame streams. Note that the PRED stream can be generated by any one of the picture isolators.
  • the picture isolators 230 process the received streams E1-E10 according to the type of picture (I-, P- or B-picture) associated with a particular access unit and also the relative position of the pictures within the sequence and group of pictures.
  • an access unit comprises a coded representation of a presentation unit.
  • an access unit is the coded representation of an audio frame.
  • an access unit includes all the coded data for a picture and any stuffing bits that follows it, up to but not including the start of the next access unit. If a picture is not preceded by a group start code or a sequence header code, then the corresponding access unit begins with the picture start code.
  • the corresponding access unit begins with the first byte of the first start code in the sequence or a GOP. If the picture is the last picture preceding a sequence end code in the stream, then all bytes between the last byte of the coded picture and the sequence end code (including the sequence end code) belong to the access unit.
  • Each of the remaining B- and P-picture access units in a GOP includes a picture start code.
  • the last access unit of the GOP e.g., a terminating B-picture
  • the II stream as the first picture of the sequence, consists of a sequence header, a sequence extension, GOP header, picture header, picture extension, and I- picture data until the next picture start code.
  • the PRED stream comprises only P- and B-picture access units, starting from the second picture start code (illustratively a B-picture) and all data until the next group start code, thereby including all access units of the GOP except those representing the I-picture.
  • Each of the second 230-2 through tenth 230-10 picture isolators receive, respectively, the MPEG-2 compliant streams E2 through ElO from the corresponding real time encoders 220-2 through 220-10, each producing one respective output stream 11-110 comprising only the sequence header and all data until the respective second picture start codes (i.e., the access unit data associated with an I-picture at the beginning of the respective GOP).
  • the respective second picture start codes i.e., the access unit data associated with an I-picture at the beginning of the respective GOP.
  • Figure 3 illustrates a high-level flow sequence in isolating pictures suitable for use in the picture isolators unit 230 of Figure 2.
  • the picture isolator method 300 is entered at step 305 and proceeds to step 310, where it waits for a sequence header or a group start code, upon detection of which it proceeds to step 315.
  • step 315 the sequence header and all data until the second picture start code is accepted.
  • the method 300 then proceeds to step 320.
  • step 320 the accepted data is coupled to the I-picture output of the picture isolator. In the case of picture isolators 230-2 through 230-10, since there is no PB output shown, the accepted data (i.e., the sequence header, I-picture start code and I- picture) is coupled to a sole output.
  • the method 400 then proceeds to step 325.
  • step 325 a query is made as to whether non-I-picture data is to be processed. That is, a query is made as to whether non-I-picture data is to be discarded or coupled to a packetizer. If the query at step 325 is answered negatively (non-I-picture data is discarded) then the method 300 proceeds to step 310 to wait for the next sequence header. If the query at step 325 is answered affirmatively, then the method 300 proceeds to step 330.
  • step 330 the second picture start code and all data in a GOP until the next group start code is accepted.
  • the method 400 then proceeds to step 335.
  • the accepted data is coupled to the non-I-picture output of the frame isolator 230 to form the PRED stream.
  • the picture isolator method 300 examines the compressed video stream produced by the real time encoder 220 to identify the start of a GOP, the start of an I-picture (first picture start code after the group start code) and the start of predicted-pictures (second picture start code after the group start code) forming the remainder of a GOP.
  • the picture isolator method couples the I-pictures and predicted- pictures to packetizers for further processing in conformance with the invention.
  • the first packetizer 240-1 packetizes the PRED stream into a plurality of fixed length transport packets according to, e.g., the MPEG-2 standard. Additionally, the first packetizer 240-1 assigns a packet identification (PID) of, illustratively, one (1) to each of the packets representing information from the PRED stream, thereby producing a packetized stream PID-1. The second packetizer 240-2 packetizes the I- stream to produce a corresponding packetized stream PID-2.
  • PID packet identification
  • the 12 through 110 output streams of the second 230-2 through tenth 230- 10 picture isolators are coupled to, respectively, third 240-3 through eleventh 240-11 transport packetizers, which produce respective packetized streams PID-3-PID-11.
  • audio information associated with IPG screens is encoded and supplied to the transport multiplexer 260.
  • the source audio signal is subjected to an audio delay 270 and then encoded by a real time audio encoder 220- A, illustratively a Dolby AC-3 real time encoder, to produce an encoded audio stream EA.
  • the encoded stream EA is packetized by a 12th transport packetizer 240-12 to produce a transport stream having a PID of 12 (PLD-12).
  • the PID-12 transport stream is coupled to a 12th buffer 250-12.
  • the IPG grid foreground and overlay graphics data is coupled to the transport multiplexer 260 as a data stream having a PID of thirteen (PID- 13).
  • the data stream is produced by processing the data signal SD as related for the application using the data processor 280 and packetizing the processed data stream SD' using the thirteenth packetizer 240-13 to produce the PLD-13 signal, which is coupled to the thirteenth buffer 250-13.
  • Each of the transport packetized streams PID- 1 -PID- 11 is coupled to a respective buffer 250-1 through 250-11, which is in turn coupled to a respective input of the multiplexer 260, illustratively an MPEG-2 transport multiplexer. While any type of multiplexer will suffice to practice the invention, the operation of the invention is described within the context of an MPEG-2 transport multiplexing system.
  • a transport stream as defined in ISO standard 13818-1 (commonly known as MPEG-2 systems specification), is a sequence of equal sized packets, each 188 bytes in length. Each packet has a 4 bytes of header and 184 bytes of data.
  • the header contains a number of fields, including a PID field.
  • the PID field contains thirteen bits and uniquely identifies each packet that contains a portion of a "stream" of video information as well as audio information and data.
  • the decoder in the subscriber or user equipment extracts packets containing a particular PID and decodes those packets to create the video (or audio or data) for viewing or presenting.
  • Each of the thirteen streams representing the IPG is uniquely identified by a PID.
  • the thirteen streams are multiplexed into a single transport stream. Less or more IPG streams may be included in the transport stream as bandwidth permits. Additionally, more than one transport stream can be used to transmit the IPG streams.
  • Multiplexer 260 processes the packetized data stored in each of the 13 buffers 250-1 through 250-13 in a round robin basis, beginning with the 13th buffer 250- 13 and concluding with the first buffer 250- 1. That is, the transport multiplexer 260 retrieves or "drains" the PID 13 information stored within the 13th buffer 250-13 and couples that information to the output stream TOUT. Next, the 12th buffer 250-12 is emptied of packetized data which is then coupled to the output stream TOUT. Next, the 11th buffer 250-11 is emptied of packetized data which is then coupled to the output stream TOUT and so on until the 1st buffer 250-1 is emptied of packetized data which is then coupled to the output stream TOUT.
  • each output buffer includes all the access units associated with an I-picture (250-2 through 250-11) suitable for referencing a GOP, a particular group of P- and B-pictures (250-1) suitable for filling out the rest of the GOP, a particular one or more audio access units (250-12) and an related amount of data (250-13).
  • the round robin draining process is repeated for each buffer, which has been filled in the interim by new transport packetized streams PLD-13 to PID-1.
  • Figure 4 depicts a data structure 400 for a transport stream produced by the encoding and multiplexing unit as a result of processing in a round robin basis.
  • the figure shows one GOP portion of a transport stream, which is indicated by "START" and "END" phrases.
  • the data structure starts with data transport packet 401 having PID- 13, then it proceeds with an audio packet 402 having PLD-12, which are followed by I-picture packets 403 - 412 assigned as PID-11 to PID-2.
  • the remaining packets 413 to 425 carry the PRED stream with PLD-1.
  • the packets 423 to 425 in the figure show the terminating access units of the previous GOP.
  • the exemplary data structure and the round robin process are not strictly required for the operation of the invention.
  • the data and audio packets can be placed into different parts of the transport stream, or the sequence of I-picture packets can be changed in a different data structure.
  • the only requirement is that the I-picture related packets should precede the PRED stream in the transport stream if the set top terminal is to decode the stream in one pass without storing any packets.
  • This only requirement which comes from necessity of decoding the reference I-pictures before the predicted pictures, is removed for set top terminals with additional storage capabilities.
  • the exemplary data structure (and related other varied embodiments that still incorporate the above teachings) is encapsulated in one multi-program transport stream.
  • Each program in the program map table (PMT) of MPEG-2 transport stream includes an I-PID (one of the illustrative ten I-PID's 403 to 412), the PRED stream PLD-1, data PID- 13 401, and audio PID- 12 402.
  • the multiplexer 260 of Figure-2 couples a PRED stream access units 413 - 425 to the multiplexer output TOUT only once per GOP, the PMT for each program references PRED stream PID-1.
  • the information packets are formed into a single program and carried with a single program transport stream.
  • the complete set of PLD' s 401 to 425 are coupled into a single program.
  • each transport stream is formed in a multi-program manner, where each program comprises an I-PID, PRED- PLD, data-PID and an audio PID.
  • the information packets in each transport stream are retrieved in a similar way as a single transport stream.
  • the information packets are carried in single program multiple transport streams.
  • FIG. 5 depicts a block diagram of the receiver 124 (also known as a set top terminal (STT) or user terminal) suitable for use in producing a display of a user interface in accordance with the present invention.
  • the STT 124 comprises a tuner 510, a demodulator 520, a transport demultiplexer 530, an audio decoder 540, a video decoder 550, an on-screen display processor (OSD) 560, a frame store memory 562, a video compositor 590 and a controller 570.
  • OSD on-screen display processor
  • FIG. 580 User interaction is provided via a remote control unit 580.
  • Tuner 510 receives, e.g., a radio frequency (RF) signal comprising, for example, a plurality of quadrature amplitude modulated (QAM) information signals from a downstream (forward) channel. Tuner 510, in response to a control signal TUNE, tunes a particular one of the QAM information signals to produce an intermediate frequency (IF) information signal.
  • Demodulator 520 receives and demodulates the intermediate frequency QAM information signal to produce an information stream, illustratively an MPEG transport stream.
  • the MPEG transport stream is coupled to a transport stream demultiplexer 530.
  • Transport stream demultiplexer 530 in response to a control signal TD produced by controller 570, demultiplexes (i.e., extracts) an audio information stream A and a video information stream V.
  • the audio information stream A is coupled to audio decoder 540, which decodes the audio information stream and presents the decoded audio information stream to an audio processor (not shown) for subsequent presentation.
  • the video stream V is coupled to the video decoder 550, which decodes the compressed video stream V to produce an uncompressed video stream VD that is coupled to the video compositor 590.
  • OSD 560 in response to a control signal OSD produced by controller 570, produces a graphical overlay signal VOSD that is coupled to the video compositor 590.
  • buffers in the decoder are not reset. As such, the user interfaces seamlessly transition from one screen to another.
  • the video compositor 590 merges the graphical overlay signal VOSD and the uncompressed video stream VD to produce a modified video stream (i.e., the underlying video images with the graphical overlay) that is coupled to the frame store unit 562.
  • the frame store unit 562 stores the modified video stream on a frame-by-frame basis according to the frame rate of the video stream.
  • Frame store unit 562 provides the stored video frames to a video processor (not shown) for subsequent processing and presentation on a display device.
  • Controller 570 comprises a microprocessor 572, an input/output module
  • the controller 570 also contains input/output circuitry 574 that forms an interface between the controller 570 and the tuner 510, the transport demultiplexer 530, the onscreen display unit 560, the back channel modulator 595, and the remote control unit 580.
  • the controller 570 is depicted as a general purpose computer that is programmed to perform specific interactive program guide control function in accordance with the present invention, the invention can be implemented in hardware as an application specific integrated circuit (ASIC). As such, the process steps described herein are intended to be broadly interpreted as being equivalently performed by software, hardware, or a combination thereof.
  • the remote control unit 580 comprises an 8-position joy stick, a numeric pad, a "select” key, a "freeze” key and a “return” key.
  • User manipulations of the joy stick or keys of the remote control device are transmitted to a controller via an infra red (IR) link.
  • the controller 570 is responsive to such user manipulations and executes related user interaction routines 500, uses particular overlays that are available in an overlay storage 376.
  • the video streams are recombined via stream processing routine 502 to form the video sequences that were originally compressed.
  • the following describes three illustrative methods for recombining the streams.
  • an I-Picture stream and the PRED stream to be recombined keep their separate PID's until the point where they must be depacketized.
  • the recombination process is conducted within the demultiplexer 530 of the subscriber equipment 106.
  • any packet with a PID that matches any of the PID's within the desired program are depacketized and the payload is sent to the elementary stream video decoder. Payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer.
  • Figure 6 illustrates the details of this method, in which, it starts at step 605 and proceeds to step 610 to wait for (user) selection of an I-PID to be received.
  • the I- PID as the first picture of a stream's GOP, represents the stream to be received.
  • the method 600 Upon detecting a transport packet having the selected I-PID, the method 600 proceeds to step 615.
  • the I-PLD packets are extracted from the transport stream, including the header information and data, until the next picture start code.
  • the header information within the first-received I-PID access unit includes sequence header, sequence extension, group start code, GOP header, picture header, and picture extension, which are known to a reader that is skilled in MPEG-1 and MPEG-2 compression standards.
  • the header information in the next I-PID access units that belongs to the second and later GOP's includes group start code, picture start code, picture header, and extension.
  • the method 600 then proceeds to step 620 where the payloads of the packets that includes header information related to video stream and I-picture data are coupled to the video decoder 550 as video information stream V.
  • the method 600 then proceeds to step 625.
  • the predicted picture packets PRED-PLD illustratively the PLD-1 packets of fourteen predicted pictures 413 to 425 in Figure 4 in a GOP of size fifteen, are extracted from the transport stream.
  • the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder 550 as video information stream V.
  • a complete GOP including the I-picture and the predicted-pictures, are available to the video decoder 550.
  • the video decoder decodes the recombined stream with no additional recombination process.
  • the method 600 then proceeds to step 635.
  • a query is made as to whether a different I-PLD is requested. If the query at step 635 is answered negatively, then the method 600 proceeds to step 610 where the transport demultiplexer 530 waits for the next packets having the PID of the desired I-picture. If the query at step 635 is answered affirmatively, then the PID of the new desired I-picture is identified at step 640 and the method 600 returns to step 610.
  • the method 600 of Figure 6 is used to produce a conformant MPEG video stream V by concatenating a desired I-picture and a plurality of P- and/or B-pictures forming a pre-defined GOP structure.
  • the second method of recombining the video stream involves the modification of the transport stream using a PID filter.
  • a PID filter 504 can be implemented as part of the demodulator 520 of Figure 5.
  • any packet with a PID that matches any of the PID's within the desired program to be received have its PID modified to the lowest video PID in the program (the PID which is referenced first in the program's program mapping table (PMT)).
  • PMT program mapping table
  • the PID-filter modifies the PRED-PID as 50 and thereby, both I- and Predicted-Picture access units attain the same PID number and become a portion of a common stream.
  • the transport stream output from the PLD filter contains a program with a single video stream, whose packets appear in the proper order to be decoded as valid MPEG video.
  • the incoming bit stream does not necessarily contain any packets with a PID equal to the lowest video PLD referenced in the programs PMT. Also note that it is possible to modify the video PID's to other PID numbers than lowest PID without changing the operation of the algorithm.
  • the continuity counters of the merged PID's may become invalid at the merge points, due to each PID having its own continuity counter. For this reason, the discontinuity indicator in the adaptation field is set for any packets that may immediately follow a merge point. Any decoder components that check the continuity counter for continuity is required to correctly process the discontinuity indicator bit.
  • Figure 7 illustrates the details of this method, in which, it starts at step 705 and proceeds to step 710 to wait for (user) selection of an I-PID to be received.
  • the I- PID as the first picture of a stream's GOP, represents the stream to be received.
  • the method 700 Upon detecting a transport packet having the selected I-PID, the method 700 proceeds to step 715.
  • the PID number of I-stream is re-mapped to a predetermined number, PID*.
  • the PID filter modifies all the PID's of the desired I-stream packets to PID*.
  • the method then proceeds to step 720, wherein the PID number of the predicted picture stream, PRED-PID, is re-mapped to PID*.
  • the PID filter modifies all the PID's of the PRED-PID packets to PID*.
  • the method 700 then proceeds to step 725.
  • the packets of the PLD* stream is extracted from the transport stream by the demultiplexer.
  • the method 700 then proceeds to step 730, where the payloads of the packets that includes video stream header information and I-picture and predicted picture data are coupled to the video decoder 550 as video information stream V.
  • the method 700 then proceeds to 735.
  • step 735 a query is made as to whether a different I-PID is requested. If the query at step 735 is answered negatively, then the method 700 proceeds to step 710 where the transport demultiplexer 530 waits for the next packets having the PID of the desired I-picture. If the query at step 735 is answered affirmatively, then the PID of the new desired I-picture is identified at step 740 and the method 700 returns to step 710.
  • the method 700 of Figure 7 is used to produce a conformant MPEG video stream V by merging the reference stream information and predicted stream information before the demultiplexing process.
  • the third method accomplishes MPEG bit stream recombination by using splicing information in the adaptation field of the transport packet headers by switching between video PIDs based on splice countdown concept.
  • the MPEG streams signal the PID to PID switch points using the splice countdown field in the transport packet header's adaptation field.
  • the PID filter is programmed to receive one of the PIDs in a program's PMT
  • the reception of a packet containing a splice countdown value of 0 in its header's adaptation field causes immediate reprogramming of the PID filter to receive the other video PID.
  • Figure 8 illustrates the details of this method, in which, it starts at step 805 and proceeds to step 810 to wait for (user) selection of an I-PLD to be received.
  • the I- PLD as the first picture of a stream's GOP, represents the stream to be received.
  • the method 800 Upon detecting a transport packet having the selected I-PID, the method 800 proceeds to step 815.
  • the I-PID packets are extracted from the transport stream until, and including, the I-PID packet with slice countdown value of zero.
  • the method 800 then proceeds to step 820 where the payloads of the packets that includes header information related to video stream and I-picture data are coupled to the video decoder 550 as video information stream V.
  • the method 800 then proceeds to step 825.
  • the PID filter is re-programmed to receive the predicted picture packets PRED-PID.
  • the method 800 then proceeds to 830.
  • the predicted stream packets illustratively the PID-1 packets of fourteen predicted pictures 413 to 425 in Figure 4 in a GOP of size fifteen, are extracted from the transport stream.
  • the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder 550 as video information stream V.
  • a complete GOP, including the I-picture and the predicted-pictures, are available to the video decoder 550.
  • the video decoder decodes the recombined stream with no additional recombination process.
  • the method 800 then proceeds to step 840.
  • a query is made as to whether a different I-PID is requested. If the query at step 840 is answered negatively, then the method 800 proceeds to step 850 where the PID filter is re-programmed to receive the previous desired I-PID. If answered affirmatively, then the PID of the new desired I-picture is identified at step 845 and the method proceeds to step 850, where the PLD filter is re-programmed to receive the new desired I-PID. The method then proceeds to step 845, where the transport demultiplexer 530 waits for the next packets having the PID of the desired I-picture.
  • the method 800 of Figure 8 is used to produce a conformant MPEG video stream V, where the PID to PID switch is performed based on a slice countdown concept.
  • Figures 9 and 10 depict a frame from two different sequences of IPG pages 900 and 1000.
  • the common information is everything except the programming grid 902 and 1002.
  • the non-common information is the programming grid 902 and 1002.
  • the programming grid 902 and 1002 changes from sequence 900 to sequence 1000. This grid changes for each channel group and each time interval.
  • the IPG display 900 of Figure 9 comprises a first 905 A, second 905B and third 905C time slot objects, a plurality of channel content objects 910-1 through 910-8, a pair of channel indicator icons 941 A, 941B, a video barker 920 (and associated audio barker), a cable system or provider logo 915, a program description region 950, a day of the week identification object 931 , a time of day object 939, a next time slot icon 934, a temporal increment/decrement object 932, a "favorites” filter object 935, a "movies” filter object 936, a "kids” (i.e., juvenile) programming filter icon 937, a "sports” programming filter object 938 and a VOD programming icon 933.
  • a program description region 950 a day of the week identification object 931 , a time of day object 939, a next time slot icon 934, a temporal increment/decrement object 932,
  • day of the week object 931 and next time slot icon 934 may comprise independent objects (as depicted in Figure 9) or may be considered together as parts of a combined object. Details regarding the operation of the LPG pages, their interaction with one another and with a user are described in commonly assigned US patent application filed July 23, 1999 (attorney docket no. 070 CLP2) which is hereby incorporated herein by reference.
  • the channels are displayed in 8-channel groups having associated with them three hour time slots.
  • 10 video PIDs to carry the present- time channel time/title information
  • one audio PID to carry the audio barker
  • a data PID or other data transport method
  • the amount of time provided for in broadcast video PLDs for the given channel groups comprises the time depth of the program guide, while the number of channels available through the guide (compared to the number of channels in the system) provides the channel depth of the program guide.
  • the channel depth is said to be 50%.
  • the time depth is said to be 12 hours.
  • the time depth is said to be +16/-4 hours.
  • the video streams representing the LPG are carried in a single transport stream or multiple transport streams, within the form of a single or multi -programs as discussed previously in this invention.
  • a user desiring to view the next 1.5 hour time interval e.g., 9:30 - 11:00
  • may activate a "scroll right" object or move the joystick to the right when a program within program grid 902 occupies the final displayed time interval.
  • Such activation results in the controller of the STT noting that a new time interval is desired.
  • the video stream corresponding to the new time interval is then decoded and displayed. If the corresponding video stream is within the same transport stream (i.e., a new PID), then the stream is immediately decoded and presented.
  • each extracted video stream is generally associated with a common audio stream.
  • the video/audio barker function of the program guide is continuously provided, regardless of the selected video stream.
  • teachings of the invention is equally applicable to systems and user interfaces that employs multiple audio streams.
  • a user interaction resulting in a prior time interval or a different set of channels results in the retrieval and presentation of a related video stream.
  • the related video stream is not part of the broadcast video streams, then a pointcast session is initiated.
  • the STT sends a request to the head end via the back channel requesting a particular stream.
  • the head end then processes the request, retrieves the related stream from the information server, incorporates the stream within a transport stream as a video PID (preferably, the transport stream currently being tuned/selected by the STT) and informs the STT which PID should be received, and from which transport stream it should be demultiplexed.
  • the STT retrieves the related video PID.
  • the STT first demultiplexes the corresponding transport stream (possibly tuning a different QAM stream within the forward channel).
  • the STT Upon completion of the viewing of the desired stream, the STT indicates to the head end that it no longer needs the stream, whereupon the head end tears down the pointcast session. The viewer is then returned to the broadcast stream from which the pointcast session was launched.
  • Figure 11 illustrates the ten LPG user interface page streams in a matrix representation 1100.
  • the horizontal axis, h, in the figure represents the PLD dimension consisting of 10 PLD's, which corresponds to El - ElO outputs of the real time encoders RTE1 to RTE10 of Figure 2.
  • the vertical axis, v, in Figure 11 represents the time domain, where for illustrative purposes, only 15 time units, tl to tl5, are included that forms a GOP for each stream identified by a PID in horizontal domain, h.
  • the matrix entries 1102 to 1130 in column- 1 describes fifteen pictures of the first IPG page, PID-1.
  • the guide portion, marked as gl, at each time unit, tl to tl5, does not change within a GOP of PLD 1.
  • the same principle applies to PID-2 to PID- 10 streams in columns-2 to 10, where guide portions, g2 to glO, at each time unit tl to tl5, does not change.
  • each stream in column- 1 to column- 10 shares the same motion video portion, marked as vl to vl5.
  • the guide region g changes from gl to glO in horizontal dimension.
  • the pictures 1102 to 1148 contains different guide portions gl to glO, although each has the same motion video picture vl, as the matrix is traversed in horizontal dimension.
  • the same principle applies to row-2 to row- 15, where guide portion g changes from g2 to glO, each stream in column- 1 to column- 10 sharing the same motion video picture, v2 to vl5.
  • Figure 12 graphically illustrates an efficient compression algorithm 1200 that substantially minimizes the number of pictures that represents the information in Figure 11.
  • a first element grouping 1202 includes all of the elements of the first column (PID-1) excluding the element in first row, 1204.
  • the next group of elements in row-1, 1204 to 1222 illustrates the next group of elements required to represent the complete program guide elements of Figure 11.
  • the invention reconstructs the same amount of information using only 24 elements.
  • the group of fourteen elements 1202 corresponds to the predicted picture stream that represents the common information.
  • Each of the elements 1204 to 1222 is an intra-coded I-picture that represents the non-common information among 10 PLD's.
  • the grouping 1202 of PID-1 also includes the same information as the corresponding pictures of PID-2 to PID-10 at the same time units t2 to tl5.
  • the de-multiplexer at the STT selects the related I-PID stream and combines the selected I-PID and with the predicted-PID stream as previously discussed in the invention to produce a recombined stream, which is then uncompressed by the video decoder.
  • the described invention dramatically increases the amount of LPG information that can be transmitted to a subscriber. For example, if a 64 quadrature amplitude modulator (QAM) with 27 Mbps is used, then the bandwidth savings can be exemplified as follows: assuming 1 Mbps is reserved for audio, data, and overhead information, there remains 26 Mbps to encode the video streams. Assuming a relatively high level of video quality, each video stream to be encoded is allocated 2 Mbps of bandwidth, thereby resulting in a capability of 13 video streams per transport stream (s).
  • QAM quadrature amplitude modulator
  • the present invention supports carrying 61 video streams each having a different LPG program page, within a 27 Mbps transport stream, versus 13 video streams in a regular encoding implementation not benefiting from the invention.
  • index matrix representation described above with respect to Figures 11 and 12 may be used to represent program guide data with different contexts such broadcast, narrowcast, pointcast, shared pointcast, and the like.
  • the MPEG-2 standard contemplates the use of a "slice layer" where a video frame is divided into one or more slices.
  • a slice contains one or more contiguous sequence of macroblocks. The sequence begins and ends at any macroblock boundary within the frame.
  • An MPEG-2 decoder when provided a corrupted bitstream, uses the slice layer to avoid reproducing a completely corrupted frame. For example, if a corrupted bitstream is decoded and the decoder determines that the present slice is corrupted, the decoder skips to the next slice and begins decoding. As such, only a portion of the reproduced picture is corrupted.
  • the present invention uses the slice layer for the main purpose of flexible encoding and compression efficiency in a head end centric end-to-end system.
  • a slice- based encoding system enables the graphics and video of an LPG to be efficiently coded and flexibly transmitted as described below. Consequently, a user can easily and rapidly move from one LPG page to another LPG page.
  • the present invention can be employed for compressing and transmitting various types of video frame sequences that contain graphics and video information, and is particularly useful in compressing and transmitting interactive program guides (IPG) where a portion of the LPG contains video (referred to herein as the video portion) and a portion of the IPG contains a programming guide grid (referred to herein as the guide portion or graphics portion).
  • IPG interactive program guides
  • the present invention slice-based encodes the guide portion separately from the slice-based encoded video portion, transmits the encoded portions within a transport stream, and reassembles the encoded portions to present a subscriber (or user) with a comprehensive LPG. Through the LPG, the subscriber can identify available programming and select various services provided by their information service provider.
  • Figure 9 depicts a frame from an illustrative LPG page 900.
  • the guide grid information is contained in portion 902 (left half page) and the video information is contained in portion 901 (right half page).
  • the IPG display 900 comprises a first 905 A, second 905B and third 905C time slot objects, a plurality of channel content objects 910-1 through 910-8, a pair of channel indicator icons 941A, 941B, a video barker 920 (and associated audio barker), a cable system or provider logo 915, a program description region 950, a day of the week identification object 931 , a time of day object 939, a next time slot icon 934, a temporal increment/decrement object 932, a "favorites” filter object 935, a "movies” filter object 936, a "kids” (i.e., juvenile) programming filter icon 937, a "sports” programming filter object 938 and a VOD programming icon 933.
  • the day of the week object 931 and next time slot icon 934 may comprise independent objects (as depicted in Figure 9) or may be considered together as parts of a combined object.
  • a user may transition from one IPG page to another, where each page contains a different graphics portion 902, i.e., a different program guide graphics.
  • a different graphics portion 902 i.e., a different program guide graphics.
  • FIG. 13 depicts a high-level block diagram of an information distribution system 1300, e.g., a video-on-demand system or digital cable system, that incorporates the present invention.
  • the system 1300 contains head end equipment (HEE) 1302, local neighborhood equipment (LNE) 1328, a distribution network 1304 (e.g., hybrid fiber- coax network) and subscriber equipment (SE) 1306.
  • HOE head end equipment
  • LNE local neighborhood equipment
  • SE subscriber equipment
  • the HEE 1302 produces a plurality of digital streams that contain encoded information in illustratively MPEG-2 compressed format. These streams are modulated using a modulation technique that is compatible with a communications channel 1330 that couples the HEE 1302 to one or more LNE (in Figure 1, only one LNE 1328 is depicted).
  • the LNE 1328 is illustratively geographically distant from the HEE 1302.
  • the LNE 1328 selects data for subscribers in the LNE's neighborhood and remodulates the selected data in a format that is compatible with distribution network 1304.
  • the system 1300 is depicted as having the HEE 1302 and LNE 1328 as separate components, those skilled in the art will realize that the functions of the LNE may be easily incorporated into the HEE 1302.
  • the subscriber equipment (SE) 1306, at each subscriber location 13061, 13062, , 1306n, comprises a receiver 1324 and a display 1326.
  • the subscriber equipment receiver 1324 extracts the information from the received signal and decodes the stream to produce the information on the display, i.e., produce a television program, IPG page, or other multimedia program.
  • the HEE 202 produces information that can be assembled to create an IPG such as that shown in FIG. 1.
  • the HEE produces the components of the IPG as bitstreams that are compressed for transmission in accordance with the present invention.
  • a video source 1314 supplies the video sequence for the video portion of the LPG to an encoding unit 1316 of the present invention. Audio signals associated with the video sequence are supplied by an audio source 1312 to the encoding and multiplexing unit 1316. Additionally, a guide data source 1332 provides program guide data to the encoding unit 1316. This data is typically in a database format, where each entry describes a particular program by its title, presentation time, presentation date, descriptive information, channel, and program source.
  • the encoding unit 1316 compresses a given video sequence into one or more elementary streams and the graphics produced from the guide data into one or more elementary streams. As described below with respect to Figure 14, the elementary streams are produced using a slice-based encoding technique. The separate streams are coupled to the cable modem 1322.
  • the streams are assembled into a transport stream that is then modulated by the cable modem 1322 using a modulation format that is compatible with the head end communications channel 1330.
  • the head end communications channel may be a fiber optic channel that carries high speed data from the HEE 1302 to a plurality of LNE 1328.
  • the LNE 1328 selects IPG page components that are applicable to its neighborhood and remodulates the selected data into a format that is compatible with a neighborhood distribution network 1304. A detailed description of the LNE 1328 is presented below with respect to Figure 15.
  • the subscriber equipment 1306 contains a receiver 1324 and a display 1326 (e.g., a television).
  • the receiver 1324 demodulates the signals carried by the distribution network 1304 and decodes the demodulated signals to extract the IPG pages from the stream. The details of the receiver 1324 are described below with respect to Figure 24.
  • the system of the present invention is designed specifically to work in a slice-based ensemble encoding environment, where a plurality of bitstreams are generated to compress video information using a sliced-based technique.
  • a "slice layer" may be created that divides a video frame into one or more "slices".
  • Each slice includes one or more macroblocks, where the macroblocks are illustratively defined as rectangular groups of pixels that tile the entire frame, e.g., a frame may consist of 30 rows and 22 columns of macroblocks.
  • Any slice may start at any macroblock location in a frame and extend from left to right and top to bottom through the frame.
  • the stop point of a slice can be chosen to be any macroblock start or end boundary.
  • the slice layer syntax and its conventional use in forming an MPEG-2 bitstream is well known to those skilled in the art and shall not be described herein.
  • the slice-based technique separately encodes the video portion of the LPG and the grid graphics portion of the LPG.
  • the grid graphics portion and the video portion are represented by one or more different slices.
  • FIG. 9A illustrates an exemplary slice division of an IPG 900 where the guide portion 902 and the video portion 901 are each divided into N slices (e.g., g/sl through g/sN and v/sl through v/sN). Each slice contains a plurality of macroblocks, e.g., 22 macroblocks total and 11 macroblocks in each portion.
  • the slices in the graphics portion are pre-encoded to form a "slice form grid page" database that contains a plurality of encoded slices of the graphics portion.
  • the encoding process can also be performed real-time during the broadcast process depending on the preferred system implementation.
  • the graphics slices can be recalled from the database and flexibly combined with the separately encoded video slices to transmit the IPG to the LNE and, ultimately, to the subscribers.
  • the LNE assembles the IPG data for the neighborhood as described below with respect to FIG. 15.
  • the encoding unit 1316 receives a video sequence and an audio signal.
  • the audio source comprises, illustratively, audio information that is associated with a video portion in the video sequence such as an audio track associated with still or moving images.
  • the audio stream is derived from the source audio (e.g., music and voice-over) associated with the movie trailer.
  • the encoding unit 1316 comprises video processor 1400, a graphics processor 1402 and a controller 1404.
  • the video processor 1400 comprises a compositor unit 1406 and an encoder unit 1408.
  • the compositor unit 1406 combines a video sequence with advertising video, advertiser or service provider logos, still graphics, animation, or other video information.
  • the encoder unit 1408 comprises one or more video encoders 1410, e.g., a real-time MPEG-2 encoder and an audio encoder 1412, e.g., an AC-3 encoder.
  • the encoder unit 1408 produces one or more elementary streams containing slice-based encoded video and audio information.
  • the video sequence is coupled to a real time video encoder 1410.
  • the video encoder then forms a slice based bitstream, e.g., an MPEG-2 compliant bit stream, for the video portion of an LPG.
  • a slice based bitstream e.g., an MPEG-2 compliant bit stream
  • the GOP structure consists of an I-picture followed by ten B-pictures, where a P-picture separates each group of two B-pictures (i.e., "I-B-B-P-B-B-P-B-B-P-B-B-P-B-B-P-B-B-B-B-B-B-B"
  • any GOP structure and size may be used in different configurations and applications.
  • the video encoder 1410 "pads" the graphics portion (illustratively the left half portion of LPG) with null data. This null data is replaced by the graphics grid slices, at a later step, within LNE. Since the video encoder processes only motion video information, excluding the graphics data, it is optimized for motion video encoding.
  • the controller 1404 manages the slice-based encoding process such that the video encoding process is time and spatially synchronized with the grid encoding process. This is achieved by defining slice start and stop locations according to the objects in the IPG page layout and managing the encoding process as defined by the slices.
  • the graphics portion of the IPG is separately encoded in the graphics processor 1402.
  • the processor 1402 is supplied guide data from the guide data source (1332 in Figure 2).
  • the guide data is in a conventional database format containing program title, presentation date, presentation time, program descriptive information and the like.
  • the guide data grid generator 414 formats the guide data into a "grid", e.g., having a vertical axis of program sources and a horizontal axis of time increments.
  • a "grid" e.g., having a vertical axis of program sources and a horizontal axis of time increments.
  • the guide grid is a video frame that is encoded using a video encoder 1416 optimized for video with text and graphics content.
  • the video encoder 1416 which can be implemented as software, slice-based encodes the guide data grid to produce one or more bitstreams that collectively represent the entire guide data grid.
  • the encoder is optimized to effectively encode the graphics and text content.
  • the controller 1404 defines the start and stop macroblock locations for each slice.
  • the result is a GOP structure having intra-coded pictures containing I-picture slices and predicted pictures containing B and P-picture slices.
  • the I-pictures slices are separated from the predicted picture slices.
  • Each encoded slice is separately stored in a slice form grid page database 1418.
  • the individual slices can be addressed and recalled from the database 1418 as required for transmission.
  • the controller 1404 controls the slice-based encoding process as well as manages the database 1418.
  • FIG. 15 depicts a block diagram of the LNE 1328.
  • the LNE 1328 comprises a cable modem 1500, slice combiner 1502, a multiplexer 504 and a digital video modulator 1506.
  • the LNE 1328 is coupled illustratively via the cable modem to the HEE 1302 and receives a transport stream containing the encoded video information and the encoded guide data grid information.
  • the cable modem 1500 demodulates the signal from the HEE 1302 and extracts the MPEG slice information from the received signal.
  • the slice combiner 1502 combines the received video slices with the guide data slices in the order in which the decoder at receiver side can easily decode without further slice re-organization.
  • the resultant combined slices are PID assigned and formed into an illustratively MPEG compliant transport stream(s) by multiplexer 1504.
  • the slice- combiner (scanner) and multiplexer operation is discussed in detail with respect to Figures 15-20.
  • the transport stream is transmitted via a digital video modulator 506 to the distribution network 1304.
  • the LNE 1328 is programmed to extract particular information from the signal transmitted by the HEE 1302. As such, the LNE can extract video and guide data grid slices that are targeted to the subscribers that are connected to the particular LNE. For example, the LNE 1328 can extract specific channels for representation in the guide grid that are available to the subscribers connected to that particular LNE. As such, unavailable channels to a particular neighborhood would not be depicted in a subscriber's LPG.
  • the IPG can contain targeted advertising, e-commerce, program notes, and the like.
  • each LNE can combine different guide data slices with different video to produce IPG screens that are prepared specifically for the subscribers connected to that particular LNE.
  • Other LNEs would select different LPG component information that is relevant to their associated subscribers.
  • Figure 16 illustrates a matrix representation 1600 of a series of IPG pages.
  • ten different LPG pages are available at any one time period, e.g., tl, t2, and so on.
  • Each page is represented by a guide portion (g) and a common video portion (v) such that a first IPG page is represented by gl/vl, the second IPG page is represented by g2/vl and so on.
  • ten identical guide portions (gl-glO) are associated with a first video portion (vl).
  • Each portion is slice-base encoded as described above within the encoding umt (1316 of FIG.14).
  • Figure 16 illustrates the assignment of PIDs to the various portions of the LPG pages.
  • the intra-coded guide portion slices gl through glO are assigned to PLDl through PIDIO respectively.
  • One of the common intra-coded video portion vl illustratively the tenth IPG page, is assigned to PLDl 1.
  • substantial bandwidth saving is achieved by delivering intra-coded video portion slices vl only one time.
  • the predictive-coded slices gl/v2 through gl/vl 5 are assigned to PIDl 1.
  • Figure 17 depicts a process 1700 that is used to form a bitstream 1710 containing all the intra-coded slices encoded at a particular time tl of Figure 16.
  • a plurality of IPG pages 17021 through 170210 are provided to the encoding unit.
  • each page is slice base encoded to form, for example, guide portion slices gl/sl through gl/sN and video portion slices v/sl through v/sN for LPG page 1 17041.
  • the slice based encoding process for video and guide portions can be performed in different forms.
  • guide portion slices can be pre-encoded by a software MPEG-2 encoder or encoded by the same encoder as utilized for encoding the video portion. If the same encoder is employed, the parameters of the encoding process is adjusted dynamically for both portions. It is important to note that regardless of the encoder selection and parameter adjustment, each portion is encoded independently.
  • the encoding is performed by assuming the full frame size (covering both guide and video portions) and the guide portion of the full frame is padded with null data.
  • This step, step 1704, is performed at the HEE.
  • the encoded video and guide portion slices are sent to the LNE. If the LNE functionality is implemented as part of the HEE, then, the slices are delivered to the LNE as packetized elementary stream format or any similar format as output of the video encoders. If LNE is implemented as a remote network equipment, the encoded slices are formatted in a form to be delivered over a network via a preferred method such as cable modem protocol or any other preferred method.
  • the slice combiner at step 1706 orders the slices in a form suitable for the decoding method at the receiver equipment.
  • the guide portion and video portion slices are ordered in a manner as if the original pictures in Figure 17 (a) are scanned from left to right and top to bottom order.
  • Each of the slice packets are then assigned PID's as discussed in Figure 16 by the multiplexer; PLDl is assigned to gl/sl ... gl/sn, PLD2 to g2/sl ... g2/sn, ..., PIDIO to glO/sl ... glO/sn, and PLDl 1 is assigned to v/sl ...
  • FIG. 17 (c) The resultant transport stream containing the intra-coded slices of video and guide portions is illustrated in Figure 17 (c). Note that based on this transport stream structure, a receiving terminal as discussed in later parts of this description of the invention, retrieves the original picture by constructing the video frames row-by-row, first retrieving, assuming PIDl is desired, e.g., gl/sl of PIDl then v/sl of PIDl 1, next gl/s2 of PLDl then v/s2 of PLD 11 and so on.
  • PIDl e.g., gl/sl of PIDl then v/sl of PIDl 1
  • next gl/s2 of PLDl then v/s2 of PLD 11 and so on.
  • Figure 18 illustrates a process 1800 for producing a bitstream 1808 containing the slices from the predictive-coded pictures accompanying the transport stream generation process discussed in Figure 17 for intra-coded slices.
  • the predictive-coded slices are generated at the HEE independently and then forwarded to an LNE either as local or in a remote network location.
  • slices in the predictive-coded guide and video portion slices illustratively from time periods t2 to tl5, are scanned from left to right and top to bottom in slice-combiner and complete data is assigned PLD 11 by the multiplexer.
  • the guide portion slices gl/sl to gl/sn at each time period t2 to tl5 does not change from their intra-coded corresponding values at tl . Therefore, these slices are coded as skipped macroblocks "sK".
  • Conventional encoder systems do not necessarily skip macroblocks in a region even when there is no change from picture to picture. In order to provide this functionality, the encoder is given the parameters for discussed slices to skip macroblocks without any further encoding evaluations.
  • the slice packets are ordered into a portion of final transport stream, first including the video slice packets v2/sl ... v2/SN to vl5/sl ...
  • FIG. 19 depicts a complete MPEG compliant transport stream 1900 that contains the complete information needed by a decoder to recreate IPG pages that are encoded in accordance with the invention.
  • the transport stream 1900 comprises the intra-coded bitstream 1710 of the guide and video slices (PIDs 1 to 11), a plurality of audio packets 1902 identified by an audio PID, and the bitstream 1806 containing the predictive-coded slices in PIDl 1.
  • the rate of audio packet insertion between video packets is decided based on the audio and video sampling ratios.
  • FIG. 20 illustrates a process 2000, an alternative embodiment of process
  • the process 2000 at step 2002, produces the slice base encoded predictive-coded slices.
  • the slices are scanned to intersperse the "skipped" slices (sk) with the video slices (vl).
  • the previous embodiment scanned the skipped guide portion and video portion separately.
  • each slice is scanned left to right and top to bottom completely, including the skipped guide and video data.
  • the bitstream 2006 has the skipped guide and video slices distributed uniformly throughout the transport stream.
  • the foregoing embodiments of the invention assumed that the IPG page was divided into one guide portion and one video portion.
  • the guide portion is the left half of the LPG page and the video portion is the right half of the LPG page.
  • the invention can be extended to have a guide portion and multiple video portions, e.g., three.
  • Each of the video portions may contain video having different rates of motion, e.g., portion one may run at 30 frames per second, portions two and three may run at 2 frames per second.
  • Figure 21 A illustrates an exemplary embodiment of an IPG 2100 having a guide portion 2102 and three video portions 2104, 2106 and 2108. To encode such an IPG, each portion is separately encoded and assigned PIDs.
  • Figure 2 IB illustrates an assignment map for encoding each portion of the LPG page of Figure 21A.
  • the guide portion 2102 is encoded as slices g/sl through g/sN, while the first video portion 2104 is encoded as slices v/sl through v/sM, and the second video portion 2106 is encoded as slices j/sM+1 through j/sL, the third video portion 2108 is encoded as slices p/sL+1 through p/sN.
  • Figure 22 depicts the scanning process 2200 used to produce a bitstream
  • the scanning process 2200 flows from left to right, top to bottom through the assigned slices of Figure 2 IB.
  • PIDs are assigned, at step 2202, to slices 1 to M; at step 2204, to slices M+l to L; and, at step 2206, to slices L+l to N.
  • the PLDS are assigned to each of the slices.
  • the guide portion slices are assigned PLDS 1 through 10, while the first video portion slices are assigned PLDl 1, the second video portion slices are assigned PLD 12 and the third video portion slices are assigned PLDl 3.
  • FIG. 23 depicts a diagrammatical illustration of a process 2300 for assigning PLDS to the predictive-coded slices for the IPG of FIG. 21 A.
  • the scanning process 2300 is performed, at step 2302, from left to right, top to bottom through the V, J and P predicted encoded slices and PIDS are assigned where the V slices are assigned PID 11, the J slices are assigned PID 12 and the P slices are assigned PIDl 3.
  • the process 2300 assigns PIDs to the skipped slices.
  • the skipped guide slices vertically corresponding to the V slices are assigned PIDl 1
  • the skipped slices vertically corresponding to the J slices are assigned PLD 12
  • the skipped slices vertically corresponding to the P slices are assigned PID13.
  • the resulting predictive- coded bitstream 2312 comprises the predicted video slices in portion 2306 and the skipped slices 2310.
  • the bitstream 2210 of intra-coded slices and the bitstream 2312 of predictive-coded slices are combined into a transport stream having a form similar to that depicted in Figure 19. To change pages in the guide, it is required to switch between programs
  • a splice countdown (or random access indicator) method is employed at the end of each video sequence to indicate the point at which the video should be switched from one PID to another.
  • the generated streams for different IPG pages are formed in a similar length compared to each other. This is due to the fact that the source material is almost identical differing only in the characters in the guide from one page to another. In this way, while streams are generated having nearly identical lengths, the streams are not exactly the same length. For example, for any given sequence of 15 video frames, the number of transport packets in the sequence varies from one guide page to another. Thus, a finer adjustment is required to synchronize the beginnings and ends of each sequence across all guide pages in order for the countdown switching to work.
  • the invention provides the act of synchronization of a plurality of streams that provides seamless switching at the receiver.
  • the multiplexer in the LNE identifies the length of the longest guide page for that particular sequence, and then adds sufficient null packets to the end of each other guide page so that all the guide pages become the same length. Then, the multiplexer adds the switching packets at the end of the sequence, after all the null packets.
  • the second method requires buffering of all the packets for all guide pages for each sequence. If this is allowed in the considered system, then the packets can be ordered in the transport stream such that the packets for each guide page appear at slightly higher or lower frequencies, so that they all finish at the same point. Then, the switching packets are added by the multiplexer in the LNE at the end of each stream without the null padding.
  • a third method is to start each sequence together, and then wait until all the packets for all the guide pages have been generated. Once the generation of all packets is completed, switching packets are placed in the streams at the same time and point in each stream.
  • the first method which is null-padding, can be applied to avoid bursts of N packets of the same PLD into a decoder's video buffer faster than the MPEG specified rate (e.g., 1.5 Mbit).
  • the MPEG specified rate e.g. 1.5 Mbit
  • FIG. 24 depicts a block diagram of the receiver 1324 (also known as a set top terminal (STT) or user terminal) suitable for use in producing a display of an LPG in accordance with the present invention.
  • the STT 1324 comprises a tuner 2410, a demodulator 2420, a transport demultiplexer 2430, an audio decoder 2440, a video decoder 2450, an on-screen display processor (OSD) 2460, a frame store memory 2462, a video compositor 2490 and a controller 2470.
  • OSD on-screen display processor
  • Tuner 2410 receives, e.g., a radio frequency (RF) signal comprising, for example, a plurality of quadrature amplitude modulated (QAM) information signals from a downstream (forward) channel. Tuner 2410, in response to a control signal TUNE, times a particular one of the QAM information signals to produce an intermediate frequency (IF) information signal.
  • Demodulator 2420 receives and demodulates the intermediate frequency QAM information signal to produce an information stream, illustratively an MPEG transport stream. The MPEG transport stream is coupled to a transport stream demultiplexer 2430.
  • Transport stream demultiplexer 2430 in response to a control signal TD produced by controller 2470, demultiplexes (i.e., extracts) an audio information stream A and a video information stream V.
  • the audio information stream A is coupled to audio decoder 2440, which decodes the audio information stream and presents the decoded audio information stream to an audio processor (not shown) for subsequent presentation.
  • the video stream V is coupled to the video decoder 2450, which decodes the compressed video stream V to produce an uncompressed video stream VD that is coupled to the video compositor 2490.
  • OSD 2460 in response to a control signal OSD produced by controller 2470, produces a graphical overlay signal VOSD that is coupled to the video compositor 2490.
  • the video compositor 2490 merges the graphical overlay signal VOSD and the uncompressed video stream VD to produce a modified video stream (i.e., the underlying video images with the graphical overlay) that is coupled to the frame store unit 2462.
  • the frame store unit 562 stores the modified video stream on a frame-by-frame basis according to the frame rate of the video stream. Frame store unit 562 provides the stored video frames to a video processor (not shown) for subsequent processing and presentation on a display device.
  • Controller 2470 comprises a microprocessor 2472, an input/output module 2474, a memory 2476, an infrared (IR) receiver 2475 and support circuitry 2478.
  • the microprocessor 2472 cooperates with conventional support circuitry 2478 such as power supplies, clock circuits, cache memory and the like as well as circuits that assist in executing the software routines that are stored in memory 2476.
  • the controller 2470 also contains input/output circuitry 2474 that forms an interface between the controller 2470 and the tuner 2410, the transport demultiplexer 2430, the onscreen display unit 2460, the back channel modulator 2495, and the remote control unit 2480.
  • controller 2470 is depicted as a general purpose computer that is programmed to perform specific interactive program guide control function in accordance with the present invention
  • the invention can be implemented in hardware as an application specific integrated circuit (ASIC).
  • ASIC application specific integrated circuit
  • the remote control unit 2480 comprises an 8-position joy stick, a numeric pad, a "select” key, a “freeze” key and a "return” key.
  • User manipulations of the joy stick or keys of the remote control device are transmitted to a controller via an infra red (IR) link.
  • the controller 2470 is responsive to such user manipulations and executes related user interaction routines 2400, uses particular overlays that are available in an overlay storage 2479.
  • the video streams are recombined via stream processing routine 2402 to form the video sequences that were originally compressed.
  • the processing unit 2402 employs a variety of methods to recombine the slice-based streams, including, using PID filter 2404, demultiplexer 2430, as discussed in the next sections of this disclosure of the invention.
  • the PID filter implemented illustratively as part of the demodulator is utilized to filter the undesired PLDs and retrieve the desired PLDs from the transport stream.
  • the packets to be extracted and decoded to form a particular IPG are identified by a PID mapping table (PMT) 2477.
  • PMT PID mapping table
  • the slices are sent to the MPEG decoder 2450 to generate the original uncompressed IPG pages. If an exemplary transport stream with two PLDs as discussed in previous parts of the this disclosure, excluding data and audio streams, is received, then the purpose of the stream processing unit 2402 is to recombine the intra-coded slices with their corresponding predictive-coded slices in the correct order before the recombined streams are coupled to the video decoder. This complete process is implemented as software or hardware. In the illustrated IPG page slice structure, only one slice is assigned per row and each row is divided into two portions, therefore, each slice is divided into guide portion and video portion.
  • one method is to construct a first row from its two slices in the correct order by retrieving two corresponding slices from the transport stream, then construct a second row from its two slices, and so on.
  • a receiver is required to process two PIDs in a time period.
  • the PID filter can be programmed to pass two desired PIDs and filter out the undesired PLDs.
  • the desired PLDs are identified by the controller 2470 after the user selects an LPG page to review.
  • a PID mapping table (2477 of Figure 24) is accessed by the controller 2470 to identify which PIDS are associated with the desired IPG.
  • a PID filter is available in the receiver terminal, then it is utilized to receive two PIDs containing slices for guide and video portions. The demultiplexer then extracts packets from these two PIDs and couples the packets to the video decoder in the order in which they arrived. If the receiver does not have an optional PID filter, then the demultiplexer performs the two PID filtering and extracting functions. Depending on the preferred receiver implementation, the following methods are provided in Figures 25-28 to recombine and decode slice-based streams.
  • I-streams intra-coded slice-based streams
  • PRED streams predictive-coded slice-based sfreams
  • the recombination process is conducted within the demultiplexer 2430 of the subscriber equipment
  • a multi-program fransport stream with each program consisting of I-PLDs for each intra-coded guide slice, I-PLDs for the intra-coded video slices, one PRED-PID for predicted guide and video, an audio-PID, and multiple data- PEDs
  • any packet with a PID that matches any of the PLD's within the desired program (as identified in a program mapping table) are depacketized and the payload is sent to the elementary stream video decoder. Payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer.
  • FIG. 25 is a flow diagram of the first packet extraction method 2500.
  • the method starts at step 2505 and proceeds to step 2510 to wait for (user) selection of an I-PID to be received.
  • the I-PID as the first picture of a stream's GOP, represents the stream to be received.
  • the slice-based encoding technique assigns two or more I-PLDS to the stream (i.e., I-PLDs for the guide portion and for one or more video portions)
  • the method must identify two or more I-PIDs.
  • the method 2500 proceeds to step 2515.
  • the I-PID packets are extracted from the transport stream, including the header information and data, until the next picture start code.
  • the header information within the first-received I-PID access unit includes sequence header, sequence extension, group start code, GOP header, picture header, and picture extension, which are known to a reader that is skilled in MPEG-1 and MPEG-2 compression standards.
  • the header information in the next I-PID access units that belongs to the second and later GOP's includes group start code, picture start code, picture header, and extension.
  • the method 2500 then proceeds to step 2520 where the payloads of the packets that includes header information related to video stream and I- picture data are coupled to the video decoder 2550 as video information stream V.
  • the method 2500 then proceeds to step 2525.
  • the predicted picture slice-based stream packets PRED-PID illustratively the PID-11 packets of fourteen predicted pictures in a GOP of size fifteen, are extracted from the transport stream.
  • the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder 2550 as video information stream V.
  • a complete GOP including the I-picture and the predicted-picture slices, are available to the video decoder 2550.
  • the video decoder decodes the recombined stream with no additional recombination process.
  • the method 2500 then proceeds to step 2535.
  • a query is made as to whether a different I-PLD is requested, e.g., new LPG is selected. If the query at step 2535 is answered negatively, then the method 2500 proceeds to step 2510 where the transport demultiplexer 2530 waits for the next packets having the PID of the desired I-picture slices. If the query at step 2535 is answered affirmatively, then the PLD of the new desired I-picture slices is identified at step 2540 and the method 2500 returns to step 2510.
  • the method 2500 of Figure 25 is used to produce a conformant MPEG video stream V by concatenating a desired I-picture slices and a plurality of P- and/or B- picture slices forming a pre-defined GOP structure.
  • the second method of recombining the video stream involves the modification of the transport stream using a PID filter.
  • a PID filter 2404 can be implemented as part of the demodulator 2420 of Figure 24 or as part of demultiplexer.
  • any packet with a PLD that matches any of the PIDs within the desired program as identified by the program mapping table to be received have its PID modified to the lowest video PLD in the program (the PID which is referenced first in the program's program mapping table (PMT)).
  • PMT program mapping table
  • the transport stream output from the PID filter contains a program with a single video stream, whose packets appear in the proper order to be decoded as valid MPEG bitsfream.
  • the incoming bit stream does not necessarily contain any packets with a PID equal to the lowest video PID referenced in the programs PMT. Also note that it is possible to modify the video PID's to other PID numbers than lowest PID without changing the operation of the algorithm.
  • the continuity counters of the merged PID's may become invalid at the merge points, due to each PID having its own continuity counter.
  • the discontinuity indicator in the adaptation field is set for any packets that may immediately follow a merge point. Any decoder components that check the continuity counter for continuity is required to correctly process the discontinuity indicator bit.
  • FIG. 26 illustrates the details of this method, in which, it starts at step
  • step 2605 proceeds to step 2610 to wait for (user) selection of two I-PLDs, illustratively two PIDs corresponding to guide and video portion slices, to be received.
  • the I-PLDs comprising the first picture of a stream's GOP, represents the two streams to be received.
  • the method 2600 Upon detecting a transport packet having one of the selected I-PIDs, the method 2600 proceeds to step 2615.
  • step 2615 the PID number of the I-stream is re-mapped to a predetermined number, PLD*.
  • the PID filter modifies all the PID's of the desired I-stream packets to PID*. The method then proceeds to step 2620, wherein the
  • PID number of the predicted picture slice streams, PRED-PID is re-mapped to PID*.
  • the PID filter modifies all the PID's of the PRED-PID packets to PID*. The method 2600 then proceeds to step 2625.
  • the packets of the PID* stream are extracted from the transport stream by the demultiplexer.
  • the method 2600 then proceeds to step 2630, where the payloads of the packets that includes video stream header information and I- picture and predicted picture slices are coupled to the video decoder as video information stream V.
  • the slice packets are ordered in the transport stream in the same order as they are to be decoded, i.e., a guide slice packets of first row followed by video slice packets of first row, second row, and so on.
  • the method 2600 then proceeds to 2635.
  • a query is made as to whether a different set of (two) I-PIDs are requested. If the query at step 2635 is answered negatively, then the method 2600 proceeds to step 2610 where the fransport demultiplexer waits for the next packets having the identified I-PLDs. If the query at step 2635 is answered affirmatively, then the two PLDs of the new desired I-picture is identified at step 1640 and the method 2600 returns to step 2610.
  • the method 2600 of Figure 26 is used to produce a conformant MPEG video stream by merging the intra-coded slice streams and predictive-coded slice streams before the demultiplexing process.
  • the third method accomplishes MPEG bitstream recombination by using splicing information in the adaptation field of the transport packet headers by switching between video PIDs based on splice countdown concept.
  • the MPEG streams signal the PLD to PID switch points using the splice countdown field in the transport packet header's adaptation field.
  • the PLD filter is programmed to receive one of the PLDs in a program's PMT, the reception of a packet containing a splice countdown value of 0 in its header's adaptation field causes immediate reprogramming of the PID filter to receive the other video PID.
  • Figure 27 illustrates the details of this method, in which, it starts at step
  • step 2705 proceeds to step 2710 to wait for (user) selection of two I-PIDs to be received.
  • the I-PIDs comprising the first picture of a stream's GOP, represents the stream to be received.
  • the method 2700 Upon detecting a transport packet having one of the selected I-PIDs, the method 2700 proceeds to step 2715.
  • the I-PID packets are extracted from the transport stream until, and including, the I-PID packet with slice countdown value of zero.
  • the method 2700 then proceeds to step 2720 where the payloads of the packets that includes header information related to video stream and I-picture slice data are coupled to the video decoder as video information stream V.
  • the method 2700 then proceeds to step 2725.
  • the PLD filter is re-programmed to receive the predicted picture packets PRED-PID.
  • the method 2700 then proceeds to 2730.
  • the predicted stream packets illustratively the PLDl 1 packets of predicted picture slices, are extracted from the fransport stream.
  • the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder.
  • a complete GOP including the I- picture slices and the predicted-picture slices, are available to the video decoder.
  • the video decoder decodes the recombined stream with no additional recombination process.
  • the method 2700 then proceeds to step 2740.
  • a query is made as to whether a different I-PID set (two) is requested. If the query at step 2740 is answered negatively, then the method 2700 proceeds to step 2750 where the PID filter is re-programmed to receive the previous desired I-PIDs. If answered affirmatively, then the PLDs of the new desired I-picture is identified at step 2745 and the method proceeds to step 2750, where the PID filter is re- programmed to receive the new desired I-PIDs. The method then proceeds to step 2745, where the transport demultiplexer waits for the next packets having the PIDs of the desired I-picture.
  • the method 2700 of Figure 27 is used to produce a conformant MPEG video stream, where the PID to PID switch is performed based on a splice countdown concept.
  • the slice recombination can also be performed by using the second method where the demultiplexer handles the receiving PIDs and extraction of the packets from the transport stream based on the splice countdown concept.
  • the same process is applied as Figure 17 with the difference that instead of reprogramming the PID filter after "0" splice countdown packet, the demultiplexer is programmed to depacketize the desired PLDs.
  • a fourth method presented herein provides the stream recombination.
  • two or more streams with different PIDs are spliced together via an additional splicing software or hardware and can be implemented as part of the demultiplexer. The process is described below with respect to Figure 28.
  • the algorithm provides the information to the demultiplexer about which PLD to be spliced to as the next step.
  • the demultiplexer processes only one PLD but a different PID after the splice occurs.
  • Figure 28 depicts a flow diagram of this fourth process 2800 for recombining the IPG streams.
  • the process 2800 begins at step 2801 and proceeds to step 2802 wherein the process defines an array of elements having a size that is equal to the number of expected PIDs to be spliced. It is possible to distribute splice information in a picture as desired according to slice structure of the picture and the desired processing form at the receiver. For example, in the slice based streams discussed in this invention, for an I picture, splice information may be inserted into slice row portions of guide and video data.
  • the process initializes the video PID hardware with for each entry in the array.
  • the hardware splice process is enabled and the packets are extracted by the demultiplexer.
  • the packet extraction may also be performed at another step within the demultiplexer.
  • the process checks a hardware register to determine if a splice has been completed. If the splice has occurred, the process, at step 2814, disables the splice hardware and, at step 2816, sets the video PID hardware to the next entry in the array. The process then returns along path 2818 to step 2810. If the splice has not occurred, the process proceeds to step 2820 wherein the process waits for a period of time and then returns along path 2822 to step 2812.
  • the slices are spliced together by the hardware within the receiver.
  • the receiver is sent an array of valid PLD values for recombining the slices through a user data in the transport stream or another communications link to the STT from the HEE.
  • the array is updated dynamically to ensure that the correct portions of the LPG are presented to the user correctly. Since the splice points in slice based streams may occur at a frequent level, a software application may not have the capability to control the hardware for splicing operation as discussed above. If this is the case, then, firmware is dedicated to control the demodulator hardware for splicing process at a higher rate than a software application can handle.
  • the video streams representing the IPG may be carried in a single transport stream or multiple transport streams, within the form of a single or multi- programs as discussed below with respect to the description of the encoding system.
  • a user desiring to view the next 1.5 hour time interval e.g., 9:30 - 11 :00
  • may activate a "scroll right" object or move the joystick to the right when a program within program grid occupies the final displayed time interval.
  • Such activation results in the controller of the STT noting that a new time interval is desired.
  • the video stream corresponding to the new time interval is then decoded and displayed. If the corresponding video stream is within the same transport stream (i.e., a new PID), then the stream is immediately decoded and presented.
  • the related transport stream is extracted from the broadcast stream and the related video stream is decoded and presented. If the corresponding transport stream is within a different broadcast sfream, then the related broadcast stream is tuned, the corresponding transport sfream is extracted, and the desired video stream is decoded and presented.
  • each extracted video stream is associated with a common audio stream.
  • the video/audio barker function of the program guide is continuously provided, regardless of the selected video stream.
  • teachings of the invention is equally applicable to systems and user interfaces that employs multiple audio streams.
  • a user interaction resulting in a prior time interval or a different set of channels results in the retrieval and presentation of a related video stream.
  • a pointcast session is initiated.
  • the STT sends a request to the head end via the back channel requesting a particular stream.
  • the head end then processes the request, retrieves the related guide and video streams from the information server, incorporates the streams within a transport stream as discussed above (preferably, the transport stream currently being tuned/selected by the STT) and informs the STT which PIDs should be received, and from which transport stream should be demultiplexed.
  • the STT extracts the related PLDs for the IPG.
  • the STT first demultiplexes the corresponding transport stream (possibly timing a different QAM stream within the forward channel). Upon completion of the viewing of the desired stream, the STT indicates to the head end that it no longer needs the stream, whereupon the head end tears down the pointcast session. The viewer is then returned to the broadcast stream from which the pointcast session was launched.
  • the method and apparatus described herein is applicable to any number of slice assignments to a video frame and any type of slice structures.
  • the presented algorithms are also applicable to any number of PLD assignments to intra-coded and predictive-coded slice based streams. For example, multiple PLDs can be assigned to the predictive-coded slices without loss of generality.
  • the method and apparatus described herein is fully applicable picture based encoding by assigning each picture only to a one slice, where each picture is encoded then as a full frame instead of multiple slices.
  • Fig. 11 shows the basic ensemble encoding structure where each of the streams are encoded independently in a vertical dimension and assigned a separate PID.
  • the ten streams with PIDs 1 through 10 contain redundant information that is included in the delivered transport stream.
  • ten video frames (each video frame including guide and video halves) are sent in parallel for each time increment.
  • this first encoding technique is referred to as "level zero" encoding.
  • Fig. 12 shows an encoding structure where a substantial portion of the redundancy is removed. Using only the elements 1202 to 1222 in Fig. 12, all other elements in each row and column of the matrix may be reconstructed.
  • this second encoding technique is referred to as "level one" encoding.
  • Fig. 16 shows an encoding structure where the redundancy is further removed. This removal of redundancy is achieved by dividing each frame into slices and transmitting the unique slices. These slices are later recombined as appropriate to regenerate the frames.
  • this third encoding technique is referred to as "level two" encoding.
  • Figure 29 is a block diagram illustrating an apparatus for encoding, packetizing, multiplexing, and assigning programs to video, audio, and data in accordance with a "level zero" embodiment of the present invention.
  • the "level zero" embodiment delivers ten video frames for each time increment (in addition to an audio signal).
  • the apparatus 2900 includes an encoding and packetizing unit 2902 and a transport stream multiplexer and PMT (program mapping table) assigner 2904.
  • PMT program mapping table
  • the encoding and packetizing unit 2902 receives for each time increment ten video sequence inputs 2906, one audio input 2908, and ten data inputs 2910.
  • the encoding and packetizing unit 2902 encodes and packetizes each of these inputs.
  • the encoding and packetizing unit 2902 outputs ten video transport streams 2912, one audio transport stream 2914, and ten data transport streams 2916.
  • each video stream is encoded independently and packetized into a transport stream.
  • the ten video streams 2906 are encoded by aligning the frames of each sfream to each other so that each group of pictures (GOP) starts at the same time point for each stream.
  • Each video stream is assigned a video PID.
  • the common single audio sequence is also encoded and packetized into a separate transport stream which is assigned an audio PID.
  • the data information is packetized into ten separate streams, and each data stream is assigned a data PID.
  • the transport stream multiplexer and PMT assigner 2904 receives the output from the encoding and packetizing unit 2902.
  • the transport stream multiplexer and PMT assigner 2904 receives the ten video transport sfreams 2912, one audio transport stream 2914, and ten data transport streams 2916.
  • the transport stream multiplexer and PMT assigner 2904 multiplexes these various streams to form a single final transport stream or multiple final transport streams 2918.
  • a single final transport stream 2918 one packet of each stream may be sequentially placed to form the final transport stream. For example, first a packet from video transport stream 1, then a packet from video transport stream 2, then a packet from video transport stream 3, and so on.
  • the transport sfream multiplexer and PMT assigner 2904 also provides packets conveying a program mapping table (PMT).
  • the PMT specifies program identifier (PLD) values for program components. For example, a program may correspond to a particular broadcast channel, and the PMT would specify PID values for video, audio, and data relating to that broadcast channel.
  • the packets conveying the PMT are also included in the final fransport stream(s) 2918.
  • Figure 30 is a schematic diagram illustrating a program assignment structure for a multiple program final transport sfream in accordance with a embodiment of the present invention.
  • the program assignment structure 3000 assigns to each program a video PLD, an audio PID, and a data PLD.
  • the video PID is one often PLDs
  • the audio PLD is the same for each program
  • the data PID is one often PLDs.
  • program 1 3001 is assigned video PID 1, the audio PID, and data PLD 1.
  • Program 2 3002 is assigned video PID 2, the audio PID, and data PID 2.
  • Program 10 3010 is assigned video PID 10, the audio PID, and data PID 10. Note that although the audio PID is referenced for every program, the audio packets are multiplexed into the final transport stream 2918 only once.
  • Figure 31 is a schematic diagram illustrating a program assignment structure for a single program final transport stream in accordance with a "level zero" embodiment of the present invention.
  • the program assignment 3100 assigns to single program 3102 the ten video PLDs, the audio PID, and the ten data PLDs. This assignment results in a reduced number of programs.
  • Figure 32 is a diagram illustrating multiplexing of video, audio, and data packets into a final transport stream in accordance with a "level zero" embodiment of the present invention.
  • the video packets 3202 include packets with video PIDs 1-10
  • the audio packets 3204 include packets with the audio PID
  • the data packets 3206 include packets with data PIDs 1-10.
  • the transport stream multiplexer 2904 multiplexes these various packets into one or more final transport streams 2918.
  • multiplexing into a single final transport sfream 2918 is illustrated.
  • the video and audio packets may be interleaved and the data packets may be arranged separately from them.
  • the audio packets may be inserted into the final transport stream 2918 illustratively every 10 video packets.
  • FIG. 33 is a schematic diagram illustrating an assignment structure for multiple final transport streams in accordance with a "level zero" embodiment of the present invention.
  • the assignment structure 3000 assigns the various video, audio, and data packets to three transport streams.
  • transport stream 1 3302 is assigned video PIDs 1-3, the audio PID, and data PIDs 1-3.
  • Transport stream 2 3304 is assigned video PIDs 4-6, the audio PID, and data PIDs 4-6.
  • Transport stream 3 3306 is assigned video PIDs 7-10, the audio PID, and data PIDs 7-10.
  • the particular assignment structure will depend on the number of different PIDs and the number of fransport streams. Unlike this example, in a preferred embodiment, the number of video PIDs would be evenly divisible by the number of transport streams.
  • different program assignments may be imposed on each final transport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
  • Figure 34 is a diagram illustrating a final transport stream in accordance with a "level one" embodiment of the present invention. As described above, the "level one" embodiment sends ten video frames for intra-coded time increments, but only one video frame for predictive-coded time increments.
  • the final transport stream 3400 in Fig. 34 includes intra-coded packets 3402 and predictive-coded packets 3404.
  • the intra-coded packets 3402 may include, for example, 64 sequential video/audio packet groups, followed by a data packet group, much like the final transport stream 2918 shown in Fig. 32. These intra-coded packets 3402 include information from the intra-coded frames 1204 through 1222 of Fig. 12.
  • the final transport stream 3400 of Fig. 34 only includes such packets for intra-coded frames.
  • the final transport stream 3400 includes predictive-coded packets 3404 which carry information relating to the predictive-coded frames 1202 of Fig. 12.
  • Figures 35 A and 35B are diagrams illustrating multiple final transport streams in accordance with a "level one" embodiment of the present invention.
  • the example illustrated in Figs. 35 A and 35B include three final transport streams: a first final transport stream 3502, a second final transport stream 3504, and a third final transport stream 3506.
  • Each final transport stream (FTS) includes intra-coded packets and predictive-coded packets.
  • the intra-coded packets 3508 for the first FTS 3502 includes video/audio packet groups 3509.
  • Each of these groups 3509 include, in this example, ten video packets with PIDs 1-3 and an audio packet with the audio PID.
  • 64 video/audio packet groups 3509 may be serially included in the first FTS 3502, followed by a group of data packets with PLDs 1-3. the group of data packets are followed by the predictive-coded packets 3510.
  • the intra-coded packets 3512 for the second FTS 3504 includes video/audio packet groups 3513.
  • Each of these groups 3513 include, in this example, ten video packets with PIDs 4-6 and an audio packet with the audio PID.
  • 64 video/audio packet groups 3513 may be serially included in the second FTS 3504, followed by a group of data packets with PIDs 4-6. the group of data packets are followed by the predictive-coded packets 3514.
  • the intra-coded packets 3516 for the third FTS 3506 includes video/audio packet groups 3517.
  • Each of these groups 3517 include, in this example, ten video packets with PIDs 7-10 and an audio packet with the audio PLD.
  • 64 video/audio packet groups 3517 may be serially included in the third FTS 3506, followed by a group of data packets with PIDs 7-10. the group of data packets are followed by the predictive-coded packets 3518.
  • the particular assignment structure will depend on the number of different PIDs and the number of transport streams. Unlike this example, in a preferred embodiment, the number of video PIDs would be evenly divisible by the number of transport streams.
  • different program assignments may be imposed on each final fransport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
  • Figure 36 is a diagram illustrating a final transport stream in accordance with a "level two" embodiment of the present invention.
  • the "level two" embodiment divides each frame into slices and transmits the unique slices. These slices are later recombined as appropriate to regenerate the frames.
  • the final transport stream 3600 in Fig. 36 includes guide slice packets 3602, infra-video slice packets 3604, audio packets 3606, data packets 3608, and predictive slice packets 3601.
  • the guide slice packets 3602 include intra-coded guide page slices with PLDs 1-10 which are associated with the guide pages gl-glO shown in Fig. 16, respectively.
  • the infra- video slice packets 3604 include intra-coded video frame slices with PID 11 which correspond to video frame vl shown in Fig. 16.
  • the audio packets 3606 with the audio PID are interleaved with the guide slice packets 3602 and the infra-video slice packets 3604 in a way such as that shown in Fig. 36 to form a guide/video/audio packet group 3607.
  • the data packets 3608 may follow the guide/video/audio packet group 3607.
  • the data packets 3608 may have, for example, PLDs 1-10.
  • the predictive slice packets 3610 include the predictive-coded slices with PID 11 which are shown in Fig. 16.
  • the sliced content may be divided into multiple final fransport streams in a way analogous to the ways described above in relation to Figs. 33 and 35AB.
  • different program assignments may be imposed on each final transport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
  • the above examples are merely to illustrative and not limiting.
  • the invention is not limited to embodiments with only 10 different guide pages. Rather, the invention contemplates the use of various number of guide pages in an IPG, and 10 pages are used for purposes of illustration.
  • the interactive programming guide (IPG) content is currently preferably delivered using a single final transport stream.
  • multiple final transport streams may be required depending upon the bandwidth requirements of the elementary streams.
  • transitions between transport streams may have the undesirable effect of introducing latencies or delays.
  • the present invention presents various ways to reduce such switching latencies.
  • a first way to reduce switching latencies between transport streams involves a method in which related LPG pages are grouped into the same transport stream.
  • Related IPG pages may be close content- wise, or close time- wise, or close in other specified measures of relation.
  • grouping related IPG pages provide for rapid changes between video PIDs within the same transport stream.
  • grouping related IPG pages enables the construction of relatively small transport streams which may be delivered in a targeted fashion to specific local neighborhoods and/or at specific times. Such targetable transport streams may be used to further reduce switching latencies.
  • TS transport sfream
  • IPG interactive programming guide
  • the latency of receiving such following guide pages may be reduced by the automatic transmission, along with the first transport stream, of a second transport stream transmitting the following guide pages. This is advantageous in that the set-top box need not specifically request those guide pages from the IPG server.
  • FIG. 37 a second way to reduce switching latencies between fransport streams is illustrated in Figure 37.
  • certain packets may be redundantly carried by more than one transport stream in order to reduce switching latencies.
  • the video packets with PID 3 are redundantly carried by both transport streams 3702 and 3704. Since the same video PID is included within the two transport streams, a set-top terminal (STT) can utilize either sfream or both streams while transitioning from one transport stream to the other. In this way, delays experienced by the user of the STT in changing from one transport stream to another are reduced because the transition may occur as a background process which does not interrupt the display.
  • STT set-top terminal
  • This structure where PLDs overlap between transport streams may be applied in the various embodiments where multiple final transport streams are utilized.
  • the overlapping PLD structure is applicable whether level zero, level one, or level two encoding is utilized.
  • the slice-based single transport stream formation depicted in Fig. 36 may be extended to slice-based multiple transport stream with overlapping PLDs as described below in relation to Fig. 38.
  • FIG 38 is a schematic diagram illustrating slice-based multiple transport streams with overlapping PLDs to reduce latencies in accordance with an embodiment of the present invention.
  • each of the two streams 3802 and 3804 carry intra-coded guide slices identified by three PIDs.
  • the three PLDs for the first stream 3802 overlap with the three PIDs for the second stream 3804.
  • each stream includes intra-coded guide slices identified by PID 3.
  • the PID or PIDs to be shared between transport streams may be determined in various ways. A first way is to determine or predetermine the IPG page which will most probably be used by a viewer to switch from one transport stream to another transport stream.
  • a first transport stream includes pages listing broadcast programming and a page listing pay-per-view (PPV) movies
  • a second transport stream includes pages enabling the ordering of PPV movies and related electronic commerce pages
  • the page listing pay-per-view (PPV) movies in the first transport stream may be predetermined to be the page most probably used by a viewer to switch from the first transport stream to the second transport stream.
  • that page listing pay-per-view (PPV) movies would be included not only in the first transport stream, but also in the second transport stream, in order to efficiently and effectively reduce the latency in switching between the two streams.
  • each of the multiple transport streams described above may be structured as a single program or multiple programs. In an application where all the streams must share a same time base, a single program is preferred. In other applications where the streams have different time bases, multiple programs are preferred where streams with similar time bases are grouped together and assigned to a same program.
  • Fig. 39 is a diagram illustrating an example IPG page with two threshold levels for stream priming in accordance with an embodiment of the present invention.
  • Stream priming is a method by which a set-top terminal (STT) anticipates that packets with particular PLDs may soon be needed and so requests those packets prior to the actual need for them. For example, in this method, switching from one IPG page to another IPG page may be anticipated using certain threshold settings in the program guide part of the LPG, as illustrated in Fig. 39.
  • STT set-top terminal
  • the set-top terminal starts searching for the PIDs carrying the program guide for the next upper group of channels (for example, channels 11-20).
  • the current transport stream does not include those PIDs
  • those PIDs are requested from the LPG server at a headend immediately (once the threshold has been passed).
  • the IPG server then delivers those PIDs, either in another transport stream, or by modifying the contents of the current transport stream.
  • the delivery may be accomplished using either pointcast communication to the specific STT or a narrowcast communication to a set of STT which includes the specific STT. Analogous processes would occur when a viewer traverses vertically within the page and passes the lower threshold.
  • This stream priming technique reduces the latency by using user movement within a page to predict page switching beforehand and taking appropriate action.
  • the stream priming technique may also be applied in a time dimension. For example, near the end of a particular 1 l A hour time period, say within the last A hour of that period, the STT may anticipate that a viewer may want to view the listings in the next 1 l A hour time period. Hence, if the current transport stream does not include the listings for the next time period, then the listings for the next time period are requested in anticipation of the demand.
  • an IPG server at a headend provides, for each QAM channel, a program mapping table (PMT).
  • the PMT conveys to each STT the PID assignment for each IPG (video, audio, and data) stream being provided.
  • each IPG page having a corresponding video PLD.
  • 16 slots x 30 PIDs per slot 480 PIDs required to serve such an LPG for a day.
  • 14 days x 480 PLDs per day 6720 PIDs required for such purposes.
  • each IPG page (each video PID)
  • a data message is required to deliver overlay, user interaction, and other desired features and functionality relating to the page.
  • This data may be delivered either using a separate data PID for each IPG page, or via a data PID that is shared by multiple IPG pages.
  • the former option may be impractical for a typical system. This is because if one data PID is needed for each LPG page, then the total number of PIDs needed to be stored at the headend doubles from 6720 to 13,440. Such a high number of PLDs are not currently available in a typical coding system. For example, MPEG-2 provides only 8192 PIDs for usage due to its 13 -bit PID, and some of those PIDs are preassigned or reserved.
  • FIG 40 is a diagram illustrating a program mapping table (PMT) in accordance with an embodiment of the present invention.
  • the PMT includes a current programming area 4002 that contains, illustratively, 30 video PLDs, related data PIDs, and an audio PID for the 30 IPG pages covering the current 1 X A hour timeslot (i.e. the timeslot covering the programming currently being broadcast).
  • the current programming area 4002 of the PMT is used (like a cache memory in some fashion) to temporarily store information that is most likely to be accessed by viewers.
  • a next area 4004 of the PMT is allocated for the 2 weeks of video and audio programming to be stored.
  • this area 4004 may include 6720 video PIDs and also audio PIDs. Note that the current video and audio programming are also stored in this area 4004 (as well as in the current programming area 4002).
  • a next area 4006 of the PMT is allocated for the 2 weeks of lookahead data information associated with the lookahead video information.
  • this lookahead data area 4006 may be allocated 128 data PIDs, where each data PID is used to store lookahead data information relating to multiple video PIDs.
  • Figure 41 is a diagram illustrating (a) prime time slots and (b) l A hour shifts of a current programming timeslot in accordance with an embodiment of the present invention.
  • the time periods in a day during which broadcast programming is most popularly watched are the three timeslots between 5:00 pm (17:00) and 9:30 pm (21 :30).
  • this invention contemplates that according to statistics of viewing on a local neighborhood or national scale, this primetime information may be adjusted.
  • the current programming timeslot 4104 may be shifted in V ⁇ hour increments. While the 2 weeks of lookahead LPG video data are stored in 1 V ⁇ hour timeslots (17:00 to 18:30, 18:30 to 20:00, etc.), the current programming timeslot 4104 is arranged by V ⁇ hour increments by retrieving and reorganizing the lookahead video data as necessary.
  • Figure 42 is a diagram illustrating a mapping of lookahead video PIDs to lookahead data PLDs in accordance with an embodiment of the present invention. Such a mapping is necessary when there is substantially more lookahead video PIDs (6720 in this example) than lookahead data PIDs (128 in this example). When there is substantially more video PLDs than data PLDs, each data PLD on average is used to carry data information for multiple video PLDs. In this example, since there are 6720 lookahead video PIDs and 128 lookahead data PLDs, approximately 50 video PIDs must be assigned on average to each data PID. In particular, Fig. 42 illustrates, by way of example, the possible assignment of the first 50 lookahead video PIDs to the first lookahead data PLD.
  • the stream serving capability of the IPG server were unlimited, then all 2 weeks of the lookahead streams may be delivered from the headend to the STTs. However, the limited stream serving capability of the IPG server prevents this. In addition, it may not be necessary in practice to deliver all 2 weeks of the lookahead streams because viewers do not typically require the guide information so far in advance. Hence, in accordance with an embodiment of the present invention, only a subset of the 2 weeks of lookahead streams may be delivered.
  • Figure 43 is a rough diagram illustrating television usage time during a typical week. As shown in Fig. 43, the usage typically peaks at prime time periods 4302 of a day. The daily pattern generally repeats itself, with non-primetime usage increasing on the weekends. In addition to the general usage pattern with its weekly cycle illustrated in Fig. 43, certain IPG pages may receive particularly heavy viewing from certain viewer groups during certain time intervals. For example, sport channel lists may receive particular heavy viewing during NBA (National Basketball Association) playoff games during the NBA playoff season. Hence, further evaluation of viewer IPG usage statistics reveals other cyclic structures with different periods. These cyclic structures may be seasonal, as in the NBA playoff example.
  • NBA National Basketball Association
  • the variable p is a number from 1 to 30 (the number of IPG pages in this example) representing a particular LPG page.
  • the variable d is a number from 1 to 14 (the number of lookahead days in this example) representing a particular day of the 2 weeks of lookahead programming.
  • Figure 44A is a diagram illustrating a first lookahead video PID layout 4400 in accordance with an embodiment of the present invention.
  • Figure 44B is a diagram illustrating a method 4420 of forming a second lookahead video PID layout in accordance with an embodiment of the present invention.
  • the method 4420 of forming the second layout includes two steps 4422 and 4424.
  • the first step 4422 involves choosing a largest prime number which is less than or equal to the number of lookahead data PIDs available. In this example, the number of lookahead data PLDs available is 128, so the prime number within that constraint is 127.
  • the second step 4422 involves assigning a data PID to each video PID.
  • the video PLD number is divided by the prime number and the remainder of that division is the data PLD number assigned. For example, if the video PID number is 260, the data PID number assigned is 6.
  • the method 4420 of Fig. 44B results in uniform distribution among the data PIDs of extensively viewed video PLDs with various cyclic periods. The uniform distribution results because a prime number does not contain any multiples of any other number, so a periodic sequence of numbers divided by a prime number yields a different remainder for each entry in the sequence. For example, consider the following cyclic sequence of video PIDs with a periodicity of 480: 0; 480; 960; and so on.
  • Dividing each entry in the sequence by the prime number 127 yields the following remainders: 0, 99, 71, and so on. This sequence remainders become the assigned data PIDs corresponding to the video PIDs. Notice that the assigned data PID is generally not repeated using this method. In this way, the method 4420 achieves even distribution among data PIDs of extensively viewed video PLDs with various cyclic periods.
  • FIG. 44C is a schematic diagram illustrating the distribution of data messages among data PLDs in accordance with an embodiment of the present invention. Fig.
  • FIG. 44C relates to the case where multiple data messages (associated with multiple video PLDs) share the same data PLD.
  • the small “d” represents non-primetime data messages
  • the capital “D” represents primetime data messages. Due to the application of the method 4420 of Fig. 44B to determine assignment of the data messages to the data PIDs, the primetime data messages D are evenly distributed among the data PLDs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Various aspects are disclosed relating to delivery (Fig. 29) of an encoded interactive program guide (fig. 1). A first aspect relates to an apparatus for forming a multiplexed (fig. 2, item 260) transport stream (fig. 4) to deliver an encoded interactive program guide (fig. 11). A second aspect relates to techniques to reduce latencies or delays in the delivery of an encoded interactive program guide (fig. 37). A third aspect relates to stream indexing (fig. 40) for delivery of an encoded interactive program guide.

Description

MULTIPLEXING STRUCTURES, LATENCY REDUCTION, AND
STREAM INDEXING FOR DELIVERY OF ENCODED
INTERACTIVE PROGRAM GUDDE
CROSS-REFERENCES TO RELATED APPLICATIONS This application claims benefit of U.S. Provisional patent application serial number 60/129,598 filed April 15, 1999, which is hereby incorporated herein by reference in its entirety.
This application is also a continuation-in-part of U.S. Patent Application serial number 09/293,535 filed April 15, 1999, which is hereby incorporated herein by reference in its entirety.
This application is also a continuation-in-part of U.S. Patent Application serial number 09/384,394 filed August 27, 1999, entitled "Method and Apparatus for Compressing Video Sequences," which is hereby incorporated herein by reference in its entirety. This application is also a continuation-in-part of U.S. Patent Application serial number 09/428,066 filed October 27, 1999, entitled "Method and Apparatus for Transmitting Video and Graphics in a Compressed Form," which is hereby incorporated herein by reference in its entirety.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The invention relates to communications systems in general and, more specifically, the invention relates to a video compression technique suitable for use in an interactive multimedia information delivery system.
2. Description of the Background Art
Over the past few years, the television industry has seen a transformation in a variety of techniques by which its programming is distributed to consumers. Cable television systems are doubling or even tripling system bandwidth with the migration to hybrid fiber coax (HFC) cable plant. Customers unwilling to subscribe to local cable systems have switched in high numbers to direct broadcast satellite (DBS) systems. And, a variety of other approaches have been attempted focusing primarily on high bandwidth digital technologies, intelligent two way set top boxes, or other methods of trying to offer service differentiated from standard cable and over the air broadcast systems.
With this increase in bandwidth, the number of programming choices has also increased. Leveraging off the availability of more intelligent set top boxes, several companies such as Starsight Telecast Inc. and TV Guide, Inc. have developed elaborate systems for providing an interactive listing of a vast array of channel offerings, expanded textual information about individual programs, the ability to look forward to plan television viewing as much as several weeks in advance, and the option of automatically programming a VCR to record a future broadcast of a television program.
Unfortunately, the existing program guides have several drawbacks. They tend to require a significant amount of memory, some of them needing upwards of one megabyte of memory at the set top terminal (STT). They are very slow to acquire their current database of programming information when they are turned on for the first time or are subsequently restarted (e.g., a large database may be downloaded to a STT using only a vertical blanking interval (VBI) data insertion technique). Disadvantageously, such slow database acquisition may result in out of date database information or, in the case of a pay per view (PPV) or video on demand (NOD) system, limited scheduling flexibility for the information provider. The use of compression techniques to reduce the amount of data to be transmitted may increase the speed of transmitting program guide information. In several communications systems, the data to be transmitted is compressed so that the available transmission bandwidth is used more efficiently. For example, the Moving Pictures Experts Group (MPEG) has promulgated several standards relating to digital data delivery systems. The first, known as MPEG-1 refers to ISO/IEC standards 11172 and is incorporated herein by reference. The second, known as MPEG-2, refers to ISO/IEC standards 13818 and is also incorporated herein by reference. A compressed digital video system is described in the Advanced Television Systems Committee (ATSC) digital television standard document A/53, and is incorporated herein by reference. The above-referenced standards describe data processing and manipulation techniques that are well suited to the compression and delivery of video, audio and other information using fixed or variable rate digital communications systems. In particular, the above-referenced standards, and other "MPEG-like" standards and techniques, compress, illustratively, video information using intra-frame coding techniques (such as run-length coding, Huffman coding and the like) and inter-frame coding techniques (such as forward and backward predictive coding, motion compensation and the like). Specifically, in the case of video processing systems, MPEG and MPEG-like video processing systems are characterized by prediction-based compression encoding of video frames with or without intra- and/or inter-frame motion compensation encoding.
However, the MPEG-1 and MPEG-2 standards have, in some instances, very strict elementary stream and transport stream formats, causing usage of extra bandwidth for certain applications. For example, if a number of interactive program guide (IPG) pages were created as video sequences, only limited number of pages could be encoded into a transport stream(s) at a specified bandwidth.
Therefore, it is desirable to provide a video compression and decompression technique that enables an increased number of programs (video sequences) to be transmitted within an MPEG-2 transport stream(s).
SUMMARY OF THE INVENTION
The present invention is directed to various aspects relating to delivery of an encoded interactive program guide. These techniques overcome the above described problems and disadvantages.
A first aspect relates to an apparatus for forming a multiplexed transport stream to deliver an encoded interactive program guide. A second aspect relates to techniques to reduce latencies or delays in the delivery of an encoded interactive program guide. A third aspect relates to stream indexing for delivery of an encoded interactive program guide.
BRIEF DESCRIPTION OF THE DRAWINGS
The teachings of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:
Figure 1 depicts a block diagram of an illustrative interactive information distribution system that performs includes the encoding unit and process of the present invention;
Figure 2 depicts a block diagram of an encoding and multiplexing unit in accordance with the present invention;
Figure 3 is a flow diagram of a process used by a picture isolator; Figure 4 depicts a data structure of a transport stream that is generated in accordance with the present invention;
Figure 5 depicts a block diagram of a receiver within subscriber equipment suitable for use in an interactive information distribution system; Figure 6 depicts a flow diagram of a method for recombining and decoding streams;
Figure 7 depicts a flow diagram of a second method for recombining and decoding streams;
Figure 8 depicts a flow diagram of a third method for recombining and decoding streams;
Figure 9 depicts an example of one frame taken from a video sequence that can be encoded using the present invention;
Figure 10 depicts a second example of one frame taken from another video sequence that can be encoded using the present invention; Figure 11 depicts a matrix representation of program guide data;
Figure 12 depicts a matrix representation of program guide data with the data groupings shown for efficient encoding in accordance with the present invention.
Figure 13 depicts a slice map for the IPG of Figure 9;
Figure. 9A illustrates an exemplary slice division of an LPG; Figure 14 depicts a block diagram of the encoding unit of Figure 13;
Figure 15 depicts a block diagram of the local neighborhood network of Figure 13;
Figure 16 depicts a matrix representation of program guide data with the data groupings shown for efficient encoding in accordance with the present invention; Figure 17 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing intra-coded video and graphics slices;
Figure 18 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing predictive-coded video and graphics slices;
Figure 19 illustrates a data structure of a transport stream used to transmit the IPG of Figure 9;
Figure 20 is a diagrammatic flow diagram of a alternative process for generating a portion of transport stream containing predictive-coded video and graphics slices; Figure 21 A depicts an illustration of an IPG having a graphics portion and a plurality of video portions;
Figure 2 IB depicts a slice map for the IPG of Figure 21 A;
Figure 22 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing intra-coded video and graphics slices for an IPG having a graphics portion and a plurality of video portions;
Figure 23 is a diagrammatic flow diagram of a process for generating a portion of transport stream containing predictive-coded video and graphics slices for an IPG having a graphics portion and a plurality of video portions; Figure 24 depicts a block diagram of a receiver within subscriber equipment suitable for use in an interactive information distribution system;
Figure 25 depicts a flow diagram of a first embodiment of a slice recombination process;
Figure 26 depicts a flow diagram of a second embodiment of a slice recombination process;
Figure 27 depicts a flow diagram of a third embodiment of a slice recombination process;
Figure 28 depicts a flow diagram of a fourth embodiment of a slice recombination process; Figure 29 is a block diagram illustrating an apparatus for encoding, packetizing, multiplexing, and assigning programs to video, audio, and data in accordance with a "level zero" embodiment of the present invention;
Figure 30 is a schematic diagram illustrating a program assignment structure for a multiple program final transport stream in accordance with a "level zero" embodiment of the present invention;
Figure 31 is a schematic diagram illustrating a program assignment structure for a single program final transport stream in accordance with a "level zero" embodiment of the present invention;
Figure 32 is a diagram illustrating multiplexing of video, audio, and data packets into a final transport stream in accordance with a "level zero" embodiment of the present invention;
Figure 33 is a schematic diagram illustrating an assignment structure for multiple final transport streams in accordance with a "level zero" embodiment of the present invention; Figure 34 is a diagram illustrating a final transport stream in accordance with a "level one" embodiment of the present invention;
Figures 35 A and 35B are diagrams illustrating multiple final transport streams in accordance with a "level one" embodiment of the present invention; Figure 36 is a diagram illustrating a final transport stream in accordance with a "level two" embodiment of the present invention;
Figure 37 is a schematic diagram illustrating a technique for reducing switching latencies by carrying redundant packets in accordance with an embodiment of the present invention; Figure 38 is a schematic diagram illustrating slice-based multiple transport streams with overlapping PIDs to reduce latencies in accordance with an embodiment of the present invention;
Figure 39 is a diagram illustrating an example IPG page with two threshold levels for stream priming in accordance with an embodiment of the present invention;
Figure 40 is a diagram illustrating a program mapping table (PMT) in accordance with an embodiment of the present invention;
Figure 41 is a diagram illustrating (a) prime time slots and (b) Vi hour shifts of a current programming timeslot in accordance with an embodiment of the present invention;
Figure 42 is a diagram illustrating a mapping of lookahead video PIDs to lookahead data PIDs in accordance with an embodiment of the present invention;
Figure 43 is a rough diagram illustrating television usage time during a typical week; Figure 44A is a diagram illustrating a first lookahead video PID layout
4400 in accordance with an embodiment of the present invention;
Figure 44B is a diagram illustrating a method 4420 of forming a second lookahead video PID layout in accordance with an embodiment of the present invention; and Figure 44C is a schematic diagram illustrating the distribution of data messages among data PIDs in accordance with an embodiment of the present invention. To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. DESCRIPTION OF THE SPECIFIC EMBODIMENTS This invention is a system for generating, distributing and receiving a stream containing compressed video information from a substantial number of video sequences. The invention is illustratively used to encode a plurality of interactive program guides that enable a user to interactively review, preview and select programming for a television system.
I. Frame-based Recombination
A. System
Figure 1 depicts a high-level block diagram of an information distribution system 100, e.g., a video-on-demand system or digital cable system, that incorporates the present invention. The system 100 contains service provider equipment (SPE) 102 (e.g., a head end), a distribution network 104 (e.g., hybrid fiber-coax network) and subscriber equipment (SE) 106. This form of information distribution system is disclosed in commonly assigned U.S. patent application serial number 08/984,710 filed December 3, 1997. The system is known as DIVA provided by DIVA Systems Corporation.
In general, the SPE 102 produces a plurality of digital streams that contain encoded information in MPEG compressed format. These streams are modulated using a modulation format that is compatible with the distribution network 104. The subscriber equipment 106, at each subscriber location 1061, 1062, , 106n, comprises a receiver 124 and a display 126. Upon receiving a stream, the subscriber equipment receiver 124 extracts the information from the received signal and decodes the stream to produce the information on the display, i.e., produce a television program, program guide page, or other multimedia program.
In an interactive information distribution system such as the one described in commonly assigned U.S. patent application 08/984,710, filed December 3, 1997, the program streams are addressed to particular subscriber equipment locations that requested the information through an interactive menu. A related interactive menu structure for requesting video on demand is disclosed in commonly assigned U.S. patent application serial number 08/984,427, filed December 3, 1997. Another example of interactive menu for requesting multimedia services is the interactive program guide (IPG) disclosed in commonly assigned U.S. patent application 60/093,891, filed in July 23, 1998. To assist a subscriber (or other viewer) in selecting programming, the SPE 102 produces an interactive program guide that is compressed for transmission in accordance with the present invention. The IPG contains program information, e.g., title, time, channel, program duration and the like, as well at least one region displaying full motion video, i.e., a television advertisement or promotion. Such informational video is provided in various locations within the program guide screen.
The invention produces the IPG using a compositing technique that is described in commonly assigned US patent application serial numbers 09/201,528 filed November 30, 1998 and filed July 23, 1999 (attny dockets 168 and 168 CIPl), which are hereby incorporated by reference herein. The compositing technique, which will not be discussed further herein, enables full motion video to be positioned within an LPG and have the video seamlessly transition from one IPG page to another. The composited IPG pages (i.e., a plurality of video frame sequences) are coupled from a video source 114 to an encoding and multiplexing unit 116 of the present invention. Audio signals associated with the video sequences are supplied by an audio source 112 to the encoding and multiplexing unit 116.
The encoding and multiplexing unit 116 compresses the frame sequences into a plurality of elementary streams. The elementary streams are further processed to remove redundant predicted frames. A multiplexer within unit 116 then assembles the elementary streams into a transport stream.
The transport stream is then modulated by the digital video modulator 122 using a modulation format that is compatible with the distribution network 104. For example, in the DIVA™ system the modulation is quadrature amplitude modulation (QAM); however, other modulation formats could be used. The subscriber equipment 106 contains a receiver 124 and a display 126
(e.g., a television). The receiver 124 demodulates the signals carried by the distribution network 104 and decodes the demodulated signals to extract the IPG pages from the stream. The details of the receiver 124 are described below with respect to Figure 5.
B. Encoding and Multiplexing Unit 116
Figure 2 depicts a block diagram of the encoding and multiplexing unit 116 of Figure 1 which produces a transport stream comprising a plurality of encoded video, audio, and data elementary streams. The invented system is designed specifically to work in an ensemble encoding environment, where a plurality of video streams are generated to compress video information that carries common and non-common content. Ideally, the common content is encoded into a single elementary stream and the non- common content are encoded into separate elementary streams. However, in a practical MPEG encoding process, some common information will appear in the stream intended to carry non-common information and some non-common information will appear in the stream intended to carry common information. In this way, thecommon content is notduplicated in every stream, yielding significant bandwidth savings. Although the following description of the invention is presented within the context of IPG, it is important to note that the method and apparatus of the invention is equally applicable to a broad range of applications, such as broadcast video on demand delivery, e-commerce, internet video education services, and the like, where delivery of video sequences with command content is required.
Specifically, the encoding and multiplexing unit 116 receives a plurality of video sequences V1-V10 and, optionally, one or both of a audio signal SA and a data signal SD.
The video sequences V1-V10 includes imagery common to each other, e.g., common IPG background information and common video portion information. On the other hand, the programming information (program grid graphic) is different in every sequence V1-V10.
The audio source SA comprises, illustratively, audio information that is associated with a video portion in the video sequences such as an audio track associated with still or moving images. For example, in the case of video sequence VI representing a movie trailer, the audio stream SA is derived from the source audio (e.g., music and voice-over) associated with the music trailer.
The data stream SD comprises, illustratively, overlay graphics information, textual information describing programming indicated by the guide region and other system or user interface related data. The data stream SD can be separately encoded into its own elementary stream or included within the MPEG-2 or other suitable standard or proprietary transport stream suitable for use in the information distribution system of Figure 1. as private data, auxiliary data, and the like.
The encoding and multiplexing unit 116 comprises a plurality of real time MPEG-2 encoders 220-1 through 220-10 (collectively encoders 220), an encoding profile and clock generator 202, a plurality of picture isolators 230-1 through 230-10 (collectively picture isolators 230), a plurality of packetizers 240-1 through 240-13 (collectively packetizers 240), a plurality of buffers 250-1 through 250-13 (collectively buffers 250), a transport multiplexer 260, an audio delay element 270 and an optional data processor 280. The video sequences V1-V10 are coupled to respective real time encoders
220. Each encoder 220 encodes, illustratively, a composited LPG screen sequence to form a corresponding compressed video bit stream, e.g., an MPEG-2 compliant bit stream having associated with it a predefined group of pictures (GOP) structure. A common clock and encoding profile generator 202 provides a clock and profile to each encoder 220 to ensure that the encoding timing and encoding process occur similarly for each video sequence V1-V10. As such, the encoding is performed in a synchronous manner.
For purposes of this discussion, it is assumed that the GOP structure consists of an I-picture followed by ten B-pictures, where a P-picture separates each group of two B-pictures (i.e., "I-B-B-P-B-B-P-B-B-P-B-B-P-B-B"), however, any GOP structure and size may be used in different configurations and applications. It is preferable that the same encoding profile, including the GOP structure, is used by each of the real time encoders 220 to have uniform encoding across multiple streams and to produce approximately the same size encoded I- and Predicted-Pictures. Moreover, by utilizing the same profile and predefined GOP structure, multiple instances of the same encoder are used to realize the encoding and multiplexing unit 116, thereby driving down costs. Note also that the encoding process can be performed by one encoder or a plurality of encoders depending on implementation choice.
Each of the real time encoders 220 produces an encoded MPEG-2 bit stream (E1-E10) that is coupled to a respective picture isolator 230. Each of the picture isolators 230 examines the encoded video stream to isolate I-pictures within the MPEG-2 compliant streams E1-E10, by analyzing the stream access units associated with I-, P- and B- pictures.
The first picture isolator 230-1 receives the MPEG-2 compliant stream El from the first real time encoder 220-1 and responsively produces two output bit streams PRED and II. The remaimng picture isolators 230-2 to 230-10 produces only I frame streams. Note that the PRED stream can be generated by any one of the picture isolators.
The picture isolators 230 process the received streams E1-E10 according to the type of picture (I-, P- or B-picture) associated with a particular access unit and also the relative position of the pictures within the sequence and group of pictures. As noted in the MPEG-1 and MPEG-2 specifications, an access unit comprises a coded representation of a presentation unit. In the case of audio, an access unit is the coded representation of an audio frame. In the case of video, an access unit includes all the coded data for a picture and any stuffing bits that follows it, up to but not including the start of the next access unit. If a picture is not preceded by a group start code or a sequence header code, then the corresponding access unit begins with the picture start code. If the picture is preceded by a group start code and/or a sequence header code (e.g., an I-picture), then the corresponding access unit begins with the first byte of the first start code in the sequence or a GOP. If the picture is the last picture preceding a sequence end code in the stream, then all bytes between the last byte of the coded picture and the sequence end code (including the sequence end code) belong to the access unit. Each of the remaining B- and P-picture access units in a GOP includes a picture start code. The last access unit of the GOP (e.g., a terminating B-picture) includes, in addition, a sequence end code indicating the termination of the GOP. The II stream, as the first picture of the sequence, consists of a sequence header, a sequence extension, GOP header, picture header, picture extension, and I- picture data until the next picture start code. By contrast, the PRED stream comprises only P- and B-picture access units, starting from the second picture start code (illustratively a B-picture) and all data until the next group start code, thereby including all access units of the GOP except those representing the I-picture.
Each of the second 230-2 through tenth 230-10 picture isolators receive, respectively, the MPEG-2 compliant streams E2 through ElO from the corresponding real time encoders 220-2 through 220-10, each producing one respective output stream 11-110 comprising only the sequence header and all data until the respective second picture start codes (i.e., the access unit data associated with an I-picture at the beginning of the respective GOP).
Figure 3 illustrates a high-level flow sequence in isolating pictures suitable for use in the picture isolators unit 230 of Figure 2.
The picture isolator method 300 is entered at step 305 and proceeds to step 310, where it waits for a sequence header or a group start code, upon detection of which it proceeds to step 315.
At step 315, the sequence header and all data until the second picture start code is accepted. The method 300 then proceeds to step 320. At step 320, the accepted data is coupled to the I-picture output of the picture isolator. In the case of picture isolators 230-2 through 230-10, since there is no PB output shown, the accepted data (i.e., the sequence header, I-picture start code and I- picture) is coupled to a sole output. The method 400 then proceeds to step 325. At step 325, a query is made as to whether non-I-picture data is to be processed. That is, a query is made as to whether non-I-picture data is to be discarded or coupled to a packetizer. If the query at step 325 is answered negatively (non-I-picture data is discarded) then the method 300 proceeds to step 310 to wait for the next sequence header. If the query at step 325 is answered affirmatively, then the method 300 proceeds to step 330.
At step 330, the second picture start code and all data in a GOP until the next group start code is accepted. The method 400 then proceeds to step 335.
At step 335, the accepted data is coupled to the non-I-picture output of the frame isolator 230 to form the PRED stream. In summary, the picture isolator method 300 examines the compressed video stream produced by the real time encoder 220 to identify the start of a GOP, the start of an I-picture (first picture start code after the group start code) and the start of predicted-pictures (second picture start code after the group start code) forming the remainder of a GOP. The picture isolator method couples the I-pictures and predicted- pictures to packetizers for further processing in conformance with the invention.
The first packetizer 240-1 packetizes the PRED stream into a plurality of fixed length transport packets according to, e.g., the MPEG-2 standard. Additionally, the first packetizer 240-1 assigns a packet identification (PID) of, illustratively, one (1) to each of the packets representing information from the PRED stream, thereby producing a packetized stream PID-1. The second packetizer 240-2 packetizes the I- stream to produce a corresponding packetized stream PID-2.
The 12 through 110 output streams of the second 230-2 through tenth 230- 10 picture isolators are coupled to, respectively, third 240-3 through eleventh 240-11 transport packetizers, which produce respective packetized streams PID-3-PID-11. In addition to the video information forming the ten IPG screens, audio information associated with IPG screens is encoded and supplied to the transport multiplexer 260. Specifically, the source audio signal is subjected to an audio delay 270 and then encoded by a real time audio encoder 220- A, illustratively a Dolby AC-3 real time encoder, to produce an encoded audio stream EA. The encoded stream EA is packetized by a 12th transport packetizer 240-12 to produce a transport stream having a PID of 12 (PLD-12). The PID-12 transport stream is coupled to a 12th buffer 250-12.
The IPG grid foreground and overlay graphics data is coupled to the transport multiplexer 260 as a data stream having a PID of thirteen (PID- 13). The data stream is produced by processing the data signal SD as related for the application using the data processor 280 and packetizing the processed data stream SD' using the thirteenth packetizer 240-13 to produce the PLD-13 signal, which is coupled to the thirteenth buffer 250-13.
Each of the transport packetized streams PID- 1 -PID- 11 is coupled to a respective buffer 250-1 through 250-11, which is in turn coupled to a respective input of the multiplexer 260, illustratively an MPEG-2 transport multiplexer. While any type of multiplexer will suffice to practice the invention, the operation of the invention is described within the context of an MPEG-2 transport multiplexing system.
A transport stream, as defined in ISO standard 13818-1 (commonly known as MPEG-2 systems specification), is a sequence of equal sized packets, each 188 bytes in length. Each packet has a 4 bytes of header and 184 bytes of data. The header contains a number of fields, including a PID field. The PID field contains thirteen bits and uniquely identifies each packet that contains a portion of a "stream" of video information as well as audio information and data. As such, to decode a particular video stream (or audio or data stream ) for viewing or presentation, the decoder in the subscriber or user equipment extracts packets containing a particular PID and decodes those packets to create the video (or audio or data) for viewing or presenting.
Each of the thirteen streams representing the IPG is uniquely identified by a PID. In the preferred embodiment, the thirteen streams are multiplexed into a single transport stream. Less or more IPG streams may be included in the transport stream as bandwidth permits. Additionally, more than one transport stream can be used to transmit the IPG streams.
Multiplexer 260 processes the packetized data stored in each of the 13 buffers 250-1 through 250-13 in a round robin basis, beginning with the 13th buffer 250- 13 and concluding with the first buffer 250- 1. That is, the transport multiplexer 260 retrieves or "drains" the PID 13 information stored within the 13th buffer 250-13 and couples that information to the output stream TOUT. Next, the 12th buffer 250-12 is emptied of packetized data which is then coupled to the output stream TOUT. Next, the 11th buffer 250-11 is emptied of packetized data which is then coupled to the output stream TOUT and so on until the 1st buffer 250-1 is emptied of packetized data which is then coupled to the output stream TOUT. It is important to note that the processing flow is synchronized such that each output buffer includes all the access units associated with an I-picture (250-2 through 250-11) suitable for referencing a GOP, a particular group of P- and B-pictures (250-1) suitable for filling out the rest of the GOP, a particular one or more audio access units (250-12) and an related amount of data (250-13). The round robin draining process is repeated for each buffer, which has been filled in the interim by new transport packetized streams PLD-13 to PID-1.
Figure 4 depicts a data structure 400 for a transport stream produced by the encoding and multiplexing unit as a result of processing in a round robin basis. The figure shows one GOP portion of a transport stream, which is indicated by "START" and "END" phrases. The data structure starts with data transport packet 401 having PID- 13, then it proceeds with an audio packet 402 having PLD-12, which are followed by I-picture packets 403 - 412 assigned as PID-11 to PID-2. The remaining packets 413 to 425 carry the PRED stream with PLD-1. The packets 423 to 425 in the figure show the terminating access units of the previous GOP.
Note that the exemplary data structure and the round robin process are not strictly required for the operation of the invention. The data and audio packets can be placed into different parts of the transport stream, or the sequence of I-picture packets can be changed in a different data structure. The only requirement is that the I-picture related packets should precede the PRED stream in the transport stream if the set top terminal is to decode the stream in one pass without storing any packets. This only requirement, which comes from necessity of decoding the reference I-pictures before the predicted pictures, is removed for set top terminals with additional storage capabilities. In the preferred embodiment, the exemplary data structure (and related other varied embodiments that still incorporate the above teachings) is encapsulated in one multi-program transport stream. Each program in the program map table (PMT) of MPEG-2 transport stream includes an I-PID (one of the illustrative ten I-PID's 403 to 412), the PRED stream PLD-1, data PID- 13 401, and audio PID- 12 402. Although the multiplexer 260 of Figure-2 couples a PRED stream access units 413 - 425 to the multiplexer output TOUT only once per GOP, the PMT for each program references PRED stream PID-1. For the illustrative organization of video input sources in Figure 2, there would be ten programs, each consisting of one often I-PID's 403 to 413, PRED PID-1, audio PLD-12, and data PID-13. In an alternative embodiment, the information packets are formed into a single program and carried with a single program transport stream. In this embodiment, the complete set of PLD' s 401 to 425 are coupled into a single program.
Yet, in an alternative embodiment, multiple transport streams are employed to transport the data structure (and related other varied embodiments that still incorporate the above teachings) of Figure 4. In this embodiment, each transport stream is formed in a multi-program manner, where each program comprises an I-PID, PRED- PLD, data-PID and an audio PID. The information packets in each transport stream are retrieved in a similar way as a single transport stream. In still an alternative embodiment, the information packets are carried in single program multiple transport streams.
It is important to note that a variety of transport stream formats can be employed to carry the information streams generated by this invention, yet still being retrieved by a receiver that incorporates the teachings introduced in this invention. The resolution of PLD' s in a program that comprises multiple PLD's and then recombination of I- and PRED-PLD's require particular attention at the receiver terminal. The related teachings of the receiver recombination techniques are provided in the following sections.
C . Receiver 124
Figure 5 depicts a block diagram of the receiver 124 (also known as a set top terminal (STT) or user terminal) suitable for use in producing a display of a user interface in accordance with the present invention. The STT 124 comprises a tuner 510, a demodulator 520, a transport demultiplexer 530, an audio decoder 540, a video decoder 550, an on-screen display processor (OSD) 560, a frame store memory 562, a video compositor 590 and a controller 570. User interaction is provided via a remote control unit 580. Tuner 510 receives, e.g., a radio frequency (RF) signal comprising, for example, a plurality of quadrature amplitude modulated (QAM) information signals from a downstream (forward) channel. Tuner 510, in response to a control signal TUNE, tunes a particular one of the QAM information signals to produce an intermediate frequency (IF) information signal. Demodulator 520 receives and demodulates the intermediate frequency QAM information signal to produce an information stream, illustratively an MPEG transport stream. The MPEG transport stream is coupled to a transport stream demultiplexer 530. Transport stream demultiplexer 530, in response to a control signal TD produced by controller 570, demultiplexes (i.e., extracts) an audio information stream A and a video information stream V. The audio information stream A is coupled to audio decoder 540, which decodes the audio information stream and presents the decoded audio information stream to an audio processor (not shown) for subsequent presentation. The video stream V is coupled to the video decoder 550, which decodes the compressed video stream V to produce an uncompressed video stream VD that is coupled to the video compositor 590. OSD 560, in response to a control signal OSD produced by controller 570, produces a graphical overlay signal VOSD that is coupled to the video compositor 590. During transitions between streams representing the user interfaces, buffers in the decoder are not reset. As such, the user interfaces seamlessly transition from one screen to another.
The video compositor 590 merges the graphical overlay signal VOSD and the uncompressed video stream VD to produce a modified video stream (i.e., the underlying video images with the graphical overlay) that is coupled to the frame store unit 562. The frame store unit 562 stores the modified video stream on a frame-by-frame basis according to the frame rate of the video stream. Frame store unit 562 provides the stored video frames to a video processor (not shown) for subsequent processing and presentation on a display device. Controller 570 comprises a microprocessor 572, an input/output module
574, a memory 576, an infrared (IR) receiver 575 and support circuitry 578. The microprocessor 572 cooperates with conventional support circuitry 578 such as power supplies, clock circuits, cache memory and the like as well as circuits that assist in executing the software routines that are stored in memory 576. The controller 570 also contains input/output circuitry 574 that forms an interface between the controller 570 and the tuner 510, the transport demultiplexer 530, the onscreen display unit 560, the back channel modulator 595, and the remote control unit 580. Although the controller 570 is depicted as a general purpose computer that is programmed to perform specific interactive program guide control function in accordance with the present invention, the invention can be implemented in hardware as an application specific integrated circuit (ASIC). As such, the process steps described herein are intended to be broadly interpreted as being equivalently performed by software, hardware, or a combination thereof. In the exemplary embodiment of Figure 5, the remote control unit 580 comprises an 8-position joy stick, a numeric pad, a "select" key, a "freeze" key and a "return" key. User manipulations of the joy stick or keys of the remote control device are transmitted to a controller via an infra red (IR) link. The controller 570 is responsive to such user manipulations and executes related user interaction routines 500, uses particular overlays that are available in an overlay storage 376.
Once received, the video streams are recombined via stream processing routine 502 to form the video sequences that were originally compressed. The following describes three illustrative methods for recombining the streams.
Cl. Recombination Method 1
In this method, an I-Picture stream and the PRED stream to be recombined keep their separate PID's until the point where they must be depacketized. The recombination process is conducted within the demultiplexer 530 of the subscriber equipment 106. For illustrative purposes, assuming the preferred embodiment of the transport stream discussed above (multi-program transport stream with each program consisting of an I-PLD, PRED-PLD, audio-PID, and data-PID), any packet with a PID that matches any of the PID's within the desired program are depacketized and the payload is sent to the elementary stream video decoder. Payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer.
Figure 6 illustrates the details of this method, in which, it starts at step 605 and proceeds to step 610 to wait for (user) selection of an I-PID to be received. The I- PID, as the first picture of a stream's GOP, represents the stream to be received. Upon detecting a transport packet having the selected I-PID, the method 600 proceeds to step 615.
At step 615, the I-PLD packets are extracted from the transport stream, including the header information and data, until the next picture start code. The header information within the first-received I-PID access unit includes sequence header, sequence extension, group start code, GOP header, picture header, and picture extension, which are known to a reader that is skilled in MPEG-1 and MPEG-2 compression standards. The header information in the next I-PID access units that belongs to the second and later GOP's includes group start code, picture start code, picture header, and extension. The method 600 then proceeds to step 620 where the payloads of the packets that includes header information related to video stream and I-picture data are coupled to the video decoder 550 as video information stream V. The method 600 then proceeds to step 625.
At step 625, the predicted picture packets PRED-PLD, illustratively the PLD-1 packets of fourteen predicted pictures 413 to 425 in Figure 4 in a GOP of size fifteen, are extracted from the transport stream. At step 630, the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder 550 as video information stream V. At the end of step 630, a complete GOP, including the I-picture and the predicted-pictures, are available to the video decoder 550. As the payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer, the video decoder decodes the recombined stream with no additional recombination process. The method 600 then proceeds to step 635.
At step 635 a query is made as to whether a different I-PLD is requested. If the query at step 635 is answered negatively, then the method 600 proceeds to step 610 where the transport demultiplexer 530 waits for the next packets having the PID of the desired I-picture. If the query at step 635 is answered affirmatively, then the PID of the new desired I-picture is identified at step 640 and the method 600 returns to step 610.
The method 600 of Figure 6 is used to produce a conformant MPEG video stream V by concatenating a desired I-picture and a plurality of P- and/or B-pictures forming a pre-defined GOP structure.
C2. Recombination Method 2
The second method of recombining the video stream involves the modification of the transport stream using a PID filter. A PID filter 504 can be implemented as part of the demodulator 520 of Figure 5.
For illustrative purposes, assuming the preferred embodiment of the transport stream discussed above (multi-program transport stream with each program consisting of an I-PID, PRED-PLD, audio-PID, and data-PLD), any packet with a PID that matches any of the PID's within the desired program to be received have its PID modified to the lowest video PID in the program (the PID which is referenced first in the program's program mapping table (PMT)). For example, in a program, assuming that an I-PID is 50, and PRED-PLD is 51. Then, the PID-filter modifies the PRED-PID as 50 and thereby, both I- and Predicted-Picture access units attain the same PID number and become a portion of a common stream.
As a result, the transport stream output from the PLD filter contains a program with a single video stream, whose packets appear in the proper order to be decoded as valid MPEG video.
Note that the incoming bit stream does not necessarily contain any packets with a PID equal to the lowest video PLD referenced in the programs PMT. Also note that it is possible to modify the video PID's to other PID numbers than lowest PID without changing the operation of the algorithm. When the PID's of incoming packets are modified to match the PID's of other packets in the transport stream, the continuity counters of the merged PID's may become invalid at the merge points, due to each PID having its own continuity counter. For this reason, the discontinuity indicator in the adaptation field is set for any packets that may immediately follow a merge point. Any decoder components that check the continuity counter for continuity is required to correctly process the discontinuity indicator bit.
Figure 7 illustrates the details of this method, in which, it starts at step 705 and proceeds to step 710 to wait for (user) selection of an I-PID to be received. The I- PID, as the first picture of a stream's GOP, represents the stream to be received. Upon detecting a transport packet having the selected I-PID, the method 700 proceeds to step 715.
At step 715, the PID number of I-stream is re-mapped to a predetermined number, PID*. At this step, the PID filter modifies all the PID's of the desired I-stream packets to PID*. The method then proceeds to step 720, wherein the PID number of the predicted picture stream, PRED-PID, is re-mapped to PID*. At this step, the PID filter modifies all the PID's of the PRED-PID packets to PID*. The method 700 then proceeds to step 725.
At step 725, the packets of the PLD* stream is extracted from the transport stream by the demultiplexer. The method 700 then proceeds to step 730, where the payloads of the packets that includes video stream header information and I-picture and predicted picture data are coupled to the video decoder 550 as video information stream V. The method 700 then proceeds to 735.
At step 735, a query is made as to whether a different I-PID is requested. If the query at step 735 is answered negatively, then the method 700 proceeds to step 710 where the transport demultiplexer 530 waits for the next packets having the PID of the desired I-picture. If the query at step 735 is answered affirmatively, then the PID of the new desired I-picture is identified at step 740 and the method 700 returns to step 710.
The method 700 of Figure 7 is used to produce a conformant MPEG video stream V by merging the reference stream information and predicted stream information before the demultiplexing process.
C3. Recombination Method 3
The third method accomplishes MPEG bit stream recombination by using splicing information in the adaptation field of the transport packet headers by switching between video PIDs based on splice countdown concept.
In this method, the MPEG streams signal the PID to PID switch points using the splice countdown field in the transport packet header's adaptation field. When the PID filter is programmed to receive one of the PIDs in a program's PMT, the reception of a packet containing a splice countdown value of 0 in its header's adaptation field causes immediate reprogramming of the PID filter to receive the other video PID. Note that a special attention to splicing syntax is required in systems where splicing is used also for other purposes. Figure 8 illustrates the details of this method, in which, it starts at step 805 and proceeds to step 810 to wait for (user) selection of an I-PLD to be received. The I- PLD, as the first picture of a stream's GOP, represents the stream to be received. Upon detecting a transport packet having the selected I-PID, the method 800 proceeds to step 815. At step 815, the I-PID packets are extracted from the transport stream until, and including, the I-PID packet with slice countdown value of zero. The method 800 then proceeds to step 820 where the payloads of the packets that includes header information related to video stream and I-picture data are coupled to the video decoder 550 as video information stream V. The method 800 then proceeds to step 825. At step 825, the PID filter is re-programmed to receive the predicted picture packets PRED-PID. The method 800 then proceeds to 830. At step 830, the predicted stream packets, illustratively the PID-1 packets of fourteen predicted pictures 413 to 425 in Figure 4 in a GOP of size fifteen, are extracted from the transport stream. At step 835, the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder 550 as video information stream V. At the end of step 835, a complete GOP, including the I-picture and the predicted-pictures, are available to the video decoder 550. As the payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer, the video decoder decodes the recombined stream with no additional recombination process. The method 800 then proceeds to step 840.
At step 840, a query is made as to whether a different I-PID is requested. If the query at step 840 is answered negatively, then the method 800 proceeds to step 850 where the PID filter is re-programmed to receive the previous desired I-PID. If answered affirmatively, then the PID of the new desired I-picture is identified at step 845 and the method proceeds to step 850, where the PLD filter is re-programmed to receive the new desired I-PID. The method then proceeds to step 845, where the transport demultiplexer 530 waits for the next packets having the PID of the desired I-picture.
The method 800 of Figure 8 is used to produce a conformant MPEG video stream V, where the PID to PID switch is performed based on a slice countdown concept.
D. Example: Interactive Program Guide
DI. User Interface and Operation of IPG
To illustrate the applicability of the invention to encoding IPG sequences, Figures 9 and 10 depict a frame from two different sequences of IPG pages 900 and 1000. The common information is everything except the programming grid 902 and 1002. The non-common information is the programming grid 902 and 1002. The programming grid 902 and 1002 changes from sequence 900 to sequence 1000. This grid changes for each channel group and each time interval. The IPG display 900 of Figure 9 comprises a first 905 A, second 905B and third 905C time slot objects, a plurality of channel content objects 910-1 through 910-8, a pair of channel indicator icons 941 A, 941B, a video barker 920 (and associated audio barker), a cable system or provider logo 915, a program description region 950, a day of the week identification object 931 , a time of day object 939, a next time slot icon 934, a temporal increment/decrement object 932, a "favorites" filter object 935, a "movies" filter object 936, a "kids" (i.e., juvenile) programming filter icon 937, a "sports" programming filter object 938 and a VOD programming icon 933. It should be noted that the day of the week object 931 and next time slot icon 934 may comprise independent objects (as depicted in Figure 9) or may be considered together as parts of a combined object. Details regarding the operation of the LPG pages, their interaction with one another and with a user are described in commonly assigned US patent application filed July 23, 1999 (attorney docket no. 070 CLP2) which is hereby incorporated herein by reference.
In a system, illustratively, comprising 80 channels of information, the channels are displayed in 8-channel groups having associated with them three hour time slots. In this organization, it is necessary to provide 10 video PIDs to carry the present- time channel time/title information, one audio PID to carry the audio barker and/or a data PID (or other data transport method) to carry the program description data, overlay data and the like. To broadcast program information up to 24 hours in advance, it is necessary to provide 128 (8*24/1.5) video PIDS, along with one audio and, optionally, one or more data PIDs. The amount of time provided for in broadcast video PLDs for the given channel groups comprises the time depth of the program guide, while the number of channels available through the guide (compared to the number of channels in the system) provides the channel depth of the program guide. In a system providing only half of the available channels via broadcast video PIDs, the channel depth is said to be 50%. In a system providing 12 hours of time slot "look-ahead," the time depth is said to be 12 hours. In a system providing 16 hours of time slot "look-ahead" and 4 hours of time slot "look-back," the time depth is said to be +16/-4 hours.
The video streams representing the LPG are carried in a single transport stream or multiple transport streams, within the form of a single or multi -programs as discussed previously in this invention. A user desiring to view the next 1.5 hour time interval (e.g., 9:30 - 11:00) may activate a "scroll right" object (or move the joystick to the right when a program within program grid 902 occupies the final displayed time interval). Such activation results in the controller of the STT noting that a new time interval is desired. The video stream corresponding to the new time interval is then decoded and displayed. If the corresponding video stream is within the same transport stream (i.e., a new PID), then the stream is immediately decoded and presented. If the corresponding video stream is within a different transport stream, then the related transport stream is extracted from the broadcast stream and the related video stream is decoded and presented. If the corresponding transport stream is within a different broadcast stream, then the related broadcast stream is tuned, the corresponding transport stream is extracted, and the desired video stream is decoded and presented. It is important to note that each extracted video stream is generally associated with a common audio stream. Thus, the video/audio barker function of the program guide is continuously provided, regardless of the selected video stream. Also note that the teachings of the invention is equally applicable to systems and user interfaces that employs multiple audio streams.
Similarly, a user interaction resulting in a prior time interval or a different set of channels results in the retrieval and presentation of a related video stream. If the related video stream is not part of the broadcast video streams, then a pointcast session is initiated. For this purpose, the STT sends a request to the head end via the back channel requesting a particular stream. The head end then processes the request, retrieves the related stream from the information server, incorporates the stream within a transport stream as a video PID (preferably, the transport stream currently being tuned/selected by the STT) and informs the STT which PID should be received, and from which transport stream it should be demultiplexed. The STT then retrieves the related video PID. In the case of the video PID being within a different transport stream, the STT first demultiplexes the corresponding transport stream (possibly tuning a different QAM stream within the forward channel).
Upon completion of the viewing of the desired stream, the STT indicates to the head end that it no longer needs the stream, whereupon the head end tears down the pointcast session. The viewer is then returned to the broadcast stream from which the pointcast session was launched.
D.2 Compressing Exemplary IPG Pages
Figure 11 illustrates the ten LPG user interface page streams in a matrix representation 1100. The horizontal axis, h, in the figure represents the PLD dimension consisting of 10 PLD's, which corresponds to El - ElO outputs of the real time encoders RTE1 to RTE10 of Figure 2.
The vertical axis, v, in Figure 11 represents the time domain, where for illustrative purposes, only 15 time units, tl to tl5, are included that forms a GOP for each stream identified by a PID in horizontal domain, h.
The matrix entries 1102 to 1130 in column- 1 describes fifteen pictures of the first IPG page, PID-1. The guide portion, marked as gl, at each time unit, tl to tl5, does not change within a GOP of PLD 1. The same principle applies to PID-2 to PID- 10 streams in columns-2 to 10, where guide portions, g2 to glO, at each time unit tl to tl5, does not change. On the other hand, each stream in column- 1 to column- 10 shares the same motion video portion, marked as vl to vl5.
Conversely, the guide region g changes from gl to glO in horizontal dimension. For example, in row-1, the pictures 1102 to 1148 contains different guide portions gl to glO, although each has the same motion video picture vl, as the matrix is traversed in horizontal dimension. The same principle applies to row-2 to row- 15, where guide portion g changes from g2 to glO, each stream in column- 1 to column- 10 sharing the same motion video picture, v2 to vl5. Figure 12 graphically illustrates an efficient compression algorithm 1200 that substantially minimizes the number of pictures that represents the information in Figure 11. The same matrix representation as Figure 11 is used, where the horizontal axis, h, represents the PID dimension consisting of 10 PLD's, and the vertical axis, v, represents the time domain. The element groupings, which are marked with dash-lines, 1202 to 1222 shows the data that can efficiently represent the complete matrix entries. In other words, using only the elements 1202 to 1222, it is possible to reconstruct all other elements in each row and column of the matrix.
A first element grouping 1202 includes all of the elements of the first column (PID-1) excluding the element in first row, 1204. The next group of elements in row-1, 1204 to 1222, illustrates the next group of elements required to represent the complete program guide elements of Figure 11. Thus, rather than storing or transmitting 150 elements (i.e., all the elements of each row and column), the invention reconstructs the same amount of information using only 24 elements. Specifically, the group of fourteen elements 1202 corresponds to the predicted picture stream that represents the common information. Each of the elements 1204 to 1222 is an intra-coded I-picture that represents the non-common information among 10 PLD's. While each sequence, PID-1 to PID-10, is encoded in vertical dimension, e.g., for PID-1 producing II Bl Bl PI . . . Bl Bl, it can be observed that the prediction error images at each time unit, t2 to tl5, does not change from PID to PID in horizontal dimension. Therefore, the grouping 1202 of PID-1 also includes the same information as the corresponding pictures of PID-2 to PID-10 at the same time units t2 to tl5. When a viewer wants to view a group of channels, the de-multiplexer at the STT selects the related I-PID stream and combines the selected I-PID and with the predicted-PID stream as previously discussed in the invention to produce a recombined stream, which is then uncompressed by the video decoder. The described invention dramatically increases the amount of LPG information that can be transmitted to a subscriber. For example, if a 64 quadrature amplitude modulator (QAM) with 27 Mbps is used, then the bandwidth savings can be exemplified as follows: assuming 1 Mbps is reserved for audio, data, and overhead information, there remains 26 Mbps to encode the video streams. Assuming a relatively high level of video quality, each video stream to be encoded is allocated 2 Mbps of bandwidth, thereby resulting in a capability of 13 video streams per transport stream (s).
Alternatively, if the recombination method is employed, a GOP (consisting of fifteen pictures) which requires 2 Mbps is transmitted only once and the remaining 24 Mbps is allocated to 60 I-pictures, assuming that an I-picture occupies approximately 20 per cent bitrate of a sequence (yielding 400 Kbps I-pictures in a 2 Mbps video sequence). Therefore, the present invention supports carrying 61 video streams each having a different LPG program page, within a 27 Mbps transport stream, versus 13 video streams in a regular encoding implementation not benefiting from the invention.
The index matrix representation described above with respect to Figures 11 and 12 may be used to represent program guide data with different contexts such broadcast, narrowcast, pointcast, shared pointcast, and the like.
II. Slice-based Recombination
To enhance error recovery, the MPEG-2 standard contemplates the use of a "slice layer" where a video frame is divided into one or more slices. A slice contains one or more contiguous sequence of macroblocks. The sequence begins and ends at any macroblock boundary within the frame. An MPEG-2 decoder, when provided a corrupted bitstream, uses the slice layer to avoid reproducing a completely corrupted frame. For example, if a corrupted bitstream is decoded and the decoder determines that the present slice is corrupted, the decoder skips to the next slice and begins decoding. As such, only a portion of the reproduced picture is corrupted.
The present invention uses the slice layer for the main purpose of flexible encoding and compression efficiency in a head end centric end-to-end system. A slice- based encoding system enables the graphics and video of an LPG to be efficiently coded and flexibly transmitted as described below. Consequently, a user can easily and rapidly move from one LPG page to another LPG page.
A. An Exemplary Interactive Program Guide
The present invention can be employed for compressing and transmitting various types of video frame sequences that contain graphics and video information, and is particularly useful in compressing and transmitting interactive program guides (IPG) where a portion of the LPG contains video (referred to herein as the video portion) and a portion of the IPG contains a programming guide grid (referred to herein as the guide portion or graphics portion). The present invention slice-based encodes the guide portion separately from the slice-based encoded video portion, transmits the encoded portions within a transport stream, and reassembles the encoded portions to present a subscriber (or user) with a comprehensive LPG. Through the LPG, the subscriber can identify available programming and select various services provided by their information service provider.
As described above in relation to frame-based recombination, Figure 9 depicts a frame from an illustrative LPG page 900. In this particular embodiment of an LPG, the guide grid information is contained in portion 902 (left half page) and the video information is contained in portion 901 (right half page). The IPG display 900 comprises a first 905 A, second 905B and third 905C time slot objects, a plurality of channel content objects 910-1 through 910-8, a pair of channel indicator icons 941A, 941B, a video barker 920 (and associated audio barker), a cable system or provider logo 915, a program description region 950, a day of the week identification object 931 , a time of day object 939, a next time slot icon 934, a temporal increment/decrement object 932, a "favorites" filter object 935, a "movies" filter object 936, a "kids" (i.e., juvenile) programming filter icon 937, a "sports" programming filter object 938 and a VOD programming icon 933. It should be noted that the day of the week object 931 and next time slot icon 934 may comprise independent objects (as depicted in Figure 9) or may be considered together as parts of a combined object.
A user may transition from one IPG page to another, where each page contains a different graphics portion 902, i.e., a different program guide graphics. The details regarding the encoding and decoding of a series of IPG pages in accordance with the present invention are provided below.
Details regarding the operation of the IPG page of Figure 9, the interaction of this page with other pages and with a user are described in commonly assigned US patent application filed July 23, 1999 (attorney docket no. 070 CEP2) which is hereby incorporated herein by reference.
B. System
Figure 13 depicts a high-level block diagram of an information distribution system 1300, e.g., a video-on-demand system or digital cable system, that incorporates the present invention. The system 1300 contains head end equipment (HEE) 1302, local neighborhood equipment (LNE) 1328, a distribution network 1304 (e.g., hybrid fiber- coax network) and subscriber equipment (SE) 1306. This form of information distribution system is disclosed in commonly assigned U.S. patent application serial number 08/984,710 filed December 3, 1997. The system is known as DIVATM provided by DIVA Systems Corporation.
The HEE 1302 produces a plurality of digital streams that contain encoded information in illustratively MPEG-2 compressed format. These streams are modulated using a modulation technique that is compatible with a communications channel 1330 that couples the HEE 1302 to one or more LNE (in Figure 1, only one LNE 1328 is depicted). The LNE 1328 is illustratively geographically distant from the HEE 1302. The LNE 1328 selects data for subscribers in the LNE's neighborhood and remodulates the selected data in a format that is compatible with distribution network 1304. Although the system 1300 is depicted as having the HEE 1302 and LNE 1328 as separate components, those skilled in the art will realize that the functions of the LNE may be easily incorporated into the HEE 1302. It is also important to note that the presented slice-based encoding method is not constrained to physical location of any of the components. The subscriber equipment (SE) 1306, at each subscriber location 13061, 13062, , 1306n, comprises a receiver 1324 and a display 1326. Upon receiving a stream, the subscriber equipment receiver 1324 extracts the information from the received signal and decodes the stream to produce the information on the display, i.e., produce a television program, IPG page, or other multimedia program.
In an interactive information distribution system such as the one described in commonly assigned U.S. patent application 08/984,710, filed December 3, 1997, the program streams are addressed to particular subscriber equipment locations that requested the information through an interactive menu. A related interactive menu structure for requesting video-on-demand is disclosed in commonly assigned U.S. patent application serial number 08/984,427, filed December 3, 1997. Another example of interactive menu for requesting multimedia services is the interactive program guide (IPG) disclosed in commonly assigned U.S. patent application 60/093,891, filed in July 23, 1998.
To assist a subscriber (or other viewer) in selecting programming, the HEE 202 produces information that can be assembled to create an IPG such as that shown in FIG. 1. The HEE produces the components of the IPG as bitstreams that are compressed for transmission in accordance with the present invention.
A video source 1314 supplies the video sequence for the video portion of the LPG to an encoding unit 1316 of the present invention. Audio signals associated with the video sequence are supplied by an audio source 1312 to the encoding and multiplexing unit 1316. Additionally, a guide data source 1332 provides program guide data to the encoding unit 1316. This data is typically in a database format, where each entry describes a particular program by its title, presentation time, presentation date, descriptive information, channel, and program source.
The encoding unit 1316 compresses a given video sequence into one or more elementary streams and the graphics produced from the guide data into one or more elementary streams. As described below with respect to Figure 14, the elementary streams are produced using a slice-based encoding technique. The separate streams are coupled to the cable modem 1322.
The streams are assembled into a transport stream that is then modulated by the cable modem 1322 using a modulation format that is compatible with the head end communications channel 1330. For example, the head end communications channel may be a fiber optic channel that carries high speed data from the HEE 1302 to a plurality of LNE 1328. The LNE 1328 selects IPG page components that are applicable to its neighborhood and remodulates the selected data into a format that is compatible with a neighborhood distribution network 1304. A detailed description of the LNE 1328 is presented below with respect to Figure 15.
The subscriber equipment 1306 contains a receiver 1324 and a display 1326 (e.g., a television). The receiver 1324 demodulates the signals carried by the distribution network 1304 and decodes the demodulated signals to extract the IPG pages from the stream. The details of the receiver 1324 are described below with respect to Figure 24.
B . Encoding Umt 1316
The system of the present invention is designed specifically to work in a slice-based ensemble encoding environment, where a plurality of bitstreams are generated to compress video information using a sliced-based technique. In the MPEG-2 standard, a "slice layer" may be created that divides a video frame into one or more "slices". Each slice includes one or more macroblocks, where the macroblocks are illustratively defined as rectangular groups of pixels that tile the entire frame, e.g., a frame may consist of 30 rows and 22 columns of macroblocks. Any slice may start at any macroblock location in a frame and extend from left to right and top to bottom through the frame. The stop point of a slice can be chosen to be any macroblock start or end boundary. The slice layer syntax and its conventional use in forming an MPEG-2 bitstream is well known to those skilled in the art and shall not be described herein.
When the invention is used to encode an IPG comprising a graphics portion and a video portion, the slice-based technique separately encodes the video portion of the LPG and the grid graphics portion of the LPG. As such, the grid graphics portion and the video portion are represented by one or more different slices.
FIG. 9A illustrates an exemplary slice division of an IPG 900 where the guide portion 902 and the video portion 901 are each divided into N slices (e.g., g/sl through g/sN and v/sl through v/sN). Each slice contains a plurality of macroblocks, e.g., 22 macroblocks total and 11 macroblocks in each portion. The slices in the graphics portion are pre-encoded to form a "slice form grid page" database that contains a plurality of encoded slices of the graphics portion. The encoding process can also be performed real-time during the broadcast process depending on the preferred system implementation. In this way, the graphics slices can be recalled from the database and flexibly combined with the separately encoded video slices to transmit the IPG to the LNE and, ultimately, to the subscribers. The LNE assembles the IPG data for the neighborhood as described below with respect to FIG. 15. Although the following description of the invention is presented within the context of an IPG, it is important to note that the method and apparatus of the invention is equally applicable to a broad range of applications, such as broadcast video on demand delivery, e-commerce, internet video education services, and the like, where delivery of video sequences with common content is required.
As depicted in Figure 14, the encoding unit 1316 receives a video sequence and an audio signal. The audio source comprises, illustratively, audio information that is associated with a video portion in the video sequence such as an audio track associated with still or moving images. For example, in the case of a video sequence representing a movie trailer, the audio stream is derived from the source audio (e.g., music and voice-over) associated with the movie trailer.
The encoding unit 1316 comprises video processor 1400, a graphics processor 1402 and a controller 1404. The video processor 1400 comprises a compositor unit 1406 and an encoder unit 1408. The compositor unit 1406 combines a video sequence with advertising video, advertiser or service provider logos, still graphics, animation, or other video information. The encoder unit 1408 comprises one or more video encoders 1410, e.g., a real-time MPEG-2 encoder and an audio encoder 1412, e.g., an AC-3 encoder. The encoder unit 1408 produces one or more elementary streams containing slice-based encoded video and audio information.
The video sequence is coupled to a real time video encoder 1410. The video encoder then forms a slice based bitstream, e.g., an MPEG-2 compliant bit stream, for the video portion of an LPG. For purposes of this discussion, it is assumed that the GOP structure consists of an I-picture followed by ten B-pictures, where a P-picture separates each group of two B-pictures (i.e., "I-B-B-P-B-B-P-B-B-P-B-B-P-B-B"), however, any GOP structure and size may be used in different configurations and applications.
The video encoder 1410 "pads" the graphics portion (illustratively the left half portion of LPG) with null data. This null data is replaced by the graphics grid slices, at a later step, within LNE. Since the video encoder processes only motion video information, excluding the graphics data, it is optimized for motion video encoding.
The controller 1404 manages the slice-based encoding process such that the video encoding process is time and spatially synchronized with the grid encoding process. This is achieved by defining slice start and stop locations according to the objects in the IPG page layout and managing the encoding process as defined by the slices.
The graphics portion of the IPG is separately encoded in the graphics processor 1402. The processor 1402 is supplied guide data from the guide data source (1332 in Figure 2). Illustratively, the guide data is in a conventional database format containing program title, presentation date, presentation time, program descriptive information and the like. The guide data grid generator 414 formats the guide data into a "grid", e.g., having a vertical axis of program sources and a horizontal axis of time increments. One specific embodiment of the guide grid is depicted and discussed in detail above with respect to Figure 9.
The guide grid is a video frame that is encoded using a video encoder 1416 optimized for video with text and graphics content. The video encoder 1416, which can be implemented as software, slice-based encodes the guide data grid to produce one or more bitstreams that collectively represent the entire guide data grid. The encoder is optimized to effectively encode the graphics and text content.
The controller 1404 defines the start and stop macroblock locations for each slice. The result is a GOP structure having intra-coded pictures containing I-picture slices and predicted pictures containing B and P-picture slices. The I-pictures slices are separated from the predicted picture slices. Each encoded slice is separately stored in a slice form grid page database 1418. The individual slices can be addressed and recalled from the database 1418 as required for transmission. The controller 1404 controls the slice-based encoding process as well as manages the database 1418.
D. Local Neighborhood Equipment (LNE) 1328
FIG. 15 depicts a block diagram of the LNE 1328. The LNE 1328 comprises a cable modem 1500, slice combiner 1502, a multiplexer 504 and a digital video modulator 1506. The LNE 1328 is coupled illustratively via the cable modem to the HEE 1302 and receives a transport stream containing the encoded video information and the encoded guide data grid information. The cable modem 1500 demodulates the signal from the HEE 1302 and extracts the MPEG slice information from the received signal. The slice combiner 1502 combines the received video slices with the guide data slices in the order in which the decoder at receiver side can easily decode without further slice re-organization. The resultant combined slices are PID assigned and formed into an illustratively MPEG compliant transport stream(s) by multiplexer 1504. The slice- combiner (scanner) and multiplexer operation is discussed in detail with respect to Figures 15-20. The transport stream is transmitted via a digital video modulator 506 to the distribution network 1304. The LNE 1328 is programmed to extract particular information from the signal transmitted by the HEE 1302. As such, the LNE can extract video and guide data grid slices that are targeted to the subscribers that are connected to the particular LNE. For example, the LNE 1328 can extract specific channels for representation in the guide grid that are available to the subscribers connected to that particular LNE. As such, unavailable channels to a particular neighborhood would not be depicted in a subscriber's LPG. Additionally, the IPG can contain targeted advertising, e-commerce, program notes, and the like. As such, each LNE can combine different guide data slices with different video to produce IPG screens that are prepared specifically for the subscribers connected to that particular LNE. Other LNEs would select different LPG component information that is relevant to their associated subscribers.
Figure 16 illustrates a matrix representation 1600 of a series of IPG pages. In the illustrated example, ten different LPG pages are available at any one time period, e.g., tl, t2, and so on. Each page is represented by a guide portion (g) and a common video portion (v) such that a first IPG page is represented by gl/vl, the second IPG page is represented by g2/vl and so on. In the illustrative matrix 600, ten identical guide portions (gl-glO) are associated with a first video portion (vl). Each portion is slice-base encoded as described above within the encoding umt (1316 of FIG.14).
Figure 16 illustrates the assignment of PIDs to the various portions of the LPG pages. In the figure, only the content that is assigned a PID is delivered to a receiver. The intra-coded guide portion slices gl through glO are assigned to PLDl through PIDIO respectively. One of the common intra-coded video portion vl, illustratively the tenth IPG page, is assigned to PLDl 1. In this form, substantial bandwidth saving is achieved by delivering intra-coded video portion slices vl only one time. Lastly, the predictive-coded slices gl/v2 through gl/vl 5 are assigned to PIDl 1. As shown in the figure, a substantial bandwidth saving is achieved by transmitting only one group of illustratively fourteen predicted picture slices, gl/v2 to gl/vl5. This is provided by the fact that the prediction error images for each IPG page 1 to 10 through time units t2 to tl5 contain the same residual images. Further details of PID assignment process is discussed in next sections. Figure 17 depicts a process 1700 that is used to form a bitstream 1710 containing all the intra-coded slices encoded at a particular time tl of Figure 16. At step 1702, a plurality of IPG pages 17021 through 170210 are provided to the encoding unit. At step 1704, each page is slice base encoded to form, for example, guide portion slices gl/sl through gl/sN and video portion slices v/sl through v/sN for LPG page 1 17041. The slice based encoding process for video and guide portions can be performed in different forms. For example, guide portion slices can be pre-encoded by a software MPEG-2 encoder or encoded by the same encoder as utilized for encoding the video portion. If the same encoder is employed, the parameters of the encoding process is adjusted dynamically for both portions. It is important to note that regardless of the encoder selection and parameter adjustment, each portion is encoded independently. While encoding the video portion, the encoding is performed by assuming the full frame size (covering both guide and video portions) and the guide portion of the full frame is padded with null data. This step, step 1704, is performed at the HEE. At step 1706, the encoded video and guide portion slices are sent to the LNE. If the LNE functionality is implemented as part of the HEE, then, the slices are delivered to the LNE as packetized elementary stream format or any similar format as output of the video encoders. If LNE is implemented as a remote network equipment, the encoded slices are formatted in a form to be delivered over a network via a preferred method such as cable modem protocol or any other preferred method. Once the slice-based streams are available in the LNE, the slice combiner at step 1706 orders the slices in a form suitable for the decoding method at the receiver equipment. As depicted in Figure 17 (b), the guide portion and video portion slices are ordered in a manner as if the original pictures in Figure 17 (a) are scanned from left to right and top to bottom order. Each of the slice packets are then assigned PID's as discussed in Figure 16 by the multiplexer; PLDl is assigned to gl/sl ... gl/sn, PLD2 to g2/sl ... g2/sn, ..., PIDIO to glO/sl ... glO/sn, and PLDl 1 is assigned to v/sl ... v/sn. The resultant transport stream containing the intra-coded slices of video and guide portions is illustrated in Figure 17 (c). Note that based on this transport stream structure, a receiving terminal as discussed in later parts of this description of the invention, retrieves the original picture by constructing the video frames row-by-row, first retrieving, assuming PIDl is desired, e.g., gl/sl of PIDl then v/sl of PIDl 1, next gl/s2 of PLDl then v/s2 of PLD 11 and so on.
Figure 18 illustrates a process 1800 for producing a bitstream 1808 containing the slices from the predictive-coded pictures accompanying the transport stream generation process discussed in Figure 17 for intra-coded slices. As shown in Figure 16, illustratively, only the predicted slices belonging to IPG page 1 is delivered. Following the same arguments of encoding process in Figure 17, at step 1802, the predictive-coded slices are generated at the HEE independently and then forwarded to an LNE either as local or in a remote network location. At step 1804, slices in the predictive-coded guide and video portion slices, illustratively from time periods t2 to tl5, are scanned from left to right and top to bottom in slice-combiner and complete data is assigned PLD 11 by the multiplexer. Note that the guide portion slices gl/sl to gl/sn at each time period t2 to tl5 does not change from their intra-coded corresponding values at tl . Therefore, these slices are coded as skipped macroblocks "sK". Conventional encoder systems do not necessarily skip macroblocks in a region even when there is no change from picture to picture. In order to provide this functionality, the encoder is given the parameters for discussed slices to skip macroblocks without any further encoding evaluations. At step 1806, the slice packets are ordered into a portion of final transport stream, first including the video slice packets v2/sl ... v2/SN to vl5/sl ... vl5/sN, then including the skipped guide slices sK sl ... sK/sN from t2 to tl5 in the final transport stream. FIG. 19 depicts a complete MPEG compliant transport stream 1900 that contains the complete information needed by a decoder to recreate IPG pages that are encoded in accordance with the invention. The transport stream 1900 comprises the intra-coded bitstream 1710 of the guide and video slices (PIDs 1 to 11), a plurality of audio packets 1902 identified by an audio PID, and the bitstream 1806 containing the predictive-coded slices in PIDl 1. The rate of audio packet insertion between video packets is decided based on the audio and video sampling ratios. For example, if audio is digitally sampled as one tenth of video signal, then an audio packet may be introduced into the transport stream every ten video packets. The transport stream 1900 may also contain, illustratively after every 64 packets, data packets that carry to the set top terminal overlay updates, raw data, HTML, Java, URL, instructions to load other applications, user interaction routines, and the like. The data PIDs are assigned to different set of data packets related to guide portion slice sets and also video portion slice sets. FIG. 20 illustrates a process 2000, an alternative embodiment of process
1800 depicted in Figure 18, for producing a predictive-coded slice bitstream 2006. The process 2000, at step 2002, produces the slice base encoded predictive-coded slices. At step 2004, the slices are scanned to intersperse the "skipped" slices (sk) with the video slices (vl). The previous embodiment scanned the skipped guide portion and video portion separately. In this embodiment, each slice is scanned left to right and top to bottom completely, including the skipped guide and video data. As such, at step 2008, the bitstream 2006 has the skipped guide and video slices distributed uniformly throughout the transport stream. The foregoing embodiments of the invention assumed that the IPG page was divided into one guide portion and one video portion. For example, in Figure 9, the guide portion is the left half of the LPG page and the video portion is the right half of the LPG page. However, the invention can be extended to have a guide portion and multiple video portions, e.g., three. Each of the video portions may contain video having different rates of motion, e.g., portion one may run at 30 frames per second, portions two and three may run at 2 frames per second. Figure 21 A illustrates an exemplary embodiment of an IPG 2100 having a guide portion 2102 and three video portions 2104, 2106 and 2108. To encode such an IPG, each portion is separately encoded and assigned PIDs. Figure 2 IB illustrates an assignment map for encoding each portion of the LPG page of Figure 21A. The guide portion 2102 is encoded as slices g/sl through g/sN, while the first video portion 2104 is encoded as slices v/sl through v/sM, and the second video portion 2106 is encoded as slices j/sM+1 through j/sL, the third video portion 2108 is encoded as slices p/sL+1 through p/sN. Figure 22 depicts the scanning process 2200 used to produce a bitstream
2210 containing the intra-coded slices. The scanning process 2200 flows from left to right, top to bottom through the assigned slices of Figure 2 IB. PIDs are assigned, at step 2202, to slices 1 to M; at step 2204, to slices M+l to L; and, at step 2206, to slices L+l to N. As the encoded IPG is scanned, the PLDS are assigned to each of the slices. The guide portion slices are assigned PLDS 1 through 10, while the first video portion slices are assigned PLDl 1, the second video portion slices are assigned PLD 12 and the third video portion slices are assigned PLDl 3. The resulting video portion of the bitstream 2210 contains the PIDS for slices 1-M, followed by PIDS for slices M+l to L, and lastly by the PLDS for L+l to N. Figure 23 depicts a diagrammatical illustration of a process 2300 for assigning PLDS to the predictive-coded slices for the IPG of FIG. 21 A. The scanning process 2300 is performed, at step 2302, from left to right, top to bottom through the V, J and P predicted encoded slices and PIDS are assigned where the V slices are assigned PID 11, the J slices are assigned PID 12 and the P slices are assigned PIDl 3. After the video portion predicted encoded slices have assigned PIDs, the process 2300, at step 2304, assigns PIDs to the skipped slices. The skipped guide slices vertically corresponding to the V slices are assigned PIDl 1, the skipped slices vertically corresponding to the J slices are assigned PLD 12 and the skipped slices vertically corresponding to the P slices are assigned PID13. At step 2308, the resulting predictive- coded bitstream 2312 comprises the predicted video slices in portion 2306 and the skipped slices 2310. The bitstream 2210 of intra-coded slices and the bitstream 2312 of predictive-coded slices are combined into a transport stream having a form similar to that depicted in Figure 19. To change pages in the guide, it is required to switch between programs
(video PIDs for groups of slices) in a seamless manner. This cannot be done cleanly using a standard channel change by the receiver switching from PLD to PID directly, because such an operation flushes the video and audio buffers and typically gives half a second blank screen. To have seamless decoder switching, a splice countdown (or random access indicator) method is employed at the end of each video sequence to indicate the point at which the video should be switched from one PID to another.
Using the same profile and constant bit rate coding for the video and graphics encoding units, the generated streams for different IPG pages are formed in a similar length compared to each other. This is due to the fact that the source material is almost identical differing only in the characters in the guide from one page to another. In this way, while streams are generated having nearly identical lengths, the streams are not exactly the same length. For example, for any given sequence of 15 video frames, the number of transport packets in the sequence varies from one guide page to another. Thus, a finer adjustment is required to synchronize the beginnings and ends of each sequence across all guide pages in order for the countdown switching to work.
The invention provides the act of synchronization of a plurality of streams that provides seamless switching at the receiver.
Three methods are provided for that purpose: First, for each sequence the multiplexer in the LNE identifies the length of the longest guide page for that particular sequence, and then adds sufficient null packets to the end of each other guide page so that all the guide pages become the same length. Then, the multiplexer adds the switching packets at the end of the sequence, after all the null packets. The second method requires buffering of all the packets for all guide pages for each sequence. If this is allowed in the considered system, then the packets can be ordered in the transport stream such that the packets for each guide page appear at slightly higher or lower frequencies, so that they all finish at the same point. Then, the switching packets are added by the multiplexer in the LNE at the end of each stream without the null padding.
A third method is to start each sequence together, and then wait until all the packets for all the guide pages have been generated. Once the generation of all packets is completed, switching packets are placed in the streams at the same time and point in each stream.
Depending on the implementation of decoder units within the receiver and requirements of the considered application, each one of the methods can be applied with advantages. For example, the first method, which is null-padding, can be applied to avoid bursts of N packets of the same PLD into a decoder's video buffer faster than the MPEG specified rate (e.g., 1.5 Mbit).
The teachings of the above three methods can be extended apply to similar synchronization problems and to derive similar methods for ensuring synchronization during stream switching.
E. Receiver 1324
Figure 24 depicts a block diagram of the receiver 1324 (also known as a set top terminal (STT) or user terminal) suitable for use in producing a display of an LPG in accordance with the present invention. The STT 1324 comprises a tuner 2410, a demodulator 2420, a transport demultiplexer 2430, an audio decoder 2440, a video decoder 2450, an on-screen display processor (OSD) 2460, a frame store memory 2462, a video compositor 2490 and a controller 2470. User interaction is provided via a remote control unit 2480. Tuner 2410 receives, e.g., a radio frequency (RF) signal comprising, for example, a plurality of quadrature amplitude modulated (QAM) information signals from a downstream (forward) channel. Tuner 2410, in response to a control signal TUNE, times a particular one of the QAM information signals to produce an intermediate frequency (IF) information signal. Demodulator 2420 receives and demodulates the intermediate frequency QAM information signal to produce an information stream, illustratively an MPEG transport stream. The MPEG transport stream is coupled to a transport stream demultiplexer 2430.
Transport stream demultiplexer 2430, in response to a control signal TD produced by controller 2470, demultiplexes (i.e., extracts) an audio information stream A and a video information stream V. The audio information stream A is coupled to audio decoder 2440, which decodes the audio information stream and presents the decoded audio information stream to an audio processor (not shown) for subsequent presentation. The video stream V is coupled to the video decoder 2450, which decodes the compressed video stream V to produce an uncompressed video stream VD that is coupled to the video compositor 2490. OSD 2460, in response to a control signal OSD produced by controller 2470, produces a graphical overlay signal VOSD that is coupled to the video compositor 2490. During transitions between streams representing the user interfaces, buffers in the decoder are not reset. As such, the user interfaces seamlessly transition from one screen to another. The video compositor 2490 merges the graphical overlay signal VOSD and the uncompressed video stream VD to produce a modified video stream (i.e., the underlying video images with the graphical overlay) that is coupled to the frame store unit 2462. The frame store unit 562 stores the modified video stream on a frame-by-frame basis according to the frame rate of the video stream. Frame store unit 562 provides the stored video frames to a video processor (not shown) for subsequent processing and presentation on a display device.
Controller 2470 comprises a microprocessor 2472, an input/output module 2474, a memory 2476, an infrared (IR) receiver 2475 and support circuitry 2478. The microprocessor 2472 cooperates with conventional support circuitry 2478 such as power supplies, clock circuits, cache memory and the like as well as circuits that assist in executing the software routines that are stored in memory 2476. The controller 2470 also contains input/output circuitry 2474 that forms an interface between the controller 2470 and the tuner 2410, the transport demultiplexer 2430, the onscreen display unit 2460, the back channel modulator 2495, and the remote control unit 2480. Although the controller 2470 is depicted as a general purpose computer that is programmed to perform specific interactive program guide control function in accordance with the present invention, the invention can be implemented in hardware as an application specific integrated circuit (ASIC). As such, the process steps described herein are intended to be broadly interpreted as being equivalently performed by software, hardware, or a combination thereof.
In the exemplary embodiment of Figure 24, the remote control unit 2480 comprises an 8-position joy stick, a numeric pad, a "select" key, a "freeze" key and a "return" key. User manipulations of the joy stick or keys of the remote control device are transmitted to a controller via an infra red (IR) link. The controller 2470 is responsive to such user manipulations and executes related user interaction routines 2400, uses particular overlays that are available in an overlay storage 2479.
After the signal is tuned and demodulated, the video streams are recombined via stream processing routine 2402 to form the video sequences that were originally compressed. The processing unit 2402 employs a variety of methods to recombine the slice-based streams, including, using PID filter 2404, demultiplexer 2430, as discussed in the next sections of this disclosure of the invention. Note that the PID filter implemented illustratively as part of the demodulator is utilized to filter the undesired PLDs and retrieve the desired PLDs from the transport stream. The packets to be extracted and decoded to form a particular IPG are identified by a PID mapping table (PMT) 2477. After the stream processing unit 2402 has processed the streams into the correct order (assuming the correct order was not produced in the LNE), the slicesare sent to the MPEG decoder 2450 to generate the original uncompressed IPG pages. If an exemplary transport stream with two PLDs as discussed in previous parts of the this disclosure, excluding data and audio streams, is received, then the purpose of the stream processing unit 2402 is to recombine the intra-coded slices with their corresponding predictive-coded slices in the correct order before the recombined streams are coupled to the video decoder. This complete process is implemented as software or hardware. In the illustrated IPG page slice structure, only one slice is assigned per row and each row is divided into two portions, therefore, each slice is divided into guide portion and video portion. In order for the receiving terminal to reconstruct the original video frames, one method is to construct a first row from its two slices in the correct order by retrieving two corresponding slices from the transport stream, then construct a second row from its two slices, and so on. For this purpose, a receiver is required to process two PIDs in a time period. The PID filter can be programmed to pass two desired PIDs and filter out the undesired PLDs. The desired PLDs are identified by the controller 2470 after the user selects an LPG page to review. A PID mapping table (2477 of Figure 24) is accessed by the controller 2470 to identify which PIDS are associated with the desired IPG. If a PID filter is available in the receiver terminal, then it is utilized to receive two PIDs containing slices for guide and video portions. The demultiplexer then extracts packets from these two PIDs and couples the packets to the video decoder in the order in which they arrived. If the receiver does not have an optional PID filter, then the demultiplexer performs the two PID filtering and extracting functions. Depending on the preferred receiver implementation, the following methods are provided in Figures 25-28 to recombine and decode slice-based streams.
El. Recombination Method 1
In this first method, intra-coded slice-based streams (I-streams) and the predictive-coded slice-based sfreams (PRED streams) to be recombined keep their separate PID's until the point where they must be depacketized. The recombination process is conducted within the demultiplexer 2430 of the subscriber equipment For illustrative purposes, assuming a multi-program fransport stream with each program consisting of I-PLDs for each intra-coded guide slice, I-PLDs for the intra-coded video slices, one PRED-PID for predicted guide and video, an audio-PID, and multiple data- PEDs, any packet with a PID that matches any of the PLD's within the desired program (as identified in a program mapping table) are depacketized and the payload is sent to the elementary stream video decoder. Payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer.
Figure 25 is a flow diagram of the first packet extraction method 2500. The method starts at step 2505 and proceeds to step 2510 to wait for (user) selection of an I-PID to be received. The I-PID, as the first picture of a stream's GOP, represents the stream to be received. However, since the slice-based encoding technique assigns two or more I-PLDS to the stream (i.e., I-PLDs for the guide portion and for one or more video portions), the method must identify two or more I-PIDs. Upon detecting a transport packet having the selected I-PIDs, the method 2500 proceeds to step 2515.
At step 2515, the I-PID packets (e.g., packets having PLD-1 and PID-11) are extracted from the transport stream, including the header information and data, until the next picture start code. The header information within the first-received I-PID access unit includes sequence header, sequence extension, group start code, GOP header, picture header, and picture extension, which are known to a reader that is skilled in MPEG-1 and MPEG-2 compression standards. The header information in the next I-PID access units that belongs to the second and later GOP's includes group start code, picture start code, picture header, and extension. The method 2500 then proceeds to step 2520 where the payloads of the packets that includes header information related to video stream and I- picture data are coupled to the video decoder 2550 as video information stream V. The method 2500 then proceeds to step 2525. At step 2525, the predicted picture slice-based stream packets PRED-PID, illustratively the PID-11 packets of fourteen predicted pictures in a GOP of size fifteen, are extracted from the transport stream. At step 2530, the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder 2550 as video information stream V. At the end of step 2530, a complete GOP, including the I-picture and the predicted-picture slices, are available to the video decoder 2550. As the payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer, the video decoder decodes the recombined stream with no additional recombination process. The method 2500 then proceeds to step 2535.
At step 2535, a query is made as to whether a different I-PLD is requested, e.g., new LPG is selected. If the query at step 2535 is answered negatively, then the method 2500 proceeds to step 2510 where the transport demultiplexer 2530 waits for the next packets having the PID of the desired I-picture slices. If the query at step 2535 is answered affirmatively, then the PLD of the new desired I-picture slices is identified at step 2540 and the method 2500 returns to step 2510.
The method 2500 of Figure 25 is used to produce a conformant MPEG video stream V by concatenating a desired I-picture slices and a plurality of P- and/or B- picture slices forming a pre-defined GOP structure.
E2. Recombination Method 2
The second method of recombining the video stream involves the modification of the transport stream using a PID filter. A PID filter 2404 can be implemented as part of the demodulator 2420 of Figure 24 or as part of demultiplexer.
For illustrative purposes, assuming a multi-program transport stream with each program consisting of an I-PIDs for both video and guide, PRED-PLD for both video and guide, audio-PID, and data-PID, any packet with a PLD that matches any of the PIDs within the desired program as identified by the program mapping table to be received have its PID modified to the lowest video PLD in the program (the PID which is referenced first in the program's program mapping table (PMT)). For example, in a program, assuming that a guide slice I-PID is 50, the video slice I-PID is 51 and PRED- PID is 52. Then, the PID-filter modifies the video I-PID and the PRED-PID as 50 and thereby, I- and Predicted-Picture slice access units attain the same PLD number and become a portion of a common stream.
As a result, the transport stream output from the PID filter contains a program with a single video stream, whose packets appear in the proper order to be decoded as valid MPEG bitsfream.
Note that the incoming bit stream does not necessarily contain any packets with a PID equal to the lowest video PID referenced in the programs PMT. Also note that it is possible to modify the video PID's to other PID numbers than lowest PID without changing the operation of the algorithm. When the PID's of incoming packets are modified to match the PID's of other packets in the transport stream, the continuity counters of the merged PID's may become invalid at the merge points, due to each PID having its own continuity counter.
For this reason, the discontinuity indicator in the adaptation field is set for any packets that may immediately follow a merge point. Any decoder components that check the continuity counter for continuity is required to correctly process the discontinuity indicator bit.
Figure 26 illustrates the details of this method, in which, it starts at step
2605 and proceeds to step 2610 to wait for (user) selection of two I-PLDs, illustratively two PIDs corresponding to guide and video portion slices, to be received. The I-PLDs, comprising the first picture of a stream's GOP, represents the two streams to be received.
Upon detecting a transport packet having one of the selected I-PIDs, the method 2600 proceeds to step 2615.
At step 2615, the PID number of the I-stream is re-mapped to a predetermined number, PLD*. At this step, the PID filter modifies all the PID's of the desired I-stream packets to PID*. The method then proceeds to step 2620, wherein the
PID number of the predicted picture slice streams, PRED-PID, is re-mapped to PID*. At this step, the PID filter modifies all the PID's of the PRED-PID packets to PID*. The method 2600 then proceeds to step 2625.
At step 2625, the packets of the PID* stream are extracted from the transport stream by the demultiplexer. The method 2600 then proceeds to step 2630, where the payloads of the packets that includes video stream header information and I- picture and predicted picture slices are coupled to the video decoder as video information stream V. Note that the slice packets are ordered in the transport stream in the same order as they are to be decoded, i.e., a guide slice packets of first row followed by video slice packets of first row, second row, and so on. The method 2600 then proceeds to 2635.
At step 2635, a query is made as to whether a different set of (two) I-PIDs are requested. If the query at step 2635 is answered negatively, then the method 2600 proceeds to step 2610 where the fransport demultiplexer waits for the next packets having the identified I-PLDs. If the query at step 2635 is answered affirmatively, then the two PLDs of the new desired I-picture is identified at step 1640 and the method 2600 returns to step 2610.
The method 2600 of Figure 26 is used to produce a conformant MPEG video stream by merging the intra-coded slice streams and predictive-coded slice streams before the demultiplexing process.
E3. Recombination Method 3
The third method accomplishes MPEG bitstream recombination by using splicing information in the adaptation field of the transport packet headers by switching between video PIDs based on splice countdown concept.
In this method, the MPEG streams signal the PLD to PID switch points using the splice countdown field in the transport packet header's adaptation field. When the PLD filter is programmed to receive one of the PLDs in a program's PMT, the reception of a packet containing a splice countdown value of 0 in its header's adaptation field causes immediate reprogramming of the PID filter to receive the other video PID. Note that a special attention to splicing syntax is required in systems where splicing is used also for other purposes. Figure 27 illustrates the details of this method, in which, it starts at step
2705 and proceeds to step 2710 to wait for (user) selection of two I-PIDs to be received. The I-PIDs, comprising the first picture of a stream's GOP, represents the stream to be received. Upon detecting a transport packet having one of the selected I-PIDs, the method 2700 proceeds to step 2715. At step 2715, the I-PID packets are extracted from the transport stream until, and including, the I-PID packet with slice countdown value of zero. The method 2700 then proceeds to step 2720 where the payloads of the packets that includes header information related to video stream and I-picture slice data are coupled to the video decoder as video information stream V. The method 2700 then proceeds to step 2725. At step 2725, the PLD filter is re-programmed to receive the predicted picture packets PRED-PID. The method 2700 then proceeds to 2730. At step 2730, the predicted stream packets, illustratively the PLDl 1 packets of predicted picture slices, are extracted from the fransport stream. At step 2735, the payloads of the packets that includes header information related to video stream and predicted-picture data are coupled to the video decoder. At the end of step 2735, a complete GOP, including the I- picture slices and the predicted-picture slices, are available to the video decoder. As the payloads are sent to the decoder in exactly in the order in which the packets arrive at the demultiplexer, the video decoder decodes the recombined stream with no additional recombination process. The method 2700 then proceeds to step 2740.
At step 2740, a query is made as to whether a different I-PID set (two) is requested. If the query at step 2740 is answered negatively, then the method 2700 proceeds to step 2750 where the PID filter is re-programmed to receive the previous desired I-PIDs. If answered affirmatively, then the PLDs of the new desired I-picture is identified at step 2745 and the method proceeds to step 2750, where the PID filter is re- programmed to receive the new desired I-PIDs. The method then proceeds to step 2745, where the transport demultiplexer waits for the next packets having the PIDs of the desired I-picture.
The method 2700 of Figure 27 is used to produce a conformant MPEG video stream, where the PID to PID switch is performed based on a splice countdown concept. Note that the slice recombination can also be performed by using the second method where the demultiplexer handles the receiving PIDs and extraction of the packets from the transport stream based on the splice countdown concept. In this case, the same process is applied as Figure 17 with the difference that instead of reprogramming the PID filter after "0" splice countdown packet, the demultiplexer is programmed to depacketize the desired PLDs.
E4. Recombination Method 4
For the receiving systems that do not include a PID filter and for those receiving systems in which the demultiplexer can not process two PIDs for splicing the streams, a fourth method presented herein provides the stream recombination. In a receiver that cannot process two PIDs, two or more streams with different PIDs are spliced together via an additional splicing software or hardware and can be implemented as part of the demultiplexer. The process is described below with respect to Figure 28. The algorithm provides the information to the demultiplexer about which PLD to be spliced to as the next step. The demultiplexer processes only one PLD but a different PID after the splice occurs. Figure 28 depicts a flow diagram of this fourth process 2800 for recombining the IPG streams. The process 2800 begins at step 2801 and proceeds to step 2802 wherein the process defines an array of elements having a size that is equal to the number of expected PIDs to be spliced. It is possible to distribute splice information in a picture as desired according to slice structure of the picture and the desired processing form at the receiver. For example, in the slice based streams discussed in this invention, for an I picture, splice information may be inserted into slice row portions of guide and video data. At step 2804, the process initializes the video PID hardware with for each entry in the array. At step 2810, the hardware splice process is enabled and the packets are extracted by the demultiplexer. The packet extraction may also be performed at another step within the demultiplexer. At step 2812, the process checks a hardware register to determine if a splice has been completed. If the splice has occurred, the process, at step 2814, disables the splice hardware and, at step 2816, sets the video PID hardware to the next entry in the array. The process then returns along path 2818 to step 2810. If the splice has not occurred, the process proceeds to step 2820 wherein the process waits for a period of time and then returns along path 2822 to step 2812.
In this manner, the slices are spliced together by the hardware within the receiver. To facilitate recombining the slices, the receiver is sent an array of valid PLD values for recombining the slices through a user data in the transport stream or another communications link to the STT from the HEE. The array is updated dynamically to ensure that the correct portions of the LPG are presented to the user correctly. Since the splice points in slice based streams may occur at a frequent level, a software application may not have the capability to control the hardware for splicing operation as discussed above. If this is the case, then, firmware is dedicated to control the demodulator hardware for splicing process at a higher rate than a software application can handle.
F. Example: Interactive Program Guide
The video streams representing the IPG may be carried in a single transport stream or multiple transport streams, within the form of a single or multi- programs as discussed below with respect to the description of the encoding system. A user desiring to view the next 1.5 hour time interval (e.g., 9:30 - 11 :00) may activate a "scroll right" object (or move the joystick to the right when a program within program grid occupies the final displayed time interval). Such activation results in the controller of the STT noting that a new time interval is desired. The video stream corresponding to the new time interval is then decoded and displayed. If the corresponding video stream is within the same transport stream (i.e., a new PID), then the stream is immediately decoded and presented. If the corresponding video stream is within a different fransport stream, then the related transport stream is extracted from the broadcast stream and the related video stream is decoded and presented. If the corresponding transport stream is within a different broadcast sfream, then the related broadcast stream is tuned, the corresponding transport sfream is extracted, and the desired video stream is decoded and presented.
It is important to note that each extracted video stream is associated with a common audio stream. Thus, the video/audio barker function of the program guide is continuously provided, regardless of the selected video stream. Also note that the teachings of the invention is equally applicable to systems and user interfaces that employs multiple audio streams.
Similarly, a user interaction resulting in a prior time interval or a different set of channels results in the retrieval and presentation of a related video stream. If the related video stream is not part of the broadcast video sfreams, then a pointcast session is initiated. For this purpose, the STT sends a request to the head end via the back channel requesting a particular stream. The head end then processes the request, retrieves the related guide and video streams from the information server, incorporates the streams within a transport stream as discussed above (preferably, the transport stream currently being tuned/selected by the STT) and informs the STT which PIDs should be received, and from which transport stream should be demultiplexed. The STT then extracts the related PLDs for the IPG. In the case of the PLD being within a different fransport stream, the STT first demultiplexes the corresponding transport stream (possibly timing a different QAM stream within the forward channel). Upon completion of the viewing of the desired stream, the STT indicates to the head end that it no longer needs the stream, whereupon the head end tears down the pointcast session. The viewer is then returned to the broadcast stream from which the pointcast session was launched. An important note is that the method and apparatus described herein is applicable to any number of slice assignments to a video frame and any type of slice structures. The presented algorithms are also applicable to any number of PLD assignments to intra-coded and predictive-coded slice based streams. For example, multiple PLDs can be assigned to the predictive-coded slices without loss of generality. Also note that the method and apparatus described herein is fully applicable picture based encoding by assigning each picture only to a one slice, where each picture is encoded then as a full frame instead of multiple slices.
III. Multiplexing Structures, Latency Reduction, and Stream Indexing
A. Level Zero, Level One, and Level Two Encoding
First, as described above, Fig. 11 shows the basic ensemble encoding structure where each of the streams are encoded independently in a vertical dimension and assigned a separate PID. In this encoding structure, the ten streams with PIDs 1 through 10 contain redundant information that is included in the delivered transport stream. In particular, ten video frames (each video frame including guide and video halves) are sent in parallel for each time increment. In the description below, this first encoding technique is referred to as "level zero" encoding.
Second, as described above, Fig. 12 shows an encoding structure where a substantial portion of the redundancy is removed. Using only the elements 1202 to 1222 in Fig. 12, all other elements in each row and column of the matrix may be reconstructed.
While ten video frames (each video frame including guide and video halves) are sent for the intra-coded time increment, only one video frame (including guide and video halves) is sent for the predictive-coded time increments. In the description below, this second encoding technique is referred to as "level one" encoding.
Third, as described above, Fig. 16 shows an encoding structure where the redundancy is further removed. This removal of redundancy is achieved by dividing each frame into slices and transmitting the unique slices. These slices are later recombined as appropriate to regenerate the frames. In the description below, this third encoding technique is referred to as "level two" encoding.
In each of these three encoding techniques, the elementary streams are multiplexed as described below. B. Multiplexing Structures, including Program Mapping and Transport Stream Formation
Figure 29 is a block diagram illustrating an apparatus for encoding, packetizing, multiplexing, and assigning programs to video, audio, and data in accordance with a "level zero" embodiment of the present invention. As described above, the "level zero" embodiment delivers ten video frames for each time increment (in addition to an audio signal). The apparatus 2900 includes an encoding and packetizing unit 2902 and a transport stream multiplexer and PMT (program mapping table) assigner 2904.
In the example shown in Fig. 29, the encoding and packetizing unit 2902 receives for each time increment ten video sequence inputs 2906, one audio input 2908, and ten data inputs 2910. The encoding and packetizing unit 2902 encodes and packetizes each of these inputs. In this example, the encoding and packetizing unit 2902 outputs ten video transport streams 2912, one audio transport stream 2914, and ten data transport streams 2916.
In this example, each video stream is encoded independently and packetized into a transport stream. The ten video streams 2906 are encoded by aligning the frames of each sfream to each other so that each group of pictures (GOP) starts at the same time point for each stream. Each video stream is assigned a video PID. The common single audio sequence is also encoded and packetized into a separate transport stream which is assigned an audio PID. In addition, the data information is packetized into ten separate streams, and each data stream is assigned a data PID.
The transport stream multiplexer and PMT assigner 2904 receives the output from the encoding and packetizing unit 2902. In this example, the transport stream multiplexer and PMT assigner 2904 receives the ten video transport sfreams 2912, one audio transport stream 2914, and ten data transport streams 2916.
The transport stream multiplexer and PMT assigner 2904 multiplexes these various streams to form a single final transport stream or multiple final transport streams 2918. In the case of a single final transport stream 2918, one packet of each stream may be sequentially placed to form the final transport stream. For example, first a packet from video transport stream 1, then a packet from video transport stream 2, then a packet from video transport stream 3, and so on. The transport sfream multiplexer and PMT assigner 2904 also provides packets conveying a program mapping table (PMT). The PMT specifies program identifier (PLD) values for program components. For example, a program may correspond to a particular broadcast channel, and the PMT would specify PID values for video, audio, and data relating to that broadcast channel. The packets conveying the PMT are also included in the final fransport stream(s) 2918.
Figure 30 is a schematic diagram illustrating a program assignment structure for a multiple program final transport sfream in accordance with a embodiment of the present invention. The program assignment structure 3000 assigns to each program a video PLD, an audio PID, and a data PLD.
In this example, the video PID is one often PLDs, the audio PLD is the same for each program, and the data PID is one often PLDs. In particular, program 1 3001 is assigned video PID 1, the audio PID, and data PLD 1. Program 2 3002 is assigned video PID 2, the audio PID, and data PID 2. And so on, until Program 10 3010 is assigned video PID 10, the audio PID, and data PID 10. Note that although the audio PID is referenced for every program, the audio packets are multiplexed into the final transport stream 2918 only once.
Figure 31 is a schematic diagram illustrating a program assignment structure for a single program final transport stream in accordance with a "level zero" embodiment of the present invention. In this case, the program assignment 3100 assigns to single program 3102 the ten video PLDs, the audio PID, and the ten data PLDs. This assignment results in a reduced number of programs.
Figure 32 is a diagram illustrating multiplexing of video, audio, and data packets into a final transport stream in accordance with a "level zero" embodiment of the present invention. In this example, the video packets 3202 include packets with video PIDs 1-10, the audio packets 3204 include packets with the audio PID, and the data packets 3206 include packets with data PIDs 1-10.
The transport stream multiplexer 2904 multiplexes these various packets into one or more final transport streams 2918. In the example shown in Fig. 32, multiplexing into a single final transport sfream 2918 is illustrated. As shown, for example, the video and audio packets may be interleaved and the data packets may be arranged separately from them. In particular, as audio is run at a lower rate (for example one tenth the rate) compared with video, the audio packets may be inserted into the final transport stream 2918 illustratively every 10 video packets.
Similarly, data is typically run at a lower rate compared with video. Hence, for example, 64 video/audio packet groups 3208 may be sent sequentially, followed by a single data packet group 3210, followed by another 64 video/audio packet groups 3208, followed by another data packet group 3210, and so on. The number of video/audio packet groups sent sequentially may be adjusted depending on the data rate in comparison to the video/audio rate. Figure 33 is a schematic diagram illustrating an assignment structure for multiple final transport streams in accordance with a "level zero" embodiment of the present invention. In this example, the assignment structure 3000 assigns the various video, audio, and data packets to three transport streams. In this particular case, transport stream 1 3302 is assigned video PIDs 1-3, the audio PID, and data PIDs 1-3. Transport stream 2 3304 is assigned video PIDs 4-6, the audio PID, and data PIDs 4-6. Transport stream 3 3306 is assigned video PIDs 7-10, the audio PID, and data PIDs 7-10. Of course, the particular assignment structure will depend on the number of different PIDs and the number of fransport streams. Unlike this example, in a preferred embodiment, the number of video PIDs would be evenly divisible by the number of transport streams. In addition, different program assignments may be imposed on each final transport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
Figure 34 is a diagram illustrating a final transport stream in accordance with a "level one" embodiment of the present invention. As described above, the "level one" embodiment sends ten video frames for intra-coded time increments, but only one video frame for predictive-coded time increments. The final transport stream 3400 in Fig. 34 includes intra-coded packets 3402 and predictive-coded packets 3404.
The intra-coded packets 3402 may include, for example, 64 sequential video/audio packet groups, followed by a data packet group, much like the final transport stream 2918 shown in Fig. 32. These intra-coded packets 3402 include information from the intra-coded frames 1204 through 1222 of Fig. 12.
However, unlike the final transport stream 2918 shown in Fig. 32, the final transport stream 3400 of Fig. 34 only includes such packets for intra-coded frames. For predictive-coded frames, the final transport stream 3400 includes predictive-coded packets 3404 which carry information relating to the predictive-coded frames 1202 of Fig. 12.
In addition, different program assignments may be imposed on the final transport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
Figures 35 A and 35B are diagrams illustrating multiple final transport streams in accordance with a "level one" embodiment of the present invention. The example illustrated in Figs. 35 A and 35B include three final transport streams: a first final transport stream 3502, a second final transport stream 3504, and a third final transport stream 3506. Each final transport stream (FTS) includes intra-coded packets and predictive-coded packets.
The intra-coded packets 3508 for the first FTS 3502 includes video/audio packet groups 3509. Each of these groups 3509 include, in this example, ten video packets with PIDs 1-3 and an audio packet with the audio PID. For example, 64 video/audio packet groups 3509 may be serially included in the first FTS 3502, followed by a group of data packets with PLDs 1-3. the group of data packets are followed by the predictive-coded packets 3510.
Similarly, the intra-coded packets 3512 for the second FTS 3504 includes video/audio packet groups 3513. Each of these groups 3513 include, in this example, ten video packets with PIDs 4-6 and an audio packet with the audio PID. For example, 64 video/audio packet groups 3513 may be serially included in the second FTS 3504, followed by a group of data packets with PIDs 4-6. the group of data packets are followed by the predictive-coded packets 3514.
Finally, the intra-coded packets 3516 for the third FTS 3506 includes video/audio packet groups 3517. Each of these groups 3517 include, in this example, ten video packets with PIDs 7-10 and an audio packet with the audio PLD. For example, 64 video/audio packet groups 3517 may be serially included in the third FTS 3506, followed by a group of data packets with PIDs 7-10. the group of data packets are followed by the predictive-coded packets 3518. Of course, the particular assignment structure will depend on the number of different PIDs and the number of transport streams. Unlike this example, in a preferred embodiment, the number of video PIDs would be evenly divisible by the number of transport streams. In addition, different program assignments may be imposed on each final fransport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
Figure 36 is a diagram illustrating a final transport stream in accordance with a "level two" embodiment of the present invention. As described above, the "level two" embodiment divides each frame into slices and transmits the unique slices. These slices are later recombined as appropriate to regenerate the frames. The final transport stream 3600 in Fig. 36 includes guide slice packets 3602, infra-video slice packets 3604, audio packets 3606, data packets 3608, and predictive slice packets 3601. In this example, the guide slice packets 3602 include intra-coded guide page slices with PLDs 1-10 which are associated with the guide pages gl-glO shown in Fig. 16, respectively. The infra- video slice packets 3604 include intra-coded video frame slices with PID 11 which correspond to video frame vl shown in Fig. 16. In a preferred embodiment, the audio packets 3606 with the audio PID are interleaved with the guide slice packets 3602 and the infra-video slice packets 3604 in a way such as that shown in Fig. 36 to form a guide/video/audio packet group 3607.
As shown in Fig. 36, the data packets 3608 may follow the guide/video/audio packet group 3607. The data packets 3608 may have, for example, PLDs 1-10. Subsequently, following the data packets 3608 are the predictive slice packets 3610. The predictive slice packets 3610 include the predictive-coded slices with PID 11 which are shown in Fig. 16.
Alternatively, the sliced content may be divided into multiple final fransport streams in a way analogous to the ways described above in relation to Figs. 33 and 35AB. In addition, different program assignments may be imposed on each final transport stream to yield single or multiple programs in a way analogous to the way described above in relation to Figs. 30 and 31.
Of course, the above examples are merely to illustrative and not limiting. For example, the invention is not limited to embodiments with only 10 different guide pages. Rather, the invention contemplates the use of various number of guide pages in an IPG, and 10 pages are used for purposes of illustration.
C. Latency Reduction As described above in relation to multiplexing structures, the interactive programming guide (IPG) content is currently preferably delivered using a single final transport stream. However, as the number of LPG pages increases, multiple final transport streams may be required depending upon the bandwidth requirements of the elementary streams. Moreover, when such multiple transport streams are utilized, transitions between transport streams may have the undesirable effect of introducing latencies or delays. The present invention presents various ways to reduce such switching latencies.
A first way to reduce switching latencies between transport streams involves a method in which related LPG pages are grouped into the same transport stream. Related IPG pages may be close content- wise, or close time- wise, or close in other specified measures of relation. Advantageously, grouping related IPG pages provide for rapid changes between video PIDs within the same transport stream.
In addition, grouping related IPG pages enables the construction of relatively small transport streams which may be delivered in a targeted fashion to specific local neighborhoods and/or at specific times. Such targetable transport streams may be used to further reduce switching latencies.
For example, consider a first transport sfream (TS) transmitting guide pages for a next 1 lA hours of broadcast programming to a neighborhood. Suppose a viewer in the neighborhood wants to look ahead in the program listings to look at a following 1 Vz hours of broadcast programming. Ordinarily, this may require a set-top box to request the following guide pages from the interactive programming guide (IPG) server. However, in accordance with an embodiment of the present invention, the latency of receiving such following guide pages may be reduced by the automatic transmission, along with the first transport stream, of a second transport stream transmitting the following guide pages. This is advantageous in that the set-top box need not specifically request those guide pages from the IPG server.
In addition to grouping related IPG pages as described above, a second way to reduce switching latencies between fransport streams is illustrated in Figure 37. As shown in Fig. 37, certain packets may be redundantly carried by more than one transport stream in order to reduce switching latencies. In the particular example illustrated in Fig. 37, the video packets with PID 3 are redundantly carried by both transport streams 3702 and 3704. Since the same video PID is included within the two transport streams, a set-top terminal (STT) can utilize either sfream or both streams while transitioning from one transport stream to the other. In this way, delays experienced by the user of the STT in changing from one transport stream to another are reduced because the transition may occur as a background process which does not interrupt the display.
This structure where PLDs overlap between transport streams may be applied in the various embodiments where multiple final transport streams are utilized. For example, the overlapping PLD structure is applicable whether level zero, level one, or level two encoding is utilized. As a particular example, the slice-based single transport stream formation depicted in Fig. 36 may be extended to slice-based multiple transport stream with overlapping PLDs as described below in relation to Fig. 38.
Figure 38 is a schematic diagram illustrating slice-based multiple transport streams with overlapping PLDs to reduce latencies in accordance with an embodiment of the present invention. In the example shown, each of the two streams 3802 and 3804 carry intra-coded guide slices identified by three PIDs. However, the three PLDs for the first stream 3802 overlap with the three PIDs for the second stream 3804. In particular, each stream includes intra-coded guide slices identified by PID 3. The PID or PIDs to be shared between transport streams may be determined in various ways. A first way is to determine or predetermine the IPG page which will most probably be used by a viewer to switch from one transport stream to another transport stream. For example, if a first transport stream includes pages listing broadcast programming and a page listing pay-per-view (PPV) movies, and a second transport stream includes pages enabling the ordering of PPV movies and related electronic commerce pages, then the page listing pay-per-view (PPV) movies in the first transport stream may be predetermined to be the page most probably used by a viewer to switch from the first transport stream to the second transport stream. Hence, in accordance with an embodiment of the present invention, that page listing pay-per-view (PPV) movies would be included not only in the first transport stream, but also in the second transport stream, in order to efficiently and effectively reduce the latency in switching between the two streams.
Note that each of the multiple transport streams described above may be structured as a single program or multiple programs. In an application where all the streams must share a same time base, a single program is preferred. In other applications where the streams have different time bases, multiple programs are preferred where streams with similar time bases are grouped together and assigned to a same program.
A third way of reducing switching latencies between transport streams is illustrated in Fig. 39. Fig. 39 is a diagram illustrating an example IPG page with two threshold levels for stream priming in accordance with an embodiment of the present invention. Stream priming is a method by which a set-top terminal (STT) anticipates that packets with particular PLDs may soon be needed and so requests those packets prior to the actual need for them. For example, in this method, switching from one IPG page to another IPG page may be anticipated using certain threshold settings in the program guide part of the LPG, as illustrated in Fig. 39. Consider a viewer traversing vertically within the page and passing the upper threshold (for example, channel 7). Before the viewer selection reaches the end of the page, the set-top terminal (STT) starts searching for the PIDs carrying the program guide for the next upper group of channels (for example, channels 11-20). In accordance with an embodiment of the present invention, if the current transport stream does not include those PIDs, then those PIDs are requested from the LPG server at a headend immediately (once the threshold has been passed). The IPG server then delivers those PIDs, either in another transport stream, or by modifying the contents of the current transport stream. The delivery may be accomplished using either pointcast communication to the specific STT or a narrowcast communication to a set of STT which includes the specific STT. Analogous processes would occur when a viewer traverses vertically within the page and passes the lower threshold.
This stream priming technique reduces the latency by using user movement within a page to predict page switching beforehand and taking appropriate action.
The stream priming technique may also be applied in a time dimension. For example, near the end of a particular 1 lA hour time period, say within the last A hour of that period, the STT may anticipate that a viewer may want to view the listings in the next 1 lA hour time period. Hence, if the current transport stream does not include the listings for the next time period, then the listings for the next time period are requested in anticipation of the demand.
D. Stream Indexing
In an embodiment of the present invention, an IPG server at a headend provides, for each QAM channel, a program mapping table (PMT). The PMT conveys to each STT the PID assignment for each IPG (video, audio, and data) stream being provided. Consider, for example, a programming guide including 16 timeslots per day, each timeslot covering 1 Vτ hours (16 slots x 1 lA hours per slot = 24 hours). Further, consider a system with 30 LPG pages per timeslot, each IPG page having a corresponding video PLD. In this example, 16 slots x 30 PIDs per slot = 480 PIDs required to serve such an LPG for a day. Further, if two weeks of programming content is to be stored at the headend, then 14 days x 480 PLDs per day = 6720 PIDs required for such purposes.
For each IPG page (each video PID), a data message is required to deliver overlay, user interaction, and other desired features and functionality relating to the page. This data may be delivered either using a separate data PID for each IPG page, or via a data PID that is shared by multiple IPG pages. The former option, however, may be impractical for a typical system. This is because if one data PID is needed for each LPG page, then the total number of PIDs needed to be stored at the headend doubles from 6720 to 13,440. Such a high number of PLDs are not currently available in a typical coding system. For example, MPEG-2 provides only 8192 PIDs for usage due to its 13 -bit PID, and some of those PIDs are preassigned or reserved.
Figure 40 is a diagram illustrating a program mapping table (PMT) in accordance with an embodiment of the present invention.
The PMT includes a current programming area 4002 that contains, illustratively, 30 video PLDs, related data PIDs, and an audio PID for the 30 IPG pages covering the current 1 XA hour timeslot (i.e. the timeslot covering the programming currently being broadcast). The current programming area 4002 of the PMT is used (like a cache memory in some fashion) to temporarily store information that is most likely to be accessed by viewers.
A next area 4004 of the PMT is allocated for the 2 weeks of video and audio programming to be stored. Illustratively, this area 4004 may include 6720 video PIDs and also audio PIDs. Note that the current video and audio programming are also stored in this area 4004 (as well as in the current programming area 4002).
A next area 4006 of the PMT is allocated for the 2 weeks of lookahead data information associated with the lookahead video information. For purposes of illustration, this lookahead data area 4006 may be allocated 128 data PIDs, where each data PID is used to store lookahead data information relating to multiple video PIDs.
Other areas of the PMT include areas reserved by MPEG-2 and areas reserved for future use. Figure 41 is a diagram illustrating (a) prime time slots and (b) lA hour shifts of a current programming timeslot in accordance with an embodiment of the present invention.
As shown in Fig. 41(a), the time periods in a day during which broadcast programming is most popularly watched are the three timeslots between 5:00 pm (17:00) and 9:30 pm (21 :30). In addition to such a standard primetime period 4102, this invention contemplates that according to statistics of viewing on a local neighborhood or national scale, this primetime information may be adjusted.
As shown in Fig. 41(b), the current programming timeslot 4104 may be shifted in Vτ hour increments. While the 2 weeks of lookahead LPG video data are stored in 1 Vτ hour timeslots (17:00 to 18:30, 18:30 to 20:00, etc.), the current programming timeslot 4104 is arranged by Vτ hour increments by retrieving and reorganizing the lookahead video data as necessary.
Figure 42 is a diagram illustrating a mapping of lookahead video PIDs to lookahead data PLDs in accordance with an embodiment of the present invention. Such a mapping is necessary when there is substantially more lookahead video PIDs (6720 in this example) than lookahead data PIDs (128 in this example). When there is substantially more video PLDs than data PLDs, each data PLD on average is used to carry data information for multiple video PLDs. In this example, since there are 6720 lookahead video PIDs and 128 lookahead data PLDs, approximately 50 video PIDs must be assigned on average to each data PID. In particular, Fig. 42 illustrates, by way of example, the possible assignment of the first 50 lookahead video PIDs to the first lookahead data PLD.
If the stream serving capability of the IPG server were unlimited, then all 2 weeks of the lookahead streams may be delivered from the headend to the STTs. However, the limited stream serving capability of the IPG server prevents this. In addition, it may not be necessary in practice to deliver all 2 weeks of the lookahead streams because viewers do not typically require the guide information so far in advance. Hence, in accordance with an embodiment of the present invention, only a subset of the 2 weeks of lookahead streams may be delivered.
Figure 43 is a rough diagram illustrating television usage time during a typical week. As shown in Fig. 43, the usage typically peaks at prime time periods 4302 of a day. The daily pattern generally repeats itself, with non-primetime usage increasing on the weekends. In addition to the general usage pattern with its weekly cycle illustrated in Fig. 43, certain IPG pages may receive particularly heavy viewing from certain viewer groups during certain time intervals. For example, sport channel lists may receive particular heavy viewing during NBA (National Basketball Association) playoff games during the NBA playoff season. Hence, further evaluation of viewer IPG usage statistics reveals other cyclic structures with different periods. These cyclic structures may be seasonal, as in the NBA playoff example.
All these cyclic structures depend on and may be characterized in terms of common variables relating to the IPG system being used. These common variables include: t, p, and d. The variable t is a number from 1 to 16 representing a particular 1 Vτ hour timeslot in a day. For example, the timeslot from noon to 1 :30 pm may be represented by t = 9. The variable p is a number from 1 to 30 (the number of IPG pages in this example) representing a particular LPG page. The variable d is a number from 1 to 14 (the number of lookahead days in this example) representing a particular day of the 2 weeks of lookahead programming.
Figure 44A is a diagram illustrating a first lookahead video PID layout 4400 in accordance with an embodiment of the present invention. For each day, the first layout 4400 groups the 30 video PIDs for each timeslot together, and organizes the groups serially in ascending order of the variable t, going from t=l to t=16. Further, the first layout 4400 serially repeats the daily organization for each of the 14 days, going from d=l to d=14.
Based on the first lookahead video PID layout 4400, daily prime time viewings follow each other in a cycle with periodicity of 480 PIDs (the number of video PIDs for a day). This periodicity corresponds to incrementing the variable d by one. Other possible viewing cycles may have different periodicities in terms of the variables p, t, and d. For example, a very popular show broadcast every Monday at 9 pm (in timeslot t=15) may have its corresponding LPG page (say page p=27) viewed very frequently. This would relate to a viewing cycle for page p=27 at timeslot t=15 which repeats in increments of 7 for variable d. Hence, many viewing cycles may be characterized in terms of periodicities in the variables p, t, and d.
It is undesirable to map many very popularly viewed video PIDs on the same data PID because of the uneven load distribution this would cause. Instead, it is advantageous to distribute the popularly viewed video PIDs evenly among the data PIDs to balance the load. One algorithm for such distribution is described below in relation to Fig. 44B.
Figure 44B is a diagram illustrating a method 4420 of forming a second lookahead video PID layout in accordance with an embodiment of the present invention. The method 4420 of forming the second layout includes two steps 4422 and 4424.
The first step 4422 involves choosing a largest prime number which is less than or equal to the number of lookahead data PIDs available. In this example, the the number of lookahead data PLDs available is 128, so the prime number within that constraint is 127. The second step 4422 involves assigning a data PID to each video PID.
This is done by taking the video PID number and modulating it by the prime number. Equivalently, the video PLD number is divided by the prime number and the remainder of that division is the data PLD number assigned. For example, if the video PID number is 260, the data PID number assigned is 6. The method 4420 of Fig. 44B results in uniform distribution among the data PIDs of extensively viewed video PLDs with various cyclic periods. The uniform distribution results because a prime number does not contain any multiples of any other number, so a periodic sequence of numbers divided by a prime number yields a different remainder for each entry in the sequence. For example, consider the following cyclic sequence of video PIDs with a periodicity of 480: 0; 480; 960; and so on. Dividing each entry in the sequence by the prime number 127 yields the following remainders: 0, 99, 71, and so on. This sequence remainders become the assigned data PIDs corresponding to the video PIDs. Notice that the assigned data PID is generally not repeated using this method. In this way, the method 4420 achieves even distribution among data PIDs of extensively viewed video PLDs with various cyclic periods.
On the other hand, if contrary to this embodiment the divisor chosen is not a prime number, then the distribution may be quite lopsided. For example, if the divisor is 120, then for the above cyclic sequence of video PIDs with periodicity of 480, dividing by 120 yields the following remainders: 0, 0, 0, 0, and so on. Hence, in this example, each of the video PIDs in the sequence would be assigned to the same data PID, data PID 0. If all those video PIDs were for primetime, then data PID 0 would receive a lopsidedly large load of usage. Figure 44C is a schematic diagram illustrating the distribution of data messages among data PLDs in accordance with an embodiment of the present invention. Fig. 44C relates to the case where multiple data messages (associated with multiple video PLDs) share the same data PLD. In Fig. 44C, the small "d" represents non-primetime data messages, and the capital "D" represents primetime data messages. Due to the application of the method 4420 of Fig. 44B to determine assignment of the data messages to the data PIDs, the primetime data messages D are evenly distributed among the data PLDs.
Although various embodiments which incorporate the teachings of the present invention have been shown and described in detail herein, those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings.

Claims

WHAT IS CLAIMED IS:
1. An apparatus for forming a multiplexed transport stream to deliver an interactive program guide, the apparatus comprising:
an encoder and packetizer adapted (i) to receive a plurality of video inputs, an audio input, and a plurality of data inputs, and (ii) to encode and packetize the inputs to generate a plurality of video packet streams, an audio packet stream, and a plurality of data packet streams; and
a multiplexer and assigner adapted (i) to receive the plurality of video packet streams, the audio packet stream, and the plurality of data packet streams, (ii) to assign program identifiers (PIDs) to said packet streams, and (iii) to multiplex said packet streams to form the transport stream.
2. A method for forming a multiplexed transport stream to deliver an interactive program guide.
3. A method for providing an interactive program guide, the method . comprising: providing a plurality of transport streams; providing a group of interactive guide pages within each said transport stream, where the group of interactive guide pages comprise related pages.
4. A method for providing an interactive program guide, the method comprising: forming a first transport stream including video packets with a first set of packet identifiers; and forming a second transport stream including video packets with a second set of packet identifiers, where the first set of packet identifiers and the second set of packet identifiers include a common packet identifier.
5. A method for providing an interactive program guide, the method comprising: providing an interactive guide page which may be navigated by a viewer; providing a threshold within the interactive guide page; and
if the threshold is crossed during navigation of the page by the viewer, then requesting a next interactive guide page.
6. A method of stream indexing for delivery of an interactive program . guide, the method comprising:
assigning a first plurality of packet identifiers to program guide content for a current time period; and
assigning a second plurality of packet identifiers to program guide content for a plurality of lookahead time periods.
7. A method of stream indexing for delivery of an interactive program guide (IPG), the method comprising:
providing a plurality of video packet identifiers;
assigning each video packet identifier to a corresponding guide page;
providing a plurality of data packet identifiers, where the plurality of data packet identifiers is less in number than the plurality of video packet identifiers;
predetermining a prime number which is less in number than or equal in number to the plurality of video packet identifiers;
dividing each video packet identifier by the prime number in order to generate a remainder; and
using the remainder to assign a data packet identifier to each video packet identifier.
PCT/US2000/009922 1999-04-15 2000-04-13 Multiplexing structures, latency reduction, and stream indexing for delivery of encoded interactive program guide WO2000064171A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU42382/00A AU4238200A (en) 1999-04-15 2000-04-13 Multiplexing structures, latency reduction, and stream indexing for delivery of encoded interactive program guide

Applications Claiming Priority (14)

Application Number Priority Date Filing Date Title
US12959899P 1999-04-15 1999-04-15
US60/129,598 1999-04-15
US09/293,535 US6584153B1 (en) 1998-07-23 1999-04-15 Data structure and methods for providing an interactive program guide
US09/293,535 1999-04-15
US09/384,394 US6621870B1 (en) 1999-04-15 1999-08-27 Method and apparatus for compressing video sequences
US09/384,394 1999-08-27
US09/428,066 1999-10-27
US09/428,066 US6651252B1 (en) 1999-10-27 1999-10-27 Method and apparatus for transmitting video and graphics in a compressed form
US09/466,990 US6614843B1 (en) 1999-04-15 1999-12-10 Stream indexing for delivery of interactive program guide
US09/466,987 1999-12-10
US09/468,173 1999-12-10
US09/466,987 US6968567B1 (en) 1999-04-15 1999-12-10 Latency reduction in providing interactive program guide
US09/468,173 US7058965B1 (en) 1999-04-15 1999-12-10 Multiplexing structures for delivery of interactive program guide
US09/466,990 1999-12-10

Publications (2)

Publication Number Publication Date
WO2000064171A1 true WO2000064171A1 (en) 2000-10-26
WO2000064171A9 WO2000064171A9 (en) 2002-02-21

Family

ID=27568856

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/009922 WO2000064171A1 (en) 1999-04-15 2000-04-13 Multiplexing structures, latency reduction, and stream indexing for delivery of encoded interactive program guide

Country Status (2)

Country Link
AU (1) AU4238200A (en)
WO (1) WO2000064171A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2834602A1 (en) * 2002-01-09 2003-07-11 Samsung Electronics Co Ltd METHOD AND DEVICE FOR PROVIDING BROADCASTING PROGRAM GUIDE INFORMATION
CN117336311A (en) * 2023-11-30 2024-01-02 深圳市小溪流科技有限公司 Method and device for keeping consistency of multiple HLS server slices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5729549A (en) * 1995-03-16 1998-03-17 Bell Atlantic Network Services, Inc. Simulcasting digital video programs for broadcast and interactive services
US5768539A (en) * 1994-05-27 1998-06-16 Bell Atlantic Network Services, Inc. Downloading applications software through a broadcast channel
US5822324A (en) * 1995-03-16 1998-10-13 Bell Atlantic Network Services, Inc. Simulcasting digital video programs for broadcast and interactive services
US5844620A (en) * 1995-08-11 1998-12-01 General Instrument Corporation Method and apparatus for displaying an interactive television program guide
US5850218A (en) * 1997-02-19 1998-12-15 Time Warner Entertainment Company L.P. Inter-active program guide with default selection control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5768539A (en) * 1994-05-27 1998-06-16 Bell Atlantic Network Services, Inc. Downloading applications software through a broadcast channel
US5729549A (en) * 1995-03-16 1998-03-17 Bell Atlantic Network Services, Inc. Simulcasting digital video programs for broadcast and interactive services
US5822324A (en) * 1995-03-16 1998-10-13 Bell Atlantic Network Services, Inc. Simulcasting digital video programs for broadcast and interactive services
US5844620A (en) * 1995-08-11 1998-12-01 General Instrument Corporation Method and apparatus for displaying an interactive television program guide
US5850218A (en) * 1997-02-19 1998-12-15 Time Warner Entertainment Company L.P. Inter-active program guide with default selection control

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2834602A1 (en) * 2002-01-09 2003-07-11 Samsung Electronics Co Ltd METHOD AND DEVICE FOR PROVIDING BROADCASTING PROGRAM GUIDE INFORMATION
CN117336311A (en) * 2023-11-30 2024-01-02 深圳市小溪流科技有限公司 Method and device for keeping consistency of multiple HLS server slices
CN117336311B (en) * 2023-11-30 2024-03-12 深圳市小溪流科技有限公司 Method and device for keeping consistency of multiple HLS server slices

Also Published As

Publication number Publication date
WO2000064171A9 (en) 2002-02-21
AU4238200A (en) 2000-11-02

Similar Documents

Publication Publication Date Title
US6614843B1 (en) Stream indexing for delivery of interactive program guide
US6968567B1 (en) Latency reduction in providing interactive program guide
CA2370227C (en) Method and apparatus for compressing video sequences
CA2388608C (en) Method and apparatus for transmitting video and graphics in a compressed form
US7738560B2 (en) Temporal slice persistence method and apparatus for delivery of interactive program guide
CA2388606C (en) Picture-in-picture and multiple video streams using slice-based encoding
US8661465B2 (en) Apparatus and method for combining realtime and non-realtime encoded content
US7058965B1 (en) Multiplexing structures for delivery of interactive program guide
US9094727B1 (en) Multi-functional user interface using slice-based encoding
WO2000064171A1 (en) Multiplexing structures, latency reduction, and stream indexing for delivery of encoded interactive program guide
WO2002011517A2 (en) Method and apparatus for transitioning between interactive program guide (ipg) pages
WO2001001592A1 (en) Efficient encoding algorithms for delivery of server-centric interactive program guide

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
AK Designated states

Kind code of ref document: C2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: C2

Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

COP Corrected version of pamphlet

Free format text: PAGES 1/48-48/48, DRAWINGS, REPLACED BY NEW PAGES 1/48-48/48; DUE TO LATE TRANSMITTAL BY THE RECEIVING OFFICE

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP