SlideShare a Scribd company logo
1 of 30
ACaching Scheme for Nearest-Neighbor
Queries in Mobile Database
1
Presented By : Sandi Winn Aye
Outline
 Abstract
 Objectives
 Introduction
 Proposed System
 System Flow Chart
 Server Side
 Client Side
 Implementation
 Limitations of Proposed System
 Conclusion
2
Abstract
 As the geographical position of a mobile user is becoming
more traceable, users need to pull data which are related to
their location.
 It is strongly recommended to minimize number of
connections and volume of data transmission from the servers.
 Caching data that are frequently accessed by mobile user in the
client side is an appropriate technique.
3
Cont’d (Abstract)
 Most of the existing location services providers give more than
one nearest-neighbour queries results.
 In this system, a new caching scheme which is based on hybrid
and semantic caching is proposed.
 In server side, the kd-tree partition method is used to answer
nearest-neighbor queries.
4
Objectives
 To get one only result nearest to the user current location
 To reduce the cache size by using hybrid caching
 To save the trips to the server by using semantic caching
 To minimize the search space by using kd-tree partition method in the
server side
 To get nearest neighbour result quickly and effectively by this partition
method
5
Introduction
 The advances in wireless and mobile computing allow a
mobile user to perform a wide range of application although
there are some limitations in non-mobile hard wired
computing environments.
 Database applications are of special interest to us in mobile
computing environment.
 Database model in wireless devices are different from regular
client-server database.
6
Cont’d (Introduction)
 There are many limitations such as frequent disconnection to
server, low power capabilities of these devices, etc. in the mobile
environment.
 Caching some of data which are frequently accessed by the user
in the client cache is a suitable solution.
 Resource-consuming caused by upstream queries and number of
trips made to the server can be reduced in this way.
7
Proposed System
 Taking the advantages of caching scheme, this system offers the
query result to the users based on their current location quickly.
 Moreover, the connection and data transmission from the Database
server to the client can be reduced.
 The proposed system consists of two sides: sever side and client
side.
 As the pre-processing, the region for each data object is defined by
using adaptive-partition method in the server side.
8
Cont’d (Proposed System)
 In the client side, the hybrid caching is combined with
semantic caching.
 The previous query answers are cached in the client system’s
cache according to the proposed caching’s policy.
 If there is a suitable answer corresponding to the user’s query
in the client’s cache, this query can be answered from that
cache without connecting to the server.
9
Flow Chart of Proposed System
User’s location and
Query?
Start
Is there query
cache?
Display Result
End
Cache’s
DB
Retrieving Data From
Client’ cache
Nearest Neighbor
data object
Processing in Server Server’s DB
Storing query result
in Cache’s DB
no
yes
Checking to Cache’s
DB for query result
result in client’s
Client
Side
Server
Side
10
Server Side
 In the server side, the search space is divided by using kd-
tree partition method.
 It recursively partitions the search space into two
complementary subspace such that the number of objects
associated with the two subspaces is nearly the same.
 The space is partitioned horizontally or vertically.
11
Cont’d (Server Side)
 Split the point set alternatingly by x-coordinate and by y-
coordinate.
 split by x-coordinate: split by a vertical line that has half the points
left and half right.
 split by y-coordinate: split by a horizontal line that has half the
points below and half above.
 Each internal node stores the splitting node along x (or y).
12
Cont’d (Server Side)
13
Cont’d(Server Side)
Nearest-Neighbor Search
 Starting with the root node, the algorithm moves down the tree
recursively.
 (i.e. it goes right or left depending on whether the point is
greater or less than the current node in the split dimension).
 Once the algorithm reaches a leaf node, it saves that node
point as the "current best“.
 The algorithm unwinds the recursion of the tree, performing
the following steps at each node.
14
Client Side
 As there are limitations in the wireless environment, it is strongly
recommended to save the trip to the server.
 Caching seems to be profitable in such situations.
 Caching the previous nearest object in client system’s cache will be
applicable for the forthcoming queries.
15
Cont’d (Client Side)
 All previous nearest objects can’t be cached in client’s cache
because of limited size of the cache.
 It needs to cache some of the objects that are frequently accessed
by database applications.
 In the proposed caching scheme, there are two types of caching:
hybrid caching and semantic caching.
16
Hybrid Caching
 Hybrid caching is a mix of object caching and attribute
caching.
 In object caching, it stores an object that is frequently
requested by the mobile user.
 All attributes of this object are cached in the client side.
17
Cont’d (Hybrid Caching)
 This not only wastes the transmission bandwidth, but also
