CN105743779A - Route restoring method and device - Google Patents

Route restoring method and device Download PDF

Info

Publication number
CN105743779A
CN105743779A CN201610093199.6A CN201610093199A CN105743779A CN 105743779 A CN105743779 A CN 105743779A CN 201610093199 A CN201610093199 A CN 201610093199A CN 105743779 A CN105743779 A CN 105743779A
Authority
CN
China
Prior art keywords
routing device
arp table
information
buffer memory
secondary route
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
CN201610093199.6A
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610093199.6A priority Critical patent/CN105743779A/en
Publication of CN105743779A publication Critical patent/CN105743779A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/742Route cache; Operation thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a route restoring method. The method comprises that before the first route used by a first routing device is ineffective, the first routing device caches information in a first ARP table corresponding to the first route; and when the first routing device builds the first route again, the first routing device sends traffic to a second routing device according to the information in the ARP table corresponding to the newly built first route. A condition that the traffic sent from the first routing device to the second routing device is interrupted is avoided, and the condition results from the fact that the first routing device does not generate the ARP table corresponding to the newly built first route yet when the first routing device starts the newly built first route.

Description

A kind of method and apparatus of route recovery
Technical field
The present invention relates to communication technical field, particularly to the method and apparatus of a kind of route recovery
Background technology
A kind of dynamic routing protocol that the connectionless network protocol CLNP (Connection-LessNetworkProtocol) that ISIS: Intermediate System-to-Intermediate System ISIS (IntermediateSystem-to-IntermediateSystem) is International Organization for Standardization ISO (InternationalOrganizationforStandardization) at first is it designs.
ARP: ARP (AddressResolutionProtocol) is by agreement that IP address resolution is ethernet mac address (or claim physical address).
In a network, when first routing device is by routeing to secondary route equipment transmitted traffic, need according to the ARP table corresponding with this route to secondary route equipment transmitted traffic, when this route break, with this route, deserved ARP table will be deleted by the first routing device, subsequent time, if the first routing device re-establishes the route with secondary route equipment room, the first routing device can regenerate the ARP table corresponding with this route.
Invention information
The present invention proposes a kind of method of route recovery, and described method includes:
First routing device use the first route break before, described first routing device buffer memory with the described first via by the information in the first corresponding ARP table;
When described first routing device re-establish the first via by time, described first routing device according to the first via re-established by the information in corresponding ARP table to secondary route equipment transmitted traffic.
The present invention proposes the device of a kind of route recovery, and described device includes:
Cache module, for first routing device use the first route break before, buffer memory with the described first via by the information in the first corresponding ARP table;
Sending module, for when described first routing device re-establish the first via by time, described first routing device according to the first via re-established by corresponding ARP table to secondary route equipment transmitted traffic.
nullBy above-mentioned information,When described first routing device re-establish the first via by time,Described first routing device can enable immediately this first via re-established by,And according to the information in the first ARP table of described first routing device buffer memory to secondary route equipment transmitted traffic,Not only effectively prevent the first routing device enable the first via that re-establishes by time,Because the first routing device not yet generates the first via re-established with this by corresponding ARP table,And cause the situation of flow interrupt that the first routing device sends to secondary route equipment,Further,First routing device can directly according to the information in described first ARP table of buffer memory to secondary route equipment transmitted traffic,Without waiting for the first routing device according to the first via re-established by generating with this first via by corresponding ARP table,Shorten the first routing device by the described secondary route switchback first via by time.
Accompanying drawing explanation
The schematic flow sheet of the method for a kind of route recovery that Fig. 1 provides for the embodiment of the present invention;
The network architecture schematic diagram of a kind of application scenarios that Fig. 2 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearly understand, develop simultaneously embodiment referring to accompanying drawing, scheme of the present invention be described in further detail, it is clear that, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
At term used in this application merely for the sake of the purpose describing specific embodiment, and unrestricted the application." one ", " described " and " being somebody's turn to do " of the singulative used in the application and claims is also intended to include most form, unless context clearly shows that other implication.It is also understood that term "and/or" used herein refers to that comprising any or all of one or more project of listing being associated is likely to combination.
Although should be appreciated that and be likely to adopt term first, second, third, etc. to describe various information in the application, but these information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other out same type of information.Such as, when without departing from the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.Depend on linguistic context, additionally, the word used " if " can be construed to " ... time " or " when ... " or " in response to determining ".
It should be noted that, in the examples below, first routing device is transmitting terminal routing device, secondary route equipment is receiving terminal routing device, further, first routing device or secondary route equipment can be run edge device in a network, for instance: router, switch, server etc..
It should be noted that, in the examples below, first ARP table is before the first route break, first routing device use with the first via by corresponding ARP table, second ARP table be the first routing device re-establish the first via by time, the newly-generated first via re-established with this of the first routing device is by corresponding ARP table.
In the examples below, the first via is by the primary route for the first routing device and secondary route equipment room, and secondary route is the first routing device and the alternate routing of secondary route equipment room.
nullApplicants have discovered that,In Intermediate System-to-Intermediate System ISIS agreement,When the first routing device was for losing efficacy to the first via of secondary route equipment transmitted traffic by (primary route),If (this secondary route is used for making described first routing device to described secondary route equipment transmitted traffic to there is secondary route,Namely the described first via by alternate routing),Then the first routing device can enable secondary route to secondary route equipment transmitted traffic,At a time,When the first routing device re-establish the first via by time (the first routing device relearn the first via by routing iinformation after,The route that routing iinformation according to study is set up),First routing device can regenerate the corresponding described first via by ARP table (the first routing device according to this ARP table realize transmitted traffic down hop addressing),Under ISIS agreement,The first via is separately performed by learning equipment routing iinformation and generation ARP table,And the first via is shorter than the first routing device by the time of learning equipment routing iinformation and generates the time of ARP table,When the described first via by learning equipment routing iinformation (first via by routing iinformation),Described first routing device will enable the described first via by,And owing to described first routing device this moment not yet generates ARP table,Thus while described first routing device enable the described first via by,But because described first routing device transmitted traffic need to rely on ARP table,Therefore when the first routing device not yet generates ARP table,The flow that first routing device sends to secondary route equipment will interrupt.
As it is shown in figure 1, a kind of method embodiments providing route recovery, described method includes:
Step 101, first routing device use the first route break before, described first routing device buffer memory with the described first via by the information in the first corresponding ARP table;
Step 102, when described first routing device re-establish the first via by time, described first routing device according to the first via re-established with this by the information in corresponding ARP table to secondary route equipment transmitted traffic.
In embodiments of the present invention, information in first routing device buffer memory the first ARP table, wherein, the described information in the first ARP table includes the full detail (i.e. described first ARP table itself) in the first ARP table, or the partial information in the first ARP table, described partial information is indicate described first routing device to carry out the information of down hop when described first routing device transmitted traffic, for instance, address information, port information, link No. etc..
Preferably, the present embodiment also provides for a kind of method of information in buffer memory the first ARP table, it is specially, first routing device pair is arranged the first mark with the first via by the information in the first corresponding ARP table and (if the partial information in buffer memory the first ARP table, then the described partial information needing buffer memory is arranged the first mark;If the full detail in buffer memory the first ARP table, then the full detail in described first ARP table or described first ARP table is arranged the first mark), so that the first routing device according to this first mark to tracking of information identified in the first ARP table, when described first route break, the first routing device will be provided with the information cache of the first mark in the first ARP table.Further, first routing device is optional arranges first timer to described first mark, when the first routing device by the first ARP table is provided with described first mark information cache time, start described first timer, and when after described first timer time-out, first routing device by buffer memory with this information deletion corresponding to the first mark, such that it is able to avoid the first routing device because of the information in useless the first ARP table of long-time buffer memory, and cause the wasting of resources.
In the present embodiment, when the first routing device by this first via by when receiving or send message (such as heartbeat message), then the first via that the first routing device is just known used is by losing efficacy.The method that routing device judges whether route used lost efficacy it should be noted that, only give the example that a kind of routing device judges whether route used lost efficacy herein, do not carry out any restriction, as long as can be made all to can be applicable in the application.
In the present embodiment, if a certain moment, when the first route break (namely the first routing device lost efficacy with the primary route of secondary route equipment room) that the first routing device uses, described first routing device will be deleted with the described first via by the first corresponding ARP table, before deleting described first ARP table, information in first ARP table described in described first routing device buffer memory, and the first routing device will enable secondary route (i.e. the alternate routing of the first routing device and secondary route equipment room) to secondary route equipment transmitted traffic.
Subsequent time, when the first routing device relearned the first via by routing iinformation after, first routing device just re-establishes the first via by (i.e. the first route recovery), now the first routing device according to the first via re-established with this by the information in corresponding ARP table to secondary route equipment transmitted traffic.
Wherein, the described first via re-established with this is by the information in corresponding ARP table, specifically include: the first via re-established with this that information in the first ARP table of the first routing device buffer memory or the first routing device generate, by the information in the second corresponding ARP table, sees below embodiment.
The present invention provides a kind of embodiment, including:
When the first routing device re-establish the first via by time, described first routing device according to the information in the first ARP table of buffer memory to secondary route equipment transmitted traffic.
Wherein, if the information in the first ARP table of the first routing device buffer memory meet can indicate the first routing device to this first via re-established by middle next-hop node equipment transmitted traffic time (such as, information in first ARP table of buffer memory is the full detail in the first ARP table, or the information in buffer memory the first ARP table is the next-hop address information in the first ARP table), then the first routing device can according to the information in described first ARP table to secondary route equipment transmitted traffic, namely the first via re-established with this is by the information in the first ARP table that the information in corresponding ARP table is the first routing device buffer memory.
nullBe can be seen that by above-described embodiment,When described first routing device re-establish the first via by time,Described first routing device can enable immediately this first via re-established by,And according to the information in the first ARP table of described first routing device buffer memory to secondary route equipment transmitted traffic,Not only effectively prevent the first routing device enable the first via that re-establishes by time,Because the first routing device not yet generates the first via re-established with this by corresponding ARP table,And cause the situation of flow interrupt that the first routing device sends to secondary route equipment,Further,First routing device can directly according to the information in described first ARP table of buffer memory to secondary route equipment transmitted traffic,Without waiting for the first routing device according to the first via re-established by generating with this first via by corresponding ARP table,Shorten the first routing device by the described secondary route switchback first via by time.
The invention provides another kind of embodiment, including:
When the first routing device re-establish the first via by time, described first routing device according to the information in the second ARP table to secondary route equipment transmitted traffic.
Wherein, this second ARP table be first routing device generate with the first via re-established by corresponding ARP table.
Concrete, the first via is compared by the corresponding information in the ARP table generated in the information in the first ARP table of equipment utilization step 101 buffer memory and the first routing device, and judge whether the second corresponding information that comparison result is consistent, if existing, then confirm that the ARP table recording described second corresponding information is just the second ARP table, namely confirm the first routing device to have generated the first via that re-establish with this by the second corresponding ARP table, then described first routing device enable described in the first via that re-establishes by and according to described second ARP table to secondary route equipment transmitted traffic;
If being absent from, then confirm the first routing device not yet to generate the first via re-established with this by the second corresponding ARP table, further, if in the first routing device the information of the first ARP table of buffer memory be can indicate the first routing device to this first via re-established by middle next-hop node equipment transmitted traffic time, then described first routing device enable this first via re-established by, and according to the information in described first ARP table of buffer memory to secondary route equipment transmitted traffic, or, described first routing device do not enable described in the first via that re-establishes by, it is continuing with described secondary route to secondary route equipment transmitted traffic.
Wherein, the ARP table generated in first routing device can be understood as, all ARP table that the route that first routing device correspondence has been set up generates, the first via is compared by the corresponding information in the ARP table generated in the information in the first ARP table of equipment utilization buffer memory and the first routing device, it is specially, when there is one or more ARP table in the first routing device, the first via is by the information in the first ARP table of equipment utilization buffer memory and the corresponding information comparison one by one in the one or more ARP table..
Optionally, if the first routing device exists second ARP table consistent with the information in the first ARP table of buffer memory, then the first routing device according to described second ARP table to secondary route equipment transmitted traffic time, first routing device delete described buffer memory the first ARP table in information.
Optionally, before corresponding information in the ARP table generated in the first via is by the information in the first ARP table of equipment utilization step 101 buffer memory and the first routing device is compared, described first routing device first according to the information in the first ARP table of buffer memory to secondary route equipment transmitted traffic, meanwhile, the information in the first ARP table is utilized to compare with the corresponding information in the ARP table generated.
nullBased on foregoing,The application provides an example,If address information (the IP address information that the partial information in the first ARP table of described first routing device buffer memory in a step 101 is described first routing device transmitted traffic down hop,With or mac address information),When the first routing device re-establish the first via by time,Address information in the ARP table generated in address information in first ARP table of buffer memory and the first routing device is compared (if there being multiple ARP table in the first routing device by described first routing device,Then the address information in the first ARP table of buffer memory is compared with the address information in each ARP table),And judge whether the second ARP table that comparison result is consistent,If existing,Then the first routing device enable described in the first via that re-establishes by,And according to described second ARP table to secondary route equipment transmitted traffic,If being absent from,Then confirm that the first routing device does not generate the first via re-established with this by the second corresponding ARP table,Then the first routing device do not enable described in the first via that re-establishes by,It is continuing with secondary route to secondary nodal point equipment transmitted traffic,The present embodiment lists the situation of partial information in the first ARP table of the first routing device buffer memory,During full detail in the first ARP table of the first routing device buffer memory,Equally applicable.
nullBe can be seen that by above-described embodiment,When described first routing device re-establish the first via by time,The described first via is compared by the ARP table generated in the information in the first ARP table of equipment utilization buffer memory and the first routing device,And judge whether the second ARP table that comparison result is consistent,If existing,Then the first routing device enable described in the first via that re-establishes by,And according to the second ARP table to secondary route equipment transmitted traffic,If being absent from,The first via re-established described in then not enabling by,It is continuing with secondary route to secondary route equipment transmitted traffic,Avoid,First routing device enable this first via re-established by time,Because the first routing device not yet generates the first via re-established with this by the second corresponding ARP table,And cause the flow interrupt that the first routing device sends to secondary route equipment.
nullThe present invention also provides for a kind of preferred version,It is specially,First routing device arranges second timer,After the ARP table generated during the first via is by the information in the first ARP table of equipment utilization buffer memory and the first routing device is compared,If being absent from the second ARP table that comparison result is consistent,Then confirm current time,First routing device not yet generates the first via that re-establishes of correspondence by ARP table,Now then start described second timer,And when after described second timer time-out,Described first routing device is compared again with the corresponding information in the ARP table generated in the information in the first ARP table of buffer memory and described first routing device,And judge whether the second ARP table that comparison result is consistent,If existing,Then confirm current time,First routing device has generated the first via that correspondence re-establishes by the second ARP table,Then the first routing device enable this first via by,And according to described second ARP table to secondary route equipment transmitted traffic.
For the ease of explanation, connected applications scene of the present invention provides a kind of embodiment, as shown in Figure 2, in this application scene, including the first routing device R1 (transmitting terminal routing device), secondary route equipment R2 (receiving terminal routing device), the first via by L1, secondary route L2, wherein the first via is by including node device C on L1, and secondary route L2 includes node device B.
In Intermediate System-to-Intermediate System ISIS, the routing iinformation of secondary route equipment R2 is sent to the first routing device R1 by ISIS agreement by node device C and node device B respectively, first routing device R1 is learnt and sets up two routes of the first routing device R1 to secondary route equipment R2, and determine primary route and alternate routing according to corresponding rule (such as according to rules such as the bandwidth of route, time delay, priority), in the present embodiment, the first via is primary route by L1, and secondary route L2 is alternate routing.
In the first via by the effective situation of L1, the first routing device R1 uses the first via by L1 (i.e. primary route) to secondary route equipment R2 transmitted traffic.
In an embodiment of the present invention, it is (optional that first routing device pair is arranged the first mark with the described first via by the full detail in the first corresponding for L1 ARP table, also directly described first ARP table can be arranged the first mark), and (judge whether route lost efficacy to be may determine that by prior art when the first routing device determines that the first via used was lost efficacy by L1, therefore repeat no more), the full detail in described first ARP table the full detail in the first ARP table described in buffer memory is gone out according to this first identification index.
At a time, when the first via was lost efficacy by L1, first routing device R1 can enable secondary route L2 (i.e. alternate routing between the first routing device R1 and secondary route equipment R2, it is understood that be that the first via is by the alternate routing of L1 for secondary route L2) to be continued to secondary route equipment R2 transmitted traffic.
At subsequent time, when the routing iinformation of secondary route equipment R2 is sent to the first routing device R1 by ISIS agreement by node device C, first routing device R1 learns described routing iinformation and re-establishes the first via by L1, now, first routing device R1 enables this first via re-established at once by L1, and according to the full detail in an ARP of this buffer memory, to secondary route equipment transmitted traffic.
nullBe can be seen that by above-described embodiment,When described first routing device R1 re-establishes the first via by L1,Described first routing device R1 can enable this first via re-established immediately by L1,And according to the information in the first ARP table of described first routing device R1 buffer memory to secondary route equipment transmitted traffic,Not only effectively prevent the first routing device R1 when enabling this first via re-established by L1,Because the first routing device R1 not yet generates the first via re-established with this by ARP table corresponding for L1,And cause that the first routing device R1 is to the situation of the secondary route equipment R2 flow interrupt sent,Further,First routing device R1 can directly according to the information in described first ARP table of buffer memory to secondary route equipment R2 transmitted traffic,Without waiting for the first routing device R1 according to the first via re-established by generating with this first via by ARP table corresponding for L1,Shorten the first routing device R1 by the described secondary route L2 switchback first via by the time of L1.
Based on above-mentioned application scenarios, present invention also offers another kind of embodiment, specifically include, the first routing device R1 buffer memory first via by the first corresponding for L1 ARP table partial information (it should be appreciated that, when full detail in buffer memory the first ARP table, it is equally applicable to the present embodiment), wherein, information in first ARP table of buffer memory is the address information of the next-hop node equipment C of described first routing device R1 transmitted traffic, specifically, the MAC:1-1-1 of the IP:3.3.3.3 of node device C and node device C.It should be noted that in other embodiments, described first routing device R1 can other partial informations (such as port information, link No. etc.) in buffer memory the first ARP table.
At a time, when the first via was lost efficacy by L1, the first routing device R1 can switch to secondary route L2 (i.e. alternate routing) to be continued to secondary route equipment R2 transmitted traffic.
nullAt subsequent time,When the routing iinformation of secondary route equipment R2 is sent to the first routing device R1 by ISIS agreement by node device C,First routing device R1 learns described routing iinformation and re-establishes the first via by L1,Now the first routing device R1 utilizes the next-hop address information in the ARP table generated in the address information of the node device C in the first ARP table of buffer memory and the first routing device to compare,And judge whether consistent the second ARP table of comparison result (namely the address information of the node device C in the next-hop address information of this second ARP table and the first ARP table is consistent),If existing,Then confirm this second ARP table be first routing device generate with the first via re-established by ARP table corresponding for L1,Then the first routing device R1 according to this second ARP table to secondary route equipment R2 transmitted traffic,If being absent from,Then the first routing device R1 is continuing with secondary route L2 to secondary route equipment R2 transmitted traffic.nullBe can be seen that by above-described embodiment,When the first routing device R1 re-establishes the first via by L1,Described first routing device R1 utilizes the address information in the first ARP table of buffer memory and the ARP table generated in the first routing device R1 to compare,And judge whether the second ARP table that comparison result is consistent,If existing,Then the first routing device R1 enable described in the first via that re-establishes by L1,And according to described second ARP table to secondary route equipment R2 transmitted traffic,If being absent from,The first via re-established described in then not enabling is by L1,It is continuing with secondary route L2 to secondary route equipment R2 transmitted traffic,Avoid,First routing device R1 is when enabling this first via re-established by L1,Because the first routing device R1 not yet generates the first via re-established with this by ARP table corresponding for L1,And cause that the first routing device R1 is to the secondary route equipment R2 flow interrupt sent.
Based on the inventive concept same with said method, additionally providing the device of a kind of route recovery in the embodiment of the present invention, this device can be applicable in routing device, wherein, this device can be realized by software, it is also possible to is realized by the mode of hardware or software and hardware combining.Implemented in software for example, as the device on a logical meaning, it is by the processor in first routing device at its place, reads computer program instructions corresponding in nonvolatile memory in internal memory to run and formed.Say from hardware view, first routing device at the route recovery device place that the embodiment of the present invention proposes is hardware configuration, except including processor, network interface, internal memory and nonvolatile memory, it is also possible to include other hardware, such as the forwarding chip etc. of responsible process message;From hardware configuration, this first routing device is it is also possible that distributed apparatus, it is possible to include multiple interface card, in order to carry out the extension of Message processing at hardware view.
The embodiment of the present invention provides the device of a kind of route recovery, including:
Cache module, for first routing device use the first route break before, buffer memory with the described first via by the information in the first corresponding ARP table;
Sending module, for when described first routing device re-establish the first via by time, described first routing device according to the first via re-established by corresponding ARP table to secondary route equipment transmitted traffic.
Wherein, sending module according to the first via re-established by corresponding ARP table to secondary route equipment transmitted traffic, specifically include: sending module according to the information in the first ARP table of the first routing device buffer memory to secondary route equipment transmitted traffic, or the first via re-established with this that generates according to the first routing device of sending module by the information in the second corresponding ARP table to secondary route equipment transmitted traffic.
In the present invention is in example, described device also includes, module is set, for before the first route break that the first routing device uses, for the information in described first ARP table, the first mark is set, described cache module, it is additionally operable to when described first route break that described first routing device uses, first ARP table described in buffer memory is provided with the information of described first mark, further, described module is set, it is additionally operable to described first mark is arranged first timer, if described first timer is overtime, then delete the information corresponding with described first mark of buffer memory.
Wherein, by the information in the first ARP table is arranged the first mark, for making the first routing device to tracking of information identified in the first ARP table, when the first route break, the first routing device will be provided with the information cache of the first mark in the first ARP table.
Wherein, by the first mark is arranged first timer, after can working as first timer time-out, the first routing device is by the information deletion corresponding with this first mark of buffer memory, such that it is able to avoid the first routing device because of the information in useless the first ARP table of long-time buffer memory, and cause the wasting of resources.
nullBe can be seen that by above-described embodiment,When the first routing device re-establish the first via by time,Described first routing device can enable immediately this first via re-established by,And according to the information in the first ARP table of described first routing device buffer memory to secondary route equipment transmitted traffic,Not only effectively prevent the first routing device enable the first via that re-establishes by time,Because the first routing device not yet generates the first via re-established with this by corresponding ARP table,And cause the situation of flow interrupt that the first routing device sends to secondary route equipment,Further,First routing device can directly according to the information in described first ARP table of buffer memory to secondary route equipment transmitted traffic,Without waiting for the first routing device according to the first via re-established by generating with this first via by corresponding ARP table,Shorten the first routing device by the described secondary route switchback first via by time.
Present invention also offers another kind of embodiment, it is specially, described device also includes, processing module, for utilizing the corresponding information in the ARP table generated in information in described buffer memory the first ARP table and described first routing device to compare, and judge whether the second ARP table that comparison result is consistent, described sending module, it is additionally operable to work as described processing module and judges there is the second ARP table, then according to described second ARP table to secondary route equipment transmitted traffic.
Wherein, the ARP table generated in described first routing device does not include the first ARP table of described buffer memory.
nullBe can be seen that by the present embodiment,When described first routing device re-establish the first via by time,The described first via is compared by the ARP table generated in the information in the first ARP table of equipment utilization buffer memory and the first routing device,And judge whether the second ARP table that comparison result is consistent,If existing,Then the first routing device enable described in the first via that re-establishes by,And according to the second ARP table to secondary route equipment transmitted traffic,If being absent from,The first via re-established described in then not enabling by,It is continuing with secondary route to secondary route equipment transmitted traffic,Avoid,First routing device enable this first via re-established by time,Because the first routing device not yet generates the first via re-established with this by the second corresponding ARP table,And cause the flow interrupt that the first routing device sends to secondary route equipment.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the present invention and realize, naturally it is also possible to by hardware, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in each embodiment 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 or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.It will be appreciated by those skilled in the art that the module in the device in embodiment can describe according to embodiment to carry out being distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.The module of above-described embodiment can merge into a module, it is possible to is further split into multiple submodule.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. the method for a route recovery, it is characterised in that described method includes:
First routing device use the first route break before, described first routing device buffer memory with the described first via by the information in the first corresponding ARP table;
When described first routing device re-establish the first via by time, described first routing device according to the first via re-established by the information in corresponding ARP table to secondary route equipment transmitted traffic.
2. the method for claim 1, it is characterised in that when described first routing device re-establish the first via by time, described first routing device according to the first via re-established by corresponding ARP table to secondary route equipment transmitted traffic, specifically include:
Described first routing device according to the information in described first ARP table of buffer memory to secondary route equipment transmitted traffic.
3. the method for claim 1, it is characterised in that when described first routing device re-establish the first via by time, described first routing device according to the first via re-established by corresponding ARP table to secondary route equipment transmitted traffic, specifically include:
The described first via is compared by the corresponding information in the ARP table generated in the information in described first ARP table of equipment utilization buffer memory and described first routing device, and judge whether the second ARP table that comparison result is consistent, if existing, then described first routing device according to described second ARP table to secondary route equipment transmitted traffic;
The ARP table generated in described first routing device does not include the first ARP table of described buffer memory.
4. method as claimed in claim 3, it is characterised in that the corresponding information in the ARP table generated in the described first via is by the information in described first ARP table of equipment utilization buffer memory and described first routing device also includes before comparing:
Described first routing device according to the information in the first ARP table of buffer memory to secondary route equipment transmitted traffic.
5. the method for claim 1, it is characterized in that, when before described first route break, the information that described first routing device is in described first ARP table arranges the first mark, when described first route break, the first ARP table described in described first routing device buffer memory is provided with the information of described first mark.
6. method as claimed in claim 5, it is characterised in that described first mark is arranged first timer, if described first timer is overtime, then deletes the information corresponding with described first mark of buffer memory.
7. the device of a route recovery, it is characterised in that described device includes:
Cache module, for first routing device use the first route break before, buffer memory with the described first via by the information in the first corresponding ARP table;
Sending module, for when described first routing device re-establish the first via by time, described first routing device according to the first via re-established by corresponding ARP table to secondary route equipment transmitted traffic.
8. device as claimed in claim 7, it is characterised in that
Described sending module, specifically for when described first routing device re-establish the first via by time, described sending module according to the information in described first ARP table of buffer memory to secondary route equipment transmitted traffic.
9. device as claimed in claim 7, it is characterised in that described device also includes:
Processing module, for utilizing the corresponding information in the ARP table generated in information in described buffer memory the first ARP table and described first routing device to compare, and judges whether the second ARP table that comparison result is consistent;
Described sending module, is additionally operable to work as described processing module and judges there is the second ARP table, then according to described second ARP table to secondary route equipment transmitted traffic;
The ARP table generated in described first routing device does not include the first ARP table of described buffer memory.
10. device as claimed in claim 9, it is characterized in that, before corresponding information in the ARP table generated in described processing module utilizes information in described buffer memory the first ARP table and described first routing device is compared, described sending module according to the information in the first ARP table of buffer memory to secondary route equipment transmitted traffic.
11. device as claimed in claim 7, it is characterised in that described device also includes:
Module is set, for when, before described first route break, arranging the first mark for the information in described first ARP table;
Described cache module, is additionally operable to when described first route break, is provided with the information of described first mark in the first ARP table described in buffer memory.
12. device as claimed in claim 11, it is characterised in that described device also includes: processing module;
Described module is set, is additionally operable to described first mark is arranged first timer, if described first timer is overtime, then deletes and identify corresponding cache information with described first.
CN201610093199.6A 2016-02-19 2016-02-19 Route restoring method and device Pending CN105743779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610093199.6A CN105743779A (en) 2016-02-19 2016-02-19 Route restoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610093199.6A CN105743779A (en) 2016-02-19 2016-02-19 Route restoring method and device

