ICSOFT'2012: Composing Model Transformations at Runtime: an approach for adapting Component-based...

download ICSOFT'2012: Composing Model Transformations at Runtime: an approach for adapting Component-based User Interfaces

If you can't read please download the document

  • date post

    16-Apr-2017
  • Category

    Documents

  • view

    449
  • download

    3

Embed Size (px)

Transcript of ICSOFT'2012: Composing Model Transformations at Runtime: an approach for adapting Component-based...

Componentes Web

Composing Model Transformations at Runtime:an approach for adapting Component-based User Interfaces

Diego Rodrguez-Gracia, Javier Criado, Luis Iribarne, Nicols PadillaApplied Computing Group University of Almera, Spain

Cristina Vicente-ChicoteDepartment of Information Communication TechnologiesTechnical University of Cartagena, Spain

Applied Computing Group

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 20121

Index Our goal Our proposal Transformation Pattern Transformation Schema Transformation Rules Rule Selection Rule Transformation Conclusions Future work

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

2

Our goal

The main objective of our proposal is to achieve the adaptation of user interfaces at runtime.

Architectural Model 1

ChatChatGUI

VideoAudioGUI

Architectural Model 2

AudioVideoAdaptationProcess User interfaces are described by means of architectural models that contain the specification of user interfaces components These architectural models, which represent the user interfaces, can vary at runtime due to changes in the context(user interaction, a temporal event, etc)

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

3

Index Context Our goal Our proposal Transformation Pattern Transformation Schema Transformation Rules Rule Selection Rule Transformation Conclusions Future work

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

4

Adaptation of architectural models @Runtime Using M2M transformations Transformations are also adapted at runtime. Model Transformations not prepared a priori M2M is dynamically composed from a rule modelOur proposal

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

5

Model the structure and composition of our transformation schema elements. Possibility of changing our adaptation schema Elements: TransformationSchema Metamodel Model Transformations: M2M M2TTransformation Pattern

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

6

1 Rule Selection: is obtained as an instance of the M2M conceptInput: the repository model (RRM) and the initial architectural model (AMi)Output: the selected rules model (RMi)2 Rule Transformation: is obtained as an instance of the M2T conceptInput: the rule model (RMi)Output: a new transformation for architectural models at runtime (ModelTransformationi)3 Model Transformation: is obtained as an instance of the M2M conceptInput: the initial architectural model (AMi)Output: a new architectural model at runtime (AMi+1)Transformation Schema: An instance of Transformation Pattern

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

7

Metamodel for transformation rules

Rule Repository Model (RRM)Selected rules model (RMi)

The transformation behaviour is defined in the rules:Transformation Rules

rule_name: Unique. Identifies the rule. purpose: Indicates the purpose of the rule. is_priority: Boolean. It its value is true, the rule must be selected. weight: The selection process uses this attribute to select the rules.

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

8

Instance of the M2M concept

The process starts when the system detects that it is necessary an adaptationRule Selection

Input: - Architectural Model (AMi) - Rule Repository Model (RRM)

Output: - Selected rules model (RMi)

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

9

Instance of the M2T conceptThe process starts after RuleSelectionInput: - Selected rules model (RMi) Output: - Architectural model transformation (ModelTransformationi)

Rule Transformation

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

10

A practical application of our proposal

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

11

A practical application of our proposal

RuleSelectionProcess

RuleTransformationProcess

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

12

Index Context Our goal Our proposal Transformation Pattern Transformation Schema Transformation Rules Rule Selection Rule Transformation Conclusions Future work

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

13

Adaptive transformation for Composing Model Transformations at Runtime.

Transformation pattern/template for adaptation schema

Adaptation schema is also changeable and adaptable

High degree of adaptability

All adaptation elements are based on MDE Models (architectures, rule repository, selected rules) M2M (RuleSelection, ModelTransformation) M2T (RuleTransformation)Conclusions

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

14

Index Context Our goal Our proposal Transformation Pattern Transformation Schema Transformation Rules Rule Selection Rule Transformation Conclusions Future work

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

15

RRM(repository)

RMM

RMi

RMi+1

RuleSelection(M2M)

RuleSelection(M2M)

RuleTransformation(M2T)

RuleTransformation(M2T)

ModelTransformationi(M2M)

ModelTransformationi+1(M2M)

AMM

AMi

AMi+1conforms_toconforms_toconforms_toconforms_toconforms_to1: source2: target5: source6: target7: source8: target9: source9: source10: target13: source14: target15: source1: sourcestate istate i+1PHASE II

RepositoryUpdate (M2M)

RepositoryUpdate (M2M)3: source11: source12: target11: source4: target3: sourcePHASE III

targetsourcedecision-making Future Work

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 2012

16

Adaptive Transformation Pattern for Architectural Models

Diego Rodrguez-Gracia, Javier Criado, Luis Iribarne, Nicols PadillaApplied Computing Group University of Almera, Spain

Cristina Vicente-ChicoteDepartment of Information Communication TechnologiesTechnical University of Cartagena, Spain

Una Metodologa para la Recuperacin y Explotacin de Informacin Medioambiental (TIN2010-15588)

Desarrollo de un Agente Web Inteligente de Informacin Medioambiental (TIC-6114)

GRUPO DE INFORMTICA APLICADAUNIVERSIDAD DE ALMERA

Composing Model Transformations at Runtime:

NICSOFT 201224-27 de julio de 201217