SlideShare a Scribd company logo
Web Services for the Internet of
Things
T-106.5800 Seminar on Software Techniques (3 cr)
Presentation

Markku Laine, M.Sc. (Tech.)
markku.laine@aalto.fi

                               November 3, 2011
Presentation Outline

•    Internet of Things
•    CoAP
•    CoAP protocol stack
•    Web Services for the Internet of Things
•    Conclusion




                                    2
Internet of Things




           3
What is Internet of Things?
                      (e.g., sensors)




                 (e.g., personal computers
                     and smart phones)




                      (e.g., routers
                      and servers)




                                             Source: Sensinode


                                         4
Gartner’s Hype Cycle for Emerging
Technologies, 2011




                                    Source: Gartner


                      5
Challenges: How to…

•  …connect physical environments/smart objects as part
   of the Internet?
•  …cope with trillions of smart objects?
•  …handle the problems with smart objects/small devices
   as they may have difficulties in dealing with protocols
   and technologies designed for full-powered computers?
•  …integrate devices in constrained networks with Web
   applications?




                                 6
Constrained Application Protocol (CoAP)




                      7
Google’s Hype Cycle for CoAP




                                    CoAP v.00




                               Source: Google Insights for Search


                     8
Implementations

•  libcoap (C), open source
   –  http://libcoap.sourceforge.net/
•  OpenCOAP (C), open source
   –  https://code.google.com/p/opencoap/
•  CoAPy (Python), open source, in progress
   –  http://coapy.sourceforge.net/
•  Copper (Firefox addon)
   –  https://addons.mozilla.org/en-US/firefox/addon/copper-270430/
•  Sensinode, The Contiki OS, TinyOS, etc.


                                        9
CoAP Protocol Stack




            10
Comparison of HTTP and CoAP Protocol
Stacks

       XML           Payload               EXI

      HTTP        Application (L7)         CoAP

       TCP        Transport (L4)           UDP

        IP         Network (L3)          6LoWPAN

   Ethernet MAC   Data Link (L2)     IEEE 802.15.4 MAC

   Ethernet PHY    Physical (L1)     IEEE 802.15.4 PHY



                               11
Physical & Data Link Layers (L1 & L2):
Ethernet à IEEE 802.15.4 (PHY & MAC)
•  Goal: Get rid of wires
•  Methods: Wireless
•  Solution: IEEE 802.15.4
   –  IEEE wireless standard (IEEE 802.15.4d), April 2009,
      http://standards.ieee.org/getieee802/download/
      802.15.4d-2009.pdf
   –  Specifies the physical layer and media access control for low-
      rate wireless personal networks (LR-WPANs)
   –  Low-power, low-bandwidth communication technology
   –  Basis for extensions, such as ZigBee



                                        12
Network Layer (L3):
IP à 6LoWPAN
•  Goal: Integrate Wireless Sensor Networks (WSNs) and
   smart objects with the Internet
•  Method: Optional protocol
•  Solution: IPv6 over Low-Power Wireless Personal Area
   Networks (6LoWPAN)
   –  IETF Informational (RFC 4919), August 2007,
      http://tools.ietf.org/html/rfc4919
   –  IETF Proposed Standard (RFC 4944), September 2007,
      http://tools.ietf.org/html/rfc4944
   –  Brings IP to the smallest of devices, such as sensors
   –  Encapsulation and header compression mechanisms

                                      13
Transport Layer (L4):
TCP à UDP
•  Goal: Reduce the overhead for short-lived transactions
•  Method: Optional protocol
•  Solution: User Datagram Protocol (UDP)
   –  IETF Standard (RFC 768), August 1980,
      http://tools.ietf.org/html/rfc768
   –  Fast but unreliable transport protocol
   –  Optimal for exchanging very small data units
   –  Supports multicasting
   –  Used with the IP network layer protocol




                                       14
Application Layer (L7):
HTTP à CoAP
•  Goal: Provide resource constrained devices with
   RESTful web service functionalities
