rule builder at isami 2011

26
A USER-FRIENDLY INTERFACE FOR RULES COMPOSITION IN INTELLIGENT ENVIRONMENT Dario Bonino, Fulvio Corno, Luigi De Russis Politecnico di Torino, e-Lite Research Group http://elite.polito.it

Upload: luigi-de-russis

Post on 18-May-2015

609 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Rule Builder at ISAmI 2011

A USER-FRIENDLY INTERFACE FOR RULES COMPOSITION IN

INTELLIGENT ENVIRONMENTDario Bonino, Fulvio Corno, Luigi De RussisPolitecnico di Torino, e-Lite Research Group

http://elite.polito.it

Page 2: Rule Builder at ISAmI 2011

OUTLINE

•Motivations and goal

• Requirements

• Interface design

• Conclusions

A User-Friendly Interface for RulesComposition in Intelligent Environment 2

Page 3: Rule Builder at ISAmI 2011

MOTIVATIONS

A User-Friendly Interface for RulesComposition in Intelligent Environment 3

•Need to find a suitable trade-off between:

• totally direct user control of the home

• fully automatic home behavior

• Feasible solution: rule-based activity delegation

• lack of effective rules definition interfaces

Page 4: Rule Builder at ISAmI 2011

OUR GOAL

A User-Friendly Interface for RulesComposition in Intelligent Environment 4

Define a rule definition interfacespecifically aimed at non-skilled home inhabitants

Page 5: Rule Builder at ISAmI 2011

FUNCTIONAL REQUIREMENTS

A User-Friendly Interface for RulesComposition in Intelligent Environment 5

• Rules:

• definable by people with basic level of computer literacy

• self-explaining

• always valid

• expressive enough to manage almost home situations

Page 6: Rule Builder at ISAmI 2011

NOT FUNCTIONAL REQUIREMENTS

A User-Friendly Interface for RulesComposition in Intelligent Environment 6

• Facilitate rule creation by means of:

• suggestions

• auto-filling functionalities

• auto-saving functionalities

• Home devices shall be exposed in an abstract and technology independent way

Page 7: Rule Builder at ISAmI 2011

HOW TO?

A User-Friendly Interface for RulesComposition in Intelligent Environment 6

• Rich-web interface

• Formal rule representation grammar

• Constrained editing

• rules are always valid

• Rule objects and grammar easy to render as nearly natural language

Page 8: Rule Builder at ISAmI 2011

PAPER PROTOTYPE

A User-Friendly Interface for RulesComposition in Intelligent Environment 7

Page 9: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (1/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam wants to create the rule: If the living room is dark, turn on the lamp.

• By opening the Rule Builder he sees:

- LAYOUT -

Page 10: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (1/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam wants to create the rule: If the living room is dark, turn on the lamp.

• By opening the Rule Builder he sees:

- LAYOUT -

what he needs to createthe rule

Page 11: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (1/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam wants to create the rule: If the living room is dark, turn on the lamp.

• By opening the Rule Builder he sees:

- LAYOUT -

a wide area to beused for the rule

definition

what he needs to createthe rule

Page 12: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (2/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam decides to drag the “light intensity sensor” under the “IF”:

- DRAG AND AUTO-DOCKING -

Page 13: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (2/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam decides to drag the “light intensity sensor” under the “IF”:

- DRAG AND AUTO-DOCKING -

the sensor docksand shows a list to specify

what event has to intercept

Page 14: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (3/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

•When Sam starts to drag the lamp, two new (optional) “blocks” appear:

- GRAMMAR BASED SUGGESTIONS -

Page 15: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (3/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

•When Sam starts to drag the lamp, two new (optional) “blocks” appear:

- GRAMMAR BASED SUGGESTIONS -

Page 16: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (3/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

•When Sam starts to drag the lamp, two new (optional) “blocks” appear:

- GRAMMAR BASED SUGGESTIONS -

Page 17: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (4/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam concludes the rule by dragging the lamp and selecting the proper action:

- NEARLY NATURAL LANGUAGE -

Page 18: Rule Builder at ISAmI 2011

INTERFACE CONCEPT (4/4)

A User-Friendly Interface for RulesComposition in Intelligent Environment 8

• Sam concludes the rule by dragging the lamp and selecting the proper action:

- NEARLY NATURAL LANGUAGE -

the rule is complete anda sentence summarizes it

Page 19: Rule Builder at ISAmI 2011

THE GRAMMAR BEHIND

A User-Friendly Interface for RulesComposition in Intelligent Environment 9

Page 20: Rule Builder at ISAmI 2011

THE GRAMMAR BEHIND

A User-Friendly Interface for RulesComposition in Intelligent Environment 9

• mandatory• event to trigger

the rule(E-BLOCK)

• controllable devices, clock and sensors

• optional• conditions

constraining the event(C-BLOCKs)

• controllable devices, clock and sensors

• mandatory• set of actions

to be executed(A-BLOCKs)

• controllable devices

Page 21: Rule Builder at ISAmI 2011

THE GRAMMAR BEHIND

A User-Friendly Interface for RulesComposition in Intelligent Environment 9

• mandatory• event to trigger

the rule(E-BLOCK)

• controllable devices, clock and sensors

• optional• conditions

constraining the event(C-BLOCKs)

• controllable devices, clock and sensors

• mandatory• set of actions

to be executed(A-BLOCKs)

• controllable devices

Page 22: Rule Builder at ISAmI 2011

THE GRAMMAR BEHIND

A User-Friendly Interface for RulesComposition in Intelligent Environment 9

• mandatory• event to trigger

the rule(E-BLOCK)

• controllable devices, clock and sensors

• optional• conditions

constraining the event(C-BLOCKs)

• controllable devices, clock and sensors

• mandatory• set of actions

to be executed(A-BLOCKs)

• controllable devices

disjunction for repeatingIF-WHEN more than once

Page 23: Rule Builder at ISAmI 2011

THE GRAMMAR BEHIND

A User-Friendly Interface for RulesComposition in Intelligent Environment 9

• mandatory• event to trigger

the rule(E-BLOCK)

• controllable devices, clock and sensors

• optional• conditions

constraining the event(C-BLOCKs)

• controllable devices, clock and sensors

• mandatory• set of actions

to be executed(A-BLOCKs)

• controllable devices

disjunction for repeatingIF-WHEN more than once

Page 24: Rule Builder at ISAmI 2011

WORK IN PROGRESS...

A User-Friendly Interface for RulesComposition in Intelligent Environment 10

Page 25: Rule Builder at ISAmI 2011

CONCLUSIONS

A User-Friendly Interface for RulesComposition in Intelligent Environment 11

• Rule Builder

• conceptual and first “working” design

• rich-web interface

• for home inhabitants with little or no technological skills

• based on a formal grammar

Page 26: Rule Builder at ISAmI 2011

THANK YOU

A User-Friendly Interface for RulesComposition in Intelligent Environment 12

Luigi De Russis

[email protected]