An Edge computing case study for Monasca: Smart City (AI-powered) - - PowerPoint PPT Presentation

an edge computing case study for monasca smart city ai
SMART_READER_LITE
LIVE PREVIEW

An Edge computing case study for Monasca: Smart City (AI-powered) - - PowerPoint PPT Presentation

An Edge computing case study for Monasca: Smart City (AI-powered) Surveillance and Monitoring Gio Giovanni i Merlin lino Un Universi sity of of Mes essina VANCOUVER (CANADA) May 23, 2018 Po PostDo Doc me memb mber of of the


slide-1
SLIDE 1

An Edge computing case study for Monasca: Smart City (AI-powered) Surveillance and Monitoring

VANCOUVER (CANADA) May 23, 2018

Gio Giovanni i Merlin lino Un Universi sity of

  • f Mes

essina

slide-2
SLIDE 2
  • Po

PostDo Doc me memb mber of

  • f the

he MD MDSLab re rese search arch group group (mdslab.unime.it)

  • Me

Member of

  • f the

he ICT T staf aff @ Un UniME (www.unime.it/it/centri/ciam)

  • In

Involved in in the #Sm Smart artME cro crowdfund unding ng in init itia iativ ive to to turn turn Messi ssina na in into a a Sm Smart art ci city y (smartme.unime.it)

  • Co

Co-fo founder of

  • f Sm

Smart artMe.io (smartme.io)

Who am I?

slide-3
SLIDE 3

R&D in ICT

Research activities:

  • Cloud Computing
  • IoT and Sensor Networks
  • Modeling and Performance evaluation
  • Software engineering

Ser Services es:

  • Prototypes development
  • Cloud-based services
  • Complex computations
  • Dependability analysis

Faculty staff (involved in S4T): Pr

  • Prof. Pul

