Encapsulation of Structural Adaptation by Composite Components - PowerPoint PPT Presentation

About This Presentation
Title:

Encapsulation of Structural Adaptation by Composite Components

Description:

Encapsulation of Structural Adaptation by Composite Components. Steffen G bel. Dresden University of Technology, Germany. WOSS'04 Newport Beach, CA. 10/31 11/01/2004 ... – PowerPoint PPT presentation

Number of Views:14
Avg rating:3.0/5.0
Slides: 17
Provided by: goe96
Learn more at: http://www.cs.cmu.edu
Category:

less

Transcript and Presenter's Notes

Title: Encapsulation of Structural Adaptation by Composite Components


1
Encapsulation of Structural Adaptation by
Composite Components
  • Steffen Göbel
  • Dresden University of Technology, Germany
  • WOSS04 Newport Beach, CA
  • 10/31 11/01/2004

2
Agenda
  • Motivation Components with different QoS
    profiles COMQUAD
  • Idea Mapping QoS profiles to configurations
  • Generalization Model for adaptable components
  • Modeling reconfiguration with UML
  • MDA approach for the development
  • Conclusions and Outlook

3
Motivation COMQUAD
  • COMponent with QUantitative properties and
    ADaptivity
  • Description of component nets at level of
    specifications
  • Selection of implementations based on required
    QoS
  • Adaptation by changing QoS profiles
  • Problem How can we develop a component with
    multiple QoS profiles?

4
Idea QoS Profile Configuration
  • QoS profile is mapped to internal configuration
    of a composite component
  • Encapsulation of adaptation logic

Composite Component
Profile A Configuration A
Adaption Manager
Interface Binding
Profil B Configuration B
5
Generalization Adaptable Components
  • Adaptable Composite Component Subcomponents
    Reconfiguration Parameter Mapping
  • Component parameters are mapped to different
    configurations
  • Parameters can be changed from inside or outside
    of the composite component

6
Component Model
Management interface
Parameter interface
ltltcontrolsgtgt
Adaptation Manager
Interface Binding
Adaptation Specification
Active configuration
7
Graphical Specification of Adaptation
  • Possible reconfiguration operations
  • Adding components and connections
  • Removing components and connections
  • Replacing components (special case)


ltltdelegategtgt


-
ltltdelegategtgt
-
-
ltltreplacegtgt
-

8
Example for Adaptation Description
  • Adding Postprocessing to a VideoDecoder Component

PostProcessor
MPEG4Decoder



Synchronizer
-
ltltdelegategtgt
Demultiplexer
MP3Decoder
ltltreplacegtgt

VorbisDecoder
9
Configuration and Variations
  • Configuration complete graph of a composite
    component
  • Represent operating modes
  • Can be tested by unit tests
  • Can be mapped to enumeration parameter
  • Example QoS profiles
  • Variations changes of a configuration
  • Can be applied limited or unlimited times
  • Every variation has an inverse variation
  • Can be mapped to graph grammars
  • Can be mapped to integer parameter

10
MDA Approach
PIM
Subcomponents
Reconfiguration Models
Model of adaptable Component

PSM
EJB
COMQUAD

Runtime
EJB
COMQUAD
11
Conclusions and Outlook
Management interface
Parameter interface
  • Encapsulation of structural adaptation by
    composite components ? Easier for developers
  • Parameter mapping
  • Self-adaptable components
  • Graphical specification of reconfigurations
  • MDA approach for development
  • Challenges
  • Adaptation of stateful components
  • Synchronization
  • Tool support

ltltcontrolsgtgt
Adaptation Manager
Interface Binding
Adaptation Specification
Active configuration
12
(No Transcript)
13
Run-time Adaptation of Stateful Components
  • Problem State must be transferred from old to
    new component instance

old
new
Replacement
State
State
Transformer
14
Adaptation in Distributed Applications
  • Actually composite components to avoid
    dependencies during adaptation
  • Problem Adaptation must be executed on different
    computers at the same time

Network
Change of encryption
15
Adaptation in Distributed Applications
  • Adaptation by coupling of parameters

Encryption parameter
ltltCouplinggtgt
Network
Change of encryption
16
Development Methodology for Adaptation
  • Design Time
  • Platform independent
  • Graphical Description

many
  • Development Time
  • Direct changes of source code possible
  • Many adaptation possibilities can be planed for
    deployment and Runtime

Adaptationmechanisms
  • Deployment Time
  • Source code not available, only changes or
    extensions of binary code possible
  • Runtime
  • Remove, replace or reorder
  • Change of component parameters

few
Write a Comment
User Comments (0)
About PowerShow.com