SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
Technology for
                                                                            Pervasive Computing



Using Web Service Gateways and Code Generation
for Sustainable IoT System Development
T. Riedel, N.L. Fantana*, A. Genaid, D. Yordanov, H. Schmidtke, M. Beigl,
KIT Pervasive Computing Systems Group, * ABB Corporate Research




KIT – University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association                               www.kit.edu
Overview

    Motivation
    Use Case Driven Analysis
    Implementation
    Results
    Outlook




                 IoT 2010, IoT Gateways, Till Riedel
                                                       Technology for
2   05.12.2010                                         Pervasive
                                                       Computing
Technology for
3   05.12.2010   Pervasive
                 Computing
Motivation

    How to apply IoT in industrial environments
         RFID, most often in logistics, first steps/islands
         in industrial environment
         WSN, most often in special applications
         No real internet


    Can IoT technolgies bring benefit in
    industrial ad-hoc service case?
    How can we be future proof and adaptive to
    new developments?
                 IoT 2010, IoT Gateways, Till Riedel
                                                       Technology for
4   05.12.2010                                         Pervasive
                                                       Computing
Technology for
5   05.12.2010   Pervasive
                 Computing
Internet of Things
    Federating data from objects, machines, devices

       Closing the reality gap  business value

       Technology available and installed: RFID,
       WSN, automation systems, external data
           internet of Things
                   ==
               Network of
              Networks of
                 Things
                 IoT 2010, IoT Gateways, Till Riedel   Technology for
6   05.12.2010                                         Pervasive
                                                       Computing
Why proprietary nodes and protocols?
    Heterogeneous IoT Nodes
          Market quickly evolving
          application specific node development
          Topologies and Infrastructure: RFID vs. WSN
          Sensing the reality everywhere size/energy

    Resource optimized IoT protocols
          Enable the effective use of WSN/RFID
          Lot of research in MAC-Layers, routing etc.
          Low overhead by using implicit information
                                                       Technology for
7   05.12.2010   IoT 2010, IoT Gateways, Till Riedel   Pervasive
                                                       Computing
IoT Platforms: Networked Sensing+ID
                                32 bit ARM7
                                   256K RAM/2M Flash/80 MHz, 802.15.4, Java



                                                            8bit PIC18F6720 MCU
                                                             4KB RAM /128KB Flash,5MIPS,
                                                             Awarecon, C/Java

SPOTS, Sun


                                                            8bit rfPIC 64 Byte RAM/1.4 KB Flash
                                                             1MIPS, C/Config only




 No MCU, 1bit-4kbyte
  EEPROM
                                                                                Organic Label, PolyIC
                                                                                         Technology for
    8    05.12.2010   IoT 2010, IoT Gateways, Till Riedel                                Pervasive
                                                                                         Computing
Why Web Services?
Document oriented Web Service
    Loose coupling
    Message oriented communication
    State less
    Not (only) RPC!
    (see Saif, Greaves: Communication Primitives for Ubiquitous Systems or RPC
    Considered Harmful)



Typing
    Integration into many programming languages
    Well-defined Interfaces
    Long term documentation (one the ideas behind SGML)
                                                                  Technology for
9   05.12.2010   IoT 2010, IoT Gateways, Till Riedel              Pervasive
                                                                  Computing
Device Profile for Web Services
 Features:
 • Profile of Basic Web Service
   functionality                                                    Service
 • Infrastructureless setup
 • Support for “resource constraint “                      WS         WS           WS
   device                                               Discovery     MEX        Eventing
                                                         WS-Addressing, WS-Security
 Socrades Project
                                                            UDP               HTTP
 http://socrades.eu
 Web services in automation and                                                TCP
    sensing, realtime                                                 IP
 WS4D
 http://ws4d.org
 DPWS implementations for gsoap
    (C,C++), AXIS (Java)
                  IoT 2010, IoT Gateways, Till Riedel
                                                                              Technology for
10   05.12.2010                                                               Pervasive
                                                                              Computing
Technology for
11   05.12.2010   Pervasive
                  Computing
Are Web Services really the tool for IoT?

     Cannot answer this generally!
          Other approaches: see other talks in this
          session!!!


     Use case/requirement driven analysis:
      1)     Identification
      2)     Placement
      3)     Configuration
      4)     Measurement
      5)     Storage
                  IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
12   05.12.2010                                         Pervasive
                                                        Computing
Identification and placement
  unambiguous association of data to data sources (measurement units or RFID name
  plates)
       scan the landscape for existing IoT
WS-Discovery
  works infrastructure-less and ad-hoc
  custom search criteria (type of node, location, measurement grouping)
       RFID batch readings EPC over the air protocol
       protocols in wireless sensor networks.
  URI

