US008018955B2

(12) United States Patent (10) Patent N0.: US 8,018,955 B2 Agarwal et a]. (45) Date of Patent: Sep. 13, 2011

(54) PROVIDING DYNAMIC CHANGES TO 6,775,273 B1 8/2004 Kung et al. PACKET FLOWS 6,778,494 B1 8/2004 Mauger et a1. 6,810,259 B1 10/2004 Zhang 6,847,991 B1 1/2005 Kurapati (75) Inventors: Kaitki Agarwal, Westford, MA (US); 6,853,630 B1 2/2005 Manning Raj at Ghai, Sandwich, MA (US) 6,854,014 B1 2/2005 Amin et al. 6,888,821 B2 * 5/2005 Rasanen et al...... 370/352 (73) Assignee: Starent Networks LLC, Wilmington, 6,973,309 B1 12/2005 Rygula et 31. DE (US) 6,978,380 B1 12/2005 Husain et al. (Continued) (*) Notice: Subject to any disclaimer, the term of this patent is extended or adjusted under 35 FOREIGN PATENT DOCUMENTS U.S.C. 154(b) by 0 days. EP 1414212 4/2004 (21) Appl. No.: 11/953,000 (Continued) (22) Filed: Dec. 7, 2007 OTHER PUBLICATIONS printed on (65) Prior Publication Data Dec. 5, 2009. US 2008/0137541A1 Jun. 12, 2008 (Continued)

Related US. Application Data Primary Examiner * Salman Ahmed (60) Provisional application No. 60/873,493, ?led on Dec. Assistant Examiner * Peter Chau 7, 2006. (74) Attorney, Agent, or Firm *Wilmer Cutler Pickering Hale and Dorr LLP (51) Int. Cl. H04L 12/28 (2006.01) (57) ABSTRACT H04L 12/56 (2006.01) Systems and methods for providing dynamic changes to a (52) US. Cl...... 370/401; 370/235; 370/236; 370/310; packet ?ow in a communication network are described. The 370/395.2; 370/395.21; 709/228; 709/231 dynamic changes can include upgrading and downgrading (58) Field of Classi?cation Search ...... None quality of service (QoS), adapting the stream to a receiving See application ?le for complete search history. device, modifying the stream to counter-act changes in an air interface, and modifying the stream to accommodate an inter (56) References Cited technology handover. These changes can be provided by inspecting packets at a gateway and setting up a proxy for U.S. PATENT DOCUMENTS multimedia stream packet ?ows. The proxy can coordinate 6,138,156 A 10/2000 Fletcher et a1. transcoding to take place to change the stream. The gateway 6,327,471 B1 12/2001 Song can also monitor conditions at the mobile node using a real 6,431,875 B1 8/2002 Elliott et a1. 6,477,590 B1 11/2002 Habusha et a1. time control protocol or other applicable protocols. 6,687,252 B1 2/2004 Bertrand et a1. 6,714,987 B1 3/2004 Amin et 31. 6 Claims, 10 Drawing Sheets

lP Multimedia Networks

122 112

l-CSCF

123 BGCF 116 126

118 MGMIMS---- 124 MGCF -; S-CSCF

114 MRFC P-cscFl ---- 120 130 110 IP Multimedia Subsystem US 8,018,955 B2 Page 2

US. PATENT DOCUMENTS 2008/0095339 A1 4/2008 Elliott et al. * 7,454,206 B1 11/2008 Phillips et al. 588248832433 2} 245882 5'1 """""""" " 370/389

7,474,894 B2 * 1/2009 Cardina et a1~ ~~~~~~~~~~~ ~~ 455/4323 Zoos/0219218 A1 * 9/2008 Ry dn e 11 et a 1 . ' ...... 370/331 7,613,836 B2 11/2009 Tobe?“ 31' 2008/0233947 A1 9/2008 Herrero-Veron 2002/0029260 A1 3/2002 Dobbins et al. -

2003/0016630 A1 1/ 2003 Vega'Gm‘a 6‘ al' 2009/0109845 :1A1 4/2009 Andreasen et al.

