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

Tra optimiser preparation_tests_v1
Tra optimiser preparation_tests_v1Tra optimiser preparation_tests_v1
Tra optimiser preparation_tests_v1SQLI
 
Amnet. Будничная работа агентства в Programmatic или практика без громких слов.
Amnet. Будничная работа агентства в Programmatic или практика без громких слов.Amnet. Будничная работа агентства в Programmatic или практика без громких слов.
Amnet. Будничная работа агентства в Programmatic или практика без громких слов.HybridRussia
 
Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...
Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...
Приключения FMCG бренда в мире программатика и даты с сеансом полного разобла...Michael Shklyaev
 
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 CreationsKenny Slaught
 
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 storageMustaq Syed
 
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“Sarthak Kaura
 
Internet Awareness
Internet AwarenessInternet Awareness
Internet AwarenessOusman Faal
 

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

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.pptxDeepakJangid87
 
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 ...Liming Zhu
 
Getting Started with Innoslate
Getting Started with InnoslateGetting Started with Innoslate
Getting Started with InnoslateElizabeth Steiner
 
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!Julian Feinauer
 
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
 
The art of architecture
The art of architectureThe art of architecture
The art of architectureADDQ
 
Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Cloudify workshop at CCCEU 2014
Cloudify workshop at CCCEU 2014 Uri Cohen
 
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 TuningjClarity
 
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...AboutYouGmbH
 
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....Databricks
 
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 2017Casey Kinsey
 
Visualize your architecture at ITARC 2013
Visualize your architecture at ITARC 2013 Visualize your architecture at ITARC 2013
Visualize your architecture at ITARC 2013 Peter Norrhall
 
John adams talk cloudy
John adams   talk cloudyJohn adams   talk cloudy
John adams talk cloudyJohn Adams
 
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 SoftwareDubai Quality Group
 
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...Startupfest
 
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...Big Data Spain
 
Will ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsWill ServerLess kill containers and Operations
Will ServerLess kill containers and OperationsStephane Woillez
 
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...apidays
 
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...Lightbend
 

Ä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

Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeCzechDreamin
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024TopCSSGallery
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreelreely ones
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKUXDXConf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 

Kürzlich hochgeladen (20)

Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 

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