The subject matter described herein relates to providing voice over IP (VoIP) traffic engineering in a communications network. More particularly, the subject matter described herein relates to methods, systems, and computer program products for load balanced and symmetric path computations for VoIP traffic engineering.
Conventional shortest path first (SPF) routing protocols cause an IP device to select a path across a network to a destination IP device by computing path costs for all available network paths, as determined from link state information received at the IP device on a regular basis from neighboring SPF nodes in the network. Each path cost is calculated by summing the assigned cost for each network segment in the forward direction from the source IP device to the destination IP device. The segment costs are typically assigned by a network administrator to reflect a variety of attributes about each segment including geographic distance, equipment cost, and queue delays. Public networks utilizing SPF routing protocols and methods for defining paths most commonly use the published Open Shortest Path First (OSPF) specification. Networks intended to carry real-time interactive or delay-sensitive traffic such as VoIP or video may use a version of OSPF, called OSPF-TE, whose cost definitions and calculation methods have been modified for such delay-sensitive traffic. Regardless of the SPF protocol utilized, the SPF routing instance in an IP device conventionally determines the preferred path by using the path with the lowest total cost. If more than one path has the same lowest cost, the SPF routing instance may use all paths with the same lowest cost and distribute traffic across them in a load balanced fashion. The SPF routing protocol may modify assigned network segment costs when required by a network administrator, when a network node fails, or when a failure is detected on a network segment. When such a change occurs, routing protocol messages propagate the change to all SPF routing instances using standard protocol messages.
When the costs assigned to different directions of a network path are asymmetric, problems can result for bi-directional, delay-sensitive applications, such as RTP media streams. For example, if costs assigned to different directions of a network path are asymmetric, media gateways at each end of the path may select different paths for different directions of an RTP media stream. If one direction of an RTP media stream from a first media gateway to a second media gateway follows a different path from the reverse direction of the same media stream between the media gateways, the paths may experience different delays, resulting in an overall degradation of media stream quality. In addition, if one path fails while the other path remains active, network resources may be wasted.
Accordingly, in light of these difficulties associated with conventional methods for defining load balanced and symmetric paths through a network, there exists a need for improved methods, systems, and computer program products for load balanced and symmetric path computations for VoIP traffic engineering.
The subject matter described herein includes methods, systems, and computer program products for load balanced and symmetric SPF path computations for VoIP traffic engineering. One method includes advertising an output interface cost in a first direction over a first network segment between a source IP device and a destination IP device that is different from an output interface cost advertised in a second direction over the first network segment. A plurality of available network paths between the source IP device and the destination IP device is identified. A path cost is calculated for each of the available network paths from the source IP device to the destination IP device. Calculating a path cost includes, for paths that include the first network segment, substituting the output interface cost advertised in the first direction with the output interface cost advertised in the second direction. The path costs are ranked based on the calculated costs. A lowest cost path is selected from the ranked paths. Both directions of a media session are assigned to the lowest cost path.
As used herein, the term “IP device” refers to any system that has at least one interface to a network, supports conventional network routing protocols, and accepts traffic in conventional formats. An IP device may be a conventional router or it may be an endpoint, such as a media gateway or a server. The term “source IP device” refers to an IP device serving as the origin of traffic to be carried across the network. The term “destination IP device” refers to an IP device serving as the destination or termination point in the network for the traffic. The term “node” refers to any system in the network that is capable of routing traffic and supporting SPF cost assignments and calculations. The term “segment” refers to a physical connection between adjacent network nodes. The term “path” refers to a defined set of segments and nodes that provide a connection across a network between an IP device sourcing traffic and an IP device sinking or terminating traffic. The term “forward cost” refers to a cost advertised by an IP device. The term “reverse cost” refers to a cost advertised to the IP device.
The subject matter described herein providing load balanced and symmetric path computations for VoIP traffic engineering may be implemented using a computer program product comprising computer executable instructions embodied in a computer-readable medium. Exemplary computer-readable media suitable for implementing the subject matter described herein include chip memory devices, disk memory devices, programmable logic devices, and application specific integrated circuits. In addition, a computer program product that implements the subject matter described herein may be located on a single device or computing platform or may be distributed across multiple devices and/or computing platforms.
Preferred embodiments of the subject matter described herein will now be explained with reference to the accompanying drawings of which:
In view of the problems described above with respect to load balanced and symmetric path computations for VoIP traffic engineering, the subject matter described herein provides a method for load balanced and symmetric SPF path selection from a source IP device to a destination IP device through a network.
Returning to
Returning to
Returning to
Returning to
Returning to
In
MG2204 may include one IP host function Hd 268, a router instance SPF d 270, and a network interface NI d 272. Media gateway 204 may also include a cost table 274 and a path list 276 that are maintained by router instance 270. VoIP host function Hd 268 may include a transcoder circuit or any similar circuit that serves as a source or termination of application level voice, interactive video, or similar application with requirements on network path delay and routing topologies. Router instance 270 may contain resources to implement the subject matter described herein. NI d 272 may terminate a plurality of network segments including segment 244 to network router RT6216 and segment 248 to network router RT7248. MG2204 may be a conventional IP device or a network aware media gateway.
In the example illustrated in
In
MG2304 may include one IP host function Hd 376, one SPF routing instance SPF d 378, and at least one network interface NI d 380. VoIP host function Hd 376 may include a transcoder circuit or any similar circuit that serves as a source or termination of application level voice, interactive video, or similar application with requirements on network path delay and routing topologies. Routing instance 378 may contain resources to implement the subject matter described herein. Media gateway 304 may include a cost table 274 and a path list 276 which are maintained by router instance 378. Interface NI d 380 may terminate a plurality of network segments including segment 354 to network router RT6316 and segment 358 to network router RT7318.
The topology of the network between media gateways 302 and 304 is the same as that illustrated in
Returning to
In one implementation, router instance SPF 1256 in media gateway MG1202 may execute an algorithm based on the subject matter described herein to develop a list of paths for VoIP traffic originating at VoIP host H1252 and terminating at VoIP host Hd 268 in MG2204. Router instance 256 may limit the number of intervening routers on each path to be analyzed in order to minimize the computational work required to generate aggregate costs for available network paths. For example, router instance 256 may only consider network path definitions with three or fewer routers between MG1202 and MG2204. Using this restriction, SPF 1256 would identify the following 6 potential network paths from VoIP host H1252 to VoIP host Hd 264:
a) NI 1260::RT1206::RT3210::RT6216::NI d 268
b) NI 1260::RT1206::RT4212::RT6216::NI d 268
c) NI 1260::RT1206::RT4212::RT7218::NI d 268
d) NI 1260::RT2208::RT4212::RT6216::NI d 268
e) NI 1260::RT2208::RT4212::RT7218::NI d 268
f) NI 1260::RT2208::RT5214::RT7218::NI d 268
The cost models associated with each of these network path definitions may then be defined as follows:
Cost (a)=Cost (220)+Cost (228)+Cost (236)+Cost (246)
Cost (b)=Cost (220)+Cost (230)+Cost (238)+Cost (246)
Cost (c)=Cost (220)+Cost (230)+Cost (240)+Cost (250)
Cost (d)=Cost (222)+Cost (232)+Cost (238)+Cost (246)
Cost (e)=Cost (222)+Cost (232)+Cost (240)+Cost (250)
Cost (f)=Cost (222)+Cost (234)+Cost (244)+Cost (250)
In one example, router instance 256 may calculate the aggregate path cost from H1 in MG1202 to Hd 268 in MG2204 for each of the network path topologies defined above. Router instance 256 may substitute costs advertised by next hop routers 206 and 208 for reaching host Hd 268 with asymmetric costs for reaching host H1252 advertised over the same segments. For example, the cost associated with reaching host H1252 via interface N1 of 1000 may be substituted with the cost of 1 for reaching host Hd 268 via router 206. If this substitution is performed, the following cost calculations may be performed for reaching host Hd 268 from host H1252 via interface NI 1260.
Cost (a): 1+1+1+10=13
Cost (b): 1+10+10+10=31
Cost (c): 1+10+1+10=22
Cost (d): 1000+10+10+10=1030
Cost (e): 1000+10+1+10=1021
Cost (f): 1000+10+10+10=1030
SPF instance SPF d 270 may perform similar cost calculations to reach host H1252 from host Hd 268 via interface Ni d 272. The following costs calculations may be performed by SPF instance SPF d 270:
Cost (a): 1+1+1+10=13
Cost (b): 1+10+10+10=31
Cost (c): 1+10+1+10=22
Cost (d): 1000+10+10+10=1030
Cost (e): 1000+10+1+10=1021
Cost (f): 1000+10+10+10=1030
As can be see above, the cost calculations for reaching host Hd 268 from host H1252 are symmetric with respect to those for reaching host H1252 from host Hd 268. As a result, opposing directions of media sessions will be assigned to the same paths. Similar cost calculations may be performed for media sessions between host H2254 and host Hd 268. Paths from H2254 to host Hd 268 may be as follows:
a) NI 2262::RT1206::RT3210::RT6216::NI d 268
b) NI 2262::RT1206::RT4212::RT6216::NI d 268
c) NI 2262::RT1206::RT4212::RT7218::NI d 268
d) NI 2262::RT2208::RT4212::RT6216::NI d 268
e) NI 2262::RT2208::RT4212::RT7218::NI d 268
f) NI 2262::RT2208::RT5214::RT7218::NI d 268
The cost models associated with each of these network path definitions may then be defined as follows:
Cost (a)=Cost (224)+Cost (228)+Cost (236)+Cost (246)
Cost (b)=Cost (224)+Cost (230)+Cost (238)+Cost (246)
Cost (c)=Cost (224)+Cost (230)+Cost (240)+Cost (250)
Cost (d)=Cost (226)+Cost (232)+Cost (238)+Cost (246)
Cost (e)=Cost (226)+Cost (232)+Cost (240)+Cost (250)
Cost (f)=Cost (226)+Cost (234)+Cost (244)+Cost (250)
As with the example above, where costs from a network interface, such as network interface Ni 2262 are asymmetric with respect to the costs for reaching Hd via next hop router RT2208, the cost advertised by media gateway 200 for reaching host H2254 via network interface Ni 2262 may be substituted with those advertised by next hop router RT2208 for reaching host Hd 268. Exemplary cost calculations that may be performed are as follows:
Cost (a): 500+1+1+10=1012
Cost (b): 500+10+10+10=1012
Cost (c): 500+10+1+10=1021
Cost (d): 500+10+10+10=530
Cost (e): 500+10+1+10=521
Cost (f): 500+10+10+10=530
The following calculations may be performed by SPF instance SPF d 270 for calculating paths for reaching host H2254 from host Hd 268:
Cost (a): 1000+1+1+10=1012
Cost (b): 1000+10+10+10=1030
Cost (c): 1000+10+1+10=1021
Cost (d): 1+10+10+10=31
Cost (e): 1+10+1+10=22
Cost (f): 1+10+10+10=31
As can be seen above, the cost for reaching host Hd 268 from host H2254 are equal to those for reaching host H2254 from host Hd 268. As a result, symmetric VoIP path assignment can be achieved.
According to one aspect of the subject matter described herein, a system for symmetric network path costs assignment and media path selection is provided. The system may include means for advertising an output interface cost in a first direction over a first network segment between a source IP device and a destination IP device that is different from an output interface cost advertised in a second direction over the first network segment. For example, referring to
The system may further include means for identifying a plurality of available network paths between the source IP device and the destination IP device. For example, referring to
The system may include means for calculating a path cost for each of the available network paths from the source IP device to the destination IP device, wherein, calculating a path cost includes, for paths that include the first network segment, substituting the output interface cost advertised in the first direction with the output interface cost advertised in the second direction. For example, referring to
The system may further include ranking the paths based on the calculated costs. For example, in
The system may further include means for selecting, from the ranked paths, a lowest cost path. For example, referring to
The system may further include means for assigning both directions of a media session to the lowest cost path. For example, referring to
It will be understood that various details of the subject matter described herein may be changed without departing from the scope of the subject matter described herein. Furthermore, the foregoing description is for the purpose of illustration only, and not for the purpose of limitation, as the subject matter described herein is defined by the claims as set forth hereinafter.
This application is a divisional of U.S. patent application Ser. No. 11/594,568, filed Nov. 8, 2006 (now U.S. Pat. No. 7,715,403), which claims the benefit of U.S. Provisional Patent Application Ser. No. 60/788,800, filed Apr. 3, 2006, and which is a continuation-in-part of U.S. patent application Ser. No. 10/943,513, filed Sep. 17, 2004 (pending), which is a continuation-in-part of U.S. patent application Ser. No. 10/676,233, filed Oct. 1, 2003 (now U.S. Pat. No. 7,424,025), and which claims the benefit of U.S. Provisional Patent Application Ser. No. 60/526,126 filed Dec. 1, 2003 and U.S. Provisional Patent Application Ser. No. 60/551,814 filed Mar. 10, 2004. This application is related to U.S. patent application Ser. No. 10/943,275 filed Sep. 17, 2004 (now U.S. Pat. No. 6,956,820). The disclosure of each of the above-referenced documents is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
6049524 | Fukushima et al. | Apr 2000 | A |
6061348 | Castrigno et al. | May 2000 | A |
6363065 | Thornton et al. | Mar 2002 | B1 |
6426944 | Moore | Jul 2002 | B1 |
6633563 | Lin et al. | Oct 2003 | B1 |
6674744 | Doshi et al. | Jan 2004 | B1 |
6714535 | Herh | Mar 2004 | B1 |
6771673 | Baum et al. | Aug 2004 | B1 |
6831895 | Ji et al. | Dec 2004 | B1 |
6831898 | Edsall et al. | Dec 2004 | B1 |
6879667 | Carew et al. | Apr 2005 | B1 |
6956820 | Zhu et al. | Oct 2005 | B2 |
7177943 | Temoshenko et al. | Feb 2007 | B1 |
7185094 | Marquette et al. | Feb 2007 | B2 |
7212519 | Johnson et al. | May 2007 | B2 |
7394818 | Johnson et al. | Jul 2008 | B1 |
7411963 | Ward et al. | Aug 2008 | B2 |
7424025 | Qian et al. | Sep 2008 | B2 |
7460481 | Vasseur et al. | Dec 2008 | B2 |
7522603 | Vasseur | Apr 2009 | B2 |
7570594 | Zhu et al. | Aug 2009 | B2 |
7623461 | Vasseur et al. | Nov 2009 | B2 |
7715403 | Qian et al. | May 2010 | B2 |
7792991 | Shand | Sep 2010 | B2 |
20010036173 | Shmulvevich et al. | Nov 2001 | A1 |
20020006112 | Jaber et al. | Jan 2002 | A1 |
20020012352 | Hansson et al. | Jan 2002 | A1 |
20020016926 | Nguyen et al. | Feb 2002 | A1 |
20020051464 | Sin et al. | May 2002 | A1 |
20020172221 | Dale et al. | Nov 2002 | A1 |
20020176374 | Lee et al. | Nov 2002 | A1 |
20020191612 | Curtis | Dec 2002 | A1 |
20030093555 | Harding-Jones et al. | May 2003 | A1 |
20030099192 | Scott et al. | May 2003 | A1 |
20030118039 | Nishi et al. | Jun 2003 | A1 |
20030131263 | Keane et al. | Jul 2003 | A1 |
20030142795 | Gavette et al. | Jul 2003 | A1 |
20030193898 | Wong et al. | Oct 2003 | A1 |
20040047345 | Joseph et al. | Mar 2004 | A1 |
20040066782 | Nassar | Apr 2004 | A1 |
20050068942 | Chu et al. | Mar 2005 | A1 |
20050073998 | Zhu et al. | Apr 2005 | A1 |
20050111349 | Vasseur et al. | May 2005 | A1 |
20060159083 | Ward et al. | Jul 2006 | A1 |
20070053300 | Zhu et al. | Mar 2007 | A1 |
20070064613 | Qian et al. | Mar 2007 | A1 |
20070083528 | Matthews et al. | Apr 2007 | A1 |
Number | Date | Country |
---|---|---|
1 235 409 | Aug 2002 | EP |
2 363 549 | Dec 2001 | GB |
WO 0143387 | Jun 2001 | WO |
WO 2004002173 | Dec 2003 | WO |
WO 2004071036 | Aug 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20100214927 A1 | Aug 2010 | US |
Number | Date | Country | |
---|---|---|---|
60788800 | Apr 2006 | US | |
60526126 | Dec 2003 | US | |
60551814 | Mar 2004 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11594568 | Nov 2006 | US |
Child | 12775442 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10943513 | Sep 2004 | US |
Child | 11594568 | US | |
Parent | 10676233 | Oct 2003 | US |
Child | 10943513 | US |