UBIWHERE - apan.net · Orion Context Broker Generic Enabler for Data/Context Management - Core...

47
UBIWHERE www.ubiwhere.com

Transcript of UBIWHERE - apan.net · Orion Context Broker Generic Enabler for Data/Context Management - Core...

UBIWHERE

www.ubiwhere.com

Who we are

Software development SME founded in 2007

Quality Certifications: ISO 9001 | CMMI DEV 3 | CMMI SVC 3 | NP 4457

Four offices: Aveiro, Coimbra, Porto and Lisboa

Five spin-offs: Bikeemotion | Parkware | SmartLamppost | ARO Consulting | OAKREATIVE

Standardisation: Gold members of FIWARE Foundation | Full members of ETSI (ISG CIM)

Headquarters and R&D Center (Aveiro)

Partners

Team

Rui A. Costa Nuno Ribeiro

Sectors

What are Smart Cities?

What are Smart Cities

Cities who attempt to understand their problems and solve them in a smarter way

- Taking informed decisions…

- And understanding their impact.

1. First step: collect all the data

2. Second step: analyse/predict/etc.

- Smart Cities revolve around the data

- Endless opportunities

Our experience

First Smart Cities project (and product):

First Smart Cities project (and product):

Started in 2015 as an independent spin-off company:

- Wolfsburg - Germany, EU 50 bikes- Birmingham - Alabama, US 400 bikes- 5 cities in Portugal, EU 120 bikes- Richmond - Virginia, US 220 + 220 bikes- Baltimore - Maryland, US 500 bikes- Summit County - Utah, US 88 + 42 bikes- Howard County - Maryland, US 78 bikes- Leiria - Portugal, EU 220 bikes- Papagayo, CR 56 bikes- Columbia - South Carolina, US 135 bikes- Riverside - California, US 40 bikes- Pioneer Valley - Massachusetts, US 500 bikes- Raleigh - North Carolina, US 330 bikes

3000 bikes in Total

Smart cities brand created in 2014 specialised in solutions for Mobility & Environment:

www.citibrain.com

Smart cities portfolio

www.citibrain.com

Develop software solutions for Smart Cities

Collaborate in European R&D initiatives

- Interoperability

- Open Data

- Big Data

www.citibrain.com

MobilityParking Traffic

EnvironmentWaste Management Air Quality

OthersWater Cross-Domain

Our vision - Urban Intelligence on Smart Cities

The Urban Platform

Unified Vision

Challenges

Making sense of the data collected

Adding value to data by crossing domains

Providing a city-wide overview

Cities get

Cross domain data that avoids vertical silos

Data that is open across service providers

Data that is open to citizens

Powered by FIWARE

M2M InteroperabilityNGSI-compliance with devices and applications

Harmonised data modelsAir Quality, Traffic Flow, Vehicle Positioning, Incidents

Generic EnablersOrion Context Broker, Cygnus, Comet, CKAN

Let’s get a bit more technical about FIWARE

The NGSI standard API specifies:

- Entities- ID- Type- Attributes

- Operations- Query- Update- Subscribe

Standardising: Data access

FIWARE specifies harmonised data models for different domains:

- Alarms

- Environment

- Parking

- Tourism

- Transportation

- Waste Management

https://schema.fiware.org/

Standardising: Data models

{

"id":"TrafficPorto1",

"type":"TrafficFlowObserved",

"address":{

"streetAddress":"Avenida da Boavista",

"addressLocality":"Porto",

"addressCountry":"PT"

},

"location":{

"type":"Point",

"coordinates":[

-4.73735395519672,

41.6538181849672

]

},

"dateObserved":"2018-03-07T11:10:00/2017-05-07T11:15:00",

"intensity":197,

"averageVehicleSpeed":52.6

}

FIWARE Traffic data model (sample)

FIWARE Reference Architecture

Generic Enablers (GE) offer a number of general-purpose functions

- Well-defined APIs (NGSI)

- Easing the development of applications

- Public and royalty-free

- Open-source reference implementations

- Alternative implementations also available

- Organised in different categories

https://catalogue.fiware.org/

