Font Size: a A A

The Design And Implementation Of Router Switchover System

Posted on:2016-07-22Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhaoFull Text:PDF
GTID:2308330479991516Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet, many industries have carried out the main business on the network. As the earliest industry put business on line, data communication naturally cannot be separated from the Internet. The core business of the media and the commercial industry is highly dependent on the network. Many service industries take advantage of the Internet to develop their online business. The Internet has also made unprecedented revolutions to the retail business. Under the tide of the Internet, businessmen are actively moving the business to the Internet, or the bankruptcy will not be far away. With the network bandwidth exponential growth trend, the network has widely deployed a lot of vital business which is considered to life and death about the industry. Even the basic network failure for a short time, the loss is not to be underestimated. The system designed in this paper could quickly resume normal state, and reduce the duration of the system paralysis in basic network failure.This paper studies the situation of the development of Master-slave-switch system. According to different application occasions Master-slave-switch system is different. With the development of the peripheral technology, offers a variety of choices to achieve Master-slave-switch system. Whatever the main idea is redundancy design. In this thesis, “1+1 redundancy backup mechanism” combined with the HA protocol highly improved the reliability of Master-slave-switch router system and reduced the duration of fault. The overall system development environment is C language, the development tool used insight source, the compiler tool is the CPU MIPS structure cross compiler tool chain, the operating environment is 64 bit router system.There are three modules in this theory: inter-board communication module, data synchronization module and the switchover module. The inter-board communication module mainly realizes two channels, data channels and control channels. The data channel is between the application layer and the data link layer, and provides reliable message transmission mechanism for the user. Users can communicate with other clients by unicast and multicast. Control channel is to achieve a simple heartbeat detection protocol to monitor the status of the individual board at real time, and for the rapid detection of the fault board in order to recover normal. Data synchronization module mainly realizes the main synchronization of data between the main board and the standby board, after a hot backup process fo ur stages of synchronization, the backup board and main board data remained the same. Once the main board occurs fault, the standby board can substitute the master board continue work immediately, and the communication will not be interrupted. Master-slave-switch module is mainly to achieve rapid and effective monitoring to the interruption, complete main board and standby board state switch.The testing part simulates the working environment of the router in the actual service and goes through the function and the non-function test of the system. Experimental results show that the system meets the expected functional point and performance requirements: it is no loss during the switch, and can handle network traffic effectively, also can reduce the failure duration.
Keywords/Search Tags:Hot-backup, Master-slave-switch, Main process board, Board inner communication, Router
PDF Full Text Request
Related items