SlideShare a Scribd company logo
1 of 40
Download to read offline
Engineering Ambient
Intelligence Systems
using Agent Technologyusing Agent Technology
Nikos Spanoudakis
Technical University of Crete
Presentation Contents
 Application Domain and Challenges
 The ASEME Methodology
 System Architecture System Architecture
 Results
 Conclusion
Project goals
 HERA (Home sERvices for specialised elderly
Assisted living) aims to provide cost-effective
specialized assisted living services for the
elderly people suffering fromelderly people suffering from
 Mild Cognitive Impairment (MCI)
 mild/moderate Alzheimer Disease (AD)
 other diseases (diabetes, cardiovascular)
to improve the quality of their home life, extend its
duration
Application Domain
 Ambient Assisted Living (AAL)
 combination of tele-homecare and smart homes
 in the field of Ambient Intelligence (AmI)
Challenges
 Engineering an AAL system is a non-trivial task
(Nehmer et al., 2006)
 Several issues are open for this type of
applications (Kleinberger et al., 2007; Koch,applications (Kleinberger et al., 2007; Koch,
2006):
 Adaptability
 Natural and anticipatory Human-Computer Interaction
 Heterogeneity
 Lack of an evaluation framework considering legal,
ethical, economical, usability and technical aspects
Contribution
 An Agent Oriented Software
Engineering (AOSE) methodology for
developing AmI systems
An architecture for the problem domain An architecture for the problem domain
 An architecture for integrating agents to
the general service oriented software
architecture
Why agents?
 Agents are
proactive (have goals and pursue them)
reactive (respond to events in environment)
social (acquainted with other similar software
and can cooperate-compete with it)
autonomous (do not need human intervention
to act)
intelligent (may perform tasks that when
performed by humans we consider that are
the evidence of a certain intelligence)
THE ASEME METHODOLOGY
A methodology for guiding project development
AOSE Considerations
 What, how many agents?
 How to structure of agent?
 Model of the environment?
 Communication? Communication?
 Relationships?
 Coordination?
 Protocols?
(Hexmoor and Brainov, 2002)
ASEME
the phases and abstraction layers
Agent Level Capability Level
Development
Phase Society Level
Levels of Abstraction
Goals RequirementsActors
Requirements
Analysis
Capabilities
Agent Control ComponentsSociety Control
Roles and Protocols
Design
Analysis
Agent code
Capabilities
code
Platform
management code
Implementation
Analysis
Functionality
Requirements Analysis
 Identify the stakeholders
Seniors@home
Hospitals, health centers
Telecom operators, internet service providers
(ISPs), portals
The Systems Actors Goals
model (SAG) - initial
SAG refined
Analysis Phase
 The first model is the System Use Cases
 Goals are transformed to high level tasks
and are decomposed to simple tasks
 Let’s see for example the goal assign pills
Analysis Phase
 Transform SAG goal to use case (SUC)
Analysis Phase
 Refine the SUC diagram
The Agent Interaction Protocols
model
 For each use case connecting two roles
we create an interaction protocol
 We use Gaia formulas to define liveness
of each role within the protocolof each role within the protocol
Operator Interpretation
x . y x followed by y
x | y x or y occurs
x* x occurs 0 or more times
x+ x occurs 1 or more times
x ~ x occurs infinitely often
[x] x is optional
x || y x and y interleaved
The AIP model
Role
Rules for
engaging
Results
Liveness
The system roles model (SRM)
 Shows each role’s liveness
 Including all used protocols
 Associating including use case to Associating including use case to
capabilities
 Included use cases to activities
 Associating activities to functionalities
Example – Assign pills
Example – Assign pills
Assign pills: Produced SRM
Role: PersonalAssistant
Capabilities and Protocols:
AssignPills_PersonalAssistant, …
Activities:
ReceiveNewPillPrescriptionRequest, UpdateUserScheduleReceiveNewPillPrescriptionRequest, UpdateUserSchedule
Liveness:
PersonalAssistant = AssignPills_PersonalAssistant OP? …
AssignPills_PersonalAssistant = ReceiveNewPillPrescriptionRequest.
UpdateUserSchedule
… This formula was copied from
the AIP model
Assign pills: Refined SRM
Role: PersonalAssistant
Capabilities and Protocols:
AssignPills_PersonalAssistant, UpdateUserSchedule, …
Activities:
ReceiveNewPillPrescriptionRequest, ResolveConflicts,ReceiveNewPillPrescriptionRequest, ResolveConflicts,
UpdateUserScheduleStructure, …
Liveness:
PersonalAssistant = AssignPills_PersonalAssistant~ || …
AssignPills_PersonalAssistant = ReceiveNewPillPrescriptionRequest.
UpdateUserSchedule
UpdateUserSchedule = ResolveConflicts. UpdateUserScheduleStructure
…
A graphical view of SRM
 The functionality graph
Interfaces with
external systems
Functionality sending a
standard FIPA ACL message
Design phase
 In the design phase liveness formulas are
transformed to statecharts
 Then,
The variables (in/out params) of each state
activity are defined
the transition expressions are defined
Transformation templates
 Are applied recursively in formulas
The Inter- and Intra-Agent Control
 The inter-agent control (EAC) is a statechart defining the
parallel behaviour of two or more roles
 The intra-agent control (IAC) coordinates the interactions
between the agent’s capabilities (or modules)
 Every role in an EAC can be merged in the IAC model
as-is and it can be refined:
 By turning a state to a superstate with substates
 IAC allows the parallel execution of multiple protocols
The EAC model for AssignPills
And the Personal Assistant
Automatic Code Generation
 Automatically generating all control code.
The developer just needs to invoke
functions at appropriate parts
Automatic Code Generation
 Automatically generating all control code.
The developer just needs to invoke
functions at appropriate parts
The ASEME Dashboard
AmI Architecture
Environment
Interfaces
(standards)
People
Computing
Subsystems
Sensors
Integrated System Architecture
MAS Architecture
Agents Architecture
HERA trials
 Two development iterations
 We focused in two categories of users:
 the end-users (who use the HERA services)
 A total of 30 end-users (10 healthy elderly, 8 suffering from A total of 30 end-users (10 healthy elderly, 8 suffering from
MCI, 8 suffering from mild AD, and 4 suffering from moderate
AD) were selected to participate in the project trials phase
 the Medical Personnel (who configure the HERA
services and assess the end users’ progress).
 10 medical experts
Results
 Satisfaction of the users for the two phases
Concluding
 We showed how a practitioner can apply
the ASEME methodology, a model-driven
development methodology, to build an AmI
systemsystem
 We proposed an architecture for such a
successful real world system (HERA)
 The system validation results show that
agent technology aids personal assistance
in ambient intelligence environments
This presentation was about the IEEE Intelligent Systems paper:
Spanoudakis N., Moraitis, P.. Engineering Ambient Intelligence
Systems using Agent Technology. IEEE Intelligent Systems, Vol.
30, Issue 3, May-June 2015, pp. 60-67
Find the paper@ http://dx.doi.org/10.1109/MIS.2015.3
More on ASEME: http://aseme.tuc.gr
THANK YOU!
More on ASEME: http://aseme.tuc.gr
More on HERA: http://w3.mi.parisdescartes.fr/hera
More on Nikos: http://users.isc.tuc.gr/~nispanoudakis

More Related Content

What's hot

From Non-Intelligent to Intelligent Environments: a Computational and Ambient...
From Non-Intelligent to Intelligent Environments: a Computational and Ambient...From Non-Intelligent to Intelligent Environments: a Computational and Ambient...
From Non-Intelligent to Intelligent Environments: a Computational and Ambient...
Ahmad Lotfi
 

What's hot (20)

Ambient intelligence (AmI)
 Ambient intelligence (AmI)  Ambient intelligence (AmI)
Ambient intelligence (AmI)
 
Ambient intelligence
Ambient intelligenceAmbient intelligence
Ambient intelligence
 
Ambient intelligence
Ambient intelligenceAmbient intelligence
Ambient intelligence
 
AMBIENT INTELLIGENCE by Bhagyasri Matta
AMBIENT INTELLIGENCE by Bhagyasri MattaAMBIENT INTELLIGENCE by Bhagyasri Matta
AMBIENT INTELLIGENCE by Bhagyasri Matta
 
Ambient intelligence
Ambient intelligenceAmbient intelligence
Ambient intelligence
 
Ambient Intelligence
Ambient IntelligenceAmbient Intelligence
Ambient Intelligence
 
seminar report on ambient intelligent
seminar report on ambient intelligentseminar report on ambient intelligent
seminar report on ambient intelligent
 
Ambient Intelligence made by Shifali Jindal
Ambient Intelligence made by Shifali JindalAmbient Intelligence made by Shifali Jindal
Ambient Intelligence made by Shifali Jindal
 
From Non-Intelligent to Intelligent Environments: a Computational and Ambient...
From Non-Intelligent to Intelligent Environments: a Computational and Ambient...From Non-Intelligent to Intelligent Environments: a Computational and Ambient...
From Non-Intelligent to Intelligent Environments: a Computational and Ambient...
 
Smart homes
Smart homesSmart homes
Smart homes
 
Definition of Ambient Intelligence
Definition of Ambient IntelligenceDefinition of Ambient Intelligence
Definition of Ambient Intelligence
 
Ambient Intelligence: Theme of the Year 2016
Ambient Intelligence: Theme of the Year 2016Ambient Intelligence: Theme of the Year 2016
Ambient Intelligence: Theme of the Year 2016
 
Living in Smart Environments - 3rd year PhD Report
Living in Smart Environments - 3rd year PhD ReportLiving in Smart Environments - 3rd year PhD Report
Living in Smart Environments - 3rd year PhD Report
 
Wearable electronics
Wearable electronicsWearable electronics
Wearable electronics
 
Wearables & Smart Homes
Wearables & Smart HomesWearables & Smart Homes
Wearables & Smart Homes
 
Seminar on Ambient Intelligence
Seminar on Ambient IntelligenceSeminar on Ambient Intelligence
Seminar on Ambient Intelligence
 
An Augmented Reality Prototype for supporting IoT-based Educational Activitie...
An Augmented Reality Prototype for supporting IoT-based Educational Activitie...An Augmented Reality Prototype for supporting IoT-based Educational Activitie...
An Augmented Reality Prototype for supporting IoT-based Educational Activitie...
 
AmI 2015 - Definition of Ambient Intelligence
AmI 2015 - Definition of Ambient IntelligenceAmI 2015 - Definition of Ambient Intelligence
AmI 2015 - Definition of Ambient Intelligence
 
Introduction to Wearable Technology for Creatives
Introduction to Wearable Technology for CreativesIntroduction to Wearable Technology for Creatives
Introduction to Wearable Technology for Creatives
 
IoT Smart Home Scenarios for New Product Development Exploiting Patents
IoT Smart Home Scenarios for New Product Development Exploiting PatentsIoT Smart Home Scenarios for New Product Development Exploiting Patents
IoT Smart Home Scenarios for New Product Development Exploiting Patents
 

Similar to Engineering Ambient Intelligence Systems using Agent Technology

International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)
CSCJournals
 
Software requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reSoftware requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing re
AlleneMcclendon878
 
Ui Design And Usability For Everybody
Ui Design And Usability For EverybodyUi Design And Usability For Everybody
Ui Design And Usability For Everybody
Empatika
 
International Journal of Computer Science and Security Volume (1) Issue (2)
International Journal of Computer Science and Security Volume (1) Issue (2)International Journal of Computer Science and Security Volume (1) Issue (2)
International Journal of Computer Science and Security Volume (1) Issue (2)
CSCJournals
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
Rachel Davis
 

Similar to Engineering Ambient Intelligence Systems using Agent Technology (20)

DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMSDEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
DEVELOPMENT OF A MULTIAGENT BASED METHODOLOGY FOR COMPLEX SYSTEMS
 
Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...
 
Load Distribution Composite Design Pattern for Genetic Algorithm-Based Autono...
Load Distribution Composite Design Pattern for Genetic Algorithm-Based Autono...Load Distribution Composite Design Pattern for Genetic Algorithm-Based Autono...
Load Distribution Composite Design Pattern for Genetic Algorithm-Based Autono...
 
LOAD DISTRIBUTION COMPOSITE DESIGN PATTERN FOR GENETIC ALGORITHM-BASED AUTONO...
LOAD DISTRIBUTION COMPOSITE DESIGN PATTERN FOR GENETIC ALGORITHM-BASED AUTONO...LOAD DISTRIBUTION COMPOSITE DESIGN PATTERN FOR GENETIC ALGORITHM-BASED AUTONO...
LOAD DISTRIBUTION COMPOSITE DESIGN PATTERN FOR GENETIC ALGORITHM-BASED AUTONO...
 
Chapter 7 agent-oriented software engineering ch7-agent methodology-agent met...
Chapter 7 agent-oriented software engineering ch7-agent methodology-agent met...Chapter 7 agent-oriented software engineering ch7-agent methodology-agent met...
Chapter 7 agent-oriented software engineering ch7-agent methodology-agent met...
 
GENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEM
GENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEMGENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEM
GENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEM
 
GENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEM
GENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEMGENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEM
GENETIC-FUZZY PROCESS METRIC MEASUREMENT SYSTEM FOR AN OPERATING SYSTEM
 
Genetic fuzzy process metric measurement system for an operating system
Genetic fuzzy process metric measurement system for an operating systemGenetic fuzzy process metric measurement system for an operating system
Genetic fuzzy process metric measurement system for an operating system
 
Bug Triage: An Automated Process
Bug Triage: An Automated ProcessBug Triage: An Automated Process
Bug Triage: An Automated Process
 
International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)International Journal of Computer Science and Security Volume (1) Issue (1)
International Journal of Computer Science and Security Volume (1) Issue (1)
 
