[go: up one dir, main page]

CN107819680A - A kind of method of service switchover, the network equipment - Google Patents

A kind of method of service switchover, the network equipment Download PDF

Info

Publication number
CN107819680A
CN107819680A CN201710890635.7A CN201710890635A CN107819680A CN 107819680 A CN107819680 A CN 107819680A CN 201710890635 A CN201710890635 A CN 201710890635A CN 107819680 A CN107819680 A CN 107819680A
Authority
CN
China
Prior art keywords
link
igp
network equipment
neighbours
igp neighbours
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
CN201710890635.7A
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.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital 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 Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201710890635.7A priority Critical patent/CN107819680A/en
Publication of CN107819680A publication Critical patent/CN107819680A/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/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种切换业务的方法和网络设备,网络设备的第一接口包括多个内部网关协议IGP邻居,网络设备到该多个IGP邻居中的每个IGP邻居的链路对应一个链路开销值,该方法包括:第一链路发生故障时,网络设备将业务数据的传输由该第一链路切换至第二链路,第一链路为网络设备到多个IGP邻居中的第一IGP邻居的链路,第二链路为网络设备通过第二IGP邻居到该第一IGP邻居的链路;第一链路恢复且在第一链路的标签分发协议LDP收敛之前,网络设备将第一链路上的链路开销值调整为第一链路开销阈值,以阻止业务数据的传输从第二链路切换至第一链路。本申请实施例的切换业务的方法,有助于防止业务丢包和基站掉站。

The present application provides a method for switching services and a network device. The first interface of the network device includes a plurality of interior gateway protocol (IGP) neighbors, and the link between the network device and each IGP neighbor in the plurality of IGP neighbors corresponds to a link The cost value, the method includes: when the first link fails, the network device switches the transmission of service data from the first link to the second link, and the first link is the first link between the network device and the multiple IGP neighbors. The link of an IGP neighbor, the second link is the link from the network device to the first IGP neighbor through the second IGP neighbor; the first link is restored and before the label distribution protocol LDP of the first link converges, the network device The link overhead value on the first link is adjusted to the first link overhead threshold, so as to prevent the transmission of service data from being switched from the second link to the first link. The service switching method in the embodiment of the present application helps to prevent service packet loss and base station drop.

Description

一种切换业务的方法、网络设备A method and network equipment for switching services

技术领域technical field

本申请涉及通信领域,并且更具体地,涉及一种切换业务的方法和网络设备。The present application relates to the communication field, and more specifically, relates to a service switching method and network equipment.

背景技术Background technique

多协议标签交换(Multi-Protocol Label Switching,MPLS)网络中一个重要的问题是内部网关协议(Interior Gateway Protocol,IGP)和标签分发协议(LabelDistribution Protocol,LDP)联动,由于LDP的收敛速度依赖于IGP路由的收敛,即LDP的收敛速度比IGP的收敛速度慢,因此IGP-LDP联动主要解决如下问题:当主链路发生故障时,IGP路由和LSP均切换到备份链路上,但当主链路从故障中恢复时,IGP邻居先恢复,但LDP还没有完全收敛,这是如果不部署IGP-LDP联动,业务数据会立即回切,由于LDP没有完全收敛,隧道没有建立成功,会导致业务丢包。An important issue in Multi-Protocol Label Switching (MPLS) networks is the linkage between Interior Gateway Protocol (IGP) and Label Distribution Protocol (Label Distribution Protocol, LDP). Since the convergence speed of LDP depends on the IGP The convergence of routes, that is, the convergence speed of LDP is slower than that of IGP. Therefore, IGP-LDP linkage mainly solves the following problems: when the primary link fails, both IGP routes and LSPs are switched to the backup link. When recovering from a fault, the IGP neighbor recovers first, but the LDP has not yet fully converged. This is because if IGP-LDP linkage is not deployed, the service data will be switched back immediately. Since the LDP is not fully converged, the tunnel is not established successfully, resulting in service packet loss. .

现有技术中IGP-LDP联动主要应用在基站侧网关设备(Cell Site Gateway,CSG)跟多个业务汇聚网关设备(Aggregation Service Gateway,ASG)的邻居建立在不同的接口下,而当CSG与多个ASG的IGP邻居出接口是同一个接口时,即CSG的同一个接口下由多个IGP邻居时,当主链路故障恢复时,会导致IGP-LDP联动失效,从而导致业务丢包。In the prior art, IGP-LDP linkage is mainly used when a cell site gateway (CSG) on the base station side and neighbors of multiple service aggregation gateway devices (Aggregation Service Gateway, ASG) are established on different interfaces. If the outgoing interface of the IGP neighbor of an ASG is the same interface, that is, if there are multiple IGP neighbors under the same interface of the CSG, when the primary link fails and recovers, the IGP-LDP association will fail, resulting in service packet loss.

发明内容Contents of the invention

本申请提供一种切换业务的方法、网络设备,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的对应关系,有助于防止LDP收敛之前业务数据提前切回,从而防止业务丢包。This application provides a method for switching services and a network device. When there are multiple IGP neighbors under the same interface of the network device, by changing the corresponding relationship between the link overhead value and the interface, it is helpful to prevent the service data from being advanced before LDP converges. Switch back to prevent service packet loss.

