Upload
shubhanshu-mishra
View
910
Download
0
Embed Size (px)
DESCRIPTION
A mobile Bluetooth P2P software.
Citation preview
Direct ConnectGnutella
AresBit Torrent
Fast Track
Opennap
Short Range
Low Processing
Power
Low Bandwidth
Security
Mobility of the device
Limited concurrent connections
Custom ProtocolMessage
Transmission Scheduling
Complete Network Coverage
Supported by protocol
Any mobile can act as Peer or Tracker
Transmitted Data Integrity
Multitier Architecture
Attribute Based Search
Launch Application
Listen for Users Log Users Send Users
List
Notify network if a
Peer disconnects
Launch Application
Initialization
Indexing
Tracker Search
Home Screen
Browse Users
Chat File List
Search
Search Results Download
Join Tracker: Join|<self_addr>|<self_name> User List: User|(+|<user_addr>|<user_name>)* Quit: Quit|<user_addr>|<user_name> Search: Find|<self_address>|<search_level>|<search_string> Search Result: SRES|<self_addr>|<self_name>|[file_details] Request File List: List|<self_addr> File List: LRES|<self_addr>|<self_name>|([file_details])* Chat: Chat|<self_addr>|<self_name>|<user_addr>|<message> Download Request: Down|<self_addr>|<self_name>|<file_path>|<file_name> Download Data Packet: File|<packet_number>|<file_name>|<packet_data>
[file_details]: <name>|<title>|<artist>|<album>|<year>|<comment>|<genre>|<size>|<path>
PS: For simplicity the whole protocol is text based and human readable.
UI
Peer Manager
BT Transmitter BT Receiver BT
Discoverer
File Manager
Settings Manager
DISCOVERER
Tracker Search
Peer Search
RECEIVER
Receives Messages from
devices
Event based on Message
Forward message to processing component
TRANSMITTER
Transmit Message to
other devices
Queue based Scheduling
Message and Chat at the same time
Queue BasedChat and Download Messages handled
similarly
Process thread collects and
processes messages from the Queue
Files are sent in packets of 100 Bytes each
The packet data is added to the queue according to the Protocol Specifications
Each packet is given a number to check for file integrity
Search Query Entered
Message broadcasted to all peers
If file found -> Send matched file list to source
Pass on the message to other peers
Once user finds his suitable file it can request the peer for download
Prompt based chat
Uses RFCommProtocol
Chats are sent as Private Message
All variable strings in the presentation are written in the following format: <variable_name>
All set of strings are written in the following format: (String)*
String Macros are defined as [string_name] | denotes a separator character
IBM BTEvents: http://www.ibm.com/developerworks/library/wi-javablue/index.html?ca=drs-tp1206
Developers:
•Abhishek Jha•Shubhanshu Mishra•Vighnesh Avadhani•SIddharth Duggar•Soumya Kanti Mandal