Software requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing reSoftware requirement analysis enhancements byprioritizing re
Software requirement analysis enhancements byprioritizing re
 
Ui Design And Usability For Everybody
Ui Design And Usability For EverybodyUi Design And Usability For Everybody
Ui Design And Usability For Everybody
 
International Journal of Computer Science and Security Volume (1) Issue (2)
International Journal of Computer Science and Security Volume (1) Issue (2)International Journal of Computer Science and Security Volume (1) Issue (2)
International Journal of Computer Science and Security Volume (1) Issue (2)
 
Application of Genetic Algorithm in Software Engineering: A Review
Application of Genetic Algorithm in Software Engineering: A ReviewApplication of Genetic Algorithm in Software Engineering: A Review
Application of Genetic Algorithm in Software Engineering: A Review
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
 
M018147883
M018147883M018147883
M018147883
 
Automated attendance system using Face recognition
Automated attendance system using Face recognitionAutomated attendance system using Face recognition
Automated attendance system using Face recognition
 
QUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMS
QUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMSQUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMS
QUALITY-AWARE APPROACH FOR ENGINEERING SELF-ADAPTIVE SOFTWARE SYSTEMS
 
Quality aware approach for engineering self-adaptive software systems
Quality aware approach for engineering self-adaptive software systemsQuality aware approach for engineering self-adaptive software systems
Quality aware approach for engineering self-adaptive software systems
 