•  Methods: Optional protocol
•  Solution: Constrained Application Protocol (CoAP)
   –  IETF Internet Draft, November 2011,
      https://tools.ietf.org/html/draft-ietf-core-coap-08
   –  REST-based architecture
   –  Optimized for resource constrained networks typical of IoT and
      M2M applications
   –  Takes into account the low processing power and energy
      consumption constraints of small embedded devices, such as
      sensors


                                       15
Payload:
XML à EXI
•  Goal: Reduce the overhead of XML
•  Methods: Compression and encoding
•  Solution: Efficient XML Interchange (EXI)
   –  W3C Recommendation (EXI Format 1.0), March 2011,
      http://www.w3.org/TR/exi/
   –  Very compact representation of the XML Information Set
   –  Optimizes the performance and utilization of computational
      resources
   –  Extremely efficient schema-informed mode




                                       16
Web Services for the Internet of Things




                      17
About Web Services

•  Today’s Web Services are not suitable to be used with
   the Internet of Things
   –  TCP, HTTP, XML (SOAP)
•  What is needed is
   –    RESTful architecture for good Web integration
   –    Native push model with subscribe and notify
   –    UDP-based transport with multicast support
   –    Overhead suitable for constrained networks
   –    Complexity suitable for constrained nodes
   –    Build-in Web discovery and security
•  CoAP comes to the rescue!

                                         18
CoAP and Web Services




                         Source: Sensinode


                    19
Conclusion




       20
Conclusion

•  Traditional Web protocols and technologies are not
   suitable for the Internet of Things
•  The HTTP protocol stack needs to be optimized from the
   bottom to the top
•  CoAP is the key technology in accessing constrained
   environments/nodes from Web applications




                                21
References

•  Colitti, W., Steenhaut, K., and De Caro, N. Integrating
   Wireless Sensor Networks with the Web. 2011.
•  Shelby, Z. Embedded Web Services. In Journal of IEEE
   Wireless Communications, 17(6):52-57, 2010.
•  Castellani, A. et al. Web Services for the Internet of
   Things through CoAP and EXI. In Communications
   Workshops (ICC). IEEE, 2011, 1-6.
•  Castellani, A. et al. Best Practices for HTTP-CoAP
   Mapping Implementation. IETF Internet Draft, 2011.


                                 22
Thank You!




             Questions? Comments?
              markku.laine@aalto.fi




                           23

More Related Content

What's hot

IOT Reference Model.doc
IOT Reference Model.docIOT Reference Model.doc
IOT Reference Model.doc
venui2
 
IOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptxIOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptx
ArchanaPandiyan
 
Design challenges in IoT
Design challenges in IoT Design challenges in IoT
Design challenges in IoT
Emertxe Information Technologies Pvt Ltd
 
M2M technology in IOT
M2M technology in IOTM2M technology in IOT
M2M technology in IOT
shashidharPapishetty
 
Chapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiesChapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologies
pavan penugonda
 
Web servers for the Internet of Things
Web servers for the Internet of ThingsWeb servers for the Internet of Things
Web servers for the Internet of Things
Alexandru Radovici
 
IoT Networking Part 2
IoT Networking Part 2IoT Networking Part 2
IoT Networking Part 2
Hitesh Mohapatra
 
IOT15_Unit6.pptx
IOT15_Unit6.pptxIOT15_Unit6.pptx
IOT15_Unit6.pptx
suptel
 
IoT Networking
IoT NetworkingIoT Networking
IoT Networking
Hitesh Mohapatra
 
connecting smart object in IoT.pptx
connecting smart object in IoT.pptxconnecting smart object in IoT.pptx
connecting smart object in IoT.pptx
AnisZahirahAzman
 
Ppt 3 - IOT logic design
Ppt   3 - IOT logic designPpt   3 - IOT logic design
Ppt 3 - IOT logic design
udhayakumarc1
 
IoT and m2m
IoT and m2mIoT and m2m
IoT and m2m
pavan penugonda
 
M2M systems layers and designs standardizations
M2M systems layers and designs standardizationsM2M systems layers and designs standardizations
M2M systems layers and designs standardizations
FabMinds
 
Iot architecture
Iot architectureIot architecture
Iot architecture
Niranjan Kumar
 
