Discussion of various aspects of mobile app development surrounding location-based services, including intelligent use of GPS to conserve battery life and reducing network data transfer.
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Â
2009 Sprint Developers Conference - Location Based Services - Best Practices and Mobile App Optimization
1. 2009 Sprint Open
Developer Conference
Rodney Nelson
Mike McMullen
Sean Barbeau
October 27
Location Based Services
2. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 2
2009 Sprint Open Developer Conference
Agenda
⢠Location Privacy
⢠Service Enablers
⢠Open and LBS
⢠GPS and LBS 101
⢠Device OS LBS specifics
⢠Research on LBS enabled apps, battery life, data
optimization
3. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 3
2009 Sprint Open Developer Conference
Privacy
3 General Types of LBS Applications
1. Concierge
â End User Consent
2. Business Solutions â Corporate Liable Devices
â Account Holder Consent
â Employee Notification
3. Other
â End User Consent
â Account Holder Notification
4. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 4
2009 Sprint Open Developer Conference
Who can help me get access to location?
See http://developer.sprint.com/site/global/working_with_us/p_p2e/p_p2e.jsp
5. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 5
2009 Sprint Open Developer Conference
Service Enablers and Open APIs
⢠Enhance your web based application with location
Web
Application
Service
Enabler
Sprint
Location GW
opt-in
⢠Open APIs enable native OS apps with location
Sprint
Location GW
Assistance request
Assistance
response
6. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 6
2009 Sprint Open Developer Conference
Device Type verses Location Type
⢠Many GPS capabilities are Open
Android Blackberry Palm Web OS Windows CDMA Java iDEN Java
Autonomous GPS Open Open Open Open
Instinct - Open
Others -Restricted
Open
MS-Based GPS N/A Open Open Open
Instinct - Open
Others -Restricted
Open
MS-Assisted via Network API
via Network API
(CDMA Only)
Once per hour
OR
via Network API
via Network API
Restricted
or
via Network API
N/A
Cell Tower Open Open N/A N/A Restricted Open
7. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 7
2009 Sprint Open Developer Conference
CDMA Location Method
Controlled by application & environment
Network PDE
Autonomous Operation
High fix rate
No network support
Must âseeâ satellites
MS-Based Operation
High fix rate
Reqâs network support
(approx. 1 / hour)
Must âsee satellitesâ
Improved acquisition time &
sensitivity over autonomous
MS-Assisted Operation
Low fix rate
Network support each fix
Indoor fix capable
Hybrid
Fix
AFLT
Fix
Cell Sector
Fix
Cell Tower Operation
High fix rate
No LBS network support
Serving Cell Tower Loc.
(poorest accuracy)
GPS
Fix
Declining Accuracy
8. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 8
2009 Sprint Open Developer Conference
AGPS fix hierarchy (CDMA)
Cell/Sector Fix ⌠indoors, edge coverageCell/Sector Fix ⌠indoors, edge coverage
Cell/Sector location reports the center of the cell/sector
as the handset position.
AFLT Fix ⌠indoorsAFLT Fix ⌠indoors
AFLT Fix requires a minimum of three
CDMA pilot Phase measurements to fix
position in accordance with TDOA (Time
Difference of Arrival) theory. If less than
three are available, use Cell/Sector.
Hybrid Fix ⌠partial view of skyHybrid Fix ⌠partial view of sky
CDMA pilot phase measurements can be
used as a virtual GPS measurement in
fixing position. If no GPS measurements
are possible, attempt AFLT fix.
AGPS Fix ... open skyAGPS Fix ... open sky
AGPS Fix requires a minimum of three GPS measurements.
âAssistedâ because network resources still required. Fewer
than three, attempt Hybrid Fix.
9. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 9
2009 Sprint Open Developer Conference
Non-AGPS Capabilities (iDEN & CDMA)
Cell Tower Fix ⌠No GPS, indoorsCell Tower Fix ⌠No GPS, indoors
Cell Tower (Cell Site) location reports the Longitude/Latitude
the serving Cell Tower as the current position.
Autonomous GPS Fix ... open skyAutonomous GPS Fix ... open sky
âViewâ of a minimum of three GPS
satellites is required. No network
assistance required.
10. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 10
2009 Sprint Open Developer Conference
Generic IS-801 Call Flow (CDMA)
MS
Handset searches for identified
Satellites and collects raw data
PDE
WARN
Obtain AFLT data for Pre-
Fix
Initiate IS-801 Session via
Network or Handset
PDE calculates position using
available information
Satellites over N. America
are continually monitored
Detailed Satellite info
maintained at PDE
Send raw AFLT Data to PDE.
PDE calculates approx. position
PDE returns Satellite Acquisition
& Sensitivity Assistance Data
Handset returns satellite data
and current AFLT data
Return Long/Lat and Uncertainty
(Accuracy) to MS or requesting entity
Raw AFLT data is collected as well
11. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 11
2009 Sprint Open Developer Conference
CDMA Feature Phone Location
⢠MS-Assisted
â GPS/Hybrid/AFLT/Cell Sector
â Indoor Capable
⢠MS-Based GPS
â Very fast update rate
â Outdoor only
⢠Cell Tower Longitude / Latitude (CLM)
12. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 12
2009 Sprint Open Developer Conference
Android Location
⢠GPS Provider
â Autonomous GPS (with gpsOneXTRA)
⢠High precision GPS accuracy
⢠Very fast update rate
⢠Network Provider
â Long / Lat of the serving cell tower
(Note: not accurate when roaming)
13. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 13
2009 Sprint Open Developer Conference
Blackberry Location (CDMA & iDEN)
⢠MS-Based GPS
â High precision GPS accuracy
â Very fast update rate
â Outdoor only (higher sensitivity than autonomous)
⢠Long / Lat of the serving cell tower
14. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 14
2009 Sprint Open Developer Conference
Palm Web OS Location
⢠MS-Based GPS
â Very fast update rate
â Outdoor only
⢠MS-Assisted
â GPS/Hybrid/AFLT/Cell Sector
â Indoor Capable
â Once per hour
15. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 15
2009 Sprint Open Developer Conference
Windows Mobile Location
⢠MS-Based GPS
â High precision GPS accuracy
â Very fast update rate
â Outdoor only (higher sensitivity than autonomous)
16. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 16
2009 Sprint Open Developer Conference
16
Location-Aware Info. Systems Lab
⢠Research
â Improve efficiency of location-based services through
intelligent software
â Create innovative location-aware applications
⢠Education
â Train future workforce in mobile information systems software
development through:
⢠Research assistantships
⢠Classroom education
⢠Commercialization
â Indentify commercial partners
â License relevant technology
â Ongoing partnership for research and career track for students
17. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 17
2009 Sprint Open Developer Conference
17
Challenges Facing Real-time LBS
⢠Battery Life
â GPS chip
⢠Uses energy for every position calculation
⢠Tracking can generate data every few seconds
â Wireless communication
⢠Radio is biggest consumer of battery energy
â Hidden during emulator development
⢠Overwhelming amount of data
â Limited capacity of mobile phones
â Transfer of data to server requires wireless
transmission
â Post-processing â Servers crunches all numbers
â Server storage capacity â Large databases
18. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 18
2009 Sprint Open Developer Conference
18
GPS Interval Changes Can Save Energy!
Sanyo Pro 200
Sprint CDMA
EV-DO Rev. A
network
19. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 19
2009 Sprint Open Developer Conference
19
⢠Transition GPS from âawakeâ to âasleepâ based
on userâs movement
Solution: GPS-Auto Sleep
âASLEEPââAWAKEâ
20. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 20
2009 Sprint Open Developer Conference
20
Solution: GPS-Auto Sleep
Sanyo Pro 200
Sprint CDMA
EV-DO Rev. A
network
âAsleepâ
âAwakeâ
21. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 21
2009 Sprint Open Developer Conference
Potential Savings â GPS Auto-Sleep
With
GPS Auto-
Sleep
Without
GPS Auto-Sleep
~Total # Assisted GPS Fixes
(Over 13 hrs)
1,035 11,700
21
⢠Also reduces cost for using assisted GPS, since
fewer fixes are calculated
*Sleep time of 120 seconds between GPS fixes while user is not moving,
and 4 seconds between GPS fixes while user is moving
22. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 22
2009 Sprint Open Developer Conference
22
Wireless Transmissions Use Energy!
Sanyo 7050
Sprint CDMA
1xRTT network
UDP
23. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 23
2009 Sprint Open Developer Conference
23
Solution: Critical Point Algorithm
⢠Pre-filters real-time GPS data on mobile device before
it is wireless transmitted
⢠Preserves representation of path while eliminating
redundant, or ânon-critical,â data
24. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 24
2009 Sprint Open Developer Conference
24
Solution: Critical Point Algorithm
All GPS Points Critical Points Only
25. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 25
2009 Sprint Open Developer Conference
25
Potential Savings â Critical Point Algorithm
26. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 26
2009 Sprint Open Developer Conference
Distributed Systems Use Web Services
⢠Mobile phone must communicate with server
⢠Web Services are useful for request-response model
⢠Two common ways to implement web services:
â SOAP
⢠XML-based messaging protocol
⢠Encapsulates data in XML tags
⢠Normally on top of HTTP
â HTTP (e.g. REST-ful Web Service)
⢠Directly uses HTTP methods
â (e.g.POST)
⢠State-less model
⢠No additional tags required for data
26
Layered Networking Model
27. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 27
2009 Sprint Open Developer Conference
Extra overhead (e.g. XML) costs energy!
27
Motorola i580
Nextel iDEN
network
⢠Using REST-ful web services instead of XML-based
(e.g. JAX-RPC) can save energy
28. Š 2009 Sprint. This information is subject to Sprint policies regarding use and is the property of Sprint and/or its relevant affiliates and may contain restricted, confidential or privileged materials intended for the sole
use of the intended recipient. Any review, use, distribution or disclosure is prohibited without authorization. 28
2009 Sprint Open Developer Conference
28
Implications â Need Smarter Mobile Apps!
⢠LAISYC Framework handles energy, privacy,
security, authenticity, scalability for real-time apps