chunk sheduling.1

Upload: durga-prasad-k

Post on 05-Apr-2018

230 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Chunk Sheduling.1

    1/18

    CHUNK SCHEDULING

    STRATEGIES IN P2P NETWORKS

    By

    K.DURGA PRASAD(08591A1244)

    B.SHIVA CHARAN (08591A1212)

    Internal GuideASWINI

  • 8/2/2019 Chunk Sheduling.1

    2/18

    CONTENTS

    Introduction

    Existing System

    Proposed System

    System Requirements

    Modules

    UML Diagrams

  • 8/2/2019 Chunk Sheduling.1

    3/18

    INTRODUCTION

    Straight line routing in large homogeneous multi-hopwireless networks.

    Routingis the act of moving information across aninternetwork from a source to a destination

    Simple stochastic model that can be used to comparedifferent downloading strategies to random peer

    selection.

    3

  • 8/2/2019 Chunk Sheduling.1

    4/18

    EXISTING SYSTEM

    Existing routing schemes take the decisions based onthe load imposed on every network link.

    When a link, becomes congested, some of the routes

    are modified. The source cannot choose the optimal path.

    Memory burden is on all nodes.

  • 8/2/2019 Chunk Sheduling.1

    5/18

    PROPOSED SYSTEM

    Each peer obtains an entire file before thispossession it is like a store-and-forward system thefile is divided into a number ofchunks.

    straight-line routing

    threshold value to get the optimal path.

  • 8/2/2019 Chunk Sheduling.1

    6/18

    REQUIREMENTS Software Requirements:

    Language : C#.NET

    Technologies : Microsoft.NETTechnologies with ASP.NET

    Database : Microsoft SQL server 2005

    IDE : Visual Studio 2008 Operating System : Microsoft Windows XP or Later Version

    Hardware Requirements:

    Processor : Intel Pentium or more

    RAM : 512 MB (Minimum)

    Hard Disk : 80 GB

  • 8/2/2019 Chunk Sheduling.1

    7/18

    MODULES

    Client

    Server

    Router

  • 8/2/2019 Chunk Sheduling.1

    8/18

    Client

    In computing, a client is a system that accesses a(remote) service on another computer by some kindof network.

    Client selects a path to save a file, which is sent bythe Server in order to find the impact of straight line

    routing.

  • 8/2/2019 Chunk Sheduling.1

    9/18

    Server

    A kind of daemon which performs a service for therequester, which often runs on a computer other than

    the one which the server runs.

    We can transfer the files and clients can receive the

    files at specified location.

  • 8/2/2019 Chunk Sheduling.1

    10/18

    Router

    Multiple relay nodes between source anddestinations in a wireless multi-hop networks can betermed as routers.

    Shortest-path routing is often used for its simplicity

    and scalability, and this is closely approximated bystraight line routing for large multi-hop wirelessnetworks.

  • 8/2/2019 Chunk Sheduling.1

    11/18

    Client : ClientClient : ClientPortPort FileFile

    : Initializing Port1

    : Open Port1

    : Save File1

    client

  • 8/2/2019 Chunk Sheduling.1

    12/18

    Server : ServerServer : ServerPortPort FileFile

    Router : RouterRouter : Router

    : Initializing Port1

    : Open Port1

    : Selecting File1

    : Sending File1

    server

  • 8/2/2019 Chunk Sheduling.1

    13/18

    Router : RouterRouter : RouterPacketPacket

    Client : ClientClient : Client

    : Forwarding Packet1

    : Checking Destination Reached or not1

    : Send Data1

    : Initializing Port1

    : Opening Port1

    : Recieve Data1

    router

  • 8/2/2019 Chunk Sheduling.1

    14/18

    NICReceiveData

    InitializeNetworkPort

    OpenNetworkPort

    client

  • 8/2/2019 Chunk Sheduling.1

    15/18

    U s e r

    S a v e F i l e

    S e l e c t F i l e L o c a t i o n

    < < i n c l u d e > >

    client

  • 8/2/2019 Chunk Sheduling.1

    16/18

    U se r

    I n i t i a l i z e N e t w o r k P o r tO p e n N e t w o r kP o r t

    S e n d F i l e

    < < i n c l u d e > >

    < < i n c l u d e > >

    S e l e c tF i l e

    < < i n c l u d e > >

    server

  • 8/2/2019 Chunk Sheduling.1

    17/18

    N IC

    O pe n N e tw o rk P o rtIn itia lize Po rt

    F in tN e xtR o u te r

    F o rw a rd P a ck e t

    R ec e ive P a ck e t

    >

    < < i n c l u d e > >

    S en d P a cke t

    < < in clu d e > >

    < < i n c l u d e > >

    >

    >

    router

  • 8/2/2019 Chunk Sheduling.1

    18/18

    Client

    Server

    Router

    Activity diagram