Vous êtes sur la page 1sur 26

Guided by Mr.M.Marikkannan, M.

E
Done by D.Naveen Kumar R.K.Srinivasan

ABSTRACT

Route reservation-based (RB) communication can yield better delay performance than nonreservation-based (NRB) communication in Inter networks, A novel analytical framework is developed and the network performance under both RB and NRB schemes is quantified. If the aforementioned requirements are met, then RB schemes can indeed yield better delay performance than NRB schemes.

Existing System

In an NRB (Non Reservation Based) scheme, an intermediate node can simultaneously serve as relay for more than one source. Hence, the resources (in terms of relaying nodes) are shared in an on-demand fashion. This is typical for most of the routing protocols for networks proposed in the literature

Proposed System

In an RB (Reservation Based) scheme, a source first reserves a multi-hop route to its destination. t reserves intermediate nodes before the actual transmission begins. The reserved intermediate nodes are required to relay only the message generated by the specific source. This gives the source an exclusive access to the path to the destination

Modules

Non Reservation Based Routing Reservation Based Routing Comparison Chart

IMPLEMENTATION

Route Request

Route Maintenance

Message Transfer

Cache Update

SNAP SHOTS WITH CODE

RR Main

NRB Main with nodes connected

NRB Main with file

long lngStart=System.currentTimeMillis(); NRBSoc nrb=new NRBSoc(); findNode fn = new findNode(); Vector findnode = fn.getNode(); System.out.println("FindNodes : "+findnode); anode= nrb.routeRequest(findnode); for(int i=0; i<findnode.size(); i++) { String nodetemp = findnode.elementAt(i).toString(); jTextArea1.append(nodetemp+"\n"); } System.out.println("AllNodes : "+anode); String ANodes=nrb.sendData(anode,Dest,Msg); if(ANodes.contains("#")) { String[] anodestr=ANodes.split("#"); for(int i=0;i<anodestr.length;i++) { jTextArea2.append(anodestr[i]+"\n"); } } else { jTextArea2.setText(ANodes+"\n"); } long lngEnd = System.currentTimeMillis(); long NRBDelay=lngEnd-lngStart; delayNRB = new Double(NRBDelay); JOptionPane.showMessageDialog((Component) null,"NRB Transmit time..."+delayNRB,"Click OK",JOptionPane.INFORMATION_MESSAGE);

NRB Destination

NRB main with Transmit Time

RB Main file

if(!Msg.equals("")) { long lngStart=System.currentTimeMillis(); rb.sendData(Dest,Msg); long lngEnd = System.currentTimeMillis(); long RBDelay=lngEnd-lngStart; delayRB = new Double(RBDelay); JOptionPane.showMessageDialog((Component) null,"RB Transmit time..."+delayRB,"Click OK",JOptionPane.INFORMATION_MESSAGE); }

RB Destination

RB Main with Transmit time

Comparison chart

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

final ChartPanel chartPanel = new ChartPanel(chart); chartPanel.setPreferredSize(newjava.awt.Dimension(500, 270)); this.setDefaultCloseOperation(EXIT_ON_CLOSE); this.setVisible(true);

CONCLUSION

The results of the analytical framework show that RB schemes are appropriate for real-time applications, such as voice and video . It is important to understand that if one uses a different MAC protocol and/or one does not use a separate control channel for route discovery, for instance, then the results obtained might be very different from those derived in this implementation.

FUTURE ENHANCEMENTS

Our implementation in Inter networks can be implemented in Ad-hoc or mobile networks . Also sending a file to more than one client can be achieved in the future.

THANKING YOU

Vous aimerez peut-être aussi