SlideShare a Scribd company logo
1 of 18
Download to read offline
On Building Smart City IoT Applications:
a Coordination-based Perspective
Nam Ky Giang, Rodger Lea, Michael Blackstock,
Victor C.M. Leung
{kyng, rodgerl, vleung}@ece.ubc.ca,
mblackst@magic.ubc.ca
Dec 2016
The Second International Workshop on Smart Cities:
People, Technology and Data (IWSC16)
Contents
2
● Background
○ Smart City applications
○ Fog Computing architecture
○ The problem
● Requirements
● Dataflow programming model
○ Distributed Dataflow
○ System architecture
○ Adaptive Distributed Dataflow
● Prototyping with Node-RED
● Related work
● Roadblocks
● Conclusion
Smart City applications
● Smart Transportation
○ Intelligent parking
○ Autonomous Vehicles Network
● Smart Buildings
○ Energy aware
○ Inter-building navigation
● Environmental Sensing
○ Sustainable cities
○ City insights
Data-Intensive
Large scale distributed
Heterogeneous
Dynamic, mobile
3
Fog Computing architecture
● Fog Computing has been proposed to complement Cloud Computing
○ leverages resources within and at the edge of the network
● Architecture for largely distributed components
○ Large in quantity - the “thing scale”
○ Dynamic, mobile and heterogeneous
Edge Network
Communication
Infrastructure
Cloud
P2P, Edge
Fog
CDN
Cloud,
Decentralized Cloud
4
Developing Smart City applications inherits
difficulties in Distributed Systems, yet requires extra
supports for mobile, heterogeneous and largely
distributed devices.
What a Smart City application looks like?
How do we facilitate the development process?
5
Smart City application requirements
6
● Component-based
○ Reusable
○ Distributed
● Coordination-based
○ Macro-programming
○ Adaptive
● Dataflow-based
○ Collection, manipulation
and dissemination of
data streams
Software
Component
Software
Component
Software
Component
Dataflow programming model looks like a promising approach for
coordinating Smart City components
Dataflow programming
7
● Distributed Dataflow embraces
○ Deployment spec (what runs where)
○ Stream processing
○ Visual language
Data
Stream
Cloud
MB
MB
A smart city
application
System Architecture
8
● Coordination-in-the-large
○ Semi peer-2-peer orchestration (Cloud & Fog interplay)
○ Adapt to device mobility
Context
Data Data
Context
Data Data
Device
Process Process
Device
Process
Broker Broker Broker
Coordinator
App
App
App
App
Data Flow
Control Flow
Fog
Cloud
Adaptive Distributed Dataflow
9
● Express the context of underlying device
● Adapt to change - self-adapt vs externally-coordinated
○ Location
○ Computation load
In Trento
Police’s
Handset
On Server X
Mem & CPU
Intensive
Mem & CPU
Requirement
Adaptive Distributed Dataflow
10
● Context preservation
○ Inherent problem of Distributed Dataflow
○ Data-tagging vs Externally-coordinated
Which devices
produced this
piece of data?
Merge by the
devices that run
“Green”
Adaptive Distributed Dataflow
11
● Large scale coordination
○ Dependency arity (1-1, 1-N, N-1, N-N)
○ Inter-device communication
■ Peer-2-peer won’t work to the scale (the “thing-scale”)
■ Cloud-based solutions introduce significant delay
Prototyping with Distributed NodeRED
TI SensorTag
Related Work
13
● Distributed programming models
○ Mixture of computation and communication logics
● Macro programming in WSN
○ Mobility (!= Availability) not addressed
○ Statically compiled and run, no adaptation → no coordination
● Coordination models and languages
○ Mobility not addressed
○ Coordination-in-the-large remains difficult
Macro programming in WSNs
Bakshi et. al (2005)
Mainland et. al (2006)
Applications are modeled as dataflow graphs
and are compiled into executable codes that will
be downloaded onto embedded devices.
14
Awan et. al (2007)
Coordination models
Arbab (2004) Lombide et. al (2010)
15
Shangping et. al. (2006)
Possible roadblocks
16
Flow Complexity
Race Condition
MaintainabilityIterations Stateful
Conclusion
17
● Programming Smart City applications in Fog Computing has
its own challenges
○ Large scale, distributed, mobile and heterogeneous
computing systems
● Adaptive Distributed Dataflow offers a promising model
○ Reusable software components
○ Adapt to dynamic nature of devices
○ Large scale coordination
Thank you
18

More Related Content

What's hot

