BonAHA : Service Discovery Framework for Mobile Ad-Hoc Applications Suman Srinivasan, Arezu Moghadam, Henning Schulzrinne Internet Real Time Lab, Columbia University, New York, USA IEEE CCNC 2009: M1-2 Personal Ad Hoc and Sensor Networks
Topics
Problem/motivation
Approach
Service discovery and Bonjour
BonAHA framework
Demos
Applications developed
Related Work
Motivation
Mobile nodes; highly mobile networks
No infrastructure
OLPC; mesh networks
New class of applications
“ Ad-hoc/Mobile-P2P applications”
Opportunistic networks
Applications need to
Be aware of network transitions
State/metadata of nodes in the network
Examples of applications
Group chat
File transfer
File synchronization
Local multiplayer games
Solution 1: Raw multicast
Initial solution
“ Dumb” multicasting to announce and get information from peers
Solution 2: Service Discovery
Looked at writing our own framework for solving this problem
But, good news:
Service discovery does exactly this
Actually, something very similar
ZeroConf: Most widely implemented
Apple’s Bonjour, Avahi, …
Apple’s Bonjour
Still requires a learning curve
Developer has to rewrite code
Problems
Bonjour API
Three event listeners, five function calls
Have to be completely implemented if an ad-hoc application wants to announce and listen
Two other major problems
No internal state maintained by Bonjour for services, related IP address and TXT records
Resolution can be done only on arrival or exit of services/nodes
BonAHA
Aim to create a framework that solves these problems
Much simpler , and more intuitive, API for ad-hoc applications
Applications need not maintain state or do “resolution”
BonAHA will maintain state
No need for resolution; all nodes and metadata are objects
BonAHA
For registration
service = new BService("7ds_location2", "tcp");
Overview of the BonAHA framework for applications r more
Overview of the BonAHA framework for applications running in opportunistic wireless ad-hoc networks. Uses Apple's Bonjour (ZeroConf) technology. This was the presentation made at the IEEE CCNC 2009 conference. less
0 comments
Post a comment