SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
Mobile Cloud and a particular
framework for intelligent
local storage
Seminario di Sistemi Middleware A.A.2014/2015
Andrea Sghedoni
● Interaction between Mobile Devices and Cloud
● New Era of computing
● LBS (Location Based Services)
Introduction
2/18
● Network Connection - TCP - 3G,4G
● Context Awareness - Sensors
- few user input
- automatic configuration
- intelligent output
● Limited processing capability
● Limited storage capability
Mobile Clients - Features
3/18
● Storage off-device
- devices have limited storage for SO, app, picture,
video, multimedia
- sharing data with other applications
- Trade-off between packets size and
requirement/network bandwith
- Local or Cloud storage? → WhereStore
- latency factors(Connection, transfer time,..)
Interactions with cloud(1)
4/18
● Processing off-device
- complex and intensive tasks - “black box”
- push technology
- asynchronous response
- device can process other tasks while wait
response from cloud server
- user wait time
- Amazon(EC2, EMR), Google, FlexiScale
Interactions with cloud(2)
5/18
● Study of social behavior - Activity context
● Weather app, navigator, BlaBlaCar,
traffic, integration with
bluetooth/beacons in a market
● Social network app, Restaurant reviews,
Meeting on LBS
Application and Social Contexts
6/18
● OpenID
- OpenID Provider keeps your password in a secure way
- Provider tells the websites/resources you’re visting that you are
who you say you are
● OpenAuth
- token based
- easy to invoke
- limited services - server side
Cloud security
7/18
● Different viewpoint from SOAP ws
● Perfect for integration between cloud and mobile
devices
● Aspects:
- Stateless
- URL Based
- Response HTTP-based
- Easy invocation method
RESTful Web Services (1)
8/18
● Response minimal and discrete
● HTTP standard
● REST responses very easy to understand and use it
● Rest request
- HTTP verbs (GET,POST,HEAD,PUT,DELETE) - CRUD
operations
● Event-driven-model for XML response
- DOM more memory usage and processing
RESTful Web Services (2)
9/18
● Framework for location-based data store in mobile
and cloud environments
● Users use a LBS mobile app in a particular location
(different from desktop app)
● Main goals of WhereStore:
- predict future smartphone location
- what data replicate in local device storage
- what data store in cloud
- data available in periods of no connectivity
WhereStore
10/18
● In many app, presence of data is a big
plus when there is no connection
- Web apps
- Media Content
- Live Applications
Example Applications
11/18
● Unused space on device for cache data
● What data to replicate at a given
time/location (no user input -
automatism)
● What data provide in the future
● Determine the optimal moment to
interact with cloud (home/Wifi)
Challenges
12/18
● Synchronization between different node
● Collection contains items (data + metadata)
● Replica → local subset or entire collection
● Filter → particular subset of a collection that
should be in a replica
● Each replica keeps data that match its filter
● Version of the items must be the same in all
replica
Replication System
13/18
● GPS sensor
● Monitoring of device location
● History → prediction of future location
● Difference between GPS measurements (morning/afternoon,
weekend/weekday, feast day/ common day ...)
● WhereStore creates and update filters
continuosly where:
- (l1
,l2
,...,ln
) → future locations
- (p1
,p2
,...,pn
) → probability
Location Prediction
14/18
● Items → piece of data with a particular priority
● Groups → set of items
● Regions → geographical area
Data types
work home shopping
books reviewsdocument movies
Regions
Groups
15/18
Sync with Cloud
● App receives all the items that match with its filters, in a
precise moment
● Problem when smartphone storage capacity is not enough
for all replica items:
- for each item, cloud site compute a rank:
cj
= pi
* kj
where pi
→ probability of filter
kj
→ priority of item
● Only the top n items are send (n → capacity of device
storage), the others remain in cloud
16/18
● Cloud and RESTful WS provide solutions to
limited mobile capability
● Reducing of user input
● WhereStore, in particular, provide a set of
guideline for intelligent local storage and
prediction
Conclusions
17/18
● http://openidexplained.com/, description of OpenID
● http://hueniverse.com/oauth/, description of OpenAuth
● J.H.Christensen,“Using RESTful Web-Services and Cloud
Computing to Create Next Generation Mobile
Applications”, Orlando, Florida, Oct. 2009
● P.Stuedi, I.Mohomed, D.Terry, “WhereStore:Location-
based Data Storage for Mobile Devices Interacting with
the Cloud”, San Francisco, USA, June 2010
Bibliography
18/18

Más contenido relacionado

Destacado

Delivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareDelivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareMark Hinkle
 
Principles of microservices velocity
Principles of microservices   velocityPrinciples of microservices   velocity
Principles of microservices velocitySam Newman
 
Why Docker
Why DockerWhy Docker
Why DockerdotCloud
 
Dockercon State of the Art in Microservices
Dockercon State of the Art in MicroservicesDockercon State of the Art in Microservices
Dockercon State of the Art in MicroservicesAdrian Cockcroft
 
Format_1_cod.297_LaValle
Format_1_cod.297_LaValleFormat_1_cod.297_LaValle
Format_1_cod.297_LaValleDavide La Valle
 

Destacado (7)

Docker From Scratch
Docker From ScratchDocker From Scratch
Docker From Scratch
 
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
 
Delivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareDelivering IaaS with Open Source Software
Delivering IaaS with Open Source Software
 
Principles of microservices velocity
Principles of microservices   velocityPrinciples of microservices   velocity
Principles of microservices velocity
 
Why Docker
Why DockerWhy Docker
Why Docker
 
Dockercon State of the Art in Microservices
Dockercon State of the Art in MicroservicesDockercon State of the Art in Microservices
Dockercon State of the Art in Microservices
 
Format_1_cod.297_LaValle
Format_1_cod.297_LaValleFormat_1_cod.297_LaValle
Format_1_cod.297_LaValle
 

Similar a Mobile Cloud

Processing large point clouds
Processing large point cloudsProcessing large point clouds
Processing large point cloudsMathieu Carette
 
TechEvent Operating MapR Hadoop Cluster for a year
TechEvent Operating MapR Hadoop Cluster for a yearTechEvent Operating MapR Hadoop Cluster for a year
TechEvent Operating MapR Hadoop Cluster for a yearTrivadis
 
smart-city-application
smart-city-applicationsmart-city-application
smart-city-applicationNam Giang
 
Serving and rendering huge point cloud on mobile devices and web pages.
Serving and rendering huge point cloud on mobile devices and web pages.Serving and rendering huge point cloud on mobile devices and web pages.
Serving and rendering huge point cloud on mobile devices and web pages.Manuel De La Calle
 
Cloud Busting: Understanding Cloud-based Digital Forensics
Cloud Busting: Understanding Cloud-based Digital ForensicsCloud Busting: Understanding Cloud-based Digital Forensics
Cloud Busting: Understanding Cloud-based Digital ForensicsKerry Hazelton
 
Distributed edge cloud: empowering the IoT revolution
Distributed edge cloud: empowering the IoT revolutionDistributed edge cloud: empowering the IoT revolution
Distributed edge cloud: empowering the IoT revolutionSamy Fodil
 
Combining ReST and Context for Killer iPhone Apps
Combining ReST and Context for Killer iPhone AppsCombining ReST and Context for Killer iPhone Apps
Combining ReST and Context for Killer iPhone Appsjasonc411
 
Presented by Ahmed Abdulhakim Al-Absi - Scaling map reduce applications acro...
Presented by Ahmed Abdulhakim Al-Absi -  Scaling map reduce applications acro...Presented by Ahmed Abdulhakim Al-Absi -  Scaling map reduce applications acro...
Presented by Ahmed Abdulhakim Al-Absi - Scaling map reduce applications acro...Absi Ahmed
 
Walking in the Cloud: A New Paradigm in Geospatial World
Walking in the Cloud: A New Paradigm in Geospatial WorldWalking in the Cloud: A New Paradigm in Geospatial World
Walking in the Cloud: A New Paradigm in Geospatial WorldICIMOD
 
