SlideShare a Scribd company logo
A 3D SIMULATION FRAMEWORK FOR
SAFE AMBIENT-ASSISTED HOME CARE

                           Christophe Soares

                               Co-Authors:
   Carlos Velasquez, Rui Moreira, Ricardo Morla, Pedro Sobral and José Torres



      INESC-Porto                                           ISUS
FEUP, University of Porto                     FCT, University Fernando Pessoa
Introduction
Goals
Research Area
Safe Home Care Architecture
Simulation Structure
Feature Interaction Workflow
Conclusion
INTRODUCTION


•Statistics show aging trend in the world population

•Growing need for automated health care support
 for the sick and elderly at home
INTRODUCTION


•Reduce overall cost of the health care systems

•Promote more comfort and safety at home

•Ambient Assisted Living emphasis (cf. MATCH, eCAALYX)
VIDEO
GOALS

•Support safe deployment and reconfiguration of
 home health care smart spaces

•Automatically adapt system interface for elderly
 people

•Provide non-intr usive patients remote
 monitoring and assistance
RESEARCH AREA

Smart spaces:

•sensors,
•actuators,
•computation devices,
•and communication-rich appliances.
RESEARCH AREA


‣ New appliance can interfere with the appliances that
  already exist in that space

‣ For home health care is critical to prevent interference
  occurrence
RESEARCH AREA



Feature Interaction - Interference
   •Independently deployed OTS systems may interact
    unexpectedly resulting misbehaviors or malfunctions
RESEARCH AREA



Reflection - Distributed Systems
   •An architectural pattern to organizes software systems
    into base-level and meta-level
RESEARCH AREA

Support simulation to generate synthetic data:

   •identify a priori interference,

   •pre-deployment feature interaction detection,

   •handling of interferences in Real Time between
    different appliances (cf. system’s malfunctions).
SAFE HOME CARE
             ARCHITECTURE
Reflective Middleware                      Meta Level
                Simulation Framework

             Feature Interaction Engine




                                          Base Level




              Sensors / Actuators


             OTS Applications API


                 SHC System GUI
SIMULATION
‣ Full Simulation

  ‣ Systems act autonomously based on their
    behavior (deterministic reactions)


‣ Semi Simulation

  ‣ A human may control the avatar to generate ad
    hoc interactions (stochastic reactions)
SIMULATION STRUCTURE
SAFE HOME CARE
             ARCHITECTURE
Reflective Middleware                      Meta Level
                Simulation Framework

             Feature Interaction Engine




                                          Base Level




              Sensors / Actuators


             OTS Applications API


                 SHC System GUI
FEATURE INTERACTION
    WORKFLOW
  SHC 3D           read existing
Meta-model          states from
Simulation           database
 Scenario                           create the GoOS
 Outcomes                          graph using Table
             Classification
                                          Case
               Matching
              Table Case                            prune the GoOS
                                                      using GoES
                               Pruning                sequences
                                   GoES


                                              Reasoning



                                      No Feature          Feature
                                      interaction       interaction
SIMULATION




OpenSim used as simulation framework:
 • generate off-the-shelf (OTS) state interactions in
    the smart-space.
 • data used to test collected feature interactions
    between OTS systems.
CLASSIFICATION
                                     Outcome 1                    Outcome 2


                                      alarm          ringing       alarm          ringing

Graph Representations are well        ringing                      ringing
                                                     take_ pill                   take_ pill
understood and provide a
flexible representation for           needs_ pill     notify       needs_ pill     notify


state sequence transitions.           call _ in       alarm        call _ in       alarm


                                      ringing        buzzer        ringing        buzzer
During system runtime or
                                     receives_call     call       receives_call     call
simulation a graph is built by
capturing the actual state history      call         medicated       call


of all elements: Graph of             take_call                    take_call

Observed States (GoOS).
PRUNING

Knowledge:

- expected behavior of each application is captured
into a state transition graph