NAME's Structure of the Grammatic Genome
NAME's Structure of the Grammatic GenomeNAME's Structure of the Grammatic Genome
NAME's Structure of the Grammatic Genome
 

Recently uploaded

Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
drm1699
 

Recently uploaded (20)

BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
 
Test Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdfTest Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdf
 
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
CERVED e Neo4j su una nuvola, migrazione ed evoluzione di un grafo mission cr...
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
 
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
Effective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeConEffective Strategies for Wix's Scaling challenges - GeeCon
Effective Strategies for Wix's Scaling challenges - GeeCon
 
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
Auto Affiliate  AI Earns First Commission in 3 Hours..pdfAuto Affiliate  AI Earns First Commission in 3 Hours..pdf
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
 
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4jGraphSummit Milan - Visione e roadmap del prodotto Neo4j
GraphSummit Milan - Visione e roadmap del prodotto Neo4j
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 

Engineering Ambient Intelligence Systems using Agent Technology

  • 1. Engineering Ambient Intelligence Systems using Agent Technologyusing Agent Technology Nikos Spanoudakis Technical University of Crete
  • 2. Presentation Contents  Application Domain and Challenges  The ASEME Methodology  System Architecture System Architecture  Results  Conclusion
  • 3. Project goals  HERA (Home sERvices for specialised elderly Assisted living) aims to provide cost-effective specialized assisted living services for the elderly people suffering fromelderly people suffering from  Mild Cognitive Impairment (MCI)  mild/moderate Alzheimer Disease (AD)  other diseases (diabetes, cardiovascular) to improve the quality of their home life, extend its duration
  • 4. Application Domain  Ambient Assisted Living (AAL)  combination of tele-homecare and smart homes  in the field of Ambient Intelligence (AmI)
  • 5. Challenges  Engineering an AAL system is a non-trivial task (Nehmer et al., 2006)  Several issues are open for this type of applications (Kleinberger et al., 2007; Koch,applications (Kleinberger et al., 2007; Koch, 2006):  Adaptability  Natural and anticipatory Human-Computer Interaction  Heterogeneity  Lack of an evaluation framework considering legal, ethical, economical, usability and technical aspects
  • 6. Contribution  An Agent Oriented Software Engineering (AOSE) methodology for developing AmI systems An architecture for the problem domain An architecture for the problem domain  An architecture for integrating agents to the general service oriented software architecture
  • 7. Why agents?  Agents are proactive (have goals and pursue them) reactive (respond to events in environment) social (acquainted with other similar software and can cooperate-compete with it) autonomous (do not need human intervention to act) intelligent (may perform tasks that when performed by humans we consider that are the evidence of a certain intelligence)
  • 8. THE ASEME METHODOLOGY A methodology for guiding project development
  • 9. AOSE Considerations  What, how many agents?  How to structure of agent?  Model of the environment?  Communication? Communication?  Relationships?  Coordination?  Protocols? (Hexmoor and Brainov, 2002)
  • 10. ASEME the phases and abstraction layers Agent Level Capability Level Development Phase Society Level Levels of Abstraction Goals RequirementsActors Requirements Analysis Capabilities Agent Control ComponentsSociety Control Roles and Protocols Design Analysis Agent code Capabilities code Platform management code Implementation Analysis Functionality
  • 11. Requirements Analysis  Identify the stakeholders Seniors@home Hospitals, health centers Telecom operators, internet service providers (ISPs), portals
  • 12. The Systems Actors Goals model (SAG) - initial
  • 14. Analysis Phase  The first model is the System Use Cases  Goals are transformed to high level tasks and are decomposed to simple tasks  Let’s see for example the goal assign pills
  • 15. Analysis Phase  Transform SAG goal to use case (SUC)
  • 16. Analysis Phase  Refine the SUC diagram
  • 17. The Agent Interaction Protocols model  For each use case connecting two roles we create an interaction protocol  We use Gaia formulas to define liveness of each role within the protocolof each role within the protocol Operator Interpretation x . y x followed by y x | y x or y occurs x* x occurs 0 or more times x+ x occurs 1 or more times x ~ x occurs infinitely often [x] x is optional x || y x and y interleaved
  • 18. The AIP model Role Rules for engaging Results Liveness
  • 19. The system roles model (SRM)  Shows each role’s liveness  Including all used protocols  Associating including use case to Associating including use case to capabilities  Included use cases to activities  Associating activities to functionalities
  • 22. Assign pills: Produced SRM Role: PersonalAssistant Capabilities and Protocols: AssignPills_PersonalAssistant, … Activities: ReceiveNewPillPrescriptionRequest, UpdateUserScheduleReceiveNewPillPrescriptionRequest, UpdateUserSchedule Liveness: PersonalAssistant = AssignPills_PersonalAssistant OP? … AssignPills_PersonalAssistant = ReceiveNewPillPrescriptionRequest. UpdateUserSchedule … This formula was copied from the AIP model
  • 23. Assign pills: Refined SRM Role: PersonalAssistant Capabilities and Protocols: AssignPills_PersonalAssistant, UpdateUserSchedule, … Activities: ReceiveNewPillPrescriptionRequest, ResolveConflicts,ReceiveNewPillPrescriptionRequest, ResolveConflicts, UpdateUserScheduleStructure, … Liveness: PersonalAssistant = AssignPills_PersonalAssistant~ || … AssignPills_PersonalAssistant = ReceiveNewPillPrescriptionRequest. UpdateUserSchedule UpdateUserSchedule = ResolveConflicts. UpdateUserScheduleStructure …
  • 24. A graphical view of SRM  The functionality graph Interfaces with external systems Functionality sending a standard FIPA ACL message
  • 25. Design phase  In the design phase liveness formulas are transformed to statecharts  Then, The variables (in/out params) of each state activity are defined the transition expressions are defined
  • 26. Transformation templates  Are applied recursively in formulas
  • 27. The Inter- and Intra-Agent Control  The inter-agent control (EAC) is a statechart defining the parallel behaviour of two or more roles  The intra-agent control (IAC) coordinates the interactions between the agent’s capabilities (or modules)  Every role in an EAC can be merged in the IAC model as-is and it can be refined:  By turning a state to a superstate with substates  IAC allows the parallel execution of multiple protocols
  • 28. The EAC model for AssignPills
  • 29. And the Personal Assistant
  • 30. Automatic Code Generation  Automatically generating all control code. The developer just needs to invoke functions at appropriate parts
  • 31. Automatic Code Generation  Automatically generating all control code. The developer just needs to invoke functions at appropriate parts
  • 37. HERA trials  Two development iterations  We focused in two categories of users:  the end-users (who use the HERA services)  A total of 30 end-users (10 healthy elderly, 8 suffering from A total of 30 end-users (10 healthy elderly, 8 suffering from MCI, 8 suffering from mild AD, and 4 suffering from moderate AD) were selected to participate in the project trials phase  the Medical Personnel (who configure the HERA services and assess the end users’ progress).  10 medical experts
  • 38. Results  Satisfaction of the users for the two phases
  • 39. Concluding  We showed how a practitioner can apply the ASEME methodology, a model-driven development methodology, to build an AmI systemsystem  We proposed an architecture for such a successful real world system (HERA)  The system validation results show that agent technology aids personal assistance in ambient intelligence environments
  • 40. This presentation was about the IEEE Intelligent Systems paper: Spanoudakis N., Moraitis, P.. Engineering Ambient Intelligence Systems using Agent Technology. IEEE Intelligent Systems, Vol. 30, Issue 3, May-June 2015, pp. 60-67 Find the paper@ http://dx.doi.org/10.1109/MIS.2015.3 More on ASEME: http://aseme.tuc.gr THANK YOU! More on ASEME: http://aseme.tuc.gr More on HERA: http://w3.mi.parisdescartes.fr/hera More on Nikos: http://users.isc.tuc.gr/~nispanoudakis