Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript
  • Where it all started
  • Project Description
  • Design
  • Design Options
  • GUI of App
  • Things we learnt
  • Concluding Remarks

Where it all started

Google comes up with really cool stuff -

Idea !! Lets bring Torrent to Android

  • What we did
  • why we did

Network Connection

File Transfer

Any Questions?

Thank you

Torrent on Android

Sagar Chhabria

Yeshwanth Cherukuru

Babu Vatti

Design Options

few known bugs

  • Reconnection using Wifi Direct

File request options

Message format

Length of the message

  • Sequential
  • Random
  • Rarest first

Offset value

L1

L2

L3

Actual content of the message

Message type

Seed

Header size - 12 bytes

Message size - 512 bytes

Design

Bitmap Vs Offset

Get Request & Search Request

Offset

Bitmap

  • peer is not ready to download right away

Each segment requires an individual request

Only 1 request is needed for getting the entire message

  • Search using keywords.

Right decision in our case. Otherwise it will destroy the core idea of our project

Discover Peers

Intent - Wifi_p2p_peers_changed

What happens if the file is too big ?

Action - Request peers

On peer available

Action taken - Connect

Intent - Wifi_p2p_connection_changed

Action - Request connection info.

On connection info. available

Next 10 min

Client Socket

Server Socket

Start File Transfer

Socket Created

  • Different from torrent

Get input from user for finding a file

  • Response contains file metadata info

Got a response and inserted it in requestList

Start Downloading

No

Another file download in progress

Download File

Start

Yes

  • Checks for already asked segments

Is any other file Queued

File Done

Find a random sequence of a file

No

Found

Stop

Send Request(s)

Wait for response

Wait for your turn

  • Queuing mechanism

Direct

GUI of App

Home page of the App

Things we learned from this project

Direct

  • Use of new technology -

  • Android App development.

Project Description

Congratulations to all the graduates

Future Work/ Extensions

An android application implementing P2P file transfer loosely based on BitTorrent

...and something more

1. Avoiding Free - Riding : Depending on the seeding to leeching ratio we can segregate the peers into various groups

2. Completing downloads on the go that were being downloaded on the computer.

Stockholm

(cc) photo by Metro Centric on Flickr

(cc) photo by jimmyharris on Flickr

Budapest

Smart phones emulating functionality of Computers.

Higher transfer speed (30 times faster than Bluetooth).

Greater transfer range (100-150m).

Files transfer on the go.

Increasing Piracy

(cc) photo by Metro Centric on Flickr

(cc) photo by Franco Folini on Flickr

Learn more about creating dynamic, engaging presentations with Prezi