The present invention relates to a method and a node for energy efficient routing and switching in a communication network.
A number of different routing and switching protocols for switching data in a communication network exists today. The routing protocols can be divided into two broad groups of protocols, link state routing protocols and distance vector routing protocols. Examples of link state routing protocols are OSPF (Open Shortest Path First) and IS-IS (Intermediate system to intermediate system). OSPF is defined in IETF RFC 2328 Version 2 for IPv4 and IETF RFC 5340 for IPv6. An example on a distance vector routing protocol is IGRP, Interior Gateway Routing Protocol.
To help a router to determine the best path among multiple paths to a destination, routing metrics are used. Routing metrics are typically based on information like path length, bandwidth, load, hop count, path cost, delay, etc. Routing metrics are normally stored in a routing table in each router so it can take a routing decision.
A routing protocol that does not use routing decisions in each node is the source routing protocol. In this protocol a path between an originating node and a destination node is calculated and configured in advance. Each node stores a list of the other nodes involved in the path. As the path through the network is already known beforehand by the originating node, a packet sent from the originating node comprises a list of all nodes it must pass until the packet reaches the destination node.
The installed base of routing or switching protocols does however not take into account the energy consumption required for different paths in a network. This can result in traffic flowing over a high power consuming and long distance path, because it is the best path based on the existing metrics (often being the link bandwidth).
Energy aware routing has been discussed in the paper ‘Experiments with Energy Saving Dynamic Source Routing’ by Diana Fang et al. This paper discloses a method for source routing in a wireless ad hoc sensor network. Nodes in this kind of network are often remotely located and battery operated. In some applications the nodes are powered by solar panels. The energy input from the solar panels depends on the time of day, weather conditions and so on. The routing discussed in this paper is therefore focused on how to avoid routing packets via nodes that for the moment are low on power.
A disadvantage with this method is that it is not guaranteed that the path consuming the least energy is selected. Another disadvantage is that the method only considers the energy consumption for the nodes as a total and not for individual links between the nodes. In a core network with router and/or switch nodes, a number of different links can be connected between the nodes and link interfaces with different energy consumption can coexist in the same node.
Yet another problem is that the route maintenance in source routing protocols does not locally repair a broken link, whereas this is quickly handled in link-state protocols such as OSPF.
With this background, it is the object of the present invention to obviate at least some of the disadvantages mentioned above.
The present invention comprises a method for switching data packets in a node comprising the steps of firstly allocating route selection metrics to the link interfaces in the node where the route selection metrics at least comprise energy consumption metrics. Route selection metrics concerning link interfaces in a plurality of other nodes belonging to the same routing area are received. A best path to all possible destination nodes in the communication network is determined based on at least the energy consumption metrics and stored in a routing table. When receiving a request to send a packet to a specific destination node, the node selects from the routing table the link interface connected to the link belonging to the best path to the specific destination node from an energy consumption point of view. After selecting the link interface, the packet is sent towards the destination node via the selected link interface. Optionally, the node sends the allocated energy consumption metrics in the node to the other nodes in the same routing area.
The node itself comprises at least one link interface adapted to be allocated route selection metrics comprising energy consumption metrics and to receive route selection metrics concerning link interfaces in a plurality of other nodes belonging to the same routing area as the first node. The node also comprises a route control unit which is adapted to determine best paths to destination nodes in the communication network based on at least the energy consumption metrics.
The node further comprises a routing table accessible by the route control unit and adapted to store the best paths.
When the node receives a request to send a packet to a specific destination node, the route control unit selects a link interface connected to a link belonging to the best path from an energy consumption point of view. After selecting the link interface, the node sends the packet towards the specific destination node via the selected link interface.
An advantage with the present invention is that the node can be configured to always select the path with the lowest power consumption, and this reduces the energy cost for the network provider and lowers the overall CO2 pressure.
Another advantage of the present invention is that a number of different power consumption factors can be taken into account, such as the power consumption for the interfaces, portions of the node's total power consumption and the power consumption of the communication links which can vary depending on many factor such as speed, distance, transport technologies (uW, xWDM, OTN, SDH etc).
Another advantage is that the concept of the present invention is not limited to routing protocols as OSPF, ISIS etc but is also applicable when establishing Label Switch Paths (LSPs) in MPLS or GMPLS and for wavelength routing. Moreover, the invention can be implemented relatively easy in existing routers or switches.
Yet another advantage is that the routing protocols can load-balance the communication over multiple paths if they have the equal energy consumption metrics.
The option of sending the allocated energy consumption metrics to the other nodes in the same routing area further improves the traffic engineering possibilities in the network.
The invention will now be described in more detail and with preferred embodiments and referring to accompanying drawings.
The router or switch node and the routing or switching method in the present invention can for example be applied to link-state routing protocols such as OSPF (Open Shortest Path First). In link-state protocols, each node in a communication network constructs a map over the connectivity to the network in the form of a graph, showing which nodes are connected to which other nodes. Each node then independently calculates the best path from it to every possible destination in the network. The collection of best paths will then form the node's routing table. The nodes are connected to each other with communication links. The information about the status of a link, the link-state, is maintained in each router as a link-state database (LSDB) which is a tree-image of the entire network topology. Identical copies of the LSDB are periodically updated through flooding on all OSPF routers.
The OSPF routing policies to construct a routing table are governed by link cost factors (metrics) associated with each routing link interface. Cost factors may be the distance of a router (round-trip time), network throughput of a link (such as bandwidth), or link availability and reliability.
This also provides a dynamic process of traffic load balancing between routes of equal cost.
When node A 111 makes the routing decision it will select the link interface connected to the link belonging to the best path. In this case the best path is path 118 because path 118 has the metrics 5+5=10 whereas path 119 has the metrics 6+6=12.
The example in
Another example is shown in
Again, using existing metrics, path 129 would have been chosen as it has the lowest metrics 5 as opposed to path 128 that has the metrics 10 (5+5). However, a part of the direct link 142 goes via a radio link 124. This radio link 124 requires additional network elements such as radio link transceivers 125, 126. These network elements 125, 126 do only relay the packet 110 and are not involved in the routing decisions. However being separate network elements having their own power feed they considerably contribute to the total energy consumption.
In
When node A 211 receives packet 110 aimed for the destination node D 214, it will select the link interface connected to the link belonging to the best path from an energy consumption point of view which in this case is path 219.
In
When node E 221 receives packet 110 aimed for the destination node G 223 it will select the link interface connected to the link belonging to the best path which in this case is path 228.
In the network scenarios in
The basic functionality of node 211 is to receive packets 110 from nodes in the communication network and to route these packets 110 further to other nodes 212,213. It is also possible that the node itself comprises a client 2115 that can originate and terminate data packets. A request to send a packet can therefore also be received by the route control unit 2110 as a protocol primitive 2116 from the client 2115.
The method to switch packets from an originating node to a destination node according to the present invention is illustrated by a flow chart in
Optionally in step 402, the node 211 sends these route selection metrics in link state advertisement messages LSAs to other nodes 212,213 belonging to the same routing area. For the routing protocols the energy consumption metrics can be seen as extensions to OSPF traffic engineering as specified in RFC2370 or to MPLS traffic engineering as specified in RFC2702.
The node 211 receives in step 403 LSAs with route selection metrics concerning link interfaces in other nodes belonging to the same routing area. These route selection metrics could optionally also comprise the energy consumption metrics concerning these link interfaces.
With the route metrics available, best paths 218,219 to all possible destination nodes in the communication network are determined in step 404 based on at least the allocated energy consumption metrics. The best paths 218,219 are in step 405 stored in the routing table 2111.
When receiving in step 406 a request to send a packet 110 to a specific destination node 214, the route control unit 2110 selects in step 407 from the routing table 2111 a link interface 2114 connected to a link 232 belonging to the best path 219 to the specific destination node 214. After the selection, the packet 110 is sent in step 408 towards the specific destination node 214 via the selected link interface 2114.
Again, the data packet 110 could be received from another node in the network (not shown) or as a protocol primitive 2116 from the client 2115 within the node 211 itself.
The energy consumption metrics is defined as a power consumption factor divided by the speed (bandwidth) for the link interface. The energy consumption metrics can for example be expressed by the unit watt/bits/s, watt/Gbit/s or nJ/bit.
The power consumption factor allocated to an individual link interface could be determined by measurements or if already known for example by data sheets for the link interfaces.
The power consumption factor can be different for different types of link interfaces but also for link interfaces of the same type but implemented differently (different micro processors etc) or coming from different vendors.
As already touched upon above, the power consumption factor allocated to an individual link interface 2113, 2114 is not necessarily limited to the power consumption by the link interface 2113, 2114 itself. It could also be based on a number of other factors or combinations thereof. The power consumption factor could be based on a portion of the power consumption of the whole node 211. It can also be based on the power consumption by the link 230, 232 connected to the link interface 2113, 2114. For direct fiber or copper links the power is normally fed from the link interfaces. But when the link comprises other network elements with own power feeding, such as intermediate cross connects, relay bridges, radio links, satellites etc the power consumption for the link is a significant factor.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/SE2010/000308 | 12/20/2010 | WO | 00 | 8/1/2013 |