SELECTIVELY RECEIVING MEDIA CONTENT

Abstract
Disclosed are methods for associating size information with each chunk of a media presentation. This size information is sent to an end-user device. There are many ways to characterize the size of a chunk beyond simply giving the number of bytes in the chunk. Some embodiments send an approximation of the size or a relative size. In some embodiments, a server publishes a “reference” value for a media presentation and then, for each chunk, gives the size relative to that reference value. The device decides whether or not to download the chunk. The device might decide that it is unlikely that the next chunk can be downloaded in time. Then, to avoid the possibility of a video freeze, the device could request the next chunk at a lower resolution. In some situations, the device decides to request a completely different chunk or to not request any chunk at all.
Description
CROSS-REFERENCE TO RELATED APPLICATION

The present application is related to U.S. patent application (Motorola Docket Number CML07579), filed on an even date herewith.


FIELD OF THE INVENTION

The present invention is related generally to data-delivery systems and, more particularly, to systems that send or receive media presentations.


BACKGROUND OF THE INVENTION

More and more users are downloading more and more media presentations to more and more devices. (Here, “media presentations” generally include just about any kind of digital content, and, more specifically, sound, video, and interactive files.) These media presentations are often enormous, and downloading them can consume a significant amount of available bandwidth and battery power on the user's device.


In order to manage download requests, download servers often divide a large media presentation into consecutive “chunks” where each chunk represents, for example, a few seconds of video. When a user wishes to consume a media presentation, his device begins by requesting a “playlist” for the presentation from the download server. (Note that here “consume” is meant as a general term for any type of human interaction with a medium. It can include watching television, listening to radio, playing a computer game, talking or texting on a telephone, interacting with a web site, and the like. To simplify the present discussion, a media consumer is generally called a “user” or a “viewer,” even when his medium of choice does not have a visual portion.) The playlist includes a list of descriptions of the chunks into which the presentation is segmented on that server (including alternative resolutions). With the playlist in hand, the user's device asks the server to download the first chunk of the presentation. While the user is viewing the first chunk, his device attempts to “keep ahead” of the user's viewing (and thus avoid “video freeze”) by requesting subsequent chunks of the presentation. The chunks are received and buffered on the user's device so that the user can continue to view the media presentation while subsequent chunks are still being delivered.


It is, however, very common for a user to request a media presentation, begin viewing it, and then decide not to view the entire file. This wastes bandwidth and battery power on the user's device as chunks are sent that are never viewed. Also, the user may fast-forward (or skip) through parts of a media presentation looking for scenes of interest. (For example, the user may fast-forward through much of a soccer game looking for an interesting goal.) This fast-forwarding can also waste bandwidth because the presentation is often downloaded at a maximum possible resolution (unless otherwise specified) even though it would be perfectly acceptable to display to the user the fast-forwarded parts at a much lower resolution. (Of course, downloading a media presentation at low resolution saves significant bandwidth and battery power compared to downloading the same presentation at a higher resolution.)


BRIEF SUMMARY

The above considerations, and others, are addressed by the present invention, which can be understood by referring to the specification, drawings, and claims. According to aspects of the present invention, size information is associated with each chunk of a media presentation. This size information is sent to an end-user device which uses the size information to more intelligently manage resources when downloading the media presentation.


There are many ways to characterize the size of a chunk beyond simply giving the number of bytes in the chunk. To save bandwidth, some embodiments, rather than sending the actual size of a chunk, send an approximation of the size or a relative size. In some embodiments, a server publishes a “reference” value (e.g., the maximum bit rate) for a media presentation (at a given resolution) and then, for each chunk, gives the size (or percentage) relative to that reference value.


The end-user device may receive the size information as part of the playlist downloaded by the server, or the size of a given chunk can be included along with a previously downloaded chunk. The size information can also be provided by a third-party server. In some embodiments, the end-user device asks a server for size information for the next chunk, or for various chunks in the media presentation at a given resolution, or for various chunks at various resolutions.


With the chunk size information in hand, the end-user device decides whether or not to download the chunk. For example, the end-user device can continuously analyze the performance of its network link. Based on that analysis, the end-user device estimates how long it should take to download the next chunk, given the size of that chunk. The end-user device might decide that it is unlikely that the next chunk can be downloaded in time. Then, to avoid the possibility of a video freeze, the end-user could request the next chunk at a lower resolution (that is, with a smaller chunk-size). In some situations, the end-user device decides to request a completely different chunk or to not request any chunk at all.


