Introduction to FIWARE Cloud & Context Broker ín Galán, Telefonica I+D. [email protected] , @fermingalan (twitter) http://tinyurl.com/fiware-open-ecosystem
Dec 10, 2014
Introduction to FIWARE Cloud & Context BrokerFermín Galán, Telefonica I+D. [email protected], @fermingalan (twitter)
http://tinyurl.com/fiware-open-ecosystem
FIWARE = advanced OpenStack-based Cloud + rich library of Generic Enablers
Sustainability ensured
Driven by implementation
2
FIWARE Generic Enablers (GEs)
A FIWARE Generic Enabler (GE):
Set of general-purpose platform functions available through APIs.
Building with other GEs a FIWARE Reference Architecture.
FIWARE GE Specifications are open (public and royalty-free).
FIWARE GE implementation (FIWARE GEi):
Platform product that implements a given GE Open Spec.
There might be multiple compliant GEis of each GE Open Spec.
At least one open source reference implementation of FIWARE GEs (FIWARE GEris):
Well-known open source license.
Publicly available Technical Roadmap updated in every release.
Available FIWARE GEis, GEris and incubated enablers published on the FIWARE Catalogue.
3
FIWARE major differential features
4
• Federation of infrastructures (private/public regions)• Automated GE deploymentCloud• Complete Context Management Platform• Integration of Data and Media ContentData• Easy plug&play of devices using multiple protocols• Automated Measurements/Action Context updatesIoT• Visualization of data (operation dashboards)• Publication of data sets/servicesApps• Easy support of UIs with advanced web-based 3D and AR
capabilities• Visual representation of context information.
Web UI
• Advanced networking capabilities (SDN) and Middleware• Interface to robotsI2ND• Security Monitoring• Built-in Identity/Access/Privacy ManagementSecurity
Take the most of infrastructures while keeping costs lower and under control
6
VM provisioning
7
Gathering, publishing, processing and analyzing private and open data at large scale
8
Context management
• Context Management in FI-WARE is about management of Context data (aka Context Information)
• Context Information is always relevant to “entities”, although entities can be anything (applications, users, things, …)
• Orion Context Broker intermediates between context producers and context consumers
Orion Context Broker Applications
9
The NGSI information model
Meta-data
• Name• Type• Value
Context Element attributes• Name• Type• Value
Context Element
• EntityId• EntityType
1 n 1 n
“has” “has”
Orion metadata: ID, location Custom metadata
Node Lamps
Electrical Regulator
Vans
Technicians
Issues location TimeInstant
severity batteryCharge
illuminancepresence
electricPotential
10
Orion Context Broker in a nutshell
Orion Context Broker
ContextProducers
ContextConsumers
subscriptions
update
query
notify
notify
update
update
DB
1026
1026
11
NGSI API
• REST API (XML & JSON rendering)• Additional “convenience” operations to ease some
operations
Context Availability Management (NGSI9)
• Register context sources (registerContext)
• Search for context sources (discoverContextAvailability)
• Subscribe to context sources availability notifications (subscribeContextAvailability, updateContextAvailabilitySubcription & unsubscribeContextAvailability)
Context Management (NGSI10)
• Update context information (updateContext)
• Query context information (queryContext)
• Subscribe to context information notifications (subscribeContext, updateContextSubcription & unsubscribeContext)
12
Context Broker Resources for developers
• Quick Start Guide– http://tinyurl.com/orion-quickstart
• Single entry point: the FI-WARE Catalogue– http://catalogue.fi-ware.org/– “Enablers” tab– “Data/Context management chapter”– Search for “Publish/Subscribe Context Broker - Orion
Context Broker”• Direct URL: http://
catalogue.fi-ware.org/enablers/publishsubscribe-context-broker-orion-context-broker
• The core manuals are linked from “Documentation” tab
1313
Envisioned target Smart City platform
14
• Smart city platform as a Data/Knowledge Hub
• Non-intrusive, open to third parties
CKAN
Big Data
Context Broker
Accou
ntin
g &
Paym
en
t &
Billin
g
IDM
& Auth
Short-term
historic data
BigData Processing
Data Quering/Action,
Publish/Subscr
Open Data publishing
Real-time processing
BIETL
RULESDEFINITION
TOOL
OPERATIONAL DASHBOARD KPI GOVERNANCE OPEN DATA PORTALS
Service orchestrat
or
Context Adapters
CEP
IoT Backend Device Management
measures / commands
IoT Broker & Config Management
(from sensors to things)
IoT/Sensor Open DataactuatorsMedia streams
Real Time Media Stream
Processing
City Services
GIS
Inventory
Specific Enablers
Generic Enablers
FIWARE Catalogue (http://catalogue.fiware.org)
15
16
FIWARE University (http://edu.fi-ware.org)
Thanks!Thanks!
www.lab.fiware.org
Join us!