- assemble a unique graph with common start and
finish nodes: Graph of Expected States (GoES)
PRUNING
                                   start



       Drug                                Phone                         Person
 Knowledge:
     Dispenser
                                               call _ in
       alarm                                                    needs _ pill receives _ call

 - expecteddrug low _battery upside_ down
           low _
                 behavior of each application is captured
                                          ringing

    buzzer
 into a state transition graph
                                            call    call _ in
take _ pill take _ pill
                          notify
 - assemble a unique graph ringing common start and
                             with
                                          medicated take_ call
 finish nodes: Graph of Expected States (GoES)
        alarm
               buzzer              call


                                   finish
REASONING
                                       Outcome 1                      Outcome 2


                                         alarm           ringing       alarm                ringing


Outcome 1:                       ringing                 take_ pill    ringing              take_ pill

• empty set,                     needs_ pill
                                              Result 1
                                                          notify
                                                                      Result 2
                                                                       needs_ pill           notify

• all systems react as expected,                                              needs_ pill


• no feature interaction exists.
                                 call _ in                alarm        call _ in             alarm


                                        ringing          buzzer        ringing              buzzer


                                        receives_call      call       receives_call           call

Outcome 2:
                                   call                  medicated       call

• not empty,                     take_call                             take_call
• “need_pill” has not been pruned,
  identify a misbehavior
REASONING

Outcome 1:
• empty set,                         Result 1   Result 2



• all systems react as expected,                     needs_ pill


• no feature interaction exists.


Outcome 2:
• not empty,
• “need_pill” has not been pruned,
  identify a misbehavior
CONCLUSIONS




We applied this approach through different simulated scenarios
with several OTS systems involved.
CONCLUSIONS

This evaluation allowed us to:

•define and explore the state-graph representations to perceive
  feature interaction
•evaluate the pertinence and accuracy of applied techniques on
  different home care use cases
•explore the representation and simulation models through 3D
  virtual worlds
CONCLUSIONS



We are currently working on extending our approach to
support inter-system Feature Interaction detection and
resolution.
QUESTIONS ?

CSOARES@UFP.EDU.PT

More Related Content

Similar to UBICOMM 2011 CONFERENCE

Esterel as A Realtime System Programming Language
Esterel as A Realtime System Programming Language Esterel as A Realtime System Programming Language
Esterel as A Realtime System Programming Language
nazlitemu
 
Mixer Ingredient Feed
Mixer Ingredient FeedMixer Ingredient Feed
Mixer Ingredient Feed
msindex
 
Profit Maximization over Social Networks
Profit Maximization over Social NetworksProfit Maximization over Social Networks
Profit Maximization over Social Networks
Wei Lu
 
Face recognition using artificial neural network
Face recognition using artificial neural networkFace recognition using artificial neural network
Face recognition using artificial neural networkSumeet Kakani
 
Fuzzy logic systems
Fuzzy logic systemsFuzzy logic systems
Fuzzy logic systemsPham Tung
 
Self healing-systems
Self healing-systemsSelf healing-systems
Self healing-systemsSKORDEMIR
 
Acceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga systemAcceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga systemSheela Arokia Mary
 
Acceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga systemAcceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga systemSheela ArokiaMary
 
Hand gesture recognition using ultrasonic sensor and atmega128 microcontroller
Hand gesture recognition using ultrasonic sensor and atmega128 microcontrollerHand gesture recognition using ultrasonic sensor and atmega128 microcontroller
Hand gesture recognition using ultrasonic sensor and atmega128 microcontroller
eSAT Publishing House
 
SenSec: Mobile Application Security through Passive Sensing
SenSec: Mobile Application Security through Passive SensingSenSec: Mobile Application Security through Passive Sensing
SenSec: Mobile Application Security through Passive SensingJiang Zhu
 
IRJET- Sugarcane Leaf Disease Detection
IRJET- Sugarcane Leaf Disease DetectionIRJET- Sugarcane Leaf Disease Detection
IRJET- Sugarcane Leaf Disease Detection
IRJET Journal
 
08.10.12 Artificial Intelligence and Cognition - Natural Cognition
08.10.12 Artificial Intelligence and Cognition - Natural Cognition08.10.12 Artificial Intelligence and Cognition - Natural Cognition
08.10.12 Artificial Intelligence and Cognition - Natural CognitionLESIS More UoB
 
Automatic Assessment of Failure Recovery in Erlang Applications
Automatic Assessment of Failure Recovery in Erlang ApplicationsAutomatic Assessment of Failure Recovery in Erlang Applications
Automatic Assessment of Failure Recovery in Erlang Applications
Jan Henry Nystrom
 

Similar to UBICOMM 2011 CONFERENCE (15)

www.ijerd.com
www.ijerd.comwww.ijerd.com
www.ijerd.com
 
Esterel as A Realtime System Programming Language
Esterel as A Realtime System Programming Language Esterel as A Realtime System Programming Language
Esterel as A Realtime System Programming Language
 
Mixer Ingredient Feed
Mixer Ingredient FeedMixer Ingredient Feed
Mixer Ingredient Feed
 
Profit Maximization over Social Networks
Profit Maximization over Social NetworksProfit Maximization over Social Networks
Profit Maximization over Social Networks
 
Pro max icdm2012-slides
Pro max icdm2012-slidesPro max icdm2012-slides
Pro max icdm2012-slides
 
Face recognition using artificial neural network
Face recognition using artificial neural networkFace recognition using artificial neural network
Face recognition using artificial neural network
 
Fuzzy logic systems
Fuzzy logic systemsFuzzy logic systems
Fuzzy logic systems
 
Self healing-systems
Self healing-systemsSelf healing-systems
Self healing-systems
 
Acceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga systemAcceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga system
 
Acceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga systemAcceleration of stochastic algorithm on fpga system
Acceleration of stochastic algorithm on fpga system
 
Hand gesture recognition using ultrasonic sensor and atmega128 microcontroller
Hand gesture recognition using ultrasonic sensor and atmega128 microcontrollerHand gesture recognition using ultrasonic sensor and atmega128 microcontroller
Hand gesture recognition using ultrasonic sensor and atmega128 microcontroller
 
SenSec: Mobile Application Security through Passive Sensing
SenSec: Mobile Application Security through Passive SensingSenSec: Mobile Application Security through Passive Sensing
SenSec: Mobile Application Security through Passive Sensing
 
IRJET- Sugarcane Leaf Disease Detection
IRJET- Sugarcane Leaf Disease DetectionIRJET- Sugarcane Leaf Disease Detection
IRJET- Sugarcane Leaf Disease Detection
 
08.10.12 Artificial Intelligence and Cognition - Natural Cognition
08.10.12 Artificial Intelligence and Cognition - Natural Cognition08.10.12 Artificial Intelligence and Cognition - Natural Cognition
08.10.12 Artificial Intelligence and Cognition - Natural Cognition
 
Automatic Assessment of Failure Recovery in Erlang Applications
Automatic Assessment of Failure Recovery in Erlang ApplicationsAutomatic Assessment of Failure Recovery in Erlang Applications
Automatic Assessment of Failure Recovery in Erlang Applications
 

Recently uploaded

Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 

Recently uploaded (20)

Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 