occupies storage for caching other more frequently
accessed attributes.
 In the attribute caching, it cache attributes of this object
that is mostly accessed.
18
Semantic Caching
 The semantic description and results of previous query results are
stored in the mobile client cache.
 By using semantic caching, a query can be partially answered from
the client cache if a query isn’t an exact match.
 Then the original query is trimmed and the trimmed part is sent to
the server and processed there.
 The amount of connection and data transmission to the server can
be reduced by processing queries according to this caching.
19
Cont’d (Semantic Caching)
 The semantic description contains object name, attribute set, the
location of client that is described by x, y coordinate as
<SO,SA,PX,PY>.
 This semantic description is as shown in the table.
20
SO SA PX PY
hotel street 10 30
hotel street,tel 20 40
restaurant street 50 60
restaurant cuisine 70 80
hotel tel 55 66
Cont’d (Semantic Caching)
 By trimming queries, previous results in the client cache
can be partially used if the query is not an exact match.
 The communication cost from client to server can be
reduced.
 Only select and project queries can be applied.
21
Implementation
There are possible conditions according to user current location.
• If a new query is totally answered from the client cache,
communication to the server is unnecessary.
• If a new query doesn’t exactly match the one from the client cache,
it needs to connect with the server.
• By using semantic caching, a query can be partially answered from
the client cache in above condition.
• The original query is trimmed and the trimmed part is sent to the
server and processed there.
22
Cont’d(Implementation)
• The amount of data transmission to the server can be
reduced by processing queries according to this caching.
• Main advantage of semantic caching is that by trimming
queries, previous results in the client cache can be used if
the query is not an exact match.
• Moreover, the communication from client to server can
be reduced.
23
Cont’d(Implementation)
 The user can get her current location which is shown as latitude
and longitude from GPS.
 There are seven services in this proposed system.
 Moreover, there are some attributes related to each service.
 Firstly, one service and some attributes which she wants to find
nearest one to her current location can be chosen.
 After getting her location and choosing one service and its
attributes, the system checks the client’s cache base on her current
position to see whether the query answer is available.
 If there is a suitable cache record corresponding to the location of
the user, the most appropriate answer is retrieved from the cache
and this answer can be returned to the mobile user quickly.
24
Cont’d(Implementation)
25
Cont’d(Implementation)
 Otherwise, the current
location of the user and
query are transmitted to
the server.
 The server finds one
nearest neighbor object
and its attributes
according to the user’s
current location and
sends back one nearest
neighbor object to the
user. 26
Cont’d(Implementation)
• When data is sent by the client, only one nearest-neighbor
result is computed in the server as follows:
27
Conclusion
 In this system, the location-based application that
provides only one nearest neighbour based on user
current location has been proposed.
 To overcome limitations in the mobile environment, this
system presents that data caching is a profitable solution.
 A new caching scheme is proposed to find only one
nearest neighbour result and its related attributes based on
user current position.
28
Cont’d (Conclusion)
 Hybrid caching and semantic caching are used by the proposed
system for reducing wireless data transmission and cache size.
 KD-tree partition index is used in the server side to answer
queries for finding the nearest services facilities based on
mobile client’s locations more accurately.
29
30

More Related Content

What's hot

Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...IJERA Editor
 
IEEE Parallel and distributed system 2016 Title and Abstract
IEEE Parallel and distributed system 2016 Title and AbstractIEEE Parallel and distributed system 2016 Title and Abstract
IEEE Parallel and distributed system 2016 Title and Abstracttsysglobalsolutions
 
Service performance and analysis in cloud computing extened 2
Service performance and analysis in cloud computing   extened 2Service performance and analysis in cloud computing   extened 2
Service performance and analysis in cloud computing extened 2Abdullaziz Tagawy
 
COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR...
 COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR... COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR...
COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR...Nexgen Technology
 
QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...
QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...
QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...Papitha Velumani
 
PRShare: a framework for privacy-preserving, interorganizational data sharing.
PRShare: a framework for privacy-preserving, interorganizational data sharing.PRShare: a framework for privacy-preserving, interorganizational data sharing.
PRShare: a framework for privacy-preserving, interorganizational data sharing.Lihi Idan
 
Towards secure and dependable storage service in cloud
Towards secure and dependable storage service in cloudTowards secure and dependable storage service in cloud
Towards secure and dependable storage service in cloudsibidlegend
 
