SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
fortiss GmbH
An-­Institut  Technische  Universität  München
From  Internet  of  Things  Mashups  to  Model-­based  
Development  
Christian  Prehofer  &  Luca  Chiarabini
Motivation
• Goals  of  this  presentation  
– Review  and  compare  mashup  and  model-­based  concepts
– Propose  combination  both  approaches
• IoT  Mashup  tools:  Visual  Service  Composition  and  Programming
– E.g.  paraimpu,  IBM  node  red,  …
• Mashups  connect  sensors,  actuators  and  cloud  services
– Simple,  visual  programming
IBM  Node  Red  Work  Mashup  Tool  Example
• Workplace  models  nodes  and  connections
IBM  Node  Red  Work  Mashup  Tool  (cont.)
• Nodes  can  be  
– Functions
– Data  input,  output,  debuxg
– Services  (here  MongoDB  Query)
Paraimpu  Mashup  Tool
• Example:  Read  sensor  data  and  alert  user  via  Twitter
Recap Mashups
• Mashups tools mainly specify data flow &  UI
• Mashup tools can specify behaviorvia
– Pre-­defined blocks for specific computation,  e.g.  and/or operators
– Open  blocks,  where program code is inserted (mainly Javascript)
• Mashup  tools integrate data flow,  configuration and deployment
• Fast  execution from data flow model
– Partly simulation /  emulation
Model-­based Approaches for System  Development
• Classic  Example is UML
– Many other domain-­specific languages
• Many different  views on  a  system
– Architecture
– Behavior
– Deployment
– ...
• Widely use:  State  Machines
– Very natural for control of actuators
• Very sophisticated concepts and tools
– Considerable tool investment needed
– Considerable learning effort needed
Off On
switchOn
switchOff
Lightcontroller
What is in  a  Mashup  Model?  The  UML  view
• Componentdiagram
• Activity diagram
• Behavior,  e.g.  via  state machine
8
Sensor  data Tweet
Sensors
Arduino
Arduino  Controller
Sensors  
Sensor  data Sensor  data
dioneWaterLevel  <  5
5  <  dioneWaterLevel  <=15
@alberserra  –  
WARING!  Your  
dione  needs  water  
NOW!
@alberserra  –  
WARNING!    Your  
dione  water  level  is  
too  low.
Water  Level  
Distinction
  [X<5]  WL(X)  /  
Twitter(„WARNING  Your  dione  needs  water  NOW!“)
[5  <  X  <=  15]    WL(X)  /  
Twitter(„WARNING  Your  dione  water  Level  is  too  low.“)
Modeling  Concepts for IoT
• State  Machines
– Express  naturally states of a  (physical)  system
• Example:  Light  controller with two lights
– Not  easy  to do  in  mashup  tool – no hierarche,  not  multi-­threading
Off On
switchOn1
switchOff2
Lightcontroller1
Off On
switchOn2
switchOff2
Lightcontroller2
Exit
Verification Example for two Light  Controllers
• Sample  properties for  automated  verification  (by  model  checker  tools)
– “During  the  night both  bulb  are  switched  on.”
– “In  the  morning or  evening  only  one  of  the  two  bulbs  will  be  switched  on.”
10
Conclusions
• Mashup  tools  nicely  model  data  flow
– Very  fast  prototyping
– Manual  coding  for  components  is  needed
• Unless  there  are  pre-­defined  components
– Describe  system  architecture  +  deployment
– Behavior „hidden“  in  boxes
• Model-­based  techniques  
– More  expressiveness to  model  behavior  
• E.g.  state  machines,  from  which  code  can  be  generated.  
– Different  views
• Separation  of  model  and  deployment
– Verification  is  possible  
• Need  to  combine  mashup  tools  and  model-­based  approached
11

Weitere ähnliche Inhalte

Andere mochten auch

Privacy preserving public auditing for secure cloud storage
Privacy preserving public auditing for secure cloud storagePrivacy preserving public auditing for secure cloud storage
Privacy preserving public auditing for secure cloud storage
Mustaq Syed
 

Andere mochten auch (10)

Tra optimiser preparation_tests_v1
Tra optimiser preparation_tests_v1Tra optimiser preparation_tests_v1
Tra optimiser preparation_tests_v1
 
