[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20100329268A1 - Overlay Network Node And Overlay Networks - Google Patents

Overlay Network Node And Overlay Networks Download PDF

Info

Publication number
US20100329268A1
US20100329268A1 US12/867,749 US86774909A US2010329268A1 US 20100329268 A1 US20100329268 A1 US 20100329268A1 US 86774909 A US86774909 A US 86774909A US 2010329268 A1 US2010329268 A1 US 2010329268A1
Authority
US
United States
Prior art keywords
node
reply
request
overlay network
overlay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US12/867,749
Other versions
US8817595B2 (en
Inventor
Jani Hautakorpi
Jouni Mäenpää
Markus Meriläinen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Telefonaktiebolaget LM Ericsson AB
Original Assignee
Telefonaktiebolaget LM Ericsson AB
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Telefonaktiebolaget LM Ericsson AB filed Critical Telefonaktiebolaget LM Ericsson AB
Priority to US12/867,749 priority Critical patent/US8817595B2/en
Assigned to TELEFONAKTIEBOLAGET LM ERICSSON (PUBL) reassignment TELEFONAKTIEBOLAGET LM ERICSSON (PUBL) ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MERILAINEN, MARKUS, HAUTAKORPI, JANI, MAENPAA, JOUNI
Publication of US20100329268A1 publication Critical patent/US20100329268A1/en
Application granted granted Critical
Publication of US8817595B2 publication Critical patent/US8817595B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1048Departure or maintenance mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
    • H04L67/1065Discovery involving distributed pre-established resource-based relationships among peers, e.g. based on distributed hash tables [DHT] 

Definitions

  • the present invention relates to an overlay network node and to an overlay network including such a node.
  • Such a node may provide robust reply routing for such overlay networks.
  • overlay networks which, in this context, mean networks where overlay routing is done above the internet protocol layer (IP) layer, and especially toward Distributed Hash Table (DHT) algorithms, such as EpiChord (B. Leong, B. Liskov, and E. Demaine, “EpiChord: Parallelizing the Chord Lookup Algorithm with Reactive Routing State Management”, in Proceedings of the IEEE International Conference on Networks (ICON 2004), volume 1, 2004, http://erikdemaine.org/papers/EpiChord_ICON2004/paper.pdf), Kademlia (P. Maymounkov and D.
  • DHT Distributed Hash Table
  • P2P networks make use of an overlay routing network on top of the IP routing network. Such overlay networks allow the storage locations of files to be reached based upon an overlay network key.
  • DHT Distributed Hash Tables
  • the key is a hash of a filename.
  • DHTs have the property that the keys are evenly spread across the address space and the allocation of key ranges to specific nodes in the overlay network (“supernodes”) therefore results in the file storage load also being evenly spread.
  • Most part of the research efforts have been focused on developing and enhancing the DHT algorithm itself and not so much effort has been focused on deploying DHTs to existing communication networks.
  • applications that utilize DHTs in the Internet, such as file sharing (e.g. eMule and BitTorrent) and interpersonal communication applications (e.g. Skype).
  • Interpersonal communication is currently done with non-standardized applications, like SkypeTM, but in the near future it will be possible to use standardized technology, namely P2PSIP (Peer-to-Peer Session Initiation Protocol), for communication in overlay networks.
  • P2PSIP Peer-to-Peer Session Initiation Protocol
  • P2PSIP Session Initiation Protocol
  • P2PSIP technology is currently being standardized in the IETF (Internet Engineering Task Force).
  • the P2PSIP working group (Homepage of the P2PSIP working group at the Internet Engineering Task Force, http://www.ietf.org/html.charters/p2psip-charter.html (Referenced Jan. 17, 2008)) was chartered in March 2007.
  • the P2PSIP working group has not existed for very long, there are already several drafts, for example S. Baset, H. Schulzrinne, and M.
  • Reply routing in overlay networks is typically done by utilizing intermediary nodes.
  • Either of these reply routing mechanisms can utilize a soft-state in intermediary nodes (e.g. written by the corresponding request) or state in reply messages (cf. Via headers in SIP).
  • state information does not make a considerable difference in this context.
  • the problem with mechanism 1) is that those reply mechanisms are not developed for networks with non-robust intermediary nodes. It is noteworthy that DHT algorithms, and applications based on them, are typically executed in non-robust endpoints, such as laptops or mobile phones. Hence, it may be assumed that failures in reply routing are quite common.
  • the amount of intermediate nodes between the sender and the final recipient of a message can be up to log(N), where N is the total number of nodes in the overlay network.
  • N the total number of nodes in the overlay network.
  • P2P network such as a world-wide P2PSIP telephony network
  • the amount of intermediate hops can become rather large so that the probability of intermediate node failure is higher and its impacts are more pronounced than e.g. in a traditional SIP network.
  • mechanism 2 The problem with mechanism 2) is that it is vulnerable to intermediate node failures. If an intermediate node fails while the reply is in transit, the only way to remedy the failed request/reply transaction is for the original sender to resend the request after a timeout. This kind of model for failure tolerance is very inefficient and especially ill-fitted for interpersonal communication. Furthermore, existing reply routing mechanisms in overlay networks (e.g. the ones used in P2P networks such as eMule and in BitTorrent) are not well-suited to environments with Network Address Translators (NATs), such as the Internet.
  • NATs Network Address Translators
  • FIG. 1 The existing reply routing mechanism used by recursive DHTs is illustrated in FIG. 1 of the accompanying drawings.
  • replies follow the same path 5 - 8 through the overlay network as the request did ( 1 - 4 ).
  • the state information required for reply routing can be stored either in each intermediary node as a soft-state or as a path definition in the reply message itself (cf. Via headers in SIP).
  • the overlay network is presented as a large circle. Although the overlay network is presented in Chord-like fashion (that is, using a ring-like topology), the R 3 is suited to almost all overlay network technologies and DHT-algorithms.
  • the problem with the recursive model illustrated in FIG. 1 is that the reply cannot be routed back to the node S if any one of the intermediate nodes (e.g. I 1 , I 2 ) becomes unreachable.
  • the node I 1 becomes unreachable after it has forwarded the request to the node I 2 .
  • the node I 1 may simply decide to leave the overlay gracefully soon after having forwarded the request, meaning that is no longer available when the reply should be forwarded back towards the node S.
  • the reply from the node D cannot be routed back to the node S because the path ( 1 - 4 ) that the request followed through the overlay network no longer exists. Further, it may take a long time before the node S realizes that the request/reply transaction has failed. Because the reply cannot find its way back to the node S, the node S has to wait for a transaction timeout to occur before it can reattempt to transmit the request. If the purpose of the P2P request/reply transaction is e.g. to find out the contact information of a callee during call establishment, then this kind of waiting directly increases the call setup delay.
  • the recursive routing model illustrated in FIG. 1 it is also possible to consider using semi-recursive (D sends a reply directly to S) or iterative (S contacts all intermediary nodes one by one) overlay routing models in FIG. 1 .
  • the recursive overlay routing is the only sufficient model for environments where Network Address Translators (NATs) exist, such as the Internet.
  • the semi-recursive routing model fails in the presence of NATs, because if the node D (i.e. the destination node) is behind a NAT, the NAT will typically drop the incoming reply if it is sent directly from S to D without involving the intermediate nodes.
  • the iterative routing model is inefficient in NATed environments, because a NAT hole-punching technique would need to be used separately for each node along the path between D and S when routing the request.
  • an overlay network node comprising: first means for forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and second means, responsive to the preceding node being unavailable, for forwarding a reply, originating in the destination node and destined for the source node, to the request via another node of the overlay network, different from the preceding node, towards the source node.
  • the second means may be arranged to convert the reply into a further request destined for the second node.
  • the second means may be arranged to covert the reply into a payload of the further request.
  • the node may comprise an overlay routing table, the second means being arranged to select the other node from the overlay routing table.
  • the second means may be arranged to select the other node as nearest the source node according to a proximity metric of the overlay routing table.
  • the source node may be arranged to provide a transaction identifier in the request and each of the first and second means may be arranged not to change at least part of the transaction identifier representing the end-to-end path of the request and the reply.
  • Each of the first and second means may be arranged to update a non-fixed part of the transaction identifier in accordance with a local part of a node path of the request and reply through the overlay network.
  • the second means may be arranged to identify the preceding node from the non-fixed part of the transaction identifier.
  • the first means may be arranged to store a representation of the identity of the preceding node and the second means may be arranged to identify the preceding node from the stored representation.
  • the node may comprise a router of the overlay network.
  • the node may comprise a network server.
  • an overlay network comprising at least one node according to the first aspect of the invention.
  • the network may comprise a peer-to-peer network.
  • the network may comprise a peer-to-peer session initiation protocol network.
  • a method of routing a reply in an overlay network comprising, in a node of the overlay network: forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and, in response to the preceding node being unavailable, forwarding a reply, originating in the destination node and destined for the source node, to the request via another node of the overlay network, different from the preceding node, towards the source node.
  • the second means may convert the reply into a further request destined for the source node.
  • the second means may convert the reply into a payload of the further request.
  • the second means may select the other node from an overlay routing table.
  • the second means may select the other node as nearest the source node according to a proximity metric of the overlay routing table.
  • the source node may provide a transaction identifier in the request and each of the first and second means may not change at least part of the transaction identifier representing the end-to-end path of the request and the reply.
  • the first and second means may update a non-fixed part of the transaction identifier in accordance with a local part of a node path of the request and reply through the overlay network.
  • the second means may identify the preceding node from the non-fixed part of the transaction identifier.
  • the first means may store a representation of the identifier of the preceding node and the second means may identify the preceding node from the stored representation.
  • a program for programming a computer to perform a method according to the third aspect of the invention is provided.
  • a computer-readable medium containing a program according to the fourth aspect of the invention.
  • a “recursive” routing mechanism is considered to be a mechanism that involves forwarding a reply message from a destination node to a source node back along the path that was taken by the request that initiated the reply.
  • Each node in the path may maintain a state for the request, identifying the node from which the request was received.
  • the routers of a typical overlay network may be considered “super-routers”, each super-router maintaining a routing table mapping a set of overlay network addresses to IP addresses and port numbers.
  • each super-router in the recursive reply forwarding path, or a link to that router fails, the preceding super-router in the path applies the fallback mechanism by identifying the next hop super-router from its overlay routing table.
  • Failure of a super-router or link may be detected by the lack of an acknowledgement in respect of a forwarded reply message or as a result of some ongoing monitoring function.
  • This technique is applicable in particular to peer-to-peer networks and in particular, though not necessarily, to peer-to-peer SIP networks such as might be used to set up a voice call.
  • a transaction identifier that includes a fixed part, e.g. generated by the source, and a variable part that is updated at each super-node upon receipt.
  • the variable or hop-by-hop part allows each receiving router to identify the next hop router.
  • the fixed part allows the source to link the reply to the request.
  • the super-router detecting the failure preferably tunnels the reply to the next-hop super-router by including the reply as a payload within a new request addressed to the source super-router.
  • the payload is extracted and matched to the correct transaction.
  • a router embodying the functionality may be implemented as an appropriately programmed computer.
  • the computer may be a mobile phone, smart phone, PDA, laptop computer, or a desktop computer.
  • the computer may alternatively be a network server.
  • FIG. 1 is a diagram illustrating a recursive routing model of a known overlay network
  • FIG. 2 is a diagram illustrating an overlay network constituting an embodiment of the invention
  • FIG. 3 is a diagram illustrating part of an overlay network node of the network of FIG. 2 constituting an embodiment of the invention
  • FIG. 4 is a diagram illustrating the structure and/or function of the node of FIG. 3 ;
  • FIG. 5 is a diagram illustrating the structure of a request or reply data packet.
  • R 3 minimizes the effects of intermediate node failure on the performance of the overlay network by delegating the responsibility for failure recovery to nodes along the routing path. This can considerably speed up the process of recovering from an intermediate node failure.
  • the R 3 mechanism is illustrated in FIG. 2 , where the originator of a request message is a source S and the destination is the destination D.
  • one intermediate node, I 1 becomes unreachable after it has forwarded the request to another intermediate node, I 2 .
  • node I 1 may simply decide to leave the overlay gracefully soon after having forwarded the request, meaning that it is no longer available when the reply should be forwarded.
  • node I 2 would benefit from an alternative way to forward the reply (instead of just trying to forward it via the failed node I 1 ).
  • Any suitable mechanism for detecting connection breakages may be used and examples of suitable known mechanisms include polling, timeouts, and end of stream indications.
  • the node I 2 uses traditional overlay routing for forwarding the reply.
  • I 2 uses the same kind of overlay routing that is used for routing requests: I 2 performs a node lookup operation in its local routing table to find the best next hop node on the path towards node S. I 2 already has an existing connection to I 3 (in other words I 3 is on I 2 's overlay routing table) and it can easily forward the reply to I 3 . I 3 in its turn also applies traditional overlay routing for the reply and before long the reply will reach the source node.
  • R 3 can speed up recovery from intermediate node failure considerably. Without R 3 , the node S would wait for its transaction timer to fire before resending the request. In the case of P2PSIP, this has the effect of directly increasing the session setup delay. Further, even the retransmitted request might fail if the overlay routing has not yet managed to recover from the failure of the node I 1 , which would increase the session setup delay even more. However, when using R 3 , there would be no need to retransmit the request since the reply would with a high probability be able to reach the node S through the alternative path before the transaction timer at the node S fires.
  • Transaction identifiers are carried in requests and replies.
  • a node uses the transaction identifier carried in the reply to map the reply to a previously sent request.
  • Existing overlay networks typically use transaction identifiers in two different ways:
  • the problem with the first approach is that it is not possible to tell the difference between retransmitted requests and requests that are looping in the network. This is because both types of requests carry the same transaction identifier.
  • the benefit of this approach is that it works directly with R 3 since, even if the reply follows a different path through the network from the request, replies can still be mapped to the correct request at the node that initiated the request/reply transaction.
  • R 3 solves the problem with the second approach by using two types of transaction identifiers: an end-to-end transaction identifier and a hop-by-hop transaction identifier.
  • the end-to-end transaction identifier is generated by the original sender of the request (the node S in FIG. 2 ). Each intermediate node forwards the end-to-end transaction identifier unmodified, but generates a new hop-by-hop transaction identifier in the usual manner.
  • the destination node (the node D in FIG. 2 ) copies the end-to-end transaction identifier to the reply it generates, and each intermediate node forwards the end-to-end transaction identifier in the reply unmodified. If the reply follows a different path through the network from that which the request followed (due to R 3 procedures), then the end-to-end transaction identifier allows the node S to associate the reply with the correct request.
  • R 3 allows one to split the existing transaction identifier field carried in peer-to-peer protocol messages into two parts: a prefix and a suffix.
  • the prefix is generated by the original sender (node S) of the request and it identifies the transaction in an end-to-end manner; each intermediate hop forwards the prefix unmodified and the node D, when generating the reply, copies the prefix into the transaction identifier of the reply.
  • the suffix is used as the hop-by-hop transaction identifier and each intermediate hop can freely modify it before forwarding the message.
  • R 3 routes replies as if they were requests.
  • the node I 2 uses R 3 to forward a reply to the node I 3 , which has never seen the request to which the reply is being sent. Because the node I 3 has never seen the request, it cannot associate the reply with any existing transaction (the hop-by-hop transaction identifier or the end-to-end transaction identifier, or both, are different), and may thus simply choose to drop the reply.
  • R 3 allows the intermediate node making the decision to initiate R 3 procedures (the node I 2 in FIG. 2 ) to tunnel the reply through the overlay. This means that the reply is carried in the payload of a new request targeted to the node that initiated the transaction to which the reply is related (i.e.
  • the node S in FIG. 2 ).
  • the node S receives the request carrying the tunneled reply, it extracts the reply from the payload of the request and uses the end-to-end transaction identifier carried in the reply to map the reply to the correct transaction.
  • This mechanism does not require additional processing at intermediate nodes, since only the target node (the node S) of the request carrying the tunneled reply needs to check the payload. Intermediate nodes only need to forward the request and can ignore the payload.
  • R 3 specific processing taking place within an overlay network node is illustrated in FIG. 3 .
  • the processing is described from the viewpoint of the node I 2 of FIG. 2
  • the large dark gray coloured box 20 of FIG. 3 represents the node I 2 .
  • the node I 2 has received a reply from the node D (this step corresponds to the step 5 of FIG. 2 ).
  • the R 3 mechanism has a number of advantages over the existing solutions.
  • the main advantages are the following:
  • FIG. 4 is a structural/functional diagram illustrating any one of the nodes shown in FIG. 2 .
  • the node is embodied as a programmed computer comprising a processor 30 , a memory 31 and an input/output interface 32 connected at 33 to the rest of the network.
  • the memory 31 comprises a read-only memory containing a program for controlling the operation of the processor 30 , together with volatile and non-volatile memory as necessary for the functioning of the processor 30 .
  • the interface 32 provides all of the interfacing functions necessary for the processor 30 to communicate with the remainder of the network.
  • the processor 30 is illustrated as comprising a plurality of functional units or “functions” 34 to 37 together with a local routing table 38 including part of the distributed hash table. These units represent functional units within the software controlling the processor 30 and illustrate the functions and data flows within the processor 30 .
  • the node shown in FIG. 4 is capable of generating requests, forwarding requests, performing the R 3 function and generating replies to requests.
  • the request generating function 34 is used.
  • the function 34 generates the request typically as a data packet, for example having the general structure illustrated in FIG. 5 .
  • Each packet comprises header/addressing data illustrated at 40 to allow the packet to be transported by lower-level network functions.
  • the packet also comprises a transaction identifier generated by the function 34 and comprising a fixed portion 41 and a non-fixed portion 42 .
  • the packet further comprises a payload 43 in accordance with the nature or function of the request.
  • the fixed portion 41 of the transaction identifier represents end-to-end data specifying, for example, the addresses of the source node which created the request and of the destination node for which the request is destined.
  • the non-fixed portion 42 comprises hop-by-hop address data, for example specifying the node which forwarded the request to the current node.
  • the request generating function 34 When the request generating function 34 has generated the request, it accesses the local routing table 38 in order to direct the request to an intermediate node whose address is within its local routing table 38 and which is nearest the destination node.
  • the table 38 is associated with or contains a proximity metric to allow the nearest available node to be selected as the intermediate destination for the request.
  • the request/reply forwarding function 35 receives the request and forwards it as described hereinbefore.
  • the fixed part 41 of the transaction identifier and the payload 43 are not changed and need not be processed by the function 35 , which forwards these portions of the request.
  • the non-fixed portion 42 of the identifier is updated to represent the latest hop of the request.
  • the function 35 interrogates the local routing table 38 to determine the node nearest the destination node and forwards the request as described hereinbefore.
  • the node shown in FIG. 4 determines that it is the destination for the request, for example by examining the fixed portion 41 of the transaction identifier.
  • the reply generating function 37 is then performed and generates a reply destined for the source node.
  • the reply has the same structure as the request as illustrated in FIG. 5 and contains the appropriate fixed and non-fixed portions of the transaction identifier and a payload 43 as appropriate.
  • the function 37 determines the node which last forwarded the request to the destination node and sends the reply back to the “previous node”.
  • the function 35 receives the reply and checks whether the preceding node in the recursive chain is still available in the sense that it is still accessible. If the preceding node is accessible, then the function 35 forwards the reply to the preceding node after updating the non-fixed part 42 of the transaction identifier as appropriate.
  • the R 3 function 36 When the preceding node is no longer available, the R 3 function 36 is performed. As described hereinbefore, the function 36 determines an alternative node towards the source node which is accessible. The non-fixed portion 42 of the transaction identifier is updated appropriately. However, instead of returning the reply as a reply, the function 36 reformulates it as a request by placing the reply data in the payload 43 so that the nodes which subsequently receive the reply forward it and do not drop it.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An overlay network node (12, 20, 30 to 32) is arranged to provide robust reply routing for requests and replies travelling over the network. Each node comprises first means (35) which forwards each request originating in a source node (S) and destined for destination node (D). The node comprises second means (20, 36) which redirect replies if the node from which the corresponding requests were received is no long accessible. The reply is, for example, turned into a request containing the reply as its payload and is returned towards the source node according to the rules used for forwarding the requests.

Description

    TECHNICAL FIELD
  • The present invention relates to an overlay network node and to an overlay network including such a node. Such a node may provide robust reply routing for such overlay networks.
  • BACKGROUND Operating Environment and Related Technologies
  • In the past years, there has been a lot of research interest towards overlay networks which, in this context, mean networks where overlay routing is done above the internet protocol layer (IP) layer, and especially toward Distributed Hash Table (DHT) algorithms, such as EpiChord (B. Leong, B. Liskov, and E. Demaine, “EpiChord: Parallelizing the Chord Lookup Algorithm with Reactive Routing State Management”, in Proceedings of the IEEE International Conference on Networks (ICON 2004), volume 1, 2004, http://erikdemaine.org/papers/EpiChord_ICON2004/paper.pdf), Kademlia (P. Maymounkov and D. Mazieres, “Kademlia: A Peer-to-peer Information System Based on the XOR Metric”, In 1st International Workshop on Peer-to-peer Systems 2009, http://pdos.csail.mit.edu/˜petar/papers/maymounkov/kademlia-lncs.pdf), CAN (S. Ratnasamy, P. Francis, M. Handley, R. Karp, and S. Shenker, “A Scalable Content-Addressable Network”, In proceedings of ACM SIGCOMM 2001, http://berkeley.intel-research.net/sylvia/cans.pdf) and Chord (R. Stoica, D. Morris, M. Karger, F. Kaashoek, and H. Balakrishnan, “Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications,” in Proceedings of the ACM SIGCOMM '01 Conference, San Diego, Calif., August 2001, pp. 149, http://pdos.csail.mit.edu/papers/chord:sigcomm01/chord_sigcomm.pdf). Typical peer-to-peer (P2P) networks make use of an overlay routing network on top of the IP routing network. Such overlay networks allow the storage locations of files to be reached based upon an overlay network key.
  • In the case of Distributed Hash Tables (DHT), the key is a hash of a filename. DHTs have the property that the keys are evenly spread across the address space and the allocation of key ranges to specific nodes in the overlay network (“supernodes”) therefore results in the file storage load also being evenly spread. Most part of the research efforts have been focused on developing and enhancing the DHT algorithm itself and not so much effort has been focused on deploying DHTs to existing communication networks. However, there are a number of applications that utilize DHTs in the Internet, such as file sharing (e.g. eMule and BitTorrent) and interpersonal communication applications (e.g. Skype).
  • Interpersonal communication is currently done with non-standardized applications, like Skype™, but in the near future it will be possible to use standardized technology, namely P2PSIP (Peer-to-Peer Session Initiation Protocol), for communication in overlay networks.
  • Even though the procedure described herein, namely Robust Reply Routing for Overlay Networks (R3), can be used with various overlay networks, perhaps the most prominent case is its use with P2PSIP technology. The idea in P2PSIP is to combine SIP (Session Initiation Protocol) (J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R. Sparks, M. Handley, and E. Schooler, “SIP: Session Initiation Protocol,” RFC 3261 (Proposed Standard), Internet Engineering Task Force, June 2002, http://www.rfc-editor.org/rfc/rfc3261.txt) and P2P (Peer-to-peer) technologies in a novel manner. Although it will be possible to build isolated P2PSIP networks, it is expected that a number of such networks will be connected via gateways to existing SIP-based networks, such as the IP Multimedia Subsystem (IMS). This way, IMS users and P2PSIP users will be able to communicate with each other seamlessly.
  • P2PSIP technology is currently being standardized in the IETF (Internet Engineering Task Force). The P2PSIP working group (Homepage of the P2PSIP working group at the Internet Engineering Task Force, http://www.ietf.org/html.charters/p2psip-charter.html (Referenced Jan. 17, 2008)) was chartered in March 2007. Despite the fact that the P2PSIP working group has not existed for very long, there are already several drafts, for example S. Baset, H. Schulzrinne, and M. Matuszewski, Peer-to-Peer Protocol (P2PSIP), November 2007, draft-baset-p2psip-p2pp-01, http://www.ietf.org/internet-drafts/draft-baset-p2psip-p2pp-01.txt (Referenced Jan. 17, 2008); D. Bryan, S. Baset, M. Matuszewski, and H. Sinnreich, P2PSIP Protocol Framework and Requirements, July 2007, draft-bryan-p2psip-requirements-00, http://tools.ietf.org/id/draft-bryan-p2psip-requirements-00.txt (Referenced Jan. 17, 2008); D. Bryan, E. Shim, and B. Lowekamp, Use Cases for Peer-to-Peer Session Initiation Protocol (P2P SIP), July 2007, draft-bryan-p2psip-usecases-00, http://www.watersprings.org/pub/id/draft-bryan-p2psip-usecases-00.txt (Referenced Jan. 17, 2008); J. Hautakorpi, G. Camarillo, and J. Koskela, Utilizing HIP (Host Identity Protocol) for P2PSIP (Peer-to-peer Session Initiation Protocol), November 2007, draft-hautakorpi-p2psip-with-hip-01.txt, http://www.ietf.org/internet-drafts/draft-hautakorpi-p2psip-with-hip-01.txt (Referenced Jan. 17, 2008); C. Jennings, B. Lowekamp, E. Rescorla, and J. Rosenberg, REsource LOcation And Discovery (RELOAD), November 2007, draft-bryan-p2psip-reload-02, http://www.ietf.org/internet-drafts/draft-bryan-p2psip-reload-02.txt (Referenced Jan. 17, 2008); and M. Matuszewski, J-E. Ekberg, and P. Laitinen, Security requirements in P2PSIP, November 2007, draft-matuszewski-p2psip-security-requirements-02, http://www.ietf.org/internet-drafts/draft-matuszewski-p2psip-security-requirements-02.txt (Referenced Jan. 17, 2008), targeted for P2PSIP.
  • Problems with Existing Solutions
  • Reply routing in overlay networks is typically done by utilizing intermediary nodes. Today there exist two different reply routing mechanisms:
      • 1) Reply routing mechanism used in existing request/reply protocols, such as in SIP and in Simple Object Access Protocol (SOAP) (Martin Gudgin, Marc Hadley, Noah Mendelsohn, Jean-Jacques Moreau, Henrik Frystyk Nielsen, Anish Karmarkar, and Yves Lafon, SOAP Version 1.2 Part 1: Messaging Framework (Second Edition), W3C Recommendation, April 2007, http://www.w3.org/TR/2007/REC-soap12-part1-20070427/.)
      • 2) Simple reply routing mechanism used in existing DHT-algorithm implementations.
  • Either of these reply routing mechanisms can utilize a soft-state in intermediary nodes (e.g. written by the corresponding request) or state in reply messages (cf. Via headers in SIP). The placement of state information does not make a considerable difference in this context.
  • The problem with mechanism 1) is that those reply mechanisms are not developed for networks with non-robust intermediary nodes. It is noteworthy that DHT algorithms, and applications based on them, are typically executed in non-robust endpoints, such as laptops or mobile phones. Hence, it may be assumed that failures in reply routing are quite common. In a typical DHT-based overlay network, the amount of intermediate nodes between the sender and the final recipient of a message can be up to log(N), where N is the total number of nodes in the overlay network. Thus, in a large P2P network (such as a world-wide P2PSIP telephony network), the amount of intermediate hops can become rather large so that the probability of intermediate node failure is higher and its impacts are more pronounced than e.g. in a traditional SIP network.
  • The problem with mechanism 2) is that it is vulnerable to intermediate node failures. If an intermediate node fails while the reply is in transit, the only way to remedy the failed request/reply transaction is for the original sender to resend the request after a timeout. This kind of model for failure tolerance is very inefficient and especially ill-fitted for interpersonal communication. Furthermore, existing reply routing mechanisms in overlay networks (e.g. the ones used in P2P networks such as eMule and in BitTorrent) are not well-suited to environments with Network Address Translators (NATs), such as the Internet.
  • Another somewhat related technology is Internet Indirection Infrastructure (i3). However, the reply routing is not so significant an issue in i3 as it is in P2PSIP because, in i3, only the initial connection setup goes via multiple hops in an overlay whereas, in P2PSIP, most of the signaling goes via multiple hops in an overlay. Furthermore, the implementation from i3 uses iterative routing and therefore the reply routing is quite straightforward and not well suited to environments with NAT devices.
  • Description of the Existing Reply Routing Mechanism
  • The existing reply routing mechanism used by recursive DHTs is illustrated in FIG. 1 of the accompanying drawings. In this mechanism, replies follow the same path 5-8 through the overlay network as the request did (1-4). The state information required for reply routing can be stored either in each intermediary node as a soft-state or as a path definition in the reply message itself (cf. Via headers in SIP). In FIG. 1, nodes are presented as boxes (S=source, Ix=Intermediary x, D=destination), requests as arrows, replies as dashed arrows, and existing connections as tubes. The overlay network is presented as a large circle. Although the overlay network is presented in Chord-like fashion (that is, using a ring-like topology), the R3 is suited to almost all overlay network technologies and DHT-algorithms.
  • The problem with the recursive model illustrated in FIG. 1 is that the reply cannot be routed back to the node S if any one of the intermediate nodes (e.g. I1, I2) becomes unreachable. As an example, assume that the node I1 becomes unreachable after it has forwarded the request to the node I2. There can be various reasons for unreachability of a node. For example, batteries may have run out, an operating system may have crashed, or connectivity may have been lost (e.g. due to node mobility). Also, instead of becoming unreachable, the node I1 may simply decide to leave the overlay gracefully soon after having forwarded the request, meaning that is no longer available when the reply should be forwarded back towards the node S.
  • In any of these scenarios, the reply from the node D cannot be routed back to the node S because the path (1-4) that the request followed through the overlay network no longer exists. Further, it may take a long time before the node S realizes that the request/reply transaction has failed. Because the reply cannot find its way back to the node S, the node S has to wait for a transaction timeout to occur before it can reattempt to transmit the request. If the purpose of the P2P request/reply transaction is e.g. to find out the contact information of a callee during call establishment, then this kind of waiting directly increases the call setup delay.
  • In addition to the recursive routing model illustrated in FIG. 1, it is also possible to consider using semi-recursive (D sends a reply directly to S) or iterative (S contacts all intermediary nodes one by one) overlay routing models in FIG. 1. However, the recursive overlay routing is the only sufficient model for environments where Network Address Translators (NATs) exist, such as the Internet. The semi-recursive routing model fails in the presence of NATs, because if the node D (i.e. the destination node) is behind a NAT, the NAT will typically drop the incoming reply if it is sent directly from S to D without involving the intermediate nodes. On the other hand, the iterative routing model is inefficient in NATed environments, because a NAT hole-punching technique would need to be used separately for each node along the path between D and S when routing the request.
  • SUMMARY
  • According to a first aspect of the invention, there is provided an overlay network node comprising: first means for forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and second means, responsive to the preceding node being unavailable, for forwarding a reply, originating in the destination node and destined for the source node, to the request via another node of the overlay network, different from the preceding node, towards the source node.
  • The second means may be arranged to convert the reply into a further request destined for the second node. The second means may be arranged to covert the reply into a payload of the further request.
  • The node may comprise an overlay routing table, the second means being arranged to select the other node from the overlay routing table. The second means may be arranged to select the other node as nearest the source node according to a proximity metric of the overlay routing table.
  • The source node may be arranged to provide a transaction identifier in the request and each of the first and second means may be arranged not to change at least part of the transaction identifier representing the end-to-end path of the request and the reply. Each of the first and second means may be arranged to update a non-fixed part of the transaction identifier in accordance with a local part of a node path of the request and reply through the overlay network. The second means may be arranged to identify the preceding node from the non-fixed part of the transaction identifier.
  • As an alternative the first means may be arranged to store a representation of the identity of the preceding node and the second means may be arranged to identify the preceding node from the stored representation.
  • The node may comprise a router of the overlay network.
  • The node may comprise a network server.
  • According to a second aspect of the invention, there is provided an overlay network comprising at least one node according to the first aspect of the invention.
  • The network may comprise a peer-to-peer network. The network may comprise a peer-to-peer session initiation protocol network.
  • According to a third aspect of the invention, there is provided a method of routing a reply in an overlay network comprising, in a node of the overlay network: forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and, in response to the preceding node being unavailable, forwarding a reply, originating in the destination node and destined for the source node, to the request via another node of the overlay network, different from the preceding node, towards the source node.
  • The second means may convert the reply into a further request destined for the source node. The second means may convert the reply into a payload of the further request.
  • The second means may select the other node from an overlay routing table. The second means may select the other node as nearest the source node according to a proximity metric of the overlay routing table.
  • The source node may provide a transaction identifier in the request and each of the first and second means may not change at least part of the transaction identifier representing the end-to-end path of the request and the reply. The first and second means may update a non-fixed part of the transaction identifier in accordance with a local part of a node path of the request and reply through the overlay network. The second means may identify the preceding node from the non-fixed part of the transaction identifier.
  • The first means may store a representation of the identifier of the preceding node and the second means may identify the preceding node from the stored representation.
  • According to a fourth aspect of the invention, there is provided a program for programming a computer to perform a method according to the third aspect of the invention.
  • According to a fifth aspect of the invention, there is provided a computer-readable medium containing a program according to the fourth aspect of the invention.
  • It is thus possible to provide a “Robust Reply Routing for Overlay Networks (R3)” in the form of a mechanism which allows an overlay network to recover rapidly from intermediate node failures. This kind of failure tolerance is very important when overlay networks are deployed in real-life communication networks, such as the Internet or third generation (3G) networks. The need for failure tolerance is emphasized by the fact that intermediary nodes in overlay networks are typically non-robust endpoints.
  • It is further possible to introduce into routers of an overlay routing network a functionality that introduces a fallback reply routing mechanism in the event that a recursive routing mechanism fails. This fallback mechanism involves routing replies according to the rules for forwarding requests.
  • For the avoidance of doubt, a “recursive” routing mechanism is considered to be a mechanism that involves forwarding a reply message from a destination node to a source node back along the path that was taken by the request that initiated the reply. Each node in the path may maintain a state for the request, identifying the node from which the request was received.
  • The routers of a typical overlay network may be considered “super-routers”, each super-router maintaining a routing table mapping a set of overlay network addresses to IP addresses and port numbers. In the event that a super-router in the recursive reply forwarding path, or a link to that router, fails, the preceding super-router in the path applies the fallback mechanism by identifying the next hop super-router from its overlay routing table.
  • Failure of a super-router or link may be detected by the lack of an acknowledgement in respect of a forwarded reply message or as a result of some ongoing monitoring function.
  • This technique is applicable in particular to peer-to-peer networks and in particular, though not necessarily, to peer-to-peer SIP networks such as might be used to set up a voice call.
  • It may be advantageous to include within the request and reply messages a transaction identifier that includes a fixed part, e.g. generated by the source, and a variable part that is updated at each super-node upon receipt. In the event that the reply is routed using the recursive mechanism, the variable or hop-by-hop part allows each receiving router to identify the next hop router. However, in the event of a failure as considered above, whereby the reply is routed via an alternative path, the fixed part allows the source to link the reply to the request.
  • In order to avoid a super-router receiving a reply, following failure detection, from dropping the reply, the super-router detecting the failure preferably tunnels the reply to the next-hop super-router by including the reply as a payload within a new request addressed to the source super-router. Upon receipt of the packet at the source, the payload is extracted and matched to the correct transaction.
  • A router embodying the functionality may be implemented as an appropriately programmed computer. For example, the computer may be a mobile phone, smart phone, PDA, laptop computer, or a desktop computer. The computer may alternatively be a network server.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a diagram illustrating a recursive routing model of a known overlay network;
  • FIG. 2 is a diagram illustrating an overlay network constituting an embodiment of the invention;
  • FIG. 3 is a diagram illustrating part of an overlay network node of the network of FIG. 2 constituting an embodiment of the invention;
  • FIG. 4 is a diagram illustrating the structure and/or function of the node of FIG. 3; and
  • FIG. 5 is a diagram illustrating the structure of a request or reply data packet.
  • DETAILED DESCRIPTION
  • R3 minimizes the effects of intermediate node failure on the performance of the overlay network by delegating the responsibility for failure recovery to nodes along the routing path. This can considerably speed up the process of recovering from an intermediate node failure.
  • The R3 mechanism is illustrated in FIG. 2, where the originator of a request message is a source S and the destination is the destination D. In the figure, one intermediate node, I1, becomes unreachable after it has forwarded the request to another intermediate node, I2. As already mentioned, there can be various reasons for unreachability of a node, for example batteries have run out, operating system has crashed, or connectivity has been lost (e.g. due to node mobility). Also, instead of becoming unreachable, node I1 may simply decide to leave the overlay gracefully soon after having forwarded the request, meaning that it is no longer available when the reply should be forwarded. In any of these scenarios, node I2 would benefit from an alternative way to forward the reply (instead of just trying to forward it via the failed node I1). This is the core idea of R3; R3 enables the node I2 to find a different path through the overlay for forwarding the reply if it has noticed that the next hop along the path towards the node S has failed. Any suitable mechanism for detecting connection breakages may be used and examples of suitable known mechanisms include polling, timeouts, and end of stream indications. In FIG. 2, the node I2 uses traditional overlay routing for forwarding the reply. That is, I2 uses the same kind of overlay routing that is used for routing requests: I2 performs a node lookup operation in its local routing table to find the best next hop node on the path towards node S. I2 already has an existing connection to I3 (in other words I3 is on I2's overlay routing table) and it can easily forward the reply to I3. I3 in its turn also applies traditional overlay routing for the reply and before long the reply will reach the source node.
  • The steps in FIG. 2 are as follows:
    • 1. The source node S wishes to send a request to the destination node D. To route the request, the node S searches its local routing table to find the best next hop node (that is, a node whose identifier is closest to the identifier of the destination node D according to a proximity metric used by the DHT). The node S sets the transaction identifier of the request using the mechanism described herein.
    • 2. Each intermediate node along the path towards the destination node D in turn performs a search similar to the one in the step (1) in its local routing table to find the best next-hop node (that is, a node whose identifier is closest to the identifier of the destination node D according to the proximity metric used by the DHT).
    • 3. The node I1, which is the second-last intermediate node to forward the request, also performs the procedure described in the step (2).
    • 4. The node I2, which is the last intermediate node to forward the request, also performs the procedure described in the step (2).
    • 5. Finally, the request reaches the destination node D. The destination node D generates a reply to the request and sends it to the node I2. The details of this procedure are described below.
    • 6. The intermediate node I2 receives the reply. Because the intermediate node I1 is no longer reachable, the node I2 uses the procedure described below to find a new route for the reply. The next hop on this route is a node I3. Instead of sending the reply as it is, the node I2 needs to tunnel the reply through the overlay by placing it in the payload of a new request.
    • 7. The Node I3 uses overlay native (DHT-specific) routing to route the reply to the next intermediate node.
    • 8. Each intermediate node along the path towards the node S uses the DHT-specific routing procedure to find the next hop node.
    • 9. Finally, the reply reaches the node S. The node S can map the reply to the original request by using the procedure described below.
  • As can be seen from FIG. 2, R3 can speed up recovery from intermediate node failure considerably. Without R3, the node S would wait for its transaction timer to fire before resending the request. In the case of P2PSIP, this has the effect of directly increasing the session setup delay. Further, even the retransmitted request might fail if the overlay routing has not yet managed to recover from the failure of the node I1, which would increase the session setup delay even more. However, when using R3, there would be no need to retransmit the request since the reply would with a high probability be able to reach the node S through the alternative path before the transaction timer at the node S fires.
  • Identifying Replies Forwarded Using R3
  • The common mechanism to map replies to requests is to use transaction identifiers. Transaction identifiers are carried in requests and replies. When receiving a reply, a node uses the transaction identifier carried in the reply to map the reply to a previously sent request. Existing overlay networks typically use transaction identifiers in two different ways:
    • 1. Each intermediate node forwards the transaction identifier unmodified. That is, the same transaction identifier is used end-to-end.
    • 2. Each intermediate node generates a new transaction identifier for the request it forwards. That is, the scope of the transaction identifier is a single hop in the overlay.
  • The problem with the first approach is that it is not possible to tell the difference between retransmitted requests and requests that are looping in the network. This is because both types of requests carry the same transaction identifier. However, the benefit of this approach is that it works directly with R3 since, even if the reply follows a different path through the network from the request, replies can still be mapped to the correct request at the node that initiated the request/reply transaction.
  • In the case of the second approach, a request and its associated reply will have different transaction identifiers if the reply follows a different path through the network from the request. This poses a problem for R3; when receiving the reply routed using R3, the node S (i.e. the original sender of the request) would not be able to associate the reply with the request, provided that nodes store soft state. If the first approach is used, then this problem does not exist.
  • R3 solves the problem with the second approach by using two types of transaction identifiers: an end-to-end transaction identifier and a hop-by-hop transaction identifier. The end-to-end transaction identifier is generated by the original sender of the request (the node S in FIG. 2). Each intermediate node forwards the end-to-end transaction identifier unmodified, but generates a new hop-by-hop transaction identifier in the usual manner. The destination node (the node D in FIG. 2) copies the end-to-end transaction identifier to the reply it generates, and each intermediate node forwards the end-to-end transaction identifier in the reply unmodified. If the reply follows a different path through the network from that which the request followed (due to R3 procedures), then the end-to-end transaction identifier allows the node S to associate the reply with the correct request.
  • Introducing another transaction identifier means that a new field would be needed in peer-to-peer protocol messages. However, this can be avoided, since R3 allows one to split the existing transaction identifier field carried in peer-to-peer protocol messages into two parts: a prefix and a suffix. The prefix is generated by the original sender (node S) of the request and it identifies the transaction in an end-to-end manner; each intermediate hop forwards the prefix unmodified and the node D, when generating the reply, copies the prefix into the transaction identifier of the reply. The suffix is used as the hop-by-hop transaction identifier and each intermediate hop can freely modify it before forwarding the message.
  • Tunneling of Replies Forwarded Using R3
  • As already explained, R3 routes replies as if they were requests. In FIG. 2, the node I2 uses R3 to forward a reply to the node I3, which has never seen the request to which the reply is being sent. Because the node I3 has never seen the request, it cannot associate the reply with any existing transaction (the hop-by-hop transaction identifier or the end-to-end transaction identifier, or both, are different), and may thus simply choose to drop the reply. To avoid this problem, R3 allows the intermediate node making the decision to initiate R3 procedures (the node I2 in FIG. 2) to tunnel the reply through the overlay. This means that the reply is carried in the payload of a new request targeted to the node that initiated the transaction to which the reply is related (i.e. the node S in FIG. 2). When the node S receives the request carrying the tunneled reply, it extracts the reply from the payload of the request and uses the end-to-end transaction identifier carried in the reply to map the reply to the correct transaction. This mechanism does not require additional processing at intermediate nodes, since only the target node (the node S) of the request carrying the tunneled reply needs to check the payload. Intermediate nodes only need to forward the request and can ignore the payload.
  • R3 Processing within an Overlay Network Node
  • R3 specific processing taking place within an overlay network node is illustrated in FIG. 3. The processing is described from the viewpoint of the node I2 of FIG. 2
  • The large dark gray coloured box 20 of FIG. 3 represents the node I2. In the bottom right corner, the node I2 has received a reply from the node D (this step corresponds to the step 5 of FIG. 2).
    • 1. As described hereinbefore, traditional reply routing in overlay networks is based either on a soft state stored at each intermediate node or on routing information included in the reply. If routing of replies is based on soft states, then the reply is sent to the IP address and port from which the request was received. If routing is based on routing information carried in the reply, the intermediate node forwarding the reply picks up the next hop entry in the list of intermediate hops included in the reply and sends the reply to the specified IP address and port. In FIG. 3, after having received the reply in the step (1), the node I2 first checks (11) whether it has enough information available to route the reply. Thus, the node I2 either attempts to fetch the soft state stored when the request was received or uses the routing information carried in the reply. If the reply does not contain routing information or if the node I2 fails to find any soft state associated with the reply, it drops the reply (15).
    • 2. Next, the node I2 checks (12) whether the connection it has with the next upstream intermediate node, I1, is still alive. Depending on whether the connection is alive or not, node I2 proceeds to one of the two steps below:
      • a. If the node I2 believes that the connection to the node I1 is still alive, it tries (16) to forward the message on that connection. If the node I1 is still reachable, it returns an acknowledgement to the reply. In this way, the node I2 learns (17) that the reply was received and thus no further processing is needed (18). If, however, no acknowledgement is received, the node I2 assumes that the node I1 has left the overlay network and continues to a step (13).
      • b. If the node I2 has already learned before receiving the reply that the intermediate node I1 has left the network, it continues to the step (13). The node I2 may have learned this through several ways, for example: from a failed keep-alive or other failed periodic maintenance message it attempted to send; from a closed TCP connection (note that this only works for TCP); or the node I1 may simply have informed the node I2 of its departure if it has left the network gracefully.
    • 3. Because the node I2 now knows that the node I1 has become unreachable, it has to find an alternative path for the reply. Therefore, the node I2 uses the identifier of node S (the intended recipient of the reply) to perform (13) a lookup operation in its local routing table. This identifier is carried in the reply, and is a hash value (e.g. a 160-bit Secure Hash Algorithm One (SHA-1) hash). The lookup determines the remote node, in routing table of the node I2, whose identifier is closest to that of the node S. “Closeness” is determined by the DHT-specific proximity metric. In FIG. 3, the remote node closest to node D is the node I3.
    • 4. The node I2 forwards (14) the reply to the node I3. The reply is tunnelled, that is, sent within the payload of a new request as has already been described.
  • The R3 mechanism has a number of advantages over the existing solutions. The main advantages are the following:
      • It has been developed from the beginning for environments where intermediary nodes may be non-robust. Thus, it is well-suited to environments where all or part of the nodes in the overlay are mobile terminals (such as 3G terminals). In such environments, endpoints may wander out of coverage from time to time causing connectivity breakages in the overlay.
      • It is suitable for environments with NAT devices, such as the Internet.
      • The failure recovery is very efficient. R3 minimizes the effects of intermediate node failure on the performance of the overlay network by delegating the responsibility for failure recovery to nodes along the routing path. This can considerably speed up the process of recovering from an intermediate node failure.
      • Since it allows a fast recovery from intermediate node failures, R3 can considerably reduce session establishment delay in P2PSIP networks which such errors occur.
      • R3 can also be used to optimize routing performance even if all the intermediary nodes would be reachable.
      • R3 can be used with most overlay routing technologies and DHT algorithms. Furthermore, the utilization of the R3 mechanism can be easily detected by examining the communication patterns between nodes.
  • FIG. 4 is a structural/functional diagram illustrating any one of the nodes shown in FIG. 2. The node is embodied as a programmed computer comprising a processor 30, a memory 31 and an input/output interface 32 connected at 33 to the rest of the network. The memory 31 comprises a read-only memory containing a program for controlling the operation of the processor 30, together with volatile and non-volatile memory as necessary for the functioning of the processor 30. The interface 32 provides all of the interfacing functions necessary for the processor 30 to communicate with the remainder of the network.
  • The processor 30 is illustrated as comprising a plurality of functional units or “functions” 34 to 37 together with a local routing table 38 including part of the distributed hash table. These units represent functional units within the software controlling the processor 30 and illustrate the functions and data flows within the processor 30.
  • The node shown in FIG. 4 is capable of generating requests, forwarding requests, performing the R3 function and generating replies to requests. When generating a request, the request generating function 34 is used. The function 34 generates the request typically as a data packet, for example having the general structure illustrated in FIG. 5. Each packet comprises header/addressing data illustrated at 40 to allow the packet to be transported by lower-level network functions. The packet also comprises a transaction identifier generated by the function 34 and comprising a fixed portion 41 and a non-fixed portion 42. The packet further comprises a payload 43 in accordance with the nature or function of the request.
  • The fixed portion 41 of the transaction identifier represents end-to-end data specifying, for example, the addresses of the source node which created the request and of the destination node for which the request is destined. The non-fixed portion 42 comprises hop-by-hop address data, for example specifying the node which forwarded the request to the current node.
  • When the request generating function 34 has generated the request, it accesses the local routing table 38 in order to direct the request to an intermediate node whose address is within its local routing table 38 and which is nearest the destination node. As described hereinbefore, the table 38 is associated with or contains a proximity metric to allow the nearest available node to be selected as the intermediate destination for the request.
  • When the node shown in FIG. 4 receives a request for forwarding, the request/reply forwarding function 35 receives the request and forwards it as described hereinbefore. In particular, the fixed part 41 of the transaction identifier and the payload 43 are not changed and need not be processed by the function 35, which forwards these portions of the request. The non-fixed portion 42 of the identifier is updated to represent the latest hop of the request. The function 35 interrogates the local routing table 38 to determine the node nearest the destination node and forwards the request as described hereinbefore.
  • When the node shown in FIG. 4 is the destination node, it determines that it is the destination for the request, for example by examining the fixed portion 41 of the transaction identifier. The reply generating function 37 is then performed and generates a reply destined for the source node. The reply has the same structure as the request as illustrated in FIG. 5 and contains the appropriate fixed and non-fixed portions of the transaction identifier and a payload 43 as appropriate. The function 37 determines the node which last forwarded the request to the destination node and sends the reply back to the “previous node”.
  • When the node shown in FIG. 4 is acting as an intermediate node returning the reply recursively towards the source node, the function 35 receives the reply and checks whether the preceding node in the recursive chain is still available in the sense that it is still accessible. If the preceding node is accessible, then the function 35 forwards the reply to the preceding node after updating the non-fixed part 42 of the transaction identifier as appropriate.
  • When the preceding node is no longer available, the R3 function 36 is performed. As described hereinbefore, the function 36 determines an alternative node towards the source node which is accessible. The non-fixed portion 42 of the transaction identifier is updated appropriately. However, instead of returning the reply as a reply, the function 36 reformulates it as a request by placing the reply data in the payload 43 so that the nodes which subsequently receive the reply forward it and do not drop it.

Claims (25)

1. An overlay network node comprising:
first means for forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and
second means for forwarding a reply to the request, the reply originating in the destination node and destined for the source node;
wherein the second means is arranged to forward the response towards the source node via the preceding node it is available and via another node of the overlay network, different from the preceding node, if the preceding node is unavailable.
2. The node as claimed in claim 1, in which the second means is arranged to convert the reply into a further request destined for the source node.
3. The node as claimed in claim 2, in which the second means is arranged to convert the reply into a payload of the further request.
4. The node as claimed in claim 1, comprising an overlay routing table, the second means being arranged to select the other node from the overlay routing table.
5. The node as claimed in claim 4, in which the second means is arranged to select the other node as nearest the source node according to a proximity metric of the overlay routing table.
6. The node as claimed in claim 1, in which the source node is arranged to provide a transaction identifier in the request and each of the first and second means is arranged not to change at least part of the transaction identifier representing the end-to-end path of the request and the reply.
7. The node as claimed in claim 6, in which each of the first and second means is arranged to update a non-fixed part of the transaction identifier in accordance with a local part of a node path of the request and reply through the overlay network.
8. The node as claimed in claim 7, in which the second means is arranged to identify the preceding node from the non-fixed part of the transaction identifier.
9. The node as claimed in claim 1, in which the first means is arranged to store a representation of the identifier of the preceding node and the second means is arranged to identify the preceding node from the stored representation.
10. The node as claimed in claim 1, comprising a router of the overlay network.
11. The node as claimed in claim 1, comprising a network server.
12. The overlay network node of claim 1, wherein said overlay network node is part of an overlay network.
13. The overlay network as claimed in claim 12, comprising a peer-to-peer network.
14. The overlay network as claimed in claim 13, comprising a peer-to-peer session initiation protocol network.
15. A method of routing a reply in an overlay network comprising, in a node of the overlay network:
forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and
forwarding a reply to the request, the reply originating in the destination node and destined for the source node, towards the source node via the preceding node if it is available or via another node of the overlay network, different from the preceding node, if the preceding node is unavailable.
16. The method as claimed in claim 15, in which the second means converts the reply into a further request destined for the source node.
17. The method as claimed in claim 16, in which the second means converts the reply into a payload of the further request.
18. The method as claimed in claim 15, in which the second means selects the other node from an overlay routing table.
19. The method as claimed in claim 18, in which the second means selects the other node as nearest the source node according to a proximity metric of the overlay routing table.
20. The method as claimed in claim 15, in which the source node provides a transaction identifier in the request and each of the first and second means does not change at least part of the transaction identifier representing the end-to-end path of the request and the reply.
21. The method as claimed in claim 20, in which each of the first and second means updates a non-fixed part of the transaction identifier in accordance with a local part of a node path of the request and reply through the overlay network.
22. The method as claimed in claim 21, in which the second means identifies the preceding node from the non-fixed part of the transaction identifier.
23. The method as claimed in claim 15, in which the first means stores a representation of the identifier of the preceding node and the second means identifies the preceding node from the stored representation.
24. A computer readable medium having stored thereon a plurality of instructions including instructions which, when executed by a processor, cause the processor to perform steps of a method of routing a reply in an overlay network comprising, in a node of the overlay network, comprising:
forwarding, from a preceding node of the overlay network, a request originating in a source node of the overlay network and destined for a destination node of the overlay network; and
forwarding a reply to the request, the reply originating in the destination node and destined for the source node, towards the source node via the preceding node if it is available or via another node of the overlay network, different from the preceding node, if the preceding node is unavailable.
25. (canceled)
US12/867,749 2008-02-13 2009-01-14 Overlay network node and overlay networks Active 2029-09-12 US8817595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/867,749 US8817595B2 (en) 2008-02-13 2009-01-14 Overlay network node and overlay networks

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US2833108P 2008-02-13 2008-02-13
US12/867,749 US8817595B2 (en) 2008-02-13 2009-01-14 Overlay network node and overlay networks
PCT/EP2009/050351 WO2009100961A1 (en) 2008-02-13 2009-01-14 Overlay network node and overlay networks

Publications (2)

Publication Number Publication Date
US20100329268A1 true US20100329268A1 (en) 2010-12-30
US8817595B2 US8817595B2 (en) 2014-08-26

Family

ID=40494922

Family Applications (1)

Application Number Title Priority Date Filing Date
US12/867,749 Active 2029-09-12 US8817595B2 (en) 2008-02-13 2009-01-14 Overlay network node and overlay networks

Country Status (3)

Country Link
US (1) US8817595B2 (en)
EP (1) EP2255518A1 (en)
WO (1) WO2009100961A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146053A1 (en) * 2007-10-29 2010-06-10 Huawei Technologies Co., Ltd. Method, apparatus and system for answering requests on peer-to-peer overlay network
US20120158756A1 (en) * 2010-12-20 2012-06-21 Jimenez Jaime Searching in Peer to Peer Networks
US20150074168A1 (en) * 2013-06-19 2015-03-12 Hitachi Data Systems Engineering UK Limited Decentralized distributed computing system
US9021296B1 (en) 2013-10-18 2015-04-28 Hitachi Data Systems Engineering UK Limited Independent data integrity and redundancy recovery in a storage system
KR101814411B1 (en) 2013-09-27 2018-01-04 인텔 코포레이션 Device capability addressable network
US10084851B1 (en) * 2010-03-31 2018-09-25 Amazon Technologies, Inc. Managing use of intermediate destination hardware devices for provided computer networks

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100046419A1 (en) * 2007-04-12 2010-02-25 Panasonic Corporation Overlay Network Node, Mobile Node, and Mobile Router
WO2013186061A1 (en) * 2012-06-15 2013-12-19 Alcatel Lucent Architecture of privacy protection system for recommendation services

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174207A1 (en) * 2001-02-28 2002-11-21 Abdella Battou Self-healing hierarchical network management system, and methods and apparatus therefor
US20030126287A1 (en) * 2002-01-02 2003-07-03 Cisco Technology, Inc. Implicit shared bandwidth protection for fast reroute
US20030233595A1 (en) * 2002-06-12 2003-12-18 Cisco Technology, Inc. Distinguishing between link and node failure to facilitate fast reroute
US20040022194A1 (en) * 1999-06-18 2004-02-05 Digital Island, Inc. On-demand overlay routing for computer-based communication networks
US20040095946A1 (en) * 2002-11-18 2004-05-20 Baker Albert D. Logical star topologies for non-star networks
US20070104115A1 (en) * 2005-11-10 2007-05-10 Dan Decasper Overlay network infrastructure
US20070112975A1 (en) * 2002-10-02 2007-05-17 Christian Cassar Redirecting network traffic through a multipoint tunnel overlay network using distinct network address spaces for the overlay and transport networks
US20080181135A1 (en) * 2007-01-31 2008-07-31 Praveen Yalagandula Distributed network distance detemination using a distributed hash table overlay network
US20080225780A1 (en) * 2007-03-13 2008-09-18 Nortel Networks Limited Use of distributed hashtables for wireless access mobility management
US20090232030A1 (en) * 2004-12-01 2009-09-17 Nec Corporation Overlay link calculation device, calculation method and program thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6611872B1 (en) * 1999-01-11 2003-08-26 Fastforward Networks, Inc. Performing multicast communication in computer networks by using overlay routing
ES2288461T3 (en) * 2000-06-15 2008-01-16 Telefonaktiebolaget Lm Ericsson (Publ) METHOD AND PROVISION FOR HANDLING INFORMATION PACKAGES VIA RELAY NODES SELECTABLE BY THE USER.
US7355975B2 (en) * 2004-04-30 2008-04-08 International Business Machines Corporation Method and apparatus for group communication with end-to-end reliability
US7468952B2 (en) 2005-11-29 2008-12-23 Sony Computer Entertainment Inc. Broadcast messaging in peer to peer overlay network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040022194A1 (en) * 1999-06-18 2004-02-05 Digital Island, Inc. On-demand overlay routing for computer-based communication networks
US20020174207A1 (en) * 2001-02-28 2002-11-21 Abdella Battou Self-healing hierarchical network management system, and methods and apparatus therefor
US20030126287A1 (en) * 2002-01-02 2003-07-03 Cisco Technology, Inc. Implicit shared bandwidth protection for fast reroute
US20030233595A1 (en) * 2002-06-12 2003-12-18 Cisco Technology, Inc. Distinguishing between link and node failure to facilitate fast reroute
US20070112975A1 (en) * 2002-10-02 2007-05-17 Christian Cassar Redirecting network traffic through a multipoint tunnel overlay network using distinct network address spaces for the overlay and transport networks
US20040095946A1 (en) * 2002-11-18 2004-05-20 Baker Albert D. Logical star topologies for non-star networks
US20090232030A1 (en) * 2004-12-01 2009-09-17 Nec Corporation Overlay link calculation device, calculation method and program thereof
US20070104115A1 (en) * 2005-11-10 2007-05-10 Dan Decasper Overlay network infrastructure
US20080181135A1 (en) * 2007-01-31 2008-07-31 Praveen Yalagandula Distributed network distance detemination using a distributed hash table overlay network
US20080225780A1 (en) * 2007-03-13 2008-09-18 Nortel Networks Limited Use of distributed hashtables for wireless access mobility management

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146053A1 (en) * 2007-10-29 2010-06-10 Huawei Technologies Co., Ltd. Method, apparatus and system for answering requests on peer-to-peer overlay network
US10084851B1 (en) * 2010-03-31 2018-09-25 Amazon Technologies, Inc. Managing use of intermediate destination hardware devices for provided computer networks
US20120158756A1 (en) * 2010-12-20 2012-06-21 Jimenez Jaime Searching in Peer to Peer Networks
US9110719B2 (en) * 2013-06-19 2015-08-18 Hitachi Data Systems Engineering UK Limited Decentralized distributed computing system
US9069784B2 (en) 2013-06-19 2015-06-30 Hitachi Data Systems Engineering UK Limited Configuring a virtual machine
US20150088882A1 (en) * 2013-06-19 2015-03-26 Hitachi Data Systems Engineering UK Limited Locating file data from a mapping file
US9304821B2 (en) * 2013-06-19 2016-04-05 Hitachi Data Systems Engineering UK Limited Locating file data from a mapping file
CN105531675A (en) * 2013-06-19 2016-04-27 日立数据系统工程英国有限公司 Decentralized distributed computing system
US20150074168A1 (en) * 2013-06-19 2015-03-12 Hitachi Data Systems Engineering UK Limited Decentralized distributed computing system
KR101814411B1 (en) 2013-09-27 2018-01-04 인텔 코포레이션 Device capability addressable network
US9021296B1 (en) 2013-10-18 2015-04-28 Hitachi Data Systems Engineering UK Limited Independent data integrity and redundancy recovery in a storage system
US9235581B2 (en) 2013-10-18 2016-01-12 Hitachi Data Systems Engineering UK Limited Data configuration and migration in a cluster system
US9430484B2 (en) 2013-10-18 2016-08-30 Hitachi, Ltd. Data redundancy in a cluster system

Also Published As

Publication number Publication date
EP2255518A1 (en) 2010-12-01
WO2009100961A1 (en) 2009-08-20
US8817595B2 (en) 2014-08-26

Similar Documents

Publication Publication Date Title
US8817595B2 (en) Overlay network node and overlay networks
US7978631B1 (en) Method and apparatus for encoding and mapping of virtual addresses for clusters
EP2164207B1 (en) Message routing method, system and node equipment
JP4902635B2 (en) Connection forwarding
US8750097B2 (en) Maintenance of overlay networks
US8027342B2 (en) Method and apparatus for establishing peer-to-peer communications
US8526331B2 (en) Maintaining distributed hash tables in an overlay network
US20070230468A1 (en) Method to support mobile devices in a peer-to-peer network
US8984075B2 (en) Method and system for broadcasting multimedia message
CN101040487A (en) Automatic route tagging of bgp next-hop routes in igp
US20120110057A1 (en) Method and node for locating objects in a peer-to-peer network
JP4607764B2 (en) Mobile peer-to-peer network construction
EP1440529A1 (en) System and method for information object routing in computer networks
Pant et al. DTN overlay on OLSR network
Banerjee et al. The survey, research challenges, and opportunities in ICN
Kunzmann Recursive or iterative routing? Hybrid!
Schwerdel et al. Chordnet: protocol specification and analysis
JP5287500B2 (en) Node device and program for node device
Yu et al. BGKR: A novel P2P network based on generalized Kautz and ring with constant congestion
Grishchenko et al. On the design of a practical information-centric transport
Shen et al. A NAT-ed peer organization model in Kademlia protocol
Mo et al. Real-time Multimedia Services Using Hybrid P2P SIP
You et al. The framework for mobility and multihoming Using Overlay Network
Denney et al. Swarm: a multimedia delivery network for highly dynamic networking environments
Houngue A MIDDLEWARE-INDEPENDENT AND SECURE PEER-TO-PEER SIP ARCHITECTURE (MISE-P2PSIP)

Legal Events

Date Code Title Description
AS Assignment

Owner name: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL), SWEDEN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HAUTAKORPI, JANI;MAENPAA, JOUNI;MERILAINEN, MARKUS;SIGNING DATES FROM 20090115 TO 20090206;REEL/FRAME:025106/0478

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551)

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8