CN103138987A - Method and device of route management - Google Patents

Method and device of route management Download PDF

Info

Publication number
CN103138987A
CN103138987A CN2013100442430A CN201310044243A CN103138987A CN 103138987 A CN103138987 A CN 103138987A CN 2013100442430 A CN2013100442430 A CN 2013100442430A CN 201310044243 A CN201310044243 A CN 201310044243A CN 103138987 A CN103138987 A CN 103138987A
Authority
CN
China
Prior art keywords
routing
route
information
routing iinformation
module
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.)
Pending
Application number
CN2013100442430A
Other languages
Chinese (zh)
Inventor
赵良
卢祖友
胡祖松
李永合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN2013100442430A priority Critical patent/CN103138987A/en
Publication of CN103138987A publication Critical patent/CN103138987A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device of route management and relates to the technical field of network communication. The method and the device of the route management can achieve unified management of various routes, reduce the complexity of interaction of the various routes in a route generation module, a route management module and a route application module, and improve the performance of a system. The method of the route management comprises the following steps of receiving first route information, wherein the first route information comprises at least one piece of route information, updating route information stored in local after executing management operation to the first route information, and sending corresponding route information to a registered route application module according to variation of the updated route information stored in local. The method and the device of the route management are applicable to being used when the route information is managed.

Description