Device Profile Metadata
        Simple abstraction on Hosting and Hosted Service
        Device and Functionality
        But also group of devices, networlk and gateway services
        Adds services to “things”

WS-MetadataExchange
      Extend using context information  location information
           Identification is not only a machine to machine problem!!
                    IoT 2010, IoT Gateways, Till Riedel
                                                                        Technology for
 13    05.12.2010                                                       Pervasive
                                                                        Computing
IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
14   05.12.2010                                         Pervasive
                                                        Computing
Configuration & Storage
     Need to archive configuration and data formats with the
     document:
         See e.g. IEEE COMTRADE Format (3 text files)
         Not only understand live data
     Find out what the capabilities/interfaces are of a sensor
         WSDL is very expressive
         Can easily extended semantically: We started using e.g. UnitsML
         Easy to put in text documentation
     Configure dynamic capabilities via document oriented
     interfaces
         Clearly communicate and document the state!
     Serialize data as XML along with static and dynamic
     configuration and context information

                  IoT 2010, IoT Gateways, Till Riedel
                                                                     Technology for
15   05.12.2010                                                      Pervasive
                                                                     Computing
IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
16   05.12.2010                                         Pervasive
                                                        Computing
IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
17   05.12.2010                                         Pervasive
                                                        Computing
Measurement

     Again: do not use RPCs
        Publish/Subscribe patterns are much more natural to the domain
        WS-Eventing provides simple/extensible semantics

     Industrial application need to support high data rates:
         E.g. 2kHz continues sensor signal
         250kHz transient


          Do you want to use XML for this: yes
          Can we use XML over a IoT network: no




                   IoT 2010, IoT Gateways, Till Riedel
                                                               Technology for
18    05.12.2010                                               Pervasive
                                                               Computing
Technology for
19   05.12.2010   Pervasive
                  Computing
Mapping Web Services to IoT


              Client C   WebService   Service Proxy S'




                                               Technology for
20   05.12.2010                                Pervasive
                                               Computing
Mapping Web Services to IoT


              Client C    WebService   Service Proxy S'

        GW


                  GW




GW
                         GW




                                                Technology for
21   05.12.2010                                 Pervasive
                                                Computing
Mapping Web Services to IoT


              Client C    WebService   Service Proxy S'

        GW

 The question will not be how to
 write a single gateway but
            GW
 how to write all the gateways
 needed in the future…
GW
                         GW




                                                Technology for
22   05.12.2010                                 Pervasive
                                                Computing
Mapping IoT Nodes to Web Services

 We will need
 gateways? But how
 many?
 Can we afford map
 every service by
 hand?
  Is there a way to do
 it once and for all?




                  IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
23   05.12.2010                                         Pervasive
                                                        Computing
Syntactic Transformation
                                                                            Gateway WS/WSN
              TransportA                                 WS Comm.                 Transport
           Transformation                                                    Transformation
                                            <sample> ….</sample>
              Platform X                                                          Transport



                                                                                   111|101001011|1011

How to write transformations
• Manual Proxies
• Declarative Mapping (uMiddle,                                       Transport
• CoBIS)                                                            Transformation
• Implicit Mapping!
                                                                      Platform Y

                   IoT 2010, IoT Gateways, Till Riedel
                                                                                       Technology for
 24   05.12.2010                                                                       Pervasive
                                                                                       Computing
Model driven development process
                                     WSDL/XSL,
                                     ASN.1, IDL
                                                                   Ecore Meta Model
Communication via
Common Models
Generated
Middleware                                              Akzeptor
Efficient Generated
Code
                                                                               Transformation DSL
Available as
eclipse plug-in


            Client                               Gateway                      SensorNode


                  IoT 2010, IoT Gateways, Till Riedel
                                                                                      Technology for
25   05.12.2010                                                                       Pervasive
                                                                                      Computing
The nice things about talking XML


                                       Lots of tools available!
                                       But also theory available!
Representation R                              Hedge Grammars, nested word            Representation R’
                                              languages
                                       Structure best available compromise
                                       between expressiveness and
                                       complexity?
                                       Can be accepted via automata!


                      bisimulate                                        bisimulate

                                                                     Encoding E’
                 Encoding E




WS-Client                                             Gateway                        IoT node
                                                                                         Technology for
    26   05.12.2010    IoT 2010, IoT Gateways, Till Riedel                               Pervasive
                                                                                         Computing
Domain specific



Formal




                                                    Executable
                    IoT 2010, IoT Gateways, Till Riedel
                                                                            Technology for
  27   05.12.2010                                                           Pervasive
                                                                            Computing
