The present disclosure relates generally to a scheme for retransmission-based repair and fast stream join for Internet Protocol (IP) based media streams.
The Real-time Transport Protocol (RTP) and its related standards define a retransmission packet format and a way to give feedback via Negative ACKnowledgement (NACK) packets that data has been lost. The following standards RTP (RFC3550), RTP Retransmission (RFC4588), RTCP Feedback (RFC4585), and RTCP with SSM Sessions (draft-ietf-avt-rtcpssm-11.txt) are all incorporated by reference and describe unicast feedback and retransmission for unicast sessions, and unicast feedback with multicast retransmission for multicast sessions.
However, the RTP protocol suite has limitations when used with certain types of Internet Protocol (IP) media transmissions, such as transmitting streaming video to different endpoints. For example, neither RTP, nor any other common media transmission protocol, can perform unicast repair of multicast media streams or quickly and efficiently switch among different multicast media streams without loss of data.
A Real-time Transport Protocol (RTP)-based unicast repair scheme is used for repairing errors in RTP multicast streams. By modeling the joining of a new media stream as a repair operation, the repair scheme is extended to also rapidly join media channels. It should be noted that the terms channel and stream are used interchangeably below.
Referring to
The media stream receivers 24 can be any device that receives and stores or renders the multicast media stream 14. For example, the media stream receivers 24 could be Set Top Boxes (STB), Digital Video Recorders (DVR), computer terminals, Personal Computers (PCs), televisions with IP interfaces, Voice over IP (VoIP) phones, cell phones, Personal Digital Assistants (PDA), etc. The retransmission system 18 can be any type of media server that caches and retransmits portions of the multicast media stream 14. The media stream source 12 and retransmission system 18 are shown as separate devices but could reside in the same physical location and be connected together via a Local Area Network (LAN) or other backplane connectivity.
In one embodiment, a Source Specific Multicast (SSM) multicast session is established for transmitting the multicast media stream 14 between the media stream source 12 and one or more of the media stream receivers 24. The media stream source 12 knows the IP addresses and ports to use for transmitting a particular media stream. The retransmission system 18 knows what IP addresses and ports to use for receiving the media stream and what address and port to use for sending retransmissions. The media stream receivers 24 know what IP address and port to listen for the media stream and the retransmissions, and where to send retransmission requests. All of this address and port information can be described using Session Description Protocol (SDP), but other media description schemes could be used.
The feedback target IP address 16 is used by the media stream receivers 24 as a destination address for requesting retransmissions for portions of the multicast media stream 14. For example, packets from the media stream 14 may not successfully arrive at particular media stream receivers, or may be received in a corrupted state.
The media stream receivers 24 send retransmission requests 28 to the retransmission system 18 associated with the feedback target IP address 16 that includes information 30 identifying the lost media packets. In one example, retransmission requests 28 are unicast Real-time Transport Control Protocol (RTCP) Negative ACKnowledge (NACK) packets that use the feedback target address 16 as a destination address 29. Sending the unicast RTCP NACK packet 28 to the retransmission system 18 dynamically instantiates a unicast RTP repair session from the retransmission system to the requesting receiver, if one does not already exist.
The retransmission system 18 includes a media cache 22 that caches the recent history of packets from the multicast media stream 14. During the unicast RTP repair session, lost packets for media stream 14 are identified in lost packet information 30 of the retransmission request 28. The retransmission system 18 identifies the packets in media cache 22 corresponding to the lost or corrupted packet information 30 in retransmission request 28.
The identified media packets in media cache 22 are sent as unicast media repair packets 34 back to the requesting media stream receiver 28. The media stream receiver 24 then inserts the received unicast media repair packets 34 into corresponding lost packet locations in the media stream 14. Thus, in one embodiment, a repair session uses unicast NACK packets 28 and unicast media repair packets 34 for repairing a multicast media session.
The media configuration shown in
In this example, only the unicast repair function ceases when the retransmission system 18 fails. Higher performance may also be provided since the retransmission system 18 only receives and caches the multicast media stream 14 and does not also have to retransmit the media stream 14 to the media stream receivers 24. Thus, by only providing media stream repair, the constant work factor for the retransmission system 18 is halved.
In the lookaside mode, the retransmission system 18 is distinguished from the media stream source 12 by using a feedback target address 16 for the retransmission system 18 that is different from the source IP address associated with the SSM media stream source 12.
IP Anycast Addressing
Referring to
To explain in more detail, message 40 identifies a single IP anycast address 46 for multiple different retransmission systems 18A and 18B available for repairing the multicast media stream 14. This SDP is provided to both the retransmission systems 18A and 18B, as well as to the receivers so that they will direct their retransmission requests to that anycast feedback address. Both retransmission system 18A and 18B cache the media stream 14 and are available for retransmitting lost packets to any of the media stream receivers 24A-24D.
Both of the retransmission systems 18A and 18B share the same IP anycast source address 46 identified in message 40. An IP anycast address refers to a unicast IP address that is used as a destination address simultaneously by multiple network processing devices. In this example, the network processing devices sharing IP address 46 include retransmission systems 18A and 18B.
The retransmission systems 18A and 18B and the media stream receivers 24 operate in substantially the same manner as described above in
Any of the media stream receivers 24A-24D may detect lost or corrupted packets or frames from the multicast media stream 14. In response, the receiver 24 sends out a unicast NACK retransmission request message 44. For explanation purposes, each of the media stream receivers 24A-24D in
Each of the retransmission request messages 44A-44D includes the same IP anycast destination address 46 along with the associated media stream receiver source address 48A-48D, respectively. The retransmission request messages 44A-44D also include lost packet information identifying which of the packets were lost from the multicast media stream 14.
Routers 42 and 44 in the IP network 10 use internal routing metrics to select which of the retransmission systems 18A or 18B has the cheapest IP routing cost for routing the messages 44A-44D. Since the IP anycast address 46 is shared by two different network processing devices 18A and 18B, the conventional routing metrics in the routers 42 and 43 will automatically select one of the two devices 18A or 18B for forwarding any messages 44A-44D. In this example, router 42 determines that retransmission system 18A has the shortest routing path for the retransmission request messages 44A and 44B received from receivers 24A and 24B, respectively. Alternatively, router 43 determines that retransmission system 18B has the shortest routing path for the retransmission request messages 44C and 44D received from receivers 24C and 24D, respectively.
Retransmission system 18A receives unicast NACK retransmission request messages 44A and 44B and retransmission system 18B receives unicast NACK retransmission request messages 44C and 44D. The retransmission system 18A responds back by sending unicast media repair packets from its cache of multicast media stream 14 back to receivers 24A and 24B. For example, retransmission system 18A sends unicast media repair packets 34 back to the media stream receiver 24B identified in message 44B. Retransmission system 18B responds to retransmission request messages 44C and 44D by sending unicast media repair packets from its cache of multicast media stream 14 back to receivers 24C and 24D, respectively.
This distributed routing of retransmission requests 44A-44D increases both availability and load sharing capacity while using substantially the same repair scheme described above in
For example, one or more retransmission systems 50 can be specifically designated to provide media packet repair for a particular multicast media stream 54. The feedback target IP anycast address identified in the Source Specific Multicast (SSM) multicast session for multicast media stream 54 is used as the source address for each of the retransmission systems 50. Similarly, one or more retransmission systems 52 can be designated to provide media packet repair support for a different multicast media stream 56. The feedback target IP anycast source address identified in the SSM multicast session for the multicast media stream 56 is used as the source address for each of retransmission systems 52.
In this example, media stream receiver 24B is receiving packets for multicast media stream 54. If any of the multicast packets are lost, media stream receiver 24B sends a unicast NACK retransmission request message 58 to the IP anycast destination address X associated with multicast media stream 54. The routers in the IP infrastructure (not shown) automatically route the retransmission request message 58 to one of the retransmission systems 50 which then sends back unicast media repair packets containing the identified lost packets.
Thus, different retransmission systems can be associated with different media streams to further increase the repair scheme scalability. However, in other embodiments, a retransmission system 50 may provide repair support for more than one media stream.
The retransmission source 70A caches the original media stream 14 in media cache 22A and if necessary “re-sources” the received media stream 14, operating as a legal RTP mixer/translator according to the RTP specifications. Similarly, retransmission source 70B retransmits the original media stream 14 cached in media cache 22B as multicast media stream 64.
In the source mode, the retransmission sources 70A and 70B still receive unicast NACK retransmission request messages 44 from the media stream receivers 24 when multicast media stream packets are lost. The retransmission sources 70 accordingly send back unicast media repair packets 34 containing the requested lost media.
In one embodiment, the two retransmission sources 70A and 70B also still share the same IP source address 46. This common IP source address 46 for the feedback target can again be identified for the multicast media session using out-of-band or in-band messaging. The messages 60 exchanged between the media stream source 12, retransmission sources 70, and the media stream receivers 24, associate media stream 14 with feedback target IP anycast address 46.
Sharing the same IP destination address 46 provides high availability and load sharing for the repair scheme similar in a similar manner as described above in
For example, retransmission source 70A re-originates media stream 14 as multicast media stream 62 and retransmission source 70B re-originates media stream 14 as multicast media stream 64. The multicast packets 72 for multicast media stream 62 and the multicast packets 74 from multicast media stream 64 each use the same source IP address 46.
Any routers 42 in the IP network 10 receiving both media streams 62 and 64 with the same source address automatically drop packets for one of the two streams according to a basic characteristic of multicast routing known as “reverse path forwarding”. For packets being forwarded on a multicast tree, only those received from the upstream branch leading to the source IP address at the root of the tree are accepted for forwarding. In this example, the router 42 drops the multicast packets 74 for media stream 64 and only routes the multicast packets 72 for media stream 62 to the media stream receiver 24.
If retransmission source 70A is ever disabled, the router 42 will re-compute internal routing metrics and then automatically start routing the multicast packets 74 for media stream 64 to media stream receiver 24. Accordingly, using the shared IP anycast address 46 and the SSM source address also provides redundancy and load sharing for the multicast media stream source.
The shared IP source address 46 still increases retransmission repair redundancy and load balancing as described above in
Extension of Repair Scheme for Fast Stream Join
Several observations can be made with respect to a stream join as compared with a media stream repair operation. A media stream receiver joining a new RTP session may have no idea what packets are needed to render the current stream. Also since multicast video sessions may be involved the media stream receiver is in all likelihood “behind” the multicast stream in time and may need to “catch up”. This is important because the media stream receiver may not be able to render the media stream until it receives an intra-coded frame that may have passed by shortly before the media stream receiver attempts to join the multicast session.
Referring to
A media stream receiver 24 detects a request to join a new multicast media stream and sends a unicast request 96 to the retransmission system 86 specifying the new channel which the receiver wishes to receive. A channel join request may detected, for example, by a set top box that detects a user using user interface 94 to select a new or different multicast media channel.
The unicast channel join request 96 in one embodiment is substantially the same RTCP NACK retransmission request message described above in
The channel join request 96 is sent by the media stream receiver 24 to the feedback target address 100 for the retransmission system 86 associated with the identified new media stream 102. It is worth noting that initiation of the fast channel/stream join scheme is similar to the repair scheme described above since it exploits the same NACK and retransmission machinery.
Referring to both
In operation 112, the retransmission system 86 uses the cached video information for the selected media stream to extract from the cache all the elements the receiver 24 may need to “prime” its decoder 97. This may include a Moving Pictures Experts Group (MPEG) Program Association Table (PAT) and Program Map Table (PMT) elements, Encryption Control Messages (ECMs) and possibly other non-video data needed by the decoder 97. The retransmission system 86 in operation 114 constructs a Real-time Transport Control Protocol (RTCP) APPlication-specific (APP) decoder packet 88 and in operation 116 sends the decoder priming packet 88 to the media stream receiver 26 that requested the channel join.
In operation 118, the retransmission system 86 references back into media cache 87 for the RTP data containing the most recent cached intra-coded frame (I-frame). In operation 120, the retransmission system 86 sends the cached RTP packets containing the I-frame and all subsequent frames 90 up to a current cache time to the media stream receiver 24. The identified frames 90 are burst to the receiver 24 at a much faster speed than what the media in the packets is actually rendered by receiver 24 (i.e., faster than real-time). This speeds up the channel join process by allowing the receiver to render video going back to the previous I-frame.
The portions of the stream sent back are not necessary to simply join the new stream. The receiver can join the stream just by knowing the SDP for the media stream and performing a conventional IGMP join operation without asking for channel join. The burst of the cached data back from the prior I-frame allows the receiver to start rendering before the join completes and the next I-frame arrives. If the data were not burst faster than real-time, the receiver would not be able to “catch up” with the multicast stream, which is ahead of the receiver in time. Thus, the burst frames are essentially “back filling” to the previous I-frame so the receiver is able to render media prior to when the next I-frame arrives on the multicast stream.
The decoder 97 in the receiver 24 is primed with the information from the decoder packet 88 and media frames 90. After being primed and receiving the burst, the receiver 24 can join the multicast group for the new stream and can start rendering any subsequent media from the joined multicast media stream 82N.
As with the basic packet repair operations, the fast channel join scheme can exploit any of the anycast-based availability and load sharing features provided either by the look aside mode scheme in
It is also worth noting that the media repair and channel join schemes are essentially stateless. They maintain no state about individual receivers except during a repair or channel join operation. This allows the system to scale much better than a system in which permanent or semi-permanent state is kept in the retransmission system about each receiver potentially wishing to request repair or channel join operations. The normal routing states in the routers in the IP network provide any knowledge required for ensuring retransmission requests or channel join requests are directed to operational retransmission systems 18. The routing metrics in the IP network routers also, as a by-product, provide a degree of load balancing.
Thus, the media source, retransmission systems, and media stream receivers associated with a media stream are not required to keep track of which media stream sources or which retransmission systems are operational, or which media stream receivers are currently connected to which media streams.
The RTP unicast repair scheme also does not require the retransmission systems to remember what repair or channel join packets have been previously received or sent to media stream receivers. Each retransmission or channel join request can be a single unitary request that is answered with a single response or group of responses by the retransmission system with no required state knowledge of what other repair operations have been previously performed for the requesting receiver.
Thus, the use of RTP protocol machinery with the above described extensions allows the creation of a unified technique for both retransmission-based media stream repair and fast channel joining (i.e., stream joining). Operation in either the lookaside mode or source mode can use anycast-based feedback addressing to improve scalability, robustness, and performance. Separate operations are unified with common mechanisms and low protocol, state, and computational overhead.
The system described above can use dedicated processor systems, micro controllers, programmable logic devices, or microprocessors that perform some or all of the operations. Some of the operations described above may be implemented in software and other operations may be implemented in hardware.
For the sake of convenience, the operations are described as various interconnected functional blocks or distinct software modules. This is not necessary, however, and there may be cases where these functional blocks or modules are equivalently aggregated into a single logic device, program or operation with unclear boundaries. In any event, the functional blocks and software modules or features of the flexible interface can be implemented by themselves, or in combination with other operations in either hardware or software.
Having described and illustrated the principles of the invention in a preferred embodiment thereof, it should be apparent that the invention may be modified in arrangement and detail without departing from such principles. I/We claim all modifications and variation coming within the spirit and scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
3840862 | Ready | Oct 1974 | A |
4291196 | Spaniol et al. | Sep 1981 | A |
4426682 | Riffe et al. | Jan 1984 | A |
4802085 | Levy et al. | Jan 1989 | A |
4811203 | Hamstra | Mar 1989 | A |
5155824 | Edenfield et al. | Oct 1992 | A |
5307477 | Taylor et al. | Apr 1994 | A |
5524235 | Larson et al. | Jun 1996 | A |
5551001 | Cohen et al. | Aug 1996 | A |
5636354 | Lear | Jun 1997 | A |
5734861 | Cohn et al. | Mar 1998 | A |
5828844 | Civanlar et al. | Oct 1998 | A |
5870763 | Lomet | Feb 1999 | A |
5926227 | Schoner et al. | Jul 1999 | A |
5933195 | Florencio | Aug 1999 | A |
5933593 | Arun et al. | Aug 1999 | A |
6003116 | Morita et al. | Dec 1999 | A |
6119205 | Wicki et al. | Sep 2000 | A |
6278716 | Rubenstein | Aug 2001 | B1 |
6289054 | Rhee | Sep 2001 | B1 |
6567929 | Bhagavath et al. | May 2003 | B1 |
6608841 | Koodli | Aug 2003 | B1 |
6766418 | Alexander et al. | Jul 2004 | B1 |
6782490 | Maxemchuk et al. | Aug 2004 | B2 |
6792047 | Bixby | Sep 2004 | B1 |
6804244 | Anandakumar et al. | Oct 2004 | B1 |
6865157 | Scott et al. | Mar 2005 | B1 |
6910148 | Ho et al. | Jun 2005 | B1 |
7114002 | Okumura et al. | Sep 2006 | B1 |
7164680 | Loguinov | Jan 2007 | B2 |
7180896 | Okumura et al. | Feb 2007 | B1 |
7224702 | Lee | May 2007 | B2 |
7234079 | Cheng et al. | Jun 2007 | B2 |
7257664 | Zhang | Aug 2007 | B2 |
7263075 | Roh et al. | Aug 2007 | B2 |
7296205 | Curcio et al. | Nov 2007 | B2 |
7324527 | Fraas et al. | Jan 2008 | B1 |
7373413 | Nguyen et al. | May 2008 | B1 |
7392424 | Ho et al. | Jun 2008 | B2 |
7532621 | Birman et al. | May 2009 | B2 |
7707303 | Albers | Apr 2010 | B2 |
20020114332 | Apostolopoulos et al. | Aug 2002 | A1 |
20020126711 | Robinett et al. | Sep 2002 | A1 |
20030101408 | Martinian et al. | May 2003 | A1 |
20030158899 | Hughes | Aug 2003 | A1 |
20030236903 | Piotrowski | Dec 2003 | A1 |
20040071128 | Jang et al. | Apr 2004 | A1 |
20040078624 | Maxemchuk et al. | Apr 2004 | A1 |
20040100937 | Chen | May 2004 | A1 |
20040114576 | Itoh et al. | Jun 2004 | A1 |
20040143672 | Padmanabham et al. | Jul 2004 | A1 |
20040196849 | Aksu et al. | Oct 2004 | A1 |
20040244058 | Carlucci et al. | Dec 2004 | A1 |
20050058131 | Samuels et al. | Mar 2005 | A1 |
20050074007 | Samuels et al. | Apr 2005 | A1 |
20050078698 | Araya et al. | Apr 2005 | A1 |
20050099499 | Braunstein | May 2005 | A1 |
20050198367 | Ettikan | Sep 2005 | A1 |
20050207406 | Reme | Sep 2005 | A1 |
20050249231 | Khan | Nov 2005 | A1 |
20050289623 | Midani et al. | Dec 2005 | A1 |
20060075084 | Lyon | Apr 2006 | A1 |
20060075443 | Eckert | Apr 2006 | A1 |
20060083263 | Jagadeesan et al. | Apr 2006 | A1 |
20060085551 | Xie et al. | Apr 2006 | A1 |
20060120378 | Usuki et al. | Jun 2006 | A1 |
20060126667 | Smith et al. | Jun 2006 | A1 |
20060143669 | Cohen | Jun 2006 | A1 |
20060159093 | Joo et al. | Jul 2006 | A1 |
20060187914 | Gumaste et al. | Aug 2006 | A1 |
20060188025 | Hannuksela | Aug 2006 | A1 |
20060242240 | Parker et al. | Oct 2006 | A1 |
20060242669 | Wogsberg | Oct 2006 | A1 |
20060279437 | Luby | Dec 2006 | A1 |
20070008934 | Balasubramanian et al. | Jan 2007 | A1 |
20070044130 | Skoog | Feb 2007 | A1 |
20070204320 | Wu et al. | Aug 2007 | A1 |
20070214490 | Cheng et al. | Sep 2007 | A1 |
20070268899 | Cankaya | Nov 2007 | A1 |
20070277219 | Toebes et al. | Nov 2007 | A1 |
20080189489 | Mitra | Aug 2008 | A1 |
20080192839 | Gahm et al. | Aug 2008 | A1 |
20080225850 | Oran | Sep 2008 | A1 |
20080253369 | Oran | Oct 2008 | A1 |
20080256409 | Oran et al. | Oct 2008 | A1 |
20080267078 | Farinacci | Oct 2008 | A1 |
20080310435 | Cagenius et al. | Dec 2008 | A1 |
20090034627 | Rodriguez | Feb 2009 | A1 |
20090034633 | Rodirguez | Feb 2009 | A1 |
20090049361 | Koren et al. | Feb 2009 | A1 |
20090055540 | Foti et al. | Feb 2009 | A1 |
20090119722 | VerSteeg | May 2009 | A1 |
20090150715 | Pickens | Jun 2009 | A1 |
20090201803 | Filsfils | Aug 2009 | A1 |
20090201805 | Begen | Aug 2009 | A1 |
20090213726 | Asati | Aug 2009 | A1 |
20100005360 | Begen | Jan 2010 | A1 |
20100036962 | Gahm | Feb 2010 | A1 |
Number | Date | Country |
---|---|---|
1271953 | Jan 2003 | EP |
1581005 | Sep 2005 | EP |
1608116 | Dec 2005 | EP |
1670252 | Jun 2006 | EP |
2008728919 | Feb 2008 | EP |
7814245.2 | May 2009 | EP |
2007814246 | Jun 2009 | EP |
9831381.3 | Nov 2009 | EP |
9718637 | May 1997 | WO |
0035201 | Jun 2000 | WO |
2000076113 | Dec 2000 | WO |
2001061909 | Aug 2001 | WO |
2006031925 | Mar 2006 | WO |
2006057606 | Jun 2006 | WO |
2006107424 | Oct 2006 | WO |
2008000289 | Jan 2008 | WO |
2008033644 | Mar 2008 | WO |
2008033645 | Mar 2008 | WO |
2008100725 | Aug 2008 | WO |
2008112465 | Sep 2008 | WO |
2009099847 | Aug 2009 | WO |
Number | Date | Country | |
---|---|---|---|
20080062990 A1 | Mar 2008 | US |
Number | Date | Country | |
---|---|---|---|
60825268 | Sep 2006 | US |