SlideShare a Scribd company logo
1 of 37
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 Connectivitytechsytalk
 
Voice assistants and chatbots automation
Voice assistants and chatbots automationVoice assistants and chatbots automation
Voice assistants and chatbots automationSergey Korol
 
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 2014Andy Piper
 
Ohio Devfest - Visual Analysis with GCP
Ohio Devfest - Visual Analysis with GCPOhio Devfest - Visual Analysis with GCP
Ohio Devfest - Visual Analysis with GCPWesley 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
 

Viewers also liked

Building Android Devices
Building Android DevicesBuilding Android Devices
Building Android DevicesNanik Tolaram
 
Ble android
Ble androidBle android
Ble androidkudo1048
 
Android: it's time to go to work!
Android: it's time to go to work!Android: it's time to go to work!
Android: it's time to go to work!Pietro F. Maggi
 
Peeking into Android Source
Peeking into Android SourcePeeking into Android Source
Peeking into Android SourceNanik Tolaram
 
Bluetooth Profiles by DFunZone
Bluetooth Profiles by DFunZoneBluetooth Profiles by DFunZone
Bluetooth Profiles by DFunZoneDfunZone Net
 
Bringing Government and Enterprise Security Controls to the Android Endpoint
Bringing Government and Enterprise Security Controls to the Android EndpointBringing Government and Enterprise Security Controls to the Android Endpoint
Bringing Government and Enterprise Security Controls to the Android EndpointHamilton Turner
 
Android Wear Presentation
Android Wear PresentationAndroid Wear Presentation
Android Wear PresentationNanik Tolaram
 
Droidcon2013 miracast final2
Droidcon2013 miracast final2Droidcon2013 miracast final2
Droidcon2013 miracast final2Droidcon Berlin
 
Bluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the BulletsBluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the BulletsDaniel Kummer
 
Running Dual Android Xen Instances on Nexus 10
Running Dual Android Xen Instances on Nexus 10Running Dual Android Xen Instances on Nexus 10
Running Dual Android Xen Instances on Nexus 10Samsung Open Source Group
 
Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)
Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)
Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)Steven Mohr
 
Second-Screen Support in Android 4.2
Second-Screen Support in Android 4.2Second-Screen Support in Android 4.2
Second-Screen Support in Android 4.2CommonsWare
 
Android Internal Services
Android Internal ServicesAndroid Internal Services
Android Internal ServicesNanik Tolaram
 
Diving inside Android Wifi
Diving inside Android WifiDiving inside Android Wifi
Diving inside Android WifiNanik Tolaram
 
GDG Eddystone overview Aug2016
GDG Eddystone overview Aug2016GDG Eddystone overview Aug2016
GDG Eddystone overview Aug2016David Pugh
 

Viewers also liked (20)

Building Android Devices
Building Android DevicesBuilding Android Devices
Building Android Devices
 
Ble android
Ble androidBle android
Ble android
 
Android Source Code
Android Source CodeAndroid Source Code
Android Source Code
 
Android: it's time to go to work!
Android: it's time to go to work!Android: it's time to go to work!
Android: it's time to go to work!
 
Peeking into Android Source
Peeking into Android SourcePeeking into Android Source
Peeking into Android Source
 
Bluetooth Profiles by DFunZone
Bluetooth Profiles by DFunZoneBluetooth Profiles by DFunZone
Bluetooth Profiles by DFunZone
 
Bringing Government and Enterprise Security Controls to the Android Endpoint
Bringing Government and Enterprise Security Controls to the Android EndpointBringing Government and Enterprise Security Controls to the Android Endpoint
Bringing Government and Enterprise Security Controls to the Android Endpoint
 
Android Wear Presentation
Android Wear PresentationAndroid Wear Presentation
Android Wear Presentation
 
Droidcon2013 miracast final2
Droidcon2013 miracast final2Droidcon2013 miracast final2
Droidcon2013 miracast final2
 
Bluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the BulletsBluetooth LE - Dodging the Bullets
Bluetooth LE - Dodging the Bullets
 
Android wear
Android wearAndroid wear
Android wear
 
Wi fi direct
Wi fi direct Wi fi direct
Wi fi direct
 
Running Dual Android Xen Instances on Nexus 10
Running Dual Android Xen Instances on Nexus 10Running Dual Android Xen Instances on Nexus 10
Running Dual Android Xen Instances on Nexus 10
 
Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)
Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)
Bluetooth LE - Building Block of the Internet of Things (Droidcon DE 2016)
 
Second-Screen Support in Android 4.2
Second-Screen Support in Android 4.2Second-Screen Support in Android 4.2
Second-Screen Support in Android 4.2
 
Android - Bluetooth
Android - BluetoothAndroid - Bluetooth
Android - Bluetooth
 
Android Internal Services
Android Internal ServicesAndroid Internal Services
Android Internal Services
 
Diving inside Android Wifi
Diving inside Android WifiDiving inside Android Wifi
Diving inside Android Wifi
 
GDG Eddystone overview Aug2016
GDG Eddystone overview Aug2016GDG Eddystone overview Aug2016
GDG Eddystone overview Aug2016
 
Bluetooth profile
Bluetooth profileBluetooth profile
Bluetooth profile
 

Similar to heng+hong

LPWAN Cost Webinar
LPWAN Cost WebinarLPWAN Cost Webinar
LPWAN Cost WebinarBrian 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 CenterShawn 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.pptxKhanArshidIqbal
 
DPDK Architecture Musings - Andy Harvey
DPDK Architecture Musings - Andy HarveyDPDK Architecture Musings - Andy Harvey
DPDK Architecture Musings - Andy Harveyharryvanhaaren
 
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 OverviewTokyo 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
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptxSameer 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 CloudStackShapeBlue
 
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 LabsALTEN Calsoft Labs
 
Austin Docker Meetup May 2015
Austin Docker Meetup May 2015Austin Docker Meetup May 2015
Austin Docker Meetup May 2015John Willis
 
Hpc lunch and learn
Hpc lunch and learnHpc lunch and learn
Hpc lunch and learnJohn D Almon
 
클라우드 컴퓨팅에 따른 데이터센터의 변화
클라우드 컴퓨팅에 따른 데이터센터의 변화클라우드 컴퓨팅에 따른 데이터센터의 변화
클라우드 컴퓨팅에 따른 데이터센터의 변화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 neverTrueConf
 
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-20Nathan O'Hanlon
 
Hybrid Integration with BizTalk Server - ACSUG
Hybrid Integration with BizTalk Server - ACSUGHybrid Integration with BizTalk Server - ACSUG
Hybrid Integration with BizTalk Server - ACSUGWagner Silveira
 

Similar to heng+hong (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_192371Tianwei_liu
 
Electronic+Gaming
Electronic+GamingElectronic+Gaming
Electronic+GamingTianwei_liu
 
Business+Case+Competition
Business+Case+CompetitionBusiness+Case+Competition
Business+Case+CompetitionTianwei_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%0ATianwei_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%0ATianwei_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%0ATianwei_liu
 
Final+Year+Project
Final+Year+ProjectFinal+Year+Project
Final+Year+ProjectTianwei_liu
 
Eon nus hci_master_class
Eon nus hci_master_classEon nus hci_master_class
Eon nus hci_master_classTianwei_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
 

heng+hong

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