In some embodiments, the end-user device bases its decision on the “importance” of the chunk as well as the size of the chunk.


Experiments show that by using chunk-size information, the end-user device can, in some situations, significantly decrease the chance of video freeze.





BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

Wile the appended claims set forth the features of the present invention with particularity, the invention, together with its objects and advantages, may be best understood from the following detailed description taken in conjunction with the accompanying drawings of which:



FIG. 1 is an overview of a representational environment in which the present invention may be practiced;



FIG. 2 is a generalized schematic of some of the devices shown in FIG. 1;



FIGS. 3
a and 3b together form a flowchart of a method for an end-user device to use (and, in some embodiments, to gather) importance information;



FIGS. 4
a and 4b together form a flowchart of a method for a server to provide media content and importance information;



FIG. 5 is a flowchart of a method for an edge server to use importance information for intelligent caching;



FIG. 6 is a chart illustrating variability in chunk sizes of a media presentation at a given resolution;



FIG. 7 is a flowchart of a method for using chunk-size information; and



FIGS. 8
a and 8b are graphs that show how intelligent use of chunk-size information can reduce video freeze.





DETAILED DESCRIPTION

Turning to the drawings, wherein like reference numerals refer to like elements, the invention is illustrated as being implemented in a suitable environment. The following description is based on embodiments of the invention and should not be taken as limiting the invention with regard to alternative embodiments that are not explicitly described herein.


Aspects of the present invention may be practiced in the representative communications environment 100 of FIG. 1. Connected together via any or all of the various known networking technologies 102 are servers such as a download server 104, a third-party server 106, and an edge server 108. (The functions of each of these server types are discussed below.) For ease of illustration, only one of each type of server 104, 106, 108 is shown, but multiples of each can exist and can work together, as discussed below.


The servers 104, 106, 108 provide, via the networking technologies 102, media-download and related services to end-user devices. One example of an end-user device is a cellular telephone 110. This telephone 110 communicates wirelessly to a wireless base station (not shown but known in the art) to access the public switched telephone network, the Internet, or other networks to access the services provided by the servers 104, 106, 108.


Non-wireless end-user devices are supported by “wireline” network technologies (e.g., fiber, wire, and cable) 112. For example, a set-top box 114 generally receives television programs and provides a user interface (e.g., an interactive program guide) for selecting and viewing content from the cable provider. A digital video recorder (not shown) can store programming for later viewing. Video content may be viewed on a television monitor 116. In some situations, a laptop computer 118 accesses web-based services either wirelessly or via the wireline network 112. A home gateway, kiosk, digital sign, or media-restreaming device (not shown) are other possible end-user devices.


(A media-restreaming device transfers content between disparate types of networks. For example, it receives content from a cable system 112 and then transmits that content over a local radio link such as WiFi to the cellular telephone 110. The media-restreaming device usually operates in both directions to carry messages between the networks. In some embodiments, aspects of the present invention are practiced by a media-restreaming device.)


Wireless and wireline network technologies generally support two-way traffic: Media content and related information are delivered to the end-user devices 110, 114, 116, 118, and download requests go “up” to the servers 104, 106, 108.



FIG. 2 shows the major components of a representative server 104, 106, 108 or end-user device 110, 114, 118. Network interfaces 200 send and receive media presentations, related information, and download requests. A processor 202 controls the operations of the device and, in particular, supports aspects of the present invention as illustrated in FIGS. 3 through 5, discussed below. The user interface 204 supports a user's (or administrator's) interactions with the device. Specific uses of these components by specific devices are discussed as appropriate below.


The method of FIGS. 3a and 3b illustrates aspects of the present invention as embodied in an end-user device such as the cellular telephone 110 of FIG. 1. The method of these figures is not restricted to the telephone 110, but is applicable, with certain implementation modifications as appropriate, to all end-user devices.


(Note that all of the flowcharts are primarily intended to support the following discussion. The “steps” in the flowcharts are, in some embodiments and in some situations, optional and may be performed in a different order, if at all.)


In step 300 of FIG. 3a, the end-user device 110 receives “importance” information about a chunk of a media presentation. Many types of information are gathered under the umbrella term “importance.” A first class of importance information indicates, to some extent, whether or not a given chunk is worth viewing. For example, an editor can review a video of a soccer game and tag those portions of the game that are, in the editor's opinion, more interesting than other portions. A viewer pressed for time may not wish to watch the entire game but may be interested in viewing only those chunks tagged as important.