IRJET- Continuous Auditing Approach to the Cloud Service Addressing Attri...
IRJET-  	  Continuous Auditing Approach to the Cloud Service Addressing Attri...IRJET-  	  Continuous Auditing Approach to the Cloud Service Addressing Attri...
IRJET- Continuous Auditing Approach to the Cloud Service Addressing Attri...IRJET Journal
 
O po r enabling proof of retrievability in cloud computing with resource cons...
O po r enabling proof of retrievability in cloud computing with resource cons...O po r enabling proof of retrievability in cloud computing with resource cons...
O po r enabling proof of retrievability in cloud computing with resource cons...Pvrtechnologies Nellore
 
Development of Effective Audit Service to Maintain Integrity of Migrated Data...
Development of Effective Audit Service to Maintain Integrity of Migrated Data...Development of Effective Audit Service to Maintain Integrity of Migrated Data...
Development of Effective Audit Service to Maintain Integrity of Migrated Data...IRJET Journal
 
Location-aware Query Processing
Location-aware Query ProcessingLocation-aware Query Processing
Location-aware Query Processingcnsaturn
 

What's hot (11)

Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
Analysis of a Pool Management Scheme for Cloud Computing Centres by Using Par...
 
IEEE Parallel and distributed system 2016 Title and Abstract
IEEE Parallel and distributed system 2016 Title and AbstractIEEE Parallel and distributed system 2016 Title and Abstract
IEEE Parallel and distributed system 2016 Title and Abstract
 
Service performance and analysis in cloud computing extened 2
Service performance and analysis in cloud computing   extened 2Service performance and analysis in cloud computing   extened 2
Service performance and analysis in cloud computing extened 2
 
COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR...
 COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR... COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR...
COST-MINIMIZING DYNAMIC MIGRATION OF CONTENT DISTRIBUTION SERVICES INTO HYBR...
 
QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...
QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...
QoS-Aware Data Replication for Data-Intensive Applications in Cloud Computing...
 
PRShare: a framework for privacy-preserving, interorganizational data sharing.
PRShare: a framework for privacy-preserving, interorganizational data sharing.PRShare: a framework for privacy-preserving, interorganizational data sharing.
PRShare: a framework for privacy-preserving, interorganizational data sharing.
 
Towards secure and dependable storage service in cloud
Towards secure and dependable storage service in cloudTowards secure and dependable storage service in cloud
Towards secure and dependable storage service in cloud
 
IRJET- Continuous Auditing Approach to the Cloud Service Addressing Attri...
IRJET-  	  Continuous Auditing Approach to the Cloud Service Addressing Attri...IRJET-  	  Continuous Auditing Approach to the Cloud Service Addressing Attri...
IRJET- Continuous Auditing Approach to the Cloud Service Addressing Attri...
 
O po r enabling proof of retrievability in cloud computing with resource cons...
O po r enabling proof of retrievability in cloud computing with resource cons...O po r enabling proof of retrievability in cloud computing with resource cons...
O po r enabling proof of retrievability in cloud computing with resource cons...
 
Development of Effective Audit Service to Maintain Integrity of Migrated Data...
Development of Effective Audit Service to Maintain Integrity of Migrated Data...Development of Effective Audit Service to Maintain Integrity of Migrated Data...
Development of Effective Audit Service to Maintain Integrity of Migrated Data...
 
Location-aware Query Processing
Location-aware Query ProcessingLocation-aware Query Processing
Location-aware Query Processing
 

Similar to Grds conferences icst and icbelsh (10)

Ieeepro techno solutions 2014 ieee dotnet project - cloud bandwidth and cos...
Ieeepro techno solutions   2014 ieee dotnet project - cloud bandwidth and cos...Ieeepro techno solutions   2014 ieee dotnet project - cloud bandwidth and cos...
Ieeepro techno solutions 2014 ieee dotnet project - cloud bandwidth and cos...ASAITHAMBIRAJAA
 
Ieeepro techno solutions 2014 ieee java project - cloud bandwidth and cost ...
Ieeepro techno solutions   2014 ieee java project - cloud bandwidth and cost ...Ieeepro techno solutions   2014 ieee java project - cloud bandwidth and cost ...
Ieeepro techno solutions 2014 ieee java project - cloud bandwidth and cost ...hemanthbbc
 
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...IJMER
 
A distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networksA distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networksJPINFOTECH JAYAPRAKASH
 
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...Hossam Al-Ansary
 
A survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environmentA survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environmenteSAT Journals
 
A survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environmentA survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environmenteSAT Publishing House
 
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingHybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingEswar Publications
 
