CN101588302B - Method and apparatus for updating router - Google Patents
Method and apparatus for updating router Download PDFInfo
- Publication number
- CN101588302B CN101588302B CN2009101486514A CN200910148651A CN101588302B CN 101588302 B CN101588302 B CN 101588302B CN 2009101486514 A CN2009101486514 A CN 2009101486514A CN 200910148651 A CN200910148651 A CN 200910148651A CN 101588302 B CN101588302 B CN 101588302B
- Authority
- CN
- China
- Prior art keywords
- control module
- routing table
- route
- record
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for updating router, comprising: a master control module detects and obtains IS-IS data, generates a router table according to the obtained IS-IS data, and creates a forwarding table in an interface module according to the generated router table; the master control module sends the router prefix information recorded by each router in the obtained IS-IS data and generated router table to a spare control module to be backed up; and if the master control module goes wrong, the spare control module modifies the backed-up IS-IS data according to network condition, generates a router table according to the modified IS-IS data and updates the forwarding table recorded by the interface module according to the backed-up router prefix information and generated routertable. In the method, the interrupt of forwarding flow rate in the prior art which can only delete black hole router in ageing time is avoided, and the network flow rate forwarding performance of dua l-control module devices is improved.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus of routing update.
Background technology
Along with the continuous development of Network, the flow interrupt time that equipment fault causes in many operators expectation network is controlled at 50ms with interior even lower.In order to realize when certain equipment breaks down in the network, the network traffics of this device forwards are few as far as possible interrupts even not interrupting, available technology adopting NSR (Non-Stop Routing, non-interruption route) technical scheme, the main thought of this scheme are to propose a kind of two control module equipment that comprise interface module and two control modules.Control module is responsible for transmitting of docking port module records and is safeguarded, interface module carries out network traffics are carried out route according to transmitting of record.
The operation principle of this pair control module equipment is as follows: under the normal condition, two control modules are in main with state and stand-by state respectively, being in main control module with state is the main control module of using, the control module that is in stand-by state is standby control module, the master is responsible for transmitting of maintenance interface module records with control module, and standby control module backs up with the data on the control module main.When the master used the control module fault, fast quick-acting pipe master safeguarded with transmitting of control module docking port module records by standby control module, reduced equipment fault and network traffics was transmitted the influence that causes.Standby control module is taken over main with before and after the control module work, and externally all behaviors of performance are without any variation for two control module equipment, so the complete perception of peripheral equipment less than this equipment masterslave switchover taken place, and network traffics can not produce interruption.
In the prior art, the data backup scenario of two kinds of two control module equipment has been proposed: all data backup scenario and partial data backup scenario.The all data backup scenario, be that the master backs up all IS-IS (Intermediate System-to-Intermediate System Intra-domain Routing Information Exchange Protocol with control module to standby control module, Routing Information Exchange agreement in the territory of Intermediate System-to-Intermediate System) data, comprise configuration data, interface data, neighbours' data, LSDB (Link State Protocol Data Unit Database, link-state information issue message store) data, routing table and various running state data.After the master broke down with control module, standby control module was taken over main the maintenance with control module and is transmitted, to reach professional unbroken purpose.But, because generally speaking, the quantity of the routing iinformation that obtains on the equipment is huge, generally have several ten thousand even the hundreds of thousands bar, huge data like this are carried out backed up in synchronization can consume a large amount of available resources, equipment performance is brought great impact, so this data backup scenario does not have feasibility.
At the problems referred to above, the only main scheme of using the part IS-IS data of control module of backup on standby control module is proposed in the prior art, the part IS-IS data of backup comprise configuration data, interface data, neighbours' data and LSDB data.After the master broke down with control module, standby control module was made amendment to the IS-IS data of backup according to network condition, generated routing table according to the IS-IS data after changing then, again according to transmitting that the routing table update interface module that generates writes down.Because control module need be upgraded transmitting according to the comparing result between new and old routing table, and do not back up old routing table on the standby control module, be that routing table old on the standby control module is sky, standby control module can all be added every route record in the routing table that generates to and to be transmitted, and transmits and can avoid duplicate record to the route record according to the treatment mechanism of self.But, the route that exists before standby control module can't be taken over standby control module and do not calculate after the adapter of standby control module is in the middle deletion of transmitting of interface module, and this part route record in transmitting just can be eliminated after having only the automatic aging time of waiting until to reach.Thereby cause route to be deleted in automatic aging was transmitted in the time to become the black hole route, cause the transmission network flow interrupt in the certain hour.
Summary of the invention
Invention provides a kind of method and apparatus of routing update, has promoted the network traffics forwarding performance of two control module equipment.
Invention provides a kind of method of routing update, is applied in the two control module equipment that comprise interface module and two control modules, and described two control modules are in main with state and stand-by state respectively, comprising:
The master detects and obtains the IS-IS data with control module according to network condition, generates routing table according to the IS-IS data of obtaining, and sets up in described interface module according to the routing table that generates and transmits;
Described master sends to standby control module with control module with the route prefix information of each bar route record in the routing table of the IS-IS data that get access to and generation and backs up;
If described master breaks down with control module, described standby control module is initiated to main switching with state, according to network condition the IS-IS data of backup are made amendment, generate routing table according to the IS-IS data after changing, upgrade according to the route prefix information of backup and the transmitting of routing table docking port module records of generation, afterwards, described standby control module switches to main with transmitting of writing down in the state-maintenance interface module.
Wherein, described standby control module transmitting to upgrade and comprise according to the route prefix information of backup and the routing table docking port module records of generation:
In the transmitting of described interface module record, exist in the route prefix information of deletion backup and the route record of non-existent route prefix correspondence in the routing table of generation;
In the transmitting of described interface module record, add the route record of the route prefix correspondence that exists in the routing table that does not exist in the route prefix information that backs up and generate.
Wherein, described master sends to the route prefix information of each bar route record in the routing table of the IS-IS data that get access to and generation after the described standby control module with control module, also comprises:
If the described main control module operate as normal of using, described master detects the IS-IS data with control module and changes, IS-IS data after changing are sent to described standby control module to be backed up, and, upgrade according to old the transmitting of routing table docking port module records of new routing table and self record according to the new routing table of IS-IS data generation after changing.
Wherein, described main with control module transmitting to upgrade and comprise according to the old routing table docking port module records of new routing table and self record:
Existence and non-existent route record in the new routing table in the old routing table of deletion in the transmitting of described interface module record;
The route record that in the transmitting of described interface module record, does not exist in the old routing table of interpolation and exist in the new routing table;
If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with described interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.
Wherein, described main upgrade according to transmitting of the old routing table docking port module records of new routing table and self record with control module after, also comprise:
Described master notifies with control module and exists in the old routing table of described standby control module deletion and the route prefix of non-existent route record correspondence in the new routing table, adds the route prefix of the route record correspondence that does not exist in the old routing table and exist in the new routing table.
Wherein, if described master reverts to normal operating conditions with control module from malfunction, described standby control module continues to replace main with transmitting of writing down in the control module maintenance interface module, and described master backs up IS-IS data and route prefix information as new standby control module with control module.
Wherein, described route prefix is purpose IP (Internet Protocol, Internet protocol) address and the mask of route record.
The invention provides a kind of control module, be applied in the two control module equipment that comprise interface module and two control modules, described control module comprises:
Data processing unit is used for being in mainly when using state when described control module, obtains the IS-IS data in real time according to network condition; When described control module was in stand-by state, the real-time IS-IS data of control module were independently used in backup; Switch to main using the process of state from stand-by state in described control module, the IS-IS data of backup are made amendment according to network condition;
Routing table is set up the unit, is connected with described data processing unit, be used for when described control module be in main when use state, the new routing table of obtaining in real time according to described data processing unit of IS-IS data in real time generation; Switch to main using the process of state from stand-by state in described control module, generate routing table according to the amended IS-IS data of described data processing unit;
Transmitting element, setting up the unit with described data processing unit with described routing table is connected respectively, be used for being in mainly when use state when described control module, the route prefix information that real-time IS-IS data that described data processing unit is obtained and described routing table are set up each bar route record in the new routing table of unit generation in real time sends to the control module that is in stand-by state;
The route prefix processing unit is used for when described control module is in stand-by state, and the real-time route prefix information of control module is independently used in backup;
Transmit processing unit, set up the unit with routing table and be connected respectively, be used for being in mainly when use state, set up transmitting in the new routing table maintenance interface module of unit generation in real time according to described routing table when described control module with described route prefix processing unit; Switch to main using the process of state from stand-by state in described control module, upgrade according to the transmitting of routing table docking port module records that the route prefix information and the described routing table of described route prefix processing unit record are set up unit foundation.
Wherein, when described control module be in main when using state,
The described processing unit of transmitting specifically is used for the transmitting existence in the old routing table of deletion of interface module record and non-existent route record in the new routing table; The route record that in the transmitting of interface module record, does not exist in the old routing table of interpolation and exist in the new routing table; If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with described interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.
Wherein, switch to main using the process of state from stand-by state in described control module,,
The described processing unit of transmitting specifically is used for the route record of transmitting non-existent route prefix correspondence in the routing table that exists in the described route prefix information of deletion and generate at the interface module record; The route record of the route prefix correspondence that exists in the routing table that in the transmitting of described interface module record, does not exist in the described route prefix information of interpolation and generate.
Wherein, when described control module is in stand-by state,
Described route prefix processing unit, specifically be used for the route prefix of self record being carried out real-time update according to the real-time route prefix information of independently using control module, exist in the route prefix of deletion self record and non-existent route prefix in the route prefix information in real time, in the route prefix of self record, add route prefix newly-increased in the real-time route prefix information.
Wherein, described route prefix is the purpose IP address and the mask of route record.
Among the present invention, standby control module backs up with the route prefix information on the control module main, after the master is with the control module fault, upgrade according to the routing table that generates and the transmitting of route prefix information butt joint mouth module records of backup, in transmitting, delete the route record of non-existent route prefix correspondence in the routing table that exists in the route prefix information that backs up and generate.Avoided needing in the prior art to wait for that the converting flow that could delete the black hole route in transmitting after ageing time arrives and produce interrupts, promoted the network traffics forwarding performance of two control module equipment.
Description of drawings
Fig. 1 is the method flow diagram of the routing update among the present invention;
Fig. 2 is the method flow diagram of the routing update among the present invention;
Fig. 3 is the method flow diagram of the routing update among the present invention;
Fig. 4 is the method flow diagram of the routing update among the present invention;
Fig. 5 is the application scenarios schematic diagram of the method for a kind of routing update among the present invention;
Fig. 6 is the method flow diagram of the routing update among the present invention;
Fig. 7 is the structure chart of the control module among the present invention.
Embodiment
The present invention mainly provides a kind of method of routing update, main thought is: standby control module backs up with the route prefix information on the control module main, after the master is with the control module fault, upgrade according to the routing table that generates and the transmitting of route prefix information butt joint mouth module records of backup, in transmitting, delete the route record of non-existent route prefix correspondence in the routing table that exists in the route prefix information that backs up and generate.Avoided needing in the prior art to wait for that the converting flow that could delete the black hole route in transmitting after ageing time arrives and produce interrupts, promoted the network traffics forwarding performance of two control module equipment.
The present invention proposes a kind of method of routing update, be applied in the two control module equipment that comprise interface module and two control modules, two control modules are in main state and the stand-by state used respectively, and described method may further comprise the steps as shown in Figure 1:
Concrete, exist in the route prefix information of standby control module deletion backup in the transmitting of interface module record and the route record of non-existent route prefix correspondence in the routing table of generation; In the transmitting of interface module record, add the route record of the route prefix correspondence that exists in the routing table that does not exist in the route prefix information that backs up and generate.
Concrete, the present invention proposes a kind of method of routing update, be applied in the two control module equipment that comprise interface module and two control modules, two control modules are in main with state and stand-by state respectively, main be in normal operating conditions with control module always, main with transmitting that control module is responsible for writing down in the maintenance interface module, and IS-IS data and route prefix information are sent to standby control module back up, described method may further comprise the steps as shown in Figure 2:
Concrete, lead the IS-IS data that need obtain with control module and comprise configuration data, interface data, neighbours' data and LSDB data, lead with control module after having obtained these IS-IS data, according to the whole routing iinformations of IS-IS data computation.Then, the routing iinformation combination that calculates is generated routing table.
All the route record in the routing iinformation can be divided into following 3 kinds according to the source is different with effect: 1. acquire route, promptly according to reached at the information of other IS-IS routing device issue, calculate the route that dynamically generates in this locality by route.2. introducing route, promptly from other agreement, as direct-connected agreement, OSPF (Open Shortest Path First, ospf) agreement, RIP (Routing Information Protocol, routing information protocol), the route directly introduced of BGP (Border Gateway Protocol, Border Gateway Protocol).3.ATT route, the i.e. default route of a directed outwards reachable device that generates in this locality.In these 3 kinds of routing iinformations, relevant with data forwarding process route and the ATT route only acquired, so, thereby mainly only add to one by one and obtain routing table in the routing table acquiring route record and ATT route record with control module.After routing table is set up, mainly with control module the routing table of setting up is synchronized in the interface module as transmitting, interface module just can carry out route to various message according to transmitting.
Concrete, route prefix information is the purpose IP address and the mask of route record, its effect is that a route record is carried out unique identification.Owing to only acquire route record and ATT route record in the routing table, the prefix information that the master only will acquire route record and ATT route record with control module backups on the standby control module.
Concrete, the master can be after part IS-IS data change with control module, all IS-IS data of self record are all sent to standby control module, and standby control module replaces to the IS-IS data that newly receive with the old IS-IS data of self record.The main IS-IS data that also can only notify standby control module to change with control module, for example notify standby control module to need to add/revise/the IS-IS data of deleting, standby control module makes the IS-IS data that self back up be consistent with the IS-IS data that write down on the control module with main according to the IS-IS data of IS-IS Data Update self backup that changes.
Concrete, mainly need compare existence and non-existent route record in the new routing table in the old routing table of deletion in the transmitting of interface module record to new and old routing table with control module; The route record that in the transmitting of interface module record, does not exist in the old routing table of interpolation and exist in the new routing table; If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.
Main need the notice with control module exists in the old routing table of standby control module deletion and the route prefix of non-existent route record correspondence in the new routing table, adds the route prefix of the route record correspondence that does not exist in the old routing table and exist in the new routing table.
Concrete, the master can send to standby control module with the route prefix information of each bar route record in the new routing table with control module, and standby control module replaces to the route prefix information that newly receives with the old route prefix information of self record.The main route prefix information that also can only notify standby control module to change with control module, for example notify standby control module to need the route prefix information of adding/deleting, standby control module is according to the route prefix information of route prefix information updating self backup that changes, and the route prefix information of each bar route record in the route prefix information of self backup and the new routing table is consistent.
Backed up main with IS-IS data on the control module and route prefix information in above-mentioned standby control module, the master breaks down in the course of the work with control module, standby control module need be taken over main with transmitting of writing down in the control module maintenance interface module, described method may further comprise the steps as shown in Figure 3:
Concrete, standby control module need exist in the route prefix information of deletion backup in the transmitting of interface module record and the route record of non-existent route prefix correspondence in the routing table of generation; And, in the transmitting of interface module record, add the route record of the route prefix correspondence that exists in the routing table that does not exist in the route prefix information that backs up and generate.
Concrete, standby control module needs to detect in real time the IS-IS data, if detecting the IS-IS data changes, generates new routing table according to the IS-IS data after changing.Afterwards, upgrade, and replace the routing table record of old routing table as self with new routing table according to old the transmitting of routing table docking port module records of new routing table and self record.
Taken over main transmitting of writing down in control module maintenance interface module in above-mentioned standby control module, the master reverts to normal operating conditions with control module from malfunction, standby control module continues to replace main with transmitting of writing down in the control module maintenance interface module, the master then backs up IS-IS data and route prefix information as new standby control module with control module, described method may further comprise the steps as shown in Figure 4:
Concrete, standby control module need compare new and old routing table, existence and non-existent route record in the new routing table in the old routing table of deletion in the transmitting of interface module record; The route record that in the transmitting of interface module record, does not exist in the old routing table of interpolation and exist in the new routing table; If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.
Standby control module need be notified the route prefix of non-existent route record correspondence in the main routing table new with existing in the old routing table of control module deletion, adds the route prefix of the route record correspondence that does not exist in the old routing table and exist in the new routing table.
One of concrete application scenario of the method for the routing update that Fig. 5 proposes for the present invention, under this application scenario, comprise 3 network equipments (being respectively R1, R2 and R3), wherein, R2 comprises main two control module equipment with control module, standby control module and interface module, detailed process may further comprise the steps as shown in Figure 6:
For example, after the master breaks down with control module, the interface fault of R3, cause the route of R3 obstructed, not having prefix in the newly-generated routing table is the route record of 23.0.0.0/24, and the prefix of this route is arranged in the backup prefix table, the prefix during then standby control module is transmitted deletion is the route record of 23.0.0.0/24.
The invention provides a kind of control module corresponding with the inventive method, be applied in the two control module equipment that comprise interface module and two control modules, as shown in Figure 7, described control module comprises that data processing unit 701, routing table set up unit 702, transmitting element 703, route prefix processing unit 704 and transmit processing unit 705, wherein:
Routing table is set up unit 702, is connected with data processing unit 701, be used for when described control module be in main when use state, the new routing table of obtaining in real time according to data processing unit 701 of IS-IS data in real time generation; Switch to main using the process of state from stand-by state in described control module, generate routing tables according to data processing unit 701 amended IS-IS data.
Transmitting element 703, setting up unit 702 with data processing unit 701 and routing table is connected respectively, be used for being in mainly when use state when described control module, the route prefix information that real-time IS-IS data that data processing unit 701 is obtained and routing table are set up each bar route record in the new routing table of unit 702 generations in real time send to the control module that is in stand-by state.
Route prefix processing unit 704 is used for when described control module is in stand-by state, and the real-time route prefix information of control module is independently used in backup.Concrete, route prefix processing unit 704, be used for the route prefix of self record being carried out real-time update according to the real-time route prefix information of independently using control module, exist in the route prefix of deletion self record and non-existent route prefix in the route prefix information in real time, in the route prefix of self record, add route prefix newly-increased in the real-time route prefix information.
Transmit processing unit 705, setting up unit 702 with routing table is connected respectively with route prefix processing unit 704, be used for being in mainly when use state, set up transmitting in the new routing table maintenance interface modules of unit 702 generations in real time according to routing table when described control module; Switch to main using the process of state from stand-by state in described control module, upgrade according to the transmitting of routing table docking port module records that the route prefix information and the routing table of route prefix processing unit 704 records are set up unit 702 foundation.Concrete, when described control module is in mainly when use state, transmit processing unit 705, be used for deleting existence in the old routing table and non-existent route record in the new routing table transmitting of interface module record; The route record that in the transmitting of interface module record, does not exist in the old routing table of interpolation and exist in the new routing table; If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with described interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.Concrete, switch to main with the process of state from stand-by state in described control module, transmit processing unit 705, be used for the route record of transmitting non-existent route prefix correspondence in the routing table that exists in the described route prefix information of deletion and generate at the interface module record; The route record of the route prefix correspondence that exists in the routing table that in the transmitting of interface module record, does not exist in the interpolation route prefix information and generate.
Among the present invention, standby control module backs up with the route prefix information on the control module main, after the master is with the control module fault, upgrade according to the routing table that generates and the transmitting of route prefix information butt joint mouth module records of backup, in transmitting, delete the route record of non-existent route prefix correspondence in the routing table that exists in the route prefix information that backs up and generate.Avoided needing in the prior art to wait for that the converting flow that could delete the black hole route in transmitting after ageing time arrives and produce interrupts, promoted the network traffics forwarding performance of two control module equipment.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, perhaps network equipment etc.) carry out method of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the present invention can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (12)
1. the method for a routing update is applied in the two control module equipment that comprise interface module and two control modules, and described two control modules are in main state and the stand-by state used respectively, it is characterized in that, comprising:
The master detects and obtains the IS-IS data with control module according to network condition, generates routing table according to the IS-IS data of obtaining, and sets up in described interface module according to the routing table that generates and transmits;
Described master sends to standby control module with control module with the route prefix information of each bar route record in the routing table of the IS-IS data that get access to and generation and backs up;
If described master breaks down with control module, described standby control module is initiated to main switching with state, according to network condition the IS-IS data of backup are made amendment, generate routing table according to the IS-IS data after changing, upgrade according to the route prefix information of backup and the transmitting of routing table docking port module records of generation, afterwards, described standby control module switches to main with transmitting of writing down in the state-maintenance interface module.
2. the method for claim 1 is characterized in that, described standby control module is transmitted to upgrade and comprised according to the route prefix information of backup and the routing table docking port module records of generation:
In the transmitting of described interface module record, exist in the route prefix information of deletion backup and the route record of non-existent route prefix correspondence in the routing table of generation;
In the transmitting of described interface module record, add the route record of the route prefix correspondence that exists in the routing table that does not exist in the route prefix information that backs up and generate.
3. the method for claim 1 is characterized in that, described master sends to the route prefix information of each bar route record in the routing table of the IS-IS data that get access to and generation after the described standby control module with control module, also comprises:
If the described main control module operate as normal of using, described master detects the IS-IS data with control module and changes, IS-IS data after changing are sent to described standby control module to be backed up, and, upgrade according to old the transmitting of routing table docking port module records of new routing table and self record according to the new routing table of IS-IS data generation after changing.
4. method as claimed in claim 3 is characterized in that, and is described main with control module transmitting to upgrade and comprise according to the old routing table docking port module records of new routing table and self record:
Existence and non-existent route record in the new routing table in the old routing table of deletion in the transmitting of described interface module record;
The route record that in the transmitting of described interface module record, does not exist in the old routing table of interpolation and exist in the new routing table;
If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with described interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.
5. method as claimed in claim 4 is characterized in that, described main upgrade according to transmitting of the old routing table docking port module records of new routing table and self record with control module after, also comprise:
Described master notifies with control module and exists in the old routing table of described standby control module deletion and the route prefix of non-existent route record correspondence in the new routing table, adds the route prefix of the route record correspondence that does not exist in the old routing table and exist in the new routing table.
6. the method for claim 1, it is characterized in that, if described master reverts to normal operating conditions with control module from malfunction, described standby control module continues to replace main with transmitting of writing down in the control module maintenance interface module, and described master backs up IS-IS data and route prefix information as new standby control module with control module.
7. as each described method in the claim 1 to 6, it is characterized in that described route prefix is the purpose IP address and the mask of route record.
8. a control module is applied in the two control module equipment that comprise interface module and two control modules, it is characterized in that described control module comprises:
Data processing unit is used for being in mainly when using state when described control module, obtains the IS-IS data in real time according to network condition; When described control module was in stand-by state, the real-time IS-IS data of control module were independently used in backup; Switch to main using the process of state from stand-by state in described control module, the IS-IS data of backup are made amendment according to network condition;
Routing table is set up the unit, is connected with described data processing unit, be used for when described control module be in main when use state, the new routing table of obtaining in real time according to described data processing unit of IS-IS data in real time generation; Switch to main using the process of state from stand-by state in described control module, generate routing table according to the amended IS-IS data of described data processing unit;
Transmitting element, setting up the unit with described data processing unit with described routing table is connected respectively, be used for being in mainly when use state when described control module, the route prefix information that real-time IS-IS data that described data processing unit is obtained and described routing table are set up each bar route record in the new routing table of unit generation in real time sends to the control module that is in stand-by state;
The route prefix processing unit is used for when described control module is in stand-by state, and the real-time route prefix information of control module is independently used in backup;
Transmit processing unit, set up the unit with routing table and be connected respectively, be used for being in mainly when use state, set up transmitting in the new routing table maintenance interface module of unit generation in real time according to described routing table when described control module with described route prefix processing unit; Switch to main using the process of state from stand-by state in described control module, upgrade according to the transmitting of routing table docking port module records that the route prefix information and the described routing table of described route prefix processing unit record are set up unit foundation.
9. control module as claimed in claim 8 is characterized in that, when described control module be in main when using state,
The described processing unit of transmitting specifically is used for the transmitting existence in the old routing table of deletion of interface module record and non-existent route record in the new routing table; The route record that in the transmitting of interface module record, does not exist in the old routing table of interpolation and exist in the new routing table; If there are route records identical with old routing table route prefix but that other routing iinformation is different in the new routing table, with described interface module write down transmit in have this route prefix route record be revised as route record in the new routing table.
10. control module as claimed in claim 8 is characterized in that, switches to main using the process of state from stand-by state in described control module,
The described processing unit of transmitting specifically is used for the route record of transmitting non-existent route prefix correspondence in the routing table that exists in the described route prefix information of deletion and generate at the interface module record; The route record of the route prefix correspondence that exists in the routing table that in the transmitting of described interface module record, does not exist in the described route prefix information of interpolation and generate.
11. control module as claimed in claim 8 is characterized in that, when described control module is in stand-by state,
Described route prefix processing unit, specifically be used for the route prefix of self record being carried out real-time update according to the real-time route prefix information of independently using control module, exist in the route prefix of deletion self record and non-existent route prefix in the route prefix information in real time, in the route prefix of self record, add route prefix newly-increased in the real-time route prefix information.
12., it is characterized in that described route prefix is the purpose IP address and the mask of route record as each described control module in the claim 8 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101486514A CN101588302B (en) | 2009-06-26 | 2009-06-26 | Method and apparatus for updating router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101486514A CN101588302B (en) | 2009-06-26 | 2009-06-26 | Method and apparatus for updating router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101588302A CN101588302A (en) | 2009-11-25 |
CN101588302B true CN101588302B (en) | 2011-08-31 |
Family
ID=41372372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101486514A Active CN101588302B (en) | 2009-06-26 | 2009-06-26 | Method and apparatus for updating router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101588302B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753581B (en) * | 2010-01-15 | 2013-04-24 | 华为技术有限公司 | Method and device for forwarding uninterrupted data |
CN102868586B (en) * | 2012-09-25 | 2015-06-10 | 杭州华三通信技术有限公司 | Method for establishing tunnel forwarding table entries, central node and branch nodes |
CN104426775B (en) * | 2013-08-19 | 2019-06-14 | 中兴通讯股份有限公司 | A kind of implementation method and device of routing update |
CN104734958A (en) * | 2013-12-18 | 2015-06-24 | 深圳市中兴微电子技术有限公司 | Aging method and device for routing information |
CN105007607B (en) * | 2014-04-24 | 2018-10-23 | 中国电信股份有限公司 | Route advertising method and system |
CN105991425B (en) * | 2015-02-12 | 2020-04-10 | 中兴通讯股份有限公司 | Route configuration method and system |
CN106341251A (en) * | 2015-07-10 | 2017-01-18 | 中兴通讯股份有限公司 | Master and slave switching method and device based on dual master control |
CN105939203B (en) * | 2015-08-10 | 2019-04-05 | 杭州迪普科技股份有限公司 | List item synchronous method and device |
CN106453097B (en) * | 2016-11-15 | 2019-04-30 | 中国科学院计算技术研究所 | The method and system of routing table are obtained in a kind of data center |
CN109995717A (en) * | 2017-12-29 | 2019-07-09 | 中移(杭州)信息技术有限公司 | A kind of webpage tamper disposal system and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426169A (en) * | 2001-12-12 | 2003-06-25 | 华为技术有限公司 | Method for improving route repeat liability of access server |
CN1725733A (en) * | 2005-06-10 | 2006-01-25 | 杭州华为三康技术有限公司 | Method of route backup in combination equipment and combination equipment |
-
2009
- 2009-06-26 CN CN2009101486514A patent/CN101588302B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426169A (en) * | 2001-12-12 | 2003-06-25 | 华为技术有限公司 | Method for improving route repeat liability of access server |
CN1725733A (en) * | 2005-06-10 | 2006-01-25 | 杭州华为三康技术有限公司 | Method of route backup in combination equipment and combination equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101588302A (en) | 2009-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101588302B (en) | Method and apparatus for updating router | |
CN102308273B (en) | Storage system | |
CN104243205A (en) | Message processing method and device used during virtual switch fault | |
JP2019075691A (en) | Mirror packet control program, mirror packet control method, and mirror packet control device | |
CN102882704B (en) | Link protection method in the soft reboot escalation process of a kind of ISSU and equipment | |
JP2004173136A (en) | Network management device | |
CN104301142A (en) | Backup method and device for configuration files | |
WO2016177231A1 (en) | Dual-control-based active-backup switching method and device | |
CN102025552A (en) | Backup method and backup device of link-state advertisement | |
CN106209619A (en) | A kind of real-time automatic switching control equipment being applied to route interruption and method | |
CN111190767A (en) | Method and device for realizing LSDB master-slave synchronization in OSPF protocol | |
CN105939254A (en) | Method and device for switching state of VRRP (Virtual Router Redundancy Protocol) backup set | |
CN106161086A (en) | Control method that master control borad is restarted and device | |
CN110603798B (en) | System and method for providing elastic consistency platform with high availability | |
JP2006246152A (en) | Packet transfer apparatus, packet transfer network, and method for transferring packet | |
CN103166847B (en) | Ensure the method and apparatus of Graceful Restart | |
CN105335217A (en) | Server quiescing method and system | |
CN104869016A (en) | Method and equipment for transmitting data message | |
JP4717796B2 (en) | Node device and path setting method | |
JP6431498B2 (en) | Subscriber accommodation device redundancy system, redundancy control device, and redundancy control method | |
CN113746730B (en) | Routing information processing method and device | |
JP2013046252A (en) | Vrrp system and vrrp program | |
JP2019047396A (en) | Communication device, communication method, computer program, and communication system | |
US20230055402A1 (en) | Communication apparatus, switching control method and program | |
CN102332986B (en) | Address processing method, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |