WO2003090401A1 - Content replacement by pid mapping - Google Patents

Content replacement by pid mapping Download PDF

Info

Publication number
WO2003090401A1
WO2003090401A1 PCT/US2003/010641 US0310641W WO03090401A1 WO 2003090401 A1 WO2003090401 A1 WO 2003090401A1 US 0310641 W US0310641 W US 0310641W WO 03090401 A1 WO03090401 A1 WO 03090401A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
pid
substitution
data
packet
Prior art date
Application number
PCT/US2003/010641
Other languages
French (fr)
Inventor
Brant L. Candelore
Leo M. Pedlow, Jr.
Jon D. Garrett
Original Assignee
Sony Electronics Inc.
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 PCT/US2002/039958 external-priority patent/WO2003061288A1/en
Priority claimed from PCT/US2002/040045 external-priority patent/WO2003065724A1/en
Priority claimed from US10/319,066 external-priority patent/US7765567B2/en
Priority claimed from PCT/US2002/040051 external-priority patent/WO2003061173A2/en
Priority claimed from PCT/US2002/040050 external-priority patent/WO2003061289A1/en
Priority claimed from PCT/US2002/040054 external-priority patent/WO2003059039A2/en
Priority to JP2003587051A priority Critical patent/JP2005525010A/en
Priority to EP03728346A priority patent/EP1495575A1/en
Priority to AU2003234690A priority patent/AU2003234690A1/en
Application filed by Sony Electronics Inc. filed Critical Sony Electronics Inc.
Priority to CA002480964A priority patent/CA2480964A1/en
Priority to KR10-2004-7016518A priority patent/KR20040098074A/en
Publication of WO2003090401A1 publication Critical patent/WO2003090401A1/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/10Arrangements for replacing or switching information during the broadcast or the distribution
    • 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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234345Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
    • 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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/23439Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
    • 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, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption
    • H04N21/23476Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption by partially encrypting, e.g. encrypting the ending portion of a movie
    • 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
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2543Billing, e.g. for subscription services
    • H04N21/25435Billing, e.g. for subscription services involving characteristics of content or additional data, e.g. video resolution or the amount of advertising
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25833Management of client data involving client hardware characteristics, e.g. manufacturer, processing or storage capabilities
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26606Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing entitlement messages, e.g. Entitlement Control Message [ECM] or Entitlement Management Message [EMM]
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • 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
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43607Interfacing a plurality of external cards, e.g. through a DVB Common Interface [DVB-CI]
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440245Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • H04N21/44055Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption by partially decrypting, e.g. decrypting a video stream that has been partially encrypted
    • 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/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • 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/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • 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/47202End-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 requesting content on demand, e.g. video on demand
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
    • H04N21/63345Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys
    • 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/812Monomedia components thereof involving advertisement data
    • 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/835Generation of protective data, e.g. certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • H04N5/783Adaptations for reproducing at a rate different from the recording rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • 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
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/167Systems rendering the television signal unintelligible and subsequently intelligible
    • H04N7/1675Providing digital key or authorisation information for generation or regeneration of the scrambling sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/7921Processing of colour television signals in connection with recording for more than one processing mode
    • H04N9/7925Processing of colour television signals in connection with recording for more than one processing mode for more than one standard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • H04N2005/91357Television signal processing therefor for scrambling ; for copy protection by modifying the video signal
    • H04N2005/91364Television signal processing therefor for scrambling ; for copy protection by modifying the video signal the video signal being scrambled

