WO2002023833A2 - A reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network - Google Patents

A reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network Download PDF

Info

Publication number
WO2002023833A2
WO2002023833A2 PCT/US2001/028466 US0128466W WO0223833A2 WO 2002023833 A2 WO2002023833 A2 WO 2002023833A2 US 0128466 W US0128466 W US 0128466W WO 0223833 A2 WO0223833 A2 WO 0223833A2
Authority
WO
WIPO (PCT)
Prior art keywords
node
neighbor
message
link
src
Prior art date
Application number
PCT/US2001/028466
Other languages
French (fr)
Other versions
WO2002023833A3 (en
Inventor
Richard G. Ogier
Original Assignee
Sri International
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 Sri International filed Critical Sri International
Priority to AU2001292622A priority Critical patent/AU2001292622A1/en
Publication of WO2002023833A2 publication Critical patent/WO2002023833A2/en
Publication of WO2002023833A3 publication Critical patent/WO2002023833A3/en

Links

Classifications

    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1614Details of the supervisory signal using bitmaps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/1887Scheduling and prioritising arrangements
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/30Connectivity information management, e.g. connectivity discovery or connectivity update for proactive routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]

Definitions

  • Each transmitted neighbor discovery message includes a list of neighbor nodes that are identified as being in a heard state and a ' list of neighboring nodes that are identified as being in a lost state.
  • Each transmitted neighbor discovery message can also include a list of neighboring nodes that are identified as being in a symmetric state.
  • Fig. 2 is a block diagram of a portion of an embodiment of protocol stack that can be implemented by each of the routing nodes in each subnet to communicate in accordance with the principles of the invention
  • node i forwards this link-state information to node i's neighbor nodes. Consequently, the nodes 18 in the same partition as node i receives updates for the links in the other partition at the same time that the nodes 18 receive the update for the link recovery. Thus, the link-state information for those links in the other partition is not outdated temporarily.
  • a node i that is turned off (or goes to sleep) operates as if the links to all neighbors have gone down. Thus, the node i remembers the link-state information that it had when turned off.
  • one option is to use broadcast transmission if k > (n+l)/2 and unicast transmission in all other cases.
  • a rule of the form k > g(n) can be used.
  • the number of children k may be different for different update sources. Therefore, it is possible to use unicast transmissions for some sources and broadcast transmissions for other sources, and the transmission mode for a given source u, denoted mode_i(u), can change dynamically between unicast and broadcast as the number of children changes.
  • node i Upon receiving an update message, consisting of one or more updates (u, v, c), node i executes the procedure Update(), which calls the procedure Update_Topology_Table(), then executes the procedure Lex_Dijkstra() to compute the new source tree Ti and the procedure Generate_Updates() to generate updates, and modify the set of reported links Ri based on changes in link costs and changes to the source tree Ti. Each generated update is then sent to the appropriate children, that is, updates for links with head u are sent to children__i(u).
  • the procedure Update_Parents() is called, which determines any changes in the parent assignment and sends NEW PARENT and CANCEL PARENT messages.
  • the procedure Generate_Updates() decides what updates to include in the message to be sent to neighbor nodes.
  • a non-delete update is included for any link (u, v) that is in the new source tree Ti and either is marked as changed or was not in the previous source tree (denoted old source tree Ti).
  • Ti(u, v).c' is set to Ti(u, v).c, and (u,v) is added to the reported link set Ri if not already in the reported link set Ri.
  • a delete update is included for any link (u, v) that is in the reported link set Ri but is not in the source tree Ti, such that TT_i(u, v).c>TT_i(u,v).c'.
  • RETRANSMISSION_OF_BROADCAST and END_OF_BROADCAST are sent as UNICAST.
  • TBRPF Atomic Message Body Format The format of the atomic message body 164 depends on the value in the type field 166 in the corresponding message header 162. The following are exemplary formats for an atomic message body 164.
  • the source node identity field 224 holds a value (e.g., 32-bits) for the IPv4 address of the corresponding source node.
  • the number of neighbor nodes field 226 holds a value (e.g., 16 bits) representing the number of neighbor nodes of the corresponding source node.
  • the sequence number field 228 holds a value (e.g., l ⁇ ibits) representing a sequence number for the associated with the source and neighbor nodes.
  • the neighbor-node identity field 232 holds the IPv4 address of a neighbor node of the source node.
  • the link metrics field 234 holds a value (e.g., 32 bits) representing the link metrics associated * w h fjje, neighbor node of the corresponding source node.
  • node i sends (step 256) a NEIGHBOR ACK to node j using the data link unicast address of node j.
  • the NEIGHBOR ACK message contains the identity of node i.
  • the NEIGHBOR and NEIGHBOR ACK messages also contain the current link-level sequence number for the broadcast channel (discussed below).
  • a link from node i to node j is established by node i receiving a NEIGHBOR packet from node j, and a link from node j to node i is established by node j receiving a NEIGHBOR ACK packet from node i.
  • Two or more nodes in the subnet 10 are using the same IP address.
  • the data link header for each message is not shown, since it is specific to the underlying data link layer.
  • the eight-bit "Type" field 262 indicates the type of message. For example, each message can be identified by the following examples of values in the Type field 262:
  • HELLO message is complete, whether the receiving node A appears in a list within the received
  • IPv6-IPv4 compatibility addresses for the link-local and site-local (i.e., within the subnet 10) variants, respectively, of are: FE80::0200:5EFE:140.173.189.8
  • Data is placed on the message queue by the client 12, and is removed from the message queue by the server 40 or, more specifically, communications software associated with server 40. Data is removed from the message queue after it has been successfully received by the server 40.
  • the client 12 When the client 12 creates data (e.g., objects), the client 12 typically associates that data with a unique identifier that is used by the client 12 and the server 40 to identify that data.
  • a unique identifier is a timestamp.
  • the associated timestamp is updated each time the data are updated or modified by the client 12.
  • a timestamp essentially prevents data conflicts from arising when more than one client attempts to modify that data at a given time. Specifically, timestamps are monotonically increasing such that substantially no data conflicts between unique identifiers can arise.
  • the internetworking system 2 may run diagnostics to determine the cause ofthe interruption. After the cause is determined, the system 2 makes corrections that restore communications. Depending upon current system parameters, such adaptive corrections include, but are not limited to attempting (1) to reestablish the same interrupted connection between the client 12 and the server 40, (2) to establish a connection between the client 12 to a redundant server, or (3) to establish a new connection between the client 12 with the server 40. Other techniques used alone or in combination with the aforementioned corrections include varying and/or increasing the waiting period between unsuccessful attempts to establish a connection the client 12 and the server 40 and adjusting the length ; qf transmitted packets. Such techniques can be used in response to current bandwidth conditions in the subnet 10.
  • the overall performance ofthe subnet 10 may degrade to a point where the overall performance ofthe subnet 10 is unacceptable. That is, attempting to initiate a connection that in fact has not been lost may preclude other connections from being made, thereby preventing the transmission of data which would be made across those connections.

Abstract

A protocol for discovering a new neighbor node and detecting the loss of an existing neighbor node in a network is described. A node receives a neighbor discovery message from a neighbor node. The node receiving the neighbor discovery message periodically transmits a predetermined number of neighbor discovery messages in response to the received neighbor discovery message. Each neighbor discovery message includes an identity of the neighbor node. After transmitting the predetermined number of neighbor discovery messages, the node transmits neighbor discovery messages that omit the identity of the neighbor node until another neighbor discovery message is received from the neighbor node that indicates a change in a communications state associated with the neighbor node.

Description

