TCP/IP Use in Wireless Sensor Networks Livio Sgier Roadmap - - PowerPoint PPT Presentation

tcp ip use in wireless sensor networks
SMART_READER_LITE
LIVE PREVIEW

TCP/IP Use in Wireless Sensor Networks Livio Sgier Roadmap - - PowerPoint PPT Presentation

TCP/IP Use in Wireless Sensor Networks Livio Sgier Roadmap Introduction and Motivation TCP/IP in General TCP/IP in Wireless Sensor Networks Summary and Conclusion Page 2 Roadmap Introduction and Motivation TCP/IP in


slide-1
SLIDE 1

TCP/IP Use in Wireless Sensor Networks

Livio Sgier

slide-2
SLIDE 2

Page 2

Roadmap

  • Introduction and Motivation
  • TCP/IP in General
  • TCP/IP in Wireless Sensor Networks
  • Summary and Conclusion
slide-3
SLIDE 3

Page 3

Roadmap

  • Introduction and Motivation
  • TCP/IP in General
  • TCP/IP in Wireless Sensor Networks
  • Summary and Conclusion
slide-4
SLIDE 4

Page 4

Internet of Things (IoT)

The IoT is the network of physical objects—devices, vehicles, buildings and

  • ther items—embedded with electronics, software, sensors, and network

connectivity that enables these objects to collect and exchange data.

Source: https://www.linkedin.com/topic/internet-of-things

slide-5
SLIDE 5

Page 5

Wireless Sensor Networks (WSN)

WSNs are spatially distributed autonomous sensors to monitor physical

  • r environmental conditions, such as temperature, sound, pressure, etc.

and to cooperatively pass their data through the network to a main location.

  • CPU: 8-bit AVR, 16 MHz
  • 128 KB Instruction Mem.
  • 8 KB RAM
  • A. Dunkels: Towards TCP/IP for Wireless Sensor Networks; March 2005
slide-6
SLIDE 6

Page 6

Roadmap

  • Introduction and Motivation
  • TCP/IP in General
  • TCP/IP in Wireless Sensor Networks
  • Summary and Conclusion
slide-7
SLIDE 7

Page 7

TCP/IP Protocol Stack

  • Physical/Network Access Layer: Networking hardware transmission (IEEE 802.3, 802.11)
  • Internet/Network Layer: Addressing, Routing (IP, ICMP, etc.)
  • Transport Layer: Host-to-Host communication (TCP, UDP, SCTP, etc.)
  • Application Layer: Process-to-process communication (Bitcoin, FTP, etc.)

Source: http://i.stack.imgur.com/FOfAU.jpg

slide-8
SLIDE 8

Page 8

Internet Protocol (IP) Header Format

Corresponding RFC: https://tools.ietf.org/html/rfc791

slide-9
SLIDE 9

Page 9

Transmission Control Protocol (TCP) Header Format

Corresponding RFC: https://tools.ietf.org/html/rfc793

slide-10
SLIDE 10

Page 10

Roadmap

  • Introduction and Motivation
  • TCP/IP in General
  • TCP/IP in Wireless Sensor Networks
  • Summary and Conclusion
slide-11
SLIDE 11

Page 11

TCP/IP in WSNs

  • Facilitate monitoring, management, deployment, access
  • Challenges
  • Hardware resources (energy consumption, radio range, memory,

computational capacity)

  • TCP characteristics in wireless networks

→ Modifications and adaptations required!

slide-12
SLIDE 12

Page 12

Spatial IP Address Assignment

  • Autonomous: GPS on all nodes ( high energy consumption)

  • Semi-autonomous: GPS/manual config. on some nodes

Adam Dunkels, Thiemo Voigt, and Juan Alonso: Making TCP/IP Viable for Wireless Sensor Networks; January 2004

slide-13
SLIDE 13

Page 13

Routing

  • Greedy Perimeter Stateless Routing (GPSR)
  • Contrary to Ad-Hoc On Demand Distance Vector Routing (AODV)
  • Difference between WSNs and Mobile Ad-Hoc Networks (MANET)
  • Directed Diffusion
  • Data-centric instead of address-centric
  • Supports aggregation
  • Application-aware
  • Distributed Hash Tables (e.g., ScatterPastry)
  • Creating a routing overlay
slide-14
SLIDE 14

Page 14

Header Compression (1)

  • Goal: Have as much space as possible in packet for payload
  • Traditional IP + TCP Header = 40 Byte
slide-15
SLIDE 15

Page 15

Header Compression (2)

  • Only save difference of value, not actual value. Omit if difference is 0.
  • Assumptions
  • No additional IP and TCP options
  • No Fragmentation
  • In-Order Delivery
  • No Time to Live

→ Header size ranges between 4 and 12 Byte

Push Flag

slide-16
SLIDE 16

Page 16

Distributed TCP Caching

  • Wireless transmission characteristics
  • High bit-error rates
  • High latencies
  • Limited Bandwidth
  • Mobility
  • Temporary Disconnections
  • Distributed TCP Caching offers significant improvements
  • Caching TCP segments
  • Local retransmission

→ Energy consumption balanced → Reducing overall TCP segments traffic

slide-17
SLIDE 17

Page 17

Distributed TCP Caching - Example

1) Sender sends 3 segments to receiver 2) Segments 1 and 2 lost, cached locally 3) Nodes 5 and 7 local retransmission

  • Positive ACKs on link-layer to spot loss
  • Fast retransmission
  • Congestion threshold decreasing

Node = Intermediate Node on communication path

Adam Dunkels, Thiemo Voigt, and Juan Alonso: Making TCP/IP Viable for Wireless Sensor Networks; January 2004

slide-18
SLIDE 18

Page 18

Roadmap

  • Introduction and Motivation
  • TCP/IP in General
  • TCP/IP in Wireless Sensor Networks
  • Summary and Conclusion
slide-19
SLIDE 19

Page 19

Summary and Conclusion

  • Modifications on the Network Layer
  • Spatial IP Address Assignment
  • Routing
  • Modifications on the Transport Layer
  • Distributed TCP Caching
  • Overall improvement strategies
  • Header Compression

→ Yes, TCP/IP can be and is used in WSNs (e.g., lwIP, uIP)

slide-20
SLIDE 20

Page 20

Thank you...

Source: http://espei.com/wp-content/uploads/2013/05/equipmentprotection3.png

slide-21
SLIDE 21

Page 21

Question 1

What do you think IoT will look like in 5-10 years?

slide-22
SLIDE 22

Page 22

Question 2

Does it make sense “at the moment” to include TCP/IP by default for current WSN hardware?

slide-23
SLIDE 23

Page 23

Question 3

The role of standardization?

Source: https://cagenutsandbolts.files.wordpress.com/2015/12/network-communication-protocols-map.jpg