SlideShare a Scribd company logo
P2P Communication
Framework on Android
      Platform
      By Liu Tianwei
Outline
• Introduction
• Motivation + Proposed Solutions.
• Recap of work done
• Design Decision and Limitation
• Implementation result and performance
• Demo
• Limitation and Future Work
Introduction
Problem

• Need for better mobile network
  infrastructure.
• Traditional Mobile Network are not
  designed to scale fast and cheaply.
Motivation

• Provide an alternatives to traditional mobile
  network infrastructure.
• Lower the infrastructure cost for each
  additional devices added to the network.
Propose Solution

• A P2P communication framework on
  mobile platform.
• Open Source to allow developers to easily
  integrate with their existing source code.
FYP: Peer-to-Peer Communications Framework on Android Platform
Recap of work done

• Server Implementation
• Literature Reviews
• Geoscribe Webservice implementation
Design Decisions and
     Limitations
• Platform
• Hardware Choices and Limitation
• Network Design
• AutoConnection
Platform

• Open Source
• Large Developer Community
• Comprehensive Java Apis.
Network Design
Designed Considered:

• Centralized Index
• Gnutella (Query Flooding)
• Hierarchical Overlay
• Distributed Hash Table
Centralized Index
Gnutella
Hierarchical Overlay
Distributed Hash Table

 • A distributed database over large number
   of peers that supported query&update
   operations.
 • Information stored in database in the
   form of key value pairs.
 • Peers query database with key
Network Design
Modified Gnutella network.


 • Easy to implement.
 • Bluetooth hardware limitations.
 • Server-less implementation.
Hardware Choices and
     Limitations
Androids Offers:
•  Bluetooth
• Wireless - Fidelity
Bluetooth
Bluetooth
Bluetooth
Bluetooth
Bluetooth
Wireless Fidelity

• IEEE 802.11 Standard (b/g/n)
• via router
• Direct device to device (ad-hoc)
Hardware Choices and
     Limitations
Focused on Bluetooth

 • Bluetooth has well defined apis
 • Wi-Fi ad-hoc mode not supported on
   android.
 • rooting is required for Wi-Fi ad-hoc.
Hardware Choices and
     Limitations
Hardware Choices and
     Limitations
AutoConnection

• Experimental feature to overcome in-ability
  to stay always discoverable.
• Centralized Geo-location indexing server.
• Maintain Bluetooth scatter-net topology.
Implementation Result
  and Performance

• Framework Overview
• Key Features
• Performance Metrics
Framework Overview
Framework Overview
Android Interface Definition Language(AIDL)
Framework Overview
Use Cases:
• Ad-hoc gaming network
• Instant Messaging Application
• File Sharing
• Video Sharing
• Internet sharing
• Geo-location Triangulations, etcs
Key Features
• Open-Source
• No Rooting Required
• Packet Routing
• No need for Centralized Index Server
• Flow Control / Traffic Policing
• Auto Connections
Performance Metrics
Average Maximum throughput : 54Kbps
                                     324#565'789)6:8-6$'
              +!"

              *!"

              )!"

              (!"

              '!"
   !"#$%&%'




              &!"

              %!"

              $!"

              #!"

               !"
                    !"   !,'"   #"     #,'"         $"       $,'"        %"   %,'"   &"   &,'"
                                              ()*')+',)-'$)'./%0120)1'
Demo
Limitations of
         Framework
• Bluetooth chipset on Androids phones.
• Pairing between devices
• Lack of security
• Dependency on Geo-Location Indexing
  Server(AutoConnection)
Future works

• Wi-Fi Ad-hoc communication.
• Server-less implementation
• Optimization
• Security
Q&A

More Related Content

KEY
Iphone App in 30 Minutes - Barcamp Nashville 2011
KEY
Test+video+upload
PPT
Distributed Network Monitoring - Interopnet class by NetBeez
PDF
Flare - tech-intro-for-paris-hackathon
PPTX
Talk at BaseSpace Developer conference SF 2013
PPTX
A Network Engineer's Approach to Automation
PPTX
Linux routing and firewall for beginners
PDF
Should I run my own RPKI Certificate Authority?
Iphone App in 30 Minutes - Barcamp Nashville 2011
Test+video+upload
Distributed Network Monitoring - Interopnet class by NetBeez
Flare - tech-intro-for-paris-hackathon
Talk at BaseSpace Developer conference SF 2013
A Network Engineer's Approach to Automation
Linux routing and firewall for beginners
Should I run my own RPKI Certificate Authority?

What's hot (8)

PDF
Implementing Puppet at a South American Government Agency, Challenges and Sol...
PDF
The Ultimate Meeting Professionals Guide to Internet Connectivity
PPTX
Bluetooth 5
PPTX
SDN in Google
PPTX
Voice assistants and chatbots automation
PDF
how to simulate ACI
PPTX
How to deliver rich, real-time apps - AppsWorld 2014
PDF
Ohio Devfest - Visual Analysis with GCP
Implementing Puppet at a South American Government Agency, Challenges and Sol...
The Ultimate Meeting Professionals Guide to Internet Connectivity
Bluetooth 5
SDN in Google
Voice assistants and chatbots automation
how to simulate ACI
How to deliver rich, real-time apps - AppsWorld 2014
Ohio Devfest - Visual Analysis with GCP
Ad