20032003/0050076 0058872 A1 33/2003 2003 WatanabeBerggreen et M . 2009/0285225 A1 11/2009 Dahod 2003/0188012 A1 10/2003 Ford FOREIGN PATENT DOCUMENTS 2003/0227880 A1 12/2003 Heller et al. 2004/0006573 A1 * 1/2004 Takashi ...... 707/104.1 W0 Wool/22642 3/2001 2004/0047290 A1 3/2004 Komandur et al. W0 WO-2007/081727 7/2007 2004/0054929 A1 3/2004 Sel'pa W0 WO-2009/067445 5/2009 2004/ 0068574 A1 4/2004 Costa Requena et al. 2004/0109414 A1 6/2004 ChOi et al. OTHER PUBLICATIONS 2004/0109459 A1 6/2004 Madour et al. 2004/0111476 A1 6/2004 Trossen et al. “mp/M W W'acmepacket'con?hnnl/page' 2004/0122954 A 1 * 6/2004 Shaheen ,,,,,,,,,,,,,,,,,,,,, ,, 709/227 aSPT’PageID:%7bFB2657BA-EE7A-46CI-BEA8 2004/0122967 A1 6/2004 Bressler et al. F650C93BF5C3%7d> printed on Dec. 5, 2009. 2004/0137918 A1 7/2004 V?rOIleIl et 81. International Search Report and Written Opinion issued for Interna 2004/0139230 A1 7/2004 K_im tional Patent Application No. PCT?JS2007/086802. 2004/0224688 A1 11/2004 Flscher International Search Report and Written Opinion issued for Interna 2005/0002381 A1 1/ 2005 westlnan 6‘ a1~ tional Patent Application No. PCT?JS2007/086747. 32221233311‘ International Search Report and Written Opinion for corresponding Zoos/0021713 Al M2005 Dugan et a1‘ ' International Patent Application No. PCT/US2007/086884. Zoos/0083974 A1 4/2005 Mayer et 31‘ CT Labs Report, “SIP and RTP Denial of Service Attack Tests Sum 2005/0111450 A1 5/2005 Miyamoto etal. mary Report”, PP~ 1-4, 2005 2005/0124341 A1 6/2005 Myllyrnaki et al. httP1//WWW~3gPP~9rg, 3GPP TS 24229 V6~l2~0 (Sell 2006), PP~ 2005/0190740 A1 9/2005 Zhao et al. 1-304, Oct. 3, 2006. 2005/ 0201357 Al 9/2005 Poyhonen International Search Report and Written Opinion for PCT Applica 2005/0204052 A1 * 9/2005 Wang et 81. ~~~~~~~~~~~~~~~~~ ~~ 709/231 tion No. PCT/US07/86808 issued on Apr. 10, 2008. 2005/0233727 A1 10/2005 Poikselka et a1~ International Search Report and Written Opinion for PCT Applica 2006/0025132 A1* 2/2006 KaraoguZ et al...... 455/433 tion N0‘ pCT/US07/86886 mailed Apr‘ 10, 2008‘ * lsérlzlszgsd et al' 455/428 International Search Report and Written Opinion for PCT Applica """""""""" " tion No. PCT/US2007/000132. ggljaigglét al‘ International Search Report and Written Opinion for PCT Applica 2006/0104431 A1 5/2006 Emery et al. t1°n_N°~ PCT/US2008/83911~ _ _ 2006/0146792 A1 7/2006 Ramachandmn et a1‘ Partlal Internatlonal Search Report for PCT Appl1cat1on No. PCT/ 2006/0155871 A1 7/2006 Ilkka et al. US2007/000132 2006/0193295 A1 8/2006 White et al. 3GPP TS 23.401 v8.3.0 (Sep. 2008), 3rd Generation Partnership 2006/0211423 Al 9/ 2006 Ej Zak et al. Project; Technical Speci?cation Group Services and System Aspects; 2006/0239255 A1 10/2006 R?m?ch?ndf?n 6131 General Packet Radio Services (GPRS) enhancements for Evolved 2006/0251050 A1 11/2006 Karlsson Univeral Terrestrial Radio Access Network (E-UTRAN) access 2006/0256751 Al 11/2006 Jagadeesan et al. (Release 8), httpy/www‘3gpp‘org (204 pages)‘ 2006/0256779 A1 11/2006 Llm et a1~ 3GPP TS 29.274 v1.3.0 (Oct. 2008), 3rd Generation Partnership 2006/0264213 Al 1 H2006 Thompson Project; Technical Speci?cation Group Core Network and Terminals; 2006/0270404 A1 11/2006 Tu0h1n0 et al. . 2007/0022l99 Al V2007 Tatsubori 3GPP Evolved Packet System; Evolved GPRS Tunnelllng Protocol 2007/0025301 A1 * 2/2007 Petersson et a1, ,,,,,,,,,,, ,, 370/338 for C°I1U°1P1ane(GTPV2'00; Stage 3 (Release 8);}1ttP1//WWW~3gPP~ 2007/0036078 A1 2/2007 Chowdhury et al. Org (1 Page) _ _ 2007/0036079 A1 2/2007 Chowdury et a1, 3GPP TS 36.413 v8.3.0 (Sep. 2008), 3rd Generatlon Partnershlp 2007/0041320 A1 * 2/2007 Chen et a1, ,,,,,,,,,,,,,,,,,, ,, 370/23 5 Project; Technical Speci?cation Group Radio Access Network; 2007/0058561 A1 3/2007 Virgile Evolved Univeral Terrestrial Radio Access Network (E-UTRANO; 2007/0066286 A1 * 3/2007 Hurtta ...... 455/4141 Sl Application Protocol (SlAP) (Release 8), http://www.3gpp.org (2 2007/0076729 A1 4/2007 Takeda pages), ; Elm et_al' t 31 International Search Report and Written Opinion for corresponding aupplnen e . - - - - 2007/0118656 A1 * 5/2007 Anderson et al...... 709/227 EL???‘ggggiégigétsfhcanon NO‘ PCTmS2009/043696 Issued on 2311:2223 :l'al‘ International Search Report for International Application No. PCT/ 2007/0206617 A1 9/2007 Andreasen et al. US09/64823 malled Fefbj 12, 2010 (1 Pag‘?) _ 2007/0209061 A1 9/2007 Dekeyzer et a1‘ Nguyen-Vuong. “Moblllty Management 1n 4G Wlreless Heteroge 2007/0253371 A1 11/2007 Harper et a1, neous Networks”, PhD thesis. Jul. 2, 2008. www.biblio.univ.evry.fr/ 2007/0254673 A1 11/2007 Stenberg et al. theSeS/2008/2008EVRY00007.pdf(171 pages). 2008/0002592 A1 l/2008 Yegani et al. Partial International Search Report issued for International Patent 2008/0020775 A1 1/2008 Willars Application No. PCT/US2007/000132, (2 pages). 2008/0052387 A1 2/2008 HeinZ et al. 2008/0084867 A1 4/2008 Foti et al. * cited by examiner

US. Patent Sep. 13, 2011 Sheet 2 0f 10 US 8,018,955 B2

.GEN

US. Patent Sep. 13, 2011 Sheet 4 0f 10 US 8,018,955 B2

\‘Iii-2...... ‘

\QEwEv68w Nmw\‘ 358:.zn_<32$23E32mmn25 \hjmiamwABEEEQES.QSQEwEQEmEomv A

F\nu?smgégG0it:P.A NNANwwwit:v68NP. Outsmhm0:214+ x0o.tmwkmcom .GEw @NQmg

\-%32m2§m

US. Patent Sep. 13, 2011 Sheet 6 0f 10 US 8,018,955 B2

622 624 / / External or External or Internal Internal Gateway - " ‘6 / 616g?

616

RTSP . Resdonses ' _ 638 j - 626 / . I \ , f '

' 630 I I 628 \ .

\ I ' '. I \ ' RTSP R51? 6526x3221, ‘\ 644 \ '\ \ Access Gateway 668WPDS ,ekgww .

FIG. 6

US. Patent Sep. 13, 2011 Sheet 8 0f 10 US 8,018,955 B2

NNw

.QEw U S. Patent Sep. 13, 2011 Sheet 9 0f 10 US 8,018,955 B2

IIIIIIII US. Patent Sep. 13, 2011 Sheet 10 0f 10 US 8,018,955 B2

ONE,

xzEmuLmE E9238

mgr US 8,018,955 B2 1 2 PROVIDING DYNAMIC CHANGES TO CSCF (S-CSCF). Additionally, the CSCF functionality is PACKET FLOWS envisioned by tWo different groups for inclusion in tWo dif ferent topologies: Global System for Mobile Communica CROSS REFERENCE TO RELATED tions (GSM) and CDMA 2000. The 3rd Generation Partner APPLICATION ship Project (3GPP) is responsible for IMS Which Works With GSM systems and the 3rd Generation Partnership Project 2 This application claims bene?t under 35 U.S.C. §l 19(e) of (3GPP2) is responsible for Multimedia Domain (MMD) US. Provisional Patent Application No. 60/873,493, entitled Which is used With CDMA systems and is based on the 3GPP “Apparatus and Method for Providing a Call Session Control IMS concept. Function,” ?led Dec. 7, 2006, Which is hereby incorporated Another aspect gaining prominence is Quality of Service by reference herein in its entirety. (QoS) as netWorks are looking to guarantee levels of service to a user for running applications such as VoIP, streaming FIELD OF THE DISCLOSURE media, gaming, etc. to a mobile node. QoS typically Works by This disclosure relates to a system and method for provid providing a certain level of bandWidth to a data How at a ing dynamic changes to packet ?oWs in a communication certain point in the delivery process. This Works Well on network. Wireline netWorks Where the transmission of information is fairly constant. HoWever, Where the transmission medium is BACKGROUND not as certain, QoS can fail to provide the actual level of 20 service to the user depending on conditions such as interfer Wireless communication systems and netWorks are used in ence or fading. connection With many applications, including, for example, satellite communications systems, portable digital assistants SUMMARY OF THE DISCLOSURE (PDAs), laptop computers, and cellular telephones. One sig ni?cant bene?t that users of such applications obtain is the 25 Systems and methods for providing dynamic changes to ability to connect to a netWork (e.g., the Internet) as long as packet ?oWs in a communication netWork are disclosed. In the user is Within range of such a Wireless communication some embodiments, adaptive quality of service (QoS) is pro system. vided to a multimedia session in real time, Where the session Current Wireless communication systems use either, or a can be monitored and managed to provide a better user expe combination of, circuit sWitching and packet sWitching in 30 rience. In certain embodiments, a gateWay in a communica order to provide mobile data services to a mobile node. A tion netWork includes a proxy instance residing in the gate mobile node can be a cell phone, a PDA, a Blackberry, a Way that inspects packets for information regarding setup of laptop computer With a Wireless card, or any other Wireless media streams, an inline service residing in the gateWay that device. Generally speaking, With circuit-based approaches, negotiates a session With a mobile node to set media stream Wireless data is carried by a dedicated (and uninterrupted) 35 parameters, monitors feedback received from the mobile connection betWeen the sender and recipient of data using a node, and manages transcoding, and a digital signal processor physical sWitching path. Once the direct connection is setup, (DSP) residing in the gateWay that provides transcoding to a it is maintained for as long as the sender and receiver have media stream. data to exchange. The establishment of such a direct and In some embodiments, a method includes inspecting pack dedicated sWitching path results in a ?xed share of netWork 40 ets to detect a setup of a media stream to a mobile node, resources being tied up until the connection is closed. When modifying setup messages to pass the media stream through the physical connection betWeen the sender and the receiver is an inline service, monitoring feedback received from the no longer desired, it is tom-doWn and the netWork resources mobile node, and analyZing feedback to determine modi?ca are allocated to other users as necessary. tions to the media stream and managing a digital signal pro Packet-based approaches, on the other hand, do not perma 45 cessing (DSP) engine. nently assign transmission resources to a given call, and do not require the setup and teardoWn of physical connections BRIEF DESCRIPTION OF THE DRAWINGS betWeen a sender and receiver of data. In general, a data How in packet-based approaches is “packetiZed,” Where the data is FIG. 1 is a block diagram illustrating an IP multimedia divided into separate segments of information, and each seg 50 subsystem (IMS) architecture in accordance With certain ment receives “header” information that may provide, for embodiments; example, source information, destination information, infor FIG. 2 is a block diagram illustrating a multimedia domain mation regarding the number of bits in the packet, priority (MMD) architecture in accordance With certain embodi information, and security information. The packets are then ments; routed to a destination independently based on the header 55 FIG. 3 is a block diagram illustrating delivery of streaming information. The packet How may include a number of pack media to a mobile node in accordance With certain embodi ets or a single packet. Services may be applied to a packet ?oW ments; such as laWful interception (Wire tapping), Virtual Private FIG. 4 is a signaling ?oW illustrating setup and teardoWn of NetWorks (V PNs), and ?reWalls. a media stream in accordance With certain embodiments; A part of the evolution of packet based communications 60 FIG. 5 is a block diagram illustrating provision of dynamic has been the development of IP Multimedia Subsystem management of a media stream in accordance With certain (IMS). IMS is an architectural frameWork for delivering inter embodiments; net protocol (IP) multimedia to mobile nodes. A call session FIG. 6 is a block diagram illustrating mechanisms Within a control function (CSCF) can manage much of the signaling gateWay for providing dynamic management of a media that occurs in an IMS core. The CSCF functionality can be 65 stream in accordance With certain embodiments; logically divided into three functionalities: a Proxy-CSCF FIG. 7 is a signaling ?oW illustrating dynamic management (P-CSCF), an Interrogating CSCF (I-CSCF), and a Serving of a media stream in accordance With certain embodiments; US 8,018,955 B2 3 4 FIG. 8 is a block diagram illustrating dynamic manage municate With access netWorks 214, as Well as a home agent ment of a media stream across access networks in accordance 216 to provide Mobile IP support to mobile stations 218 (or With certain embodiments; mobile node). A policy decision function (PDF), Which can be FIG. 9 is block diagram illustrating dynamic management included in a IMS or MMD netWork stores policies governing of a media stream during a device handover in accordance a user’s session. Application servers such as an open systems With certain embodiments; and architecture (OSA) application server 222 and SIP applica FIG. 10 is a block diagram illustrating modules running on tion server 224 provide applications such as location based a gateWay in accordance With certain embodiments. services, video, email, chat, gaming, and other data and mul timedia content. DETAILED DESCRIPTION As shoWn in FIGS. 1 and 2 a number of functions can be included in IMS and MMD topologies. Several of these func Systems and methods for dynamic application of changes tions are used in providing, for example, voice over IP (VoIP) to a media stream in a communication netWork are disclosed routing and enhanced services, such as enhanced charging, in some embodiments. A gateWay may be used to implement stateful ?reWalls, tra?ic performance optimiZation (TPO). In the quality of service on packet ?oWs for IP multimedia some embodiments, one or more of these functions can be subsystem (IMS) and multimedia domain (MMD) architec provided by a single entity in the netWork such as a gateWay. tures. QoS enforcement and the dynamic application of QoS The IMS and MMS topologies also alloW provision of appli can be provided by a combination of hardWare and softWare. cations such as VoIP, streaming video, streaming music, Residing Within the gateWay can be one or more netWork multi-user gaming, location based services, and a variety of processing units, line cards, as Well as packet and voice pro 20 content delivered to a mobile node. cessing cards. QoS typically Works by providing a certain FIG. 3 illustrates a delivery of streaming media to a mobile level of bandWidth to a data How at a certain point in the node in accordance With certain embodiments. FIG. 3 delivery process. For example, guaranteeing a certain band includes a mobile node 310, a radio access netWork (RAN), Width at a packet data serving node (PDSN) or similar net an IP carrier access netWork (IPCAN) 314, an access gateWay Working equipment. The problem With QoS using this 25 316, Internet 318, Web servers 320, and media servers 322. approach is that the actual bandWidth achieved over the air Access gateWay 316 can be a packet data serving node link to the mobile node is not a factor. If there is interference (PDSN), a gateWay GPRS support node (GGSN), or any other or drops in signal strength because of the distance to the radio applicable netWork equipment. A user can request content on access network, the QoS is not adjusted because there is no their mobile node 310 With a HTTP request description mes feedback. The QoS mechanisms provided by the standards 30 sage 324. Web servers 320 can respond With a message 324 are static. In certain embodiments, QoS is dynamically pro that identi?es to mobile node 310 Where the content can be vided in IMS and MMS topologies through the use of feed located. Mobile node 310 can then send a real-time streaming back. protocol (RTSP) request 326 to media servers 322. Media FIG. 1 illustrates an IP multimedia subsystem (IMS) Where servers can provide mobile node 310 With a response and logical components of a netWork setup are shoWn in accor 35 real-time transport protocol streaming media 326. dance With some embodiments. FIG. 1 includes a P-CSCF FIG. 4 illustrates a signaling diagram of communication 110, an I-CSCF 112, a S-CSCF 114, a Home Subscriber involved in providing streaming media in accordance With Server (HSS) 116, a Subscriber Location Function (SLF) certain embodiments. FIG. 4 includes a mobile node 410, an 118, User Equipment (UE) 120, Breakout GateWay Control Internet access point name (APN) 412, Web server 414, and Function (BGCF) 122, Media GateWay Control Function 40 media server 416. Internet APN is an intemet server such as a (MGCF) 124, Media GateWay (MGW) 126, Public SWitched virtual private netWork (V PN), for example. Mobile node 410 Telephone NetWork (PSTN) 128, Multimedia Resource Con sends a get message 418 to Internet APN 412 to get content troller (MRFC) 130, and Multimedia Resource Function Pro speci?ed by the user. Internet APN 412 forWards get message cessor (MRFP) 132. HSS 116 is a master user database that 420 to the appropriate Web server 414. Web server 414 sends supports the S-CSCF or other netWork entities that handle 45 a HTTP 200 OK message 422. Message 422 can include real calls and sessions. HSS 116 stores subscription-related infor time streaming protocol (RTSP) information in the message mation such as user pro?les, performs user authentication and body. An example of information message 422 can include is: authorization, and can provide information about the physical v :0 location of the user. When multiple HSSs are used in a net o :—2890 2890842807 IN IP4 192.16.24.202 Work a SLF 118 can be used to direct the queries to HSS 116 50 s :RTSP Session storing the information. Legacy signaling netWorks may also m :audio 0 RTP/AVP 0 use the HSS for services. MRFC 130 communicates With a :control:rtsp://audio.com/terminator/audio.en S-CSCF 114 and controls the MRFP 132 to implement media In :video 0 RTP/AVP 31 related functions. The combination of MRFC 130 and MRFP a :control:rtsp://video.com/terminator/video 132 provides a source of media in the home netWork. BGCF 55 Internet APN 412 receives message 422 and forWards mes 122 is a server that can route based on telephone number and sage 424 on to mobile node 410. is used When calling to a phone on the circuit sWitched net In RTSP message 426, a setup and a play request is made Work. MGCF 124 and MGW 126 are used to convert signal regarding the desired content. Internet APN forWards mes ing from IMS to that Which is appropriate for PSTN 128 sage 428 on to the appropriate media server 416 to ful?ll the circuit sWitched netWorks. The IP Multimedia Subsystem 60 setup and play request message 426. Media server 416 sends netWork can include application servers and other netWork a RSTP 200 OK message 430. IntemetAPN receives message entities that provide services to user equipment (or mobile 430 and forWards message 432 to the appropriate mobile node node) 120. 410. In 434, the same type of messaging is performed to FIG. 2 illustrates a Multimedia Domain (MMD) system retrieve the video content from media server 416. Media 210 Within a larger netWork. The MMD system 210 includes 65 server 416 begins sending RTP video and audio to mobile many of the same functions as the IMS system of FIG. 1, but node 410 With packet How 436. Real time control protocol further includes an access gateWay/foreign agent 212 to com (RTCP) messaging 438 can be used to provide out of band US 8,0l8,955 B2 5 6 control information regarding the RTP packet How and pro 352x288. The gateWay can tailor content to the device attach vide QoS feedback. The RTCP messaging 438 can be moni ing to the netWork through on the ?y transcoding in some tored by Internet APN, Which is an access gateWay, to obtain embodiments. For a 3G mobile device, the gateWay can feedback on the QoS levels at mobile node 410. Depending on doWngrade the resolution While changing the format and data the QoS level obtained by RTCP messaging 438, Internet rate to ensure a desired QoS despite the interference and APN can send messages to media server to upgrade or doWn packet loss associated With the air interface. grade the QoS of the media stream. FIG. 5 illustrates providing dynamic quality of service If the mobile node is receiving a quality of service of 100 adjustments at an access gateWay in accordance With certain kbps, When the mobile node is being sent 250 kbps, the embodiments. FIG. 5 includes a mobile node 510, a 3G inter Internet APN 412 can upgrade the QoS to 500 kbps, for net protocol carrier access netWork (IPCAN) 512, gateWay example, in order to overcome air interface interferences. The 514, Internet 516, Web servers 518, media servers 520, and Internet APN 412 can also perform transcoding on the media policy and charging rules function (PCRF) 522. GateWay 514 stream depending on the QoS feedback received in the RTCP can utiliZe deep packet inspection to detect RTSP and create messages. The transcoding can involve adding redundancy, a RTSP back-to-back user agent (B2BUA) instance for the interleaving, or possibly error correcting codes depending on session at the gateWay. A RTSP B2BUA can alloW the the mobile node. Internet APN 412 in some embodiments can transcoding and provision of other services betWeen call legs increase the bandWidth allocated to the mobile node and use on either side of gateWay 514. Mobile node 510 can still begin the additional bandWidth to transcode the streaming media a session by communicating HTTP messaging 524 With Web received from media server 416. The transcoding can also servers 518. GateWay 514 can detect RTSP request/response involve changing the format of the streaming media. At some 20 messaging 526 betWeen mobile node 510 and media servers point mobile node 410 sends a teardoWn message 440, and the 520 by inspecting packets. session is tomdoWn With a response message 442 sent by In some embodiments, gateWay sets up a B2BUA instance media server 416. that can setup a call leg With mobile node 510 and setup a The streaming media can be de?ned by a number of param second call leg With media servers 520. GateWay 514 can also eters such as resolution, codecs, and frame rate. Resolution 25 create one or more RTSP proxy instances. The proxy for video is bits horizontal by bits vertical (e.g., for a mobile instances can be setup When deep packet inspection detects a node quarter common intermediate format (QCIF) might be request for content. GateWay 514 can setup the proxy used). The audio codec can be telephony quality about 8 kbps instances to negotiate delivery of the content from media using anAMR NB (adaptive multi-rate narroW band) or / servers 520 and delivery of the content from gateWay 514 to cd quality around 96 kbps using an AAC WB (advanced audio 30 mobile node 510. With gateWay 514 in the middle of the coding Wide band). The frame rate for video can be, for streaming media session, the gateWay can control the media example, movie quality (30 fps) or video telephony quality (5 stream, re-negotiate the provision or parameters of the fps). The I-Frame (intraframe) rate for video can compress stream, and can perform processing such as transcoding on video by using one or more reference frames and delta the stream. In some embodiments, RTSP can be used to setup frames. The delta frames include the changes from the refer 35 the media stream and RTP can be used to deliver the content. ence frame, rather than sending the information for each The gateWay can also relay the media stream Without modi frame. The can be inter frame and/ or intra frame fying the stream. Even if the media stream is relayed on to using, for example, H 26>< to provide video telephony quality mobile node 510, gateWay 514 can introduce transcoding or at around 100 kbps or MPEG-x to provide movie quality at other services on a per session basis. The gateWay can also around 512 kbps. The transcoding feature in the gateWay can 40 receive instructions on hoW and/or When to change the media be used to change the codec, frame rate, and other parameters stream. These instructions can come from PCRF 522. For to provide QoS levels that are consistent With What the sub example, in FIG. 5, PCRF 522 doWngrades the QoS to mobile scriber expects on the mobile node. The media parameter node 510. GateWay 514 re-negotiates the RTP How to adapt to selection leads to a target bitrate, Which is dynamic in certain the doWngraded QoS. This can be, for example, a doWngrad embodiments, to adjust Q08. 45 ing of 256 kbps to 80 kbps. This is accomplished by changing A number of different media containers can be used to the How from being relayed to pass through a digital signal transport the streaming media. A media container includes processing (DSP) card in the gateWay in some embodiments. data that is formatted for a particular audio/video codec. In The DSP card can include a DSP engine provides transcod some embodiments, the transcoder can sWitch betWeen con ing. tainers such as 3GP, MPEG-x, AVI, MOV, WAV, Realmedia, 50 The gateWay can also provide a streaming media proxy AIFF, XMF, IFF, ASF, DVR-MS, , OGM, NUT, MXF, function, for example, When the desired content is stored in a ratDVD, SVI, VOB, DIVX, and any other applicable media format that may not be compatible or readily available for containers. The gateWay can also provide access to content sending over the air interface to the mobile node. This can that Would not otherWise be accessible to the mobile node. occur if the airlink provided to mobile node 510 does not have This can occurbecause a content server keeps content in a feW 55 the bandWidth to stream the content in its original format. In knoWn formats and it can be dif?cult to provide the same other embodiments, mobile node 510 sets up the session With content to both Wireless and Wireline subscribers because the media servers 520 and the gateWay relays the packets, While characteristics of the tWo are different. For example, there is inspecting the feedback until a change is implemented. The loW bandWidth loW packet loss xDSL access netWorks, While gateWay can later redirect the session internally to transcode similar bandWidth for general packet radio service (GPRS) 60 the stream or provide other services to the stream. and 1x Wireless netWorks are high packet loss. Additionally, FIG. 6 illustrates packet ?oWs through a gateWay in accor high bandWidth Wireline netWorks (e.g., cable and ?ber) have dance With some embodiments. FIG. 6 includes a mobile loW packet loss While Wireless netWorks (e.g., 3G, WiMAX, node 610, a radio access netWork (RAN) 612, an access and WiFi) have high packet loss. gateWay 614, a gateWay 616, a server 618, an internet 620, and Further, access devices differ in terms of audio and video 65 an external or internal in-line service 622 and 624. Access capabilities. For example, desktop monitors can be running at gateWay 614 and gateWay 616 can be the same gateWay in 1280x720 resolution, While mobile nodes run at 176x144 or certain embodiments. GateWay 616 includes netWork pro US 8,018,955 B2 7 8 cessing unit (NPU) 626, RTSP How 628, ingress IP data How pro?le includes con?guration information such as the sub 630, egress IP data How 632, IPSG manager 634, session scriber access control list (ACL), the corresponding CSS manager 636, other services module 638, content service redirections, and other services applied for this subscriber. steering (CSS) application program interface (API) 640, and When the call is authenticated or authorized, then the module communication 642. RTSP How 628, Ingress IP data dynamic QoS on a per-session basis is setup and data How How 630, Egress IP data How 632, IPSG manager 634 and begins. The session manager may also authenticate the sub session manager 636 can be implemented in softWare and can scriber With a PCRF so the PCRF can send instructions be used to provide the services to a packet ?oW. RTSP How regarding QoS. 628 can be used by IPSG manager 634 to monitor RTSP CSS API 640 is a module that de?nes hoW packet ?oWs are messaging destined to a media server 618. The How can handled by the gateWay based on the content of the packets, monitor messages by checking messages for certain informa Which includes information in a packet header. The content tion and if message meets certain criteria sending the message service steering (CSS) API 640 includes features such as load to the IPSG manager or another module for deep packet balancing, netWork address translation (NAT), HTTP redirec inspection, in certain embodiments. tion, and DNS redirection. In some embodiments, the CSS The RTSP requests are received by the IPSG manager 634 API 640 uses information obtained from the subscriber pro for processing. The IPSG manager 634 inspects the messages ?le to both select appropriate content service providers (e. g., to activate and deactivate sessions in gateWay 616. During the the in-line service or external content server) and route the inspection of the messages by IPSG manager 634, informa packet ?oWs in a load balanced fashion. The load balancing tion is also obtained that can be used to setup the session, can be accomplished by a number of algorithms such as round authenticate the session, and link the session to a subscriber 20 robin, least loaded, destination hashing, and normaliZed pro?le. This information can be sent to session manager 636 response time monitoring. The CSS API 640 can also monitor through module communication 642, Which may be imple the health of external servers through internet control mes mented in any combination of hardWare or softWare. IPSG sage protocol (ICMP), hypertext transfer protocol (HTTP), manager 634 can setup one or more RTSP ?oWs 628 corre transfer control protocol (TCP), and ?le transfer protocol sponding to the port numbers used by the access gateWay 614 25 (FTP) keepalive mechanisms. By monitoring the health of When communicating to a media server 618. external servers, the CSS API 640 can redirect packet ?oWs if IPSG manager 634 can function in at least tWo modes an external server fails. The CSS API 640 can also implement relating to the handling of RTSP messages received from transcoding by redirecting media stream to an DSP card for access equipment. In some embodiments, IPSG manager 634 processing. The CSS API 640 can direct the media stream is in a server mode. In server mode, the RTSP messages are 30 packet How to an enhanced charging service (ECS) in con addressed to gateWay 616 and IPSG manager 634 issues junction With dynamic quality of service. RTSP responses 644, With gateWay 616 implementing a FIG. 7 illustrates signaling in a network supporting B2BUA or a proxy media server. In other embodiments, IPSG dynamic application of Q08 in accordance With certain manager 634 is in an inspect mode and the messages are not embodiments. FIG. 7 includes a mobile node (MN) 710, a addressed to the gateWay, so the messages are directed to the 35 gateWay 712, a media server 714, a Web server 716, and a IPSG manager 634 by NPU 626. At IPSG manager 634, the policy and charging rules function (PCRF) 718. At 720, deep messages are inspected and information is extracted before packet inspection (DPI) rules are installed on gateWay 712 to the message is forWarded 646. In both modes, the messages detect real-time streaming protocol (RTSP). Mobile node are inspected and information is extracted and sent to session sends a get message 722 to Web server 716. Web server 716 manager 636. IPSG manager 634 can inspect RTSP setup and 40 sends a response message 724 to provide the mobile node 710 teardoWn messages to activate and deactivate sessions by Way With information to retrieve the content. GateWay creates a of communication module 642. An internal inline service, RTSP proxy instance at 726. In other embodiments, a proxy such as inline service 622, can be used to monitor RTCP instance can be created for other streaming protocols. Mobile packets and determine hoW to modify the media stream. The node sends a RTSP setup message 728, Which is received by modi?cations can be provided by a DSP engine on a DSP 45 gateWay 712. GateWay sends a RTSP setup message 730 to card. media server 714. A proxy instance residing in gateWay 712 Session manager 636 can create at least one IP data How, can modify RTSP setup message 728 to create RTSP setup Which can include IP data ?oWs 630 and 632. Egress IP data message 730. Media server 714 sends a response message How 632 is the more likely to be implemented for streaming 732, Which is received by gateWay 712. GateWay 712 may media because the stream is provided via a doWnlink. HoW 50 modify message 732 before sending response message 734 to ever, both IP ?oWs can be used When a user is engaged in mobile node 710. Message 732 may be modi?ed to provide video telephony or gaming on the mobile node because both for interception by the RTSP proxy instance setup in the an uplink and doWnlink are used. Ingress IP data How 630 gateWay. indicates to session manager 636 that the packet is coming Mobile node 710 sends an RTSP play message 736 to from mobile node 610 so that session manager 636 can relay 55 gateWay 712. GateWay may modify RTSP play message 736 the packet or provide services such as transcoding. When a before sending a RTSP play message 738 to media server 714. packet arrives at egress IP data How 632, a similar process A response message 740 is sent to gateWay 712, Which may takes place. Egress IP data How 632, like ingress IP data How modify the message before sending response message 742 to 630, recogniZes packets on a subscriber session basis and mobile node 710. Media server 714 begins RTP streaming in forWards the packets to session manager 636 for relaying or 60 high ?delity (HiFi) With packet How 744. GateWay 712 cre providing services such as transcoding. When a neW session ates a media relay 746 to pass the packet ?oW along to mobile is activated and session manager 636 receives the extracted node 710. The media relay can route the packet ?oW along to information from IPSG manager 634, session manager 636 mobile node Without changing the underlying content, but can authenticate the call to load the subscriber pro?le, in may change information in the packet headers or encapsulate certain embodiments. The authentication can involve the 65 the packets depending on the embodiment. The RTP stream NAI, the MSID, the user name and passWord, or any other ing packet How 748 is sent to mobile node 710. PCRF 718 authentication attribute of mobile node 610. The subscriber sends instructions 750 to doWngrade the QoS of the RTP US 8,018,955 B2 10 stream. Gateway 712 downgrades the QoS at 752 and inserts SETUP rtsp://mediaserver.com/terminator/audio.en RTSP/ a transcoding bridge at 754. The transcoding bridge can be an 1.0 internal rerouting of the packet How to a digital signal pro CSeq: 1 cessor (DSP) for transcoding processing before the stream is Transport: RTP/AVP/UDP;unicast sent to mobile node 710. In some embodiments, the transcod ;client_port:3056-3057 Media server 714 sends a message 732 to gateWay an example ing bridge can be implemented by the session manager in of Which is shoWn beloW: conjunction With CSS API steering the packet How to the RTSP/1.0 200 OK transcoding bridge. GateWay 712 sends an update session CSeq: 1 message 756 to mobile node 710. Update session message Session: 12345678 756 can include loW ?delity media parameters and other Transport: RTP/AVP/UDP;unicast information. Mobile node 710 acknowledges the update With ;client_port:3056-3057; message 758. GateWay begins sending loW ?delity media ;server_port:5000-5001 packet How 760. Upgrading the QoS can occur in a similar GateWay may modify message 732 before sending to mobile fashion. node 710, or may send message 734 an example of Which is shoWn beloW: Relating to FIG. 7 a sample message How is provided as an RTSP/1.0 200 OK example of hoW some embodiments are implemented. At 720, CSeq: 1 deep packet inspection (DPI) rules are activated or installed to Session: 12345678 detect content streams. With message 722, mobile node 710 Transport: RTP/AVP/UDP;unicast sends via gateWay 712 to Web server 716 a get message; an 20 ;client_port:3056-3057; example is shoWn beloW: ;server_port:5000-5001 GET /terminator.sdp HTTP/1 .1 The setup messaging for a video stream can occur in a similar Host: WWW.example.com fashion. Accept: application/sdp In getting ready to play or start a multimedia stream, With message 724, Web server 716 sends via gateWay 712 25 mobile node 710 sends a RTSP play message 736 for video to gateWay 712; an example of message 736 is shoWn beloW: a 200 OK message; an example is shoWn beloW: PLAY rtsp :// st 1 6 .inline.rtsp-service.com/ terminator/video HTTP/ 1.1 200 OK RTSP/1.0 Content-Type: application/sdp CSeq: 2 v:0 Session: 23456789 o:—2890844526 2890842807 IN IP4 192.16.24.202 30 Range: smpte:0:10:00 sIRTSP Session GateWay can modify message 736 before sending message m:audio 0 RTP/AVP 0 738; an example of message 738 is shoWn beloW: a:control:rtsp://mediaserver.com/terminator/audio.en PLAY rtsp://mediaserver.com/terminator/video RTSP/1.0 mq/ideo 0 RTP/AVP 31 CSeq: 2 35 Session: 23456789 a:control:rtsp://mediaserver.com/terminator/video Range: smpte:0:10:00 GateWay 712 can detect the RTSP packet How and create a Media server 714 can respond to gateWay With message 740 RTSP proxy as Well as content steer. As part of the RTSP as shoWn beloW for example: proxy, message 724 can be modi?ed so mobile node sends RTSP/1.0 200 OK messages directly to gateWay 712; an example of message 40 CSeq: 2 724 is shoWn beloW: Session: 23456789 HTTP/ 1.1 200 OK Range: smpte:0:10:00-0:20:00 Content-Type: application/sdp RTP-Info: urlIrtsp :// mediaserver.com/terminator/ video ;seq:12312232;rtptime:78712811 o:—2890844526 2890842807 IN IP4 192.16.24.202 45 GateWay can modify message 740 and send message 742 to mobile node 710; an example of message 742 is shoWn sIRTSP Session beloW: m:audio 0 RTP/AVP 0 RTSP/1.0 200 OK a:control:rtsp:H/ST16.inline.rtsp-service.com/terminator/ CSeq: 2 audio.en Session: 23456789 mq/ideo 0 RTP/AVP 31 50 Range: smpte:0:10:00-0:20:00 a:control:rtsp://ST16.inline.rtsp-service.com/terminator/ RTP-Info: url:rtsp://st16.inline.itsp-service.com/terminator/ video video As shoWn in the example messages above, gateWay can ;seq:12312232;rtptime:78712811 modify information regarding the content from Web server The start or play messaging for an audio stream can occur in 55 716 While leaving the content unchanged. a similar fashion. As described above, the proxy instance can detect the setup of a media stream, modify the mes In order to setup a multimedia stream, mobile node 710 sages received to pass the media stream through an inline sends a RTSP setup message 728; an example of message 728 service, and set up the inline service to manage the media is shoWn beloW: stream. SETUP rtsp://ST16.inline.rtsp-service.com/terminator/audi 60 The PCRF can send messages to gateWay to change the o.en RTSP/1.0 QoS for a session. The changes can include an upgrade in CSeq: 1 QoS, a doWngrade in QoS, or a change in the format of the Transport: RTP/AVP/UDP;unicast content. The changes can also be triggered internally Within client_port-3056-3057 the gateWay from feedback obtained from mobile node 710 . A GateWay can modify message 728 and sends message 730 to 65 message from PCRF 718 can include instructions to (doWn media server 714; an example of message 730 is shoWn grade QoS from 512 kbps to 80 kbps for the audio and video beloW: RTP ?oWs). These instructions can be received at a policy and US 8,018,955 B2 11 12 charging enforcement function (PCEF), Which can commu With certain embodiments. A session manager 1010 services nicate the instructions to the proxy instance. The proxy and processes user session data How for user equipment/ instance can allocate a DSP transcoder to, for example, mobile subscribers. Session manager 1010, Which is the same transcode from: CIF, 24 fps, mpeg-2, AAC audio; to: QCIF, 5 session manager as described above, includes functional lay fps, H.264, AMR-NB. Information gathering on mobile node ers such as a system service layer 1012, a call processing layer capabilities can be static or dynamic depending on the 1014, and a call processing support services layer 1016. The embodiment. In a static embodiment, the information can be system services layer 1012 provides an interface for instruc obtained from a Ut interface, Which is set forth by the open tions to be passed to the session manager and the other layers. mobile alliance (OMA). In a dynamic embodiment, client A command line interface (CLI) 1018 can be provided. Net capabilities can be obtained in real time by querying client Work processing unit 1020 can be used to provide packet capabilities using RTSP options. ?oWs and for other processing. The call processing layer 1014 Renegotiation betWeen the mobile node and the gateWay to includes a service broker/ Service Control Interaction Man change the media stream can include sending a session description protocol (SDP) message With the neW media ager (SCIM) 1022, a CSCF core 1024 that includes an parameters, sending the neW RTP sources ports pointing to I-CSCF 1026, P-CSCF 1028, and S-CSCF 1030, a uni?ed the XME card With the DSP handling the transcoding, and message mapping interface 1032, applications 1034, and a sending a RTCP destination port pointing to the XME card. SIP stack 1036. Applications 1034 includes a registrar func GateWay can send a pause RTSP message, renegotiate the tion. The registrar function caches information relating to the session, and then send a RTSP play message. The gateWay can subscriber and the session enabling lookup of information monitor RTCP ?oWs or other feedback signals to obtain infor 20 Without having to query external databases. In some embodi mation about the media stream reaching the mobile node. ments, the CSCF core includes one of the CSCF functional Adjustments to the streaming packet How can be invoked ities, for example, the P-CSCF. The call processing support independent of QoS upgrades or doWngrades. These adjust services layer 1016 includes a variety of services such as ments can be to enhance the user experience When the user routing and address translation service 1038, subscriber man encounters radio issues like fading, high bit error rate (BER), 25 agement service 1040, changing interface service 1042, and cell boundaries for example. In some embodiments, a media interface service 1044, QoS policy interface service hysteresis is used to avoid thrashing. The hysteresis can be 1046, security interface 1048, and regulatory server interface implemented by calculating a Weighted average of feedback 1050. metrics and periodically comparing the Weighted average to a Looking at the call processing layer 1014, this layer threshold, for example. 30 includes signaling protocols and call control using universal FIG. 8 illustrates a handover betWeen access technologies SIP as an application program interface (API). The signaling Where the air interface constraints change in accordance With protocols can be SIP or can be other protocols like ISUP, certain embodiments. FIG. 8 includes a mobile node 810, an MGCP, or H.323. Further, the call processing layer 1014 access point 812, a netWork address translator (NAT)/?reWall alloWs interWorking betWeen SIP variants and other protocols 814, a service provider netWork 816, a WiMAX/3G radio 35 through a uni?ed mapping interface. The uni?ed mapping access netWork (RAN) 818, gateWay 820, a PCRF 822, and a interface can convert protocol speci?c messages and param packet data netWork (PDN) that includes a media server. eters to a universal SIP like API format. SIP like messaging is GateWay 820 includes a packet data interWorking function used, in some embodiments, because SIP has the largest (PDIF), a foreign agent/home agent (FA/HA), an access gate message set and can cover the possible messaging scenarios Way, and a proxy instance. This can be used, for example, 40 for SIP and the other protocols. The call processing layer Where a user is Watching a movie on a laptop on a WiFi 1014 can also provide transparency to data that need not be connection. The connection can provide the laptop a high data processed by the CSCF core by placing that information into rate for the movie. HoWever, if the user leaves the WiFi an envelope. Parameters that are not of interest can be placed connection and roams to the macro cellular environment, for in an envelope and remain unmodi?ed. The CSCF core alloWs example, high rate packet data (HRPD) or WiMAX, the con 45 any text sting as the calling and called number, and the num nection Will support a lesser data rate. The gateWay can moni ber does not need to be restricted to an E.l64 number. The tor the subscriber session and modify the session to provide number could be, for example, an Address of Record (AoR) the user an acceptable service level to enable the user to or any name string With a domain name. continue Watching the movie. A demux manager 1052 resides in the signal routing layer FIG. 9 illustrates a device handover Where the device 50 1054, as shoWn in FIG. 10. The signal routing layer 1054 With requirements can change in accordance With certain embodi the demux manager can determine Where a packet How is sent ments. FIG. 9 includes a mobile node 810, a mobile node 812, for processing. The packet How can be sent to a process a 3G/4G netWork 814, gateWay 816, a PCRF 818, and a packet instance for further processing and/or signal handling. The data netWork 820. This type of handover can occur, for demux manager can be used to analyZe packet ?oWs or traf?c example, if a user moves a SIM card from one device to 55 entering into a gateWay. This analyZing may encompass another or if user level registration occurs. User level regis packet snif?ng, extracting of information from packet head tration is When a subscriber’s identity is tied to registering a ers, sorting extracted information, deep packet inspection, user name and passWord rather than using a SIM card or other and processing of information obtained from one or more hardWare to identify a user. The bene?t to the user is mobility packets. Messages analyZed by a demux manager can contain of service. For example, a user can continue a session on their 60 information Which can be extracted (or sniffed) such as an laptop from a PDA. GateWay 816 can monitor device han IP-address assigned to the mobile node, a netWork access dovers and adapt the content to the neW device characteristics identi?er (NAI), an international mobile subscriber identity and the air interface. For example, When changing from a (IMSI), a mobile subscriber identi?cation (MSID), a correla PDA to a laptop, the resolution of a movie can be changed to tion-ID (for CDMA implementations), a user data record accommodate the bigger screen. 65 (UDR), event data records (EDR), a calling-station-ID, and/ FIG. 10 illustrates a control plane architecture that can be or any other applicable information. In some embodiments, a used to implement dynamic QoS in a gateWay in accordance version of the demux manager can be used as a RTSP proxy. US 8,018,955 B2 13 14 In certain embodiments, a dynamic QoS mechanism is tain embodiments, a chassis is provided by Starent Networks, provided. The QoS mechanisms provided by the standards Corp. of Tewksbury, Mass. in a ST16 or a ST40 multimedia are static. The network devices such as the CSCF/SIP-AS platform. look at the service requested, this is matched to the terminal The chassis can include slots for loading application cards capabilities, and a QoS pro?le is issued. Such a scheme works and line cards. A midplane can be used in the chassis to well with wireline access where the overall bandwidth to the provide intra-chassis communications, power connections, end user is fairly constant. However, such schemes may not and transport paths between the various installed cards. The work in wireless access networks due to the inherent dynamic midplane can include buses such as a switch fabric, a control nature of an “over the air” or airlink connection. Wireless bus, a system management bus, a redundancy bus, and a time connections are prone to swings in effective data rate, latency, division multiplex (TDM) bus. The switch fabric is an IP based transport path for user data throughout the chassis and jitter (e. g., when a user is traveling in a car, steps close to implemented by establishing inter-card communications a microware device, etc.). This creates future issues for between application cards and line cards. The control bus mobile applications for delivering quality of service to the interconnects the control and management processors within user equipment/mobile subscriber (or mobile node). the chassis. The chassis management bus provides manage In some embodiments, a feedback component is intro ment of system functions such as supplying power, monitor duced into the QoS mechanisms. A CSCF can issue a QoS ing temperatures, board status, data path errors, card resets, pro?le based on a class of service and monitor the application and other failover features. The redundancy bus provides of the QoS. The CSCF can receive feedback either passively, transportation of user data and redundancy links in the event that is the phone sends information on an interval to provide 20 of hardware failures. The TDM bus provides support for voice airlink information or bandwidth received information, or the services on the system. CSCF or other entity can request information. The informa The chassis supports at least two types of application cards: tion requested can be a known set of data, that can be pro a switch processor card and a packet accelerator card. The cessed to determine the airlink bandwidth. In some embodi switch processor card serves as a controller of the chassis and ments, the mobile node sends an agreed upon metric that 25 is responsible for such things as initialiZing the chassis and allows the CSCF to determine how to adjust the bandwidth loading software con?gurations onto other cards in the chas allocated to the mobile node. In certain embodiments, the sis. The packet accelerator card provides packet processing feedback from the mobile node is fed into a function that can and forwarding capabilities. Each packet accelerator card is re-apply the QoS parameters to keep the service within the capable of supporting multiple contexts. Hardware engines desired operational parameters. In other embodiments, the 30 can be deployed with the card to support parallel distributed processing for compression, classi?cation tra?ic scheduling, data ?ow can be modi?ed in other ways such as sending forwarding, packet ?ltering, and statistics compilations. redundant packets, employing an error correcting code, or The packet accelerator card performs packet-processing dropping the frame rate on video or other streaming media. operations through the use of control processors and a net In accordance with some embodiments, a continuing feed 35 work processing unit (NPU). The network processing unit back is provided from the mobile node back to a QoS monitor determines packet processing requirements; receives and function in the CSCF. The function can be service aware and transmits user data frames to/from various physical inter apply the feedback to tweak the QoS. For example, in case of faces; makes IP forwarding decisions; implements packet video on demand, this function could change the 1) frame ?ltering, ?ow insertion, deletion, and modi?cation; performs rate; 2) I-frame interval; or 3) Discrete cosine transform 40 traf?c management and tra?ic engineering; modi?es/adds/ (DCT). DCT is a algorithm that samples strips packet headers; and manages line card ports and inter an image at regular intervals, analyZes the frequency compo nal packet transportation. The control processors, also nents present in the sample, and discards those frequencies located on the packet accelerator card, provide packet-based which do not affect the image as the human eye perceives it. user service processing. The line cards when loaded in the DCT is the basis of standards such as JPEG, MPEG, H.261, 45 chassis provide input/output connectivity and can also pro and H.263. vide redundancy connections as well. The gateway described above is implemented in a chassis The operating system software can be based on a Linux in some embodiments. This chassis can implement multiple software kernel and run speci?c applications in the chassis and different integrated functionalities. In some embodi such as monitoring tasks and providing protocol stacks. The ments, an access gateway, a packet data serving node 50 software allows chassis resources to be allocated separately (PDSN), a foreign agent (PA), or a home agent (HA) can be for control and data paths. For example, certain packet accel implemented on a chassis. Other types of functionalities can erator cards can be dedicated to performing routing or secu also be implemented on a chassis in other embodiments are a rity control functions, while otherpacket accelerator cards are Gateway General packet radio service Support Node dedicated to processing user session traf?c. As network (GGSN), a serving GPRS support node (SGSN), a packet data 55 requirements change, hardware resources can be dynamically inter-working function (PDIF), an access service network deployed to meet the requirements in some embodiments. gateway (ASNGW), a base station, a access network, a User The system can be virtualiZed to support multiple logical Plane Entity (UPE), an IP Gateway, an access gateway, a instances of services, such as technology functions (e.g., a session initiation protocol (SIP) server, a proxy-call session PDSN, ASNGW, PDIF, HA, GGSN, or IPSG). control function (P-CSCF), and an interrogating-call session 60 The chassis’ software can be divided into a series of tasks control function (I-CSCF). In certain embodiments, one or that perform speci?c functions. These tasks communicate more of the above-mentioned other types of functionalities with each other as needed to share control and data informa are integrated together or provided by the same functionality. tion throughout the chassis. A task is a software process that For example, an access network can be integrated with a performs a speci?c function related to system control or ses PDSN. A chassis can include a PDSN, a PA, a HA, a GGSN, 65 sion processing. Three types of tasks operate within the chas a PDIF, an ASNGW, a UPE, an IP Gateway, an access gate sis in some embodiments: critical tasks, controller tasks, and way, or any other applicable access interface device. In cer manager tasks. The critical tasks control functions that relate US 8,018,955 B2 15 16 to the chassis’ ability to process calls such as chassis initial also manages specialiZed user data processing such as pay iZation, error detection, and recovery tasks. The controller load transformation, ?ltering, statistics collection, policing, tasks mask the distributed nature of the softWare from the user and scheduling. and perform tasks such as monitor the state of subordinate In some embodiments, the softWare needed for implement manager(s), provide for intra-manager communication ing a process or a database includes a high level procedural or Within the same subsystem, and enable inter-subsystem com an object-orientated language such as C, C++, C#, Java, or munication by communicating With controller(s) belonging Perl. The softWare may also be implemented in assembly to other subsystems. The manager tasks can control system language if desired. Packet processing implemented in a resources and maintain logical mappings betWeen system chassis can include any processing determined by the context. For example, packet processing may involve high-level data resources. link control (HDLC) framing, header compression, and/or Individual tasks that run on processors in the application encryption. In certain embodiments, the softWare is stored on cards can be divided into subsystems. A subsystem is a soft a storage medium or device such as read-only memory Ware element that either performs a speci?c task or is a (ROM), programmable-read-only memory (PROM), electri culmination of multiple other tasks. A single subsystem can cally erasable programmable-read-only memory (EE include critical tasks, controller tasks, and manager tasks. PROM), ?ash memory, or a magnetic disk that is readable by Some of the subsystems that can run on a chassis include a a general or special purpose-processing unit to perform the system initiation task subsystem, a high availability task sub processes described in this document. system, a recovery control task subsystem, a shared con?gu Although the present invention has been described and ration task subsystem, a resource management subsystem, a 20 illustrated in the foregoing embodiments, it is understood that virtual private netWork subsystem, a netWork processing unit the present disclosure has been made only by Way of example, subsystem, a card/slot/port subsystem, and a session sub and that numerous changes in the details of implementation system. of the invention may be made Without departing from the The system initiation task subsystem is responsible for spirit and scope of the invention, Which is limited only by the starting a set of initial tasks at system startup and providing 25 claims Which folloW. individual tasks as needed. The high availability task sub We claim: system Works in conjunction With the recovery control task 1. A gateWay in a communication netWork comprising: subsystem to maintain the operational state of the chassis by a proxy instance residing in the gateWay that inspects pack monitoring the various softWare and hardWare components of ets received from at least one mobile node to detect the chassis. Recovery control task subsystem is responsible 30 information regarding setup of a media stream and infor for executing a recovery action for failures that occur in the mation regarding a level of quality of service (QoS) of an chassis and receives recovery actions from the high availabil existing media stream, Wherein the gateway is in com ity task subsystem. Shared con?guration task subsystem pro munication With a media server and provides packet vides the chassis With an ability to set, retrieve, and receive routing and session management for the at least one noti?cation of chassis con?gurationparameter changes and is 35 mobile node, the media stream using a ?rst access tech responsible for storing con?guration data for the applications nology; running Within the chassis. Resource management subsystem an inline service residing in the gateWay and in communi is responsible for assigning resources (e.g., processor and cation With the proxy instance that: memory capabilities) to tasks and for monitoring the task’s responsive to detection of the information regarding the use of the resources. 40 level of QoS, provides dynamic changes to the QoS by Virtual private netWork (V PN) subsystem manages the re-negotiating a session With a ?rst mobile node to administrative and operational aspects of VPN-related enti adjust media stream parameters, the ?rst mobile node ties in the chassis, Which include creating separate VPN con having mobile node characteristics and being associ texts, starting IP services Within a VPN context, managing IP ated With a user identity, pools and subscriber IP addresses, and distributing the IP ?oW 45 responsive to detection of the information regarding information Within a VPN context. In some embodiments, setup of the media stream, monitors the media stream Within the chassis, IP operations are done Within speci?c VPN for information indicating that the user identity has contexts. The netWork processing unit subsystem is respon changed associations to a second mobile node having sible for many of the functions listed above for the netWork different mobile node characteristics and handover processing unit. The card/slot/port subsystem is responsible 50 information indicating that the media stream has for coordinating the events that occur relating to card activity changed to use a second access technology associated such as discovery and con?guration of ports on neWly With a handover of the either of the ?rst mobile node inserted cards and determining hoW line cards map to appli or second mobile node from the ?rst access technol cation cards. The session subsystem is responsible for pro ogy to the second access technology, and cessing and monitoring a mobile subscriber’s data ?oWs in 55 manages transcoding; and some embodiments. Session processing tasks for mobile data a digital signal processor (DSP) residing in the gateWay communications include: AlO/All termination for CDMA and in communication With the inline service that netWorks, GSM tunneling protocol termination for GPRS transcodes at a direction of the inline service, including and/or UMTS netWorks, asynchronous PPP processing, changing media stream parameters to provide a dynamic packet ?ltering, packet scheduling, Difserv codepoint mark 60 upgrade or doWngrade of QoS level and converting the ing, statistics gathering, IP forWarding, andAAA services, for media stream from a ?rst format received from the example. Responsibility for each of these items can be dis media server to a second format sent to either the ?rst tributed across subordinate tasks (called managers) to pro mobile node or second mobile node based at least in part vide for more ef?cient processing and greater redundancy. A on the information indicating user identity change separate session controller task serves as an integrated control 65 including the characteristics of Whichever of the ?rst node to regulate and monitor the managers and to communi mobile node or second mobile node the user identity is cate With the other active subsystem. The session subsystem associated With and the handover information including