UBICOMM 2011 CONFERENCE

  • 1. A 3D SIMULATION FRAMEWORK FOR SAFE AMBIENT-ASSISTED HOME CARE Christophe Soares Co-Authors: Carlos Velasquez, Rui Moreira, Ricardo Morla, Pedro Sobral and José Torres INESC-Porto ISUS FEUP, University of Porto FCT, University Fernando Pessoa
  • 2. Introduction Goals Research Area Safe Home Care Architecture Simulation Structure Feature Interaction Workflow Conclusion
  • 3. INTRODUCTION •Statistics show aging trend in the world population •Growing need for automated health care support for the sick and elderly at home
  • 4. INTRODUCTION •Reduce overall cost of the health care systems •Promote more comfort and safety at home •Ambient Assisted Living emphasis (cf. MATCH, eCAALYX)
  • 6.
  • 7.
  • 8. GOALS •Support safe deployment and reconfiguration of home health care smart spaces •Automatically adapt system interface for elderly people •Provide non-intr usive patients remote monitoring and assistance
  • 9. RESEARCH AREA Smart spaces: •sensors, •actuators, •computation devices, •and communication-rich appliances.
  • 10. RESEARCH AREA ‣ New appliance can interfere with the appliances that already exist in that space ‣ For home health care is critical to prevent interference occurrence
  • 11. RESEARCH AREA Feature Interaction - Interference •Independently deployed OTS systems may interact unexpectedly resulting misbehaviors or malfunctions
  • 12. RESEARCH AREA Reflection - Distributed Systems •An architectural pattern to organizes software systems into base-level and meta-level
  • 13. RESEARCH AREA Support simulation to generate synthetic data: •identify a priori interference, •pre-deployment feature interaction detection, •handling of interferences in Real Time between different appliances (cf. system’s malfunctions).
  • 14. SAFE HOME CARE ARCHITECTURE Reflective Middleware Meta Level Simulation Framework Feature Interaction Engine Base Level Sensors / Actuators OTS Applications API SHC System GUI
  • 15. SIMULATION ‣ Full Simulation ‣ Systems act autonomously based on their behavior (deterministic reactions) ‣ Semi Simulation ‣ A human may control the avatar to generate ad hoc interactions (stochastic reactions)
  • 17. SAFE HOME CARE ARCHITECTURE Reflective Middleware Meta Level Simulation Framework Feature Interaction Engine Base Level Sensors / Actuators OTS Applications API SHC System GUI
  • 18. FEATURE INTERACTION WORKFLOW SHC 3D read existing Meta-model states from Simulation database Scenario create the GoOS Outcomes graph using Table Classification Case Matching Table Case prune the GoOS using GoES Pruning sequences GoES Reasoning No Feature Feature interaction interaction
  • 19. SIMULATION OpenSim used as simulation framework: • generate off-the-shelf (OTS) state interactions in the smart-space. • data used to test collected feature interactions between OTS systems.
  • 20. CLASSIFICATION Outcome 1 Outcome 2 alarm ringing alarm ringing Graph Representations are well ringing ringing take_ pill take_ pill understood and provide a flexible representation for needs_ pill notify needs_ pill notify state sequence transitions. call _ in alarm call _ in alarm ringing buzzer ringing buzzer During system runtime or receives_call call receives_call call simulation a graph is built by capturing the actual state history call medicated call of all elements: Graph of take_call take_call Observed States (GoOS).
  • 21. PRUNING Knowledge: - expected behavior of each application is captured into a state transition graph - assemble a unique graph with common start and finish nodes: Graph of Expected States (GoES)
  • 22. PRUNING start Drug Phone Person Knowledge: Dispenser call _ in alarm needs _ pill receives _ call - expecteddrug low _battery upside_ down low _ behavior of each application is captured ringing buzzer into a state transition graph call call _ in take _ pill take _ pill notify - assemble a unique graph ringing common start and with medicated take_ call finish nodes: Graph of Expected States (GoES) alarm buzzer call finish
  • 23. REASONING Outcome 1 Outcome 2 alarm ringing alarm ringing Outcome 1: ringing take_ pill ringing take_ pill • empty set, needs_ pill Result 1 notify Result 2 needs_ pill notify • all systems react as expected, needs_ pill • no feature interaction exists. call _ in alarm call _ in alarm ringing buzzer ringing buzzer receives_call call receives_call call Outcome 2: call medicated call • not empty, take_call take_call • “need_pill” has not been pruned, identify a misbehavior
  • 24. REASONING Outcome 1: • empty set, Result 1 Result 2 • all systems react as expected, needs_ pill • no feature interaction exists. Outcome 2: • not empty, • “need_pill” has not been pruned, identify a misbehavior
  • 25. CONCLUSIONS We applied this approach through different simulated scenarios with several OTS systems involved.
  • 26. CONCLUSIONS This evaluation allowed us to: •define and explore the state-graph representations to perceive feature interaction •evaluate the pertinence and accuracy of applied techniques on different home care use cases •explore the representation and simulation models through 3D virtual worlds
  • 27. CONCLUSIONS We are currently working on extending our approach to support inter-system Feature Interaction detection and resolution.