Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PROGRAM BASED CACHING IN LIVE MEDIA DISTRIBUTION
Document Type and Number:
WIPO Patent Application WO/2014/105998
Kind Code:
A1
Abstract:
Live media distribution systems and methods enable scalable and efficient caching of live media content over computer networks. A live media backend generates video fragments for distribution to a content delivery network. The content may originally be streamed live by a live media source. The live media backend determines priority information for the video fragments and attaches a priority identifier to a data envelope for the video segments. The video fragments with the attached priority identifier are sent to a content delivery network. The content delivery network can access the attached priority identifier without analyzing the content of the video fragment to enable intelligent caching of video segments within the media distribution system.

Inventors:
TAKAHASHI EDUARDO S C (US)
Application Number:
PCT/US2013/077898
Publication Date:
July 03, 2014
Filing Date:
December 27, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MICROSOFT CORP (US)
International Classes:
H04N21/845; G06F17/30; H04N21/2187; H04N21/2343; H04N21/236
Domestic Patent References:
WO2011057560A12011-05-19
Foreign References:
US20110083037A12011-04-07
US20080163313A12008-07-03
US20120023254A12012-01-26
US20120195362A12012-08-02
US20030217091A12003-11-20
Other References:
GERARD FERNANDO ET AL: "DASH Evaluation Experiment #4: Delivery Format Addressing", 94. MPEG MEETING; 11-10-2010 - 15-10-2010; GUANGZHOU; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11),, no. M18012, 28 October 2010 (2010-10-28), XP030046602
KUN-LUNG WU ET AL: "Segment-based proxy caching of multimedia streams", PROCEEDINGS OF THE TENTH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB , WWW '01, 1 January 2001 (2001-01-01), New York, New York, USA, pages 36 - 44, XP055010125, ISBN: 978-1-58-113348-6, DOI: 10.1145/371920.371933
Download PDF:
Claims:
CLAIMS

1. A computer readable storage medium having computer readable instructions for programming a processor to perform a method for distributing live media over a computer network, the method comprising:

receiving a live media stream;

generating a set of media fragments from the live media stream for distribution to a content delivery network;

determining priority information for the set of media fragments;

attaching priority identifiers to the media fragments of the set of media fragments based on the priority information; and

providing the set of media fragments with the priority identifiers to the content delivery network.

2. A computer readable storage medium according to claim 1, wherein:

determining priority information includes determining priority for each media fragment of the set of media fragments; and

attaching priority identifiers to the media fragments includes attaching a first priority identifier having a first value to a first media fragment of the set of media fragments and attaching a second priority identifier having a second value to a second media fragment of the set of media fragments.

3. A computer readable storage medium according to claim 2, wherein determining priority information for each media fragment includes:

determining a program corresponding to each media fragment;

determining popularity information associated with the program corresponding to each media fragment; and

generating a priority identifier for each media fragment based on the popularity information associated with a corresponding program.

4. A computer readable storage medium according to claim 3, wherein:

the method further comprises determining residency information associated with the program corresponding to each media fragment; and generating the priority identifier for each media fragment includes generating a popularity rating based on the popularity information and generating a residency rating based on the residency information.

5. A computer readable storage medium according to claim 1, wherein:

the method further comprises generating a data envelope for each media fragment of the set of media fragments and generating a cache control header for the data envelope of each media fragment; and

attaching priority identifiers to the media fragments includes attaching the priority identifiers to the cache control header of the data envelope for each media fragment.

6. A computer readable storage medium according to claim 5, wherein the method further comprises:

analyzing the set of media fragments for internal signals indicating changes in content in the live media stream;

determining a subset of media fragments from the set of media fragments that are associated with a first internal signal in the live media stream indicating lower priority content;

generating cache control tags indicating the lower priority content; and attaching the cache control tags to the cache control header of the data envelope for the subset of media fragments.

7. A computer readable storage medium according to claim 6, wherein:

the first internal signal is a digital program insertion signal;

the method further comprises determining that the subset of media fragments include an advertisement based on the digital program insertion signal; and

generating the cache control tags includes generating the cache control tags to indicate an advertisement in the subset of media fragments.

8. A live media distribution system, comprising:

