More Related Content
Similar to A Refrence Architecture for loT Enabled Smart Cities- Smart Cities Summit 2018 - Algiers (20)
More from Smart Algiers (20)
A Refrence Architecture for loT Enabled Smart Cities- Smart Cities Summit 2018 - Algiers
- 1. A Reference Architecture for IoT Enabled Smart Cities
Supported by the FIWARE Open Source Platform
Pedro Fazenda, PhD
pfazenda@cedet.isel.ipl.pt
- 2. 010001101101010101010001101111001010101010010010001011100111000110100111000101001010101010101010101010101010101010100101011011010101001010010111100010101010101001001001110101010
010101010101000101010010100101010101001010101010101010100101010010101001010011101010101001010101010010101010100101010101010010010110101010010100101111000101010101010010010011101
ICT Role for Smart Cites
Enable the creation of a common digital single market for IoT-enabled urban services
Cover security aspects related to data management, IoT infrastructure and platform services
Provide common data models and interfaces (context management, security, marketplace, IoT, etc.)
Manage the heterogeneity of different devices, technologies and standards
Key Categories for Smart Sustainable Cities
2Smart Cities Global Technology and Investment Summit, Algeria
Quality of Life and LifestyleInfrastructure and Services People, Citizen and Society
Environment & Sustainability Environment & Sustainability
Governance, Management and AdministrationEconomy and Finance
ICT, Communications, Intelligence and Informations Energy Mobility
- 8. 010001101101010101010001101111001010101010010010001011100111000110100111000101001010101010101010101010101010101010100101011011010101001010010111100010101010101001001001110101010
010101010101000101010010100101010101001010101010101010100101010010101001010011101010101001010101010010101010100101010101010010010110101010010100101111000101010101010010010011101
8Smart Cities Global Technology and Investment Summit, Algeria
Connector Framework (Cygnus)
Cygnus-NGSI
(Flume injector)
Source: Martínez Et al., A Testbed to Evaluate the FIWARE-Based IoT
Platform in the Domain of Precision Agriculture, Sensors, 2016.
Context Producers Context Consumers
subscriptions
update NGSI10
notifyContext
NGSI10
update NGSI10
update NGSI10
DB
TCP/1026
Orion Context
Broker
subscribeContext
NGSI10
HTTP
Source Memory Channel
TCP/5050
Orion
HDFS
Sink
Flume
Event
Flume
Event WebHDFS/HTTPFS
TCP/14000
Big Data Analysis
(Cosmos)
Global Instance
Hive
Client
Queries
TCP/10000
A Generic Enabler to persist data in third-party storages, creating a historical view of such data
HDFS, the Hadoop distributed file system.
MySQL, the well-known relational database manager.
CKAN, an Open Data platform.
MongoDB, the NoSQL document-oriented database.
STH Comet, a Short-Term Historic database built on top of MongoDB.
Kafka, the publish-subscribe messaging broker.
DynamoDB, a cloud-based NoSQL database by Amazon Web Services.
PostgreSQL, the well-known relational database manager.
Carto, the database specialized in geolocated data.
Supported third-party storages
- 11. 010001101101010101010001101111001010101010010010001011100111000110100111000101001010101010101010101010101010101010100101011011010101001010010111100010101010101001001001110101010
010101010101000101010010100101010101001010101010101010100101010010101001010011101010101001010101010010101010100101010101010010010110101010010100101111000101010101010010010011101
Complex Event Processing (CEP)
11Smart Cities Global Technology and Investment Summit, Algeria 11Smart Cities Global Technology and Investment Summit, Algeria
Context Producers Context
Consumerssubscriptions
update NGSI10
notifyContext
NGSI10
update NGSI10
update NGSI10
DB
TCP/1026
Orion
Context
Broker
subscribeContext
NGSI10
Perseo (wrapper for Esper)
Esper – (Java library that contains the rules
engine and event processing logic)
DB
HTTP
SMS
Email
Twitter
Match
Action
Action
Action
Action
Anatomy of a rule (EPL)
Rules
{
"name":"blood_rule_update",
"text":"select *,"blood_rule_update" as ruleName, *, ev.BloodPressure? as Pressure, ev.id? as Meter from pattern [every v=iotEvent(cast(cast(BloodPressure?,String),float)>1.5 and type="BloodMeter")]",
"action": {
"type":"update",
"parameters":{ "name":"abnormal", "value":"true", "type":"boolean" }
}
}
API for managing rules
Promoted by Telefonica
- 15. 010001101101010101010001101111001010101010010010001011100111000110100111000101001010101010101010101010101010101010100101011011010101001010010111100010101010101001001001110101010
010101010101000101010010100101010101001010101010101010100101010010101001010011101010101001010101010010101010100101010101010010010110101010010100101111000101010101010010010011101
Data Models
15Smart Cities Global Technology and Investment Summit, Algeria
Civic Issue Tracking ParkingStreet Lighting WeatherPoint of Interest
AlertsParks & GardensTransportationIndicators EnvironmentWaste Management
{
"id": "Alert:1",
"type": "Alert",
"category": "traffic",
"subCategory": "trafficJam",
"severity": "high",
"location": {
"type": "Point",
"coordinates": [
-3.712247222222222,
40.423852777777775
]
},
"dateObserved": "2017-01-02T09:25:55.00Z",
"description": "The road is completely blocked for 3kms",
"alertSource":https://account.lab.fiware.org/users/8
}
{
"id": "Vitoria-NoiseLevelObserved",
"type": "NoiseLevelObserved",
"location": {
"type": "Point",
"coordinates": [-2.6980, 42.8491]
},
"dateObserved": "2016-12-28T11:00:00/2016-12-28T12:00:00",
"measurand": [
"LAeq | 67.8 | A-weighted, equivalent, sound level",
"LAmax | 94.5 | A-weighted, maximum, sound level",
],
"LAeq": 67.8,
"LAmax": 94.5,
"sonometerClass": "2"
}
Example 2: Noise Level ObservedExample 1: Traffic Jam Alert
- 16. 010001101101010101010001101111001010101010010010001011100111000110100111000101001010101010101010101010101010101010100101011011010101001010010111100010101010101001001001110101010
010101010101000101010010100101010101001010101010101010100101010010101001010011101010101001010101010010101010100101010101010010010110101010010100101111000101010101010010010011101
Data Models & Federation
16Smart Cities Global Technology and Investment Summit, Algeria
{
"id": "urn:oc:entity:aarhus:traffic:fixed:BT338",
"type": "urn:oc:entityType:iotdevice:traffic",
"TimeInstant": {
"type": "urn:oc:attributeType:ISO8601",
"value": "2017-07-25T13:35:00.000Z",
},
"location": {
"type": "geo:point",
"value": "56.1102508220387, 10.153714822090137",
},
"origin": {
"type": "urn:oc:attributeType:origin",
"value": "Traffic flow data from ODAA",
},
"speed:average": {
"type": "urn:oc:attributeType:speed:average",
"value": "69",
}
}
Organicity Data Asset Example
A service for experimentation that explores how citizens,
businesses and city authorities can work together to create
digital solutions to urban challenges.
- 18. 010001101101010101010001101111001010101010010010001011100111000110100111000101001010101010101010101010101010101010100101011011010101001010010111100010101010101001001001110101010
010101010101000101010010100101010101001010101010101010100101010010101001010011101010101001010101010010101010100101010101010010010110101010010100101111000101010101010010010011101
Business Ecosystem/Marketplace
18Smart Cities Global Technology and Investment Summit, Algeria
FIWARE CKAN Extensions
Real time context information can be published in CKAN as
Context Broker queries (for instance, noise levels in Lisbon, etc.)
Source: FIWARE Documentation
The Business API Ecosystem includes support for:
• Management of catalogs, products, and offering
• Rich pricing models, including recurring payments, pay-per-use, etc.
• Accounting callbacks
• Billing and charging
• PayPal, including customer charges and seller payments
• Revenue sharing, including models with multiple stakeholders
involved