Route Reservation in Inter Networks

Preview:

DESCRIPTION

this is the project report by route reservation

Citation preview

Guided byGuided byMr.M.Marikkannan, M.EMr.M.Marikkannan, M.E

Done byDone byD.Naveen KumarD.Naveen KumarR.K.SrinivasanR.K.Srinivasan

ABSTRACTABSTRACT

Route reservation-based (RB) communication Route reservation-based (RB) communication can yield better delay performance than non-can yield better delay performance than non-reservation-based (NRB) communication in Inter reservation-based (NRB) communication in Inter networks,networks,

A novel analytical framework is developed and A novel analytical framework is developed and the network performance under both RB and the network performance under both RB and NRB schemes is quantified.NRB schemes is quantified.

If the aforementioned requirements are met, If the aforementioned requirements are met, then RB schemes can indeed yield better delay then RB schemes can indeed yield better delay performance than NRB schemes. performance than NRB schemes.

Existing SystemExisting System

In an NRB (Non Reservation Based) scheme, In an NRB (Non Reservation Based) scheme, an intermediate node can simultaneously serve an intermediate node can simultaneously serve as relay for more than one source. as relay for more than one source.

Hence, the resources (in terms of relaying Hence, the resources (in terms of relaying nodes) are shared in an on-demand fashion. nodes) are shared in an on-demand fashion.

This is typical for most of the routing protocols This is typical for most of the routing protocols for networks proposed in the literaturefor networks proposed in the literature

Proposed SystemProposed System

In an RB (Reservation Based) scheme, a source In an RB (Reservation Based) scheme, a source first reserves a multi-hop route to its destination.first reserves a multi-hop route to its destination.

t reserves intermediate nodes before the actual t reserves intermediate nodes before the actual transmission begins. The reserved intermediate transmission begins. The reserved intermediate nodes are required to relay only the message nodes are required to relay only the message generated by the specific source.generated by the specific source.

This gives the source an exclusive access to This gives the source an exclusive access to the path to the destination the path to the destination

ModulesModules

Non Reservation Based RoutingNon Reservation Based Routing Reservation Based RoutingReservation Based Routing Comparison ChartComparison Chart

IMPLEMENTATIONIMPLEMENTATION

Route RequestRoute Request

Route MaintenanceRoute Maintenance

Message TransferMessage Transfer

Cache UpdateCache Update

SNAP SHOTS WITH CODESNAP SHOTS WITH CODE

RR MainRR Main

NRB Main with nodes connectedNRB Main with nodes connected

NRB Main with fileNRB Main with file

long lngStart=System.currentTimeMillis();long lngStart=System.currentTimeMillis();NRBSoc nrb=new NRBSoc();NRBSoc nrb=new NRBSoc();findNodefindNode fn = new findNode();fn = new findNode();VectorVector findnode = fn.getNode();findnode = fn.getNode();System.out.println("FindNodesSystem.out.println("FindNodes : : "+findnode);"+findnode);anode= nrb.routeRequest(findnode);anode= nrb.routeRequest(findnode);for(int i=0; i<findnode.size(); i++)for(int i=0; i<findnode.size(); i++){{

String nodetemp = findnode.elementAt(i).toString();String nodetemp = findnode.elementAt(i).toString();jTextArea1.append(nodetemp+"\n");jTextArea1.append(nodetemp+"\n");

}}System.out.println("AllNodesSystem.out.println("AllNodes : : "+anode);"+anode);

String ANodes=nrb.sendData(anode,Dest,Msg);String ANodes=nrb.sendData(anode,Dest,Msg);if(ANodes.contains("#"))if(ANodes.contains("#")){{

String[] anodestr=ANodes.split("#");String[] anodestr=ANodes.split("#");for(int i=0;i<anodestr.length;i++)for(int i=0;i<anodestr.length;i++)

{{jTextArea2.append(anodestr[i]+"\n");jTextArea2.append(anodestr[i]+"\n");

}}}}elseelse{{

jTextArea2.setText(ANodes+"\n");jTextArea2.setText(ANodes+"\n");}}long lngEnd = System.currentTimeMillis();long lngEnd = System.currentTimeMillis();long NRBDelay=lngEnd-lngStart;long NRBDelay=lngEnd-lngStart;delayNRB = new Double(NRBDelay);delayNRB = new Double(NRBDelay);JOptionPane.showMessageDialog((Component) null,"NRB Transmit time..."+delayNRB,"Click JOptionPane.showMessageDialog((Component) null,"NRB Transmit time..."+delayNRB,"Click

OK",JOptionPane.INFORMATION_MESSAGE);OK",JOptionPane.INFORMATION_MESSAGE);

NRB DestinationNRB Destination

NRB main with Transmit TimeNRB main with Transmit Time

RB Main fileRB Main file

if(!Msg.equals(""))if(!Msg.equals("")){{

long lngStart=System.currentTimeMillis();long lngStart=System.currentTimeMillis();rb.sendData(Dest,Msg);rb.sendData(Dest,Msg);long lngEnd = System.currentTimeMillis();long lngEnd = System.currentTimeMillis();long RBDelay=lngEnd-lngStart;long RBDelay=lngEnd-lngStart;delayRB = new Double(RBDelay);delayRB = new Double(RBDelay);

JOptionPane.showMessageDialog((Component) JOptionPane.showMessageDialog((Component) null,"RB Transmit time..."+delayRB,"Click null,"RB Transmit time..."+delayRB,"Click OK",JOptionPane.INFORMATION_MESSAGE);OK",JOptionPane.INFORMATION_MESSAGE);}}

RB DestinationRB Destination

RB Main with Transmit timeRB Main with Transmit time

Comparison chartComparison chart

this.NRBTime=NRBMain.delayNRB;this.NRBTime=NRBMain.delayNRB;this.RBTime=RBMain.delayRB;this.RBTime=RBMain.delayRB; final CategoryDataset dataset = createDataset();final CategoryDataset dataset = createDataset();final JFreeChart chart = createChart(dataset);final JFreeChart chart = createChart(dataset);

final ChartPanel chartPanel = new ChartPanel(chart);final ChartPanel chartPanel = new ChartPanel(chart);chartPanel.setPreferredSize(newjava.awt.Dimension(500, chartPanel.setPreferredSize(newjava.awt.Dimension(500,

270));270));this.setDefaultCloseOperation(EXIT_ON_CLOSE);this.setDefaultCloseOperation(EXIT_ON_CLOSE);this.setVisible(true);this.setVisible(true);

CONCLUSIONCONCLUSION

The results of the analytical framework show The results of the analytical framework show that RB schemes are appropriate for real-time that RB schemes are appropriate for real-time applications, such as voice and video .applications, such as voice and video .

It is important to understand that if one uses a It is important to understand that if one uses a different MAC protocol and/or one does not use different MAC protocol and/or one does not use a separate control channel for route discovery, a separate control channel for route discovery, for instance, then the results obtained might be for instance, then the results obtained might be very different from those derived in this very different from those derived in this implementation. implementation.

FUTURE ENHANCEMENTSFUTURE ENHANCEMENTS

Our implementation in Inter networks can Our implementation in Inter networks can be implemented in Ad-hoc or mobile be implemented in Ad-hoc or mobile networks .networks .

Also sending a file to more than one client Also sending a file to more than one client can be achieved in the future.can be achieved in the future.

THANKING YOUTHANKING YOU

Recommended