Peer to peer cache resolution mechanism for mobile ad hoc networks
Peer to peer cache resolution mechanism for mobile ad hoc networksPeer to peer cache resolution mechanism for mobile ad hoc networks
Peer to peer cache resolution mechanism for mobile ad hoc networksijwmn
 
A novel cache resolution technique for cooperative caching in wireless mobile...
A novel cache resolution technique for cooperative caching in wireless mobile...A novel cache resolution technique for cooperative caching in wireless mobile...
A novel cache resolution technique for cooperative caching in wireless mobile...csandit
 
A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...
A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...
A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...cscpconf
 
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICESA COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICESijcsit
 
Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...JPINFOTECH JAYAPRAKASH
 
Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...JPINFOTECH JAYAPRAKASH
 
A Distributed Control Law for Load Balancing in Content Delivery Networks
A Distributed Control Law for Load Balancing in Content Delivery NetworksA Distributed Control Law for Load Balancing in Content Delivery Networks
A Distributed Control Law for Load Balancing in Content Delivery NetworksSruthi Kamal
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...IEEEFINALYEARPROJECTS
 

Similar to Grds conferences icst and icbelsh (10) (20)

Ieeepro techno solutions 2014 ieee dotnet project - cloud bandwidth and cos...
Ieeepro techno solutions   2014 ieee dotnet project - cloud bandwidth and cos...Ieeepro techno solutions   2014 ieee dotnet project - cloud bandwidth and cos...
Ieeepro techno solutions 2014 ieee dotnet project - cloud bandwidth and cos...
 
Ieeepro techno solutions 2014 ieee java project - cloud bandwidth and cost ...
Ieeepro techno solutions   2014 ieee java project - cloud bandwidth and cost ...Ieeepro techno solutions   2014 ieee java project - cloud bandwidth and cost ...
Ieeepro techno solutions 2014 ieee java project - cloud bandwidth and cost ...
 
P2P Cache Resolution System for MANET
P2P Cache Resolution System for MANETP2P Cache Resolution System for MANET
P2P Cache Resolution System for MANET
 
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
An Efficient Distributed Control Law for Load Balancing in Content Delivery N...
 
A distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networksA distributed control law for load balancing in content delivery networks
A distributed control law for load balancing in content delivery networks
 
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
A Proposed Model for Web Proxy Caching Techniques to Improve Computer Network...
 
A survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environmentA survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environment
 
A survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environmentA survey on various resource allocation policies in cloud computing environment
A survey on various resource allocation policies in cloud computing environment
 
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud ComputingHybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
Hybrid Scheduling Algorithm for Efficient Load Balancing In Cloud Computing
 
Peer to peer cache resolution mechanism for mobile ad hoc networks
Peer to peer cache resolution mechanism for mobile ad hoc networksPeer to peer cache resolution mechanism for mobile ad hoc networks
Peer to peer cache resolution mechanism for mobile ad hoc networks
 
A novel cache resolution technique for cooperative caching in wireless mobile...
A novel cache resolution technique for cooperative caching in wireless mobile...A novel cache resolution technique for cooperative caching in wireless mobile...
A novel cache resolution technique for cooperative caching in wireless mobile...
 
A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...
A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...
A NOVEL CACHE RESOLUTION TECHNIQUE FOR COOPERATIVE CACHING IN WIRELESS MOBILE...
 
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICESA COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
A COMPARISON OF CACHE REPLACEMENT ALGORITHMS FOR VIDEO SERVICES
 
Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...
 
Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...
 
A Distributed Control Law for Load Balancing in Content Delivery Networks
A Distributed Control Law for Load Balancing in Content Delivery NetworksA Distributed Control Law for Load Balancing in Content Delivery Networks
A Distributed Control Law for Load Balancing in Content Delivery Networks
 
Presence cloud
Presence cloudPresence cloud
Presence cloud
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Jk3416991702
Jk3416991702Jk3416991702
Jk3416991702
 
Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...Dcim distributed cache invalidation method for maintaining cache consistency ...
Dcim distributed cache invalidation method for maintaining cache consistency ...
 

More from Global R & D Services (20)

Wb june ictel
Wb june ictelWb june ictel
Wb june ictel
 
Wb june icrst
Wb june icrstWb june icrst
Wb june icrst
 
Wb june ecg
Wb june ecgWb june ecg
Wb june ecg
 
Wb june icssh
Wb  june icsshWb  june icssh
Wb june icssh
 
Wb june icpbs
Wb  june icpbsWb  june icpbs
Wb june icpbs
 
