UI Models at Runtime · 2010-05-17 · • Staikopoulos et al., Mutual dynamic adaptation of models...

17
13. Mai 2010 Grzegorz Lehmann I [email protected] UI Models at Runtime Grzegorz Lehmann DAI-Labor Fakultät IV – Elektrotechnik und Informatik Technische Universität Berlin

Transcript of UI Models at Runtime · 2010-05-17 · • Staikopoulos et al., Mutual dynamic adaptation of models...

13. Mai 2010 Grzegorz Lehmann I [email protected]

UI Models at RuntimeGrzegorz Lehmann

DAI-LaborFakultät IV – Elektrotechnik und InformatikTechnische Universität Berlin

13. Mai 2010 DAI-Labor, TU-Berlin 2

DAI-Labor Details

• DAI = Distributed Artificial Intelligence Laboratory• Head: Prof. Dr. Sahin Albayrak• ~100 researchers (postdocs, ph.d. & student assistants)• Bridging industry and research

• 6 Competence Centers (CC) Agent Core Technologies, Security, Information Retrieval and Machine Learning, Networks and Mobility, Cognitive Architectures, Next Generation Services (NGS)

• NGS works with• Ambient Assisted Living• Smart Environments / Smart Homes• User Centric Systems• Engineering of Interactive Systems

• See www.dai-labor.de for running projects, labs and testbeds

13. Mai 2010 DAI-Labor, TU-Berlin 3

User Interfaces for Smart Environments

13. Mai 2010 DAI-Labor, TU-Berlin 4

User Interfaces for Smart Environments

• High heterogeneity and dynamics:– Interaction devices are unknown at design time– Users are unknown– Environment is unknown

• Requirements:– Personalization – Adaptation– End-User Development

13. Mai 2010 DAI-Labor, TU-Berlin 5

UI Modeling at Design Time

RuntimeDesign Time

Model 2

Model 1

Model 3

User

Designer

Transformation

13. Mai 2010 DAI-Labor, TU-Berlin 6

Design Rationale is Missing at Runtime

RuntimeDesign Time

Model 2

Model 1

Model 3

User

Designer

Code001011010010100100100100111001001010010010010101

User

??

Adaptation

End-User Development

Personalization

?

13. Mai 2010 DAI-Labor, TU-Berlin 7

Runtime UI Models

Runtime

Model 1

Model 3

User

Designer

User

Model 2

13. Mai 2010 DAI-Labor, TU-Berlin 8

User Interfaces for Smart Environments

Demonstrationhttp://www.youtube.com/watch?v=HLHKTYniVDU

13. Mai 2010

Mediating between human and computer

?10011010101111100100

“turn the light on”

13. Mai 2010

Network of UI Models at Runtime

13. Mai 2010

Abstraction of User Input andReification of System Responses

13. Mai 2010 DAI-Labor, TU-Berlin 12

Roles of run-time UI models

1. Make the design rationale available at runtime2. Provide an abstract view on the UI and its state at

runtime3. Provide means of influencing the UI at runtime

1Runtime UI Model

System

UI3

2

13. Mai 2010 DAI-Labor, TU-Berlin 13

Some open issues

• How can we distinct runtime and design time information in runtime UI models?

• How can the runtime information flow into the models so they are up-to-date at runtime?

• What does a UI language contain if a ubiquitous UI has no fixed size, no fixed interaction device, no fixed user and is not executed in a fixed context?

• What parts of models can be adapted automatically at runtime?

• How can we evaluate the usability of the adapted applications?

13. Mai 2010 DAI-Labor, TU-Berlin 14

The End …

Your questions please …

[email protected]://masp.dai-labor.de

ACM SIGCHI Symposium on Engineering Interactive Computing Systems

June 21-23, 2010 http://eics-conference.org

13. Mai 2010 DAI-Labor, TU-Berlin 15

Model to System Connection at Runtime

• Common in large, (self-) adaptive systems• Staikopoulos et al., Mutual dynamic adaptation of models and service

enactment in alive*, 2008:– Adaptations performed on the running system via transformations of

the system model• Kuhn and Verwaest, Fame, a polyglot library for meta-modeling at

runtime, 2008– FAME (Polyglot Library)– Adaptation of software at runtime through modifications of models

and meta-models

Runtime ModelSystem

001011010010100100100100111001001010010010010101

13. Mai 2010 DAI-Labor, TU-Berlin 16

System to Model Connection at Runtime

• Many approaches based on state charts and stateful model elements• Monitoring state machines enables debugging and tracing of

occurrences in the system on model level• Maoz, Model-Based Traces, 2008

– Model is updated at runtime via traces• Graf and Müller-Glaser, Gaining insight into executable models during

runtime: Architecture and mappings, 2007– Driver Layer between the model and the system with a set of operations– Inspecting and debugging model-based embedded systems at runtime

Runtime ModelSystem

001011010010100100100100111001001010010010010101

13. Mai 2010 DAI-Labor, TU-Berlin 17

Model-System Cycle at Runtime

• Cycle between the model and the system– Models reflect the state of the system– The system reacts to changes in the model

• Blair et al., [email protected], 2009:– [email protected] is a causally connected self-

representation of the associated system

Runtime ModelSystem

001011010010100100100100111001001010010010010101