Puliafito (h (head) Pr

  • Prof. Br

Bruneo Pr

  • Prof. Di

Distefano no Pr

  • Prof. Long

ngo

slide-4
SLIDE 4

Academic (UniMe) spin-off company, focusing on Smart city solutions, «on a shoestring budget» Small but dedicated team

slide-5
SLIDE 5

CINI – Smart Cities Lab

National Inter-university Consortium for Informatics The Consortium involves 1,300+ professors

  • f

both Computer Science (Italian SSD INF/01) and Computer Engineering (Italian SSD ING-INF/05), belonging to 39 public universities. Italian competence center in the field of Information and Communication Technologies (ICTs) for Smart Cities. Its main objective is the development of innovative solutions for improving the citizens’ quality of life.

slide-6
SLIDE 6

Outline

  • Mo

Motivation

  • Cl

Cloud and IoT integration

  • Ena

Enabling ng t techno hnologies

  • St

Stack4T 4Things architecture

  • Sm

Smart City pilot and case study (+ demo)

  • Fu

Functionalities and ser ervice ce lev evel els (+ (+ demo)

  • Ap

Application

  • n dom
  • mains
  • Fu

Future work

slide-7
SLIDE 7

Motivation

  • How to manage in a scalable and powerful way the proliferation of

(increasingly smarter) mobile and IoT devices?

http://www.ti.com/lsds/media/images/wireless_connec tivity/50BillionThings.png

IoT ecosystem:

  • Mobiles
  • Cyber Physical Systems
  • Smart appliances
  • Sensors/Actuators
  • Wearables
  • Vehicles
slide-8
SLIDE 8

IoT devices

  • Microcontroller

boards or single board computers with sensors/actuators attached to (analog/digital) gpio pins or serial bus

  • a wide range of

interfaces

  • Smart objects

providing interactions with physical world

  • wi-fi/bluetooth

connectivity

  • Smartphones with

sensors on-board

  • wi-fi/bluetooth/3-4G

connectivity

slide-9
SLIDE 9

Cloud and IoT integration

p u s h

+

Data-oriented approach

  • IoT devices send data to the

Cloud

  • The application is built on top of

standard cloud facilities (VMs, storage, network)

  • The application makes use of

stored (non-real time) IoT data

  • Indirect, IoT device-initiated
  • nly, retrieval of actuation

commands

slide-10
SLIDE 10

Cloud and IoT integration (cont’d.)

Application-specific (vertical) approach

ad-hoc interaction

+

p u s h

  • The application uses ad-hoc

mechanisms to interact with IoT devices

  • No explicit interactions

between Cloud components and IoT infrastructure

  • Static infrastructure

deployment

slide-11
SLIDE 11

Cloud and IoT integration (cont’d.)

  • We consider the IoT

infrastructure as a natural extension of a datacenter

  • Well-defined Cloud API as a resource

management interface

  • Separation of concerns between

infrastructure and application (when needed)

  • From Cloud to Fog/Edge computing
  • Device computation offloading

Full IoT cloudification (the I/Ocloud)

+ +

slide-12
SLIDE 12

Main issues

  • Difference between classic IaaS

Cloud and our IoT-extended Cloud

  • IoT devices are resource constrained
  • IoT devices are out of the datacenter
  • IoT devices are at the edge of the Internet

and could be behind NATs/firewalls

  • IoT devices are unreliable (w.r.t.

networking and computation)

  • IoT nodes do not have out-of-band/lights-
  • ut management systems
  • IoT devices do not belong to the same

administrative domain (there is a difference between Cloud administrator and resource owner)

http://www.connectedcoast.org

slide-13
SLIDE 13

Stack4Things: underlying technologies

slide-14
SLIDE 14

(Standalone) implementation

  • Node.js is a JavaScript runtime built on V8 JavaScript

engine

  • It uses an event-driven, non-blocking I/O model

that makes it lightweight and efficient

  • Node.js' package ecosystem, npm, is the largest ecosystem
  • f open source libraries in the world.
  • Node.js has become ubiquitous in almost every technology

niche, and especially so in IoT

  • Node-RED (visual tool for wiring IoT APIs)
  • Cylon.js (framework for cross-platform robotics and physical

computing)

slide-15
SLIDE 15

OpenStack-based implementation

  • IoT resource management service for OpenStack clouds
  • OpenStack (unofficial) project

https://launchpad.net/iotronic https://git.openstack.org/cgit/openstack/iotronic/

slide-16
SLIDE 16

WAMP protocol

  • WAMP (http://wamp-proto.org) is an open

standard WebSocket subprotocol

  • Two application messaging

patterns in one unified protocol

  • Publish & Subscribe
  • RPC
slide-17
SLIDE 17

High-level overview

  • Use of a software

probe on the device- side (lightning-rod)

  • Use of WAMP and

plain WebSocket control channels

  • OpenStack-

compliant service (IoTronic)

  • REST

interfaces

slide-18
SLIDE 18
  • collaboration of MDSLab team with key

actors

  • Arduino Labs, municipality, university

branches

  • successful crowdfunding initiative
  • a platform for experimental testbeds

The #SmartME project

slide-19
SLIDE 19

Example of #SmartME node

slide-20
SLIDE 20

Current implementations

slide-21
SLIDE 21

Stack4Things Cloud CKAN datastores Nodes

Commands and results Samples

Rest interface WAMP interface Administration portal Public portal

Fetch data Fetch data Administration actions

Citizens Administrator App App App App App Services

Architecture of the #SmartME framework

slide-22
SLIDE 22

Smart City dataplane: Monasca architecture

slide-23
SLIDE 23

Some more details on the dataplane

  • Please refer to our previous presentation (video included) at

the OpenStack Summit 2017 in Boston:

  • https://www.openstack.org/summit/boston-2017/summit-schedule/events/17951/a-

monitoring-case-study-for-monasca-smart-city-infrastructure

slide-24
SLIDE 24

#SmartMECam: surveillance

slide-25
SLIDE 25

Demo time

slide-26
SLIDE 26

Tipical deployment scenario

slide-27
SLIDE 27

Device-side enablement: requirements

  • The lightning-rod process acts as the

software counterpart of such management systems

  • Always running (watchdog-like behavior)
  • Always remotely accessible at the

lowest level (e.g., console-like)

  • Sandboxed where possible
  • How to deal with the lack of out-of-band/lights-out management hardware?
slide-28
SLIDE 28

Cloud side

  • Infrastructure management and interaction services exposed as RESTful

APIs

  • The Horizon dashboard as control surface for any kind of resource,

including IoT-borne ones

  • Deep integration with OpenStack (OS) frameworks and services, i.e.,

Cloud-side functionalities:

  • modeled after OS

interactions

  • implemented as OS

services

  • leveraging OS facilities
slide-29
SLIDE 29

Networking

Virtual networks may span both (datacenter- hosted) VMs and virtual IoT devices

  • OpenStack Neutron is

exploited to create virtual networks

  • On the device side,

WebSocket and Linux low- level tools are used to create virtual interfaces

  • Virtualization both at the

network and datalink layers enables flexible

  • verlay networking topologies
  • infrastructure-agnostic applications
  • also extending the scope of

applicability of service discovery protocols (e.g., AllJoyn)

slide-30
SLIDE 30

Neutron integration: Cloud-side architecture

slide-31
SLIDE 31

Neutron integration: node-side architecture

slide-32
SLIDE 32

Topology and datapath

slide-33
SLIDE 33

Same-board instances, same overlay

slide-34
SLIDE 34

Same-board instances, separate overlays

slide-35
SLIDE 35

PaaS

  • Plugin-based development:
  • plugins as minimal, high-level, self-contained code units (design-time advantage)
  • plugins as isolated (sandboxed) processes (run-time advantage)
  • Enabling

mechanisms:

  • plugin wrappers

for runtime execution

  • plugin

registration

  • n the Cloud
  • plugin

injection (deployment)

slide-36
SLIDE 36

Demo time (again)

slide-37
SLIDE 37

Application domains

  • (interacting) Cyber-Physical

Systems:

  • smart Home/smart Building
  • smart City
  • smart Industry
  • smart Mobility
  • Fleet management:
  • software upgrades for fleets of products
  • security and surveillance
  • vehicles position tracking
  • (the list grows day by day)
  • Smart communities:
  • makers
  • meteorologists
  • safety and law enforcement
  • fficers
  • (the list grows day by day)
slide-38
SLIDE 38

Future work

  • Spin some built-in functions off IoTronic (and into other, more apt subsystems):
  • breaking it down to its core
  • specializing it for IoT-unique features (not applicable or uninteresting to other communities in the

infrastructure/platform space)

  • Further integration/interaction with OpenStack and its communities:
  • Placement (traits specified according to available physical resources, see vGPU)
  • Mogan (with IoTronic as a bare metal provisioning driver for IoT resources)
  • Keystone (authentication, authorisation, delegation mechanisms dealing with the IoT different

administrative domains and ownership models)

slide-39
SLIDE 39

www.cloudwave-fp7.eu

Thanks for your interest!

Giovanni Merlino gmerlino@unime.it giovanni@smartme.io

Project(s) / Company links:

http://stack4things.unime.it http://smartme.unime.it http://smartme.io A shout to our devs / collaborators, for making the S4T demo possible:

Carmelo Romeo Fabio Verboso Nicola Peditto Zakaria Benomar