c aware processing of continuous location …€¦ · query language for navigation-related queries...
TRANSCRIPT
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
CONTEXT-AWARE PROCESSING OF CONTINUOUS
LOCATION-DEPENDENT QUERIES IN INDOOR
ENVIRONMENTSMOVE - DELFT MEETING - NETHERLANDS - STSM SESSION
Imad AFYOUNI
Naval Academy Research InstituteDepartment of Computer Science
15 Mars 2012
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 1 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
TALK OUTLINE
1 RESEARCH CONTEXTLocation- and context-aware services and queries in indoorenvironmentsResearch challenges
2 SUMMARY OF RESULTSA hierarchical and context-dependent indoor data modelContinuous query processing architectureQuery language for navigation-related queries in indoor environmentsContinuous processing of location-dependent queries
3 DISCUSSIONActivities and achievements during the STSMResearch perspectives
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 2 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
TALK OUTLINE
1 RESEARCH CONTEXTLocation- and context-aware services and queries in indoorenvironmentsResearch challenges
2 SUMMARY OF RESULTSA hierarchical and context-dependent indoor data modelContinuous query processing architectureQuery language for navigation-related queries in indoor environmentsContinuous processing of location-dependent queries
3 DISCUSSIONActivities and achievements during the STSMResearch perspectives
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 3 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
LOCATION- AND CONTEXT-AWARE SERVICES AND QUERIES IN INDOOR ENVIRONMENTS
LOCATION- AND CONTEXT-AWARE SERVICES AND
QUERIES IN INDOOR ENVIRONMENTS
Context-aware indoor navigation services exploit context dimensions inorder to
? anticipate user’s needs? customize the user’s experience
Many components that contribute to the design of a context-awaresystem should be reflected by the spatial model underneath
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 4 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
LOCATION- AND CONTEXT-AWARE SERVICES AND QUERIES IN INDOOR ENVIRONMENTS
LOCATION- AND CONTEXT-AWARE SERVICES AND
QUERIES IN INDOOR ENVIRONMENTS
Context-aware indoor navigation services exploit context dimensions inorder to
? anticipate user’s needs? customize the user’s experience
Many components that contribute to the design of a context-awaresystem should be reflected by the spatial model underneath
Location-dependent queries (LDQ) comprise requests triggered by theuser to “pull” some location-dependent information about objects ofinterest
? Position queries? Navigation queries? Range queries? K nearest neighbour (kNN) queries
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 4 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
RESEARCH CHALLENGES
RESEARCH CHALLENGES
Developing a context-dependent indoor data model that? represents the features that populate the environment along with their
dynamic properties? supports a large spectrum of services and queries (at different levels of
abstraction)
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 5 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
RESEARCH CHALLENGES
RESEARCH CHALLENGES
Developing a context-dependent indoor data model that? represents the features that populate the environment along with their
dynamic properties? supports a large spectrum of services and queries (at different levels of
abstraction)
Designing a continuous query processing architecture for LDQs in indoorenvironmentsIntroducing a query language to improve expressiveness ofnavigation-related queriesDeveloping algorithms to process continuous navigation, range, andnearest neighbour queries in indoor environments
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 5 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
TALK OUTLINE
1 RESEARCH CONTEXTLocation- and context-aware services and queries in indoorenvironmentsResearch challenges
2 SUMMARY OF RESULTSA hierarchical and context-dependent indoor data modelContinuous query processing architectureQuery language for navigation-related queries in indoor environmentsContinuous processing of location-dependent queries
3 DISCUSSIONActivities and achievements during the STSMResearch perspectives
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 6 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
A HIERARCHICAL AND CONTEXT-DEPENDENT INDOOR DATA MODEL
A HIERARCHICAL AND CONTEXT-DEPENDENT INDOOR
DATA MODEL
Room06
Balcony
MeetingRoom02 MeetingRoom03 Room07
Room05
Room04
Room10
BreakroomRoom11
Room09
Room08
Room12
HW05
Bathroom
Bathroom
BathroomBathroom
Bathroom
Bathroom Bathroom
Balcony Balcony
Room02
Room03 Room13
Room14
Room15MeetingRoom01
Room01
Room17
Room16
HW01
HW08
Balcony
Balcony
e1 e2
e3
e4
e5e6
e7
e8
e9
FloorExit01
e10
e11
e12
e13 e14
e15
Balcony
Balcony
HW02
HW03
HW04
Balcony
HW06 HW07
Balcony
FloorExit02
FloorExit01
e9
e6
e4
e1
e5 e2 e3
e7 e8
e10
e11 e12 e13 e14
FloorExit02
hierarchical link (parent-child)
horizontal link (directly accessible)
Stair01
HW03
HW02
MR01 HW01
R01
BT01
BT02 R17 R16
R15
HW04
R02 R03 BT01 R13 R14
Stair02
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 7 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
CONTINUOUS QUERY PROCESSING ARCHITECTURE
CONTINUOUS QUERY PROCESSING ARCHITECTURE
User Systeminterface
Generatingan SQL-
like query
Parsingthe query
Rewritingand
analysingthe query
Is routecomputa-
tionrequired ?
Route manager
• Refine candidate routes based
on updated edge weights
• Maintain the set of relevant
routes up-to-date
Generatingstandardqueries
Query execution engine
• Update queries with the loca-
tions of relevant objects and with
the new set of relevant routes, if
needed
• Execute standard queries
• Correlate results of standard
queries
• Present the answer
Distribution manager
Graph&
contextdata
Graph&
contextdata
Graph&
contextdata
Graph&
contextdata
Cancel ?
stop
Phase 1
SQL-like query
Phase 2 Phase 3 Phase 4
Phase 5
yes
no
Phase 7 Phase 6
yes
no
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 8 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
QUERY LANGUAGE FOR NAVIGATION-RELATED QUERIES IN INDOOR ENVIRONMENTS
QUERY LANGUAGE FOR NAVIGATION-RELATED QUERIES
IN INDOOR ENVIRONMENTS
General query structureQuery → (Standard-query | Navigation-query)
Navigation-query → select (Attr-Projections | ‘*’) from All-routes-expression (‘,’Class-names)*(with Stop-vertices) ? (where Conds) ?(optimization-criteria) ?
All-routes-expression → All-routes ‘(’Loc-Ref ‘,’ Loc-Target ‘)’
Loc-Ref → Object-id (‘.’‘coord’) ? | gr ‘(’Map-id‘,’Object-id ‘)’ | gr-map ‘(’ Map-id ’,’Gr-id ‘)’| Vertex-id
Loc-Target → Class-name | Object-id | Vertex-id‘.’‘coord’| gr ‘(’Map-id ‘,’Class-name ‘)’
Location-dependent conditionsLDQ-Cond → inside ‘(’ Args-Inside ‘)’ | nearest
‘(’Args-Nearest ‘)’| ...
Args-Inside → Radius ‘,’ Loc-Ref ‘,’ Loc-Target
Args-Nearest → K ‘,’ Loc-Ref ‘,’ Loc-Target
Example of a navigation query : Find the shortest route from person‘userID1’ to person ‘userID2’, showing the results at the room level :
SELECT gr(‘room-level’, RO.id)FROM Person AS P1, Person AS P2All-routes(gr(‘micro’, P1),gr(‘micro’, P2)) AS ROWHERE P1.id = ‘userID1’AND P2.id = ‘userID2’MINIMIZE length(RO)
Example of a range query : Retrieve all the communicating entities in thevicinity (at a distance smaller than 100 meters) of a user identified by ‘userID’and with a communication range of at least 200 meters :
SELECT CO.idFROM Object AS COWHERE inside(100 meters,gr(‘micro’,‘userID’), CO)AND CO.Communicate = trueAND CO.commRange >= 200
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 9 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
CONTINUOUS PROCESSING OF LOCATION-DEPENDENT QUERIES
PROCESSING OF CONTINUOUS NAVIGATION QUERIES
STEP 1 → STEP 3 : HIERARCHICAL PATH SEARCH
1 Find the optimal path within the initial granule until reaching the nearest exit2 Search at the abstract level for the optimal path from the exit of the initial granule
to the granule containing the target object3 Find the optimal path within the last granule to the target object starting from the
corresponding entrance of the granule
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 10 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
CONTINUOUS PROCESSING OF LOCATION-DEPENDENT QUERIES
PROCESSING OF CONTINUOUS NAVIGATION QUERIES
STEP 1 → STEP 3 : HIERARCHICAL PATH SEARCH
1 Find the optimal path within the initial granule until reaching the nearest exit2 Search at the abstract level for the optimal path from the exit of the initial granule
to the granule containing the target object3 Find the optimal path within the last granule to the target object starting from the
corresponding entrance of the granule
STEP 4 : CONTINUOUS PROCESSING OF THE QUERY
4 Step 4 starts a continuous path search by taking into account updated locationsof reference and target objects (considering moving targets)
1 Transform an initial search tree rooted by the previous vstart to an updatedtree rooted by the current vstart
2 The algorithm continues either by expanding new sub-trees from the leavestowards the target and/or by removing sub-trees that are no longer needed
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 10 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
CONTINUOUS PROCESSING OF LOCATION-DEPENDENT QUERIES
PROCESSING OF CONTINUOUS RANGE QUERIES
1ST ITERATION : HIERARCHICAL NETWORK EXPANSION
1 Perform a hierarchical network expansion in all directions around the referenceobject
2 Keep all visited nodes along with pointers to their parent nodes as well as weightsto the source node
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 11 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
CONTINUOUS PROCESSING OF LOCATION-DEPENDENT QUERIES
PROCESSING OF CONTINUOUS RANGE QUERIES
1ST ITERATION : HIERARCHICAL NETWORK EXPANSION
1 Perform a hierarchical network expansion in all directions around the referenceobject
2 Keep all visited nodes along with pointers to their parent nodes as well as weightsto the source node
CONTINUOUS PROCESSING OF THE QUERY
3 Update the set of parent nodes when changing the root of the sub-tree (i.e., whenthe reference object moves)
4 Boundary nodes are checked to decide, for each of them, whether to furtherexpand this node or to perform a reverse search towards the source to removenodes that are not relevant any more
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 11 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
TALK OUTLINE
1 RESEARCH CONTEXTLocation- and context-aware services and queries in indoorenvironmentsResearch challenges
2 SUMMARY OF RESULTSA hierarchical and context-dependent indoor data modelContinuous query processing architectureQuery language for navigation-related queries in indoor environmentsContinuous processing of location-dependent queries
3 DISCUSSIONActivities and achievements during the STSMResearch perspectives
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 12 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
ACTIVITIES AND ACHIEVEMENTS DURING THE STSM
ACTIVITIES AND ACHIEVEMENTS DURING THE STSM
MAIN CONTRIBUTIONS
An extension of the hierarchical and context-dependent indoor data model
A generic architecture to process continuous location-dependent queries inindoor environments
A continuous indoor-based query language for location-dependent queries
Hierarchical and incremental algorithms applied to both static and moving objectsare proposed for continuous navigation and range queries
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 13 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
ACTIVITIES AND ACHIEVEMENTS DURING THE STSM
ACTIVITIES AND ACHIEVEMENTS DURING THE STSM
MAIN CONTRIBUTIONS
An extension of the hierarchical and context-dependent indoor data model
A generic architecture to process continuous location-dependent queries inindoor environments
A continuous indoor-based query language for location-dependent queries
Hierarchical and incremental algorithms applied to both static and moving objectsare proposed for continuous navigation and range queries
PERSONAL EXPERIENCE
Opportunity to learn about location-dependent query processing
Many fruitful discussions with Dr. Ilarri from University of Zaragoza, Spain
A fruitful collaboration : Jaise paper (submitted)
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 13 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
RESEARCH PERSPECTIVES
RESEARCH PERSPECTIVES
CURRENT AND FURTHER WORKS
Studying existing platforms that favour network-based data models and allowquerying moving objects over spatial networks (e.g., Secondo, LOQOMOTION)
Analysing the efficiency and scalability of the solutions proposed to deal withcontinuous location-dependent queries
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 14 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
RESEARCH PERSPECTIVES
RESEARCH PERSPECTIVES
CURRENT AND FURTHER WORKS
Studying existing platforms that favour network-based data models and allowquerying moving objects over spatial networks (e.g., Secondo, LOQOMOTION)
Analysing the efficiency and scalability of the solutions proposed to deal withcontinuous location-dependent queries
IMPLEMENTATION REQUIREMENTS
An extensible DBMS that supports
? developing network-based data models? new algebra (i.e., specific data types and operations)? implementing algorithms for LDQ processing over moving objects
Continuous query processing architecture : could integrate a simulator of movingobjects
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 14 / 15
RESEARCH CONTEXT SUMMARY OF RESULTS DISCUSSION
RESEARCH PERSPECTIVES
Thank you very much for yourattention !
Imad Afyounisupervised by :
Pr. Christophe Claramunt&
Dr. Cyril RayNaval Academy Research Institute,
IMAD AFYOUNI (IRENAV) MOVE - DELFT MEETING 2012 15 MARS 2012 15 / 15