CN105765909A - Link switching method and device - Google Patents
Link switching method and device Download PDFInfo
- Publication number
- CN105765909A CN105765909A CN201380000495.1A CN201380000495A CN105765909A CN 105765909 A CN105765909 A CN 105765909A CN 201380000495 A CN201380000495 A CN 201380000495A CN 105765909 A CN105765909 A CN 105765909A
- Authority
- CN
- China
- Prior art keywords
- link
- node
- bit error
- error rate
- bfd
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0847—Transmission error
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
本发明公开了一种链路切换方法及装置,该方法包括:本地双向转发检测BFD节点获取从远端BFD节点到所述本地BFD节点的每条链路的误码率;所述本地BFD节点选择误码率低于设定阈值的链路,作为工作链路;所述本地BFD节点向所述远端BFD节点发送所述工作链路的标识,以使所述远端BFD节点将接收到的标识对应的链路切换为工作链路,用以解决现有技术无法检测到概率性丢包故障,从而引发的基站退服等问题。
The present invention discloses a link switching method and device, the method comprising: a local bidirectional forwarding detection BFD node obtains the bit error rate of each link from a remote BFD node to the local BFD node; the local BFD node Selecting a link with a bit error rate lower than a set threshold as a working link; the local BFD node sends the identification of the working link to the remote BFD node, so that the remote BFD node will receive The link corresponding to the id is switched to the working link to solve the problem that the existing technology cannot detect the probabilistic packet loss failure, which causes the base station out of service and other problems.
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种链路切换方法及装置。The present invention relates to the field of communication technologies, in particular to a link switching method and device.
背景技术Background technique
目前部署了全网际协议(allInternetProtocol,allIP)承载的网络,通常采用双向转发检测(BidirectionalForwardingDetection,BFD)技术来检测链路故障。At present, the network carried by the all Internet Protocol (allInternetProtocol, allIP) is deployed, and the bidirectional forwarding detection (BidirectionalForwardingDetection, BFD) technology is usually used to detect link failures.
BFD技术通过接收间隔(RXInterval)来检测报文是否存在连续丢包的情况,从而判断链路是否出现故障。BFD技术可以实现链路状态检测,在链路状态检测过程中,通常只有在检测出连续三个及以上的数据包错误或丢包的情况下,才会判定出现链路出现故障,因此,对于误码导致的概率性丢包,由于误码导致的概率性丢包的数量无法达到连续三个,故而,BFD技术无法将其检测出来。误码导致的概率性丢包是由于信号传输过程中,衰变改变了信号的电压,致使信号在传输过程中遭到破坏而产生误码,从而使得数据包丢失的情况。概率性丢包一般是由噪音、交流电或闪电造成的脉冲、接口松动、光口污染或者温度突升等因素导致的,而这些因素所导致的概率性丢包故障很可能会引发基站退服等严重问题。The BFD technology uses the receiving interval (RXInterval) to detect whether there is continuous packet loss in packets, so as to determine whether a link is faulty. BFD technology can implement link status detection. In the process of link status detection, usually only when three or more consecutive data packet errors or packet loss are detected, it will be determined that a link is faulty. Therefore, for Probabilistic packet loss caused by bit errors, because the number of probabilistic packet loss caused by bit errors cannot reach three consecutive ones, so the BFD technology cannot detect them. Probabilistic packet loss caused by bit errors is due to the fact that during signal transmission, decay changes the voltage of the signal, causing the signal to be damaged during transmission and resulting in bit errors, resulting in the loss of data packets. Probabilistic packet loss is generally caused by factors such as noise, pulses caused by alternating current or lightning, loose interfaces, optical port pollution, or sudden temperature rise. Probabilistic packet loss faults caused by these factors are likely to cause base station outages, etc. Serious Problem.
发明内容Contents of the invention
本发明实施例提供一种链路切换方法及装置,用以解决现有技术无法检测到概率性丢包故障,从而引发的基站退服等问题。Embodiments of the present invention provide a link switching method and device, which are used to solve problems such as base station out of service caused by failure to detect probabilistic packet loss faults in the prior art.
第一方面,提供一种链路切换方法,包括:In the first aspect, a link switching method is provided, including:
本地双向转发检测BFD节点获取从远端BFD节点到所述本地BFD节点的每条链路的误码率;The local two-way forwarding detection BFD node obtains the bit error rate of each link from the remote BFD node to the local BFD node;
所述本地BFD节点选择误码率低于设定阈值的链路,作为工作链路;The local BFD node selects a link with a bit error rate lower than a set threshold as a working link;
所述本地BFD节点向所述远端BFD节点发送所述工作链路的标识,以使所述远端BFD节点将接收到的标识对应的链路切换为工作链路。The local BFD node sends the identifier of the working link to the remote BFD node, so that the remote BFD node switches the link corresponding to the received identifier as a working link.
结合第一方面,在第一种可能的实现方式中,所述本地BFD节点获取从远端BFD节点到所述本地BFD节点的每条链路的误码率,具体包括:With reference to the first aspect, in a first possible implementation manner, the local BFD node obtains the bit error rate of each link from the remote BFD node to the local BFD node, specifically including:
在所述本地BFD节点与所述远端BFD节点之间存在至少一个中间节点时,所述本地BFD节点通过下述步骤获取从所述远端BFD节点到所述本地BFD节点的每条链路的误码率:When there is at least one intermediate node between the local BFD node and the remote BFD node, the local BFD node obtains each link from the remote BFD node to the local BFD node through the following steps Bit error rate:
所述本地BFD节点检测并获取本地到与其相邻的中间节点之间的链路的第一类误码率;The local BFD node detects and obtains the first type of bit error rate of the link between the local and its adjacent intermediate nodes;
所述本地BFD节点通过每一个中间节点发送的链路控制报文,获取从该中间节点的邻节点到该中间节点的链路的第二类误码率;The local BFD node obtains the second type of bit error rate of the link from the neighbor node of the intermediate node to the intermediate node through the link control message sent by each intermediate node;
针对每一条链路,所述本地BFD节点基于该链路上的中间节点发送的链路控制报文上携带的第二类误码率,和所述本地节点检测到的第一类误码率,获取从远端BFD节点到本地BFD节点的链路的误码率。For each link, the local BFD node is based on the second type of bit error rate carried in the link control message sent by the intermediate node on the link, and the first type of bit error rate detected by the local node , to obtain the bit error rate of the link from the remote BFD node to the local BFD node.
结合第一方面,在第二种可能的实现方式中,所述本地BFD节点向所述远端BFD节点发送所述工作链路的标识,具体包括:With reference to the first aspect, in a second possible implementation manner, the local BFD node sends the identification of the working link to the remote BFD node, specifically including:
所述本地BFD节点向所述远端BFD节点发送链路控制报文,所述链路控制报文中携带有链路的标识和扩展误码字段,所述扩展误码字段用以指示所述远端BFD节点将误码率低于设定阈值的链路作为工作链路。The local BFD node sends a link control message to the remote BFD node, and the link control message carries a link identifier and an extended error field, and the extended error field is used to indicate the The remote BFD node regards the link whose bit error rate is lower than the set threshold as the working link.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述扩展误码字段包括误码告警类型BERType字段、系数字段和幂指数字段,其中,所述BERType用以表征误码率是否超过阈值,所述系数字段和幂指数字段一起表示误码率的大小。With reference to the second possible implementation of the first aspect, in a third possible implementation, the extended bit error field includes a bit error alarm type BERType field, a coefficient field, and a power exponent field, where the BERType uses To indicate whether the bit error rate exceeds a threshold, the coefficient field and the power exponent field together indicate the size of the bit error rate.
结合第一方面,或结合第一方面的上述任意一种可能的实现方式,在第四种可能的实现方式中,所述本地BFD节点选择误码率低于设定阈值的链路,作为工作链路,具体包括:In combination with the first aspect, or in combination with any of the above possible implementations of the first aspect, in a fourth possible implementation, the local BFD node selects a link with a bit error rate lower than a set threshold as a working links, including:
在所述本地BFD节点确定误码率低于设定阈值的链路为多个链路时,所述本地BFD节点选择主用链路作为工作链路。When the local BFD node determines that there are multiple links with a bit error rate lower than the set threshold, the local BFD node selects the active link as the working link.
第二方面,提供一种链路切换装置,包括:In a second aspect, a link switching device is provided, including:
获取模块,用于获取从远端双向转发检测BFD节点到本装置的每条链路的误码率;An acquisition module, configured to acquire the bit error rate of each link from the remote bidirectional forwarding detection BFD node to the device;
选择模块,用于选择误码率低于设定阈值的链路,作为工作链路;A selection module, configured to select a link with a bit error rate lower than a set threshold as a working link;
发送模块,用于向所述远端BFD节点发送所述工作链路的标识,以使所述远端BFD节点将接收到的标识对应的链路切换为工作链路。A sending module, configured to send the identifier of the working link to the remote BFD node, so that the remote BFD node switches the link corresponding to the received identifier as a working link.
结合第二方面,在第一种可能的实现方式中,所述获取模块,具体用于:In combination with the second aspect, in a first possible implementation manner, the acquiring module is specifically used for:
在本装置与所述远端BFD节点之间存在至少一个中间节点时,检测并获取本装置到与其相邻的中间节点之间的链路的第一类误码率;通过每一个中间节点发送的链路控制报文,获取从该中间节点的邻节点到该中间节点的链路的第二类误码率;针对每一条链路,基于该链路上的中间节点发送的链路控制报文上携带的第二类误码率,和检测到的第一类误码率,获取从远端BFD节点到本地BFD节点的链路的误码率。When there is at least one intermediate node between the device and the remote BFD node, detect and obtain the first type of bit error rate of the link between the device and its adjacent intermediate node; send through each intermediate node link control message to obtain the second type of bit error rate of the link from the neighbor node of the intermediate node to the intermediate node; for each link, based on the link control message sent by the intermediate node on the link The second type of bit error rate carried in the text and the detected first type of bit error rate are used to obtain the bit error rate of the link from the remote BFD node to the local BFD node.
结合第二方面,在第二种可能的实现方式中,所述发送模块,具体用于:With reference to the second aspect, in a second possible implementation manner, the sending module is specifically configured to:
向所述远端BFD节点发送链路控制报文,所述链路控制报文中携带有链路的标识和扩展误码字段,所述扩展误码字段用以指示所述远端BFD节点将误码率低于设定阈值的链路作为工作链路。Sending a link control message to the remote BFD node, where the link control message carries a link identifier and an extended error field, and the extended error field is used to indicate that the remote BFD node will A link with a bit error rate lower than the set threshold is used as a working link.
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述发送模块进一步用于,在所述扩展误码字段中携带误码告警类型BERType字段、系数字段和幂指数字段,其中,所述BERType用以表征误码率是否超过阈值,所述系数字段和幂指数字段一起表示误码率的大小。With reference to the second possible implementation of the second aspect, in a third possible implementation, the sending module is further configured to carry an error alarm type BERType field, a coefficient field, and A power exponent field, wherein the BERType is used to indicate whether the bit error rate exceeds a threshold, and the coefficient field and the power exponent field together indicate the size of the bit error rate.
结合第二方面,或第二方面的上述任意一种可能的实现方式,在第四种可能的实现方式中,所述选择模块,具体用于在确定误码率低于设定阈值的链路为多个链路时,选择主用链路作为工作链路。With reference to the second aspect, or any of the above-mentioned possible implementation manners of the second aspect, in a fourth possible implementation manner, the selection module is specifically configured to When there are multiple links, select the active link as the working link.
第三方面,提供一种双向转发检测BFD链路检测设备,包括收发器、处理器和存储器,所述存储器用于存储程序代码,其中:In a third aspect, a bidirectional forwarding detection BFD link detection device is provided, including a transceiver, a processor, and a memory, where the memory is used to store program codes, wherein:
所述收发器,用于获取从远端BFD节点到本设备的每条链路的误码率;The transceiver is used to obtain the bit error rate of each link from the remote BFD node to the device;
所述处理器,用于调用所述存储器中的程序代码,执行以下操作:The processor is used to call the program code in the memory to perform the following operations:
选择误码率低于设定阈值的链路,作为工作链路;Select the link whose bit error rate is lower than the set threshold as the working link;
通过所述收发器向所述远端BFD节点发送所述工作链路的标识,以使该远端BFD节点将接收到的标识对应的链路切换为工作链路。The identifier of the working link is sent to the remote BFD node through the transceiver, so that the remote BFD node switches the link corresponding to the received identifier as a working link.
结合第三方面,在第一种可能的实现方式中,所述处理器,具体用于:With reference to the third aspect, in a first possible implementation manner, the processor is specifically configured to:
在本设备与所述远端BFD节点之间存在至少一个中间节点时,检测并获取本设备到与其相邻的中间节点之间的链路的第一类误码率;通过所述收发器接收每一个中间节点发送的链路控制报文,并从所述链路控制报文中获取从该中间节点的邻节点到该中间节点的链路的第二类误码率;针对每一条链路,基于该链路上的中间节点发送的链路控制报文上携带的第二类误码率,和检测到的第一类误码率,获取从远端BFD节点到本设备的链路的误码率。When there is at least one intermediate node between the device and the remote BFD node, detect and obtain the first type of bit error rate of the link between the device and its adjacent intermediate node; receive through the transceiver A link control message sent by each intermediate node, and obtaining the second-type bit error rate of the link from the adjacent node of the intermediate node to the intermediate node from the link control message; for each link , based on the second type of bit error rate carried in the link control packet sent by the intermediate node on the link, and the detected first type of bit error rate, to obtain the link from the remote BFD node to the device BER.
结合第三方面,在第二种可能的实现方式中,所述收发器,具体用于:With reference to the third aspect, in a second possible implementation manner, the transceiver is specifically used for:
向所述远端BFD节点发送链路控制报文,所述链路控制报文中携带有链路的标识和扩展误码字段,所述扩展误码字段用以指示所述远端BFD节点将误码率低于设定阈值的链路作为工作链路。Sending a link control message to the remote BFD node, where the link control message carries a link identifier and an extended error field, and the extended error field is used to indicate that the remote BFD node will A link with a bit error rate lower than the set threshold is used as a working link.
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述收发器,进一步用于:With reference to the second possible implementation of the third aspect, in a third possible implementation, the transceiver is further configured to:
在所述扩展误码字段中携带误码告警类型BERType字段、系数字段和幂指数字段,其中,所述BERType用以表征误码率是否超过阈值,所述系数字段和幂指数字段一起表示误码率的大小。The extended bit error field carries a bit error warning type BERType field, a coefficient field, and a power index field, wherein the BERType is used to indicate whether the bit error rate exceeds a threshold, and the coefficient field and the power index field together represent a bit error rate size.
结合第三方面,或第三方面的上述任意一种可能的实现方式,在第四种可能的实现方式中,所述处理器,具体用于在确定误码率低于设定阈值的链路为多个链路时,选择主用链路作为工作链路。With reference to the third aspect, or any of the above possible implementation manners of the third aspect, in a fourth possible implementation manner, the processor is specifically configured to When there are multiple links, select the active link as the working link.
本发明实施例中,为BFD链路检测设备(包括本地BFD节点和远端BFD节点)部署BFD误码检测功能,检测从本地BFD节点到远端BFD节点的链路的误码率,根据业务需要可以将误码率低于设定阈值的链路作为工作链路,选择性能较好的链路,减少概率性丢包故障的发生,提高数据传输的效率。In the embodiment of the present invention, the BFD error detection function is deployed for the BFD link detection device (including the local BFD node and the remote BFD node) to detect the bit error rate of the link from the local BFD node to the remote BFD node. It is necessary to use a link with a bit error rate lower than the set threshold as a working link, select a link with better performance, reduce the occurrence of probabilistic packet loss failures, and improve the efficiency of data transmission.
附图说明Description of drawings
图1为本发明实施例提供的一种链路切换方法的流程图;FIG. 1 is a flowchart of a link switching method provided by an embodiment of the present invention;
图2为本发明实施例设计的一种链路控制报文格式;Fig. 2 is a kind of link control message format that the embodiment of the present invention designs;
图3为本发明中优选实施例一的链路示意图;FIG. 3 is a schematic diagram of a link in a preferred embodiment 1 of the present invention;
图4为本发明中优选实施例二的误码率传递示意图;Fig. 4 is a schematic diagram of bit error rate transfer in preferred embodiment 2 of the present invention;
图5为本发明中优选实施例三的误码率传递示意图;Fig. 5 is a schematic diagram of bit error rate transfer in the third preferred embodiment of the present invention;
图6为本发明中优选实施例四的误码率传递示意图;FIG. 6 is a schematic diagram of bit error rate transfer in preferred embodiment 4 of the present invention;
图7为本发明实施例提供的一种链路切换装置的结构示意图;FIG. 7 is a schematic structural diagram of a link switching device provided by an embodiment of the present invention;
图8为本发明实施例提供的一种BFD链路检测设备的结构示意图。FIG. 8 is a schematic structural diagram of a BFD link detection device provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明实施例设计了一种链路切换方法,参阅图1所示,该方法包括如下步骤:Embodiments of the present invention design a link switching method, as shown in Figure 1, the method includes the following steps:
步骤101:本地BFD节点获取从远端BFD节点到本地BFD节点的每条链路的误码率。Step 101: the local BFD node obtains the bit error rate of each link from the remote BFD node to the local BFD node.
上述误码率是衡量数据在规定时间内数据传输精确性的指标,可以用来衡量误码出现的频率。一般来说误码率是由数据的接收节点通过下述公式计算出来的:The above bit error rate is an index to measure the accuracy of data transmission within a specified time, and can be used to measure the frequency of bit errors. Generally speaking, the bit error rate is calculated by the receiving node of the data through the following formula:
误码率=N/M*100%,其中,N表示在规定时间内传输的误码,M表示在规定时间内传输的总码数。Bit error rate = N/M*100%, where N represents the bit errors transmitted within the specified time, and M represents the total number of codes transmitted within the specified time.
从远端BFD节点到本地BFD节点的链路一般包括,将数据从远端BFD节点传输到本地BFD节点的主用链路和备用链路,其中,本地BFD节点即为接收节点。The link from the remote BFD node to the local BFD node generally includes a primary link and a standby link for transmitting data from the remote BFD node to the local BFD node, wherein the local BFD node is the receiving node.
本发明实施例中,BFD节点是指BFD链路检测设备,可以是服务商边缘路由器(ProviderEdge,PE)等设备。In the embodiment of the present invention, a BFD node refers to a BFD link detection device, which may be a provider edge router (ProviderEdge, PE) or other device.
步骤102:本地BFD节点选择误码率低于设定阈值的链路,作为工作链路。Step 102: The local BFD node selects a link with a bit error rate lower than a set threshold as a working link.
较佳地,可以根据实际情况中链路保持连通的上限值预先设置误码阈值,当主用链路和备用链路的误码都低于误码阈值(即设定阈值)时,选择主用链路作为工作链路,使用该工作链路进行报文发送,当主用链路和备用链路的误码都高于误码阈值时,本地BFD节点根据策略选择误码率较低的链路,作为工作链路。Preferably, the bit error threshold can be set in advance according to the upper limit of link connectivity in actual situations. When the bit errors of both the active link and the backup link are lower than the bit error threshold (that is, the set threshold), the active link is selected. The link is used as the working link, and the working link is used to send packets. When the bit errors of the active link and the backup link are higher than the bit error threshold, the local BFD node selects the link with a lower bit error rate according to the policy. road as a working link.
步骤103:本地BFD节点向远端BFD节点发送上述工作链路的标识,以使上述远端BFD节点将接收到的标识对应的链路切换为工作链路。Step 103: The local BFD node sends the identifier of the working link to the remote BFD node, so that the remote BFD node switches the link corresponding to the received identifier to the working link.
较佳地,可以但不限于通过下述方式实现步骤101。Preferably, step 101 can be realized by but not limited to the following manner.
方式一:在本地BFD节点与远端BFD节点之间没有中间节点时,本地BFD节点检测并获取从远端BFD节点到本地BFD节点的链路的误码率。Mode 1: When there is no intermediate node between the local BFD node and the remote BFD node, the local BFD node detects and acquires the bit error rate of the link from the remote BFD node to the local BFD node.
方式二:在本地BFD节点与远端BFD节点之间存在至少一个中间节点时,本地BFD节点检测并获取本地到与其相邻的中间节点之间的链路的第一类误码率。本地BFD节点通过每一个中间节点发送的链路控制报文,获取从该中间节点的邻节点到该中间节点的链路的第二类误码率。针对每一条链路,本地BFD节点基于该链路上的中间节点发送的链路控制报文上携带的第二类误码率,和本地节点检测到的第一类误码率,获取从远端BFD节点到本地BFD节点的链路的误码率。Method 2: When there is at least one intermediate node between the local BFD node and the remote BFD node, the local BFD node detects and obtains the first type of BER of the link between the local and its adjacent intermediate nodes. The local BFD node obtains the second-type BER of the link from the neighbor node of the intermediate node to the intermediate node through the link control message sent by each intermediate node. For each link, the local BFD node obtains the information from the remote node based on the Type 2 BER carried in the link control packet sent by the intermediate node on the link and the Type 1 BER detected by the local node. Bit error rate of the link from the end BFD node to the local BFD node.
例如,本地BFD节点为节点1,远端BFD节点为节点N,节点1与节点N之间存在若干个中间节点,N为大于2的正整数。For example, the local BFD node is node 1, the remote BFD node is node N, there are several intermediate nodes between node 1 and node N, and N is a positive integer greater than 2.
假设,节点1检测出从节点2到节点1的链路的第一类误码率为X1,节点2检测出从节点3到节点2的链路的第二类误码率为X2,节点N-1检测出从节点N到节点N-1的链路的第二类误码率为XN-1,那么从节点N到节点1的误码率为(1-X1)*(1-X2)*(1-XN-1)。Assume that node 1 detects that the first type of bit error rate of the link from node 2 to node 1 is X 1 , and node 2 detects that the second type of bit error rate of the link from node 3 to node 2 is X 2 , Node N-1 detects that the second type of bit error rate of the link from node N to node N-1 is X N-1 , then the bit error rate from node N to node 1 is (1-X 1 )*( 1-X 2 )*(1-X N-1 ).
又例如,可以将X1X2……XN-1的平均值,作为从节点N到节点1的误码率。For another example, the average value of X 1 X 2 . . . X N-1 may be used as the bit error rate from node N to node 1.
上述本地BFD节点或中间节点可以采用多种检测方法检测链路的误码率,例如,循环冗余校验码(CyclicRedundancyCheck,CRC)方式。本地BFD节点或中间节点检查接收到的数据是否正确,据此获取链路的误码率。The aforementioned local BFD node or intermediate node may use multiple detection methods to detect the bit error rate of the link, for example, a cyclic redundancy check code (Cyclic Redundancy Check, CRC) manner. The local BFD node or intermediate node checks whether the received data is correct, and obtains the bit error rate of the link accordingly.
较佳地,步骤103可以通过下述方式实现:Preferably, step 103 can be implemented in the following manner:
本地BFD节点向远端BFD节点发送链路控制报文,该链路控制报文中携带有链路的标识和扩展误码字段,用以指示远端BFD节点将误码率低于设定阈值的链路作为工作链路。The local BFD node sends a link control message to the remote BFD node. The link control message carries the link identifier and the extended bit error field to instruct the remote BFD node to lower the bit error rate below the set threshold. link as the working link.
该扩展误码字段包括误码告警类型(BitErrorRateType,BERType)字段、系数字段Coefficient和幂指数字段Power,其中,BERType用以表征误码率是否超过设定阈值,或者,表示误码率是否恢复到设定阈值以下,Coefficient和Power一起表示误码率的大小,用以支持误码检测结果的传递。The extended bit error field includes bit error alarm type (BitErrorRateType, BERType) field, coefficient field Coefficient and power exponent field Power, where BERType is used to represent whether the bit error rate exceeds the set threshold, or indicates whether the bit error rate has recovered to Below the set threshold, Coefficient and Power together indicate the size of the bit error rate to support the delivery of bit error detection results.
较佳地,在本地BFD节点确定误码率低于设定阈值的链路为多个时,该本地BFD节点将主用链路作为工作链路。Preferably, when the local BFD node determines that there are multiple links with bit error rates lower than the set threshold, the local BFD node uses the active link as the working link.
较佳地,本发明实施例中的链路控制报文可以采用图2中的格式。图2中,MyDiscriminator表示本地BFD节点,YourDiscriminator表示远端BFD节点。相较于在RFC5880的BFD协议中规定的BFD控制报文而言,本发明实施例设计的链路控制报文多出了扩展误码字段,该字段包括BERType、Coefficient、Power和Reserved,其中,BERType为1时表示误码率超过设定阈值,Coefficient表示误码率的系数,Power表示误码率的幂/指数,Coefficient和Power一起表示误码率的大小,用以支持误码检测结果的传递。Preferably, the link control message in the embodiment of the present invention can adopt the format shown in FIG. 2 . In Figure 2, MyDiscriminator represents the local BFD node, and YourDiscriminator represents the remote BFD node. Compared with the BFD control message specified in the BFD protocol of RFC5880, the link control message designed in the embodiment of the present invention has more extended error code fields, which include BERType, Coefficient, Power and Reserved, where, When BERType is 1, it means that the bit error rate exceeds the set threshold, Coefficient means the coefficient of bit error rate, Power means the power/exponent of bit error rate, and Coefficient and Power indicate the size of bit error rate together to support the error detection result transfer.
下面结合图3说明本发明的优选实施例一。A preferred embodiment 1 of the present invention will be described below with reference to FIG. 3 .
图3中,PE1与PE2之间有一个中间节点P,PE1和PE2分别通过LSP链路与中间节点P连接。PE1和PE2通过LSP链路直接连接到PE3。PE1和PE2具有误码检测功能。In FIG. 3, there is an intermediate node P between PE1 and PE2, and PE1 and PE2 are respectively connected to the intermediate node P through LSP links. PE1 and PE2 are directly connected to PE3 through the LSP link. PE1 and PE2 have the error detection function.
PE1在检测以PE1为目的节点的LSP链路的误码率,在确定某一LSP链路的误码率超过设定阈值时,在PE1本地生成链路切换命令,该命令中携带有端口索引、误码率字段和误码通知消息等信息,其中,端口索引中有误码率超过设定阈值的LSP链路对应的端口索引信息,和误码率低于设定阈值的另一个LSP链路对应的端口索引信息,误码率字段中携带了超过设定阈值的误码率的大小,误码通知消息是由误码产生的。When PE1 detects the bit error rate of the LSP link with PE1 as the destination node, and determines that the bit error rate of a certain LSP link exceeds the set threshold, PE1 locally generates a link switching command, which carries the port index , bit error rate field, bit error notification message and other information, wherein the port index contains the port index information corresponding to the LSP link whose bit error rate exceeds the set threshold, and another LSP link whose bit error rate is lower than the set threshold The port index information corresponding to the path, the bit error rate field carries the size of the bit error rate exceeding the set threshold, and the bit error notification message is generated by the bit error.
PE1根据本地生成的链路切换命令,执行链路切换,将误码率低于设定阈值的LSP链路切换为工作链路。PE1 executes link switching according to the link switching command generated locally, and switches the LSP link whose bit error rate is lower than the set threshold to the working link.
PE1生成链路控制报文,并将该链路控制报文发送给其它节点,通知其它节点将误码率低于设定阈值的LSP链路切换为工作链路。PE1 generates a link control packet and sends the link control packet to other nodes, notifying the other nodes to switch the LSP link whose bit error rate is lower than the set threshold to a working link.
例如,PE1在检测出从PE2到PE1的主用链路的误码率高于设定阈值,而备用链路的误码率低于设定阈值时,将备用链路切换为工作链路,并向PE2发送控制链路报文,通知PE2将备用链路切换为工作链路,该控制链路报文中携带有备用链路的标识。For example, when PE1 detects that the bit error rate of the active link from PE2 to PE1 is higher than the set threshold and the bit error rate of the backup link is lower than the set threshold, it switches the backup link to the working link. And send a control link message to PE2 to notify PE2 to switch the standby link to a working link, and the control link message carries the identifier of the standby link.
又例如,PE1在检测出从PE3到PE1的主用链路的误码率低于设定阈值时,选择主用链路作为工作链路,并向PE3发送控制链路报文,通知PE3选择主用链路作为工作链路,该控制链路报文中携带有主用链路的标识。For another example, when PE1 detects that the BER of the active link from PE3 to PE1 is lower than the set threshold, it selects the active link as the working link, and sends a control link packet to PE3, instructing PE3 to select The active link is used as the working link, and the control link message carries the identifier of the active link.
下面结合图4说明本发明的优选实施例二。The second preferred embodiment of the present invention will be described below with reference to FIG. 4 .
图4中,PE1与PE2之间没有中间节点,PE1和PE2之间的LSP链路包括主用LSP链路和备用LSP链路。In FIG. 4 , there is no intermediate node between PE1 and PE2, and the LSP link between PE1 and PE2 includes an active LSP link and a standby LSP link.
PE1具有误码检测功能,PE1检测从PE2到PE1的两条LSP链路的误码率。PE1 has the bit error detection function, and PE1 detects the bit error rate of the two LSP links from PE2 to PE1.
(1)通常情况下,PE1与PE2使用主用LSP链路传输业务数据,作为工作链路。若PE1检测出主用LSP链路的误码率大于设定阈值,而备用LSP链路的误码率低于设定阈值,则将备用LSP链路切换为工作链路,并生成链路控制报文,将该链路控制报文发送至PE2,通知PE2将备用LSP链路切换为工作链路,其中,该链路控制报文中BERType的值为1,表示主用LSP链路的误码率超过设定阈值,Coefficient和Power一起表示主用LSP链路的误码率。(1) Normally, PE1 and PE2 use the active LSP link to transmit service data as the working link. If PE1 detects that the bit error rate of the active LSP link is greater than the set threshold and the bit error rate of the backup LSP link is lower than the set threshold, it will switch the backup LSP link to the working link and generate a link control The link control packet is sent to PE2 to notify PE2 to switch the standby LSP link to the working link. The value of BERType in the link control packet is 1, indicating that the active LSP link is incorrect. When the bit rate exceeds the set threshold, Coefficient and Power together indicate the bit error rate of the active LSP link.
(2)在PE1和PE2使用备用LSP链路作为工作链路时,若PE1检测出主用LSP链路的误码率降低到设定阈值以下,或等于设定阈值,PE1则执行链路回切,将主用LSP链路重新作为工作链路,并且生成链路控制报文,将该链路控制报文发送至PE2,通知PE2执行链路回切,将主用LSP链路重新作为工作链路,其中,该链路控制报文中BERType的值为2,表示主用LSP链路的误码率的大小重新恢复到不超过设定阈值,Coefficient和Power一起表示主用LSP链路的误码率,将该链路控制报文发送至PE2,通知PE2将备用LSP链路切换为工作链路。(2) When PE1 and PE2 use the backup LSP link as the working link, if PE1 detects that the bit error rate of the active LSP link drops below the set threshold or is equal to the set threshold, PE1 executes link recovery. switch, make the active LSP link the working link again, generate a link control packet, send the link control packet to PE2, and notify PE2 to execute the link switchback, and make the active LSP link the working link again. link, where the value of BERType in the link control message is 2, indicating that the bit error rate of the active LSP link has recovered to not exceed the set threshold, and Coefficient and Power together indicate the BER of the active LSP link BER, send the link control packet to PE2, informing PE2 to switch the standby LSP link to the working link.
下面结合图5说明本发明的优选实施例三。The third preferred embodiment of the present invention will be described below with reference to FIG. 5 .
图5中,PE1与PE2之间有一个中间节点P。In Figure 5, there is an intermediate node P between PE1 and PE2.
中间节点P检测从PE2到中间节点P的LSP链路的误码率,并通过链路控制报文将该误码率传输至PE1,其中,该链路控制报文的扩展误码字段中携带有该误码率。The intermediate node P detects the bit error rate of the LSP link from PE2 to the intermediate node P, and transmits the bit error rate to PE1 through the link control message, wherein the extended bit error field of the link control message carries There is that bit error rate.
PE1检测从中间节点P到PE1的LSP链路的误码率,并基于中间节点P传输的误码率,和PE1检测出的误码率,计算从PE2到PE1的LSP链路的误码率。PE1基于从PE2到PE1的LSP链路的误码率,判断是否需要执行链路切换。若从PE2到PE1的主用LSP链路的误码率超过设定阈值,并且存在一种从PE2到PE1的LSP链路的误码率低于设定阈值,则将该误码率低于设定阈值的LSP链路作为工作链路,并且PE1生成链路控制报文,通知PE2执行链路切换。PE1 detects the bit error rate of the LSP link from the intermediate node P to PE1, and calculates the bit error rate of the LSP link from PE2 to PE1 based on the bit error rate transmitted by the intermediate node P and the bit error rate detected by PE1 . PE1 judges whether to perform link switching based on the bit error rate of the LSP link from PE2 to PE1. If the bit error rate of the active LSP link from PE2 to PE1 exceeds the set threshold, and there is an LSP link from PE2 to PE1 whose bit error rate is lower than the set threshold, set the bit error rate lower than the set threshold. The LSP link with the threshold value is set as the working link, and PE1 generates a link control packet to notify PE2 to perform link switching.
在PE1确定从PE2到PE1的主用LSP链路的误码率恢复到不大于设定阈值的情况时,PE1执行链路回切,将从PE2到PE1的主用LSP链路重新切换为工作链路,并且PE1生成链路控制报文,通知PE2执行链路回切。When PE1 determines that the bit error rate of the active LSP link from PE2 to PE1 has recovered to not exceed the set threshold, PE1 performs link switchback and switches the active LSP link from PE2 to PE1 to work again. link, and PE1 generates a link control packet to notify PE2 to perform link switchback.
下面结合图6说明本发明的优选实施例四。A fourth preferred embodiment of the present invention will be described below with reference to FIG. 6 .
图6中,PE1与PE2之间有两个中间节点,分别为P1和P2。In Fig. 6, there are two intermediate nodes between PE1 and PE2, namely P1 and P2.
P2检测从PE2到P2的LSP链路的误码率(假设为P2误码率),并通过链路控制报文将P2误码率传输至P1,其中,该链路控制报文的扩展误码字段中携带有P2误码率。P2 detects the bit error rate (BER) of the LSP link from PE2 to P2 (assumed to be the P2 BER), and transmits the P2 BER to P1 through the link control packet, wherein the extended error rate of the link control packet The bit error rate of P2 is carried in the code field.
P1检测从P2到P1的LSP链路的误码率(假设为P1误码率),并通过链路控制报文将P1误码率传输至PE1,同时将P2发送的链路控制报文转发至PE1,从而将P2误码率传输至PE1。P1 detects the bit error rate of the LSP link from P2 to P1 (assumed to be the bit error rate of P1), and transmits the bit error rate of P1 to PE1 through the link control message, and forwards the link control message sent by P2 to PE1, thereby transmitting the P2 BER to PE1.
PE1检测从P1到PE1的LSP链路的误码率(假设为PE1误码率),并基于P2误码率、P1误码率和PE1误码率,计算从PE2到PE1的LSP链路的误码率。PE1 detects the BER of the LSP link from P1 to PE1 (assumed to be the BER of PE1), and calculates the BER of the LSP link from PE2 to PE1 based on the BER of P2, the BER of P1, and the BER of PE1. BER.
PE1基于从PE2到PE1的LSP链路的误码率,判断是否需要执行链路切换。若从PE2到PE1的主用LSP链路的误码率超过设定阈值,并且存在一种从PE2到PE1的LSP链路的误码率低于设定阈值,则将该误码率低于设定阈值的LSP链路作为工作链路,并且PE1生成链路控制报文,通知PE2执行链路切换。PE1 judges whether to perform link switching based on the bit error rate of the LSP link from PE2 to PE1. If the bit error rate of the active LSP link from PE2 to PE1 exceeds the set threshold, and there is an LSP link from PE2 to PE1 whose bit error rate is lower than the set threshold, set the bit error rate lower than the set threshold. The LSP link with the threshold value is set as the working link, and PE1 generates a link control packet to notify PE2 to perform link switching.
在PE1确定从PE2到PE1的主用LSP链路的误码率恢复到不大于设定阈值的情况时,PE1执行链路回切,将从PE2到PE1的主用LSP链路重新切换为工作链路,并且PE1生成链路控制报文,通知PE2执行链路回切。When PE1 determines that the bit error rate of the active LSP link from PE2 to PE1 has recovered to not exceed the set threshold, PE1 performs link switchback and switches the active LSP link from PE2 to PE1 to work again. link, and PE1 generates a link control packet to notify PE2 to perform link switchback.
基于同一设计思路,本发明实施例还提供了一种链路切换装置。参阅图7所示,该装置包括:Based on the same design idea, the embodiment of the present invention also provides a link switching device. Referring to Figure 7, the device includes:
获取模块701,用于获取从远端BFD节点到本装置的每条链路的误码率;An acquisition module 701, configured to acquire the bit error rate of each link from the remote BFD node to the device;
选择模块702,用于选择误码率低于设定阈值的链路,作为工作链路;A selection module 702, configured to select a link with a bit error rate lower than a set threshold as a working link;
发送模块703,用于向该远端BFD节点发送该工作链路的标识,以使该远端BFD节点将接收到的标识对应的链路切换为工作链路。The sending module 703 is configured to send the identification of the working link to the remote BFD node, so that the remote BFD node switches the link corresponding to the received identification to a working link.
较佳地,上述获取模块701具体用于,在本装置与该远端BFD节点之间存在至少一个中间节点时,检测并获取本装置到与其相邻的中间节点之间的链路的第一类误码率;通过每一个中间节点发送的链路控制报文,获取从该中间节点的邻节点到该中间节点的链路的第二类误码率;针对每一条链路,基于该链路上的中间节点发送的链路控制报文上携带的第二类误码率,和检测到的第一类误码率,获取从远端BFD节点到本地BFD节点的链路的误码率。Preferably, the acquisition module 701 is specifically configured to, when at least one intermediate node exists between the present device and the remote BFD node, detect and obtain the first link between the present device and its adjacent intermediate node. class error rate; through the link control message sent by each intermediate node, obtain the second type bit error rate of the link from the adjacent node of the intermediate node to the intermediate node; for each link, based on the link The second type of bit error rate carried in the link control message sent by the intermediate node on the road, and the detected first type of bit error rate, to obtain the bit error rate of the link from the remote BFD node to the local BFD node .
较佳地,上述发送模块703,具体用于:Preferably, the above sending module 703 is specifically used for:
向上述远端BFD节点发送链路控制报文,上述链路控制报文中携带有链路的标识和扩展误码字段,上述扩展误码字段用以指示上述远端BFD节点将误码率低于设定阈值的链路作为工作链路。Send a link control message to the above-mentioned remote BFD node, the above-mentioned link control message carries the identification of the link and an extended bit error field, and the above-mentioned extended bit error field is used to indicate that the above-mentioned remote BFD node will lower the bit error rate The link above the set threshold is used as the working link.
较佳地,上述发送模块703进一步用于,在上述扩展误码字段中携带:Preferably, the above-mentioned sending module 703 is further configured to carry in the above-mentioned extended bit error field:
BERType字段、系数字段和幂指数字段,其中,上述BERType用以表征误码率是否超过阈值,上述系数字段和幂指数字段一起表示误码率的大小。A BERType field, a coefficient field, and a power index field, wherein the above-mentioned BERType is used to indicate whether the bit error rate exceeds a threshold, and the above-mentioned coefficient field and the power index field together indicate the size of the bit error rate.
较佳地,上述选择模块702,具体用于:Preferably, the above selection module 702 is specifically used for:
在确定误码率低于设定阈值的链路为多个链路时,选择主用链路作为工作链路。When it is determined that there are multiple links with a bit error rate lower than the set threshold, the active link is selected as the working link.
上述链路切换装置可以是服务商边缘路由器(ProviderEdge,PE)等设备。The foregoing link switching device may be a device such as a provider edge router (ProviderEdge, PE).
本发明的实施例提供一种BFD链路检测设备,参照图8所示包括:收发器801、处理器802、存储器803和总线804,该收发器801、处理器802和存储器803通过总线804连接并完成相互间的通信,其中:An embodiment of the present invention provides a BFD link detection device, which includes: a transceiver 801, a processor 802, a memory 803, and a bus 804 as shown in FIG. And complete the mutual communication, among which:
该总线804可以是工业标准体系结构(IndustryStandardArchitecture,ISA)总线、外部设备互连(PeripheralComponent,PCI)总线或扩展工业标准体系结构(ExtendedIndustryStandardArchitecture,EISA)总线等。该总线804可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条线表示,但并不表示仅有一根总线或一种类型的总线。The bus 804 may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, and the like. The bus 804 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one line is used in FIG. 8 , but it does not mean that there is only one bus or one type of bus.
存储器803用于存储程序代码,该程序代码包括操作指令。存储器803可能包括高速随机存储器(randomaccessmemory,RAM),也可能包括非易失性存储器(non-volatilememory),例如磁盘存储器。The memory 803 is used to store program codes including operation instructions. The memory 803 may include a high-speed random access memory (random access memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as a disk memory.
处理器802可能是一个中央处理器(CentralProcessingUnit,CPU),或者是特定集成电路(ApplicationSpecificIntegratedCircuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 802 may be a central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
收发器801,主要用于实现本实施例中的BFD链路检测设备与其它BFD节点之间通信数据的收发。The transceiver 801 is mainly used to implement the sending and receiving of communication data between the BFD link detection device in this embodiment and other BFD nodes.
具体地,收发器801,用于获取从远端BFD节点到本设备的每条链路的误码率。Specifically, the transceiver 801 is configured to obtain the bit error rate of each link from the remote BFD node to the device.
处理器802,用于调用存储器803中的程序代码,用以执行以下操作:The processor 802 is configured to call the program code in the memory 803 to perform the following operations:
选择误码率低于设定阈值的链路,作为工作链路;Select the link whose bit error rate is lower than the set threshold as the working link;
通过收发器801向该远端BFD节点发送该工作链路的标识,以使该远端BFD节点将接收到的标识对应的链路切换为工作链路。The identifier of the working link is sent to the remote BFD node through the transceiver 801, so that the remote BFD node switches the link corresponding to the received identifier as a working link.
收发器801还用于向该远端BFD节点发送该工作链路的标识。The transceiver 801 is also configured to send the identifier of the working link to the remote BFD node.
较佳地,上述处理器802具体用于,在本设备与该远端BFD节点之间存在至少一个中间节点时,检测并获取本设备到与其相邻的中间节点之间的链路的第一类误码率;Preferably, the above-mentioned processor 802 is specifically configured to detect and obtain the first link between the current device and its adjacent intermediate node when there is at least one intermediate node between the current device and the remote BFD node. class error rate;
通过收发器801接收每一个中间节点发送的链路控制报文,并从所述链路控制报文中获取从该中间节点的邻节点到该中间节点的链路的第二类误码率;receiving the link control message sent by each intermediate node through the transceiver 801, and obtaining the second type of bit error rate of the link from the adjacent node of the intermediate node to the intermediate node from the link control message;
针对每一条链路,基于该链路上的中间节点发送的链路控制报文上携带的第二类误码率,和检测到的第一类误码率,获取从远端BFD节点到本设备的链路的误码率。For each link, based on the second type of bit error rate carried in the link control message sent by the intermediate node on the link, and the detected first type of bit error rate, obtain the link from the remote BFD node to the local Bit error rate of the link of the device.
较佳地,上述处理器802在上述链路控制报文中携带链路的标识和扩展误码字段,上述扩展误码字段用以指示上述远端BFD节点将误码率低于设定阈值的链路作为工作链路。Preferably, the processor 802 carries the identification of the link and the extended bit error field in the link control message, and the extended bit error field is used to instruct the remote BFD node to lower the bit error rate below the set threshold. link as the working link.
较佳地,上述处理器802在上述扩展误码字段中携带BERType字段、系数字段和幂指数字段,其中,上述BERType用以表征误码率是否超过阈值,上述系数字段和幂指数字段一起表示误码率的大小。Preferably, the above-mentioned processor 802 carries a BERType field, a coefficient field, and a power index field in the above-mentioned extended bit error field, wherein the above-mentioned BERType is used to indicate whether the bit error rate exceeds a threshold, and the above-mentioned coefficient field and the power index field together represent an error rate. The size of the code rate.
较佳地,上述处理器802,具体用于:Preferably, the above-mentioned processor 802 is specifically used for:
在确定误码率低于设定阈值的链路为多个链路时,选择主用链路作为工作链路。When it is determined that there are multiple links with a bit error rate lower than the set threshold, the active link is selected as the working link.
本发明实施例中,为BFD链路检测设备(包括本地BFD节点和远端BFD节点)部署BFD误码检测功能,检测从本地BFD节点到远端BFD节点的链路的误码率,根据业务需要可以将误码率低于设定阈值的链路作为工作链路,选择性能较好的链路,减少概率性丢包故障的发生,提高数据传输的效率。In the embodiment of the present invention, the BFD error detection function is deployed for the BFD link detection device (including the local BFD node and the remote BFD node) to detect the bit error rate of the link from the local BFD node to the remote BFD node. It is necessary to use a link with a bit error rate lower than the set threshold as a working link, select a link with better performance, reduce the occurrence of probabilistic packet loss failures, and improve the efficiency of data transmission.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the 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 operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the present invention have been described, additional changes and modifications can be made to these embodiments by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. In this way, if the modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (15)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013078218 | 2013-06-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105765909A true CN105765909A (en) | 2016-07-13 |
Family
ID=56337155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201380000495.1A Pending CN105765909A (en) | 2013-06-27 | 2013-06-27 | Link switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105765909A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108430086A (en) * | 2017-02-13 | 2018-08-21 | 中国移动通信集团贵州有限公司 | A method and device for switching network links |
CN108989120A (en) * | 2018-08-01 | 2018-12-11 | 中国联合网络通信集团有限公司 | A kind of data transmission method and device |
CN109150761A (en) * | 2018-10-24 | 2019-01-04 | 新华三技术有限公司 | A kind of method and device of tunnel switching |
CN112073285A (en) * | 2019-06-10 | 2020-12-11 | 华为技术有限公司 | A method and related equipment for error notification |
WO2022116896A1 (en) * | 2020-12-03 | 2022-06-09 | 华为技术有限公司 | Path adjustment method and apparatus, and communication system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040230963A1 (en) * | 2003-05-12 | 2004-11-18 | Rothman Michael A. | Method for updating firmware in an operating system agnostic manner |
CN1606850A (en) * | 2001-03-12 | 2005-04-13 | 光网络公司 | Bandwidth reservation reuse in dynamically allocated ring protection and restoration technique |
CN101146095A (en) * | 2006-09-12 | 2008-03-19 | 华为技术有限公司 | Method and device for configuring link characteristics based on media-independent handover technology |
CN101217402A (en) * | 2008-01-15 | 2008-07-09 | 杭州华三通信技术有限公司 | A method to enhance the reliability of the cluster and a high reliability communication node |
CN101296126A (en) * | 2007-04-29 | 2008-10-29 | 华为技术有限公司 | A link fault notification method, interface management unit and router |
CN101340346A (en) * | 2008-08-11 | 2009-01-07 | 中兴通讯股份有限公司 | Ring control method and apparatus of Ethernet looped network system |
-
2013
- 2013-06-27 CN CN201380000495.1A patent/CN105765909A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1606850A (en) * | 2001-03-12 | 2005-04-13 | 光网络公司 | Bandwidth reservation reuse in dynamically allocated ring protection and restoration technique |
US20040230963A1 (en) * | 2003-05-12 | 2004-11-18 | Rothman Michael A. | Method for updating firmware in an operating system agnostic manner |
CN101146095A (en) * | 2006-09-12 | 2008-03-19 | 华为技术有限公司 | Method and device for configuring link characteristics based on media-independent handover technology |
CN101296126A (en) * | 2007-04-29 | 2008-10-29 | 华为技术有限公司 | A link fault notification method, interface management unit and router |
CN101217402A (en) * | 2008-01-15 | 2008-07-09 | 杭州华三通信技术有限公司 | A method to enhance the reliability of the cluster and a high reliability communication node |
CN101340346A (en) * | 2008-08-11 | 2009-01-07 | 中兴通讯股份有限公司 | Ring control method and apparatus of Ethernet looped network system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108430086A (en) * | 2017-02-13 | 2018-08-21 | 中国移动通信集团贵州有限公司 | A method and device for switching network links |
CN108989120A (en) * | 2018-08-01 | 2018-12-11 | 中国联合网络通信集团有限公司 | A kind of data transmission method and device |
CN109150761A (en) * | 2018-10-24 | 2019-01-04 | 新华三技术有限公司 | A kind of method and device of tunnel switching |
CN109150761B (en) * | 2018-10-24 | 2022-03-22 | 新华三技术有限公司 | Tunnel switching method and device |
CN112073285A (en) * | 2019-06-10 | 2020-12-11 | 华为技术有限公司 | A method and related equipment for error notification |
WO2020249033A1 (en) * | 2019-06-10 | 2020-12-17 | 华为技术有限公司 | Bit error notification method and related device |
JP2022536039A (en) * | 2019-06-10 | 2022-08-12 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Bit error reporting method and related devices |
JP7334392B2 (en) | 2019-06-10 | 2023-08-29 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Bit error reporting method and related devices |
US12348333B2 (en) | 2019-06-10 | 2025-07-01 | Huawei Technologies Co., Ltd. | Method for advertising bit error and related devices |
WO2022116896A1 (en) * | 2020-12-03 | 2022-06-09 | 华为技术有限公司 | Path adjustment method and apparatus, and communication system |
CN114666261A (en) * | 2020-12-03 | 2022-06-24 | 华为技术有限公司 | Path adjusting method and device and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8305882B2 (en) | Methods, systems, and computer program products for detecting and/or correcting faults in a multiprotocol label switching network by using redundant paths between nodes | |
CN103684835B (en) | Link fault reporting method and processing method, and transmission node and primary node | |
US10122618B2 (en) | Path switching method and device | |
CN103001799B (en) | Method and node for achieving redundancy on basis of chain network | |
CN105490932A (en) | Two-way forwarding detection method, device and system | |
CN102088415B (en) | Method and device for MAC (media access control) address withdrawal | |
EP2632081B1 (en) | Path switch-back method and apparatus in transport network | |
CN103560898B (en) | A kind of port status method to set up, the system of selection of port priority and device | |
CN105765909A (en) | Link switching method and device | |
CN109218107A (en) | Link switch-over method, device, the network equipment and network system | |
CN104518914B (en) | Link switch-over method and equipment | |
CN104796329A (en) | Automatic link switching method and automatic link switching device | |
CN102158383A (en) | Data transmission method, device and system for E1 bidirectional ring network | |
CN103428738B (en) | Detect the abnormal method of Remote Radio Unit link and Remote Radio Unit | |
EP3190753A1 (en) | Tunnel signal degradation notifying and switching method and apparatus, and computer storage medium | |
WO2015180265A1 (en) | Multi-link protection switching method and device | |
CN106161232A (en) | A kind of method and apparatus of protecting tunnel switching | |
CN112073285B (en) | Error code notification method and related equipment | |
CN103684955A (en) | Method, device and system for determining path where looped network breaks down | |
CN103117924B (en) | A kind of pretection switch method and apparatus | |
CN105530113A (en) | Method and device for realizing protection switching of spanning tree protocol | |
JP5542730B2 (en) | Communication system and switching device | |
CN108933732B (en) | Loop detection method, device and system | |
CN111901181A (en) | Processing method for error rate detection and related equipment | |
CN105812160B (en) | A kind of seamless redundant network mode adaptive method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160713 |