26
Guided by Guided by Mr.M.Marikkannan, M.E Mr.M.Marikkannan, M.E Done by Done by D.Naveen Kumar D.Naveen Kumar R.K.Srinivasan R.K.Srinivasan

Route Reservation in Inter Networks

Embed Size (px)

DESCRIPTION

this is the project report by route reservation

Citation preview

Page 1: Route Reservation in Inter Networks

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

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

Page 2: Route Reservation in Inter Networks

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.

Page 3: Route Reservation in Inter Networks

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

Page 4: Route Reservation in Inter Networks

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

Page 5: Route Reservation in Inter Networks

ModulesModules

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

Page 6: Route Reservation in Inter Networks

IMPLEMENTATIONIMPLEMENTATION

Page 7: Route Reservation in Inter Networks

Route RequestRoute Request

Page 8: Route Reservation in Inter Networks

Route MaintenanceRoute Maintenance

Page 9: Route Reservation in Inter Networks

Message TransferMessage Transfer

Page 10: Route Reservation in Inter Networks

Cache UpdateCache Update

Page 11: Route Reservation in Inter Networks

SNAP SHOTS WITH CODESNAP SHOTS WITH CODE

Page 12: Route Reservation in Inter Networks

RR MainRR Main

Page 13: Route Reservation in Inter Networks

NRB Main with nodes connectedNRB Main with nodes connected

Page 14: Route Reservation in Inter Networks

NRB Main with fileNRB Main with file

Page 15: Route Reservation in Inter Networks

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);

Page 16: Route Reservation in Inter Networks

NRB DestinationNRB Destination

Page 17: Route Reservation in Inter Networks

NRB main with Transmit TimeNRB main with Transmit Time

Page 18: Route Reservation in Inter Networks

RB Main fileRB Main file

Page 19: Route Reservation in Inter Networks

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);}}

Page 20: Route Reservation in Inter Networks

RB DestinationRB Destination

Page 21: Route Reservation in Inter Networks

RB Main with Transmit timeRB Main with Transmit time

Page 22: Route Reservation in Inter Networks

Comparison chartComparison chart

Page 23: Route Reservation in Inter Networks

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);

Page 24: Route Reservation in Inter Networks

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.

Page 25: Route Reservation in Inter Networks

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.

Page 26: Route Reservation in Inter Networks

THANKING YOUTHANKING YOU