Session 1d(1).pdf - PNPI Home Page
Session 1d(1).pdf - PNPI Home Page
Session 1d(1).pdf - PNPI Home Page
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
GridLite - A Framework for<br />
Managing and Provisioning<br />
Services on Grid-Enabled<br />
Resource Limited Devices<br />
Raj Kumar, and Xiang Song (+)<br />
Hewlett Packard, OST & HP Labs, 1501 <strong>Page</strong> Mill Road,<br />
MS: 1181, Palo Alto, CA-94304<br />
raj.kumar@hp.com<br />
(+) College of Computing, Georgia Institute of Technology,<br />
801 Atlantic Dr, Atlanta, GA-30332<br />
songx@cc.gatech.edu<br />
© 2003 Hewlett-Packard Development Company, L.P.<br />
The information contained herein is subject to change without
Outline<br />
• GridLite Goals<br />
• Technology Landscape<br />
• GridLite Architecture<br />
• Use cases and services<br />
• Screen shots<br />
• Related work<br />
• Summary<br />
January 21, 2005<br />
page 2
GridLite Goals<br />
• Define an extensible framework that provides services to mobile users<br />
on ubiquitous, resource-limited devices using a Grid infrastructure<br />
• Provide a wired infrastructure for provisioning of persistent services, and<br />
smart helper services running on handheld devices which tap into this<br />
infrastructure<br />
• Build on the research done in the areas of ubiquitous computing, and<br />
grid computing during last several years<br />
• Provide users an ubiquitous access to grid resources, higher<br />
productivity, entertainment, and being always connected<br />
• Implementations on the client side include iPAQs, smart phones and<br />
other handheld devices; and Linux and Windows servers on the server<br />
side<br />
• The architecture that implements GridLite is adaptive, intelligent, and<br />
based on industry standards like XML, SOAP, WSDL, WSRF, and GT4<br />
January 21, 2005<br />
page 3
page 4<br />
Grid Technology Convergence<br />
Pervasive computing<br />
Ubiquitous computing<br />
Distributed Resource<br />
Management<br />
Shared infrastructure<br />
Standards compliant<br />
(WSRF, WSDM..)<br />
Commercial apps<br />
Grid Computing<br />
Technologies<br />
Batch processing<br />
Time<br />
January 21, 2005
Technology Landscape: Development<br />
environment for handhelds<br />
• Resource constrained environment<br />
- Limited memory and storage (2MB-64MB)<br />
- Limited battery power<br />
- Limited compute power<br />
- Limited network bandwidth<br />
- Limited display and input capabilities<br />
• Diversity<br />
- Multiple processors, OSes, JVMs, APIs<br />
January 21, 2005<br />
page 5
J2ME options<br />
• Configurations and Profiles<br />
• CDC + Personal and Foundation<br />
profiles<br />
• CLDC + MIDP profiles<br />
January 21, 2005<br />
page 6
GridLite architectural considerations<br />
• Provide grid infrastructure support that mitigates device resource<br />
constraints and provides illusion of unlimited resources<br />
• Provide intelligent helper services on the device which free up the user<br />
from mundane tasks<br />
• Make the grid infrastructure support transparent to the user<br />
• Some core services<br />
- Storage management<br />
- Application management..<br />
• Some domain specific utility services<br />
- Music management service<br />
- Health care services..<br />
January 21, 2005<br />
page 7
GridLite software stack<br />
Clients<br />
Helper Business services<br />
Applications<br />
Helper Utility services<br />
Helper Core services<br />
Runtime Environments<br />
OS<br />
HW<br />
Servers (Grid infrastructure)<br />
Business services<br />
Utility services<br />
Core services<br />
Runtime Environments<br />
OS<br />
HW<br />
January 21, 2005<br />
page 8
A GridLite system<br />
Storage<br />
service<br />
Discovery<br />
service<br />
Network<br />
access<br />
GridLite<br />
Resource<br />
Manager<br />
Application<br />
service<br />
Security<br />
service<br />
Information<br />
service<br />
Music<br />
service<br />
Other services..<br />
..<br />
Media content<br />
+ meta data<br />
Applications +<br />
meta data<br />
User data +<br />
meta data<br />
..<br />
January 21, 2005<br />
page 9
GridLite Use Cases and<br />
Services<br />
Services<br />
•Application management<br />
•Storage management<br />
•Music management<br />
•Health domain..<br />
General use cases<br />
•User starts an application<br />
•User accesses his/her data<br />
Music domain use cases<br />
•User creates an account<br />
•User creates a profile(s)<br />
•User plays a profile(s)<br />
•User queries media content<br />
•User queries his/her profiles<br />
•System admin backs up meta-data<br />
•System admin backs up media content<br />
•System admin queries historical logs<br />
•System admin queries user enrollment<br />
•System admin queries resource usage<br />
•System admin predicts future growth<br />
•System admin installs new media content<br />
•System admin removes media content<br />
•Notification use case<br />
January 21, 2005<br />
page 10
Application Management Service<br />
A sequence diagram showing a user’s interaction with a grid-enabled handheld<br />
Device for launching an application that may or may not be resident on the device<br />
January 21, 2005<br />
page 11
Storage Management Service<br />
User or Other<br />
Services<br />
isSpaceAvailable()<br />
True<br />
Storage<br />
Management Service<br />
GetDiskFreeSpaceEx()<br />
(C++ interface)<br />
Server<br />
False. Please select files to<br />
delete<br />
Specify the files<br />
Return the result<br />
Upload(), if necessary<br />
Return<br />
RemoveDir()<br />
GetDiskFreeSpaceEX()<br />
Sequence Diagram of Storage Management Service<br />
January 21, 2005<br />
page 12
Options in handheld devicesiPods<br />
vs iPAQs & Smart Phones<br />
iPOD<br />
iPAQ & Smart Phone<br />
• Single function<br />
• No significant infrastructure support<br />
• Standalone operation<br />
• Unused storage<br />
• Non ubiquitous data<br />
• Multiple functions<br />
• Significant infrastructure support<br />
• Standalone and connected operation<br />
• System wide shared storage on servers<br />
• Ubiquitous data (access from<br />
anywhere)<br />
• Wireless capability<br />
• JVMs available<br />
January 21, 2005<br />
page 13
Music distribution In a closed loop system<br />
Storage<br />
service<br />
Discovery<br />
service<br />
Network<br />
access<br />
GridLite<br />
Resource<br />
Manager<br />
Application<br />
service<br />
Security<br />
service<br />
Information<br />
service<br />
Music<br />
service<br />
Other services..<br />
•Custom Player<br />
•System keeps track of content status<br />
•System uses this info to prefetch new content<br />
•User can pre-program desired music experience<br />
Media content<br />
+ meta data<br />
Applications +<br />
meta data<br />
User data +<br />
meta data<br />
..<br />
January 21, 2005<br />
page 14
Create an account<br />
User<br />
GridLite Resource<br />
Manager<br />
Security Service<br />
Information<br />
Service<br />
Create an account<br />
Display a form<br />
Complete the form<br />
Create the account<br />
Check if username/<br />
password meet the<br />
requirement<br />
Encrypt password<br />
Store the<br />
username/password<br />
Acknowledge<br />
Return<br />
Return<br />
January 21, 2005<br />
page 15
Login<br />
User<br />
Helper Security<br />
Service<br />
GridLite Resource<br />
Manager<br />
Security Service<br />
Information<br />
Service<br />
Login<br />
Display a<br />
login screen<br />
Submit<br />
username<br />
/password<br />
Authenticate user<br />
Authenticate user<br />
Get user information<br />
User information returned<br />
Check<br />
username/password<br />
If successful,<br />
generate a token for<br />
this login<br />
Return the<br />
result<br />
Return the result+token<br />
If successful, store<br />
the token locally<br />
Return the result+token<br />
If successful, store the token<br />
January 21, 2005<br />
page 16
Create a profile<br />
User<br />
GridLite Resource<br />
Manager<br />
Security Service<br />
Information<br />
Service<br />
List Music by artist/year/album<br />
Ask the repository for the list<br />
Return the List<br />
Return the List<br />
Select Songs<br />
Create meta data for the profile<br />
Acknowledge<br />
Acknowledge<br />
January 21, 2005<br />
page 17
Query a profile<br />
User<br />
GridLite Resource<br />
Manager<br />
Security Service<br />
Information<br />
Service<br />
Ask for a list of the profile<br />
Return the profile list<br />
Select a profile to query<br />
Check for profiles for this user<br />
Return the profile list<br />
Download the profile meta-data<br />
Return the profile meta-data (XML)<br />
Return the profile meta-data (XML)<br />
Parse the meta-data<br />
Display the detail<br />
information of the profile<br />
January 21, 2005<br />
page 18
January 21, 2005<br />
page 19
Logout<br />
User<br />
Helper Security<br />
Service<br />
GridLite Resource<br />
Manager<br />
Security Service<br />
Information<br />
Service<br />
Logout<br />
Remove the token<br />
locally<br />
Logout+token<br />
Logout+token<br />
Get token’s information<br />
Return the result<br />
Check if the token is<br />
removable<br />
If yes, remove the token<br />
Return the<br />
result<br />
Return the result<br />
Return the result<br />
January 21, 2005<br />
page 20
Other GridLite<br />
services<br />
• Billing service<br />
- service based model<br />
- buy and managed service model<br />
• Notification service<br />
• Capacity planning service<br />
• Data mining service<br />
• Caching: server side<br />
• Caching: client side<br />
January 21, 2005<br />
page 21
Invoking the music service<br />
January 21, 2005<br />
page 22
Invoking the music service (continued)<br />
January 21, 2005<br />
page 23
Invoking the music service (continued)<br />
January 21, 2005<br />
page 24
Invoking the music service (continued)<br />
January 21, 2005<br />
page 25
Playing music in a GridLite environment<br />
January 21, 2005<br />
page 26
Related Work<br />
1. The Obje Software Architecture, PARC research,<br />
http://www.parc.xerox.com/research/csl/projects/obje/default.html<br />
2. Apple iPOD + iTunes,<br />
http://www.apple.com/itunes/<br />
January 21, 2005<br />
page 27
Summar<br />
y<br />
• Defined architecture and built a testbed for GridLite (ongoing)<br />
• GridLite for appliances uses industry standards like XML, SOAP,<br />
WSDL, WSRF, and GT4<br />
• Handheld devices connected via GridLite can unleash powerful<br />
services to end users<br />
- Examples: music, health care, financials, and more..<br />
• GridLite architecture enables management of server side infrastructure as<br />
well as the resource constrained client devices<br />
January 21, 2005<br />
page 28
Questions?<br />
Thank you!<br />
January 21, 2005<br />
page 29