第一方面,提供了一种切换业务的方法,该方法由网络设备执行,该网络设备的第一接口包括多个内部网关协议IGP邻居,该网络设备到该多个IGP邻居中的每个IGP邻居的链路对应一个链路开销值,该方法包括:第一链路发生故障时,该网络设备将业务数据的传输由该第一链路切换至第二链路,该第一链路为该网络设备到该多个IGP邻居中的第一IGP邻居的链路,该第二链路为该网络设备通过第二IGP邻居到该第一IGP邻居的链路,该第二IGP邻居为该多个IGP邻居中除该第一IGP邻居之外的IGP邻居;该第一链路恢复且在该第一链路的标签分发协议LDP收敛之前,该网络设备将该第一链路上的链路开销值调整为第一链路开销阈值,以阻止该业务数据的传输从该第二链路切换至该第一链路。In a first aspect, a method for switching services is provided, the method is executed by a network device, the first interface of the network device includes a plurality of interior gateway protocol IGP neighbors, and the network device connects to each IGP in the plurality of IGP neighbors The neighbor link corresponds to a link overhead value, and the method includes: when the first link fails, the network device switches the transmission of service data from the first link to the second link, and the first link is The link from the network device to the first IGP neighbor among the plurality of IGP neighbors, the second link is the link from the network device to the first IGP neighbor through the second IGP neighbor, the second IGP neighbor is the IGP neighbors other than the first IGP neighbor among the multiple IGP neighbors; the first link recovers and before the label distribution protocol LDP of the first link converges, the network device The path overhead value is adjusted to the first link overhead threshold, so as to prevent the transmission of the service data from being switched from the second link to the first link.

本申请实施例的切换业务的方法,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的一一对应关系,将<interface,cost>扩展为<interface,igp peer,cost>的三维结构,解决了一个接口下存在多个邻居时,主链路故障恢复后IGP-LDP联动失效导致业务丢包的问题,更便于网络的规划和灵活部署。In the method for switching services in the embodiment of the present application, when there are multiple IGP neighbors under the same interface of the network device, by changing the one-to-one correspondence between the link cost value and the interface, the <interface, cost> is extended to <interface, The three-dimensional structure of igp peer, cost> solves the problem of service packet loss caused by IGP-LDP linkage failure after the main link fails when there are multiple neighbors under one interface, which is more convenient for network planning and flexible deployment.

结合第一方面,在第一方面的某些实现方式中,该方法还包括:该网络设备为该网络设备到该IGP邻居中的每个IGP邻居分配链路开销值。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the network device assigning a link cost value to each IGP neighbor from the network device to the IGP neighbor.

结合第一方面,在第一方面的某些实现方式中,该网络设备为该多个IGP邻居中的每个IGP邻居分配链路开销值,包括:该网络设备为该多个IGP邻居中的每个IGP邻居分配不同的链路开销值。With reference to the first aspect, in some implementation manners of the first aspect, the network device assigning a link overhead value to each of the multiple IGP neighbors includes: the network device assigning a link cost value to each of the multiple IGP neighbors Each IGP neighbor is assigned a different link cost value.

结合第一方面,在第一方面的某些实现方式中,该网络设备将该第一链路上的链路开销值调整为第一链路开销阈值,包括:网络设备将该第一链路上的链路开销值调整为最大值。With reference to the first aspect, in some implementation manners of the first aspect, the network device adjusting the link overhead value on the first link to the first link overhead threshold includes: the network device adjusting the first link overhead value The link cost value on the link is adjusted to the maximum value.

在一些可能的实现方式中,该最大值为65535。In some possible implementations, this maximum value is 65535.

结合第一方面,在第一方面的某些实现方式中,该第一链路的标签分发协议LDP收敛之后,该方法还包括:该网络设备将该第一链路上的链路开销值调整为第二链路开销阈值;该网络设备将该业务数据的传输由该第二链路切换至该第一链路;其中,该第二链路开销阈值小于该第一链路开销阈值。With reference to the first aspect, in some implementation manners of the first aspect, after the label distribution protocol LDP of the first link converges, the method further includes: the network device adjusting the link overhead value on the first link is the second link overhead threshold; the network device switches the transmission of the service data from the second link to the first link; wherein, the second link overhead threshold is smaller than the first link overhead threshold.

本申请实施实例的切换业务的方法,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的对应关系,有助于防止LDP收敛之前业务数据提前切回,从而防止业务丢包。This application implements the method of switching services in the example. When there are multiple IGP neighbors under the same interface of the network device, by changing the corresponding relationship between the link overhead value and the interface, it helps to prevent the service data from being switched back in advance before LDP converges. In this way, service packet loss is prevented.

第二方面,提供了一种网络设备,该网络设备的第一接口包括多个内部网关协议IGP邻居,该网络设备到该多个IGP邻居中的每个IGP邻居的链路具有链路开销值,该网络设备包括:收发模块,用于在第一链路上向第一IGP邻居发送业务数据,该第一链路为该网络设备到该多个IGP邻居中的第一IGP邻居的链路;处理模块,用于在该第一链路发生故障时,该网络设备将业务数据的传输由该第一链路切换至第二链路,该第二链路为该网络设备通过第二IGP邻居到该第一IGP邻居的链路,该第二IGP邻居为该多个IGP邻居中除该第一IGP邻居之外的IGP邻居;该处理模块还用于在该第一链路恢复且在该第一链路的标签分发协议LDP收敛之前,该网络设备将该第一链路上的链路开销值调整为第一链路开销阈值,以阻止该业务数据的传输从该第二链路切换至该第一链路。In a second aspect, a network device is provided, the first interface of the network device includes a plurality of interior gateway protocol IGP neighbors, and the link of the network device to each IGP neighbor in the plurality of IGP neighbors has a link cost value , the network device includes: a transceiver module, configured to send service data to a first IGP neighbor on a first link, where the first link is a link from the network device to a first IGP neighbor among the plurality of IGP neighbors ; A processing module, configured to switch the transmission of service data from the first link to a second link by the network device when the first link fails, and the second link is the network device through the second IGP A link from a neighbor to the first IGP neighbor, where the second IGP neighbor is an IGP neighbor other than the first IGP neighbor among the plurality of IGP neighbors; the processing module is also used to restore the first link and Before the label distribution protocol LDP of the first link converges, the network device adjusts the link overhead value on the first link to the first link overhead threshold, so as to prevent the transmission of the service data from the second link Switch to the first link.

结合第二方面,在第二方面的某些实现方式中,该处理模块还用于为该网络设备到该IGP邻居中的每个IGP邻居分配链路开销值。With reference to the second aspect, in some implementation manners of the second aspect, the processing module is further configured to assign a link cost value to each IGP neighbor among the IGP neighbors from the network device.

结合第二方面,在第二方面的某些实现方式中,该处理模块具体用于:该网络设备为该多个IGP邻居中的每个IGP邻居分配不同的链路开销值。With reference to the second aspect, in some implementation manners of the second aspect, the processing module is specifically configured to: the network device allocates a different link cost value to each of the multiple IGP neighbors.

结合第二方面,在第二方面的某些实现方式中,该处理模块具体用于:网络设备将该第一链路上的链路开销值调整为最大值。With reference to the second aspect, in some implementation manners of the second aspect, the processing module is specifically configured to: the network device adjusts the link overhead value on the first link to a maximum value.

结合第二方面,在第二方面的某些实现方式中,该处理模块还用于将该第一链路上的链路开销值调整为第二链路开销阈值;将该业务数据的传输由该第二链路切换至该第一链路;其中,该第二链路开销阈值小于该第一链路开销阈值。With reference to the second aspect, in some implementations of the second aspect, the processing module is further configured to adjust the link overhead value on the first link to a second link overhead threshold; The second link is switched to the first link; wherein, the second link overhead threshold is smaller than the first link overhead threshold.

结合第二方面,在第二方面的某些实现方式中,该网络设备为基站侧网关设备,该多个IGP邻居为多个业务汇聚网关设备。With reference to the second aspect, in some implementation manners of the second aspect, the network device is a base station side gateway device, and the multiple IGP neighbors are multiple service aggregation gateway devices.

本申请实施实例的切换业务的网络设备,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的对应关系,有助于防止LDP收敛之前业务数据提前切回,从而防止业务丢包。The network device for switching services in the implementation example of this application, when there are multiple IGP neighbors under the same interface of the network device, by changing the corresponding relationship between the link overhead value and the interface, it helps to prevent the service data from being switched back in advance before LDP converges. , so as to prevent service packet loss.

第三方面,提供了一种网络设备,该网络设备包括存储器和处理器,该存储器用于存储指令,该处理器用于调用该存储器中的指令,以进行上述第一方面或第一方面的任一种可能的实现方式中的方法中的操作。In a third aspect, a network device is provided. The network device includes a memory and a processor, the memory is used to store instructions, and the processor is used to call the instructions in the memory to perform any of the above-mentioned first aspect or the first aspect. Operations in methods in one possible implementation.

第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一种可能的实现方式中的方法。In a fourth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium. When the computer-readable storage medium is run on a computer, the computer can execute any one of the above-mentioned first aspect or the first aspect. method in the implementation of .

第五方面,提供了一种系统芯片,该系统芯片包括输入输出接口、至少一个处理器、至少一个存储器和总线,该至少一个存储器用于存储指令,该至少一个处理器用于调用该至少一个存储器的指令,以进行上述第一方面或第一方面的任一种可能的实现方式中的方法中的操作。In a fifth aspect, a system chip is provided, the system chip includes an input and output interface, at least one processor, at least one memory and a bus, the at least one memory is used to store instructions, and the at least one processor is used to call the at least one memory instructions, so as to perform operations in the method in the above first aspect or any possible implementation manner of the first aspect.

附图说明Description of drawings

图1是本申请实施例的技术方案的一种应用场景。Fig. 1 is an application scenario of the technical solution of the embodiment of the present application.

图2是本申请实施例的切换业务的方法的示意性流程图。Fig. 2 is a schematic flowchart of a method for switching services according to an embodiment of the present application.

图3是本申请实施例的网络设备的示意性框图。Fig. 3 is a schematic block diagram of a network device according to an embodiment of the present application.

图4是本申请实施例的网络设备的另一示意性框图。Fig. 4 is another schematic block diagram of a network device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.

图1示出了本申请实施例的技术方案的一种应用场景,如图1所示,业务汇聚网关设备与基站侧网关设备之间穿过二层网络L2Network(实际是另一个运营商的虚拟专用局域网业务(Virtual Private LAN Service,VPLS)),受限于这个运营商提供的一个虚拟交换实例(Virtual Switch Instance,VSI)和虚拟局域网(Virtual Local Area Network,VLAN),基站侧网关设备与第一业务汇聚网关设备ASG1、第二业务汇聚网关设备ASG2逻辑直连在相同的网段,即基站侧网关设备的一个子接口与两个邻居建立中间系统到中间系统(Intermediate System to Intermediate System,ISIS)邻居,当ASG1与ASG2无法通过二层网络互通(运营商的VPLS网络做隔离)。Figure 1 shows an application scenario of the technical solution of the embodiment of the present application. As shown in Figure 1, the service aggregation gateway device and the base station side gateway device pass through the two-layer network L2Network (actually another operator's virtual Private LAN service (Virtual Private LAN Service, VPLS)) is limited to a virtual switching instance (Virtual Switch Instance, VSI) and virtual local area network (Virtual Local Area Network, VLAN) provided by this operator, and the base station side gateway device and the first A service aggregation gateway device ASG1 and a second service aggregation gateway device ASG2 are logically directly connected to the same network segment, that is, a sub-interface of the gateway device on the base station side establishes an Intermediate System to Intermediate System (ISIS) with two neighbors. ) neighbors, when ASG1 and ASG2 cannot communicate through the Layer 2 network (the operator's VPLS network is used for isolation).

如图1所示,基站侧网关设备通过二层网络后一个子接口(Eth-trunk 1)存在两个IGP邻居,ASG1与ASG2通过接口(Eth-trunk 0)连接,基站侧网关设备会向ASG1和ASG2发送业务数据,路由反射器(Router Reflector,RR)提供了在边界网关协议(Border GatewayProtocol,BGP)中实现全网状态连接问题,路由反射器RR主要的作用是将ASG的BGP路由反射给无线侧网关设备(Radio Site Gateway,RSG)或将RSG的BGP路由反射给ASG,无线网络控制器(Radio Network Controller,RNC)主要用于保持无线传播的稳定性和无线连接的服务质量以及控制无线承载的建立、保持和释放。As shown in Figure 1, the base station gateway device has two IGP neighbors through a sub-interface (Eth-trunk 1) behind the Layer 2 network. ASG1 and ASG2 are connected through the interface (Eth-trunk 0), and the base station gateway device sends ASG1 To send business data with ASG2, the route reflector (Router Reflector, RR) provides a state-wide connection problem in the Border Gateway Protocol (Border Gateway Protocol, BGP). The main function of the route reflector RR is to reflect the BGP route of ASG to The radio side gateway device (Radio Site Gateway, RSG) may reflect the BGP route of the RSG to the ASG, and the radio network controller (Radio Network Controller, RNC) is mainly used to maintain the stability of radio propagation and the quality of service of the radio connection and control the radio Bearer establishment, maintenance and release.

图2示出了根据本申请实施例的切换业务的方法100的示意性流程图,该方法100可以由图1中的CSG执行,该网络设备的第一接口包括多个内部网关协议IGP邻居,该网络设备到该多个IGP邻居中的每个IGP邻居的链路对应一个链路开销值(Cost),如图2所示,该方法100包括:FIG. 2 shows a schematic flowchart of a method 100 for switching services according to an embodiment of the present application. The method 100 can be executed by the CSG in FIG. 1 , the first interface of the network device includes a plurality of interior gateway protocol IGP neighbors, The network device corresponds to a link overhead value (Cost) to the link of each IGP neighbor in the plurality of IGP neighbors, as shown in Figure 2, the method 100 includes:

S110,第一链路发生故障时,该网络设备将业务数据的传输由该第一链路切换至第二链路,该第一链路为该网络设备到该多个IGP邻居中的第一IGP邻居的链路,该第二链路为该网络设备通过第二IGP邻居到该第一IGP邻居的链路,该第二IGP邻居为该多个IGP邻居中除该第一IGP邻居之外的IGP邻居;S110. When the first link fails, the network device switches the transmission of service data from the first link to the second link, where the first link is the first link between the network device and the plurality of IGP neighbors. A link of an IGP neighbor, where the second link is a link from the network device to the first IGP neighbor through a second IGP neighbor, where the second IGP neighbor is one of the multiple IGP neighbors except the first IGP neighbor IGP neighbors;

S120,该第一链路恢复且在该第一链路的标签分发协议LDP收敛之前,该网络设备将该第一链路上的链路开销值调整为第一链路开销阈值,以阻止该业务数据的传输从该第二链路切换至该第一链路。S120. Before the first link recovers and before the label distribution protocol LDP of the first link converges, the network device adjusts the link overhead value on the first link to the first link overhead threshold, so as to prevent the The transmission of service data is switched from the second link to the first link.

具体而言,该网络设备的一个子接口下存在多个IGP邻居,该多个IGP邻居包括第一IGP邻居和第二IGP邻居,该网络设备到该多个IGP邻居中的每个IGP邻居的链路对应一个链路开销值,该网络设备到第一IGP邻居的链路为第一链路,该网络设备通过第二IGP邻居到该第一IGP邻居的链路为第二链路,该第二IGP邻居为该多个IGP邻居中除该第一IGP邻居之外的IGP邻居。当第一链路发送故障时,该网络设备将业务数据的传输由该第一链路切换至该第二链路;当第一链路恢复且该第一链路的LDP收敛之前,该网络设备将该第一链路上的线路开销值调整为第一链路开销值,从而阻止业务数据在LDP收敛之前切换至该第一链路上进行传输。Specifically, there are multiple IGP neighbors under one sub-interface of the network device, the multiple IGP neighbors include a first IGP neighbor and a second IGP neighbor, and the network device connects to each IGP neighbor in the multiple IGP neighbors The link corresponds to a link cost value, the link from the network device to the first IGP neighbor is the first link, the link from the network device to the first IGP neighbor through the second IGP neighbor is the second link, the The second IGP neighbor is an IGP neighbor in the multiple IGP neighbors except the first IGP neighbor. When the first link fails, the network device switches the transmission of service data from the first link to the second link; when the first link recovers and before the LDP of the first link converges, the network The device adjusts the line overhead value on the first link to the first link overhead value, thereby preventing service data from being switched to the first link for transmission before the LDP converges.

可选地,该第一链路开销值为链路开销最大值。Optionally, the first link overhead value is the maximum link overhead value.

可选地,该最大值为65535。Optionally, the maximum value is 65535.

例如,如图1所示,当CSG与ASG1发生故障时,CSG与ASG1之间的IGP-LDP可收敛为CSG-ASG2-ASG1;故障恢复时,IGP邻居先恢复,但LDP还没有完全收敛,这是如果不部署IGP-LDP联动,业务会被立即切回,由于LDP没有完全收敛,隧道没有建立成功,会导致业务丢包;部署了IGP-LDP联动,使LDP收敛之前在CSG-ASG1上发布最大的链路开销值,在LDP收敛后IGP才发布正常的链路开销值,保证在LDP收敛后业务才切回至CSG-ASG1链路上,从而防止业务丢包。For example, as shown in Figure 1, when CSG and ASG1 fail, the IGP-LDP between CSG and ASG1 can converge to CSG-ASG2-ASG1; when the fault recovers, the IGP neighbor recovers first, but the LDP has not yet fully converged. This is because if IGP-LDP linkage is not deployed, the service will be switched back immediately. Since LDP is not fully converged, the tunnel will not be established successfully, resulting in service packet loss; IGP-LDP linkage is deployed to make LDP converge on CSG-ASG1 Publish the maximum link overhead value. IGP releases the normal link overhead value after LDP converges to ensure that services are switched back to the CSG-ASG1 link only after LDP converges, thereby preventing service packet loss.

应理解,现有技术中IGP-LDP联动主要应用在基CSG跟多个ASG的邻居建立在不同的接口下是没有问题的,但是在一些场景下(澳洲(Vodafone Hutchison Australia,VHA)局点),由于CSG与ASG1和ASG2的邻居出接口是同一接口,即在CSG的通一个接口下由两个IGP邻居,由于CSG与ASG2的邻居从来都没有断过,所以不会将链路开销值调成最大,从而导致IGP和LDP联动失效,在CSG和ASG1的ISIS邻居起来并且IGP收敛后,业务会立即切换至CSG-ASG1上,但这时由于LDP还没有完全收敛,会导致业务丢包。It should be understood that in the prior art, IGP-LDP linkage is mainly applied when the base CSG and neighbors of multiple ASGs are established on different interfaces. However, in some scenarios (Vodafone Hutchison Australia, VHA) , because the outbound interface of the neighbors of CSG and ASG1 and ASG2 is the same interface, that is, there are two IGP neighbors under the same interface of CSG. Since the neighbors of CSG and ASG2 have never been disconnected, the link cost value will not be adjusted. As a result, the linkage between IGP and LDP fails. After the ISIS neighbors of CSG and ASG1 become neighbors and the IGP converges, the service will be switched to CSG-ASG1 immediately. However, because LDP has not fully converged at this time, service packets will be lost.

造成上述业务丢包的问题主要是因为接口下的IGP链路开销值对应于一个接口,即链路开销值的对应关系为<interface,cost>,本申请实施例中,该网络设备的第一接口包括多个内部网关协议IGP邻居,该网络设备到该多个IGP邻居中的每个IGP邻居的链路具有链路开销值(Cost),即链路开销值的对应关系变为<interface,igp peer,cost>。The above-mentioned problem of service packet loss is mainly because the IGP link cost value under the interface corresponds to an interface, that is, the corresponding relationship of the link cost value is <interface, cost>. In the embodiment of this application, the first The interface includes a plurality of interior gateway protocol IGP neighbors, and the link from the network device to each IGP neighbor in the plurality of IGP neighbors has a link cost value (Cost), that is, the corresponding relationship of the link cost value becomes <interface, igp peer, cost>.

本申请实施例的切换业务的方法,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的一一对应关系,将<interface,cost>扩展为<interface,igp peer,cost>的三维结构,解决了一个接口下存在多个邻居时,主链路故障恢复后IGP-LDP联动失效导致业务丢包的问题,更便于网络的规划和灵活部署。In the method for switching services in the embodiment of the present application, when there are multiple IGP neighbors under the same interface of the network device, by changing the one-to-one correspondence between the link cost value and the interface, the <interface, cost> is extended to <interface, The three-dimensional structure of igp peer, cost> solves the problem of service packet loss caused by IGP-LDP linkage failure after the main link fails when there are multiple neighbors under one interface, which is more convenient for network planning and flexible deployment.

可选地,如图2所示,该方法100还包括:Optionally, as shown in FIG. 2, the method 100 also includes:

S101,该网络设备为该网络设备到该IGP邻居中的每个IGP邻居分配链路开销值。S101. The network device assigns a link cost value to each IGP neighbor in the IGP neighbor from the network device.

具体而言,在该第一链路发生故障之前,网络设备为同一接口下的多个IGP邻居分配链路开销值,该链路开销值可以统一配置,也可以分开配置。统一配置时,该网络设备到每个IGP邻居的链路开销值都相同;分开配置时,到每个IGP邻居可以对应不同的链路开销值。Specifically, before the first link fails, the network device allocates link cost values to multiple IGP neighbors under the same interface, and the link cost values can be configured uniformly or separately. When configured uniformly, the network device has the same link cost to each IGP neighbor; when configured separately, each IGP neighbor can correspond to a different link cost.

例如,CSG为CSG-ASG1和CSG-ASG2配置的初始链路开销值均为100,或者,CSG为CSG-ASG1配置的初始链路开销值为50,为CSG-ASG2配置的初始链路开销值为100。For example, CSG configures both CSG-ASG1 and CSG-ASG2 with an initial link cost of 100, or, CSG configures an initial link cost of 50 for CSG-ASG1 and an initial link cost of CSG-ASG2 for 100.

应理解,上述方法以CSG的同一个接口包括2个IGP邻居为例进行了说明,该接口还可以存在3个或3个以上的IGP邻居,本申请并不限于此。It should be understood that the above method is described by taking the same interface of the CSG including 2 IGP neighbors as an example, and there may be 3 or more IGP neighbors on the interface, and the present application is not limited thereto.

具体而言,若,CSG为CSG-ASG1和CSG-ASG2配置的初始链路开销值均为100,当CSG-ASG1发生故障时,业务数据的传输从CSG-ASG1切换至CSG-ASG2-ASG1;当CSG-ASG1故障恢复时,CSG-ASG1进入IGP-LDP联动,在LDP收敛之前,CSG在CSG到ASG1的链路上发布最大的链路开销值,CSG-ASG2的链路开销值保持不变,从而阻止业务数据的传输从CSG-ASG2-ASG1切换至CSG-ASG1,从而防止业务丢包和基站掉站。Specifically, if CSG configures both CSG-ASG1 and CSG-ASG2 with an initial link overhead value of 100, when CSG-ASG1 fails, the transmission of service data is switched from CSG-ASG1 to CSG-ASG2-ASG1; When the fault of CSG-ASG1 recovers, CSG-ASG1 enters IGP-LDP linkage. Before LDP converges, CSG advertises the maximum link cost value on the link from CSG to ASG1, and the link cost value of CSG-ASG2 remains unchanged. , so as to prevent the transmission of service data from switching from CSG-ASG2-ASG1 to CSG-ASG1, thereby preventing service packet loss and base station drop.

可选地,该第一链路的标签分发协议LDP收敛之后,该方法还包括:Optionally, after the label distribution protocol LDP of the first link converges, the method further includes:

该网络设备将该第一链路上的链路开销值调整为第二链路开销阈值;The network device adjusts the link overhead value on the first link to a second link overhead threshold;

该网络设备将该业务数据的传输由该第二链路切换至该第一链路;switching the transmission of the service data from the second link to the first link by the network device;

其中,该第二链路开销阈值小于该第一链路开销阈值。Wherein, the second link overhead threshold is smaller than the first link overhead threshold.

具体而言,在第一链路的故障恢复且LDP收敛之后,CSG将CSG-ASG1的链路开销值调整回正常值(100),业务数据的传输从CSG-ASG2-ASG1切换至CSG-ASG1,从而做到回切不丢包。Specifically, after the failure of the first link recovers and LDP converges, CSG adjusts the link overhead value of CSG-ASG1 back to the normal value (100), and the transmission of service data is switched from CSG-ASG2-ASG1 to CSG-ASG1 , so that the switchback does not lose packets.

本申请实施实例的切换业务的方法,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的对应关系,有助于防止LDP收敛之前业务数据提前切回,从而防止业务丢包。This application implements the method of switching services in the example. When there are multiple IGP neighbors under the same interface of the network device, by changing the corresponding relationship between the link overhead value and the interface, it helps to prevent the service data from being switched back in advance before LDP converges. In this way, service packet loss is prevented.

上文结合图1和图2,详细得描述了根据本申请实施例的切换业务的方法,下面结合图3和图4,详细得描述根据本申请实施例的网络设备。The method for switching services according to the embodiment of the present application is described in detail above in conjunction with FIG. 1 and FIG. 2 . The network device according to the embodiment of the present application is described in detail below in conjunction with FIG. 3 and FIG. 4 .

图3示出了根据本申请实施例的网络设备200的示意性框图,如图3所示,该网络设备的第一接口包括多个内部网关协议IGP邻居,该网络设备到该多个IGP邻居中的每个IGP邻居的链路具有链路开销值,该网络设备200包括:Fig. 3 shows a schematic block diagram of a network device 200 according to an embodiment of the present application. As shown in Fig. 3 , the first interface of the network device includes a plurality of interior gateway protocol IGP neighbors, and the network device connects to the plurality of IGP neighbors The link of each IGP neighbor in has a link cost value, and the network device 200 includes:

收发模块210,用于在第一链路上向第一IGP邻居发送业务数据,该第一链路为该网络设备到该多个IGP邻居中的第一IGP邻居的链路;A transceiver module 210, configured to send service data to a first IGP neighbor on a first link, where the first link is a link from the network device to a first IGP neighbor among the plurality of IGP neighbors;

处理模块220,用于在该第一链路发生故障时,该网络设备将业务数据的传输由该第一链路切换至第二链路,该第二链路为该网络设备通过第二IGP邻居到该第一IGP邻居的链路,该第二IGP邻居为该多个IGP邻居中除该第一IGP邻居之外的IGP邻居;The processing module 220 is configured to switch the transmission of service data from the first link to a second link by the network device when the first link fails, and the second link is for the network device through the second IGP A link from a neighbor to the first IGP neighbor, where the second IGP neighbor is an IGP neighbor other than the first IGP neighbor among the plurality of IGP neighbors;

该处理模块220还用于在该第一链路恢复且在该第一链路的标签分发协议LDP收敛之前,该网络设备将该第一链路上的链路开销值调整为第一链路开销阈值,以阻止该业务数据的传输从该第二链路切换至该第一链路。The processing module 220 is further configured to, before the first link recovers and before the label distribution protocol LDP of the first link converges, the network device adjusts the link overhead value on the first link to the first link The overhead threshold is used to prevent the transmission of the service data from being switched from the second link to the first link.

可选地,该处理模块220还用于为该网络设备到该IGP邻居中的每个IGP邻居分配链路开销值。Optionally, the processing module 220 is further configured to assign a link overhead value from the network device to each IGP neighbor in the IGP neighbor.

可选地,该处理模块220具体用于:Optionally, the processing module 220 is specifically configured to:

该网络设备为该多个IGP邻居中的每个IGP邻居分配不同的链路开销值。The network device allocates a different link cost value to each of the multiple IGP neighbors.

可选地,该处理模块220具体用于:Optionally, the processing module 220 is specifically configured to:

网络设备将该第一链路上的链路开销值调整为最大值。The network device adjusts the link overhead value on the first link to the maximum value.

可选地,该处理模块220还用于将该第一链路上的链路开销值调整为第二链路开销阈值;Optionally, the processing module 220 is further configured to adjust the link overhead value on the first link to a second link overhead threshold;

将该业务数据的传输由该第二链路切换至该第一链路;switching the transmission of the business data from the second link to the first link;

其中,该第二链路开销阈值小于该第一链路开销阈值。Wherein, the second link overhead threshold is smaller than the first link overhead threshold.

可选地,该网络设备为基站侧网关设备,该多个IGP邻居为多个业务汇聚网关设备。Optionally, the network device is a base station side gateway device, and the multiple IGP neighbors are multiple service aggregation gateway devices.