Under the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technologyUnder the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technologyBart van Leeuwen
 
Edge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeEdge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeNitinder Mohan
 
Torch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice ArchitecturesTorch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice ArchitecturesSven Bernhardt
 
Batty consumerization of geospatial
Batty consumerization of geospatialBatty consumerization of geospatial
Batty consumerization of geospatialGeCo in the Rockies
 
Spark Driven Big Data Analytics
Spark Driven Big Data AnalyticsSpark Driven Big Data Analytics
Spark Driven Big Data Analyticsinoshg
 
Arpan pal icdcn
Arpan pal icdcnArpan pal icdcn
Arpan pal icdcnArpan Pal
 
The DURAARK Workbench and PREMIS
The DURAARK Workbench and PREMISThe DURAARK Workbench and PREMIS
The DURAARK Workbench and PREMISlindlar
 
Glob3 Mobile. Point Cloud Streaming
Glob3 Mobile. Point Cloud StreamingGlob3 Mobile. Point Cloud Streaming
Glob3 Mobile. Point Cloud StreamingManuel De La Calle
 
Vectorial Streaming. Como FOSS4G Europe 2015
 Vectorial Streaming. Como  FOSS4G Europe 2015 Vectorial Streaming. Como  FOSS4G Europe 2015
Vectorial Streaming. Como FOSS4G Europe 2015Manuel De La Calle
 

Similar a Mobile Cloud (20)

Processing large point clouds
Processing large point cloudsProcessing large point clouds
Processing large point clouds
 
TechEvent Operating MapR Hadoop Cluster for a year
TechEvent Operating MapR Hadoop Cluster for a yearTechEvent Operating MapR Hadoop Cluster for a year
TechEvent Operating MapR Hadoop Cluster for a year
 
smart-city-application
smart-city-applicationsmart-city-application
smart-city-application
 
Serving and rendering huge point cloud on mobile devices and web pages.
Serving and rendering huge point cloud on mobile devices and web pages.Serving and rendering huge point cloud on mobile devices and web pages.
Serving and rendering huge point cloud on mobile devices and web pages.
 
FG2.ppt
FG2.pptFG2.ppt
FG2.ppt
 
Cloud Busting: Understanding Cloud-based Digital Forensics
Cloud Busting: Understanding Cloud-based Digital ForensicsCloud Busting: Understanding Cloud-based Digital Forensics
Cloud Busting: Understanding Cloud-based Digital Forensics
 
Distributed edge cloud: empowering the IoT revolution
Distributed edge cloud: empowering the IoT revolutionDistributed edge cloud: empowering the IoT revolution
Distributed edge cloud: empowering the IoT revolution
 
Combining ReST and Context for Killer iPhone Apps
Combining ReST and Context for Killer iPhone AppsCombining ReST and Context for Killer iPhone Apps
Combining ReST and Context for Killer iPhone Apps
 
Presented by Ahmed Abdulhakim Al-Absi - Scaling map reduce applications acro...
Presented by Ahmed Abdulhakim Al-Absi -  Scaling map reduce applications acro...Presented by Ahmed Abdulhakim Al-Absi -  Scaling map reduce applications acro...
Presented by Ahmed Abdulhakim Al-Absi - Scaling map reduce applications acro...
 
FG2.pptx
FG2.pptxFG2.pptx
FG2.pptx
 
Walking in the Cloud: A New Paradigm in Geospatial World
Walking in the Cloud: A New Paradigm in Geospatial WorldWalking in the Cloud: A New Paradigm in Geospatial World
Walking in the Cloud: A New Paradigm in Geospatial World
 
Under the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technologyUnder the hood, fighting fires with realtime semantic web technology
Under the hood, fighting fires with realtime semantic web technology
 
Edge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeEdge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edge
 
Torch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice ArchitecturesTorch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice Architectures
 
Batty consumerization of geospatial
Batty consumerization of geospatialBatty consumerization of geospatial
Batty consumerization of geospatial
 