Statistics can be gathered about how many people actually watch which portions of a media presentation. If, for example, a large percentage of users stop requesting chunks of a music video after the first few seconds, then it can be inferred that at least the remainder (and possible the entirety) of the music video should be tagged as “unimportant.” Of course, different tags can specify in great detail exactly what is meant by the importance tag. In this scenario, the tag could give the demographic statistics of viewership, and each chunk can be tagged with the estimated or conditional probability that a viewer from a certain demographic population will be interested in and will watch this chunk.


“Importance” is meant to be broadly defined and can include just about any information that the end-user device 110 may use (in step 308, discussed below) to decide whether or not to download this chunk or to decide how to handle or render the chunk (in steps 312 through 316 of FIG. 3b, discussed below). Thus, another type of “importance” is rating information: A chunk can be tagged for various types of potentially offensive content.


Other types of importance information are possible and are contemplated. (See, in particular, the discussion accompanying steps 302 through 306.)


It should be noted that although in the present discussion, “importance” information is usually associated with a given chunk, that need not always be strictly true. A chunk might contain ten seconds of video, and a rating tag may only apply to a few seconds within that chunk. The tag can tell the user the exact scope of the importance information.


The end-user device 110 may receive the importance information from a number of sources. In one embodiment, the end-user device 110 receives a “playlist” from the download server 104. (The playlist may also be called a “manifest” or a “media-presentation description.”) The playlist contains information (such as the number of chunks, playing time duration of each chunk, supported resolutions, and the like) about a media presentation. The playlist can include the importance information or can include links to other sources for importance information. Instead of, or in addition to, the playlist, the end-user device 110 may receive importance information from a third-party server 106. (Here, the server 106 is a “third party” whenever it is not the download server 104 or an edge server 108.) For example, the user may only trust ratings information provided by a certain “kid-friendly” source.


The example of the “kid-friendly” ratings source brings up a more general topic: Not all users will receive the same importance information for a given media presentation. The playlist sent by the download server 104 can be customized for a particular user or for a particular device. As above, demographic information can be gathered about how a media presentation is actually viewed. If possible, this information can be carefully compared to what is known about a particular user (based, for example, on a profile stored on the end-user device 110), and the importance information tailored appropriately. If the end-user device 110 requesting the chunks only has a low resolution screen, then the playlist can be tailored for lower-resolution versions of the media presentation. (Note that in the present discussion, “resolution” is used as a shorthand for any measure of a quality of presentation.) If the user profile indicates a rating limit, then chunks that do not fall within that limit may be sent in censored form or in an alternate form that removes the objectionable content. In some embodiments, the importance information is accompanied by information stating the group for which the importance information is appropriate. The end-user device 110 can then decide whether or not this particular importance information is of interest to it.


Steps 302 through 306 of FIG. 3a present a way to gather importance information that is very particularly customized to the local user of the end-user device 110. In step 302, the end-user device 110 can observe (via its user interface 204) how its user behaves when downloading media presentations. Over time, for example, the end-user device 110 might see that its user usually watches the entireties of taped baseball games but only watches the goals of soccer games. When the user chooses to start viewing another game, the end-user device 110, in step 304, can note the type of game and, based on previous observations, infer whether the entire game is important (baseball) or only the highlights are (soccer).


Many other types of local behavior can be observed and remembered or used in real time. A portion of the media presentation that is fast-forwarded through or skipped can be deemed to be of little importance to this user. Conversely, rewind and slow-motion playback mark a portion as being of special importance. If the user highlights or saves a scene, then it is even clearer that the user finds the scene to be important. Other interactions with the user interface 204 can be used to infer importance. For example, if the user brings up a menu of playback controls, that might indicate that the portion of the media presentation currently being viewed is of greater or lesser importance. In response, the current portion may be marked to be cached locally or a future portion may be downloaded at a lower resolution. Again, if the user increases the volume of playback, that might indicate that the current portion is of greater importance to the user. The potential for “real-time” use of these types of behavioral observations is discussed below in reference to steps 308 of FIG. 3a through step 316 of FIG. 3b.


In step 306, the end-user device 110 can, with the permission of its user, report its behavioral observations to a download server 104 or to a third-party server 106. These observations generated by the end-user device 110 are especially important because they can show what portions within a given chunk are deemed to be important and which are not. (Observations collected by the servers 104, 106 themselves are generally made on a chunk-by-chunk basis and cannot look “within” a chunk. See the discussion accompanying step 406 of FIG. 4a below.) The server 104, 106 can add these observations to a collection of demographic statistics. It may also remember the particular user associated with these observations and tailor future importance information accordingly (as by creating a customized playlist, discussed above).