Amnet. Будничная работа агентства в Programmatic или практика без громких слов.
Amnet. Будничная работа агентства в Programmatic или практика без громких слов.Amnet. Будничная работа агентства в Programmatic или практика без громких слов.
Amnet. Будничная работа агентства в Programmatic или практика без громких слов.
 
Geography project
Geography projectGeography project
Geography project
 
Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...
Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...
Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...
 
4 Of The World's Top Architects And Their Creations
4 Of The World's Top Architects And Their Creations�4 Of The World's Top Architects And Their Creations�
4 Of The World's Top Architects And Their Creations
 
Privacy preserving public auditing for secure cloud storage
Privacy preserving public auditing for secure cloud storagePrivacy preserving public auditing for secure cloud storage
Privacy preserving public auditing for secure cloud storage
 
Louis sullivan- "father of skyscrapers” "father of modernism“
Louis sullivan- "father of skyscrapers” "father of modernism“Louis sullivan- "father of skyscrapers” "father of modernism“
Louis sullivan- "father of skyscrapers” "father of modernism“
 
Urban Design
Urban Design Urban Design
Urban Design
 
Steel Frame
Steel Frame Steel Frame
Steel Frame
 
Internet Awareness
Internet AwarenessInternet Awareness
Internet Awareness
 

Ähnlich wie From IoT mashups to modeling

CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...
CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...
CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...
WalterJaramillo7
 

Ähnlich wie From IoT mashups to modeling (20)

Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
 
POD-Diagnosis: Error Detection and Diagnosis of Sporadic Operations on Cloud ...
POD-Diagnosis: Error Detection and Diagnosis of Sporadic Operations on Cloud ...POD-Diagnosis: Error Detection and Diagnosis of Sporadic Operations on Cloud ...
POD-Diagnosis: Error Detection and Diagnosis of Sporadic Operations on Cloud ...
 
Getting Started with Innoslate
Getting Started with InnoslateGetting Started with Innoslate
Getting Started with Innoslate
 
Dances with bits - industrial data analytics made easy!
Dances with bits - industrial data analytics made easy!Dances with bits - industrial data analytics made easy!
Dances with bits - industrial data analytics made easy!
 
CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...
CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...
CM7_Op_Simplicity_Boston-Chromeleon CDS-Instrumentos, Inteligencia, Informaci...
 
The art of architecture
The art of architectureThe art of architecture
The art of architecture
 
Concurrency
ConcurrencyConcurrency
Concurrency
 
Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014
 
The Diabolical Developers Guide to Performance Tuning
The Diabolical Developers Guide to Performance TuningThe Diabolical Developers Guide to Performance Tuning
The Diabolical Developers Guide to Performance Tuning
 
Artur Borycki - Beyond Lambda - how to get from logical to physical - code.ta...
Artur Borycki - Beyond Lambda - how to get from logical to physical - code.ta...Artur Borycki - Beyond Lambda - how to get from logical to physical - code.ta...
Artur Borycki - Beyond Lambda - how to get from logical to physical - code.ta...
 
How to Productionize Your Machine Learning Models Using Apache Spark MLlib 2....
How to Productionize Your Machine Learning Models Using Apache Spark MLlib 2....How to Productionize Your Machine Learning Models Using Apache Spark MLlib 2....
How to Productionize Your Machine Learning Models Using Apache Spark MLlib 2....
 
Data Pipelines with Python - NWA TechFest 2017
Data Pipelines with Python - NWA TechFest 2017Data Pipelines with Python - NWA TechFest 2017
Data Pipelines with Python - NWA TechFest 2017
 
Visualize your architecture at ITARC 2013
Visualize your architecture at ITARC 2013 Visualize your architecture at ITARC 2013
Visualize your architecture at ITARC 2013
 
John adams talk cloudy
John adams   talk cloudyJohn adams   talk cloudy
John adams talk cloudy
 
WQD2011 - INNOVATION - DEWA - Substation Signal Analyzer Software
WQD2011 - INNOVATION - DEWA - Substation Signal Analyzer SoftwareWQD2011 - INNOVATION - DEWA - Substation Signal Analyzer Software
WQD2011 - INNOVATION - DEWA - Substation Signal Analyzer Software
 
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
 
New usage model for real-time analytics by Dr. WILLIAM L. BAIN at Big Data S...
 New usage model for real-time analytics by Dr. WILLIAM L. BAIN at Big Data S... New usage model for real-time analytics by Dr. WILLIAM L. BAIN at Big Data S...