at least one storage device including program information associated with media content and priority information associated with the program information; and a processor in communication with the at least one storage device, the processor executes computer readable instructions to receive a live media stream, generate a set of media fragments from the live media stream and a data envelope for each media fragment, determine program information for the set of media fragments, determine priority information for the set of media fragments based on the program information, and generate a control header for the data envelope of each media fragment including a priority identifier based on the priority information.

9. A live media distribution system according to claim 8, wherein the processor executes the computer readable instructions to:

determine a first target zone and a second target zone in a content delivery network for the set of media fragments;

determine first priority information based on the first target zone and second priority information based on the second target zone; and

generate the control header for the data envelope of each media fragment to include a first priority identifier based on the first priority information and a second priority identifier based on the second priority information.

10. A method of distributing live media over a computer network, comprising:

receiving a live media stream;

generating a set of media fragments from the live media stream for distribution to a content delivery network;

determining priority information for the set of media fragments;

attaching priority identifiers to the media fragments of the set of media fragments based on the priority information; and

providing the set of media fragments with the priority identifiers to the content delivery network.

Description:
PROGRAM BASED CACHING IN LIVE MEDIA DISTRIBUTION

BACKGROUND

[0001] The disclosed technology is related to live media distribution.

[0002] Live media distribution across computer networks has developed as a highly desirable form of providing content to users. Live media content originates from many different sources that often stream the content using network protocols to provide a seamless broadcast of the content at a client device. Although live media content is originally broadcast live, it may remain in a computer network for an extended period of time after its original broadcast. For example, live media may be streamed live and then stored for a short period of time in the system to facilitate personal or digital video recording functions over the network. Additionally, the live content may be stored for longer period of times to enable users to view the content after its original live broadcast.

[0003] To provide efficiency, scalability and PVR functionality, many distribution systems rely on chunking and caching between sources of live media and the client devices of users. These systems generally use large cache structures to provide the content to service user requests. Because of the large amounts of data that are generated by live sources, the caches are frequently updated as new content arrives. In many cases, older content is replaced with more recent content. This type of caching often results in potentially sub- optimal content being maintained in the system.

SUMMARY

[0004] Systems and methods for live media distribution are disclosed. A live media distribution system is provided that facilitates program and service level caching within the distribution system. A live media stream is divided into media fragments or chunks at a live ingest engine or server before being delivered to client devices through a content delivery network, for example. The live media stream may include video, audio text, and/or metadata in one example. The live ingest engine attaches priority information to the video segments to facilitate more efficient caching within the distribution chain. For example, the backend may attach a program based priority identifier to a cache control extension header for a data envelope such as a data packet for each video segment. The program based priority identifier can enable intelligent caching within the distribution system. The program based priority identifier can be used within the system to make cache decisions without requiring downstream program knowledge and processing by the CDN. By attaching an identifier to the data envelope, the system enables more intelligent caching while maintaining efficiency and reduced latency in the distribution chain. The ingest engine may utilize various sources to generate program based identifiers. External metadata such as program information and priority information from database and internal signals within a live media stream may be used.

[0005] One embodiment includes a live media distribution system including a live media backend. The live media backend includes a live ingest engine that receives live media streams. The live ingest engine generates media fragments from the live media streams. The live ingest engine communicates with a program database and priority database to determine program information and priority information for media content. The live ingest engine generates a control header for the data envelope of each media fragment including a priority identifier based on the priority information.

[0006] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a block diagram depicting a live media distribution system.

[0008] Figure 2 is a flowchart describing a method for generating video fragments with priority information.

[0009] Figure 3 is a block diagram depicting processing of a live video stream by a live ingest engine to generate video fragments with priority information.

[0010] Figure 4 is a block diagram depicting multi-level caching according to priority information.

[0011] Figure 5 is a block diagram depicting caching according to priority information by target zone.

[0012] Figure 6 is a flowchart describing a method of using internal signals to generate priority information for video fragments.

[0013] Figure 7 is a block diagram depicting processing of a live video stream by a live ingest engine to generate video fragments with priority information using internal signals.

[0014] Figure 8 is a flowchart describing a method of caching by a content delivery network using priority information.

[0015] Figure 9 is a block diagram of a computing system that can be used to implement components and perform methods of the disclosed technology. DETAILED DESCRIPTION