IOT - Unit 3.pptx
IOT - Unit 3.pptxIOT - Unit 3.pptx
IOT - Unit 3.pptx
PallaviPatil580306
 
15CS81 Module1 IoT
15CS81 Module1 IoT15CS81 Module1 IoT
15CS81 Module1 IoT
Ganesh Awati
 
CoAP - Web Protocol for IoT
CoAP - Web Protocol for IoTCoAP - Web Protocol for IoT
CoAP - Web Protocol for IoT
Aniruddha Chakrabarti
 
Unit 4
Unit 4Unit 4
Business models for business processes on IoT
Business models for business processes on IoTBusiness models for business processes on IoT
Business models for business processes on IoT
FabMinds
 
IoT13: Xively showcase
IoT13: Xively showcaseIoT13: Xively showcase
IoT13: Xively showcase
Business of Software Conference
 

What's hot (20)

IOT Reference Model.doc
IOT Reference Model.docIOT Reference Model.doc
IOT Reference Model.doc
 
IOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptxIOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptx
 
Design challenges in IoT
Design challenges in IoT Design challenges in IoT
Design challenges in IoT
 
M2M technology in IOT
M2M technology in IOTM2M technology in IOT
M2M technology in IOT
 
Chapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiesChapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologies
 
Web servers for the Internet of Things
Web servers for the Internet of ThingsWeb servers for the Internet of Things
Web servers for the Internet of Things
 
IoT Networking Part 2
IoT Networking Part 2IoT Networking Part 2
IoT Networking Part 2
 
IOT15_Unit6.pptx
IOT15_Unit6.pptxIOT15_Unit6.pptx
IOT15_Unit6.pptx
 
IoT Networking
IoT NetworkingIoT Networking
IoT Networking
 
connecting smart object in IoT.pptx
connecting smart object in IoT.pptxconnecting smart object in IoT.pptx
connecting smart object in IoT.pptx
 
Ppt 3 - IOT logic design
Ppt   3 - IOT logic designPpt   3 - IOT logic design
Ppt 3 - IOT logic design
 
IoT and m2m
IoT and m2mIoT and m2m
IoT and m2m
 
M2M systems layers and designs standardizations
M2M systems layers and designs standardizationsM2M systems layers and designs standardizations
M2M systems layers and designs standardizations
 
Iot architecture
Iot architectureIot architecture
Iot architecture
 
IOT - Unit 3.pptx
IOT - Unit 3.pptxIOT - Unit 3.pptx
IOT - Unit 3.pptx
 
15CS81 Module1 IoT
15CS81 Module1 IoT15CS81 Module1 IoT
15CS81 Module1 IoT
 
CoAP - Web Protocol for IoT
CoAP - Web Protocol for IoTCoAP - Web Protocol for IoT
CoAP - Web Protocol for IoT
 
Unit 4
Unit 4Unit 4
Unit 4
 
Business models for business processes on IoT
Business models for business processes on IoTBusiness models for business processes on IoT
Business models for business processes on IoT
 
IoT13: Xively showcase
IoT13: Xively showcaseIoT13: Xively showcase
IoT13: Xively showcase
 

Viewers also liked

Towards Future Internet: Web 3.0, Internet of Services & Internet of Things
Towards Future Internet: Web 3.0, Internet of Services & Internet of ThingsTowards Future Internet: Web 3.0, Internet of Services & Internet of Things
Towards Future Internet: Web 3.0, Internet of Services & Internet of Things
Diego López-de-Ipiña González-de-Artaza
 
Introducción a Internet de las Cosas
Introducción a Internet de las CosasIntroducción a Internet de las Cosas
Introducción a Internet de las Cosas
Marco Antonio Arenas Porcel
 
Web services - A Practical Approach
Web services - A Practical ApproachWeb services - A Practical Approach
Web services - A Practical Approach
Madhaiyan Muthu
 
Webservices testing using SoapUI
Webservices testing using SoapUIWebservices testing using SoapUI
Webservices testing using SoapUITesting World
 
China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...
Qianzhan Intelligence
 
Национальная Программа "Лучшие социальные проекты России"
Национальная Программа "Лучшие социальные проекты России"Национальная Программа "Лучшие социальные проекты России"
Национальная Программа "Лучшие социальные проекты России"AlexandraObydenova
 
Angular 2 Crash Course with TypeScript
Angular 2 Crash Course with TypeScriptAngular 2 Crash Course with TypeScript
Angular 2 Crash Course with TypeScriptayman diab
 
China banking industry market research and prospect forecast report
China banking industry market research and prospect forecast reportChina banking industry market research and prospect forecast report
China banking industry market research and prospect forecast reportQianzhan Intelligence
 
China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...
Qianzhan Intelligence
 
IoTest project: Semantic interoperability
IoTest project: Semantic interoperabilityIoTest project: Semantic interoperability
IoTest project: Semantic interoperability
iotest
 
Ostern in griechenland von panagiotis sagali und raphael zarko
Ostern in griechenland von panagiotis sagali und raphael zarkoOstern in griechenland von panagiotis sagali und raphael zarko
Ostern in griechenland von panagiotis sagali und raphael zarkoEine kleine Deutschkiste
 
China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...Qianzhan Intelligence
 
China pharmaceutical excipients industry indepth research and investment stra...
China pharmaceutical excipients industry indepth research and investment stra...China pharmaceutical excipients industry indepth research and investment stra...
China pharmaceutical excipients industry indepth research and investment stra...
Qianzhan Intelligence
 
อุปกรณ์สำรองข้อมูล
อุปกรณ์สำรองข้อมูลอุปกรณ์สำรองข้อมูล
อุปกรณ์สำรองข้อมูล
Yoshikuni Yuusuke
 
Project_Completion_12_December_2012
Project_Completion_12_December_2012Project_Completion_12_December_2012
Project_Completion_12_December_2012Enric Vinyes
 

Viewers also liked (17)

Towards Future Internet: Web 3.0, Internet of Services & Internet of Things
Towards Future Internet: Web 3.0, Internet of Services & Internet of ThingsTowards Future Internet: Web 3.0, Internet of Services & Internet of Things
Towards Future Internet: Web 3.0, Internet of Services & Internet of Things
 
Introducción a Internet de las Cosas
Introducción a Internet de las CosasIntroducción a Internet de las Cosas
Introducción a Internet de las Cosas
 
Web services - A Practical Approach
Web services - A Practical ApproachWeb services - A Practical Approach
Web services - A Practical Approach
 
Webservices testing using SoapUI
Webservices testing using SoapUIWebservices testing using SoapUI
Webservices testing using SoapUI
 
China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...China engineering consultation industry development prospects and investment ...
China engineering consultation industry development prospects and investment ...
 
Национальная Программа "Лучшие социальные проекты России"
Национальная Программа "Лучшие социальные проекты России"Национальная Программа "Лучшие социальные проекты России"
Национальная Программа "Лучшие социальные проекты России"
 
Angular 2 Crash Course with TypeScript
Angular 2 Crash Course with TypeScriptAngular 2 Crash Course with TypeScript
Angular 2 Crash Course with TypeScript
 
China banking industry market research and prospect forecast report
China banking industry market research and prospect forecast reportChina banking industry market research and prospect forecast report
China banking industry market research and prospect forecast report
 
China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...China cardiovascular system drugs industry market demand forecast and investm...
China cardiovascular system drugs industry market demand forecast and investm...
 
IoTest project: Semantic interoperability
IoTest project: Semantic interoperabilityIoTest project: Semantic interoperability
IoTest project: Semantic interoperability
 
Ostern in griechenland von panagiotis sagali und raphael zarko
Ostern in griechenland von panagiotis sagali und raphael zarkoOstern in griechenland von panagiotis sagali und raphael zarko
Ostern in griechenland von panagiotis sagali und raphael zarko
 
China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...
 
Hagan Lawrence Resume
Hagan Lawrence ResumeHagan Lawrence Resume
Hagan Lawrence Resume
 