Orion Context Broker

Generic Enabler for Data/Context Management

- Core piece of FIWARE’s Reference Architecture

- Provides access to context information

- Allows for real-time subscriptions

- Enables configurable subscriptions

- Only stores the NGSI entities’ current states

Orion Context Broker

{

"id":"TrafficPorto1",

"type":"TrafficFlowObserved",

"address":{

"streetAddress":"Avenida da Boavista",

"addressLocality":"Porto",

"addressCountry":"PT"

},

"location":{

"type":"Point",

"coordinates":[

-4.73735395519672,

41.6538181849672

]

},

"dateObserved":"2018-03-07T11:10:00/2016-12-07T11:15:00",

"intensity":197,

"averageVehicleSpeed":52.6

}

Orion Context Broker

Webhook notification to (example):

Cygnus

Generic Enabler for Data/Context Management

- Developed by Telefonica, based on Apache Flume

- Acts as a data connector (between different pieces of software)

- Can fetch data from Orion Context Broker

- Allows for data storage in multiple systems:

- Relational Databases: MySQL, PostgreSQL

- NoSQL Databases: MongoDB, STH-Comet

- Others: HDFS (Big Data), CKAN (Open Data)

Cygnus

STH-Comet

Generic Enabler for Data/Context Management (Short-Term Historical data)

- Uses MongoDB (NoSQL Database)

- Stores historical events data

- Allows for retrieval of:

- Raw time-series information

- Aggregated time-series information

{ "contextResponses":[

{

"contextElement":{

"attributes":[

{

"name":"averageSpeed",

"values":[

{

"recvTime":"2018-03-05T16:08:18.969Z",

"attrType":"integer",

"attrValue":"25"

}, {

"recvTime":"2018-03-05T16:10:59.017Z",

"attrType":"integer",

"attrValue":"39"

}

...

STH-Comet

GET contextEntities/type/TrafficFlowObserved/id/ TrafficPorto1 /attributes/averageSpeed?hLimit=2

CKAN

Generic Enabler for Data/Context Management (Open Data)

- Most popular Open Data portal platform

- Capable of storing different datasets

- Catalogue system with usable web interface

- FIWARE offers extensions for CKAN to comply with NGSI

- Allows for easy discovery and consumption

of context information available in Orion Context Broker

Cosmos

Generic Enabler for Data/Context Management (Big Data)

- Big data and Real-time Analytics

- Batch processing

- Hadoop-as-a-Service

- Extract behaviour patterns from data

- Stream processing

- Storm-as-a-Service

- Detect values outside a given scope

IoT Data Edge Consolidation - Cepheus

Generic Enabler for Internet of Things (IoT)

- Complex Event Processing (CEP) at the gateway level

- Developed by Orange, based on Esper

- IoT Gateways can have simple processing rules

- Data is processed closer to the IoT devices

- Less important data can be filtered out

- Action in actuators can be performed much faster

Reference Architecture (beginning)

Device Brokerage

Data Processing and Storage

Data Interfaces (REST + Orion publish-subscribe)

Front-end apps (web) Mobile apps

IoT Devices

UrbanPlatform

Interfaces

Reference Architecture (next steps)

Device Brokerage

Data Processing and Storage

Real-time Analytics / Big Data (Cosmos)

CKAN Mobile apps

IoT Devices

UrbanPlatform

Interfaces

Cepheus

Data Interfaces (REST + Orion publish-subscribe)

Web Frontend

Porto

Working together on an urban platform powered by FIWARE

Integrating existing information systems and data sources

- Air quality measurements from monitoring stations

- Traffic flow observations and vehicle positioning

- Points of Interest and Touristic Events

Open Data and Open APIs

- Real-time & static information: Mobility, Environment and Tourism

- Three Hackacity events organised from 2015 beyond

EU-funded project (H2020 programme)

January 2017 - September 2019

IoT Large-Scale Pilot for Smart Cities

34 partners, 11 countries

Digital Single Market

Global market based on the needs of the cities

Technological partner for Porto

Multimodal transportation, Community Policy Suite

SynchroniCity

Thank you!

www.ubiwhere.com