WO2018107974A1 - 一种路由回切方法、控制器及系统 - Google Patents

一种路由回切方法、控制器及系统 Download PDF

Info

Publication number
WO2018107974A1
WO2018107974A1 PCT/CN2017/113953 CN2017113953W WO2018107974A1 WO 2018107974 A1 WO2018107974 A1 WO 2018107974A1 CN 2017113953 W CN2017113953 W CN 2017113953W WO 2018107974 A1 WO2018107974 A1 WO 2018107974A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
route
status message
primary route
controller
Prior art date
Application number
PCT/CN2017/113953
Other languages
English (en)
French (fr)
Inventor
王晨
吕东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018107974A1 publication Critical patent/WO2018107974A1/zh

Links

Images

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/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a routing back-cut method, a controller, and a system.
  • IP-based radio access network (IPRAN) scheme mainly adopts static routing technology.
  • the labels and routes of each network node are statically configured without dynamic learning.
  • VPN FRR Virtual Private Network Fast Reroute
  • TE traffic engineering
  • the embodiment of the invention provides a route back-cutting method, a controller and a system, and the routing switchback instruction is sent by the controller, so that the route switchback time is more suitable.
  • a first aspect of the embodiments of the present invention provides a route backcutting method, which is applied to an Internet Protocol Radio Access Network (IPRAN), where the IPRAN includes a first network device, a second network device, and a third a network device and a fourth network device, wherein the route of the second network device to the fourth network device is a primary route; the route of the second network device to the fourth network device is an alternate route
  • the fourth network device is a destination network device for the primary route, and the fourth network device is the destination network device of the alternate route.
  • the first network device is the next hop of the second network device on the primary route
  • the third network device is the next hop of the second network device on the alternate route.
  • the controller After the service traffic is switched from the primary route to the backup route, the controller obtains a status message from the first network device, and the status message is used to indicate whether the primary route is available.
  • the acquiring the status message by the controller may be an active acquisition or a passive acquisition. If the status message indicates that the primary route is available, the controller sends a back-cut command to the second network device, and after receiving the switchback command, the second network device sends the traffic from the standby. The route is switched back to the primary route.
  • a second aspect of the embodiments of the present invention provides a controller, where the controller communicates with a first network device and a second network device, where the first network device and the second network device are located in an IPRAN.
  • the IPRAN may also include a third network device and a fourth network device, the second network device routing a primary route to the fourth network device via the first network device.
  • the route of the second network device to the fourth network device via the third network device is an alternate route.
  • the fourth network device is a destination network device for the primary route, and the fourth network device is also the destination network device for the alternate route.
  • the first network device is the next hop of the second network device on the primary route
  • the third network device is the next hop of the second network device on the standby route.
  • the controller includes an obtaining unit and a sending unit, configured to acquire a status message from the first network device after the service traffic is switched from the primary route to the standby route, where the status message is used to indicate whether the primary route is available.
  • the sending unit is configured to: if the status message indicates that the primary route is available, send a switchback instruction to the second network device, and after receiving the switchback command, the second network device returns the service traffic from the backup route to the primary route.
  • a third aspect of the present invention provides a route switchback system, where the route switchback system includes a controller, a first network device, a second network device, and a third network device.
  • the first network device, the second network device, and the third network device are located in the IPRAN, and the IPRAN may further include a fourth network device.
  • the route of the second network device to the fourth network device via the first network device is a primary route
  • the route of the second network device to the fourth network device via the third network device is an alternate route.
  • the fourth network device is a destination network device for the primary route and the alternate route.
  • the first network device is the next hop of the second network device on the primary route
  • the third network device is the next hop of the second network device on the alternate route.
  • the controller is configured to obtain a status message from the first network device after the service traffic is switched from the primary route to the backup route, where the status message is used to indicate whether the primary route is available. If the status message indicates that the primary route is available, the controller sends a failback command to the second network device.
  • the second network device in response to the failback command, switches traffic from the alternate route to the primary route.
  • a fourth aspect of the embodiments of the present invention provides a controller, including: a transceiver, a processor, and a memory; the controller is a specific structure that carries the functional unit of the second aspect.
  • the memory is configured to store computer program instructions
  • the processor coupled to the memory, for reading computer program instructions stored by the memory, controlling the transceiver to perform the method as provided in the first aspect above.
  • a fifth aspect of the embodiments of the present invention further provides a program storage medium, where the program provided by the first aspect is implemented when the program stored in the program storage medium is executed.
  • the status message includes an address resolution protocol (ARP) hot standby information or a Pseudo Wire (PW) recovery information
  • ARP address resolution protocol
  • PW Pseudo Wire
  • Status information indicates that the primary route is available.
  • the ARP hot standby information is used to indicate that the first network device has obtained a backup of all ARP entries on the third network device, where the PW recovery information is used to indicate the first The PW on the network device has been restored.
  • the status message indicates that the primary route is available.
  • the ARP hot standby completion information is used to indicate that the first network device has obtained a backup of all ARP entries on the third network device, where the PW recovery information is used to indicate that the PW on the first network device has been restored.
  • the PW recovery information includes information indicating that the PW of the first network device to the fifth network device has been restored.
  • the fifth network device is the next hop of the primary route on the first network device.
  • the PW recovery information includes information indicating that the PW of the first network device to the third network device has been restored.
  • the route back-cutting is performed, which helps to avoid the premature switchback, and the ARP entry needs to be generated after the route is switched back, thereby reducing the loss.
  • the possibility of the package After the PW is restored on the first network device in the above design, the route is switched back. This helps to avoid the PW recovery on the first network device after the route is switched back, thus reducing the possibility of packet loss.
  • the controller acquires a status message of the network device, and if the status message indicates that the primary route is available, the switchback command is sent to trigger the backup route to be switched back to the primary route, thereby enabling the service.
  • the switchback time of the traffic is more appropriate. It helps to avoid traffic loss due to premature switchback and helps prevent traffic from being forwarded on the alternate route for a long time.
  • FIG. 1 is a schematic diagram of an IPRAN architecture in the prior art
  • FIG. 2 is a schematic diagram of a network architecture according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a route backcutting method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a controller according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a controller according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a route switchback system according to an embodiment of the present invention.
  • FIG. 1 it is a schematic diagram of a network architecture of an IPRAN, where the network architecture includes an access ring and an aggregation ring, and the device 101, the device 102, the device 103, and the device 104 form an access ring, and the device 103, the device 104, and the device 105 and device 106 form an aggregation ring.
  • Device 101, device 102, device 103, device 104, device 105, and device 106 are all Packet Transport Network (PTN) devices.
  • the device 101 communicates with the base station A, the device 102 communicates with the base station B, and the device 101 and the device 102 deploy a virtual leased line (VLL) to the device 103 and the device 104; the device 103 and the device 104 are both layer 2 devices. It is also a Layer 3 device.
  • the device 103 and the device 104 use a VLL to access a Layer 3 virtual private network (Virtual Private Network, VPN) implements Layer 2 to Layer 3 service switching; device 103 and device 104 to device 105 and device 106 use Layer 3 VPN forwarding.
  • VPN Packet Transport Network
  • VPN FRR VPN Fast Reroute
  • the device 105 includes primary and alternate routes to the same destination network device, such as base station A.
  • the primary and backup routes are static routes, the primary route passes through device 103, and the alternate route passes through device 104.
  • the device 105 senses a traffic engineering (TE) tunnel failure between the device 105 and the device 103 through operation management and maintenance (OAM), triggers a VPN FRR switch, and uses the primary route. Switching to the alternate route, the traffic is switched from the primary route to the alternate route, that is, the service data is sent to the next hop device 104 of the alternate route.
  • TE traffic engineering
  • OAM operation management and maintenance
  • the device 105 When the device 103 recovers from the fault, the device 105 performs a VPN FRR switchback, and the backup route is switched back to the primary route, and the service traffic is switched back from the backup route to the primary route, that is, the service data is sent to the next hop of the primary route.
  • the device 103 When the device 103 recovers from the fault, the device 105 performs a VPN FRR switchback, and the backup route is switched back to the primary route, and the service traffic is switched back from the backup route to the primary route, that is, the service data is sent to the next hop of the primary route.
  • the device 105 only needs to detect the TE tunnel recovery of the device 103, and the route is effective. At this time, the services of the device 103 to the device 101 and the device 102 may not be restored. If the VPN FRR is switched back, it may be Result in traffic loss.
  • the embodiment of the present invention provides a solution. As shown in FIG. 2, the embodiment of the present invention adds a controller 107 based on the IPRAN network architecture of FIG. 1, and the controller 107 can communicate with the device 103 and the device 105.
  • device 101, device 102, device 103, device 104, device 105, and device 106 are all Provider Edge (PE) devices.
  • the device 101 and the device 102 are user-side service provider edge (UPE) devices, and the device 103 and the device 104 are upper-layer service provider edge (SPE) devices, and the device 105 and the device 106 serve the network core.
  • Network Provider Edge (NPE) device is not limited to IP or IP address (UPE) devices, and the device 103 and the device 104 are upper-layer service provider edge (SPE) devices, and the device 105 and the device 106 serve the network core.
  • NPE Network Provider Edge
  • the controller 107 obtains a status message from the device 103 or the device 105 indicating whether the primary route is available; or the device 103 or the device 105 actively reports its status to the controller 107, and the controller sends the device 105 or the device 103 according to the indication of the status message.
  • the route back-cut command makes the service switchback time more suitable, and can switch back in time and reduce the traffic loss after the switchback.
  • FIG. 3 is a schematic diagram of a route switchback method according to an embodiment of the present invention.
  • the route switchback method may be applied to the network architecture of the add controller shown in FIG. 2, that is, through the controller and device 103 or
  • the controller acquires a status message from the first network device, where the status message is used to indicate the main Whether routing is available;
  • the controller sends a switchback instruction to the second network device, where the switchback instruction is used to trigger the second network device to send traffic from the network.
  • the alternate route is switched back to the primary route.
  • the first network device in the embodiment of the present invention may be the device 103 in FIG. 2, the second network device may be the device 105 in FIG. 2, and the third network device may be the device 104 in FIG.
  • the destination network device of the primary route and the alternate route of the embodiment of the present invention, the destination network device may be the device 101, the device 102, the base station A, the base station B, the network device that communicates with the base station A, or the network device that communicates with the base station B, and the fifth The network device is device 101 in FIG.
  • the IPRAN may include a first network device, a second network device, a third network device, and a fourth network device, where the controller is located outside the IPRAN; or the IPRAN may include a controller, a first network device, a second network device, a third network device, and a fourth network device.
  • the routing of the second network device to the fourth network device by the first network device is a primary route
  • the routing of the second network device to the fourth network device by the second network device is an alternate route.
  • the primary route is the route that the device 105 reaches the destination network device via the device 103.
  • the backup route is the route that the device 105 reaches the destination network device via the device 104.
  • the primary route and the alternate route may both be VPN instance Internet Protocol version 4 (IPv4) address family routes, that is, VPNv4 routes.
  • IPv4 Internet Protocol version 4
  • the destination address of the primary route and the alternate route may be the IP address of the destination network device.
  • the first network device is the next hop of the second network device on the primary route
  • the third network device is the next hop of the second network device on the alternate route.
  • the next hop of the primary route of the device 105 is the device 103
  • the next hop of the alternate route of the device 105 is the device 104.
  • the primary route and the alternate route may also have respective label and tunnel identifiers for traffic forwarding.
  • the controller 107 obtains the status message on the device 103, and the obtaining can be performed by the controller.
  • the netconf interface between the device 107 and the device 103 is acquired. For example, the status message of whether the primary route on the device 103 is available is obtained through the netconf interface of the controller, and the primary route is the route of the device 105 to the destination network device via the device 103.
  • the controller 107 sends a switchback instruction to the device 105, which is used to trigger the device 105 to switch traffic from the alternate route to the primary route.
  • the routing back-cut is that the device 105 generates a forwarding entry according to the primary routing entry, and forwards the data packet to the device 103 by using the forwarding entry.
  • the controller 107 obtains the master from the device 103 before acquiring the status message from the device 103.
  • the first network device is the device 103
  • the primary route is activated, and the VPN FRR switchback delay state is entered.
  • the controller for example, through the netconf interface, reads the routing route on the device 103 (the read command is, for example, the display ip routing table), whether the primary route (for example, the destination network device IP address is 100.1.1.0/24) is activated, When the corresponding activated route is found, the status message indicating whether the primary route is available is not obtained from the device 103, so as to reduce the network load and the device burden.
  • the controller 107 may periodically send a status query message to the device 103 (the frequency may be checked every minute), and the status query message is used to query whether the primary route is available.
  • the controller no longer sends a status query message.
  • the controller may package and send the status query messages of the multiple primary routes.
  • the device 103 actively reports a status message to the controller, where the status message is used to indicate whether the primary route is available. After the device 103 recovers from the fault, the status message is automatically reported to the controller. This reporting can be done, for example, via the netconf interface. For example, device 103 detects its own recovery status and encapsulates the detected recovery status as a status message to the controller.
  • the status message indicates that the primary route is available, and the ARP hot standby completion information is used to indicate The device 103 has obtained a backup of all ARP entries on the device 104, and the PW recovery information is used to indicate that the PW on the device 103 has been restored.
  • the PW recovery information may include information indicating that the PW of the device 103 to the device 101 has been restored; or the PW recovery information may include information indicating that the PW of the device 103 to the device 104 has been restored; or the PW recovery information may include the indication device 103 to The information that the PW of the device 101 has recovered and the information indicating that the device 103 to the PW of the device 104 have recovered.
  • the PW of the device 103 to the device 104 may be, for example, a dual mode interconnection (DNI) PW.
  • DNI dual mode interconnection
  • the first network device may be an SPE device in the IPRAN network architecture of FIG. 2, such as the device 103, or an NPE device, such as the device 105. If the traffic flows from the device 103 to the device 105, the first network device is the device 105, and the primary route is the device 103 via the device 105 to the Mobility Management Entity (MME) or the Serving Gate Way (SGW). The route, the alternate route is the route of the device 103 to the MME or the SGW via the device 106, and the destination network device of the primary route and the alternate route are the same.
  • MME Mobility Management Entity
  • SGW Serving Gate Way
  • the first network device is the device 103
  • the primary route is the route of the device 105 to the destination network device via the device 103
  • the alternate route is the route of the device 105 to the destination network device via the device 103.
  • the controller 107 determines that the status message indicates that the primary route is available, the controller 107 sends a VPN FRR switchback instruction to the second network device to trigger the second network device to return the service traffic from the backup route. Cut to the primary route.
  • the controller 107 sends a routing failback instruction to the device 105, such as through a netconf interface.
  • the device 105 introduces service traffic from the alternate route to the primary route. Further, if the controller cannot receive the status message reported by the device 103, or the controller queries the device 103 that the primary route is unavailable or is not activated, the route back-delay state is always maintained until the device 105 reaches the device. The TE tunnel of 104 also fails and then cuts back.
  • the service traffic is from the device 105 to the device 103, the first network device is the device 103, and the second network device is the device 105.
  • the controller 107 sends a switchback command to the device 105. After receiving the switchback command, the service traffic is switched back to the primary route.
  • the first network device is the device 105
  • the second network device is the device 103.
  • the controller sends a switchback command to the device 103, and the device 103 receives the switchback command. After that, the traffic is switched back to the primary route.
  • the controller 107 can also obtain a status message from the device 105. For example, when the device 105 fails to recover, it actively sends a status message to the controller 107, or the controller 107 periodically queries the device 105 whether the primary route is available. If the status message obtained by the controller 107 indicates that the primary route is available, that is, the switchback command is sent to the device 103, the device 103 switches the traffic from the device 106 to the device 105.
  • the specific processing procedure reference may be made to the processing flow after the fault recovery of the device 103 by the first network device, and details are not described herein again.
  • the device 105 acts as the primary device and the device 106 acts as the standby device.
  • the ARP hot standby completion information indicates that the device 105 has obtained a backup of all ARP entries on the device 106.
  • the PW recovery information is used to indicate that the PW on the device 105 has recovered.
  • the PW recovered information may include information indicating that the PW of the device 105 to the device 106 has recovered and/or information indicating that the PW of the device 105 to the MME or the SGW has been restored.
  • device 105 and device 106 can establish a DNI PW.
  • the controller acquires the status message of the first network device, and sends a switchback instruction to the second network device to trigger the backup route back to the second network device if the status message indicates that the primary route is available.
  • the primary route is used to make the traffic switchback time more appropriate.
  • the switchback is performed, which helps to avoid packet loss caused by the switchback too early; on the other hand, the state is acquired actively or passively. The message helps to avoid forwarding back too late, causing traffic to be forwarded on the alternate route for a long time, wasting communication resources.
  • FIG. 4 is a schematic structural diagram of a controller for routing switchback according to an embodiment of the present invention, where the controller communicates with a first network device and a second network device, and the first network device and the second network
  • the device is located in the IPRAN, the IPRAN further includes a third network device and a fourth network device, the second network device routing the route to the fourth network device by using the first network device, and the second network device is connected to the third network device by using the third network device
  • the route of the fourth network device is the backup route
  • the fourth network device is the destination network device of the primary route and the backup route
  • the first network device is the next hop of the second network device on the primary route
  • the controller may include: an obtaining unit 401 and a sending unit 402.
  • the controller can be used in the scenario shown in Figure 2 and performs the methods S100 and S101 of Figure 3.
  • the obtaining unit 401 is configured to obtain a status message from the first network device after the service traffic is switched from the primary route to the backup route, where the status message is used to indicate whether the primary route is available. ;
  • the sending unit 402 is configured to: if the status message indicates that the primary route is available, send a switchback instruction to the second network device, where the switchback instruction is used to trigger the second network device to send traffic from the network The alternate route is switched back to the primary route.
  • the status message includes the address resolution protocol ARP hot standby information or the pseudowire PW recovery information
  • the status message indicates that the primary route is available
  • the ARP hot standby completion information is used to indicate the The first network device has obtained a backup of all ARP entries on the third network device, where the PW recovery information is used to indicate that the PW on the first network device has been restored.
  • the status message includes the address resolution protocol ARP hot standby information and the pseudowire PW recovery information
  • the status message indicates that the primary route is available
  • the ARP hot standby completion information is used to indicate the The first network device has obtained a backup of all ARP entries on the third network device, where the PW recovery information is used to indicate that the PW on the first network device has been restored.
  • the PW recovery information includes information indicating that the PW of the first network device to the fifth network device has been restored, and the fifth network device is a next step of the primary route on the first network device. jump.
  • the PW recovery information includes information indicating that the PW of the first network device to the third network device has been restored.
  • the controller may include: a transceiver 5001 and a processor 5002.
  • the processor 5002 is configured to control the operation of the controller, including controlling the transceiver 5001 to perform data transmission (including receiving and/or transmitting, such as communicating with the first network device and the second network device, specifically, for example, from the first network device Obtaining a status message and sending a back-cut instruction to the second network device, etc.).
  • the controller can be used in the scenario shown in Figure 2 and performs the methods S100 and S101 of Figure 3. For specific details, refer to the description in the above method, and details are not described herein again.
  • the controller may further include a memory 5003, which may include a read only memory and a random access memory for providing instructions and data to the processor 5002.
  • the memory 5003 can be integrated into the processor 5002 or can be independent of the processor 5002.
  • a portion of memory 5003 may also include non-volatile line random access memory (NVRAM).
  • NVRAM non-volatile line random access memory
  • the various components of the apparatus are coupled together by a bus system, wherein the bus system 5009 can include a data bus.
  • the bus system 5009 can also include a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 5009 in the figure.
  • the transceiver 5001 is configured to obtain a status message from the first network device after the service traffic is switched from the primary route to the backup route, where the status message is used to indicate whether the primary route is Available
  • the transceiver 5001 is further configured to: if the status message indicates that the primary route is available, send a switchback instruction to the second network device, where the switchback instruction is used to trigger the second network device to send traffic from the network The alternate route is switched back to the primary route.
  • the flow disclosed in the embodiment of the present application may be applied to the processor 5002 or implemented by the processor 5002.
  • the steps of the process implemented by the controller may be completed by the integrated logic circuit of the hardware in the processor 5002 or the instruction in the form of software.
  • the processor 5002 can be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or a transistor logic device, and a discrete hardware component, which can be implemented or executed in the embodiment of the present application.
  • a general purpose processor can be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software units in the processor.
  • the software unit can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 5003, and the processor 5002 reads the information in the memory 5003, and completes the invention in combination with the hardware thereof.
  • the embodiment indicates the steps of the process.
  • a route switchback system includes a controller (such as the controller in FIG. 2 to FIG. 5). ), a first network device (such as device 103 or device 105 in FIG. 2), a second network device (such as device 105 or device 103 in FIG. 2), and a third network device (such as device 104 or device in FIG.
  • a controller such as the controller in FIG. 2 to FIG. 5
  • a first network device such as device 103 or device 105 in FIG. 2
  • a second network device such as device 105 or device 103 in FIG. 2
  • a third network device such as device 104 or device in FIG.
  • IP Radio Access Network IP Radio Access Network
  • the IPRAN further includes a fourth network device, the second network device Routing a route to the fourth network device by using the first network device as a primary route, where the route of the second network device to the fourth network device is an alternate route, where the The fourth network device is the destination network device of the primary route and the backup route, and the first network device is the next hop of the second network device on the primary route, the third network device In the standby for the second network device The next hop;
  • the controller is configured to obtain a status message from the first network device after the service traffic is switched from the primary route to the backup route, where the status message is used to indicate whether the primary route is available; Sending a switchback instruction to the second network device if the status message indicates that the primary route is available;
  • the second network device is configured to switch traffic from the backup route to the primary route in response to the failback instruction.
  • the system can be used in the scenario shown in Figure 2 and the method described in Figure 3 is performed.
  • the controller in the system may be the controller in FIG. 2 to FIG. 5 .
  • the controller in the system may be the controller in FIG. 2 to FIG. 5 .
  • the status message indicates that the primary route is available, and the ARP hot standby completion information is used to indicate the The first network device has obtained a backup of all ARP entries on the third network device, where the PW recovery information is used to indicate that the PW of the first network device to the third network device has been restored and/or The PW of the first network device to the fifth network device is restored, and the fifth network device is the next hop of the primary route on the first network device.
  • the status message indicates that the primary route is available, and the ARP hot standby completion information is used to indicate the The first network device has obtained a backup of all ARP entries on the third network device, where the PW recovery information is used to indicate that the PW of the first network device to the third network device has been restored and/or The PW of the first network device to the fifth network device is restored, and the fifth network device is the next hop of the primary route on the first network device.
  • system and “network architecture” are often used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • B corresponding to A means that B is associated with A, and B can be determined according to A.
  • determining B from A does not mean that B is only determined based on A, and that B can also be determined based on A and/or other information.
  • at least one of A, B, or C means that at least one of the sets (A, B, C), such as A, B, C, A, and B, A and C, is selected. B and C, or, A and B and C, etc.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some transceivers, devices or units, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processor, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • the computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor, or a processor of other programmable data processing device such that instructions executed by a processor of the computer or other programmable data processing device can be implemented in a flowchart
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.

Abstract

本申请实施例提供一种路由回切方法、控制器及系统,路由回切方法应用于IPRAN中,IPRAN包括第一网络设备、第二网络设备、第三网络设备和第四网络设备,第二网络设备经由第一网络设备到第四网络设备的路由为主用路由,第二网络设备经由第三网络设备到第四网络设备的路由为备用路由,第四网络设备为主用路由和备用路由的目的网络设备,第一网络设备为第二网络设备在主用路由上的下一跳,第三网络设备为第二网络设备在备用路由上的下一跳,业务流量被从主用路由切换到备用路由后,控制器从第一网络设备获取状态消息,若该状态消息指示主用路由可用,则控制器向第二网络设备下发回切指令。采用本申请实施例可以使得业务流量回切时间更为合适。

Description

一种路由回切方法、控制器及系统
本申请要求于2016年12月12日提交中国专利局、申请号为201611138981.1、申请名称为“一种路由回切方法、控制器及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种路由回切方法、控制器及系统。
背景技术
静态IP化无线接入网(Internet Protocol Radio Access Network,IPRAN)方案主要采用静态路由技术,各网络节点标签、路由等均静态配置,而不动态学习。
虚拟专用网快速重路由(Virtual Private Network Fast Reroute,VPN FRR)是利用基于VPN的私网路由快速切换技术,该技术预先在远端服务提供商边缘路由器设备(Provider Edge Router,PE)中设置指向主用PE和备用PE的主备用转发表项,在主用PE故障时切换到备用PE以提高可靠性。远端PE在主用PE故障恢复时进行VPNFRR回切,如果远端PE采用静态路由,远端PE只要感知到该远端PE到主用PE的流量工程(Traffic Engineering,TE)隧道恢复,路由即生效,此时可能主用PE到其他设备的业务还没有恢复,如果立即进行VPN FRR回切或者设置延时回切的时间过短,可能导致丢包。若设置的回切延时过长,将使流量长时间在备用路由上转发。
发明内容
本发明实施例提供一种路由回切方法、控制器及系统,由控制器下发路由回切指令,使得路由回切时间更为合适。
本发明实施例第一方面提供了一种路由回切方法,应用于IP化无线接入网(Internet Protocol Radio Access Network,IPRAN)中,该IPRAN包括第一网络设备、第二网络设备、第三网络设备和第四网络设备,该第二网络设备经由第一网络设备到第四网络设备的路由为主用路由;该第二网络设备经由第三网络设备到第四网络设备的路由为备用路由,该第四网络设备为主用路由的目的网络设备,并且该第四网络设备为备用路由的目的网络设备。
该第一网络设备为第二网络设备在主用路由上的下一跳,第三网络设备为第二网络设备在备用路由上的下一跳。
业务流量被从主用路由切换到备用路由后,控制器从第一网络设备获取状态消息,该状态消息用于指示主用路由是否可用。可选的,该控制器获取该状态消息的获取方式可以是主动获取,也可以是被动获取。若状态消息指示主用路由可用,该控制器向第二网络设备发送回切指令,第二网络设备接收到回切指令后,即将业务流量从备用 路由回切至主用路由。
本发明实施例第二方面提供一种控制器,该控制器与第一网络设备和第二网络设备通信,该第一网络设备和第二网络设备位于IPRAN中。该IPRAN还可以包括第三网络设备和第四网络设备,该第二网络设备经由第一网络设备到第四网络设备的路由为主用路由。该第二网络设备经由第三网络设备到第四网络设备的路由为备用路由。该第四网络设备为主用路由的目的网络设备,同时该第四网络设备也是备用路由的目的网络设备。
上述第一网络设备为第二网络设备在主用路由上的下一跳,第三网络设备为第二网络设备在备用路由上的下一跳。
上述控制器包括获取单元和发送单元,该获取单元用于在业务流量被从主用路由切换到备用路由后,从第一网络设备获取状态消息,该状态消息用于指示主用路由是否可用。
发送单元用于若状态消息指示主用路由可用,向第二网络设备发送回切指令,第二网络设备接收到该回切指令后,将业务流量从备用路由回切到主用路由。
本发明第三方面提供一种路由回切系统,该路由回切系统包括控制器、第一网络设备、第二网络设备以及第三网络设备。其中,第一网络设备、第二网络设备和第三网络设备位于IPRAN中,该IPRAN还可以包括第四网络设备。
第二网络设备经由第一网络设备到第四网络设备的路由为主用路由,该第二网络设备经由第三网络设备到第四网络设备的路由为备用路由。该第四网络设备为主用路由和备用路由的目的网络设备。
第一网络设备为第二网络设备在主用路由上的下一跳,第三网络设备为第二网络设备在备用路由上的下一跳。
控制器用于在业务流量被从主用路由切换到备用路由后,从第一网络设备获取状态消息,该状态消息用于指示主用路由是否可用。若状态消息指示主用路由可用,则该控制器向第二网络设备发送回切指令。
第二网络设备响应于该回切指令,将业务流量从备用路由回切至主用路由。
本发明实施例第四方面提供一种控制器,包括:收发器、处理器和存储器;该控制器为承载第二方面功能单元的具体结构。
所述存储器,用于存储计算机程序指令;
所述处理器,耦合到所述存储器,用于读取所述存储器存储的计算机程序指令,控制所述收发器执行如上第一方面所提供的方法。
上述处理器所执行的流程可参见上述第一方面的路由回切方法流程,在此不再详述。
本发明实施例第五方面还提供一种程序存储介质,该程序存储介质所存储的程序被执行时,可以实现上述第一方面所提供的方法。
在以上第一方面至第五方面的一种可能的设计中,若上述状态消息包括地址解析协议(Address Resolution Protocol,ARP)热备完成信息或伪线(Pseudo Wire,PW)恢复信息,则该状态信息指示该主用路由可用。该ARP热备完成信息用于指示第一网络设备已经获取第三网络设备上所有ARP表项的备份,该PW恢复信息用于指示该第一 网络设备上的PW已恢复。
在以上第一方面至第五方面的另一种可能的设计中,若状态消息包括ARP热备完成信息和/或PW恢复信息,则该状态消息指示该主用路由可用。该ARP热备完成信息用于指示第一网络设备已经获取第三网络设备上所有ARP表项的备份,该PW恢复信息用于指示该第一网络设备上的PW已恢复。
在以上第一方面至第五方面的另一种可能的设计中,PW恢复信息包括指示该第一网络设备到第五网络设备的PW已经恢复的信息。该第五网络设备为第一网络设备上主用路由的下一跳。
在以上第一方面至第五方面的另一种可能的设计中,PW恢复信息包括指示第一网络设备到第三网络设备的PW已经恢复的信息。
在以上第一方面至第五方面的可能设计中,ARP热备完成后再执行路由回切,有助于避免过早回切使得路由回切后还需等待ARP表项的产生,从而降低丢包的可能。以上设计中第一网络设备上PW恢复后再执行路由回切,有助于避免路由回切后还需等待第一网络设备上PW的恢复,从而降低丢包的可能。
以上第一方面至第五方面中,由控制器获取网络设备的状态消息,在状态消息指示主用路由可用的情况下,才发送回切指令触发备用路由回切到主用路由,从而使得业务流量的回切时间更为合适,有助于避免回切过早导致流量丢包,以及有助于避免回切过晚导致流量长时间在备用路由上转发。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍。
图1是现有技术中的一种IPRAN架构示意图;
图2是本发明实施例提供的一种网络架构示意图;
图3是本发明实施例提供的一种路由回切方法的流程示意图;
图4是本发明实施例提供的一种控制器的结构示意图;
图5是本发明实施例提供的一种控制器的结构示意图;
图6是本发明实施例提供的一种路由回切系统的结构示意图。
具体实施方式
下面将结合附图,对本发明的实施例进行描述。
如图1所示,即是一种IPRAN的网络架构示意图,该网络架构包括接入环和汇聚环,设备101、设备102、设备103和设备104组成接入环,设备103、设备104、设备105和设备106组成汇聚环。
设备101、设备102、设备103、设备104、设备105和设备106均为分组传送网(Packet Transport Network,PTN)设备。设备101与基站A进行通信,设备102与基站B通信,并且设备101和设备102部署虚拟租用线路(Virtual Leased Line,VLL)双归到设备103和设备104;设备103和设备104既是二层设备也是三层设备,设备103和设备104采用VLL接入三层的虚拟专用网络(Virtual Private Network, VPN),实现二层到三层的业务转换;设备103和设备104到设备105和设备106之间采用三层的VPN转发。
三层的设备上需部署VPN快速重路由(Virtual Private Network Fast Reroute,VPN FRR),用以增加节点故障时的业务可靠性保护;如设备105到设备103和设备104存在VPN FRR。设备105包括到相同目的网络设备例如基站A的主用路由和备用路由,主用路由和备用路由均为静态路由,主用路由经过设备103,备用路由经过设备104。当设备103故障时,设备105通过操作管理维护(Operation Administration and Maintenance,OAM)感知到设备105与设备103之间的流量工程(Traffic Engineering,TE)隧道故障,触发VPN FRR切换,将主用路由切换到备用路由,将业务流量由主用路由切换到备用路由,即将业务数据发往备用路由的下一跳设备104。
当设备103故障恢复时,设备105执行VPN FRR回切,将备用路由回切到主用路由,将业务流量由备用路由回切到主用路由,即将业务数据发往主用路由的下一跳设备103。
但是,由于是静态路由,设备105只要感知到设备103的TE隧道恢复,路由即生效,此时可能设备103到设备101和设备102等设备的业务还没有恢复,如果立即VPN FRR回切,可能导致流量丢包。
现有技术中尝试通过设置VPN FRR的回切延时解决此问题,即根据经验值设置,例如统一设置等待回复时间(Wait to Restore,WTR)为7分钟。由于设备各异,这种统一设置WTR的时间会导致回切时间不精准,比如假设设备103业务恢复时间慢,VPN FRR 7分钟的延时时间内,设备103没有恢复与设备101、设备102和设备104的全部业务。此时设备105回切后将导致丢包时间过长,下挂基站全部退出服务状态。若将WTR设置时间过长,将使流量长时间在备用路由上转发,不能在主用路由恢复后及时地加以利用以提高主用路由利用率。当主用路由能够提供比备用路由更好的通信质量时,会导致通信资源浪费,另外还可能增加流量拥塞、二次故障等其他隐患。
本发明实施例提出一种解决方案,如图2所示,本发明实施例在图1的IPRAN网络架构的基础上增加控制器107,控制器107可以与设备103和设备105通信。
举例来说,设备101、设备102、设备103、设备104、设备105和设备106均为服务提供商边缘(Provider Edge,PE)设备。设备101和设备102为用户侧服务提供商边缘(User Provider Edge,UPE)设备,设备103和设备104为上层服务提供商边缘(Superstratum Provider Edge,SPE)设备,设备105和设备106为网络核心服务提供商边缘(Network Provider Edge,NPE)设备。
控制器107从设备103或设备105获取状态消息指示主用路由是否可用;或者设备103或设备105主动将自身状态上报到控制器107上,控制器根据状态消息的指示向设备105或设备103发送路由回切指令,使得业务回切时间更为合适,能够及时回切并减少回切后流量丢包。
请参阅图3,图3是本发明实施例提供的一种路由回切方法,该路由回切方法可以应用于图2所示的增加控制器的网络架构中,即通过控制器和设备103或设备105之间的信息交互实现路由回切;如图3所示,所述方法包括以下步骤:
S100,控制器从所述第一网络设备获取状态消息,所述状态消息用于指示所述主 用路由是否可用;
S101,若所述状态消息指示所述主用路由可用,所述控制器向所述第二网络设备发送回切指令,所述回切指令用于触发所述第二网络设备将业务流量从所述备用路由回切到所述主用路由。
本发明实施例的第一网络设备可以为图2中的设备103,第二网络设备可以为图2中的设备105,第三网络设备可以为图2中的设备104,第四网络设备为本发明实施例的主用路由和备用路由的目的网络设备,目的网络设备可以为设备101、设备102、基站A、基站B、与基站A通信的网络设备或与基站B通信的网络设备,第五网络设备为图2中的设备101。
在一个实施例中,IPRAN可以包括第一网络设备、第二网络设备、第三网络设备和第四网络设备,控制器位于该IPRAN外;或者,该IPRAN可以包括控制器、第一网络设备、第二网络设备、第三网络设备和第四网络设备。
第二网络设备经由第一网络设备到第四网络设备的路由为主用路由,第二网络设备经由第三网络设备到第四网络设备的路由为备用路由。继续以图2的网络架构为例进行说明,主用路由即是设备105经由设备103到达目的网络设备的路由,备用路由即是设备105经由设备104到达目的网络设备的路由。
设备105上存在到目的网络设备的主用路由和备用路由。该主用路由和备用路由可以均为VPN实例互联网协议版本4(Internet Protocol version 4,IPv4)地址族路由即VPNv4路由。主用路由和备用路由的目的地址例如均可以为所述目的网络设备的IP地址。
第一网络设备为第二网络设备在主用路由上的下一跳,第三网络设备为第二网络设备在备用路由上的下一跳。继续以图2为例进行说明,即是设备105的主用路由的下一跳为设备103,设备105的备用路由的下一跳为设备104。可选地,主用路由和备用路由还可以有各自的标签和隧道标识,用于流量转发。
如图2所示,设备104是设备103的备用设备,设备106是设备105的备用设备,设备103是SPE设备,设备105是NPE设备,本发明实施例以第一网络设备为设备103为例进行说明,当设备103故障时,设备105通过OAM检测到NPE设备到SPE设备的TE隧道故障,例如持续一段时间未收到连通性检测报文等,经过该设备103的业务流量通过VPN FRR切换至设备104,即通过设备104转发至设备101或者设备102。
设备105到设备103的TE隧道恢复后,做为静态路由的主用路由即生效,进入VPN FRR回切延时状态中,控制器107获取设备103上的状态消息,所述获取可以通过控制器107与设备103之间的netconf接口进行获取。比如,通过控制器的netconf接口获取设备103上的主用路由是否可用的状态消息,主用路由即是设备105经由设备103到目的网络设备的路由。
若控制器获取的状态消息指示主用路由可用,则控制器107向设备105发送回切指令,该回切指令用于触发设备105将业务流量从备用路由回切到主用路由。
需要说明的是,路由回切即是设备105根据主路由表项生成转发表项,利用转发表项向设备103转发数据报文。
可选地,控制器107从设备103获取状态消息前,控制器107从设备103获取主 用路由是否激活的信息;具体的,如图2所示,第一网络设备为设备103,设备105到设备103的TE隧道恢复后,主用路由即激活,进入VPN FRR回切延时状态中,控制器例如通过netconf接口读取设备103上路由转发表(读取命令例如为display ip routing table)的主用路由(例如目的网络设备IP地址为100.1.1.0/24)是否已激活,在没有查到对应已激活的路由时,不从设备103获取指示主用路由是否可用的状态消息,以减少网络负担和设备负担。
可选的,控制器107可以定期向设备103发送状态查询消息(频率可以为每分钟查一次),状态查询消息即是用于查询主用路由是否可用。可选的,当VPN FRR回切后,控制器不再发送状态查询消息。可选地,当存在多条主路由需要查询时,控制器可以将该多条主路由的状态查询消息打包发送。
可选的,设备103主动向控制器上报状态消息,该状态消息用于指示主用路由是否可用。当设备103故障恢复后,将状态消息主动上报给控制器。该上报例如可以通过netconf接口完成。举例来说,设备103检测自身的恢复状态,并将所检测的恢复状态封装为状态消息发送至控制器。
可选的,若所述状态消息包括地址解析协议ARP热备完成信息和/或伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述设备103已获取设备104上所有ARP表项的备份,所述PW恢复信息用于指示设备103上的PW已恢复。
该PW恢复信息可以包括指示设备103到设备101的PW已经恢复的信息;或者该PW恢复信息可以包括指示设备103到设备104的PW已经恢复的信息;或者该PW恢复信息可以包括指示设备103到设备101的PW已经恢复的信息以及指示设备103到设备104的PW已经恢复的信息。其中设备103到设备104的PW例如可以为双模式互联(dual mode interconnection,DNI)PW。
本发明实施例中,第一网络设备可以是图2的IPRAN网络架构中的SPE设备比如设备103,也可以是NPE设备比如设备105。若业务流量由设备103流向设备105,则第一网络设备为设备105,主用路由为设备103经由设备105到信令实体(Mobility Management Entity,MME)或服务网关(Serving Gate Way,SGW)的路由,备用路由为设备103经由设备106到所述MME或SGW的路由,主用路由和备用路由的目的网络设备相同。若业务流量由设备105流向设备103,则第一网络设备为设备103,主用路由为设备105经由设备103到目的网络设备的路由,备用路由为设备105经由设备103到目的网络设备的路由。
本发明实施例中,若控制器107确定状态消息指示主用路由可用,该控制器107向第二网络设备下发VPN FRR回切指令,以触发该第二网络设备将业务流量从备用路由回切至主用路由。
具体可选的,控制器107向设备105发送路由回切指令,所述发送例如通过netconf接口。设备105接收路由回切指令后将业务流量从备用路由引入主用路由。进一步可选的,如果控制器无法接收到设备103上报的状态消息,或者控制器查询设备103上主用路由一直不可用即未激活,则始终保持路由回切延时状态,直到设备105到设备104的TE隧道也故障再回切。
如图2所示,若业务流量是从设备105到设备103,则该第一网络设备是设备103,该第二网络设备即是设备105,控制器107向设备105下发回切指令,设备105收到该回切指令后,将业务流量回切至主用路由。
若业务流量是从设备103到设备105,则该第一网络设备是设备105,该第二网络设备即是设备103,控制器向设备103下发回切指令,设备103收到该回切指令后,将业务流量回切至主用路由。
具体可选的,控制器107也可以从设备105获取状态消息。例如设备105故障恢复时主动发送状态消息给控制器107,或者控制器107定期向设备105查询主用路由是否可用。若控制器107获取的状态消息指示主用路由可用,即向设备103下发回切指令,由设备103将业务流量由设备106切换至设备105。具体处理流程可以参照第一网络设备为设备103的故障恢复后的处理流程,在此不再赘述。
其中类似于设备103和设备104的互备关系,设备105做为主用设备,设备106做为备用设备。可选的,对于从设备105获取状态消息,所述ARP热备完成信息指示设备105已获取设备106上所有ARP表项的备份。可选地,对于从设备105获取状态消息,所述PW恢复信息用于指示设备105上的PW已恢复。可选地,对于从设备105获取状态消息,所述PW已恢复信息可以包括指示设备105到设备106的PW已恢复的信息和/或指示设备105到MME或SGW的PW已恢复的信息。可选地,设备105和设备106可以建立DNI PW。
本发明实施例提供的路由回切方法,控制器获取第一网络设备的状态消息,在状态消息指示主用路由可用的情况下,才向第二网络设备发送回切指令触发备用路由回切到主用路由,从而使得业务流量的回切时间更为合适。一方面,在从第一网络设备获取的状态消息已经指示主用路由可用后再进行回切,有助于避免回切过早导致流量丢包;另一方面,主动或被动地及时获取该状态消息有助于避免回切过晚导致流量长时间在备用路由上转发,浪费通信资源。
参照图4和图5,为本发明实施例提供的用于路由回切的控制器的结构示意图,所述控制器与第一网络设备和第二网络设备通信,第一网络设备和第二网络设备位于IPRAN中,IPRAN还包括第三网络设备和第四网络设备,第二网络设备经由第一网络设备到第四网络设备的路由为主用路由,第二网络设备经由第三网络设备到第四网络设备的路由为备用路由,第四网络设备为主用路由和备用路由的目的网络设备,第一网络设备为第二网络设备在所述主用路由上的下一跳,第三网络设备为第二网络设备在所述备用路由上的下一跳,如图4所示,该控制器可包括:获取单元401和发送单元402。该控制器可以用于图2所示场景中,并执行图3所述方法S100和S101。
具体细节,可以参考以上方法中的描述,在此不再赘述。
比如,获取单元401,用于在业务流量被从所述主用路由切换到所述备用路由后从所述第一网络设备获取状态消息,所述状态消息用于指示所述主用路由是否可用;
发送单元402,用于若所述状态消息指示所述主用路由可用,向所述第二网络设备发送回切指令,所述回切指令用于触发所述第二网络设备将业务流量从所述备用路由回切到所述主用路由。
可选的,若所述状态消息包括地址解析协议ARP热备完成信息或伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备上的PW已恢复。
可选的,若所述状态消息包括地址解析协议ARP热备完成信息和伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备上的PW已恢复。
可选的,所述PW恢复信息包括指示所述第一网络设备到第五网络设备的PW已恢复的信息,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
可选的,所述PW恢复信息包括指示所述第一网络设备到所述第三网络设备的PW已恢复的信息。
对应的,如图5所示,为本发明实施例提供的一种控制器的结构示意图,如图所示,该控制器可包括:收发器5001和处理器5002。处理器5002用于控制该控制器的操作,包括控制收发器5001进行数据的传输(包括接收和/或发送,比如与第一网络设备和第二网络设备进行通信,具体例如从第一网络设备获取状态消息和向第二网络设备发送回切指令等等)。该控制器可以用于图2所示场景中,并执行图3所述方法S100和S101。具体细节可以参考以上方法中的描述,在此不再赘述。
进一步的,该控制器还可以包括存储器5003,存储器5003可以包括只读存储器和随机存取存储器,用于向处理器5002提供指令和数据。存储器5003可以集成于处理器5002中,也可以独立于处理器5002。存储器5003的一部分还可以包括非易失行随机存取存储器(NVRAM)。该装置的各个组件通过总线系统耦合在一起,其中总线系统5009可以包括数据总线。总线系统5009还可以包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都标为总线系统5009。
可选的,收发器5001用于在业务流量被从所述主用路由切换到所述备用路由后从所述第一网络设备获取状态消息,所述状态消息用于指示所述主用路由是否可用;
收发器5001还用于若所述状态消息指示所述主用路由可用,向所述第二网络设备发送回切指令,所述回切指令用于触发所述第二网络设备将业务流量从所述备用路由回切到所述主用路由。
本申请实施例揭示的流程可以应用于处理器5002中,或者由处理器5002实现。在实现过程中,该控制器实现的流程的各步骤可以通过处理器5002中的硬件的集成逻辑电路或者软件形式的指令完成。处理器5002可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件单元组合执行完成。软件单元可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器5003,处理器5002读取存储器5003中的信息,结合其硬件完成本发明 实施例指示流程的步骤。
请参照图6,为本发明实施例提供的一种路由回切系统的结构示意图,如图所示,本发明实施例的路由回切系统包括控制器(如图2至图5中的控制器)、第一网络设备(比如图2中的设备103或设备105)、第二网络设备(比如图2中的设备105或设备103)和第三网络设备(比如图2中的设备104或设备106),其中所述第一网络设备、所述第二网络设备和所述第三网络设备位于IP化无线接入网IPRAN中,所述IPRAN还包括第四网络设备,所述第二网络设备经由所述第一网络设备到所述第四网络设备的路由为主用路由,所述第二网络设备经由所述第三网络设备到所述第四网络设备的路由为备用路由,所述第四网络设备为所述主用路由和所述备用路由的目的网络设备,所述第一网络设备为所述第二网络设备在所述主用路由上的下一跳,所述第三网络设备为所述第二网络设备在所述备用路由上的下一跳;
所述控制器,用于在业务流量被从所述主用路由切换到所述备用路由后从所述第一网络设备获取状态消息,所述状态消息用于指示所述主用路由是否可用;若所述状态消息指示所述主用路由可用,向所述第二网络设备发送回切指令;
所述第二网络设备,用于响应于所述回切指令,将业务流量从所述备用路由回切到所述主用路由。
该系统可以用于图2所示场景中,并执行图3所述方法。该系统中的控制器可以为图2至图5中的控制器,具体细节,可以参考以上方法中的描述,在此不再赘述。
可选的,若所述状态消息包括地址解析协议ARP热备完成信息或伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备到所述第三网络设备的PW已恢复和/或所述第一网络设备到第五网络设备的PW已恢复,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
可选的,若所述状态消息包括地址解析协议ARP热备完成信息和伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备到所述第三网络设备的PW已恢复和/或所述第一网络设备到第五网络设备的PW已恢复,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
另外,本文中术语“系统”和“网络架构”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外, 本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。在本申请实施例中,“A,B,或C中的至少一个”表示从集合(A,B,C)中选出至少一个,如A,B,C,A和B,A和C,B和C,或者,A和B和C等。本申请实施例中的“第一A”“第二A”等描述,仅用于区分多个A,并不用于表达其他含义。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些收发器、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理器中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字STA线(DSL)或者诸如红外线、无线电和微波之类的无线技 术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器,使得通过该计算机或其他可编程数据处理设备的处理器执行的指令可实现流程图中的一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图的一个流程或多个流程和/或方框图的一个方框或多个方框中指定的功能的步骤。

Claims (15)

  1. 一种路由回切方法,应用于IP化无线接入网IPRAN中,其特征在于,所述IPRAN包括第一网络设备、第二网络设备、第三网络设备和第四网络设备,所述第二网络设备经由所述第一网络设备到所述第四网络设备的路由为主用路由,所述第二网络设备经由所述第三网络设备到所述第四网络设备的路由为备用路由,所述第四网络设备为所述主用路由和所述备用路由的目的网络设备,所述第一网络设备为所述第二网络设备在所述主用路由上的下一跳,所述第三网络设备为所述第二网络设备在所述备用路由上的下一跳,业务流量被从所述主用路由切换到所述备用路由后,该方法包括:
    控制器从所述第一网络设备获取状态消息,所述状态消息用于指示所述主用路由是否可用;
    若所述状态消息指示所述主用路由可用,所述控制器向所述第二网络设备发送回切指令,所述回切指令用于触发所述第二网络设备将业务流量从所述备用路由回切到所述主用路由。
  2. 如权利要求1所述的方法,其特征在于,若所述状态消息包括地址解析协议ARP热备完成信息或伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备上的PW已恢复。
  3. 如权利要求1所述的方法,其特征在于,若所述状态消息包括地址解析协议ARP热备完成信息和伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备上的PW已恢复。
  4. 如权利要求2或3所述的方法,其特征在于,所述PW恢复信息包括指示所述第一网络设备到第五网络设备的PW已恢复的信息,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
  5. 如权利要求2至4任意一项所述的方法,其特征在于,所述PW恢复信息包括指示所述第一网络设备到所述第三网络设备的PW已恢复的信息。
  6. 一种控制器,其特征在于,所述控制器与第一网络设备和第二网络设备通信,所述第一网络设备和所述第二网络设备位于IP化无线接入网IPRAN中,所述IPRAN还包括第三网络设备和第四网络设备,所述第二网络设备经由所述第一网络设备到所述第四网络设备的路由为主用路由,所述第二网络设备经由所述第三网络设备到所述第四网络设备的路由为备用路由,所述第四网络设备为所述主用路由和所述备用路由的目的网络设备,所述第一网络设备为所述第二网络设备在所述主用路由上的下一跳,所述第三网络设备为所述第二网络设备在所述备用路由上的下一跳,所述控制器包括:
    获取单元,用于在业务流量被从所述主用路由切换到所述备用路由后从所述第一 网络设备获取状态消息,所述状态消息用于指示所述主用路由是否可用;
    发送单元,用于若所述状态消息指示所述主用路由可用,向所述第二网络设备发送回切指令,所述回切指令用于触发所述第二网络设备将业务流量从所述备用路由回切到所述主用路由。
  7. 如权利要求6所述的控制器,其特征在于,若所述状态消息包括地址解析协议ARP热备完成信息或伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备上的PW已恢复。
  8. 如权利要求6所述的控制器,其特征在于,若所述状态消息包括地址解析协议ARP热备完成信息和伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备上的PW已恢复。
  9. 如权利要求7或8所述的控制器,其特征在于,所述PW恢复信息包括指示所述第一网络设备到第五网络设备的PW已恢复的信息,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
  10. 如权利要求7至9任意一项所述的控制器,其特征在于,所述PW恢复信息包括指示所述第一网络设备到所述第三网络设备的PW已恢复的信息。
  11. 一种路由回切系统,其特征在于,包括控制器、第一网络设备、第二网络设备和第三网络设备,其中所述第一网络设备、所述第二网络设备和所述第三网络设备位于IP化无线接入网IPRAN中,所述IPRAN还包括第四网络设备,所述第二网络设备经由所述第一网络设备到所述第四网络设备的路由为主用路由,所述第二网络设备经由所述第三网络设备到所述第四网络设备的路由为备用路由,所述第四网络设备为所述主用路由和所述备用路由的目的网络设备,所述第一网络设备为所述第二网络设备在所述主用路由上的下一跳,所述第三网络设备为所述第二网络设备在所述备用路由上的下一跳;
    所述控制器,用于在业务流量被从所述主用路由切换到所述备用路由后从所述第一网络设备获取状态消息,所述状态消息用于指示所述主用路由是否可用;若所述状态消息指示所述主用路由可用,向所述第二网络设备发送回切指令;
    所述第二网络设备,用于响应于所述回切指令,将业务流量从所述备用路由回切到所述主用路由。
  12. 如权利要求11所述的系统,其特征在于,若所述状态消息包括地址解析协议ARP热备完成信息或伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表 项的备份,所述PW恢复信息用于指示所述第一网络设备到所述第三网络设备的PW已恢复和/或所述第一网络设备到第五网络设备的PW已恢复,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
  13. 如权利要求11所述的系统,其特征在于,若所述状态消息包括地址解析协议ARP热备完成信息和伪线PW恢复信息,则所述状态消息指示所述主用路由可用,所述ARP热备完成信息用于指示所述第一网络设备已获取所述第三网络设备上所有ARP表项的备份,所述PW恢复信息用于指示所述第一网络设备到所述第三网络设备的PW已恢复和/或所述第一网络设备到第五网络设备的PW已恢复,所述第五网络设备为所述第一网络设备上的主用路由的下一跳。
  14. 一种控制器,其特征在于,包括:
    收发器,用于与第一网络设备和第二网络设备通信;
    存储器,用于存储计算机程序指令;
    处理器,耦合到所述存储器,用于读取所述计算机程序指令,控制所述收发器执行如权利要求1至5中任意一项所述的方法。
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序指令,所述计算机程序指令在控制器上运行时,使得所述控制器执行如权利要求1至5中任意一项所述的方法。
PCT/CN2017/113953 2016-12-12 2017-11-30 一种路由回切方法、控制器及系统 WO2018107974A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611138981.1A CN108462637A (zh) 2016-12-12 2016-12-12 一种路由回切方法、控制器及系统
CN201611138981.1 2016-12-12

Publications (1)

Publication Number Publication Date
WO2018107974A1 true WO2018107974A1 (zh) 2018-06-21

Family

ID=62559773

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113953 WO2018107974A1 (zh) 2016-12-12 2017-11-30 一种路由回切方法、控制器及系统

Country Status (2)

Country Link
CN (1) CN108462637A (zh)
WO (1) WO2018107974A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885630A (zh) * 2020-07-01 2020-11-03 中国联合网络通信集团有限公司 数据传输方法及通信装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783791A (zh) * 2020-06-10 2021-12-10 中国移动通信集团山东有限公司 适用于分组传送网的传输控制方法、装置以及传输设备
US11323309B1 (en) * 2021-01-14 2022-05-03 Juniper Networks, Inc. Asynchronous socket replication between nodes of a network
US11570116B1 (en) 2021-03-10 2023-01-31 Juniper Networks, Inc. Estimating standby socket window size during asynchronous socket replication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518960A (zh) * 2014-12-05 2015-04-15 华为技术有限公司 一种延时回切的方法、设备及系统
US20150256383A1 (en) * 2014-03-05 2015-09-10 Electronics And Telecommunications Research Institute Method for transiting operation mode of routing processor
CN105262661A (zh) * 2015-08-28 2016-01-20 吴伟 一种采用无线方式解决ipran分组传送网接入层成环的网络系统及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150256383A1 (en) * 2014-03-05 2015-09-10 Electronics And Telecommunications Research Institute Method for transiting operation mode of routing processor
CN104518960A (zh) * 2014-12-05 2015-04-15 华为技术有限公司 一种延时回切的方法、设备及系统
CN105262661A (zh) * 2015-08-28 2016-01-20 吴伟 一种采用无线方式解决ipran分组传送网接入层成环的网络系统及方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885630A (zh) * 2020-07-01 2020-11-03 中国联合网络通信集团有限公司 数据传输方法及通信装置
CN111885630B (zh) * 2020-07-01 2023-06-30 中国联合网络通信集团有限公司 数据传输方法及通信装置

Also Published As

Publication number Publication date
CN108462637A (zh) 2018-08-28

Similar Documents

Publication Publication Date Title
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
JP4729119B2 (ja) ラベルスイッチングネットワークにおける通信装置
WO2018107974A1 (zh) 一种路由回切方法、控制器及系统
WO2016015497A1 (zh) 一种报文转发的方法、设备及系统
CN106899430B (zh) 一种流量转发处理方法和装置
WO2017197885A1 (zh) 用于虚拟可扩展局域网的通信方法和装置
CN110798403B (zh) 通信方法、通信设备和通信系统
WO2020135395A1 (zh) 一种跨内部网关协议的前缀标识通告方法和装置
US11146484B2 (en) Method, device, and system for deferring switchback
EP1958364B1 (en) Vpls remote failure indication
WO2020119644A1 (zh) 一种转发表项生成方法、装置及设备
JP6355536B2 (ja) 中継システムおよびスイッチ装置
JP7053901B2 (ja) ループ回避通信方法、ループ回避通信デバイスおよびループ回避通信システム
CN105162704A (zh) Overlay网络中组播复制的方法及装置
CN107682261B (zh) 流量转发方法及装置
CN108601055B (zh) 在lte移动回传网络中部署l3vpn的方法及系统
WO2016197950A1 (zh) 一种路径检测的方法、路由设备及系统
CN104702498A (zh) 一种通过协调保护减少设备间光连接数量的方法及装置
CN113037883A (zh) 一种mac地址表项的更新方法及装置
WO2023197644A1 (zh) 跨分段网络的故障检测方法、通信系统及相关装置
WO2022048469A1 (zh) Mac路由的更新方法、设备及系统
WO2018112835A1 (zh) 选择网关的方法、设备和系统
WO2016086615A1 (zh) 以太环网的保护方法及装置
WO2016112752A1 (zh) 一种点到多点业务传输方法和装置
EP3016325A1 (en) Method and device for processing data forwarding

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17879871

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17879871

Country of ref document: EP

Kind code of ref document: A1