In one embodiment, a device in a computer network receives a particular packet associated with a transmission attempts value, the associated transmission attempts value indicative of a first number of times a transmitter has attempted to transmit the particular packet. In response, the device increases by one a stored successful attempts value stored at the device, the stored successful attempts value indicative of a second number of times the device has received the same particular packet. As such, a reachability rate of a link from the transmitter to the device may be determined based on comparing the associated transmission attempts value to the stored successful attempts value.
|
1. A method, comprising:
receiving, at a device in a computer network, a particular packet associated with a transmission attempts value, the associated transmission attempts value indicative of a first number of times a transmitter has attempted to transmit the particular packet;
in response, increasing by one a stored successful attempts value stored at the device, the stored successful attempts value indicative of a second number of times the device has received the same particular packet; and
determining a reachability rate of a link from the transmitter to the device based on comparing the associated transmission attempts value to the stored successful attempts value.
19. A method, comprising:
transmitting, from a transmitter device, a particular packet to a next-hop device in a computer network, the particular packet associated with a transmission attempts value, the associated transmission attempts value indicative of a first number of times the transmitter has attempted to transmit the particular packet;
receiving, at the transmitter from the next-hop device, a stored successful attempts value indicative of a second number of times the next-hop device has received the same particular packet from the transmitter; and
determining a reachability rate of a link from the transmitter to the next-hop device based on comparing the associated transmission attempts value to the stored successful attempts value.
12. An apparatus, comprising:
one or more network interfaces to communicate in a computer network;
a processor coupled to the network interfaces and adapted to execute one or more processes; and
a memory configured to store a process executable by the processor, the process when executed operable to:
receive a particular packet carrying a transmission attempts value, the associated transmission attempts value indicative of a first number of times a transmitter has attempted to transmit the particular packet;
in response, increase by one a stored successful attempts value, the stored successful attempts value indicative of a second number of times the process has received the same particular packet; and
determine a reachability rate of a link from the transmitter to the network interfaces based on comparing the associated transmission attempts value to the stored successful attempts value.
2. The method as in
determining whether the received particular packet is the same as a previously received packet based on a packet identification.
3. The method as in
4. The method as in
determining that the received particular packet is not the same as a previously received packet; and
in response, initializing the stored successful attempts value at one.
5. The method as in
dividing the associated transmission attempts value by the stored successful attempts value to determine the ETX.
6. The method as in
forwarding the particular packet to a next-hop device, the forwarded particular packet having the stored successful attempts value from the device as an updated associated transmission attempts value carried within the forwarded particular packet.
7. The method as in
in response to rerouting the particular packet to a backup next-hop device, initializing the associated transmission attempts value within the forwarded particular packet at one.
8. The method as in
transmitting the reachability rate to the transmitter.
9. The method as in
10. The method as in
11. The method as in
transmitting the stored successful attempts value to the transmitter; and
wherein determining the reachability rate occurs at the transmitter.
13. The apparatus as in
determine whether the received particular packet is the same as a previously received packet based on a packet identification.
14. The apparatus as in
15. The apparatus as in
determine that the received particular packet is not the same as a previously received packet; and
in response, initialize the stored successful attempts value at one.
16. The apparatus as in
divide the associated transmission attempts value by the stored successful attempts value to determine the ETX.
17. The apparatus as in
forward the particular packet to a next-hop device, the forwarded particular packet having the stored successful attempts value from the apparatus as an updated associated transmission attempts value within the forwarded particular packet.
18. The apparatus as in
transmit the reachability rate to the transmitter.
20. The method as in
dividing the associated transmission attempts value by the stored successful attempts value to determine the ETX.
|
The present disclosure relates generally to computer networks, and, more particularly, to computing reachability rates between devices of computer networks.
Low power and Lossy Networks (LLNs), e.g., sensor networks, have a myriad of applications, such as Smart Grid and Smart Cities. Various challenges are presented with LLNs, such as lossy links, low bandwidth, battery operation, low memory and/or processing capability, etc. In LLNs (such as low power wireless and/or power line communication or “PLC”), nodes may discover a wireless/PLC connectivity graph by observing metrics derived from communication with neighboring nodes. One critically important metric is a reachability rate, such as an expected transmission count (ETX), generally the inverse of packet success rate. An ETX of 1 is ideal as it represents no loss, while an ETX of 2 indicates that for every transmission, one retransmission is expected (on average).
ETX has been used and is being used in a number of networks, such as those operating according to a protocol called Routing Protocol for LLNs or “RPL”. RPL is a distance vector routing protocol that builds a Destination Oriented Directed Acyclic Graph (DODAG, or simply DAG) in addition to a set of features to bound the control traffic, support local (and slow) repair, etc. The RPL architecture provides a flexible method by which each node performs DODAG discovery, construction, and maintenance.
Knowledge of the ETX metric is most useful on the sending node to make informed routing decisions and appropriately compute the routing topology (e.g., the DAG built by RPL). On links that provide link-layer acknowledgements, computing ETX is trivial. The sender need only keep track of the number of packets sent and the number of acknowledgements received for those packets. Unfortunately, not all links provide link layer acknowledgment, in which case, the computation of the ETX becomes very challenging.
The embodiments herein may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indicate identically or functionally similar elements, of which:
According to one or more embodiments of the disclosure, a device in a computer network receives a particular packet associated with a transmission attempts value, the associated transmission attempts value indicative of a first number of times a transmitter has attempted to transmit the particular packet. In response, the device increases by one a stored successful attempts value stored at the device, the stored successful attempts value indicative of a second number of times the device has received the same particular packet. As such, a reachability rate of a link from the transmitter to the device may be determined based on comparing the associated transmission attempts value to the stored successful attempts value. In one embodiment, the particular packet carries the associated transmission attempts value, and the reachability rate is determined by the receiving device. In another embodiment, the receiving device returns the stored successful attempts value to the transmitter, and the transmitter determines the reachability rate.
A computer network is a geographically distributed collection of nodes interconnected by communication links and segments for transporting data between end nodes, such as personal computers and workstations, or other devices, such as sensors, etc. Many types of networks are available, with the types ranging from local area networks (LANs) to wide area networks (WANs). LANs typically connect the nodes over dedicated private communications links located in the same general physical location, such as a building or campus. WANs, on the other hand, typically connect geographically dispersed nodes over long-distance communications links, such as common carrier telephone lines, optical lightpaths, synchronous optical networks (SONET), synchronous digital hierarchy (SDH) links, or Powerline Communications (PLC) such as IEEE 61334, IEEE P1901.2, and others. In addition, a Mobile Ad-Hoc Network (MANET) is a kind of wireless ad-hoc network, which is generally considered a self-configuring network of mobile routes (and associated hosts) connected by wireless links, the union of which forms an arbitrary topology.
Smart object networks, such as sensor networks, in particular, are a specific type of network having spatially distributed autonomous devices such as sensors, actuators, etc., that cooperatively monitor physical or environmental conditions at different locations, such as, e.g., energy/power consumption, resource consumption (e.g., water/gas/etc. for advanced metering infrastructure or “AMI” applications) temperature, pressure, vibration, sound, radiation, motion, pollutants, etc. Other types of smart objects include actuators, e.g., responsible for turning on/off an engine or perform any other actions. Sensor networks, a type of smart object network, are typically wireless networks, though wired connections are also available. That is, in addition to one or more sensors, each sensor device (node) in a sensor network may generally be equipped with a radio transceiver or other communication port, a microcontroller, and an energy source, such as a battery. Often, smart object networks are considered field area networks (FANs), neighborhood area networks (NANs), etc. Generally, size and cost constraints on smart object nodes (e.g., sensors) result in corresponding constraints on resources such as energy, memory, computational speed and bandwidth. Correspondingly, a reactive routing protocol may, though need not, be used in place of a proactive routing protocol for smart object networks.
Data packets 140 (e.g., traffic and/or messages sent between the devices/nodes) may be exchanged among the nodes/devices of the computer network 100 using predefined network communication protocols such as certain known wireless protocols (e.g., IEEE Std. 802.15.4, WiFi, Bluetooth®, etc.), PLC protocols, or other shared media protocols where appropriate. In this context, a protocol consists of a set of rules defining how the nodes interact with each other.
The network interface(s) 210 contain the mechanical, electrical, and signaling circuitry for communicating data over links 105 coupled to the network 100. The network interfaces may be configured to transmit and/or receive data using a variety of different communication protocols. Note, further, that the nodes may have two different types of network connections 210, e.g., wireless and wired/physical connections, and that the view herein is merely for illustration.
The memory 240 comprises a plurality of storage locations that are addressable by the processor 220 and the network interfaces 210 for storing software programs and data structures associated with the embodiments described herein. Note that certain devices may have limited memory or no memory (e.g., no memory for storage other than for programs/processes operating on the device and associated caches). The processor 220 may comprise necessary elements or logic adapted to execute the software programs and manipulate the data structures 245. An operating system 242, portions of which are typically resident in memory 240 and executed by the processor, functionally organizes the device by, inter alia, invoking operations in support of software processes and/or services executing on the device. These software processes and/or services may comprise routing process/services 244, a directed acyclic graph (DAG) process 246 (which may be contained within routing process 244), and an illustrative reachability rate process 248.
It will be apparent to those skilled in the art that other processor and memory types, including various computer-readable media, may be used to store and execute program instructions pertaining to the techniques described herein. Also, while the description illustrates various processes, it is expressly contemplated that various processes may be embodied as modules configured to operate in accordance with the techniques herein (e.g., according to the functionality of a similar process). Further, while the processes have been shown separately, those skilled in the art will appreciate that processes may be routines or modules within other processes.
Routing process (services) 244 contains computer executable instructions executed by the processor 220 to perform functions provided by one or more routing protocols, such as proactive or reactive routing protocols as will be understood by those skilled in the art. These functions may, on capable devices, be configured to manage a routing/forwarding table (a data structure 245) containing, e.g., data used to make routing/forwarding decisions. In particular, in proactive routing, connectivity is discovered and known prior to computing routes to any destination in the network, e.g., link state routing such as Open Shortest Path First (OSPF), or Intermediate-System-to-Intennediate-System (ISIS), or Optimized Link State Routing (OLSR). Reactive routing, on the other hand, discovers neighbors (i.e., does not have an a priori knowledge of network topology), and in response to a needed route to a destination, sends a route request into the network to determine which neighboring node may be used to reach the desired destination. Example reactive routing protocols may comprise Ad-hoc On-demand Distance Vector (AODV), Dynamic Source Routing (DSR), DYnamic MANET On-demand Routing (DYMO), etc. Notably, on devices not capable or configured to store routing entries, routing process 244 may consist solely of providing mechanisms necessary for source routing techniques. That is, for source routing, other devices in the network can tell the less capable devices exactly where to send the packets, and the less capable devices simply forward the packets as directed.
Low power and Lossy Networks (LLNs), e.g., certain sensor networks, may be used in a myriad of applications such as for “Smart Grid” and “Smart Cities.” A number of challenges in LLNs have been presented, such as:
1) Links are generally lossy, such that a Packet Delivery Rate/Ratio (PDR) can dramatically vary due to various sources of interferences, e.g., considerably affecting the bit error rate (BER);
2) Links are generally low bandwidth, such that control plane traffic must generally be bounded and negligible compared to the low rate data traffic;
3) There are a number of use cases that require specifying a set of link and node metrics, some of them being dynamic, thus requiring specific smoothing functions to avoid routing instability, considerably draining bandwidth and energy;
4) Constraint-routing may be required by some applications, e.g., to establish routing paths that will avoid non-encrypted links, nodes running low on energy, etc.;
5) Scale of the networks may become very large, e.g., on the order of several thousands to millions of nodes; and
6) Nodes may be constrained with a low memory, a reduced processing capability, a low power supply (e.g., battery).
In other words, LLNs are a class of network in which both the routers and their interconnect are constrained: LLN routers typically operate with constraints, e.g., processing power, memory, and/or energy (battery), and their interconnects are characterized by, illustratively, high loss rates, low data rates, and/or instability. LLNs are comprised of anything from a few dozen and up to thousands or even millions of LLN routers, and support point-to-point traffic (between devices inside the LLN), point-to-multipoint traffic (from a central control point to a subset of devices inside the LLN) and multipoint-to-point traffic (from devices inside the LLN towards a central control point).
An example protocol specified in an Internet Engineering Task Force (IETF) Internet Draft, entitled “RPL: IPv6 Routing Protocol for Low Power and Lossy Networks” <draft-ietf-roll-rpl-19> by Winter, at al. (Mar. 13, 2011 version), provides a mechanism that supports multipoint-to-point (MP2P) traffic from devices inside the LLN towards a central control point (e.g., LLN Border Routers (LBRs) or “root nodes/devices” generally), as well as point-to-multipoint (P2MP) traffic from the central control point to the devices inside the LLN (and also point-to-point, or “P2P” traffic). RPL (pronounced “ripple”) may generally be described as a distance vector routing protocol that builds a Directed Acyclic Graph (DAG) for use in routing traffic/packets 140, in addition to defining a set of features to bound the control traffic, support repair, etc. Notably, as may be appreciated by those skilled in the art, RPL also supports the concept of Multi-Topology-Routing (MTR), whereby multiple DAGs can be built to carry traffic according to individual requirements.
A DAG is a directed graph having the property that all edges are oriented in such a way that no cycles (loops) are supposed to exist. All edges are contained in paths oriented toward and terminating at one or more root nodes (e.g., “clusterheads or “sinks”), often to interconnect the devices of the DAG with a larger infrastructure, such as the Internet, a wide area network, or other domain. In addition, a Destination Oriented DAG (DODAG) is a DAG rooted at a single destination, i.e., at a single DAG root with no outgoing edges. A “parent” of a particular node within a DAG is an immediate successor of the particular node on a path towards the DAG root, such that the parent has a lower “rank” than the particular node itself, where the rank of a node identifies the node's position with respect to a DAG root (e.g., the farther away a node is from a root, the higher is the rank of that node). Further, in certain embodiments, a sibling of a node within a DAG may be defined as any neighboring node which is located at the same rank within a DAG. Note that siblings do not necessarily share a common parent, and routes between siblings are generally not part of a DAG since there is no forward progress (their rank is the same). Note also that a tree is a kind of DAG, where each device/node in the DAG generally has one parent or one preferred parent.
DAGs may generally be built (e.g., by DAG process 246) based on an Objective Function (OF). The role of the Objective Function is generally to specify rules on how to build the DAG (e.g. number of parents, backup parents, etc.).
In addition, one or more metrics/constraints may be advertised by the routing protocol to optimize the DAG against. Also, the routing protocol allows for including an optional set of constraints to compute a constrained path, such as if a link or a node does not satisfy a required constraint, it is “pruned” or “removed” from the candidate list when computing the best path. (Alternatively, the constraints and metrics may be separated from the OF.) Additionally, the routing protocol may include a “goal” that defines a host or set of hosts, such as a host serving as a data collection point, or a gateway providing connectivity to an external infrastructure, where a DAG's primary objective is to have the devices within the DAG be able to reach the goal. In the case where a node is unable to comply with an objective function or does not understand or support the advertised metric, it may be configured to join a DAG as a leaf node. As used herein, the various metrics, constraints, policies, etc., are considered “DAG parameters.”
Illustratively, example metrics used to select paths (e.g., preferred parents) may comprise cost, delay, latency, bandwidth, expected transmission count (ETX), etc., while example constraints that may be placed on the route selection may comprise various reliability thresholds, restrictions on battery operation, multipath diversity, bandwidth requirements, transmission types (e.g., wired, wireless, etc.). The OF may provide rules defining the load balancing requirements, such as a number of selected parents (e.g., single parent trees or multi-parent DAGs). Notably, an example for how routing metrics and constraints may be obtained may be found in an IETF Internet Draft, entitled “Routing Metrics used for Path Calculation in Low Power and Lossy Networks” <draft-ietf-roll-routing-metrics-19> by Vasseur, et al. (Mar. 1, 2011 version). Further, an example OF (e.g., a default OF) may be found in an IETF Internet Draft, entitled “RPL Objective Function 0” <draft-ietf-roll-of0-11> by Thubert (May 5, 2011 version) and “The Minimum Rank Objective Function with Hysteresis” <draft-ietf-roll-minrank-hysteresis-of-03> by O. Gnawali et al. (May 3, 2011 version).
Building a DAG may utilize a discovery mechanism to build a logical representation of the network, and route dissemination to establish state within the network so that routers know how to forward packets toward their ultimate destination. Note that a “router” refers to a device that can forward as well as generate traffic, while a “host” refers to a device that can generate but does not forward traffic. Also, a “leaf” may be used to generally describe a non-router that is connected to a DAG by one or more routers, but cannot itself forward traffic received on the DAG to another router on the DAG. Control messages may be transmitted among the devices within the network for discovery and route dissemination when building a DAG.
According to the illustrative RPL protocol, a DODAG Information Object (DIO) is a type of DAG discovery message that carries information that allows a node to discover a RPL Instance, learn its configuration parameters, select a DODAG parent set, and maintain the upward routing topology. In addition, a Destination Advertisement Object (DAO) is a type of DAG discovery reply message that conveys destination information upwards along the DODAG so that a DODAG root (and other intermediate nodes) can provision downward routes. A DAO message includes prefix information to identify destinations, a capability to record routes in support of source routing, and information to determine the freshness of a particular advertisement. Notably, “upward” or “up” paths are routes that lead in the direction from leaf nodes towards DAG roots, e.g., following the orientation of the edges within the DAG. Conversely, “downward” or “down” paths are routes that lead in the direction from DAG roots towards leaf nodes, e.g., generally going in the opposite direction to the upward messages within the DAG.
Generally, a DAG discovery request (e.g., DIO) message is transmitted from the root device(s) of the DAG downward toward the leaves, informing each successive receiving device how to reach the root device (that is, from where the request is received is generally the direction of the root). Accordingly, a DAG is created in the upward direction toward the root device. The DAG discovery reply (e.g., DAO) may then be returned from the leaves to the root device(s) (unless unnecessary, such as for UP flows only), informing each successive receiving device in the other direction how to reach the leaves for downward routes. Nodes that are capable of maintaining routing state may aggregate routes from DAO messages that they receive before transmitting a DAO message. Nodes that are not capable of maintaining routing state, however, may attach a next-hop parent address. The DAO message is then sent directly to the DODAG root that can in turn build the topology and locally compute downward routes to all nodes in the DODAG. Such nodes are then reachable using source routing techniques over regions of the DAG that are incapable of storing downward routing state.
As noted above, the ETX metric has been used and is being used in a number of networks, such as those operating according RPL. Knowledge of the ETX metric is most useful on the sending node to make informed routing decisions and appropriately compute the routing topology (e.g., appropriate parent selection in the DAG built by RPL). On links that provide link-layer acknowledgements, computing ETX is trivial. The sender need only keep track of the number of packets sent and the number of acknowledgements received for those packets. However, not all links provide link layer acknowledgment, in which case, the computation of the ETX becomes very challenging.
Said differently, computing the ETX metric becomes challenging on links that do not provide an efficient link-layer acknowledgement primitive. Existing methods may use dedicated control messages to probe the link, but such methods are relatively costly especially on low throughput links such as PLC. For example, a periodically broadcast sequence number may be used by nodes to compute loss rates, which may be included in a neighbor list in their own broadcast to communicate the ETX back to the sender. Alternatively, another technique uses explicit probe messages to determine if a neighboring node can successfully receive a message on links that do not provide link-layer acknowledgments.
Reachability Rate Computation
The techniques herein provide a mechanism that makes use of traffic flow observation, observing the number of transmission attempts on each link in order to locally compute link reachability rates (e.g., ETX) and provide that information back to the upstream neighbor in a fully dynamic fashion at very low cost. In particular, the techniques herein take advantage of the fact that even though the underlying network (e.g., LLN) does not support link layer acknowledgements, the system operates with an end-to-end acknowledgement at the application layer. That is, when the application on the originating node does not receive an acknowledgement message within a preconfigured time, it retransmits the original message. The embodiments herein thus utilize the end-to-end message flow in order to estimate link quality. It should be noted that since paths in LLN dynamically change and since traffic load over links along a given path varies, the reachability rate (e.g., ETX) of each link along a given path cannot be assumed to be the same rate as that of the overall path.
Specifically, according to one or more embodiments of the disclosure as described in detail below, a device in a computer network receives a particular packet associated with a transmission attempts value, the associated transmission attempts value indicative of a first number of times a transmitter has attempted to transmit the particular packet. In response, the device increases by one a stored successful attempts value stored at the device, the stored successful attempts value indicative of a second number of times the device has received the same particular packet. As such, a reachability rate of a link from the transmitter to the device may be determined based on comparing the associated transmission attempts value to the stored successful attempts value. In one embodiment, the particular packet carries the associated transmission attempts value, and the reachability rate is determined by the receiving device. In another embodiment, the receiving device returns the stored successful attempts value to the transmitter, and the transmitter determines the reachability rate.
Illustratively, the techniques described herein may be performed by hardware, software, and/or firmware, such as in accordance with reachability rate process 248, which may contain computer executable instructions executed by the processor 220 to perform functions relating to the novel techniques described herein. For example, the techniques herein may be treated as extensions to conventional protocols, such as the RPL protocol, and as such, would be processed by similar components understood in the art that execute the RPL protocol, accordingly.
Operationally, in one or more embodiments, existing user traffic flows may be examined to determine if transmission failures occur on a link.
As illustrated in the examples below, a transmitter device, such as node 5 in
Upon receiving a particular packet 300, a receiving device 200 determines whether the received particular packet is the same as a previously received packet based on a packet identification. For instance, a source transmitting device (e.g., node 5) may add a packet identifier (packet-ID field 316) set by the source of the packet (does not change hop-by-hop), and as such, the receiver may check to see whether it has seen the packet ID from the source before. Alternatively, if the packet ID 316 or other explicit packet identifier value is not present, then the receiving device may compute an identification of the packet. That is, a computed identification may comprise such things as a hash result of the packet (i.e., performing a hash function on the packet), a checksum of the packet, and a direct comparison between the received particular packet and a collection of one or more previously received (and thus stored) packets. As used herein, a “packet ID” is a unique identifier of a forwarded packet, whether it is a packet ID within a field 316 added by the source or a computed identification (e.g., a hash computed by the receiving node or the packet itself).
If the packet 300 has not been received before, i.e., after determining that the received particular packet is not the same as a previously received packet, the receiving device may initialize a stored successful attempts value corresponding to the particular packet at one, the stored successful attempts value indicative of a number of times the device has successfully received the same particular packet. For example, the device may create a cache entry (e.g., with an associated/configurable timer). It should be noted that the fact that a specific node received multiple retransmits of the same packet is an indication of the fact that the node has not been successfully transmitted to its destination or alternatively that the acknowledgment (“ack”) message failed to reach the sending node. If, on the other hand, the packet has been received before, the receiving device may update the stored successful attempts value corresponding to the particular packet, i.e., incrementing it by one, and may also reset any cache entry timers, accordingly.
In addition, assuming the receiving device is not the destination device, then each time the device attempts to transmit (forward) the particular packet 300 to the next-hop device toward the destination, a transmission attempts value 318 may also be incremented. As noted, this number indicates the number of times the node successfully received the packet (if an intermediate node), and attempted to forward it to the specific next-hop device. It should be noted that the fact that the same message has been received multiple time is an indication of a failure of the uplink (parent) nodes to deliver the message to its destination. The transmission attempts value may be stored as a data structure (e.g., “245a”), such as a similar table to table 400 of
As mentioned above, two possible implementations are presented herein regarding where the reachability rate is computed, i.e., at the receiver or at the transmitter. The determination of whether the first or second implementation should be used can be negotiated between the sending and receiving nodes, configured for each node, or configured globally in the whole network 100. For instance, the determination as to which method should be used may be dynamically governed by the computation power of each node and/or by the memory each node has, as well as other factors.
According to the first implementation, it is the receiving node that computes the reachability rate (e.g., the ETX metric) for the incoming link, and provides it back to its upstream neighbor (i.e., the node from which the particular packets are received, not necessarily in relation to a directional orientation within a DAG or other network structure). In this embodiment, the packets 300 contain the transmitted attempts value 318, and the receiver may retrieve a cache entry (field 420, illustrated in
In this embodiment, the receiving device transmits the reachability rate to the transmitter, such as using a specific type-length-value (TLV) field in DAO packets (since they travel back in the direction of the DAG root), or else piggybacked on other existing flows, especially if they have bi-directional traffic, notably allowing the reachability rate to be computed in both directions. In other embodiments, an explicitly returned packet may be used to transmit the computed reachability rate information to the transmitter, but such embodiments are not as efficient (in terms of control traffic overhead) than piggybacking the information.
Note also that in this embodiment, when the receiver forwards the particular packet 300 to a subsequent next-hop device, the forwarded particular packet would then carry the stored successful attempts value 420 as an updated associated transmission attempts value 318 within the forwarded particular packet. In other words, assuming that the receiver forwards the packet each time it receives the packet, the transmitted attempts value (245a) which is included in outgoing packets (in field 318) and the stored successful attempts value (420) should be the same.
For the alternate embodiment mentioned above, the receiving device merely updates its successful attempts value 420, and occasionally transmits it to the transmitter (e.g., along with a packet ID or other identifying feature in order to allow correlation). Accordingly, upon receiving a stored successful attempts value indicative of a number of times the next-hop device has received the same particular packet from the transmitter, the transmitter may then determine the reachability rate to that next-hop receiver device in a similar manner as described above, based on correlating the number of times the receiver received the packet to the number of times the transmitter transmitted that packet.
A detailed example of these embodiments is shown in
As shown in
Specifically, in
The retransmission continues, and reachability rates 520 may be computed and returned based on any number of configured triggers. For example, as shown in
The reachability rate may thus also be updated as of later transmissions using either the same trigger or a different trigger. For example, node 3 may later return an updated ETX of 1.5 based on the same particular packet as shown. Alternatively, a node may use other particular packets received. Said differently, since the reachability rates are link-specific, not packet-specific, a node may use values from multiple particular packet retransmissions. For example, assume that a packet “A” is received 1 of 4 times (ETX 4), and a packet “B” is received 3 of 4 times (ETX 1.33). According to embodiments that combine different particular packets, the computed reachability rate could be based on receiving 4 of 8 expected packets, i.e., an ETX of 2. Had the two individually computed ETXs been combined by simple averages, for example, an ETX of 2.66 would have resulted, which is not entirely precise for the link as a whole (factors may contribute to the different ETX values, such as different packet sizes).
Returning to the example of
Referring now to the second embodiment as shown in
Note that the returned values may again be returned based on various timers, packet counts, etc., and may be returned as piggybacked information or as an explicit message. The fact that
It is important to point out that a packet 300 may often be retransmitted over an alternate path due to failure of a link, etc. For example, as shown in
If in step 720 the packet is not the same as a previously received packet, i.e., it is the first time the receiving device is receiving the packet, then in step 725 the receiving device may initialize a stored successful attempts value 420 for the particular packet (e.g., based on its packet ID). If, on the other hand, in step 720 the packet is the same, i.e., is a retransmission of a previously received packet, then, continuing to
As noted above, two embodiments described herein, shown in
Alternatively, following the “Option A” embodiment, where the receiver is to calculate the reachability rate and where the transmission attempts value 318 is carried in the packet 300, then in step 740 the receiver may determine the reachability rate of the link from the transmitter to the receiver based on comparing the transmission attempts value (carried in the packets) to its stored successful attempts value 420. Upon determining the reachability rate, the receiver may then, in step 745, transmit the rate to the transmitter, e.g., as an explicitly returned packet, a field within a DAO message, or piggybacked in another type of returned packet.
In step 750, assuming the receiver is not the destination node of the packet, then the receiver forwards the particular packet 300 to a next-hop device, e.g., node 3. Note that the forwarded packet may contain an updated carried transmission attempts value 318 based generally on the stored successful attempts value at the receiver (i.e., the number of times a receiver receives a packet should generally be the number of times a receiver attempts to transmit/forward that packet. Note also that, as described above, if the packet needs to be rerouted along a secondary/backup path, then the receiver (now “forwarder”) may initialize the transmission attempts value, as it is the first time transmitting to this new node.
The procedure 700 illustratively ends in step 755, though may actually recursively continue to receive additional packets, and hence may return to step 710 to receive additional packets to be processed. It should be noted that procedure 700 is merely an example for illustration, and is not meant to be limiting to the scope of the embodiments herein. For instance, while certain steps within the procedure 700 may be optional as described above, certain steps may be included or excluded as desired, and the steps may also be in a different order that what is shown where suitable. For example, the packet may first be forwarded in step 750 immediately after step 710, performing any analysis or measurement within steps 715-745 after forwarding the packet in order to minimize transmission delay of the packet. Accordingly, the location of step 750 is not meant to limit the scope of the embodiments herein, and is merely illustrative.
The novel techniques described herein, therefore, provide for reachability rate computation (e.g., ETX) without link layer acknowledgments in a computer network. In particular, the techniques herein provide an efficient low cost mechanism to compute the link reachability rate (e.g., ETX) metrics, even in the presence of links that do not provide acknowledgment, Additionally, the techniques may accomplish this by observing existing traffic flows, without requiring additional control plane overhead, which is a critical feature for LLNs such as smart grid networks (e.g., AMI).
While there have been shown and described illustrative embodiments that provide for reachability rate computation without link layer acknowledgments in a computer network, it is to be understood that various other adaptations and modifications may be made within the spirit and scope of the embodiments herein. For example, the embodiments have been shown and described herein with relation to LLNs, and more particularly, to the RPL protocol. However, the embodiments in their broader sense are not as limited, and may, in fact, be used with other types of networks and/or protocols. Also, while the techniques described above generally reference wireless communication, other shared media (e.g., PLC) may be used. In addition, while the reachability rate is generally described as an ETX, other reachability rates that are based on comparing the associated transmission attempts value to the stored successful attempts value, as noted herein, such as a success rate, failure rate, or other measurement indicative of a reachability between two nodes based on how many packets are received in comparison to how many were attempted.
Moreover, while the above description generally describes measuring reachability rate based on any particular packet 300 transmitted, the embodiments herein are not so limited, and may include other triggers/rates for determining the reachability rate. For example, determining the reachability rate may occur at a rate such as, e.g., at each received particular packet (as described above), at each received particular packet that is a particular type of packet (e.g., priority, type, class, etc.), at each received particular packet that has the associated transmission attempts value field 318, and at a select periodicity of packets (e.g., every other particular packet, every other hour/day/etc., in response to specific requests occasionally sent into the network to update reachability rate information, etc.).
The foregoing description has been directed to specific embodiments. It will be apparent, however, that other variations and modifications may be made to the described embodiments, with the attainment of some or all of their advantages. For instance, it is expressly contemplated that the components and/or elements described herein can be implemented as software being stored on a tangible (non-transitory) computer-readable medium (e.g., disks/CDs/etc.) having program instructions executing on a computer, hardware, firmware, or a combination thereof. Accordingly this description is to be taken only by way of example and not to otherwise limit the scope of the embodiments herein. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the embodiments herein.
Shaffer, Shmuel, Vasseur, Jean-Philippe, Hui, Jonathan W.
Patent | Priority | Assignee | Title |
10015720, | Mar 14 2014 | goTenna, Inc.; GOTENNA INC | System and method for digital communication between computing devices |
10602424, | Mar 14 2014 | goTenna Inc. | System and method for digital communication between computing devices |
10944669, | Feb 09 2018 | goTenna, Inc. | System and method for efficient network-wide broadcast in a multi-hop wireless network using packet echos |
11082344, | Mar 08 2019 | goTenna, Inc.; GOTENNA,INC | Method for utilization-based traffic throttling in a wireless mesh network |
11558299, | Mar 08 2019 | goTenna, Inc. | Method for utilization-based traffic throttling in a wireless mesh network |
11750505, | Feb 09 2018 | goTenna Inc. | System and method for efficient network-wide broadcast in a multi-hop wireless network using packet echos |
11811642, | Jul 27 2018 | goTenna, Inc. | Vineā¢: zero-control routing using data packet inspection for wireless mesh networks |
9756549, | Mar 14 2014 | goTenna Inc.; GOTENNA INC | System and method for digital communication between computing devices |
Patent | Priority | Assignee | Title |
7564856, | Oct 09 1997 | Cisco Technology, Inc. | Method and system for network access over a low bandwidth link |
20010022780, | |||
20070214247, | |||
20080008201, | |||
20090125981, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 31 2011 | VASSEUR, JEAN-PHILIPPE | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026373 | /0250 | |
May 31 2011 | HUI, JONATHAN W | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026373 | /0250 | |
May 31 2011 | SHAFFER, SHMUEL | Cisco Technology, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026373 | /0250 | |
Jun 01 2011 | Cisco Technology, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
May 11 2018 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 06 2022 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Nov 11 2017 | 4 years fee payment window open |
May 11 2018 | 6 months grace period start (w surcharge) |
Nov 11 2018 | patent expiry (for year 4) |
Nov 11 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 11 2021 | 8 years fee payment window open |
May 11 2022 | 6 months grace period start (w surcharge) |
Nov 11 2022 | patent expiry (for year 8) |
Nov 11 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 11 2025 | 12 years fee payment window open |
May 11 2026 | 6 months grace period start (w surcharge) |
Nov 11 2026 | patent expiry (for year 12) |
Nov 11 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |