SlideShare a Scribd company logo
1 of 19
Department of Computer Science
Federal University of Minas Gerais
Waldir Ribeiro Pires Junior
Prof. Antonio Alfredo Ferreira Loureiro
17/06/2009
Agenda
ž Introduction
ž Prototype Development - DECS
— Overview
— Architecture
— Process execution workflow
— Web development & UI Panels
ž Conclusions
ž References
Introduction
ž Emergency Context Service
— Selects mobile units and landmarks to best serve an
emergency event (health, fire and security)
ž Event-based distributed systems
— Changes in states represented by event objects sent
through the network,
— Events activate web services where and when applicable
ž Web application frameworks for UbiComp
applications
— High adaptability across different devices
— Cloud-based infrastructure over the Web
— Web Frameworks used: Google Web App Engine (GAE)
and Google Web Toolkit (GWT)
Introduction
Related Work
ž Use case scenarios in mobile/ubiquitous
computing
— Tourism (indoor and outdoor), classrooms,
emergencies, LBS
ž Profile and Context Information
— Focus on the device only, no data is shared to
outside services
ž Event-based distributed systems
— Fixed networks, wireless sensor networks
Prototype Development
Overview
Characteristics DECS
Use case scenarios
Management of Mobile Emergency Units (MEUs),
such as ambulances, firetrucks and police
Client platform
Server platform
User interface for
geographical
information
Event Notification
Service
Google Web
AppEngine
(Python)
Web technologies
(HTML, XML,
JavaScript, AJAX)
Google Web Toolkit
Google Web AppEngine
(JavaEE)
Google Maps
API (Web),
GPS Data
Google Maps
API (GWT),
GPS Data
Information from mobile emergency units
(MEUs) and emergency events,
mark selection (i.e., hospitals and police depts.),
resource allocation (i.e., rooms, Intense care unit)
Prototype Development
DECS – Ubiquitous Emergency Service
ž Droid Emergency Context Service
ž Communication: AJAX/XML over HTTP
ž Connectivity: WLAN and GPRS/3G
ž Architecture: client-server (Browser)
ž Development environment
— Eclipse IDE 3.3 + ADT 0.8 +
PyDev + GWT
— Google Web AppEngine SDK
? Python RE 2.5.x
? JavaEE 5.0
ž Development of three prototypes
— Client HTML/Javascript, server GAE
(Python)
— Client GWT monolithic, server GAE
(JavaEE)
— Client GWT component-based, server GAE
(JavaEE)
Internet
DECS Application
Event Processor
Google Web
Toolkit
Client Web Browser
AJAX
XML
HTTP
Requests
XML/HTTP
Responses
HTML
AJAX
JavaScript
GMaps
APIs
Mark/User Processor
Cloud App. Server
Event
Server
DECS Server
Python RE/JavaEE GAE APIs
……
Event Queue
IBWS
Proxy
GMaps APIs
Base de
Dados
Base de
Dados
EntryPoint
Client
Persistence Manager
Factory
Server
Cloud DB
Service Impl
UserService
EventService
Emergency
Service
UserService
EventService
Emergency
Service
Service Proxy
Web Application
DECS Context
AJAX
XML
HTTP
Web
Browser
Profile
and
Context
Manager
WebKit (Android)
Mozilla Firefox
MS IE
Symbian Skyfire
LandmarkService
Device Information
-Location
-Energy & Processing
-Connectivity (cost & velocity)
User Information
-Status
-Global context (traffic)
-Landmark and Emergency
Profile and Context
Manager
Cloud InfrastructureAJAX Context
LandmarkService
Statistics
Events
Routes
Emergencies
Messages
Users
Queue List
Statistics
Events
Routes
Emergencies
Messages
Users
Queue List
LoginPanel
OK
Cancel
OK
Cancel
ActionAction CallbackCallbackActionActionActionAction CallbackCallbackCallbackCallback
ClickHandlerClickHandler
ClickHandler
ClickHandler
ClickHandlerClickHandler
ClickHandler
ClickHandler
UnM
PoV
LnM
Users
UnMUnMUnM
PoVPoV
LnMLnM
Users
Prototype Development
DECS Component-based Prototype Arch.
Prototype Development
DECS Component-based Prototype
ž Users
— Landmarks (hospital, fire dept. and police dept.) and Mobile
users (ambulance, police car, fire truck,
patient/victim/eyewitness)
ž Client side
— Web Browser
? Android WebView, Mozilla Firefox, Symbian Skyfire
— Profile and Context Manager
— DECS Context
ž Server side
— Profile and Context Manager
— DECS Service implementation
— Persistent Management Factory (GAE JavaEE)
— Cloud database (DataNucleus DataStore)
Prototype Development
DECS Component-based Prototype
ž Entry point: GWT app. starting class
ž DECS Context
— Operation classes
? Actions: execution of actions
? Callbacks: execution of returns from actions
? Handlers: execution of user commands
— Service proxy: access to services over the cloud
infrastructure
? Emergency, User, Landmark and Event services
— Queue list
? List of elements relevant to the context of the application
— UI Panels
? User Interface based on GWT UI classes
Prototype Development
DECS Process Execution Workflow
Mobile User DECS Service Mobile Emergency Unit Landmark
Create Emergency
Event
Create Emergency
Event
Search for closest
MEU available
MEU receives notification of
Emergency Event
Dispatch MEU to
Emergency Event
MEU arrived at Emergency Event
Service receives notification
MEU ready to go to Landmark
Search for closest
Landmark available
Landmark receives
notification of
Emergency Event
Dispatch MEU to
Landmark
Service receives notification
MEU arrived at Landmark
Emergency Event transferred to
Landmark
Landmark received
Emergency Event
Service receives notification
Service receives notification
Service receives notification
Prototype Development
DECS Process Execution Workflow
ž ISMU: In Search for Mobile Emergency Units (MEUs)
for emergency event
ž MUDE: MEU Dispatched to Emergency event
ž MUAE: MEU Arrived at Emergency event
ž MURGL: MEU Ready to Go to Landmark (hospitalor
police dept.)
ž ISCLMU: In Search for Closest Landmark for MEU
ž MUDL: MEU Dispatched to Landmark
ž MUAL: MEU Arrived at Landmark
ž ETL: Emergency Transferred to Landmark
ž LRE: Landmark Received Emergency
Prototype Development
Web Frameworks for Ubicomp Applications
ž Viability study
in using Web
application
frameworks
for building
mobile and
ubiquitous
applications
Prototype Development
DECS UI Panels
Login
Screen
Main Menu Map UI
with route
defined
between
MEU and
hospital
Map UI
with route
defined
between two
points
Map UI
with route
defined
between two
MEUs
Prototype Development
DECS UI Panels
Directions UI
between MEU
and hospital
MEU update
UI panel
(location and
activity)
Users UI with
list of MEUs
and landmarks
Event UI
showing events
received from
server at the
client
Stats UI
showing
statistics from
the application
Prototype Development
DECS in Multi-user
MEU 1: ambulance MEU 2: police car MEU 3: fire truck
Prototype Development
DECS Running in Real Devices
Conclusions
ž Nest Steps
— Finalize the development (emergency work flow)
— Update text and references in the dissertation
— Publish a paper
ž Open issues
— Security (privacy, encryption)
— Network usage (cost and performance)
— Energy constraints (battery life, connectivity)
References
ž A. K. Dey, “Understanding and using context,” Personal
Ubiquitous Comput., vol. 5, no. 1, pp. 4–7, 2001.
ž R. Meier and V. Cahill, “Taxonomy of distributed event-
based programming systems,” Comput. J., vol. 48, no. 5,
pp. 602–626, 2005.
ž G. Mhl, L. Fiege, and P. Pietzuch, Distributed Event-
Based Systems, 1st ed. Springer, 2006.
ž M. Caporuscio and P. Inverardi, “Uncertain event-based
model for egocentric context sensing,” in SEM ’05:
Proceedings of the 5th international workshop on
Software engineering and middleware. New York, NY,
USA: ACM, 2005, pp. 25–32.
References
ž Y. Takeuchi and M. Sugimoto, “A user-adaptive city guide
system with an unobtrusive navigation interface,” Personal
Ubiquitous Comput., vol. 13, no. 2, pp. 119–132, 2009.
ž A. Carzaniga, D. S. Rosenblum, and A. L. Wolf, “Design and
evaluation of a wide-area event notification service,” ACM
Trans. Comput. Syst., vol. 19, no. 3, pp. 332–383, 2001.
ž G. Gruman and E. Knorr, “What cloud computing really means,”
2008. [Online]. Available: http://tiny.cc/cloudComp
ž “Google android platform,” 2009. [Online]. Available:
http://code.google.com/android/
ž “Google web appengine platform,” 2009. [Online]. Available:
http://code.google.com/appengine/

More Related Content

Similar to Droid Emergency Context Service - Msc.

Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsEurotech
 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013Eurotech
 
Grid Technologies in Disaster Management
Grid Technologies in Disaster Management Grid Technologies in Disaster Management
Grid Technologies in Disaster Management Videoguy
 
grid mining
grid mininggrid mining
grid miningARNOLD
 
RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...
RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...
RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...Rio Info
 
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...FBK CREATE-NET
 
ENVIROFI for cross domain FI-PPP applications
ENVIROFI for cross domain FI-PPP applicationsENVIROFI for cross domain FI-PPP applications
ENVIROFI for cross domain FI-PPP applicationsDenis Havlik
 
System Support for Internet of Things
System Support for Internet of ThingsSystem Support for Internet of Things
System Support for Internet of ThingsHarshitParkar6677
 
N01 cloud computing_and_gae
N01 cloud computing_and_gaeN01 cloud computing_and_gae
N01 cloud computing_and_gaeSun-Jin Jang
 
Deconstructing Monoliths with Domain Driven Design
Deconstructing Monoliths with Domain Driven DesignDeconstructing Monoliths with Domain Driven Design
Deconstructing Monoliths with Domain Driven DesignVMware Tanzu
 
WSO2 Big Data Platform and Applications
WSO2 Big Data Platform and ApplicationsWSO2 Big Data Platform and Applications
WSO2 Big Data Platform and ApplicationsSrinath Perera
 
Mmsys slideshare-intel-nokia
Mmsys slideshare-intel-nokiaMmsys slideshare-intel-nokia
Mmsys slideshare-intel-nokiaRufael Mekuria
 
2013 09-01 enviroinfo presentation - final
2013 09-01 enviroinfo presentation - final2013 09-01 enviroinfo presentation - final
2013 09-01 enviroinfo presentation - finalDenis Havlik
 
The Role of Machine Learning in Fluid Network Control and Data Planes.pdf
The Role of Machine Learning in Fluid Network Control and Data Planes.pdfThe Role of Machine Learning in Fluid Network Control and Data Planes.pdf
The Role of Machine Learning in Fluid Network Control and Data Planes.pdfFörderverein Technische Fakultät
 
90seconds Presentation
90seconds Presentation90seconds Presentation
90seconds Presentationpbihler
 
云计算及其应用
云计算及其应用云计算及其应用
云计算及其应用lantianlcdx
 
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...Benoit Combemale
 
Azure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev PartnersAzure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev PartnersJohn Stame
 
Ogce Workflow Suite
Ogce Workflow SuiteOgce Workflow Suite
Ogce Workflow Suitesmarru
 

Similar to Droid Emergency Context Service - Msc. (20)

Java in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring StationsJava in the Air: A Case Study for Java-based Environment Monitoring Stations
Java in the Air: A Case Study for Java-based Environment Monitoring Stations
 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013
 
Intro Cloud Computing
Intro Cloud ComputingIntro Cloud Computing
Intro Cloud Computing
 
Grid Technologies in Disaster Management
Grid Technologies in Disaster Management Grid Technologies in Disaster Management
Grid Technologies in Disaster Management
 
grid mining
grid mininggrid mining
grid mining
 
RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...
RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...
RioInfo 2010: Seminário de Tecnologia - Mesa 1 - Integração e Convergência Ma...
 
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
 
ENVIROFI for cross domain FI-PPP applications
ENVIROFI for cross domain FI-PPP applicationsENVIROFI for cross domain FI-PPP applications
ENVIROFI for cross domain FI-PPP applications
 
System Support for Internet of Things
System Support for Internet of ThingsSystem Support for Internet of Things
System Support for Internet of Things
 
N01 cloud computing_and_gae
N01 cloud computing_and_gaeN01 cloud computing_and_gae
N01 cloud computing_and_gae
 
Deconstructing Monoliths with Domain Driven Design
Deconstructing Monoliths with Domain Driven DesignDeconstructing Monoliths with Domain Driven Design
Deconstructing Monoliths with Domain Driven Design
 
WSO2 Big Data Platform and Applications
WSO2 Big Data Platform and ApplicationsWSO2 Big Data Platform and Applications
WSO2 Big Data Platform and Applications
 