[0016] Live media distribution systems and associated methods are provided to enable scalable and efficient caching of live media content over computer networks. A live media backend is provided that generates video fragments or chunks for distribution to a content delivery network. The content may originally be streamed live by a live media source. The live media backend determines priority information for the video fragments and attaches a priority identifier to a data envelope for the video fragments. The priority identifier associates the video fragment with a caching characteristic; it is not a fragment or program identifier. The video fragments with the attached priority identifier are sent to a content delivery network. The content delivery network can access the attached priority identifier without analyzing the content of the video fragment and without knowledge of the program to enable intelligent caching of video fragments within the media distribution system. This provides a balance between a cache that is generally unaware of the value of the distributed content and one that seeks to parse and/or analyze the content itself.

[0017] The live media backend attaches a priority identifier to video fragments as header information in one embodiment. In this manner, the priority identifier can be accessed without analyzing the content in the video segment. A content delivery network, for example, may base cache strategy and replacement decisions on priority header information to quickly process video fragments. Accordingly, the video fragments can be processed without introducing undue latency into the live media distribution chain.

[0018] In one embodiment, the live media backend receives an encoded live media stream and generates individual video fragments for distribution within the computer network. The live video stream is analyzed at the live media backend to determine program or service level information associated with the content of the live media stream. The program level information may identify a unit of content such as a television show, movie, concert, for example. Service level information may identify a source of the content, such as a television station, producer, venue, etc. Using the program and/or service level information, the live media backend accesses priority information for the live media stream. For example, popularity or demographic information for the corresponding program or service may be determined. A priority identifier may also include residency time information or cache control tags to indicate potential cache operations. The live media backend attaches the priority identifier and/or tag to a data envelope for the video segment and sends the video segment to the CDN for distribution. The CDN accesses the priority identifier and tags to intelligently cache the video segment to service client requests for the video content. [0019] Figure 1 is a high level block diagram depicting a live media distribution system in which embodiments of the disclosed technology may be implemented. In Figure 1 , one or more client devices 140 are in communication with a content delivery network 130 to receive content such as a live media stream 122 from live media sources 120. A live media backend 102 is in communication with the content delivery network 130 to enable an efficient and scalable delivery of the live media sources 120 to the client devices. Although three live media sources and nine client devices 140 are illustrated, any number of client devices and media sources may be included in any given implementation.

[0020] Client devices 140 may include any type of device such as a personal computer, workstation, mainframe, server, tablet, PDA, cell phone, or other processor-based computing device. The client devices may be mobile devices or non-mobile devices. Mobile devices include cellular telephones, palmtops, pocket computers, personal digital assistants, personal organizers, personal computers (PCs), and the like. Embodiments can be used with any number of computer systems, such as desktop computers, other hand-held devices, laptop or notebook computer systems, multiprocessor systems, micro-processor based or programmable consumer electronics, network PCs, mini computers, main frame computers and the like. Reference to client devices is made hereinafter by example but it will be understood to include reference to computing devices in general except where noted.

[0021] The content delivery network 130 may include any number of servers and storage devices to provide video chunks from the live media backend to client devices 140. The content delivery network may implement a multi-level cache to temporarily store media fragments to reduce propagating requests to the original live media source after initial broadcast of the live media source. For example, the content delivery network can include any number of level 1 , level 2 and edge caches to efficiently store and provide content to the clients. Requests can be satisfied by the edge caches if the content is available and propagate through the level 1 and level 2 caches as needed. Additional cache levels may be used.

[0022] The live media sources 120 provide various type of media, including video, audio, documents, text, captions, metadata, groups of pictures and so forth. The live media may be provided in any available format for consumption by the live media backend 102. For example, the live media sources may include satellites, terrestrial broadcasters, internet broadcasters, cable providers and the like. The live media can include analog or digital signals in various types of encodings. The live media sources can include encoders that encode the live media into one or more encoding formats at various bit rates to satisfy various client requests. Live media sources 120 may provide video, for example, in formats according to .avi, .mpg, .mpeg, .mpeg2, .mov, etc. standards. Numerous other types of media sources may be received.

