Developer Data Modeling Mistakes: From Postgres to NoSQL
[CONTEXTS'10] Using context awareness to foster active lifestyles
1. Data Processing and Simulation Group
Telecommunications School
Techical University of Madrid
Using context-awareness
to foster active lifestyles
Ana M. Bernardos, Eva Madrazo, Henar Martín, José R. Casar
Workshop CONTEXTS 2010
Josué Iglesias
josue@grpss.ssr.upm.es
2. Presentation outline
Introduction
Design principles
Context acquisition and reasoning
CASanDRA architecture
Application development
Conclusions and future work
Using context-awareness to foster active lifestyles 2 / 13
3. Introduction: the evolution of healthcare
Educational protocols
Traditional Support tools
reactive model
>5.000 mobile applications
- Information, Preventive-
- Monitoring, proactive
- Calendars,
- Reminders, model
- Calculators...
Using context-awareness to foster active lifestyles 3 / 13
4. Introduction
Personali-
zed and
Context- persuasive
Captology applications
awareness
for
healthcare
Monitor and (mainly) motivate the users to adopt
healthy and feasible motion patterns in their daily lifes
Using context-awareness to foster active lifestyles 4 / 13
5. Presentation outline
Introduction
Design principles
Context acquisition and reasoning
CASanDRA architecture
Application development
Conclusions and future work
Using context-awareness to foster active lifestyles 5 / 13
6. Design principles
• Application based on:
– Motion states: walking, running, taking the bus…
inputs REAL motion pattern + location & time information
– Activity profiles: at work, at home, practicing sports…
outputs
EXPECTED motion pattern
– Advisable motion pattern: ‘stand up and walk x Km ...’
• Three elements for a person to perform a target
behavior:
inputs – Ability → configuration panel
– Motivation → visual interface
outputs
– Effective triggers → context-aware alerts
Using context-awareness to foster active lifestyles 6 / 13
7. Presentation outline
Introduction
Design principles
Context acquisition and reasoning
CASanDRA architecture
Application development
Conclusions and future work
Using context-awareness to foster active lifestyles 7 / 13
8. Context acquisition & feature extraction
• Motion state
– Shimmer mote attached to the foot
– Embedded accelerometer in the
mobile device
• Positioning
– When indoors: Zone-based
– When outdoors: GPS
– Handover between indoors and outdoors
• Walked distance
– Based on GPS coordinates
– Inertial-based step counter
• Date & Time
Using context-awareness to foster active lifestyles 8 / 13
9. Presentation outline
Introduction
Design principles
Context acquisition and reasoning
CASanDRA architecture
Application development
Conclusions and future work
Using context-awareness to foster active lifestyles 9 / 13
10. CASanDRA mobile middleware
mobile middleware:
Applications
ContextFusion Subscription Network
tools to simplify
History Registry Discovery
application development
CASanDRA Core
+
process sensor data
mobile middleware
ENABLER ENABLER ENABLER ENABLER
intelligently
CASanDRA Context inference
+
SENSOR SENSOR SENSOR SENSOR hide specific sensor
CASanDRA Acquisition characteristics
Environment
= CASanDRA mobile
Using context-awareness to foster active lifestyles 10 / 13
11. CASanDRA mobile middleware
[SOA ] mobile OSGi:
dynamic component
framework for Java
Applications
bundle: reusable software
unit
ContextFusion Subscription Network
History Registry Discovery reusability of components
(bundles/services)
CASanDRA Core
aggregation of (context) data
HW platform independence
mobile middleware
ENABLER ENABLER ENABLER ENABLER
(Java-based)
CASanDRA Context inference services in framework
• resource discovery
SENSOR SENSOR SENSOR SENSOR • event management
• log
CASanDRA Acquisition • [...]
Environment
= CASanDRA mobile
Using context-awareness to foster active lifestyles 11 / 13
12. Presentation outline
Introduction
Design principles
Context acquisition and reasoning
CASanDRA architecture
Application development
Conclusions and future work
Using context-awareness to foster active lifestyles 12 / 13
15. Application prototype
• Samsung Omnia with WM 6.1
• J9 virtual machine to run mOSGi (based on
equinox OSGi)
Using context-awareness to foster active lifestyles 15 / 13
16. Presentation outline
Introduction
Design principles
Context acquisition and reasoning
CASanDRA architecture
Application development
Conclusions and future work
Using context-awareness to foster active lifestyles 16 / 13
17. Conclusions
• Persuasive computing merged with context-
awareness may be a powerful tool to educate
people in healthy lifestyles.
• But there is a way to go…:
– Technology (HW and SW) to estimate the user’s
context in a non-intrusive way.
– Frameworks to make easier the development of
context-aware apps.
– Privacy and security in data management.
– User experience.
Using context-awareness to foster active lifestyles 17 / 13
18. Further work
This is a work in progress. Our current efforts aim at:
• Improving CASanDRA Mobile
• How to use data fusion techniques to manage uncertainty
(Quality of context)
• Light reasoning strategies: ontology management in mobile
devices
• Enhancing the application features
• Fusion algorithms to detect motion patterns with non-
invasive hardware
• Adaptive strategies for personal patterns’ analysis
• Enhancing the performance of positioning by using inertial
systems
• Modeling of ‘persuasion’ for behavior change: user feedback and
validation
Using context-awareness to foster active lifestyles 18 / 13
19. Thank you for your attention
Josué Iglesias
josue@grpss.ssr.upm.es
20. Activity profiles
Profile Activity level Motion pattern
Work Low Stand up and walk for some
meters once an hour
Sleep Very low 9 hours max
Commuting High Walk 1 km.
At home Low Stand up and walk for some
meters once an hour
Sports practice Very high Run 4 km
Using context-awareness to foster active lifestyles 20 / 13