Wb june icnm
Wb  june icnmWb  june icnm
Wb june icnm
 
Wb june icllr
Wb  june icllrWb  june icllr
Wb june icllr
 
Wb june ichlsr
Wb  june ichlsrWb  june ichlsr
Wb june ichlsr
 
Wb june icbmls
Wb  june icbmlsWb  june icbmls
Wb june icbmls
 
Rome icpbs 2017
Rome icpbs 2017Rome icpbs 2017
Rome icpbs 2017
 
Rome icnm
Rome icnmRome icnm
Rome icnm
 
Romei ecg 2017
Romei ecg 2017Romei ecg 2017
Romei ecg 2017
 
Rome ictel 2017
Rome  ictel 2017Rome  ictel 2017
Rome ictel 2017
 
Rome icssh, ppt
Rome icssh, pptRome icssh, ppt
Rome icssh, ppt
 
Rome icrst 2017
Rome  icrst 2017Rome  icrst 2017
Rome icrst 2017
 
Rome icllr 2017
Rome  icllr 2017Rome  icllr 2017
Rome icllr 2017
 
Rome ichlsr
Rome  ichlsr Rome  ichlsr
Rome ichlsr
 
Rome icbmls 2017
Rome icbmls 2017Rome icbmls 2017
Rome icbmls 2017
 
Wb june ictel
Wb june ictelWb june ictel
Wb june ictel
 
Wb june icrst
Wb june icrstWb june icrst
Wb june icrst
 

Recently uploaded

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

