Orion Context Broker workshop (CPMX5)
-
Upload
fermin-galan -
Category
Education
-
view
754 -
download
4
Transcript of Orion Context Broker workshop (CPMX5)
![Page 1: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/1.jpg)
Open APIs for Open Minds
Fermín Galán Márquez ([email protected]) Telefónica I+D
Orion Context Broker
June 26th, 2014
![Page 2: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/2.jpg)
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
2
Orion Context Broker Applications
![Page 3: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/3.jpg)
3
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
![Page 4: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/4.jpg)
Orion Context Broker in a nutshell
4
Orion Context Broker
ContextProducers
ContextConsumers
subscriptions
update
query
notify
notify
update
update
DB
1026
1026
![Page 5: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/5.jpg)
5
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)
![Page 6: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/6.jpg)
FI-WARE Context/Data Management Platform
6
Context/Data Management Platform
Applications
OMA NGSI-9/10
Processing/Analysis
Algorithms
Gathered data is injected for
processing/analysis
Distributed
Context Sources
Complex Event Processing (PROTON)
BigData(COSMOS)
Processed data is injected for
processing/analysis
Data generated either by CEP or BigData is
publishedGathered data
injected for CEP-like processing
Direct bigdata injection
Programming of rules
![Page 7: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/7.jpg)
7
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
![Page 8: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/8.jpg)
http://fi-ppp.eu
http://fi-ware.eu
Follow @Fiware on Twitter !
Thanks !
8
![Page 9: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/9.jpg)
How Orion fits in the FI-WARE overall platform
CKAN
Big Data
measures / commands
IoT/Sensor Open Data
Context Broker
IoT Broker & Config Management(from sensors to things)
actuators
Acco
untin
g &
Pa
ym
en
t & B
illing
IDM
& A
uth
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 DATAPORTALS
GIS
City Services Service orchestrator
Context Adapters
CEP
9
Media StreamsProcessing
Media
media content
IoT Backend Device Management
![Page 10: Orion Context Broker workshop (CPMX5)](https://reader036.fdocuments.in/reader036/viewer/2022082606/55838e58d8b42a8e0c8b5062/html5/thumbnails/10.jpg)
Orion in LiveDemo application
10
NGSI IoT Adapter
IoT Backend Device Management
Browser
Context BrokerTicket Management
CEP
Wirecloud (javascript runtime)
widgets
Object Storage
History
Location
Wirecloud (server)
Cosmos