Publications (1)

Publication Number Publication Date
CN105743779A true CN105743779A (en) 2016-07-06

Family

ID=56245972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610093199.6A Pending CN105743779A (en) 2016-02-19 2016-02-19 Route restoring method and device

Country Status (1)

Country Link
CN (1) CN105743779A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923150A (en) * 2021-09-30 2022-01-11 新华三信息安全技术有限公司 Method, device, electronic equipment and medium for updating route

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848841A (en) * 2005-04-05 2006-10-18 华为技术有限公司 Route equipment backup method
CN101540731A (en) * 2009-04-30 2009-09-23 杭州华三通信技术有限公司 Three-tier message retransmission method and device
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device
CN103490969A (en) * 2013-09-17 2014-01-01 烽火通信科技股份有限公司 System and method for achieving VPWS redundancy protection rapid convergence
US20140321265A1 (en) * 2013-04-29 2014-10-30 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in vrrp based routers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848841A (en) * 2005-04-05 2006-10-18 华为技术有限公司 Route equipment backup method
CN101540731A (en) * 2009-04-30 2009-09-23 杭州华三通信技术有限公司 Three-tier message retransmission method and device
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device
US20140321265A1 (en) * 2013-04-29 2014-10-30 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in vrrp based routers
CN103490969A (en) * 2013-09-17 2014-01-01 烽火通信科技股份有限公司 System and method for achieving VPWS redundancy protection rapid convergence

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923150A (en) * 2021-09-30 2022-01-11 新华三信息安全技术有限公司 Method, device, electronic equipment and medium for updating route
CN113923150B (en) * 2021-09-30 2023-08-25 新华三信息安全技术有限公司 Route updating method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN107171977B (en) Message forwarding method and device
CN107547383B (en) Path detection method and device
US20200220785A1 (en) Communications Connection Detection Method and Apparatus
CN110113259B (en) Path state notification method, path switching method, forwarding equipment and system
CN107547243B (en) Message forwarding method and device
CN106878184B (en) Data message transmission method and device
CN105791072A (en) Access method and device of Ethernet virtual network
WO2019085975A1 (en) Network topology display method and network management device
CN106878072A (en) A kind of message transmitting method and device
CN107070790B (en) Route learning method and routing equipment
CN106533973A (en) Method and system for distributing service message, and equipment
CN110430131B (en) Message forwarding method and device
CN104780201A (en) Data packet processing method and device for use in IPVS (Internet Protocol Virtual Server) cluster
CN105763468B (en) A kind of transmission method and device of bgp update message
US11343153B2 (en) BGP logical topology generation method, and device
CN107547348B (en) Method and device for preventing data stream interruption
CN105763483A (en) Message sending method and message sending device
CN106921576B (en) Virtualization system-based data network and management network flow separation method and device
WO2021000619A1 (en) Method and device for packet forwarding
CN105743779A (en) Route restoring method and device
CN106209634B (en) Learning method and device of address mapping relation
CN110505176B9 (en) Method and device for determining and sending message priority, and routing system
WO2017054471A1 (en) Method of electing designated router and device utilizing same
CN105763414B (en) A kind of learning method and device of list item
US10142126B2 (en) Scalable dynamic overlay tunnel management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706