Complete set of presentations of the FIWARE Training Sessions in Tunisia. Deep introduction to the FIWARE Core Generic Enablers as well as NGSI/NGSI-LD and the next steps in AI, ML, and Robotics.
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
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
7. 6
… in Cities
Bus
• Location
• No. passengers
• Driver
• Licence plate
Citizen
• Birthday
• Preferences
• Location
• ToDo list
Shop
• Location
• Business name
• Franchise
• offerings
8. 7
Tractor
• Location
• Speed
• Direction
Crop
• Humidity
• Leaf area
• Age
Drone
• Location
• Battery level
• Speed
• Direction
… in Agrifood
9. 8
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
10. 9
What if ...
for accessing
context information?
a standard API
there were
12. 11
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
13. 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
12
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”
14. 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)
13
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
15. Entrepreneurs will benefit from the opportunities of a
larger market
14
“We can invest on
development of
solutions we don’t
have to adapt for
each and every
customer”
16. 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)
15
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
17. Driving de-facto standards: cross domains
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
16
18. 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
17
19. Driving de-facto standards: Smart Industry
18
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
20. 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
19
Data/APIManagement
PublicationMonetization
Core Context
Management
(Context Broker)
Context
Processing, Analysis,
Visualization
Interface to
IoT, Robotics and third party
systems
Deploymenttools
21. Mapping of FIWARE GEs
Data/APIManagement
PublicationMonetization
Core Context Management
(Context Broker)
Context
Processing, Analysis, Visualization
Interface to
IoT, Robotics and third party systems
Deploymenttools
Development of
Context-aware applications
(Orion, STH-Comet,
Cygnus, Quantum Leap,
Draco, Scorpio)
Connection to the
Internet of Things
(IDAS, OpenMTC)
Real-time
processing of
context events
(Perseo)
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, OpenVidu)
Business Intelligence
(Knowage)
Connection to robots
(FIROS, Fast RTPS,Micro XRCE-DDS)
Big Data
Context Analysis
(Cosmos)
Cloud Edge
(FogFlow)
Documents exchange
(Domibus)
22. Mapping of FIWARE GEs
Data/APIManagement
PublicationMonetization
Core Context Management
(Context Broker)
Context
Processing, Analysis, Visualization
Interface to
IoT, Robotics and third party systems
Deploymenttools
Development of
Context-aware applications
(Orion, STH-Comet,
Cygnus, Quantum Leap,
Draco, Scorpio)
Connection to the
Internet of Things
(IDAS, OpenMTC)
Real-time
processing of
context events
(Perseo)
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, OpenVidu)
Business Intelligence
(Knowage)
Connection to robots
(FIROS, Fast RTPS,Micro XRCE-DDS)
Big Data
Context Analysis
(Cosmos)
Cloud Edge
(FogFlow)
Documents exchange
(Domibus)
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
▪ WebRTC media server
and a set of client APIs
making simple the
development of advanced
video applications
▪ 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 (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. FIWARE as basis for a “System of Systems” Architecture
34
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
36. 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”
35
40. FIWARE case example: enriching car navigation through front-runner
smart cities using third-party data
39
• 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)
41. 40
But we are not
creating just
technology ….
… but a sustainable
open innovation
ecosystem
51. 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
50
52. 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
51