SlideShare a Scribd company logo
1 of 27
Download to read offline
An Infrastructure to Provide Context-Aware
                 Information and Services to Mobile Users
                                                  UCAmI 2012



                                           Pablo Curiel, Ana B. Lago

                  DeustoTech - Deusto Institute of Technology, University of Deusto
                                       http://www.morelab.deusto.es


                                              December 4, 2012




Infrastructure to Provide Context-Aware…                                        1/26
Outline


     Introduction

     The Infrastructure

     Implementation

     Evaluation

     Conclusion



Infrastructure to Provide Context-Aware…   2/26
Introduction


     Introduction

     The Infrastructure

     Implementation

     Evaluation

     Conclusion



Infrastructure to Provide Context-Aware…   3/26
Mobile devices’ ecosystem


     ►    Mobile devices play a prominent role in our lives.
            ►6     cellular subscriptions for every 7 people in the world.

     ►    Emergence of the Smartphones
            ► Powerful   hardware
            ► Permanent connectivity
            ► Equipped with numerous sensors
            ► Ability to execute a great diversity of applications


     ►    Provide richer and better context information than ever
          before

Infrastructure to Provide Context-Aware…   Introduction              4/26
The Objective


     ►    Build an infrastructure which
            ► Manages   the context information in mobile environments
            ► Makes it available for the rest of the entities in the
              environment
     ►    Enable
            ► The provision of relevant information and services to end-
              users.
            ► Mobile application and services to adapt their behaviour to
              meet user needs.




Infrastructure to Provide Context-Aware…   Introduction         5/26
The Infrastructure


     Introduction

     The Infrastructure

     Implementation

     Evaluation

     Conclusion



Infrastructure to Provide Context-Aware…   6/26
Infrastructure


     ►    The context management infrastructure…

                                           Context Manager
                                                Context Broker




                                                                                Consumers
                             Providers
                              Context




                                                                                 Context
                                            Query               Subscription
                                           Manager                Manager




                                           Current                    Context
                                           Context                    History




Infrastructure to Provide Context-Aware…             Infrastructure                         7/26
Providers




     ►    Entities which provide context information to




                                                               Providers
          the system




                                                                Context
     ►    Physical sensors, end-user mobile devices,
          social networks, mobile services, etc.




Infrastructure to Provide Context-Aware…   Infrastructure   8/26
Consumers




          Entities that make use of context information




                                                               Consumers
     ►




                                                                Context
          to adapt their behaviour or to take decisions
     ►    Mobile application and services




Infrastructure to Provide Context-Aware…   Infrastructure   9/26
The Context Manager




     ►    Central element
                                                            Context Manager
     ►    Context repository
            ► Stores  the context information                    Context Broker

              retrieved from the sources                     Query          Subscription
                                                            Manager           Manager
            ► Allows consumers to access it
     ►    Data-centric approach
     ►    Comprised of various independent
                                                            Current           Context
          components                                        Context           History




Infrastructure to Provide Context-Aware…   Infrastructure                  10/26
The Context Manager


     ►    Current Context
            ► Stores the context information which is valid in
              each moment
                                                                         Current
            ► Follows the ontological model shared by the                Context


              whole system.

     ►    Context History
            ► Keeps  track of the changes taken place in the
              context information                                        Context
                                                                         History
            ► Storage policies




Infrastructure to Provide Context-Aware…   Infrastructure        11/26
The Context Manager


     ►    Context Broker.
            ► Manages   access to current and
              history context repositories.
            ► Receives context information from
                                                                 Context Broker
              the sources and stores it in the
                                                             Query          Subscription
              current context                               Manager           Manager

            ► Moves outdated information to the
              context history
            ► Responds consumers’ requests
              querying these two repositories




Infrastructure to Provide Context-Aware…   Infrastructure               12/26
The Context Manager


     ►    Context Broker.
            ► Two       subcomponents

     ►    Query Manager                                                       Query
            ► Synchronous                  access                            Manager




     ►    Subscription Manager
            ► Asynchronous  access                                       Subscription
                                                                           Manager

            ► Register subscriptions and receive notifications




