Upload
kirill-krinkin
View
927
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
1
India, Feb 2013
Location Based Services and Geo-tagging.Geo2tag platform introduction.
2
India, Feb 2013
Location Based Services
● LBS = using geographical context– Indoor services
– Mobile healthcare
– City information● Transport● Traffic● ...
3
India, Feb 2013
Geo-tagging
● Def: the process of adding geographical identification metadata to various media:– Photo, video
– Web-pages,
– SMS, QR-codes
– files
4
India, Feb 2013
Terminology
● Tag – tuple <t, L, B, H, data>,– t – time
– B,L,H – coordinates
– data – text data ~1K
● Channel – classifier for group of tags
5
India, Feb 2013
Main features of tagging system
● Access to tags● Classification● Filtering
● Session and User management
● Massive data processing
6
India, Feb 2013
Channels and tags
LBS Platform
Канал
Channel
Channel
Channel
Channel
Tag- time- coordinates- data (link)
Filtration- time- radius- figure (2D or 3D)
Tag
Tag
Tag
7
India, Feb 2013
Geo2tag architecture
Que
ry e
ngin
e
Session manager
HP database
BLOBs
cache
Indexer
Cluster/cloudinfrastructure
backend
clients
Libraries: jgeo, http_reqs
Session cache
web
android
web
Qt-based
embedded
JSON
System cache
8
India, Feb 2013
Development resources
● http://geo2tag.org
● http://india.geo2tag.org
● http://geo2tag.org/index.php/API_description
● https://github.com/geo2tag
● http://geo2tag.atlassian.net
9
India, Feb 2013
JSON/REST API
Command:– Service URL
– Function
– Parameters
Example
http://india.geo2tag.org/service/login?{json}
– Json: '{"login":"Mark","password":"test"}
10
India, Feb 2013
Invoking by curl
$ curl -d '{"login":"Mark","password":"test"}' http://india.geo2tag.org/service/login
11
India, Feb 2013
Command security
● Plain commands (version, build,...)● Session management
– login
– closeSession
● Authorized commands– With session token
12
India, Feb 2013
Session workflow
● Check version● Acquire session token● … R/W tags, channels ● Close session
13
India, Feb 2013
Login
● /login– login
– password
14
India, Feb 2013
User management
● /addUser– login
– password
● /deleteUser– login
15
India, Feb 2013
Channel Management
● /addChannel– name
– description
– url
– radius
● /owned● /subscribe● /subscribed
16
India, Feb 2013
Working with tags
● /writeTag– channel
– description
– {coordinates}
– time
– title
● /loadTags– latitude
– longitude
– radius
–