Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

FIWARE Developers Week_Managing context information at large scale_conference

Managing context information at large scale presentation by Fermín Galán Márquez (@fermingalan) for Developers Week
(Madrid, March 2nd 2015)

www.fiware.org

  • Login to see the comments

  • Be the first to like this

FIWARE Developers Week_Managing context information at large scale_conference

  1. 1. Managing Context Information at large scale Fermín Galán Márquez - fermin.galanmarquez@telefonica.com (@fermingalan) March 2nd, 2015 – 4YFN
  2. 2. • What • Why • How • Who 2 Outline
  3. 3. What?
  4. 4. Being “Smart” requires first being “Aware” • Implementing a Smart Application requires gathering and managing context information • Context information refers to the values of attributes characterizing entities relevant to the application 4 Bus • Location • No. passengers • Driver • Licence plate Citizen • Name-Surname • Birthday • Preferences • Location • ToDo list Shop • Location • Business name • Franchise • offerings Context Information Application
  5. 5. Being “Smart” requires first being “Aware” • Implementing a Smart Application requires gathering and managing context information • Context information refers to the values of attributes characterizing entities relevant to the application 5 Boiler • Manufacturer • Last revision • Product id • temperature Users • Name-Surname • Birthday • Preferences • Location • ToDo list Flowerpot • Humidity • Watering plan Context Information Application
  6. 6. Different sources of context need to be handle • Context information may come from many sources: – Existing systems – Users, through mobile apps – Sensor networks (Internet of Things) • Source of info for a given entity.attribute may vary over time 6 Place = “X”, temperature = 30º What’s the current temperature in place “X”? Standard API A sensor in a pedestrian street The Public Bus Transport Management systemA person from his smartphone It’s too hot! Notify me the changes of temperature in place “X”
  7. 7. A non-intrusive approach is required • Capable to integrate with existing or future systems dealing with management of municipal services without impact in their architectures • Info about attributes of one entity may come from different systems, which work either as Context Producers or Context Providers • Applications rely on a single model adapting to systems of each city 7 Application/Service Standard API System A System B Context Producer Context Provider attribute “location” attribute “driver”
  8. 8. FIWARE NGSI: “The SNMP for IoT” • Capturing data from, or Acting upon, IoT devices becomes as easy as to read/change the value of attributes linked to context entities using a Context Broker 8 Context Broker NGSI APINGSI API GET <Oauth token> /V1/contextEntities/lamp1/attributes/presenceSensor PUT <Oauth token> /V1/contextEntities/lamp1/attributes/status “light on” Setting up the value of attribute “status” to “light on” triggers execution of a function in the IoT device that switches the lamp on Issuing a get operation on the “presenceSensor” attribute enables the application to get info about presence of people near the lamp
  9. 9. Connecting to the Internet of Things • Capturing data from, or Acting upon, IoT devices becomes as easy as to read/change the value of attributes linked to context entities using a Context Broker 9 Context Broker Standard APIStandard API GET <Oauth token> /V1/contextEntities/lamp1/attributes/presenceSensor PUT <Oauth token> /V1/contextEntities/lamp1/attributes/status “light on” Setting up the value of attribute “status” to “watering” triggers execution of a function in the IoT device that waters the plant Issuing a get operation on the “humidity” attribute enables the application to find out whether the plant has to be watered
  10. 10. Context Management in FIWARE • The FIWARE Context Broker GE implements the OMA NGSI- 9/10 API: a simple yet powerful standard API for managing Context information complying with the requirements of a smart city • The FIWARE NGSI API is Restful: any web/backend programmer gets quickly used to it 10 Application/Service Context Broker NGSI API Boiler • Manufacturer • Last revision • Product id • temperature Users • Name-Surname • Birthday • Preferences • Location • ToDo list Flowerpot • Humidity • Watering plan
  11. 11. Why?
  12. 12. Simplicity
  13. 13. Flexibility
  14. 14. Seamless interconnection with FIWARE platform (more on this later)
  15. 15. How?
  16. 16. Context Broker in a nutshell 16 Context Broker GE Context Producers Context Consumers subscriptions update query notify notify update update
  17. 17. Context Management at the heart of FIWARE 17 CKAN Big Data Context Broker Accounting&Payment&Billing IDM&Auth Short-term historic data BigData Processing Data Quering/Action, Publish/Subscr Open Data publishing Real-time processing BI ETL RULES DEFINITION TOOL OPERATIONAL DASHBOARD KPI GOVERNANCE OPEN DATA PORTALS Service orchestrator Context Adapters CEP IoT Backend Device Management measures / commands IoT Broker & Config Management (from sensors to things) IoT/Senso r Open Dataactuators Media streams Real Time Media Stream Processing City Services GIS Inventory Specific Enablers Generic Enablers
  18. 18. Orion features • Real-time context production and consumption • Push & pull context consumption • Geo-location aware • Scalable • Multi-tenancy • Security – Using FIWARE general framework OAuth2-based 18
  19. 19. Who?
  20. 20. EsAccesible
  21. 21. FI-Guardian
  22. 22. FonseSense
  23. 23. NGSI Context Adaptor for CartoDB Show your entities in a map with no effort, create history animations, heat maps and clusters representations
  24. 24. NGSI Plugin for Freeboard Create a real time dashboard for your entities, representing gauges, spark lines and maps. No coding required!
  25. 25. EsAccesible
  26. 26. Want to know more? 26
  27. 27. Want to know more? 27
  28. 28. Thanks!Thanks!
  29. 29. BACKUP SLIDES Backup slides 29
  30. 30. Standard based context management • Context Management in FIWARE is standard based – Open Mobile Alliance (OMA) Next Generation Service Interfaces (NGSI) 9/10 30 Attributes • Name • Type • Value Entity • EntityId • EntityType 1 n “has”
  31. 31. Integration with sensor networks • The backend IoT Device Management GE enables creation and configuration of NGSI IoT Agents that connect to sensor networks • Each NGSI IoT Agent can behave as Context Consumers or Context Providers, or both 31 FIWARE Context Broker IoT Agent-1 IoT Agent-2 IoT Agent-n IoT Agent Manager create/monitor FIWARE Backend IoT Device Management OMA NGSI API (northbound interface) (southbound interfaces) MQTTETSI M2M IETF CoAP
  32. 32. 32 • Federation of infrastructures (private/public regions) • Automated GE deploymentCloud • Complete Context Management Platform • Integration of Data and Media ContentData •Easy plug&play of devices using multiple protocols •Automated Measurements/Action Context updatesIoT •Visualization of data (operation dashboards) •Publication of data sets/servicesApps •Easy support of UIs with advanced web-based 3D and AR capabilities •Visual representation of context information. Web UI •Advanced networking capabilities (SDN) and Middleware •Interface to robotsI2ND •Security Monitoring •Built-in Identity/Access/Privacy ManagementSecurity Context Management in FIWARE
  33. 33. FI-WARE Context/Data Management Platform 33 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/analysi s Data generated either by CEP or BigData is published Gathered data injected for CEP-like processing Direct bigdata injection Programming of rules
  34. 34. Freeboard • Playing the context consumer role 34
  35. 35. Weather Bot • Running at FIWARE Campus stand 35 FIWARE Lab Cloud IoTA Orion orionlive.fiware.org Campus Party Net Internet REST client REST client REST client … UDP 60001 orion2twitter Internet Internet @FIWAREOrionLiveTCP 80
  36. 36. FIWARE Overall Architecture 36 CKAN Big Data Context Broker Accounting&Payment&Billing IDM&Auth Short-term historic data BigData Processing Data Quering/Action, Publish/Subscr Open Data publishing Real-time processing BI ETL RULES DEFINITION TOOL OPERATIONAL DASHBOARD KPI GOVERNANCE OPEN DATA PORTALS Service orchestrator Context Adapters CEP IoT Backend Device Management measures / commands IoT Broker & Config Management (from sensors to things) IoT/Senso r Open Dataactuators Media streams Real Time Media Stream Processing City Services GIS Inventory Specific Enablers Generic Enablers

×