427  Delay-Tolerant Networks for IoT

427.1 Learning Objectives

By the end of this chapter, you will be able to:

  • Apply DTN Concepts: Use Delay-Tolerant Networking for intermittent connectivity scenarios
  • Compare Routing Protocols: Evaluate Epidemic, Spray-and-Wait, and PRoPHET routing trade-offs
  • Design Store-Carry-Forward Systems: Architect data collection for disconnected environments
  • Calculate Delivery Probability: Apply probabilistic models to predict message delivery success

427.2 Prerequisites

Before diving into this chapter, you should be familiar with:

  • Human-Centric Sensing: Roles and Paradigms: Understanding of human mobility patterns and how they enable data collection in disconnected scenarios
  • Wireless Sensor Networks: Knowledge of WSN topologies and routing fundamentals provides context for understanding when traditional routing fails
  • Networking Basics: Familiarity with networking fundamentals is essential for grasping how DTN differs from traditional IP networking

The Disconnection Problem:

Traditional networks assume devices can always communicate. But what if you’re tracking wildlife in a remote forest with no cell signal? Delay-Tolerant Networks solve this using “store-carry-forward”:

  1. Store: A zebra collar sensor stores GPS data locally
  2. Carry: The zebra physically moves through the savanna carrying the data
  3. Forward: When the zebra visits a watering hole with a base station, it uploads all stored data

Real-World Analogy: Think of it like delivering a package via multiple delivery trucks rather than calling on the phone. Each truck carries the package part of the way until it reaches its destination - slow but reliable when phone lines don’t exist.

Where DTN is Used: - Wildlife tracking: Animal collars in remote areas with no network - Space communication: Mars rovers sending data back to Earth - Disaster recovery: Communication after earthquakes destroy infrastructure - Rural connectivity: Villages connected by buses carrying data - Ocean monitoring: Sensors on buoys communicating via passing ships

Term Simple Explanation
DTN (Delay-Tolerant Network) Networks that work even when connections are intermittent - like rural mail delivery
Store-Carry-Forward Save data, physically move it, then send when possible - like carrying a USB drive
Epidemic Routing Spread data copies like a disease - give to everyone you meet to ensure delivery
Opportunistic Contact When two devices come within communication range unexpectedly
Data MULE Mobile node that physically transports data between disconnected network segments

Why This Matters for IoT:

Traditional sensor networks fail in scenarios like ocean monitoring, rural areas, or wildlife tracking. DTN enables data collection where infrastructure doesn’t exist - perfect for developing regions, disaster recovery, and environmental research where continuous connectivity is impossible.

427.3 Delay Tolerant Networks (DTNs)

Delay Tolerant Networks represent a networking paradigm designed for environments where traditional assumptions (end-to-end connectivity, low latency) do not hold.

427.3.1 DTN Characteristics

1. Intermittent Connectivity - No guaranteed end-to-end path at any instant - Communication opportunities arise and disappear - Links may be available only when nodes meet

2. Long Delays - Message delivery can take hours or days - Propagation delays can be significant (especially in space) - Store-and-forward over long time scales

3. Asymmetric Data Rates - Forward and reverse links may have different rates - Opportunistic contacts have varying quality - Channel conditions vary over time

4. Resource Constraints - Limited buffer space - Energy constraints - Bandwidth scarcity

%% fig-alt: "Diagram showing IoT architecture components and their relationships with data flow and processing hierarchy."
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#2C3E50', 'primaryTextColor': '#fff', 'primaryBorderColor': '#16A085', 'lineColor': '#16A085', 'secondaryColor': '#E67E22', 'tertiaryColor': '#7F8C8D'}}}%%

graph LR
    Node1[Node A<br/>Message M] -.->|No direct<br/>path| Node2[Node B]

    Node1 -->|Store| Buffer1[Local<br/>Buffer]
    Buffer1 -->|Carry| Mobile[Mobile<br/>Node]
    Mobile -.->|Opportunistic<br/>Contact| Node2

    Mobile -->|Forward| Node2
    Node2 -->|Store| Buffer2[Local<br/>Buffer]
    Buffer2 -->|Eventually| Dest[Destination]

    style Node1 fill:#16A085,stroke:#2C3E50,color:#fff
    style Mobile fill:#E67E22,stroke:#2C3E50,color:#fff
    style Node2 fill:#16A085,stroke:#2C3E50,color:#fff
    style Dest fill:#2C3E50,stroke:#16A085,color:#fff

Figure 427.1: Diagram showing IoT architecture components and their relationships with data flow and processing hierarchy

