A Multi-layered Context ModellingApproach for End Users, Expert Users and Programmers
Sandra Trullemans and Beat Signer
05/06/2016
IF situation THEN action
Smart Homes
Digital Homes
IF THENI Sleep
IF THENMessage in meeting
Situation
Situation
Where We Can do Better
• Sensor-level knowledge required
• Hard for complex situations
Rules in Practise
End User
Programmer
Multi-layered Modelling Approach
End User Expert User Programmer
Collaboration
+
Reusing Situations Templates
Reuse of Situations
IF THEN
I Sleep
IF THEN
I SleepSituation
Situation
Situation Rules
IF THEN
I Sleep
IF THEN
Situation
Situation
I Sleep
Collaboration
+
Reusing Situations Templates
Templates
IF THENSomeone is Sleeping
A Time A Bed A Room A State
Situation
Filling In a Template
IF THEN
Someone is Sleeping
A Time A Bed A Room A State20:00 Her Bed Her Bedroom ON
Multi-Layered Context Modelling
Facts Actions
Situations
Rules
Tool Rule
Templates
Functions
Filled in Template
Situations
End User
Expert User
Programmer
Creation of a Template
Adding IF Statements
To Fill In by End User
Situations on the IF side
New Situation on THEN side
Filling In a Template
Selecting the Bed
Entering the Hour
Labelling the New Situation
Reuse the Template
Making Context Rules
Adding an Action
Lessons Learned
• Level of abstraction is too high
• Importance of intelligibility
Takeaway Message
Reusing Situations
Templates
End User
Expert User
Programmer
Open Questions
• Level of abstraction and intelligibility
• Managing situations
• Guiding end users
References
• S. Trullemans and B. Signer, A Multi-layered Context Modelling Approach for End Users, Expert Users and Programmers, Proceedings of the International Workshop on Smart Ecosystems cReation by Visual dEsign (SERVE 2016), Bari, Italy, June 2016