In step 308, the end-user device 110 uses the importance information to decide whether or not to download the chunk. For example, based on either demographic information received from a server 104, 106, 108 or on observations of the local user, the end-user device 110 may decide that it can safely skip over this chunk and then either stop downloading or request an alternative chunk. (In some embodiments, the end-user device 110 presents its decision to skip a chunk to the local user. The local user is given the option of accepting or overriding the decision made by the end-user device 110.) If this chunk is desired, then the end-user device 110 requests it of a server 104, 108, and the server 104, 108 sends the requested chunk. Note that criteria other than importance may be used in the decision of step 308. For example, the end-user device 110 may note that its cache is running low, and thus to avoid a video freeze, it might request a subsequent chunk in low resolution (in order to get that chunk more quickly) even though that chunk is tagged as important and would normally be requested in high resolution. As another example, the end-user device 110 may use the importance information to download a first chunk with low importance at a low resolution so that there is enough time to download a second chunk with high importance at a high resolution without causing a video freeze.


(Note: There is some confusion in the art about the meaning of a “chunk” that is relevant here. Sometimes, a “chunk” is equated with a given time segment of a video presentation, regardless of the coding resolution of that time segment. That is to say, the first two-second segment is a “chunk” that can be encoded at different resolutions. Other times, each resolution of that first two-second segment is considered to be a different “chunk.” The present discussion uses both meanings (the meaning is always clear from the context), but the latter is used when precision is required. Therefore, the decision in step 308 can be to not download this “chunk,” but instead to download a different resolution version of the same segment of the media presentation.)


In some embodiments, the end-user device 110 can, in step 308, work directly with its local user. If the local user wants just the highlights of a media presentation, then the end-user device 110 can review the importance information for the entire presentation, set an importance threshold, make a highlights video containing only those chunks whose importance exceeds the threshold, and offer the highlights video to its local user. At the given importance threshold, the highlights video will run, say, for ten minutes. The local user can then adjust the threshold (possibly without knowing that a threshold is being used) to set the highlights video to a desired length. Thus, simply by applying the importance information, each user can create a highlights video according to his own specifications. A similar service can be provided by the download server 104.


Step 312 of FIG. 3b presents an example of the real-time use of local behavioral observations. If the end-user device 110 notes that its user has been fast-forwarding for a while, then the end-user device 110 may guess that its user will continue to fast-forward. Thus, the end-user device 110 can request the next chunk in low resolution. (Conversely, if the local user is viewing in slow-motion, then a very high resolution chunk can be requested.) If the local user is skipping ahead, then the end-user device 110 can also skip ahead and request a future chunk rather than requesting the very next chunk.


If the end-user device 110 knows that its user is usually interested only in the goals of a soccer game, then the end-user device 110 can, in step 314, request the chunks tagged as goal scenes, even requesting them in high resolution and out-of-order with respect to other chunks (e.g., non-goal scenes that the user is fast-forwarding through). The end-user device 110 can also delay requesting a chunk, waiting for more behavioral information from its user that will help the end-user device 110 to know whether or not that chunk should be requested. For example, if demographic statistics received from a server 104, 106, 108 indicate that the last N chunks of a presentation are not commonly viewed (i.e., viewers usually abort the presentation before the last N chunks are viewed), then the end-user device 110 can delay requesting a download of these chunks while observing the behavior of its local user. If that user does not abort the presentation but continues to watch beyond a certain point, then the end-user device 110 can request the remaining chunks. Alternatively, the end-user device 110 can download the N-th chunk at the lowest resolution possible and delay the download of further chunks until and if the local user starts and continues watching after a certain point of the N-th chunk.


Often, the end-user device 110 will have limited memory and cannot store the entire media presentation. The importance information can then be used by the end-user device 110 to know which chunks to cache because its user may go back and review them (e.g., goals) and which chunks can be discarded immediately after viewing (e.g., the rest of the game).


In step 316, the end-user device 110 renders the chunk to its user via the user interface 204. (In some situations the user interface 204 is used to actually render the chunk on another device, such as when the set-top box 114 renders to the television monitor 116.) Here, the end-user device 110 can use the importance information (often along with local user-interface settings) when deciding how to render this chunk. For example, the end-user device 110 can “pixelate” (a method of obscuring a digital image) to censor scenes tagged as visually offensive or can blur the audio to make offensive language unintelligible. Or, the end-user device 110 can clarify a scene normally obscured. (E.g., the chunk can be encoded to satisfy FCC broadcast standards, standards which need not be followed by the local user, and the end-user device 110 can remove the obscurities, possibly by consulting a third-party server 106 for additional information.) The end-user device 110 might also choose to anticipate its user's wishes by fast-forwarding or skipping to a scene presumably of interest to that user.