China pharmaceutical excipients industry indepth research and investment stra...
China pharmaceutical excipients industry indepth research and investment stra...China pharmaceutical excipients industry indepth research and investment stra...
China pharmaceutical excipients industry indepth research and investment stra...
 
IJAZAH S1
IJAZAH S1IJAZAH S1
IJAZAH S1
 
อุปกรณ์สำรองข้อมูล
อุปกรณ์สำรองข้อมูลอุปกรณ์สำรองข้อมูล
อุปกรณ์สำรองข้อมูล
 
Project_Completion_12_December_2012
Project_Completion_12_December_2012Project_Completion_12_December_2012
Project_Completion_12_December_2012
 

Similar to Web Services for the Internet of Things

From leading IoT Protocols to Python Dashboarding_final
From leading IoT Protocols to Python Dashboarding_finalFrom leading IoT Protocols to Python Dashboarding_final
From leading IoT Protocols to Python Dashboarding_final
Lukas Ott
 
1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop
ARCFIRE ICT
 
Internet-Of-Things-For-Smart-Cities
Internet-Of-Things-For-Smart-CitiesInternet-Of-Things-For-Smart-Cities
Internet-Of-Things-For-Smart-CitiesSitakanta Mishra
 
L6 6 lowpan
L6 6 lowpanL6 6 lowpan
L6 6 lowpan
bimal2638
 
IPv6 and IoT
IPv6 and IoTIPv6 and IoT
IPv6 and IoT
APNIC
 
Web API Management meets the Internet of Things
Web API Management meets the Internet of ThingsWeb API Management meets the Internet of Things
Web API Management meets the Internet of Things
Paul Fremantle
 
SDN and metrics from the SDOs
SDN and metrics from the SDOsSDN and metrics from the SDOs
SDN and metrics from the SDOs
Open Networking Summit
 
Colt's SDN/NFV Vision
Colt's SDN/NFV VisionColt's SDN/NFV Vision
Colt's SDN/NFV Vision
FIBRE Testbed
 
Colt SDN Strategy - FIBRE Workshop 5 Nov 2013 Barcelona
Colt SDN Strategy - FIBRE Workshop 5 Nov 2013 BarcelonaColt SDN Strategy - FIBRE Workshop 5 Nov 2013 Barcelona
Colt SDN Strategy - FIBRE Workshop 5 Nov 2013 Barcelona
Javier Benitez
 
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoTMphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoTAniruddha Chakrabarti
 
Dc ch02 : protocol architecture
Dc ch02 : protocol architectureDc ch02 : protocol architecture
Dc ch02 : protocol architecture
Syaiful Ahdan
 
Rpl2018
Rpl2018Rpl2018
ch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computingch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computing
ssuser06ea42
 
Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6
Rodolfo Kohn
 
Internet Engineering Task Force
Internet Engineering Task ForceInternet Engineering Task Force
Internet Engineering Task Force
Yatish Bathla
 
Io t standard_bis_arpanpal
Io t standard_bis_arpanpalIo t standard_bis_arpanpal
Io t standard_bis_arpanpal
Arpan Pal
 
The Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco CloudThe Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco CloudMarco Rodrigues
 
NetSim Webinar on IOT
NetSim Webinar on IOTNetSim Webinar on IOT
NetSim Webinar on IOT
KAVITHA IYER
 
Intel IPSO/6LoWPAN solution for general wireless sensor network
Intel IPSO/6LoWPAN solution for general wireless sensor network Intel IPSO/6LoWPAN solution for general wireless sensor network
Intel IPSO/6LoWPAN solution for general wireless sensor network
usman sarwar
 
Ppt 11 - netopeer
Ppt   11 - netopeerPpt   11 - netopeer
Ppt 11 - netopeer
udhayakumarc1
 

Similar to Web Services for the Internet of Things (20)

From leading IoT Protocols to Python Dashboarding_final
From leading IoT Protocols to Python Dashboarding_finalFrom leading IoT Protocols to Python Dashboarding_final
From leading IoT Protocols to Python Dashboarding_final
 
1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop
 
Internet-Of-Things-For-Smart-Cities
Internet-Of-Things-For-Smart-CitiesInternet-Of-Things-For-Smart-Cities
Internet-Of-Things-For-Smart-Cities
 
L6 6 lowpan
L6 6 lowpanL6 6 lowpan
L6 6 lowpan
 
IPv6 and IoT
IPv6 and IoTIPv6 and IoT
IPv6 and IoT
 
Web API Management meets the Internet of Things
Web API Management meets the Internet of ThingsWeb API Management meets the Internet of Things
Web API Management meets the Internet of Things
 
SDN and metrics from the SDOs
SDN and metrics from the SDOsSDN and metrics from the SDOs
SDN and metrics from the SDOs
 
Colt's SDN/NFV Vision
Colt's SDN/NFV VisionColt's SDN/NFV Vision
Colt's SDN/NFV Vision
 
Colt SDN Strategy - FIBRE Workshop 5 Nov 2013 Barcelona
Colt SDN Strategy - FIBRE Workshop 5 Nov 2013 BarcelonaColt SDN Strategy - FIBRE Workshop 5 Nov 2013 Barcelona
Colt SDN Strategy - FIBRE Workshop 5 Nov 2013 Barcelona
 
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoTMphasis Digital POV - Emerging Open Standard Protocol stack for IoT
Mphasis Digital POV - Emerging Open Standard Protocol stack for IoT
 
Dc ch02 : protocol architecture
Dc ch02 : protocol architectureDc ch02 : protocol architecture
Dc ch02 : protocol architecture
 
Rpl2018
Rpl2018Rpl2018
Rpl2018
 
ch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computingch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computing
 
Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6Networking - TCP/IP stack introduction and IPv6
Networking - TCP/IP stack introduction and IPv6
 
Internet Engineering Task Force
Internet Engineering Task ForceInternet Engineering Task Force
Internet Engineering Task Force
 
Io t standard_bis_arpanpal
Io t standard_bis_arpanpalIo t standard_bis_arpanpal
Io t standard_bis_arpanpal
 
The Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco CloudThe Modern Telco Network: Defining The Telco Cloud
The Modern Telco Network: Defining The Telco Cloud
 
NetSim Webinar on IOT
NetSim Webinar on IOTNetSim Webinar on IOT
NetSim Webinar on IOT
 
Intel IPSO/6LoWPAN solution for general wireless sensor network
Intel IPSO/6LoWPAN solution for general wireless sensor network Intel IPSO/6LoWPAN solution for general wireless sensor network
Intel IPSO/6LoWPAN solution for general wireless sensor network
 
Ppt 11 - netopeer
Ppt   11 - netopeerPpt   11 - netopeer
Ppt 11 - netopeer
 

More from Markku Laine

Responsive and Personalized Web Layouts with Integer Programming
Responsive and Personalized Web Layouts with Integer ProgrammingResponsive and Personalized Web Layouts with Integer Programming
Responsive and Personalized Web Layouts with Integer Programming
Markku Laine
 
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web LayoutsLayout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts
Markku Laine
 
Monitoring the Spreading of Infectious Diseases in Finland
Monitoring the Spreading of Infectious Diseases in FinlandMonitoring the Spreading of Infectious Diseases in Finland
Monitoring the Spreading of Infectious Diseases in Finland
Markku Laine
 
XFormsDB: An XForms-Based Framework for Simplifying Web Application Development
XFormsDB: An XForms-Based Framework for Simplifying Web Application DevelopmentXFormsDB: An XForms-Based Framework for Simplifying Web Application Development
XFormsDB: An XForms-Based Framework for Simplifying Web Application Development
Markku Laine
 
XIDE: Expanding End-User Web Development
XIDE: Expanding End-User Web DevelopmentXIDE: Expanding End-User Web Development
XIDE: Expanding End-User Web Development
Markku Laine
 
Connecting XForms to Databases: An Extension to the XForms Markup Language
Connecting XForms to Databases: An Extension to the XForms Markup LanguageConnecting XForms to Databases: An Extension to the XForms Markup Language
Connecting XForms to Databases: An Extension to the XForms Markup Language
Markku Laine
 
Editable Documents on the Web
Editable Documents on the WebEditable Documents on the Web
Editable Documents on the Web
Markku Laine
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web Applications
Markku Laine
 
Performance Evaluation of XMPP on the Web
Performance Evaluation of XMPP on the WebPerformance Evaluation of XMPP on the Web
Performance Evaluation of XMPP on the Web
Markku Laine
 
Extending XForms with Server-Side Functionality
Extending XForms with Server-Side FunctionalityExtending XForms with Server-Side Functionality
Extending XForms with Server-Side Functionality
Markku Laine
 

More from Markku Laine (10)

Responsive and Personalized Web Layouts with Integer Programming
Responsive and Personalized Web Layouts with Integer ProgrammingResponsive and Personalized Web Layouts with Integer Programming
Responsive and Personalized Web Layouts with Integer Programming
 
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web LayoutsLayout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts
 
Monitoring the Spreading of Infectious Diseases in Finland
Monitoring the Spreading of Infectious Diseases in FinlandMonitoring the Spreading of Infectious Diseases in Finland
Monitoring the Spreading of Infectious Diseases in Finland
 
XFormsDB: An XForms-Based Framework for Simplifying Web Application Development
XFormsDB: An XForms-Based Framework for Simplifying Web Application DevelopmentXFormsDB: An XForms-Based Framework for Simplifying Web Application Development
XFormsDB: An XForms-Based Framework for Simplifying Web Application Development
 
XIDE: Expanding End-User Web Development
XIDE: Expanding End-User Web DevelopmentXIDE: Expanding End-User Web Development
XIDE: Expanding End-User Web Development
 
Connecting XForms to Databases: An Extension to the XForms Markup Language
Connecting XForms to Databases: An Extension to the XForms Markup LanguageConnecting XForms to Databases: An Extension to the XForms Markup Language
Connecting XForms to Databases: An Extension to the XForms Markup Language
 
Editable Documents on the Web
Editable Documents on the WebEditable Documents on the Web
Editable Documents on the Web
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web Applications
 
Performance Evaluation of XMPP on the Web
Performance Evaluation of XMPP on the WebPerformance Evaluation of XMPP on the Web
Performance Evaluation of XMPP on the Web
 
Extending XForms with Server-Side Functionality
Extending XForms with Server-Side FunctionalityExtending XForms with Server-Side Functionality
Extending XForms with Server-Side Functionality
 

Recently uploaded

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 

Recently uploaded (20)

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 

