Rule Builder at ISAmI 2011
-
Upload
luigi-de-russis -
Category
Technology
-
view
611 -
download
0
Transcript of Rule Builder at ISAmI 2011
![Page 1: Rule Builder at ISAmI 2011](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/8.jpg)
PAPER PROTOTYPE
A User-Friendly Interface for RulesComposition in Intelligent Environment 7
![Page 9: Rule Builder at ISAmI 2011](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/19.jpg)
THE GRAMMAR BEHIND
A User-Friendly Interface for RulesComposition in Intelligent Environment 9
![Page 20: Rule Builder at ISAmI 2011](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/23.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/24.jpg)
WORK IN PROGRESS...
A User-Friendly Interface for RulesComposition in Intelligent Environment 10
![Page 25: Rule Builder at ISAmI 2011](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.net/reader033/viewer/2022051111/5559e52ed8b42a39498b4ddb/html5/thumbnails/26.jpg)
THANK YOU
A User-Friendly Interface for RulesComposition in Intelligent Environment 12
Luigi De Russis