Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company
-
Upload
dan-atzmon -
Category
Engineering
-
view
825 -
download
3
description
Transcript of Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company
![Page 1: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/1.jpg)
Making Contextual Awareness a Reality on a Mass Scale while Keeping it Personal
![Page 2: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/2.jpg)
Creating an Always-on Location SDK
• Tracking the app user’s location 24/7
• Runs in the background
• Efficiently
• Enabling smart engagement
![Page 3: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/3.jpg)
• Make apps relevant
– Provide relevant info and offers at the right
time and place!
• Provide better service and value
– Smart reminders
• Reduce spam
– Enable truly personal marketing based on
consumer needs
Contextual awareness is
great!
![Page 4: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/4.jpg)
How did we get here?
• The road from app to SDK
• KitLocate in brief
• Developing an SDK and platform
that enables always-on location
features
• Yandex
![Page 5: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/5.jpg)
• Largest European Internet Business
– $9B Market Cap
– $1,207 B Revenues (2013)
– YNDX (NASDAQ) (2011)
• More than 6000 people strong
• 17 offices in 8 countries (Berlin!)
• #1 Internet Destination in Russia (61%)
• CIS and Turkey
![Page 6: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/6.jpg)
• Traffic layer • Driving directions• Geographic search• Satellite imagery• Vector map data• Map rendering• Panoramas
![Page 7: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/7.jpg)
Sensing location on a mobile device
GPS Cell towerWiFiBluetooth NFC
AccelormeterGyroscopeMagnometerTemperatureHumidity
MicrophonesCamerasLightProximityTouch
![Page 8: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/8.jpg)
Criteria Cell Wi-Fi GPS
~Accuracy(radius in meters)
500 - 2000 30 - 200 5 - 20
Energy consumption
Low* Low* High
Limitations Signalavailability
Wi-Fi enabledand mapping
GPS enabled and initial focus time **
Reliability Reliable (-) Sometimes… Reliable (-)
Location Sensor Attributes
![Page 9: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/9.jpg)
Obstacles along the way…
![Page 10: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/10.jpg)
• 24/7 location sampling
• Low tolerance for power
hungry apps
LOCATION SAMPLING IS
VERY POWER HUNGRY
![Page 11: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/11.jpg)
How to consume less (industry lowest)
• Intelligent sampling of sensors (a few examples):
• Use accelerometer to verify movement before periodic sampling
• Increase sample rate and quality as user gets close to Geo
Fence
• A lot of smart coding tradecraft
• Running efficiently in the background
• Internet connection management :
• Prefer using WIFI when available
• Prefer sending big data chunks in low frequency
![Page 12: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/12.jpg)
Sometimes sensors do not tell the whole
truth
![Page 13: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/13.jpg)
• THE PROBLEM:
• Some devices don’t receive accelerometer changes
when the screen is off
• THE SOLUTION:
• Check if during an interval of the accelerometer you
received any changes – if not, remember it and stop
using the accelerometer when the screen is off
Accelerometer Problem
![Page 14: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/14.jpg)
• THE PROBLEM:
• Some devices receive upon the initiation of the
iteration old location from last iteration, but with a new
timestamp.
• THE SOLUTION:
• Examine location history over a longer period and
ignore the locations which are recognized from old
iterations.
Location Sample
Problem
![Page 15: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/15.jpg)
• THE PROBLEM:
• Wi-Fi – Incorrect mapping can cause false locations
• Cell - Reception problems can cause significant location
change
• GPS – Mocking locations can cause false locations
• THE SOLUTION:
• We don’t trust the locations we receive. We compare it to
the user movement pattern and verify its location
False Location
![Page 16: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/16.jpg)
• Missing Hardware
• Check every hardware before using it – not all phones
have GPS…
• Missing Software
• Some ROMs don’t offer Google Play services,
especially devices sold in China / Russia / LATAM.
Missing Hardware /
Software
![Page 17: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/17.jpg)
USER’S
PERCEPTION
ISSUES
![Page 18: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/18.jpg)
HOW DOES IT MEASURE?
Heat Burns – subjective user defined
3rd party Applications
PHONE
HEATING
PHONE
HEATING
![Page 19: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/19.jpg)
HOW TO AVOID?
• SDK activity is managed in light of the temperature of
the device, if need be:
• Skip internet connection
• Disable sensors
PHONE HEATING
![Page 20: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/20.jpg)
GPS ICON
• Minimize your use of GPS:
• Listen (passive) to GPS state and use that data
• Run GPS only when screen is off
• Run GPS for short period of time
![Page 21: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/21.jpg)
• If you are not essential:
Don’t be there!
• Run efficiently in the background
RUNNING APPS`
![Page 22: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/22.jpg)
PRIVACY
• Legal
• Policy
• User perception
![Page 23: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/23.jpg)
• Intelligent sampling!
– Sample according to application’s needs
– Use location data from other running apps
– Escalate from low power to GPS only when
needed
• Overcome and fix sample errors
• Minimize battery and data consumption
• Manage users’ perceptions
SDK recap
![Page 24: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/24.jpg)
• Geo-fencing
• Better foreground
& single location
USING KITLOCATE IN YOUR CODE
• Periodic location
• Social
• Movement detection
• Push notification platform (Cloud and SDK)
• Remote Geo Fence management (Cloud)
![Page 25: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/25.jpg)
![Page 26: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/26.jpg)
![Page 27: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/27.jpg)
![Page 28: Where Camp Berlin 2014 / Presentation by KitLocate - a Yandex company](https://reader033.fdocuments.net/reader033/viewer/2022060121/55943fd51a28abf15b8b479c/html5/thumbnails/28.jpg)