CN1878136A - Method for recognizing multiple emulation service flow path - Google Patents
Method for recognizing multiple emulation service flow path Download PDFInfo
- Publication number
- CN1878136A CN1878136A CN200610033335.9A CN200610033335A CN1878136A CN 1878136 A CN1878136 A CN 1878136A CN 200610033335 A CN200610033335 A CN 200610033335A CN 1878136 A CN1878136 A CN 1878136A
- Authority
- CN
- China
- Prior art keywords
- state
- circuit
- sub
- service
- pseudowire
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/14—Multichannel or multilink protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一种识别多条仿真业务流路径方法,包括:在配置附属电路N TO 1方式PW绑定命令时,设置用于标识具体子附属电路(AC)业务的AC-id项;在发送告知报文中增加AC-id字段和对应的转发索引,当对端收到告知报文后依据AC-id寻找匹配(对应)的子AC,只有当一条业务流对中双端子AC都UP且PW也UP时,才下发硬件转发表项,转发业务报文,否则不转发业务报文。本发明通过AC-id可以准确获知仿真业务对信息,拒绝由于不属于同一仿真业务对的AC UP而导致的PW UP,使PW状态和真正的转发状态严格一致,避免了不能最终互通的业务传输浪费沿途节点的处理资源和宝贵的网络带宽资源;同时,采用AC-id的转发索引字段代替VPI/VCI字段来具体标识一条PVC进行转发,可以提高转发速度。
A method for identifying multiple simulated service flow paths, comprising: when configuring an attached circuit N TO 1 mode PW binding command, setting an AC-id item for identifying a specific sub-attached circuit (AC) service; sending a notification message The AC-id field and the corresponding forwarding index are added in the AC-id field. When the opposite end receives the notification message, it searches for the matching (corresponding) sub-AC according to the AC-id. , the hardware forwarding entry is issued to forward the service message, otherwise the service message is not forwarded. The present invention can accurately know the information of the simulated service pair through the AC-id, rejects the PW UP caused by the AC UP not belonging to the same simulated service pair, makes the PW state strictly consistent with the real forwarding state, and avoids the service transmission that cannot be finally intercommunicated It wastes processing resources of nodes along the way and precious network bandwidth resources; at the same time, using the forwarding index field of AC-id instead of the VPI/VCI field to specifically identify a PVC for forwarding can improve the forwarding speed.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种基于PWE3(Pseudo-WireEmulation Edge-to-Edge端到端的伪线路仿真)的识别多条仿真业务流路径方法。The invention relates to the field of communication technology, in particular to a method for identifying multiple simulated service flow paths based on PWE3 (Pseudo-WireEmulation Edge-to-Edge end-to-end pseudo-wire emulation).
背景技术Background technique
目前运营商在提供多种业务时,采用的基本都是并行或“重叠”的方式:组建和维护多种网络,在呈现点针对每种不同的业务使用不同的接入设备。这样做除了使得网络规划更加复杂外,而且无论是建设成本还是运营成本都很昂贵。所以运营商在提供多种业务时,为了降低建设和运营成本,希望寻求一种在公用的包交换网络(PSN)上能够提供多种业务的方法。At present, when operators provide multiple services, they basically adopt a parallel or "overlapping" approach: build and maintain multiple networks, and use different access devices for each different service at the presentation point. In addition to making network planning more complicated, it is also expensive both in terms of construction costs and operating costs. Therefore, when providing multiple services, in order to reduce construction and operation costs, operators hope to find a method that can provide multiple services on a public packet switching network (PSN).
为了提供统一的多业务网络平台,IETF开始了在包交换网络上传输任何业务的“X over PSN”的标准化工作,并把它命名为端到端的伪线路仿真(Pseudo-Wire Emulation Edge-to-Edge,缩写为PWE3)。In order to provide a unified multi-service network platform, the IETF started the standardization work of "X over PSN" for transmitting any service on a packet-switched network, and named it end-to-end pseudo-wire emulation (Pseudo-Wire Emulation Edge-to- Edge, abbreviated as PWE3).
在包交换网络上仿真业务的实现可分为两种:一条PSN只携带一条仿真业务流(1 TO 1方式)和一条PSN携带多条仿真业务流(N TO 1方式)。一条PSN携带多条仿真业务流的好处是可以更有效的使用PW(伪线)头。The implementation of emulation services on packet-switched networks can be divided into two types: one PSN carries only one emulation service flow (1 TO 1 mode) and one PSN carries multiple emulation service flows (
PW的建立是两端PE(Provider Equipment服务商设备)互相协商的结果,所以两端PE要交互本地PW转发状态。本地PW的转发状态取决于需要进行仿真的AC业务的状态、和远端PE的LDP session(LDP会话)的状态以及承载伪线业务的外层隧道的状态。而在N TO 1方式下AC(Attachment Circuit附属电路)业务的状态取决于该PW对应的N条子AC状态的总和(协议的网络模型中将N TO 1方式下同时绑定同一条PW的多条PVC(Permanent Virtual Connect永久虚连接)合称为一条AC,本发明遵从协议网络模型中的称法,但为了阐述方便,将NTO 1方式下的AC中的一条PVC称为这条AC的一条“子AC”):如果在PW对应的多条子AC中,最后一条状态为UP(正常工作状态)的子AC DOWN(非正常工作状态)掉,则AC的状态为DOWN;PW对应的所有子AC中第一条子ACUP,则AC的状态为UP。通告的方式有两种:Martini方式的通告和拓展的Notification方式的通告。The establishment of a PW is the result of mutual negotiation between the PEs (Provider Equipment) at both ends, so the PEs at both ends need to exchange the local PW forwarding status. The forwarding state of the local PW depends on the state of the AC service that needs to be simulated, the state of the LDP session (LDP session) of the remote PE, and the state of the outer tunnel carrying the pseudowire service. In the
1、Martini方式的通告:1. Martini notification:
参见图1,AC的状态、和远端PE的1dp session的状态以及外层隧道的状态同时UP,则本地PW的转发状态为可转发,发送Mapping报文;如果三者中有一个DOWN掉,则本地PW的转发状态为不可转发,此时就要发送Withdraw报文,收回内层标签。如:在PW UP的情况下,只要AC DOWN了,则本地PW的转发状态为不可转发,发送Withdraw报文,拆除协议。Referring to Figure 1, the status of the AC, the status of the 1dp session of the remote PE, and the status of the outer tunnel are all up at the same time, then the forwarding status of the local PW is forwardable, and a Mapping message is sent; if one of the three is down, Then the forwarding state of the local PW is non-forwarding. At this time, a Withdraw message should be sent to withdraw the inner label. For example: in the case of PW UP, as long as the AC is DOWN, the forwarding state of the local PW is non-forwarding, and a Withdraw message is sent to remove the protocol.
2、Notification方式的通告:2. Notification notification:
在发送Mapping交互内层标签之后,只要配置不删除,协议就不拆除,只发送Notification消息交互双方的本地PW状态。如:在PW UP的情况下,只要AC DOWN了,则本地PW的转发状态为不可转发,但此时并不发Withdraw报文拆除协议,而只是发送Notification报文通告对方本地PW的转发状态为不可转发(通过通告本地PW的转发码来实现),保留内层标签,如图所示,Notification报文中包含本地PW的状态码。After sending the Mapping interaction inner label, as long as the configuration is not deleted, the protocol will not be removed, and only the Notification message will be sent to exchange the local PW status of both parties. For example: in the case of PW UP, as long as the AC is DOWN, the forwarding status of the local PW is non-forwarding, but at this time, no Withdraw message is sent to remove the protocol, but a Notification message is sent to inform the other party that the forwarding status of the local PW is It cannot be forwarded (realized by notifying the forwarding code of the local PW), and the inner label is reserved. As shown in the figure, the Notification message contains the status code of the local PW.
Martini方式下是否发送交互内层标签的Mapping(标签映射)报文取决于AC的状态、和对端PE的session的状态以及外层隧道的状态同时UP。而只要AC的状态、和对端PE的session的状态以及外层隧道的状态有一个DOWN掉就发送Withdraw报文收回内层标签。而Notification方式下进行配置后只要和对端PE的session的状态UP,而不管AC的状态或者外层隧道的状态,就发送交互内层标签的Mapping报文。当AC的状态或者外层隧道的状态DOWN掉,只是更新本地的PW状态码,并把本地的PW状态码通过Notification报文告之对端PE,与Martini方式的区别主要在于只要配置不删除,它就不拆除协议回收内层标签,而只是发送Notification报文通告本地PW状态为不可转发状态,下次再UP时,不需要重新再分配标签,只是再发送Notification报文通告本地PW转发状态为不可转发。In the Martini mode, whether to send a Mapping (label mapping) message for exchanging inner labels depends on the status of the AC, the session status of the peer PE, and the status of the outer tunnel. And as long as the state of the AC, the state of the session of the peer PE, and the state of the outer layer tunnel all go down, a Withdraw message is sent to withdraw the inner layer label. However, after configuration in the Notification mode, as long as the session status with the peer PE is Up, regardless of the status of the AC or the status of the outer tunnel, a Mapping message for exchanging the inner label will be sent. When the status of the AC or the status of the outer tunnel is DOWN, only the local PW status code is updated, and the local PW status code is reported to the peer PE through the Notification message. The main difference from the Martini method is that as long as the configuration is not deleted, it The protocol will not be removed to reclaim the inner layer label, but a Notification message will be sent to inform the local PW that the forwarding status is not forwardable. When the next UP occurs, there is no need to redistribute the label, and the Notification message will be sent to inform the local PW that the forwarding status is not forwardable. Forward.
现有技术Notification方式比Martini方式有很大的优越性在于,它可以减少PE之间的消息报文的交互。但它们的一个共同的不足点在于:无法通告具体的AC业务对的信息。如图3所示,其中subAC1-subAC3和subAC2-subAC4分别是两条业务流,采用N TO 1的方式复用伪线PW1。subAC1和subAC2分别接入PE1不同的端口,两者状态组合形成PE1处的AC状态。subAC3和subAC4分别接入PE2不同的端口,状态组合形成PE2处的AC状态。在PE1处,与远端PE的LDP session的状态UP以及外层隧道的状态UP时,如果subAC1状态由DOWN变为UP,则PE1处的AC状态就UP,此时本地PW转发状态为可转发状态,或者发送Mapping报文,或者发送Notification报文通告本地PW状态UP。在PE2处,与对端PE的session状态以及外层隧道的状态都UP时,如果subAC4状态由DOWN变为UP,则PE2处的AC状态就UP,此时PE2本地PW转发状态也为可转发状态,因为本地和远端的PW转发状态都为可转发,这条PW的状态为UP,下发逻辑转发表项。但实际情况是subAC1和subAC3才是一个业务对,所以subAC1的业务信息通过PW1到达PE2后,由于subAC3状态DOWN,subAC1的业务报文依然会被PE2丢弃。由此可见,在这种状况下,无论是Martini方式还是Notification方式都无法通告AC的正确业务对信息,subAC1的业务信息通过PW1到达PE2后并不能最终转发到目的地,徒然加大了沿途节点的处理负担,更为重要的是浪费了宝贵的网络带宽资源。The Notification method in the prior art has a great advantage over the Martini method in that it can reduce the exchange of messages between PEs. However, they have a common shortcoming that they cannot announce the information of a specific AC service pair. As shown in Figure 3, subAC1-subAC3 and subAC2-subAC4 are two service flows respectively, and the pseudo-wire PW1 is multiplexed in
现有技术对于N TO 1方式下PW业务的具体报文封装格式,以ATM的N TO 1报文封装帧格式为例做具体的阐述,其他业务的封装基本类似。用图4、5所示的封装格式来对N TO 1 ATM PW报文帧进行封装,通过报文中所带的vpi/vci区分具体的AC。协议中规定:要保证不同端口来的PVC的VPI/VCI值各不相同。但在实际应用中,这点是很难保证的。因此需要借助outvpi/outvci来对各个端口来的PVC的VPI/VCI值进行一个转换,做到全局唯一。当收到N TO 1 ATM PW报文帧时,通过outvpi/outvci来查找具体的PVC,进行不同业务的分别处理。In the prior art, for the specific packet encapsulation format of the PW service in the
现有方式的局限在于:The limitations of the existing methods are:
1)这种方式下对应PW的出方向的outvpi/outvci和入inputvpi/inputvci的值不一定相同,所以入方向和出方向都需要配置PW和PVC的绑定命令:1) In this way, the values of outvpi/outvci and inputvpi/inputvci corresponding to the outbound direction of the PW are not necessarily the same, so the binding commands of PW and PVC need to be configured in both the inbound and outbound directions:
a.PVC+PW+outvpi/outvcia.PVC+PW+outvpi/outvci
b.inputvpi/inputvci+PW+PVCb.inputvpi/inputvci+PW+PVC
这样增加了用户配置的复杂性。This increases the complexity of user configuration.
2)硬件实现较为复杂,查找效率较低。对于入方向,需要根据报文中的inputvpi/inputvci,获得对应的PVC。vpi/vci的范围分别是12位/16位,但由于一般的设备支持的PVC数目远小于2的28次方,所以在硬件上需要用HASH来完成映射。2) The hardware implementation is relatively complicated, and the search efficiency is low. For the inbound direction, you need to obtain the corresponding PVC according to the inputvpi/inputvci in the packet. The range of vpi/vci is 12 bits/16 bits respectively, but since the number of PVCs supported by general equipment is far less than 2 to the 28th power, HASH is required to complete the mapping on the hardware.
发明内容Contents of the invention
本发明所要解决的技术问题是:克服现有技术由于无法通告AC的正确业务对消息,非业务对的AC UP时导致PW状态UP,但PW又不能真正转发报文,导致即使一端的AC信息通过PW伪线到达另一端的PE,也不能被继续转发,而是被该PE丢弃,从而浪费沿途节点的处理资源和宝贵的网络带宽资源的缺陷,提供一种N TO 1方式下的协议优化方法,准确获知仿真业务对信息,并使PW状态和真正的转发状态一致。The technical problem to be solved by the present invention is to overcome the problem that the PW state is UP when the AC of the non-service pair is UP due to the inability to notify the correct service pair message of the AC in the prior art, but the PW cannot actually forward the message, resulting in that even if the AC information at one end The PE that reaches the other end through the PW pseudowire cannot be forwarded, but is discarded by the PE, thus wasting the processing resources of the nodes along the way and the precious network bandwidth resources. This provides a protocol optimization in
本发明为解决上述技术问题所采用的技术方案为:The technical scheme that the present invention adopts for solving the problems of the technologies described above is:
一种识别多条仿真业务流路径方法,所述方法包括:A method for identifying multiple simulated service flow paths, the method comprising:
A、配置附属电路多条业务流公用一条仿真线路方式伪线绑定命令,设置用于标识子附属电路业务的附属电路标识符;A. Configure multiple service flows of the auxiliary circuit to share a pseudo-wire binding command in the form of an artificial line, and set the auxiliary circuit identifier used to identify the service of the auxiliary auxiliary circuit;
B、伪线第一端发送带有第一附属电路标识符字段告知报文;B. The first end of the pseudowire sends a notification message with the first attached circuit identifier field;
C、伪线第二端接收所述告知报文,依据所述附属电路标识符寻找具有相同的所述第一附属电路标识字段的第二子附属电路;C. The second end of the pseudowire receives the notification message, and searches for a second sub-attachment circuit having the same identifier field of the first adjunct circuit according to the adjunct circuit identifier;
D、当所述第二子附属电路和所述伪线都正常工作状态,下发硬件转发表项,转发业务报文,否则不转发业务报文。D. When both the second sub-attachment circuit and the pseudowire are in normal working state, issue a hardware forwarding entry and forward the service message, otherwise, do not forward the service message.
所述的方法,其中,所述的告知报文包括:告知正常的报文和告知非正常的报文。The method described above, wherein the notification message includes: a normal notification message and an abnormal notification message.
所述的方法,其中,所述步骤B具体包括:The method, wherein, the step B specifically includes:
当伪线第一端的第一子附属电路的状态由非正常工作状态变为正常工作状态时,该端第一服务商设备发送告知正常的报文;所述告知正常的报文携带子附属电路的标识符和对应的转发索引。When the state of the first sub-attachment circuit at the first end of the pseudowire changes from an abnormal working state to a normal working state, the first service provider equipment at the end sends a normal message; the normal message carries a sub-attachment The identifier of the circuit and the corresponding forwarding index.
所述的方法,其中,所述步骤C具体包括:The method, wherein, the step C specifically includes:
伪线的第二端第二服务商设备接收到告知正常的报文后,依据所述附属电路标识符寻找具有相同的所述第一附属电路标识字段的第二子附属电路。After receiving the normal notification message, the second service provider device at the second end of the pseudowire searches for a second sub-attachment circuit with the same first adjunct circuit identification field according to the adjunct circuit identifier.
所述的方法,其中,所述步骤D具体包括:The method, wherein, the step D specifically includes:
当第二子附属电路的状态为正常工作状态时,对伪线状态进行判断;When the state of the second sub-accessory circuit is a normal working state, judging the state of the pseudo wire;
如果伪线为正常工作状态,则将第二服务商设备数据结构中第一端子附属电路的状态置为正常工作状态,并下发硬件转发表项,开始转发业务报文;If the pseudowire is in the normal working state, set the state of the first terminal auxiliary circuit in the data structure of the second service provider's equipment to the normal working state, and issue the hardware forwarding entry, and start forwarding the service message;
如果伪线为非正常工作状态,将第二服务商设备数据结构中第一子附属电路的状态置为正常工作状态。If the pseudowire is in an abnormal working state, set the state of the first sub-attachment circuit in the data structure of the second service provider equipment to be in a normal working state.
所述的方法,其中,所述步骤D还包括:The method, wherein, the step D also includes:
当第二子附属电路的状态为非正常工作状态时,将第二服务商设备数据结构中第一端子附属电路的状态置为正常工作状态。When the state of the second sub-auxiliary circuit is in the abnormal working state, set the state of the first terminal auxiliary circuit in the data structure of the second service provider equipment to the normal working state.
所述的方法,其中,当伪线第一端的最后一子附属电路的状态由正常工作状态变为非正常工作状态时,该端第一服务商设备发送告知非正常的报文;所述告知非正常的报文携带子附属电路的标识符。The method described above, wherein, when the state of the last sub-attached circuit at the first end of the pseudowire changes from a normal working state to an abnormal working state, the first service provider device at the end sends a message notifying the abnormality; the Notify that the abnormal message carries the identifier of the sub-attached circuit.
所述的方法,其中,所述步骤C还包括步骤:Described method, wherein, described step C also comprises the step:
当伪线的第二端第二服务商设备接收到告知非正常的报文后,依据所述附属电路标识符寻找具有相同的所述第一子附属电路标识字段的第二子附属电路。When the second service provider device at the second end of the pseudowire receives the abnormal notification message, it searches for a second sub-attachment circuit having the same first sub-attachment circuit identification field according to the adjunct circuit identifier.
所述的方法,其中,所述步骤D具体包括:The method, wherein, the step D specifically includes:
当第二子附属电路的状态为正常工作状态时,判断伪线状态是否正常;When the state of the second sub-accessory circuit is a normal working state, it is judged whether the state of the pseudo wire is normal;
当伪线为正常工作状态,则将第二服务商设备数据结构中第一子附属电路的状态置为非正常工作状态并删除硬件转发表项;When the pseudowire is in the normal working state, the state of the first sub-affiliated circuit in the data structure of the second service provider equipment is set to the abnormal working state and the hardware forwarding entry is deleted;
否则,仅将第二服务商设备数据结构中第一子附属电路的状态置为非正常工作状态。Otherwise, only the state of the first sub-accessory circuit in the data structure of the second service provider equipment is set as an abnormal working state.
所述的方法,其中,调整多条业务流公用一条仿真线路方式的伪线封装报文格式,用附属电路标识符对应的转发索引字段代替虚拟路径标识/虚拟信道标识符字段,索引标识一条永久虚连接。The method described above, wherein the pseudowire encapsulation message format in which multiple service flows share one simulated circuit is adjusted, and the forwarding index field corresponding to the attached circuit identifier is used to replace the virtual path identifier/virtual channel identifier field, and the index identifies a permanent Virtual connection.
所述的方法,其中:所述方法还包括:The method, wherein: the method also includes:
判断伪线内层标签是否已经分配;如果服务商设备两端伪线的所述标签都已经分配,则伪线的状态就是正常工作状态,否则,伪线的状态就是非正常工作状态。Determine whether the inner label of the pseudowire has been allocated; if the labels of the pseudowire at both ends of the service provider equipment have been allocated, the status of the pseudowire is the normal working status; otherwise, the status of the pseudowire is the abnormal working status.
本发明的有益效果为:通过AC-id可以准确获知仿真业务对信息,拒绝由于不属于同一仿真业务对的AC UP而导致的PW UP,使PW状态和真正的转发状态严格一致,避免了不能最终互通的业务传输浪费沿途节点的处理资源和宝贵的网络带宽资源,并且N TO 1方式AC与PW绑定的业务配置命令简单,配置量只有以前的一半;同时,由于采用AC-id的转发索引转发索引字段代替VPI/VCI字段来具体标识一条PVC进行转发,因此硬件实现相对简单,可以通过线性查找AC-id对应的索引确定具体PVC的信息,从而提高转发速度。The beneficial effects of the present invention are: the simulated service pair information can be accurately obtained through the AC-id, and the PW UP caused by the AC UP not belonging to the same simulated service pair is rejected, so that the PW state is strictly consistent with the real forwarding state, avoiding failure The final intercommunication service transmission wastes the processing resources of nodes along the way and precious network bandwidth resources, and the service configuration command for binding AC and PW in N TO 1 mode is simple, and the configuration amount is only half of the previous one; at the same time, due to the use of AC-id forwarding The index forwarding index field replaces the VPI/VCI field to specifically identify a PVC for forwarding, so the hardware implementation is relatively simple, and the information of the specific PVC can be determined by linearly searching the index corresponding to the AC-id, thereby improving the forwarding speed.
附图说明Description of drawings
图1为Martini方式通告的网络示意图;Figure 1 is a schematic diagram of a network notified in Martini mode;
图2为Notification方式通告的网络示意图;图3为现有技术N TO1方式下PW网络示意图;Fig. 2 is a schematic diagram of a network notified in the Notification mode; Fig. 3 is a schematic diagram of a PW network in the prior art NTO1 mode;
图4为现有技术N TO 1 ATM PW报文帧封装格式示意图;Fig. 4 is a schematic diagram of the prior art N TO 1 ATM PW message frame encapsulation format;
图5为现有技术N TO 1 ATM PW报文帧具体封装格式示意图;FIG. 5 is a schematic diagram of a specific encapsulation format of an N TO 1 ATM PW message frame in the prior art;
图6为本发明N TO 1方式下PW网络示意图;Fig. 6 is a schematic diagram of the PW network under the
图7为本发明N TO 1方式下网络参考模型图;Fig. 7 is a network reference model diagram under the NTO1 mode of the present invention;
图8为本发明N TO 1 ATM PW报文帧具体封装格式示意图。Fig. 8 is a schematic diagram of the specific encapsulation format of the N TO 1 ATM PW message frame of the present invention.
具体实施方式Detailed ways
下面根据附图和实施例对本发明作进一步详细说明:Below according to accompanying drawing and embodiment the present invention will be described in further detail:
本发明主要涉及包交换网络上仿真业务的N TO 1方式的协议实现,包括以下内容:在配置AC N TO 1方式PW绑定命令时,设置用于标识具体子AC业务的AC-id(附属电路标识符)配置项;在发送Notification(告知)报文中增加AC-id字段和对应的转发索引,当对端收到Notification报文后依据AC-id寻找匹配(对应)的子AC,只有当一条业务流对中双端子AC都为UP且PW也UP时,才下发硬件转发表项,转发业务报文,否则不转发业务报文。具体方法如下:The present invention mainly relates to the protocol realization of the
1、在配置AC的N TO 1方式PW绑定命令时,增加AC-id的配置项,用于标识具体的子AC业务对。如图6所示,例如,为subAC1-subAC3业务对分配一个AC-id等于1,为subAC2-subAC4业务对分配一个AC-id等于2。1. When configuring the
2、在发送的Notification报文中增加AC-id字段和对应的转发索引,通过AC-id,通告对端PE本端特定子AC的状态。。2. Add the AC-id field and the corresponding forwarding index in the Notification message sent, and notify the peer PE of the status of the specific sub-AC at the local end through the AC-id. .
参见图6、图7,当PW一端(如PE1端)所有子AC中第一条子AC(假定是subAC1)的状态由DOWN变为UP时,则PE1发送NotificationUP报文,报文中携带子AC的AC-id和对应的转发索引。对端PE2接收到Notification UP报文后,寻找匹配的子AC业务(subAC3),如果PE2端子AC(subAC3)业务状态是DOWN,将PE2数据结构中对端子AC(subAC1)的状态置为UP,如果PE2端子AC(subAC3)业务状态也是UP,并且PW的状态UP,则将PE2数据结构中对端子AC(subAC1)的状态置为UP并下发硬件转发表项,开始转发业务报文;如果PW的状态DOWN掉,则仅将PE2数据结构中对端子AC(subAC1)的状态置为UP。当PW一端(如PE1端)所有子AC中最后一条子AC(假定是subAC1)的状态由UP变为DOWN时,则发送Notification DOWN报文,报文中携带子AC的AC-id。对端PE2接收到Notification DOWN报文后,寻找匹配的子AC业务(subAC3),如果PE2端子AC(subAC3)业务状态是UP,PW的状态UP,则将PE2数据结构中对端子AC(subAC1)的状态置为DOWN并删除硬件转发表项,否则仅将PE2数据结构中对端子AC(subAC1)的状态置为DOWN。这样,PE也能明确知道PW状态、一条业务流对中本端子AC状态和对端子AC状态。Referring to Figure 6 and Figure 7, when the state of the first sub-AC (assumed to be subAC1) of all sub-ACs at the PW end (such as PE1 end) changes from DOWN to UP, PE1 sends a NotificationUP message, which carries the sub-AC The AC-id of the AC and the corresponding forwarding index. After receiving the Notification UP message, the peer PE2 searches for the matching sub-AC service (subAC3). If the service status of the PE2 terminal AC (subAC3) is DOWN, set the status of the peer terminal AC (subAC1) in the PE2 data structure to UP. If the service status of the terminal AC (subAC3) on PE2 is also UP, and the status of the PW is UP, then set the status of the terminal AC (subAC1) in the PE2 data structure to UP and issue a hardware forwarding entry to start forwarding service packets; if If the status of PW is DOWN, only the status of terminal AC (subAC1) in the PE2 data structure is set to UP. When the state of the last sub-AC (assumed to be subAC1) of all sub-ACs on the PW side (such as PE1 side) changes from UP to DOWN, a Notification DOWN message is sent, and the message carries the AC-id of the sub-AC. After receiving the Notification DOWN message, the peer PE2 searches for the matching sub-AC service (subAC3). If the service status of the terminal AC (subAC3) on PE2 is UP and the status of the PW is UP, the peer terminal AC (subAC1) in the PE2 data structure The state of the terminal AC (subAC1) in the PE2 data structure is set to DOWN and the hardware forwarding entry is deleted. In this way, the PE can also clearly know the PW status, the AC status of the local terminal and the AC status of the opposite terminal in a service flow pair.
本发明中,把PW的状态和子AC业务的状态进行严格的区分。约定如果PE两端PW的标记都已经分配(既给对端发了标记Mapping消息,也收到了来自对端的标记Mapping消息),则PW的状态就是UP,否则PW的状态就是DOWN。这样做,使PW的状态独立于AC状态,状态的区分更明确,对协议的理解以及实现起来更加清晰,同时也更加符合协议《(draft-ietf-pwe3-control-protocol-14.txt》中规定的PWE3Reference Model中对PW的理解,也就是说,PW的状态应该和AC状态独立。In the present invention, the state of the PW is strictly distinguished from the state of the sub-AC service. It is agreed that if the labels of the PWs at both ends of the PE have been allocated (both the label mapping message is sent to the peer and the label mapping message is received from the peer), the state of the PW is UP; otherwise, the state of the PW is DOWN. In this way, the state of the PW is independent of the state of the AC, the state is more clearly distinguished, the understanding and implementation of the protocol are clearer, and it is more in line with the protocol "(draft-ietf-pwe3-control-protocol-14.txt") The understanding of PW in the specified PWE3Reference Model, that is, the state of PW should be independent of the state of AC.
3、调整N TO 1方式的PW报文帧封装格式3. Adjust the encapsulation format of PW message frame in N TO 1 mode
参见图8,以ATM的N TO 1方式的PW报文帧封装格式的调整为例说明我们对于N TO 1方式PW封装报文格式的调整方案。去掉N TO 1 ATM PW报文帧封装格式中的VPI、VCI字段,改用AC-id对应的转发索引字段来具体索引一条PVC。接收到N TO 1 ATM PW报文帧后根据AC-id对应的转发索引去查找相应的PVC,这样不仅可以使查找达到线性速度,而且可以减少硬件实现的复杂性。对于其他伪线业务的N TO 1封装格式的调整同理,如FR的仿真业务,也改用AC-id对应的转发索引字段来索引一条具体FR业务流。Referring to Fig. 8, take the adjustment of the PW message frame encapsulation format of the N TO 1 mode of ATM as an example to illustrate our adjustment scheme for the N TO 1 mode PW encapsulation message format. Remove the VPI and VCI fields in the encapsulation format of the N TO 1 ATM PW message frame, and use the forwarding index field corresponding to the AC-id to specifically index a PVC. After receiving the N TO 1 ATM PW message frame, search for the corresponding PVC according to the forwarding index corresponding to the AC-id, which can not only make the search reach a linear speed, but also reduce the complexity of hardware implementation. The same is true for the adjustment of the
从以上可以看出,本发明通过引入子业务号的机制,使PE设备可以区分出具体的AC业务对,而不会产生非业务对的AC UP导致的PW状态UP,但并不能真正的转发报文的状况。而且通过这种机制,还可以避免通过inputvpi/inputvci硬件查找对应的PVC效率不高的问题。It can be seen from the above that the present invention introduces the mechanism of the sub-service number, so that the PE device can distinguish the specific AC service pair, without causing the PW state UP caused by the AC UP of the non-service pair, but it cannot really forward The status of the message. Moreover, through this mechanism, it is also possible to avoid the problem that the efficiency of finding the corresponding PVC through the inputvpi/inputvci hardware is not high.
可以理解的是,对本领域普通技术人员来说,可以根据本发明的技术方案及其发明构思加以等同替换或改变,而所有这些改变或替换都应属于本发明所附的权利要求的保护范围。It can be understood that those skilled in the art can make equivalent replacements or changes according to the technical solutions and inventive concepts of the present invention, and all these changes or replacements should belong to the protection scope of the appended claims of the present invention.
Claims (11)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100333359A CN100433722C (en) | 2006-01-23 | 2006-01-23 | A Method for Identifying Multiple Simulated Service Flow Paths |
| PCT/CN2006/002168 WO2007082424A1 (en) | 2006-01-23 | 2006-08-24 | A method for identifying multiple emulation traffic flow paths |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100333359A CN100433722C (en) | 2006-01-23 | 2006-01-23 | A Method for Identifying Multiple Simulated Service Flow Paths |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1878136A true CN1878136A (en) | 2006-12-13 |
| CN100433722C CN100433722C (en) | 2008-11-12 |
Family
ID=37510434
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2006100333359A Expired - Fee Related CN100433722C (en) | 2006-01-23 | 2006-01-23 | A Method for Identifying Multiple Simulated Service Flow Paths |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN100433722C (en) |
| WO (1) | WO2007082424A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009132542A1 (en) * | 2008-04-30 | 2009-11-05 | 华为技术有限公司 | A method and an apparatus for message transmission |
| CN101227337B (en) * | 2008-02-05 | 2011-02-23 | 中兴通讯股份有限公司 | Configuration method of circuit emulation end-to-end service |
| CN115065614A (en) * | 2022-06-22 | 2022-09-16 | 杭州云合智网技术有限公司 | VPWS multi-active business connectivity identification method |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100252509B1 (en) * | 1997-12-29 | 2000-04-15 | 강병호 | Fault Management Using M-bus in Switch Module of Mass Communication System |
| US7313605B2 (en) * | 2003-07-03 | 2007-12-25 | At&T Corp. | Externally controlled reachability in virtual private networks |
| CN1625176B (en) * | 2003-12-03 | 2010-04-28 | 华为技术有限公司 | Communication Method Based on Edge-to-Edge Pseudowire Simulation Protocol |
| US20050147104A1 (en) * | 2003-12-29 | 2005-07-07 | Hamid Ould-Brahim | Apparatus and method for multihop MPLS/IP/ATM/frame relay/ethernet pseudo-wire |
-
2006
- 2006-01-23 CN CNB2006100333359A patent/CN100433722C/en not_active Expired - Fee Related
- 2006-08-24 WO PCT/CN2006/002168 patent/WO2007082424A1/en not_active Ceased
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101227337B (en) * | 2008-02-05 | 2011-02-23 | 中兴通讯股份有限公司 | Configuration method of circuit emulation end-to-end service |
| WO2009132542A1 (en) * | 2008-04-30 | 2009-11-05 | 华为技术有限公司 | A method and an apparatus for message transmission |
| CN101572651B (en) * | 2008-04-30 | 2013-06-05 | 华为技术有限公司 | Method and device for message transfer |
| CN115065614A (en) * | 2022-06-22 | 2022-09-16 | 杭州云合智网技术有限公司 | VPWS multi-active business connectivity identification method |
| CN115065614B (en) * | 2022-06-22 | 2023-10-13 | 杭州云合智网技术有限公司 | Method for identifying multi-activity service connectivity of VPWS |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100433722C (en) | 2008-11-12 |
| WO2007082424A1 (en) | 2007-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101340372B (en) | Number automatic routing method, updating method, revocation method, router and equipment | |
| CN1625176A (en) | Realization method of edge to edge pseudo-line simulation protocol | |
| CN101075937A (en) | Method, system and apparatus for converting message in three-layer virtual special network | |
| CN101076972A (en) | Obtain path information associated with a Virtual Private LAN Service (VPLS) based network | |
| CN100471162C (en) | A method for issuing and processing virtual circuit information and provider edge equipment | |
| CN1507230A (en) | A Realization Method of Multi-protocol Label Switching Virtual Private Network | |
| CN1806419A (en) | Embedded management channel for SONET path terminating equipment connectivity | |
| CN101075201A (en) | Method for realizing unified universal message bus between different assembly process | |
| CN1472938A (en) | Method and device for carrying out terminal to terminal connection between RPR net and MPLS net | |
| CN1691629A (en) | Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network | |
| CN1822570A (en) | Automatic Discovery of Pseudowire Peer Addresses in Ethernet-Based Networks | |
| CN1266887C (en) | Virtual switch for supplying virtual LAN service and method | |
| CN1697408A (en) | Method for managing routes in virtual private network based on IPv6 | |
| CN1691666A (en) | Method of multi-protocol universal line transmission and device therefor | |
| CN1866923A (en) | Method and system for realizing binding interface edge-to-edge pseudo wire simulation service | |
| CN1184781C (en) | Packaging retransmission method of message in network communication | |
| CN1878135A (en) | Method for judging pseudo wire connection state in packet-switching network and service apparatus | |
| CN1863127A (en) | Method for core network access to multi-protocol sign exchange virtual special network | |
| CN1538682A (en) | A Method of Establishing Virtual Circuit | |
| CN1725727A (en) | Label switching path (LSP) aggregation method | |
| CN1870637A (en) | Method for implementing virtual circuit state consistency in virtual special local network service | |
| CN1878136A (en) | Method for recognizing multiple emulation service flow path | |
| CN1878165A (en) | Method for detecting label switching path connectivity | |
| CN1929392A (en) | Management method for binding chain circuit state | |
| CN1691628A (en) | Implementing method and system for transmitting Ethernet service over RPR network |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081112 Termination date: 20170123 |