Infrastructure to Provide Context-Aware…            Infrastructure   13/26
Context Manager API


     ►    Unique entry point to the Context Manager functionality
     ►    Exposes methods that enable context source and
          consumers to work with context information
            ► Query the context repositories
            ► Subscribe to context information changes
            ► Add/Remove context information




Infrastructure to Provide Context-Aware…   Infrastructure   14/26
Implementation


     Introduction

     The Infrastructure

     Implementation

     Evaluation

     Conclusion



Infrastructure to Provide Context-Aware…   15/26
Implementation


     ►    Java
     ►    OSGi
     ►    Jena2 and Jenabean
     ►    RESTful API




Infrastructure to Provide Context-Aware…   Implementation   16/26
Evaluation


     Introduction

     The Infrastructure

     Implementation

     Evaluation

     Conclusion



Infrastructure to Provide Context-Aware…   17/26
Starting scenario


     ►    Suggest plans to friends depending on their location and
          availability.
     ►    Android end-user app                      ►   Contextual service




Infrastructure to Provide Context-Aware…   Evaluation                   18/26
Tests design


     ►    And starting from this scenario...
     ►    Tests where
            ► The contextual service acts as context source, periodically
              (every 5s) adding alerts for the end-user application
            ► The end-user application
                   ► Queries periodically (every 1s) for these alerts
                   ► Registers asynchronous subscriptions to receive them

     ►    In each of these tests the number of context source and
          consumers interacting with the context manager varies




Infrastructure to Provide Context-Aware…   Evaluation                 19/26
Tests results


     ►    Effect of different number of concurrent sources




Infrastructure to Provide Context-Aware…   Evaluation        20/26
Tests results


     ►    Effect of different instance count in the current context




Infrastructure to Provide Context-Aware…   Evaluation        21/26
Tests results


     ►    Effect of different number of concurrent consumers




Infrastructure to Provide Context-Aware…   Evaluation    22/26
Tests results


     ►    Comparison between using Jena and Jena+Jenabean




Infrastructure to Provide Context-Aware…   Evaluation   23/26
Conclusion


     Introduction

     The Infrastructure

     Implementation

     Evaluation

     Conclusion



Infrastructure to Provide Context-Aware…   24/26
Conclusions


     ►    The implemented prototype and the tests carried out
          have shown
            ►A   functional system which complies with the defined
              requirements
            ► Is extensible


     ►    However, performance issues were observed
            ► The number of concurrent sources increases
            ► The context space held by the context manager grows




Infrastructure to Provide Context-Aware…   Conclusion          25/26
Future Work


     ►    Removing or replacing Jenabean
     ►    Privacy and security policies
            ► Trustin context providers
            ► Control access for context consumers




Infrastructure to Provide Context-Aware…   Conclusion   26/26
An Infrastructure to Provide Context-Aware
                 Information and Services to Mobile Users

                                                Pablo Curiel
                                            {pcuriel@deusto.es}

                  DeustoTech - Deusto Institute of Technology, University of Deusto
                                       http://www.morelab.deusto.es




Infrastructure to Provide Context-Aware…                                        27/26

More Related Content

Similar to UCAmI 2012 - An Infrastructure to Provide Context-Aware Information and Services to Mobile Users

Cloud application platform chapter_2.pptx
Cloud application platform chapter_2.pptxCloud application platform chapter_2.pptx
Cloud application platform chapter_2.pptxmamathar38
 
I3CON Newsletter #2
I3CON Newsletter #2I3CON Newsletter #2
I3CON Newsletter #2lk314
 
MICE: Monitoring and modelIng of Context Evolution
MICE: Monitoring and modelIng of Context EvolutionMICE: Monitoring and modelIng of Context Evolution
MICE: Monitoring and modelIng of Context EvolutionLuca Berardinelli
 