Aspect oriented Code Generation


                                                                           Java-Code
          C-Code
                                                                          SAX Reader
        Bin Reader
                                               Automata generator       DOM struct Writer
     DOM struct Writer
                                                   templates


                                 software product line implementation
                                 (Voelter, et.al)




Eclipse Modeling Framework
Xpand based model to text
                                                                              Technology for
28   05.12.2010   IoT 2010, IoT Gateways, Till Riedel                         Pervasive
                                                                              Computing
Technology for
29   05.12.2010   Pervasive
                  Computing
Human resources
   C# Mobile WCF Client




  pPart Sensornode C-Code (DOM based)




Easy new platform adaption:
• Particle (binary encoding, AwareCon MAC, DOM-based code, existing pPart node)
• 6LoWPAN (binary encoding, 6lowpan/802.15.4 MAC,event-based code, Contiki Node)
• “Dummynode” (various encodings, IPv4, dom-based, PC basedtest environment)

Prototypes we are currently working on:
• RFID • Microstrain • Java Nodes

Difference between a Java SAX based implementation and a C proto-thread implementation:
approx. 150 lines of code for all possible service/gateway combinations

                     IoT 2010, IoT Gateways, Till Riedel                   Technology for
   30   05.12.2010                                                         Pervasive
                                                                           Computing
Network resources




       using different encoding
       allows high data rates/less
       energy consumption
       Event multiplexing offloads
       load from sensor network
       WS-Eventing requires
       scalable client 
                  IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
31   05.12.2010                                         Pervasive
                                                        Computing
General Issues of Web Services

     Web-Service client implementations are often not scalable
          Other event delivery modes relax this situation: WS-Management
     Discovery is not scalable for the real IoT
          Custom scoping is important.
     Moving away from the standards again:
          Difficult to adapt clients!
          You have to make it work once at least


     Support for IoT Web Sevice standards is weak and often
     incomplete and complicated




                  IoT 2010, IoT Gateways, Till Riedel
                                                              Technology for
32   05.12.2010                                               Pervasive
                                                              Computing
Reason for using Web Services

     But:
          Interaction patterns from web service community apply
          to IoT!
          Flexibility needed for IoT deployment
                  Interacting with things and not aggregating their data
          Proprietary, incomplete, non-standardized solution will
          give quicker success, but can they really be
          sustainable?
          Complexity is not an argument just an excuse!
          Performance is not an argument either!
          A common language for the IoT is needed:
                  Use (Web) Services for devices !!

                   IoT 2010, IoT Gateways, Till Riedel
                                                                       Technology for
33   05.12.2010                                                        Pervasive
                                                                       Computing
Technology for
34   05.12.2010   Pervasive
                  Computing
Conclusion

     We have show how Web Services can provide a
     clean semantic abstraction to an IoT use case.

We can functionally fully capture an industrial service
 IoT application with heterogeneous devices using
                   Web Services

     We developed a way to develop a product line of
     gateways for Web Services
     We functionally enabled a number of IoT platforms
     to be used in our application.
                  IoT 2010, IoT Gateways, Till Riedel
                                                        Technology for
35   05.12.2010                                         Pervasive
                                                        Computing
Outlook
      We only told you half of the story 

      The Internet of Things not only about
      homogeneity but is also about the differences
      of real things (and thus technologies)

      How can we translate non-functional behavior to a
      technology agnostic client application and eventually
      user?
                      time synchronization for high speed sampling, calibration
                       temporary failure, service availability (especially RFID)
                      robustness, acceptance by user!

                  IoT 2010, IoT Gateways, Till Riedel
                                                                      Technology for
36   05.12.2010                                                       Pervasive
                                                                      Computing
Questions?

                  riedel@teco.edu

                  nicolaie.fantana
                  @de.abb.com
                              Technology for
37   05.12.2010               Pervasive
                              Computing

Contenu connexe

Tendances

Foundational Elements for IoT (1)
Foundational Elements for IoT (1)Foundational Elements for IoT (1)
Foundational Elements for IoT (1)
Nicolas Delorme
 

Tendances (18)

Security in the Internet of Things
Security in the Internet of ThingsSecurity in the Internet of Things
Security in the Internet of Things
 
20171213 Future Internet: The forgotten Enabler for SmartCities
20171213 Future Internet: The forgotten Enabler for SmartCities20171213 Future Internet: The forgotten Enabler for SmartCities
20171213 Future Internet: The forgotten Enabler for SmartCities
 