本申请实施实例的切换业务的网络设备,在网络设备的同一个接口下存在多个IGP邻居时,通过改变链路开销值与接口的对应关系,有助于防止LDP收敛之前业务数据提前切回,从而防止业务丢包。The network device for switching services in the implementation example of this application, when there are multiple IGP neighbors under the same interface of the network device, by changing the corresponding relationship between the link overhead value and the interface, it helps to prevent the service data from being switched back in advance before LDP converges. , so as to prevent service packet loss.

图4是根据本申请实施例的网络设备300的结构示意图。如图4所示,该网络设备300包括处理器301、存储器302、接收器303和发送器304。这些部件之间通信连接。该存储器302用于存储指令,该处理器301用于执行该存储器302存储的指令,并控制该接收器303接收信息以及控制该发送器304发送信息。Fig. 4 is a schematic structural diagram of a network device 300 according to an embodiment of the present application. As shown in FIG. 4 , the network device 300 includes a processor 301 , a memory 302 , a receiver 303 and a transmitter 304 . Communication links between these components. The memory 302 is used to store instructions, and the processor 301 is used to execute the instructions stored in the memory 302, and control the receiver 303 to receive information and the transmitter 304 to send information.

其中,该处理器301用于执行该存储器302存储的指令,该处理器301可以用于执行网络设备200中处理模块220相应的操作和/或功能,该接收器303和发送器304可以用于执行网络设备200中收发模块210相应的操作和/或功能,为了简洁,此处不再赘述。Wherein, the processor 301 is used to execute the instructions stored in the memory 302, the processor 301 can be used to perform corresponding operations and/or functions of the processing module 220 in the network device 200, and the receiver 303 and the transmitter 304 can be used for Execute corresponding operations and/or functions of the transceiver module 210 in the network device 200 , for the sake of brevity, details are not described here.

本申请实施例还提供了一种系统芯片,该系统芯片包括输入输出接口、至少一个处理器、至少一个存储器和总线,该至少一个存储器用于存储指令,该至少一个处理器用于调用该至少一个存储器的指令,以进行上述各个方面的方法的操作。The embodiment of the present application also provides a system chip, the system chip includes input and output interfaces, at least one processor, at least one memory and a bus, the at least one memory is used to store instructions, and the at least one processor is used to call the at least one Instructions of the memory to perform the operations of the methods of the various aspects described above.

在本申请实施例中,应注意,本申请实施例上述的方法实施例可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。In the embodiment of the present application, it should be noted that the foregoing method embodiments in the embodiment of the present application may be applied to or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method embodiments may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable Logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.

可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) And direct memory bus random access memory (DirectRambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.

另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are often used herein interchangeably. The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.

应理解,在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。It should be understood that in this embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B may also be determined according to A and/or other information.

上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品可以包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁盘)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product may comprise one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic disk), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)).

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (11)

  1. A kind of 1. method of service switchover, it is characterised in that methods described is performed by the network equipment, and the first of the network equipment Interface includes multiple Interior Gateway Protocol IGP neighbours, each IGP neighbours in the network equipment to the multiple IGP neighbours Link pair answer a link cost value, methods described includes:
    When first link breaks down, the network equipment is by the transmission of business datum by first link switching to the second chain Road, first link be the network equipment to the first IGP neighbours in the multiple IGP neighbours link, described second Link is link of the network equipment by the 2nd IGP neighbours to the first IGP neighbours, and the 2nd IGP neighbours are institute State the IGP neighbours in addition to the first IGP neighbours in multiple IGP neighbours;
    First link-recovery and before the tag distribution protocol LDP convergences of first link, the network equipment will Link cost value on first link is adjusted to the first link overhead threshold value, to prevent the transmission of the business datum from institute The second link switching is stated to first link.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    The network equipment is that each IGP neighbours in the network equipment to the IGP neighbours distribute link cost value.
  3. 3. according to the method for claim 1, it is characterised in that the network equipment is every in the multiple IGP neighbours Individual IGP neighbours distribute link cost value, including:
    The network equipment is that each IGP neighbours in the multiple IGP neighbours distribute different link cost values.
  4. 4. according to the method in any one of claims 1 to 3, it is characterised in that the network equipment is by first chain Link cost value on road is adjusted to the first link overhead threshold value, including:
    Link cost value on first link is adjusted to maximum by the network equipment.
  5. 5. method according to any one of claim 1 to 4, it is characterised in that the label distribution association of first link After discussing LDP convergences, methods described also includes:
    Link cost value on first link is adjusted to the second link overhead threshold value by the network equipment;
    The network equipment is by the transmission of the business datum by second link switching to first link;
    Wherein, the second link overhead threshold value is less than the first link overhead threshold value.
  6. 6. a kind of network equipment, it is characterised in that it is adjacent that the first interface of the network equipment includes multiple Interior Gateway Protocol IGP Occupy, the link pair of each IGP neighbours in the network equipment to the multiple IGP neighbours answers a link cost value, described The network equipment includes:
    Transceiver module, for sending business datum to the first IGP neighbours on the first link, first link is the network Link of the equipment to the first IGP neighbours in the multiple IGP neighbours;
    Processing module, for when first link breaks down, the network equipment to be by the transmission of business datum by described First link switching to the second link, second link are that the network equipment passes through the 2nd IGP neighbours to the first IGP The link of neighbours, the 2nd IGP neighbours are the IGP neighbours in addition to the first IGP neighbours in the multiple IGP neighbours;
    The processing module is additionally operable to restrain in first link-recovery and in the tag distribution protocol LDP of first link Before, the link cost value on first link is adjusted to the first link overhead threshold value by the network equipment, to prevent The transmission of business datum is stated from second link switching to first link.
  7. 7. the network equipment according to claim 6, it is characterised in that the processing module is additionally operable to as the network equipment Each IGP neighbours into the IGP neighbours distribute link cost value.
  8. 8. the network equipment according to claim 7, it is characterised in that the processing module is specifically used for:
    The network equipment is that each IGP neighbours in the multiple IGP neighbours distribute different link cost values.
  9. 9. the network equipment according to any one of claim 6 to 8, it is characterised in that the processing module is specifically used for:
    Link cost value on first link is adjusted to maximum by the network equipment.
  10. 10. the network equipment according to any one of claim 6 to 9, it is characterised in that the processing module be additionally operable to by Link cost value on first link is adjusted to the second link overhead threshold value;
    By the transmission of the business datum by second link switching to first link;
    Wherein, the second link overhead threshold value is less than the first link overhead threshold value.
  11. 11. the network equipment according to any one of claim 6 to 10, it is characterised in that the network equipment is base station Side gateway device, the multiple IGP neighbours are multiple service convergence gateway devices.