Mmsys slideshare-intel-nokia
Mmsys slideshare-intel-nokiaMmsys slideshare-intel-nokia
Mmsys slideshare-intel-nokia
 
2013 09-01 enviroinfo presentation - final
2013 09-01 enviroinfo presentation - final2013 09-01 enviroinfo presentation - final
2013 09-01 enviroinfo presentation - final
 
The Role of Machine Learning in Fluid Network Control and Data Planes.pdf
The Role of Machine Learning in Fluid Network Control and Data Planes.pdfThe Role of Machine Learning in Fluid Network Control and Data Planes.pdf
The Role of Machine Learning in Fluid Network Control and Data Planes.pdf
 
90seconds Presentation
90seconds Presentation90seconds Presentation
90seconds Presentation
 
云计算及其应用
云计算及其应用云计算及其应用
云计算及其应用
 
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
 
Azure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev PartnersAzure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev Partners
 
Ogce Workflow Suite
Ogce Workflow SuiteOgce Workflow Suite
Ogce Workflow Suite
 

More from Waldir R. Pires Jr

Proposta de projeto de pesquisa UFOP
Proposta de projeto de pesquisa UFOPProposta de projeto de pesquisa UFOP
Proposta de projeto de pesquisa UFOPWaldir R. Pires Jr
 
Proposta de Projeto de Pesquisa - CEFET - 2014
Proposta de Projeto de Pesquisa - CEFET - 2014Proposta de Projeto de Pesquisa - CEFET - 2014
Proposta de Projeto de Pesquisa - CEFET - 2014Waldir R. Pires Jr
 
Droid Guide Prototype - Dresden - Germany
Droid Guide Prototype - Dresden - GermanyDroid Guide Prototype - Dresden - Germany
Droid Guide Prototype - Dresden - GermanyWaldir R. Pires Jr
 
IMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationIMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationWaldir R. Pires Jr
 
Desenvolvimento de Aplicações Móveis em Java - Parte 1
Desenvolvimento de Aplicações Móveis em Java - Parte 1Desenvolvimento de Aplicações Móveis em Java - Parte 1
Desenvolvimento de Aplicações Móveis em Java - Parte 1Waldir R. Pires Jr
 
Desenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaDesenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaWaldir R. Pires Jr
 
Desenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaDesenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaWaldir R. Pires Jr
 
Desenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaDesenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaWaldir R. Pires Jr
 
Struts Cap10 DepuraçãO E Log
Struts Cap10 DepuraçãO E LogStruts Cap10 DepuraçãO E Log
Struts Cap10 DepuraçãO E LogWaldir R. Pires Jr
 
Desenvolvimento de Aplicações Móveis com JavaME
Desenvolvimento de Aplicações Móveis com JavaMEDesenvolvimento de Aplicações Móveis com JavaME
Desenvolvimento de Aplicações Móveis com JavaMEWaldir R. Pires Jr
 

More from Waldir R. Pires Jr (14)

Proposta de projeto de pesquisa UFOP
Proposta de projeto de pesquisa UFOPProposta de projeto de pesquisa UFOP
Proposta de projeto de pesquisa UFOP
 
Proposta de Projeto de Pesquisa - CEFET - 2014
Proposta de Projeto de Pesquisa - CEFET - 2014Proposta de Projeto de Pesquisa - CEFET - 2014
Proposta de Projeto de Pesquisa - CEFET - 2014
 
Droid Guide Prototype - Dresden - Germany
Droid Guide Prototype - Dresden - GermanyDroid Guide Prototype - Dresden - Germany
Droid Guide Prototype - Dresden - Germany
 
Java v1.1
Java v1.1Java v1.1
Java v1.1
 
IMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationIMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentation
 
AED Lab 01 Sab
AED Lab 01 SabAED Lab 01 Sab
AED Lab 01 Sab
 
Desenvolvimento de Aplicações Móveis em Java - Parte 1
Desenvolvimento de Aplicações Móveis em Java - Parte 1Desenvolvimento de Aplicações Móveis em Java - Parte 1
Desenvolvimento de Aplicações Móveis em Java - Parte 1
 
Android Developers Challenge
Android Developers ChallengeAndroid Developers Challenge
Android Developers Challenge
 
Desenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaDesenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em Java
 
Computação Ubíqua
Computação UbíquaComputação Ubíqua
Computação Ubíqua
 
Desenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaDesenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em Java
 
Desenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em JavaDesenvolvimento de Aplicações Móveis em Java
Desenvolvimento de Aplicações Móveis em Java
 
Struts Cap10 DepuraçãO E Log
Struts Cap10 DepuraçãO E LogStruts Cap10 DepuraçãO E Log
Struts Cap10 DepuraçãO E Log
 
Desenvolvimento de Aplicações Móveis com JavaME
Desenvolvimento de Aplicações Móveis com JavaMEDesenvolvimento de Aplicações Móveis com JavaME
Desenvolvimento de Aplicações Móveis com JavaME
 

Recently uploaded

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

Droid Emergency Context Service - Msc.

  • 1. Department of Computer Science Federal University of Minas Gerais Waldir Ribeiro Pires Junior Prof. Antonio Alfredo Ferreira Loureiro 17/06/2009
  • 2. Agenda ž Introduction ž Prototype Development - DECS — Overview — Architecture — Process execution workflow — Web development & UI Panels ž Conclusions ž References
  • 3. Introduction ž Emergency Context Service — Selects mobile units and landmarks to best serve an emergency event (health, fire and security) ž Event-based distributed systems — Changes in states represented by event objects sent through the network, — Events activate web services where and when applicable ž Web application frameworks for UbiComp applications — High adaptability across different devices — Cloud-based infrastructure over the Web — Web Frameworks used: Google Web App Engine (GAE) and Google Web Toolkit (GWT)
  • 4. Introduction Related Work ž Use case scenarios in mobile/ubiquitous computing — Tourism (indoor and outdoor), classrooms, emergencies, LBS ž Profile and Context Information — Focus on the device only, no data is shared to outside services ž Event-based distributed systems — Fixed networks, wireless sensor networks
  • 5. Prototype Development Overview Characteristics DECS Use case scenarios Management of Mobile Emergency Units (MEUs), such as ambulances, firetrucks and police Client platform Server platform User interface for geographical information Event Notification Service Google Web AppEngine (Python) Web technologies (HTML, XML, JavaScript, AJAX) Google Web Toolkit Google Web AppEngine (JavaEE) Google Maps API (Web), GPS Data Google Maps API (GWT), GPS Data Information from mobile emergency units (MEUs) and emergency events, mark selection (i.e., hospitals and police depts.), resource allocation (i.e., rooms, Intense care unit)
  • 6. Prototype Development DECS – Ubiquitous Emergency Service ž Droid Emergency Context Service ž Communication: AJAX/XML over HTTP ž Connectivity: WLAN and GPRS/3G ž Architecture: client-server (Browser) ž Development environment — Eclipse IDE 3.3 + ADT 0.8 + PyDev + GWT — Google Web AppEngine SDK ? Python RE 2.5.x ? JavaEE 5.0 ž Development of three prototypes — Client HTML/Javascript, server GAE (Python) — Client GWT monolithic, server GAE (JavaEE) — Client GWT component-based, server GAE (JavaEE) Internet DECS Application Event Processor Google Web Toolkit Client Web Browser AJAX XML HTTP Requests XML/HTTP Responses HTML AJAX JavaScript GMaps APIs Mark/User Processor Cloud App. Server Event Server DECS Server Python RE/JavaEE GAE APIs …… Event Queue IBWS Proxy GMaps APIs Base de Dados Base de Dados
  • 7. EntryPoint Client Persistence Manager Factory Server Cloud DB Service Impl UserService EventService Emergency Service UserService EventService Emergency Service Service Proxy Web Application DECS Context AJAX XML HTTP Web Browser Profile and Context Manager WebKit (Android) Mozilla Firefox MS IE Symbian Skyfire LandmarkService Device Information -Location -Energy & Processing -Connectivity (cost & velocity) User Information -Status -Global context (traffic) -Landmark and Emergency Profile and Context Manager Cloud InfrastructureAJAX Context LandmarkService Statistics Events Routes Emergencies Messages Users Queue List Statistics Events Routes Emergencies Messages Users Queue List LoginPanel OK Cancel OK Cancel ActionAction CallbackCallbackActionActionActionAction CallbackCallbackCallbackCallback ClickHandlerClickHandler ClickHandler ClickHandler ClickHandlerClickHandler ClickHandler ClickHandler UnM PoV LnM Users UnMUnMUnM PoVPoV LnMLnM Users Prototype Development DECS Component-based Prototype Arch.
  • 8. Prototype Development DECS Component-based Prototype ž Users — Landmarks (hospital, fire dept. and police dept.) and Mobile users (ambulance, police car, fire truck, patient/victim/eyewitness) ž Client side — Web Browser ? Android WebView, Mozilla Firefox, Symbian Skyfire — Profile and Context Manager — DECS Context ž Server side — Profile and Context Manager — DECS Service implementation — Persistent Management Factory (GAE JavaEE) — Cloud database (DataNucleus DataStore)
  • 9. Prototype Development DECS Component-based Prototype ž Entry point: GWT app. starting class ž DECS Context — Operation classes ? Actions: execution of actions ? Callbacks: execution of returns from actions ? Handlers: execution of user commands — Service proxy: access to services over the cloud infrastructure ? Emergency, User, Landmark and Event services — Queue list ? List of elements relevant to the context of the application — UI Panels ? User Interface based on GWT UI classes
  • 10. Prototype Development DECS Process Execution Workflow Mobile User DECS Service Mobile Emergency Unit Landmark Create Emergency Event Create Emergency Event Search for closest MEU available MEU receives notification of Emergency Event Dispatch MEU to Emergency Event MEU arrived at Emergency Event Service receives notification MEU ready to go to Landmark Search for closest Landmark available Landmark receives notification of Emergency Event Dispatch MEU to Landmark Service receives notification MEU arrived at Landmark Emergency Event transferred to Landmark Landmark received Emergency Event Service receives notification Service receives notification Service receives notification
  • 11. Prototype Development DECS Process Execution Workflow ž ISMU: In Search for Mobile Emergency Units (MEUs) for emergency event ž MUDE: MEU Dispatched to Emergency event ž MUAE: MEU Arrived at Emergency event ž MURGL: MEU Ready to Go to Landmark (hospitalor police dept.) ž ISCLMU: In Search for Closest Landmark for MEU ž MUDL: MEU Dispatched to Landmark ž MUAL: MEU Arrived at Landmark ž ETL: Emergency Transferred to Landmark ž LRE: Landmark Received Emergency
  • 12. Prototype Development Web Frameworks for Ubicomp Applications ž Viability study in using Web application frameworks for building mobile and ubiquitous applications
  • 13. Prototype Development DECS UI Panels Login Screen Main Menu Map UI with route defined between MEU and hospital Map UI with route defined between two points Map UI with route defined between two MEUs
  • 14. Prototype Development DECS UI Panels Directions UI between MEU and hospital MEU update UI panel (location and activity) Users UI with list of MEUs and landmarks Event UI showing events received from server at the client Stats UI showing statistics from the application
  • 15. Prototype Development DECS in Multi-user MEU 1: ambulance MEU 2: police car MEU 3: fire truck
  • 17. Conclusions ž Nest Steps — Finalize the development (emergency work flow) — Update text and references in the dissertation — Publish a paper ž Open issues — Security (privacy, encryption) — Network usage (cost and performance) — Energy constraints (battery life, connectivity)
  • 18. References ž A. K. Dey, “Understanding and using context,” Personal Ubiquitous Comput., vol. 5, no. 1, pp. 4–7, 2001. ž R. Meier and V. Cahill, “Taxonomy of distributed event- based programming systems,” Comput. J., vol. 48, no. 5, pp. 602–626, 2005. ž G. Mhl, L. Fiege, and P. Pietzuch, Distributed Event- Based Systems, 1st ed. Springer, 2006. ž M. Caporuscio and P. Inverardi, “Uncertain event-based model for egocentric context sensing,” in SEM ’05: Proceedings of the 5th international workshop on Software engineering and middleware. New York, NY, USA: ACM, 2005, pp. 25–32.
  • 19. References ž Y. Takeuchi and M. Sugimoto, “A user-adaptive city guide system with an unobtrusive navigation interface,” Personal Ubiquitous Comput., vol. 13, no. 2, pp. 119–132, 2009. ž A. Carzaniga, D. S. Rosenblum, and A. L. Wolf, “Design and evaluation of a wide-area event notification service,” ACM Trans. Comput. Syst., vol. 19, no. 3, pp. 332–383, 2001. ž G. Gruman and E. Knorr, “What cloud computing really means,” 2008. [Online]. Available: http://tiny.cc/cloudComp ž “Google android platform,” 2009. [Online]. Available: http://code.google.com/android/ ž “Google web appengine platform,” 2009. [Online]. Available: http://code.google.com/appengine/