Spark Driven Big Data Analytics
Spark Driven Big Data AnalyticsSpark Driven Big Data Analytics
Spark Driven Big Data Analytics
 
Arpan pal icdcn
Arpan pal icdcnArpan pal icdcn
Arpan pal icdcn
 
The DURAARK Workbench and PREMIS
The DURAARK Workbench and PREMISThe DURAARK Workbench and PREMIS
The DURAARK Workbench and PREMIS
 
Glob3 Mobile. Point Cloud Streaming
Glob3 Mobile. Point Cloud StreamingGlob3 Mobile. Point Cloud Streaming
Glob3 Mobile. Point Cloud Streaming
 
Vectorial Streaming. Como FOSS4G Europe 2015
 Vectorial Streaming. Como  FOSS4G Europe 2015 Vectorial Streaming. Como  FOSS4G Europe 2015
Vectorial Streaming. Como FOSS4G Europe 2015
 

Más de Andrea Sghedoni

Progettazione ed implementazione di un sistema Smart Parking basato su comuni...
Progettazione ed implementazione di un sistema Smart Parking basato su comuni...Progettazione ed implementazione di un sistema Smart Parking basato su comuni...
Progettazione ed implementazione di un sistema Smart Parking basato su comuni...Andrea Sghedoni
 
Introduzione alloStandard IEEE 802.11ay
Introduzione alloStandard IEEE 802.11ayIntroduzione alloStandard IEEE 802.11ay
Introduzione alloStandard IEEE 802.11ayAndrea Sghedoni
 
Overview of electronic Business Document Standards
Overview of electronic Business Document StandardsOverview of electronic Business Document Standards
Overview of electronic Business Document StandardsAndrea Sghedoni
 
Competition among memes in a world with limited attention
Competition among memes in a world with limited attentionCompetition among memes in a world with limited attention
Competition among memes in a world with limited attentionAndrea Sghedoni
 

Más de Andrea Sghedoni (7)

Progettazione ed implementazione di un sistema Smart Parking basato su comuni...
Progettazione ed implementazione di un sistema Smart Parking basato su comuni...Progettazione ed implementazione di un sistema Smart Parking basato su comuni...
Progettazione ed implementazione di un sistema Smart Parking basato su comuni...
 
Introduzione alloStandard IEEE 802.11ay
Introduzione alloStandard IEEE 802.11ayIntroduzione alloStandard IEEE 802.11ay
Introduzione alloStandard IEEE 802.11ay
 
Sms fence detection
Sms fence detectionSms fence detection
Sms fence detection
 
Mockup CookApp
Mockup CookAppMockup CookApp
Mockup CookApp
 
Overview of electronic Business Document Standards
Overview of electronic Business Document StandardsOverview of electronic Business Document Standards
Overview of electronic Business Document Standards
 
Competition among memes in a world with limited attention
Competition among memes in a world with limited attentionCompetition among memes in a world with limited attention
Competition among memes in a world with limited attention
 
Wireless Sensor Network
Wireless Sensor NetworkWireless Sensor Network
Wireless Sensor Network
 

Último

FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRnishacall1
 
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Servicenishacall1
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdfLeading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdfCWS Technology
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPsychicRuben LoveSpells
 

Último (6)

FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCRFULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
 
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
 
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 71 Noida Escorts >༒8448380779 Escort Service
 
Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdfLeading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdf
 
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
 
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Arkansas, AR (310) 882-6330 Bring Back Lost Lover
 