[0023] The live media sources, live media backend, content delivery network and client devices many communicate over any number of networks implementing various network protocols. These networks can include any combination of local area networks, wide area networks (WAN), the Internet, and/or any other network. Networks typically include at least one public network such as the Internet with the various components communicating using well know communication protocols such as HTTP, HTTPs, etc. The communication described herein and transmission of live media content can be accomplished using any number of well-known communication and network protocols. They can include a packet, cell, message, or signal used to ask for and receive resources. Some examples include the HTTP communication protocol over a TCP/IP network protocol, HTTPS over SSL, FTP, etc.

[0024] The live media streams may be provided using any number of transport mechanisms or broadcasts. By way of example, unicast or multicast transmission may be used. Unicast uses a one-to one connection between client and server and IP delivery methods such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), which are session-based protocols. Client have a direct relationship to the server. Multicast is a broadcast where the source uses multicast-enabled routers to forward packets to all client subnets that have listening clients. No direct relationship between the clients and server are established. Each client that receives the multicast generally adds no additional overhead by virtue of the server sending one stream per multicast station.

[0025] Live media backend 102 includes live media encoders 104 that receive live video content from the live media sources 120 and encode it for use by the media distribution system. The live media encoders may encode data from a live media stream 122 or other source to generate one or more encoded formats of the data for the live ingest engine 106. In this example, each encoder receives one live media stream 122 and provides one media stream 123 to the live ingest engine 106. In other examples, each encoder can generate multiple encoded formats in parallel from a single media stream or multiple media streams. For example, the encoders may receive the live media streams 122 in a first format and provide multiple different formats, for example with different bit rates, as outputs eventually available to client devices 140. [0026] The live ingest engine 106 may include one or more live ingest servers that ingest the encoder media streams. The live ingest engine 106 creates and stores media fragments based on the encoded media from the encoders. The media fragments may be generated on the fly as they are requested or prefetched and stored by the live ingest engine. The live ingest engine may receive pushed data, such as from an HTTP post from the encoders or via a pull by requesting data from the encoders. In one example, the live ingest engine may interface with origin servers that respond to client requests for media fragments. The ingest engine may generate a data envelope or packet for the requested media fragment, such as an HTTP packet or MP4 container.

[0027] Live ingest engine 106 creates a priority identifier for each media fragment to enable intelligent caching within the media distribution system. The priority identifier is attached to each media fragment by the ingest engine to permit processing within the distribution system without examining the data content of the media fragment. The ingest engine attaches the priority identifier to the media fragment as part of a header for the data envelope in one embodiment. For example, the ingest engine may attach the priority identifier as a header to an HTTP packet. The ingest engine may utilize an extension header of an HTTP format to enable a cache control header based on the priority identifier.

[0028] Live ingest engine interfaces with a program database 108 and priority database 110 to generate priority identifiers in one embodiment. The ingest engine can perform a lookup in the program database to identify a video segment based on a timestamp in the received media stream. Programs may include any discrete unit of media, such as television show, movie, music video, or simply a specific time period of a particular media stream. By correlating the received stream and timestamp, the ingest engine can perform a lookup to determine a corresponding program. Although a program database 108 is depicted as part of the live media backend 102, other sources may be utilized for program data.

[0029] Based on the program, the ingest engine 106 determines priority information from priority database 110. The priority database includes priority information organized by program in one example. In one example, the priority database stores a priority identifier or priority rating according to a predefined priority case. The priority information may include popularity information for programs or residency information directly relating to how long a program should be cached. The ingest engine can use the popularity information and/or the demographic information to generate a priority identifier for each video segment. In one example, the ingest engine can attach the popularity and demographic information to the data envelope directly as the priority identifier. In another example, the ingest engine can process the popularity and demographic information to generate an independent priority identifier for the video segment.

[0030] Various types of popularity data and demographic data can be used and storage by live media backend 102. The popularity data is a popularity rating on a predefined popularity scale in one embodiment. For example, a scale can be defined and the popularity data generated based on popularity information associated with a program. A popularity rating for a television series may be generated and used as the popularity data when looking up a particular live show from the series. Popularity data may also be organized at the service level. For example, popularity data can be provided for different stations, broadcasters, or other live media sources. Popularity data may further include popularity information for actors, music or other content that may be associated with a particular program. Demographic data can include geographic or other demographic data associated with users of client device 140. For example, information relating to popularity of programs by geographic area may be included. Demographic data can include popularity information divided into geographic and other groupings of users in other examples.