Viewers also liked (12)

PPT
P2P file sharing over GPRS network using Motorola RAZR2
PPT
Design and analysis of a mobile file sharing system for opportunistic networks
DOCX
IEEE 2014 DOTNET NETWORKING PROJECTS A proximity aware interest-clustered p2p...
PPTX
Android Application Development of NFC Peer-to-Peer Mode
DOCX
Methods of research
KEY
P2P on the local network
PDF
Synopsis on android application
PPTX
Android Synopsis
PDF
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
PPT
Wifi direct p2p app
PDF
Peer-to-Peer Systems
DOC
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
P2P file sharing over GPRS network using Motorola RAZR2
Design and analysis of a mobile file sharing system for opportunistic networks
IEEE 2014 DOTNET NETWORKING PROJECTS A proximity aware interest-clustered p2p...
Android Application Development of NFC Peer-to-Peer Mode
Methods of research
P2P on the local network
Synopsis on android application
Android Synopsis
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
Wifi direct p2p app
Peer-to-Peer Systems
Thesis in IT Online Grade Encoding and Inquiry System via SMS Technology
Ad

Similar to FYP: Peer-to-Peer Communications Framework on Android Platform (20)

PDF
FYP: Peer-to-Peer Communications Framework on Android Platform
PDF
FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform
PDF
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
PDF
FYP%3A+Peer-to-Peer+Communication+Framework+on+Android+Platform
KEY
testing+123
KEY
heng+hong
PDF
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
ODP
Lbs for transport monitoring based on geo2tag
PDF
Pick your connectivity solution [web2day 2015]
PDF
Combining ReST and Context for Killer iPhone Apps
PDF
UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke
PDF
Lahav Savir - Massively Scaleable Mobile Gateways
PDF
Service Based Content Sharing in the Environment of Mobile Ad-hoc Networks
PDF
An Overview of All Ericsson Labs APIs
PDF
BBL AXA Lille - Nearable and the Eddystone Quest
PDF
Flexible Technologies for Smart Campus
PPTX
Issues in the Web Application Landscape and webinos Architecture
PDF
CatDroid talk: thinking different, sharing ideas
PDF
Dynamic Apps with WebSockets and MQTT - IBM Impact 2014
PDF
End-to-End and IPv6
FYP: Peer-to-Peer Communications Framework on Android Platform
FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+Peer-to-Peer+Communication+Framework+on+Android+Platform
testing+123
heng+hong
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
Lbs for transport monitoring based on geo2tag
Pick your connectivity solution [web2day 2015]
Combining ReST and Context for Killer iPhone Apps
UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke
Lahav Savir - Massively Scaleable Mobile Gateways
Service Based Content Sharing in the Environment of Mobile Ad-hoc Networks
An Overview of All Ericsson Labs APIs
BBL AXA Lille - Nearable and the Eddystone Quest
Flexible Technologies for Smart Campus
Issues in the Web Application Landscape and webinos Architecture
CatDroid talk: thinking different, sharing ideas
Dynamic Apps with WebSockets and MQTT - IBM Impact 2014
End-to-End and IPv6

More from webuiltit (14)

PDF
Extreme Apps
PDF
Extreme Apps
PDF
Extreme Apps
PPT
We builit it
PPTX
iConference
PPTX
EventsMe
PDF
test 213
PDF
EE4214+Real+Time+Embedded+System
KEY
FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform
KEY
FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform
KEY
iDare
PDF
Boon
PDF
testa
PDF
asdas
Extreme Apps
Extreme Apps
Extreme Apps
We builit it
iConference
EventsMe
test 213
EE4214+Real+Time+Embedded+System
FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform
FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform
iDare
Boon
testa
asdas

FYP: Peer-to-Peer Communications Framework on Android Platform

Editor's Notes

  • #2: \n
  • #3: \n
  • #4: In a recent report by Nielsen, smartphone penetration rate in US is predicted to reach over 50% reaching over 95 millions units in the 2011(Nielsen 2011). A smartphone, is defined here as a mobile phone “that offers more advanced computing ability and connectivity than a contemporary feature phone”(Nusca 2009)\n
  • #5: \n
  • #6: \n
  • #7: \n
  • #8: \n
  • #9: \n
  • #10: \n
  • #11: \n
  • #12: \n
  • #13: \n
  • #14: \n
  • #15: \n
  • #16: \n
  • #17: \n
  • #18: \n
  • #19: \n
  • #20: \n
  • #21: \n
  • #22: \n
  • #23: \n
  • #24: \n
  • #25: \n
  • #26: \n
  • #27: \n
  • #28: \n
  • #29: A open source peer to peer framework which allow for inter-connectivity between devices.\n
  • #30: \n
  • #31: \n
  • #32: \n
  • #33: According to the experimental measurements obtained from the transferring of multiple Image files of 350 - 380 kbytes, we observed that the throughput rate stabilizes at around 54Kbits/s for nodes that are more than 1 mores away from the original node.\n
  • #34: \n
  • #35: \n
  • #36: \n
  • #37: \n