here - Bonvoyage 2020 Project

Download Report

Transcript here - Bonvoyage 2020 Project

Bruxelles, 14-Dec-16
Clustering our sources and services
Andrea Detti, Lorenzo Bracciale
CNIT, University of Rome Tor Vergata
[email protected]
http://netgroup.uniroma2.it/people/faculties/andrea-detti/
+39 06 7259 7445
also supported by
ITS Data and Service Sharing: the problem
I need ITS data or services
available in Brussels. May
be some cluster projects
can help me?
Andrea Detti, [email protected],
netgroup.uniroma2.it/people/faculties/andrea-detti/
2
ITS Data and Service Sharing: the solution
Data and Services
provided by projects of
the cluster
Federated Spatial
Database for discovery
ICN based
Andrea Detti, [email protected]
ITS Data and Service Sharing: consumer how to
Spatial
Query
Metadata describing
data and services
in selected area
Direct connection with
data and services
Andrea Detti, [email protected],
netgroup.uniroma2.it/people/faculties/andrea-detti/
4
ITS Data and Service Sharing: consumer how to
http://bonvoyage2020.eu/travelcentricservices/
Andrea Detti, [email protected],
netgroup.uniroma2.it/people/faculties/andrea-detti/
5
ITS Data and Service Sharing: producer how to
Data and
Services
Data
GEOJSON
Spatial Objects
Metadata
Extraction
Federated Spatial
Database for
discovery
Geometry
(point, multipoint,
line, polygon, etc.)
Services
Property
DATA URL
(URL, king of
service, etc.)
Andrea Detti, [email protected]
6
Thank you
Questions?
UNIVERSITY OF ROME “TOR VERGATA”
Department of Electronics Engineering
Via del Politecnico, 1 - 00133 Rome - Italy
Andrea Detti, Ph. D.
Professor of Telecommunications
Phone: +39 06 7259 7445
Fax: +39 06 7259 7435
e-mail: [email protected]
Andrea Detti, [email protected]
7
BACKUP SLIDES
Andrea Detti, [email protected],
netgroup.uniroma2.it/people/faculties/andrea-detti/
8
OpenGeoBase
• Distributed/Federated Spatial Database based on Information
Centric Networking (ICN) technology
Range
Query
App
Front-end
Library
Certificate
Repo
Database
Engines
(modified NDN repo)
(JNDN running in SPRING App
Server)
HTTPs or
Local Interface
ICN
NFD,NLSR
Cloud or Virtual Private Network (VPN)
9
State of art: face to face
OGB
Existing noSQL DB (e.g. MongoDB)
• Federated deployment
–
• Distributed deployment
Many administrators responsible of
their data partition
• Geographical sharding
Single administrator responsible for
all
• Hash sharding
DB engines associated to different
geo partition
– A DB engine can be dedicated to
store all data of a country
–
• Query routing
–
–
DB engines associated to different
hash partition
– A DB engine can not be dedicated
to store data of a country
–
• Query flooding
Queries are sent only to relevant DBs
• Data-centric security
–
Queries sent to all DBs
• Table-centric security
Per-data user right
– Data owners are responsible for data
validity
–
• Directive 2010/40/EU compliant
Per-table user right
– Administrator is responsible for
data validity
–
• ?
Andrea Detti, [email protected],
http://netgroup.uniroma2.it/Andrea_Detti
10
Programming: Login
import com.bonvoyage.ogb.client.*;
String uid = “test";// user id
String tid = “test";// tenant id
String pwd = “test";// password
String cid = "GTFS";// collection id
String serverURL = "https://160.80.103.207:443";
String token;
OgbClient ogbTestClient = new OgbClient(serverURL);
// LOGIN
token=ogbTestClient.login(uid, tid, pwd);
Andrea Detti, [email protected],
http://netgroup.uniroma2.it/Andrea_Detti
11
Programming: Insert a GeoJSON Point
// INSERTION OF POINT OBJECT
// point coordinates (lon,lat)
double [] coordinates = {0.1, 0.1};
// point properties
HashMap<String,String> prop = new HashMap<String,String>();
prop.put(“train-name", “ICE 373");
prop.put(“train-speed", “170 km/h");
// db insertion, response is the object identifier (oid)
String oid = ogbTestClient.addPoint(token,cid, prop, coordinates);
Andrea Detti, [email protected],
http://netgroup.uniroma2.it/Andrea_Detti
12
Programming: RangeQuery
// RANGE QUERY, response is a JSON Array of GeoJSON objects
double sw_lat=0.0;
double sw_lon=0.0;
double size = 0.5;
String response = ogbTestClient.rangeQuery(token, cid, sw_lat, sw_lon, size);
Andrea Detti, [email protected],
http://netgroup.uniroma2.it/Andrea_Detti
13