[0031] Although specific components and software modules are depicted, it will be apparent that numerous physical and software based configurations may be employed while remaining within the spirit of the present disclosure. Generally, software and program modules, managers and engines as described herein include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Hardware or combinations of hardware and software can be substituted for software modules as described herein.

[0032] Figure 2 is a flowchart describing processing of a live video stream by ingest engine 106 in one embodiment. At step 202, the ingest engine accesses a live video stream from a live video encoder 104. At step 204, the ingest engine generates video fragments as the live video stream is received from the encoder. At step 206, the ingest engine determines program information for the live video stream. The ingest engine may access a program database or other metadata source to determine program information. In one embodiment, the ingest engine determines program information for each individual video fragment. The ingest engine may also determine program information for a range of video segments using a single lookup. At step 208, the ingest engine uses the program information as a lookup to determine priority information for each video segment. In one embodiment, the priority information includes popularity and/or demographic information organized by program. The priority information may include priority ratings, popularity ratings and/or residency time ratings. The ingest engine may correlate various popularity and demographic data as earlier described to determine the relevant information for a particular program. At step 210, the ingest engine generates a priority identifier based on the popularity and/or demographic data from step 208. In one embodiment, the ingest engine looks up a priority identifier based on the program. The priority identifier may include a popularity rating and/or demographic information in one example. In another example, the ingest engine processes the popularity and demographic information to generate the priority identifier. At step 212, the ingest engine attaches the priority identifier to the data envelope for the video fragment. For example, the ingest engine may generate and attach the priority identifier to a cache control header for an HTTP message. At step 214, the ingest engine provides the video fragment to the content delivery network.

[0033] Figure 3 is a high level block diagram depicting one embodiment of the live media backend and describing processing of an example live video stream. Live video encoder 104 generates a live media stream 123 including a live video stream at a target encoding and bit rate for consumption by the live ingest engine 106. The live video stream includes video fragments 150 that are passed to a cache hint tagging module 170 within the live ingest engine 106 for processing. The tagging module 170 analyzes the individual video fragments to generate an output media (video) stream 124 including video fragments with priority identifiers 160.

[0034] In the specifically described example, video fragments Tl to T2, T2 to T3 and T3 and T4 have been processed with an appended priority identifier 160 and video fragments T4 to T5, T5 to T6 and T6 to T7 are awaiting processing by the cache hint tagging module. Tagging module 170 accesses program database 108 to determine a program identifier to process video fragment T3 to T4. In this example, the tagging module correlates the time T3 to T4 as within the Tl to T500 time period in the guide data. From this information, program El is identified as corresponding to the content within time T3 to T4. The tagging module then uses program El as a lookup into the priority database. In this example, the priority database includes a popularity data and residency data. The popularity data includes a popularity rating PI and the residency data includes a residency rating Rl . A popularity scale of PI to P10 could be used where PI is the highest rating and P10 is the lowest rating. Similarly, a residency scale of Rl to R10 could be established where Rl includes the longest time period or residency for caching and R10 includes the shortest time period or residency for caching. Tagging module 170 then generates a priority identifier 160 that includes the popularity rating and residency rating from the priority database. As described earlier, the tagging module may alternatively generate a priority identifier based on processing of the popularity and residency ratings or other popularity and residency data.

[0035] Residency data may include information to indicate how long a video fragment should be cached or otherwise maintained in the media distribution system. A residency rating may be useful to enable beneficial caching of less popular content in one example. For example, more recent but less popular content may benefit from being cached over more popular but older content in some situations. More recently streamed content that is less popular content may be requested more than more popular but older content for some period of time after the more recently content is streamed. If cache decisions are based solely on popularity, the more recent content may not be cached. Residency data may be used to indicate that less popular but more recent content should be maintained over other content.

[0036] Figure 4 is a high level block diagram depicting caching by the content delivery network 130 in one embodiment. A live media stream 124 including a live video stream is delivered from the live media backend to the CDN 130. In this example, two video fragments 150 are depicted in the video stream. Video fragment Tl to T2 includes a priority identifier 160 with a popularity rating PI and video fragment T2 to T3 includes a priority identifier 160 with a popularity rating P2.