Delay-Tolerant Network (DTN) store-carry-forward mechanism diagram: Shows non-traditional routing through physical mobility: Node A has message M with no direct network path to Node B (indicated by dashed line showing disconnection), Node A stores message in local buffer waiting for opportunity, mobile relay node physically moves through network carrying stored data in buffer, opportunistic contact occurs when mobile node comes within communication range of Node B, message forwarded from mobile node to Node B upon contact, Node B stores message in local buffer for custody transfer, eventually message delivered to final destination despite intermittent connectivity and long delays enabling communication in challenged networks (wildlife tracking, disaster scenarios, rural IoT deployments).

427.3.2 DTN in Wireless Sensor Networks

Traditional WSNs assume that sensor nodes can route data to the base station through multi-hop paths. However, in many scenarios, this assumption doesn’t hold:

Sparse Deployment: - Nodes too far apart for multi-hop connectivity - Monitoring large areas with limited nodes

Harsh Environments: - Obstacles blocking communication - Intermittent power availability - Extreme conditions causing failures

Mobile Scenarios: - Mobile nodes move in and out of range - Wildlife tracking with animal-borne sensors - Vehicular sensor networks

Solution: Delay Tolerant WSNs (DT-WSNs) - Embrace mobility and intermittent connectivity - Use data MULEs or mobile sinks - Store-and-forward with long delays acceptable

%% fig-alt: "DTN application scenarios showing four use cases: wildlife tracking with animal-borne sensors, disaster recovery with destroyed infrastructure, rural connectivity with village-to-village buses, and ocean monitoring with ship-based data mules."
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#2C3E50', 'primaryTextColor': '#fff', 'primaryBorderColor': '#16A085', 'lineColor': '#16A085', 'secondaryColor': '#E67E22', 'tertiaryColor': '#7F8C8D'}}}%%

graph TB
    subgraph Wildlife["Wildlife Tracking"]
        W1[Animal Collar<br/>GPS Sensor]
        W2[Stores data<br/>locally]
        W3[Animal visits<br/>watering hole]
        W4[Base station<br/>downloads data]
        W1 --> W2 --> W3 --> W4
    end

    subgraph Disaster["Disaster Recovery"]
        D1[Infrastructure<br/>destroyed]
        D2[Relief workers<br/>carry devices]
        D3[Mesh when<br/>in range]
        D4[Data reaches<br/>command center]
        D1 --> D2 --> D3 --> D4
    end

    subgraph Rural["Rural Connectivity"]
        R1[Village A<br/>isolated]
        R2[Bus carries<br/>data packets]
        R3[Village B<br/>receives data]
        R4[Town internet<br/>gateway]
        R1 --> R2 --> R3 --> R4
    end

    subgraph Ocean["Ocean Monitoring"]
        O1[Buoy sensors<br/>collect data]
        O2[Ship passes<br/>by buoy]
        O3[Ship carries<br/>data to port]
        O4[Satellite<br/>uplink]
        O1 --> O2 --> O3 --> O4
    end

    style Wildlife fill:#16A085,stroke:#2C3E50,color:#fff
    style Disaster fill:#E67E22,stroke:#2C3E50,color:#fff
    style Rural fill:#7F8C8D,stroke:#2C3E50,color:#fff
    style Ocean fill:#2C3E50,stroke:#16A085,color:#fff

Figure 427.2: Four DTN application scenarios: Wildlife tracking uses animal-borne sensors that store GPS data locally until animals visit watering holes with base stations. Disaster recovery enables communication when infrastructure is destroyed through relief workers carrying devices that mesh when in range. Rural connectivity connects isolated villages via buses carrying data packets to town internet gateways. Ocean monitoring deploys buoy sensors that transfer data to passing ships which carry it to port for satellite uplink.

427.3.3 DTN Routing Protocols

Since DTN links are opportunistic and intermittent, routing becomes fundamentally different from traditional networks.

