NDN-Android Networking Stack for Android Platform

 
NDN-Android: NDN
Networking Stack for Android
Platform
 
Haitao Zhang, Alex Afanasyev, Lixia Zhang (UCLA)
NDNComm 2017
March 23-26, 2017
 
1
 
Motivation
 
Android devices are
widely used
Android 
accounts
 
for
 
88% market
share of all smartphones
Android
 
is
 
an
 
ideal
 
platform
 
to
experiment
 
with
 
NDN’s
 
mobility
 
support
Android is open for service extensions
I
deal platform to 
e
xperiment with new networking stack
 
2
 
3
 
What is the difference with IP?
 
Destination address
Source address
Meaningful static identifier
 
Internet Protocol 
(RFC791): Focused on
delivering packets to destination 
node
 
NDN: Focusing on retrieving
 data
 
Interest contains desired name
Data has unique name
Data has to be secured
Sign Data with certificate
 
Example:
 
enable
 
a
 
camera
 
to
 
publish
 
data
 
4
 
NDN protocol stack
NFD: for network connectivity
Routing configuration
D
iscovery of local hub 
&
 prefixes
Local data prefixes propagation
Identity/Certificate
Sign Data with the certificate
corresponded to identity
 
/camera
 
/
 
NDN apk : NDN Stack for Android
 
5
What’s Inside NDN.apk
 
(integrate
 
NFD
 
into
 
apk)
5
Platform-specific native-compiled NFD
(-) No “nfd” binary
No main() function as a starting
point
(+) A bundled shared library
No starting point
libnfd-wrapper.so adds starting point
to create NFD thread from Android
Java code via JNI interface
Runs as Android Service
NFD
 
management
 
tools,
 
other
 
tools
and
 
UIs
 
are
 
implemented
 
in
 
Java
No need to root Android and can be deployed
through GooglePlay store
Cannot have direct access to hardware
TCP, UDP, WebSocket faces
 
Enabling NDN on Android
 
Download and install NDN.apk from Google Play
https://play.google.com/store/apps/details?id=net.named_d
ata.nfd
Or compile from source
https://github.com/named-data-mobile/NFD-android
 
Start the app
Start NFD
 
+ (Auto) Configure name reachability
+ Enable local or global NDN connectivity
+ (Auto) Configure security identities
 
7
Local NDN Communication
 
Enables
 
NDN communication
over
 
WiFi Direct
Faces and routes are configured
and maintained automatically
8
Global NDN Communication
Create
 
Faces
 
and
 
configure
 
routes
 
automatically (in
progress) or manually
Face and route configuration recover
 
automatically
 when
network is disconnected and reconnected
D
iscover nearby NDN hub & maintain the connectivity
automatically
 
(working
 
in
 
progress)
9
/Haitao
/Qi
 
/Qi
Identity
 
Management
E
very application should have corresponding identity (namespace)
and the corresponding certificate for this namespace
Application
s
 
could
 to manage sub-identities and their certificates
(working
 
in
 
progress)
10
 
Local CA
 
Remote CA
 
Local CA
 
Local CA
 
Local 
APP
 
Other
 
device
 
Other
 
device
 
Other
 
device
 
Future Work
 
Create GUI versions of other NDN tools
Implement NDN over Bluetooth
 
11
 
Demo of NFD-Android’s Wifi-Direct module
 
NDN Whiteboard
S
hare a whiteboard among a
distributed group of Android
devices in real time
W
ithout going through an AP
or the network
Built upon ChronoSync
 
12
Slide Note
Embed
Share

This content discusses the NDN-Android networking stack for Android devices, highlighting the difference with IP, motivation behind using Android for NDN experimentation, examples of enabling a camera to publish data, details of the NDN.apk, and steps to enable NDN on Android devices. It provides insights into the NDN protocol, NFD integration, and the process of configuring and using NDN on Android platforms.

  • NDN-Android
  • Networking Stack
  • Android Platform
  • NFD Integration
  • Mobile Networking

Uploaded on Mar 02, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. NDN-Android: NDN Networking Stack for Android Platform Haitao Zhang, Alex Afanasyev, Lixia Zhang (UCLA) NDNComm 2017 March 23-26, 2017 1

  2. Motivation Android devices are widely used Android accounts for 88% market share of all smartphones Android is an ideal platform to experiment with NDN s mobility support Android is open for service extensions Ideal platform to experiment with new networking stack 2

  3. What is the difference with IP? Internet Protocol (RFC791): Focused on delivering packets to destination node NDN: Focusing on retrieving data 1.2.3.4 5.6.7.8 Destination address Source address Meaningful static identifier Interest contains desired name Data has unique name Data has to be secured Sign Data with certificate 3

  4. Example: enable a camera to publish data NDN protocol stack NFD: for network connectivity Routing configuration Discovery of local hub & prefixes Local data prefixes propagation Identity/Certificate Sign Data with the certificate corresponded to identity Packet Global NDN network Packet /camera / 4

  5. NDN apk : NDN Stack for Android NDN Forwarding Daemon NDN Tools NDN Certificate Management Security Tools NDN.apk WiFi Direct Communication Management GUI 5

  6. Whats Inside NDN.apk (integrate NFD into apk) AndroidManifest.xml Platform-specific native-compiled NFD (-) No nfd binary No main() function as a starting point (+) A bundled shared library No starting point classes.dex lib x86_64 Contents libnfd-wrapper.so libnfd-daemon.so libndn-cxx.so libnfd-wrapper.so adds starting point to create NFD thread from Android Java code via JNI interface Runs as Android Service NFD management tools, other tools and UIs are implemented in Java No need to root Android and can be deployed through GooglePlay store Cannot have direct access to hardware TCP, UDP, WebSocket faces libboost_*.so armeabi res anim color 5

  7. Enabling NDN on Android Download and install NDN.apk from Google Play https://play.google.com/store/apps/details?id=net.named_d ata.nfd Or compile from source https://github.com/named-data-mobile/NFD-android Start the app Start NFD + (Auto) Configure name reachability + Enable local or global NDN connectivity + (Auto) Configure security identities 7

  8. Local NDN Communication Enables NDN communication over WiFi Direct Faces and routes are configured and maintained automatically 8

  9. Global NDN Communication Create Faces and configure routes automatically (in progress) or manually Face and route configuration recover automatically when network is disconnected and reconnected Discover nearby NDN hub & maintain the connectivity automatically (working in progress) NFD /Qi NFD /Qi NFD NFD /Haitao NDN Testbed 9

  10. Identity Management Every application should have corresponding identity (namespace) and the corresponding certificate for this namespace Applications could to manage sub-identities and their certificates (working in progress) Other device Remote CA Other device Local CA Local CA Other device Local CA Local APP 10

  11. Future Work Create GUI versions of other NDN tools Implement NDN over Bluetooth 11

  12. Demo of NFD-Androids Wifi-Direct module NDN Whiteboard Share a whiteboard among a distributed group of Android devices in real time Without going through an AP or the network Built upon ChronoSync 12

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#