Mobile Cloud

  • 1. Mobile Cloud and a particular framework for intelligent local storage Seminario di Sistemi Middleware A.A.2014/2015 Andrea Sghedoni
  • 2. ● Interaction between Mobile Devices and Cloud ● New Era of computing ● LBS (Location Based Services) Introduction 2/18
  • 3. ● Network Connection - TCP - 3G,4G ● Context Awareness - Sensors - few user input - automatic configuration - intelligent output ● Limited processing capability ● Limited storage capability Mobile Clients - Features 3/18
  • 4. ● Storage off-device - devices have limited storage for SO, app, picture, video, multimedia - sharing data with other applications - Trade-off between packets size and requirement/network bandwith - Local or Cloud storage? → WhereStore - latency factors(Connection, transfer time,..) Interactions with cloud(1) 4/18
  • 5. ● Processing off-device - complex and intensive tasks - “black box” - push technology - asynchronous response - device can process other tasks while wait response from cloud server - user wait time - Amazon(EC2, EMR), Google, FlexiScale Interactions with cloud(2) 5/18
  • 6. ● Study of social behavior - Activity context ● Weather app, navigator, BlaBlaCar, traffic, integration with bluetooth/beacons in a market ● Social network app, Restaurant reviews, Meeting on LBS Application and Social Contexts 6/18
  • 7. ● OpenID - OpenID Provider keeps your password in a secure way - Provider tells the websites/resources you’re visting that you are who you say you are ● OpenAuth - token based - easy to invoke - limited services - server side Cloud security 7/18
  • 8. ● Different viewpoint from SOAP ws ● Perfect for integration between cloud and mobile devices ● Aspects: - Stateless - URL Based - Response HTTP-based - Easy invocation method RESTful Web Services (1) 8/18
  • 9. ● Response minimal and discrete ● HTTP standard ● REST responses very easy to understand and use it ● Rest request - HTTP verbs (GET,POST,HEAD,PUT,DELETE) - CRUD operations ● Event-driven-model for XML response - DOM more memory usage and processing RESTful Web Services (2) 9/18
  • 10. ● Framework for location-based data store in mobile and cloud environments ● Users use a LBS mobile app in a particular location (different from desktop app) ● Main goals of WhereStore: - predict future smartphone location - what data replicate in local device storage - what data store in cloud - data available in periods of no connectivity WhereStore 10/18
  • 11. ● In many app, presence of data is a big plus when there is no connection - Web apps - Media Content - Live Applications Example Applications 11/18
  • 12. ● Unused space on device for cache data ● What data to replicate at a given time/location (no user input - automatism) ● What data provide in the future ● Determine the optimal moment to interact with cloud (home/Wifi) Challenges 12/18
  • 13. ● Synchronization between different node ● Collection contains items (data + metadata) ● Replica → local subset or entire collection ● Filter → particular subset of a collection that should be in a replica ● Each replica keeps data that match its filter ● Version of the items must be the same in all replica Replication System 13/18
  • 14. ● GPS sensor ● Monitoring of device location ● History → prediction of future location ● Difference between GPS measurements (morning/afternoon, weekend/weekday, feast day/ common day ...) ● WhereStore creates and update filters continuosly where: - (l1 ,l2 ,...,ln ) → future locations - (p1 ,p2 ,...,pn ) → probability Location Prediction 14/18
  • 15. ● Items → piece of data with a particular priority ● Groups → set of items ● Regions → geographical area Data types work home shopping books reviewsdocument movies Regions Groups 15/18
  • 16. Sync with Cloud ● App receives all the items that match with its filters, in a precise moment ● Problem when smartphone storage capacity is not enough for all replica items: - for each item, cloud site compute a rank: cj = pi * kj where pi → probability of filter kj → priority of item ● Only the top n items are send (n → capacity of device storage), the others remain in cloud 16/18
  • 17. ● Cloud and RESTful WS provide solutions to limited mobile capability ● Reducing of user input ● WhereStore, in particular, provide a set of guideline for intelligent local storage and prediction Conclusions 17/18
  • 18. ● http://openidexplained.com/, description of OpenID ● http://hueniverse.com/oauth/, description of OpenAuth ● J.H.Christensen,“Using RESTful Web-Services and Cloud Computing to Create Next Generation Mobile Applications”, Orlando, Florida, Oct. 2009 ● P.Stuedi, I.Mohomed, D.Terry, “WhereStore:Location- based Data Storage for Mobile Devices Interacting with the Cloud”, San Francisco, USA, June 2010 Bibliography 18/18