Sansymphony v-r9
Sansymphony v-r9Sansymphony v-r9
Sansymphony v-r9TTEC
 
Event Driven Software Architecture Pattern
Event Driven Software Architecture PatternEvent Driven Software Architecture Pattern
Event Driven Software Architecture Patternjeetendra mandal
 
contextawareness.pptx
contextawareness.pptxcontextawareness.pptx
contextawareness.pptxnassmah
 
Mobile context data management framework
Mobile context data management frameworkMobile context data management framework
Mobile context data management frameworkdamarcant
 
A survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’sA survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’sIOSR Journals
 
Context Broker Introduction and Reference Architecure
Context Broker Introduction and Reference ArchitecureContext Broker Introduction and Reference Architecure
Context Broker Introduction and Reference ArchitecureMaruti Gollapudi
 
SMARCOS VTT Propose
SMARCOS VTT  ProposeSMARCOS VTT  Propose
SMARCOS VTT ProposeSmarcos Eu
 
UbiComp2011: ContextCapture (Poster)
UbiComp2011: ContextCapture (Poster)UbiComp2011: ContextCapture (Poster)
UbiComp2011: ContextCapture (Poster)Ville Antila
 
All About Virtualization
All About VirtualizationAll About Virtualization
All About VirtualizationEMC
 
Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...
Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...
Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...boundary_slides
 
White Paper: EMC VNXe Data Protection — A Detailed Review
White Paper: EMC VNXe Data Protection — A Detailed Review   White Paper: EMC VNXe Data Protection — A Detailed Review
White Paper: EMC VNXe Data Protection — A Detailed Review EMC
 
context aware.pptx
context aware.pptxcontext aware.pptx
context aware.pptxnassmah
 
Context Aware Computing
Context Aware ComputingContext Aware Computing
Context Aware ComputingMOHIT DADU
 
The Digital Decoupling Journey | John Kriter, Accenture
The Digital Decoupling Journey | John Kriter, AccentureThe Digital Decoupling Journey | John Kriter, Accenture
The Digital Decoupling Journey | John Kriter, AccentureHostedbyConfluent
 
Episode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OSEpisode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OSMesosphere Inc.
 
Evolution from EDA to Data Mesh: Data in Motion
Evolution from EDA to Data Mesh: Data in MotionEvolution from EDA to Data Mesh: Data in Motion
Evolution from EDA to Data Mesh: Data in Motionconfluent
 

Similar to UCAmI 2012 - An Infrastructure to Provide Context-Aware Information and Services to Mobile Users (20)

Cloud application platform chapter_2.pptx
Cloud application platform chapter_2.pptxCloud application platform chapter_2.pptx
Cloud application platform chapter_2.pptx
 
I3CON Newsletter #2
I3CON Newsletter #2I3CON Newsletter #2
I3CON Newsletter #2
 
MICE: Monitoring and modelIng of Context Evolution
MICE: Monitoring and modelIng of Context EvolutionMICE: Monitoring and modelIng of Context Evolution
MICE: Monitoring and modelIng of Context Evolution
 
Sansymphony v-r9
Sansymphony v-r9Sansymphony v-r9
Sansymphony v-r9
 
Event Driven Software Architecture Pattern
Event Driven Software Architecture PatternEvent Driven Software Architecture Pattern
Event Driven Software Architecture Pattern
 
contextawareness.pptx
contextawareness.pptxcontextawareness.pptx
contextawareness.pptx
 
Mobile context data management framework
Mobile context data management frameworkMobile context data management framework
Mobile context data management framework
 
A survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’sA survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’s
 
Context Broker Introduction and Reference Architecure
Context Broker Introduction and Reference ArchitecureContext Broker Introduction and Reference Architecure
Context Broker Introduction and Reference Architecure
 
SMARCOS VTT Propose
SMARCOS VTT  ProposeSMARCOS VTT  Propose
SMARCOS VTT Propose
 