A kind of method of routing management and device
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of method and device of routing management.
Background technology
In existing communication equipment, route is divided into direct-connected route, dynamic routing, static routing three types.Wherein, route generation module, routing management module, the route generation modules such as direct-connected routing module, dynamic routing protocol module, static routing protocol module.After direct-connected routing module and static routing protocol module generation routing iinformation, routing iinformation is sent to the route application module, the route application module is used this routing iinformation, direct-connected routing module and static routing protocol module can also send to routing management module with routing iinformation, and routing management module is stored route information.The dynamic routing protocol module sends to the routing iinformation that produces in routing management module, sends to the route application module by routing management module.
Yet, the route generation module of this three types is when having the routing iinformation of generation function, the function that also has management of routing information, the route application module has the function of using routing iinformation and management of routing information simultaneously, make the mutual complexity of different routes, cause systematic function to reduce.
Summary of the invention
The method of a kind of routing management provided by the invention and device, can realize dissimilar route is carried out unified management, reduced dissimilar route at the route generation module, mutual complexity in routing management module and route application module improves systematic function.
On the one hand, the embodiment of the present invention provides a kind of method of routing management, comprising:
Receive the first routing iinformation, the described first via comprises at least one routing iinformation by information;
The described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping;
According to the variation of the described local routing iinformation of preserving after upgrading, the routing iinformation of correspondence is sent to registered route application module.
In another embodiment of the present invention, described reception the first routing iinformation comprises:
Receive described the first routing iinformation that dissimilar route generation module generates; Wherein, described dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.
In another embodiment of the present invention, the described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping, specifically comprise:
Described the first routing iinformation is carried out validity check, obtain legal secondary route information;
According to described secondary route information, upgrade the local routing iinformation of preserving;
When having identical routing iinformation in the routing iinformation that preserve this locality after judgement is upgraded, the priority according to described identical routing iinformation arranges preferred mark to the high routing iinformation of priority, and described identical routing iinformation comprises that destination address information is identical.
In another embodiment of the present invention, the described first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
The routing iinformation of described correspondence comprises described route interpolation information, and/or described routing update information, and/or described route deletion information.
On the other hand, the embodiment of the present invention provides a kind of device of routing management, comprising:
Receiving element is used for receiving the first routing iinformation, and the described first via comprises at least one routing iinformation by information;
Processing unit is used for the described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping;
Transmitting element is used for the variation according to the described local routing iinformation of preserving after upgrading, and the routing iinformation of correspondence is sent to registered route application module.
In another embodiment of the present invention, described receiving element is for described the first routing iinformation that receives dissimilar route generation module; Wherein, described dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.
In another embodiment of the present invention, described processing unit also is used for described the first routing iinformation is carried out validity check, obtains legal secondary route information; According to described secondary route information, upgrade the local routing iinformation of preserving; And when having identical routing iinformation in the routing iinformation that preserve this locality after the judgement renewal, priority according to described identical routing iinformation, the high routing iinformation of priority is arranged preferred mark, and described identical routing iinformation comprises that destination information is identical.
In another embodiment of the present invention, the described first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
The routing iinformation of described correspondence comprises described route interpolation information, and/or described routing update information, and/or described route deletion information.
On the other hand, the embodiment of the present invention provides a kind of system of routing management, comprising: route generation module, routing management module, route application module;
Described route generation module comprises dissimilar route generation module, and wherein, described dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module; For generation of the first routing iinformation, the described first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
Described routing management module is used for receiving described the first routing iinformation that described route generation module produces, and the described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping; The variation of the routing iinformation of preserving according to this locality sends corresponding routing iinformation to registered route application module;
Described route application module is used for registering to routing management module, receives the routing iinformation that routing management module sends.
In another embodiment of the present invention, described routing management module also is used for described the first routing iinformation is carried out validity check, obtains to be updated in the local routing iinformation of preserving after legal secondary route information; When having identical routing iinformation in the routing iinformation that preserve this locality after judgement is upgraded, the priority according to described identical routing iinformation arranges preferred mark to the high routing iinformation of priority, and described identical routing iinformation comprises that destination address information is identical.
The method of a kind of routing management provided by the invention and device, by receiving the first routing iinformation, the first via comprises at least one routing iinformation by information; The first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping; The variation of the routing iinformation of preserving according to this locality after upgrading sends to registered route application module with the routing iinformation of correspondence.with direct-connected routing module in prior art, the static routing protocol module, the route generation modules such as dynamic routing protocol module are when having the routing iinformation of generation function, the function that also has management of routing information, the route application module has the function of using routing iinformation and management of routing information simultaneously, make the mutual complexity of different routes, the problem that causes systematic function to reduce is compared, the embodiment of the present invention can realize dissimilar route is carried out unified management, reduced dissimilar route at the route generation module, mutual complexity in routing management module and route application module, improve systematic function.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the method for a kind of routing management that Fig. 1 provides for the embodiment of the present invention 1;
The flow chart of the method for the another kind of routing management that Fig. 2 provides for the embodiment of the present invention 1;
The schematic diagram of the method for a kind of routing management that Fig. 3 provides for the embodiment of the present invention 1;
The block diagram of the device of a kind of routing management that Fig. 4 provides for the embodiment of the present invention 2;
The block diagram of the system of a kind of routing management that Fig. 5 provides for the embodiment of the present invention 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of method of routing management, and the executive agent of the method can be routing device, is specially the routing management module in routing device, and the method comprises the following steps:
Step 101 receives the first routing iinformation, and the first via comprises at least one routing iinformation by information;
Routing device in the present embodiment can be router, also can be for having the switch of routing function.Routing device can comprise the route generation module, routing management module and route application module.
The route generation module comprises dissimilar route generation module.Wherein, dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.Direct-connected routing module becomes direct-connected routing iinformation, and the static routing protocol module generates static routing information, the dynamic routing information that the dynamic routing protocol module generates.The show the way route of the subnet that connected by equipment interface of direct-connected route.Static routing refers to the route that manually added by the network manager on routing device.Dynamic routing refers to the variation according to network configuration or flow, and dynamic routing protocol can be adjusted the route that generates automatically.
The route generation module generates the first routing iinformation, and the first routing iinformation can comprise route interpolation information, and/or routing update information, and/or route deletion information.
Step 102 is upgraded the local routing iinformation of preserving to the first via after by the information and executing bookkeeping;
By routing management module, the first routing iinformation is carried out validity check, validity check comprises whether the Interface status that checks outgoing interface in routing iinformation is normal, and whether next hop address is effective etc.
Routing iinformation outgoing interface state in the first routing iinformation is normal, and when next hop address was effective, routing management module determined that this routing iinformation is legal secondary route information; Routing iinformation outgoing interface state in the first routing iinformation is undesired, and when next hop address was invalid, routing management module determined that this routing iinformation is illegal routing iinformation.Routing management module is deleted illegal routing iinformation in the first routing iinformation, according to the local routing iinformation of preserving of legal secondary route information updating.
Step 103, the variation of the routing iinformation of preserving according to this locality sends to registered route application module with the routing iinformation of correspondence.
Registered route application module comprises at least one route application module.After the route application module starts, send route request information to routing management module, after routing management module received the route request information of this route application module transmission, this route application module was completed to the registration of route application module.Whole routing iinformations that routing management module is preserved this locality send to the route application module of firm registration, the line item of going forward side by side.
When the route generation module sent the first routing iinformation to routing management module, routing management module sent corresponding routing iinformation to registered route application module in real time according to the variation of the routing iinformation that preserve this locality.Wherein, the variation of the local routing iinformation of preserving can be for adding route, routing update or route deletion.
The method of a kind of routing management provided by the invention, by receiving the first routing iinformation, the first via comprises at least one routing iinformation by information; The first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping; The variation of the routing iinformation of preserving according to this locality sends corresponding routing iinformation to registered route application module.with direct-connected routing module in prior art, the static routing protocol module, the route generation modules such as dynamic routing protocol module are when having the routing iinformation of generation function, the function that also has management of routing information, the route application module has the function of using routing iinformation and management of routing information simultaneously, make the mutual complexity of different routes, the problem that causes systematic function to reduce is compared, the embodiment of the present invention can realize dissimilar route is carried out unified management, reduced dissimilar route at the route generation module, mutual complexity in routing management module and route application module, improve systematic function.
As shown in Figure 2, the embodiment of the present invention provides the method for another kind of routing management, and the method comprises the following steps:
Step 201, the route generation module produces the first routing iinformation, and the first routing iinformation is sent to routing management module;
The route generation module comprises dissimilar route generation module.Wherein, dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.Direct-connected routing module generates direct-connected routing iinformation, and the static routing protocol module generates static routing information, the dynamic routing information that the dynamic routing protocol module generates.The show the way route of the subnet that connected by equipment interface of direct-connected route.Static routing refers to the route that manually added by the network manager on routing device.Dynamic routing refers to the variation according to network configuration or flow, and Routing Protocol can be adjusted the route that generates automatically.
The route generation module generates the first routing iinformation, and the first routing iinformation can comprise route interpolation information, and/or routing update information, and/or route deletion information.Wherein, route is added information, and routing update information and route deletion information all can be direct-connected routing iinformation, and/or static routing information, and/or dynamic routing information.
By safeguarding the operation information of routing device, receiving interface message and interface IP address message produce direct-connected routing iinformation according to information such as destination address, gateway address, Interface status inspections as the direct-connected routing module of route generation module., receive the static routing configuration informations such as shell, client or web and produce static routing information by safeguarding the operation information of routing device as the static routing protocol module of route generation module.By safeguarding the operation information of routing device, and the mutual message of other routing device produces dynamic routing information according to dynamic routing protocol as the dynamic routing protocol module of route generation module; It is a variety of that those skilled in the art know that very clearly the dynamic routing protocol module comprises, open type shortest path priority protocol (Open Shortest Path First for example, OSPF), routing information protocol (Routing Information Protocol, RIP), the routing protocol of Intermediate System-to-Intermediate System (Intermediate System to Intermediate System Routing Protocol, IS-IS) etc., this step of detailed process of all types of dynamic routing protocol modules generation dynamic routings repeats no more.Need to prove, routing device comprises at least a route generation module, a routing management module and at least one route application module.
Step 202, routing management module receives the first routing iinformation that the route generation module produces; Then the first routing iinformation is carried out validity check, obtain legal secondary route information;
By routing management module, the first routing iinformation is carried out validity check, validity check comprises whether the Interface status that checks outgoing interface in routing iinformation is normal, and whether next hop address is effective etc.
Routing iinformation outgoing interface state in the first routing iinformation is normal, and when next hop address was effective, routing management module determined that this routing iinformation is legal secondary route information; Routing iinformation Interface status in the first routing iinformation is undesired, and when next hop address was invalid, routing management module determined that this routing iinformation is illegal routing iinformation.Routing management module is deleted illegal routing iinformation in the first routing iinformation, generates the local routing iinformation of preserving of legal secondary route information updating.Be understandable that, secondary route information can comprise at least one legal routing iinformation.
Step 203, routing management module carries out processed to secondary route information, and the high routing iinformation of priority is arranged preferred mark;
In routing management module, route priority is arranged as direct-connected route, static routing, dynamic routing from high to low.When having identical route in secondary route information, according to the priority of identical route, in the routing iinformation that preserve this locality, the high route of priority is arranged preferred mark, identical route refers to that destination address information is identical.
for example, route generation module in routing device comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module, routing iinformation of each self-generating of the route generation module of this three types, be that the first via comprises three routes interpolation information by information, article one, route interpolation information is the direct-connected routing iinformation A that is produced by direct-connected routing module, second route interpolation information is the static routing information B that has the static routing protocol module to produce, A Third Way is the dynamic routing information C that is produced by the dynamic routing protocol module by interpolation information, then the route generation module sends to routing management module with these three route interpolation information, routing management module is at first to direct-connected routing iinformation A, static routing information B and dynamic routing information C carry out validity check.Be understandable that, the route generation module can the information of adding send to routing management module simultaneously with these three routes, and perhaps, the route generation module can the information of adding send to routing management module successively with these three routes.When these three routing iinformations are legal routing iinformation, determine that these three route interpolation information are secondary route information; After the local routing iinformation of preserving of this secondary route information updating, then routing management module detects destination address information that these three routing iinformations comprise when identical, these three route interpolation information are carried out processed, obtain a direct-connected routing iinformation A by prioritization, this direct-connected routing iinformation A is arranged preferred mark.
Need to prove, routing management module arranges preferred mark to direct-connected routing iinformation after upgrading the local routing iinformation of preserving.Routing management module starts along with the startup of routing device, makes routing management module always ceaselessly in service.
In addition, routing management module has the routing iinformation measuring ability, namely can carry out bookkeeping to the routing iinformation that preserve this locality when routing management module when system resource management module (as the system interface administration module) etc. is received variation (changing as the Interface status) information of system resource.For example when receiving element 401 receives the abnormal message of outgoing interface state of the first outgoing interface, processing unit 402 is according to the abnormal message of outgoing interface state of this first outgoing interface, search the routing iinformation of corresponding the first outgoing interface in the routing iinformation that preserve this locality, if determine after searching that routing iinformation C comprises the first outgoing interface, processing unit 402 is deleted routing iinformation C.
Need to prove, step 203 is optional step in the present embodiment, when identical routing iinformation occurring in secondary route information, routing management module need to carry out processed with the local routing information after upgrading, and the high routing iinformation of priority is arranged preferred mark.
Step 204, routing management module sends corresponding routing iinformation to registered route application module;
The route application module is registered by sending route request information to routing management module when starting, and route request information is used for to the routing management module request route information.Need to prove, registered route application module only need to send a route request information to the route administration module, and after routing management module sends route request information, the route application module has become registered route application module.In the process of routing device continuous service, the variation of the routing iinformation that routing management module can be automatically preserved according to this locality, the routing iinformation with correspondence sends to registered route application module in real time.Wherein, corresponding routing iinformation comprises route interpolation information, and/or routing update information, and/or route deletion information.For example, according to giving an example in step 203, after routing management module arranges preferred mark to direct-connected routing iinformation A, direct-connected routing iinformation A is sent to registered route application module.perhaps, after the route generation module produces a routing update information, this routing update information is the dynamic routing information D that the dynamic routing protocol module produces, this dynamic routing information D is sent in routing management module, routing management module is when receiving this dynamic routing information D, obtaining dynamic routing information D is the routing iinformation that the dynamic routing protocol module produces, and the destination address of the dynamic routing information C that the destination address of dynamic routing information D and same route generation module are produced compares, when both destination address information is identical, routing management module is updated to dynamic routing information D with the dynamic routing information C in the routing iinformation of this locality preservation, when having identical routing iinformation in the routing iinformation that preserve this locality after then the routing management module judgement is upgraded, priority according to described identical routing iinformation, if when having had the identical static routing information of destination address with dynamic routing information D, the high routing iinformation of priority is arranged preferred mark, not send dynamic routing information D to registered route application module, when not having identical routing iinformation in the routing iinformation that preserve this locality after judgement is upgraded, dynamic routing information D is arranged preferred mark, send interpolation message (add message by the route application module according to this route and upgrade voluntarily local dynamic routing information C) or the direct updating message that sends dynamic routing information D to registered route application module of dynamic routing information D to registered route application module.
Concrete, as shown in Figure 3, Fig. 3 comprises routing device A30 and routing device B31, routing device A30 comprises route generation module 301, routing management module 302, registered route application module 303; Routing device B31 comprises route generation module 311, routing management module 312, registered route application module 313.Route generation module 301 at routing device A30 comprises a dynamic routing protocol module 3011 and a static routing protocol module 3012, the Routing Protocol of this dynamic routing protocol module 3011 is OSPF, the Routing Protocol of this static routing protocol module is static routing protocol (Static route, STRT); The route generation module 311 of routing device B31 comprises a dynamic routing protocol module 3111, and the Routing Protocol of this dynamic routing protocol module 3111 is OSPF.In routing device A30, dynamic routing protocol module 3111 in the route generation module 311 of the dynamic routing protocol module 3011 in the route generation module 301 of routing device A30 and routing device B31 is carried out alternately, route generation module 301 produces a routing iinformation a, and the destination address of this routing iinformation a is 11.11.11.0/24; Outgoing interface is gigaethernet1; Next hop address is 12.12.12.12, then dynamic routing protocol module 3011 sends to routing management module 302 with this routing iinformation a, static routing protocol module in route generation module 301 3012 generates a routing iinformation b simultaneously, and the destination address of this routing iinformation b is 11.11.11.0/24; Outgoing interface is gigaethernet2; Next hop address is 12.12.12.12, and this routing iinformation b is sent to routing management module 302.routing management module 302 is after receiving routing iinformation a and routing iinformation b, route information a and routing iinformation b are carried out validity check, it is legal that check result is that routing iinformation a and routing iinformation b are, upgrade the local routing iinformation of preserving, this moment, routing management module 302 discovery routing iinformation a were identical with the destination address of routing iinformation b, then route information a and routing iinformation b are carried out prioritization, after carrying out prioritization, routing management module 302 sends to registered route application module 303 with the routing iinformation b that static routing protocol module 3012 generates.
Step 205, registered route application module upgrades the local routing iinformation of preserving according to the routing iinformation that receives the correspondence that routing management module sends, and the routing iinformation that the message that receives is preserved according to this locality after upgrading carries out message repeating.
The route application module comprises IP stack and route application module (for example forwarding module) commonly used.The route application module is after routing management module is completed registration, and the variation of the routing iinformation that routing management module is preserved according to this locality sends to registered route application module with the routing iinformation of correspondence.Need to prove, after registered route application module sent corresponding routing iinformation, registered route application module was according to the local routing iinformation of preserving of the updating route information of correspondence, in order to carry out message repeating when routing management module.
Whether the present invention does not limit registered route application module and starts along with the startup of routing device, be that registered route application module can start along with the startup of routing device, perhaps registered route application module can be after routing device starts, according to actual conditions, manually start registered route application module by the user.
in the prior art, direct-connected routing module and/or static routing protocol as the route generation module in routing device directly send to the route application module with the routing iinformation that generates, rather than send routing iinformation by routing management module to the route application module, dynamic routing protocol module as the route generation module sends to routing management module with the routing iinformation that generates, send routing iinformation by routing management module to registered route application module again, at the direct-connected routing module as the route generation module, static routing protocol module and dynamic road protocol module and registered route application module all have the function of management of routing information, the management that makes routing device duplicate route information, and to dissimilar routing iinformation complex management, the method of a kind of routing management that the embodiment of the present invention provides, can in routing management module, dissimilar route be carried out unified management, reduced dissimilar route at the route generation module, mutual complexity in routing management module and route application module, improve the efficient of routing device work.
Embodiment 2
As shown in Figure 4, the embodiment of the present invention provides a kind of device of routing management, and this device can be routing device, is specially the routing management module in router, and this device comprises: receiving element 401, processing unit 402, transmitting element 403;
Receiving element 401 is used for receiving the first routing iinformation, and the first via comprises at least one routing iinformation by information;
Routing iinformation comprises outgoing interface information, and/or next hop information, and/or destination address information.Receiving element 401 receives the routing iinformation that dissimilar route generation module produces.The first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information.Dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.Direct-connected routing module generates direct-connected routing iinformation, and the static routing protocol module generates static routing information, the dynamic routing information that the dynamic routing protocol module generates.
After receiving element 401 received the first routing iinformations, processing unit 402 was used for the first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping;
402 pairs of the first routing iinformations of processing unit carry out validity check, and validity check comprises whether the outgoing interface state that checks outgoing interface in routing iinformation is normal, and whether next hop address is effective etc.
Routing iinformation outgoing interface state in the first routing iinformation is normal, and when next hop address was effective, processing unit 402 determined that this routing iinformation is legal secondary route information; Routing iinformation outgoing interface state in the first routing iinformation is undesired, and when next hop address was invalid, processing unit 402 determined that this routing iinformation is illegal routing iinformation.Processing unit 402 is deleted illegal routing iinformation in the first routing iinformation, according to the local routing iinformation of preserving of legal secondary route information updating.
After processing unit 402 obtained secondary route information, transmitting element 403 was used for the variation of the routing iinformation preserved according to this locality after upgrading, and the routing iinformation of correspondence is sent to registered route application module.
Registered route application module comprises at least one route application module.After the route application module started, the receiving element 401 in routing management module sent route request information, and after receiving element 401 received the route request information of this route application module transmission, this route application module was completed to the registration of route application module.Whole routing iinformations that transmitting element 403 is preserved this locality send to the route application module of firm registration, the line item of going forward side by side.
When the route generation module sent the first routing iinformation to receiver module 401, sending module 403 sent corresponding routing iinformation to registered route application module in real time according to the variation of the routing iinformation that preserve this locality.Wherein, the variation of the local routing iinformation of preserving can be added for route, routing update or route deletion.
Need to prove, registered route application module only need to send route request information one time, after the receiving element 401 in routing management module sent route request information, transmitting element 403 can send the corresponding routing iinformation such as route interpolation, renewal or deletion from the registered route application module of trend.Registered route application module is after receiving corresponding routing iinformation, according to the local routing iinformation of preserving of corresponding updating route information, in order to carry out message repeating.
Optionally, 402 pairs of secondary route information of processing unit are carried out processed, and the high routing iinformation of priority is arranged preferred mark.
In routing management module, route priority is arranged as direct-connected route, static routing, dynamic routing from high to low.When having identical routing iinformation in secondary route information, according to the priority of identical routing iinformation, 402 pairs of high routing iinformations of priority of processing unit arrange preferred mark, and identical routing iinformation comprises that destination address information is identical.
for example, route generation module in routing device comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module, routing iinformation of each self-generating of the route generation module of this three types, be that the first via comprises three routes interpolation information by information, article one, route interpolation information is the direct-connected routing iinformation A that is produced by direct-connected routing module, second route interpolation information is the static routing information B that has the static routing protocol module to produce, A Third Way is the dynamic routing information C that is produced by the dynamic routing protocol module by interpolation information, then the route generation module sends to receiving element 401 with these three route interpolation information, then processing unit 402 is at first to direct-connected routing iinformation A, static routing information B and dynamic routing information C carry out validity check.Be understandable that, the route generation module can the information of adding send to receiving element 401 simultaneously with these three routes, and perhaps, the route generation module can the information of adding send to receiving element 401 successively with these three routes.When these three routing iinformations were legal routing iinformation, processing unit 402 determined that these three route interpolation information are secondary route information; Then processing unit 402 detects destination address information that these three routing iinformations comprise when identical, these three route interpolation information are carried out processed, obtain a direct-connected routing iinformation A by prioritization, this direct-connected routing iinformation A is arranged preferred mark.Need to prove, processing unit 402 arranges the preferred mark of A to direct-connected routing iinformation after upgrading the local routing iinformation of preserving.
In addition, processing unit 402 has the routing iinformation measuring ability, namely can carry out bookkeeping to the routing iinformation that preserve this locality when receiving element 401 when system resource management module (as the system interface administration module) etc. is received variation (changing as the Interface status) information of system resource.For example when receiving element 401 receives the abnormal message of outgoing interface state of the first outgoing interface, processing unit 402 is according to the abnormal message of outgoing interface state of this first outgoing interface, search the routing iinformation of corresponding the first outgoing interface in the routing iinformation that preserve this locality, if determine after searching that routing iinformation C comprises the first outgoing interface, processing unit 402 is deleted routing iinformation C.
Need to prove, in accompanying drawing 4 shown devices, the specific implementation process of its unit and the contents such as information interaction between unit, due to the inventive method embodiment based on same inventive concept, can referring to embodiment of the method, not give unnecessary details one by one at this.
The device of a kind of routing management provided by the invention receives the first routing iinformation by receiving element, and the first via comprises at least one routing iinformation by information; Processing unit upgrades the local routing iinformation of preserving to the first via after by the information and executing bookkeeping; The variation of the routing iinformation that transmitting element is preserved according to this locality after upgrading sends to registered route application module with the routing iinformation of correspondence.The embodiment of the present invention can realize dissimilar route carrying out unified management at the route generation module in routing management module and route application module, has reduced the mutual complexity of dissimilar route, improves the efficient of routing device work.
Embodiment 3
As shown in Figure 5, the embodiment of the present invention provides a kind of system of routing management, and this system comprises: comprising: route generation module 501, routing management module 502, route application module 503;
Route generation module 501 comprises dissimilar route generation module, and wherein, dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module; For generation of the first routing iinformation, the first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
Routing management module 502 be used for to receive the first routing iinformation that the route generation module produces, and the first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping; The variation of the routing iinformation of preserving according to this locality sends corresponding routing iinformation to registered route application module;
Route application module 503 is used for registering to routing management module, receives the routing iinformation that routing management module sends.
Further, 502 pairs of the first routing iinformations of routing management module carry out validity check, obtain to be updated in the local routing iinformation of preserving after legal secondary route information;
Optionally, when having identical routing iinformation in the routing iinformation that preserve this locality after routing management module 502 judgements are upgraded, according to the priority of identical routing iinformation, the high routing iinformation of priority is arranged preferred mark, identical routing iinformation comprises that destination address information is identical.
The system of a kind of routing management provided by the invention, can divide the function of route generation module, routing management module and route application module, realization is carried out unified management to dissimilar route, reduced dissimilar route at the route generation module, mutual complexity in routing management module and route application module improves systematic function.
The those skilled in the art can be well understood to, be the convenience described and succinct, only the division with above-mentioned each functional module is illustrated, in practical application, can as required above-mentioned functions be distributed and be completed by different functional modules, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit can with reference to the corresponding process in preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that, disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be also physically to separate, and the parts that show as the unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme 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 a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) or processor (processor) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: the various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. the method for a routing management, is characterized in that, comprising:
Receive the first routing iinformation, the described first via comprises at least one routing iinformation by information;
The described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping;
According to the variation of the described local routing iinformation of preserving after upgrading, the routing iinformation of correspondence is sent to registered route application module.
2. the method for a kind of routing management according to claim 1, is characterized in that, described reception the first routing iinformation comprises:
Receive described the first routing iinformation that dissimilar route generation module generates; Wherein, described dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.
3. the method for a kind of routing management according to claim 1 and 2, is characterized in that, the described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping, specifically comprises:
Described the first routing iinformation is carried out validity check, obtain legal secondary route information;
According to described secondary route information, upgrade the local routing iinformation of preserving;
When having identical routing iinformation in the routing iinformation that preserve this locality after judgement is upgraded, the priority according to described identical routing iinformation arranges preferred mark to the high routing iinformation of priority, and described identical routing iinformation comprises that destination address information is identical.
4. the method for a kind of routing management according to claim 1 and 2, is characterized in that, the described first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
The routing iinformation of described correspondence comprises described route interpolation information, and/or described routing update information, and/or described route deletion information.
5. the device of a routing management, is characterized in that, comprising:
Receiving element is used for receiving the first routing iinformation, and the described first via comprises at least one routing iinformation by information;
Processing unit is used for the described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping;
Transmitting element is used for the variation according to the described local routing iinformation of preserving after upgrading, and the routing iinformation of correspondence is sent to registered route application module.
6. the device of a kind of routing management according to claim 5, is characterized in that,
Described receiving element is for described the first routing iinformation that receives dissimilar route generation module; Wherein, described dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module.
7. the device of according to claim 5 or 6 described a kind of routing managements, is characterized in that,
Described processing unit also is used for described the first routing iinformation is carried out validity check, obtains legal secondary route information; According to described secondary route information, upgrade the local routing iinformation of preserving; And when having identical routing iinformation in the routing iinformation that preserve this locality after the judgement renewal, priority according to described identical routing iinformation, the high routing iinformation of priority is arranged preferred mark, and described identical routing iinformation comprises that destination information is identical.
8. the device of according to claim 5 or 6 described a kind of routing managements, is characterized in that,
The described first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
The routing iinformation of described correspondence comprises described route interpolation information, and/or described routing update information, and/or described route deletion information.
9. the system of a routing management, is characterized in that, comprising: route generation module, routing management module, route application module;
Described route generation module comprises dissimilar route generation module, and wherein, described dissimilar route generation module comprises direct-connected routing module, static routing protocol module and dynamic routing protocol module; For generation of the first routing iinformation, the described first via comprises route interpolation information by information, and/or routing update information, and/or route deletion information;
Described routing management module is used for receiving described the first routing iinformation that described route generation module produces, and the described first via is upgraded the local routing iinformation of preserving after by the information and executing bookkeeping; The variation of the routing iinformation of preserving according to this locality sends corresponding routing iinformation to registered route application module;
Described route application module is used for registering to routing management module, receives the routing iinformation that routing management module sends.
10. the system of a kind of routing management according to claim 9, is characterized in that,
Described routing management module also is used for described the first routing iinformation is carried out validity check, obtains to be updated in the local routing iinformation of preserving after legal secondary route information; When having identical routing iinformation in the routing iinformation that preserve this locality after judgement is upgraded, the priority according to described identical routing iinformation arranges preferred mark to the high routing iinformation of priority, and described identical routing iinformation comprises that destination address information is identical.
CN2013100442430A 2013-02-04 2013-02-04 Method and device of route management Pending CN103138987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100442430A CN103138987A (en) 2013-02-04 2013-02-04 Method and device of route management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100442430A CN103138987A (en) 2013-02-04 2013-02-04 Method and device of route management