1. Epidemic Routing {#arch-wsn-part-epidemic}

Concept: When two nodes meet, they exchange all messages they carry (like spreading an epidemic).

Algorithm:

When node A encounters node B:
  For each message M in A's buffer:
    If B doesn't have M:
      A transmits copy of M to B

  For each message M in B's buffer:
    If A doesn't have M:
      B transmits copy of M to A

Advantages: - Maximizes delivery probability - Fast message propagation - Robust to node failures

Disadvantages: - High resource consumption (buffer, bandwidth, energy) - Many redundant copies - Can lead to network congestion

2. Spray and Wait {#arch-wsn-part-spray-wait}

Concept: Limit message replication to reduce overhead.

Phases: 1. Spray Phase: Distribute L copies of message to first L distinct nodes 2. Wait Phase: Nodes carrying a copy perform direct transmission only (wait for destination)

Variants: - Binary Spray and Wait: Each node forwards half its copies and keeps half - Source Spray and Wait: Source distributes all L copies

Advantages: - Lower overhead than Epidemic - Better resource utilization - Still maintains good delivery probability

3. PRoPHET (Probabilistic Routing Protocol using History of Encounters and Transitivity) {#arch-wsn-part-prophet}

Concept: Use contact history to estimate delivery predictability.

Delivery Predictability P(A, B): - High if A frequently encounters B - Decays over time if no encounters - Transitive: if A encounters B often, and B encounters C often, then P(A, C) should increase

Update Equations:

Encounter: P(A, B) = P_old(A, B) + (1 - P_old(A, B)) * P_init
Aging: P(A, B) = P_old(A, B) * gamma^k
Transitivity: P(A, C) = P_old(A, C) + (1 - P_old(A, C)) * P(A, B) * P(B, C) * beta

Where: - P_init is in (0, 1): initialization constant - gamma is in (0, 1): aging constant - beta is in (0, 1): scaling constant for transitivity - k: number of time units elapsed

%% fig-alt: "Diagram showing IoT architecture components and their relationships with data flow and processing hierarchy."
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#2C3E50', 'secondaryColor': '#16A085', 'tertiaryColor': '#E67E22'}}}%%

graph TB
    subgraph Epidemic["Epidemic Routing"]
        E1[Copy to EVERY<br/>encountered node]
        E2[Delivery: ~95%<br/>Latency: Low]
        E3[Overhead: 100×<br/>copies]
        E4[Use: Critical<br/>messages only]
    end

    subgraph SprayWait["Spray and Wait"]
        S1[L copies max<br/>L=6 typical]
        S2[Delivery: ~80%<br/>Latency: Medium]
        S3[Overhead: 6×<br/>copies]
        S4[Use: Most IoT<br/>scenarios]
    end

    subgraph PRoPHET["PRoPHET"]
        P1[Forward if higher<br/>P delivery,B]
        P2[Delivery: ~70%<br/>Latency: Medium]
        P3[Overhead: 3-5×<br/>copies]
        P4[Use: Predictable<br/>mobility patterns]
    end

    Message[Message to<br/>Deliver]

    Message --> Epidemic
    Message --> SprayWait
    Message --> PRoPHET

    E1 --> E2 --> E3 --> E4
    S1 --> S2 --> S3 --> S4
    P1 --> P2 --> P3 --> P4

    style Epidemic fill:#E67E22,stroke:#2C3E50,color:#fff
    style SprayWait fill:#16A085,stroke:#2C3E50,color:#fff
    style PRoPHET fill:#7F8C8D,stroke:#2C3E50,color:#fff
    style Message fill:#2C3E50,stroke:#16A085,color:#fff

Figure 427.3: Diagram showing IoT architecture components and their relationships with data flow and processing hierarchy

DTN routing protocol comparison: Epidemic routing floods copies to every encountered node achieving 95% delivery with 100x overhead (use for critical messages), Spray-and-Wait limits to L=6 copies balancing 80% delivery with 6x overhead (recommended for most IoT scenarios), PRoPHET uses encounter history forwarding only to nodes with higher delivery probability achieving 70% delivery with 3-5x overhead (optimal for predictable mobility patterns like bus routes or commuter networks).

427.3.4 Routing Protocol Selection Guide

Criteria Epidemic Spray-and-Wait PRoPHET
Delivery Rate 95%+ 75-85% 65-75%
Latency Lowest Medium Medium-High
Overhead 100x copies 6-10x copies 3-5x copies
Buffer Needed Very High Medium Low-Medium
Energy Cost Highest Medium Lowest
Best For Critical alerts General IoT Predictable routes
Mobility Pattern Any/Random Any Regular/Scheduled

Selection Guidelines:

  1. Use Epidemic when:
    • Message is critical (disaster alerts, medical emergencies)
    • Buffer and energy are not constraints
    • Network is small (<50 nodes)
    • Must guarantee delivery
  2. Use Spray-and-Wait when:
    • Balancing delivery vs. overhead
    • General IoT data collection
    • Medium-sized networks
    • Unknown mobility patterns
  3. Use PRoPHET when:
    • Nodes have predictable movement (buses, commuters)
    • Resources are constrained
    • Can tolerate lower delivery rates
    • Contact patterns are stable

427.3.5 Case Study: ZebraNet

ZebraNet (Princeton, 2004) pioneered DTN for wildlife tracking:

Deployment: - GPS collars on zebras in Kenya - Base station at watering hole - No cellular coverage in reserve

DTN Implementation: - Store: Collar logs GPS every 3 minutes (288 points/day) - Carry: Zebra movement through savanna - Forward: When zebra visits watering hole, peer-to-peer transfer to base station

Routing Protocol: Modified Epidemic - Exchange data when two zebras encounter each other - Eventually, one zebra visits base station and uploads collective data

Results: - 85% data delivery rate - Average latency: 7 hours (acceptable for research) - Discovered unexpected migration patterns - Battery life: 2+ years with duty cycling

Key Insights: - Animal behavior creates natural data mules - Social animals (herding) enable peer-to-peer data spreading - Watering holes as network hubs exploit predictable behavior

427.3.6 Case Study: DakNet

DakNet (MIT Media Lab) demonstrated DTN for rural connectivity:

Problem: - Remote Indian villages without internet - Telephone lines too expensive to deploy - Villages separated by 5-10km

Solution: - Mount wireless access points on buses - Villages have local kiosks with Wi-Fi - Buses physically carry data between villages

Implementation: 1. Villager composes email at kiosk 2. Email stored on kiosk computer 3. Bus drives through village, auto-connects to kiosk 4. Email transferred to bus storage 5. Bus reaches town with internet gateway 6. Email uploaded to internet 7. Replies downloaded to bus 8. Return trip delivers replies to village kiosks

Results: - 99.9% message delivery rate - Average latency: 4-8 hours (one bus trip) - Cost: 90% less than telephone deployment - Services: Email, government forms, telemedicine


427.4 Knowledge Check

Test your understanding of Delay Tolerant Networks.

Question 1: A wildlife research team deploys GPS collars on elephants in a remote African reserve with no cellular coverage. The base station is at a watering hole that elephants visit unpredictably. Which networking paradigm is MOST appropriate for collecting GPS data from these collars?

Explanation: This scenario is ideal for Delay-Tolerant Networks (DTN) because: (1) Intermittent connectivity: Elephants visit watering hole unpredictably (hours-days between visits). No continuous end-to-end path exists. (2) Store-carry-forward: Collars store GPS readings locally (store), elephants physically move through savanna (carry), upload data when approaching base station (forward). (3) Latency tolerance: Wildlife research accepts hours-days delay for GPS tracks. Real-time isn’t required. Why others fail: (A) Traditional WSN assumes multi-hop connectivity - elephants too far apart. (B) Satellite expensive ($1/MB), overkill for delay-tolerant data. (D) MANET assumes network is “mostly connected” - elephant network is “mostly disconnected.” Real-world example: ZebraNet (Princeton, 2004) used DTN on zebra collars, achieving 85% data delivery with average 7-hour latency.

Question 2: In DTN terminology, what does “store-carry-forward” mean?

Explanation: Store-carry-forward describes the fundamental DTN delivery mechanism: (1) Store: When a node has data but no path to destination, it buffers the data locally. May store for hours or days. (2) Carry: The node physically moves through the environment. Movement is the transport mechanism - data travels with the node. (3) Forward: When the moving node encounters another node (or the destination), it transmits the stored data. The process may repeat through multiple intermediate nodes. Analogy: Like the postal system before telephones - you write a letter (store), mail carrier physically transports it (carry), delivers when arriving at destination (forward). Contrast with traditional routing: Data doesn’t wait - it’s forwarded immediately hop-by-hop, assuming continuous connectivity.

Question 3: PRoPHET routing protocol uses “delivery predictability” P(A,B) to decide whether to forward messages. If Node A frequently encounters Node B at a bus station, and Node B frequently encounters the base station at work, how does PRoPHET use this information to route a message from A to the base station?

Explanation: PRoPHET uses encounter history and transitivity for intelligent forwarding: (1) Encounter tracking: A meets B frequently at bus station, so P(A,B) = 0.8 (high). (2) Transitivity: A knows B meets Base frequently at work, so P(B,Base) = 0.9. PRoPHET calculates transitive probability: P(A,Base) via B = P(A,B) x P(B,Base) x beta = 0.8 x 0.9 x 0.25 = 0.18. (3) Forwarding decision: When A meets B, compare: P(A,Base) = 0.18 (A’s direct probability low), P(B,Base) = 0.9 (B’s direct probability high). Since P(B,Base) > P(A,Base), forward message to B. B carries message to work and delivers directly to Base. Key insight: PRoPHET learns mobility patterns. Commuters who reliably travel between locations become “good carriers” for those routes. Unlike epidemic routing (copy to everyone), PRoPHET selectively forwards only to nodes with higher delivery probability - reducing overhead while maintaining good delivery rates.

Question 4: Delay Tolerant Networks (DTNs) use epidemic routing for reliable message delivery in intermittently connected networks. How does epidemic routing work, and what is its main drawback?

Explanation: Epidemic routing treats messages like infectious disease: (1) Infection: Node with message (infected) encounters another node. (2) Transmission: If encountered node doesn’t have message, transfer copy (infection spreads). (3) Replication: Process repeats with every encounter, creating exponential message spread. (4) Delivery: Eventually, one copy reaches destination. Example: Node A has message for Node Z. A meets B, so B gets copy. A meets C, so C gets copy. B meets D, so D gets copy. Eventually one of many copies reaches Z. Delivery guarantee: If network is eventually connected (all nodes reachable through time-varying topology), epidemic routing guarantees delivery with probability approaching 1 as time approaches infinity. Massive overhead problem: (1) Exponential replication: Message copies grow exponentially (2, 4, 8, 16…). (2) Bandwidth consumption: Every encounter triggers transmission, consuming energy and wireless bandwidth. (3) Storage: All nodes must buffer multiple copies of multiple messages. Example: 100-node network, 10 messages, epidemic routing creates approximately 1000 message copies vs. 10 ideal deliveries = 100x overhead! Improvements: (1) Spray and Wait: Limit copies (L=6), spray to L nodes, then wait for delivery. Bounded overhead. (2) PRoPHET: Forward only to nodes with higher delivery probability (based on encounter history). Intelligent selection.

427.5 Summary

This chapter covered Delay-Tolerant Networks for IoT applications:

  • DTN Characteristics: Designed for intermittent connectivity, long delays, asymmetric data rates, and resource-constrained environments where traditional end-to-end assumptions fail
  • Store-Carry-Forward: Fundamental mechanism where data is stored locally, physically carried through node movement, and forwarded when encountering destination or relay nodes
  • Epidemic Routing: Maximizes delivery probability (95%) by replicating messages to every encountered node, at cost of 100x overhead - use only for critical messages
  • Spray-and-Wait: Balances delivery (80%) and overhead (6x) by limiting to L copies then waiting for direct delivery - recommended for most IoT scenarios
  • PRoPHET Routing: Uses encounter history for probabilistic forwarding, achieving 70% delivery with 3-5x overhead - optimal for predictable mobility patterns like bus routes
  • Real-World Applications: ZebraNet wildlife tracking (85% delivery, 7-hour latency), DakNet rural connectivity (99.9% delivery, 4-8 hour latency), demonstrating DTN viability for challenged networks

427.5.1 DTN Store-and-Forward

Geometric visualization of Delay Tolerant Network store-and-forward mechanism showing data bundles being carried through intermittent connectivity using opportunistic contacts

DTN Architecture

Store-and-forward mechanism enabling communication through disconnected networks.

427.5.2 Mobile Sink Routing

Geometric diagram showing mobile sink routing patterns with data mules collecting information from static sensor nodes along optimized collection paths

Mobile Sink

Mobile sink routing strategies for energy-efficient data collection.

427.6 What’s Next

The next chapter explores Sensing-as-a-Service: Fundamentals, covering the S2aaS paradigm shift, sensor virtualization, data ownership models, multi-tenancy architectures, and business models for monetizing shared sensor infrastructure.


Hands-On Simulations: - Simulations Hub features DTN routing simulators (THE ONE simulator) where you can experiment with Epidemic, Spray-and-Wait, and PRoPHET protocols, comparing delivery rates and overhead in different mobility scenarios

Test Your Knowledge: - Quizzes Hub contains DTN quizzes covering routing algorithms, store-carry-forward mechanisms, and protocol selection with detailed explanations

Video Learning: - Videos Hub offers curated videos on delay-tolerant networking in wildlife tracking, disaster recovery, and rural connectivity scenarios

Common Pitfalls: - Knowledge Gaps Hub explains misconceptions about DTN overhead (epidemic routing creates 100x copies), delivery guarantees, and when to use each routing protocol

Human-Centric Sensing: - Human-Centric Sensing: Roles and Paradigms - Human roles in sensing systems - Participatory Sensing: Platforms and Applications - Crowdsourced data collection

WSN Fundamentals: - Wireless Sensor Networks - WSN architecture fundamentals - WSN Stationary vs Mobile: Fundamentals - Mobile sinks and data MULEs - WSN Overview: Fundamentals - Network basics

Routing & Protocols: - Sensor Network Routing - Data-centric routing approaches - RPL Routing - Low-power routing - MQTT - Lightweight messaging protocol

Learning Hubs: - Simulations Hub - DTN simulation tools - Videos Hub - Tutorial videos