fiware and iot net services by dunavnet, senzations 2015
TRANSCRIPT
DunavNETFIWARE, iotNET and Services
Petar Knežević & Boris Pokrić
01.09.2015.
Agenda
Intro to FIWAREFI-WARE Generic EnablersiotNET and usage of FIWARECase studiesDockerize and deploy IoT components
IoT Standards and Fragmentation Accessing “things” involves a set of problems:
• interaction with a heterogeneous devices running different protocols (due to the lack of globally accepted standards),
• they are not always reachable since they are connected through heterogeneous wireless networks,
• they cannot transmit information too frequently due to battery drainage
OMA NGSI 9/10
What is FIWARE?An open source cloud platform and components together with a set of APIs developed through EC FI-PPP programme as part of its Digital Agenda
2020, 400 million euros
The areas of the FI-WARE:• Internet of Things, Open Data, Big data, enhanced User
Experiences, e-health, smart city, e-government, tourism.
The goal of the FI-WARE: Advance the global competitiveness of the EU economy.
Cost-effective creation and delivery of services, providing high QoS and security guarantees.
www.fiware.org
FIWARE Eco System
FIWARE – component suite, catalogue @ http://catalogue.fiware.org/
FIWARE Lab - non-commercial sandbox environment where innovation and experimentation based on FIWARE technologies take place
FIWARE Ops - collection of tools that eases the deployment, setup and operation of FIWARE instances by Platform Providers
FIWARE Accelerate - Acceleration Programme aims at promoting the take up of FIWARE technologies among solution integrators and application developers, with special focus on SMEs and start-upsFIWARE Mundus - designed to bring coverage to this effort engaging local ICT players and domain stakeholders, and eventually liaising with local governments in different parts of the world, including Latin American, Africa and Asia
FIWARE Generic EnablersSet of APIs, rendered as open source. Ready-made
components for developers.Generic and reusable building blocks. Well-defined APIs, easing development
UsageDevelopment of Context-AwareApplications using FIWARE – Orion Context BrokerConnection to the Internet of Things - IDAS IoT Agents
Real time processing of Context Events - Proton Complex Event Processing (CEP)Handling Authorization & Access Control to APIS - Security standards (OAuth, XACML)Publication of Context Information as Open Data - CKAN extensions
Usage
Big Data Analysis of Historic Context Information – Cygnus, HDFS
Creating Application Dashboards - Wirecloud
Real time processing of Media Streams - Kurento
Providing an Advanced User Experience (UX) - Augmented Reality or 3D visualization
Hosting your Application on a FIWARE Cloud - FIWARE Cloud
Architecture
FIWARE Generic Enablers- IoT Services Enablement
The goal of the FI-WARE is creating smart applicationsBeing “Smart” requires first being “Aware”Implementing a Smart Application requires gathering and managing
useful data (context information) via sensors, mobile apps….
Place = “X”, temperature = 30º
What’s the current temperature in place “X”?
A sensor in a pedestrian street
The Public Bus Transport Management systemA person from his smartphone
It’s too hot!
Notify me the changes of temperature in place “X”
11
Context Management in FIWARE
Context Broker operations: push & pull dataContext Producers publish data/context elements by invoking the updateContext
operation on a Context Broker.
Context Consumers can retrieve data/context elements by invoking the queryContext operation on a Context Broker
Context Consumer
queryContext
Context Producer
updateContext
Context Broker
12
iotNET on FIWARE
12/10/14
iotNET Azure
iotNET on Azure
ekoNET – Air quality monitoring
ekoNET device
ekoNET and AR
ekoNET and AR
irrigNET – Optimisation of crop irrigation
foodNET – Connecting producers and consumers
pestNET – Open field pest detection
• Acoustic detectors based on 0-14 kHz microphone with 500 Hz band harmonics• Acoustic detectors placed underground based on the piezoelectric sensor• Single frame camera detector used for capturing static images in the traps• Video cameras placed on drones
Dockerize and deploy IoT components• Docker • Fiware Generic Enablers
Orion Context Broker ( OCB ) Complex Event Processing ( CEP ) Backend Device Management – IDAS ( IoT
agents)
What is Docker?
• Docker is an open platform for building, shipping and running distributed applications
• Docker allows you to package an application with all of its dependencies into a standardized unit for software development
Docker architecture
Way Docker?• Build once…run anywhere• A clean, safe, hygienic and portable runtime environment for your
app• No worries about missing dependencies, packages and other pain
points during subsequent deployments• Run each app in its own isolated container, so you can run various
versions of libraries and other dependencies for each app without worrying
• Automate testing, integration, packaging…anything you can script• Reduce/eliminate concerns about compatibility on different
platforms, either your own or your customers• Cheap, zero-penalty containers to deploy services. A VM without
the overhead of a VM. Instant replay and reset of image snapshots. That’s the power of Docker
Orion Context Broker ( OCB )
Centos 6.6 official imageOrion Context Broker Application
Centos 6.6 official imageCygnus Application
MongoDB official image
MySQL DB official image
Complex Event Processing ( CEP )
Tomcat official imageComplex Event Processing ( CEP )
Docker build file:https://github.com/ishkin/Proton/tree/master/docker
Backend Device Management – IDAS
Centos 6.6 official imageIoT Agent UL2.0/HTTP
Centos 6.6 official imageIoT Agent MQTT
Centos 6.6 official imageMosquitto MQTT broker
MongoDB official image
Questions?