1. Technical Field
The present invention is generally related to multimedia delivery over the Internet. Particularly, the present invention is related to techniques providing media service based on a hybrid architecture taking the benefits, features and advantages of both client-server architecture and distributed architecture.
2. Description of the Related Art
To ensure quality of service (QoS), the bandwidth requirement of the network path (e.g., 108-1, 108-2, . . . 108-n) to each of the client machines 106-1,106-2, . . . 106-n has to be sufficient. However, as the number of the subscribers continues to increase, the demand on the bandwidth of the backbone network path 110 increases linearly, and the overall cost of the system 100 increases considerably at the same time. If the server has a fixed bandwidth limit and system support capability, an increase in the number of subscribers beyond a certain threshold will result in slower transfer of data to clients. In other words, the transmission of the video data over the network 104 to the subscribers via the client machines 106-1, 106-2, . . . 106-n is no longer guaranteed. When the video data is not received in a client machine on time, the display of the video data may fail or at least become jittery.
To alleviate such loading problem to the video server 102, a video delivery system often employs multiple video servers as rendering farms, perhaps in multiple locations. Each of the video servers, similar to the video server 102, is configured to support a limited number of subscribers. Whenever the number of subscribers goes beyond the capacity of a video server or the bandwidth thereof, an additional video server needs to be deployed or additional bandwidth needs to be allocated. Subsequently, overall costs go up considerably when more subscribers sign up with the video delivery system 100.
U.S. patent application Ser. No. 11/075,573 discloses techniques of delivering media services among clients with a central server as a manager or regulator. U.S. patent application Ser. No. 11/075,573 has fundamentally resolved the bandwidth issues that are experienced in the client-server architecture and made an entire video delivery system independent from the number of the users. In contrast, U.S. patent application Ser. No. 11/075,573 may perform better with more users because more clients available to supply requested data means more bandwidth for servicing others, while the video delivery system 100 starts to hit its limits when the number of its users exceeds a certain number.
It is desirable to take benefits, features and advantages of the respective architectures described in
This section is for the purpose of summarizing some aspects of embodiments of the present invention and to briefly introduce some preferred embodiments. Simplifications or omissions in this section as well as the title and the abstract of this disclosure may be made to avoid obscuring the purpose of the section, the title and the abstract. Such simplifications or omissions are not intended to limit the scope of the present invention.
Broadly speaking, the invention relate to techniques for providing media services over data networks. The techniques described herein are related to providing media services based on a hybrid architecture taking the benefits, features and advantages of both distributed architecture and client-server architecture. The disclosed techniques may be performed alone or in any combination to provide a novel and unobvious system or a portion of a system. It should be understood that the techniques in combination yield an equally independently novel combination as well, even if combined in their broadest sense; i.e. with less than the specific manner in which each of the techniques has been reduced to practice.
According to one aspect of the present invention, data pertaining to a title is divided or organized into several segments that are distributed among boxes in service. General orders of titles being offered in a library are fulfilled by a group of selected client devices (e.g., boxes) delivering respective segments to an ordering box. Special orders of certain programs (e.g., a live event or a rare title not included in the library) are fulfilled directly by a server. In addition, the server is configured to supply some of the segments to an ordering box or back up any one of the selected boxes designated to supply the needed data to an ordering box. Because of its inherent superior computing power and more bandwidth, the server may deliver more than one segment at a time.
One of the features in the present invention is that the architecture offers the flexibilities of being relatively independent from the number of users while, at the same time, offering centralized management or services to the users. The present invention inherently distributes load among client devices in service by using the computing power and bandwidth collectively available at any time in the client devices.
Embodiments of the invention may be implemented in numerous ways, including a method, system, device, or a computer readable medium. Several embodiments of the invention are discussed below. In one embodiment, the invention provides a system for providing media services, the system comprises: a plurality of boxes, each allowing a user to order many titles in a library being offered in each of the boxes; at least a server configured to distribute segments for each of the titles to the boxes, none of the boxes receiving all of the segments per a title till the title is ordered, wherein after receiving a request for an ordered title from an ordering box, the server is configured to identify one or more of devices to provide at least one or more of the segments pertaining to the ordered title, and wherein the ordering box proceeds with a playback of a residing object while downloading the at least one or more of the segments from the one or more devices, and wherein the server is configured to provide streaming pertaining to a program to one or more of the boxes when requested.
According to another embodiment, the invention provides a system for providing media services, the system comprises a plurality of boxes, each allowing a user to order many titles in a library being offered in each of the boxes; at least a server configured to distribute segments for each of the titles to the boxes, none of the boxes receiving all of the segments per a title till the title is ordered, wherein after receiving a request for an ordered title from an ordering box, the server is configured to identify one or more of devices to provide at least one or more of the segments pertaining to the ordered title, and wherein the ordering box proceeds with a playback of a residing segment while downloading the at least one or more of the segments from the one or more devices, and wherein the server is configured to provide streaming pertaining to a program that is not originally in the library to one or more of the boxes by either a unicast protocol or a multicast protocol.
One of the objects, features, and advantages of the present invention is to provide media services based on a hybrid architecture taking the benefits, features and advantages of both a distributed architecture and a client-server architecture
Other objects, features, and advantages of the present invention will become apparent upon examining the following detailed description of an embodiment thereof, taken in conjunction with the attached drawings.
The invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:
The present invention is related to techniques of providing media services based on a hybrid architecture taking the benefits, features and advantages of both distributed architecture and client-server architecture. According to one aspect of the present invention, data pertaining to a title (e.g., a movie, a game, a data file or a piece of footage) is divided or organized into several segments that are distributed among boxes in service. General orders of titles being offered in a library are fulfilled by a group of selected client devices delivering respective segments to an ordering box. Special orders of certain programs (e.g., a live event or a less popular title not widely distributed across the client devices, or any title during periods of high demand in the system) are fulfilled directly by at least a server. In addition, the server is configured to supply some of the segments to an ordering box or back up any one of the selected boxes designated to supply the needed data to an ordering box. Because of its inherent superior computing power and more bandwidth, the server may deliver more than one segment at a time.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention. The present invention may be practiced without these specific details. The description and representation herein are the means used by those experienced or skilled in the art to effectively convey the substance of their work to others skilled in the art. In other instances, well-known methods, procedures, components, and circuitry have not been described in detail since they are already well understood and to avoid unnecessarily obscuring aspects of the present invention.
Reference herein to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one implementation of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Further, the order of blocks in process, flowcharts or functional diagrams representing one or more embodiments do not inherently indicate any particular order nor imply limitations in the invention.
Embodiments of the present invention are discussed herein with reference to
Shown as
A server 202, presumably managed and/or populated by a service provider, is configured to handle the delivery of video (or multimedia) services to users via local machines or boxes 206-1, 206-2, . . . 206-n. Different from the video server 102 of
According to one embodiment, when fulfilling a request from a local machine or a box (e.g., 206-1), communication between the server 202 and the box 206-1 over the network paths 208-1 and 210 may be limited to small-scale requests and responses (e.g., of small size and very short). A server response to a request from a box may include source information (e.g., identifiers), authorization information and security information. Using the response from the server 202, the box may be activated to begin playback of a title (e.g., 207-1). Substantially at the same time, the box may initiate one or more requests to other boxes (e.g., 206-2 and 206-n) in accordance with the source identifiers to request subsequent portions of the title (e.g., 207-2 and 207-n). Assuming proper authorization, the requesting box receives the subsequent portions of the data concurrently from the other boxes. Because of box-to-box communication of content, the bandwidth requirement for box-to-server communications over the network paths 208-1 and 210 is kept low and typically short in duration. In the event there are a large number of user boxes issuing playback requests substantially at the same time, the bandwidth of the backbone path 210 should be sufficient to avoid noticeable or burdensome delay.
The contents available in a library being offered in any of the boxes 206-1, 206-2, . . . 206-n are originally provided by one or more content providers. Examples of the content providers include satellite receivers, television relay stations, analog or digital broadcasting station, movie studios and Internet sites. Depending on implementation, the contents may be initially received or originated in the server 202. Instead of maintaining and managing the content in a large storage device, the server 202 is configured to distribute the content or files to a plurality of local machines registered with the server 202. The boxes 206-1, 206-2, . . . 206-n shown in
For convenience, it is assumed herein that a file pertaining to a title is played back when the title is selected and ordered by a user. When an order for a title is placed, a corresponding file must be available for playback. One of the features in the system 200 is that a file, or at least a portion thereof, regardless of its size, can be accessed instantaneously, thereby realizing instantaneous VOD. According to one embodiment, where a file is 840 Mbytes on average and a box includes a storage capacity of 300 Gbytes, a system may offer a large library of titles (e.g., 5000) for access at any time instantly. In the prior art, if the files for the titles must be stored in advance to offer instantaneous playback, the local storage of a box would have to have a capacity of 4,000 Gbytes, consequently, rendering instantaneous VOD economically impractical.
According to one aspect of the present invention, only a beginning portion (referred to as a “header”) and possibly one or more tail segments of a file are locally cached in a box. Such locally cached segments are referred to as residing objects or segments, while segments not residing locally are referred to as distributed objects or segments. When a title is selected, the header of the corresponding file is instantly played back. During the time the header is being played, the distributed objects corresponding to the title are retrieved simultaneously from other boxes. When the header is finished, the received parts of the distributed segments being streamed in from other boxes is combined with residing segments for the title, if any, to enable a continuous playback. Depending on the popularity and concurrent demand for a particular title, the number of residing objects may be increased or decreased to control the dependency of each box on other boxes for playback. Typically, the more residing objects for a title a box has, the more distributed copies of the title there are in the entire system and thus the less dependency of the ordering box on the other boxes.
In one embodiment, the header is always played first to ensure instant playback. In another embodiment, the header size is reduced to zero, in which case, a time-fill program is played first to provide a time frame that is sufficient enough to fetch and assembly the beginning data portion of the segments either locally available or from other boxes. Depending on implementation, the time-fill program may include one or more trailers related to the title being ordered, various notifications/updates or commercial programs. The time-fill program may be locally configured. In one embodiment, the time-fill program is provided to give a time frame in which data being fetched from one or more other devices can be stabilized. In another embodiment, the time-fill program provides a platform for sponsors that hope to display their respective programs to audience. Orders or slot positions for these programs in a time-fill program may be auctioned.
Referring to
Regardless whether a header is used or not, a file or a majority of a file will be fragmented and the segments are distributed among the boxes in service. According to one embodiment, given a required transmission rate (e.g., 1 megabit per second or 1 Mbps), the minimum uploading and downloading speeds of a network are considered to determine a number that defines the segmentation, and thus the dependency on other boxes and the support for concurrent demands of a particular title.
It is assumed that a minimum uploading speed is U and a required transmission rate is D, and D/U=K<k, where k is the smallest integer greater than K. In one embodiment, a file or a majority of a file is preferably divided into k segments to optimally utilize the uploading speed of U, assuming that the downloading speed is at least k times faster than the uploading speed. For example, in a POTS-based DSL network for residential areas, the required transmission may be about 1.0 Mbps while the uploading speed may be about 300 kbps. Hence, k=4. Assuming that an ordering box has a downloading speed four times the uploading speed of the other boxes, up to four segments in other boxes can be downloaded concurrently across the network as streaming into the ordering box without interruption.
As shown in
It should be noted, however, a header, if used, includes data blocks that must be consecutive so that an instantaneous playback of the header is possible. It is evident that the data blocks in the segments are non-consecutive or interlaced.
Referring now to
For example, the architecture 300 may be configured to deliver non-prerecorded programs such as live broadcasts by a multicasting protocol. The server 302 receives orders from some of the subscribers (e.g., for boxes 306-1 and 306-n) for a broadcasting event. When the event comes, the server 302 receives a streaming feed from a source (e.g., a televised site). The streaming is then delivered by the server 302 via the network path 310 to 308-1 and 308-n to the ordering boxes 306-1 and 306-n. As the subscriber for the box 306-2 did not order the event, the box 306-2 will not receive the streaming from the server 302. It can be appreciated that the number of recipients for the program does not affect the performance of the server 302 or demands higher bandwidth because the program is being multicast to the ordering boxes.
The architecture 300, at the same, allows non-interrupted media services among the boxes. Similar to the description for
Referring now back to
In one embodiment, when a server is designed to be one of the suppliers to service an ordering box, the server is not necessarily the one that provides the designation information. A service provider may deploy several servers, each is designated to cover a specific area in accordance with one or more specification (e.g., popularity, geography, demographics, and/or like criteria).
According to one embodiment, the server 302 is configured to provide titles that are not widely distributed among the boxes in service. It is understood that the distributed architecture as described in
Referring now to
To facilitate the continuation of a data stream, each of the pointers 482 and 784 is used to remember where the data block of a segment is being fed or about to be fed to the buffer 470. In the event, the segment being fetched from a box is interrupted and a backup box needs to step in, the ordering box knows exactly where to start fetching the segment from where it was interrupted in accordance with the pointer. Likewise, similar pointers (not shown) may be provided to remember where the data block of the locally cached segment is being fed or about to be fed to the buffer 470. In the event, the ordering box needs to be reset or is suddenly powered off and back on, these pointers can facilitate the continuation of the playback of the ordered movie.
The foregoing description of embodiments is illustrative of various aspects/embodiments of the present invention. Various modifications to the present invention can be made to the preferred embodiments by those skilled in the art without departing from the true spirit and scope of the invention as defined by the appended claims. Accordingly, the scope of the present invention is defined by the appended claims rather than the foregoing description of embodiments.
This is a continuation-in-part of co-pending U.S. application Ser. No. 11/075,573, entitled “Continuous data feeding in a distributed environment” and filed Mar. 9, 2005, and by at least one of the co-inventors herein.
Number | Date | Country | |
---|---|---|---|
Parent | 11075573 | Mar 2005 | US |
Child | 11269462 | US |