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.
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

What's hot

Implementing Puppet at a South American Government Agency, Challenges and Sol...
Implementing Puppet at a South American Government Agency, Challenges and Sol...Implementing Puppet at a South American Government Agency, Challenges and Sol...
Implementing Puppet at a South American Government Agency, Challenges and Sol...
Puppet
 
The Ultimate Meeting Professionals Guide to Internet Connectivity
The Ultimate Meeting Professionals Guide to Internet ConnectivityThe Ultimate Meeting Professionals Guide to Internet Connectivity
The Ultimate Meeting Professionals Guide to Internet Connectivity
techsytalk
 
Bluetooth 5
Bluetooth 5Bluetooth 5
Bluetooth 5
harsh parekh
 
SDN in Google
SDN in GoogleSDN in Google
SDN in Google
Amit Lanjewar
 
Voice assistants and chatbots automation
Voice assistants and chatbots automationVoice assistants and chatbots automation
Voice assistants and chatbots automation
Sergey Korol
 
how to simulate ACI
how to simulate ACIhow to simulate ACI
how to simulate ACI
Abderrahmane TEKFI
 
How to deliver rich, real-time apps - AppsWorld 2014
How to deliver rich, real-time apps - AppsWorld 2014How to deliver rich, real-time apps - AppsWorld 2014
How to deliver rich, real-time apps - AppsWorld 2014
Andy Piper
 
Ohio Devfest - Visual Analysis with GCP
Ohio Devfest - Visual Analysis with GCPOhio Devfest - Visual Analysis with GCP
Ohio Devfest - Visual Analysis with GCP
Wesley Workman
 

What's hot (8)

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

Similar to FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform

LPWAN Cost Webinar
LPWAN Cost WebinarLPWAN Cost Webinar
LPWAN Cost Webinar
Brian Ray
 
LinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data CenterLinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data Center
Shawn Zandi
 
Can a browser become an IoT Gateway?
Can a browser become an IoT Gateway?Can a browser become an IoT Gateway?
Can a browser become an IoT Gateway?
Sooraj Sanker
 
HOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptxHOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptx
KhanArshidIqbal
 
DPDK Architecture Musings - Andy Harvey
DPDK Architecture Musings - Andy HarveyDPDK Architecture Musings - Andy Harvey
DPDK Architecture Musings - Andy Harvey
harryvanhaaren
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup
 
Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...
Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...
Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...
Cisco Enterprise Networks
 
10. Lec X- SDN.pptx
10. Lec X- SDN.pptx10. Lec X- SDN.pptx
10. Lec X- SDN.pptx
DanishMahmood23
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptx
Sameer Ali
 
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
Amazon Web Services
 
Edge Zones In CloudStack
Edge Zones In CloudStackEdge Zones In CloudStack
Edge Zones In CloudStack
ShapeBlue
 
Embedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft LabsEmbedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft Labs
ALTEN Calsoft Labs
 
Austin Docker Meetup May 2015
Austin Docker Meetup May 2015Austin Docker Meetup May 2015
Austin Docker Meetup May 2015
John Willis
 
Hpc lunch and learn
Hpc lunch and learnHpc lunch and learn
Hpc lunch and learn
John D Almon
 
Vp ns
Vp nsVp ns
IP PBX
IP PBXIP PBX
클라우드 컴퓨팅에 따른 데이터센터의 변화
클라우드 컴퓨팅에 따른 데이터센터의 변화클라우드 컴퓨팅에 따른 데이터센터의 변화
클라우드 컴퓨팅에 따른 데이터센터의 변화
Fanny Lee
 
7 reasons why video conferencing world will never
7 reasons why video conferencing world will never7 reasons why video conferencing world will never
7 reasons why video conferencing world will never
TrueConf
 
Html5 web sockets - Brad Drysdale - London Web 2011-10-20
Html5 web sockets - Brad Drysdale - London Web 2011-10-20Html5 web sockets - Brad Drysdale - London Web 2011-10-20
Html5 web sockets - Brad Drysdale - London Web 2011-10-20
Nathan O'Hanlon
 
Hybrid Integration with BizTalk Server - ACSUG
Hybrid Integration with BizTalk Server - ACSUGHybrid Integration with BizTalk Server - ACSUG
Hybrid Integration with BizTalk Server - ACSUG
Wagner Silveira
 

Similar to FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform (20)

LPWAN Cost Webinar
LPWAN Cost WebinarLPWAN Cost Webinar
LPWAN Cost Webinar
 
LinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data CenterLinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data Center
 
Can a browser become an IoT Gateway?
Can a browser become an IoT Gateway?Can a browser become an IoT Gateway?
Can a browser become an IoT Gateway?
 
HOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptxHOME AUTOMATION USING INTERNET OF THINGS.pptx
HOME AUTOMATION USING INTERNET OF THINGS.pptx
 
DPDK Architecture Musings - Andy Harvey
DPDK Architecture Musings - Andy HarveyDPDK Architecture Musings - Andy Harvey
DPDK Architecture Musings - Andy Harvey
 
Tokyo Azure Meetup #4 - Build 2016 Overview
Tokyo Azure Meetup #4 -  Build 2016 OverviewTokyo Azure Meetup #4 -  Build 2016 Overview
Tokyo Azure Meetup #4 - Build 2016 Overview
 
Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...
Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...
Speed Hybrid WAN Deployment with the New Cisco Intelligent WAN Design Guide -...
 
10. Lec X- SDN.pptx
10. Lec X- SDN.pptx10. Lec X- SDN.pptx
10. Lec X- SDN.pptx
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptx
 
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
AWS re:Invent 2016: Advanced Tips for Amazon EC2 Networking and High Availabi...
 
Edge Zones In CloudStack
Edge Zones In CloudStackEdge Zones In CloudStack
Edge Zones In CloudStack
 
Embedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft LabsEmbedded System and IoT - ALTEN Calsoft Labs
Embedded System and IoT - ALTEN Calsoft Labs
 
Austin Docker Meetup May 2015
Austin Docker Meetup May 2015Austin Docker Meetup May 2015
Austin Docker Meetup May 2015
 
Hpc lunch and learn
Hpc lunch and learnHpc lunch and learn
Hpc lunch and learn
 
Vp ns
Vp nsVp ns
Vp ns
 
IP PBX
IP PBXIP PBX
IP PBX
 
클라우드 컴퓨팅에 따른 데이터센터의 변화
클라우드 컴퓨팅에 따른 데이터센터의 변화클라우드 컴퓨팅에 따른 데이터센터의 변화
클라우드 컴퓨팅에 따른 데이터센터의 변화
 
7 reasons why video conferencing world will never
7 reasons why video conferencing world will never7 reasons why video conferencing world will never
7 reasons why video conferencing world will never
 
Html5 web sockets - Brad Drysdale - London Web 2011-10-20
Html5 web sockets - Brad Drysdale - London Web 2011-10-20Html5 web sockets - Brad Drysdale - London Web 2011-10-20
Html5 web sockets - Brad Drysdale - London Web 2011-10-20
 
Hybrid Integration with BizTalk Server - ACSUG
Hybrid Integration with BizTalk Server - ACSUGHybrid Integration with BizTalk Server - ACSUG
Hybrid Integration with BizTalk Server - ACSUG
 

More from Tianwei_liu

LifeBloom_test_192371
LifeBloom_test_192371LifeBloom_test_192371
LifeBloom_test_192371
Tianwei_liu
 
Electronic+Gaming
Electronic+GamingElectronic+Gaming
Electronic+Gaming
Tianwei_liu
 
Business+Case+Competition
Business+Case+CompetitionBusiness+Case+Competition
Business+Case+Competition
Tianwei_liu
 
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0AFYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
Tianwei_liu
 
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0AFYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
Tianwei_liu
 
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0AFYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
Tianwei_liu
 
Final+Year+Project
Final+Year+ProjectFinal+Year+Project
Final+Year+Project
Tianwei_liu
 
This+is+blah
This+is+blahThis+is+blah
This+is+blah
Tianwei_liu
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
Tianwei_liu
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
Tianwei_liu
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
Tianwei_liu
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
Tianwei_liu
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
Tianwei_liu
 
Project2
Project2Project2
Project2
Tianwei_liu
 
Project2
Project2Project2
Project2
Tianwei_liu
 
Project2
Project2Project2
Project2
Tianwei_liu
 
alsdkj
alsdkjalsdkj
alsdkj
Tianwei_liu
 
alsdkj
alsdkjalsdkj
alsdkj
Tianwei_liu
 
This+is+blah
This+is+blahThis+is+blah
This+is+blah
Tianwei_liu
 
Eon nus hci_master_class
Eon nus hci_master_classEon nus hci_master_class
Eon nus hci_master_class
Tianwei_liu
 

More from Tianwei_liu (20)

LifeBloom_test_192371
LifeBloom_test_192371LifeBloom_test_192371
LifeBloom_test_192371
 
Electronic+Gaming
Electronic+GamingElectronic+Gaming
Electronic+Gaming
 
Business+Case+Competition
Business+Case+CompetitionBusiness+Case+Competition
Business+Case+Competition
 
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0AFYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
 
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0AFYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
 
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0AFYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
FYP%3A+P2P+Bluetooth+Communication+Framework+on+Android%0A
 
Final+Year+Project
Final+Year+ProjectFinal+Year+Project
Final+Year+Project
 
This+is+blah
This+is+blahThis+is+blah
This+is+blah
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
 
Insane+Studd
Insane+StuddInsane+Studd
Insane+Studd
 
Project2
Project2Project2
Project2
 
Project2
Project2Project2
Project2
 
Project2
Project2Project2
Project2
 
alsdkj
alsdkjalsdkj
alsdkj
 
alsdkj
alsdkjalsdkj
alsdkj
 
This+is+blah
This+is+blahThis+is+blah
This+is+blah
 
Eon nus hci_master_class
Eon nus hci_master_classEon nus hci_master_class
Eon nus hci_master_class
 

FYP%3A+Peer-to-Peer+Communications+Framework+on+Android+Platform

Editor's Notes

  1. \n
  2. \n
  3. 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
  4. \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. A open source peer to peer framework which allow for inter-connectivity between devices.\n
  29. \n
  30. \n
  31. \n
  32. 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
  33. \n
  34. \n
  35. \n
  36. \n