CN201710890635.7A 2017-09-27 2017-09-27 A kind of method of service switchover, the network equipment Pending CN107819680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710890635.7A CN107819680A (en) 2017-09-27 2017-09-27 A kind of method of service switchover, the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710890635.7A CN107819680A (en) 2017-09-27 2017-09-27 A kind of method of service switchover, the network equipment

Publications (1)

Publication Number Publication Date
CN107819680A true CN107819680A (en) 2018-03-20

Family

ID=61607262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710890635.7A Pending CN107819680A (en) 2017-09-27 2017-09-27 A kind of method of service switchover, the network equipment

Country Status (1)

Country Link
CN (1) CN107819680A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629386A (en) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 Communication method, system and equipment
CN114039859A (en) * 2021-11-03 2022-02-11 中盈优创资讯科技有限公司 STN network equipment link changing method and device
WO2023184269A1 (en) * 2022-03-30 2023-10-05 新华三技术有限公司 Path switching method and apparatus, device, and machine readable storage medium
CN117435404A (en) * 2023-12-21 2024-01-23 成都云祺科技有限公司 Processing method, system and data recovery method for permanent incremental backup data storage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030193898A1 (en) * 2002-04-15 2003-10-16 Wong Vincent Chi Chiu Method and apparatus for selecting maximally disjoint shortest paths in a network
CN102664809A (en) * 2012-04-28 2012-09-12 杭州华三通信技术有限公司 Method for implementing Internet gateway protocol (IGP) and label distribution protocol (LDP) synchronization in broadcast network
CN103416028A (en) * 2011-03-09 2013-11-27 华为技术有限公司 System and method for advertising a composite link in interior gateway protocol and/or interior gateway protocol-traffic engineering
CN103595641A (en) * 2013-11-06 2014-02-19 杭州华三通信技术有限公司 Device and method for synchronizing label distribution protocol and inner gateway protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030193898A1 (en) * 2002-04-15 2003-10-16 Wong Vincent Chi Chiu Method and apparatus for selecting maximally disjoint shortest paths in a network
CN103416028A (en) * 2011-03-09 2013-11-27 华为技术有限公司 System and method for advertising a composite link in interior gateway protocol and/or interior gateway protocol-traffic engineering
CN102664809A (en) * 2012-04-28 2012-09-12 杭州华三通信技术有限公司 Method for implementing Internet gateway protocol (IGP) and label distribution protocol (LDP) synchronization in broadcast network
CN103595641A (en) * 2013-11-06 2014-02-19 杭州华三通信技术有限公司 Device and method for synchronizing label distribution protocol and inner gateway protocol

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629386A (en) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 Communication method, system and equipment
CN114039859A (en) * 2021-11-03 2022-02-11 中盈优创资讯科技有限公司 STN network equipment link changing method and device
CN114039859B (en) * 2021-11-03 2023-05-30 中盈优创资讯科技有限公司 STN network equipment chain ring changing method and device
WO2023184269A1 (en) * 2022-03-30 2023-10-05 新华三技术有限公司 Path switching method and apparatus, device, and machine readable storage medium
CN117435404A (en) * 2023-12-21 2024-01-23 成都云祺科技有限公司 Processing method, system and data recovery method for permanent incremental backup data storage
CN117435404B (en) * 2023-12-21 2024-05-28 成都云祺科技有限公司 Processing method, system and data recovery method for permanent incremental backup data storage

Similar Documents

Publication Publication Date Title
US10686749B2 (en) Packet sending method and network device
CN106899430B (en) Traffic forwarding processing method and device
US20170085462A1 (en) Network Control Method and Apparatus
CN109660442B (en) Method and device for multicast replication in Overlay network
EP3454510B1 (en) Message forwarding method and apparatus
WO2016015497A1 (en) Method, device and system for forwarding packet
CN101860492A (en) Method, device and system for fast switching
CN102970231B (en) Multicast data flow forwards implementation method and route-bridge(RB)
CN107819680A (en) A kind of method of service switchover, the network equipment
CN102984014A (en) Data transmission method and network system
WO2017186122A1 (en) Traffic scheduling
CN111130893A (en) A message transmission method and device
CN108206759A (en) A kind of method to E-Packet, equipment and system
CN109005030A (en) The guard method and system of key business in a kind of quantum network
CN108243114A (en) A kind of method to E-Packet, equipment and system
CN103490921B (en) Network protection method, device, lower link point and system
CN108173757B (en) Port state setting method and device
CN102769561A (en) Method and system for reducing packet loss in service protection scheme
WO2021098806A1 (en) Message transmission path switching method, device and system
KR102449665B1 (en) Method and apparatus for transmitting data over a wireless backhaul network
CN108833272B (en) Route management method and device
CN103873339B (en) The distribution method and device of a kind of virtual gateway router
CN101854567B (en) Data transmission method and device of optical transmission layer
CN107547347B (en) VNI-based path adjustment method and device
CN103297259B (en) The guard method of point-to-multipoint multicast service and device

Legal Events

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

Application publication date: 20180320

RJ01 Rejection of invention patent application after publication