UbiComp2011: ContextCapture (Poster)
UbiComp2011: ContextCapture (Poster)UbiComp2011: ContextCapture (Poster)
UbiComp2011: ContextCapture (Poster)
 
All About Virtualization
All About VirtualizationAll About Virtualization
All About Virtualization
 
Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...
Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...
Matthias Vallentin - Towards Interactive Network Forensics and Incident Respo...
 
White Paper: EMC VNXe Data Protection — A Detailed Review
White Paper: EMC VNXe Data Protection — A Detailed Review   White Paper: EMC VNXe Data Protection — A Detailed Review
White Paper: EMC VNXe Data Protection — A Detailed Review
 
context aware.pptx
context aware.pptxcontext aware.pptx
context aware.pptx
 
Ontology-based Context-sensitive Computing for FMS Optimization
Ontology-based Context-sensitive Computing for FMS OptimizationOntology-based Context-sensitive Computing for FMS Optimization
Ontology-based Context-sensitive Computing for FMS Optimization
 
Context Aware Computing
Context Aware ComputingContext Aware Computing
Context Aware Computing
 
The Digital Decoupling Journey | John Kriter, Accenture
The Digital Decoupling Journey | John Kriter, AccentureThe Digital Decoupling Journey | John Kriter, Accenture
The Digital Decoupling Journey | John Kriter, Accenture
 
Episode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OSEpisode 4: Operating Kubernetes at Scale with DC/OS
Episode 4: Operating Kubernetes at Scale with DC/OS
 
Evolution from EDA to Data Mesh: Data in Motion
Evolution from EDA to Data Mesh: Data in MotionEvolution from EDA to Data Mesh: Data in Motion
Evolution from EDA to Data Mesh: Data in Motion
 

Recently uploaded

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