Publications (1)

Publication Number Publication Date
CN103138987A true CN103138987A (en) 2013-06-05

Family

ID=48498328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100442430A Pending CN103138987A (en) 2013-02-04 2013-02-04 Method and device of route management

Country Status (1)

Country Link
CN (1) CN103138987A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878115A (en) * 2015-12-11 2017-06-20 深圳市朗博科技有限公司 The method of wireless memory device and its data syn-chronization
CN111064669A (en) * 2019-12-19 2020-04-24 北京达佳互联信息技术有限公司 Route storage method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007036068A1 (en) * 2005-09-29 2007-04-05 Zte Corporation A device for multiple protocol common route manage and the method thereof
CN101267477A (en) * 2008-04-23 2008-09-17 中兴通讯股份有限公司 Signaling route realization method and device
CN101719920A (en) * 2009-12-10 2010-06-02 清华大学 Method for generating component-based assembly in routing protocol software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007036068A1 (en) * 2005-09-29 2007-04-05 Zte Corporation A device for multiple protocol common route manage and the method thereof
CN101267477A (en) * 2008-04-23 2008-09-17 中兴通讯股份有限公司 Signaling route realization method and device
CN101719920A (en) * 2009-12-10 2010-06-02 清华大学 Method for generating component-based assembly in routing protocol software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贾书娟,等: "《多路由协议路由管理技术研究与实现》", 《计算机与网络》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878115A (en) * 2015-12-11 2017-06-20 深圳市朗博科技有限公司 The method of wireless memory device and its data syn-chronization
CN106878115B (en) * 2015-12-11 2021-08-17 深圳市朗博科技有限公司 Wireless storage device and data synchronization method thereof
CN111064669A (en) * 2019-12-19 2020-04-24 北京达佳互联信息技术有限公司 Route storage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106789526B (en) method and device for connecting multiple system networks
CN110798403B (en) Communication method, communication device and communication system
CN103023707A (en) Method, managing server and network system for strategy configuration
CN104717081A (en) Gateway function realization method and device
CN104219125A (en) Method, device and system for forwarding message in ICN
CN101771604B (en) Routing detection method, system and intermediate routing device
CN102594657B (en) A kind of route iteration method and route exchange device
CN107547283B (en) Management method and device of distributed aggregation group
CN102025552A (en) Backup method and backup device of link-state advertisement
CN103326887B (en) A kind of interface managerial method and system
CN107070790B (en) Route learning method and routing equipment
RU2517312C2 (en) Link state identifier conflict resolution
CN105282003A (en) Tunnel establishing method and system, tunnel controller and virtual switch
CN111010329A (en) Message transmission method and device
CN103152261A (en) Method and equipment for generating and distributing link state protocol data unit fragment messages
CN106789664B (en) Route aggregation method and device
EP3461079B1 (en) Path establishment method and device, and network node
CN114024886A (en) Cross-resource-pool network intercommunication method, electronic equipment and readable storage medium
CN102882787A (en) Method and device for determining retransmission routes of traffic engineering tunnels
CN103138987A (en) Method and device of route management
CN109981437B (en) Multi-data center intercommunication method based on VPC and related equipment
CN111385117B (en) Method, device and system for alarming
CN102739524A (en) Message sending method and equipment based on route control strategy
CN106330492A (en) Method, device and system of configuring user equipment forwarding table
CN113395206B (en) Route determining method, device and network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130605