The power of orchestration - Inside Cisco IT - DC Cloud from IaaS to Fast IT
The power of orchestration - Inside Cisco IT - DC Cloud from IaaS to Fast ITThe power of orchestration - Inside Cisco IT - DC Cloud from IaaS to Fast IT
The power of orchestration - Inside Cisco IT - DC Cloud from IaaS to Fast IT
 
Office Automation & Attendance System using IoT
Office Automation & Attendance System using IoTOffice Automation & Attendance System using IoT
Office Automation & Attendance System using IoT
 
A Survey on Key Technologies and Applications of IoT
A Survey on Key Technologies and Applications of IoTA Survey on Key Technologies and Applications of IoT
A Survey on Key Technologies and Applications of IoT
 
SECURITY& PRIVACY THREATS, ATTACKS AND COUNTERMEASURES IN INTERNET OF THINGS
SECURITY& PRIVACY THREATS, ATTACKS AND COUNTERMEASURES IN INTERNET OF THINGSSECURITY& PRIVACY THREATS, ATTACKS AND COUNTERMEASURES IN INTERNET OF THINGS
SECURITY& PRIVACY THREATS, ATTACKS AND COUNTERMEASURES IN INTERNET OF THINGS
 
Searching in a Web-based Infrastructure for Smart Things
Searching in a Web-based Infrastructure for Smart ThingsSearching in a Web-based Infrastructure for Smart Things
Searching in a Web-based Infrastructure for Smart Things
 
Control of Communication and Energy Networks Final Project - Service Function...
Control of Communication and Energy Networks Final Project - Service Function...Control of Communication and Energy Networks Final Project - Service Function...
Control of Communication and Energy Networks Final Project - Service Function...
 
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimThree mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
 
General io t_concepts
General io t_conceptsGeneral io t_concepts
General io t_concepts
 
Foundational Elements for IoT (1)
Foundational Elements for IoT (1)Foundational Elements for IoT (1)
Foundational Elements for IoT (1)
 
Bhadale group of companies edge intelligence services catalogue
Bhadale group of companies edge intelligence services catalogueBhadale group of companies edge intelligence services catalogue
Bhadale group of companies edge intelligence services catalogue
 
Drobics trustworthy io-t-for-industrial-applications
Drobics trustworthy io-t-for-industrial-applicationsDrobics trustworthy io-t-for-industrial-applications
Drobics trustworthy io-t-for-industrial-applications
 
IoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoTIoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoT
 
IoT Protocols
IoT ProtocolsIoT Protocols
IoT Protocols
 
IoT and Blockchains - enhancing security and privacy
IoT and Blockchains - enhancing security and privacyIoT and Blockchains - enhancing security and privacy
IoT and Blockchains - enhancing security and privacy
 
DELL Technologies - The IoT Value Chain - Solutions for the Smart World - Del...
DELL Technologies - The IoT Value Chain - Solutions for the Smart World - Del...DELL Technologies - The IoT Value Chain - Solutions for the Smart World - Del...
DELL Technologies - The IoT Value Chain - Solutions for the Smart World - Del...
 
L’IoT industriale e i vantaggi competitivi della trasformazione digitale
L’IoT  industriale e i vantaggi competitivi della trasformazione digitale L’IoT  industriale e i vantaggi competitivi della trasformazione digitale
L’IoT industriale e i vantaggi competitivi della trasformazione digitale
 

En vedette

Relate: Architecture, Systems and Tools for Relative Positioning
Relate: Architecture, Systems and Tools for Relative PositioningRelate: Architecture, Systems and Tools for Relative Positioning
Relate: Architecture, Systems and Tools for Relative Positioning
Till Riedel
 
Protocol Optimizations using anonymous EPC Gen2 Inventories
Protocol Optimizations using anonymous EPC Gen2 InventoriesProtocol Optimizations using anonymous EPC Gen2 Inventories
Protocol Optimizations using anonymous EPC Gen2 Inventories
Till Riedel
 
A Community Platform for Auto-Annotated Recreational Maps
A Community Platform for Auto-Annotated Recreational MapsA Community Platform for Auto-Annotated Recreational Maps
A Community Platform for Auto-Annotated Recreational Maps
Till Riedel
 
korematsu vs. united states
korematsu vs. united stateskorematsu vs. united states
korematsu vs. united states
kelzzz
 
Cara membuat kompos super
Cara membuat kompos superCara membuat kompos super
Cara membuat kompos super
Nandar Sunandar
 
Architecture for Collaborative Business Items
Architecture for Collaborative Business ItemsArchitecture for Collaborative Business Items
Architecture for Collaborative Business Items
Till Riedel
 
Outline research project #4 migration i.
Outline research project #4 migration i.Outline research project #4 migration i.
Outline research project #4 migration i.
IanTurpen
 
Ning site #1 ex mex
Ning site #1 ex mexNing site #1 ex mex
Ning site #1 ex mex
IanTurpen
 
Ubiquitous Resources Abstraction using a File System Interface on Sensor Nodes
Ubiquitous Resources Abstraction using a File System Interface on Sensor NodesUbiquitous Resources Abstraction using a File System Interface on Sensor Nodes
Ubiquitous Resources Abstraction using a File System Interface on Sensor Nodes
Till Riedel
 
Barcodes, RFID or Smart Items? Evaluating track and trace technology today a...
Barcodes, RFID or Smart Items? Evaluating track and trace technology  today a...Barcodes, RFID or Smart Items? Evaluating track and trace technology  today a...
Barcodes, RFID or Smart Items? Evaluating track and trace technology today a...
Till Riedel
 

En vedette (19)

Relate: Architecture, Systems and Tools for Relative Positioning
Relate: Architecture, Systems and Tools for Relative PositioningRelate: Architecture, Systems and Tools for Relative Positioning
Relate: Architecture, Systems and Tools for Relative Positioning
 
Protocol Optimizations using anonymous EPC Gen2 Inventories
Protocol Optimizations using anonymous EPC Gen2 InventoriesProtocol Optimizations using anonymous EPC Gen2 Inventories
Protocol Optimizations using anonymous EPC Gen2 Inventories
 
A Community Platform for Auto-Annotated Recreational Maps
A Community Platform for Auto-Annotated Recreational MapsA Community Platform for Auto-Annotated Recreational Maps
A Community Platform for Auto-Annotated Recreational Maps
 
korematsu vs. united states
korematsu vs. united stateskorematsu vs. united states
korematsu vs. united states
 
Cara membuat kompos super
Cara membuat kompos superCara membuat kompos super
Cara membuat kompos super
 
ParticleVM
ParticleVMParticleVM
ParticleVM
 
Architecture for Collaborative Business Items
Architecture for Collaborative Business ItemsArchitecture for Collaborative Business Items
Architecture for Collaborative Business Items
 
Implicit Middleware
Implicit MiddlewareImplicit Middleware
Implicit Middleware
 
My projects 2010
My projects 2010My projects 2010
My projects 2010
 
We wish you a Merry Christmas
We wish you a Merry ChristmasWe wish you a Merry Christmas
We wish you a Merry Christmas
 
Outline research project #4 migration i.
Outline research project #4 migration i.Outline research project #4 migration i.
Outline research project #4 migration i.
 
Ning site #1 ex mex
Ning site #1 ex mexNing site #1 ex mex
Ning site #1 ex mex
 
A device-free future of ubicomp?
A device-free future of ubicomp?A device-free future of ubicomp?
A device-free future of ubicomp?
 
IoT 2014 Value Creation Workshop: SDIL
IoT 2014 Value Creation Workshop: SDILIoT 2014 Value Creation Workshop: SDIL
IoT 2014 Value Creation Workshop: SDIL
 
Ubiquitous Resources Abstraction using a File System Interface on Sensor Nodes
Ubiquitous Resources Abstraction using a File System Interface on Sensor NodesUbiquitous Resources Abstraction using a File System Interface on Sensor Nodes
Ubiquitous Resources Abstraction using a File System Interface on Sensor Nodes
 
My projects 2011
My projects 2011My projects 2011
My projects 2011
 
Compute node HA - current upstream development
Compute node HA - current upstream developmentCompute node HA - current upstream development
Compute node HA - current upstream development
 
Barcodes, RFID or Smart Items? Evaluating track and trace technology today a...
Barcodes, RFID or Smart Items? Evaluating track and trace technology  today a...Barcodes, RFID or Smart Items? Evaluating track and trace technology  today a...
Barcodes, RFID or Smart Items? Evaluating track and trace technology today a...
 
From Load Forecasting to Demand Response - A Web of Things Use Case
From Load Forecasting to Demand Response  - A Web of Things Use CaseFrom Load Forecasting to Demand Response  - A Web of Things Use Case
From Load Forecasting to Demand Response - A Web of Things Use Case
 

Similaire à Using Web Service Gateways and Code Generation for Sustainable IoT System Development

bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)
sandhibhide
 
How the Internet of Things and 20 billion devices will change your job
How the Internet of Things and 20 billion devices will change your jobHow the Internet of Things and 20 billion devices will change your job
How the Internet of Things and 20 billion devices will change your job
Jon Stevens-Hall
 

Similaire à Using Web Service Gateways and Code Generation for Sustainable IoT System Development (20)