Note that the steps of FIGS. 3a and 3b are often repeated, sometimes out of order, during the download of a single media presentation. The behavioral observations gathered in step 302 of FIG. 3a can become more precise and thus more valuable as the user proceeds to view the media presentation. At any time, a server 104, 106, 108 can send updated importance information (e.g., a new, possibly customized, playlist) in step 300.


The method of FIGS. 3a and 3b improves the odds that only what will be of use to the local user is actually downloaded rather than previous methods that simply started downloading everything. Thus, this method can save both bandwidth and battery power for the end-user device 110.


Some embodiments of the present invention provide benefits even if the servers 104, 106, 108 are not enhanced in any way over the known art. (That is, the end-user device 110 only has access to the importance information that it can infer from observations of its user's behavior in step 302 of FIG. 3a.) However, embodiments in which the servers 104, 106, 108 are enhanced to deliver more importance information provide clear advantages.



FIGS. 4
a and 4b provide an example of such an enhanced server 104. In step 400 of FIG. 4a, the server 104 collects importance information and associates that information with chunks of a media presentation. As discussed above in the text accompanying FIG. 3a, this information may be supplied by an editor (human or electronic) (step 402), may include demographic statistics, may be received from the end-user device 110 itself (step 404), and may be stored on the download server 104 itself or may be stored on a third-party server 108. In addition, the download server 104 can observe itself (step 406) and see what chunks are requested, how often, etc., and can infer its own estimate of importance. (These observations are parallel to the other gathered demographic statistics.)


In some embodiments of step 408, the server 104 sends at least some importance information (or links to importance information stored elsewhere) to a client device. (The end-user device 110 is one type of client device, but there are others, as discussed below.) The importance information may be included in a playlist, either generic or customized, as discussed above. In other embodiments of step 408, the server 104 does not actually send the importance information but instead creates and sends a customized playlist based on the importance information. A customized playlist might include only those chunks that meet the appropriateness criteria of a user profile stored on the end-user device 110 or might include substitute, non-objectionable, chunks for those chunks deemed objectionable. Note that step 408 can be repeated during the download of a media presentation as updated importance information becomes available.


In some embodiments, an alternative step 408 can be used with legacy end-user devices 110. These are devices that do not know about importance information. The server 104, knowing the limitations of this particular end-user device 110, can, instead of sending out importance information that will simply be ignored, use the importance information to tailor a version of the playlist for this particular end-user device 110. The results as perceived by the user of the end-user device 110 will roughly approximate the results obtainable by an end-user device 110 that is fully cognizant of the importance information.


In steps 410 and 412, the server 104 receives a request for a chunk from a client device and fulfills that request by downloading the requested chunk. Most systems today are “pull” systems where the client device actually makes the decision about what to download (in step 308 of FIG. 3a), and the server 104 just does as it is told. However, “push” systems are possible where the server 104 has more control over what chunks are downloaded. Aspects of the present invention can be easily modified by one of ordinary skill in the art to apply to push systems, when that becomes desirable.


In some situations, the gathered importance information can lead the server 104 to decide that the present chunking is not the most efficient. For example, it may be discovered that half of a ten-second chunk is very important, but the other half is rarely viewed. This leads to inefficiencies because most (but not all) current systems can only download on a chunk-by-chunk basis and cannot deliver only part of a chunk. To alleviate this inefficiency, the server 104 can, in step 414 of FIG. 4b, “rechunk” the media presentation so that each new chunk has a relatively constant level of importance throughout that chunk. (Of course, that is only one consideration, and there comes a point at which rechunking would produce inefficiencies of its own that outweigh the advantages.) In another example, some download protocols recommend that a specific number of chunks at the beginning of a media presentation always be downloaded. Based on demographics, the server 104 can rechunk the beginning of a presentation so that the required number of chunks corresponds to what users usually watch. When the importance information is collected by the server 104 and is therefore based on observations collected on a chunk-by-chunk basis, the server 104 can improve the chunking of the presentation through an evolutionary approach in which it attempts different chunking alternatives at different times and chooses the most efficient chunking alternative. As an example, the server 104 starts with chunking alternatives that involve shorter chunks and then aggregates the chunks until a certain criterion of relative importance is met.


Similar to the situation in step 414, the server 104 may, in step 416, decide that a whole new version of the media presentation (or parts of the media presentation) should be provided at a new resolution. That is, scenes often subject to extensive fast-forwarding or skipping may be recoded to make them available at a low resolution, while oft-viewed scenes may be provided at a high resolution.


As with the method of FIGS. 3a and 3b, the method of FIGS. 4a and 4b is often repeated, with some steps out-of-order or skipped.


For the sake of clarity, the discussion of the method of FIGS. 4a and 4b focuses on the download server 104. Much of this method can also be applied to a third-party server 106. The third-party server 106 can gather importance information (steps 400, 402, and 404), can infer importance from its own downloads (step 406) (even though the third-party server 106 is downloading importance information rather than media content), and send (possibly updated or customized) importance information to client devices (step 408).


In reference to step 408 of FIG. 4a, it is mentioned that the server 104 can download to client devices other than the end-user device 110. In particular, the server 104 can download media content and importance information to an “edge” server 108 (also called an “edge proxy” server). Edge servers 108 are often provided to ease download congestion from the servers 104. The servers 104 send popular media content to the edge servers 108 which in turn respond directly to the download requests of end-user devices 110 (step 310 of FIG. 3a). When a request is made for content not currently cached on the edge server 108, either the request is passed along to a download server 104, or the edge server 108 retrieves the content from the download server 104 and then fulfills the request.


In accordance with aspects of the present invention, FIG. 5 presents a simplified method usable by an edge server 108. It should be noted that some embodiments of the present invention work perfectly well with the edge servers 108 already known in the art. On the one hand, step 500 summarizes the role of the edge server 108 with respect to the end-user device 110. That is, the edge server 108 acts like a download server 104 (and even, in some embodiments, like the third-party server 106) to provide content to the end-user device 110. Thus, the edge server 108 can perform the steps of the server method as illustrated in FIGS. 4a and 4b.


On the other hand, step 502 summarizes the role of the edge server 108 with respect to download servers 104 (and, in some embodiments, with respect to third-party servers 106). That is, the edge server 108 can perform the steps of the end-user device method as illustrated in FIGS. 3a and 3b. (In general, an edge server 108 does not directly support a local user, so it is unlikely that the edge server 108 will ever perform step 316 of FIG. 3b).


The edge server 108 does not perform entirely at the whim of the servers 104, 106 and of the end-user device 110. In step 504, the edge server 108 can use importance information (either given to it or inferred by it) to decide which chunks to “pre-cache,” that is, which chunks to request from the download server 104 and store even before they are requested by an end-user device 110. For example, it can be decided up front that the highlights of a championship game are going to be pretty popular download targets. Then, rather than waiting for the first requests from end-user devices 110 to come in, the edge server 108 can store these highlights immediately, thus making its response to the first requests quicker than if it had to retrieve the highlights only upon the first request.


Similarly, in step 506, the edge server 108 can use importance information and can also observe the download behavior it is seeing and decide which chunks are popular enough to keep in its somewhat limited cache (and, conversely, which chunks can be deleted to make room for others). Note that this decision can be made independent of, and even counter to, the demographic statistics gathered by the download server 104 and third-party server 106. That is because the edge server 108 is seeing a more localized population whose tastes may differ from those of the more general population seen by the servers 104 and 106.


Some embodiments of the present invention use chunk-size information in addition to, or instead of, importance information to increase the efficiency of downloads. Because the chunks that make up a media presentation are generally all of the same play length (e.g., each chunk represents two seconds of the presentation), one might think that all of the chunks contain the same number of bytes (for a given resolution, of course). That assumption is, however, often not true because the encoding efficiency can vary throughout the presentation due to changes in the complexity of the scene being viewed and how rapidly the scene is changing. FIG. 6 illustrates this variance of encoding efficiency with statistics taken from an actual video clip. Paying attention only to “Gear 5” (the highest resolution illustrated in FIG. 6), the figure shows that chunk 7 actually needs 45% more bytes than chunk 6 to encode the same temporal amount of the video clip.


While this variance in encoding efficiency has long been known in the art, end-user devices have not been able to intelligently handle the variance. Prior-art end-user devices had to assume that all of the chunks in one media presentation are of the same size (for a given resolution). It is quite possible that when an upcoming chunk is much larger than the assumed size (e.g., chunk 7 of FIG. 6), the end-user device's input buffers will run “dry” before the chunk is fully loaded, leading to video freeze.



FIG. 7 presents a method to avoid at least some of these video-freeze situations. In step 700, a server 104, 106, 108 sends chunk-size information to the end-user device 110. The chunk-size information can be encoded in the playlist, for example, or included with initial metadata associated with the media presentation, or the size of a given chunk can be included along with a previously downloaded chunk. In some situations, the server 104, 106, 108 is acting in response to an explicit request for chunk-size information sent by the end-user device 110. For example, the end-user device 110 can send an HTTP HEAD command requesting size information for the next chunk, or for various chunks in the media presentation at a given resolution, or for various chunks at various resolutions. To save bandwidth, some embodiments, rather than sending the actual size of a chunk, send an approximation of the size or a relative size. In some embodiments, the server 104, 106, 108 publishes a “reference” value (e.g., the maximum bit rate) for a media presentation (at a given resolution) and then, for each chunk, gives the size (or percentage) relative to that reference value.


In step 702, the end-user device 110 reviews the chunk-size information. For example, the end-user device 110 can continuously analyze the performance of its network link. Based on that analysis, the end-user device 110 can estimate how long it should take to download the next chunk, given the size of that chunk. The end-user device 110 can decide that it is unlikely that the next chunk can be downloaded in time. Then, to avoid the possibility of a video freeze, the end-user device 110 could, in step 704, request the next chunk at a lower resolution (that is, with a smaller chunk-size). In some situations, the end-user device 110 may decide to request a completely different chunk or to not request any chunk at all.


In some situations, the chunk-size information and the importance information are both available to the end-user device 110 which can use both types of information to decide what to do in step 702.


If in step 704, the end-user device 110 requests a chunk, then the server 104, 106, 108 provides that chunk in step 706.



FIGS. 8
a and 8b present experimental results. In FIG. 8a, a prior-art end-user device does not have access to actual chunk-size information and, in consequence, endures a video freeze ratio of 0.02. In FIG. 8b, an end-user device 110 acting according to aspects of the present invention uses the provided chunk-size information to reduce the video freeze ratio to only 0.01.


In view of the many possible embodiments to which the principles of the present invention may be applied, it should be recognized that the embodiments described herein with respect to the drawing figures are meant to be illustrative only and should not be taken as limiting the scope of the invention. For example, aspects of the present invention may be particularly useful in adaptive-streaming environments, but the invention is not limited to these environments. Aspects of the present invention are not limited to any particular implementing data-networking protocols or to particular server and end-user device deployments. Therefore, the invention as described herein contemplates all such embodiments as may come within the scope of the following claims and equivalents thereof.

Claims
  • 1. A method for an end-user device to receive media content, the method comprising: receiving, by the end-user device, size information for a chunk of a media presentation;deciding, by the end-user device, whether or not to request the chunk of the media presentation, wherein the deciding is based, at least in part, on the size information for the chunk of the media presentation; andupon deciding to request the chunk of the media presentation: sending, by the end-user device, a request for the chunk of the media presentation; andreceiving, by the end-user device, the requested chunk of the media presentation.
  • 2. The method of claim 1 wherein the end-user device is selected from the group consisting of: a mobile telephone, a set-top box, a digital video recorder, a personal computer, a home gateway, a media-restreaming device, a kiosk, and a digital sign.
  • 3. The method of claim 1 wherein receiving the size information comprises an element selected from the group consisting of: receiving a playlist from a server, receiving size information from a server, receiving the size information in association with a previously downloaded chunk, and receiving the size information from previously downloaded metadata associated with the media presentation.
  • 4. The method of claim 1 wherein the size information for the chunk comprises an element selected from the group consisting of: a number of bytes in the chunk, an approximation of a number of bytes in the chunk, and a relative size of the chunk with respect to other chunks.
  • 5. The method of claim 1 wherein the size information for the chunk comprises: a reference value common to a plurality of chunks of the media presentation; anda difference value for the chunk relative to the reference value.
  • 6. The method of claim 5: wherein the reference value comprises a maximum bit rate; andwherein the difference value is selected from the group consisting of: a quantized approximation and an index value for a quantized approximation.
  • 7. The method of claim 1 wherein the deciding is further based, at least in part, on an estimated amount of time required to download the chunk.
  • 8. The method of claim 1 further comprising: upon deciding not to request the chunk of the media presentation: sending, by the end-user device, a request for an alternative chunk of the media presentation, the alternative chunk encoded at a rate different from that of the original chunk; andreceiving, by the end-user device, the requested alternative chunk of the media presentation.
  • 9. The method of claim 1 further comprising: upon deciding to request the chunk of the media presentation, rendering, by the end-user device, the chunk, the rendering comprising an action selected from the group consisting of: pixelating at least a portion of the chunk, obfuscating at least a portion of the chunk, unobfuscating at least a portion of the chuck, fast-forwarding through at least a portion of the chunk, skipping at least a portion of the chunk, playing an alternate audio track for at least a portion of the chunk, and playing an alternate video track for at least a portion of the chunk.
  • 10. An end-user device configured for receiving media content, the end-user device comprising: a network interface configured for receiving size information for a chunk of a media presentation; anda processor operatively connected to the network interface and configured for: deciding whether or not to request the chunk of the media presentation, wherein the deciding is based, at least in part, on the size information for the chunk of the media presentation; andupon deciding to request the chunk of the media presentation: sending, via the network interface, a request for the chunk of the media presentation; andreceiving, via the network interface, the requested chunk of the media presentation.
  • 11. The end-user device of claim 10 wherein the end-user device is selected from the group consisting of: a mobile telephone, a set-top box, a digital video recorder, a personal computer, a home gateway, a media-restreaming device, a kiosk, and a digital sign.
  • 12. The end-user device of claim 10 wherein receiving the size information comprises an element selected from the group consisting of: receiving a playlist from a server, receiving size information from a server, receiving the size information in association with a previously downloaded chunk, and receiving the size information from previously downloaded metadata associated with the media presentation.
  • 13. The end-user device of claim 10 wherein the size information for the chunk comprises an element selected from the group consisting of: a number of bytes in the chunk, an approximation of a number of bytes in the chunk, and a relative size of the chunk with respect to other chunks.
  • 14. The end-user device of claim 10 wherein the size information for the chunk comprises: a reference value common to a plurality of chunks of the media presentation; anda difference value for the chunk relative to the reference value.
  • 15. The end-user device of claim 14: wherein the reference value comprises a maximum bit rate; andwherein the difference value is selected from the group consisting of: a quantized approximation and an index value for a quantized approximation.
  • 16. The end-user device of claim 10 wherein the deciding is further based, at least in part, on an estimated amount of time required to download the chunk.
  • 17. The end-user device of claim 10 wherein the processor is further configured for: upon deciding not to request the chunk of the media presentation: sending, via the network interface, a request for an alternative chunk of the media presentation, the alternative chunk encoded at a rate different from that of the original chunk; andreceiving, via the network interface, the requested alternative chunk of the media presentation.
  • 18. The end-user device of claim 10 further comprising: a user interface operatively connected to the processor;wherein the user interface is configured for rendering the chunk, the rendering comprising an action selected from the group consisting of: pixelating at least a portion of the chunk, obfuscating at least a portion of the chunk, unobfuscating at least a portion of the chuck, fast-forwarding through at least a portion of the chunk, skipping at least a portion of the chunk, playing an alternate audio track for at least a portion of the chunk, and playing an alternate video track for at least a portion of the chunk.
  • 19. A method for a server to deliver media content, the method comprising: sending, by the server to a client device, size information for a chunk of a media presentation;receiving, by the server from the client device, a request for the chunk of the media presentation; andsending, by the server to the client device, the requested chunk of the media presentation.
  • 20. The method of claim 19 wherein sending size information comprises sending a playlist.
  • 21. The method of claim 19 wherein the size information for the chunk comprises an element selected from the group consisting of: a number of bytes in the chunk, an approximation of a number of bytes in the chunk, and a relative size of the chunk with respect to other chunks.
  • 22. The method of claim 19 wherein the size information for the chunk comprises: a reference value common to a plurality of chunks of the media presentation; anda difference value for the chunk relative to the reference value.
  • 23. The method of claim 22: wherein the reference value comprises a maximum bit rate; andwherein the difference value is selected from the group consisting of: a quantized approximation and an index value for a quantized approximation.
  • 24. A server configured for delivering media content, the server comprising: a network interface configured for sending size information for a chunk of a media presentation; anda processor operatively connected to the network interface and configured for: receiving, via the network interface, a request for the chunk of the media presentation; andsending, via the network interface, the requested chunk of the media presentation.
  • 25. A method for a server to deliver chunk-size information, the method comprising: sending, by the server to a client device, size information for a chunk of a media presentation;wherein the size information for the chunk comprises a difference value for the chunk relative to a reference value common to a plurality of chunks of the media presentation.
  • 26. The method of claim 25: wherein the reference value comprises a maximum bit rate; andwherein the difference value is selected from the group consisting of: a quantized approximation and an index value for a quantized approximation.