1 / 21

An architecture for supporting Development and Execution of Context-Aware Component Applications

An architecture for supporting Development and Execution of Context-Aware Component Applications. Nabiha Belhanafi Behlouli. GET/INT, CNRS, Samovar 9, rue Charles Fourier, 91170 Evry , France ICPS’06 26-29 June 2006 Lyon. Plan. Motivations and objectives Definitions CAMidO meta-model

aviva
Download Presentation

An architecture for supporting Development and Execution of Context-Aware Component Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An architecture for supporting Development and Execution of Context-Aware Component Applications Nabiha Belhanafi Behlouli GET/INT, CNRS, Samovar 9, rue Charles Fourier, 91170 Evry , France ICPS’06 26-29 June 2006 Lyon

  2. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO Middleware architecture • CAMidO implementation and evaluation • Conclusion and future works

  3. Motivations • Mobile devices are characterised by dynamism in their environment • Applications have to : • Detect environment changes. • Adapt their behaviour accordingly. • Context-aware application development implies : • Interaction with sensors, • Detection of context changes, • Making decisions on appropriate adaptation actions. • Context-aware applications needs of a middleware to manage context. • Context awareness is rarely considered in component based middleware

  4. Objectives • To Facilitate development of component based context aware-applications with: • Ontology based meta-model for context and adaptation description. • Context management mechanisms included in a component based middleware . • Adaptation management by the component container using non functional properties.

  5. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO Middleware architecture • CAMidO implementation and evaluation • Conclusion and future works

  6. Component based applications Equivalent interface Component Receptacle Facets Event sink Event source • A set of reusable components connected to each other via ports • A component is executed on a container • The container manages • all component interactions • non functional properties provided to the component Client Component Callback Interface Container Internal Interface ORB Security Transaction Notification

  7. Adaptation types • Reactive adaptation • Triggering an operation when a relevant context is detected • Proactive adaptation • concerns component invocation behaviour • Interception and redirection of component requests CRA SRA C1 C2 O1 SRA CRA O2 C1 C2 O1 O2 SRA CRA: Client Side Adaptor, takes client side adaptation decisions. SRA: Server Side Adaptor, takes server side adaptation decisions. Ci: component i Oi: provided operation i C3 O3 Server side adaptation Client side adaptation

  8. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO Middleware architecture • CAMidO implementation and evaluation • Conclusion and future works

  9. CAMidO meta-model

  10. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO Middleware architecture • CAMidO implementation and evaluation • Conclusion and future works

  11. CAMidO compiler Designer description CAMidO OWL Description IDL/CIDL User’s code Controllers source code Programing Language Tool CAMidO Ontology Compiler IDL/CIDL Compiler Rule File Implementation CCM Stub and Skeleton Packaging Component Descriptor CCM production chain CAMidO generated code Context-awareness production chain

  12. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO architecture • CAMidO implementation and evaluation • Conclusion and future works

  13. CAMidO Middleware architecture A component of a context-aware application Container Component ComponentADapter ContextRepository InferenceComponent ContextAnalyser ContextInterpreter Middleware CollectionManager Agent1 Agent2 Agent3 Sensor1 Sensor2 Sensor3

  14. Container architecture • Adaptation management done by component container Container Component ReactivAdaptor ProactivAdaptor DynamicRequestCreator AD Notification ContextAnalyser

  15. Container architecture Interception mechanism • Adaptation management done by component container Container Component Outgoing request ReactivAdaptor ProactivAdaptor DynamicRequestCreator AD Notification ContextAnalyser CAMidOProxy CAClientInterceptor (CRA) CAServerInterceptor (SRA) Incoming request ORB

  16. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO Middleware architecture • CAMidO implementation and evaluation • Conclusion and future works

  17. CAMidO implementation and evaluation • A CAMidO prototype implemented on top of OpenCCM using • OWL for meta-model and model description • Velocity engine for source code generation. • Jena tool for parsing the meta-model • CORBA portable interceptors for component invocations interception • Experimental results about context management cost • Depends On • The size of the ontology • The complexity of interpretation rules • The complexity of adaptation policies • The number of relevant context

  18. Plan • Motivations and objectives • Definitions • CAMidO meta-model • CAMidO compiler • CAMidO Middleware architecture • CAMidO implementation and evaluation • Conclusion and future works

  19. Conclusion • An ontological meta-model for context description. • A compiler to generate : • adaptation source code, • rule files. • A context-aware middleware architecture. • Adaptation management in the component container using non functional properties.

  20. Perspectives • Measurement of proactive adaptation cost • Distribution of the context-aware entities added to CAMidO • Resolution of adaptation conflicts • Resolution of coherence problems

  21. Questions?

More Related