Grds conferences icst and icbelsh (10)

  • 1. ACaching Scheme for Nearest-Neighbor Queries in Mobile Database 1 Presented By : Sandi Winn Aye
  • 2. Outline  Abstract  Objectives  Introduction  Proposed System  System Flow Chart  Server Side  Client Side  Implementation  Limitations of Proposed System  Conclusion 2
  • 3. Abstract  As the geographical position of a mobile user is becoming more traceable, users need to pull data which are related to their location.  It is strongly recommended to minimize number of connections and volume of data transmission from the servers.  Caching data that are frequently accessed by mobile user in the client side is an appropriate technique. 3
  • 4. Cont’d (Abstract)  Most of the existing location services providers give more than one nearest-neighbour queries results.  In this system, a new caching scheme which is based on hybrid and semantic caching is proposed.  In server side, the kd-tree partition method is used to answer nearest-neighbor queries. 4
  • 5. Objectives  To get one only result nearest to the user current location  To reduce the cache size by using hybrid caching  To save the trips to the server by using semantic caching  To minimize the search space by using kd-tree partition method in the server side  To get nearest neighbour result quickly and effectively by this partition method 5
  • 6. Introduction  The advances in wireless and mobile computing allow a mobile user to perform a wide range of application although there are some limitations in non-mobile hard wired computing environments.  Database applications are of special interest to us in mobile computing environment.  Database model in wireless devices are different from regular client-server database. 6
  • 7. Cont’d (Introduction)  There are many limitations such as frequent disconnection to server, low power capabilities of these devices, etc. in the mobile environment.  Caching some of data which are frequently accessed by the user in the client cache is a suitable solution.  Resource-consuming caused by upstream queries and number of trips made to the server can be reduced in this way. 7
  • 8. Proposed System  Taking the advantages of caching scheme, this system offers the query result to the users based on their current location quickly.  Moreover, the connection and data transmission from the Database server to the client can be reduced.  The proposed system consists of two sides: sever side and client side.  As the pre-processing, the region for each data object is defined by using adaptive-partition method in the server side. 8
  • 9. Cont’d (Proposed System)  In the client side, the hybrid caching is combined with semantic caching.  The previous query answers are cached in the client system’s cache according to the proposed caching’s policy.  If there is a suitable answer corresponding to the user’s query in the client’s cache, this query can be answered from that cache without connecting to the server. 9
  • 10. Flow Chart of Proposed System User’s location and Query? Start Is there query cache? Display Result End Cache’s DB Retrieving Data From Client’ cache Nearest Neighbor data object Processing in Server Server’s DB Storing query result in Cache’s DB no yes Checking to Cache’s DB for query result result in client’s Client Side Server Side 10
  • 11. Server Side  In the server side, the search space is divided by using kd- tree partition method.  It recursively partitions the search space into two complementary subspace such that the number of objects associated with the two subspaces is nearly the same.  The space is partitioned horizontally or vertically. 11
  • 12. Cont’d (Server Side)  Split the point set alternatingly by x-coordinate and by y- coordinate.  split by x-coordinate: split by a vertical line that has half the points left and half right.  split by y-coordinate: split by a horizontal line that has half the points below and half above.  Each internal node stores the splitting node along x (or y). 12
  • 14. Cont’d(Server Side) Nearest-Neighbor Search  Starting with the root node, the algorithm moves down the tree recursively.  (i.e. it goes right or left depending on whether the point is greater or less than the current node in the split dimension).  Once the algorithm reaches a leaf node, it saves that node point as the "current best“.  The algorithm unwinds the recursion of the tree, performing the following steps at each node. 14
  • 15. Client Side  As there are limitations in the wireless environment, it is strongly recommended to save the trip to the server.  Caching seems to be profitable in such situations.  Caching the previous nearest object in client system’s cache will be applicable for the forthcoming queries. 15
  • 16. Cont’d (Client Side)  All previous nearest objects can’t be cached in client’s cache because of limited size of the cache.  It needs to cache some of the objects that are frequently accessed by database applications.  In the proposed caching scheme, there are two types of caching: hybrid caching and semantic caching. 16
  • 17. Hybrid Caching  Hybrid caching is a mix of object caching and attribute caching.  In object caching, it stores an object that is frequently requested by the mobile user.  All attributes of this object are cached in the client side. 17
  • 18. Cont’d (Hybrid Caching)  This not only wastes the transmission bandwidth, but also occupies storage for caching other more frequently accessed attributes.  In the attribute caching, it cache attributes of this object that is mostly accessed. 18
  • 19. Semantic Caching  The semantic description and results of previous query results are stored in the mobile client cache.  By using semantic caching, a query can be partially answered from the client cache if a query isn’t an exact match.  Then the original query is trimmed and the trimmed part is sent to the server and processed there.  The amount of connection and data transmission to the server can be reduced by processing queries according to this caching. 19
  • 20. Cont’d (Semantic Caching)  The semantic description contains object name, attribute set, the location of client that is described by x, y coordinate as <SO,SA,PX,PY>.  This semantic description is as shown in the table. 20 SO SA PX PY hotel street 10 30 hotel street,tel 20 40 restaurant street 50 60 restaurant cuisine 70 80 hotel tel 55 66
  • 21. Cont’d (Semantic Caching)  By trimming queries, previous results in the client cache can be partially used if the query is not an exact match.  The communication cost from client to server can be reduced.  Only select and project queries can be applied. 21
  • 22. Implementation There are possible conditions according to user current location. • If a new query is totally answered from the client cache, communication to the server is unnecessary. • If a new query doesn’t exactly match the one from the client cache, it needs to connect with the server. • By using semantic caching, a query can be partially answered from the client cache in above condition. • The original query is trimmed and the trimmed part is sent to the server and processed there. 22
  • 23. Cont’d(Implementation) • The amount of data transmission to the server can be reduced by processing queries according to this caching. • Main advantage of semantic caching is that by trimming queries, previous results in the client cache can be used if the query is not an exact match. • Moreover, the communication from client to server can be reduced. 23
  • 24. Cont’d(Implementation)  The user can get her current location which is shown as latitude and longitude from GPS.  There are seven services in this proposed system.  Moreover, there are some attributes related to each service.  Firstly, one service and some attributes which she wants to find nearest one to her current location can be chosen.  After getting her location and choosing one service and its attributes, the system checks the client’s cache base on her current position to see whether the query answer is available.  If there is a suitable cache record corresponding to the location of the user, the most appropriate answer is retrieved from the cache and this answer can be returned to the mobile user quickly. 24
  • 26. Cont’d(Implementation)  Otherwise, the current location of the user and query are transmitted to the server.  The server finds one nearest neighbor object and its attributes according to the user’s current location and sends back one nearest neighbor object to the user. 26
  • 27. Cont’d(Implementation) • When data is sent by the client, only one nearest-neighbor result is computed in the server as follows: 27
  • 28. Conclusion  In this system, the location-based application that provides only one nearest neighbour based on user current location has been proposed.  To overcome limitations in the mobile environment, this system presents that data caching is a profitable solution.  A new caching scheme is proposed to find only one nearest neighbour result and its related attributes based on user current position. 28
  • 29. Cont’d (Conclusion)  Hybrid caching and semantic caching are used by the proposed system for reducing wireless data transmission and cache size.  KD-tree partition index is used in the server side to answer queries for finding the nearest services facilities based on mobile client’s locations more accurately. 29
  • 30. 30