Definitions

  • This invention relates generally to the field of video on digital video. More particularly, this invention relates to a method and apparatus for providing selective replacement of digital video content.
  • FIGURE 1 is flow chart depicting a process for content substitution consistent with certain embodiments ofthe present invention.
  • FIGURE 2 is block diagram of a cable system consistent with certain embodiments ofthe present invention.
  • FIGURE 6 illustrates a marker consistent with certain embodiments of the present invention.
  • FIGURE 7 illustrates substitution of a local banner advertisement and addition of a logo consistent with certain embodiments ofthe present invention.
  • FIGURE 8 is a state diagram of a decoder state machine consistent with certain embodiments ofthe present invention.
  • FIGURE 9 illustrates a substitution mode consistent with certain embodiments ofthe present invention.
  • FIGURE 10 illustrates an insertion mode consistent with certain embodiments ofthe present invention.
  • FIGURE 11 illustrates an insertion/deletion mode consistent with certain embodiments ofthe present invention.
  • FIGURE 12 illustrates an exemplary system configuration for a digital television Set-top box consistent with certain embodiments ofthe present invention.
  • the terms “scramble” and “encrypt” and variations thereof are used synonymously herein.
  • video may be used herein to embrace not only true visual information, but also in the conversational sense (e.g., "video tape recorder") to embrace not only video signals but also associated audio and data.
  • the present document generally uses the example of a “dual selective encryption” embodiment, but those skilled in the art will recognize that the present invention can be utilized to realize multiple partial encryption without departing from the invention.
  • partial encryption and “selective encryption” are used synonymously herein.
  • program and “television program” and similar terms can be interpreted in the normal conversational sense, as well as a meaning wherein the term means any segment of A/V content that can be displayed on a television set or similar monitor device.
  • legacy refers to existing technology used for existing cable and satellite systems.
  • STB television Set-Top Box
  • CA Conditional Access
  • the present document generally uses the example of a "dual partial encryption" embodiment, but those skilled in the art will recognize that the present invention can be utilized to realize multiple partial encryption without departing from the invention.
  • the term "package medium” and similar terms as used herein are intended to embrace a recording medium such as a Digital Versatile Disc (DVD), Compact Disc (CD) or other magnetic, optical or other recorded medium that is generally merchandised as a package that contains the electronic storage medium and is sold as a retail commodity, as contrasted to an electronically downloadable data stream.
  • DVD Digital Versatile Disc
  • CD Compact Disc
  • the selected video data to be encrypted may be any individual one or combination of the following (described in greater detail in the above applications): video slice headers appearing in an active region of a video frame, data representing an active region of a video frame, data in a star pattern within the video frame, data representing scene changes, I Frame packets, packets containing motion vectors in a first P frame following an I Frame, packets having an intra_slice_flag indicator set, packets having an intra_slice indicator set, packets containing an intra_coded macroblock, data for a slice containing an intra_coded macroblock, data from a first macroblock following the video slice header,packets containing video slice headers, anchor data, and P Frame data for progressively refreshed video data, data arranged in vertical and or horizontal moat patterns on the video frame, and any other selected data that renders the video and/or audio difficult to utilize.
  • multiple packet identifiers are utilized. Normally a single set of packet identifiers is used to identify a particular television program.
  • the clear content is assigned a first set of PIDs, and each set of encrypted content is assigned another set of PIDs (one set of encrypted content may share the same PID with the unencrypted content in certain embodiments).
  • the receiving STB then remaps all of the appropriate content to a single PID for playback. This process is described in detail in the above patent applications.
  • the present invention utilizes multiple PIDs associated with a single item of content as a mechanism to provide content substitution.
  • Content substitution can be used to provide an enhanced level of customization of television programming in any number of ways. For example, content substitution can be used to provide targeted advertising to an audience by substitution of one advertisement for another. Content substitution can also be used to provide multiple endings, plots or other segments for a program, or to provide multiple views in a sportscast or other program.
  • Other applications for the content substitution of the present invention will be discussed during the course of this discussion. Each of these applications, as well as others, can be facilitated using the present invention without need for dramatic increases in bandwidth and at reasonable cost for the hardware.
  • an overall content substitution process 100 consistent with certain embodiments ofthe present invention is shown starting at 104.
  • the content is received at 108 having portions identified by multiple PIDs (e.g., PID A and PID B in this example), which represent multiple possibilities for the content (e.g., multiple advertisements, logos, plots, endings, characters, etc.).
  • This content could be received as a stream of content (as in a cable or satellite television transmission) or could be present in packaged media or a downloaded file.
  • a processing operation (such as playback or transmission of the content) is initiated, generally using a main portion ofthe content designated with a particular packet identifier (e.g., PID A).
  • the content is examined to detennine if a prescribed substitution criterion has been met.
  • a prescribed substitution criterion might be, for example, presence of a national advertisement, watermark or logo that a local content distributor wishes to replace with a local or regional advertisement, watermark or logo; or such criterion might entail selection by an end user of a particular plot, character or ending.
  • a content substitution is carried out at 124 (e.g., by substitution of content with PID B for content with PID A, or by carrying out any of the other content substitution operations described herein including, but not limited to one-for-one substitution, one-for-one insertion or multiple-for-one insertion/deletion).
  • substitution may entail a remapping of the PID values so that a decoder or other processor merely continues processing content with the same PID.
  • a decoder can be programmed to select the substituted content, when present, in preference to the main content.
  • a method of content substitution consistent with certain embodiments of the present invention involve receiving data representing content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content; playing content having the first PID; determining that a substitution criterion has been met; and substituting content having the second PID for content having the first PID.
  • PIDs packet identifiers
  • a local cable operator can receive a program that contains multiple sets of advertisements (commercials). Depending on the geographic location of the local operator, the main content can be retransmitted along with an appropriate one of several regional advertisements that are more appropriate to the geographic location or marketplace of the local cable operator.
  • a movie with multiple selectable endings can be broadcast from a cable operator to its subscribers. The subscriber can then decide, before or during the viewing of the movie, which ending is preferred and make a selection. The subscriber sends a command to the STB which selects the alternative ending desired by the subscriber by selecting the ending associated with a particular PID and remapping that PID to the main program's PID. Numerous other examples will occur to those skilled in the art upon consideration ofthe present teachings.
  • a satellite antenna 204 receives a multiplexed stream of content from a satellite ti-ansmission such as a HITSTM (Headend In The Sky) feed.
  • the received stream of content is received, demodulated and decrypted at a satellite receiver 208 and the content that is to have substitutable information is passed along to a PID mapper and flag inserter 212, the function of which will become clear in view of discussions to follow.
  • Additional content may be retrieved from a local content database 216 or other sources of content.
  • the content with multiple PID encoded substitutable portions may be directly received from the satellite system.
  • the PID mapper and flag inserter maps the incoming content from whatever source to a set of main PIDs for the main content and a set of secondary or shadow PIDs for the substitutable content at 212 in one embodiment.
  • the PID mapper may be instructed to remap the PIDs to select only the desired content. Flags may be inserted into the content at 212 to identify a location where a substitution of content is to start and end.
  • the content then passes to a PSI/PMT inserter 220 that inserts Program Specific Information (PSI) and Program Map Tables (PMT) into the stream of content for use by the decoding side in decoding the programming.
  • PSI Program Specific Information
  • PMT Program Map Tables
  • the content is to be encrypted, it may be passed through an encrypter 224 prior to modulation at a modulator (such as a QAM modulator) 230.
  • the modulated stream of content is then transmitted via the cable plant 236 to the end users with decoder boxes such as Set- top boxes 240 and 244.
  • the operation ofthe cable head end including but not limited to the PID mapping for content substitution, is carried out under control of a control computer 300.
  • Such a system can be used to form a content substitution encoder consistent with certain embodiments of the invention in which input data is received representing main content and representing substitution content.
  • a packet identifier (PID) mapper assigns a primary PID to the main content and assigns a secondary PID to the substitution content.
  • a private data generator generates user private data that identifies the main content by the primary PID and substitution content by the secondary PID. The private data, the main content mapped to the primary PID and the substitution content mapped to the secondary PID are then assembled into a data stream.
  • the process 100 of FIGURE 1 can be carried out on any suitable programmed general -purpose computer operating as control computer 300 of FIGURES 2-3.
  • Computer 300 has one or more central processor units (CPU) 310 with one or more associated buses 314 used to connect the central processor unit 310 to Random Access Memory 318 and Non-Volatile Memory 322 in a known manner.
  • Output devices 326 such as a display and printer, are provided in order to display and/or print output for the use ofthe MSO (multiple service operator) as well as to provide a user interface such as a Graphical User Interface (GUI).
  • GUI Graphical User Interface
  • input devices such as keyboard, mouse and removable media readers 330, may be provided for the input of information by the operator.
  • Computer 300 also incorporates internal and/or external attached disc or other mass storage 334 (e.g., disc and/or optical storage) for storing large amounts of information including, but not limited to, the operating system, and the content substitution process program as well as content (which is most likely stored on massive attached storage such as local content database 216).
  • the Computer system 300 also has an interface 338 for connection to the controlled devices in the cable system head end. While depicted as a single computer, the digital content provider may utilize multiple linked computers to carry out the functions described herein.
  • the substitutable content is to be inserted at the cable system head end, but those skilled in the art will appreciate that the present content substitution concept can be implemented in many ways to permit content substitution at multiple levels to serve multiple purposes. For example, if the cable customer is viewing an interactive television show, the customer's selections (e.g., from a remote controller) can be used to establish the criterion for selection of a particular substitution (e.g., ending selection).
  • the cable head end can also implement a content substitution in accord with certain embodiments consistent with the present invention, for example, by substitution of a local advertisement for a national advertisement or substitution of (or addition of) a local channel logo for a national logo.
  • a content provider wishes to provide alternative advertisements to several groups of customers, for example in a cable television system.
  • the cable television customers can be divided into three categories based upon, for example, a customer profile stored at the cable system's head end.
  • an exemplary television program 350 with three separate advertisements 354, 356 and 358 associated therewith is depicted.
  • three separate sets of PIDs are utilized (for simplicity, assume that there is one PID per advertisement).
  • the advertisement 354 can share the same PID (e.g., 100) with the program content.
  • the first alternative advertisement 356 is identified by an alternative PID (e.g.,
  • the second alternative advertisement is identified by another alternative PID (e.g., PID 102).
  • the decoder e.g., the television STB
  • no special instructions need to be conveyed to the decoder (e.g., the television STB) since it is shared with the program content and will be shown by default.
  • the decoder e.g., the television STB
  • an instruction is sent from the cable system head end to the decoders instructing them to substitute content with PID 101 whenever this PID is encountered for PID 100.
  • an instruction is sent from the cable system head end to the decoders instructing them to substitute content with PID 102 whenever this PID is encountered in place of PID 100.
  • each packed of video data having PID 100 has a corresponding packet with PID 101 and PID 102.
  • a one for one correlation is not required.
  • packet counts should be maintained in a manner that permits the proper ordered processing of packets at the decoder.
  • the content is displayed side by side to illustrate the direct substitution that is the nature ofthe process.
  • the content may be arranged as a sequence of packets which systematically present the main content followed by the first alternative content and then the second alternative content and then the sequence repeats.
  • corresponding packets with primary and secondary PIDs may appear in order of primary followed by secondary or secondary followed by primary.
  • each of the primary and secondary packets may retain a packet number that is used to establish the order of presentation. Such numbering may be altered by the decoding process to retain order in the received content. Other embodiments are also possible without deviating from the present invention.
  • a similar technique can be implemented to provide networks with the ability to provide regional advertisement by embedding, for example, multiple regional advertisements into a single data stream and using a remapping ofthe PIDs at the local networks or cable operators to select the appropriate advertisement for a given region.
  • the three advertisements depicted in FIGURE 4 could equally well represent three regional advertisements such as one for the East coast ofthe U.S., one for the central portion of the U.S. and one for the West coast of the U.S., or any other suitable regional segregation with more or less alternative advertisements.
  • FIGURE 5 depicts an exemplary embodiment where content substitution can be used to provide alternative plots and endings in a movie that is either stored as packaged medium content (e.g., a Digital Versatile Disc - DVD) or is streamed from a content provider such as a cable television MSO.
  • a main movie 360 is transmitted or stored using a main PID 110, for example.
  • This movie can be played with three plots and three endings that may be selected, for example, by the viewer using a selection made either during the playback ofthe movie or as a periodic decision made during playback of the movie.
  • the first plot A 362 uses the same PID 110 as the main portions of the movie as does the main ending A 364.
  • the decoder in the television STB selects PID 110 for the entire movie.
  • Plot B 368 in a similar manner is associated with PID 111 as is ending B 372.
  • Plot C 376 is similarly associated with PID 112, as is ending C 380.
  • the STB decoder is instructed to substitute PID 1 11 for PID 100 so that alternative plot B and/or ending B is selected.
  • the STB decoder is instructed to substitute PID 112 for PID 100 so that alternative plot C and/or ending C is selected.
  • a program 384 using a particular PID contains a blank section 388 having PID 120 with an alternative portion of information serving as a marker PID 392.
  • FIGURE 7 depicts replacement of advertising banners and supplementation of logos or watermarks using the content substitution technique of the present invention.
  • a segment of main content is depicted as a television screen 400 divided into horizontal slices as such information would be encoded using MPEG digital coding.
  • a first advertisement, e.g., a national advertisement, 404 is depicted as appearing in several sequential slices of the image near the upper left of the screen.
  • a logo or watermark 408 appears in one slice near the bottom right of the image 400.
  • Packets containing the advertisement 404 can be replaced by packets containing a local or other alternative advertisement banner 412.
  • the watermark 408 could be replaced or supplemented by use of content substitution for certain packets within a slice ofthe video image.
  • a network logo 408 might be supplemented by another logo (such as a local channel or other logo) 416 by substitution of packets bearing the supplemental logo.
  • FIGURE 8 a state diagram is shown which depicts one mechanism for implementing a decoder that decodes the transport stream with multiple PIDs consistent with certain embodiments of the present invention.
  • the numbered paths ofthe state diagram are explained in the table below:
  • the replacement of the primary PID packet by the secondary PID packet is called “Substitution Mode”. Secondary PID packets may be inserted into the stream without replacement of a primary PID packet. This mode is called “Insertion Mode.” In fact, the decoder may be used in a mode wherein both operations are active at the same time. This is called “Insertion and Deletion Mode”. All three discrete decoder modes are mutually exclusive and follow a series of state transitions that are specific to each mode. The active mode is signaled through the decoder specific variable mode. If the value of mode is set to zero, decoding is not enabled and the transport decoder state machine is bypassed. If the value of mode is invalid (not a specifically defined state, then the same actions are taken as if mode was set to zero, i.e. the transport decoder state machine is bypassed. The definition ofthe state transitions for each mode is detailed as followed.
  • the algorithm for decoding an encoded transport stream is embodied in the state machine of FIGURE 8.
  • the Petri net showing the states and the state equations/actions can be derived from FIGURE 8 in combination with the above state table.
  • the algorithm has four operating states, with the system predominantly remaining is state 1. State 2 is entered only when a packet containing a shadow PID (not the main PID) has been encountered. Depending upon the system mode, as established through messaging in the PSI from the headend, different paths to two entirely different second states can be taken.
  • the state machine can be implemented in either hardware or software, depending upon the IC manufacturer's device architecture.
  • a software implementation on a programmed processor can generally be expected to provide more flexibility in the design.
  • One error case identified (illegal state transition). This error is a unique error that is in addition to MPEG transport layer errors like continuity count, transport error, etc.
  • the decode_RSTn variable is a non-latching bit that can be set through a configuration register or accessed by other functions to force the decoder state machine n to a known state.
  • One mode of operation of the decoder transport processing algorithm is referred to as the Substitution Mode.
  • This mode is illustrated in FIGURE 9 wherein packets having PID B such as 502, 504 and 506 are inserted into the transport stream by replacement of PID B with PID A to produce packets 512, 514 and 516 for an MPEG compliant transport stream with the desired content packets containing a PID field matching A, where A is a 13 bit value previously defined in a configuration register of the decoder.
  • a "no operation" is carried out for PID A packets.
  • state 1 A packets such as 508 become packets such as 510 are sent to the transport filter output queue for further processing, such as A/V decompression and display.
  • the decoder state machine transitions from state 1 to state 2A upon reception of a MPEG packet with the PID field matching B, after receipt of a substitution flag 520.
  • B is a 13 bit value previously defined in a configuration register of the decoder.
  • B represents the secondary or "shadow" packet to be substituted for the next occurring legacy packet with PID matching A.
  • the PID value of the B packet is changed to A before insertion into the stream.
  • the substitution occurs because upon transition to state 2A, the B packet content is sent to the transport filter output queue. The return to state 1 occurs when the next A PID is received.
  • state 1 A packets are sent to the transport filter output queue for further processing, such as A/V decompression and display.
  • mode 2 the decoder state machine never transitions from state 1.
  • B represents the secondary or "shadow” packet to be inserted into the stream with the PID value changed to A.
  • transition from state 1 to state 2B can occur due to receipt of an insertion flag 530.
  • PID B packets such as 534 and 536 are inserted into the transport stream as PID A packets such as 538 and 540.
  • the insertion mode can terminate by receipt of the next insertion flag 544.
  • the decoder transport processing algorithm for the Insertion Deletion Mode for a MPEG compliant transport stream with the desired content packets containing a PID field matching A, where A is a 13 bit value previously defined in a configuration register of the decoder is depicted in FIGURE 11.
  • a packets such as 508 are sent to the transport filter output queue for further processing, such as A/V decompression and display and become packets 510.
  • mode 4 the decoder state machine transitions from state 1 to state 2B upon reception of a MPEG packet with the PID field matching B, where B is a 13 bit value previously defined in a configuration register of the decoder, B represents the secondary or "shadow" packet to be inserted with PID changed to match A.
  • Any packet received while in state 2B with the PID value matching A will result in a transition to state 3 and the packet PID changed to NULL, effectively removing it from the transport stream. All subsequent packets received with PID matching A while in state 3 will result in their PID value also being changed to NULL such as packets 550, 552, 554 and 556 which become NULL as 560, 562, 564 and 566. Transition to and from state 1 can be initiated and terminated by an insertion/deletion flag 570 and 574 respectively. While in state 3, packets such as 580 and 582 with PID B are converted to packets with PID such as 586 and 588.
  • the return to state 2B occurs when the next packet with a B PID value is received and it is queued and converted to the A PID value. Likewise, return to the return to state 1 from state 2B occurs when the next packet with a B PID value is received accordingly, it is also queued and converted to the A PID value.
  • the method according to claim 1, wherein the substituting comprises using private signaling to select a unit of content with the second PID and discarding a unit of content with the first PID.
  • private signaling can be used to select a unit of content on the secondary PID while receiving content with the primary PID.
  • private signaling can be used to select multiple units of content with the secondary PID while discarding units of content with the primary PID.
  • private signaling can be used to select multiple units of content with a secondary PID while receiving units of content with the primary PID.
  • private signaling can be used to switch from a mode of selecting multiple units of content with the secondary PID while discarding units of content with the primary PID to a mode of selecting multiple units of content with the secondary PID while receiving content with the primary PID.
  • Private signaling can also be used to switch from a mode of selecting multiple units of content ⁇ vith the secondary PID and receiving multiple units of content with the primary PID to a mode of selecting multiple units of content with the secondary PID while discarding units of content with the primary PID.
  • a unit of content with the secondary PID is sent before or after a corresponding unit of content with the primary PID.
  • Substitution operations can be initiated and terminated by private signaling forming part of an adaptation layer of packets in a data stream.
  • the adaptation layer can be in a packet with the secondary PID, the primary PID or another PID.
  • TRANSPORT STREAM ADAPTATION FIELD Much of the information used to configure and control the decoder module comes from the MPEG PSI data contained in the transport stream and decoded by the STB middleware. Configuration and control can be achieved using extensions to the MPEG PSI specification specific to the current decoder when needed. In certain embodiments consistent with the present invention, the following table defines the extensions used and the private data syntax.
  • Adaptation field only packets whether A, B or C can be made “null”, e.g. NOP, or can simply be left in the stream.
  • references to "registers”, which may imply a hardware implementation, can be freely interchanged with “variable” in a software or microcoded implementation. In either case, a common decoder module command/control structure and interface is desirable to achieve middleware compatibility across STB platforms of varying architecture and capability.
  • each decoder module contains 19 registers (or variables). Unless otherwise stated, all registers are read/write, meaning that the current value can be read back through the same interface used to write. All registers will be sequentially offset from a common base value (origin). The addresses in this specification are all relative to the base (offset values). The registers can be mapped as shown in the table below:
  • REGISTER MAP Status registers are provided in accordance with the following table (Interrupt
  • a write only Interrupt Mask Register is at Address: 0x00. When an Interrupt Mask Register bit is “1 ", the associated interrupt is unmasked and when "0", it is masked. Masked interrupts will not generate an interrupt output to the host processor.
  • interrupt flag bit(s) of masked interrupts will still be valid in the interrupt register.
  • the default power-up condition is for all interrupts to be masked (all "0's").
  • the Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a secondary PID register Secondary PID Register for decoder 1 appears at Address: 0x02 and is configured as follows:
  • the Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value as shown above.
  • the Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a secondary PID register for decoder 2 appears at Address: 0x04 and is configured as follows:
  • the Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a primary PID register, for decoder 3 appears at Address: 0x05 and is configured as follows:
  • the Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a secondary PID register for decoder 3 appears at Address: 0x06 and is configured as follows:
  • the Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a primary PID register for decoder 4 appears at Address: 0x07 and is configured as follows:
  • the Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a secondary PID register for decoder 4 appears at Address: 0x08 and is configured as follows:
  • the Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a primary PID register for decoder 5 appears at Address: 0x09 and is configured as follows:
  • the Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a secondary PID register for decoder 5 appears at Address: OxOA and is configured as follows:
  • the Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a primary PID register for decoder 6 appears at Address: OxOB and is configured as follows:
  • the Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
  • a secondary PID register for decoder 6 appears at Address: OxOC and is configured as follows:
  • the Secondary PID is a 13 bit value stored right justified as a big-endian
  • the Decoder 1 mode register (Read/Write) appears at Address: OxOD and is configured as follows:
  • Mode definitions are as follows: 0: Bypass all decode processing, disable state machine 1 : Substitution mode 2: Insertion Mode 4: Insertion & Deletion Mode All other values: Bypass all decode processing, disable state machine
  • the decoder 2 mode registers (Read/Write) appear at Address: OxOE and are configured as follows:
  • the Decoder 3 mode register (Read/Write) is at Address: OxOF and is configured as follows:
  • Decoder 4 Mode Register (Read/Write) appears at Address: 0x10 and is configured as follows:
  • Decoder 5 mode register (Read/ Write) appears at Address: 0x11 and is configured as follows:
  • Mode definitions are as follows: 0: Bypass all decode processing, disable state machine 1 : Substitution mode 2: Insertion Mode 4: Insertion & Deletion Mode All other values: Bypass all decode processing, disable state machine
  • the Decoder 6 mode register (Read/ Write) is at Address: 0x12 and is configured as follows:
  • the Decoder reset register (Write) is located at Address: 0x13 and is configured as follows:
  • Error_IRQn is the detection of two adjacent shadow packets without an intervening legacy packet, with n representing the number of the specific decoder.
  • content that is to be replaced is placed on packet boundaries. Since some information may not fit neatly within the boundaries of a packet, some additional content, which is not specifically the content of interest may need to be duplicated to fill up the packet. In other cases, the packet can simply be filled with null bytes (e.g., all zeros).
  • a typical video slice contains approximately 3 to 8 packets depending upon how much intra-coded data is present. It is noted that some decoders may have difficulty with multiple slices on a single video line even though the MPEG2 specification allows for this. It is also noted that there may be ending problems encountered if the substituted content is referenced from future frames. However, this can be resolved by establishing a rule that says that the substituted content cannot be referenced by past frames.
  • a decoder such as the above can be incorporated within a television STB or other television receiver and can be used to provide the end user with content substitution capabilities controlled either by the user or by the MSO.
  • FIGURE 12 an exemplary system configuration for a digital television Set-top box 600 is illustrated. Many configurations for such a STB are possible and the STB illustrated should only be considered as exemplary of such a STB configuration.
  • the transmission medium 604 such as a coaxial cable, is coupled by a suitable interface to a tuner 608.
  • Tuner 608 may, for example, include a broadcast in-band tuner for receiving video content.
  • a separate tuner (not shown) may be provided to receive conventional RF broadcast television channels.
  • Modulated information formatted, for example, as MPEG-2 information is then demodulated at a demodulator 610.
  • the demodulated information at the output of demodulator 610 is provided to a PID decoder / demultiplexer / descrambler circuit 614 where the information is separated into discrete channels of programming.
  • the programming is divided into packets, each packet having a PID that identifies the packet as containing a particular type of data (e.g., audio, video, data) relating to a particular program.
  • the PID decoder / demodulator / descrambler circuit 614 also decrypts encrypted information in accordance with a decryption algorithm to prevent unauthorized access to programming content, for example.
  • the PID decoder portion of 614 can operate in a manner similar to that of the decoder described by the stated diagram of FIGURE 8 under program control to select content having a particular PID as will be described later.
  • Audio packets from the demultiplexer 614 are decrypted and forwarded to an audio decoder 618 where they may be converted to analog audio to drive a speaker system (e.g., stereo or home theater multiple channel audio systems) or other audio system 622 (e.g., stereo or home theater multiple channel amplifier and speaker systems) or may simply provide decoded audio out at 626.
  • Video packets from the demultiplexer 614 are decrypted and forwarded to a video decoder 630.
  • data packets from the demultiplexer 614 (those identified with a data PID) are decrypted and forwarded to a data decoder 634.
  • Decoded data packets from data decoder 634 are sent to the set-top box's computer system via the system bus 634.
  • a control computer 644 can thus access the decoded data from data decoder 634 via the system bus 638 as well as programs and data in memory 646.
  • Video data decoded by video decoder 630 is passed to a graphics processor 648, which is a computer optimized to processes graphics information rapidly. Graphics processor 648 is particularly useful in processing graphics intensive data associated with Internet browsing, gaming and multimedia applications such as those associated with MHEG (Multimedia and Hypermedia information coding Experts Group) set-top box applications.
  • MHEG Multimedia and Hypermedia information coding Experts Group
  • STB 600 may incorporate a smart card reader 140 for communicating with a so called “smart card,” often serving as a Conditional Access Module (CAM).
  • the CAM typically includes a central processor unit of its own along with associated RAM and ROM memory.
  • Such smart card based CAMs are conventionally utilized for authentication of the user and authentication of transactions carried out by the user as well as authorization of services and storage of authorized cryptography keys.
  • the CAM can be used to provide the key for decoding incoming cryptographic data for content that the CAM determines the user is authorized to receive.
  • STB 600 can operate in a bidirectional communication mode so that data and other information can be transmitted not only from the system's head end to the end user, or from a service provider to the end user ofthe STB 600, but also, from the end user upstream using an out-of-band channel.
  • data passes through the system bus 638 to a modulator 652 through a diplexer forming part of tuner 604 and out through the transmission medium 604.
  • This capability is used to provide a mechanism for the STB 600 and/or its user to send information to the head end (e.g., service requests or changes, registration information, etc.) as well as to provide fast outbound communication with the Internet or other services provided at the head end to the end user.
  • Set-top box 600 may include any of a plurality of I/O (Input/Output) interfaces represented by I/O interfaces 656 that permit interconnection of I/O devices to the set- top box 600.
  • I/O interfaces 656 I/O interfaces 656 that permit interconnection of I/O devices to the set- top box 600.
  • a serial RS-232 port can be provided to enable interconnection to any suitable serial device supported by the STB 600's internal software.
  • communication with appropriately compatible devices can be provided via an Ethernet port, a USB (Universal Serial Bus) port, an IEEE 1394 (so-called firewireTM or i-linkTM) or IEEE 1394 wide port, or S-video port.
  • An infrared interface 660 provides communication with a remote controller 666. Such interfaces can be utilized to interconnect the STB 600 with any of a variety of accessory devices such as storage devices, audio / visual devices, gaming devices (not shown), Internet Appliances 28, etc.
  • the infrared interface 660 receives commands from an infrared remote control 666, infrared keyboard or other infrared control device.
  • front panel controls may be used in some embodiments to directly control the operation of the STB 600 through a front panel control interface as one of the provided interfaces. Selected interfaces such as those described above and others can be provided in STB 600 in various combinations as required or desired.
  • the main program content having a designated set of PIDS is played out in a normal manner until near the end of the program.
  • the viewer is presented with a menu selection on screen from which one of a plurality of endings is presented.
  • control computer 644 programs PID decoder 614 to select the ending chosen by the user. After this pause, is completed, the programming continues with the PID decoder 614 making the appropriate PID remapping to cause the audio, data and video for the selected ending to be played.
  • the program is normally associated with PID A and the user selects ending three, packets bearing PID C will be remapped to PID A for playback.
  • the user can make selections for playback of a particular segment of content that is substituted for the normal content.
  • a decoder consistent with certain embodiments of the present invention has a receiver receiving data that represents content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content.
  • a content decoder is configured to play content having the first PID.
  • a controller determines that a substitution criterion has been met, and a PID mapper maps content having the second PID to the first PID so that the content originally having the second PID is played.
  • a method and apparatus for content substitution involves receiving data representing content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content.
  • the content having the first PID is placed into a data stream.
  • An initiation flag is received indicating initiation of a PID mapping operation.
  • the content having the second PID is then mapped to the first PID and the mapped content is placed into the data stream.
  • a termination flag is received indicating termination of the PID mapping operation at which point the process returns to placing content having the first PID into the data stream.
  • the content substitution process can be used to replace advertisements, provide multiple plots, multiple endings, multiple views as well as other applications.
  • the present invention is implemented using a programmed processor executing programming instructions that are broadly described above form that can be stored on any suitable electronic storage medium or transmitted over any suitable electronic communication medium or otherwise be present in any computer readable or propagation medium.
  • programming instructions that are broadly described above form that can be stored on any suitable electronic storage medium or transmitted over any suitable electronic communication medium or otherwise be present in any computer readable or propagation medium.
  • the processes described above can be implemented in any number of variations and in many suitable programming languages without departing from the present invention. For example, the order of certain operations carried out can often be varied, additional operations can be added or operations can be deleted without departing from the invention. Error trapping can be added and/or enhanced and variations can be made in user interface and information presentation without departing from the present invention. Such variations are contemplated and considered equivalent.
  • Software code and/or data embodying certain aspects of the present invention may be present in any computer readable medium, transmission medium, storage medium or propagation medium including, but not limited to, electronic storage devices such as those described above, as well as carrier waves, electronic signals, data structures (e.g., trees, linked lists, tables, packets, frames, etc.) optical signals, propagated signals, broadcast signals, transmission media (e.g., circuit connection, cable, twisted pair, fiber optic cables, waveguides, antennas, etc.) and other media that stores, carries or passes the code and/or data. Such media may either store the software code and/or data or serve to transport the code and/or data from one location to another.
  • MPEG compliant packets, slices, tables and other data structures are used, but this should not be considered limiting since other data structures can similarly be used without departing from the present invention.

Abstract

A method and apparatus for content substitution, consistent with certain embodiments of the present invention involves receiving data representing content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content (108). The content having the first PID is placed into a data stream (112). An initiation flag is received indicating initiation of a PID mapping operation (116). The content having the second PID is then mapped to the first PID (124) and the mapped content is placed into the data stream. A termination flag is received indicating termination of the PID mapping operation at which point the process returns to placing content having the first PID into the data stream. The content substitution process can be used to replace advertisements, provide multiple plots, multiple endings, multiple views as well as other applications.

Description

CONTENT REPLACEMENT BY PID MAPPING
CROSS REFERENCE TO RELATED DOCUMENTS This application is a continuation- in-part of patent applications docket number SNY-R4646.01 entitled "Critical Packet Partial Encryption" to Unger et al, serial number 10/038,217; patent applications docket number SNY-R4646.02 entitled "Time Division Partial Encryption" to Candelore et al., serial number 10/038,032; docket number SNY-R4646.03 entitled "Elementary Stream Partial Encryption" to Candelore, serial number 10/037,914; docket number SNY-R4646.04 entitled "Partial Encryption and PID Mapping" to Unger et al., serial number 10/037,499; and docket number SNY-R4646.05 entitled "Decoding and Decrypting of Partially Encrypted Information" to Unger et al, serial number 10/037,498 all of which were filed on January 2, 2002 and are hereby incorporated by reference herein; this application is also related to and claims priority benefit of U.S. Provisional patent application serial number 60/409,675, filed September 9, 2002, docket number 50S5152, entitled "Generic PID Remapping for Content Replacement", to Candelore; this application is also related to and claims priority benefit of U.S. Provisional patent application serial number 60/372,870 filed April 16, 2002, entitled "Generic PID Remapping for Content Replacement Applications", to Candelore, docket number 50S5066. This application is also related to U.S. patent applications serial number 10/273,905, filed October 18, 2002 to Candelore et al., entitled "Video Slice and Active Region Based T i D„^J„I c-™ tinn» Hocket number SNY-R4854.01; serial number 10/273,903, filed October 18, 2002 to Candelore et al., entitled "Star Pattern Partial Encryption", docket number SNY-S5064.01; serial number 10/274,084, filed October 18, 2002 to Candelore et al., entitled "Slice Mask and Moat Pattern Partial Encryption", and docket number SNY-S5065.01; serial number 10/274,019, filed October 18, 2002 to Candelore et al., entitled "Video Scene Change Detection", docket number SNY- S5162.01. Each of the above applications are hereby incorporated by reference herein.
COPYRIGHT NOTICE
A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction of the patent document or the patent disclosure, as it appears in the
Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
FIELD OF THE INVENTION
This invention relates generally to the field of video on digital video. More particularly, this invention relates to a method and apparatus for providing selective replacement of digital video content.
BACKGROUND OF THE INVENTION
Conventional digital video content, such as MPEG video, can take the form of a single program, movie or other content with no opportunity for a service provider or a user to modify the viewing experience by selecting alternative content. Various mechanisms have been proposed for providing interactive content, but usually such proposals have been expensive to implement, can take up large amounts of bandwidth, and may require expensive specialized equipment including servers and/or other support equipment. Therefore, although there is a demand for "interactive" applications which allow an end viewer of video content to tailor what they watch and manipulate the content, no commercially viable system has yet appeared in the marketplace. BRIEF DESCRIPTION OF THE DRAWINGS The features of the invention believed to be novel are set forth with particularity in the appended claims. The invention itself however, both as to organization and method of operation, together with objects and advantages thereof, may be best understood by reference to the following detailed description of the invention, which describes certain exemplary embodiments of the invention, taken in conjunction with the accompanying drawings in which:
FIGURE 1 is flow chart depicting a process for content substitution consistent with certain embodiments ofthe present invention.
FIGURE 2 is block diagram of a cable system consistent with certain embodiments ofthe present invention.
FIGURE 3 is a block diagram of a control computer consistent with certain embodiments ofthe present invention. FIGURE 4 illustrates a substitute advertisement consistent with certain embodiments ofthe present invention.
FIGURE 5 illustrates a multiple plot, multiple ending movie consistent with certain embodiments ofthe present invention.
FIGURE 6 illustrates a marker consistent with certain embodiments of the present invention.
FIGURE 7 illustrates substitution of a local banner advertisement and addition of a logo consistent with certain embodiments ofthe present invention.
FIGURE 8 is a state diagram of a decoder state machine consistent with certain embodiments ofthe present invention. FIGURE 9 illustrates a substitution mode consistent with certain embodiments ofthe present invention.
FIGURE 10 illustrates an insertion mode consistent with certain embodiments ofthe present invention.
FIGURE 11 illustrates an insertion/deletion mode consistent with certain embodiments ofthe present invention. FIGURE 12 illustrates an exemplary system configuration for a digital television Set-top box consistent with certain embodiments ofthe present invention.
DETAILED DESCRIPTION OF THE INVENTION
While this invention is susceptible of embodiment in many different forms, there is shown in the drawings and will herein be described in detail specific embodiments, with the understanding that the present disclosure is to be considered as an example ofthe principles ofthe invention and not intended to limit the invention to the specific embodiments shown and described. In the description below, like reference numerals are used to describe the same, similar or corresponding parts in the several views ofthe drawings.
The terms "scramble" and "encrypt" and variations thereof are used synonymously herein. The term "video" may be used herein to embrace not only true visual information, but also in the conversational sense (e.g., "video tape recorder") to embrace not only video signals but also associated audio and data. The present document generally uses the example of a "dual selective encryption" embodiment, but those skilled in the art will recognize that the present invention can be utilized to realize multiple partial encryption without departing from the invention. The terms "partial encryption" and "selective encryption" are used synonymously herein. Also, the terms "program" and "television program" and similar terms can be interpreted in the normal conversational sense, as well as a meaning wherein the term means any segment of A/V content that can be displayed on a television set or similar monitor device. The term "legacy" as used herein refers to existing technology used for existing cable and satellite systems. The exemplary embodiments disclosed herein are decoded by a television Set-Top Box (STB), but it is contemplated that such technology will soon be incorporated within television receivers of all types whether housed in a separate enclosure alone or in conjunction with recording and/or playback equipment or Conditional Access (CA) decryption module or within a television set itself. The present document generally uses the example of a "dual partial encryption" embodiment, but those skilled in the art will recognize that the present invention can be utilized to realize multiple partial encryption without departing from the invention. The term "package medium" and similar terms as used herein are intended to embrace a recording medium such as a Digital Versatile Disc (DVD), Compact Disc (CD) or other magnetic, optical or other recorded medium that is generally merchandised as a package that contains the electronic storage medium and is sold as a retail commodity, as contrasted to an electronically downloadable data stream.
The above-referenced commonly owned patent applications describe inventions relating to various aspects of methods generally referred to herein as partial encryption or selective encryption. More particularly, systems are described wherein selected portions of a particular selection of digital content are encrypted using two (or more) encryption techniques while other portions of the content are left unencrypted. The encrypted portions are identified and distinguished from one another by use of multiple packet identifiers. By properly selecting the portions to be encrypted, the content can effectively be encrypted for use under multiple decryption systems without the necessity of encryption ofthe entire selection of content. In some embodiments, only a few percent of data overhead is needed to effectively encrypt the content using multiple encryption systems. This results in a cable or satellite system being able to utilize Set-top boxes or other implementations of conditional access (CA) receivers from multiple manufacturers in a single system - thus freeing the cable or satellite company to competitively shop for providers of Set-top boxes. The partial encryption processes described in the above patent applications utilize any suitable encryption method. However, these encryption techniques are selectively applied to the data stream, rather than encrypting the entire data stream, using techniques described in the above-referenced patent applications. In general, but without the intent to be limiting, the selective encryption process utilizes intelligent selection of information to encrypt so that the entire program does not have to undergo dual encryption. By appropriate selection of data to encrypt, the program material can be effectively scrambled and hidden from those who desire to hack into the system and illegally recover commercial content without paying. MPEG (or similar format) data that are used to represent the audio and video data does so using a high degree of reliance on the redundancy of information from frame to frame. Certain data can be transmitted as "anchor" data representing chrominance and luminance data. That data is then often simply moved about the screen to generate subsequent frames by sending motion vectors that describe the movement of the block. Changes in the chrominance and luminance data are also encoded as changes rather than a recoding of absolute anchor data. Thus, encryption of this anchor data, for example, or other key data can effectively render the video un-viewable.
In accordance with certain embodiments consistent with the above inventions, the selected video data to be encrypted may be any individual one or combination of the following (described in greater detail in the above applications): video slice headers appearing in an active region of a video frame, data representing an active region of a video frame, data in a star pattern within the video frame, data representing scene changes, I Frame packets, packets containing motion vectors in a first P frame following an I Frame, packets having an intra_slice_flag indicator set, packets having an intra_slice indicator set, packets containing an intra_coded macroblock, data for a slice containing an intra_coded macroblock, data from a first macroblock following the video slice header,packets containing video slice headers, anchor data, and P Frame data for progressively refreshed video data, data arranged in vertical and or horizontal moat patterns on the video frame, and any other selected data that renders the video and/or audio difficult to utilize. Several such techniques as well as others are disclosed in the above-referenced patent applications, any of which (or other techniques) can be utilized with the present invention to encrypt only a portion ofthe content.
In order to distinguish between the two or more digital television signals encrypted using the multiple encryption algorithms in accordance with the above inventions, multiple packet identifiers (PIDs) are utilized. Normally a single set of packet identifiers is used to identify a particular television program. When a television signal is encrypted under the multiple selective encryption arrangement described in the above-referenced applications, the clear content is assigned a first set of PIDs, and each set of encrypted content is assigned another set of PIDs (one set of encrypted content may share the same PID with the unencrypted content in certain embodiments). The receiving STB then remaps all of the appropriate content to a single PID for playback. This process is described in detail in the above patent applications.
The present invention utilizes multiple PIDs associated with a single item of content as a mechanism to provide content substitution. Content substitution can be used to provide an enhanced level of customization of television programming in any number of ways. For example, content substitution can be used to provide targeted advertising to an audience by substitution of one advertisement for another. Content substitution can also be used to provide multiple endings, plots or other segments for a program, or to provide multiple views in a sportscast or other program. Other applications for the content substitution of the present invention will be discussed during the course of this discussion. Each of these applications, as well as others, can be facilitated using the present invention without need for dramatic increases in bandwidth and at reasonable cost for the hardware.
Referring now to FIGURE 1, an overall content substitution process 100 consistent with certain embodiments ofthe present invention is shown starting at 104. The content is received at 108 having portions identified by multiple PIDs (e.g., PID A and PID B in this example), which represent multiple possibilities for the content (e.g., multiple advertisements, logos, plots, endings, characters, etc.). This content could be received as a stream of content (as in a cable or satellite television transmission) or could be present in packaged media or a downloaded file. In any case, at 112 a processing operation (such as playback or transmission of the content) is initiated, generally using a main portion ofthe content designated with a particular packet identifier (e.g., PID A). At 116, the content is examined to detennine if a prescribed substitution criterion has been met. Such criterion might be, for example, presence of a national advertisement, watermark or logo that a local content distributor wishes to replace with a local or regional advertisement, watermark or logo; or such criterion might entail selection by an end user of a particular plot, character or ending.
If the criterion is not met at 116, the processing of the main content (PID A) continues at 120. If the criterion is met at 116, a content substitution is carried out at 124 (e.g., by substitution of content with PID B for content with PID A, or by carrying out any of the other content substitution operations described herein including, but not limited to one-for-one substitution, one-for-one insertion or multiple-for-one insertion/deletion). Such substitution may entail a remapping of the PID values so that a decoder or other processor merely continues processing content with the same PID. Alternately, a decoder can be programmed to select the substituted content, when present, in preference to the main content. From 120 or 124, control passes to 128 where the content is examined to determine if the end has been reached. If not, control returns to processing content at 116. If the end is reached, the process stops at 132. Thus, a method of content substitution consistent with certain embodiments of the present invention involve receiving data representing content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content; playing content having the first PID; determining that a substitution criterion has been met; and substituting content having the second PID for content having the first PID.
In accordance with this process, for example, a local cable operator can receive a program that contains multiple sets of advertisements (commercials). Depending on the geographic location of the local operator, the main content can be retransmitted along with an appropriate one of several regional advertisements that are more appropriate to the geographic location or marketplace of the local cable operator. In another example, a movie with multiple selectable endings can be broadcast from a cable operator to its subscribers. The subscriber can then decide, before or during the viewing of the movie, which ending is preferred and make a selection. The subscriber sends a command to the STB which selects the alternative ending desired by the subscriber by selecting the ending associated with a particular PID and remapping that PID to the main program's PID. Numerous other examples will occur to those skilled in the art upon consideration ofthe present teachings.
Referring now to FIGURE 2, an exemplary cable system is depicted as 200. In this system, a satellite antenna 204 receives a multiplexed stream of content from a satellite ti-ansmission such as a HITS™ (Headend In The Sky) feed. The received stream of content is received, demodulated and decrypted at a satellite receiver 208 and the content that is to have substitutable information is passed along to a PID mapper and flag inserter 212, the function of which will become clear in view of discussions to follow. Additional content may be retrieved from a local content database 216 or other sources of content. Alternatively, the content with multiple PID encoded substitutable portions may be directly received from the satellite system. The PID mapper and flag inserter maps the incoming content from whatever source to a set of main PIDs for the main content and a set of secondary or shadow PIDs for the substitutable content at 212 in one embodiment. In another embodiment where the incoming data already has multiple PID encoded content, the PID mapper may be instructed to remap the PIDs to select only the desired content. Flags may be inserted into the content at 212 to identify a location where a substitution of content is to start and end.
The content then passes to a PSI/PMT inserter 220 that inserts Program Specific Information (PSI) and Program Map Tables (PMT) into the stream of content for use by the decoding side in decoding the programming. If the content is to be encrypted, it may be passed through an encrypter 224 prior to modulation at a modulator (such as a QAM modulator) 230. The modulated stream of content is then transmitted via the cable plant 236 to the end users with decoder boxes such as Set- top boxes 240 and 244. The operation ofthe cable head end, including but not limited to the PID mapping for content substitution, is carried out under control of a control computer 300.
Such a system can be used to form a content substitution encoder consistent with certain embodiments of the invention in which input data is received representing main content and representing substitution content. A packet identifier (PID) mapper assigns a primary PID to the main content and assigns a secondary PID to the substitution content. A private data generator generates user private data that identifies the main content by the primary PID and substitution content by the secondary PID. The private data, the main content mapped to the primary PID and the substitution content mapped to the secondary PID are then assembled into a data stream. The process 100 of FIGURE 1 can be carried out on any suitable programmed general -purpose computer operating as control computer 300 of FIGURES 2-3. Computer 300 has one or more central processor units (CPU) 310 with one or more associated buses 314 used to connect the central processor unit 310 to Random Access Memory 318 and Non-Volatile Memory 322 in a known manner. Output devices 326, such as a display and printer, are provided in order to display and/or print output for the use ofthe MSO (multiple service operator) as well as to provide a user interface such as a Graphical User Interface (GUI). Similarly, input devices such as keyboard, mouse and removable media readers 330, may be provided for the input of information by the operator. Computer 300 also incorporates internal and/or external attached disc or other mass storage 334 (e.g., disc and/or optical storage) for storing large amounts of information including, but not limited to, the operating system, and the content substitution process program as well as content (which is most likely stored on massive attached storage such as local content database 216). The Computer system 300 also has an interface 338 for connection to the controlled devices in the cable system head end. While depicted as a single computer, the digital content provider may utilize multiple linked computers to carry out the functions described herein.
The description above largely assumes that the substitutable content is to be inserted at the cable system head end, but those skilled in the art will appreciate that the present content substitution concept can be implemented in many ways to permit content substitution at multiple levels to serve multiple purposes. For example, if the cable customer is viewing an interactive television show, the customer's selections (e.g., from a remote controller) can be used to establish the criterion for selection of a particular substitution (e.g., ending selection). However, the cable head end can also implement a content substitution in accord with certain embodiments consistent with the present invention, for example, by substitution of a local advertisement for a national advertisement or substitution of (or addition of) a local channel logo for a national logo. Consider now an exemplary embodiment consistent with the present invention in which a content provider wishes to provide alternative advertisements to several groups of customers, for example in a cable television system. In this example, assume that the cable television customers can be divided into three categories based upon, for example, a customer profile stored at the cable system's head end. Now, with reference to FIGURE 4, an exemplary television program 350 with three separate advertisements 354, 356 and 358 associated therewith is depicted. In order to segregate the three advertisements, three separate sets of PIDs are utilized (for simplicity, assume that there is one PID per advertisement). In the case of the main advertisement 354 directed to one viewing audience, the advertisement 354 can share the same PID (e.g., 100) with the program content. The first alternative advertisement 356 is identified by an alternative PID (e.g.,
PID 101), and the second alternative advertisement is identified by another alternative PID (e.g., PID 102). Thus, in order to present the main advertisement, no special instructions need to be conveyed to the decoder (e.g., the television STB) since it is shared with the program content and will be shown by default. For decoders that are to decode the alternative advertisement 356, an instruction is sent from the cable system head end to the decoders instructing them to substitute content with PID 101 whenever this PID is encountered for PID 100. Similarly, for decoders that are to decode the alternative advertisement 358, an instruction is sent from the cable system head end to the decoders instructing them to substitute content with PID 102 whenever this PID is encountered in place of PID 100. In one embodiment, each packed of video data having PID 100 has a corresponding packet with PID 101 and PID 102. In other embodiments, a one for one correlation is not required. In any event, packet counts should be maintained in a manner that permits the proper ordered processing of packets at the decoder. In this example, the content is displayed side by side to illustrate the direct substitution that is the nature ofthe process. However, as depicted in FIGURE 4, the content may be arranged as a sequence of packets which systematically present the main content followed by the first alternative content and then the second alternative content and then the sequence repeats. In various embodiments, corresponding packets with primary and secondary PIDs may appear in order of primary followed by secondary or secondary followed by primary. Alternation of the packets avoids unnecessary delays in packet receipt and helps preserve the order of packets. Where a one for one correlation between primary and secondary packets exists, each of the primary and secondary packets may retain a packet number that is used to establish the order of presentation. Such numbering may be altered by the decoding process to retain order in the received content. Other embodiments are also possible without deviating from the present invention.
In addition to providing targeted advertisement for sets of customers by the cable system MSO, a similar technique can be implemented to provide networks with the ability to provide regional advertisement by embedding, for example, multiple regional advertisements into a single data stream and using a remapping ofthe PIDs at the local networks or cable operators to select the appropriate advertisement for a given region. Thus, the three advertisements depicted in FIGURE 4 could equally well represent three regional advertisements such as one for the East coast ofthe U.S., one for the central portion of the U.S. and one for the West coast of the U.S., or any other suitable regional segregation with more or less alternative advertisements.
FIGURE 5 depicts an exemplary embodiment where content substitution can be used to provide alternative plots and endings in a movie that is either stored as packaged medium content (e.g., a Digital Versatile Disc - DVD) or is streamed from a content provider such as a cable television MSO. In this embodiment, a main movie 360 is transmitted or stored using a main PID 110, for example. This movie can be played with three plots and three endings that may be selected, for example, by the viewer using a selection made either during the playback ofthe movie or as a periodic decision made during playback of the movie. The first plot A 362 uses the same PID 110 as the main portions of the movie as does the main ending A 364. When the customer selects plot A and ending A (individually or collectively) the decoder in the television STB selects PID 110 for the entire movie. Plot B 368, in a similar manner is associated with PID 111 as is ending B 372. Plot C 376 is similarly associated with PID 112, as is ending C 380. When the viewer selects plot B, and/or ending B, the STB decoder is instructed to substitute PID 1 11 for PID 100 so that alternative plot B and/or ending B is selected. Similarly, when the viewer selects plot C, and/or ending C, the STB decoder is instructed to substitute PID 112 for PID 100 so that alternative plot C and/or ending C is selected.
With reference to FIGURE 6, a program 384 using a particular PID, e.g., PID 120, contains a blank section 388 having PID 120 with an alternative portion of information serving as a marker PID 392.
The content substitution using alternative PIDs as described above can be utilized for any number of purposes. FIGURE 7 depicts replacement of advertising banners and supplementation of logos or watermarks using the content substitution technique of the present invention. In this embodiment, a segment of main content is depicted as a television screen 400 divided into horizontal slices as such information would be encoded using MPEG digital coding. A first advertisement, e.g., a national advertisement, 404 is depicted as appearing in several sequential slices of the image near the upper left of the screen. A logo or watermark 408 appears in one slice near the bottom right of the image 400. Using content substitution, a new screen can be created. Packets containing the advertisement 404 can be replaced by packets containing a local or other alternative advertisement banner 412. Similarly, the watermark 408 could be replaced or supplemented by use of content substitution for certain packets within a slice ofthe video image. In this example, a network logo 408 might be supplemented by another logo (such as a local channel or other logo) 416 by substitution of packets bearing the supplemental logo.
These are but a few examples of the types of content manipulation that can be facilitated using the PID mapping techniques of the present invention. Several other examples are listed in the table below, but many more will occur to those skilled in the art upon consideration ofthe present discussion:
Figure imgf000015_0001
Figure imgf000016_0001
Turning now to FIGURE 8, a state diagram is shown which depicts one mechanism for implementing a decoder that decodes the transport stream with multiple PIDs consistent with certain embodiments of the present invention. The numbered paths ofthe state diagram are explained in the table below:
Figure imgf000016_0002
STATE TABLE The replacement of the primary PID packet by the secondary PID packet is called "Substitution Mode". Secondary PID packets may be inserted into the stream without replacement of a primary PID packet. This mode is called "Insertion Mode." In fact, the decoder may be used in a mode wherein both operations are active at the same time. This is called "Insertion and Deletion Mode". All three discrete decoder modes are mutually exclusive and follow a series of state transitions that are specific to each mode. The active mode is signaled through the decoder specific variable mode. If the value of mode is set to zero, decoding is not enabled and the transport decoder state machine is bypassed. If the value of mode is invalid (not a specifically defined state, then the same actions are taken as if mode was set to zero, i.e. the transport decoder state machine is bypassed. The definition ofthe state transitions for each mode is detailed as followed.
The algorithm for decoding an encoded transport stream is embodied in the state machine of FIGURE 8. The Petri net showing the states and the state equations/actions can be derived from FIGURE 8 in combination with the above state table. The algorithm has four operating states, with the system predominantly remaining is state 1. State 2 is entered only when a packet containing a shadow PID (not the main PID) has been encountered. Depending upon the system mode, as established through messaging in the PSI from the headend, different paths to two entirely different second states can be taken.
The state machine can be implemented in either hardware or software, depending upon the IC manufacturer's device architecture. A software implementation on a programmed processor can generally be expected to provide more flexibility in the design. One error case identified (illegal state transition). This error is a unique error that is in addition to MPEG transport layer errors like continuity count, transport error, etc. Error_IRQn is the detection of two adjacent shadow packets without an intervening legacy packet, with n representing the number of the specific decoder. Depending upon the setting of the decoder specific variable queue_on_error, two different operations can occur. If the variable is set to true, the decoder will process the second shadow packet (PID = B) as in the non-error case. If the variable is set to false, the second shadow packet is discarded.
Whenever packets are inserted or deleted, the continuity count (CC) of the primary stream (PID = A), will be preserved by adjusting the CC as appropriate. The decode_RSTn variable is a non-latching bit that can be set through a configuration register or accessed by other functions to force the decoder state machine n to a known state.
One mode of operation of the decoder transport processing algorithm is referred to as the Substitution Mode. This mode is illustrated in FIGURE 9 wherein packets having PID B such as 502, 504 and 506 are inserted into the transport stream by replacement of PID B with PID A to produce packets 512, 514 and 516 for an MPEG compliant transport stream with the desired content packets containing a PID field matching A, where A is a 13 bit value previously defined in a configuration register of the decoder. A "no operation" is carried out for PID A packets. In the "home" state, state 1, A packets such as 508 become packets such as 510 are sent to the transport filter output queue for further processing, such as A/V decompression and display. In mode 1, the decoder state machine transitions from state 1 to state 2A upon reception of a MPEG packet with the PID field matching B, after receipt of a substitution flag 520. B is a 13 bit value previously defined in a configuration register of the decoder. B represents the secondary or "shadow" packet to be substituted for the next occurring legacy packet with PID matching A. The PID value of the B packet is changed to A before insertion into the stream. The substitution occurs because upon transition to state 2A, the B packet content is sent to the transport filter output queue. The return to state 1 occurs when the next A PID is received. In this case, it is not queued and is converted to the NULL (0x1 fff) PID value, effectively erasing it from the stream without altering the overall stream timing as would have occurred if it were physically removed. The return to state 1 can also be signaled by receipt of another substitution flag 524 indicating termination ofthe substitute mode. Another mode of operation of the decoder transport processing algorithm is referred to as the Insertion Mode, which is depicted in FIGURE 10, for an MPEG compliant transport stream with the desired content packets containing a PID field matching A, where A is a 13 bit value previously defined in a configuration register of the decoder. In the "home" state, state 1, A packets are sent to the transport filter output queue for further processing, such as A/V decompression and display. In mode 2, the decoder state machine never transitions from state 1. Upon reception of a MPEG packet with the PID field matching B, where B is a 13 bit value previously defined in a configuration register of the decoder, B represents the secondary or "shadow" packet to be inserted into the stream with the PID value changed to A. In this mode, transition from state 1 to state 2B can occur due to receipt of an insertion flag 530. PID B packets such as 534 and 536 are inserted into the transport stream as PID A packets such as 538 and 540. The insertion mode can terminate by receipt of the next insertion flag 544.
The decoder transport processing algorithm for the Insertion Deletion Mode for a MPEG compliant transport stream with the desired content packets containing a PID field matching A, where A is a 13 bit value previously defined in a configuration register of the decoder is depicted in FIGURE 11. In the "home" state, state 1, A packets such as 508 are sent to the transport filter output queue for further processing, such as A/V decompression and display and become packets 510. In mode 4, the decoder state machine transitions from state 1 to state 2B upon reception of a MPEG packet with the PID field matching B, where B is a 13 bit value previously defined in a configuration register of the decoder, B represents the secondary or "shadow" packet to be inserted with PID changed to match A. Any packet received while in state 2B with the PID value matching A will result in a transition to state 3 and the packet PID changed to NULL, effectively removing it from the transport stream. All subsequent packets received with PID matching A while in state 3 will result in their PID value also being changed to NULL such as packets 550, 552, 554 and 556 which become NULL as 560, 562, 564 and 566. Transition to and from state 1 can be initiated and terminated by an insertion/deletion flag 570 and 574 respectively. While in state 3, packets such as 580 and 582 with PID B are converted to packets with PID such as 586 and 588. The return to state 2B occurs when the next packet with a B PID value is received and it is queued and converted to the A PID value. Likewise, return to the return to state 1 from state 2B occurs when the next packet with a B PID value is received accordingly, it is also queued and converted to the A PID value. The method according to claim 1, wherein the substituting comprises using private signaling to select a unit of content with the second PID and discarding a unit of content with the first PID.
In methods consistent with the present invention, private signaling can be used to select a unit of content on the secondary PID while receiving content with the primary PID. Alternatively, private signaling can be used to select multiple units of content with the secondary PID while discarding units of content with the primary PID. Similarly, private signaling can be used to select multiple units of content with a secondary PID while receiving units of content with the primary PID. Also, private signaling can be used to switch from a mode of selecting multiple units of content with the secondary PID while discarding units of content with the primary PID to a mode of selecting multiple units of content with the secondary PID while receiving content with the primary PID. Private signaling can also be used to switch from a mode of selecting multiple units of content λvith the secondary PID and receiving multiple units of content with the primary PID to a mode of selecting multiple units of content with the secondary PID while discarding units of content with the primary PID.
A unit of content with the secondary PID is sent before or after a corresponding unit of content with the primary PID. Substitution operations can be initiated and terminated by private signaling forming part of an adaptation layer of packets in a data stream. The adaptation layer can be in a packet with the secondary PID, the primary PID or another PID.
For reference, the following two tables are provided which call out the syntax used for an MPEG transport packet and an MPEG transport stream adaptation field respectively:
Figure imgf000021_0001
TRANSPORT PACKET
Figure imgf000022_0001
TRANSPORT STREAM ADAPTATION FIELD Much of the information used to configure and control the decoder module comes from the MPEG PSI data contained in the transport stream and decoded by the STB middleware. Configuration and control can be achieved using extensions to the MPEG PSI specification specific to the current decoder when needed. In certain embodiments consistent with the present invention, the following table defines the extensions used and the private data syntax.
Figure imgf000024_0001
PRIVATE DATA SYNTAX
It may be possible to use "adaptation and no payload" as well as "adaptation with payload" to signal transition between states. Adaptation field only packets whether A, B or C can be made "null", e.g. NOP, or can simply be left in the stream. In this document, references to "registers", which may imply a hardware implementation, can be freely interchanged with "variable" in a software or microcoded implementation. In either case, a common decoder module command/control structure and interface is desirable to achieve middleware compatibility across STB platforms of varying architecture and capability.
In certain preferred implementations, each decoder module contains 19 registers (or variables). Unless otherwise stated, all registers are read/write, meaning that the current value can be read back through the same interface used to write. All registers will be sequentially offset from a common base value (origin). The addresses in this specification are all relative to the base (offset values). The registers can be mapped as shown in the table below:
Figure imgf000025_0001
REGISTER MAP Status registers are provided in accordance with the following table (Interrupt
Source Register (Read Only) ~ Address: 0x00)
Figure imgf000026_0001
STATUS REGISTERS
If an interrupt is invoked, the associated bit will be set to "1". More than one bit may asserted simultaneously. If any bit is set, the decoder interrupts the host controller based upon the value of the mask register. The contents of the source register is bitwise ANDed with the mask register and the result logically ORed to form a single IRQ output. Interrupt Conditions are tabulated as follows
DecodejαJERROR
Set on: Detection of two adjacent shadow packets without an intervening legacy packet.
Reset on: Read of interrupt status register.
A write only Interrupt Mask Register is at Address: 0x00. When an Interrupt Mask Register bit is "1 ", the associated interrupt is unmasked and when "0", it is masked. Masked interrupts will not generate an interrupt output to the host processor.
The interrupt flag bit(s) of masked interrupts will still be valid in the interrupt register.
The default power-up condition is for all interrupts to be masked (all "0's").
Figure imgf000026_0002
Configuration Registers are as above. A primary PID register for Decoder 1 (Read/ Write) appears at Address: 0x01 and is configured as follows.
Figure imgf000027_0001
The Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A secondary PID register Secondary PID Register for decoder 1 (Read/Write) appears at Address: 0x02 and is configured as follows:
Figure imgf000027_0002
The Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value as shown above.
A primary PID register, for Decoder 2 (Read/Write) appears at Address: 0x03 and is configured as follows:
Figure imgf000027_0003
The Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A secondary PID register for decoder 2 (Read/Write) appears at Address: 0x04 and is configured as follows:
Figure imgf000027_0004
The Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A primary PID register, for decoder 3 (Read/Write) appears at Address: 0x05 and is configured as follows:
Figure imgf000028_0001
The Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A secondary PID register for decoder 3 (Read/Write) appears at Address: 0x06 and is configured as follows:
Figure imgf000028_0002
The Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value. A primary PID register for decoder 4 (Read/Write) appears at Address: 0x07 and is configured as follows:
Figure imgf000028_0003
The Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A secondary PID register for decoder 4 (Read/Write) appears at Address: 0x08 and is configured as follows:
Figure imgf000029_0001
The Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A primary PID register for decoder 5 (Read/Write) appears at Address: 0x09 and is configured as follows:
Figure imgf000029_0002
The Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A secondary PID register for decoder 5 (Read/Write) appears at Address: OxOA and is configured as follows:
Figure imgf000029_0003
The Secondary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value.
A primary PID register for decoder 6 (Read/ Write) appears at Address: OxOB and is configured as follows:
Figure imgf000029_0004
The Primary PID is a 13 bit value stored right justified as a big-endian (MSB in bit 12) value. A secondary PID register for decoder 6 (Read/Write) appears at Address: OxOC and is configured as follows:
Figure imgf000030_0001
The Secondary PID is a 13 bit value stored right justified as a big-endian
(MSB in bit 12) value.
The Decoder 1 mode register (Read/Write) appears at Address: OxOD and is configured as follows:
Figure imgf000030_0002
Mode definitions are as follows: 0: Bypass all decode processing, disable state machine 1 : Substitution mode 2: Insertion Mode 4: Insertion & Deletion Mode All other values: Bypass all decode processing, disable state machine
The decoder 2 mode registers (Read/Write) appear at Address: OxOE and are configured as follows:
Figure imgf000030_0003
Mode definitions are as follows: 0: Bypass all decode processing, disable state machine
1 : Substitution mode
2: Insertion Mode
4: Insertion & Deletion Mode
All other values: Bypass all decode processing, disable state machine
The Decoder 3 mode register (Read/Write) is at Address: OxOF and is configured as follows:
Figure imgf000031_0001
Mode definitions are as follows:
0: Bypass all decode processing, disable state machine
1 : Substitution mode
2: Insertion Mode
4: Insertion & Deletion Mode All other values: Bypass all decode processing, disable state machine
The Decoder 4 Mode Register (Read/Write) appears at Address: 0x10 and is configured as follows:
Figure imgf000031_0002
Mode definitions are as follows:
0: Bypass all decode processing, disable state machine
1 : Substitution mode
2: Insertion Mode
4: Insertion & Deletion Mode All other values: Bypass all decode processing, disable state machine
The Decoder 5 mode register (Read/ Write) appears at Address: 0x11 and is configured as follows:
Figure imgf000032_0001
Mode definitions are as follows: 0: Bypass all decode processing, disable state machine 1 : Substitution mode 2: Insertion Mode 4: Insertion & Deletion Mode All other values: Bypass all decode processing, disable state machine
The Decoder 6 mode register (Read/ Write) is at Address: 0x12 and is configured as follows:
Figure imgf000032_0002
Mode definitions are as follows:
0: Bypass all decode processing, disable state machine
1 : Substitution mode
2: Insertion Mode
4: Insertion & Deletion Mode
All other values: Bypass all decode processing, disable state machine
The Decoder reset register (Write) is located at Address: 0x13 and is configured as follows:
Figure imgf000033_0001
There is one error case identified (illegal state transition). This error is a unique error and is in addition to MPEG transport layer errors like continuity count, transport error, etc. Error_IRQn is the detection of two adjacent shadow packets without an intervening legacy packet, with n representing the number of the specific decoder. Depending upon the setting of the decoder specific variable queue_on_error, two different operations can occur. If the variable is set to true, the decoder will process the second shadow packet (PID = B) as in the non-error case. If the variable is set to false, the second shadow packet is discarded.
In some instances, content that is to be replaced is placed on packet boundaries. Since some information may not fit neatly within the boundaries of a packet, some additional content, which is not specifically the content of interest may need to be duplicated to fill up the packet. In other cases, the packet can simply be filled with null bytes (e.g., all zeros). A typical video slice contains approximately 3 to 8 packets depending upon how much intra-coded data is present. It is noted that some decoders may have difficulty with multiple slices on a single video line even though the MPEG2 specification allows for this. It is also noted that there may be ending problems encountered if the substituted content is referenced from future frames. However, this can be resolved by establishing a rule that says that the substituted content cannot be referenced by past frames. This is due to the possibility that the content may be different depending upon the choice made by a customer or the set top box. Reference to future frames might be allowed if the reference is all contained within the substitute content. Also, since the encoder uses a specified set of quantization tables, substitute content should be processed using the same quantization table so that correct decoding can take place. The present content substitution can be carried out either on line or off line depending upon the application, without limitation.
A decoder such as the above can be incorporated within a television STB or other television receiver and can be used to provide the end user with content substitution capabilities controlled either by the user or by the MSO. Referring now to FIGURE 12, an exemplary system configuration for a digital television Set-top box 600 is illustrated. Many configurations for such a STB are possible and the STB illustrated should only be considered as exemplary of such a STB configuration. In this exemplary set-top box, the transmission medium 604, such as a coaxial cable, is coupled by a suitable interface to a tuner 608. Tuner 608 may, for example, include a broadcast in-band tuner for receiving video content. A separate tuner (not shown) may be provided to receive conventional RF broadcast television channels. Modulated information formatted, for example, as MPEG-2 information is then demodulated at a demodulator 610. The demodulated information at the output of demodulator 610 is provided to a PID decoder / demultiplexer / descrambler circuit 614 where the information is separated into discrete channels of programming. The programming is divided into packets, each packet having a PID that identifies the packet as containing a particular type of data (e.g., audio, video, data) relating to a particular program. The PID decoder / demodulator / descrambler circuit 614 also decrypts encrypted information in accordance with a decryption algorithm to prevent unauthorized access to programming content, for example. The PID decoder portion of 614 can operate in a manner similar to that of the decoder described by the stated diagram of FIGURE 8 under program control to select content having a particular PID as will be described later.
Audio packets from the demultiplexer 614 (those identified with an audio PID) are decrypted and forwarded to an audio decoder 618 where they may be converted to analog audio to drive a speaker system (e.g., stereo or home theater multiple channel audio systems) or other audio system 622 (e.g., stereo or home theater multiple channel amplifier and speaker systems) or may simply provide decoded audio out at 626. Video packets from the demultiplexer 614 (those identified with a video PID) are decrypted and forwarded to a video decoder 630. In a similar manner, data packets from the demultiplexer 614 (those identified with a data PID) are decrypted and forwarded to a data decoder 634.
Decoded data packets from data decoder 634 are sent to the set-top box's computer system via the system bus 634. A control computer 644 can thus access the decoded data from data decoder 634 via the system bus 638 as well as programs and data in memory 646. Video data decoded by video decoder 630 is passed to a graphics processor 648, which is a computer optimized to processes graphics information rapidly. Graphics processor 648 is particularly useful in processing graphics intensive data associated with Internet browsing, gaming and multimedia applications such as those associated with MHEG (Multimedia and Hypermedia information coding Experts Group) set-top box applications. It should be noted, however, that the function of graphics processor 648 may be unnecessary in some set- top box designs having lower capabilities, and the function of the graphics processor 648 may be handled by the control computer 644 in some applications where the decoded video is passed directly from the demultiplexer 614 to a video encoder. Graphics processor 648 is also coupled to the system bus 638 and operates under the control of control computer 644.
Many set-top boxes such as STB 600 may incorporate a smart card reader 140 for communicating with a so called "smart card," often serving as a Conditional Access Module (CAM). The CAM typically includes a central processor unit of its own along with associated RAM and ROM memory. Such smart card based CAMs are conventionally utilized for authentication of the user and authentication of transactions carried out by the user as well as authorization of services and storage of authorized cryptography keys. For example, the CAM can be used to provide the key for decoding incoming cryptographic data for content that the CAM determines the user is authorized to receive. STB 600 can operate in a bidirectional communication mode so that data and other information can be transmitted not only from the system's head end to the end user, or from a service provider to the end user ofthe STB 600, but also, from the end user upstream using an out-of-band channel. In one embodiment, such data passes through the system bus 638 to a modulator 652 through a diplexer forming part of tuner 604 and out through the transmission medium 604. This capability is used to provide a mechanism for the STB 600 and/or its user to send information to the head end (e.g., service requests or changes, registration information, etc.) as well as to provide fast outbound communication with the Internet or other services provided at the head end to the end user.
Set-top box 600 may include any of a plurality of I/O (Input/Output) interfaces represented by I/O interfaces 656 that permit interconnection of I/O devices to the set- top box 600. By way of example, and not limitation, a serial RS-232 port can be provided to enable interconnection to any suitable serial device supported by the STB 600's internal software. Similarly, communication with appropriately compatible devices can be provided via an Ethernet port, a USB (Universal Serial Bus) port, an IEEE 1394 (so-called firewire™ or i-link™) or IEEE 1394 wide port, or S-video port. An infrared interface 660 provides communication with a remote controller 666. Such interfaces can be utilized to interconnect the STB 600 with any of a variety of accessory devices such as storage devices, audio / visual devices, gaming devices (not shown), Internet Appliances 28, etc.
I/O interfaces 656 can also include a modem (be it dial-up, cable, DSL or other technology modem) having a modem port to facilitate high speed or alternative access to the Internet or other data communication functions. In one preferred embodiment, modem port 162 is that of a DOCSIS (Data Over Cable System Interface Specification) cable modem to facilitate high speed network access over a cable system, and port is appropriately coupled to the transmission medium 604 embodied as a coaxial cable. Thus, the STB 600 can carry out bidirectional communication via the DOCSIS cable modem with the STB 600 being identified by a unique IP address. The DOCSIS specification is publicly available. A PS/2 or other keyboard / mouse / joystick interface can be provided to permit ease of data entry to the STB 600. Such inputs provide the user with the ability to easily enter data and/or navigate using pointing devices. Pointing devices such as a mouse or joystick may be used in gaming applications. Of course, STB 600 also may incorporate basic video outputs that can be used for direct connection to a television set instead of (or in addition to) an IEEE 1394 connection. In one embodiment, the video output can provide composite video formatted as NTSC (National Television System Committee) video. In some embodiments, the video output can be provided by a direct connection to the graphics processor 648 or the demultiplexer / descrambler 614 rather than passing through the system bus 638 as illustrated in the exemplary block diagram. S-Video signals can be similarly provided without passing through the system bus 130 if desired in other embodiments.
The infrared interface 660 receives commands from an infrared remote control 666, infrared keyboard or other infrared control device. Although not explicitly shown, front panel controls may be used in some embodiments to directly control the operation of the STB 600 through a front panel control interface as one of the provided interfaces. Selected interfaces such as those described above and others can be provided in STB 600 in various combinations as required or desired. In one illustrative embodiment consistent with the present invention, the STB
600 can be utilized to control multiple content as in, for example, selection from multiple endings. In one such scenario, the main program content having a designated set of PIDS is played out in a normal manner until near the end of the program. At this point, the viewer is presented with a menu selection on screen from which one of a plurality of endings is presented. As a simple example, there may be three possible endings associated with three sets of PIDs as follows: 1) PID A - Boy gets girl, good guys win, 2) PID B - Girl dies, good guys win, and 3) PID C - Girl dies, bad guys win.
Using the remote controller 666 or any other suitable input mechanism, the viewer selects from the possible endings. A limited time may be provided to make this selection prior to a default ending being shown (e.g., a two minute pause in content to allow the selection of the ending). In response to the user's selection, control computer 644 programs PID decoder 614 to select the ending chosen by the user. After this pause, is completed, the programming continues with the PID decoder 614 making the appropriate PID remapping to cause the audio, data and video for the selected ending to be played. Thus, if the program is normally associated with PID A and the user selects ending three, packets bearing PID C will be remapped to PID A for playback. Thus, in this embodiment, the user can make selections for playback of a particular segment of content that is substituted for the normal content.
Accordingly, a decoder consistent with certain embodiments of the present invention has a receiver receiving data that represents content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content. A content decoder is configured to play content having the first PID. A controller determines that a substitution criterion has been met, and a PID mapper maps content having the second PID to the first PID so that the content originally having the second PID is played.
Thus, a method and apparatus for content substitution, consistent with certain embodiments of the present invention involves receiving data representing content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content. The content having the first PID is placed into a data stream. An initiation flag is received indicating initiation of a PID mapping operation. The content having the second PID is then mapped to the first PID and the mapped content is placed into the data stream. A termination flag is received indicating termination of the PID mapping operation at which point the process returns to placing content having the first PID into the data stream. The content substitution process can be used to replace advertisements, provide multiple plots, multiple endings, multiple views as well as other applications.
Those skilled in the art will recognize that the present invention has been described in terms of exemplary embodiments based upon use of a programmed processor (e.g., computer 300). However, the invention should not be so limited, since the present invention could be implemented using hardware component equivalents such as special purpose hardware and/or dedicated processors that are equivalents to the invention as described and claimed. Similarly, general purpose computers, microprocessor based computers, micro-controllers, optical computers, analog computers, dedicated processors and/or dedicated hard wired logic may be used to construct alternative equivalent embodiments of the present invention. Moreover, although the present invention has been described in terms of a general purpose personal computer providing a playback mechanism, the playback can be carried on a dedicated machine without departing from the present invention. Conversely, the present decoder has been described in terms of a state machine and such state machine can be implemented as either a hardware or software based state machine. Moreover, those skilled in the art will understand that the exact register configurations, PID protocols and other details described in connection with the above exemplary embodiment should not be considered limiting, but are presented by way of illustration.
Those skilled in the art will appreciate that the program steps and associated data used to implement the embodiments described above can be implemented using disc storage as well as other forms of storage such as for example Read Only Memory (ROM) devices, Random Access Memory (RAM) devices; optical storage elements, magnetic storage elements, magneto-optical storage elements, flash memory, core memory and/or other equivalent storage technologies without departing from the present invention. Such alternative storage devices should be considered equivalents.
The present invention, as described in embodiments herein, is implemented using a programmed processor executing programming instructions that are broadly described above form that can be stored on any suitable electronic storage medium or transmitted over any suitable electronic communication medium or otherwise be present in any computer readable or propagation medium. However, those skilled in the art will appreciate that the processes described above can be implemented in any number of variations and in many suitable programming languages without departing from the present invention. For example, the order of certain operations carried out can often be varied, additional operations can be added or operations can be deleted without departing from the invention. Error trapping can be added and/or enhanced and variations can be made in user interface and information presentation without departing from the present invention. Such variations are contemplated and considered equivalent.
Software code and/or data embodying certain aspects of the present invention may be present in any computer readable medium, transmission medium, storage medium or propagation medium including, but not limited to, electronic storage devices such as those described above, as well as carrier waves, electronic signals, data structures (e.g., trees, linked lists, tables, packets, frames, etc.) optical signals, propagated signals, broadcast signals, transmission media (e.g., circuit connection, cable, twisted pair, fiber optic cables, waveguides, antennas, etc.) and other media that stores, carries or passes the code and/or data. Such media may either store the software code and/or data or serve to transport the code and/or data from one location to another. In the present exemplary embodiments, MPEG compliant packets, slices, tables and other data structures are used, but this should not be considered limiting since other data structures can similarly be used without departing from the present invention.
While the invention has been described in conjunction with specific embodiments, it is evident that many alternatives, modifications, permutations and variations will become apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended that the present invention embrace all such alternatives, modifications and variations as fall within the scope of the appended claims.

Claims

What is claimed is:
1. A method of content substitution, comprising: receiving data representing content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content; initiating processing of content having the first PID; determining that a substitution criterion has been met; substituting content having the second PID for content having the first PID; and processing the substituted content.
2. The method according to claim 1, wherein the content comprises one of streamed data, a data file and a packaged medium containing a data file.
3. The method according to claim 1, carried out in a decoder forming a part of a television Set-top box.
4. The method according to claim 1, carried out in a hardware state machine.
5. The method according to claim 1, carried out in a programmed processor.
6. The method according to claim 1, wherein the substitution criterion is met as a result of receipt of a flag.
7. The method according to claim 1, wherein the substitution criterion is met as a result of an operator input.
8. The method according to claim 1, wherein the content is substituted on a packet for packet basis.
9. The method according to claim 1, wherein multiple packets of content are substituted for a single packet.
10. The method according to claim 1, wherein the processing comprises playing the content.
11. The method according to claim 1, wherein the substituting comprises using private signaling to select a unit of content with the second PID and discarding a unit of content with the first PID.
12. The method according to claim 1, wherein the substituting comprises using private signaling to select a unit of content on the second PID while receiving content with the first PID.
13. The method according to claim 1, wherein the substituting comprises using private signaling to select multiple units of content with the second PID while discarding units of content with the first PID.
14. The method according to claim 1, wherein the substituting comprises using private signaling to select multiple units of content with a second PID while receiving units of content with the first PID.
15. The method according to claim 1, wherein the substituting comprises using private signaling to switch from a mode of selecting multiple units of content with the second PID while discarding units of content with the first PID to a mode of selecting multiple units of content with the second PID while receiving content with the first PID.
16. The method according to claim 1, wherein the substituting comprises using private signaling to switch from a mode of selecting multiple units of content with the second PID and receiving multiple units of content with the first PID to a mode of selecting multiple units of content with the second PID while discarding units of content with the first PID .
17. The method according to claim 1, wherein a unit of content with the second PID is sent before a corresponding unit of content with the first PID.
18. The method according to claim 1, wherein a unit of content with the second PID is sent after a corresponding unit of content with the first PID.
19. The method according to claim 1, wherein substitution is initiated and terminated by private signaling forming part of an adaptation layer of packets in a data stream.
20. The method according to claim 19, wherein the adaptation layer is in a packet with the second PID.
21. The method according to claim 19, wherein the adaptation layer is in a packet with the first PID.
22. The method according to claim 19, wherein the adaptation layer is in a packet that is neither the second nor the first PID.
23. The method according to claim 1 , wherein the processing comprises playing back the content.
24. A computer readable medium storing instructions which, when executed on a programmed processor, carry out the content substitution method according to claim 1.
25. A method of content substitution, comprising: receiving data representing content, the data having at least primary and secondary packet identifiers (PIDs) associated with first and second portions of content; placing content having the primary PID into a data stream; receiving an initiation flag indicating initiation of a PID mapping operation; mapping content having the secondary PID to the primary PID and placing the mapped content into the data stream; receiving a termination flag indicating termination of the PID mapping operation; and continuing to place content having the primary PID into the data stream.
26. The method according to claim 25, carried out in a decoder forming a part of a television Set-top box.
27. The method according to claim 25, carried out in a hardware state machine.
28. The method according to claim 25, carried out in a programmed processor.
29. The method according to claim 25, wherein the substitution criterion is met as a result of receipt of a flag.
30. The method according to claim 25, wherein the substitution criterion is met as a result of an operator input.
31. The method according to claim 25, wherein the content is substituted on a packet for packet basis.
32. The method according to claim 25, wherein multiple packets of content are substituted for a single packet.
33. The method according to claim 25, wherein the substituting comprises using private signaling to select a unit of content with the secondary PID and discarding a unit of content with the primary PID.
34. The method according to claim 25, wherein a unit of content with the second PID is sent before a corresponding unit of content with the first PID.
35. The method according to claim 25, wherein a unit of content with the second PID is sent after a corresponding unit of content with the first PID.
36. The method according to claim 25, wherein substitution is initiated and terminated by private signaling forming part of an adaptation layer of packets in a data stream.
37. The method according to claim 36, wherein the adaptation layer is in a packet with the one ofthe primary PID and the secondary PID.
38. The method according to claim 36, wherein the adaptation layer is in a packet that has neither the secondary nor the primary PID.
39. A computer readable medium storing instructions which, when executed on a programmed processor, carry out the content substitution method according to claim 25.
40. A content substitution encoder, comprising: means for receiving input data representing main content; means for receiving input data representing substitution content; a packet identifier (PID) mapper that assigns a primary PID to the main content and assigns a secondary PID to the substitution content; a private data generator that generates user private data that identifies the main content by the primary PID and substitution content by the secondary PID; and means for assembling the private data, the main content mapped to the primary PID and the substitution content mapped to the secondary PID into a data stream.
41. The content substitution encoder according to claim 40, implemented using a programmed computer.
42. A decoder, comprising: a receiver receiving data that represents content, the data having at least first and second packet identifiers (PIDs) associated with first and second portions of content; a content decoder configured to play content having the first PID; a controller that determines that a substitution criterion has been met; and a PID mapper that maps content having the second PID to the first PID so that the content originally having the second PID is played.
43. The decoder according to claim 42, wherein the decoder resides in a television Set-top box.
44. The decoder according to claim 42, wherein the substitution criterion comprises a user selection to play the second portion.
45. The decoder according to claim 42, wherein the second portion of content represents one of an alternative advertisement, an alternative view, an alternative ending and an alternative plot.
PCT/US2003/010641 2002-04-16 2003-04-07 Content replacement by pid mapping WO2003090401A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR10-2004-7016518A KR20040098074A (en) 2002-04-16 2003-04-07 Content replacement by pid mapping
CA002480964A CA2480964A1 (en) 2002-04-16 2003-04-07 Content replacement by pid mapping
JP2003587051A JP2005525010A (en) 2002-04-16 2003-04-07 Replacement of contents by PID mapping
AU2003234690A AU2003234690A1 (en) 2002-04-16 2003-04-07 Content replacement by pid mapping
EP03728346A EP1495575A1 (en) 2002-04-16 2003-04-07 Content replacement by pid mapping

Applications Claiming Priority (16)

Application Number Priority Date Filing Date Title
US37287002P 2002-04-16 2002-04-16
US60/372,870 2002-04-16
US40967502P 2002-09-09 2002-09-09
US60/409,675 2002-09-09
PCT/US2002/039958 WO2003061288A1 (en) 2002-01-02 2002-12-13 Partial encryption and pid mapping
USPCT/US02/39958 2002-12-13
PCT/US2002/040054 WO2003059039A2 (en) 2002-01-02 2002-12-13 Time division partial encryption
PCT/US2002/040050 WO2003061289A1 (en) 2002-01-02 2002-12-13 Critical packet partial encryption
USPCT/US02/40050 2002-12-13
USPCT/US02/40054 2002-12-13
US10/319,066 2002-12-13
PCT/US2002/040051 WO2003061173A2 (en) 2002-01-02 2002-12-13 Elementary stream partial encryption
USPCT/US02/40051 2002-12-13
US10/319,066 US7765567B2 (en) 2002-01-02 2002-12-13 Content replacement by PID mapping
USPCT/US02/40045 2002-12-13
PCT/US2002/040045 WO2003065724A1 (en) 2002-01-02 2002-12-13 Decoding and decryption of partially encrypted information

Publications (1)

Publication Number Publication Date
WO2003090401A1 true WO2003090401A1 (en) 2003-10-30

Family

ID=29255764

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2003/010641 WO2003090401A1 (en) 2002-04-16 2003-04-07 Content replacement by pid mapping

Country Status (4)

Country Link
EP (1) EP1495575A1 (en)
AU (1) AU2003234690A1 (en)
CA (1) CA2480964A1 (en)
WO (1) WO2003090401A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006014153A (en) * 2004-06-29 2006-01-12 Nec Commun Syst Ltd Packet-error monitoring mpeg decoder, mpeg image transmitting system and mpeg image transmission method
EP1683339A2 (en) * 2003-11-12 2006-07-26 Sony Electronics Inc. Macro-block based content replacement by pid mapping
WO2006124468A2 (en) * 2005-05-12 2006-11-23 Scientific-Atlanta, Inc. Digital program mapping
US7512321B2 (en) * 2002-07-02 2009-03-31 Hitachi, Ltd. Video recording/playback system and method for generating video data capable of providing information for substituting an advertisement thereby
WO2009049005A1 (en) * 2007-10-11 2009-04-16 Scientific-Atlanta, Inc. Simultaneous access to media in a media delivery system
US20100189028A1 (en) * 2007-07-24 2010-07-29 Orbisat Da Amazonia Industria E Aerolevantamento S/A Method and system for broadcasting digital services
US8483078B2 (en) 2005-05-12 2013-07-09 Cisco Technology, Inc. Digital program management
US8590055B2 (en) 2006-02-15 2013-11-19 Samsung Electronics Co., Ltd. Method and apparatus for importing content having plurality of parts
US8978154B2 (en) 2006-02-15 2015-03-10 Samsung Electronics Co., Ltd. Method and apparatus for importing content having plurality of parts

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717814A (en) * 1992-02-07 1998-02-10 Max Abecassis Variable-content video retriever
US6005561A (en) * 1994-12-14 1999-12-21 The 3Do Company Interactive information delivery system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717814A (en) * 1992-02-07 1998-02-10 Max Abecassis Variable-content video retriever
US6005561A (en) * 1994-12-14 1999-12-21 The 3Do Company Interactive information delivery system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512321B2 (en) * 2002-07-02 2009-03-31 Hitachi, Ltd. Video recording/playback system and method for generating video data capable of providing information for substituting an advertisement thereby
KR101087273B1 (en) 2003-11-12 2011-11-29 소니 일렉트로닉스 인코포레이티드 Macro-block based content replacement by pid mapping
EP1683339A2 (en) * 2003-11-12 2006-07-26 Sony Electronics Inc. Macro-block based content replacement by pid mapping
EP1683339A4 (en) * 2003-11-12 2009-08-12 Sony Electronics Inc Macro-block based content replacement by pid mapping
JP4491290B2 (en) * 2004-06-29 2010-06-30 日本電気通信システム株式会社 Packet error monitoring type MPEG decoder, MPEG video transmission system, and MPEG video transmission method
JP2006014153A (en) * 2004-06-29 2006-01-12 Nec Commun Syst Ltd Packet-error monitoring mpeg decoder, mpeg image transmitting system and mpeg image transmission method
WO2006124468A3 (en) * 2005-05-12 2007-01-18 Scientific Atlanta Digital program mapping
WO2006124468A2 (en) * 2005-05-12 2006-11-23 Scientific-Atlanta, Inc. Digital program mapping
US8345677B2 (en) 2005-05-12 2013-01-01 Brian Crookes Digital program mapping
US8483078B2 (en) 2005-05-12 2013-07-09 Cisco Technology, Inc. Digital program management
US8978154B2 (en) 2006-02-15 2015-03-10 Samsung Electronics Co., Ltd. Method and apparatus for importing content having plurality of parts
US9147048B2 (en) 2006-02-15 2015-09-29 Samsung Electronics Co., Ltd. Method and apparatus for importing content having plurality of parts
US8590055B2 (en) 2006-02-15 2013-11-19 Samsung Electronics Co., Ltd. Method and apparatus for importing content having plurality of parts
US20100189028A1 (en) * 2007-07-24 2010-07-29 Orbisat Da Amazonia Industria E Aerolevantamento S/A Method and system for broadcasting digital services
WO2009049005A1 (en) * 2007-10-11 2009-04-16 Scientific-Atlanta, Inc. Simultaneous access to media in a media delivery system

Also Published As

Publication number Publication date
CA2480964A1 (en) 2003-10-30
EP1495575A1 (en) 2005-01-12
AU2003234690A1 (en) 2003-11-03

Similar Documents

Publication Publication Date Title
US7765567B2 (en) Content replacement by PID mapping
US7823174B2 (en) Macro-block based content replacement by PID mapping
US7882517B2 (en) Content replacement by PID mapping
CA2437018C (en) Selective encryption to enable multiple decryption keys
US7151833B2 (en) Selective encryption to enable trick play
CA2408232C (en) Method and apparatus for enabling random access to individual pictures in an encrypted video stream
US20030152224A1 (en) Video scene change detection
US20050102702A1 (en) Cablecard with content manipulation
EP2351365A1 (en) Multi-coded content substitution
KR100952820B1 (en) Partial encryption and pid mapping
KR100988435B1 (en) Apparatus and method for decrypting signals
KR100989015B1 (en) Decoding and decryption of partially encrypted information
WO2003090401A1 (en) Content replacement by pid mapping
CA2437025C (en) Selective encryption to enable trick play
KR100988992B1 (en) Elementary stream partial encryption

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 BZ CA CH CN CO CR CU CZ DE DK DM DZ EC 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 MZ NI NO NZ OM PH PL PT RO RU SC SD SE SG SK SL TJ TM TN TR TT TZ UA UG UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

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

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2480964

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2003728346

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1020047016518

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2003587051

Country of ref document: JP

WWP Wipo information: published in national office

Ref document number: 1020047016518

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 20038135655

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2003728346

Country of ref document: EP