[0037] The CDN 130 in Figure 4 includes a multi-level cache structure with a level 2 cache 180 and edge cache 182. CDN 130 receives the live video stream and prioritizes video fragments 150 within the cache hierarchy according to their popularity ratings. Video fragments with a higher popularity rating PI are stored at the edge caches 182 closer to the client devices. Video segments with a lower popularity rating P2 are stored at the level 2 caches 180 further from the client devices.

[0038] Although not depicted, a residency rating can also be used to facilitate intelligent caching within the multi-level cache structure. Video segments with lower residency ratings can be stored at the level 2 caches while video segments with higher residency ratings can be stored at the edge caches. The popularity ratings and residency ratings can be used in various ways to facilitate caching within the multi-level structure. Combinations of the residency ratings and popularity ratings can be used to store segments at different levels of the cache. In one example, a video segment with a lower popularity rating and higher residency rating may be used to replace a video segment with a higher popularity rating but lower residency rating at the edge cache. The lower popularity rating, higher residency rating video segment may in turn be moved to the level 2 cache. Other options for manipulating the cache using the residency and popular ratings may be used. [0039] Figure 5 is a high level block diagram depicting caching by the content delivery network 130 using priority information by target zone in one embodiment. Live media stream 124 is delivered from the live media backend to the CDN 130. In this example, a single video fragment is illustrated after processing by the live media backend 102. The video fragment 150 includes three priority identifiers in this example corresponding to different zones within the CDN 130. The live ingest engine determines that for Zone 1, the priority information includes a popularity rating of P3. For Zone 2, it determines that the priority information includes a popularity rating of PI . For Zone 3, the live ingest engine determines that the priority information includes a popularity rating of P3 and additionally, a residency rating of R2. Accordingly, the ingest engine generates three different priority identifiers for each of the individual zones. Each priority identifier includes a target zone identifier Zl, Z2 or Z3. It is noted that the inclusion of three zones is merely by way of example. Any number of zones may be used. Additionally, the ingest engine may apply zone information if it is available and for zones where it is not it may simply use general priority information.

[0040] Figure 6 is a flowchart describing operation of the live ingest engine in one embodiment that exposes internal signals within a live video stream to facilitate intelligent caching within the media distribution system. The live ingest engine accesses a live video stream at step 302 and generates video fragments from the video stream at step 304. The video fragments are analyzed for internal signals at step 306. In one embodiment, the live ingest engine examines the video fragments for either embedded or exposed signals within the video stream. For example, the live ingest engine may detect signals indicating advertisements in a video stream. Such signals may be provided to facilitate advertisement replacement by local broadcasters, for example. These advertisements or time periods in the video stream are often referred to as local avails or local availability. The live ingest engine may detect digital program insertion (DPI) signals for example. One type of embedded program signaling that the ingest engine may detect is inline control signaling such as SCTE-35 or SCTE-30 messages that can be used for advertisement replacement.

[0041] At step 308, the live ingest engine determines whether any of the internal signals in the video stream indicate that the video segment may deserve more or less priority for caching in the media distribution system. For example, the ingest engine may determine from an internal signal indicating an advertisement or local avail that a video segment should be given lower priority, or the ingest engine may determine from an internal signal indicating source content for the video stream that a video segment should be given higher priority. For example, a signal indicating that an advertisement has ended may be used to give higher priority to subsequently received video segments.

[0042] If the video segment includes an internal signal indicating that the video stream may include less popular or lower priority content, the live ingest engine generates a cache control tag or other identifier at step 312. The cache control tag can expose the internal signal from the video stream directly to the CDN. This enables the CDN to intelligently cache and understand the content of the video segment without having to analyze the video content itself. The cache control tag can indicate to the CDN that the video segments correspond to a local avail or other advertisement. Although not illustrated, the live ingest engine may generate a priority identifier for a video segment based on the internal signal. This can be done in addition to generating the local availability tag at step 312. Additionally, the live ingest engine may generate a priority identifier based on the internal signal without generating the local availability tag at step 312. If the video segment does not include an internal signal indicating that the video stream may include less popular or lower priority content, the live ingest engine generates a priority identifier at step 310 as described in Figure 6. The priority identifier may include or be based on popularity data, demographic data, etc.

