IP+SN presentation VUB - Johns Hopkins...
Transcript of IP+SN presentation VUB - Johns Hopkins...
![Page 1: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/1.jpg)
Walter Coli+ -‐ Kris Steenhaut -‐ Niccolo’ de Caro
Integra9ng Wireless Sensor Networks with the Web
Vrije Universiteit Brussel – ETRO Department.
![Page 2: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/2.jpg)
Introduc9on
Internet of Things Trillions of smart objects connected to the Internet
New scenario for Smart Metering, E-‐health, Logis9cs, …
IP for smart objects IP for Smart Objects alliance (IPSO) IETF 6LoWPAN and RPL
![Page 3: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/3.jpg)
Introduc9on
Web of Things REST architecture (URI/JSON/XML/…) Resource manipula9on with HTTP (GET, PUT, POST, …)
IETF CoAP HTTP func9onali9es re-‐designed for constrained devices Extra func9onali9es added
![Page 4: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/4.jpg)
Contribu9ons
CoAP vs HTTP Benefits of CoAP for power consump9on
Web/WSN integra>on RESTful WSN accessed from Web Browser
![Page 5: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/5.jpg)
CoAP
Transport Protocol UDP, low overhead and mul9cast support
Dual layer Transac9on layer for message exchange
HTTP
TCPIP
Request/ResponseTransaction
UDP6LoWPAN
CoAP
Request/Response layer for resource manipula9on
![Page 6: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/6.jpg)
CoAP
Small message overhead Fixed-‐length compact binary header of 4 bytes
Observa>ons Observa9on rela9onship between client and resource
![Page 7: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/7.jpg)
Con9kiMAC uIPv6/SICSLoWPAN CoAP/HTTP Server
TmoteSky CoAP/HTTP Client
[ubuntu]
CON GET coap://[mote_ip_address]:61616/readings
ACK CONTENT 2.05 {“sensor”:”212:7400:2:202”,”readings”:{“hum”:45,”temp”:24.5}}
[polling frequency = 10’’]
CoAP/HTTP testbed
![Page 8: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/8.jpg)
Traffic [ bytes transferred per transac9on ]
CoAP
HTTP
154
1451
CoAP/HTTP comparison
![Page 9: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/9.jpg)
Power consump>on [ mW ]
CoAP
HTTP
0.744
1.333 (Evalua9on based on Energest output)
CoAP/HTTP comparison
![Page 10: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/10.jpg)
BaMery lifetime [ days ]
CoAP
HTTP
151
84
CoAP/HTTP comparison
![Page 11: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/11.jpg)
Study case: Greenhouse monitoring
The end-‐to-‐end system
USER
HTTP
Web App Server
CoAP client
Apache CouchDB
Linux Ubuntu
WSN
CoAP
GATEWAY = Ubuntu machine + Con9ki router (USB)
![Page 12: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/12.jpg)
3 BUILDING BLOCKS:
The Gateway
the Non-‐SQL database CouchDB (JSON storage format) -‐ contains WSN data
the CoAP-‐client communicates with the WSN and stores data into the database, or passes them to the Web app server
the Web App server
-‐ from the CoAP-‐client for real-‐>me polls -‐ from the DB for historical data and stats
Includes a set of services used to retrieve data:
![Page 13: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/13.jpg)
WSN features:
The Wireless Sensor Network
l based on Con9ki OS l mesh topology network l Tmote Sky motes l RPL: mul9-‐hop, re-‐rou9ng in case of node failure l Stack: CoAP/UDP/IPv6/6LowPAN/802.15.4
![Page 14: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/14.jpg)
gateway browser HTTP/AJAX
The Web Applica9on
Temperature: 24.5°C Humidity: 35%
@15:34 April 12, 2011
February ‘10 Hello!
![Page 15: IP+SN presentation VUB - Johns Hopkins Universityhinrg.cs.jhu.edu/joomla/images/stories/IPSN_presentation_VUB.pdf · IP+SN_presentation_VUB.ppt Author: Andreas Terzis Created Date:](https://reader034.fdocuments.us/reader034/viewer/2022042420/5f37096ee98999095f40fe01/html5/thumbnails/15.jpg)
""
""
Thanks for your auen9on