16

BlueShare

Embed Size (px)

DESCRIPTION

A mobile Bluetooth P2P software.

Citation preview

Page 1: BlueShare
Page 2: BlueShare

Direct ConnectGnutella

AresBit Torrent

Fast Track

Opennap

Page 3: BlueShare

Short Range

Low Processing

Power

Low Bandwidth

Security

Mobility of the device

Limited concurrent connections

Page 4: BlueShare

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

Page 5: BlueShare

Launch Application

Listen for Users Log Users Send Users

List

Notify network if a

Peer disconnects

Page 6: BlueShare

Launch Application

Initialization

Indexing

Tracker Search

Home Screen

Browse Users

Chat File List

Search

Search Results Download

Page 7: BlueShare

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.

Page 8: BlueShare

UI

Peer Manager

BT Transmitter BT Receiver BT

Discoverer

File Manager

Settings Manager

Presenter
Presentation Notes
Bt transmitter has scheduling queue
Page 9: BlueShare

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

Page 10: BlueShare

Queue BasedChat and Download Messages handled

similarly

Process thread collects and

processes messages from the Queue

Page 11: BlueShare

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

Page 12: BlueShare

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

Page 13: BlueShare

Prompt based chat

Uses RFCommProtocol

Chats are sent as Private Message

Page 14: BlueShare

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

Page 16: BlueShare

Developers:

•Abhishek Jha•Shubhanshu Mishra•Vighnesh Avadhani•SIddharth Duggar•Soumya Kanti Mandal