International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 International Journal on Cloud Computing: Services and Architecture (IJCCSA) International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 
K nearest neighbor classification over semantically secure encrypted
K nearest neighbor classification over semantically secure encryptedK nearest neighbor classification over semantically secure encrypted
K nearest neighbor classification over semantically secure encryptedShakas Technologies
 
An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...
An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...
An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...Monica Vitali
 
K nearest neighbor classification over semantically secure encrypted relation...
K nearest neighbor classification over semantically secure encrypted relation...K nearest neighbor classification over semantically secure encrypted relation...
K nearest neighbor classification over semantically secure encrypted relation...ieeepondy
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 International Journal on Cloud Computing: Services and Architecture (IJCCSA) International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 International Journal on Cloud Computing: Services and Architecture (IJCCSA) International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 
Quantum4D - Big Thinking - View Samples
Quantum4D - Big Thinking - View SamplesQuantum4D - Big Thinking - View Samples
Quantum4D - Big Thinking - View SamplesMichael Warner
 
3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)
3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)
3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)ijait
 
K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...
K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...
K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...I3E Technologies
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)ijccsa
 

What's hot (17)

Management and Analysis of Large Scale Heterogeneous Time-Series Data
Management and Analysis of Large Scale Heterogeneous Time-Series Data Management and Analysis of Large Scale Heterogeneous Time-Series Data
Management and Analysis of Large Scale Heterogeneous Time-Series Data
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
Umu seminar 02-2019
Umu seminar 02-2019Umu seminar 02-2019
Umu seminar 02-2019
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 International Journal on Cloud Computing: Services and Architecture (IJCCSA) International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
K nearest neighbor classification over semantically secure encrypted
K nearest neighbor classification over semantically secure encryptedK nearest neighbor classification over semantically secure encrypted
K nearest neighbor classification over semantically secure encrypted
 
An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...
An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...
An Adaptive Monitoring Service exploiting Data Correlations in Fog Computing ...
 
Bits of energy
Bits of energyBits of energy
Bits of energy
 
K nearest neighbor classification over semantically secure encrypted relation...
K nearest neighbor classification over semantically secure encrypted relation...K nearest neighbor classification over semantically secure encrypted relation...
K nearest neighbor classification over semantically secure encrypted relation...
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 International Journal on Cloud Computing: Services and Architecture (IJCCSA) International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 International Journal on Cloud Computing: Services and Architecture (IJCCSA) International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
Quantum4D - Big Thinking - View Samples
Quantum4D - Big Thinking - View SamplesQuantum4D - Big Thinking - View Samples
Quantum4D - Big Thinking - View Samples
 
3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)
3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)
3 rd International Conference on Cloud, Big Data and Web Services (CBW 2022)
 
K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...
K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...
K-NEAREST NEIGHBOR CLASSIFICATION OVER SEMANTICALLY SECURE ENCRYPTED RELATION...
 
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)International Journal on Cloud Computing: Services and Architecture (IJCCSA)
International Journal on Cloud Computing: Services and Architecture (IJCCSA)
 
EnBIS 2016 opening
EnBIS 2016 openingEnBIS 2016 opening
EnBIS 2016 opening
 

Viewers also liked

Smart City: Many Applications and Devices
Smart City: Many Applications and DevicesSmart City: Many Applications and Devices
Smart City: Many Applications and DevicesEurotech
 
Introduction to IOT & Smart City
Introduction to IOT & Smart CityIntroduction to IOT & Smart City
Introduction to IOT & Smart CityDr. Mazlan Abbas
 
Internet of Things and its applications
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applicationsPasquale Puzio
 
IoT ecosystem over programmable SDN infrastructure for Smart City applications
IoT ecosystem over programmable SDN infrastructure for Smart City applicationsIoT ecosystem over programmable SDN infrastructure for Smart City applications
IoT ecosystem over programmable SDN infrastructure for Smart City applicationsŁukasz Ogrodowczyk
 
Developing io t applications in the fog a distributed dataflow approach
Developing io t applications in the fog  a distributed dataflow approachDeveloping io t applications in the fog  a distributed dataflow approach
Developing io t applications in the fog a distributed dataflow approachNam Giang
 
Devising Your Data Movement Strategy for IoT
Devising Your Data Movement Strategy for IoTDevising Your Data Movement Strategy for IoT
Devising Your Data Movement Strategy for IoTSolace
 
Smart city dynamic road lane management a smart city application
Smart city  dynamic road lane management a smart city applicationSmart city  dynamic road lane management a smart city application
Smart city dynamic road lane management a smart city applicationMostafa Arjmand
 
Distributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDDistributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDMichael Blackstock
 
Symfony 2 & e-commerce ecosystem - Now in english !
Symfony 2 & e-commerce ecosystem  - Now in english !Symfony 2 & e-commerce ecosystem  - Now in english !
Symfony 2 & e-commerce ecosystem - Now in english !Fabien Gasser
 
[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...
[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...
[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...Solace
 
Application of cloud computing based on e learning teaching tool
Application of cloud computing based on e learning teaching toolApplication of cloud computing based on e learning teaching tool
Application of cloud computing based on e learning teaching tooleSAT Journals
 
Introduction of IoT Smart District Demonstration Plan
Introduction of IoT Smart District Demonstration PlanIntroduction of IoT Smart District Demonstration Plan
Introduction of IoT Smart District Demonstration PlanVincent Chiu
 
Intelligent Transportation Systems for a Smart City
Intelligent Transportation Systems for a Smart City Intelligent Transportation Systems for a Smart City
Intelligent Transportation Systems for a Smart City Charles Mok
 
IoT (Internet of Things) Smart City Architecture
IoT (Internet of Things) Smart City ArchitectureIoT (Internet of Things) Smart City Architecture
IoT (Internet of Things) Smart City ArchitectureAlex G. Lee, Ph.D. Esq. CLP
 
Demultiplexer
DemultiplexerDemultiplexer
DemultiplexerTech_MX
 

Viewers also liked (20)

Smart City: Many Applications and Devices
Smart City: Many Applications and DevicesSmart City: Many Applications and Devices
Smart City: Many Applications and Devices
 
Introduction to IOT & Smart City
Introduction to IOT & Smart CityIntroduction to IOT & Smart City
Introduction to IOT & Smart City
 
Internet of Things and its applications
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applications
 
IoT ecosystem over programmable SDN infrastructure for Smart City applications
IoT ecosystem over programmable SDN infrastructure for Smart City applicationsIoT ecosystem over programmable SDN infrastructure for Smart City applications
IoT ecosystem over programmable SDN infrastructure for Smart City applications
 
Developing io t applications in the fog a distributed dataflow approach
Developing io t applications in the fog  a distributed dataflow approachDeveloping io t applications in the fog  a distributed dataflow approach
Developing io t applications in the fog a distributed dataflow approach
 
Devising Your Data Movement Strategy for IoT
Devising Your Data Movement Strategy for IoTDevising Your Data Movement Strategy for IoT
Devising Your Data Movement Strategy for IoT
 
Smart city dynamic road lane management a smart city application
Smart city  dynamic road lane management a smart city applicationSmart city  dynamic road lane management a smart city application
Smart city dynamic road lane management a smart city application
 
Ch02
Ch02Ch02
Ch02
 
Distributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-REDDistributed Data Flow for the Web of Things: Distributed Node-RED
Distributed Data Flow for the Web of Things: Distributed Node-RED
 
Symfony 2 & e-commerce ecosystem - Now in english !
Symfony 2 & e-commerce ecosystem  - Now in english !Symfony 2 & e-commerce ecosystem  - Now in english !
Symfony 2 & e-commerce ecosystem - Now in english !
 
[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...
[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...
[IoT Tech Expo] Smart Cities – Leveraging Messaging from Project to City to ...
 
Application of cloud computing based on e learning teaching tool
Application of cloud computing based on e learning teaching toolApplication of cloud computing based on e learning teaching tool
Application of cloud computing based on e learning teaching tool
 
Introduction of IoT Smart District Demonstration Plan
Introduction of IoT Smart District Demonstration PlanIntroduction of IoT Smart District Demonstration Plan
Introduction of IoT Smart District Demonstration Plan
 
Intelligent Transportation Systems for a Smart City
Intelligent Transportation Systems for a Smart City Intelligent Transportation Systems for a Smart City
Intelligent Transportation Systems for a Smart City
 
m-commerce-seminar-report
 m-commerce-seminar-report m-commerce-seminar-report
m-commerce-seminar-report
 
DB9646
DB9646DB9646
DB9646
 
IoT (Internet of Things) Smart City Architecture
IoT (Internet of Things) Smart City ArchitectureIoT (Internet of Things) Smart City Architecture
IoT (Internet of Things) Smart City Architecture
 
Unit 2 e commerce applications
Unit 2 e commerce applicationsUnit 2 e commerce applications
Unit 2 e commerce applications
 
E commerce unit 2
E commerce unit 2E commerce unit 2
E commerce unit 2
 
Demultiplexer
DemultiplexerDemultiplexer
Demultiplexer
 

Similar to smart-city-application

Using Distributed Node-RED to build fog/edge applications
Using Distributed Node-RED to build fog/edge applicationsUsing Distributed Node-RED to build fog/edge applications
Using Distributed Node-RED to build fog/edge applicationsNam Giang
 
Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?Ahmed Banafa
 
Edge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeEdge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeNitinder Mohan
 
Rethinking the Mobile Code Offloading Paradigm: From Concept to Practice
Rethinking the Mobile Code Offloading Paradigm: From Concept to PracticeRethinking the Mobile Code Offloading Paradigm: From Concept to Practice
Rethinking the Mobile Code Offloading Paradigm: From Concept to PracticeMobileSoft
 
Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.
Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.
Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.dbpublications
 
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...Daniela Mazza
 
Spatial Computing and the Future of Utility GIS
Spatial Computing and the Future of Utility GISSpatial Computing and the Future of Utility GIS
Spatial Computing and the Future of Utility GISGeorge Percivall
 
STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...
STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...
STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...ijcsit
 
Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...
Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...
Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...AIRCC Publishing Corporation
 
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingStreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingDemetris Trihinas
 
Approaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and ProcessingApproaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and ProcessingSergey Boldyrev
 
Fog computing technology
Fog computing technologyFog computing technology
Fog computing technologyNikhil Sabu
 
IoT Mashup - Webinos iot-2013-07-23 Raggett
IoT Mashup - Webinos iot-2013-07-23 RaggettIoT Mashup - Webinos iot-2013-07-23 Raggett
IoT Mashup - Webinos iot-2013-07-23 Raggettwebinos project
 
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big DataVoxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big DataStavros Kontopoulos
 
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big DataVoxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big DataVoxxed Days Thessaloniki
 
IoT A Fog-Cloud Computing Model
IoT A Fog-Cloud Computing ModelIoT A Fog-Cloud Computing Model
IoT A Fog-Cloud Computing ModelAhmed Banafa
 
GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...
GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...
GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...Otávio Carvalho
 
Sustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challengesSustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challengesAbdulMajidFarooqi
 
sensors-22-00196-v2.pdf
sensors-22-00196-v2.pdfsensors-22-00196-v2.pdf
sensors-22-00196-v2.pdfAsiyaKhan63
 

Similar to smart-city-application (20)

Using Distributed Node-RED to build fog/edge applications
Using Distributed Node-RED to build fog/edge applicationsUsing Distributed Node-RED to build fog/edge applications
Using Distributed Node-RED to build fog/edge applications
 
Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?Why IoT needs Fog Computing ?
Why IoT needs Fog Computing ?
 
Edge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeEdge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edge
 
Rethinking the Mobile Code Offloading Paradigm: From Concept to Practice
Rethinking the Mobile Code Offloading Paradigm: From Concept to PracticeRethinking the Mobile Code Offloading Paradigm: From Concept to Practice
Rethinking the Mobile Code Offloading Paradigm: From Concept to Practice
 
Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.
Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.
Fog Computing – Enhancing the Maximum Energy Consumption of Data Servers.
 
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
 
Spatial Computing and the Future of Utility GIS
Spatial Computing and the Future of Utility GISSpatial Computing and the Future of Utility GIS
Spatial Computing and the Future of Utility GIS
 
STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...
STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...
STEAM++ AN EXTENSIBLE END-TO-END FRAMEWORK FOR DEVELOPING IOT DATA PROCESSING...
 
Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...
Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...
Steam++ An Extensible End-to-end Framework for Developing IoT Data Processing...
 
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingStreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
 
Approaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and ProcessingApproaches for Distributed Information Computation and Processing
Approaches for Distributed Information Computation and Processing
 
Fog computing technology
Fog computing technologyFog computing technology
Fog computing technology
 
IoT Mashup - Webinos iot-2013-07-23 Raggett
IoT Mashup - Webinos iot-2013-07-23 RaggettIoT Mashup - Webinos iot-2013-07-23 Raggett
IoT Mashup - Webinos iot-2013-07-23 Raggett
 
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big DataVoxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
 
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big DataVoxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
 
IoT A Fog-Cloud Computing Model
IoT A Fog-Cloud Computing ModelIoT A Fog-Cloud Computing Model
IoT A Fog-Cloud Computing Model
 
GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...
GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...
GaruaGeo: Global Scale Data Aggregation in Hybrid Edge and Cloud Computing En...
 
Sustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challengesSustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challenges
 
Grid computing
Grid computingGrid computing
Grid computing
 
sensors-22-00196-v2.pdf
sensors-22-00196-v2.pdfsensors-22-00196-v2.pdf
sensors-22-00196-v2.pdf
 

smart-city-application

  • 1. On Building Smart City IoT Applications: a Coordination-based Perspective Nam Ky Giang, Rodger Lea, Michael Blackstock, Victor C.M. Leung {kyng, rodgerl, vleung}@ece.ubc.ca, mblackst@magic.ubc.ca Dec 2016 The Second International Workshop on Smart Cities: People, Technology and Data (IWSC16)
  • 2. Contents 2 ● Background ○ Smart City applications ○ Fog Computing architecture ○ The problem ● Requirements ● Dataflow programming model ○ Distributed Dataflow ○ System architecture ○ Adaptive Distributed Dataflow ● Prototyping with Node-RED ● Related work ● Roadblocks ● Conclusion
  • 3. Smart City applications ● Smart Transportation ○ Intelligent parking ○ Autonomous Vehicles Network ● Smart Buildings ○ Energy aware ○ Inter-building navigation ● Environmental Sensing ○ Sustainable cities ○ City insights Data-Intensive Large scale distributed Heterogeneous Dynamic, mobile 3
  • 4. Fog Computing architecture ● Fog Computing has been proposed to complement Cloud Computing ○ leverages resources within and at the edge of the network ● Architecture for largely distributed components ○ Large in quantity - the “thing scale” ○ Dynamic, mobile and heterogeneous Edge Network Communication Infrastructure Cloud P2P, Edge Fog CDN Cloud, Decentralized Cloud 4
  • 5. Developing Smart City applications inherits difficulties in Distributed Systems, yet requires extra supports for mobile, heterogeneous and largely distributed devices. What a Smart City application looks like? How do we facilitate the development process? 5
  • 6. Smart City application requirements 6 ● Component-based ○ Reusable ○ Distributed ● Coordination-based ○ Macro-programming ○ Adaptive ● Dataflow-based ○ Collection, manipulation and dissemination of data streams Software Component Software Component Software Component Dataflow programming model looks like a promising approach for coordinating Smart City components
  • 7. Dataflow programming 7 ● Distributed Dataflow embraces ○ Deployment spec (what runs where) ○ Stream processing ○ Visual language Data Stream Cloud MB MB A smart city application
  • 8. System Architecture 8 ● Coordination-in-the-large ○ Semi peer-2-peer orchestration (Cloud & Fog interplay) ○ Adapt to device mobility Context Data Data Context Data Data Device Process Process Device Process Broker Broker Broker Coordinator App App App App Data Flow Control Flow Fog Cloud
  • 9. Adaptive Distributed Dataflow 9 ● Express the context of underlying device ● Adapt to change - self-adapt vs externally-coordinated ○ Location ○ Computation load In Trento Police’s Handset On Server X Mem & CPU Intensive Mem & CPU Requirement
  • 10. Adaptive Distributed Dataflow 10 ● Context preservation ○ Inherent problem of Distributed Dataflow ○ Data-tagging vs Externally-coordinated Which devices produced this piece of data? Merge by the devices that run “Green”
  • 11. Adaptive Distributed Dataflow 11 ● Large scale coordination ○ Dependency arity (1-1, 1-N, N-1, N-N) ○ Inter-device communication ■ Peer-2-peer won’t work to the scale (the “thing-scale”) ■ Cloud-based solutions introduce significant delay
  • 12. Prototyping with Distributed NodeRED TI SensorTag
  • 13. Related Work 13 ● Distributed programming models ○ Mixture of computation and communication logics ● Macro programming in WSN ○ Mobility (!= Availability) not addressed ○ Statically compiled and run, no adaptation → no coordination ● Coordination models and languages ○ Mobility not addressed ○ Coordination-in-the-large remains difficult
  • 14. Macro programming in WSNs Bakshi et. al (2005) Mainland et. al (2006) Applications are modeled as dataflow graphs and are compiled into executable codes that will be downloaded onto embedded devices. 14 Awan et. al (2007)
  • 15. Coordination models Arbab (2004) Lombide et. al (2010) 15 Shangping et. al. (2006)
  • 16. Possible roadblocks 16 Flow Complexity Race Condition MaintainabilityIterations Stateful
  • 17. Conclusion 17 ● Programming Smart City applications in Fog Computing has its own challenges ○ Large scale, distributed, mobile and heterogeneous computing systems ● Adaptive Distributed Dataflow offers a promising model ○ Reusable software components ○ Adapt to dynamic nature of devices ○ Large scale coordination