FIWARE Overview Webinar - 27th March 2019
Corresponding webinar recording: https://youtu.be/97JsnnpPLrA
Chapter: Fundamentals
Difficulty: 0
Audience: Anyone
Basic introduction describing what FIWARE is, why you need it and how the elements of the FIWARE Catalogue can help accelerate the development of your Smart Solution.
2. Learning Goals
▪ What is context data?
▪ How is context data used within a Smart Solution?
▪ What is FIWARE? How does it help?
▪ What is NGSI v2?
▪ What is the FIWARE Catalogue?
▪ What is the FIWARE Marketplace?
▪ What is the role of the FIWARE Foundation?
1
3. 2
e-business Web 2.0 Smart Life
Presence of business
on Internet
(B2C, B2B)
Presence of people
on Internet
(Social Networks)
Improving daily life
of people and businesses
(Smart X)
We are in front of a new Digital revolution which will transform the daily
life of people and businesses: everything that can be connected will be
connected, for the sake of a more smart life
4. 3
The new Digital Life will gravitate around context data. Context
data which describes what is going on, where, when, why …
5. 4
Context creates a digital continuum, blurring the frontiers between application domains
Breaking the current silos of information
6. 5
e-business Web 2.0 Smart Life
Presence of business
on Internet
(B2C, B2B)
Presence of people
on Internet
(Social Networks)
Improving daily life
of people and businesses
(Smart X)
7. 6
FIWARE: The Open Source platform of choice for
building smart solutions
Smart Solutions gather data from many different sources (including
but not limited to IoT) to build a “picture” of the real world and then
process and analyze that information in order to implement the
desired intelligent behavior (which may imply changing the real world)
Data =
Context Information
Capture
Actuate Process
8. 7
… in Cities
Bus
• Location
• No. passengers
• Driver
• Licence plate
Citizen
• Birthday
• Preferences
• Location
• ToDo list
Shop
• Location
• Business name
• Franchise
• offerings
9. 8
Tractor
• Location
• Speed
• Direction
Crop
• Humidity
• Leaf area
• Age
Drone
• Location
• Battery level
• Speed
• Direction
… in Agrifood
10. 9
Tanker
• Driver
• Location
• Max Volume
• Current Level
• Speed
• Direction
Gas Tank
• Station
• Max Volume
• Current Level
• Min Threshold
• Temperature
Station
• Location
• Owner
• SLA
… in Industry
11. 10
What if ...
for accessing
context information?
a standard API
there were
13. 12
Context Broker
Standard API
GET <Oauth token>
http://<endpoint>/V2/entities/lamp1/attrs/presenceSensor/value
Reading the value
provided by a sensor
should be as easy as
reading an attribute of
an entity
“I don’t care what
low-level IoT
protocol
is used”
“I should not need
to handle
connectivity with IoT
devices”
IoT would be an enabler, no barriers because of complexity
14. Actuation on a device
should come as a side
effect derived from
updating the attribute
of an entity
PUT <Oauth token>
http://<endpoint>/V2/entities/crop1/attrs/watering/value “on”
IoT would be an enabler, no barriers because of complexity
13
Context Broker
Standard API
“I don’t care what
low-level IoT
protocol
is used”
“I should not need
to handle
connectivity with IoT
devices”
15. Shared context information would boost innovative services
and the development of a Data Economy
▪ Organizations in different domains could
interchange data based on a common Context
Information Management layer
▪ Authorization and Access Control Policies govern
who can access what, when (Sovereign of Data)
▪ Organizations may monetize the data they offer
(Economy of Data)
14
Smart
Factory
Smart
Bank
Smart
Retail
Smart
Home
Smart
City
Virtual Shared Data Space
Smart
Servicesstandard
API
FIWARE NGSI and Context Broker
Technology has been selected to
become a CEF (Connecting Europe
Facility) Building Block
16. Entrepreneurs will benefit from the opportunities of a
larger market
15
“We can invest on
development of
solutions we don’t
have to adapt for
each and every
customer”
17. FIWARE: Driving the standard for Context Information Management
▪ The FIWARE Context Broker technology implements the NGSI v2 API: a simple yet powerful
public, royalty-free standard API for Context Information Management
▪ Simple: A RESTful API using JSON which any web programmer can learn to use in one day
▪ Yet powerful: NGSI v2 supports geo-queries, soon Linked Data (NGSI-LD)
16
Application/Service
Bus
• Location
• No. passengers
• Driver
• Licence plate
Citizen
• Name-Surname
• Birthday
• Preferences
• Location
• ToDo list
Shop
• Location
• Business name
• Franchise
• offerings
Context Information
FIWARE NGSI
API
18. Driving de-facto standards: cross domains
17
The FIWARE Context Broker
Technology has been selected
as a new CEF (Connecting
Europe Facility) Building Block
Enabling public and private
sector solutions regarding
publication of right-time data
The European Data portal will
evolve to incorporate ability to
publish right-time Open Data
ETSI created Jan 2017 a new
Industry Specification Group
on cross-sector Context
Information Management (ISG
CIM) for smart cities
applications and beyond.
NGSI v2 was the starting point
for the CIM API to be
specified: NGSI-LD
FIWARE Context Broker to
support NGSI-LD in the future
The GSMA has published a
Reference Architecture for
IoT Big Data Ecosystem
which recommends to
mobile operators
NGSI v2 should be
supported by
implementers delivering
the IoT Big Data
ecosystem
19. Involving 117+ cities in 24+
countries.
All of them agree to foster
adoption of common
principles:
• Common API: NGSI v2
• Compatible Open Data
Publication platforms
• Collaboration in definition
of data models
Identified as one of the most
relevant Smart Cities
Platform initiatives with a
global footprint within the
IES-City (IoT-Enabled Smart
City) Framework
TM Forum is working with
FIWARE to deliver the key
building blocks for enabling and
connecting Smart City
ecosystems
TM Forum supports NGSI v2 for
real-time access to context
information in cities
TM Forum and FIWARE
collaborate towards development
of data marketplace platform
components
Driving de-facto standards: Smart Cities
18
20. Driving de-facto standards: Smart Industry
19
FIWARE Foundation and
IDSA signed a MoU under
which both organizations will
collaborate towards delivery
of a first open source
implementation of the IDS
Reference Architecture using
FIWARE Technologies
FIWARE Context Broker is
the core of IDS Connectors
in proposed implementation
A first version of an OPC-UA
Agent has been developed
enabling integration of systems
exporting an OPC-UA interface
with the FIWARE Context
Broker
The Fast RTPS technology,
integrated as Generic Enabler
of FIWARE has been adopted
as default communication
middleware in ROS2
The FIWARE Community is
working towards providing a
Fast RTPS interface of the
FIWARE Context Broker
21. FIWARE Platform Architecture overview
▪ FIWARE components can be assembled
together and with other 3rd-party platform
components to accelerate the development
of Smart Solutions
▪ The core and only mandatory component
of any “Powered by FIWARE” platform or
solution is the FIWARE Orion Context
Broker
▪ FIWARE is not about take it all or nothing:
you are not forced to use complementary
FIWARE components but other 3rd-party
platform components to design the hybrid
platform of your choice
20
Data/APIManagement
PublicationMonetization
Core Context
Management
(Context Broker)
Context
Processing, Analysis,
Visualization
Interface to
IoT, Robotics and third party
systems
Deploymenttools
22. Data/APIManagement
PublicationMonetization
Core Context Management
(Context Broker)
Context
Processing, Analysis, Visualization
Interface to
IoT, Robotics and third party systems
Deploymenttools
Mapping of FIWARE GEs
21
Development of
Context-aware applications
(Orion, STH-Comet,
Cygnus, QuantumLeap,
Draco)
Connection to the
Internet of Things
(IDAS, OpenMTC)
Real-time
processing of
context events
(Perseo)
Handling authorization
and access control to
APIs
(Keyrock, Wilma,
AuthZForce, APInf )
Publication and
Monetization of Context
Information
(CKAN extensions,
Data/API Biz Framework,
IDRA)
Creation of
Application Dashboards
(Wirecloud)
Real-time
Processing of media
streams
(Kurento)
Business Intelligence
(Knowage)
Connection to robots
(Fast RTPS,Micro XRCE-DDS)
Big Data
Context Analysis
(Cosmos)
Cloud Edge
(FogFlow)
Documents exchange
(Domibus)
Full Member in White
Incubated GEs in
Yellow
23. Cygnus and STH Comet
▪ Cygnus - based on Apache Flume enables the
persistence of historic context information into:
▪ HDFS, the Hadoop distributed file system.
▪ MySQL and PostgreSQL, the well-know relational database
managers.
▪ CKAN, an Open Data platform.
▪ MongoDB and STH (Short-Term Historic)
▪ Kafka queues
▪ DynamoDB, the cloud-based NoSQL database
▪ CartoDB, the geolocated platform
▪ STH Comet provides a MongoDB context data storage for
short-term context information history
▪ Fast response for queries on short-term context information
history
22
24. IDAS
▪ FIWARE NGSI is capable to deal with the wide variety of IoT protocols today
▪ Rather than trying to solve the battle of standards at IoT level, it brings a standard where no
standard exists today: context information management
23
FIWARE Context
Broker
NGSI v2 API (northbound interface)
IoT
Agent-1
IoT
Agent-2
IoT
Agent-n
IoT Agent
Manager
create/monitor
IDAS
(southbound interfaces)
OPC UA MQTTIETF CoAP
OMA LWM2M
FIWARE IoT platform
components or alternative
IoT platform supporting
connection to Context
Broker technology
25. Kurento
▪ Kurento is a WebRTC
media server and a set of
client APIs making simple
the development of
advanced video
applications
▪ Kurento Media Server
features include group
communications,
transcoding, recording,
mixing, broadcasting and
routing of audiovisual
flows
24
26. WireCloud - Dashboards
▪ Fully customizable and extendable by the
development of new widgets and operators
▪ Ready-to-use support for the FIWARE data models
▪ Share your dashboards with specific users or make
them public. Moreover, your can embed your
dashboards on third-party web pages
25
27. Knowage
▪ Knowage is a Business Intelligence suite bringing innovative themes and engines.
▪ Knowage offers a wide range of analytical tools:
▪ Reporting
▪ Multidimensional analysis (OLAP)
▪ Charts
▪ KPIs
▪ Interactive cockpits
▪ Geo-based business Intelligence analysis
▪ Free Inquiry
▪ masterdata management
▪ Data mining and network analysis
▪ Execution of external processes
▪ ETL
▪ …
26
28. Cosmos Big Data
▪ The Cosmos Big Data Analysis GE is intended to bring
tools enabling analysis of both batch and stream context
information
▪ Batch analysis relies on Hadoop (which may be based
on OpenStack’s Sahara or canbe a customized Hadoop
deployment) and Cosmos brings some added features:
▪ User Accounts Management
▪ OAuth2 authorization and access control support
▪ REST APIs for MapReduce jobs submission and
management
▪ Stream analysis relies on Storm and Cosmos brings an
intuitive graphical interface for:
▪ programming analysis algorithms
▪ management of Storm clusters
27
29. Extended CKAN and Data/API BIZ Framework
▪ CKAN is a data management platform that makes
data accessible by enabling the publication,
search, and consumption of datasets
▪ CKAN is probably the most widely open data
publication platform used today
▪ CKAN extensions has been developed in FIWARE
to enable:
▪ Managing NGSI API queries as “dynamic” datasets
▪ Assignment of Access Rights Policies to datasets
▪ Managing Access Rights acquisition
▪ Binding pricing to datasets (acquisition and access)
▪ FIWARE Biz Framework components rely on
TM Forum Business Open APIs
28
Open APIs
• Catalog
• Product offering
• Product inventory
• Billing
• Party/Customer
33. Simple Smart solutions: Generic Reference Architecture
▪ Four major layers:
▪ Data acquisition
▪ Data management
▪ Data processing
▪ Application layer
▪ Cross-layer vertical Identity
Management and Access
Control
▪ Data adquired from sensors or
third systems (e.g., weather
service)
▪ More or less sophisticated data
processing and visualization
functions
32
34. Smart solution: Reference Architecture (FIWARE)
▪ Context Information
Management layer based using
FIWARE Context Broker
technology
▪ Ability to integrate third IoT
platforms or use FIWARE IoT
agents developed as part of the
IDAS NGSI Agent Framework
▪ Integration of FIWARE Context
Broker technology with most
popular Apache processing
engines (Spark, Flink, Hadoop)
▪ Advanced web mashup and
Business Intelligent
components
33
35. Smart solution: Reference Architecture (FIWARE)
▪ Context Information
Management layer based using
FIWARE Context Broker
technology
▪ Ability to integrate third IoT
platforms or use FIWARE IoT
agents developed as part of the
IDAS NGSI Agent Framework
▪ Integration of FIWARE Context
Broker technology with most
popular Apache processing
engines (Spark, Flink, Hadoop)
▪ Advanced web mashup and
Business Intelligent
components
34
36. 35
▪ Goal: Noise monitoring
and sound event detection and
identification
▪ Target customers: smart cities,
smart spaces, security
companies
▪ Main features:
▪ advanced and
innovative analysis using 3D
audio captures
▪ monthly and daily readings
and statistics
37. 36
▪ Goal: Turning Fleet Maintenance
into an exact science
▪ Target customers: transport sector,
field service fleets, …
▪ Main features:
▪ Simple installation
▪ Continuous mechanical analysis
in real time
▪ Advanced Artificial Intelligence
Techniques for predictions
▪ Real-time notification to
management and workshops
38. ▪ Goal: Free livestock monitoring
▪ Target customers: livestock farms
▪ Main features:
▪ Monitor free livestock using IoT
collars weared by each animal
▪ Position, activity, inventory,
anomalies
▪ Ecosystem with veterinarians,
livestock markets, etc.
▪ Save money by early detection of
sick animals
▪ SIGFox / LORA / 3G
37
39. ▪ Goal: Remote monitoring
and optimized replenishment
of silos in farms
▪ Target customers: farms and
feed suppliers
▪ Main features:
▪ patented 3D scanning
▪ easy installation (5 mins)
▪ no batteries (solar panel)
▪ collaborative platform for
farmers and feed suppliers
38
40. ▪ Goal: Non invasive osteoporosis
prevention
▪ Target customers: Osteoporosis
concerned population
▪ Main features:
▪ Measurement of indicators for
bone mass creation (exercise, UV
radiation, calcium ingest…)
▪ Daily monitoring of exercises
▪ Bluetooth LTE
▪ Attractive design
▪ Gamification and engagement
39
41. FIWARE as basis for a “System of Systems” Architecture
40
Silo management
▪ No single company can provide
the best solution for all challenges
▪ Need to integrate solutions
coming from multiple parties
Pest
management
soil monitoring
42. Envisioned evolution of Farm Management systems
▪ No single company can provide
the best solution for all challenges
▪ Need to integrate solutions coming
from multiple parties
▪ Need to integrate data to build a
holistic picture of what is going on
in right-time: context data
▪ Smart Global Systems can be
developed on top of this Context
Information Management layer
▪ A Reference Architecture will look
more like a “system of systems”
41
46. FIWARE case example: enriching car navigation through front-runner
smart cities using third-party data
45
• Car navigators can display context information
about available parking slots published by
cities or other data from third parties it has
acquired the right to access to
• The car can share speed info with the city if the
drivers agree and both get something in return
City of Santander
City of Porto
• Users can receive recommendations from
smart home systems (“do you want me to
switch on the heat before you arrive?”)
• Users may have paid for apps developed
around data and recommendations used
from the car (discount restaurants around)
47. 46
But we are not
creating just
technology ….
… but a sustainable
open innovation
ecosystem
57. FIWARE: Technology but much more
▪ Mission: build an open sustainable ecosystem around public,
royalty-free and implementation-driven software platform standards
that will ease the development of new Smart Applications in
multiple sectors
▪ Pillars:
56
eHealth
tourism
Transport,
Mobility and
Logistics
e-government
Smart
Energy Grid
…
the open source platform of choice for
developing smart applications
a meeting point where innovation happens and
users can experiment with the technology
activate funds and accelerate the business of
entrepreneurs using the technology
reach a global footprint, opening to regions
that share the same vision and ambition
support development of the community at local
level, bringing support, training, certification
59. Summary
▪ Context data represents the state of a physical or conceptual
object which exists in the real world.
▪ Smart Solutions are able to:
▪ Read information from sensors and other sources
▪ Analyse the state of the context data
▪ Actuate devices to change the state of the real world.
▪ FIWARE is an open source initiative driving the definition of a
universal set of standards for context data management
▪ NGSI v2 is a vendor-neutral standardized interface for interactions
within FIWARE
58
60. Summary
▪ FIWARE Catalogue is a curated framework of open source platform components
▪ All Generic Enablers can be assembled together
▪ Pick and Mix - only use the elements you need.
▪ Compatible with other third-party platforms
▪ Only essential component is the context broker
▪ Used to accelerate the development of Smart Solutions
▪ FIWARE Marketplace disseminates existing commercial offerings around FIWARE
▪ Powered by FIWARE solutions/platforms,
▪ FIWARE-ready technologies
▪ FIWARE related training/coaching or consultancy
▪ Integration and support services.
▪ FIWARE Foundation is a legally independent body promoting and protecting FIWARE
▪ FIWARE Lab, FIWARE iHubs, FIWARE Accelerate, FIWARE Mundus
59