UCAmI 2012 - An Infrastructure to Provide Context-Aware Information and Services to Mobile Users

  • 1. An Infrastructure to Provide Context-Aware Information and Services to Mobile Users UCAmI 2012 Pablo Curiel, Ana B. Lago DeustoTech - Deusto Institute of Technology, University of Deusto http://www.morelab.deusto.es December 4, 2012 Infrastructure to Provide Context-Aware… 1/26
  • 2. Outline Introduction The Infrastructure Implementation Evaluation Conclusion Infrastructure to Provide Context-Aware… 2/26
  • 3. Introduction Introduction The Infrastructure Implementation Evaluation Conclusion Infrastructure to Provide Context-Aware… 3/26
  • 4. Mobile devices’ ecosystem ► Mobile devices play a prominent role in our lives. ►6 cellular subscriptions for every 7 people in the world. ► Emergence of the Smartphones ► Powerful hardware ► Permanent connectivity ► Equipped with numerous sensors ► Ability to execute a great diversity of applications ► Provide richer and better context information than ever before Infrastructure to Provide Context-Aware… Introduction 4/26
  • 5. The Objective ► Build an infrastructure which ► Manages the context information in mobile environments ► Makes it available for the rest of the entities in the environment ► Enable ► The provision of relevant information and services to end- users. ► Mobile application and services to adapt their behaviour to meet user needs. Infrastructure to Provide Context-Aware… Introduction 5/26
  • 6. The Infrastructure Introduction The Infrastructure Implementation Evaluation Conclusion Infrastructure to Provide Context-Aware… 6/26
  • 7. Infrastructure ► The context management infrastructure… Context Manager Context Broker Consumers Providers Context Context Query Subscription Manager Manager Current Context Context History Infrastructure to Provide Context-Aware… Infrastructure 7/26
  • 8. Providers ► Entities which provide context information to Providers the system Context ► Physical sensors, end-user mobile devices, social networks, mobile services, etc. Infrastructure to Provide Context-Aware… Infrastructure 8/26
  • 9. Consumers Entities that make use of context information Consumers ► Context to adapt their behaviour or to take decisions ► Mobile application and services Infrastructure to Provide Context-Aware… Infrastructure 9/26
  • 10. The Context Manager ► Central element Context Manager ► Context repository ► Stores the context information Context Broker retrieved from the sources Query Subscription Manager Manager ► Allows consumers to access it ► Data-centric approach ► Comprised of various independent Current Context components Context History Infrastructure to Provide Context-Aware… Infrastructure 10/26
  • 11. The Context Manager ► Current Context ► Stores the context information which is valid in each moment Current ► Follows the ontological model shared by the Context whole system. ► Context History ► Keeps track of the changes taken place in the context information Context History ► Storage policies Infrastructure to Provide Context-Aware… Infrastructure 11/26
  • 12. The Context Manager ► Context Broker. ► Manages access to current and history context repositories. ► Receives context information from Context Broker the sources and stores it in the Query Subscription current context Manager Manager ► Moves outdated information to the context history ► Responds consumers’ requests querying these two repositories Infrastructure to Provide Context-Aware… Infrastructure 12/26
  • 13. The Context Manager ► Context Broker. ► Two subcomponents ► Query Manager Query ► Synchronous access Manager ► Subscription Manager ► Asynchronous access Subscription Manager ► Register subscriptions and receive notifications Infrastructure to Provide Context-Aware… Infrastructure 13/26
  • 14. Context Manager API ► Unique entry point to the Context Manager functionality ► Exposes methods that enable context source and consumers to work with context information ► Query the context repositories ► Subscribe to context information changes ► Add/Remove context information Infrastructure to Provide Context-Aware… Infrastructure 14/26
  • 15. Implementation Introduction The Infrastructure Implementation Evaluation Conclusion Infrastructure to Provide Context-Aware… 15/26
  • 16. Implementation ► Java ► OSGi ► Jena2 and Jenabean ► RESTful API Infrastructure to Provide Context-Aware… Implementation 16/26
  • 17. Evaluation Introduction The Infrastructure Implementation Evaluation Conclusion Infrastructure to Provide Context-Aware… 17/26
  • 18. Starting scenario ► Suggest plans to friends depending on their location and availability. ► Android end-user app ► Contextual service Infrastructure to Provide Context-Aware… Evaluation 18/26
  • 19. Tests design ► And starting from this scenario... ► Tests where ► The contextual service acts as context source, periodically (every 5s) adding alerts for the end-user application ► The end-user application ► Queries periodically (every 1s) for these alerts ► Registers asynchronous subscriptions to receive them ► In each of these tests the number of context source and consumers interacting with the context manager varies Infrastructure to Provide Context-Aware… Evaluation 19/26
  • 20. Tests results ► Effect of different number of concurrent sources Infrastructure to Provide Context-Aware… Evaluation 20/26
  • 21. Tests results ► Effect of different instance count in the current context Infrastructure to Provide Context-Aware… Evaluation 21/26
  • 22. Tests results ► Effect of different number of concurrent consumers Infrastructure to Provide Context-Aware… Evaluation 22/26
  • 23. Tests results ► Comparison between using Jena and Jena+Jenabean Infrastructure to Provide Context-Aware… Evaluation 23/26
  • 24. Conclusion Introduction The Infrastructure Implementation Evaluation Conclusion Infrastructure to Provide Context-Aware… 24/26
  • 25. Conclusions ► The implemented prototype and the tests carried out have shown ►A functional system which complies with the defined requirements ► Is extensible ► However, performance issues were observed ► The number of concurrent sources increases ► The context space held by the context manager grows Infrastructure to Provide Context-Aware… Conclusion 25/26
  • 26. Future Work ► Removing or replacing Jenabean ► Privacy and security policies ► Trustin context providers ► Control access for context consumers Infrastructure to Provide Context-Aware… Conclusion 26/26
  • 27. An Infrastructure to Provide Context-Aware Information and Services to Mobile Users Pablo Curiel {pcuriel@deusto.es} DeustoTech - Deusto Institute of Technology, University of Deusto http://www.morelab.deusto.es Infrastructure to Provide Context-Aware… 27/26