A REDUCED-OVERHEAD PROTOCOL FOR DISCOVERING NEW NEIGHBOR NODES AND DETECTING THE LOSS OF EXISTING NEIGHBOR NODES IN A
NETWORK
Related Application
This application claims the benefit of the filing date of co-pending U.S. Provisional
Application, Serial No. 60/232,046, filed September 12, 2000, entitled "Reduced Overhead Hello Protocol," the entirety of which provisional application is incorporated by reference herein.
Government Support
This invention was funded with government support under Contract No. DAAB07-96-D- H002, awarded by the U.S. Army Communications and Electronics Command. The United States government has certain rights to this invention.
Background
In mobile wireless networks and in the Internet, each router must keep informed of the neighboring routers with which it can establish bi-directional communications using a neighbor discovery protocol. Many existing neighbor discovery protocols have excessive commumcation overhead, and thus consume excessive bandwidth in networks with limited bandwidth. There remains, therefore, a need for an improved neighbor discovery protocol that can efficiently establish bi-directional links between communications entities.
Summary of the Invention One objective of the invention is to provide a protocol that enables nodes in a mobile ad hoc network or in an internet to quickly detect neighboring nodes with which the nodes have a direct and symmetric link (i.e., the nodes at both ends of the link can hear each other). Another objective is for the protocol to operate under conditions typically adverse to reliable communications, such as asymmetric (unidirectional) links between any two nodes in the network at any time, frequent changes in the state of the links because of the mobility of nodes and interference caused, for example, by intervening obstacles, and unsuccessfully transmitted packets because of noise in the communication channel. Still another objective is for the protocol to be responsive to network topology changes.
In one aspect, the invention features a method for discovering a neighbor node in a network of nodes. A neighbor discovery message is received from a neighbor node. A predetermined number of neighbor discovery messages are periodically transmitted in response to the received neighbor discovery message. Each neighbor discovery message includes an identity of the neighbor node. After transmitting the predetermined number of neighbor discovery messages, neighbor discovery, messages; that omit the identity of the neighbor node are transmitted until another neighbor discovery message is received from the neighbor node that indicates a change in a communications ,state associated with the neighbor node.
If a neighbor discovery message is not received from the neighbor node within a predetermined time period, that neighbor node is determined to be in a lost state. The predetermined time period has a duration that approximately equals the duration of a time interval between subsequent transmissions of neighbor discovery messages multiplied by the predetermined number. ,
When a neighbor discovery message is received from the neighbor node by a particular node, the neighbor node is identified as being in a symmetric state if the received neighbor discovery message includes an identity of the particular node in a list of neighbor nodes identified by the neighbor node as being in a heard state. In response to identifying the neighbor node as being in the symmetric state, the identity of the neighbor node can be omitted from a subsequently transmitted neighbor discqvery message. In another embodiment, the particular node includes the identity of the neighbor node in subsequently transmitted neighbor discovery message so that other nodes can know which nodes have established a symmetric link with the particular node.
Each transmitted neighbor discovery message includes a list of neighbor nodes that are identified as being in a heard state and a'list of neighboring nodes that are identified as being in a lost state. Each transmitted neighbor discovery message can also include a list of neighboring nodes that are identified as being in a symmetric state.
In another aspect, the invention features a network that comprises a node. The node (i) receives from a neighbor node a neighbor discovery message, (ii) periodically transmits a predetermined number of neighbor discovery messages that each include an identity of the neighbor node in response to the received neighbor discovery message, and (iii) after transmitting the predetermined number of neighbor discovery messages, transmits neighbor discovery messages that omit the identity of the neighbor node until another neighbor discovery message is received from the neighbor node that indicates a change in a communications state associated with the neighbor node.
Brief Description of the Drawings
The invention is pointed out with particularity in the appended claims. The objectives advantages of the invention described above, as well as further objectives and advantages of the invention, may be better understood by reference to the following description taken in conjunction with the accompanying drawings, in which:
Fig. 1 is a block diagram of an embodiment of a mobile internetworking system including a plurality of subnets in communication with the Internet;
Fig. 2 is a block diagram of a portion of an embodiment of protocol stack that can be implemented by each of the routing nodes in each subnet to communicate in accordance with the principles of the invention;
Fig. 3 is a flow diagram illustrating an embodiment of a process by which each routing node selects a parent neighbor node and children neighbor node(s) for each potential source node in the subnet to define a minimum-hop-path tree for each potential source node along which routing nodes receive and forward link-state updates originating from that source node; Fig. 4 is a diagram illustrating an embodiment of an exemplary minimum-hop-path tree for the nodes in the subnet of Fig. 1;
Fig. 5 is a block diagram illustrating the operation of a partial topology version of the TBRPF protocol;
Fig. 6 is a diagram of an embodiment of a format of a message header for an atomic TBRPF protocol message;
Fig. 7 is a diagram of an embodiment of a format of a compound TBRPF message;
Figs. 8 A and 8B are diagrams of embodiments of a format of a NEW PARENT protocol message;
Fig. 9 is a diagram of an embodiment of a format for a CANCEL PARENT message; Figs. 10A and 10B are diagrams'of embodiments of exemplary formats for link-state update messages;
Fig. 11 is a diagram of an embodiment of an exemplary format of a
RETRANSMISSION_OF_BROADCAST message; Fig. 12 is a flow diagram of an embodiment of a process performed by the nodes of the subnet to achieve neighbor discovery;
Fig. 13 is a diagram of a packet format for the protocol messages used for neighbor discovery;
Figs. 14 are a flow diagram of another embodiment of a process for performing neighbor discovery;
Fig. 15A is a diagram of a format for an IPv6 address including a prefix and an interface identifier;
Fig. 15B is a diagram of an embodiment of the interface identifier including a 24-bit company identifier concatenated with a 40-bit extension identifier; Fig. 15C is a diagram of an embodiment of the interface identifier including a 24-bit company identifier concatenated with the 40-bit extension identifier;
Fig. 15D is a diagram of an IP v6-IPv4 compatibility address;
Fig. 15E is a diagram of an embodiment of a message format for tunneling an IPv6-IPv4 compatibility address through IPv4 infrastructure; Fig. 16 is a flow diagram of an embodiment of a process by which a router tests an IPv6-
IPv4 compatibility address;
Fig. 17 is a flow diagram of an embodiment of a process by which a mobile node and a server exchange messages;
Figs. 18A and 18B are diagrams illustrating an example of the operation of a message queue. Description of the Invention
Fig. 1 shows an embodiment of an internetworldng system 2 including communication sub-networks ("subnets") 10, 20 that are components of a worldwide network of networks 30
(i.e., the "Internet"). The Internet 30 includes communications entities, (e.g., hosts and routers), that exchange messages according to an Internet Protocol (IP) such as IPv4 (version 4) and IPv6
(version 6). On the Internet 30, entities implementing IPv6 may coexist with IPv4 entities. In general, the IPv4 and IPv6 versions are incompatible. The incompatibility is due, in part, to the difference in addressing format: the IPv4 specifies a 32-bit address format, whereas the IPv6 specifies a 128-bit address format. , A server 40 is connected to the Internet 30 by a wire-line or wireless connection. The server 40 can be internal or external to the subnet; J.,0, ,For purposes such as hosting application programs, delivering information or Web pages, hosting databases, handling electronic mail ("e- mail"), or controlling access to other portions of the Internet 30, the server 40 is a computer system that typically handles multiple comiections to other entities (e.g., client systems) simultaneously. Although represented as a single server 40, other embodiments can have a group of interconnected servers. The data on the server 40 are replicated on one or more of these interconnected servers to provide redundancy in the event that a connection to the server 40 cannot be established.
Each subnet 10, 20 includes one or more networks that can include both local area network (LAN) and wide area network (WAN) components. Each subnet 10, 20 may be a freely accessible component of the public Internet 30, or a private Intranet. The subnet 10 includes IP hosts 12, routers 14, and a gateway 16 (collectively referred to as nodes 18). As used hereafter, a router 14 is any node 18 that forwards IP packets not explicitly addressed to itself, and an IP host 12 is any node 18 that is not a router 14. Examples of devices that can participate as a node 18 in the subnet 10 include laptop computers, desktop computers, wireless telephones, and personal digital assistants (PDAs), network computers, television sets with a service such as Web TV, client computer systems, server computer systems. The gateway 16 is a particular type of routing node 14 that connects the subnet 10 to the Internet 30. The subnet 20 is similarly configured with nodes 18' (i.e., hosts 12', routers 14', and gateways 16'). The subnet 10 can be associated with one organization or administrative domain, such as an Internet service provider (ISP), which associates each node 18 with an assigned IPv6 or IPv4 network address. Each IPv6 address is globally unique, whereas each IPv4 address is locally unique at least within the subnet 10, and may be globally unique. Presumably, the assigned IP address has some topological relevance fo the "home" subnet 10 of the node 18 so that the nodes 18 of the subnet 10 can be collectively identified by a common address prefix for routing purposes (called address aggregation). In one embodiment, the gateway 16 is a dual-stack node; that is, the gateway 16 has two IP addresses, an IPv6 address and an IPv4 address, and can route packets to IPv4 and IPv6 nodes.
Although it is conceivable that all nodes 18 in subnet 10 are initially assigned network addresses that follow a common address convention aβd have a common network prefix, dynamic topology changes may result in nodes 18 leaving their home subnet 10 to join a "foreign" subnet (e.g., subnet 20) and new nodes joining the home subnet 10. Because the nodes 18 maintain the same IP address irrespective of whether the node 18 changes its location within the subnet 10 or moves to the foreign subnet 20, mobility may result in a heterogeneous conglomerate of IPv6 and IPv4 addresses, having various network prefixes, within the single subnet 10 unless some form of dynamic address assignment or other address-renumbering scheme is used. Further, the gradual transition from the use of IPv4 network addresses to IPv6 network addresses within the subnet 10 increases, jtjie likelihood of such a heterogeneous conglomeration. Thus, like the Internet 30, the infrastructure of the subnet 10 can become heterogeneous; some nodes 18 can be IPv4 nodes, while others are IPv6 nodes. In the subnet 10, each node 18 can establish connectivity with one or more other nodes
18 through broadcast or point-to-point links. In general, each link is a communication facility or medium over which nodes 18 can communicate at'fhe link layer (i.e., the protocol layer immediately below the Internet Protocol layer.) Such communication links can be wire-line (e.g., telephone lines) or wireless; thus, nodes 18 are referred to as wireless or wire-line depending upon the type of commumcation link that the node 18 has to the subnet 10. Examples of wireless communication links are microwave links, radio frequency (RF) links, infrared (IR) links, and satellite links. Protocols for establishing link layer links include Ethernet, PPP (Point- to-Point Protocol) links, X.25, Frame Relay, or ATM (asynchronous transfer mode). Each wireless node 18, e.g., IP host A 12, has'a range 22 of communication within which that node 18 can establish a connection to the subnet 10., When bpypnd the range 22 of communication, the IP host A 12 cannot communicate with the server 40 on the Internet 30 or with other nodes 18 in the subnet 10.
Each broadcast link connecting multiple nodes 18 is mapped into multiple point-to-point bi-directional links. For example, a pair of nodes 18 is considered to have established a bidirectional link 18, if each node 18 can reliably receive messages from the other. For example, IP host A 12 and node B 14 have established a bi-directional link 24 if and only if IP host A 12 can receive messages sent from node B 14 and node B 14 can receive messages sent from IP host A 12 at a given instant in time. Nodes 18 that havef; established a bi-directional link are considered to be adjacent (i.e., neighboring nodes). Such a bi-directional link 24 between the two nodes A and B is represented by a pair of unidirectional links (A, B) and (B, A). Each link has at least one positive cost (or metric) that can vary in time, and for any given cost, such cost for the link (A, B) may be different from that for the link (B, A). Any technique for assigning costs to links can be used to practice the invention. For example, the cost of a link can be one, for minimum-hop routing, or the link delay plus a constant bias. In one embodiment, the subnet 1;0 is a mobile "ad hoc" network ("MANET") in that the topology of the subnet 10 and the state of the links (i.e., link state) between the nodes 18 in the subnet 10 can change frequently because several of the nodes 18 are mobile. That is, each mobile node 18 may move from one location to another location within the same subnet 10 or to another subnet 20, dynamically brealdng existing links and establishing new links with other nodes 18, 18' as a result. Such movement by one node 18 does not necessarily result in breaking a link, but may diminish the quality of the communications with another node 18 over that link. In this case, a cost of that link has increased. Movement that breaks a link may interrupt any ongoing communications with other nodes' 18 in the subnet 10 or in the foreign subnet 20, or with servers (e.g., server 40) connected to the Internet 30. In another embodiment, the position of every node 18 in the subnet 10 is fixed (i.e., a static network configuration in which no link state changes occur due to node mobility). As the principles of the invention apply to both static and dynamic network configurations, a reference to the subnet 10 contemplates both types of network environments. The following example illustrates the .operation, of the subnet 10. Consider, for example, that node A is communicating with the server 40 over a route through subnet 10 that includes the link (A, B) to node B 14, when node A 12 moves from its present location. This movement breaks the commumcation link with node B 14 and, as a result, interrupts communications with the server 40. The relocation of node A 12 may break a link with one or more other nodes 18 as well. As one example, the movement by node A 12 may temporarily take node A 12 out of communication range with node B 14, and upon returning within range, node A 12 can reestablish the broken link 24 with node B 14. In this example, the link 24 is intermittent. As another example, node A 12 may move to a different .location within the subnet 10 altogether and reestablish a bi-directional link 26 with a different node, (e.g., here node H). In yet another example, node A 12 may move to the foreign subnet 20 and establish a bi-directional link 28 with a node 14' in the subnet 20 (e.g., node M 14').
Each router 14 in the subnet 10 is responsible' for detecting, updating, and reporting changes in cost and up-or-down status of each outgoing communication link to neighbor nodes. Thus, each router 14 in the subnet 10 runs a linlc-state-routing protocol for disseminating subnet topology and link-state information to the other routers 14 in the subnet 10. Each router 14 also executes a neighbor discovery protocol for detecting the arrival of new neighbor nodes and the loss of existing neighbor nodes. To achieve discovery, IP hosts 12 connected to the subnet 10 also run the neighbor discovery protocol. IP hosts 12 can also operate as routers by running the link-state-routing protocol (in the description, such routing IP hosts are categorically referred to as routers 14). The linlc-state-routing protocol, referred to as a topology broadcast based on reverse-path forwarding (TBRPF) protocol, seeks fo substantially minimize the amount of update and control traffic required to maintain shortest (or nearly shortest) paths to all destinations in the subnet 10. i In brief, the TBRPF protocol performed by each of the routers 14 in the subnet 10 operates to inform a subset of the neighboring routers 14 in the subnet 10 of the current network topology and corresponding link-state information. Thus, for the examples above, each router 14 in the subnet 10 that detects a change in a link to node A 12, (e.g., node B 14 in the cost of the link (B, A)), operates as the source (i.e.,ssource
Figure imgf000011_0001
Each source node sends a message to a neighbor of that source node, informing the neighbor of the update to that link. Each router 14 receiving the update may subsequently forward the update to zero or more neighbor nodes, until the change in the topology of the subnet 10 disseminates to the appropriate routers 14 in the subnet 10.
To transmit update messages, the TBRPF protocol supports unicast transmissions (e.g., point-to-point or receiver directed), in which a packet reaches only a single neighbor, and broadcast transmissions, in which a single packet is transmitted simultaneously to all neighbor nodes. In particular, the TBRPF protocol allows an update to be sent either on a common broadcast channel or on one or more unicast channels, depending on the number of neighbors that need to receive the update. ; Upon recovering the same link to node B 14, or upon reestablishing a new link to another node 18 in the same subnet 10 or in the foreign subnet 20, the node A 12 can resume the interrupted communications with server 40. - In effect, one of the nodes 18, 18' in the subnet 10,
20, respectively, using the neighbor discovery protocol, discovers node A 12 and, using the
TBRPF protocol, initiates dissemination of topology and link-state information associated with the link to node A 12. The routers 14 also use the TBRPF protocol to disseminate this information to the other routers in the respective subnet 10 so that one or more routes to the node A 12 become available for communication with the server 40.
In one embodiment, such communications resume at their point of interruption. In brief, node A 12 maintains, in local cache, copies of objects that are located on the server 40. When node A 12 and the server 40 are in communicatiqn,nnode A 12 updates the objects as necessary, thereby maintaining substantially up-to-date copies of the objects. Thus, when node A 12 moves out of the communication range 22 with the subnet 10, the node A 12 initially has up-to-date information. Then when node A 12 reconnects to the subnet 10, the server 40 forwards previously undelivered updates to the objects locally stored at node A 12, along a route determined by information stored at each of the routing nodes 14. In the event node A 12 reconnects to the foreign subnet 20, a hand-off protocol, such as MobilelP, is used to achieve the redirection of the messages between the-server 40 and the node A 12.
The route taken by the object updates may^raverse a heterogeneous IPv6/IPv4 infrastructure. Normally, IPv6 nodes are unable to; route packets to other IPv6 nodes 18 over routes that pass through IPv4 infrastructure. In one embodiment, described in more detail below, the nodes 18 use an IPv6-IPv4 compatible aggregatable global unicast address format to achieve such routing. This IPv6-IPv4 compatibility address format also enables incremental deployment of IPv6 nodes 18 that do not share a common: multiple access data-link with another IPv6 node
18. Accordingly, the internetworldng system 2 provides various mobile ad hoc extensions to the Internet 30 that are particularly suited to the dynamic environment of mobile ad hoc networks. Such extensions, which are described further below, include techniques for (1) disseminating update information to nodes 18 in the subnet 10 using the TBRPF protocol; (2) detecting the appearance and disappearance of new neighbor nodes using a neighbor discovery protocol; (3) establishing an address format that facilitates deployment of IPv6 nodes in a predominantly IPv4 network infrastructure; (4) updating information upon resuming communications between nodes; and (5) adaptively using network bandwidth to establish and maintain connections between nodes 18 and the server 40.
Fig. 2 shows a portion of an embodiment of protocol stack 50 that can be used by each of the routing nodes 14, 14' to communicate with other routing nodes 14 in the subnet 10, 20 and on the Internet 30, and thereby implement the various extensions to the Internet 30 described herein. The protocol stack 50 includes a data-link layer 54, a network layer 62, and a transport layer 70.
The data link layer 54 can implemented byJany>conventional data link protocol (e.g., IEEE 802.11) with an addressing scheme that supports broadcast, multicast and unicast addressing with best-effort (not guaranteed) message delivery services between nodes 18 having instantaneous bi-directional links. For such implementations, each node 18 in the subnet 10 has a unique data link layer unicast address assignment.
The network layer 62 is the protocol layer responsible for assuring that packets arrive at their proper destination. Some of the mobile ad hoc extensions for the Internet 30 described herein operate at the network layer 62, such as the TBRPF protocol 58 and the IPv6-IPv4 compatibility address format, described in more detail below. Embodiments that redirect communications from foreign subnets to home subnets also use hand-off mechanisms such as
Mobile IP, which operate at the network layer 62. At the transport layer 70, other mobile ad hoc extensions to the Internet 30 are implemented, such as techniques for updating communications upon restoring connections between nodes and for adaptively using the network bandwidth.
1. Topology Broadcast based on Reverse-Path Forwarding (TBRPF) Protocol
In brief, the TBRPF protocol uses the concept of reverse-path forwarding to broadcast each link-state update in the reverse direction along a tree formed by the minimum-hop paths from all routing nodes 14 to the source of the update. That is, each link-state update is broadcast along the minimum-hop-path tree rooted at the source (i.e., source node "src") of the update. The minimum-hop-path trees (one tree per source) are updated dynamically using the topology and link-state information that are received along the minimum-hop-path trees themselves. In one embodiment, minimum-hop-path trees are used because they change less frequently than shortest-path trees that are determined based on a metric, such as delay. Other embodiments of the TBRPF protocol can use other types of trees, such as shortest path trees, to practice the principles of the invention.
Based on the information received along the minimum-hop-path trees, each node 18 in the subnet 10 computes a parent node and children nodes, if any, for the minimum-hop-path tree rooted at each source node src. Each routing node 14 may receive and forward updates originating from a source node src along the minimum-hop-path tree rooted at that source node src. Each routing node 14 in the subnet 10 also engages in neighbor discovery to detect new neighbor nodes and the loss of existing neighbor nodes. Consequently, the routing node 14 may become the source of an update and thus may generate an update message. When forwarding data packets to a destination node, each routing node 14 selects the next node on a route to the destination.
To communicate according to the TBRPF protocol, each routing node 14 (or node i, when referred to generally) in the subnet 10 stores the following information: L A topology table, denoted TT , consisting of all link-states stored at node i. The entry for link (u, v) in this table is denoted TT_i(u, v) and includes the most recent update (u, v, c, sn) received for link (u, v). The component c represents the cost associated with the link, and the component sn is a serial number for identifying the most recent update affecting link (u, v) received by the node i. The components c and sn of the entry for the link (u, v) is denoted TT_i(u, v).c and TT_i(u, v).sn. Optionally, the dissemination of multiple link metrics is attainable by eplacing the single cost c with a vector of multiple metrics.
2. A list of neighbor nodes, denoted N_i.
3. For each node u other than node i, the following is maintained: a. The parent, denoted p_i(u), which is the neighbor node ("nbr") of node i that is the next node on a minimum-hop path from node i to node u, as obtained from the topology table TT_i. b. A list of children nodes of node i, denoted children_i(u). c. The sequence number, of the jinost recent link-state update originating from node u received by node i, denoted sn_i(u). The sequence number is included in the link-state update message. The use of sequence numbers helps achieve reliability despite topology changes, because node i avoids sending another node information that the other node already has. Each node i maintains a counter (i.e., the sequence number) for each link that the node i monitors. That counter is incremented each time the status of the link changes. d. The routing table entry for node u, consisting of the next node on a preferred path to node u. '' The routing table entry for node u can be equal to the parent p_i(u) if minimum-hop routing is used for data packets. However, in general, the routing table entry for node u is not p_i(u), because the selection of routes for data traffic can' be based on any objective.
One embodiment of the TBRPF protocol uses the following message types:
LINK-STATE UPDATE: A message containing one or more link-state updates
(u, v, c, sn). l
NEW PARENT: A message informing a neighbor node that the node has selected that neighbor node to be a parent with respect to one or more sources of updates.
CANCEL PARENT: A inessage informing a neighbor that it is no longer a parent with respect to one or more sources of updates.
HELLO: A message sent'periodically by each node i for neighbor discovery.
NEIGHBOR: A message sent in response to a HELLO message. NEIGHBOR ACK: A message sent. in^response to a NEIGHBOR message.
ACK: A link-level acknowledgment to a unicast transmission.
NACK: A link-level negative acknowledgment reporting that one or more update messages sent on the broadcast channel were not received.
RETRANSMISSION OF BROADCAST: A retransmission, on a unicast channel, of link-state updates belonging to an update message for which a NACK message was received.
HEARTBEAT: A message sent periodically on the broadcast channel when there are no updates to be sent on this c annel, used to achieve reliable link-level broadcast of update messages based on NACKs. END OF BROADCAST: A message sent to a neighbor over a unicast channel, to report that updates originating from one or more sources are now being sent on the unicast channel instead όT the broadcast channel.
The formats for the various types of TBRPF protocol messages are described below. Building the Minimum-Hop-Path Tree For a Source
Fig. 3 shows an embodiment of a process by which each routing node 14 selects a parent neighbor node and children neighbor node(s) for each potential source node src in the subnet 10.
The selection of the parent and children neighbor nodes for each potential source node src define a minimum-hop-path tree for that potential source node along which the routing nodes 14 receive and forward link-state updates originating from that source node src. Pseudo-code describing the network-level procedures performed by each'routiήg'ή'ode 14 is ih Appendix A.
Node i receives (step 90) a message over a communication link. The received message can represent a link-state update, the discovery of a new neighbor node, the loss of a neighbor node, a change in the cost of a link to a neighbor node, a selection of a new parent neighbor node, or a cancellation of a parent neighbor node. Pseudo-code for processing these types of received messages is provided in Appendix A; the corresponding procedures are called
ProcessJUpdate, Link_Up, Link_Down, Link_Change, Process_NewJParent, and
Process_Cancel_Parent, respectively. The general procedure followed in response to all of these events, and the specific procedure followed by a qdeithat has just started and has no topology information are described below.
If node i receives a message representing a link-state update, the discovery of a new neighbor node, the loss of a neighbor node, or a change in the cost of a link to a neighbor node, node i enters (step 100) the new link-state information, if any into the topology table, TT_i, and forwards (step 102) the link-state information in a link-state update to the neighbor nodes in children (src), where src is the source node at which the update originated. Node i then computes (step 104) the parent nodes p_i(u) for all potential source nodes src by running a shortest-path algorithm such as Dijkstra's algorithm. If this computation results in a change to the parent node p_i(u) for any source u, node i then sends a NEW PARENT(u, sn) message, where sn = sn_i(u), to the new parent node p_i(u) and a CANCEL PARENT message to the old parent node (step 106).
If node i receives (step 90) a NEW PARENT(u, sn) message from a sending node with source u and sequence number sn, node i adds(step 108) the sending node to node i's list of children nodes children_i(u) for that source u, and then sends (step 110) the sending node a
LINK-STATE UPDATE message containing all updates in node i's topology table, TT_i, originating from source u and having a sequence number greater than sn. If node i receives (step 90) a CANCEL PARENT(u) message from a sending node with source u, node i removes (step 112) the sending node from node i's list of children nodes children_i(u) for that source u.
Consider, for example, the case in which node i initially has no topology information. Accordingly, node i has no links to neighbor nodes, and its topology table TT_i is empty. Also the parent node is p_i(src) = NULL (i.e.," not "defined), the children_i(src) is the empty set, and sn_i(src) = 0 for each source node src. Upon receiving (step 90) messages representing the discovery of neighbor nodes, node i executes the Link_Up procedure to process each link established with each neighbor node nbr. Because each neighbor node nbr of node i is (trivially) the next node on the minimum-hop
Figure imgf000018_0001
node i to neighbor node nbr, node i selects (step 104) each of its neighbor nodes nbr as the new parent node p_i(nbr) for source node nbr. Execution of the Link-Up procedure results in node i sending (step 106) a NEW PARENT message to each neighbor node nbr. Therefore, the NEW PARENT message sent to a new neighbor node nbr contains the neighbor node nbr. (and-possibly other sources) in its source list. In response to the NEW PARENT message, then each neighbor node nbr informs (step 110) node i of the outgoing links of neighbor node nbr. Information about the outgoing links of neighbor node nbr allows node i to compute minimum-hop paths to the nodes at the other end of the outgoing links, and thus to compute (step 104) new parents p_i(src), for all source nodes src that are two hops away. Node i sends (step T06) a 1 ΕW PARENT message to each of these computed new parents. Then each parent p_i(src) for each such source node src informs (step 110) node i of the outgoing links for soui.ee node src, which allows node i to compute (step 104) new parents for all source nodes that are three hops away. This process continues until node i has computed parent nodes for all sources nodes src in the subnet 10. As a result, for a given source node src, the parents p_i(src) for all nodes i other than source node src define a minimum- hop-path tree rooted at source node src (after the protocol has converged). Node i cancels an existing parent p_i(src) by sending a CANCEL PARENT(src) message containing the identity of the source node src'. Conseq ently, the "set of children, children_i(src), at node i with respect to source node src is the set of neighbor nodes from which node i has received a NEW PARENT message containing the identity of source node src without receiving a subsequent CANCEL PARENT message for that source node src. Node i can also simultaneously select a neighbor node as the parent for multiple sources, so that the node i sends a NEW PARENT(src_list, sn_list) message to the new parent, where src ist is the list of source nodes and sn ist is the corresponding list of sequence numbers. Similarly, a CANCEL PARENT message can contain a list of sources.
In one embodiment, the TBRPF does not useNEW PARENT and CANCEL PARENT messages in the generation the minimum-hop-path tree. Instead, each node i computes the minimum-hop paths from each neighbor, node nbr to all destinations (e.g., by using breadth-first search or Dijkstra's shortest-path algorithm). Consequently, each node i computes the parents p_nbr(src) for each neighbor node nbr and source node src, from which node i determines which neighbor nodes nbr are its children for the given source node src. Although this process eliminates NEW PARENT and CANCEL PARENT messages, the process also requires that each node i (1) sends all updates originating from the source node src to any child node in children_i(src), or (2) periodically sends updates along the minimum-hop-path tree, because node i does not know the sequence number sn_nbr(src) from the neighbor node nbr and thus does not know what updates the neighbor node nbr already has. Either of these actions ensures that each neighbor node nbr receives the most recent information for each link.
Fig. 4 shows an embodiment of an exemplary minimum-hop-path tree 120 for the nodes 18 in the subnet 10 of Fig. 1. For the sake of illustration, assume that node D is the source of an update. The parent 122 for nodes C, G, and H with respect to the source node D is node D; the parent 124 for node F with respect to source node D is node H; the parent 126 for nodes A and B with respect to source node D is node F;J the parent 128 for node E is node B; and the parent 130 for node L is node A. (In this example, node A is a routing node 14, and thus runs the TBRPF protocol.)
Conversely, the children 132 of node D are nodes C, G, and H; the child 134 of node H is node F; the children 136 of node F are nodes A and B; the child 138 of node B is node E, and the child 140 of node A is node L. As shown, nodes C, E, G, and L are leaf nodes, which, in accordance with the TBRPF protocol, do not have to forward updates originating from the source node D. {
Updating the Minimum-Hop-Path Tree
In brief, the TBRPF protocol disseminates link-state updates generated by a source node src along the mimmum-hop-path tree rooted at node src and dynamically updates the minimum- hop-path tree based on the topology and, link-state information received along the minimum-hop- path tree. More specifically, whenever the topology table TT_i of node i changes, the node i computes its parent p_i(src) with respect to every 'source node src (see the procedure Update_Parents in Appendix A). The node i computes parents by (1) computing minimum-hop paths to all other nodes using, for example, Dijkstra's algorithm, and (2) selecting the next node on the minimum-hop path to each source node src to be the parent for that source node src (see the procedure Compute_New_Parents in Appendix A). The computation of parents occurs when the node i receives a topology update, establishes a link to a new neighbor node, or detects a failure or change in cost of a link to an existing neighbor node. In one embodiment, node i computes a new parent p_i(src) for a given source node src even though the path to the source node src through the new parent has the same number of hops as the path to the source node src through the old parent. In another embodiment, the node keeps the old parent node in this event, thus reducing the overhead of the TBRPF protocol. This embodiment can be implemented, for example, by using the procedure Compute_New_Parents2 (given in Appendix A) instead of the procedure Compute_New_Parents.
If the parent p_i(src) changes, node i sends' the message CANCEL PARENT(src) to the current (i.e., old) parent, if the old parent exists. Upon receiving the CANCEL PARENT(src) message, the old parent ("k") removes node i from the list children_k(src).
Node i also sends the message NEW PARENT(src, sn) to the newly computed parent if the new parent exists, where sn = sn_i(s^c) is the sequence number of the most recent link-state update originating from source node src received by node i. This sequence number indicates the "position" up to which node i has received updates from the old parent, and indicates to the new parent that it should send only those updates that occurred subsequently (i.e., after that sequence number). * ....
Upon receiving the NEW PARENT(src, sn) message, the new parent "j" for p_i(src) adds node i to the list children J (src) and sends to node i a link-state update message consisting of all the link states originating from source node src in its topology table that have a sequence number greater than sn (see the procedure Process_New_Parent in Appendix A). Thus, only updates not yet known to node i are sent to node i. Generally, the range of sequence numbers is large enough so that wraparound does not occur. However, if a small sequence number range is used, wraparound can be handled by employing infrequent periodic updates with a period that is less than half the minimum wraparound period, and by using a cyclic comparison of sequence numbers. That is, sn is considered less than sn' if either sn is less than sn' and the difference between sn and sn' (sn' - sn') is less than half the largest possible sequence number, or sn' is less than sn and the difference, sn - sn', is greater than half the largest possible sequence number.
When a node i detects the existence of a new neighbor nbr, it executes Link_Up(i, nbr) to process this newly established link. The! link cost and sequence number fields for this link in the topology table at node i are updated. Then, the corresponding link-state message is sent to all neighbors in children_i(i). As noted above, node i also recomputes its parent node p_i(src) for every node src, in response to this topological change. In a similar manner, when node i detects the loss of connectivity to an existing neighbor node nbr, node i executes Link_Down(i, nbr). Link_Change(i, nbr) is likewise executed at node i in response to a change in the cost to an existing neighbor node nbr. However, this procedure does not recompute parents.
In one embodiment, if a path between the node i and a given source node src ceases to exist, the node i computes a new parent p_i(src) that is set to NULL (i.e., parent does not exist). In another embodiment, although the path between the node i and the given source node src ceases to exist, the node i keeps the current parent, if the current parent is still a neighbor node of the node i. Thus, the overhead of the TBRPF protocol is reduced because it is unnecessary to send a CANCEL PARENT and a subsequent NEW PARENT messages if the old path to the source becomes operational later because of a link recovery. This embodiment can be implemented by replacing the fifth line of the procedure Update_Parents in Appendix A, "If (new_p_i(src) != p_i(src)){", with the line "If (new_p_i(src) != p_i(src) and new__p_i(src) !=
NULL){". The TBRPF protocol does not use an age field in link-state update messages. However, failed links (represented by an infinite cost) and links that are unreachable (i.e., links (u, v) such that p_i(u) = NULL) are deleted from the topology table TT_i after MAX_AGE seconds (e.g., 1 hour) in order to conserve memory. Failed links (ύ, v) are maintained for some time in the topology table TT_i, rather than deleted immediately, to ensure that the node i that changes its parent p_i(u) near the time of failure (or had no parent p_i(u) during the failure) is informed of the failure by the new parent.
Unreachable links, (i.e., links (u, v) such that node i and node u are on different sides of a network partition), are maintained for a period of time to avoid having to rebroadcast the old link state for (u, v) throughout node i's side of the partition, if the network partition soon recovers, which can often happen if the network partition is caused by a marginal link that oscillates between the up and down states. If a link recovers resulting in the reconnection of two network components that were disconnected (i.e., partitioned) prior to the link recovery, the routing nodes 14 in one partition my temporarily have invalid routes to nodes 18 in the other partition. This occurs because the routing nodes 14 may receive an update message for the link recovery before receiving update messages for links in the other partition. Consequently, the link-information for those links in the other partition may be ..outdated temporarily.
To correct this situation, in one embodiment, a header field is added to each link-state update message, which indicates whether the update'iriessage is sent in response to a NEW PARENT message. The header field also identifies the corresponding NEW PARENT message using a sequence number. For example, if a given node i sends a NEW PARENT message (for multiple sources) to node j following the recovery of the link (i, j), the node i waits for a response from node j to the NEW PAREJNT message before sending to node i's neighbor nodes an update message corresponding to the link recovery. The response from node j includes the link-state information of the other nodes, 18 in the previously disconnected partition. Then node i forwards this link-state information to node i's neighbor nodes. Consequently, the nodes 18 in the same partition as node i receives updates for the links in the other partition at the same time that the nodes 18 receive the update for the link recovery. Thus, the link-state information for those links in the other partition is not outdated temporarily. A node i that is turned off (or goes to sleep) operates as if the links to all neighbors have gone down. Thus, the node i remembers the link-state information that it had when turned off.
Since all such links are either down or unreachable, these link states are deleted from the topology table TT_i if the node i awakens after being in sleep mode for more than MAX_AGE seconds. Infrequent periodic updates occur to correct errors that may appear in table entries or update messages. (See Send_Periodic_ >dates in Appendix A.) As discussed above, periodic updates are also useful if the sequence number range is not large enough to avoid wraparound. Initiating an Update Message
When a given routing node 14 detects a change in the state of a neighbor node, that routing node 14 becomes the source (i.e., source node src) of a link-state update message with respect to corresponding link to that neighbor node. As described above, the source node src then broadcasts each link-state update along the minimum-hop-path tree rooted at the source of the update.
A link-state update message repqrts the state of the link (src, nbr) as-a tuple (src, nbr, c, sn), where c and sn are the cost and the sequence number associated with the update. A cost of infinity represents a failed link. The source node src is the head node of link (src, nbr), and is the only node that can report changes to parameters of link (src, nbr). Therefore, any node 18 receiving the link-state update (src, nbr, c, sn) can determine that the update originated from the source node src. The source node src maintains a counter sn_src, which is incremented by at least one each time the cost of one or more outgoing links (src, nbr) changes value. For example, the counter sn_src can be a time stamp that represents the number of seconds (or other units of time) elapsed from some fixed time. When the source node src generates a link-state update (src, nbr, c, sn), the sequence number sn is set to the current value of sn_src.
Receiving an Update Message
In brief, each routing node 14 that receives a link-state update message receives that update message along a single path. That is, any link-state update originating from source node src is accepted by node i if (1) the link-state update is received from the parent node p_i(src), and (2) the link-state update has a larger sequence number than the corresponding link-state entry in the topology table TT_i at node i. If the link-state update is accepted, node i enters the link-state update into the topology table TT_i. Node i may then forward the link-state update to zero or more children nodes in children_i(src). In one embodiment, the link-state update passes to every child node in children_i(src). (See the procedures Update_Topology_Table and ProcessJUpdate in the Appendix A.)
Forwarding Update Messages
In most link-state routing protocols, e.g., OSPF (Opens Shortest Path First), each routing node 18 forwards the same link-state information to all neighbor nodes. In contrast, in one embodiment of the TBRPF protocol, each routing node 14 sends each link-state update only to neighbor nodes that are children on the minimum-hop-path tree rooted at the source of the update. Each routing node 14 having no children for the source node src of the link-state update is a leaf in the minimum-hop-path tree and therefore does not forward updates originating from the source node src. In typical networks, most nodes 18 are leaves, thus the TBRPF protocol makes efficient use of the bandwidth of the subnet 10. In addition, those nodes having only one child node for the source node src can send updates generated by the source node src to that child node only, instead of broadcasting the updates to all neighbor nodes.
The TBRPF protocol may utilize bandwidth more efficiently by using unicast transmissions if those routing nodes 14 have only one child, or a few children, for the source of the update, and broadcast transmissions when several children exist for the update. Therefore, in one embodiment, the TBRPF protocol determines whether to use unicast' or broadcast transmissions, depending on the number of children nodes and the total number of neighbor nodes.
In general, each routing node 14 uses unicast transmissions for updates with only one intended receiver (e.g., only one child), and broadcast transmissions for updates with several intended receivers, to avoid transmitting the update message several times. Therefore, each routing node 14 uses unicast transmission if k = 1 and use broadcast if k > 1, where k is the number of intended receivers. A possible drawback can occur if the number of children nodes exceeds one and there are a many more neighbors. For example, if there are two children nodes and twenty neighbor nodes, (i.e., k = 2 and n = 20, where k is the number of children nodes and n is the number of neighbors), then 18 neighbor nodes are listening to a message not intended for them. Such neighbor nodes could instead be sending or receiving other messages.
To avoid this possible drawback^ one option is to use broadcast transmission if k > (n+l)/2 and unicast transmission in all other cases. In general, a rule of the form k > g(n) can be used. For update messages, the number of children k may be different for different update sources. Therefore, it is possible to use unicast transmissions for some sources and broadcast transmissions for other sources, and the transmission mode for a given source u, denoted mode_i(u), can change dynamically between unicast and broadcast as the number of children changes. While LINK-STATE-UPDATE messages can be transmitted in either unicast or broadcast mode, HELLO messages and HEARTBEAT messages (discussed below) are always transmitted on the broadcast channel, and the following messages are always transmitted on the unicast channel (to a single neighbor): NEIGHBOR, NEIGHBOR ACK, ACK, NACK, NEW PARENT, CANCEL PARENT, RETRANSMISSION OF BROADCAST, END OF
BROADCAST, and LINK-STATE-UPDATE messages sent in response to a NEW PARENT message.
Exemplary pseudo-code for a procedure for sending a LINK-STATE UPDATE message
(that is not a response to a NEW PARENT message) on the broadcast or unicast channel is as follows:
If (mode_i(src) = = BROADCAST)
Append the message update_msg to the message queue associated with the broadcast channel. If (mode_i(src) = = UNICAST) ; For (each node k in children_i(src))
Append the message updatejtnsg to the message queue associated with the unicast channel to node k.
Reliable unicast transmission of control packets can be achieved by a variety of reliable link-layer unicast transmission protocols that use sequence numbers and ACKs, and that retransmit a packet if an ACK is not received for that packet within a specified amount of time. Reliable Transmission in Broadcast Mode
For reliable transmission of Link-State Update messages in broadcast mode, each broadcast update message includes one or more link-state updates, denoted lsu(src), originating from sources src for which the transmission mode is BROADCAST. Each broadcast control packet is identified by a sequence number that is incremented each time a new broadcast control packet is transmitted. Reliable transmission of broadcast control packets in TBRPF can be accomplished using either ACKs or NACKs. If ACKs are used, then the packet is retransmitted after a specified amount of time if an ACK has not been received from each neighbor node that must receive the message.
In one embodiment of TBRPF, NACKs are used instead of ACKs for reliable transmission of broadcast control packets, so that the amount of ACK/NACK traffic is minimized if most transmissions are successful. Suppose node i receives a NACK from a neighbor node nbr for a broadcast update message. In one embodiment, all updates lsu(src) in the original message, for each source node src such that neighbor node nbr belongs to children_i(src), are retransmitted (reliably) on the UNICAST channel to the neighbor node nbr, in a RETRANSMISSION OF BROADCAST message. This message includes the original broadcast sequence number to allow neighbor node nbr to process the updates in the correct order. In another embodiment, such update messages are retransmitted on the broadcast channel. This embodiment may improve the efficiency of the TBRPF protocol in subnets that do not support receiver-directed transmission, because in such subnets unicast transmission provides no efficiency advantage over broadcast transmissions. The procedure for the reliable transmission of broadcast update packets uses the following message types (in addition to LINK-STATE UPDATE messages): HEARTBEAT(sn), NACK(sn, bit_map), and RETRANSMISSION OF BROADCAST(sn, update_msg). A NACK(sn, bit_map) message contains the sequence number (sn) of the last received broadcast control packet, and a 16-bit vector (bit_map) specifying which of the 16 broadcast control packets from sn-15 to sn have been successfully received.
A description of the procedure for the reliable transmission of broadcast update packets at node i uses the following exemplary notation:
Pkt(sn) represents a control packet with sequence number sn transmitted on the broadcast channel by node i. MsgQ represents a message queue for new control messages to be sent on the broadcast channel from node i. brdcst_sn_i represents the sequence number of the last packet transmitted on the broadcast channel by node i. Heartbeat_Timer represents a timer used in the transmission of the HEARTBEAT message.
Following the transmission of the broadcast control packet Pkt(brdcst_sn_i) on the broadcast channel, node i increments brdcst_sn_i and reinitializes Heartbeat_Timer. When Heartbeat_Timer expires at node i, the node i appends the control message HEARTBEAT(brdcst_sn_i) to the message queue associated with the broadcast channel, and reinitializes Heartbeat_Timer. When the node i receives NACK(sn, bit_map) from neighbor node nbr, node i performs the functions as illustrated by following exemplary pseudo-code:
For each (sn' not received as indicated by bit_map){
Let update_msg = {(src*, v*, sn*, c*) in Pkt(sn') such that the neighbor node nbr is in children_i(src*) } .
Append the message RETRANSMISSION OF
BROADCAST(sn', update_msg) to the message queue associated with the unicast channel to neighbor node nbr. (Message must be sent even if update_msg is empty.)}
Upon receipt at neighbor node nbr of control packet Plct(sn) transmitted on the broadcast channel by node i, the neighbor node nbr performs the following operations as illustrated by the following pseudo-code:
If the control packet Pkt(sn) is received in error {
Append the control message NACK(sn, bit nap) to the message queue associated with the unicast channel to node i. }
If the control packet Plct(sn) is received out of order (i.e., at least one previous spquence number is skipped)!
Withhold the processing of the control packet Pkt(sn). Append the control message NACK(sn, bitjnap') to the message queue associated with the unicast channel to node i.}
Else (control packet Plct(sn) is received correctly and in order) { For each Link-State Update message update_msg in
Pkt(sn), call Process_Update(i, nbr, updatejnsg).}
When a communication link is established from node i to a new neighbor nbr, in one embodiment the node i obtains the current value of brdcst_sn_nbr from the NEIGHBOR message or NEIGHBOR ACK that was received from neighbor node nbr. Each node i can dynamically select the transmission mode for link-state updates originating from each source node src. As described above, this decision uses a rule of the form k > g(n), where k is the number of children (for src) and n is the number of neighbors of node i. However, to ensure that updates are received in the correct order, or that the receiver has enough information to reorder the updates, node; i sends an END OF BROADCAST(last_seq_no, src) message on the unicast channel to each child when the mode changes to UNICAST, and waits for all update packets sent on unicast channels to be ACKed on before changing to BROADCAST mode. .
To facilitate this process, each node i maintains a binary variable unacked_i(nbr, src) for each neighbor node nbr and source node src, indicating whether there are any unACKed control packets sent to neighbor node nbr containing link-state updates originating at source node src.
The following exemplary pseudo-code illustrates an embodiment of a procedure that is executed periodically at each node i.
For each (node src){
If (mode_i(src) = BROADCAST and |children_i(src)| <= g(n)){ For each (node nbr in children_i(src)){
Append the message END OF BROADCAST(brdcst_sn_i, src) to the message queue associated with the unicast channel to node nbr.} Set mode_i(src) = UNICAST.}
If (mode_i(src) = UNICAST and jchildren_i(src)| > g(n)){ Set switchjflag = YES. , For each (node nbr in children_i(src)){ If (unacked_i(nbr, src) = YES) Set switch_flag = NO. }
If (switch_flag = YES) Set mode_i(src) = BROADCAST.}}
Full and Partial Topology TBRPF
In one embodiment, a result of the running the TBRPF protocol is that each router 14 in the subnet 10 obtains the state of each link in the subnet 10 (or within a cluster if hierarchical routing is used). Accordingly, this embodiment of the TBRPF protocol is referred to as full- topology link-state protocol. In some embodiments', described below, the TBRPF protocol is a partial-topology link-state protocol in that each router 14 maintains a subset of the commumcation links in the subnet 10. In the full-topology protocol embodiment, each routing node 14 is provided with the state of eaςh link in the subnet 10 (or cluster, if hierarchical routing is used). In other embodiments, the TBRPF is a partial topology protocol in that each routing node 14 is provided with only a subset of the links in the subnet 10.
For the full-topology link-state protocol embodiment (1) alternate paths and disjoint paths are immediately available, allowing faster recovery from failures and topology changes; and (2) paths can be computed subject to any combinationqf quality-of-service (QoS) constraints and objectives. Partial-topology link-state protocols provide each node 18 with sufficient topology information to compute at least one path to each destination. Whether implemented as a full- topology or as a partial-topology protocol, the TBRPF protocol is a proactive link-state protocol in that each node 18 dynamically reacts to link-state and topology changes and maintains a path to each possible destination in the subnet 10 at all times. A Partial-Topology Embodiment
In one partial-topology embodiment, each routing node 14 decides which of its outgoing links (i, j), called "special links," should, be disseminated to all nodes in the subnet 10. This subset of links is maintained in a list L_i. All other outgoing links are sent only one hop (i.e., to all neighbor nodes of node i). Node i sends an update to its neighbor nodes if that update is the addition or removal of a link from the list L_i, or reflects a change in the state of a link in the list
LJ
Various rules can be used to define the set of special links in the list L_i. For example, one rule defines a link (i, j) to be in L_i only if node j is the parent of node i for some source node other than node j, or if node j belongs to the set children_i(src) for some source node src other than node i. This definition of special links includes enough links to provide minimum- hop paths between any pair of nodes. As a result, this partial-topology embodiment reduces the amount of control traffic without reducing the quality of the routes. In this embodiment, an update (u, v, c, sn, sp) is augmented to include a, "sp" field (e.g., a single-bit field), which indicates whether the link (u, v) is a special link. Pseudo-code representing an exemplary implementation of the partial-topology embodiment appears in the Appendix A, after the "Partial-Topology 1" header. The procedure Mark_Special_Links(i) is called upon a change to the parent p_i(src) or to the set of children nodes children_i(src). A Second Partial-Topology Embodiment In another partial-topology embodiment, each routing node 14, hereafter node i, maintains a topology table TT_i, a source tree Ti (i.e., computed paths to all destinations), a set of reported links Ri, and a set of neighbor nodes Ni. The entry of TT_i for a link (u, v) is denoted TT_i(u,v) and consists of the tuple (u, v, c, c'), where c is the cost associated with the link and c' is the last cost reported to neighbor nodes for the link. The component c of the entry for link (u, v) is denoted TT_i(u, v).c. In addition, a parent p_i (u) and set of children nodes cbildren (u) are maintained for each node u ≠ node i. The parent p_i (u) is the next node on a shortest path to node u, based on the information in TT_i. The source tree Ti, computed by a lexicographic version of Dijkstra's algorithm, is the set of links that belong to at least one of the computed paths. The set of reported links Ri includes the source tree Ti and any link in TT_i for which an update has been sent but a delete update has not since been sent. In addition, a binary variable pending_i(u) is maintained for each node u ≠ node i, which indicates that the parent p_i
(u) is pending, i.e., that a NEW PARENT(u) message has been sent to p_i (u) but no response has yet been received. In general, each node i reports to neighbor nodes the current states of only those links in its source tree Ti, but sends only part of its source tree Ti to each neighbor node such that no node receives the same information from more than one neighbor node.
Pseudo-code representing an exemplary implementation of this partial-topology embodiment of the TBRPF protocol appears in the Appendix A, after the "Partial-Topology 2" header.
Upon receiving an update message, consisting of one or more updates (u, v, c), node i executes the procedure Update(), which calls the procedure Update_Topology_Table(), then executes the procedure Lex_Dijkstra() to compute the new source tree Ti and the procedure Generate_Updates() to generate updates, and modify the set of reported links Ri based on changes in link costs and changes to the source tree Ti. Each generated update is then sent to the appropriate children, that is, updates for links with head u are sent to children__i(u). The procedure Update_Parents() is called, which determines any changes in the parent assignment and sends NEW PARENT and CANCEL PARENT messages.
The sending of updates can be accomplished in different ways, depending on whether the subnet 10 consists of point-to-point links, broadcast links, or a combination of both link types. In a network of point-to-point links, each neighbor node k would be sent a message that contains the updates for links (u, v) such that k belongs to children_i(u). If a broadcast capability also exists, links (u, v) for which children (u) has more than one member can be broadcast to all neighbor nodes.
The procedure Update_Topology_Table() does the following for each update (u, v, c) in the input message (injnessage) such that the parent p_i(u) is the neighbor node who sent the message. (Updates received from a node other than the parent are ignored.) Ifeither TT_i does not contain an entry for (u, v) or contains an entry with a different cost than c, then TT_i(u, v) is updated with the new value c and link (u, v) is marked as changed. If the input message is a
PARENT RESPONSE, then in addition to updates, the message contains the same list of sources as the NEW PARENT message to which it is responding. For each such source node u such that pending_i(u) = 1 and for each link (u, v) in TT_i that is outgoing from source node u but for which the input message does not contain an update, the cost of (u, v) is set to infinity, to indicate that the link should be deleted. In other words, any link that was reported by the old parent but is not reported by the new parent is deleted. Only information from the current parent is considered valid. The procedure Lex_Dijkstra() (not include4,in Appendix A) is an implementation of
Dijkstra's algorithm that computes the lexicographically smallest shortest path LSP(i, u) from node i to each node u, using as path name the sequence of nodes in the path in the reverse direction. For example, the next-to-last node of LSP(i, u) has the smallest node ID among all possible choices for the next-to-last node. Such paths are computed using a modification of Dijkstra's algorithm in which, if there are multiple choices for the next node to label, the one with the smallest ID is chosen.
The procedure Generate_Updates() decides what updates to include in the message to be sent to neighbor nodes. A non-delete update is included for any link (u, v) that is in the new source tree Ti and either is marked as changed or was not in the previous source tree (denoted old source tree Ti). In this case, Ti(u, v).c' is set to Ti(u, v).c, and (u,v) is added to the reported link set Ri if not already in the reported link set Ri. A delete update is included for any link (u, v) that is in the reported link set Ri but is not in the source tree Ti, such that TT_i(u, v).c>TT_i(u,v).c'. In this case, (u, v) is removed from the reported link set Ri. Any links with infinite cost are erased from the topology table TT_i. The procedure Update_Parents()' sets the new parent p_i(u) for each source node u to be the second node on the shortest path to node u. If there is no path to node u, p_i(u) is null. If the new parent is different from the old parent, then a NEW PARENT message is sent to the new parent (if it is not null) and a CANCEL PARENT message is sent to the old parent (if it is not null and the link to the old parent is still sup). The NEW PARENT messages for all source nodes u having the same new parent are combined into a,»single message, and CANCEL PARENT messages are similarly combined.
The procedure Process_New_Parent() is executed when a NEW PARENT message is received from some neighbor node. For: each source node u in the NEW PARENT message, the procedure adds the neighbor node to children_i(u) and includes in the PARENT RESPONSE message an update for each link (u, v) in the source tree Ti whose head is source node u, if such a link exists. (Such a link will not exist if node u is a leaf of source tree Ti.) As described above, the PARENT RESPONSE also includes the same list of sources as the NEW PARENT message to which it is responding. (This list is not necessary if the node sending the NEW PARENT message remembers the list and can match the PARENT RESPONSE to the NEW PARENT message.)
When the cost of a link to a neighbor node j changes, node i sets TT_i(i, j).c to the new cost and calls the procedure UpdateQ witii k = i and an empty input message. A threshold rule can be used so that TT_i(i, j).c is updated only if the percent difference between the new cost and the old cost is at least some given threshold. If a link to a neighbor node j fails, the same procedure is followed (with the cost changing to infinity), and node j is removed from set of neighbor nodes Ni. '
When a link to a neighbor node j5 comes up, either initially or upon recovering from a failure, node i executes the procedure Link_Up(I, j), which adds neighbor node j to the set of neighbor nodes Ni, sets TT_i(i, j).c to the link cost, and calls the procedure Update() with k = i and an empty input message. This may result in a NEW PARENT message being sent to neighbor node j.
To correct errors that may appear in TT_i due to noisy transmissions or memory errors, each node i can periodically generate updates for its outgoing links. Since a received update is ignored unless it has a cost that differs from the entry in the topology table TT_i, the cost of the periodic update should be chosen to be slightly different from the previous update. Alternatively, each update can contain an additional bit b, which toggles with each periodic update.
Fig. 5 illustrates the operation of the second partial-topology embodiment of the TBRPF protocol when a commumcation link 142 between nodes B and D in the subnet 10 fails. The minimum-hop-path tree for source node.B before the link failure is shown with solid arrows; the minimum-hop-path tree for source node-.C is shown with dashed arrows. As shown node A selects node B as parent for source nodes B, D, and F, and selects node C as parent for source nodes C, E, and F. Therefore, node B reports link-state changes to node A only for links (B, A), (B, C), (B, D), and (D, F), and node C reports link-state changes to node A only for links (C, A), (C, B), (C, E), and (E, G). Neither nodes B or C would report a link-state change affecting link (F, G) to node A. Thus, unlike the full-topology embodiment of the TBRPF, in which each node 14 has link information for every link in the subnet, ,10, the nodes 18 of this partial-topology embodiment have link-state information for less than every link in the subnet 10. If link (B, D) fails, as shown in Fig. 5, node B reports to nodes A and C that link (B, D) has failed (cost = infinity). Node C reports to node A that link (E, D) 144 has been added to node C's minimum-hop-path source tree. After receiving these updates, node A selects node C as its new parent for source nodes D and F, and sends a NEW PARENT message to node C and a CANCEL PARENT message to node B. Node C responds by sending node A an update only for link (D, F), because link (D, F) is the only link in node C's minimum hop-path source tree with node D or node F as the head of a link. For example, node F is the head of the link (F, G), but the link (F, G) is not in node C's minimum-hop-path source tree and is therefore not reported to node A. Although the minimum-hop-path source tree of node A is modified during the update process, node A does not generate any updates because it has no children for any source other than itself (i.e., node A). TBRPF Protocol Messages
To disseminate link-state updates to the appropriates nodes in the subnet 10, neighboring router nodes 14 that have established bi-directional links and performed data link to IPv4 address resolution using TBRPF neighbor discoyery (as described below) exchange TBRPF protocol messages. The IPv4 addresses are therefore available for use as node IDs in TBRPF protocol messages.
In one embodiment, the TBRPF protocol messages are sent via the User Datagram Protocol (UDP), which requires an official UDP-service port-number registration. The use of UDP/IPv4 provides several advantages over a data link level approach, including (1) IPv4 segmentation/reassembly facilities, (2) UDP checksum facilities, (3) simplified application level access for routing daemons, (4) IPv4 multicast addressing for link state messages.
TBRPF protocol messages are sent to the IPv4 unicast address of a current neighbor or to the "All_TBRPF_Neighbors" IPv4 multicast address, presuming that an official IPv4 multicast address is assigned to "AU_TBRPF_Neighbors." In general, a message is sent to the IPv4 unicast address of a current neighbor node if all components of the message pertain only to that neighbor. Similarly, a message is sent to the All_TBRPF_Neighbors IPv4 multicast address if the message contains components which pertain to more than one neighbor neighbors. Nodes 14 are prepared to receive TBRPF protocol messages sent to their own IPN4 unicast address or the AU_TBRPF_Νeighbors multicast address.
Actual addressing strategies depend on the underlying data link layer, for example, for data links such as IEEE 802.11, a single, multiple access channel is available for all unicast and broadcast/multicast messages. In such cases, since channel occupancy for unicast and multicast messages is identical, it is advantageous.; to send a single message to the All_TBRPF_Neighbors multicast address rather than multiple unicast messages, even if the message contains components that pertain to only a subset of the current neighbor nodes. In other cases, in which point-to-point receiver directed channels are available, sending multiple unicast messages may reduce contention on the multiple access broadcast channel. Atomic TBRPF Message Format Fig. 6 shows an exemplary embodiment of an individual (atomic) TBRPF protocol message 160 including a message header 162 followed by a message body 164. Atomic messages may be transmitted either individually or as components of a compound TBRPF protocol message having multiple atomic messages within a single UDP/IPv4 datagram. TBRPF message headers 162 are either 32-bits qr 64-bits in length depending on whether the atomic message is BROADCAST or UNICAST.
The message header 162 includes a type field 166, a version field 168, a mode field 170, a number of sources field 172, an offset field 174, a link sequence number field 176, and a receiver identification field 178, which is used when the mode is defined as UNICAST.
The type filed 166 (e.g., 4 bits) represents the atomic message type. The following are examples of atomic message types: ACK 1
NACK 2
NEW PARENT
CANCEL PARENT . 4.
HEARTBEAT 5
END OF BROADCAST ,. 6
LINK STATE UPDATE A 7
LINK STATE UPDATE B 8
RETRANSMISSION_OF_BROADCAST 9 The version field 168 (e.g., 3 bits) represents the TBRPF protocol version and provides a transition mechanism for future versions of the TBRPF protocol. Also, the version 168 can assist the node 18 in identifying false messages purporting to be TBRPF protocol messages.
The mode field 170 (e.g., 1 bit) represents the transmission mode for the atomic TBRPF protocol message 160; the mode is either UNICAST or BROADCAST. UNICAST refers to an atomic message that must be processed by only a single neighbor node. BROADCAST refers to an atomic message that is to be processed by all neighbor nodes. (For IPv4 subnets, UNICAST implies a specific IPv4 unicast address, whereas BROADCAST implies the
All_TBRPF_Neighbors IPv4 multicast address.) The following exemplary mode bits are defined: ; UNICAST 0
BROADCAST 1
Messages of type ACK, NACK, NEW_PARENT, CANCEL_PARENT,
RETRANSMISSION_OF_BROADCAST, and END_OF_BROADCAST are sent as UNICAST.
Messages of type LINK_STATE_UPDATE_A and LINK_STATE_UPDATE_B may be sent as either UNICAST or BROADCAST.
The number of sources field 172 (e.g., 8 bits) represents the number of sources
- "Num_Sources" included in the atomic message 160. The field 172 takes a value from 1 to 255 for messages of type: NEW_PARENT, CANCEL_PARENT, LINK_STATE_UPDATE_A, and
LINK_STATE_UPDATE_B. All other message types are set Num_Sources = 0. The offset field 174 (e.g., 18 bits) represents the offset (in bytes) from the O'th byte of the current atomic message header 162 to the O'th byte of the next atomic message header 162 in the
"compound message" (described below.) An offset of 0 indicates that no further atomic messages follow. The 18-bit offset field 174, for example, imposes a 4-kilobyte length restriction on individual atomic messages.
The sequence number field 176 (e.g., 4 bits) represents the link sequence number
("LSEQ") for this TBRPF protocol message 160.
The receiver identification field 178 (e.g., 32 bits) represents the IPv4 address of the receiving node which is to process this atomic message 160. All nodes 18 other than the node identified by the identification field 178,do not process this atomic message 160. This field 178 is used only if the mode field 170 is set to UNICAST.
Compound TBRPF Protocol Message, Format
Fig. 7 shows the format for a compound TBRPF protocol message 180, which includes multiple (i.e., "N") atomic TBRPF messages 160, 160', 160" that are concatenated to form the compound message 180 within a single UDP/IPv4 packet. Atomic message headers 162, in one embodiment, are aligned on 32-bit boundaries, therefore an atomic message body 164 with a non-integral number of 32-bit words includes 1, 2 or 3 padding bytes 182, 182' preceding a subsequent message header 162', 162", .respectively.
TBRPF Atomic Message Body Format The format of the atomic message body 164 depends on the value in the type field 166 in the corresponding message header 162. The following are exemplary formats for an atomic message body 164.
ACK
The ACK message carries a NULL message body. A 4-bit acknowledgment sequence number (from 0...15) is carried in the LSEQ field 176 of the TBRPF message header 162. NACK:
Each NACK message is a 16-bit vector. Each bit indicates whether each of the last 16 messages prior to the 4-bit sequence number supplied in the LSEQ field 176 of the TBRPF message header 162 was received or lost. As described above, the LSEQ field 176 is set to the sequence number of the last broadcast message received from the neighbor node to which the
NACK is being sent.
NEW PARENT:
Fig. 8 A shows an embodiment of an exemplary format 186 for a NEW PARENT message. The format 186 includes one or more source node identity fields 188, 188', 188" (generally 188) and one or more corresponding sequence number fields 190, 190', 190"
(generally 190). Each source node identity field 188 holds a value (e.g., 32 bits) representing the
IPv4 address of that source node. Each sequence number field 190 holds a value (e.g., 16 bits) representing a sequence number for the corresponding source node. The Fig. 8A shows the message format for an even number of source nodes. Fig. 8B shows an alternative ending 192 for the NEW PARENT message format 186 for an odd number of source nodes.
CANCEL PARENT:
Fig. 9 shows an embodiment of an exemplary format 194 for a CANCEL PARENT message. The format 194 includes one or more source node identity fields 196, 196', 196"
(generally 196) for including the IPv4 address of eaph source node for which the CANCEL PARENT message applies.
HEARTBEAT:
In one embodiment, the HEARTBEAT message has an eight-bit length and holds a sequence number for the broadcast channel.
END OF BROADCAST: In one embodiment, the END_OF_BROADCAST message has an eight-bit length and holds a sequence number for the broadcast channel. Link-State Update Messages:
The TBRPF protocol provides two formats for two types of link-state update messages. One type of linlc-state update message, referred to as type LINK_STATE_UPDATE_A, includes a single sequence number for each source node, and is therefore used only if the updates for all links coming out of the same source have the same sequence number. (For example, periodic updates have this property.) This is done to reduce the message size. The second type of link- state update message, referred to as type LINK_STATE_UPDATE_B, includes a separate sequence number for each link. ;
Fig. 10A shows an embodiment of an exemplary format 198 for one type of link-state update message, LINK-STATE_UPDATE_A. The format 198 includes one or more link-state updates ("lsuA") 200, 200', 200" (generally 200). Each lsuA 200 represents an update message with respect to a particular source node and includes a source node identity field 202, 202', 202" (generally 202), a number of neighbor nodes field 204, 204', 204" (generally 204), and one or more neighbor node sections 206, 206', 206" (generally 206). For each neighbor node listed in a particular lsuA 200, each neighbor node section 206 includes a neighbor-node identity field 208, 208', 208" (generally 208), a sequence number field 210, 210', 210" for corresponding source nodes and neighbor nodes, and aiinlc metrics field 212, 212', 212" (generally 212) for that neighbor node.
The source node identity field 202 holds a value (e.g., 32-bits) for the IPv4 address of the corresponding source node. The number of neighbor nodes field 204 holds a value (e.g., 16 bits) representing the number of neighbor nodes of the corresponding source node. The neighbor- node identity field 208 holds the IPv4 address of a neighbor node of the corresponding source node. The sequence number field 210 holds a value (e.g., 16 bits) representing a sequence number for the corresponding source and neighbor node. The link metrics field 212 holds a value (e.g., 32 bits) representing the link metrics associated with the neighbor node of the corresponding source node.
Fig. 10B shows an embodiment of an exemplary format 220 for the second type of linlc- state update message, LINK-STATE_UPDATE_B. The format 220 includes one or more link- state updates ("IsuB") 222, 222', 222" (generally 222). Each IsuB 222 represents an update message with respect to a particular source node and includes a source node identity field 224, 224', 224" (generally 224), a number of neighbor nodes field 226, 226', 226" (generally 226), a sequence number field 228, 228', 228" (generally 228), and one or more neighbor node sections 230, 230', 230" (generally 230). For each neighbor node listed in a particular IsuB 222, each neighbor node section 230 includes a neighbor-node identity field 232, 232', 232" (generally 232), and a link metrics field 234, 234', 234' ' (geηerally 234) for that neighbor node.
The source node identity field 224 holds a value (e.g., 32-bits) for the IPv4 address of the corresponding source node. The number of neighbor nodes field 226 holds a value (e.g., 16 bits) representing the number of neighbor nodes of the corresponding source node. The sequence number field 228 holds a value (e.g., lόibits) representing a sequence number for the associated with the source and neighbor nodes. The neighbor-node identity field 232 holds the IPv4 address of a neighbor node of the source node. The link metrics field 234 holds a value (e.g., 32 bits) representing the link metrics associated* w h fjje, neighbor node of the corresponding source node.
RETRANSMISSION OF BROADCAST:
In brief, a RETRANSMISSION^OF_BROADCAST message provides the retransmission of a compound update message in response to a NACK message. This compound message may contain one or more atomic messages of type LINK_STATE_UPDATE_A or LINK_STATE_UPDATE_B concatenated together. Fig. 11 shows an embodiment of an exemplary format 240 of a RETRANSMISSION_OFJBROADCAST message including a message header 162'" and a compound message 180'. The message header 162'", like the message header 162 of the atomic message format 160 described above, includes a type filed
166', a mode field 170', a number of sources field 172', an offset field 174', and a link sequence number field 176'. The type field 166' is set to RETRANSMISSION_OF_BROADCAST (e.g.,
= 9), and the number of sources field 172' is set to 0. The offset field 174' is the offset (in bytes) from the O'th byte of the current compound message, header to the O'th byte of the next compound message header 162' in the RETRANSMISSION_OF_BROADCAST message 240. A 16-bit offset value enables concatenation of compound messages 180' up to 64 kilobytes in length. As described above, broadcast update messages can be retransmitted on unicast or broadcast channels. For retransmission pn a unicast channel, the mode field 170' is set to UNICAST (e.g., =0) and the atomic message header 162'" precedes the compound message 180' The LSEQ field 176' holds the sequence number corresponding to the unicast channel on which the message is sent. The LSEQ field 176 of each atomic message in the compound message 180' is the broadcast sequence number that was included in the original (broadcast) transmission of the message. Multiple RETRANSMISSION_OF_BROADCAST messages can be bundled into a compound message 1 ^0' as described above.
Selecting a Routing Path for Transmitting Packets
Routing protocols can also be classified according to whether they find optimal (shortest) routes or sub-optimal routes. By not requiring routes to be optimal, it is possible to reduce the amount of control traffic (including routing updates) necessary to maintain the routes. However, optimal routes are desirable because they minimize delay and the amount of resources (e.g., bandwidth and power) consumed. The TBRPF protocol computes optimal routes based on the advertised link states; however, the advertised link states themselves may be approximate in order to reduce the frequency at which each link is updated. In the full-topology embodiment of the TBRPF protocol, each routing node 14 has complete linlc-state information. Each routing node 14 then applies a path selection algorithm to compute preferred paths to all possible destinations, and to update these paths when link states are updated. One exemplary path selection algorithm is to apply Dijkstra's algorithm to compute shortest paths (with respect to cost, c) to all destinations. In other embodiments, the TBRPF protocol can employ any other path selection algorithm. Once preferred paths are computed, the routing table entry for node u is set to the next node on the preferred path to node u. If minimum-hop routing is desired, then the routing table entry for node u can be set to the parent
P_i(u). 2. Neighbor Discovery
Each routing node 14 running the TBRPF protocol uses a neighbor discovery protocol to detect the establishment of new links to new neighbor nodes and the loss of established links to existing neighbor nodes. In general, the neighbor discovery protocol dynamically establishes bidirectional links and detects bi-directional link failures through the periodic transmission of HELLO messages. The neighbor discovery protocol is both automatic and continuous, and may include a data link-to-IPv4 address resolution capability. Because the neighbor discovery protocol is responsible for both link state maintenance and data link-to-IPv4 address resolution in the subnet 10, the neighbor discovery protocol operates as a data-link-level protocol.
Fig. 12 shows an exemplary embodiment of a process 250 used by the nodes 18 to perform neighbor discovery. The process uses the following three types of control messages: HELLO, NEIGHBOR, and NEIGHBOR ACK. This embodiment of the neighbor discovery protocol operates as follows. Every each node i in the subnet periodically transmits (step 252) a HELLO message at predetermined (e.g.,t HELLO_INTVL = 0.5 seconds) timeout intervals. (The HELLO_INTVL value is common to all nodes 18 within the subnet 10, but different subnets may use different HELLO_INTVL values.) HELLO messages are sent to the data link level broadcast address and includes the identity of tiansmitting node i.
A node j receiving a HELLO message from a new neighbor, node i, responds (step 254) with a NEIGHBOR message containing the identity of node j, sending the NEIGHBOR message to the data link unicast address of the new neighbor node i. Then, upon receiving the
NEIGHBOR message, node i sends (step 256) a NEIGHBOR ACK to node j using the data link unicast address of node j. The NEIGHBOR ACK message contains the identity of node i. The NEIGHBOR and NEIGHBOR ACK messages also contain the current link-level sequence number for the broadcast channel (discussed below). Thus, a link from node i to node j is established by node i receiving a NEIGHBOR packet from node j, and a link from node j to node i is established by node j receiving a NEIGHBOR ACK packet from node i. The link to an existing neighbor is declared to be down if no traffic (including HELLO messages and ACKs) has been received from the neighbor node within a predetermined time interval (e.g., within the last LINKDOWNJNTVL = 2.0 seconds). Implementations of this embodiment of the neighbor discovery protocol should detect the event of a data link-to-IP address mapping change for existing links. This may occur in one of the following instances:
1. Two or more nodes in the subnet 10 are using the same IP address.
2. An existing node in the subnet TO has changed its data link layer address. 3. A new node is now using the IP address of a former node that may have left the subnet
10. In the first case, the implementation should print some form of "duplicate IP address detected" message to the console. In the second and third instances, the cached link state should be updated to reflect the new data link-to-IPv4 address mapping. Fig. 13 shows an exemplary embodiment of a packet format 260 for the HELLO,
NEIGHBOR, and NEIGHBOR ACK neighbor discovery protocol messages on the subnet 10.
The data link header for each message is not shown, since it is specific to the underlying data link layer. The eight-bit "Type" field 262 indicates the type of message. For example, each message can be identified by the following examples of values in the Type field 262:
HELLO 10
NEIGHBOR 11
NEIGHBOR_ACK 12
The eight-bit "BCAST Seq# field 264 indicates a sequence number from 0...15 (4 bits), used in NEIGHBOR and NEIGHBOR ACK messages as described above. The four address fields (sender hardware address 266; sender protocol address 268; target hardware address 270; target protocol address 272) facilitate the address resolution process. The fields 266, 268, 270, and 272 contain the following examples of values, based on the type of neighbor discovery message:
Message type is HELLO
Sender Hardware Address 266: data link address of sender Sender Protocol Address 268: IPv4 address of sender Target Hardware Address 270: data link broadcast address Target Protocol Address 272: unused
Message type is NEIGHBOR ' '*' " "'"' ll
Sender Hardware Address 266: data link address of sender Sender Protocol Address 268: IPv4 address of sender Target Hardware Address 270: sender H/W Address from received HELLO Target Protocol Address 272: sender IP Address from received HELLO
Message type is NEIGHBOR ACK
Sender Hardware Address 266: data link address of sender Sender Protocol Address 268: IP address of sender Target Hardware Address 270: sender H/W address from NEIGHBOR
Target Protocol Address 272: sender IP address from NEIGHBOR
Usage of the other fields 274, 276, 278, and 280 in the packet 260 are described "An Ethernet Address Resolution Protocol: Or Converting Network Protocol Addresses To 48.Bit Ethernet Addresses For Transmission On Ethernet Hardware," by David C. Plummer, Request for Comments (RFC) No. 826, November 1982. Reduced Overhead Hello Protocol
Another embodiment of the neighbor discovery protocol, hereafter referred to as Reduced Overhead Hello Protocol (ROHP), is suited for MANETs. As described further below, the ROHP is suited for MANETs because the protocol can operate correctly although an asymmetric (unidirectional) link may exist between any two nodes at any time, link states may change frequently due to node mobility and interference, and the channel may be noisy so that not all transmitted packets are successfully received by all neighbor nodes. An objective of ROHP is to allow each node 18 in the MANET 10 to quickly detect the neighbor nodes with which that node 18 has a direct and symmetric link, (i.e., a bi-directional link such that the node at each end of the link can hear the other node.) The ROHP also detects when a symmetric link to some neighbor no longer exists.
In brief overview, the ROHP reports each change in the state of a neighbor node (e.g., "heard", "symmetric", or "lost") in only the next K HELLO messages, where K is a small positive integer (e.g., K = 3 to 5) such that a node declares a neighbor to be "lost" if it does not receive any complete HELLO message from that neighbor node within a time period equal to K number of time intervals. Each time interval is hereafter referred to as HELLO_INTERVAL, which is for example 0.5 to 2 seconds. In contrast, each HELLO message of conventional neighbor discovery protocols (e.g., as in OSPF and OLSR (Optimized Link-State Routing Protocol)) includes the identities (or addresses) of all neighbors. Neighbor Table
Each node 18 maintains a neighbor table, which has an entry for each known neighbor node and stores state information for that neighbor node. An entry for neighbor node B, for example, contains the following variables: state(B): The current state ofthe link to neighbor node B, which can be "heard",
"symmetric", or "lost". hold_time(B): The amount of time (in seconds) remaining before state(B) must be changed to "lost" if no further complete HELLO message from B is received. counter(B): The number of subsequent HELLO messages that include the identity ofthe neighbor node B in the list corresponding to state(B).
The entry for neighbor node B may be deleted from the table if state(B) remains equal to
"lost" for a period not less than K * HELLOJNTERNAL.
Three possible states of a neighbor node B have the following meaning at node A:
"Heard": A complete HELLO message was received from neighbor node B within the last K * HELLO_IΝTERNAL seconds, but it is unknown whether neighbor node B can hear node A.
"Symmetric": Nodes A and B can hear each other.
"Lost": No complete HELLO message has been received from neighbor node B within the last K * HELLOJNTERNAL seconds. Sending HELLO Messages
Each node 18 sends a HELLO message periodically every HELLO_IΝTERNAL seconds, possibly with a small jitter to avoid repeated collisions. Because of message size limitations that may be imposed by the MAΝET 10, a HELLO message may be too large to send within one packet, in which case, the sending node 18 sends the HELLO message in multiple packets within a period equal to the HELLO_IΝTERNAL. Depending on the implementation ofthe ROHP, the receiving node may or may not be able to extract information from a partially received HELLO message.
A HELLO packet sent by a node' includes the following information:
1). The identity (e.g., IP address) ofthe sending node. 2). A list of all neighbor nodes that recently changed to the "heard" state. More specifically, a list of identities of neighbor nodes B such that state(B) = "heard" and counter(B) > 0.
3). A list of all neighbor nodes that recently changed to the "symmetric" state. More specifically, a list of identities of neighbor nodes B such that state(B) = "symmetric" and counter(B) > 0.
4). A list of all neighbor nodes that recently changed to the "lost" state. More specifically, a list of identities of neighbor nodes B such that state(B) = "lost" and counter(B) > 0.
Whenever a neighbor node B is included in one ofthe above three lists, counter(B) decrements by 1. As a result, each state change is included in at most K HELLO messages, and in some cases (as described below) is not included in any HELLO message. HELLO messages can also contain other information, as discussed below.
Receiving a HELLO Message
Fig. 14 shows an exemplary embodiment of a process by which each node 18 operating according to the ROHP neighbor discovery processes a received HELLO message. In step 288, a node (referred to as receiving node A) receives a partial or complete HELLO message.
Because a HELLO message must be transmitted within a time interval of length
HELLO_INTERNAL, the receiving node A declares the HELLO message to be partial if not all of its parts have been received within a time interval of this length. If the HELLO message is complete and an entry for neighbor node B does not exist in the table, the receiving node A creates (step 290) such an entry with state(B) = "lost". If the HELLO message is complete, receiving node A also sets (step 292) the variable holdJime(B) to K * HELLOJNTERVAL.
The value ofthe variable hold_time(B) decreases to 0 (expires) if no HELLO message from neighbor node B is subsequently received within K * HELLO_INTERVAL seconds. When hold_time(B) expires, the receiving node A sets state(B) to "lost" and counter(B) to K. This indicates that the receiving node A is to include the identity of node B is in the list of "lost" neighbor nodes in the transmission ofthe next K HELLO messages or until state(B) changes again (whichever occurs first). >
The receiving node A then performs (step 294) an action based on whether the received
HELLO message is complete, whether the receiving node A appears in a list within the received
HELLO message, and if so, which list, and the current state ofthe neighbor node B (i.e., state(B)). The actions performed by the receiving node A are summarized in Table 3 below.
TABLE 3
Figure imgf000051_0001
Accordingly, upon receiving a complete or partial HELLO message from neighbor node B, the action performed by the receiving node A is as follows. 1. If state(B) = "lost" and the HELLO message is complete, and if the message does not include node A in any list or includes node A in the "lost" list, then set state(B) to "heard" and counter(B) to K. If 'state(B) = "lost" and the HELLO message is complete, and if the message includes node A in the "heard" or "symmetric" list, then set state(B) to "symmetric" and counter(B) to K.
2. If state(B) = "heard" and the message includes node A in the "heard" list, then set state(B) to "symmetric" and counter(B) to K. If state(B) = "heard" and the message includes node A in the "symmetric" list, then set state(B) to "symmetric" and counter(B) to 0. (In this case, the receiving node A need not include node B in its HELLO messages, since both nodes A, B already know that the link is symmetric.)
3. If state(B) = "symmetric" and the message includes node A in the "heard" list and counter(B) = 0, then set counter(B) to K. If counter(B) > 0, then counter(B) need not be set to K, because the "heard" entry is just a repeat of one that was included in a recently received HELLO message from B. If state(B) = "symmetric" and the message includes node A in the "symmetric" list, then set counter(B) to 0. (Both nodes know that the link is symmetric.) If state(B) = "symmetric" and the message includes receiving node A in the "lost" list, then set state(B) to "heard" and counter(B) to 0. (node B cannot hear node A, but node A can hear node B.),
Note that a complete HELLO message must be received in order to create a new entry in the
■i neighbor node table or to change the state of a neighbor node from "lost" to "heard" or to
"symmetric." This prevents the creation of a link that has poor quality.
Variations of ROHP
In other embodiments, HELLO messages can be augmented to include enough information to inform each neighbor node ofthe set of neighbor nodes with which the sending node has symmetric links. This can be accomplished by setting the counter(B) to K, rather than to 0 (see case 2 above), so that node B is included in the "symmetric" list ofthe next K HELLO messages, even though nodes A and B already know that the link between them is symmetric.
In addition, node A can inform any new neighbor node ofthe set of neighbor nodes with which node A has symmetric links. Node A can distribute this information by (a) including the set of all neighbor nodes to which symmetric links exist in the next K HELLO messages, whenever the state ofthe new neighbor node changes to "symmetric"; or (b) sending this information in a separate message that is unicast reliably to the new neighbor node.
HELLO messages can also be augmented to include other information, such as link metrics, sequence numbers, states of non-adjacent links, time stamps, designated routers, special relays, and other data.
The ROHP can be used in conjunction with any routing protocol that uses HELLO messages for neighbor discovery, such as TBRPF (described herein), OSPF, and OLSR. An advantage ofthe ROHP over existing neighbor discovery protocols, such as those discovery protocols used within OSPF and OLSR,jis that ROHP employs HELLO messages that on average are smaller than such neighbor discovery protocols because each neighbor state change observed by a node is included in at most K HELLO messages (unlike OSPF and OLSR), resulting in reduced communications overhead and bandwidth consumption. In addition, because HELLO messages are smaller, they, can be%' sent more frequently, resulting in a faster detection of topology changes. 3. IPv6-IPv4 Compatibility Address Format
Referring back to the subnet 10 in Fig. 1, assume, for example, that the nodes 18 of subnet 10 belong to one domain, and that the gateway 16 is the border gateway 16 for that domain. Assume also that both the IP host A 12 and the gateway 16 are IPv6 nodes 18, and that the other nodes 18 in the subnet 10 are IPv4 nodes, without any IPv6 routing capability. Any route talcen by packets sent by the IP host A 12 to the server 40 on the Internet 30 necessarily traverses IPv4 infrastructure to reach the gateway 16. To communicate across the subnet 10 with the heterogeneous IP infrastructure, the IP host 12 and the gateway 16 use an aggregatable, global, unicast addresses, hereafter referred to as an "IPv6-IPv4 compatibility address." The use of IPv6-IPv4 compatibility addresses enables IPv6 nodes (1) to forward IPv6 packets across native IPv6 routing infrastructure or (2) to automatically tunnel IPv6 packets over IPv4 routing infrastructure without requiring a pre-configured tunnel state. A routing node 14 with an IPv6- IPv4 compatibility address can serve as a router for nodes 18 with native IPv6 addresses (i.e., IPv6 addresses that are not IPv6-IPv4 compatibility addresses) connected to the same link. On behalf of such native IPv6 nodes, the IPv6-IPv4 routing node 14 can automatically tunnel messages across the IPv4 infrastructure ofthe subnet 10 to reach the border gateway 16.
Fig. 15A shows an exemplary embodiment of a format 300 for IPv6-IPv4 compatibility addresses. The format 300 includes a 64-bit address prefix 302 and a 64-bit interface identifier 304. The address prefix 302 specifies a standard 64-bit IPv6 routing prefix, such as that described in the Internet RFC (request for comment) #2374. The address prefix 302 includes a 3-bit Format Prefix (FP) 303, which for all IPv6~lPv4 compatibility addresses is set to "001", and aggregation identifiers 305. Consequently, the format prefix 303 and the topologically correct aggregation identifiers 305 ofthe IPv6-IPv4 compatibility addresses are the same as those of IPv6 addresses assigned to IPv6, nodes, enabling IPv6 nodes to route IPv6 packets using IPv6-IPv4 compatibility addresses across IPv6 infrastructure. The 64-bit interface identifier 304 is a specially constructed 64-bit global identifier interface identifier (i.e., 64-bit EUI-64).
Fig. 15B shows an embodiment ofthe interface identifier 304 including a 24-bit company identifier 306 concatenated with a 40-bit extension identifier 308. In one embodiment, the 24-bit company identifier 306 is a special IEEE Organizationally Unique Identifier (OUI) reserved by the Internet Assigned Numbers Authority (IANA) for supporting the IPv6-IPv4 compatibility addresses. The IEEE Registration Authority (IEEE/RAC) assigns the OUI to an organization and the organization owning that OUI typically assigns the 40-bit extension identifier 308. In
Fig. 15B, the string of 'c's represents the company-specific bits ofthe OUI, the bit 'u' represents the universal/local bit, the bit 'g' represents the individual/group bit and the string of 'm's are the extension identifier bits. Here, when the bit V equals 1, the scope ofthe address is global and when the bit 'u' equals 0, the scope is local.
To support encapsulation of legacy IEEE EUI-48 (24-bit) extension identifier values, the first two octets ofthe 40-bit extension identifier 308 (i.e., bits 24 through 39 ofthe address) are set to OxFFFE if the extension identifier 308 encapsulates an EUI-48 value. Further, the first two octets ofthe extension identifier 308 are not set to OxFFFF, as this value is reserved by the IEEE/RAC. All other 40-bit extension identifier values are available for assignment by the addressing authority responsible for a given OUI. Thus, as described further below, the IPv6- IPy4 compatibility address format 300 enables embedding an IPv4 address in an IPv6-IPv4 compatibility address without sacrificing compliance with the EUI-64 bit format.
Fig. 15C shows an embodiment ofthe interface identifier 304 including an OUI field 306, a type field 310, a type-specific extpnsion field (TSE) 312, a type-specific data field (TSD) 314. As shown, the OUI field 306 includes the OUI of IANA, (e.g., 00-00-5E), with 'u' and 'g' bits. The type field 310 indicates how the TSE 312 and TSD 314 fields are interpreted; in general, the type field 310 indicates whether the interface identifier 304 encapsulates an IPv4 address that is suitable for automatic intra-subnet IPv6-in-IPv4 tunneling. Table 1 shows the interpretations of TSE and TSD for various values In the type field 310:
TABLE 1
Figure imgf000055_0001
TABLE 2
Figure imgf000056_0001
Thus, if an IPv6-IPv4 compatibility address has TYPE=0xFE, the TSE field 312 is treated as an extension ofthe TSD field 314, which indicates that the IPv6-IPv4 compatibility address includes a valid IPv6 prefix and an embedded IPv4 address. If the IPv6-IPv4 compatibility address has TYPE=0xFF, the TSE field 312 is treated as an extension ofthe TYPE field 310. When TSE = OxFE, the TSD field 314 includes a 240bit EUI-48 interface identifier. Thus, the IPv6-IPv4 compatibility address format 300 conforms to all requirements of a 64-bit global identifier (i.e., the EUI-64 format) and supports encapsulation of EUI-48 interface identifiers (i.e., when TSE = OxFE). For example, an existing IANA EUI-48 format multicast address such as:
01-00-5E-01-02-03 is written in the IANA EUI-64 format as:
01 -00-5E-FF-FE-01 -02-03. Other values for TYPE and, hence, other interpretations oi the TSE and TSD fields 312, 314 are reserved for future use.
Fig. 15D shows a specific example of an IPv6-IPv4 compatibility address 316 for a node 18 with an IPv4 address of 140.173.189.8. This IPv4 address may be assigned an IPv6 64-bit address prefix 302 of 3FFE:la05:510:200::/64. Accordingly, the IPv6-IPv4 compatibility address 316 for this IPv4 node is expressed as: 3FFE:la05:510:200:0200:5EFE:8CAD:8108
In an alternative form, the IPv6-IPv4 compatibility address 316 with the embedded IPv4 address is expressed as:
3FFE:la05:510:200:0200:5EFE:;140.173.189.8 Here, the least significant octet ofthe OUI (02-00-5E) in the interface identifier 304 is 0x02 instead of 0x00 because the bit 'u' is set to 1 for global scope.
Similarly, the IPv6-IPv4 compatibility addresses for the link-local and site-local (i.e., within the subnet 10) variants, respectively, of are: FE80::0200:5EFE:140.173.189.8
FEC0::200:0200:5EFE:140.173.189.8
As previously noted, the IPv6-IPv4 compatibility address format 300 enables IPv6 nodes to tunnel IPv6 packets through a one-time IPv6-in-IPv4 tunnel across IPv4 routing infrastructure. Fig. 15E shows an embodiment of a packet header 320 used for tunneling IPv6 packets using IPv6-IPv4 compatibility addresses across IPv4 routing infrastructure. In this embodiment, the header 320 includes a 20-byte IPv4 header 322 andLa.4.0-byte IPv6 header 324. The IPv6 header 324 includes an IPv6 address 329 of the, node that is the source ofthe IPv6 packet and an IPv6- IPv4 compatibility address 316 associated with the final IPv6 destination node. The IPv4 header 322 includes the IPv4 address 326 ofthe dual-stack node that "re-routes" the IPv6 packet by tunneling the IPv6 packet through the IPv4 routing infrastructure. The IPv4 header 322 also includes the IPv4 address 328 of an IPv4 destination node that typically is the same as the IPv4 address embedded within the IPv6 destination address' IPv6-IPv4 compatible interface identifier 304. Alternatively, the IPv4 address 328 can be the IPv4 address 328 ofthe next-hop IPv6 gateway that has a path to the final IPv6; destination address and, therefore, can forward the IPv6 packet towards the final IPv6 destination node.
Upon receiving the tunneled IPv6 packet, the IPv4 destination node determines that the IPv6 header 324 includes an IPv6-IPv4 compatibility address 316 and can route the IPv6 packet to the IPv6 destination node identified by that IPv6-IPv4 compatibility address. Address Aggregation *
One advantage of embedding an IPv4 address in the interface identifier 304 of an IPv6 address is that large numbers of IPv6-IPv4 compatibility addresses 316 can be assigned within a common IPv6 routing prefix 302, thus providing aggregation at the border gateway 16. For example, a single 64-bit IPv6 prefix 302 for the subnet 10, such as 3FFE:la05:510:2418::/64, can include millions of nodes 18 with unique IPv4 addresses embedded in the interface identifier
304 ofthe IPv6-IPv4 compatibility addresses. This aggregation feature allows a "sparse mode" deployment of IPv6 nodes throughout a large Intranet comprised predominantly of IPv4 nodes.
Globally and Non-Globally Unique IPv4 addresses Another advantage is that IPv6-IPv4 compatibility addresses 316 support subnets that use globally unique IPv4 address assignments and subnets that use non-globally unique IPv4 addresses, such as when private address assignments and/or network address translation (NAT) are used. Non-globally Unique IPv4 addresses IPv4 addresses need not be globally unique but may be allocated through a private network-addressing scheme that has meaning only within the context of that domain. IPv6-IPv4 compatibility addresses for private IPv4* addresses set the 'u' bit to 0 for local scope. For example, a node with the private, non-globally unique IPv4 address 10.0.0.1 can be assigned the IPv6-IPv4 compatibility address of 3FFE:la05:510:200:0000:5EFE:10.0.0.1, which uses the same example IPv6 64-bit prefix and IANA OUI (00-00-5E) described above with the 'u' bit in the EUI-64 interface identifier indicating that this is a local address Routing with IPv6-IPv4 Compatibility Addresses
By embedding an IPv4 address in the interface identifier 304 of an IPv6-IPv4 compatibility address 316, IPv6 packets. can be routed globally over the IPv6 infrastructure or tunneled locally across portions ofthe IPv4 infrastructure ofthe subnet 10 that have no IPv6 routing support. Thus, the compatibility-addressing scheme supports heterogeneous IPv6/IPv4 infrastructures in transition with incremental deployment of IPv6 nodes within the subnet 10.
Intra-domain Routing Fig. 16 shows an exemplary embodiment of an intra-domain routing process 330 by which a routing node 14, configured with IPv6 and IPv4 routing tables, routes a packet having the IPv6-IPv4 compatibility address. Upon receiving the packet, the routing node 14 has IPv6 node software that checks (step 332) for the special IETF OUI 306 and the type field 310 encapsulated in the interface identifier 304. If the software finds the special OUI 306 and the value of OxFE in the type field 310, this means that the received packet has an IPv6 prefix and an embedded IPv4 address.
The routing node 14 then determines (step 334) if any IPv6 routing information leads to the destination node 18; that is, if the IPv6 routing table has an entry for 'default' (i.e., the default gateway) or for the IPv6 prefix ofthe destination node 18. If such an entry is found, the router 14 determines (step 336) whether there is a path through IPv6 routing infrastructure to the gateway 16 for the IPv6 prefix ofthe destination node 18. If there is such an IPv6 path, then the router 14 sends (step 338) the packet as an IPv6 packet to the IPv6 gateway 16 for that IPv6 prefix.
If no such IPv6 path to the gateway 16 through IPv6 routing infrastructure exists, the routing node 14 construes (step 340) the last four bytes ofthe extension identifier 308 as an IPv4 address embedded in the IPv6-IPv4 compatibility address. The routing node 14 then determines (step 342) if the IPv4 routing table includes an entry for a prefix ofthe embedded IPv4 address ofthe destination.
Upon finding such an entry, the routing node 14 encapsulates (step 342) the IPv6 packet for tunneling through the IPv4 routing infrastructure using the embedded IPv4 address as the destination for the tunneled packet. (The general format for an encapsulated packet is shown in
Fig. 15E.) One technique for automatically tunneling the IPv6 packet is described in "Transition
Mechanism for IPv6 Hosts and Routers," by R. Gilligan and E. Nordmarlc, draft-ietf-ngtrans- mech-04.txt (work in progress). This technique can also be applied to the IPv6-IPv4 compatibility address. This implies that the gateway 16 also uses IPv6-IPv4 compatibility addresses.
Inter-domain Routing:
Globally Unique IPv4 Addresses without Privacy Concerns
Where nodes 18 within an heterogeneous IPv6/IPv4 subnet 10 use globally unique IPv4 addresses and where no privacy concerns exist regarding exposure of internal IPv4 addresses to the public Internet, messages may be routed across domain boundaries using the same routing process 330 described above in Fig. 16. , Globally Unique IPv4 Addresses without Privacy Concerns
One advantage ofthe IPv6-IPv4 compatibility address format 300 is that the format 300 does not necessarily expose the true identification ofthe sending node, if an administrative authority for the subnet 10 wishes to enforce a policy of not exposing internal IPv4 addresses outside ofthe subnet 10. To accomplish this, the administrative authority configures the border gateway 16 ofthe subnet 10 to perform a type of "reverse network address translation," which transforms the IPv6-IPv4 compatibility address interface identifier 304 with embedded IPv4 address ofthe sending node into an anonymous ID for inter-domain routing outside the subnet 10. Within the subnet 10, the fully qualified IPv6-IPv4 compatibility address interface identifier 304 with the embedded IPv4 address ofthe sending node is still used to enable automatic IPv6- in-IPv4 tunneling, and the intra-domain routing of IPv6 packets follows the process 330 described above. In one embodiment, the border gateway 16 advertises an IPv6 prefix 302 of 2002::/16 and the IPv6 prefix 302 of 2002:V4ADDR 48 where' V4ADDR' is the globally unique embedded IPv4 address ofthe border gateway 16. IPv6-IPv4 compatibility addresses within the subnet 10 are constructed as the concatenation of a'2002:V4ADDR/48 prefix, a 16-bit SLA ID,
5 and a 64-bit EUI64 interface identifier 304 as described above.
For example, if the IPv4 address ofthe border gateway is 140.173.0.1, the IPv4 address ofthe IPv4 node within the subnet 10 isT40.173.129.8 and the node resides within SLA ID 0x001, the IPv6-IPv4 compatibility address 316 within the subnet is constructed as:
2002:8CAD: 1 : 1 :0200:5EFE:8CAD:8108, 10 where the '2002: ' is a predetermined prefix associated with the reverse network address translation; the '8CAD:1:' is the IPv4 address (140.173.0.1) of the border gateway 16; the second ' 1 :' is the SLA ID; the '0200.5EFE' is the IANA-specific OUI (with the 'u' bit set to global scope and the type field 310 indicating that the compatibility address includes an embedded IPv4 address; and the '8CAD:8108' is the embedded IPv4 address (140.173.129.8) of 15 the internal IPv4 node.
The border gateway 16 performs- "reverse network address translation" using an identifier not vulnerable to eavesdropping. The border gateway 16 maintains a mapping ofthe identifier to the actual IPv4 address ofthe IPv4 node- in order to map messages from destinations back to the actual IPv4 node within the subnet 10. For example, if the border gateway 16 replaced the IPv4 20. address 140.173.129.8 with the identifier value: 0x00000001, the IPv6-IPv4 compatibility address outside the subnet 10 is constructed as:
2002:8CAD: 1 : 1 :0000:5EFE:0:1
Here: again the least significant octet ofthe EUI-64 interface identifier 304 has the 'u' bit set to 0 to indicate that the embedded IPv4 address is not globally unique. The IPv6-in-IPv4 tunneling for inter-domain routing then derives the IPv4 source address from the IPv4 address ofthe numerous separate tunnel transitions for an IPv6 packet traveling from a sending node to a destination node. The transitions include (1) intra-domain tunnels from the IPv6 sending node through routers along the path to the border gateway for its domain, (2) inter-domain tunnels from the sending node's border gateway through other transit routers along the path to a border gateway for the destination, and (3) intra-domain tunnels from the destination node's border gateway through intra-domain routers along the path to the destination node itself. Thus, IPv4 addresses within the subnet are exposed across the public Internet 30.
Non globally unique IPv4 addresses Embodiments ofthe subnet 10 that use private, non-globally unique IPv4 addresses require a border gateway 16 that implements an inter-domain routing function as described above. For example, if the IPv4 address; of the border gateway 16 is 140.173.0.1, the IPv4 address of an IPv4 node within the subnet 10 is 10.0.0.1, and the IPv4 node resides within SLA ID 0x001, the IPv6-IPv4 compatibility address within the subnet 10 is constructed as: 2002:8CAD:1:1:0000:5EFE:OAOO:1, where again the least significant octet ofthe EUI-64 interface identifier 304 has the 'u' bit set to 0 to indicate that the embedded IPv4 address '0A00:1' (10.0.0.1) is not globally unique.
The administrative authority for such embodiments ofthe subnet 10 may institute a policy that permits exposing non-globally unique IPv4 addresses to the public Internet 30. In this case, the reverse network address translation is unnecessary, but might be used to protect against eavesdropping on the non-globally unique addresses.
Additional Routing Considerations
In a different embodiment than that described in Fig. 16, each host 12 or router 14 that sends an IPv6 packet to an IPv6-IPv4 compatibility destination address follows the following process: If the 64-bit IPv6 prefix ofthe IPv6-IPv4 compatibility destination address matches the
64-bit IPv6 prefix of one ofthe network interfaces, tunnel the packet through IPv4.
Otherwise, route the packet through IPv6.
From the above sending process, a sending node that does not have an interface which shares a common 64-bit routing prefix with the packet's IPv6-IPv4 compatibility destination address sends the packet to the next-hop gateway determined by an IPv6 routing table lookup. In short, when a sending node does not have an interface which shares a common 64-bit (site-level) routing prefix with an IPv6-IPv4 compatibility destination address, the sending rule is identical to that for a native IPv6 destination address. This decision is independent of whether the sending node has an IPv6-IPv4 compatibility address itself, or whether the sending node even comprises a dual-stack configuration. The sending node can be a native IPv6 node with no legacy IPv4 support.
When a sending node has an interface which shares a common 64-bit routing prefix with an IPv6-IPv4 compatibility destination address, the sending node must assume that the destination is not directly reachable at the data-link level, although the shared site-level routing prefix implies otherwise. Instead, if the .sending node comprises a dual-stack configuration, it automatically tunnels the IPv6 packet to the IPv4 address embedded within the IPv6-IPv4 compatibility destination address' interface identifier. If the sending node is an IPv6-only node that does not comprise a dual-stack configuration, however, it has no means for automatically tunneling the packet via IPv4. In this case:
If the sending node is the host that originatqs the packet, the sending node sends the packet to a router that lists the 64-bit prefix in its router advertisements. If no such router exists, the sending node should drop the packet and return a "No route to host" error indication to the originating application. If the sending node is a router that forwards the packet, the sending node drops the packet and sends an ICMPv6 "Destination
Unreachable" message to the source By implication, the scheme breaks down if a packet with an IPv6-IPv4 compatibility destination address reaches an IPv6-only router that has an interface that shares a common 64-bit routing prefix with the IPv6-IPv4 compatibility destination address. Additional mechanisms to address this issue may be possible, such as allowing dual-stack routers to advertise 96-bit prefixes which incorporate the special 32-bit EUI-64 interface identifier prefix: 0200:5EFE. A sending node can then interpret such an advertisement to mean that the advertising router comprises a dual stack and is capable of intra-site IPv6-in-IPv4 tunneling. Incremental IPv6 Deployment Examples
When deploying an IPv6 node in a subnet that is predominantly IPv4, the embedded IPv4 address within an IPv6-IPv4 compatibility assigned to that IPv6 node does not need to be globally unique. The embedded IPv4 address needs only be topologically correct for and unique within the context of that subnet 10. Also, when deployed in a predominantly IPv4 subnet, the deployed IPv6 node is unlikely to share a common multiple access data-link with an IPv6 router 14 in the subnet. Because the IPv6 node does not share a common multiple access data-link with the IPv6 router, no router advertisements are available. IPv6-IPv4 compatibility addresses enable the IPv6 node to join the global IPv6 network (i.e., on the Internet 30) by automatically tunneling IPv6 messages through the intra-site IPv4 routing infrastructure. For this purpose, the deployed IPv6 node requires two pieces Jof static configuration information: the 64-bit IPv6 network prefix for the subnet 10 and the IPv4 address ofthe dual-stack IPv6 gateway 16 servicing the subnet 10. No other pre-c nfigured tunnel state information is required.
For example, consider a researcher who wishes to configure IPv6 on his existing IPv4- based workstation, but the network administrators for the subnet 10 have not yet configured an IPv6 router for the workstation's LAN. The researcher is aware of a dual-stack IPv6 router elsewhere within the subnet 10 (which may be several IPv4 router hops away from his workstation's LAN) and sets the 64-bit IPv6 address prefix and IPv4 address ofthe router as configuration information on his workstation.
This configuration information is used to construct two IPv6-IPv4 compatibility addresses. One is the concatenation ofthe IPv6 prefix and the IPv4 address ofthe router to construct the IPv6-IPv4 compatibility address for the router. The researcher's workstation uses this IPv6-IPv4 compatibility address ofthe router as its default IPv6 gateway address. The second address is the concatenation ofthe IPv6 prefix and the IPv4 address ofthe researcher's workstation to construct the IPv6-IPv4 compatibility address which the workstation uses as its own IPv6 source address. The researcher's workstation can now access the global IPv6 Internet 30 by first tunneling messages through the subnet-local IPv4 routing infrastructure to the IPv6 router. The IPv6 router then routes the IPv6 messages. No static configuration information is needed on the IPv6 router on behalf of the researcher's workstation.
As another example, a network administrative authority wishes to configure IPv6 on an existing IPv4 subnet under their jurisdiction, but the subnet is separated from the IPv6 border gateway 16 for the subnet by other IPv4 subnets, which are not ready for IPv6 deployment. The administrator configures a dual-stack IPv6 router (or routers) for his administrative domain by arranging for SLA (site-level aggregation)-based subnet allocation(s) from the owner ofthe IPv6 border gateway for the subnet. The administrator further sets the 64-bit IPv6 address prefix and IPv4 address ofthe border gateway as configuration information on his router. The router(s) for the administrative domain can now access the global IPv6 Internet by first tunneling messages through the site-local IPv4 routing domain to the IPv6 border gateway for the site. Hosts and/or other IPv6 routers which share a common multiple access data-link with the router receive router advertisements from which they can construct native IPv6 addresses with topologically-correct 64-bit prefixes and interface identifiers via address auto-configuration. The IPv6 border gateway for the site need only have routing information that points to the router(s) for the SLA-based subnet allocations.
Automatic Deprecation
As seen in the above deployment examples, the IPv6-IPv4 compatibility address format enables incremental IPv6 deployment for hosts and routers within sites that have incomplete or "sparse" IPv6 coverage at the network infrastructure level. In general, IPv6-IPv4 compatibility addresses are intended for use by nodes 18 that do not receive router advertisements because such nodes 18 do not share a common multiple access data-link with an IPv6 router. When router advertisements become available," such as when an IPv6 router is deployed on a common multiple access data-link shared by the riode 18, the node 18 can discontinue use of its IPv6-IPv4 compatibility address and adopt an IPv4 unicast address using address auto-configuration for a prefix discovered through router discovery. In this way, IPv6-IPv4 compatibility addresses can gradually and automatically disappear as IPv6 nodes become widely deployed within the subnet 10. The following automatic deprecation rule for hosts and routers using IPv6-IPv4 compatible addresses can be used to transition from the use of IPv6-IPv4 compatibility addresses:
While no IPv6 router advertisements are received, continue to use the IPv6-IPv4 compatibility address. If router advertisements ensue, discontinue use ofthe IPv6-IPv4 compatibility address and construct a native IPv6 address based on prefix information carried in the router advertisements. Address Selection
To ensure efficient routing within the destination's subnet when multiple IPv6 destination addresses alternatives are available, a "second-tier" address selection policy is used for choosing between an IPv6-IPv4 compatibility addresses and a native IPv6 address. If multiple alternatives remain after address selection has been applied on the 64-bit routing prefixes, and if at least one ofthe remaining alternatives is constructed with a native IPv6 interface identifier (one that does not contain an embedded IPv4 address), select a native IPv6 address. Otherwise, select an IPv6-
IPv4 compatible address.
4. Updating Information upon Resuming Interrupted Communications
Referring again to Fig. 1, assume that the mobile node 12, hereafter "client 12", and the server 40 are communicating over a route or path through the subnet 10 that includes one or more wireless links. Movement by the client 12 or by another node 14 in the subnet 10 may cause the client 12 to move in and out of communication range ofthe subnet 10. For example, the client 12 may move to a new position in the subnet 10 (as indicated by arrow 27) or to the foreign subnet 20 (as indicated by arrow 29). While moving, the client 12 may break current a communication link (e.g., link 24) to the subnet 10 and be out of range of all routing nodes 14 within the subnet 10. As another example, the node B may move out of range ofthe client 12, placing the client 12 out of range ofthe subnet 10- if the client 12 is not within range of another routing node 14 in the subnet 10. Consequently, the client 12 is not communicating with the server 40 and may not access information, particularly updated information, from the server 40. The inability to obtain updated, timely information may cause resources associated with the client 12 to be inefficiently used and adversely affect the operation ofthe client 12.
To lessen any adverse impact of client movement, the client 12 and the server 40 can (1) use message queues to store communications affected by an interruption for subsequent transmission if communications between the client 12 and the server 40 are resumed; and (2) use bandwidth adaptation techniques to maintain a pejsjstent connection between the client 12 and the server 40 although a route between the client 12 and the server 40 is momentarily lost. Message Queues
The client 12 may register an interest in certain data on server 40. In one embodiment, the data are an object. Objects, as will b4e appreciated by those skilled in the art, are generally programming units that include data and functionality, and are instances of classes. For example, the client 12 may be interested in updated information pertaining to particular objects.
In one embodiment, server 40 may also include meta-objects, which are objects that have no physical representation, and are classes with methods and attributes that serves as a factory to create new objects. Meta-objects may not be instantiated, (i.e., meta-objects generally do not provide a representation of a physical object). Instead, meta-objects may serve as templates from which objects that represent physical objects are constructed.
The client 12 maintains local copies of objects on the server 40 and updates these objects, as necessary, when communicating with the server 40. Relevant objects associated with the server 40 may be replicated, (i.e., databases associated with server 40 may be replicated), on the client 12 to provide the client 12 with the local copies of objects. Local copies provide the client 12 with access to relatively up-to-date information should the client 12 move out ofthe communications range ofthe subnet 10, .interrupting communications with the server 40. While the linlc 24 is broken, the local copies ofthe objects, which are active entities, can continue to run on the client 12. Then when the client 12 moves back into the communications range of subnet 10 or the subnet 20 and reestablishes communications with the server 40 over the same or a different route, the server 40 can provide the client 12 with updated, or current, information. That is, the server 40 may update the loςal copies ofthe objects that are present on the client 12 in, for example, a local cache.
In general, because communications between the server 40 and the client 12 are synchronous, the server 40 is aware of all objects that are associated with the client 12. Server 40 may then be able to save state information associated with the client 12. Therefore, server 40 may restore the current state ofthe client 12 as appropriate (e.g., when lost link 24 is reestablished). It should be appreciated, however, that server 40 is generally not aware of any semantics with regards to objects. Rather, the server 40 is only aware that objects have been updated, and, further, that the corresponding updates should be forwarded to the client 12 as appropriate.
Server 40 includes an object list that is a list of all objects associated with the server 40 and which are to be updated. In other words, the object list is a queue of object updates. The client 12 may communicate substantially with the server 40 after the client 12 is registered with respect to server 40. That is, client 12 may send commands to server 40. In one embodiment, such commands include lists of topics in which the client 12 is interested. The server 40 may send update messages to the client 12 to indicate that certain objects on the client 12 should be updated such that the states ofthe objects on the client 12 are consistent with the states ofthe corresponding objects on the server 40. The client 12 also includes an object list, (i.e., a client object list), that contains substantially all objects that are associated with the client 12. In general, the new client object list contains all objects, which are associated with the server 40 and which the client is "interested" in. v
The client 12 communicates with the server 40 over a route (or path) through the subnet 10 or subnet 20 determined by the routing nodes 14. The client 12 may transmit data to the server 40 directly or through a message queue. The client 12 queues data on the message queue when, for example, data has been modified and is to be sent to the server 40. Specifically, when the client 12 creates or modifies data, the data is sent to the server 40 through the message queue. The communications between the client 12 and the message queue may, in the described embodiment, be performed using a potentially unreliable communications link (e.g. , wireless link), while the communications between the message queue and server 40 are typically more reliable, (e.g., wired link).
Data is placed on the message queue by the client 12, and is removed from the message queue by the server 40 or, more specifically, communications software associated with server 40. Data is removed from the message queue after it has been successfully received by the server 40. When the client 12 creates data (e.g., objects), the client 12 typically associates that data with a unique identifier that is used by the client 12 and the server 40 to identify that data. One example of a unique identifier is a timestamp. The associated timestamp is updated each time the data are updated or modified by the client 12. A timestamp essentially prevents data conflicts from arising when more than one client attempts to modify that data at a given time. Specifically, timestamps are monotonically increasing such that substantially no data conflicts between unique identifiers can arise. Other embodiments use different mechanisms to uniquely identify data, such as an authorization level that is associated with the users of a particular client; a priority level that is associated with the particular type of data, and the order in which the data are received (e.g., LIFO, FIFO).
Similarly, the server 40 can communicate directly to the client 12 or through a message queue (s), or lists, for storing objects in which the client 12 has indicated an interest. The message queue(s) can be part of or separate from the server 40. Hence, data may be transmitted to the client 12 from the server 40 through such message queues. In other words, the server 40 may use substantially the same heuristics as the client 12 for sending data. Data is placed on the message queue by the server 40 and removed from the message queue by the client 12. Again, data is removed from the message queue when the client 12 has successfully received previously removed data. 5. Adaptive Use of Network Bandwidth In general, within the subnet 10, which includes wireless links, a variety of different failures can interrupt or cause a communications outage. For example, a failure may be due to a hardware problem at either the client 12;or the server 40. A failure may also be the result of a software problem, (e.g., data may be successfully received but acknowledgement ofthe receipt may fail). Failures may also occur because of problems with links, as mentioned previously. Such failures may include a failure of any link on a route between the client 12 and the server 40.
It should be appreciated that in some cases, more then one failure may occur at any given time.
To adaptively handle interruptions in communications between the client 12 and the server 40, the internetworking system 2 may run diagnostics to determine the cause ofthe interruption. After the cause is determined, the system 2 makes corrections that restore communications. Depending upon current system parameters, such adaptive corrections include, but are not limited to attempting (1) to reestablish the same interrupted connection between the client 12 and the server 40, (2) to establish a connection between the client 12 to a redundant server, or (3) to establish a new connection between the client 12 with the server 40. Other techniques used alone or in combination with the aforementioned corrections include varying and/or increasing the waiting period between unsuccessful attempts to establish a connection the client 12 and the server 40 and adjusting the length;qf transmitted packets. Such techniques can be used in response to current bandwidth conditions in the subnet 10.
When a "network dropout" occurs in the subnet 10, (e.g., when the client 12 or the server 40 appears to be out of communication with the subnet 10), standard client-server systems, such as those based upon TCP/IP, typically operate under the assumption that the failure is due to network congestion. As will be understood by those skilled in the art, although a network dropout in a low-bandwidth, wireless subnet may indeed occur as a result of network congestion, the network dropout may also occur for a variety of other reasons including, but not limited to, packet loss due to coverage problems.
Packet loss associated with a network typically involves either the failure of transmission of a packet of data or the loss of some ofthe data transmitted in a packet. Although packet losses can occur for any number of reasons, packet losses often occur when the client 12 is at least temporarily out of range ofthe subnet 10 or when a communication link in the route between the client 12 and the server 40 is temporarily interrupted. By counting the number of packets sent and the total number of packets acknowledged, the packet loss in a system may be determined. Measuring packet loss enables the manner in which packets are resent or rebroadcast to be dynamically changed such that the resending of packets is substantially optimized with respect to the network. The internetworking system 2 can use the measure of packet loss to determine the length of packets that are transmitted between the client and the server 40. For example, if packets with lengths of 1000 bytes experience a 15% packet loss, and packets with lengths of 100 bytes experience a 1% packet loss, then the client 12 and server 40 can tune the length of transmitted packets to minimize the percentage of packets that fail to reach their destination. A factor in determining the packet length is the tradeoff between data throughput and the percentage of packet loss. That is, the smaller the packet length, the greater the percentage of packets that reach their destination, but the lower the* percentage of payload (i.e., data) transmitted in each packet because each packet also carries a number of overhead bits.
Also, the client 12 and the server 40 can dynamically adjust the packet length based upon packet loss measurements that are taken periodically. The client 12 and/or the server 40 can make such packet length adjustments. Further, the, client 12 can use a packet length that differs from the packet length used by the server 40; packets transmitted from the client 12 to the server 40 may take a different route with differ'ent bandwidth capabilities than packets transmitted from the server 40 to the client 12. . When a network dropout occurs due to network congestion, repeated attempts may be made to reconnect a "dropped out" client 12 or. server 40 to the subnet 10. If a network dropout occurs due to packet loss and attempts are made to reconnect the client 12 or the server 40 to the subnet 10, the overall performance ofthe subnet 10 may degrade to a point where the overall performance ofthe subnet 10 is unacceptable. That is, attempting to initiate a connection that in fact has not been lost may preclude other connections from being made, thereby preventing the transmission of data which would be made across those connections.
Although a variety of different methods may be used to actually determine if a network dropout is the result of network congestion or of packet loss, such a determination may be made using ongoing statistical measurements.. Alternatively, the speed at which data is transmitted may be changed. Typically, when a network dropout is due to packet loss, changing the speed of data transmission often solves the network dropout. However, when network dropout is due to network congestion, changing the speed of data transmission may have no effect and may worsen the throughput. In order to enable communications to be optimized to reflect actual network conditions, the client-server system may measure the roundtrip time for packet transmission. That is, the amount of time that elapses while a packet of data is transmitted from the client 12 to the server 40, or vice versa, may be measured. Although the measurements may be used for substantially any purpose, the measurements are often used to characterize the quality of a connection or route between the client 12 and the server 40. t By way of example, for certain networks the duration of a roundtrip can indicate whether a connection is good; short roundtrips are associated with good connections, while long roundtrips are associated with poor connections. The measurements of roundtrip times for a variety of differenζpackets may further be used to statistically determine how long to wait between attempts to resend an unsuccessfully sent packet. Fig. 17 shows an embodiment of a process used by the client 12 and the server 40 establish and maintain a persistent connection in a dynamically changing network environment using the above-described bandwidth adaptation techniques. Although the process is described generally from the perspective ofthe client 12 sending messages to the server 40, the process also applies to when the server 40 sends.messages to the client 12. The process begins (step 350) by establishing communications between the client 12 and the server 40. Attempts to establish a connection with the server 40 can begin when the client 12 comes within range ofthe subnet 10.
The client 12 sends a packet and awaits a reply from the server 40. The client 12 then waits a specified period of time. If that period elapses without a receiving a response, the client 12 attempts again to establish a connection with the server 40 by sending another packet. Again, the client 12 waits a specified period of time, but the current waiting period is longer than the previous waiting period. By waiting for a longer period (i.e., "backing off) on the subsequent connection attempt, the client 12 is accommodating the dynamic and intermittent quality of mobile wireless networks by giving any response from the server 40 additional time to arrive at the client 12. If the new waiting period also times out, the client 12 sends the packet to the server 40 yet again and waits a still longer period for the reply from the server 40 that establishes the connection. »
Under some circumstances, numerous clients 12 (e.g., 200), may arrive within range of the subnet 10 simultaneously, each attempting to establish a connection with the server 40. For example, consider a military "invasion" scenario in which each participant is equipped with a portable computer capable of establishing a wireless connection to the subnet 10 and thus of communicating with the server 40. These computers are used to coordinate the military invasion and to assist in pinpointing the position of each individual during the operation. An onslaught of connection attempts could overwhelm the subnet 10 and the server 40 with packets such that only a portion ofthe computers are able.to successfully establish a connection with the server 40. If each computer then backed off for approximately the same period of time before attempting again to connect to the server 40, the outcome might be the same; namely, another onslaught of connection packets that impedes some ofthe computers from establishing a connection. Thus, in one embodiment, the computers are configured so that the back-off period is not the same for each of computers, causing the attempts to connect to the server 40 to be staggered. That is, some computers 12 wait for longer periods than other computers before sending another
■ connection packet to the server 40.
After communications are established over, a route through the subnet 10 that includes one or more wireless links, the client 12 identifies (step 354) a packet of data that is to be sent to the server 40 as having been sent. After identifying the packet as having been sent, the client 12 transmits (step 358) the packet through the subnet 10 over a route determined by the routing nodes 14. The packet may be queued in a message queue and sent to the server 40 based on prioritization within the message queue. Similarly, in some embodiments, if a packet is being sent from the server 40 to the client 12, the packet may also be added to a message queue and sent to the client 12 as determined by priorities assigned within the message queue.
When the packet that is sent includes data that is to be updated, the data may be sent in a variety of different forms. That is, within an objecj-.based system, when an object is modified, either the entire object may be sent in a packet, or substantially only the changes to the object may be sent in a packet. By way of example, when an object has a size that is smaller than a predetennined threshold, the entire object is sent in a packet. Alternatively, when the object is larger than that threshold, the updates or changes to that object alone may be sent in a packet, although the entire object may also be sent.
The client 12 then determines (st,ep 362) whether it has received an acknowledgement from the server 40 indicating that the server 40 received the packet. The client 12 may make the determination after a predetermined amount of time has elapsed. Receipt ofthe acknowledgment indicates that the packet has been successfully transmitted and received.
Hence, the client 12 identifies (step 366) the packet as being successfully sent and received, and the process of sending data is completed.
If the client 12 instead determines that no acknowledgement ofthe packet has been received, then this is an indication that there may have been a failure in the network that prevented the server 40 from receiving the packet. Such failures may include, but are not limited to, failures such as a failure ofthe client! 12,of the server 40, and a communication link in a route between the client 12 and the server 40. . The failures may also be due to packet loss, and not to a physical failure of any component ofthe overall system. When the packet has not been successfully received, then a determination is made (step
370) as to whether a maximum number of resend tries has been exceeded. The maximum number of attempts to send a packet between the client 12 and the server 40 may generally be widely varied, and is typically determined using statistical models based upon the measured behavior ofthe overall system. The maximum number of resend tries may be updated at any suitable time during the operation ofthe; overall system. By way of example, the maximum number of resend tries may be calculated and, if necessary, revised, whenever the accumulation of statistical information reaches a certain level.
When the client 12 determines that the maximum number of resend tries has not been exceeded, another attempt is made (step 358) to send the packet. As mentioned above, the amount of time to wait between resend tries may be based upon statistical calculations based upon information that includes the average roundtrip time for a transmitted packet. An attempt to resend a packet can be successful when the initial failure in sending the packet was the result of packet loss. ,
On the other hand, if it is determined that the maximum number of resend tries has been exceeded, then attempts to send the packet over the potentially existing link are aborted. When the maximum number of resend tries has been exceeded, and acknowledgement of packet receipt still has not been received, then it is likely that there has been an interruption ofthe communications link, and that the unsuccessfully sending of data was likely not due to packet losses. Accordingly, an attempt is made (step 374) to reestablish communications between the client 12 and the server 40. A determination is then made (step 378) as to whether communications between the client 12 and the server 40 have been successfully reestablished. If the determination is that communications have been successfully reestablished, the packet is sent (step 358).
Alternatively, when it is determined that communications between the client 12 and the server 40 have not been reestablished, then another attempt is made (step 374) to reestablish communications. The number of attempts to reestablish communications between the client 12 and the server 40 may be limited in some cases. In one embodiment, attempts to re-establish communications may be aborted after a predetermined number of attempts have been reached.
In other embodiments, when the number of attempts to re-establish communications is limited, the number of attempts that are made may be substantially dynamically determined based on statistical information gathered during the course of communications between client 12 and the server 40. In still another embodiment, after the number of attempts to establish a connection with the server 40 is reached, the attempts to establish a connection with the client 12 can continue with a different server upon which the data are replicated. By limiting the number of times attempts made to send data and, further, by not first attempting to re-establish communications which may not actually have been interrupted, the amount of available communications bandwidth in a system may be substantially optimized. The bandwidth may be allocated to making actual connections which are required, rather than wasting the bandwidth by immediately attempting to re-establish communications when such re- establishment is not necessary.
In one embodiment, when an attempt is made to send data from the client 12 to the server 40, the data is queued on a message queue such that the data is prioritized for transmission to the server. Generally, a single message queue may be shared between multiple servers.
Figs. 18A and 18B are a diagrammatic representation ofthe updating of an embodiment of a message queue 380 in accordance with an embodiment ofthe invention. As mentioned above, when data are created or modified, a timestamp accompanying the data is set or modified, respectively. A message queue 380 is shown at time t3 as including objects that were previously modified and have not yet been accepted by, (i.e., sent to and successfully received by), the server 40. At time t3, at the head 382 ofthe message queue 380 is an object "obj 1" that was modified at time tl, followed by an object "obj 6" that was modified at time t2, and an object "obj 9" that was modified at time t3. In the described embodiment, the queue 380 is prioritized in a first-in-first-out (FIFO) manner, although priority can instead be based on a variety of other factors.
At time t5, the queue 380 further; includes an object "obj 3" that was modified at time t4. Also at time t5, object "obj 6" is being modified such that its corresponding timestamp is updated accordingly. Further, at time t6; an object "obj 4" is modified. In one embodiment, the object "obj 6" that was modified at timelt2 is superceded by a version of object "obj 6" that is updated at time t5. That is, the object "obj 6" at timestamp t2 has been replaced with the object "obj 6" at timestamp t5. As shown in Fig. 18B, at time t6, the message queue 380 no longer includes the object "obj 6" that was modified at time t2 and, instead, includes object "obj 6" that was modified at time t5. Within the queue 380, object "obj 6" in one embodiment does not take the priority of object "obj6" at time t2, which has been removed. Instead, object "obj 6" takes a chronological position within the message queue 380, after object "obj 3" and before after the modification at time t5 of object "obj 6". A variety of techniques for prioritizing objects within the message queue 380 is described in co-pending patent application entitled "Method and Apparatus for Updating Information in a Low-Bandwidth Client/Server Object-Oriented System", serial no. 09/518,753, which is, incorporated by reference herein in its entirety for all purposes.
While the invention has been shown and described with reference to specific preferred embodiments, it should be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope ofthe invention as defined by the following claims. For example, although the described embodiments illustrate the principles ofthe invention with respect to wireless networks, such also apply to wire-line networks. APPENDIX A
Network-Level Procedures
The notation LSU(update_list) represents a link-state-update message that includes the updates (u, v, c, sn) in the update_list.
Process_Update(i, nbr, in_message){ // Called when an update message in nessage is received from nbr.
Update_Topology_Table'(i, nbr, injmessage, update_list). Update_Parents(i) . For each node src in TT_i {
Let update_list(src) consist of all tuples (k, 1, c, sn) in update_list such that k = src.
If update_list(src) is nonempty
Send message LSU(update_list(src)) to children_i(src).}}
Update_Topology_Table(i, nbr, in_message, update_list){ Set update_list to empty list. For each ((u,v,c,sn) in in_message) {
If (p_i(u) = nbr)"{
If ((u,v) is in TT_i and sn > TT_i(u,v).sn) { Add (u,v,c,sn) to update_list. Set TT_i(u,v).sn = sn. Set TT_i(u,v).c = c.
If (sn > sn_i(u)) Set sn_i(u) = sn.} If ((u,v) is'not in TT_i) {
Add (u,v,c,sn) to TT_i. Add (u,v,c,sn^.to update__list. If (sn > sn_i(u)j'Set sn_i(u)'= sn.} } } }
Link_Change(ij){
// Called when the cost of link (i,j) changes. If (|TT_i(i,j).c - cost(i j)|/TT_i(i,j).c > epsilon) { . Set TT_i(i j).c = oostf j). Set TT_i(ij).sn = current time stamp SN_i.
Set update ist = {(i, j, TT_i(i, j).c, TT_i(i, j).sn) Send message LSU(update_list) to children_i(i).}}
Link_Down(i,j){
// Called when link (i j) goes down. Remove j from NJ. Set TT_i(i,j).c = infinity.' Set TT_i(i j).sn = current time stamp SN_i. Update_Parents(i). !
For each (node src in TT_i) remove j from children_i(src). Set update_list = {(i,j, infinity, TT_i(ij).sn)}.
Send message LSU(update_list) to children_i(i).}
Linlc_Uρ(i,j){ :
// Called when link (i,j) comes up. Addj to N_i. Set TT_i(i,j).c = cost(ij).
Set TT_i(i,j).sn = current time stamp SN_i.
Update_Parents(i).
Set update ist = {(i, j, TT_i(ij).c, TT_i(i,j).sn)}.
Send message LSU(update_list) to children_i(i).} Update_Parents(i){
Compute_New_Parents(i) For each (node k in N_i) {
Set cancel_src_list(k), src_list(k), and sn_list(k) to empty.} For each (node src in TT_i such that src != i){ If (new_p_i(src) != p_i(src)){
If (p_i(src) !=NULL){ Set k = p_i(src). Add src to cancel_src_list(k).} Set p_i(src) = new_p_i(src). If (new_p_i(src) != NULL) {
Set k = new_p_i(src). Add src to src_list(k). Add sn_i(src) to sn_list(k). } } } For each (node k in N_i){ If (src_list(k) is nonempty) {
Send message NEW PARENT(src_list(k), sn_list(k)) to k.} If (cancel_src_list(k) is nonempty!
Send message CANCEL PARENT(cancel_src_list(k)) to k.}}}
Compute_New_Parents(i) { For each (node src in TTJ such that src != i){
Set new_p_i(src) = NULL.} Compute min-hop paths using Dijkstra. For each (node src in TT_i such that src != i){
Set new_p_i(src) equal to the neighbor of node i along the minimum-hop path from i to src. } }
Process_NewJParent(i, nbr, src ist, sn_list){
// Called when node i receives a NEW PARENT(src__list, snjist) message from nbr.
Set update_list to empty list. For each (node src in src_list) {
Let snjist. src denote the sequence number corresponding to src in snjist. Add nbr to children i(src). Set new_updates = {(k, 1, c, sn) in TTJ such that k = src and sn > sn_list.src}.
Add new_updates to update_list.} Send message LSU(update_list) to nbr.}
Process_Cancel_Parent(i,nbr,src_list ){
// Called when node i receives a CANCEL PARENT(src_list) message from nbr. For each (node src in src_list) remove nbr from children_i(src).}
Send_Periodic_Updates(i) { S et update_list to empty. :
For each (j in N_i such that TTJ(ij). c != infinity) { Set TT_i(i,j).sn = current time stamp SNJL Add (i, j, TT_i(i,j).c, TT_i(ij).sn) to uρdate_list. } Send message LSU(update_list) to children_i(i). } Compute_New_Parents2(i){
S <- 0; For each (v e TT_i) {
Set d(v) = infinity; Set pred(v) = NULL; Set new_p_i(v) = NULL; } . (i) <- 0;
While (there exists w e TTJ - S such that d(w) < infinity)! Set u = node w e .TTJ - S that minimizes d(w); Set S = S {u}; For each (v such that (u, v) e TTJ) {
If (d(u) + 1 < d(v) or [d(u) + 1 = d(v) and new_p_i(u) = p_i(v)]) { Set d(v) = d(u) + 1; Set pred(v) = u; If (u = i) Set new_p_i(v) = v; Else S et ne w_p_i(v) = new_p_i(u) ; } } } }
Partial-Topology 1
The function Mark_Special_Links() is called whenever the parent p_i(src) or the set of children childrenj(src) for any source src changes. The notation LSU(update_list) represents a link-state-update message that includes the updates. (u, v, c, sn, sp) in the updatejist, where sp is a single bit that indicates whether the linlc is "special", i.e., whether it should be broadcast to all nodes.
Mark_Special_Links(i) {
For all (outgoing links (i,j)) {Set TT_i(i,j).sp = 0;} For all (nodes src != i){ if (p_i(src) ! = NULL and p_i(src) ! = src) { Set TTJ(i, p J(src)).sp = 1 ;} //Linlc is special. For all (nodes j in childrenj(src)){
Set TTJ(i,j).sp = 1 ;} //Link is special.
} }
Update_Topology_Table(i, nbr, in nessage, updatejist) { Set updatejist to empty list. For each ((u,v,c,sn,sp) in injnessage) { If (pJ(u) = nbr) { If ((u,v) is in TTJ and sn > TT J(u,v).sn) {
Set TTJ(u,v).sn = sn. Set TTJ(u,v).c = c. Set TTJ(u,v).sp = sp.
(Only links marked as special are forwarded.) If (sp = 1) Add (u,v,c,sn,sp) to updatejist.
If (sn > snj(u)) Set snj(u) = sn.} If ((u,v) is,not in TT J) {
Add (u,v,c,sn,sp) to TTJ. If (sp = 1) Add (u,v,c,sn,sp) to updatejist. If (sn > snj(u)) Set snj(u) = sn.} } } }
Process_Update(i, nbr, injnessage) {
// Called when an update message injmessage is received from nbr. Update_Topology_Table(i, nbr, in_message, updatejist). UpdateJParents(i).
Mark_Special_Links(i) . For each node src in TTJ {
Let update Jist(src) consist of all tuples (k, 1, c, sn, sp) in updatejist such that k = src. If update Jist(src) is nonempty '
, Send message LSU(updateJist(src)) to childrenj(src).}}
I.'
Link_Change(i,j){
// Called when the cost of link (ij) changes. If (|TTJ(i,j).c - cost(i,j)|/TT J(ij).c > epsilon) { Set TTJ(i,j).c = cost(ij).
Set TTJ(i,j).sn = current time stamp SNJ.
Set updatejist = (i, j, TTJ(i, j).c, TTJ(i, j).sn, TT J(ij).sp)}.
Send message LSU(updateJist) to childrenj(i).}}
Link_Down(i,j){ // Called when link (i j) goes down.
Remove j from N i.
Set TTJ(i,j).c = infinity. '
Set TTJ(i,j).sn = current time stamp SNJ.
Update JParents(i) . ^ For each (node src in TTJ) remove j from children J(src).
Mark_Special_Links(i) .
Set updatejist = {(ij, infinity, TT J(ij).sn, TTJ(ij).sp)}.
Send message LSU(updateJist) to children _i(i).} Link_Up(i,j){
// Called when link (ij) comes up. Addj to NJ. Set TTJ(ij).c = cost(ij).' Set TTJ(ij).sn = current time stamp SNJ.
UpdateJParents(i). MarkjSpecial_Links(i).
Set updatejist = {(i, j, TTJ(ij).c, TTj(i j).sn, TTJ(ij).sp)}. Send message LSU(updateJist) to children J(i).} Uρdate_Parents(i){
ComputeJSfew_Parents(i). For each (node k in N J)
Set cancel_srcjist(k), srcjist(k), and snjist(k) to empty. For each (node src in TTJ such that src != i){ If (new_p J(src) ! = p J(src)) {
If (pJ(src) !- NULL){ Set k = pj(src). Add src to cancel_srcjist(k).} Set pj(src) = new_pj(src). If (new_p J(src) != NULL) {
Set k = new_pj(src). Add src to src Jist(k). Add snJ(src) to snjist(k).}}} For each (node k in NJ){ If (src Jist(k) is nonempty) {
Send message NEW PARENT(srcJist(k), snjist(k)) to k.} If (cancel_src Jist(k) is nonempty {
Send message CANCEL PARENT(cancel_srcJist(k)) to k.}}}
Compute Sfew_Parents(i) { For each (node src in TT such that src != i){
Set newjpj(src) = NULL.} Compute min-hop paths using Dijkstra. For each (node src in TTJ such that src != i){
Set new_pj(src) equal to the neighbor of node i along the minimum-hop path from i to src. } }
Process Sfew_Parent(i, nbr, srcjist, snjis£){,. ,
//Called when node i receives a NEW PARENT(srcJist, snjist) message from nbr. ;
Set updatejist to empty list. For each (node src in srcjist) {
Let snjist. src denote the sequence number corresponding to src in snjist. Add nbr to children J(src).
If (src != i) Set TTJ(i, nbr).sp = 1. //Link to nbr is special. If (src = i) Set new_updates = {(src, v, c, sn, sp) in TTJ such that sn > snjist. src}.
If (src != i) Set new_updates = {(src, v, c, sn, sp) in TTJ such that sn > snjist. src and sp = 1 }. //Only special links are sent. Add new_updates to updatejist.} Send message LSU(updateJist) to nbr.}
Process CancelJParent(i,nbr,src ist ) {
// Called when node i receives a CANCEL PARENT(src list) message from nbr.
For each (node src in srcjist) remove nbr &om children J(src). Mark SpecialJLinks(i). }
Send_Periodic_Updates(i){
Set updatejist to empty.
For each (j in NJ such that TTJ(ij).c != infinity) { Set TTJ(ij).sn = current time stamp SNJ. Add (i, j, TTJ(i,j).c, TTJ(i,j).sn, TTJ(ij).sp) to updatejist. }
Send message LSU(updateJist) to children _i(i).}
Partial-Topology 2
Update(i, k, injnessage) {
UpdateJTopology Table(i, k, injnessage); LexJDijkstra; // Uses lexicographic Dijkstra to compute Ti
Generate_Updates(i, updatejist); if (k does not equal i and updatejist is non-empty) {
Send_Updates_Children(i, updatejist); Update_Parents(i); }
Send_Updates_Children(i, updatejist) {
For each (node k e Ni) {out_message(k) <— 0;} For each (node src e TTJ s.t. src does not equal i){ update Jist(src) <- {(k, 1, c) e updatejist s.t. k = src}; for each (node k e children J(src)){
Add updatejist(src) to out_message(k);}
}
For each (node k e Ni s.t. out_message(k) is non-empty) { Send the message out jnessage(k) to node k;} } i
1
Update_Topology_Table(i, k, injnessage) { For each ((u, v, c) e in_ώessage{
// Process only updates received from the parent p J(u) if (P_i(u) = k or k'= i){ if ((u, v) g TTJ or c! = TTJ(u, v).c{
TTJ(u, v) r- (u, v, c); Mark (u, v) as changed in TTJ;}
} } if (injnessage is a PARENT J ESPONSE){
For each (u such that injnessage. includes source u){ if (P_i(u) = k and pending J(u) = 1){ pendingJ(u)— 0;' For each (v such that TTJ contains an entry for (u, v)){ if (injnessage does not contain update for link (u, v)){
TTJ(u, v).c <-oo;
// indicates linlc should be deleted
Mark (u, v) as changed in TTJ;
}
}
Process CancelJParent(i, nbr, sr,cjist){ For each (src e srcjist) ' childrenj(src) — childrenj(src) - {nbr}; }
Generate Updates(i, updatejist) { updatejist <— 0; for each (entry (u, v, c, c') e TTJ){ if ((u, v) is in new Ti and ((u, v) is marked as changed or is not in old Ti)){
Add (u, v, c) to upcfate Jist; Ti(u, v).c' <- Ti(u, v).c; Ri - Ri {(u, v)};
} else if ((u, v) is in Ri but not in new Ti and c > c') {
Add (u, v, ∞) to updatejist; // delete update
Ti(u, v).c' <- oo;
Remove (u, v) from Ri;
} if (TT J(u, v).c = oo)
Remove (u, v) from TTJ;
} ;
}
Update JParents(i) { For each (node k e Ni){ cancel_srcjist(k) - 6; srcjist(k) - 0;} For each (node src eTTJ such that src ≠ i) { newjp J(src) <- next node on shortest path to src; if (newjp J(src) ≠p J(src)) { if (newjp J(src) ≠ NULL) { k <— pj(src); cancel_srcjist(k) - cancel_srcjist(k) U {src};
} if (new j J(src) ≠ NULL) { k <— newjpj(src); srcjist(k) <— srcjist(k) {src};
} pj(src) A newjpj(src);
} }
For each (node k e Ni){ if (srcjist(k) ≠ 0)
Send NEW_PARENT(srcJist(k)) to node k; if(cancel_src Jist(k) ≠ 0) Send CANCEL J>ARENT(cancel_src Jist(k)) to node k;
} }
Process j ew_Parent(i, nbr, srcjist) { updatejist <— 0; for each (node u e ujist) { childrenj(u) <— childrenj(u) U {nbr}; updates(u) <- {(u, v, c) e TTJ such that (u, v) e Ti}; updatejist — updatejist updates (u);
} Send PARENT RESPONSE(srcJist, updatejist) to nbr;}

Claims

What is claimed is: 1. In a network having a plurality of nodes, a method for discovering a neighbor node comprising: receiving from a neighbor node a neighbor discovery message; periodically transmitting a predetermined number of neighbor discovery messages that each include an identity ofthe neighbor node in response to the received neighbor discovery message; and after transmitting the predetermined number of neighbor discovery messages, transmitting neighbor discovery messages that omit the identity ofthe neighbor node until another neighbor discovery message is received from the neighbor node that indicates a change in a communications state associated with the neighbor node.
2. The method of claim 1 further comprising determining that the neighbor node is in a lost state if a message used for neighbor node discovery is not received from the neighbor node within a predetermined time period.
3. The method of claim 2 wherein the predetermined time period has a duration that approximately equals the duration of a time interval between subsequent transmissions of neighbor discovery messages multiplied by the predetermined number.
4. The method of claim 1 wherein each periodically transmitted neighbor discovery message includes a list of neighbor nodes that' are identified as being in a heard state within a predetermined time period.
5. The method of claim 1 further comprising identifying the neighbor node as being in a symmetric state if a neighbor discovery message received by a particular node includes an identity of the particular node in a list of neighbor nodes identified by the neighbor node as being in a heard state.
6. The method of claim 5 further comprising subsequently transmitting by the particular node a neighbor discovery message that omits the identity ofthe neighbor node from that neighbor discovery message in response to identifying the neighbor node as being in the symmetric state.
7. The method of clam 5 further comprising subsequently transmitting by the particular node a neighbor discovery message that includes the identity ofthe neighbor node so that other nodes in the network can identity the.neighbor node as having established a symmetric link with the particular node.
8. The method of claim 1 wherein each transmitted neighbor discovery message includes a list of neighbor nodes that are identified as being in a heard state and a list of neighboring nodes that are identified as being in a lost state.
9. The method of claim 8 wherein each transmitted neighbor discovery message includes a list of neighboring nodes that are identified as being in a symmetric state.
10. A network comprising: a node (i) receiving from 'a neighbor node a neighbor discovery message, (ii) periodically transmitting a predetermined number of neighbor discovery messages that each include an identity ofthe neighbor node in response to the received neighbor discovery message, and (iii) after transmitting the predetermined number of neighbor discovery messages, transmitting neighbor discovery messages that omit the identity of the neighbor node until another neighbor discovery message is received from the neighbor node that indicates a change in a communications state associated with the neighbor node.
PCT/US2001/028466 2000-09-12 2001-09-12 A reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network WO2002023833A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2001292622A AU2001292622A1 (en) 2000-09-12 2001-09-12 A reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US23204600P 2000-09-12 2000-09-12
US60/232,046 2000-09-12
US09/728,192 US7031288B2 (en) 2000-09-12 2000-12-01 Reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network
US09/728,192 2000-12-01

Publications (2)

Publication Number Publication Date
WO2002023833A2 true WO2002023833A2 (en) 2002-03-21
WO2002023833A3 WO2002023833A3 (en) 2003-03-13

Family

ID=26925634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/028466 WO2002023833A2 (en) 2000-09-12 2001-09-12 A reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network

Country Status (3)

Country Link
US (1) US7031288B2 (en)
AU (1) AU2001292622A1 (en)
WO (1) WO2002023833A2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004028111A1 (en) * 2002-09-20 2004-04-01 Cisco Technology, Inc. Method and apparatus in a gateway for registering mobile routers of a mobile ad hoc network to respective home agents
EP1416677A1 (en) * 2002-10-29 2004-05-06 Agilent Technologies, Inc. Mapping and discovering peer-to-peer wireless networks
WO2004093410A2 (en) * 2003-04-15 2004-10-28 Matsushita Electric Industrial Co., Ltd. Session endpoint management protocol
EP1502200A1 (en) * 2002-04-29 2005-02-02 Harris Corporation Tracking traffic in a mobile ad hoc network
WO2005010682A2 (en) 2003-07-24 2005-02-03 Cisco Technology, Inc. System and method for exchanging awareness information in a network environment
EP2182674A1 (en) * 2008-10-29 2010-05-05 Thomson Licensing SA Method for updating the status of network devices and device implementing the method
WO2011086235A1 (en) * 2010-01-14 2011-07-21 Teknologian Tutkimuskeskus Vtt A method and a device for optimizing data transfer in a wireless communication network
US8050196B2 (en) 2009-07-09 2011-11-01 Itt Manufacturing Enterprises, Inc. Method and apparatus for controlling packet transmissions within wireless networks to enhance network formation
CN102257838A (en) * 2008-12-17 2011-11-23 西门子公司 Method for monitoring network nodes
US8144029B2 (en) 2004-11-11 2012-03-27 Nxp B.V. Event-triggered communication between nodes having a transmitter sending an identifying message and acknowledging notification
CN110944358A (en) * 2018-09-25 2020-03-31 华为技术有限公司 Data transmission method and device

Families Citing this family (159)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10001098A1 (en) * 2000-01-13 2001-07-19 Definiens Ag Process for the decentralized transmission and distribution of user data between participants in a telecommunications network
US7545755B2 (en) * 2000-03-03 2009-06-09 Adtran Inc. Routing switch detecting change in session identifier before reconfiguring routing table
US7194549B1 (en) * 2000-09-06 2007-03-20 Vulcan Patents Llc Multicast system using client forwarding
EP1207707B1 (en) * 2000-11-17 2008-08-13 Sony Deutschland GmbH Transmission of carry-on objects using a wireless ad-hoc networking environment
US7529235B2 (en) * 2000-12-06 2009-05-05 Franklin Zhigang Zhang Internet based time distributed message network system and personal mobile access device
US7167451B1 (en) * 2000-12-21 2007-01-23 Cisco Technology, Inc. User controlled audio quality for voice-over-IP telephony systems
US6914887B2 (en) * 2001-01-04 2005-07-05 Intel Corporation Managing links between processor-based systems
US7433942B2 (en) * 2001-02-27 2008-10-07 Intel Corporation Network management
US7739497B1 (en) * 2001-03-21 2010-06-15 Verizon Corporate Services Group Inc. Method and apparatus for anonymous IP datagram exchange using dynamic network address translation
JP3664116B2 (en) * 2001-04-23 2005-06-22 日本電気株式会社 Communication network, node device, and path setting method
US7116661B2 (en) 2001-05-15 2006-10-03 Sri International Combining multi-hop and multicast wireless networking in classroom-like settings
JP4728511B2 (en) * 2001-06-14 2011-07-20 古河電気工業株式会社 Data relay method, apparatus thereof, and data relay system using the apparatus
JP4230129B2 (en) * 2001-06-22 2009-02-25 富士フイルム株式会社 Preview image output system, operation control method thereof, recording medium storing program, and program
US6931564B2 (en) * 2001-07-13 2005-08-16 International Business Machines Corporation Failure isolation in a distributed processing system employing relative location information
AU2001277211A1 (en) * 2001-07-26 2004-03-11 Broadcloud Communications, Inc. Wireless services provider network system and method
US7362752B1 (en) * 2001-07-30 2008-04-22 Juniper Networks, Inc. Aggregated topological routing
US7249193B1 (en) * 2001-08-28 2007-07-24 Emc Corporation SRDF assist
US8971706B2 (en) * 2001-10-01 2015-03-03 Rockstar Consortium Us Lp Link discovery, verification, and failure isolation in an optical communication system
US7325069B1 (en) * 2001-12-07 2008-01-29 Cisco Technology, Inc. Method of establishing bi-directional connectivity of a network element in a network
US7117264B2 (en) * 2002-01-10 2006-10-03 International Business Machines Corporation Method and system for peer to peer communication in a network environment
US7366524B2 (en) * 2002-02-06 2008-04-29 Ntt Docomo Inc. Using subnet relations for paging, authentication, association and to activate network interfaces in heterogeneous access networks
US7206862B2 (en) * 2002-04-24 2007-04-17 Microsoft Corporation Method and apparatus for efficiently matching responses to requests previously passed by a network node
EP1500235A1 (en) * 2002-04-26 2005-01-26 Siemens Aktiengesellschaft Automatic route configuration for quasi-associated m3ua connections
US7099341B2 (en) * 2002-05-03 2006-08-29 International Business Machines Corporation Traffic routing management system using the open shortest path first algorithm
US8023435B2 (en) * 2002-05-08 2011-09-20 Nokia Corporation Distribution scheme for distributing information in a network
US7170624B2 (en) * 2002-06-20 2007-01-30 Hewlett-Packard Development Company, L.P. System and method for advertising
US6904055B2 (en) * 2002-06-24 2005-06-07 Nokia Corporation Ad hoc networking of terminals aided by a cellular network
US7633894B2 (en) * 2002-09-05 2009-12-15 The Regents Of The University Of California Scheduling methods for wireless networks
US11368537B2 (en) * 2002-10-28 2022-06-21 Dynamic Mesh Networks, Inc. High performance wireless network
KR100462864B1 (en) * 2002-11-22 2004-12-17 삼성전자주식회사 Routing table Management Method using Interface ID in the IPv6
CN100341305C (en) * 2002-11-26 2007-10-03 华为技术有限公司 Protocol 802.1X based multicast control method
US7653059B1 (en) * 2002-12-20 2010-01-26 Symantec Operating Corporation Communication sessions for a computer network
US7948916B2 (en) * 2003-01-31 2011-05-24 Hewlett-Packard Development Company, L.P. Method and apparatus for discovering topology information in a network
US7995497B2 (en) * 2003-02-27 2011-08-09 Hewlett-Packard Development Company, L.P. Spontaneous topology discovery in a multi-node computer system
US7894381B2 (en) * 2003-03-04 2011-02-22 Samsung Electronics Co., Ltd. System and method of reliably broadcasting data packet under ad-hoc network environment
US20040203385A1 (en) * 2003-03-14 2004-10-14 Sathya Narayanan Session endpoint management method for ad-hoc networks
JP4073808B2 (en) * 2003-03-17 2008-04-09 シャープ株式会社 Network restructuring method, node, network restructuring program, and computer-readable storage medium storing the program
US7215644B2 (en) * 2003-03-19 2007-05-08 Alcatel Lucent Inter-domain constraint-based shortest path first technique for supporting hierarchical routing in interconnected multi-domain optical transport networks
US20040184467A1 (en) * 2003-03-21 2004-09-23 Toshiba Tec Kabushiki Kaisha Gateway apparatus and IPv6 network system
US7899934B2 (en) * 2003-03-31 2011-03-01 Symantec Corporation Handling un-partitioning of a computer network
US7305459B2 (en) 2003-04-28 2007-12-04 Firetide, Inc. Wireless service point networks
US7522731B2 (en) * 2003-04-28 2009-04-21 Firetide, Inc. Wireless service points having unique identifiers for secure communication
US7397785B2 (en) * 2003-05-28 2008-07-08 Nokia Corporation Method for enhancing fairness and performance in a multihop ad hoc network and corresponding system
US8078758B1 (en) * 2003-06-05 2011-12-13 Juniper Networks, Inc. Automatic configuration of source address filters within a network device
US7613767B2 (en) * 2003-07-11 2009-11-03 Microsoft Corporation Resolving a distributed topology to stream data
US7616632B2 (en) * 2003-07-25 2009-11-10 Kanchei Loa System and method of implementing contacts of small worlds in packet communication networks
DE10334632A1 (en) * 2003-07-29 2005-03-03 Siemens Ag Method for fast fault detection in IP networks
US7233991B2 (en) * 2003-08-22 2007-06-19 Clearmesh Networks, Inc. Self-healing tree network
US20050083858A1 (en) * 2003-10-09 2005-04-21 Kanchei Loa System and method of utilizing virtual ants in small world infrastructure communication networks
US7039035B2 (en) * 2003-11-10 2006-05-02 Cisco Technology, Inc. Arrangement in an access router for optimizing mobile router connections based on delegated network prefixes
US7366099B2 (en) * 2003-12-01 2008-04-29 Cisco Technology, Inc. Method and apparatus for synchronizing a data communications network
US7712108B2 (en) * 2003-12-08 2010-05-04 Microsoft Corporation Media processing methods, systems and application program interfaces
US7733962B2 (en) 2003-12-08 2010-06-08 Microsoft Corporation Reconstructed frame caching
US7900140B2 (en) * 2003-12-08 2011-03-01 Microsoft Corporation Media processing methods, systems and application program interfaces
US7735096B2 (en) * 2003-12-11 2010-06-08 Microsoft Corporation Destination application program interfaces
WO2005069545A1 (en) * 2004-01-20 2005-07-28 Lg Electronics Inc. Mobile ad hoc network system and operating method thereof
US7660284B1 (en) 2004-02-02 2010-02-09 Verizon New York Inc. Nevigation within a wireless network
US20060013169A2 (en) * 2004-02-09 2006-01-19 Packethop, Inc. Reliable message distribution in an ad hoc mesh network
US20050185718A1 (en) * 2004-02-09 2005-08-25 Microsoft Corporation Pipeline quality control
US7673021B2 (en) * 2004-02-12 2010-03-02 Cisco Technology, Inc. Automated provisioning of phones in packet voice networks
US8031725B2 (en) * 2004-02-17 2011-10-04 Alcatel Lucent Methods and devices for obtaining and forwarding domain access rights for nodes moving as a group
US7934159B1 (en) 2004-02-19 2011-04-26 Microsoft Corporation Media timeline
US7941739B1 (en) 2004-02-19 2011-05-10 Microsoft Corporation Timeline source
JP2005236767A (en) * 2004-02-20 2005-09-02 Ntt Docomo Inc Communication apparatus, repeater, communication system, and communicating method
US7664882B2 (en) * 2004-02-21 2010-02-16 Microsoft Corporation System and method for accessing multimedia content
US7702756B2 (en) * 2004-02-27 2010-04-20 Microsoft Corporation Numerousity and latency driven dynamic computer grouping
US7609653B2 (en) 2004-03-08 2009-10-27 Microsoft Corporation Resolving partial media topologies
US7577940B2 (en) 2004-03-08 2009-08-18 Microsoft Corporation Managing topology changes in media applications
US7644182B2 (en) * 2004-03-11 2010-01-05 Hewlett-Packard Development Company, L.P. Reconfiguring a multicast tree
US20050227686A1 (en) * 2004-03-31 2005-10-13 Jung Edward K Y Federating mote-associated index data
US20050265388A1 (en) * 2004-05-12 2005-12-01 Searete Llc, A Limited Liability Corporation Of The State Of Delaware Aggregating mote-associated log data
US9062992B2 (en) 2004-07-27 2015-06-23 TriPlay Inc. Using mote-associated indexes
US20050267960A1 (en) * 2004-05-12 2005-12-01 Searete Llc, A Limited Liability Corporation Of The State Of Delaware Mote-associated log creation
JP2005303827A (en) * 2004-04-14 2005-10-27 Ntt Docomo Inc Radio base station, method for controlling communication path and method for transferring packet
US7669206B2 (en) * 2004-04-20 2010-02-23 Microsoft Corporation Dynamic redirection of streaming media between computing devices
KR100654433B1 (en) * 2004-05-18 2006-12-06 삼성전자주식회사 Information processing device and method for wireless network
US7474632B2 (en) * 2004-06-30 2009-01-06 International Business Machines Corporation Method for self-configuring routing devices in a network
US8929228B2 (en) * 2004-07-01 2015-01-06 Honeywell International Inc. Latency controlled redundant routing
WO2006015177A2 (en) * 2004-07-28 2006-02-09 University Of South Florida A system and method to assure node connectivity in an ad hoc network
KR100876771B1 (en) * 2004-08-17 2009-01-07 삼성전자주식회사 Method for compressing of control information, method for transceiving of scanning information of radio communication system and thereof apparatus
US20060039300A1 (en) * 2004-08-23 2006-02-23 Sri International Method and apparatus for location discovery in mobile ad-hoc networks
US7590750B2 (en) 2004-09-10 2009-09-15 Microsoft Corporation Systems and methods for multimedia remoting over terminal server connections
JP4134972B2 (en) * 2004-09-30 2008-08-20 ブラザー工業株式会社 Parameter setting system, setting device and program
US7471632B2 (en) * 2004-09-30 2008-12-30 Alcatel-Lucent Usa Inc. Methods and devices for selecting internet routing paths
US8200789B2 (en) 2004-10-12 2012-06-12 International Business Machines Corporation Method, system and program product for automated topology formation in dynamic distributed environments
US7606187B2 (en) * 2004-10-28 2009-10-20 Meshnetworks, Inc. System and method to support multicast routing in large scale wireless mesh networks
US7848757B2 (en) * 2004-10-29 2010-12-07 Samsung Electronics Co., Ltd. Apparatus and method for extending mobility in a mobile ad hoc network
US7543300B2 (en) * 2004-11-16 2009-06-02 International Business Machines Corporation Interface for application components
US7539150B2 (en) * 2004-11-16 2009-05-26 International Business Machines Corporation Node discovery and communications in a network
US20060120384A1 (en) * 2004-12-08 2006-06-08 International Business Machines Corporation Method and system for information gathering and aggregation in dynamic distributed environments
KR100693046B1 (en) * 2004-12-20 2007-03-12 삼성전자주식회사 Network system and method for assigning dynamic address and performing routing using dynamic address
US8189615B2 (en) 2004-12-23 2012-05-29 Nokia Corporation Method and apparatus for communicating scheduling information from a UE to a radio access network
US20060140123A1 (en) * 2004-12-29 2006-06-29 Intel Corporation Methods and apparatus for distributing link-state information associated with a wireless mesh network
US7535926B1 (en) * 2005-01-07 2009-05-19 Juniper Networks, Inc. Dynamic interface configuration for supporting multiple versions of a communication protocol
US7505751B1 (en) 2005-02-09 2009-03-17 Autocell Laboratories, Inc. Wireless mesh architecture
US7453865B2 (en) * 2005-02-16 2008-11-18 International Business Machines Corporation Communication channels in a storage network
US20060227729A1 (en) * 2005-04-12 2006-10-12 Honeywell International Inc. Wireless communication system with collision avoidance protocol
US7835301B1 (en) * 2005-04-15 2010-11-16 Nvidia Corporation Extended service set mesh topology representation
US7502354B1 (en) * 2005-04-15 2009-03-10 Nvidia Corporation Mesh networking using point coordination function
US7522540B1 (en) * 2005-04-15 2009-04-21 Nvidia Corporation Extended service set mesh topology discovery
US7606175B1 (en) 2005-04-15 2009-10-20 Nvidia Corporation Extended service set mesh path selection
US8369329B2 (en) * 2005-05-16 2013-02-05 Rockstar Consortium Us Lp Dynamic hierarchical address resource management architecture, method and apparatus
GB2467657B (en) 2005-07-21 2010-09-15 Firetide Inc Method for enabling the efficient operation of arbitrarily interconnected mesh networks
TWI323110B (en) * 2005-07-30 2010-04-01 Firetide Inc System and method for a shared access network
JP2007038326A (en) * 2005-08-01 2007-02-15 Toyota Motor Corp Robot control system
CN100454834C (en) * 2005-09-08 2009-01-21 华为技术有限公司 Statistical method for media flow in NGN network
US7817599B2 (en) * 2005-09-26 2010-10-19 Motorola-Mobility, Inc. Method and apparatus for providing seamless mobility across multicast domains
KR101203463B1 (en) * 2005-11-03 2012-11-21 삼성전자주식회사 Method and Apparatus for Neighbor Discovery in IPv6-based Mobile System
US20070183344A1 (en) * 2006-02-03 2007-08-09 Avinash Joshi System and method for detecting node mobility based on network topology changes in a wireless communication network
US7924890B2 (en) * 2006-02-13 2011-04-12 Cisco Technology, Inc. Apparatus and method for increasing reliability of data sensitive to packet loss
US7860106B2 (en) * 2006-02-13 2010-12-28 Wind River Systems, Inc. System and method for routing table computation and analysis
US20070211701A1 (en) * 2006-03-07 2007-09-13 Fujitsu Limited Communicating configuration information for an end system
US7583641B2 (en) 2006-05-23 2009-09-01 The Boeing Company Methods and apparatus for network joining using a multiple message per TDMA control slot methodology
US8036653B2 (en) * 2006-05-23 2011-10-11 The Boeing Company Establishing and conducting communications within a network
US8732279B2 (en) 2006-08-18 2014-05-20 Cisco Technology, Inc. Secure network deployment
US8059009B2 (en) * 2006-09-15 2011-11-15 Itron, Inc. Uplink routing without routing table
US7720010B2 (en) 2006-09-29 2010-05-18 Cisco Technology, Inc. Tree based wireless mesh for an OSPF network with intra-tree communication optimization
US8861367B2 (en) * 2006-12-13 2014-10-14 Tropos Networks, Inc. Deletion of routes of routing tables of a wireless mesh network
US8065515B2 (en) * 2007-04-23 2011-11-22 Cisco Technology, Inc. Autoconfigured prefix delegation based on distributed hash
US8045558B2 (en) 2007-04-23 2011-10-25 Cisco Technology, Inc. Extensions to IPv6 neighbor discovery protocol for automated prefix delegation
US20080288617A1 (en) * 2007-05-16 2008-11-20 Nokia Corporation Distributed discovery and network address assignment
WO2009001845A1 (en) * 2007-06-28 2008-12-31 Nec Corporation Information-sharing method between neighboring nodes, node and information-sharing program
US8838759B1 (en) * 2007-06-29 2014-09-16 Crimson Corporation Systems and methods for detecting unmanaged nodes within a system
US8619730B2 (en) * 2007-07-20 2013-12-31 Broadcom Corporation Method and system for establishing a connection outside a mesh by including network connectivity information in router configuration messages
US9392445B2 (en) * 2007-08-17 2016-07-12 Qualcomm Incorporated Handoff at an ad-hoc mobile service provider
US8644206B2 (en) 2007-08-17 2014-02-04 Qualcomm Incorporated Ad hoc service provider configuration for broadcasting service information
US20090073943A1 (en) * 2007-08-17 2009-03-19 Qualcomm Incorporated Heterogeneous wireless ad hoc network
US20090047930A1 (en) * 2007-08-17 2009-02-19 Qualcomm Incorporated Method for a heterogeneous wireless ad hoc mobile service provider
US7756038B2 (en) * 2007-09-27 2010-07-13 Cisco Technology, Inc. Service advertisement framework (SAF) in a communications network
KR100899809B1 (en) * 2007-12-11 2009-05-27 한국전자통신연구원 Coordinator, gateway and transmission method for ipv6 in wireless sensor network
US8423668B2 (en) * 2007-12-31 2013-04-16 Cisco Technology, Inc. Link state protocol routing message containment
US8582491B2 (en) * 2008-05-02 2013-11-12 Lockheed Martin Corporation Method and apparatus for routing communications using active and passive end-to-end quality-of-service reservations based on node mobility profiles
US7995504B2 (en) * 2008-05-12 2011-08-09 Microsoft Corporation Locality-based routing table generation
US7961741B2 (en) * 2008-10-23 2011-06-14 Silver Spring Networks, Inc. Rapid dissemination of bulk information to widely dispersed network nodes
US8767587B1 (en) * 2009-01-21 2014-07-01 Cisco Technology, Inc. Exploratory linktrace operations in a computer network
US9179367B2 (en) 2009-05-26 2015-11-03 Qualcomm Incorporated Maximizing service provider utility in a heterogeneous wireless ad-hoc network
US8135025B2 (en) 2009-06-03 2012-03-13 Microsoft Corporation Asynchronous communication in an unstable network
US9106375B2 (en) * 2009-06-19 2015-08-11 Samsung Electronics Co., Ltd. Method and system for arranging resource allocation messages to reduce blind decoding complexity in OFDMA-based systems
US10191783B2 (en) * 2010-02-26 2019-01-29 Red Hat, Inc. UDP multicast over enterprise service bus
US9691430B2 (en) * 2010-04-01 2017-06-27 Microsoft Technology Licensing, Llc Opportunistic frame caching
US8593253B2 (en) * 2010-06-09 2013-11-26 Gm Global Technology Operations, Inc. Systems and methods for efficient authentication
US8539102B2 (en) * 2010-06-21 2013-09-17 Comcast Cable Communications, Llc Downloading a code image to remote devices
US8665756B2 (en) * 2010-12-20 2014-03-04 The Johns Hopkins University System and method for topology optimization of directional network
TWI439088B (en) * 2011-06-01 2014-05-21 Accton Technology Corp Domain gateway control system and method thereof
US8656015B2 (en) 2011-09-12 2014-02-18 Microsoft Corporation Detecting device presence for a layer 3 connection using layer 2 discovery information
US8700079B2 (en) * 2011-09-13 2014-04-15 Qualcomm Incorporated Method and apparatus for increasing the rate of peer discovery in a synchronized peer to peer wireless network
WO2013143611A1 (en) * 2012-03-30 2013-10-03 Nokia Siemens Networks Oy Centralized ip address management for distributed gateways
US9553769B2 (en) * 2012-04-06 2017-01-24 Qualcomm Incorporated Devices and methods for communication in ad-hoc networks
US9515920B2 (en) * 2012-04-20 2016-12-06 Futurewei Technologies, Inc. Name-based neighbor discovery and multi-hop service discovery in information-centric networks
WO2014040610A1 (en) * 2012-09-11 2014-03-20 Nokia Siemens Networks Oy Proximity service in communications
US9531632B2 (en) 2013-02-05 2016-12-27 Rajant Corporation Method for controlling flood broadcasts in a wireless mesh network
US20160080826A1 (en) * 2014-09-16 2016-03-17 Qualcomm Incorporated Systems, methods and apparatus for broadcasting pay-per-view video over enhanced multimedia broadcast multicast service
EP3442177B1 (en) * 2017-08-11 2020-10-07 Helvar Oy Ab Method and arrangement for optimising the location of a node in a mesh network
US10291524B2 (en) * 2017-08-17 2019-05-14 Abb Schweiz Ag Dynamic tunnel establishment in a mesh network
US10747569B2 (en) 2017-12-29 2020-08-18 Virtual Instruments Corporation Systems and methods of discovering and traversing coexisting topologies
EP3831021A1 (en) 2018-07-27 2021-06-09 Gotenna Inc. VINEtm ZERO-CONTROL ROUTING USING DATA PACKET INSPECTION FOR WIRELESS MESH NETWORKS
US11256781B2 (en) * 2019-02-20 2022-02-22 Rohde & Schwarz Gmbh & Co. Kg Measurement system as well as method of providing statistical information
CN112788645B (en) * 2021-02-22 2022-06-21 上海交通大学 Distributed neighbor node distribution estimation method based on adaptive compressed sensing
CN115802442B (en) * 2023-01-17 2023-04-25 天地信息网络研究院(安徽)有限公司 Directional ad hoc network neighbor discovery method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5732086A (en) * 1995-09-21 1998-03-24 International Business Machines Corporation System and method for determining the topology of a reconfigurable multi-nodal network
EP0944210A1 (en) * 1998-03-16 1999-09-22 Alcatel Method for the distribution of a message in a network

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5079767A (en) * 1988-09-27 1992-01-07 Digital Equipment Corporation Method of multicast message distribution
US5657317A (en) * 1990-01-18 1997-08-12 Norand Corporation Hierarchical communication system using premises, peripheral and vehicular local area networking
US5056085A (en) * 1989-08-09 1991-10-08 Harris Corporation Flood-and-forward routing for broadcast packets in packet switching networks
US5574860A (en) 1993-03-11 1996-11-12 Digital Equipment Corporation Method of neighbor discovery over a multiaccess nonbroadcast medium
US5506838A (en) * 1994-12-29 1996-04-09 Emc Corporation Packet propagation and dynamic route discovery apparatus and techniques
US5572528A (en) * 1995-03-20 1996-11-05 Novell, Inc. Mobile networking method and apparatus
US6097707A (en) 1995-05-19 2000-08-01 Hodzic; Migdat I. Adaptive digital wireless communications network apparatus and process
US6192053B1 (en) * 1995-09-07 2001-02-20 Wireless Networks, Inc. Enhanced adjacency detection protocol for wireless applications
US5805818A (en) * 1996-09-11 1998-09-08 Novell, Inc. System for acknowledging availability of neighbor node using data packet containing data that is ordinarily fowarded to neighbor node
US6058422A (en) 1996-09-17 2000-05-02 Lucent Technologies Inc. Wireless internet access system
US5844900A (en) * 1996-09-23 1998-12-01 Proxim, Inc. Method and apparatus for optimizing a medium access control protocol
JP2985940B2 (en) * 1996-11-08 1999-12-06 日本電気株式会社 Failure recovery device
US6044062A (en) 1996-12-06 2000-03-28 Communique, Llc Wireless network system and method for providing same
US6023461A (en) 1997-10-10 2000-02-08 Nec Usa, Inc. Handoff method for an ATM wireless network wherein both the switch and the mobile buffer cells and the mobile controls when the handoff will occur
JPH1115761A (en) 1997-06-02 1999-01-22 Internatl Business Mach Corp <Ibm> Information processor having infrared communication function and its control method
US6178172B1 (en) * 1998-03-24 2001-01-23 3Com Corporation Method of topology database synchronization in an asynchronous transfer mode network
US6212188B1 (en) * 1998-05-01 2001-04-03 3Com Corporation Method of source routing in an asynchronous transfer mode network when a node is in an overload state
US6304556B1 (en) * 1998-08-24 2001-10-16 Cornell Research Foundation, Inc. Routing and mobility management protocols for ad-hoc networks
JP2002534842A (en) * 1998-12-23 2002-10-15 ノキア・ワイヤレス・ルーターズ・インコーポレーテッド Unified routing scheme for ad hoc internetworking
US6856627B2 (en) * 1999-01-15 2005-02-15 Cisco Technology, Inc. Method for routing information over a network
US6104712A (en) 1999-02-22 2000-08-15 Robert; Bruno G. Wireless communication network including plural migratory access nodes
US6556574B1 (en) * 1999-03-31 2003-04-29 Cisco Technology, Inc. Duplicate ignore delay timer for ARP like protocol messages using are protocol
US6621805B1 (en) * 1999-10-25 2003-09-16 Hrl Laboratories, Llc Method and apparatus for multicasting real-time variable bit-rate traffic in wireless Ad-Hoc networks
US6385174B1 (en) * 1999-11-12 2002-05-07 Itt Manufacturing Enterprises, Inc. Method and apparatus for transmission of node link status messages throughout a network with reduced communication protocol overhead traffic
US6704293B1 (en) * 1999-12-06 2004-03-09 Telefonaktiebolaget Lm Ericsson (Publ) Broadcast as a triggering mechanism for route discovery in ad-hoc networks
US6456599B1 (en) * 2000-02-07 2002-09-24 Verizon Corporate Services Group Inc. Distribution of potential neighbor information through an ad hoc network
US6625124B1 (en) * 2000-03-03 2003-09-23 Luminous Networks, Inc. Automatic reconfiguration of short addresses for devices in a network due to change in network topology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5732086A (en) * 1995-09-21 1998-03-24 International Business Machines Corporation System and method for determining the topology of a reconfigurable multi-nodal network
EP0944210A1 (en) * 1998-03-16 1999-09-22 Alcatel Method for the distribution of a message in a network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BELLUR B ET AL: "RELIABLE, EFFICIENT TOPOLOGY BROADCAST PROTOCOL FOR DYNAMIC NETWORKS" , PROCEEDINGS IEEE INFOCOM '99. THE CONFERENCE ON COMPUTER COMMUNICATIONS. 18TH ANNUAL JOINT CONFERENCE OF THE IEEE COMPUTER AND COMMUNICATIONS SOCIETIES. NEW YORK, NY, MARCH 21 - 25, 1999, PROCEEDINGS IEEE INFOCOM. THE CONFERENCE ON COMPUTER COMMUNICA XP000868799 ISBN: 0-7803-5418-4 the whole document *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1502200A1 (en) * 2002-04-29 2005-02-02 Harris Corporation Tracking traffic in a mobile ad hoc network
US8578015B2 (en) 2002-04-29 2013-11-05 Harris Corporation Tracking traffic in a mobile ad hoc network
EP1502200A4 (en) * 2002-04-29 2006-12-06 Harris Corp Tracking traffic in a mobile ad hoc network
US7519071B2 (en) 2002-09-20 2009-04-14 Cisco Technology, Inc. Arrangement in a gateway for registering mobile routers of a mobile AD HOC network to respective home agents
US6850532B2 (en) 2002-09-20 2005-02-01 Cisco Technology, Inc. Arrangement in a gateway for registering mobile routers of a mobile ad hoc network to respective home agents
WO2004028111A1 (en) * 2002-09-20 2004-04-01 Cisco Technology, Inc. Method and apparatus in a gateway for registering mobile routers of a mobile ad hoc network to respective home agents
EP1416677A1 (en) * 2002-10-29 2004-05-06 Agilent Technologies, Inc. Mapping and discovering peer-to-peer wireless networks
WO2004093410A2 (en) * 2003-04-15 2004-10-28 Matsushita Electric Industrial Co., Ltd. Session endpoint management protocol
WO2004093410A3 (en) * 2003-04-15 2005-01-20 Matsushita Electric Ind Co Ltd Session endpoint management protocol
US7539759B2 (en) 2003-04-15 2009-05-26 Panasonic Corporation Session endpoint management protocol
WO2005010682A2 (en) 2003-07-24 2005-02-03 Cisco Technology, Inc. System and method for exchanging awareness information in a network environment
EP1654613A4 (en) * 2003-07-24 2008-12-17 Cisco Tech Inc System and method for exchanging awareness information in a network environment
EP1654613A2 (en) * 2003-07-24 2006-05-10 Cisco Technology, Inc. System and method for exchanging awareness information in a network environment
US8098589B2 (en) 2003-07-24 2012-01-17 Cisco Tecnology, Inc. System and method for exchanging awareness information in a network environment
US8144029B2 (en) 2004-11-11 2012-03-27 Nxp B.V. Event-triggered communication between nodes having a transmitter sending an identifying message and acknowledging notification
WO2010049360A1 (en) * 2008-10-29 2010-05-06 Thomson Licensing Method for updating the status of network devices and device implementing the method
EP2182674A1 (en) * 2008-10-29 2010-05-05 Thomson Licensing SA Method for updating the status of network devices and device implementing the method
CN102257838A (en) * 2008-12-17 2011-11-23 西门子公司 Method for monitoring network nodes
US8050196B2 (en) 2009-07-09 2011-11-01 Itt Manufacturing Enterprises, Inc. Method and apparatus for controlling packet transmissions within wireless networks to enhance network formation
WO2011086235A1 (en) * 2010-01-14 2011-07-21 Teknologian Tutkimuskeskus Vtt A method and a device for optimizing data transfer in a wireless communication network
US8995438B2 (en) 2010-01-14 2015-03-31 Teknologian Tutkimuskeskus Vtt Method and a device for optimizing data transfer in a wireless communication network
CN110944358A (en) * 2018-09-25 2020-03-31 华为技术有限公司 Data transmission method and device
CN110944358B (en) * 2018-09-25 2021-12-24 华为技术有限公司 Data transmission method and device
US11509597B2 (en) 2018-09-25 2022-11-22 Huawei Technologies Co., Ltd. Data transmission method and device

Also Published As

Publication number Publication date
US7031288B2 (en) 2006-04-18
WO2002023833A3 (en) 2003-03-13
AU2001292622A1 (en) 2002-03-26
US20030095504A1 (en) 2003-05-22

Similar Documents

Publication Publication Date Title
US7031288B2 (en) Reduced-overhead protocol for discovering new neighbor nodes and detecting the loss of existing neighbor nodes in a network
US7698463B2 (en) System and method for disseminating topology and link-state information to routing nodes in a mobile ad hoc network
US6845091B2 (en) Mobile ad hoc extensions for the internet
US7327683B2 (en) Method and apparatus for disseminating topology information and for discovering new neighboring nodes
US20010040895A1 (en) An IPv6-IPv4 compatibility aggregatable global unicast address format for incremental deployment of IPv6 nodes within IPv4
EP1578071B1 (en) System and method for provisioning of route information in a meshed communications network
Perkins et al. Ad hoc on-demand distance vector (AODV) routing
US7388869B2 (en) System and method for routing among private addressing domains
Chroboczek The babel routing protocol
Perkins et al. RFC3561: Ad hoc on-demand distance vector (AODV) routing
EP1011241B1 (en) Wireless access to packet-based networks
Ogier et al. Topology dissemination based on reverse-path forwarding (TBRPF)
EP1009134B1 (en) Packet tunneling optimization to wireless devices accessing packet-based wired networks
EP1009141B1 (en) Two phase local mobility scheme for wireless access to packet-based networks
US7239618B1 (en) Single phase local mobility scheme for wireless access to packet-based networks
US6434134B1 (en) Dynamic address assignment for wireless devices accessing packet-based wired networks
US20020150094A1 (en) Hierarchical level-based internet protocol multicasting
Johnson et al. RFC 4728: The dynamic source routing protocol (DSR) for mobile ad hoc networks for IPv4
Sun et al. The Internet underwater: An IP-compatible protocol stack for commercial undersea modems
JP2001177523A (en) Multicast communication method
WO2008038390A1 (en) Mobile ip communication system
Ogier et al. RFC3684: Topology Dissemination Based on Reverse-Path Forwarding (TBRPF)
Chroboczek RFC 6126: The Babel routing protocol
Chumchu et al. Multi-level reliable mobile multicast supporting SRM (scalable reliable multicast)
Chroboczek et al. RFC 8966: The Babel Routing Protocol

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PH PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP