CN101163057B - Fault notifying method and apparatus, and service receiving method and apparatus - Google Patents
Fault notifying method and apparatus, and service receiving method and apparatus Download PDFInfo
- Publication number
- CN101163057B CN101163057B CN2007101873414A CN200710187341A CN101163057B CN 101163057 B CN101163057 B CN 101163057B CN 2007101873414 A CN2007101873414 A CN 2007101873414A CN 200710187341 A CN200710187341 A CN 200710187341A CN 101163057 B CN101163057 B CN 101163057B
- Authority
- CN
- China
- Prior art keywords
- side link
- user side
- information
- user
- message
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
本发明公开了一种故障通知方法和装置,以提高故障通知的有效性,该方法包括:在监测到传送业务的用户侧链路发生故障时,生成用户侧链路故障信息;通过所述用户侧链路连接的网络侧链路,发送所述用户侧链路故障信息;本发明还公开了一种业务接收方法及装置,以保证业务的顺利传递,该方法包括:接收用户侧链路故障信息;根据接收到的所述用户侧链路故障信息,切换到与业务发送端的正常用户侧链路连接的链路,接收所述业务。
The invention discloses a fault notification method and device to improve the effectiveness of the fault notification. The method includes: when a fault occurs on the user side link for transmitting services, generating user side link fault information; through the user The network side link connected by the side link sends the failure information of the user side link; the present invention also discloses a service receiving method and device to ensure the smooth delivery of the service. The method includes: receiving the user side link failure information information; according to the received user-side link failure information, switch to a link connected to a normal user-side link at the service sending end, and receive the service.
Description
技术领域 technical field
本发明涉及通信领域中的业务传递技术,尤其涉及一种故障通知方法和装置,以及业务接收方法和装置。 The present invention relates to the service transfer technology in the communication field, in particular to a fault notification method and device, and a service receiving method and device. the
背景技术Background technique
随着以太网技术在企业网、城域网及广域网等网络内的大规模应用,传统以太网可维护、可运营能力较弱的缺点逐渐明显,使得在业务传递过程中,如何对业务进行有效保护,日益成为业界关注的重点。 With the large-scale application of Ethernet technology in networks such as enterprise networks, metropolitan area networks, and wide area networks, the shortcomings of traditional Ethernet, such as maintainability and weak operability, have gradually become apparent. Protection has increasingly become the focus of the industry. the
图1为用户侧设备双归属接入网络侧的场景示意图,图中用户侧(CE,Customer Edge)设备1通过用户侧链路,分别连接到网络侧(PE,Provider Edge)设备1及PE3,PE1及PE3通过主、备用隧道,分别连接到PE2。所述隧道为MAC in MAC隧道,它是一种安全性、传输性均较佳的网络侧链路。 Figure 1 is a schematic diagram of a scenario where a user-side device is dual-homed to access the network side. In the figure, the user-side (CE, Customer Edge) device 1 is connected to the network-side (PE, Provider Edge) device 1 and PE3 respectively through a user-side link. PE1 and PE3 are respectively connected to PE2 through the primary tunnel and the backup tunnel. The tunnel is a MAC in MAC tunnel, which is a network-side link with better security and transmission performance. the
业务以报文形式在用户侧链路及网络侧链路传递,称为业务报文。所述业务报文在传递出用户侧链路以后,基于IEEE802.1ah协议定义的MAC in MAC技术,PE1将所述业务报文封装进隧道。在封装过程中,所述业务将映射出相应的I-tag值,根据业务的I-tag值,即可识别出所述业务。 Services are transmitted on user-side links and network-side links in the form of packets, which are called service packets. After the service message is transmitted out of the user-side link, based on the MAC in MAC technology defined by the IEEE802.1ah protocol, PE1 encapsulates the service message into the tunnel. During the encapsulation process, the service will be mapped to a corresponding I-tag value, and the service can be identified according to the I-tag value of the service. the
业务报文在所述用户侧链路及网络侧链路传递时,网络侧链路及用户侧链路均可能发生故障。 When the service message is transmitted on the user-side link and the network-side link, both the network-side link and the user-side link may fail. the
对于网络侧链路,在图1中是主用隧道和备用隧道。现有技术通常基于802.1ag协议或Y.1731协议,检测所述隧道的连通性。检测的方式通常为:在隧道两端定期发送探测报文,以实现实时监测,所述报文形式有多种,例如802.1ag协议或Y.1731协议中连通性检测报文(CCM,Continuity Check Message)。 For the link on the network side, in Figure 1 there are active tunnels and backup tunnels. The existing technology usually detects the connectivity of the tunnel based on the 802.1ag protocol or the Y.1731 protocol. The detection method is usually: periodically sending detection messages at both ends of the tunnel to realize real-time monitoring. Message). the
当主用隧道发生故障时,基于所述CCM故障报文,PE2可以获知该隧道出现故障。但是对于用户侧故障,如果传递业务的用户侧链路CE1至PE1发生故障,虽然CE1可以获知所述故障信息,由于目前缺乏一种将所述业务所在 的用户侧链路故障通知给PE2的方法,因此PE2无法获知所述业务所在的用户侧故障信息,降低了故障通知的有效性。 When the active tunnel fails, based on the CCM failure message, PE2 can learn that the tunnel fails. However, for a user-side failure, if the user-side link CE1 to PE1 that transmits the service fails, although CE1 can learn the failure information, there is currently no way to notify PE2 of the failure of the user-side link where the service is located. , so PE2 cannot know the fault information on the user side where the service is located, which reduces the effectiveness of the fault notification. the
图2为用户侧设备间的业务通过网络传输的场景示意图,该场景与图1所示的场景相似,也存在类似问题:在用户侧链路CE1至PE1出现故障时,由于目前缺乏一种将所述用户侧链路故障通知给CE2的方法,CE2无法获知用户侧链路CE1至PE1出现故障。 Figure 2 is a schematic diagram of a scenario where services between user-side devices are transmitted through the network. In the method of notifying CE2 of the failure of the user-side link, CE2 cannot know that the failure of the user-side link CE1 to PE1 occurs. the
发明内容Contents of the invention
本发明实施例提供一种故障通知方法及装置,以提高故障通知的有效性。 Embodiments of the present invention provide a fault notification method and device to improve the effectiveness of fault notification. the
本发明实施例提供了一种故障通知方法,包括:在监测到传送业务的用户侧链路发生故障时,生成用户侧链路故障信息,所述用户侧链路故障信息包含在连通性检测报文CCM中,所述CCM包括用于判断是否为用户侧链路故障报文的报文类型识别信息、用于指示链路是否出现故障的故障指示信息、及发生故障的用户侧链路上传送的业务对应的业务标识信息;通过所述用户侧链路连接的网络侧链路,发送所述用户侧链路故障信息到业务接收端,使所述业务接收换端基于用户侧链路故障信息,采取相应处理措施,所述CCM以预先配置的频率定时发送; An embodiment of the present invention provides a fault notification method, including: generating user-side link fault information when a fault occurs on the user-side link that transmits services, and the user-side link fault information is included in the connectivity detection report. In the text CCM, the CCM includes message type identification information for judging whether it is a user-side link failure message, failure indication information for indicating whether a link fails, and a message transmitted on the user-side link where the failure occurs. The service identification information corresponding to the service; through the network side link connected to the user side link, send the user side link fault information to the service receiving end, so that the service receiving terminal is switched based on the user side link fault information , to take corresponding processing measures, and the CCM is regularly sent at a pre-configured frequency;
所述CCM为802.1ag协议的CCM或Y.1731协议的CCM,其中通过预留的报文识别码opcode表示所述报文类型识别信息,通过远程故障指示标志位RDI表示所述故障指示信息,通过TLV字段携带所述业务标识信息,其中T用于规定该TLV字段的类型,L用于规定读取的V的长度,V可以携带用户指定的信息。 The CCM is the CCM of the 802.1ag protocol or the CCM of the Y.1731 protocol, wherein the message type identification information is represented by the reserved message identification code opcode, and the fault indication information is represented by the remote fault indication flag bit RDI, The service identification information is carried through the TLV field, where T is used to specify the type of the TLV field, L is used to specify the length of the read V, and V can carry information specified by the user. the
本发明实施例还提供了一种故障通知装置,包括:故障信息生成单元,用于在监测到传送业务的用户侧链路发生故障时,生成用户侧链路故障信息,所述故障信息生成单元生成的用户侧链路故障信息,基于连通性检测报文的形式CCM表示,所述CCM包括用于判断是否为用户侧链路故障报文的报文类型识别信息、用于指示链路是否出现故障的故障指示信息、及发生故障的用户侧链路上传送的业务对应的业务标识信息;所述CCM为802.1ag协议的CCM或Y.1731协议的CCM,其中通过预留的报文识别码opcode表示所述报文类型识 别信息,通过远程故障指示标志位RDI表示所述故障指示信息,通过TLV字段携带所述业务标识信息,其中T用于规定该TLV字段的类型,L用于规定读取的V的长度,V可以携带用户指定的信息; The embodiment of the present invention also provides a fault notification device, including: a fault information generating unit, configured to generate user-side link fault information when a fault occurs on the user-side link that transmits services, the fault information generating unit The generated user-side link failure information is expressed based on the form CCM of the connectivity detection message, and the CCM includes message type identification information for judging whether it is a user-side link failure message, and is used to indicate whether the link occurs. The fault indication information of the fault, and the service identification information corresponding to the service transmitted on the user side link where the fault occurs; the CCM is the CCM of the 802.1ag protocol or the CCM of the Y.1731 protocol, wherein the reserved message identification code The opcode represents the message type identification information, the fault indication information is represented by the remote fault indication flag bit RDI, and the service identification information is carried by the TLV field, wherein T is used to specify the type of the TLV field, and L is used to specify The length of V read, V can carry information specified by the user;
故障信息发送单元,用于通过所述用户侧链路连接的网络侧链路,发送所述故障信息生成单元生成的用户侧链路故障信息到业务接收端,使所述业务接收换端基于用户侧链路故障信息,采取相应处理措施,所述CCM以预先配置的频率定时发送。 The fault information sending unit is used to send the user side link fault information generated by the fault information generating unit to the service receiving end through the network side link connected to the user side link, so that the service receiving and switching end is based on the user side link failure information, take corresponding processing measures, and the CCM sends it regularly at a pre-configured frequency. the
本发明实施例还提供了一种业务接收方法及装置,以保证业务的顺利传递。本发明实施例还提供了一种业务接收方法,包括:业务接收端接收基于连通性检测报文CCM的形式表示的用户侧链路故障信息,所述CCM包括用于判断是否为用户侧链路故障报文的报文类型识别信息、用于指示链路是否出现故障的故障指示信息、及发生故障的用户侧链路上传送的业务对应的业务标识信息;所述CCM为802.1ag协议的CCM或Y.1731协议的CCM,其中通过预留的报文识别码opcode表示所述报文类型识别信息,通过远程故障指示标志位RDI表示所述故障指示信息,通过TLV字段携带所述业务标识信息;所述业务接收端根据接收到的连通性检测报文中的报文类型识别信息判断出该报文为用户侧链路故障报文,根据故障指示信息确定链路出现故障时,根据业务标识信息,切换到与业务发送端的正常用户侧链路连接的链路,接收与所述业务标识信息对应的所述业务,其中T用于规定该TLV字段的类型,L用于规定读取的V的长度,V可以携带用户指定的信息。 The embodiment of the present invention also provides a service receiving method and device to ensure smooth service delivery. The embodiment of the present invention also provides a service receiving method, including: the service receiving end receives user-side link failure information expressed in the form of a connectivity detection message (CCM), and the CCM includes information for judging whether it is a user-side link. The message type identification information of the fault message, the fault indication information used to indicate whether the link is faulty, and the service identification information corresponding to the service transmitted on the user side link where the fault occurs; the CCM is the CCM of the 802.1ag protocol Or the CCM of the Y.1731 protocol, wherein the message type identification information is represented by the reserved message identification code opcode, the fault indication information is represented by the remote fault indication flag bit RDI, and the service identification information is carried by the TLV field ; The service receiving end determines that the message is a user side link failure message according to the message type identification information in the received connectivity detection message, and when determining that the link fails according to the fault indication information, according to the service identification Information, switch to the link connected to the normal user-side link of the service sending end, and receive the service corresponding to the service identification information, where T is used to specify the type of the TLV field, and L is used to specify the read V The length of V can carry user-specified information. the
本发明实施例还提供了一种业务接收装置,包括: The embodiment of the present invention also provides a service receiving device, including:
接收单元,用于接收基于连通性检测报文CCM的形式表示的用户侧链路故障信息;所述CCM包括用于判断是否为用户侧链路故障报文的报文类型识别信息、用于指示链路是否出现故障的故障指示信息、及发生故障的用户侧链路上传送的业务对应的业务标识信息;所述CCM为802.1ag协议的CCM或Y.1731协议的CCM,其中通过预留的报文识别码opcode表示所述报文类型识别信息,通过远程故障指示标志位RDI表示所述故障指示信息,通过TLV字段携带所述业务标识信息,其中T用于规定该TLV字段的类型,L用于规定 读取的V的长度,V可以携带用户指定的信息; The receiving unit is configured to receive user-side link failure information expressed in the form of a connectivity detection message CCM; the CCM includes message type identification information for judging whether it is a user-side link failure message, and is used to indicate The fault indication information of whether the link fails, and the service identification information corresponding to the service transmitted on the user side link where the fault occurs; the CCM is the CCM of the 802.1ag protocol or the CCM of the Y.1731 protocol, wherein the reserved The message identification code opcode represents the message type identification information, the fault indication information is represented by the remote fault indication flag bit RDI, and the service identification information is carried by the TLV field, wherein T is used to specify the type of the TLV field, and L It is used to specify the length of V read, and V can carry information specified by the user;
切换单元,用于在所述接收单元接收到用户侧链路故障信息后,根据连通性检测报文中的报文类型识别信息判断出该报文为用户侧链路故障报文,根据报文类型识别信息确定链路出现故障时,根据业务标识信息切换到与业务发送端的正常用户侧链路连接的链路,接收与所述业务标识信息对应的所述业务。 The switching unit is configured to determine that the message is a user-side link failure message according to the message type identification information in the connectivity detection message after the receiving unit receives the user-side link failure message, and according to the message When the type identification information determines that the link fails, switch to the link connected to the normal user-side link of the service sending end according to the service identification information, and receive the service corresponding to the service identification information. the
本发明实施例通过在用户侧链路发生故障时,生成用户侧链路故障信息,并通过该用户侧链路连接的网络侧链路,发送该用户侧链路故障信息,从而实现了及时通知该用户侧链路故障的目的,提高了故障通知的有效性。 In the embodiment of the present invention, when the user-side link fails, the user-side link fault information is generated, and the user-side link fault information is sent through the network-side link connected to the user-side link, thereby realizing timely notification The purpose of the user-side link failure is to improve the effectiveness of failure notification. the
本发明实施例通过在接收到用户侧链路故障信息后,根据接收到的所述用户侧链路故障信息,切换到与业务发送端的正常用户侧链路连接的链路,接收所述业务,从而实现了顺利接收业务的目的,保证了业务的顺利传递。 In the embodiment of the present invention, after receiving the user-side link failure information, according to the received user-side link failure information, switching to the link connected to the normal user-side link of the service sending end to receive the service, In this way, the purpose of receiving business smoothly is realized, and the smooth delivery of business is guaranteed. the
附图说明Description of drawings
图1为用户侧设备双归属接入网络侧的场景示意图; Figure 1 is a schematic diagram of a scenario where a user-side device is dual-homing to access the network side;
图2为用户侧设备间的业务通过网络传输的场景示意图; Figure 2 is a schematic diagram of a scenario where services between user-side devices are transmitted through the network;
图3为本发明实施例提出的第二种故障通知方法的流程图; Fig. 3 is the flowchart of the second fault notification method proposed by the embodiment of the present invention;
图4为本发明第一实施例的场景示意图; Fig. 4 is the schematic diagram of the scene of the first embodiment of the present invention;
图5为本发明第二实施例的场景示意图; Figure 5 is a schematic diagram of the scene of the second embodiment of the present invention;
图6为本发明实施例提出的故障通知装置的结构示意图; Fig. 6 is the structural representation of the failure notification device that the embodiment of the present invention proposes;
图7为本发明实施例提出的故障信息生成单元的结构示意图; Fig. 7 is the structural representation of the fault information generation unit that the embodiment of the present invention proposes;
图8为本发明实施例提出的业务切换装置的结构示意图; Figure 8 is a schematic structural diagram of a service switching device proposed in an embodiment of the present invention;
图9为本发明实施例提出的切换单元的结构示意图。 FIG. 9 is a schematic structural diagram of a switching unit proposed by an embodiment of the present invention. the
具体实施方式Detailed ways
针对背景技术提及的问题,本发明实施例提出:在用户侧链路出现故障时,生成表明该用户侧链路发生故障的用户侧链路故障信息,并基于该用户侧链路连接的网络侧链路,发送该用户侧链路故障信息,从而实现了及时通知该用户侧链路故障的目的,提高了故障通知的有效性。 In view of the problems mentioned in the background technology, the embodiment of the present invention proposes: when the user-side link fails, generate user-side link failure information indicating that the user-side link fails, and based on the network connected to the user-side link The side link sends the failure information of the user-side link, thereby achieving the purpose of timely notifying the user-side link failure and improving the effectiveness of failure notification. the
所述网络侧链路的两端均可以连接一条或者多条用户侧链路,其中一端连接的用户侧链路为业务发送端的用户侧链路,另一端连接的用户侧链路为业务 接收端的用户侧链路。 Both ends of the network-side link can be connected to one or more user-side links, wherein the user-side link connected to one end is the user-side link of the service sending end, and the user-side link connected to the other end is the user-side link of the service receiving end. user-side link. the
在业务发送端的用户侧链路发生故障时,基于所述网络侧链路,由连接所述业务发送端的用户侧链路,及该网络侧链路的设备,将该用户侧链路故障通知给相应处理方,例如通知给业务切换端,用于在当前链路发生故障时,切换到其他正常链路上传送业务。下面即以将用户侧链路故障通知给业务切换端为例,阐述本发明实施例提出的故障通知方法。 When the user-side link of the service sending end fails, based on the network-side link, the user-side link connected to the service sending end and the equipment connected to the network-side link will notify the user-side link of the failure to the The corresponding processing party, for example, notifies the service switching end to switch to other normal links to transmit services when the current link fails. The fault notification method proposed in the embodiment of the present invention will be described below by taking the notification of the user-side link fault to the service switching end as an example. the
所述业务切换端既可以是连接所述网络侧链路,及所述业务接收端的用户侧链路的设备,例如图1中的PE2;也可以是业务接收端,例如图2中CE2,通过用户侧链路,连接到该网络侧链路;或者是通过业务接收端的用户侧链路,连接到该网络侧链路的其他设备。 The service switching end may be a device connecting the network side link and the user side link of the service receiving end, such as PE2 in FIG. 1; it may also be a service receiving end, such as CE2 in FIG. 2, through The user-side link is connected to the network-side link; or is connected to other devices on the network-side link through the user-side link of the service receiving end. the
如果有多个业务发送端通过多条用户侧链路,向该网络侧链路传入业务,则在向业务切换端,通知业务发送端的用户侧链路故障时,还需要通知业务切换端,具体是哪一条用户侧链路发生故障,从而可以使业务切换端基于该业务发送端的用户侧链路故障通知,采取相应处理措施; If multiple service sending ends transmit services to the network side link through multiple user-side links, when notifying the service switching end of the user-side link failure of the service sending end, it is also necessary to notify the service switching end, Specifically which user-side link fails, so that the service switching end can take corresponding measures based on the user-side link failure notification of the service sending end;
而如果仅有一个业务发送端通过一条用户侧链路,向该网络侧链路传入业务,则包含两种情况: However, if only one service sender transmits services to the network-side link through a user-side link, there are two situations:
一、业务切换端是连接所述网络侧链路,及所述业务接收端的用户侧链路的设备,此时,仅仅需要向业务切换端通知业务发送端的用户侧链路发生故障,而无需通知具体是哪一条用户侧链路发生故障,由于仅连接一条用户侧链路,业务切换端在获知用户侧链路发生故障时,自然可以知道是哪一条用户侧链路发生故障,继而可以基于所述故障通知,采取相应处理措施。 1. The service switching end is a device that connects the network side link and the user side link of the service receiving end. At this time, it is only necessary to notify the service switching end that the user side link of the service sending end has failed, without notifying Specifically which user-side link is faulty, since only one user-side link is connected, when the service switching end learns that the user-side link is faulty, it can naturally know which user-side link is faulty, and then can Notify the fault above, and take corresponding measures. the
二、当业务切换端为基于业务接收端的用户侧链路,与该网络侧链路连接的设备(包括业务接收端)时,也有两种情况: 2. When the service switching end is based on the user-side link of the service receiving end and is connected to the network-side link (including the service receiving end), there are also two situations:
1、如果有多个业务接收端通过多条用户侧链路,接收该网络侧链路传出的业务时,则在向业务切换端,通知业务发送端的用户侧链路故障时,也需要通知业务切换端,具体是哪一条用户侧链路发生故障; 1. If multiple service receivers receive services from the network-side link through multiple user-side links, when the service switching terminal is notified of the failure of the user-side link at the service sender, it also needs to be notified Service switching end, specifically which user-side link fails;
2、而如果仅有一个业务接收端通过一条用户侧链路,接收该网络侧链路传出的业务时,则在向业务切换端,通知业务发送端的用户侧链路故障时,仅需要通知业务发送端的用户侧链路发生故障,而无需通知具体是哪一条用户侧链路发生故障。 2. If only one service receiving end receives the service transmitted by the network side link through a user side link, when notifying the service switching end of the failure of the user side link of the service sending end, it only needs to notify If the user-side link at the service sending end fails, there is no need to notify which user-side link has failed. the
综合上述情况,本发明实施例提出的故障通知方法可以分为两种: Based on the above situation, the fault notification method proposed by the embodiment of the present invention can be divided into two types:
第一种:不需要向业务切换端,通知具体是哪一条业务发送端的用户侧链路发生故障的方法,适用于仅有一个业务发送端通过一条用户侧链路,向网络侧链路传入业务,以及仅有一个业务接收端通过一条用户侧链路,接收网络侧链路传出的业务的情况; The first method: there is no need to notify the service switching end of which user-side link of the service sending end fails. It is applicable to only one service sending end passing through a user-side link to the network-side link. business, and only one service receiving end receives the business transmitted by the network side link through a user side link;
第二种:需要向业务切换端,通知具体是哪一条业务发送端的用户侧链路发生故障的方法,适用于存在多个业务发送端或者多个业务接收端通过多条用户侧链路,接入该网络侧链路的情况。 The second method: It is necessary to notify the service switching end of which user-side link of the service sending end has failed. It is applicable to multiple service sending ends or multiple service receiving Into the situation of the link on the network side. the
下面结合说明书附图,主要阐述第二种故障通知方法,即需要向业务切换端,通知具体是哪一条业务发送端的用户侧链路发生故障的方法,至于第一种故障通知方法,将在阐述所述第二种故障通知方法时,加以说明。 The following describes the second fault notification method in conjunction with the drawings in the description, that is, the method of notifying the service switching end of which user-side link of the service sending end has failed. As for the first fault notification method, it will be described in Describe the second fault notification method. the
图3为本发明实施例提出的第二种故障通知方法的流程图,由该图可知,基于上述设计思路,本发明实施例提出的第二种故障通知方法,包括如下步骤: Fig. 3 is a flow chart of the second fault notification method proposed by the embodiment of the present invention. It can be seen from the figure that based on the above design idea, the second fault notification method proposed by the embodiment of the present invention includes the following steps:
步骤1,监测业务发送端传送业务的用户侧链路; Step 1, monitor the user-side link of the service sending end to transmit the service;
监测的方式可以采用连通性监测方式,例如802.3ah方式,也可以采用其他现有监测方式。 The monitoring method may adopt a connectivity monitoring method, such as an 802.3ah method, or other existing monitoring methods. the
步骤2,在所述用户侧链路发生故障时,获取与所述业务对应的业务标识信息;
所述业务标识信息包括多种类型,例如业务对应的I-tag值,凡是能够用于标识所述业务的标识信息均可以作为业务标识信息。 The service identification information includes multiple types, such as the I-tag value corresponding to the service, and any identification information that can be used to identify the service can be used as the service identification information. the
根据业务标识信息的类型不同,获取所述业务标识的方式也存在多种。例如对于I-tag值,由于在业务报文由用户侧链路封装进入网络侧链路时,连接所述用户侧链路及网络侧链路的网络侧设备,将根据不同的业务报文,映射并存储相应的I-tag信息,因此此时所述获取业务标识信息方式即为: According to different types of service identification information, there are also multiple ways to obtain the service identification. For example, for the I-tag value, because when the service message is encapsulated by the user-side link into the network-side link, the network-side equipment connected to the user-side link and the network-side link will, according to different service messages, Map and store the corresponding I-tag information, so the way to obtain the service identification information at this time is:
所述连接用户侧链路及网络侧链路的网络侧设备,在监测到所述用户侧链路发生故障时,在自身数据库内读取所述I-tag值。 The network-side device connected to the user-side link and the network-side link reads the I-tag value in its own database when detecting that the user-side link fails. the
步骤3,基于所述业务标识信息,生成用于表明所述业务所在的用户侧链路出现故障的用户侧链路故障信息;
所述生成的用户侧链路故障信息可以包含所述业务标识信息; The generated user-side link failure information may include the service identification information;
对于有多条用户侧链路发生故障的情况,基于每一个用户侧链路故障信息内包含的业务标识的数目不同,生成用户侧链路故障信息可以有多种方式。例如:假设有1000条用户侧链路发生故障,可以生成2个用户侧链路故障信息,每一个用户侧链路故障信息分别包含500个业务标识信息。另外也可以只生成一个用户侧链路故障信息,该用户侧链路故障信息内包含1000个所述业务标识信息。 For the situation that multiple user-side links fail, based on the number of service identifiers contained in each user-side link failure information, there may be multiple ways to generate the user-side link failure information. For example, assuming that 1000 user-side links fail, two pieces of user-side link failure information can be generated, and each piece of user-side link failure information contains 500 service identification information respectively. In addition, only one user-side link failure information may be generated, and the user-side link failure information includes 1000 pieces of service identification information. the
所述用户侧链路故障信息可以采用多种形式,例如802.1ag协议或Y.1731协议中CCM报文形式,或者其他报文形式。 The user-side link failure information may be in various forms, for example, in the form of a CCM message in the 802.1ag protocol or the Y.1731 protocol, or in other message forms. the
上述步骤2和步骤3主要是针对有多个业务发送端,通过多条用户侧链路,向该网络侧链路传入业务,或者多个业务接收端,通过多条用户侧链路,接收该网络侧链路传出的业务的情况提出的,虽然也可以应用于仅有一个业务发送端通过一条用户侧链路,向该网络侧链路传入业务,以及仅有一个业务接收端通过一条用户侧链路,接收该网络侧链路传出的业务的情况,但是此时所述用户侧链路故障信息是可以不用包含业务标识信息的,此时该用户侧链路故障信息,仅需要使得业务切换端在接收到所述用户侧链路故障信息时,获知用户侧链路发生故障即可。
The
步骤4,将所述用户侧链路故障信息,基于所述网络侧链路,发送给所述业务的业务切换端。 Step 4: Send the user-side link failure information to the service switching end of the service based on the network-side link. the
所述网络侧链路既可以是静态Mac in Mac隧道,也可以是其他类型链路。 The network side link can be a static Mac in Mac tunnel or other types of links. the
下面结合具体实施例详细阐述上述流程的实现过程,较佳的,实施例中采用业务对应的I-tag信息作为业务标识信息,所述网络侧链路为静态Mac in Mac 隧道,所述业务切换端为PE2,以及所述用户侧链路故障信息以CCM用户侧链路故障报文形式表示。 The implementation process of the above-mentioned process is described in detail below in conjunction with specific embodiments. Preferably, the I-tag information corresponding to the business is used as the service identification information in the embodiment, and the network side link is a static Mac in Mac tunnel, and the service switching The end is PE2, and the user-side link failure information is expressed in the form of a CCM user-side link failure message. the
如果CCM报文包括如下三个信息,则可使业务切换端能够获知哪一个业务所在的用户侧链路出现故障: If the CCM message includes the following three pieces of information, the service switching end can know which service is located on the user-side link where the failure occurs:
报文类型识别信息,基于该信息,可以判断出所述报文类型,例如可以判断出所述报文为用户侧链路故障报文; Message type identification information, based on this information, the message type can be judged, for example, it can be judged that the message is a user-side link failure message;
故障指示信息,基于该信息,可以判断出链路是否发生故障; Fault indication information, based on this information, it can be judged whether the link is faulty;
故障识别信息,基于该信息,可以判断出具体是哪一个业务所在的用户侧链路发生故障。 Fault identification information. Based on the information, it can be determined which specific service is located on the user-side link where the fault occurs. the
对于仅有一个业务发送端通过一条用户侧链路,向网络侧链路传入业务,以及仅有一个业务接收端通过一条用户侧链路,接收网络侧链路传出的业务的情况,所述故障识别信息可以省略,由于仅连接一条用户侧链路,因此业务切换端完全可以根据故障指示信息及报文类型识别信息,获知该用户侧链路发生故障的消息。 For the case where there is only one service sender that transmits services to the network side link through one user-side link, and only one service receiver that receives services from the network-side link through one user-side link, the The above fault identification information can be omitted. Since only one user-side link is connected, the service switching end can completely know the failure message of the user-side link according to the fault indication information and message type identification information. the
在本实施例中,802.1ag协议或Y.1731协议的CCM报文可以采用如下方式,以包含所述三类信息。 In this embodiment, the CCM message of the 802.1ag protocol or the Y.1731 protocol may adopt the following manner to include the three types of information. the
1、802.1ag协议的CCM报文: 1. CCM message of 802.1ag protocol:
所述802.1ag协议的CCM报文采用报文识别码(opcode),标识报文类型,其中用户可以在预留的opcode值(6-255)内,选取任意一个值,标识用户传递的报文的类型。 The CCM message of the 802.1ag protocol uses a message identification code (opcode) to identify the message type, wherein the user can select any value in the reserved opcode value (6-255) to identify the message delivered by the user type. the
因此,为传递用户侧链路故障,可以在6-255内,任意选择一个值,作为CCM用户侧链路故障报文的报文类型识别信息。 Therefore, in order to transmit the user-side link failure, any value within 6-255 can be selected arbitrarily as the message type identification information of the CCM user-side link failure message. the
所述CCM用户侧链路故障报文可以使用远程故障指示标志位(RDI,Remote Defect Indication)来指示链路是否发生故障,例如在RDI值为0代表链路无故障,RDI值为1代表链路发生故障; The CCM user side link failure message can use a remote failure indication flag (RDI, Remote Defect Indication) to indicate whether the link fails, for example, the RDI value is 0 to represent the link without failure, and the RDI value is 1 to represent the link. road failure;
CCM报文包含TLV字段,所述TLV字段可以携带用户指定的信息。TLV 字段由三部分构成:T+L+V;其中T用于规定该TLV字段的类型,L用于规定读取的V的长度,V可以携带用户指定的信息。 The CCM message includes a TLV field, and the TLV field may carry user-specified information. The TLV field consists of three parts: T+L+V; where T is used to specify the type of the TLV field, L is used to specify the length of the read V, and V can carry user-specified information. the
因此本实施例中,所述CCM用户侧链路故障报文可以通过在其TLV字段内携带I-tag值,指示与该I-tag值相对应的业务所在的链路。 Therefore, in this embodiment, the CCM user side link failure message may carry an I-tag value in its TLV field to indicate the link where the service corresponding to the I-tag value is located. the
其中TLV字段携带I-tag值的方式有多种,例如可以采用如下方式: There are many ways to carry the I-tag value in the TLV field, for example, the following ways can be used:
a,一个TLV字段内同时携带多个I-tag值,如T+L+itag1+itag2。 a. A TLV field carries multiple I-tag values at the same time, such as T+L+itag1+itag2. the
b,多个TLV字段分别携带I-tag值,如T+L+itag1,以及T+L+itag2。 b. Multiple TLV fields respectively carry I-tag values, such as T+L+itag1 and T+L+itag2. the
2、Y.1731协议的CCM报文: 2. CCM message of Y.1731 protocol:
与802.1ag协议的CCM报文类似,所述Y.1731协议的CCM报文可以使用任意一个6-31、64-255预留opcode值,识别该CCM报文的类型; Similar to the CCM message of the 802.1ag protocol, the CCM message of the Y.1731 protocol can use any 6-31, 64-255 reserved opcode value to identify the type of the CCM message;
所述CCM故障报文也可以采用RDI标志位来指示链路是否发生故障; The CCM failure message can also use the RDI flag to indicate whether the link fails;
所述CCM故障报文也可以通过在TLV字段内携带I-tag的值,指示与该I-tag值相对应的业务所在的链路; The CCM failure message may also indicate the link where the service corresponding to the I-tag value is located by carrying the value of the I-tag in the TLV field;
所述TLV字段的组织方式与802.1ag协议的TLV字段组织方式类似。 The organization manner of the TLV field is similar to the organization manner of the TLV field of the 802.1ag protocol. the
图4为本发明第一实施例的场景示意图,图中所示的CE1、CE2及CE3分别通过用户侧链路CE1-PE1、CE2-PE1及CE3-PE1,将业务报文1、业务报文2及业务报文3传递至PE1,PE1再将接收到的业务报文1至3封装进隧道PE1-PE2,并通过该隧道传递给业务切换端PE2,最后由PE2传递给后续业务接收端。
Fig. 4 is a schematic diagram of the scene of the first embodiment of the present invention. CE1, CE2 and CE3 shown in the figure transmit service message 1,
如背景技术所述的封装过程,在封装业务报文1至3时,PE1根据业务1至3分别映射出I-tag1、I-tag2及I-tag3的值,并将所述I-tag1、I-tag2及I-tag3的值保存在PE1内。 According to the encapsulation process described in the background technology, when encapsulating service packets 1 to 3, PE1 maps the values of I-tag1, I-tag2, and I-tag3 according to services 1 to 3 respectively, and The values of I-tag2 and I-tag3 are stored in PE1. the
假设CE1-PE1链路发生故障,那么PE1获取保存的I-tag1的值,并基于该I-tag1的值生成CCM故障报文,所述CCM故障报文包含RDI标志、携带I-tag1值的TLV字段及识别该报文类型的opcode值。 Assuming that the CE1-PE1 link fails, PE1 obtains the stored I-tag1 value, and generates a CCM fault message based on the I-tag1 value. The CCM fault message contains the RDI flag and carries the I-tag1 value. The TLV field and the opcode value identifying the packet type. the
其中该opcode值代表该报文为携带I-tag信息的用户侧链路故障报文,RDI 标志位取值1代表链路发生故障;然后PE1以预先配置的频率定时将所述CCM故障报文发送给PE2; The opcode value represents that the message is a user-side link failure message carrying I-tag information, and the value of the RDI flag bit is 1 to represent a link failure; then PE1 regularly transmits the CCM failure message at a pre-configured frequency send to PE2;
PE2在接收到该CCM故障报文以后,根据opcode预留值,判断出该报文为携带I-tag信息的用户侧链路故障报文;并进一步根据I-tag1的值,及RDI标志位的值为1,判断出业务1所在的用户侧链路出现故障; After receiving the CCM failure message, PE2 judges that the message is a user-side link failure message carrying I-tag information according to the reserved value of the opcode; further, according to the value of I-tag1 and the RDI flag The value of is 1, and it is judged that the user-side link where business 1 is located is faulty;
同理,假设在t1+n时刻,CE2-PE1链路也发生故障,则处理过程与上述过程类似,区别在于,此时所述CCM故障报文在所述TLV字段内还可以增加携带I-tag2的值;PE2可以根据该I-tag2的值,及RDI标志位为1判断出业务2所在的用户侧链路CE2-PE1也出现故障;
Similarly, assuming that at time t1+n, the CE2-PE1 link also fails, the processing process is similar to the above process, the difference is that at this time, the CCM failure message can also add an I- The value of tag2; PE2 can judge that the user-side link CE2-PE1 where
同理,假设在t1+n+m时刻,CE3-PE1链路也发生故障,则所述CCM故障报文可以在所述TLV字段内可以携带I-tag1、I-tag2和I-tag3三个值,以及结合RDI标志位为1,表明业务1至3所在的用户侧链路均发生故障; Similarly, assuming that at time t1+n+m, the CE3-PE1 link also fails, the CCM failure message can carry three I-tag1, I-tag2 and I-tag3 in the TLV field Value, combined with the RDI flag bit being 1, indicates that the user-side links where services 1 to 3 are located are all faulty;
假设在t1+n+m+k时刻,CE2-PE1链路故障消除,则所述CCM故障报文的TLV字段内携带I-tag1、I-tag3两个值,以及结合RDI标志位为1,表明业务1和3所在的用户侧链路发生故障;
Assuming that at t1+n+m+k time, the CE2-PE1 link fault is eliminated, the TLV field of the CCM fault message carries two values of I-tag1 and I-tag3, and the combined RDI flag is 1, Indicates that the user-side link where
假设在t1+n+m+k+p时刻,CE1-PE1链路故障也消除,则所述CCM故障报文TLV字段携带I-tag3的值,以及结合RDI标志位为1,表明业务3所在的用户侧链路出现故障;
Assuming that at time t1+n+m+k+p, the CE1-PE1 link failure is also eliminated, the TLV field of the CCM failure message carries the value of I-tag3, and the RDI flag bit is 1, indicating that the
假设在t1+n+m+k+p+q时刻,CE3-PE1链路故障也消除,则所述CCM报文中RDI标志位为0,而且可以不携带TLV字段,用以表明用户侧链路正常。 Assuming that at time t1+n+m+k+p+q, the CE3-PE1 link failure is also eliminated, the RDI flag in the CCM message is 0, and the TLV field may not be carried to indicate that the user side chain The road is normal. the
图5为本发明第二实施例的场景示意图,结合该图可知,本实施例与上述实施例的区别在于:业务切换端通过业务接收端的用户侧链路与网络侧链路连接,该图所示场景将业务接收端作为业务切换端,图中画出了两个业务接收端(也是业务切换端),CE4及CE5。当PE2在接收到PE1发送来的用户侧链路故障信息后,需要根据该用户侧链路故障信息内包含的业务标识信息,确定将该用户侧链路故障信息传送给CE4还是CE5,因此当网络侧链路连接有多个业 务切换端时,所述用户侧链路故障信息内,需要包含业务标识信息,使得可以根据该业务标识信息,向该业务对应的业务切换端发送用户侧链路故障信息,使其可以切换到与发送该业务的用户侧链路连接的链路上接收该业务。 FIG. 5 is a schematic diagram of the scene of the second embodiment of the present invention. From this figure, it can be seen that the difference between this embodiment and the above embodiment is that the service switching end is connected to the network side link through the user side link of the service receiving end. In the illustrated scenario, the service receiving end is used as the service switching end. The figure shows two service receiving ends (also service switching ends), CE4 and CE5. After receiving the user-side link fault information sent by PE1, PE2 needs to determine whether to send the user-side link fault information to CE4 or CE5 according to the service identification information contained in the user-side link fault information. When there are multiple service switching terminals connected to the network side link, the user side link failure information needs to include service identification information, so that the user side link link can be sent to the service switching terminal corresponding to the service according to the service identification information. It can switch to the link connected to the link on the user side that sends the service to receive the service. the
当然,如上所述,如果该网络侧链路仅连接了一个所述业务切换端,则在仅有一个业务发送端通过一条用户侧链路,向该网络侧链路传入业务时,所述用户侧链路故障信息内可以不用包含所述业务标识。 Of course, as mentioned above, if the network-side link is only connected to one of the service switching terminals, when only one service sending terminal transmits services to the network-side link through a user-side link, the The user side link failure information may not include the service identifier. the
本发明实施例提出的故障通知方法,不仅通过网络侧链路,实现了用户侧链路故障的通知,提高了链路故障通知的有效性,而且基于业务标识信息,通过标识业务,来标识相应链路的故障信息,还在上述提高故障通知有效性的同时,提高了链路故障标识的效率。 The fault notification method proposed by the embodiment of the present invention not only realizes the notification of the user-side link fault through the network side link, improves the effectiveness of the link fault notification, but also identifies the corresponding service by identifying the service based on the service identification information. The link fault information also improves the efficiency of link fault identification while improving the effectiveness of fault notification as described above. the
基于上述实施例提出的故障通知方法,本发明实施例还提供了一种故障通知装置。 Based on the fault notification method proposed in the above embodiments, the embodiment of the present invention also provides a fault notification device. the
图6为本发明实施例提出的故障通知装置的结构示意图,由该图可知,本发明实施例提出的故障通知装置10包括:
Fig. 6 is a schematic structural diagram of the fault notification device proposed by the embodiment of the present invention. It can be seen from this figure that the
故障信息生成单元11,用于在监测到传送业务的用户侧链路发生故障时,生成用户侧链路故障信息;
Fault
故障信息发送单元12,用于通过所述用户侧链路连接的网络侧链路,发送所述故障信息生成单元11生成的用户侧链路故障信息。
The fault
在可能存在多条用户侧链路接入同一条网络侧链路的情况下,还可以在用户侧链路故障信息内,携带发生故障的用户侧链路上的业务对应的业务标识信息,以表明是哪一个业务所在的用户侧链路发生故障。 In the case that there may be multiple user-side links connected to the same network-side link, the user-side link failure information may also carry the service identification information corresponding to the service on the failed user-side link to Indicates which service is located on the user-side link where the failure occurs. the
因此本发明实施例提出所述故障信息生成单元11的一种具体结构。参照图7,为本发明实施例提出的故障信息生成单元的结构示意图,由该图可知,所述故障信息生成单元11可以具体包括:
Therefore, the embodiment of the present invention proposes a specific structure of the fault
标识信息获取子单元13,用于获取在发生故障的用户侧链路上,传送的业务对应的业务标识信息;
The identification
故障信息生成子单元14,用于生成包含所述标识信息获取子单元13获取的业务标识信息的用户侧链路故障信息。
The fault
其中当至少两条业务发送端的用户侧链路连接到同一条网络侧链路时,如果发生故障的用户侧链路有多条,基于每一个用户侧链路故障信息内包含的业务标识的数目不同,所述故障信息生成子单元14生成用户侧链路故障信息可以有多种方式。例如:假设有1000条用户侧链路发生故障,可以生成2个用户侧链路故障信息,每一个用户侧链路故障信息分别包含500个业务标识信息。另外也可以生成一个用户侧链路故障信息,包含所述1000个所述业务标识信息。
Wherein, when at least two user-side links of the service sending end are connected to the same network-side link, if there are multiple failed user-side links, based on the number of service identifiers contained in the failure information of each user-side link Differently, the fault
所述故障信息生成单元11生成的用户侧链路故障信息,可以基于多种报文形式表示,较佳的,可以基于CCM报文的形式表示。
The user-side link fault information generated by the fault
根据上述方法实施例所述,所述标识信息获取子单元13获取的业务标识可以有多种,例如I-tag值等。
According to the foregoing method embodiments, the service identifiers obtained by the identifier
所述故障信息发送单元12可以但不限于基于传递所述业务的未发生故障的静态MAC in MAC隧道,发送所述用户侧链路故障信息,当然也可以是其他类型的链路。
The fault
本发明实施例提出的故障通知装置,不仅能够通过网络侧链路,实现用户侧链路故障的通知,提高链路故障通知的有效性,而且还能够基于业务标识信息,通过标识业务,来标识相应链路的故障信息,从而在提高故障通知有效性的同时,提高了链路故障标识的效率。 The fault notification device proposed in the embodiment of the present invention can not only realize the notification of the user-side link fault through the network side link, improve the effectiveness of the link fault notification, but also identify the service by identifying the service based on the service identification information The fault information of the corresponding link is improved, thereby improving the efficiency of link fault identification while improving the effectiveness of fault notification. the
如背景技术所述,由于缺少一种将用户侧故障通知给业务切换端的方法,业务切换端就无法获知所述用户侧链路故障,因此业务切换端也就不能针对所述用户侧链路故障,采取相应处理措施,例如无法切换链路,以保证业务的顺利传递。 As mentioned in the background technology, due to the lack of a method for notifying the service switching terminal of the user-side failure, the service switching terminal cannot know the user-side link failure, so the service switching terminal cannot respond to the user-side link failure. , and take corresponding measures, such as failing to switch links, to ensure the smooth delivery of services. the
本发明实施例还提出了一种业务接收方法,以在接收到所述用户侧链路发生故障的通知后,切换链路接收业务,从而保证业务的顺利传递。 The embodiment of the present invention also proposes a service receiving method, so as to switch the link to receive the service after receiving the notification that the user side link fails, so as to ensure the smooth delivery of the service. the
在仅有一条用户侧链路连接到网络侧链路时,所述业务切换端(例如图1中的PE2或者图2中的CE2)在接收到用户侧链路故障信息后,获知用户侧链路发生故障,进而可以切换到与信号发送端的正常用户侧链路连接的链路上,接收该用户侧链路上传送的业务,从而使得业务顺利传递,提高了业务传递的成功率。 When only one user-side link is connected to the network-side link, the service switching end (such as PE2 in FIG. 1 or CE2 in FIG. 2 ) learns that the user-side link is faulty after receiving the user-side link failure information. In the event of a failure in the path, it can switch to the link connected to the normal user-side link at the signal sending end, and receive the service transmitted on the user-side link, so that the service can be delivered smoothly and the success rate of service delivery can be improved. the
在可能存在多条用户侧链路连接到一条网络侧链路时,用户侧链路故障信息可能需要包含业务标识信息,此时业务切换端可以在接收到用户侧链路故障信息后,识别出其中的业务标识信息,根据该业务标识信息,判断出是哪一个业务所在的用户侧链路发生故障,以图2所示的场景为例: When there may be multiple user-side links connected to one network-side link, the user-side link failure information may need to include service identification information. At this time, the service switching end can identify the Among them, the service identification information, according to the service identification information, determines which service is located on the user-side link where the failure occurs. Take the scenario shown in Figure 2 as an example:
在用户侧链路CE1-PE1发生故障时,CE1切换到用户侧链路CE1-PE3传送业务,以及PE1基于本发明实施例提出的故障通知方法,将该故障通知给PE2,PE2在获知该用户侧链路CE1-PE1发生故障后,切换到备用隧道接收相应业务,这样就在用户侧链路CE1-PE1发生故障的情况下,保证了其链路上业务的顺利传递,提高了业务传递的成功率。 When the user-side link CE1-PE1 fails, CE1 switches to the user-side link CE1-PE3 to transmit services, and PE1 notifies PE2 of the failure based on the fault notification method proposed in the embodiment of the present invention, and PE2 learns that the user After the side link CE1-PE1 fails, it switches to the backup tunnel to receive the corresponding services. In this way, when the user side link CE1-PE1 fails, the smooth delivery of services on the link is guaranteed, and the efficiency of service delivery is improved. Success rate. the
本发明实施例通过在接收到所述用户侧链路故障信息后,切换到与信号发送端的正常用户侧链路连接的链路上,接收该用户侧链路上传送的业务,从而使得业务顺利传递,提高了业务传递的成功率。 In the embodiment of the present invention, after receiving the user-side link failure information, switching to the link connected to the normal user-side link of the signal sending end, and receiving the service transmitted on the user-side link, so that the service is smooth Transfer, improve the success rate of business transfer. the
基于本发明实施例提出的业务接收方法,本发明实施例还提出了一种业务接收装置,以在接收到所述用户侧链路故障信息后,切换链路接收所述业务,提高业务传递的成功率。 Based on the service receiving method proposed by the embodiment of the present invention, the embodiment of the present invention also proposes a service receiving device to switch the link to receive the service after receiving the link failure information on the user side, so as to improve the efficiency of service delivery. Success rate. the
图8为本发明实施例提出的业务接收装置的结构示意图,由该图可知,本发明实施例提出的业务接收装置20包括:
FIG. 8 is a schematic structural diagram of a service receiving device proposed in an embodiment of the present invention. It can be seen from this figure that the
接收单元21,用于接收用户侧链路故障信息;
The receiving
切换单元22,用于在所述接收单元21接收到用户侧链路故障信息后,切换到与业务发送端的正常用户侧链路连接的链路,接收所述业务。
The switching unit 22 is configured to switch to the link connected to the normal user-side link of the service sending end after the receiving
如上所述,在可能存在多条用户侧链路连接到一条网络侧链路的情况下, 还可以在用户侧链路故障信息内,携带发生故障的用户侧链路上的业务对应的业务标识信息,以表明是哪一个业务所在的用户侧链路发生故障。 As mentioned above, in the case that there may be multiple user-side links connected to one network-side link, the user-side link failure information may also carry the service identifier corresponding to the service on the failed user-side link Information to indicate which user-side link where the service is located fails. the
因此本发明实施例还提出一种切换单元22的具体结构,以实现在多条用户侧链路接入网络侧链路的情况下,切换链路,接收相应的业务,保证业务的顺利传递。 Therefore, the embodiment of the present invention also proposes a specific structure of the switching unit 22, so as to switch links and receive corresponding services when multiple user-side links are connected to network-side links, so as to ensure smooth delivery of services. the
图9为本发明实施例提出的切换单元的结构示意图,由该图及图8可知,当在接收单元21接收到的用户侧链路故障信息中,包含有在发生故障的用户侧链路上,传送的业务对应的业务标识信息时,所述切换单元22具体包括:
FIG. 9 is a schematic structural diagram of the switching unit proposed by the embodiment of the present invention. It can be seen from this figure and FIG. 8 that when the user-side link failure information received by the receiving
业务标识识别子单元23,用于识别出所述业务标识信息;
The service
切换子单元24,用于切换到与业务发送端的正常用户侧链路连接的链路,接收与所述业务标识信息对应的业务。
The switching
本发明实施例提出的业务接收装置通过在接收到所述用户侧链路故障信息后,切换到与信号发送端的正常用户侧链路连接的链路上,接收该用户侧链路上传送的业务,从而使得业务顺利传递,提高了业务传递的成功率。 The service receiving device proposed in the embodiment of the present invention receives the service transmitted on the user-side link by switching to the link connected to the normal user-side link of the signal sending end after receiving the user-side link failure information , so that the business can be delivered smoothly, and the success rate of the business delivery can be improved. the
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations. the
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101873414A CN101163057B (en) | 2007-11-20 | 2007-11-20 | Fault notifying method and apparatus, and service receiving method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101873414A CN101163057B (en) | 2007-11-20 | 2007-11-20 | Fault notifying method and apparatus, and service receiving method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101163057A CN101163057A (en) | 2008-04-16 |
CN101163057B true CN101163057B (en) | 2012-04-04 |
Family
ID=39297891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101873414A Expired - Fee Related CN101163057B (en) | 2007-11-20 | 2007-11-20 | Fault notifying method and apparatus, and service receiving method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101163057B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355335A (en) * | 2011-09-13 | 2012-02-15 | 中兴通讯股份有限公司 | Unidirectional link detection result notification method and device |
CN105515807B (en) * | 2014-09-25 | 2020-09-08 | 中兴通讯股份有限公司 | Up cfm message processing method, system and network data exchange device |
CN105530181A (en) * | 2014-09-29 | 2016-04-27 | 中兴通讯股份有限公司 | Method and device for switching Ethernet transmission path and Ethernet system |
CN110020765B (en) * | 2018-11-05 | 2023-06-30 | 创新先进技术有限公司 | Service flow switching method and device |
CN113395319B (en) * | 2021-04-26 | 2022-09-16 | 国网江西省电力有限公司经济技术研究院 | Method, system, electronic device and storage medium for sensing network fault |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492623A (en) * | 2002-10-22 | 2004-04-28 | 华为技术有限公司 | A Method for Realizing Link State Breakthrough in Network |
CN1556617A (en) * | 2003-12-30 | 2004-12-22 | 港湾网络有限公司 | Method for transmitting failure information of bearer network access link by virtual private line service |
CN1731764A (en) * | 2005-08-30 | 2006-02-08 | 周旭扬 | Elastic MAC bridge network |
-
2007
- 2007-11-20 CN CN2007101873414A patent/CN101163057B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492623A (en) * | 2002-10-22 | 2004-04-28 | 华为技术有限公司 | A Method for Realizing Link State Breakthrough in Network |
CN1556617A (en) * | 2003-12-30 | 2004-12-22 | 港湾网络有限公司 | Method for transmitting failure information of bearer network access link by virtual private line service |
CN1731764A (en) * | 2005-08-30 | 2006-02-08 | 周旭扬 | Elastic MAC bridge network |
Also Published As
Publication number | Publication date |
---|---|
CN101163057A (en) | 2008-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101355466B (en) | Method and apparatus for transmitting continuous check information message | |
CN103269299B (en) | Message forwarding method in SPBM network and device | |
US7839795B2 (en) | Carrier Ethernet with fault notification | |
CN101094121B (en) | Method, system and device for detecting Ethernet link between non-directly connected devices | |
CN101631069B (en) | Method, system and equipment for pseudo wire parameter negotiation | |
CN102780635B (en) | The method of pretection switch, TOR switch and system is realized based on TRILL network | |
US20090185495A1 (en) | Method, system of fault detection for pseudo wires and service provider edge router thereof | |
CN101163057B (en) | Fault notifying method and apparatus, and service receiving method and apparatus | |
CN102820990A (en) | Method and device for switching service protection | |
CN102857421B (en) | A kind of VLL fault detection method and equipment | |
CN100446476C (en) | Method and device for intercommunication of network fault detection results | |
CN101908983A (en) | Joint detection method and system for Ethernet partial segment protection | |
CN101834759A (en) | Detection method of binding link and distributed equipment | |
CN103457782A (en) | VLAN-based loopback detection method and network equipment | |
CN102916883B (en) | LINK detection method and routing forwarding equipment | |
CN105812198A (en) | Method and device for bridged network end-to-end monitoring | |
CN102404180A (en) | Method and system for realizing OAM (operation administration and maintenance) based on PBN (packet-based network) | |
CN103973471B (en) | A kind of notifying method and device of TRILL distribution trees failure | |
CN105703967A (en) | Method and apparatus for detecting label switching path connectivity | |
CN101436952A (en) | Method for automatically configuring pressing table and network node equipment | |
CN102104534B (en) | Method and system for protecting multicast service | |
CN104219073A (en) | Message forwarding method and device in SPBM network | |
CN102812750A (en) | Fault handling method in packet transmission network, packet transmission network node and packet transmission network | |
CN108282383B (en) | Method and equipment for realizing fault processing | |
CN100421387C (en) | A business flow protection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120404 |
|
CF01 | Termination of patent right due to non-payment of annual fee |