[0043] At step 314, the live ingest engine attaches the local availability tag from step 312 or the priority identifier from step 310 to the video segment data envelope. As earlier described, the live ingest engine may attach a priority identifier from step 312 in addition to or in place of the local availability tag. At step 316, the live ingest engine sends the video segment with the priority identifier and/or local availability tag.

[0044] Figure 7 is a high level block diagram depicting processing of internal signals by live ingest engine 106 in one embodiment. The live ingest engine receives a live media stream 123 with video segments 150. In this example, the video segments 150i and 1506 correspond to source content including a program E3 as the live ingest engine may determine from a program database. Other video segments 1502, 1503, 1504 and 150s are associated with an advertisement Local Al . The cache hint tagging module 170 detects an internal signal in video segment 150s. The internal signal indicates that an advertisement Local Al is beginning in the video stream. The signal indicates that the advertisement may be replaced with another advertisement by a local broadcaster or even the client itself, for example. Based on the internal signal, the live ingest engine determines that the corresponding video segments should be given less priority for caching in the media distribution system. The live ingest engine attaches a priority identifier P5 indicating a relative low caching priority for the video segments associated with the advertisement Local Al . The live ingest engine detects an internal signal in video segment 150 2 indicating that the advertisement has ended. Accordingly, the live ingest engine determines that the source content is again included. Accordingly, the live ingest engine will attach a priority identifier PI to video segment 150i. Although Figure 7 depicts a low popularity rating P5 for the video segments associated with the internal signals, a cache control or local availability tag can be generated as earlier described.

[0045] Figure 8 is a flowchart describing operation by the content delivery network in one embodiment to process video segments for caching. At step 402, the content delivery network 130 receives a video segment from the live media backend. At step 404, the CDN determines whether a priority caching mode is enabled. If the priority caching mode is not enabled, the CDN stores the video segment in the distribution system using default cache replacement techniques at step 406. For example, the CDN may replace the oldest item in the cache to enable the most recent item to be stored. Other default cache replacement techniques may also be used.

[0046] If the priority caching mode is enabled, the CDN accesses a cache control header of the data envelope for the video segment at step 408 to determine if the video segment includes any priority tags or identifiers. At step 410, the content delivery network determines if the extension header includes a cache control or local availability tag. If the extension header includes a cache control tag, the CDN determines that that video segment includes an advertisement. At step 412, the CDN determines that the video segment should not be cached. In other example, the CDN may choose to give the video segment lower priority at step 412 rather than not cache it.

[0047] If there is no cache control tag, the CDN determines if the extension header includes a priority identifier at step 414. If there is no priority identifier for the video segment, the CDN utilizes a default caching technique at step 416 to store the video segment in the media distribution system. If the video segment includes a priority identifier, the CDN determines the relative priority of the video segment (e.g. popularity and/or residency) at step 418. Using the popularity and/or residency rating, the CDN determines a relative priority for caching the video segment in the media distribution system relative to other video segments and their relative caching priority. At step 420, CDN stores the video segment in the cache structure according to the relative priority of the video segment. For example, the CDN may select a video segment having a lowest priority relative to the selected video segment and replace it with the selected video segment. [0048] With reference to Figure 9, an example system for implementing the various components of the described system and method may include a general purpose computing device. Computing device 1010 may be used to implement all or a portion of any of the components in Figure 1 , such as the live media backend, live media sources, CDN and client devices. The computing device may be used to implement servers or other computing machines for these components. The computing device 1010 is only one example of a suitable computing system and is not intended to suggest any limitation as to the scope of use or functionality of the presently disclosed subject matter. Neither should the computing device be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating system. In some embodiments the various depicted computing elements may include circuitry configured to instantiate specific aspects of the present disclosure. For example, the term circuitry used in the disclosure can include specialized hardware components configured to perform function(s) by firmware or switches. In other examples embodiments the term circuitry can include a general purpose processing unit, memory, etc., configured by software instructions that embody logic operable to perform function(s). In example embodiments where circuitry includes a combination of hardware and software, an implementer may write source code embodying logic and the source code can be compiled into machine readable code that can be processed by the general purpose processing unit. Since one skilled in the art can appreciate that the state of the art has evolved to a point where there is little difference between hardware, software, or a combination of hardware/software, the selection of hardware versus software to effectuate specific functions is a design choice left to an implementer. More specifically, one of skill in the art can appreciate that a software process can be transformed into an equivalent hardware structure, and a hardware structure can itself be transformed into an equivalent software process. Thus, the selection of a hardware implementation versus a software implementation is one of design choice and left to the implementer.

