CN110661703A - Method and device for realizing fast rerouting - Google Patents
Method and device for realizing fast rerouting Download PDFInfo
- Publication number
- CN110661703A CN110661703A CN201810702760.5A CN201810702760A CN110661703A CN 110661703 A CN110661703 A CN 110661703A CN 201810702760 A CN201810702760 A CN 201810702760A CN 110661703 A CN110661703 A CN 110661703A
- Authority
- CN
- China
- Prior art keywords
- links
- primary
- backup
- path
- static routing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000003068 static effect Effects 0.000 claims abstract description 93
- 230000005540 biological transmission Effects 0.000 claims abstract description 36
- 238000001514 detection method Methods 0.000 claims description 13
- 238000011144 upstream manufacturing Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 description 17
- 238000013461 design Methods 0.000 description 16
- 238000004590 computer program Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000000875 corresponding effect Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 208000032369 Primary transmission Diseases 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/34—Modification of an existing route
- H04W40/36—Modification of an existing route due to handover
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供了一种实现快速重路由的方法和装置,在业务流关联的静态路由组中正常链路的数据小于预设数量时,将静态路由组上分段的业务流切换到备份链路上,避免在主路径内部进行业务流的切换导致的数据包的丢失,提高数据传输的可靠性。
The present application provides a method and device for implementing fast rerouting. When the data of the normal link in the static routing group associated with the service flow is less than the preset number, the segmented service flow on the static routing group is switched to the backup link. On the other hand, the loss of data packets caused by the switching of service flows in the main path is avoided, and the reliability of data transmission is improved.
Description
技术领域technical field
本发明实施例涉及通信领域,尤其设计一种实现快速重路由的方法和装置。Embodiments of the present invention relate to the field of communications, and in particular, design a method and apparatus for implementing fast rerouting.
背景技术Background technique
长期演进(long term evolution,LTE)网络通过PTN(packet transportnetwork,PTN)承载网技术实现基站和演进核心网(evolved packet core,EPC)设备之间的通信,例如:参见图1所示,在EPC设备不支持链路捆绑组的情况下,网络层虚拟专用网(L3VPN)中的边缘路由器(provider edge router,PE)节点和演进核心网(evolved packetcore,EPC)采用静态路由方式实现上下行业务控制转发,PTN3和EPC之间,以及PTN4和EPC之间通常存在多链路,通过部署多条静态路由实现业务分担。PTN3和PTN4之间的FRR保护关系由一条低优先级保护静态路由实现,EPC内部的FRR保护关系也是通过内部低优先级静态路由实现。PTN3和EPC所在的路径为主路径,PTN4和EPC所在的路径为备用路径,在没有切换到备用路径之前,如果业务流占用的主链路中的一个或多个链路中发送故障且仍然存在正常状态的主链路时,会将故障链路上的业务数据切换到空闲的链路上,但是空闲的链路的带宽可能不足以承担切换过来的业务数据,这样会导致业务流的数据包发生丢失。A long term evolution (LTE) network implements communication between a base station and an evolved packet core (EPC) device through a PTN (packet transport network, PTN) bearer network technology. For example, as shown in Figure 1, in the EPC When the device does not support link bundle groups, the provider edge router (PE) node in the network layer virtual private network (L3VPN) and the evolved packet core (EPC) use static routing to implement uplink and downlink service control. For forwarding, there are usually multiple links between PTN3 and EPC, as well as between PTN4 and EPC, and service sharing is realized by deploying multiple static routes. The FRR protection relationship between PTN3 and PTN4 is implemented by a low-priority protection static route, and the FRR protection relationship within the EPC is also implemented by an internal low-priority static route. The path where PTN3 and EPC are located is the primary path, and the path where PTN4 and EPC are located is the backup path. Before switching to the backup path, if one or more links in the primary link occupied by the service flow are faulty and still exist When the main link is in a normal state, the service data on the faulty link will be switched to the idle link, but the bandwidth of the idle link may not be enough to bear the switched service data, which will cause the data packets of the service flow. Loss occurs.
发明内容SUMMARY OF THE INVENTION
本申请所要解决的技术问题在于,提供一种实现快速重路由的方法,能提高数据传输的可靠性。The technical problem to be solved by this application is to provide a method for realizing fast rerouting, which can improve the reliability of data transmission.
第一方面,本申请提供一种实现快速重路由的方法,包括:检测静态路由组中各个主链路的状态,静态路由组包含N条主链路,N为大于1的整数;在静态路由组中正常链路的数量小于M的情况下,将静态路由组上分段的业务流切换到备份路径上,M与业务流的需求带宽和主链路的带宽有关,M为大于或等于1的整数。In a first aspect, the present application provides a method for implementing fast rerouting, including: detecting the status of each main link in a static routing group, where the static routing group includes N main links, and N is an integer greater than 1; When the number of normal links in the group is less than M, switch the segmented service flow on the static routing group to the backup path. M is related to the required bandwidth of the service flow and the bandwidth of the main link, and M is greater than or equal to 1 the integer.
实施本发明实施例,在业务流关联的静态路由组中正常链路的数据小于预设数量时,将静态路由组上分段的业务流切换到备份链路上,避免在主路径内部进行业务流的切换导致的数据包的丢失,提高数据传输的可靠性。By implementing the embodiment of the present invention, when the data of the normal link in the static routing group associated with the service flow is less than the preset number, the segmented service flow on the static routing group is switched to the backup link, so as to avoid performing services in the main path. The loss of data packets caused by the switching of streams improves the reliability of data transmission.
在一种可能的设计中,还包括:In one possible design, also include:
在承载所述业务流的主链路中一个或多个主链路发生故障,且所述静态路由组中正常链路的数量大于或等于M的情况下,将故障的主链路上分担的业务数据切换到静态路由去中空闲的主链路上。When one or more of the main links carrying the service flow are faulty, and the number of normal links in the static routing group is greater than or equal to M, share the faulty main links The service data is switched to the idle main link in the static route.
在一种可能的设计中,业务流为上行方向的业务流,在静态路由组中正常链路的数量小于M的情况下,将静态路由组上分担的业务流切换到备份路径上包括:In a possible design, the service flow is the service flow in the upstream direction. When the number of normal links in the static routing group is less than M, switching the service flow shared on the static routing group to the backup path includes:
在所述静态路由组中正常链路的数量小于M的情况下,主分组传输网设备通过中间路径将所述业务流切换到备份路径上。When the number of normal links in the static routing group is less than M, the primary packet transmission network device switches the service flow to the backup path through the intermediate path.
在一种可能的设计中,业务流为下行方向的业务流;In a possible design, the traffic flow is the traffic flow in the downstream direction;
在所述静态路由组中正常链路的数量小于M的情况下,将所述静态路由组上分段的业务流切换到备份路径上包括:When the number of normal links in the static routing group is less than M, switching the segmented service flow on the static routing group to the backup path includes:
在所述静态路由组中正常链路的数据小于M的情况下,核心网设备将所述业务流切换到所述备份路径上。When the data of the normal link in the static routing group is less than M, the core network device switches the service flow to the backup path.
在一种可能的设计中,所述检测静态路由组中各个主链路的状态之前,还包括:In a possible design, before the detecting the status of each main link in the static routing group, the method further includes:
配置所述静态路由组中配置的N条主链路,以及配置M的值。Configure the N primary links configured in the static routing group, and configure the value of M.
第二方面,本申请提供了一种实现快速重路由的方法,包括:In a second aspect, the present application provides a method for implementing fast rerouting, including:
检测主路径中各个主链路的状态;Detect the status of each main link in the main path;
在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上,M为大于或等于1的整数。In the case where the M primary links in the primary path are faulty, switch the service data shared on the M primary links to the M backup links associated with the M primary links in the backup path On the way, M is an integer greater than or equal to 1.
其中,主路径中没有发生故障的主链路上的业务数据仍然在主路径上传输。Among them, the service data on the main link that is not faulty in the main path is still transmitted on the main path.
实施本发明实施例,主路径和备份路径中预先配置有一对一的链路备份关系,在主路径中存在一条或多条主链路发生故障时,将故障的主链路上分担的业务数据立即切换到备份路径中关联的备份路径上,以提高业务数据传输的可靠性。Implementing the embodiment of the present invention, a one-to-one link backup relationship is preconfigured between the primary path and the backup path, and when one or more primary links in the primary path fail, the service data shared on the faulty primary link is Immediately switch to the backup path associated with the backup path to improve the reliability of service data transmission.
在一种可能的设计中,所述业务数据为下行方向的业务数据;In a possible design, the service data is service data in the downlink direction;
所述在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上包括:In the case where the M primary links in the primary path are faulty, switching the service data shared on the M primary links to the M primary links associated with the M primary links in the backup path The backup link includes:
在所述主路径中M条主链路发生故障的情况下,核心网设备在备份路径中确定与所述M条主链路关联的M条备份链路,核心网设备将所述M条主链路上分担的业务数据切换到M条备份路径上M条备份链路上。In the case where M primary links in the primary path fail, the core network device determines M backup links associated with the M primary links in the backup path, and the core network device assigns the M primary links to the backup path. The service data shared on the link is switched to the M backup links on the M backup paths.
在一种可能的设计中,所述业务数据为上行方向的业务数据;In a possible design, the service data is the service data in the uplink direction;
所述在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上包括:In the case where the M primary links in the primary path are faulty, switching the service data shared on the M primary links to the M primary links associated with the M primary links in the backup path The backup link includes:
在所述主路径中M条主链路发生故障的情况下,主分组传输网设备在备份路径中确定与所述M条主链路关联的M条备份链路,主分组传输网设备通过中间路径将所述M条主链路上分担的业务数据切换到所述M条备份链路上。In the case of failure of M primary links in the primary path, the primary packet transmission network device determines M backup links associated with the M primary links in the backup path, and the primary packet transmission network device passes the intermediate The path switches the service data shared on the M primary links to the M backup links.
在一种可能的设计中,还包括:In one possible design, also include:
配置主路径中的N条主链路和备份路径中的N条备份链路的绑定关系。Configure the binding relationship between N primary links in the primary path and N backup links in the backup path.
第三方面,本申请提供了一种实现快速重路由的装置,包括:In a third aspect, the present application provides a device for implementing fast rerouting, including:
检测单元,用于检测静态路由组中各个主链路的状态;其中,所述静态路由组包含N条主链路,N为大于1的整数;a detection unit, configured to detect the status of each main link in the static routing group; wherein, the static routing group includes N main links, and N is an integer greater than 1;
切换单元,用于在所述静态路由组中正常链路的数量小于M的情况下,将所述静态路由组上分担的业务流切换到备份路径上;其中,M与所述业务流的需求带宽和主链路的带宽有关,M为大于或等于1的整数。a switching unit, configured to switch the service flow shared on the static routing group to the backup path when the number of normal links in the static routing group is less than M; wherein M is the same as the requirement of the service flow The bandwidth is related to the bandwidth of the main link, and M is an integer greater than or equal to 1.
在一种可能的设计中,所述切换单元,还用于在承载所述业务流的主链路中一个或多个主链路发生故障,且所述静态路由组中正常链路的数量大于或等于M的情况下,将故障的主链路上分担的业务数据切换到所述静态路由组中空闲的主链路上。In a possible design, the switching unit is further configured to fail in one or more primary links in the primary link carrying the service flow, and the number of normal links in the static routing group is greater than If it is equal to or equal to M, the service data shared on the faulty main link is switched to the idle main link in the static routing group.
在一种可能的设计中,所述业务流为上行方向的业务流,所述装置为主分组传输网设备;In a possible design, the service flow is a service flow in an upstream direction, and the apparatus is a main packet transmission network device;
所述切换单元具体用于:The switching unit is specifically used for:
在所述静态路由组中正常链路的数量小于M的情况下,通过中间路径将所述业务流切换到备份路由上。When the number of normal links in the static routing group is less than M, the service flow is switched to a backup route through an intermediate path.
在一种可能的设计中,所述业务流为下行方向的业务流,所述装置为核心网设备。In a possible design, the service flow is a service flow in a downlink direction, and the apparatus is a core network device.
在一种可能的设计中,还包括:In one possible design, also include:
配置单元,用于配置所述业务流关联的N条主链路,以及配置所述M的值,M的值与业务流的带宽和每条主路径的带宽有关。A configuration unit, configured to configure N primary links associated with the service flow, and configure the value of M, where the value of M is related to the bandwidth of the service flow and the bandwidth of each primary path.
第四方面,本申请提供了一种实现快速重路由的装置,包括:In a fourth aspect, the present application provides a device for implementing fast rerouting, including:
检测单元,用于检测主路径中各个主链路的状态;The detection unit is used to detect the status of each main link in the main path;
切换单元,用于在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上,M为大于或等于1的整数。A switching unit, configured to switch the service data shared on the M primary links to a backup path to be associated with the M primary links in the event of failure of the M primary links in the primary path On the M backup links, M is an integer greater than or equal to 1.
在一种可能的设计中,所述业务数据为下行方向的业务数据,所述装置为核心网设备;In a possible design, the service data is service data in the downlink direction, and the device is core network equipment;
所述切换单元具体用于:The switching unit is specifically used for:
在所述主路径中M条主链路发生故障的情况下,在备份路径中确定与所述M条主链路关联的M条备份链路;In the case of failure of M primary links in the primary path, determining M backup links associated with the M primary links in the backup path;
所述核心网设备所述M条主链路上分担的业务数据切换到所述M条备份链路上。The service data shared on the M primary links of the core network device is switched to the M backup links.
在一种可能的设计中,所述业务数据为上行方向的业务数据,所述装置为主分组传输网设备;In a possible design, the service data is the service data in the uplink direction, and the apparatus is a main packet transmission network device;
所述切换单元具体用于:The switching unit is specifically used for:
在所述主路径中M条主链路发生故障的情况下,在备份路径中确定与所述M条主链路关联的M条备份链路;In the case of failure of M primary links in the primary path, determining M backup links associated with the M primary links in the backup path;
所述主分组传输网设备通过低优先级路由将M条主链路上承载的业务数据通过中间路径切换到转发给所述M条备份链路上。The primary packet transmission network device switches the service data carried on the M primary links to the M backup links through an intermediate path through a low-priority route.
在一种可能的设计中,还包括:In one possible design, also include:
配置单元,用于配置主路径中N条主链路和备份路径中N条备份链路的绑定关系。The configuration unit is used to configure the binding relationship between the N primary links in the primary path and the N backup links in the backup path.
本申请又一方面提供了一种装置,可以实现上述第一方面或第二方面中的实现快速重路由的方法。例如所述装置可以是芯片(如基带芯片,或通信芯片等)或者终端设备。可以通过软件、硬件、或者通过硬件执行相应的软件实现上述方法。Another aspect of the present application provides an apparatus, which can implement the method for implementing fast rerouting in the first aspect or the second aspect. For example, the apparatus may be a chip (such as a baseband chip, or a communication chip, etc.) or a terminal device. The above method can be implemented by software, hardware, or by hardware executing corresponding software.
在一种可能的实现方式中,所述装置的结构中包括处理器、存储器;所述处理器被配置为支持所述装置执行上述实现快速重路由的方法中相应的功能。存储器用于与处理器耦合,其保存所述装置必要的程序(指令)和/或数据。可选的,所述通信装置还可以包括通信接口用于支持所述装置与其他网元之间的通信。In a possible implementation manner, the structure of the apparatus includes a processor and a memory; the processor is configured to support the apparatus to perform the corresponding functions in the foregoing method for implementing fast rerouting. The memory is used for coupling with the processor, which holds the necessary programs (instructions) and/or data for the apparatus. Optionally, the communication apparatus may further include a communication interface for supporting communication between the apparatus and other network elements.
在另一种可能的实现方式中,所述装置,可以包括执行上述方法中相应动作的单元模块。In another possible implementation manner, the apparatus may include a unit module that performs the corresponding actions in the above method.
在又一种可能的实现方式中,包括处理器和收发装置,所述处理器与所述收发装置耦合,所述处理器用于执行计算机程序或指令,以控制所述收发装置进行信息的接收和发送;当所述处理器执行所述计算机程序或指令时,所述处理器还用于实现上述方法。其中,所述收发装置可以为收发器、收发电路或输入输出接口。当所述通信装置为芯片时,所述收发装置为收发电路或输入输出接口。In yet another possible implementation, it includes a processor and a transceiver, the processor is coupled to the transceiver, and the processor is configured to execute a computer program or instruction to control the transceiver to receive and transmit information. Send; when the processor executes the computer program or instructions, the processor is further configured to implement the above method. Wherein, the transceiver may be a transceiver, a transceiver circuit or an input/output interface. When the communication device is a chip, the transceiver device is a transceiver circuit or an input and output interface.
当所述通信装置为芯片时,发送单元可以是输出单元,比如输出电路或者通信接口;接收单元可以是输入单元,比如输入电路或者通信接口。当所述通信装置为网络设备时,发送单元可以是发射器或发射机;接收单元可以是接收器或接收机。When the communication device is a chip, the sending unit may be an output unit, such as an output circuit or a communication interface; the receiving unit may be an input unit, such as an input circuit or a communication interface. When the communication apparatus is a network device, the sending unit may be a transmitter or a transmitter; the receiving unit may be a receiver or a receiver.
本申请的又一方面提了供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the methods described in the above aspects.
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods of the above aspects.
附图说明Description of drawings
为了更清楚地说明本发明实施例或背景技术中的技术方案,下面将对本发明实施例或背景技术中所需要使用的附图进行说明。In order to more clearly describe the technical solutions in the embodiments of the present invention or the background technology, the accompanying drawings required in the embodiments or the background technology of the present invention will be described below.
图1是本发明实施例提供的一种通信系统的网络架构;1 is a network architecture of a communication system provided by an embodiment of the present invention;
图2是本发明实施例提供的一种实现快速重路由的方法的流程示意图;2 is a schematic flowchart of a method for implementing fast rerouting according to an embodiment of the present invention;
图3是本发明实施例的一种快速重路由的原理示意图;3 is a schematic diagram of a principle of fast rerouting according to an embodiment of the present invention;
图4是本发明实施例提供的一种快速重路由的方法的另一流程示意图;4 is another schematic flowchart of a method for fast rerouting provided by an embodiment of the present invention;
图5是本发明实施例的一种快速重路由的原理示意图;5 is a schematic diagram of a principle of fast rerouting according to an embodiment of the present invention;
图6是本发明实施例提供的一种装置的结构示意图;6 is a schematic structural diagram of a device provided by an embodiment of the present invention;
图7是本发明实施例提供的一种装置的另一结构示意图。FIG. 7 is another schematic structural diagram of an apparatus provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面结合本发明实施例中的附图对本发明实施例进行描述。The embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
图1为本发明实施例涉及的一种通信系统架构示意图,所述通信系统包括基站、分组传输网设备(packet transport network,PTN)1、分组传输网络设备2、分组传输网设备3、分组传输网设备4和核心网设备(evolved packet core,EPC)。EPC和PTN3之间的路径为主路径,EPC和PTN4之间的路径为备份路径,PTN3和PTN4之间的路径为中间路径,PTN3为主传输网设备,PTN4为备传输网设备。对于PTN4来说,主路径的优先级高于中间路径;对于EPC来说,主路径的优先级高于备份路径。主路径包括多条主链路,备份路径包括多条备份链路,主路径中主链路的数量等于备份路径中备份链路的数量,主路径中各个主链路的带宽相等,且备份路径中各个备份链路的带宽相等,同时主链路的带宽等于备份链路的带宽。在主路径为正常状态时,业务流只通过主路径来传输。FIG. 1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present invention. The communication system includes a base station, a packet transport network (PTN) 1, a packet transport network device 2, a packet transport network device 3, and a packet transport network device 3. A network device 4 and a core network device (evolved packet core, EPC). The path between EPC and PTN3 is the primary path, the path between EPC and PTN4 is the backup path, and the path between PTN3 and PTN4 is the intermediate path, PTN3 is the primary transmission network device, and PTN4 is the backup transmission network device. For PTN4, the priority of the primary path is higher than that of the intermediate path; for EPC, the priority of the primary path is higher than that of the backup path. The primary path includes multiple primary links, the backup path includes multiple backup links, the number of primary links in the primary path is equal to the number of backup links in the backup path, the bandwidth of each primary link in the primary path is equal, and the backup path The bandwidth of each backup link is equal, and the bandwidth of the primary link is equal to the bandwidth of the backup link. When the main path is in the normal state, the service flow is transmitted only through the main path.
其中,本通信系统的业务流分为上行方向的业务流和下行方向的业务流,上行方向的业务流表示基站到核心网设备方向上传输的业务流,下行方向的业务流表示核心网设备到基站方向上传输的业务流。The service flow of this communication system is divided into the service flow in the upstream direction and the service flow in the downstream direction. The service flow in the upstream direction represents the service flow transmitted from the base station to the core network equipment, and the service flow in the downstream direction represents the service flow in the direction from the core network equipment to the core network equipment. The traffic flow transmitted in the direction of the base station.
图1中所示的各个设备的的形态和数量仅用于举例,并不构成对本发明实施例的限定。The shape and quantity of each device shown in FIG. 1 are only used for example, and do not constitute a limitation to the embodiments of the present invention.
本申请中的网络设备是一种部署在无线接入网用以提供无线通信功能的设备,包括但不限于:基站(例如:BTS(base transceiver station,BTS),节点B(NodeB,NB),演进型基站B(evolutional node B,eNB或eNodeB),NR系统中的传输节点或收发点(transmissionreception point,TRP或者TP)或者基站(generation nodeB,gNB),未来通信网络中的基站或中继站、接入点、车载设备、可穿戴设备,无线保真(wireless-fidelity,Wi-Fi)的站点、无线回传节点、小站、微站等等。The network device in this application is a device deployed in a wireless access network to provide wireless communication functions, including but not limited to: base stations (for example: BTS (base transceiver station, BTS), Node B (NodeB, NB), Evolved base station B (evolutional node B, eNB or eNodeB), transmission node or transceiver point (transmission reception point, TRP or TP) or base station (generation node B, gNB) in the NR system, base station or relay station, access point in future communication networks Access point, in-vehicle device, wearable device, wireless-fidelity (Wi-Fi) site, wireless backhaul node, small cell, micro cell, etc.
参见图2,为本发明实施例提供的一种实现快速重路由的方法的流程示意图,在本发明实施例中,所述方法包括:Referring to FIG. 2, it is a schematic flowchart of a method for implementing fast rerouting provided by an embodiment of the present invention. In the embodiment of the present invention, the method includes:
S201、检测静态路由组中各个主链路的状态。S201. Detect the status of each main link in the static routing group.
具体的,静态路由组中包含N条主链路,N条主链路可以是主路径中全部的主链路,也可以是主路径中部分的主链路,本实施例不作限制。静态路由组关联有业务流,及静态路由组中的一个或多个主链路用于分担业务流,该一个或多个主链路上分担的业务数据组成业务流。在上行方向,主传输网设备检测静态路由组中各个主链路的状态,确定各个主链路是否发生故障;在下行方向,核心网设备检测静态路由组中各个主链路的状态,确定各个主链路是否发生故障。检测故障的方法包括:hello故障检测机制或双向转发检测(bi-directional forwarding detection,BFD)机制。Specifically, the static routing group includes N main links, and the N main links may be all main links in the main path, or may be part of the main links in the main path, which is not limited in this embodiment. A service flow is associated with the static routing group, and one or more main links in the static routing group are used to share the service flow, and the service data shared on the one or more main links constitute the service flow. In the uplink direction, the main transmission network device detects the status of each main link in the static routing group to determine whether each main link is faulty; in the downlink direction, the core network device detects the status of each main link in the static routing group to determine whether each main link is faulty. Whether the primary link is faulty. Methods for detecting faults include: a hello fault detection mechanism or a bi-directional forwarding detection (BFD) mechanism.
其中,静态路由组中的主链路的状态分为正常状态和故障状态两种,对于正常状态的主链路有分为忙碌状态和空闲状态,忙碌状态表示该主链路承担有业务数据,空闲状态表示该主链路没有承担业务数据。Among them, the status of the main link in the static routing group is divided into two types: normal state and faulty state. For the main link in the normal state, it is divided into a busy state and an idle state. The busy state means that the main link has service data. The idle state indicates that the main link does not undertake service data.
其中,不同业务类型的业务流关联不同的静态路由组,或不同业务标识的业务流关联不同的静态路由组。The service flows of different service types are associated with different static routing groups, or the service flows with different service identifiers are associated with different static routing groups.
S202、在静态路由组中正常链路的数量小于M的情况下,将静态路由组上分担的业务数据切换到备份路径上。S202. In the case that the number of normal links in the static routing group is less than M, switch the service data shared on the static routing group to the backup path.
具体的,静态路由组中正常链路包括忙碌状态的主链路和空闲状态主链路,M和业务流的需求带宽和主链路的带宽有关,例如:业务流的需求带宽为25G,主链路的带宽为10G,那么将需求带宽和主链路的带宽的比值进行向上取整,得到M=3。其中,业务流当前占用的主链路的数量等于3,在静态路由组中正常链路的数据小于M的情况下,将静态路由组上分段的业务数据切换到备份路径上,业务流在备份路径上传输,停止在静态路由组上传输该业务流。例如:该业务流需要占用3条主路径,将业务流切换到备份路径中的3条备份链路上。Specifically, the normal links in the static routing group include the main link in the busy state and the main link in the idle state. The required bandwidth of M and the service flow is related to the bandwidth of the main link. For example, the required bandwidth of the service flow is 25G, and the main link If the bandwidth of the link is 10G, then the ratio of the required bandwidth to the bandwidth of the main link is rounded up to obtain M=3. Among them, the number of main links currently occupied by the service flow is equal to 3. If the data of the normal links in the static routing group is less than M, the segmented service data on the static routing group is switched to the backup path. The service flow is transmitted on the backup path, and the service flow is stopped on the static routing group. For example, the service flow needs to occupy 3 primary paths, and the service flow is switched to the 3 backup links in the backup path.
其中,在业务流为上行方向的业务流的情况下,主传输网设备检测到静态路由组中正常链路的数量小于M,主传输网设备将静态路由组上分担的业务流切换到备份路径上,切换后,业务流在备份路径上传输,停止在静态路由组上传输该业务流。In the case where the service flow is the service flow in the upstream direction, the main transmission network device detects that the number of normal links in the static routing group is less than M, and the main transmission network device switches the shared service flow on the static routing group to the backup path. After the switch, the service flow is transmitted on the backup path, and the service flow is stopped on the static routing group.
其中,在业务流为下行方向的业务流的情况下,核心网设备检测到静态路由组中正常链路的数量小于M,核心网设备将静态路由组上分担的业务流切换到备份路径上,切换后,业务流在备份路径上传输,停止在静态路由组上传输该业务流。In the case where the service flow is the service flow in the downlink direction, the core network device detects that the number of normal links in the static routing group is less than M, and the core network device switches the service flow shared on the static routing group to the backup path. After switching, the service flow is transmitted on the backup path, and the service flow is stopped on the static routing group.
其中,在承载所述业务流的主链路中一个或多个主链路发生故障,且所述静态路由组中正常链路的数量大于或等于M的情况下,将故障的主链路上分担的业务数据切换到所述静态路由组中空闲的主链路上。Wherein, when one or more main links in the main links carrying the service flow are faulty, and the number of normal links in the static routing group is greater than or equal to M, the faulty main links are The shared service data is switched to the idle main link in the static routing group.
在一种可能的设计中,检测静态路由组中各个主链路的状态之前,还包括:In a possible design, before detecting the status of each main link in the static routing group, it also includes:
配置所述业务流关联的静态路由组,以及配置所述M的值。Configure a static routing group associated with the service flow, and configure the value of M.
下面就两个具体的实施例对本发明的实现快速重路由的方法进行详细说明,在图3中,PTN3为主分组传输网设备,PTN4为备分组传输网设备,EPC为核心网设备,PTN3和EPC之间的路径为主路径,PTN4和EPC之间的路径为备用路径,PTN3和PTN4之间的路径为中间路径。主路径包括主链路1、主链路2、主链路3和主链路4,静态路由组包括主链路1至主链路4,备用路径包括备用链路1、备用链路2、备用链路3和备用链路4,各个主链路以及各个备用链路的带宽相等,均为10G。业务流的需求带宽为25G,占用3个主链路:主链路1、主链路2和主链路3,M=3。The method for realizing fast rerouting of the present invention will be described in detail below with respect to two specific embodiments. In FIG. 3, PTN3 is the main packet transmission network device, PTN4 is the backup packet transmission network device, EPC is the core network device, PTN3 and The path between EPC is the primary path, the path between PTN4 and EPC is the backup path, and the path between PTN3 and PTN4 is the intermediate path. The primary path includes primary link 1, primary link 2, primary link 3, and primary link 4, the static routing group includes primary link 1 to primary link 4, and the backup path includes backup link 1, backup link 2, For the backup link 3 and the backup link 4, the bandwidth of each primary link and each backup link is equal, and both are 10G. The required bandwidth of the service flow is 25G, occupying 3 main links: main link 1, main link 2 and main link 3, M=3.
例如:在上行方向,PTN3检测到主链路1和主链路2发生故障时,确定静态路由组中正常链路的数量为2,正常链路的数量<M,PTN3将业务流通过中间路径转发到备用路径上的备用链路1、备用链路2和备用链路3上,停止在静态路由组上传输业务流,以在备用路径上恢复业务流。For example: in the uplink direction, when PTN3 detects that main link 1 and main link 2 are faulty, it determines that the number of normal links in the static routing group is 2, the number of normal links is < M, and PTN3 passes the service flow through the intermediate path. It is forwarded to the backup link 1, the backup link 2 and the backup link 3 on the backup path, and stops transmitting the service flow on the static routing group, so as to restore the service flow on the backup path.
又例如:在下行方向,EPC检测到主链路1和主链路2发生故障,确定静态路由组中正常链路的数据为2,正常链路的数据小于M,EPC将业务流转发到备用路径上的备用链路1、备用链路2和备用链路3上,通知在静态路由组上传传输业务流,以在备用路径上恢复业务流。Another example: in the downlink direction, EPC detects that main link 1 and main link 2 are faulty, and determines that the data of the normal link in the static routing group is 2, and the data of the normal link is less than M, and the EPC forwards the service flow to the standby On the backup link 1, the backup link 2 and the backup link 3 on the path, a notification is sent to the static routing group to upload and transmit the service flow, so as to restore the service flow on the backup path.
又例如:检测到主链路1发生故障时,确定静态路由组中正常链路的数据为3,正常链路的数量等于M,在上行方向,PTN3将主链路1上分担的业务数据切换到主链路4上;在下行方向,EPC将主链路1上分担的业务数据恢复到主链路4上,以便在静态路由组内部恢复业务流。Another example: When detecting the failure of main link 1, it is determined that the data of the normal links in the static routing group is 3, and the number of normal links is equal to M. In the uplink direction, PTN3 switches the service data shared on main link 1. On the main link 4; in the downlink direction, the EPC restores the service data shared on the main link 1 to the main link 4, so as to restore the service flow in the static routing group.
实施本发明实施例,在业务流关联的静态路由组中正常链路的数据小于预设数量时,将静态路由组上分段的业务流切换到备份链路上,避免在主路径内部进行业务流的切换导致的数据包的丢失,提高数据传输的可靠性。By implementing the embodiment of the present invention, when the data of the normal link in the static routing group associated with the service flow is less than the preset number, the segmented service flow on the static routing group is switched to the backup link, so as to avoid performing services in the main path. The loss of data packets caused by the switching of streams improves the reliability of data transmission.
参见图4,为本发明实施例提供的一种实现快速重路由的方法的又一流程示意图,在本发明实施例中,所述方法包括:Referring to FIG. 4, it is another schematic flowchart of a method for implementing fast rerouting provided by an embodiment of the present invention. In the embodiment of the present invention, the method includes:
S401、检测主路径中各个主链路的状态;S401. Detect the status of each main link in the main path;
具体的,主路径中包含N条主链路,主链路中的一个或多个主链路用于分担业务流,该一个或多个主链路上分担的业务数据组成业务流。在上行方向,主传输网设备检测主路径中各个主链路的状态,确定各个主链路是否发生故障;在下行方向,核心网设备检测主路径中各个主链路的状态,确定各个主链路是否发生故障。检测故障的方法包括:hello故障检测机制或双向转发检测(bi-directional forwarding detection,BFD)机制。Specifically, the main path includes N main links, one or more main links in the main links are used to share the service flow, and the service data shared on the one or more main links constitute the service flow. In the uplink direction, the main transmission network equipment detects the status of each main link in the main path to determine whether each main link is faulty; in the downlink direction, the core network equipment detects the status of each main link in the main path and determines each main chain. whether the road is faulty. Methods for detecting faults include: a hello fault detection mechanism or a bi-directional forwarding detection (BFD) mechanism.
S402、在主路径中的M条主链路发生故障的情况下,将M条主链路上分担的业务数据切换到备份路径中与M条主链路关联的M条备份链路上。S402. In the case that the M primary links in the primary path are faulty, switch the service data shared on the M primary links to the M backup links associated with the M primary links in the backup path.
具体的,主路径预先关联有备用路径,主路径中的N条主链路和备用路径中的N条备用路径为一对一的映射关系,在主路径中的一条或多条主路径发生故障时,将发生故障的M条主链路上承担的业务数据转发到备用路径中对应的备用链路上,N条主链路中未发生故障的主链路上的业务数据保持不变。Specifically, the primary path is pre-associated with backup paths, N primary links in the primary path and N backup paths in the backup path are in a one-to-one mapping relationship, and one or more primary paths in the primary path fail When the fault occurs, the service data borne on the faulty M primary links is forwarded to the corresponding backup link in the backup path, and the service data on the non-faulty primary link among the N primary links remains unchanged.
其中,所述业务数据为下行方向的业务数据时Wherein, when the service data is the service data in the downlink direction
所述在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上包括:In the case where the M primary links in the primary path are faulty, switching the service data shared on the M primary links to the M primary links associated with the M primary links in the backup path The backup link includes:
在所述主路径中M条主链路发生故障的情况下,核心网设备在备份路径中确定与所述M条主链路关联的M条备份链路;In the case of failure of M primary links in the primary path, the core network device determines M backup links associated with the M primary links in the backup path;
所述核心网设备所述M条主链路上分担的业务数据切换到所述M条备份链路上。The service data shared on the M primary links of the core network device is switched to the M backup links.
其中,所述业务数据为上行方向的业务数据时Wherein, when the service data is the service data in the uplink direction
所述在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上包括:In the case where the M primary links in the primary path are faulty, switching the service data shared on the M primary links to the M primary links associated with the M primary links in the backup path The backup link includes:
在所述主路径中M条主链路发生故障的情况下,主分组传输网设备在备份路径中确定与所述M条主链路关联的M条备份链路;In the case of failure of M primary links in the primary path, the primary packet transmission network device determines M backup links associated with the M primary links in the backup path;
所述主分组传输网设备通过低优先级路由将M条主链路上承载的业务数据通过中间路径切换到转发给所述M条备份链路上。The primary packet transmission network device switches the service data carried on the M primary links to the M backup links through an intermediate path through a low-priority route.
其中,所述检测主路径中各个主链路的状态之前,还包括:Wherein, before the detecting the status of each main link in the main path, the method further includes:
配置主路径中N条主链路和备份路径中N条备份链路的绑定关系。Configure the binding relationship between N primary links on the primary trail and N backup links on the backup trail.
下面就两个具体的实施例对本发明的实现快速重路由的方法进行详细说明,在图3中,PTN3为主分组传输网设备,PTN4为备分组传输网设备,EPC为核心网设备,PTN3和EPC之间的路径为主路径,PTN4和EPC之间的路径为备用路径,PTN3和PTN4之间的路径为中间路径。主路径包括主链路1、主链路2、主链路3和主链路4,静态路由组包括主链路1至主链路4,备用路径包括备用链路1、备用链路2、备用链路3和备用链路4,各个主链路以及各个备用链路的带宽相等,均为10G。预先配置的主路径和备用路径的映射关系为:主链路1映射备用链路1,主链路2映射备用链路2,主链路3映射备用链路3,主链路4映射备用链路4。业务承载在主链路1、主链路2和主链路3上。The method for realizing fast rerouting of the present invention will be described in detail below with respect to two specific embodiments. In FIG. 3, PTN3 is the main packet transmission network device, PTN4 is the backup packet transmission network device, EPC is the core network device, PTN3 and The path between EPC is the primary path, the path between PTN4 and EPC is the backup path, and the path between PTN3 and PTN4 is the intermediate path. The primary path includes primary link 1, primary link 2, primary link 3, and primary link 4, the static routing group includes primary link 1 to primary link 4, and the backup path includes backup link 1, backup link 2, For the backup link 3 and the backup link 4, the bandwidth of each primary link and each backup link is equal, and both are 10G. The preconfigured mapping relationship between the primary path and the backup path is: primary link 1 maps backup link 1, primary link 2 maps backup link 2, primary link 3 maps backup link 3, and primary link 4 maps backup link Road 4. Services are carried on main link 1, main link 2 and main link 3.
例如:对于上行方向的业务数据,PTN3检测主路径中4个主链路的状态,PTN3检测到主链路2和主链路3发生故障,PTN3通过中间路径将主链路2和主链路3上分担的业务数据切换备用链路3和备用链路4上,切换后,业务流承载在主链路1、备用链路2和备用路径3上。For example: for the service data in the upstream direction, PTN3 detects the status of the four main links in the main path, PTN3 detects that the main link 2 and main link 3 are faulty, and PTN3 connects the main link 2 and the main link through the intermediate path. The service data shared on 3 is switched on the backup link 3 and the backup link 4. After switching, the service flow is carried on the main link 1, the backup link 2 and the backup path 3.
又例如:对于下行方向的业务流,EPC检测主路径中4个主链路的状态,EPC检测到主路径2和主路径3发生故障时,将主链路2和主链路3上分担的业务数据切换备用链路3和备用链路4上,切换后,业务流承载在主链路1、备用链路2和备用路径3上。Another example: for the service flow in the downlink direction, the EPC detects the status of the four main links in the main path. When the EPC detects that the main path 2 and main path 3 are faulty, the The service data is switched on the backup link 3 and the backup link 4. After the switching, the service flow is carried on the primary link 1, the backup link 2 and the backup path 3.
实施本发明实施例,主路径和备份路径中预先配置有一对一的链路备份关系,在主路径中存在一条或多条主链路发生故障时,将故障的主链路上分担的业务数据立即切换到备份路径中关联的备份路径上,以提高业务数据传输的可靠性。、Implementing the embodiment of the present invention, a one-to-one link backup relationship is preconfigured between the primary path and the backup path, and when one or more primary links in the primary path fail, the service data shared on the faulty primary link is Immediately switch to the backup path associated with the backup path to improve the reliability of service data transmission. ,
上述详细阐述了本发明实施例的方法,下面提供了本发明实施例的装置。The method of the embodiment of the present invention is described in detail above, and the apparatus of the embodiment of the present invention is provided below.
请参见图6,图6是本发明实施例提供的一种装置的结构示意图,该装置6可以包括检测单元601和切换单元602。Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of an apparatus provided by an embodiment of the present invention. The apparatus 6 may include a detection unit 601 and a switching unit 602 .
实施例a:Example a:
检测单元601,用于检测静态路由组中各个主链路的状态;其中,所述静态路由组包含N条主链路,N为大于1的整数;例如:检测单元601执行图2中S201。The detection unit 601 is configured to detect the status of each main link in the static routing group; wherein the static routing group includes N main links, and N is an integer greater than 1; for example, the detection unit 601 executes S201 in FIG. 2 .
切换单元602,用于在所述静态路由组中正常链路的数量小于M的情况下,将所述静态路由组上分担的业务流切换到备份路径上;其中,M与所述业务流的需求带宽和主链路的带宽有关,M为大于或等于1的整数。例如:切换单元602执行图2的S202。The switching unit 602 is configured to switch the service flow shared on the static routing group to the backup path when the number of normal links in the static routing group is less than M; wherein M and the service flow are The required bandwidth is related to the bandwidth of the main link, and M is an integer greater than or equal to 1. For example, the switching unit 602 executes S202 in FIG. 2 .
可选的,所述切换单元602,还用于在承载所述业务流的主链路中一个或多个主链路发生故障,且所述静态路由组中正常链路的数量大于或等于M的情况下,将故障的主链路上分担的业务数据切换到所述静态路由组中空闲的主链路上。Optionally, the switching unit 602 is further configured to fail in one or more primary links in the primary link carrying the service flow, and the number of normal links in the static routing group is greater than or equal to M In the case of , the service data shared on the faulty main link is switched to the idle main link in the static routing group.
可选的,所述业务流为上行方向的业务流,所述装置为主分组传输网设备;Optionally, the service flow is a service flow in an uplink direction, and the apparatus is a main packet transmission network device;
所述切换单元602具体用于:The switching unit 602 is specifically used for:
在所述静态路由组中正常链路的数量小于M的情况下,通过中间路径将所述业务流切换到备份路由上。When the number of normal links in the static routing group is less than M, the service flow is switched to a backup route through an intermediate path.
可选的,所述业务流为下行方向的业务流,所述装置为核心网设备。Optionally, the service flow is a service flow in a downlink direction, and the apparatus is a core network device.
可选的,还包括:Optionally, also include:
配置单元,用于配置所述业务流关联的静态路由组,以及配置所述M的值。A configuration unit, configured to configure the static routing group associated with the service flow, and configure the value of M.
实施例b、检测单元601,用于检测主路径中各个主链路的状态;例如:检测单元601执行图4中的S401。Embodiment b. The detection unit 601 is used to detect the state of each main link in the main path; for example, the detection unit 601 executes S401 in FIG. 4 .
切换单元602,用于在所述主路径中的M条主链路发生故障的情况下,将所述M条主链路上分担的业务数据切换到备份路径中与所述M条主链路关联的M条备份链路上,M为大于或等于1的整数。例如:切换单元602执行图4中的S402。The switching unit 602 is configured to switch the service data shared on the M primary links to the backup path and the M primary links in the case of failure of the M primary links in the primary path On the associated M backup links, M is an integer greater than or equal to 1. For example, the switching unit 602 executes S402 in FIG. 4 .
可选的,所述业务数据为下行方向的业务数据,所述装置为核心网设备;Optionally, the service data is service data in a downlink direction, and the device is a core network device;
所述切换单元602具体用于:The switching unit 602 is specifically used for:
在所述主路径中M条主链路发生故障的情况下,在备份路径中确定与所述M条主链路关联的M条备份链路;In the case of failure of M primary links in the primary path, determining M backup links associated with the M primary links in the backup path;
所述核心网设备所述M条主链路上分担的业务数据切换到所述M条备份链路上。The service data shared on the M primary links of the core network device is switched to the M backup links.
可选的,所述业务数据为上行方向的业务数据,所述装置为主分组传输网设备;Optionally, the service data is service data in an uplink direction, and the apparatus is a main packet transmission network device;
所述切换单元602具体用于:The switching unit 602 is specifically used for:
在所述主路径中M条主链路发生故障的情况下,在备份路径中确定与所述M条主链路关联的M条备份链路;In the case of failure of M primary links in the primary path, determining M backup links associated with the M primary links in the backup path;
所述主分组传输网设备通过低优先级路由将M条主链路上承载的业务数据通过中间路径切换到转发给所述M条备份链路上。The primary packet transmission network device switches the service data carried on the M primary links to the M backup links through an intermediate path through a low-priority route.
可选的,还包括:Optionally, also include:
配置单元,用于配置主路径中N条主链路和备份路径中N条备份链路的绑定关系。The configuration unit is used to configure the binding relationship between the N primary links in the primary path and the N backup links in the backup path.
所述装置6可以为核心网设备或分组传输网设备,所述装置6也可以为实现相关功能的现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片,系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路,微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。The device 6 may be a core network device or a packet transmission network device, and the device 6 may also be a field-programmable gate array (FPGA), an application-specific integrated chip, or a system-on-chip (FPGA) that implements related functions. chip, SoC), central processor unit (CPU), network processor (NP), digital signal processing circuit, microcontroller (micro controller unit, MCU), and programmable controllers ( programmable logic device, PLD) or other integrated chips.
本发明实施例和图2的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 2 are based on the same concept, and the technical effects brought by them are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 2 , which will not be repeated here.
图7为本发明实施例提供的一种装置结构示意图,以下简称装置7,装置7可以集成于前述的核心网设备或分组传输网设备,如图7所示,该装置包括:存储器702、处理器701、收发器703。FIG. 7 is a schematic structural diagram of an apparatus provided by an embodiment of the present invention, hereinafter referred to as apparatus 7. The apparatus 7 may be integrated into the aforementioned core network equipment or packet transmission network equipment. As shown in FIG. 7, the apparatus includes: a memory 702, a processing 701, transceiver 703.
存储器702可以是独立的物理单元,与处理器701和收发器703可以通过总线连接。存储器702、处理器701、收发器703也可以集成在一起,通过硬件实现等。The memory 702 may be an independent physical unit, and may be connected to the processor 701 and the transceiver 703 through a bus. The memory 702, the processor 701, and the transceiver 703 can also be integrated together, implemented by hardware, and the like.
存储器702用于存储实现以上方法实施例,或者装置实施例各个模块的程序,处理器701调用该程序,执行以上方法实施例的操作。The memory 702 is used to store a program for implementing the above method embodiments or each module of the apparatus embodiment, and the processor 701 invokes the program to execute the operations of the above method embodiments.
可选地,当上述实施例的实现快速重路由的方法中的部分或全部通过软件实现时,装置也可以只包括处理器。用于存储程序的存储器位于装置之外,处理器通过电路/电线与存储器连接,用于读取并执行存储器中存储的程序。Optionally, when part or all of the method for implementing fast rerouting in the foregoing embodiment is implemented by software, the apparatus may also only include a processor. The memory for storing the program is located outside the device, and the processor is connected to the memory through a circuit/wire for reading and executing the program stored in the memory.
处理器可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。The processor may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.
处理器还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmablelogic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complexprogrammable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gatearray,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor may further include a hardware chip. The above hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
存储器可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatilememory),例如快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器还可以包括上述种类的存储器的组合。The memory may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include non-volatile memory (non-volatile memory), such as flash memory (flash memory), A hard disk drive (HDD) or a solid-state drive (SSD); the memory may also include a combination of the above types of memory.
上述实施例中,发送模块或发射器执行上述各个方法实施例发送的步骤,接收模块或接收器执行上述各个方法实施例接收的步骤,其它步骤由其他模块或处理器执行。发送模块和接收模块可以组成收发模块,接收器和发射器可以组成收发器。In the above embodiments, the sending module or transmitter executes the sending steps of the above method embodiments, the receiving module or receiver executes the receiving steps of the above method embodiments, and other steps are executed by other modules or processors. The sending module and the receiving module can form a transceiver module, and the receiver and the transmitter can form a transceiver.
本申请实施例还提供了一种计算机存储介质,存储有计算机程序,该计算机程序用于执行上述实施例提供的实现快速重路由的方法。Embodiments of the present application further provide a computer storage medium storing a computer program, where the computer program is used to execute the method for implementing fast rerouting provided by the foregoing embodiments.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例提供的实现快速重路由的方法。The embodiments of the present application also provide a computer program product containing instructions, which, when running on a computer, cause the computer to execute the method for implementing fast rerouting provided by the foregoing embodiments.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may 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.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810702760.5A CN110661703A (en) | 2018-06-30 | 2018-06-30 | Method and device for realizing fast rerouting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810702760.5A CN110661703A (en) | 2018-06-30 | 2018-06-30 | Method and device for realizing fast rerouting |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110661703A true CN110661703A (en) | 2020-01-07 |
Family
ID=69026918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810702760.5A Pending CN110661703A (en) | 2018-06-30 | 2018-06-30 | Method and device for realizing fast rerouting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110661703A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259248A (en) * | 2020-02-07 | 2021-08-13 | 华为技术有限公司 | Method and device for determining link for forwarding service flow |
US11876680B2 (en) | 2020-02-07 | 2024-01-16 | Huawei Technologies Co., Ltd. | Method and apparatus for determining link for forwarding service flow |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101035019A (en) * | 2007-01-12 | 2007-09-12 | 华为技术有限公司 | Fast convergence method and device of the end-to-end service |
CN101499960A (en) * | 2008-02-03 | 2009-08-05 | 华为技术有限公司 | Method and apparatus for flow path switching |
CN102404234A (en) * | 2011-12-26 | 2012-04-04 | 杭州华三通信技术有限公司 | Flow transfer method and equipment |
CN105763467A (en) * | 2016-03-25 | 2016-07-13 | 杭州华三通信技术有限公司 | Flow switching method and device |
WO2017000243A1 (en) * | 2015-06-30 | 2017-01-05 | 华为技术有限公司 | Routing method, and relevant device and system |
-
2018
- 2018-06-30 CN CN201810702760.5A patent/CN110661703A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101035019A (en) * | 2007-01-12 | 2007-09-12 | 华为技术有限公司 | Fast convergence method and device of the end-to-end service |
CN101499960A (en) * | 2008-02-03 | 2009-08-05 | 华为技术有限公司 | Method and apparatus for flow path switching |
CN102404234A (en) * | 2011-12-26 | 2012-04-04 | 杭州华三通信技术有限公司 | Flow transfer method and equipment |
WO2017000243A1 (en) * | 2015-06-30 | 2017-01-05 | 华为技术有限公司 | Routing method, and relevant device and system |
CN105763467A (en) * | 2016-03-25 | 2016-07-13 | 杭州华三通信技术有限公司 | Flow switching method and device |
Non-Patent Citations (1)
Title |
---|
陈捷洁: "三层PTN多链路对接保护方案", 《电信快报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259248A (en) * | 2020-02-07 | 2021-08-13 | 华为技术有限公司 | Method and device for determining link for forwarding service flow |
CN113259248B (en) * | 2020-02-07 | 2023-03-10 | 华为技术有限公司 | Method and device for determining link for forwarding service flow |
US11876680B2 (en) | 2020-02-07 | 2024-01-16 | Huawei Technologies Co., Ltd. | Method and apparatus for determining link for forwarding service flow |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2013513259A (en) | Method, device and system for processing service traffic based on pseudowire | |
CN108206759B (en) | Method, equipment and system for forwarding message | |
CN103222236B (en) | Network trunk system and communicator | |
EP2922247B1 (en) | Method and apparatus for rapidly restoring spanning tree backup port | |
CN103036787A (en) | Network route convergence processing method and network route convergence processing device | |
CN108243114B (en) | Method, equipment and system for forwarding message | |
CN103490921B (en) | Network protection method, device, lower link point and system | |
CN102882757B (en) | Point-to-multipoint service protecting method for ring network and upper ring node in ring network | |
US20080062996A1 (en) | Consumer Edge Initiated Pseudo-Wire Multi-Homing in Access Networks | |
WO2012097657A1 (en) | System and networking method for ring network | |
CN108075968A (en) | A kind of network system and pseudo-line service processing method | |
WO2016197950A1 (en) | Route detection method, router device and system | |
US9716639B2 (en) | Protection switching method and system | |
CN110661703A (en) | Method and device for realizing fast rerouting | |
JP7168286B2 (en) | Communication method and communication device | |
CN104702498B (en) | A kind of method and device reducing equipment room light connects quantity by harmonious protection | |
CN112911420A (en) | Rerouting method based on Flexe network, electronic device and readable storage medium | |
CN108023800A (en) | A kind of guard method of LTE bearer networks and device | |
CN102148693B (en) | Shared granularity method, node and shared granularity system | |
WO2011011934A1 (en) | Method and apparatus for ethernet tunnel segmentation protection | |
EP2523401B1 (en) | Virtual networks within a physical network | |
CN106464524B (en) | Route calculation method and device of ASON | |
CN103117924B (en) | A kind of pretection switch method and apparatus | |
CN103404050B (en) | Pretection switch method, system and node | |
CN117221163A (en) | Network equipment PFC deadlock and recovery test method, equipment and medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200107 |