New usage model for real-time analytics by Dr. WILLIAM L. BAIN at Big Data S...
 
Will ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsWill ServerLess kill containers and Operations
Will ServerLess kill containers and Operations
 
APIdays Paris 2018 - Will Serverless kill Containers and Operations? Stéphane...
APIdays Paris 2018 - Will Serverless kill Containers and Operations? Stéphane...APIdays Paris 2018 - Will Serverless kill Containers and Operations? Stéphane...
APIdays Paris 2018 - Will Serverless kill Containers and Operations? Stéphane...
 
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

From IoT mashups to modeling

  • 1. fortiss GmbH An-­Institut  Technische  Universität  München From  Internet  of  Things  Mashups  to  Model-­based   Development   Christian  Prehofer  &  Luca  Chiarabini
  • 2. Motivation • Goals  of  this  presentation   – Review  and  compare  mashup  and  model-­based  concepts – Propose  combination  both  approaches • IoT  Mashup  tools:  Visual  Service  Composition  and  Programming – E.g.  paraimpu,  IBM  node  red,  … • Mashups  connect  sensors,  actuators  and  cloud  services – Simple,  visual  programming
  • 3. IBM  Node  Red  Work  Mashup  Tool  Example • Workplace  models  nodes  and  connections
  • 4. IBM  Node  Red  Work  Mashup  Tool  (cont.) • Nodes  can  be   – Functions – Data  input,  output,  debuxg – Services  (here  MongoDB  Query)
  • 5. Paraimpu  Mashup  Tool • Example:  Read  sensor  data  and  alert  user  via  Twitter
  • 6. Recap Mashups • Mashups tools mainly specify data flow &  UI • Mashup tools can specify behaviorvia – Pre-­defined blocks for specific computation,  e.g.  and/or operators – Open  blocks,  where program code is inserted (mainly Javascript) • Mashup  tools integrate data flow,  configuration and deployment • Fast  execution from data flow model – Partly simulation /  emulation
  • 7. Model-­based Approaches for System  Development • Classic  Example is UML – Many other domain-­specific languages • Many different  views on  a  system – Architecture – Behavior – Deployment – ... • Widely use:  State  Machines – Very natural for control of actuators • Very sophisticated concepts and tools – Considerable tool investment needed – Considerable learning effort needed Off On switchOn switchOff Lightcontroller
  • 8. What is in  a  Mashup  Model?  The  UML  view • Componentdiagram • Activity diagram • Behavior,  e.g.  via  state machine 8 Sensor  data Tweet Sensors Arduino Arduino  Controller Sensors   Sensor  data Sensor  data dioneWaterLevel  <  5 5  <  dioneWaterLevel  <=15 @alberserra  –   WARING!  Your   dione  needs  water   NOW! @alberserra  –   WARNING!    Your   dione  water  level  is   too  low. Water  Level   Distinction  [X<5]  WL(X)  /   Twitter(„WARNING  Your  dione  needs  water  NOW!“) [5  <  X  <=  15]    WL(X)  /   Twitter(„WARNING  Your  dione  water  Level  is  too  low.“)
  • 9. Modeling  Concepts for IoT • State  Machines – Express  naturally states of a  (physical)  system • Example:  Light  controller with two lights – Not  easy  to do  in  mashup  tool – no hierarche,  not  multi-­threading Off On switchOn1 switchOff2 Lightcontroller1 Off On switchOn2 switchOff2 Lightcontroller2 Exit
  • 10. Verification Example for two Light  Controllers • Sample  properties for  automated  verification  (by  model  checker  tools) – “During  the  night both  bulb  are  switched  on.” – “In  the  morning or  evening  only  one  of  the  two  bulbs  will  be  switched  on.” 10
  • 11. Conclusions • Mashup  tools  nicely  model  data  flow – Very  fast  prototyping – Manual  coding  for  components  is  needed • Unless  there  are  pre-­defined  components – Describe  system  architecture  +  deployment – Behavior „hidden“  in  boxes • Model-­based  techniques   – More  expressiveness to  model  behavior   • E.g.  state  machines,  from  which  code  can  be  generated.   – Different  views • Separation  of  model  and  deployment – Verification  is  possible   • Need  to  combine  mashup  tools  and  model-­based  approached 11