[0049] Components of computing device 1010 may include, but are not limited to, a processing unit 1020, a system memory 1030, and a system bus 1021 that couples various system components including the system memory to the processing unit 1020. The system bus 1021 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.

[0050] Computing device 1010 may include a variety of computer readable media. Computer readable media can be any available media that can be accessed by computing device 1010 and includes both volatile and nonvolatile media, removable and nonremovable media. By way of example, and not limitation, computer readable media may comprise computer readable storage media and communication media. Computer readable storage media includes volatile and nonvolatile, as well as removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer readable storage media includes, but is not limited to, random access memory (RAM), read only memory (ROM), EEPROM, flash memory or other memory technology, CD-ROMs, digital versatile discs (DVDs) or other optical disc storage, magnetic cassettes, magnetic tapes, magnetic disc storage or other magnetic storage devices, or any other medium which can be used to store the information and which can be accessed by computing device 1010. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as RF and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.

[0051] The system memory 1030 includes computer storage media in the form of volatile and/or nonvolatile memory such as ROM 1031 and RAM 1032. A basic input/output system (BIOS) 1033, containing the basic routines that help to transfer information between elements within computing device 1010, such as during start-up, is typically stored in ROM 1031. RAM 1032 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 1020. By way of example, and not limitation, Figure 9 illustrates operating system 1034, application programs 1035, other program modules 1036, and program data 1037.

[0052] The computing device 1010 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, Figure 9 illustrates a hard disc drive 1041 that reads from or writes to non-removable, nonvolatile magnetic media and a magnetic disc drive 1051 that reads from or writes to a removable, nonvolatile magnetic disc 1052. Computing device 1010 may further include an optical media reading device 1055 to read and/or write to an optical media.

[0053] Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, DVDs, digital video tapes, solid state RAM, solid state ROM, and the like. The hard disc drive 1041 is typically connected to the system bus 1021 through a non-removable memory interface such as interface 1040. Magnetic disc drive 1051 and optical media reading device 1055 are typically connected to the system bus 1021 by a removable memory interface, such as interface 1050.

[0054] The drives and their associated computer storage media discussed above provide storage of computer readable instructions, data structures, program modules and other data for the computing device 1010. In Figure 9, for example, hard disc drive 1041 is illustrated as storing operating system 1044, application programs 1045, other program modules 1046, and program data 1047. These components can either be the same as or different from operating system 1034, application programs 1035, other program modules 1036, and program data 1037. Operating system 1044, application programs 1045, other program modules 1046, and program data 1047 are given different numbers here to illustrate that, at a minimum, they are different copies.

[0055] A user may enter commands and information into the computing device 1010 through input devices such as a keyboard 1062 and a pointing device 1061, commonly referred to as a mouse, trackball or touch pad. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 1020 through a user input interface 1060 that is coupled to the system bus 1021, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A monitor 1091 or other type of display device is also connected to the system bus 1021 via an interface, such as a video interface 1090. In addition to the monitor, computers may also include other peripheral output devices such as speakers 1097 and printer 1096, which may be connected through an output peripheral interface 1095.

[0056] The computing device 1010 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 1080. The remote computer 1080 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computing device 1010, although only a memory storage device 1081 has been illustrated in Figure 9. The logical connections depicted in Figure 9 include a local area network (LAN) 1071 and a wide area network (WAN) 1073, but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.

[0057] When used in a LAN networking environment, the computing device 1010 is connected to the LAN 1071 through a network interface or adapter 1070. When used in a WAN networking environment, the computing device 1010 typically includes a modem 1072 or other means for establishing communication over the WAN 1073, such as the Internet. The modem 1072, which may be internal or external, may be connected to the system bus 1021 via the user input interface 1060, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computing device 1010, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation, Fig. 9 illustrates remote application programs 1085 as residing on memory device 1081. It will be appreciated that the network connections shown are exemplary and other means of establishing a communication link between the computers may be used.

[0058] Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. It is intended that the scope of the invention be defined by the claims appended hereto.