Web Services for the Internet of Things

  • 1. Web Services for the Internet of Things T-106.5800 Seminar on Software Techniques (3 cr) Presentation Markku Laine, M.Sc. (Tech.) markku.laine@aalto.fi November 3, 2011
  • 2. Presentation Outline •  Internet of Things •  CoAP •  CoAP protocol stack •  Web Services for the Internet of Things •  Conclusion 2
  • 4. What is Internet of Things? (e.g., sensors) (e.g., personal computers and smart phones) (e.g., routers and servers) Source: Sensinode 4
  • 5. Gartner’s Hype Cycle for Emerging Technologies, 2011 Source: Gartner 5
  • 6. Challenges: How to… •  …connect physical environments/smart objects as part of the Internet? •  …cope with trillions of smart objects? •  …handle the problems with smart objects/small devices as they may have difficulties in dealing with protocols and technologies designed for full-powered computers? •  …integrate devices in constrained networks with Web applications? 6
  • 8. Google’s Hype Cycle for CoAP CoAP v.00 Source: Google Insights for Search 8
  • 9. Implementations •  libcoap (C), open source –  http://libcoap.sourceforge.net/ •  OpenCOAP (C), open source –  https://code.google.com/p/opencoap/ •  CoAPy (Python), open source, in progress –  http://coapy.sourceforge.net/ •  Copper (Firefox addon) –  https://addons.mozilla.org/en-US/firefox/addon/copper-270430/ •  Sensinode, The Contiki OS, TinyOS, etc. 9
  • 11. Comparison of HTTP and CoAP Protocol Stacks XML Payload EXI HTTP Application (L7) CoAP TCP Transport (L4) UDP IP Network (L3) 6LoWPAN Ethernet MAC Data Link (L2) IEEE 802.15.4 MAC Ethernet PHY Physical (L1) IEEE 802.15.4 PHY 11
  • 12. Physical & Data Link Layers (L1 & L2): Ethernet à IEEE 802.15.4 (PHY & MAC) •  Goal: Get rid of wires •  Methods: Wireless •  Solution: IEEE 802.15.4 –  IEEE wireless standard (IEEE 802.15.4d), April 2009, http://standards.ieee.org/getieee802/download/ 802.15.4d-2009.pdf –  Specifies the physical layer and media access control for low- rate wireless personal networks (LR-WPANs) –  Low-power, low-bandwidth communication technology –  Basis for extensions, such as ZigBee 12
  • 13. Network Layer (L3): IP à 6LoWPAN •  Goal: Integrate Wireless Sensor Networks (WSNs) and smart objects with the Internet •  Method: Optional protocol •  Solution: IPv6 over Low-Power Wireless Personal Area Networks (6LoWPAN) –  IETF Informational (RFC 4919), August 2007, http://tools.ietf.org/html/rfc4919 –  IETF Proposed Standard (RFC 4944), September 2007, http://tools.ietf.org/html/rfc4944 –  Brings IP to the smallest of devices, such as sensors –  Encapsulation and header compression mechanisms 13
  • 14. Transport Layer (L4): TCP à UDP •  Goal: Reduce the overhead for short-lived transactions •  Method: Optional protocol •  Solution: User Datagram Protocol (UDP) –  IETF Standard (RFC 768), August 1980, http://tools.ietf.org/html/rfc768 –  Fast but unreliable transport protocol –  Optimal for exchanging very small data units –  Supports multicasting –  Used with the IP network layer protocol 14
  • 15. Application Layer (L7): HTTP à CoAP •  Goal: Provide resource constrained devices with RESTful web service functionalities •  Methods: Optional protocol •  Solution: Constrained Application Protocol (CoAP) –  IETF Internet Draft, November 2011, https://tools.ietf.org/html/draft-ietf-core-coap-08 –  REST-based architecture –  Optimized for resource constrained networks typical of IoT and M2M applications –  Takes into account the low processing power and energy consumption constraints of small embedded devices, such as sensors 15
  • 16. Payload: XML à EXI •  Goal: Reduce the overhead of XML •  Methods: Compression and encoding •  Solution: Efficient XML Interchange (EXI) –  W3C Recommendation (EXI Format 1.0), March 2011, http://www.w3.org/TR/exi/ –  Very compact representation of the XML Information Set –  Optimizes the performance and utilization of computational resources –  Extremely efficient schema-informed mode 16
  • 17. Web Services for the Internet of Things 17
  • 18. About Web Services •  Today’s Web Services are not suitable to be used with the Internet of Things –  TCP, HTTP, XML (SOAP) •  What is needed is –  RESTful architecture for good Web integration –  Native push model with subscribe and notify –  UDP-based transport with multicast support –  Overhead suitable for constrained networks –  Complexity suitable for constrained nodes –  Build-in Web discovery and security •  CoAP comes to the rescue! 18
  • 19. CoAP and Web Services Source: Sensinode 19
  • 21. Conclusion •  Traditional Web protocols and technologies are not suitable for the Internet of Things •  The HTTP protocol stack needs to be optimized from the bottom to the top •  CoAP is the key technology in accessing constrained environments/nodes from Web applications 21
  • 22. References •  Colitti, W., Steenhaut, K., and De Caro, N. Integrating Wireless Sensor Networks with the Web. 2011. •  Shelby, Z. Embedded Web Services. In Journal of IEEE Wireless Communications, 17(6):52-57, 2010. •  Castellani, A. et al. Web Services for the Internet of Things through CoAP and EXI. In Communications Workshops (ICC). IEEE, 2011, 1-6. •  Castellani, A. et al. Best Practices for HTTP-CoAP Mapping Implementation. IETF Internet Draft, 2011. 22
  • 23. Thank You! Questions? Comments? markku.laine@aalto.fi 23