Abstract:
A route for routing traffic is established by the emission of a route announcing message to a network element of a network. The network element is then triggered in such a way as to route the traffic according to the route announced in a time-delayed manner by means of an event e.g. the emission of another message. A resource reservation for routing traffic along the announced route is carried out between the route announced and the event. In this way, it is ensured that the required resources are provided for the deviation of traffic onto the new route, and a route modification for traffic can be carried out without affecting the quality of service.

Description:
CROSS REFERENCE TO RELATED APPLICATIONS  
       [0001]     This application is the US National Stage of International Application No. PCT/EP2005/053718, filed Jul. 29, 2005 and claims the benefit thereof. The International Application claims the benefits of German application No. 10 2004 037 024.9 DE filed Jul. 30, 2004, both of the applications are incorporated by reference herein in their entirety. 
     
    
     FIELD OF INVENTION  
       [0002]     The invention relates to a method for defining a route for the routing of traffic and to a network element with means for executing such a method.  
       BACKGROUND OF INVENTION  
       [0003]     A currently very topical field of activity in the area of networks and network technologies is the further development of data networks for the transmission of real-time traffic while maintaining quality-of-service features.  
         [0004]     In future data networks, of which the most important representatives are IP (Internet Protocol) networks, are to support applications which include the transmission of voice, video and data streams in real time. A fast and reliable transport of data packets or IP packets must be guaranteed for such applications. For this purpose future IP networks—alongside the traditional “best effort” services for data transmission—should offer new transmission services which provide the necessary bandwidths from end to end and reliably transfer to the recipient IP packets with small, barely-fluctuating delay and very low packet loss rates (i.e. while maintaining quality-of-service features). These new services will be referred to below as QoS services (QoS: Quality of Service) and the traffic transported by them as QoS traffic.  
         [0005]     Since the Internet is a combination of a growing number of individual IP networks, referred to as autonomous systems (AS), which are administered and controlled by different organizations, QoS services must be realized and made available in this internetwork to provide cross-network coverage. To achieve this end resource management systems which provide the resources necessary for the assured quality of service to the QoS traffic across the different networks are generally employed. For various reasons, such as traffic engineering and changes to networks and business relationships, cross-network traffic is frequently diverted on to new cross-network routes. The cross-network routing along routes from individual networks or autonomous systems is frequently also referred to as inter-domain routing.  
         [0006]     The interaction of autonomous systems in the Internet, i.e. the cross-network forwarding of IP packets across the boundaries of individual IP networks, is controlled by the inter-domain routing protocol BGP (BGP: Border Gateway Protocol) (described in RFC1771). To this end adjacent border routers establish what are known as BGP peering sessions and exchange routing information via what are known as UPDATE messages. A network uses BGP to learn which IP addresses are accessible via which routes. Routes in this case are routes between networks at the level of autonomous systems and are encoded as sequences of AS (Autonomous System) numbers. Autonomous systems are assigned unique AS numbers for this purpose. If traffic is to be diverted onto a new route a border router announces a change in route by means of an UPDATE message (announcement of the new route, or withdrawal of an existing route, or both). This type of change in route is generally broadcast from network to network across many networks using further UPDATE messages. Networks further away generally receive a number of UPDATE messages via a number of routes and see different routes from which they select the best route from their standpoint. This means that a convergence process is started with the first UPDATE which has been measured as lasting around three minutes on average. During the convergence time the traffic affected is as a rule diverted numerous times to changing routes which means that significant delays of IP packets and high packet loss rates have to be expected.  
         [0007]     Resource management systems and signaling protocols, such as BGRP (BGRP: Border Gateway Reservation Protocol) for example, are used for the provision and administration of the resources needed for QoS services. Resource Management reserves the necessary resources along the routes provided by the BGP protocol. A resource reservation must then follow the route changes initiated by the BGP protocol, i.e. when a route is changed a correspondingly changed reservation must be undertaken. This causes major problems, above all during the convergence time in which a network is looking for a new stable route from a number of routes. Routes selected in the interim are not immediately recognizable as intermediate solutions. If the route changes are followed rapidly by resource management then resources are reserved several times for the same traffic. If resource management waits for convergence the assured quality of service of the QoS traffic can be damaged in the long term.  
       SUMMARY OF INVENTION  
       [0008]     An object of the invention is to specify an optimized method for defining routes while maintaining quality-of-service features.  
         [0009]     The object is achieved by a method as claimed in the independent claims.  
         [0010]     The invention is based on the idea, when defining a route, e.g. within the framework of a route change or a notification of a new route, of only announcing this route before it is put into service or activated after a delay, e.g. by making a corresponding entry in a routing table. In this case the announcement of the route preferably consists of communicating the future route. It is for example also possible to reference within the framework of the announcement a route already reserved as an alternate in order to bring about the activation of the route in this way.  
         [0011]     The invention is primarily intended to overcome the problems which arise during the definition of inter-domain routes, e.g. by means of the BGP protocol, caused by the comparatively slow convergence during the determination or specification of new or changed routes. These slow convergence times are above all a problem in the transmission of real-time traffic. As part of the inventive method the route is first announced and is later activated after a time delay.  
         [0012]     In the meantime a convergence in respect of the new or changed route can be undertaken, i.e. the optimum route in the sense of a metric is selected from a number of announced routes to the same destination and a resource reservation along this optimum route can be undertaken. In this way the necessary resources are available when the route is activated. The traffic to be transported, especially QoS traffic, can be diverted without any adverse effects. It is conceivable for the inventive method and the conventional procedures to be used in parallel, with the inventive method being employed if QoS traffic is involved.  
         [0013]     Planned route changes, i.e. rerouting necessary because of line and node outages, can be executed with the inventive method without disturbing the assured quality of service for the QoS traffic. The method thus increases the availability of QoS services and simplifies resource management. The quality of service of QoS services in the planned rerouting of cross-network traffic streams can be safeguarded in this way. In particular this supports traffic engineering of cross-network traffic which even today is an increasingly significant practice among network operators.  
         [0014]     Even if the invention is aimed primarily at remedying the problems arising in inter-domain routing in data networks, the inventive idea is not restricted to this case. It is immediately evident to the person skilled in the art that the inventive procedures can be employed in any communication networks in which problematic delays occur in the definition of new or modified routes. In particular the inventive method can also be employed in intra-domain routing if difficulties arise for similar reasons in respect of convergence times in the Intra-domain routing.  
         [0015]     The event which causes the new route to be put into operation or activates the new route is preferably specified by the sending of a route activation message, also simply referred to as activation below. A network element which puts a new route into operation then receives two different messages delayed in relation to each other; one to announce the change of route, the second to activate this route change. The event which initiates the putting into operation could however also take another form, it being conceivable for example for a network element to start a timer or timers after receiving a route modification message and to initiate the putting into operation after this timer times out. A route activation message can be provided by an UPDATE message of the BGP protocol for example.  
         [0016]     Resources are preferably reserved between the receipt of the route announcement message and the activation of the route. This resource reservation may possibly precede a selection of an optimum route. The reservation of resources for the new route (which may have been identified as the optimum one) can for example be implemented with the aid of a resource reservation message which is sent to a resource management entity. The address of this resource management entity can have been communicated by means of a route announcing message to the network element responsible for route definition. The resource management entities affected by resource reservations are localized in a preferred embodiment along the route to be defined. In this case a resource reservation message is transmitted from the network element along a route which was set up when the resource announcing message was processed, which corresponds to the new route in its course and allows reservation messages to be sent without affecting existing traffic. To this end the route is preferably created, when the resource announcing message is processed, with a prefix which is notified by the resource announcing message and contains an address of the resource manager in the system which has originally initiated the route announcing. A message can be propagated in this way along at the entire route, alternatively the routing entities lying on the new route for their part send resource reservation messages to assigned resource management entities to guarantee a resource reservation along the entire route. Since resource reservation messages can run in the opposite direction on the path from route announcing messages, the assignment of a resource management entity can easily be derived from the route announcement message.  
         [0017]     In accordance with a further development of the object of the application a successful resource reservation can be confirmed to the network element responsible for defining the route. The activation of the route can be made dependent on the prior receipt of a confirmation of the reservation, i.e. the activation is not undertaken unless a confirmation for the resource reservation is available. Alternatively, if a route reservation fails, the arrival of the activation can be prevented, e.g. by a route activation message not being sent to the network element. Furthermore the activation can be made dependent on the resource manager specified in the route announcing messages receiving, as a reaction to its announcement, reservations for which the total resource requirements lie within one period of time.  
         [0018]     The route announcing message preferably contains a code or attribute which identifies it as an announcing message. Information about the time of arrival of the event, e.g. the time of the sending of a route activation message, can be transferred with this announcing message. This information can consist both of a time difference between the announcing message and the event triggering the activation, and also of an absolute point in time of the planned arrival of the event of the activation. In the latter case it is desirable to synchronize the clocks of the sender of the message and the recipient, i.e. the network element, which for example can be achieved using the NTP (Network Time Protocol) protocol (described in RFC1305). The route announcing message can essentially take the form of a BGP UPDATE message, in which case it is modified in relation to conventional UPDATE messages at least to the extent that it should include a code identifying it as an announcing message. It can comprise information about the arrival of the time and an address of a resource management entity responsible, which also represents an expansion with respect to conventional UPDATE messages.  
         [0019]     The inventive method then executes as follows in a preferred embodiment realized by means of UPDATE messages. Advance announcements of route changes are triggered by traffic engineering and other planned traffic diversions. If in future current traffic is to reach an autonomous system A via another border router R 2  instead of via a border router R 1 , i.e. is to be routed via new paths, then the border router R 2  to be used in the future sends a BGP UPDATE message in the conventional manner to the neighbors involved. By contrast with the previous execution sequence however, it sends an UPDATE message U 1  with an advance announcement of the new route. Later, at an announced time, R 2  sends a second regular UPDATE message U 2  with the new route announced in U 1 . The UPDATE message U 1  announces U 2  and gives the networks involved the opportunity, without disturbing current traffic, of running through the convergence process beforehand, reserving the required resources on the new convergent route and diverting the traffic involved with the propagation of U 2  without any problems in one step onto a prepared route. To this end new attributes are inserted into UPDATE messages in accordance with RFC 1771: for the identification of announcements, for the notification of the transmit time of U 2  and for the notification of the address of a resource manager in A to which reservations for the announced route are to be sent. Like a regular UPDATE message, an announcement also contains a route consisting of a prefix P, a route R encoded in a list of AS numbers and attributes. The prefix P, route R and attributes are identical to those in U 2 .  
         [0020]     Possible variants of this preferred embodiment are: The border router R 2  could send an announcement U 1  without specifying the time of the planned sending of the actual UPDATE message U 2  and simply wait for an appropriate length of time before U 2  is sent (estimates about distribution of the route lengths) and a reacting AS could likewise wait for an appropriate period of time for the signaling for resource reservation (estimates about distribution of the route lengths). Alternatively U 1  could contain a time interval instead of a point in time which is adapted from border router to border router (deduction of forwarding and processing time) and which displays the remaining time until U 2  is sent out. As an optional improvement the UPDATE U 2  can contain a reference to U 1  and facilitate the linkage with the announced route change.  
         [0021]     The object of the invention also includes a network element with means for executing a method in the sense of the inventive procedure. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0022]     The invention is explained in greater detail below within the context of an exemplary embodiment with reference to Figures. The figures show:  
         [0023]      FIG. 1 : a section of an internetwork which is formed by autonomous systems (AS).  
         [0024]      FIG. 2  and  FIG. 3 : a flowchart for executing an inventive method. 
     
    
     DETAILED DESCRIPTION OF INVENTION  
       [0025]     Within the framework of the exemplary embodiment, route changes during inter-domain routing are announced by means of the BGP protocol with a new form of UPDATE messages. The actual route changes are then undertaken delayed by a few minutes in time from the announcement, this being able to be undertaken in the way provided for in conventional methods in the BGP protocol. The time delay is selected so that an optimum route is determined as a rule before the route change and a resource reservation can be undertaken. Since an average convergence process in inter-domain routing takes about 3 minutes, a time delay of a few minutes makes sense. This enables the convergence phase and the resource reservation for QoS traffic to be given priority in the period of time between the announcement and the actual rerouting. The rerouting is only delayed in relation to the announcement if the convergent route is already known and the resources needed have already been provided. Route announcements are transported by means of UPDATE messages and undergo the same convergence process as regular UPDATE messages, however do not change the traffic flow but initiate the determination of the later convergent route.  
         [0026]     In accordance with the invention new attributes are used in BGP UPDATE messages, with which a route change can be announced in advance with an UPDATE message U 1  (this route announcing message is also referred to as an announcement below). I.e. the attributes identify the UPDATE message as an announcement of a route change. Then, at an end time given in the announcement U 1  (in the order of magnitude of minutes after the sending of U 1 ), as provided for within the framework of the BGP protocol, the rerouting is initiated with a regular second UPDATE message U 2 . In the usual way the UPDATE message U 2  contains the prefixes which can be reached and the AS path, i.e. the IP addresses of the accessible systems and the list of the autonomous systems leading to the destination. The UPDATE message U 1  which is used as the announcement contains the same information as U 2  and additional specifications: an indicator that an announcement of an incoming new route is involved, the time at which actual route change is to be initiated with the second UPDATE message U 2  and also the address of a resource manager responsible for the resource reservations. In the example this resource manager is localized in the autonomous system which originally announces the route change with the UPDATE message U 1 . This resource manager is localized in the example given in  FIG. 1  at the border router R 12 . A resource manager can for example be implemented with the aid of software by processes which run on a router or on an independent hardware platform. A central resource management is also possible.  
         [0027]     The announcement U 1  and all announcements derived from it in the subsequent course of execution undergo the usual selection processes at each border router, e.g. filter for incoming UPDATEs, selection of the best route (‘best path selection’) and filter for outgoing UPDATEs which decides on the route selection and forwarding, without however changing the existing routing of the traffic affected by the activation of the announced route. In accordance with the BGP protocol a maximum of one route to each destination—the best route—is forwarded to neighboring nodes. This restriction does not influence the forwarding of announced routes. Announced routes, once they have successfully passed through the selection process and are also modified like similar regular routes, are forwarded to all neighbors, as are the routes later initiated or activated by the UPDATE message U 2 . Announcements however do not influence the current best route of the traffic involved used for routing, especially do not change the corresponding entry in routing tables (FIB (forwarding information base)) and do not replace any routes learned via regular UPDATE messages. Like the UPDATE message U 2  later, the announcement U 1  thus triggers convergence processes. A remote autonomous system B, which will later react to U 2  and will divert QoS traffic, undergoes a convergence process and already learns the routes available later and especially the convergent routes to be selected later, onto which the traffic will then be diverted. After an appropriate period of time and before the time at which U 2  is sent which is known from the announcements, the autonomous system B reserves the resources needed for the diversion of the traffic involved on the convergent, best future route learned from the announcements. For this a corresponding signaling message is sent to the resource manager of the autonomous system A named in the announcement U 1 . To make this possible, all autonomous systems involved in the forwarding of the announced routes have created a route with a suitable prefix of the IP address of the resource manager. This means that the signaling message to the resource manager in the autonomous system A is generally already being sent over the new best path. If the UPDATE message U 2  is then sent at the announced time, all autonomous systems react as previously, i.e. implementing routing for the traffic involved along the new route. Those autonomous systems which already know from the announcement phase that they are diverting traffic onto a new route wait for the arrival of the already known convergent route. Only then do they modify their routing tables (FIBs: forwarding information bases) and forward a corresponding UPDATE message.  
         [0028]      FIG. 1  shows seven autonomous systems AS 1 , AS 2 , . . . , AS 7 . Two networks, network N 1  and network N 2 , are connected to AS 1 . In network N 1  the end systems can be reached with the IP addresses in the address block 10.10.10.0/24, i.e. 10.10.10.0 through 10.10.10.255, in network N 2  the end systems can be reached with the addresses in the address block 10.10.11.0/24, i.e. 10.10.11.0 through 10.10.11.255. In this case 10.10.10.0/24 specifies an IP address, 10.10.10.0, and a mask length,  24 , and stands for all IP addresses which match the specified address 10.10.10.0 in the first 24 bits (mask length), i.e. 10.10.10.0 through 10.10.10.255. Only some of the routers involved are shown in  FIG. 1 , the border routers via which the autonomous systems are connected to each other: R 11 , R 12 , R 21 , R 22 , R 31 , R 32 , R 33 , R 41 , R 42 , R 51 , R 52 , R 61 , R 62 , R 71  and R 72 . Also only partly shown are the components responsible for resource management. As indicated by the typical resource managers RM 11 , RM 12 , RM 61  and RM 62  each border router is especially assigned a resource manager here.  
         [0029]     Routes are shown in this example in the form (P, a 1 , a 2 , . . . , aN). In this case the prefix P describes the address block with the reachable destination addresses and the following sequence a 1 , a 2 , . . . , aN the sequence of the autonomous systems to be passed through via which the traffic reaches the destination addresses from P. For example (10.10.10.0/23, 4, 2, 1) is a route from the autonomous system AS 6 . It leads with the address block 10.10.10.0/23 to the networks N 1  and N 2 . The character sequence  4 ,  2 ,  1  stands for the sequence of the autonomous systems: AS 4 , AS 2 , AS 1  which forward the traffic from the autonomous system AS 6  to the networks N 1  and N 2 .  
         [0030]     Assuming that autonomous system AS 6  uses the route (10.10.10.0/23, 4, 2, 1) for the traffic to the destination networks N 1  and N 2 , the load on the connection between the routers R 21  and R 11  is approaching the capacity limit and the autonomous system AS 1  would like to divert a part of the traffic onto other routes. It is further assumed that the autonomous system AS 1  decides to divert the traffic to network N 2  on routes via R 12 .  
         [0031]     According to the previous method, that is within the framework of the BGP protocol, without the new inventive method, the router R 11  would restrict the destination addresses which can be accessed via it with an UPDATE message to 10.10.10.0/24 and notify the router R 12  with an UPDATE message about the accessibility 10.10.11.0/24. This would initiate a convergence process generally lasting three minutes on average, during which the quality-of-service for traffic streams from the autonomous system AS 6  to the networks N 1  and N 2  suffers considerably and possibly during the convergence process resources are reserved in number of times on different paths between the autonomous systems AS 6  and AS 1 .  
         [0032]     In accordance with the new inventive method the router R 12  sends an UPDATE message U 1  to the router R 31  which contains an announcement of the route (10.10.11.0/24, 1). U 1  could contain the fact that this route will be notified as a binding route in 10 minutes with a further UPDATE message. AS 3  propagates the announced route as (10.10.11.0/24, 3, 1) to routers R 41 , R 51  and R 71 . The autonomous system AS 4  propagates the announced route as (10.10.11.0/24, 4, 3, 1) to the autonomous system AS 6  although the router R 42  has already forwarded (10.10.10.0/23, 4, 3, 1) to router R 61 . The convergence phase is completed in this example when (10.10.11.0/24, 4, 3, 1) via router R 42 , (10.10.11.0/24, 5, 3, 1) via router R 52  and (10.10.11.0/24, 7, 3, 1) via router R 72  have arrived in the autonomous system AS 6  and the autonomous system AS 6  has selected what it sees as the best route. It is assumed here that the autonomous system AS 6  decides on (10.10.11.0/24, 5, 3, 1), e.g. because this is the optimum route in the sense of a metric. With the announced routes the autonomous system AS 6  also finds out about the switchover time intended by the autonomous system AS 1 . Taking into account the fact that the clocks of the autonomous systems AS 1  and AS 6  are not running synchronously, the autonomous system AS 6  will inform its resource management in good time about its choice of route and cause the resource manager RM 62  to signal the required resources on the selected future route to the resource manager RM 12 . This means that the new route is defined and the required resources are already provided when router R 12  sends at the announced time a further UPDATE message U 2  with the route (10.10.11.0/24, 1) to router R 31 , this time as a regular UPDATE message. In a sequence which cannot be defined beforehand, triggered by the U 2  UPDATE, messages with the routes (10.10.11.0/24, 4, 3, 1), (10.10.11.0/24, 5, 3, 1) and (10.10.11.0/24, 7, 3, 1) will arrive at the autonomous system AS 6 . The autonomous system AS 6  already knows the new convergent route and will now wait until such time as the UPDATE message with the route (10.10.11.0/24, 5, 3, 1) arrives. The autonomous system AS 6  will then adapt its routing and put the traffic to N 2  on to a new path which is already available as an end-to-end path at this point, represents the convergence state and provides the necessary resources. Without significant adverse effects on the quality of service this diverts the traffic to the new route (except for possible overlaps of traffic on the new link and traffic still running on the old link which has not yet reached its destination at the time of the rerouting). Subsequently the resource manager RM 61  will adapt the resources reserved on the old route via the autonomous systems AS 4 , AS 2  and AS 1 , i.e. release the resources no longer needed because of the traffic diversion.  
         [0033]     The autonomous system AS 6  proceeds in this case according to the flowchart shown in  FIG. 2  and  FIG. 3 . For the sake of simplification it is assumed here that an UPDATE only contains an announced route R with prefix P (step  101 ). An expansion for UPDATE messages which announces a number of routes is of no importance to the person skilled and the art. Steps  102 ,  104 ,  105 ,  107 ,  108  and  109  correspond to the processing of announced routes described in RFC1771. In step  106  route announcements are filtered out in this sequence which in future describe the best routes and are stored in a new database for announced routes, Pen-RIB (Pen stands for Pending), (step  123 ), if R is the first such route announcement for the prefix P (not entered in Pen-RIB) a timer is started (step  121  and  122 ). A route R* is generated from the route announcement R which is identical to R except for the prefix P* (step  124 ). P* is the prefix of the resource manager responsible for reservations on the announced route with the prefix R, in the example a prefix for an address of RM 12  in AS 1 . R* is now entered in Loc-RIB and activated instead of the route announcement (step  125 ).  
         [0034]     Announced routes which are expected as a result of the route announcements entered in Pen-RIB are filtered out in step  103  and given special treatment. They are entered in the database Pen-RIB (step  131 ). With the first such entry a timer is started (step  132  and  133 ). If the route R corresponds to the new best route contained in the Pen-RIB, all routes buffered in the Pen-RIB for the prefix P are processed and all entries for the prefix P in Pen-RIB deleted (step  134 ,  135  and  136 ). The processing in step  135  corresponds to that of steps  104 ,  105 ,  107 ,  108  and  109 .  
         [0035]     If a timer set in step  122  times out (step  201 ) the resource management is informed about an impending change of route in order to initiate a corresponding resource reservation (step  202 ). If a timer set in step  133  times out (step  301 ) it is assumed that the new best route stored in Pen-RIB is no longer valid. A check is made as to whether there are entries for the prefix P in Pen-RIB (step  302 ). If there are, all the routes buffered for prefix P in Pen-RIB are processed (step  303 ) and deleted in Pen-RIB (step  304 ). Furthermore the resource management is informed about the change (step  305 ).  
         [0036]     If it is to be assumed that route changes initiated by a number of autonomous systems for the same prefix must be held in Pen-RIB, the entries in Pen-RIB must be made according to prefix and an identification of the sender of the original announcement (AS 1  or router R 12  in the example) must be provided. To this end route change messages must where necessary also provide a suitable value for this identification, e.g. an AS number or a IP address of a border router.