What is the internet of things v3
What is the internet of things v3What is the internet of things v3
What is the internet of things v3
 
bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)
 
Io t standard_bis_arpanpal
Io t standard_bis_arpanpalIo t standard_bis_arpanpal
Io t standard_bis_arpanpal
 
Iot presentation
Iot presentationIot presentation
Iot presentation
 
How the Internet of Things and 20 billion devices will change your job
How the Internet of Things and 20 billion devices will change your jobHow the Internet of Things and 20 billion devices will change your job
How the Internet of Things and 20 billion devices will change your job
 
Internet of things-IoT.pptx
Internet of things-IoT.pptxInternet of things-IoT.pptx
Internet of things-IoT.pptx
 
Io t a_de_techgigwebinar_04nov2016
Io t a_de_techgigwebinar_04nov2016Io t a_de_techgigwebinar_04nov2016
Io t a_de_techgigwebinar_04nov2016
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
PIF2019 - A06 - Rodrigo M Tutilo - Advantech
PIF2019 - A06 - Rodrigo M Tutilo - AdvantechPIF2019 - A06 - Rodrigo M Tutilo - Advantech
PIF2019 - A06 - Rodrigo M Tutilo - Advantech
 
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
 
Everything about Internet of Things
Everything about Internet of ThingsEverything about Internet of Things
Everything about Internet of Things
 
Iot
IotIot
Iot
 
Simple things about Internet of Things
Simple things about Internet of ThingsSimple things about Internet of Things
Simple things about Internet of Things
 
Iot how it works
Iot   how it worksIot   how it works
Iot how it works
 
Finnish view of industrial internet
Finnish view of industrial internetFinnish view of industrial internet
Finnish view of industrial internet
 
Io t first(1)
Io t first(1)Io t first(1)
Io t first(1)
 
Io t & amp; industry 4.0,internet of things
Io t & amp; industry 4.0,internet of thingsIo t & amp; industry 4.0,internet of things
Io t & amp; industry 4.0,internet of things
 
IEEE Computer Society Phoenix Chapter - Internet of Things Innovations & Mega...
IEEE Computer Society Phoenix Chapter - Internet of Things Innovations & Mega...IEEE Computer Society Phoenix Chapter - Internet of Things Innovations & Mega...
IEEE Computer Society Phoenix Chapter - Internet of Things Innovations & Mega...
 
IoT.pptx
IoT.pptxIoT.pptx
IoT.pptx
 
IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018IxorTalk IoT Convention 2018
IxorTalk IoT Convention 2018
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Using Web Service Gateways and Code Generation for Sustainable IoT System Development

  • 1. Technology for Pervasive Computing Using Web Service Gateways and Code Generation for Sustainable IoT System Development T. Riedel, N.L. Fantana*, A. Genaid, D. Yordanov, H. Schmidtke, M. Beigl, KIT Pervasive Computing Systems Group, * ABB Corporate Research KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association www.kit.edu
  • 2. Overview Motivation Use Case Driven Analysis Implementation Results Outlook IoT 2010, IoT Gateways, Till Riedel Technology for 2 05.12.2010 Pervasive Computing
  • 3. Technology for 3 05.12.2010 Pervasive Computing
  • 4. Motivation How to apply IoT in industrial environments RFID, most often in logistics, first steps/islands in industrial environment WSN, most often in special applications No real internet Can IoT technolgies bring benefit in industrial ad-hoc service case? How can we be future proof and adaptive to new developments? IoT 2010, IoT Gateways, Till Riedel Technology for 4 05.12.2010 Pervasive Computing
  • 5. Technology for 5 05.12.2010 Pervasive Computing
  • 6. Internet of Things Federating data from objects, machines, devices Closing the reality gap  business value Technology available and installed: RFID, WSN, automation systems, external data internet of Things == Network of Networks of Things IoT 2010, IoT Gateways, Till Riedel Technology for 6 05.12.2010 Pervasive Computing
  • 7. Why proprietary nodes and protocols? Heterogeneous IoT Nodes Market quickly evolving application specific node development Topologies and Infrastructure: RFID vs. WSN Sensing the reality everywhere size/energy Resource optimized IoT protocols Enable the effective use of WSN/RFID Lot of research in MAC-Layers, routing etc. Low overhead by using implicit information Technology for 7 05.12.2010 IoT 2010, IoT Gateways, Till Riedel Pervasive Computing
  • 8. IoT Platforms: Networked Sensing+ID 32 bit ARM7 256K RAM/2M Flash/80 MHz, 802.15.4, Java 8bit PIC18F6720 MCU 4KB RAM /128KB Flash,5MIPS, Awarecon, C/Java SPOTS, Sun 8bit rfPIC 64 Byte RAM/1.4 KB Flash 1MIPS, C/Config only No MCU, 1bit-4kbyte EEPROM Organic Label, PolyIC Technology for 8 05.12.2010 IoT 2010, IoT Gateways, Till Riedel Pervasive Computing
  • 9. Why Web Services? Document oriented Web Service Loose coupling Message oriented communication State less Not (only) RPC! (see Saif, Greaves: Communication Primitives for Ubiquitous Systems or RPC Considered Harmful) Typing Integration into many programming languages Well-defined Interfaces Long term documentation (one the ideas behind SGML) Technology for 9 05.12.2010 IoT 2010, IoT Gateways, Till Riedel Pervasive Computing
  • 10. Device Profile for Web Services Features: • Profile of Basic Web Service functionality Service • Infrastructureless setup • Support for “resource constraint “ WS WS WS device Discovery MEX Eventing WS-Addressing, WS-Security Socrades Project UDP HTTP http://socrades.eu Web services in automation and TCP sensing, realtime IP WS4D http://ws4d.org DPWS implementations for gsoap (C,C++), AXIS (Java) IoT 2010, IoT Gateways, Till Riedel Technology for 10 05.12.2010 Pervasive Computing
  • 11. Technology for 11 05.12.2010 Pervasive Computing
  • 12. Are Web Services really the tool for IoT? Cannot answer this generally! Other approaches: see other talks in this session!!! Use case/requirement driven analysis: 1) Identification 2) Placement 3) Configuration 4) Measurement 5) Storage IoT 2010, IoT Gateways, Till Riedel Technology for 12 05.12.2010 Pervasive Computing
  • 13. Identification and placement unambiguous association of data to data sources (measurement units or RFID name plates) scan the landscape for existing IoT WS-Discovery works infrastructure-less and ad-hoc custom search criteria (type of node, location, measurement grouping) RFID batch readings EPC over the air protocol protocols in wireless sensor networks. URI Device Profile Metadata Simple abstraction on Hosting and Hosted Service Device and Functionality But also group of devices, networlk and gateway services Adds services to “things” WS-MetadataExchange Extend using context information  location information Identification is not only a machine to machine problem!! IoT 2010, IoT Gateways, Till Riedel Technology for 13 05.12.2010 Pervasive Computing
  • 14. IoT 2010, IoT Gateways, Till Riedel Technology for 14 05.12.2010 Pervasive Computing
  • 15. Configuration & Storage Need to archive configuration and data formats with the document: See e.g. IEEE COMTRADE Format (3 text files) Not only understand live data Find out what the capabilities/interfaces are of a sensor WSDL is very expressive Can easily extended semantically: We started using e.g. UnitsML Easy to put in text documentation Configure dynamic capabilities via document oriented interfaces Clearly communicate and document the state! Serialize data as XML along with static and dynamic configuration and context information IoT 2010, IoT Gateways, Till Riedel Technology for 15 05.12.2010 Pervasive Computing
  • 16. IoT 2010, IoT Gateways, Till Riedel Technology for 16 05.12.2010 Pervasive Computing
  • 17. IoT 2010, IoT Gateways, Till Riedel Technology for 17 05.12.2010 Pervasive Computing
  • 18. Measurement Again: do not use RPCs Publish/Subscribe patterns are much more natural to the domain WS-Eventing provides simple/extensible semantics Industrial application need to support high data rates: E.g. 2kHz continues sensor signal 250kHz transient Do you want to use XML for this: yes Can we use XML over a IoT network: no IoT 2010, IoT Gateways, Till Riedel Technology for 18 05.12.2010 Pervasive Computing
  • 19. Technology for 19 05.12.2010 Pervasive Computing
  • 20. Mapping Web Services to IoT Client C WebService Service Proxy S' Technology for 20 05.12.2010 Pervasive Computing
  • 21. Mapping Web Services to IoT Client C WebService Service Proxy S' GW GW GW GW Technology for 21 05.12.2010 Pervasive Computing
  • 22. Mapping Web Services to IoT Client C WebService Service Proxy S' GW The question will not be how to write a single gateway but GW how to write all the gateways needed in the future… GW GW Technology for 22 05.12.2010 Pervasive Computing
  • 23. Mapping IoT Nodes to Web Services We will need gateways? But how many? Can we afford map every service by hand? Is there a way to do it once and for all? IoT 2010, IoT Gateways, Till Riedel Technology for 23 05.12.2010 Pervasive Computing
  • 24. Syntactic Transformation Gateway WS/WSN TransportA WS Comm. Transport Transformation Transformation <sample> ….</sample> Platform X Transport 111|101001011|1011 How to write transformations • Manual Proxies • Declarative Mapping (uMiddle, Transport • CoBIS) Transformation • Implicit Mapping! Platform Y IoT 2010, IoT Gateways, Till Riedel Technology for 24 05.12.2010 Pervasive Computing
  • 25. Model driven development process WSDL/XSL, ASN.1, IDL Ecore Meta Model Communication via Common Models Generated Middleware Akzeptor Efficient Generated Code Transformation DSL Available as eclipse plug-in Client Gateway SensorNode IoT 2010, IoT Gateways, Till Riedel Technology for 25 05.12.2010 Pervasive Computing
  • 26. The nice things about talking XML Lots of tools available! But also theory available! Representation R Hedge Grammars, nested word Representation R’ languages Structure best available compromise between expressiveness and complexity? Can be accepted via automata! bisimulate bisimulate Encoding E’ Encoding E WS-Client Gateway IoT node Technology for 26 05.12.2010 IoT 2010, IoT Gateways, Till Riedel Pervasive Computing
  • 27. Domain specific Formal Executable IoT 2010, IoT Gateways, Till Riedel Technology for 27 05.12.2010 Pervasive Computing
  • 28. Aspect oriented Code Generation Java-Code C-Code SAX Reader Bin Reader Automata generator DOM struct Writer DOM struct Writer templates software product line implementation (Voelter, et.al) Eclipse Modeling Framework Xpand based model to text Technology for 28 05.12.2010 IoT 2010, IoT Gateways, Till Riedel Pervasive Computing
  • 29. Technology for 29 05.12.2010 Pervasive Computing
  • 30. Human resources C# Mobile WCF Client pPart Sensornode C-Code (DOM based) Easy new platform adaption: • Particle (binary encoding, AwareCon MAC, DOM-based code, existing pPart node) • 6LoWPAN (binary encoding, 6lowpan/802.15.4 MAC,event-based code, Contiki Node) • “Dummynode” (various encodings, IPv4, dom-based, PC basedtest environment) Prototypes we are currently working on: • RFID • Microstrain • Java Nodes Difference between a Java SAX based implementation and a C proto-thread implementation: approx. 150 lines of code for all possible service/gateway combinations IoT 2010, IoT Gateways, Till Riedel Technology for 30 05.12.2010 Pervasive Computing
  • 31. Network resources using different encoding allows high data rates/less energy consumption Event multiplexing offloads load from sensor network WS-Eventing requires scalable client  IoT 2010, IoT Gateways, Till Riedel Technology for 31 05.12.2010 Pervasive Computing
  • 32. General Issues of Web Services Web-Service client implementations are often not scalable Other event delivery modes relax this situation: WS-Management Discovery is not scalable for the real IoT Custom scoping is important. Moving away from the standards again: Difficult to adapt clients! You have to make it work once at least Support for IoT Web Sevice standards is weak and often incomplete and complicated IoT 2010, IoT Gateways, Till Riedel Technology for 32 05.12.2010 Pervasive Computing
  • 33. Reason for using Web Services But: Interaction patterns from web service community apply to IoT! Flexibility needed for IoT deployment Interacting with things and not aggregating their data Proprietary, incomplete, non-standardized solution will give quicker success, but can they really be sustainable? Complexity is not an argument just an excuse! Performance is not an argument either! A common language for the IoT is needed: Use (Web) Services for devices !! IoT 2010, IoT Gateways, Till Riedel Technology for 33 05.12.2010 Pervasive Computing
  • 34. Technology for 34 05.12.2010 Pervasive Computing
  • 35. Conclusion We have show how Web Services can provide a clean semantic abstraction to an IoT use case. We can functionally fully capture an industrial service IoT application with heterogeneous devices using Web Services We developed a way to develop a product line of gateways for Web Services We functionally enabled a number of IoT platforms to be used in our application. IoT 2010, IoT Gateways, Till Riedel Technology for 35 05.12.2010 Pervasive Computing
  • 36. Outlook We only told you half of the story  The Internet of Things not only about homogeneity but is also about the differences of real things (and thus technologies) How can we translate non-functional behavior to a technology agnostic client application and eventually user? time synchronization for high speed sampling, calibration temporary failure, service availability (especially RFID) robustness, acceptance by user! IoT 2010, IoT Gateways, Till Riedel Technology for 36 05.12.2010 Pervasive Computing
  • 37. Questions? riedel@teco.edu nicolaie.fantana @de.abb.com Technology for 37 05.12.2010 Pervasive Computing