This application is the U.S. national phase of international application PCT/GB01/05246 filed 28 Nov. 2001 which designated the U.S.
1. Technical Field
The invention is in the field of handling of time-sensitive data over packet switched networks, and more particularly transmitting and receiving video data over the Internet.
The invention relates to a method of providing a streaming video service to a client across a packet network whilst reducing the start-up delay usually associated with preparing a buffer of data while maintaining the use of a buffer. The invention also relates to a method of controlling the transmission rate of the streaming video to adapt to congestion in the network.
2. Related Art
Traditionally the Internet has supported traffic such as FTP, e-mail and web-surfing, where the overall delay does not intrinsically detract from the final presentation of the media. The advent of faster processing multimedia PC's has driven the delivery of multimedia, including video, over the Internet. Time-sensitive applications however require continuous, quality of service guaranteed, high bandwidth data channels, which is seemingly at odds with the packet-based nature of the Internet and has the potential to disrupt transmissions with unacceptable packet jitter, i.e. the variation in the inter-arrival times of packets caused by variable routing and changeability of delivery rates owing to congestion. Currently, commercial streaming technologies overcome jitter by constructing a large buffer (5-30 seconds) before starting to playback video material. This start-up delay is non-optimal for a user, who may have to wait for this period, before realizing that the content requested is incorrect; and generally detracts from the users experience of the multimedia presentation.
According to a first aspect of the present invention there is provided a method of operating a real-time communication apparatus comprising a real-time data sender, a real-time data display device having a store and a network connecting said sender and said display device, said method comprising the steps of:
According to another aspect of the present invention there is provided a method of presenting time-sensitive data at a client while constructing a buffer of time-sensitive data, said method comprising receiving time-sensitive data which has been transmitted to said client, passing said time-sensitive data to a data buffer; and, monitoring the quantity of time-sensitive data in the data buffer; reading said time dependent data out of the data buffer to be processed for viewing; wherein the method is characterised in that the rate at which the time-sensitive data is read out of the data buffer is lower than the rate at which the time-sensitive data is passed to th data buffer; and the time-sensitive data is read out of the data buffer when it arrives in the data buffer, such that there is substantially no delay between the client receiving the time-sensitive data and making the time-sensitive data available; and, presenting the time-sensitive data.
There will come a point when the data buffer becomes sufficiently full. The rate of transmission can then be reduced to equal the rate of consumption by the viewing means which will bring the quantity of data in the buffer to an equilibrium. However, in this situation the bandwidth of the connection may not be employed to full capacity.
In a further aspect of the present invention there is provided a method of presenting time-sensitive data at a client, wherein, time-sensitive data encoded at a first bit-rate is received until a pre-determined quantity of data fills the data buffer, whereupon time-sensitive data encoded at a second bit-rate is received, wherein said second bit-rate is higher than the first bit-rate.
A still further aspect of the present invention provides a method of providing time-sensitive data to a client is taught, wherein time-sensitive data encoded at a first bit-rate is read from a first data buffer at a first transmission rate to be transmitted to the client; and, upon request, time-sensitive data encoded at a second bit-rate is read from a second data buffer at a second rate.
It is desirable to use as much of the available bandwidth of a link as possible to transmit data because with a higher bit-rate of video data comes better quality reproduction. However, loss of data in the network causes severe degradation of service—far outstripping the benefits of increased bit-rate. For example, with predictive coding schemes such as H.263 and MPEG, receiving half of a 500 kbits−1 video stream is likely to give a much worse quality than all of a 250 kbits−1 stream. It is therefore important to reduce transmission rate in a controlled way, rather than letting data be lost to the network. The Internet protocol TCP has a built-in control mechanism whereby the data transmission rate is steadily increased until packet loss is detected, whereupon the data rate is reduced. The data rate is then increased again until packet loss reoccurs. A variable transmission rate is said to be elastic and applications which are able to control the transmission rate of data in response to network conditions are said to be TCP-friendly. It is desirable to provide video data in a TCP-friendly way so that the as much of the bandwidth available at any particular time is utilised. A further benefit of TCP-friendly data delivery is that congestion in the network is managed as individual applications themselves reduce data rates until each has a fair share of the bandwidth.
Standard compression technologies, such as MPEG4 or H.263 can be managed to exhibit TCP-friendly behaviour, see for example the applicant's co-pending patent application number GB 9928023.2. This solution, however, requires a high-speed, dedicated PC per video stream. Transcoding an encoded data stream from a high bit-rate to a low bit-rate when network congestion is detected also suffers from the problem of being computationally demanding. Another approach is to use layering of video streams, whereby quality adaption is achieved by adding or dropping layers of the video stream. The disadvantage of this method is that it is inefficient, as a certain proportion of the available bandwidth must be allocated to instructions for integrating the layers.
The present invention further provides a method wherein the rate at which time-sensitive data is read out from first and second buffers may be dynamically varied in dependence upon the condition of a link to the client, and further, time-sensitive data encoded at a first bit-rate is read from a first data buffer at a first transmission rate to be transmitted to the client; or, time-sensitive data encoded at a second bit-rate is read from a second data buffer at a second rate, in dependence upon the condition of a link to the client, wherein said first bit-rate is lower than the second bit-rate.
Embodiments of the invention will now be described, by way of example only, with reference to the figures, where:
As shown in
The two encoded data streams are transmitted via separate logical connections to the video streamer 2 at a transmission rate TE. The video streamer 2 may be on the same premises as the encoder 1 and linked via an intranet. The video streamer 2 runs on a server computer, for instance one comprising a Pentium III 700 MHz, 256 MB RAM which has access to the Internet.
A video viewer, hitherto referred to as the client, running on a PC (a, b, c etc in
For a live broadcast, the encoder 1 will transmit at a transmission rate TE which is real-time. The two streams of data RL and RH coded at different bit-rates offer different quality video reproduction, but each data stream has the same transmission rate, TE. The data must be decoded at this rate for the program to play back in real-time.
The packet loss detector 31 monitors incoming packets. If packet loss is detected then a signal is sent to the client status monitor 34, which is informs the buffer manager at the video streamer 2 via connection 28. Missing packets can be retransmitted. The buffer manager 25 steadily increases the transmission rate Ts until a consistent pattern of packet loss occurs, indicating that the maximum bandwidth is being utilised. In the interest of maintaining a congestion free network, the transmission rate Ts may then be exponentially reduced. The client status monitor 34 monitors the volume of data in the client buffer 32 such that a signal is sent via connection 28 to the buffer manager 25 at the video streamer 2 when the client buffer 32 becomes sufficiently full of data.
The system of video streamer 2 and client 3 as described above allows user-friendly video streaming, i.e. the client buffer 32 enables the quality of the video to be despite variations in network conditions, which might otherwise have a detrimental effect on the overall perceived quality of the media.
The operation of the present embodiment of the invention will now be described with reference to
The video streamer 2 is initialised, which involves filling the buffers 23, 24 with a quantity of data from the encoder 1. For a live broadcast, data is constantly fed into the buffers 23, 24 and is subsequently discarded after an amount of time defined by the size of the buffer and the quality of data being received.
A PC running browser software to browse web pages on the Internet may be used to select a link to, for example, a live broadcast on a site hosted by the entity providing streamed video. Being interested in viewing the particular clip or broadcast, the user clicks (selects) the link at 40. The browsing software detects that streamed video data has been requested and launches the video viewing client software at 42 which embodies the client 3. The client 3 issues a “send data” command at 44 via connection 28 to the buffer manager 25, which sets switch 26 to read encoded video data from the low bit-rate data buffer 23 and requests a transmission rate of Ts=2TE. The data is transmitted to the data connection 27 and thence to the client 3. Using the example encoding bit-rate cited above of 500 kbits−1 for RL, data flows into the network to the client at a rate of 1000 kbits−1.
The client 3 receives the encoded video data at 46 and sends it via the packet loss detector 31 to the client buffer 32 which is supplied at the rate 2TE. When data is detected in the buffer 32 the encoded video data is promptly read out at 48 to the decoder 33 at a rate of TE. Therefore the buffer 32 fills at a rate TE while the decoded data from the decoder 33 is displayed. Thus the user is provided with video pictures without having to wait for the client buffer 32 to fill.
The client monitor 34 waits at 50 for the quantity of RL, data in the client buffer 32 to reach a specified level, upon which a “switch buffer” command is sent at 52 to the buffer manager 25 at the video streamer 2 via the connection 28. The buffer manager 25 then switches the flow of data from the low bit-rate data buffer 23 to the high bit-rate data buffer 24 and instructs transmission at a rate Ts=TE. Using the example encoding rate cited above, data is transmitted on the network at 1500 kbits−1.
The client buffer 32 will then begin filling with high quality data which will be placed behind the low quality data. After a length of time the RH data will begin to be read into the decoder 33, whereupon the user will perceive an increase in the picture quality. At this point, the client 3 has a full buffer and the user is watching images of a quality which is consistent with the capacity of the network link.
The video streamer 2 can support a number of clients (typically 1000). Each client is initially given a unique read-out point for the start-up phase, whereupon, after equilibrium of the client buffer 32 has been reached and the video streamer 2 is supplying high bit-rate data from the buffer 24, the read-out point can be amalgamated with other client read-out points. Read-out points may have to be devolved as discrepancies in network capacity demand increasing or decreasing the transmission rate for a particular client.
The skilled person will appreciate that the low bit-rate data buffer 23 should be of a size which will allow data to be read from it at a rate 2TE for a period of time which is long enough to provide the client buffer 32 with a suitable quantity of data. For example, in order to buffer 5 seconds worth of 500 kbits−1 data at the client 3, the video streamer 2 must supply 1000 kbits of data for 5 seconds, 500 kbits of which will be consumed by the decoder 33 per second and 500 kbits will build up in the buffer per second until 5 seconds has elapsed. Therefore the low bit-rate data buffer must be able to hold at least 5 Mbits of data (5×1000 kbits), or just over 0.5 Mb.
The skilled person will appreciate that there are problems associated with ‘tapping into’ a stream of encoded data when data is initially read out of a buffer. The compression technology typically employed by the encoder 1 involved coding a frame of video data, termed an anchor frame or an I-frame and from this frame an estimate is made as to what the next frame will look like, this estimated frame being termed a B-frame. In this way the quantity of data representing a series of frames may be greatly reduced. However, if the first frame to be read from either of the data buffers 23, 24 is a B-frame then the first few frames of decoded data may be unintelligible as the decoder tries to reconstruct frames based on an estimate. In a further embodiment of the invention, an extra buffer of data is supplied in parallel with the data buffers 23, 24 consisting solely of I-frames. The first frame to be transmitted is read from the I-frame buffer and thus gives the decoder a reliable point from which to start decoding. Data is then switched to be read from either of the data buffers 23, 24.
The system allows user-friendly video streaming, i.e. the quality of the video does not fluctuate rapidly as network conditions vary, which can have a detrimental affect on the overall perceived quality of the media. In the event of packet loss being reported by the client, the system can exponentially reduce its transmission rate. This need not result in an immediate switching of the video source, as there may be data buffered at the client. Immediately after the packet loss it is possible that the transmission rate is lower than the encoding rate, and the client is supplementing received data with buffered data in order to meet the demands of the video decoder, with the result that the client's buffer is emptying. In the event of isolated packet loss, the system can again ramp up the transmission rate, initially slowing the rate at which the client's buffer is emptying before eventually returning to a state of filling it.
The skilled person will appreciate that the ability to transmit data at variable rates for a period of time enables the streamed data to be elastic and allows TCP-friendly transmission. Detection of sustained packet loss by the packet loss detector 31 is indicative of network congestion. The buffer manager 25 at the video streamer 2 reacts to notification of packet loss by instructing a reduction in the transmission rate of data from the high bit-rate data buffer 24. The high bit-rate data buffer 24 should be appropriately sized to cope with such an event. If packet loss persists at the reduced transmission rate for longer than the high bit-rate data buffer can sustain, then the buffer manager 25 will switch to supply data from the low bit-rate data buffer 23. Effective management protocols are necessary to prevent rapid switching between data buffers 23 and 24 as the data capacity of the network fluctuates, because this will cause changes in the perceived quality of the played back video. While a user will tolerate low quality playback, rapid changes in quality can be irritating to a user.
There is no limit to the number of encoded data streams that may be provided to the video streamer. Maximum bandwidth utilisation may be achieved thus: starting by reading data from a low bit-rate data buffer, the transmission rate is increased. Finding that no packets are lost at this transmission rate, the output is switched to a higher bit-rate data buffer, whereupon the transmission rate is increased. If this transmission rate encounters no obstacle then a higher still bit-rate data buffer can be switched in, and so on until the maximum bandwidth is employed.
The buffer manager 25 located at the video streamer 2 is enabled to decide how to adjust the transmission rate TS and when to switch buffers. Equally, instructions may be sent from the client 3 to the video streamer 2 about transmission rate TS and which buffer to feed data from. The location of the buffer manager 25 in the embodiments described has been chosen because it is practical to situate the control centre close to the centre which is responsible for charging for the service, which in this case is the ISP.
The example of video data is chosen as an example of multimedia data to illustrate the above embodiments. The invention is equally suited to any other form of time-sensitive data, such as audio data or a multimedia presentation.
In the embodiment described above, data is supplied by the encoder 1. Equally, compressed video data may be held in a library of program data files, for example a library of feature films, which may be accessed when required.
The video streamer 2 may be remote from the encoder 1, such that the video streamer 2 and the encoder 1 are connected via the Internet. It is likely that the video streamer 2 would be operated by an Internet Service Provider (ISP) and remote connection of the video streamer 2 and encoder 1, would allow the ISP to make content available to the client from many encoders.
Number | Date | Country | Kind |
---|---|---|---|
00310594 | Nov 2000 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB01/05246 | 11/28/2001 | WO | 00 | 5/2/2003 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO02/45372 | 6/6/2002 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4813044 | Kumar et al. | Mar 1989 | A |
5140417 | Tanaka et al. | Aug 1992 | A |
5159447 | Haskell et al. | Oct 1992 | A |
5363138 | Hayashi et al. | Nov 1994 | A |
RE34824 | Morrison et al. | Jan 1995 | E |
5511054 | Oishi et al. | Apr 1996 | A |
5535209 | Glaser et al. | Jul 1996 | A |
5561466 | Kiriyama | Oct 1996 | A |
5566208 | Balakrishnan | Oct 1996 | A |
5675696 | Ishimoto et al. | Oct 1997 | A |
5706504 | Atkinson et al. | Jan 1998 | A |
5748955 | Smith | May 1998 | A |
5751741 | Voith et al. | May 1998 | A |
5754849 | Dyer et al. | May 1998 | A |
5818818 | Soumiya et al. | Oct 1998 | A |
5822524 | Chen et al. | Oct 1998 | A |
5864678 | Riddle | Jan 1999 | A |
5874997 | Haigh | Feb 1999 | A |
5892881 | Takishima et al. | Apr 1999 | A |
5898671 | Hunt | Apr 1999 | A |
5909434 | Odenwalder et al. | Jun 1999 | A |
5915130 | Kim | Jun 1999 | A |
5918020 | Blackard et al. | Jun 1999 | A |
5928330 | Goetz et al. | Jul 1999 | A |
5956321 | Yao et al. | Sep 1999 | A |
5960452 | Chi | Sep 1999 | A |
6011779 | Wills | Jan 2000 | A |
6014694 | Aharoni et al. | Jan 2000 | A |
6014706 | Cannon et al. | Jan 2000 | A |
6023732 | Moh et al. | Feb 2000 | A |
6061732 | Korst et al. | May 2000 | A |
6065104 | Tng | May 2000 | A |
6081843 | Kikki et al. | Jun 2000 | A |
6092115 | Choudhury et al. | Jul 2000 | A |
6097697 | Yao et al. | Aug 2000 | A |
6104441 | Wee et al. | Aug 2000 | A |
6122668 | Teng et al. | Sep 2000 | A |
6124878 | Adams et al. | Sep 2000 | A |
6181821 | Lim | Jan 2001 | B1 |
6216173 | Jones et al. | Apr 2001 | B1 |
6226329 | Ishibashi | May 2001 | B1 |
6269078 | Lakshman et al. | Jul 2001 | B1 |
6269978 | Sindoni | Aug 2001 | B1 |
6275534 | Shiojiri | Aug 2001 | B1 |
6285661 | Zhu et al. | Sep 2001 | B1 |
6310857 | Duffield et al. | Oct 2001 | B1 |
6324165 | Fan et al. | Nov 2001 | B1 |
6373855 | Downing et al. | Apr 2002 | B1 |
6411602 | Schoenblum et al. | Jun 2002 | B2 |
6430620 | Omura et al. | Aug 2002 | B1 |
6470378 | Tracton et al. | Oct 2002 | B1 |
6480448 | Kawano et al. | Nov 2002 | B1 |
6480541 | Girod et al. | Nov 2002 | B1 |
6487528 | Vossing et al. | Nov 2002 | B1 |
6493388 | Wang | Dec 2002 | B1 |
6501797 | van der Schaar et al. | Dec 2002 | B1 |
6532242 | Tahara | Mar 2003 | B1 |
6573907 | Madrane | Jun 2003 | B1 |
6593930 | Sheaffer et al. | Jul 2003 | B1 |
6600737 | Lai et al. | Jul 2003 | B1 |
6614843 | Gordon et al. | Sep 2003 | B1 |
6618363 | Bahl | Sep 2003 | B1 |
6618381 | Miyamoto et al. | Sep 2003 | B1 |
6625119 | Schuster et al. | Sep 2003 | B1 |
6637031 | Chou | Oct 2003 | B1 |
6640086 | Wall | Oct 2003 | B2 |
6661777 | Blanc et al. | Dec 2003 | B1 |
6697369 | Dziong et al. | Feb 2004 | B1 |
6700893 | Radha et al. | Mar 2004 | B1 |
6701372 | Yano et al. | Mar 2004 | B2 |
6731097 | Richards et al. | May 2004 | B1 |
6738386 | Holmqvist | May 2004 | B1 |
6744815 | Sackstein et al. | Jun 2004 | B1 |
6754189 | Cloutier et al. | Jun 2004 | B1 |
6778499 | Senarath et al. | Aug 2004 | B1 |
6810425 | Yamamoto | Oct 2004 | B2 |
6813275 | Sharma et al. | Nov 2004 | B1 |
6850564 | Pejhan et al. | Feb 2005 | B1 |
6909693 | Firoiu et al. | Jun 2005 | B1 |
6920178 | Curet et al. | Jul 2005 | B1 |
6940903 | Zhao et al. | Sep 2005 | B2 |
6993075 | Kim et al. | Jan 2006 | B2 |
6993604 | Dixon | Jan 2006 | B2 |
7027516 | Anderson et al. | Apr 2006 | B2 |
7058723 | Wilson | Jun 2006 | B2 |
7106758 | Belk et al. | Sep 2006 | B2 |
7116714 | Hannuksela | Oct 2006 | B2 |
7142509 | Rovner et al. | Nov 2006 | B1 |
7191246 | Deshpande | Mar 2007 | B2 |
7380015 | Nakajima et al. | May 2008 | B1 |
7444419 | Green | Oct 2008 | B2 |
7542435 | Leon et al. | Jun 2009 | B2 |
7761901 | Walker et al. | Jul 2010 | B2 |
20010001614 | Boice et al. | May 2001 | A1 |
20010028463 | Iwamura | Oct 2001 | A1 |
20010028789 | Uchide | Oct 2001 | A1 |
20010040700 | Hannuksela et al. | Nov 2001 | A1 |
20020002708 | Arye | Jan 2002 | A1 |
20020007416 | Putzolu | Jan 2002 | A1 |
20020009096 | Odenwalder | Jan 2002 | A1 |
20020010938 | Zhang et al. | Jan 2002 | A1 |
20020016827 | McCabe et al. | Feb 2002 | A1 |
20020038374 | Gupta et al. | Mar 2002 | A1 |
20020041585 | Bahl | Apr 2002 | A1 |
20020057889 | Ando et al. | May 2002 | A1 |
20020083184 | Elliott | Jun 2002 | A1 |
20020114292 | Kawabata et al. | Aug 2002 | A1 |
20020131408 | Hsu et al. | Sep 2002 | A1 |
20020131496 | Vasudevan et al. | Sep 2002 | A1 |
20020167942 | Fulton | Nov 2002 | A1 |
20030037158 | Yano et al. | Feb 2003 | A1 |
20030072370 | Girod et al. | Apr 2003 | A1 |
20030076858 | Deshpande | Apr 2003 | A1 |
20030103515 | Brown et al. | Jun 2003 | A1 |
20030153311 | Black | Aug 2003 | A1 |
20030169932 | Li et al. | Sep 2003 | A1 |
20030174609 | Choi | Sep 2003 | A1 |
20040049793 | Chou | Mar 2004 | A1 |
20040078460 | Valavi et al. | Apr 2004 | A1 |
20040114684 | Karczewicz et al. | Jun 2004 | A1 |
20040181817 | Larner | Sep 2004 | A1 |
20040190600 | Odenwalder | Sep 2004 | A1 |
20050010697 | Kinawi et al. | Jan 2005 | A1 |
20050021830 | Urzaiz et al. | Jan 2005 | A1 |
20050044254 | Smith | Feb 2005 | A1 |
20050120038 | Jebb et al. | Jun 2005 | A1 |
20050172028 | Nilsson et al. | Aug 2005 | A1 |
20050191038 | Ogawa et al. | Sep 2005 | A1 |
20060064501 | Harris et al. | Mar 2006 | A1 |
20060133514 | Walker | Jun 2006 | A1 |
20060171666 | Im | Aug 2006 | A1 |
20060182016 | Walker et al. | Aug 2006 | A1 |
20080250454 | Nishina et al. | Oct 2008 | A1 |
20090116551 | Nilsson et al. | May 2009 | A1 |
20090133075 | Nishina et al. | May 2009 | A1 |
Number | Date | Country |
---|---|---|
0 418 396 | Mar 1991 | EP |
0 763 944 | Mar 1997 | EP |
0 939 545 | Sep 1999 | EP |
0 948 211 | Oct 1999 | EP |
1 045 555 | Oct 2000 | EP |
1 120 966 | Aug 2001 | EP |
1 128 610 | Aug 2001 | EP |
1 130 921 | Sep 2001 | EP |
1241891 | Sep 2002 | EP |
2 363 277 | Oct 2000 | GB |
2367219 | Mar 2002 | GB |
07 0123172 | May 1995 | JP |
7-236136 | Sep 1995 | JP |
7-264580 | Oct 1995 | JP |
7-303117 | Nov 1995 | JP |
9-93553 | Apr 1997 | JP |
9-261613 | Oct 1997 | JP |
9-298734 | Nov 1997 | JP |
10-126771 | May 1998 | JP |
10-164533 | Jun 1998 | JP |
10-262245 | Sep 1998 | JP |
11-164270 | Jun 1999 | JP |
11-184780 | Jul 1999 | JP |
11-187367 | Jul 1999 | JP |
11-239163 | Aug 1999 | JP |
11-308271 | Nov 1999 | JP |
11-313301 | Nov 1999 | JP |
2000-151705 | May 2000 | JP |
2000-183958 | Jun 2000 | JP |
2000-228669 | Aug 2000 | JP |
2001-144802 | May 2001 | JP |
2000-28335 | May 2000 | KR |
WO 9826604 | Jun 1998 | WO |
00001151 | Jan 2000 | WO |
WO 0001151 | Jan 2000 | WO |
0035201 | Jun 2000 | WO |
WO0035201 | Jun 2000 | WO |
WO 0041365 | Jul 2000 | WO |
WO 0049810 | Aug 2000 | WO |
WO 0062552 | Oct 2000 | WO |
WO 0139508 | May 2001 | WO |
WO 02054776 | Jul 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20040153951 A1 | Aug 2004 | US |