WO2015172493A1 - 数据的处理方法、装置及网络设备 - Google Patents
数据的处理方法、装置及网络设备 Download PDFInfo
- Publication number
- WO2015172493A1 WO2015172493A1 PCT/CN2014/087116 CN2014087116W WO2015172493A1 WO 2015172493 A1 WO2015172493 A1 WO 2015172493A1 CN 2014087116 W CN2014087116 W CN 2014087116W WO 2015172493 A1 WO2015172493 A1 WO 2015172493A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- network
- label
- oam
- oam packet
- Prior art date
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
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the present invention relates to the field of communications, and in particular, to a data processing method, apparatus, and network device.
- optical layers for example, Wavelength Division Multiplexing (WDM), Optical Transport Network (OTN), and packet transport layer (for example, multi-protocol labels)
- WDM Wavelength Division Multiplexing
- OTN Optical Transport Network
- packet transport layer for example, multi-protocol labels
- MPLS/MPLS Transport Architecture for MPLS can be mixed in one network or one device.
- PW Pseudo Wire
- LSP Label Switch Path
- ETH Ethernet
- OFDUk Optical Channel Data Unit
- the MPLS/MPLS-TP network is deployed in the network.
- the service encapsulation mode of the MPLS/MPLS-TP network is: PW-LSP-ETH.
- the MPLS/MPLS-TP network is used in conjunction with the OTN network.
- the service adaptation of the foregoing mode 3 can effectively improve the encapsulation efficiency and implement the integrity of the service management.
- the LSP in the MPLS/MPLS-TP network does not exist in the OTN network, the current standard is not defined in this scenario. How the networks interoperate to realize the management and maintenance of services on the entire network.
- the embodiment of the invention provides a data processing method, device and network device, so as to solve at least the problem of adapting the MPLS network and the OTN network message.
- a data processing method including: stripping an LSP label of a first data to obtain second data having a first PW label, wherein the first data is a first network Data, the first PW label is a label of the first network; performing label switching processing on the second data to obtain third data having a second PW label, where the second PW label is the a label of the second network, encapsulating the third data according to the second network, to obtain fourth data, wherein the fourth data is data of the second network; and sending the fourth data to the second network .
- a data processing method including: stripping an ODU overhead of a first data to obtain second data having a first PW label, wherein the first data is a first network Data, the first PW label is a label of the first network; performing label switching processing on the second data to obtain third data having a second PW label; adding an LSP label to the third data, Obtaining fourth data; encapsulating the fourth data according to the second network, to obtain fifth data, wherein the fifth data is data of the second network; and sending the fifth data to the second network .
- a data processing apparatus including: a first stripping module configured to strip an LSP label of a first data to obtain second data having a first PW label, wherein The first data is data of the first network, the first PW label is a label of the first network, and the first processing module is configured to perform label switching processing on the second data to obtain a second PW label.
- the third data wherein the second PW label is a label of the second network, and the first encapsulating module is configured to encapsulate the third data according to the second network to obtain fourth data, where the fourth The data is data of the second network; the first sending module is configured to send the fourth data to the second network.
- a data processing apparatus including: a stripping module configured to strip the ODU overhead of the first data to obtain second data having a first PW label, wherein the first The data is the data of the first network, the first PW label is a label of the first network, and the processing module is configured to perform label switching processing on the second data to obtain third data with a second PW label.
- a module configured to add an LSP label to the third data, to obtain fourth data
- an encapsulating module configured to encapsulate the fourth data according to the second network, to obtain fifth data, where the fifth data is The data of the second network; the first sending module is configured to send the fifth data to the second network.
- a network device including: a first processor, configured to strip an LSP label of a first data, to obtain second data having a first pseudowire PW label, where the first The data is data of the first network, the first PW label is a label of the first network, and the switching device is configured to perform label switching processing on the second data to obtain third data with a second PW label.
- the second PW label is a label of the second network, and the second processor is configured to encapsulate the third data according to the second network to obtain fourth data, where the fourth data is the Data of the second network; and transmitting the fourth data to the second network.
- a network device including: a first processor, configured to strip the ODU overhead of the first data, to obtain second data having a first pseudowire PW label, where The first data is data of the first network, the first PW label is a label of the first network, and the switching device is configured to perform label switching processing on the second data to obtain a third label with a second PW label.
- a second processor configured to add an LSP label to the third data, to obtain fourth data, and to encapsulate the fourth data according to the second network, to obtain fifth data, where the fifth data is Decoding data of the second network; and transmitting the fifth data to the second network.
- the LSP label of the first data of the first network is stripped to obtain the second data of the PW label of the first network, and the label exchange processing is performed on the second data to obtain the PW label of the second network.
- the third data is encapsulated according to the second network, and the fourth data of the second network is obtained; and the fourth data is sent to the second network.
- Data transmission from the first network to the second network is implemented, the first network is MPLS/MPLS-TP, and the second network is an OTN network.
- FIG. 1 is a schematic diagram of a network architecture defined by an ITU-T according to the related art
- FIG. 2 is a schematic diagram of a network architecture defined by a CCSA according to the related art
- FIG. 3 is a flowchart 1 of a method for processing data according to an embodiment of the present invention.
- FIG. 4 is a flow chart of a preferred method of processing data according to an embodiment of the present invention.
- FIG. 5 is a second structural block diagram of a data processing apparatus according to an embodiment of the present invention.
- FIG. 6 is a second flowchart of a method of processing data according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram 2 of a data processing apparatus according to an embodiment of the present invention.
- FIG. 8 is a structural block diagram of a network device according to an embodiment of the present invention.
- FIG. 9 is a block diagram showing the structure of a preferred data processing device according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of networking of MPLS and OTN according to Embodiment 1 of the present invention.
- FIG. 11 is a schematic diagram of an adaptation process of an OTN according to Embodiment 1 of the present invention.
- FIG. 12 is a schematic diagram of networking of MPLS and OTN according to Embodiment 2 of the present invention.
- FIG. 13 is a schematic diagram of an adaptation process of an OTN according to Embodiment 2 of the present invention.
- the first/second, etc. are similarly described, and do not constitute a limitation of the preferred order.
- the first network may be MPLS/MPLS-TP and the second network may be an OTN network.
- the method and apparatus of the following embodiments may be implemented by a computer program, or may be implemented by a Field Programmable Gate Array (FPGA) or a Network Processor (NP Processor). achieve.
- the hardware implementation may be to sinter the program implementing the following method into the FPGA, but is not limited thereto.
- FIG. 3 is a flowchart 1 of a data processing method according to an embodiment of the present invention. As shown in FIG. 3, the method includes steps S302 to S308.
- step S302 the LSP label of the first data is stripped, and the second data with the first PW label is obtained.
- the first data is the data of the first network
- the first PW label is the label of the first network.
- the LSP label of the first data may be stripped, and the bottom packet header of the first data may be stripped.
- the bottom packet header includes a MAC header or an SDH header, but is not limited thereto.
- the transmission mode adopted by a network is determined. After stripping the underlying message header, data is obtained with an LSP label having a PW tag with a first network inside.
- Step S304 performing label switching processing on the second data to obtain third data having a second PW label, where the second PW label is a label of the second network.
- the PW label of the first network does not conflict with the PW label of the second network
- label switching processing is performed on the second data, and the third data may use the PW label of the first network.
- Step S306 encapsulating the third data according to the second network, to obtain fourth data, where the fourth data is data of the second network.
- the ODU overhead may be added to the third data, and the OTU overhead is further increased to obtain the fourth data.
- embodiments of the invention are not limited thereto.
- Step S308 the fourth data is sent to the second network.
- the LSP label of the first data of the first network is stripped to obtain the second data of the PW label of the first network, and the label exchange processing is performed on the second data to obtain the PW label of the second network.
- the third data is encapsulated according to the second network, and the fourth data of the second network is obtained; and the fourth data is sent to the second network.
- Data transmission from the first network to the second network is implemented, the first network is MPLS/MPLS-TP, and the second network is an OTN network.
- the data of the second network may be processed to be sent to the first network.
- the foregoing method may further include steps S310 to S318.
- Step S310 stripping the ODU overhead of the fifth data to obtain sixth data, wherein the sixth data is data of the second network, and the sixth data has a second PW label.
- Step S312 performing label switching processing on the sixth data to obtain seventh data having the first PW label.
- Step S314 adding an LSP label to the seventh data, to obtain the eighth data.
- Step S316 encapsulating the eighth data according to the first network, to obtain the ninth data, wherein the ninth data is the data of the first network.
- the ODU overhead of the second network is stripped, and the data with the second PW label is label-switched to obtain data having the first network PW label, and then the LSP label is added to the data, and the LSP label is added.
- the encapsulation of a network realizes that the data of the second network is sent to the first network, and the interworking between the networks is realized.
- the method further includes: receiving an operation management and maintenance (OAM) OAM message, where the first OAM The packet is an OAM packet of the first network, and the first OAM packet is parsed to obtain a second OAM packet, where the second OAM packet is an OAM packet of the second network, and the second OAM packet is sent to the second network. Text.
- OAM operation management and maintenance
- the method further includes: receiving a second OAM packet, where the second OAM packet is an OAM packet of the second network; parsing the second OAM packet to obtain the first OAM packet
- the first OAM packet is an OAM packet of the first network, and the first OAM packet is sent to the first network.
- the CV of the first OAM packet corresponds to the TTI of the second OAM packet
- the alarm indication and the suppression (AIS) of the first OAM packet correspond to the AIS of the second OAM packet
- the first OAM packet corresponds to the remote fault indication (RDI)
- the packet loss test (LM) of the first OAM packet corresponds to the bidirectional error indication (BEI) of the second OAM packet
- the first OAM packet corresponds to the APS of the second OAM packet
- the bidirectional forwarding detection (BFD) of the first OAM packet corresponds to the AIS of the second OAM packet.
- FIG. 5 is a block diagram showing the structure of a data processing apparatus according to an embodiment of the present invention.
- the apparatus may include: a first stripping module 10 configured to strip the LSP label of the first data to obtain a first PW label.
- the second data wherein the first data is the data of the first network, the first PW label is the label of the first network, and the first processing module 20 is configured to perform label switching processing on the second data to obtain the second PW.
- the first encapsulating module 30 is configured to encapsulate the third data according to the second network, to obtain fourth data, where the fourth data is data of the second network
- the first sending module 40 is configured to send the fourth data to the second network.
- the LSP label of the first data of the first network is stripped to obtain the second data of the PW label of the first network, and the label exchange processing is performed on the second data to obtain the PW label of the second network.
- the third data is encapsulated according to the second network, and the fourth data of the second network is obtained; and the fourth data is sent to the second network.
- Data transmission from the first network to the second network is implemented, the first network is MPLS/MPLS-TP, and the second network is an OTN network.
- the apparatus may further include: a second stripping module configured to strip the ODU overhead of the fifth data to obtain sixth data, wherein the sixth data is data of the second network, The sixth data has a second PW label; the second processing module is configured to perform label switching processing on the sixth data to obtain seventh data having the first PW label; and adding a module, configured to add an LSP label to the seventh data, to obtain the first Eight data; the second encapsulating module is configured to encapsulate the eighth data according to the first network, to obtain the ninth data, wherein the ninth data is the data of the first network; and the second sending module is configured to send the ninth data to the first network .
- a second stripping module configured to strip the ODU overhead of the fifth data to obtain sixth data, wherein the sixth data is data of the second network, The sixth data has a second PW label
- the second processing module is configured to perform label switching processing on the sixth data to obtain seventh data having the first PW label
- the device further includes: a first receiving module, configured to receive the first OAM packet, where the first OAM packet is an OAM packet of the first network; the first parsing module, The third OAM packet is configured to parse the first OAM packet, and the second OAM packet is the OAM packet of the second network.
- the third sending module is configured to send the second OAM packet to the second network.
- the device further includes: a second receiving module, configured to receive the second OAM packet, where the second OAM packet is an OAM packet of the second network; and the second parsing module is The first OAM packet is configured to parse the second OAM packet, and the first OAM packet is the OAM packet of the first network.
- the fourth sending module is configured to send the first OAM packet to the first network.
- FIG. 6 is a second flowchart of a method for processing data according to an embodiment of the present invention. As shown in FIG. 6, the method may include steps S602 to S610.
- Step S602 the ODU overhead of the first data is stripped, and the second data having the first PW label is obtained, where the first data is the data of the first network, and the first PW label is the label of the first network.
- Step S604 performing label switching processing on the second data to obtain third data having the second PW label.
- Step S606 adding an LSP label to the third data, to obtain fourth data.
- Step S608 encapsulating the fourth data according to the second network, to obtain the fifth data, wherein the fifth data is the data of the second network.
- Step S610 sending fifth data to the second network.
- the embodiment of the present invention strips the ODU overhead of the first network, performs label switching on the data with the first PW label, obtains data with the second network PW label, and then adds an LSP label to the data, and performs the second network.
- the encapsulation realizes that the data of the first network is sent to the second network, and the interworking between the networks is realized.
- the foregoing method may further include the step shown in FIG. 3, implementing interworking between the second network and the first network.
- the method may further include: receiving the first OAM packet, where the first OAM packet is an OAM packet of the first network, and parsing the first OAM packet to obtain a second OAM packet, where The second OAM packet is an OAM packet of the second network, and the second OAM packet is sent to the second network.
- the method may further include: receiving a second OAM packet, where the second OAM packet is an OAM packet of the second network, and parsing the second OAM packet to obtain the first OAM packet, where The first OAM packet is an OAM packet of the first network, and the first OAM packet is sent to the first network.
- the CV of the second OAM packet corresponds to the TTI of the first OAM packet
- the AIS of the second OAM packet corresponds to the AIS of the first OAM packet
- the RDI of the second OAM packet corresponds to the first OAM.
- the RDI of the packet, the LM of the second OAM packet corresponds to the BEI of the first OAM packet, the APS of the second OAM packet corresponds to the APS of the first OAM packet, or the BFD of the second OAM packet corresponds to the first OAM
- the AIS of the message corresponds to the TTI of the first OAM packet
- the AIS of the second OAM packet corresponds to the AIS of the first OAM packet
- the RDI of the second OAM packet corresponds to the first OAM.
- the AIS of the message corresponds to the TTI of the first OAM packet
- the AIS of the second OAM packet corresponds to the AIS of the first OAM packet
- the RDI of the second OAM packet corresponds
- FIG. 7 is a block diagram showing the structure of a data processing apparatus according to an embodiment of the present invention.
- the apparatus may include: a stripping module 50 configured to strip the ODU overhead of the first data to obtain a first PW label.
- the second data wherein the first data is data of the first network, the first PW label is a label of the first network, and the processing module 60 is configured to perform label switching processing on the second data to obtain a label with the second PW
- the adding module 70 is configured to add an LSP label to the third data, to obtain the fourth data, and the encapsulating module 80 is configured to encapsulate the fourth data according to the second network to obtain the fifth data, where the fifth data is the second data.
- the data of the network; the first sending module 90 is configured to send the fifth data to the second network.
- the apparatus may further include: a first receiving module, configured to receive the first OAM packet, where the first OAM packet is an OAM packet of the first network; and the first parsing module
- the second OAM packet is configured to parse the first OAM packet, and the second OAM packet is the OAM packet of the second network.
- the second sending module is configured to send the second OAM packet to the second network.
- the apparatus may further include: a second receiving module, configured to receive the second OAM packet, where the second OAM packet is an OAM packet of the second network; and the second parsing module And the first OAM packet is configured to parse the second OAM packet, where the first OAM packet is the OAM packet of the first network, and the third sending module is configured to send the first OAM packet to the first network.
- a second receiving module configured to receive the second OAM packet, where the second OAM packet is an OAM packet of the second network
- the second parsing module And the first OAM packet is configured to parse the second OAM packet, where the first OAM packet is the OAM packet of the first network
- the third sending module is configured to send the first OAM packet to the first network.
- the network or device has an exchange scheduling for TDM (ODUk) and packet (MPLS/MPLS-TP), and supports inter-layer inter-layer adaptation and mapping multiplexing to implement grouping, OTN, and the like.
- OFDUk TDM
- MPLS/MPLS-TP packet
- a service and OAM adaptation are implemented when the MPLS/MPLS-TP network is co-networked with the OTN network.
- FIG. 8 is a structural block diagram of a network device according to an embodiment of the present invention.
- the network device includes a network processor.
- the network processor includes a first processor 802, a switching device 804, and a second processor 806.
- the first processor 802 is configured to strip the LSP label of the first data to obtain the second data with the first PW label, where the first data is data of the first network,
- the first PW label is a label of the first network
- the switching device 804 is configured to perform label switching processing on the second data to obtain third data having a second PW label, where the second PW label is a label of the second network
- the second processor 806 is configured to encapsulate the third data according to the second network to obtain fourth data, where the fourth data is data of the second network, and the fourth data is sent to the second network.
- the second processor 806 is further configured to strip the ODU overhead of the fifth data to obtain the sixth data, wherein the sixth data is the data of the second network, the sixth data has the second PW label, and the switching device 804, And is further configured to perform label switching processing on the sixth data to obtain seventh data having the first PW label; the first processor 802 is further configured to add an LSP label to the seventh data to obtain the eighth data; according to the first network encapsulation The eighth data obtains ninth data, wherein the ninth data is data of the first network; and the second processor 806 is further configured to send ninth data to the first network.
- the network processor may further include: a bridge device,
- the first OAM packet is configured to receive the OAM packet, where the first OAM packet is the OAM packet of the first network, and the first OAM packet is parsed to obtain the second OAM packet, where the second OAM packet is An OAM packet of the second network; sending the second OAM packet to the second network; and/or
- the second OAM packet is configured to receive the second OAM packet, where the second OAM packet is the OAM packet of the second network, and the second OAM packet is parsed to obtain the first OAM packet, where the first OAM packet is the OAM of the first network.
- the packet sends the first OAM packet to the first network.
- the second processor 806 is configured to strip the ODU overhead of the first data to obtain second data having a first PW label, where the first data is data of the first network.
- the first PW tag is a tag of the first network;
- the switching device 804 is configured to perform label switching processing on the second data to obtain third data having a second PW tag;
- the first processor 802 is configured to be The third data is added to the third data, and the fourth data is encapsulated according to the second network to obtain the fifth data, wherein the fifth data is data of the second network, and the fifth data is sent to the second network.
- FIG. 9 is a structural block diagram of a preferred data processing apparatus according to an embodiment of the present invention. As shown in FIG. 9, the apparatus includes:
- the PW switching module 902 is configured to exchange the PWs carried by the LSPs and the PWs carried by the ODUs to achieve the integrity of the service management. If the PW labels do not conflict, the PW labels may not change.
- the LSP processing module 904 is configured to implement LSP termination processing, including LSP label stripping and adding, LSPOAM packet parsing, and sending.
- the ODU processing module 906 is configured to implement the termination regeneration processing of the ODU, including PW to ODU adaptation and ODU overhead processing.
- the OAM bridging module 908 implements bridging between the LSP OAM and the ODU OAM.
- the LSP OAM includes, CC/CV, AIS, RDI, LCK, LM, APS, etc.
- the overhead of the ODU includes BDI, BEI, TTI, and SATA, according to the ODU.
- the cost information is associated with the LSP OAM.
- the services of the two users of CE1 and CE2 are transmitted through the MPLS-TP and OTN networks.
- the node through which the service primary path passes is PTN1-PTN3-OTN5-OTN4.
- the path through which the alternate path passes is PTN1-PTN2-OTN1-OTN2-OTN3.
- the device needs to implement the MPLS-TP bearer service to the OTN adaptation. 11 is shown.
- PW switch module PW label exchange between PW1/PW2 on the MPLS-TP network side and PW11/PW12 on the OTN network side. If the PW label does not conflict, the PW label does not change.
- the LSP processing module is configured to implement the MPLS-TP network side LSP1 label stripping and adding, complete the LSP1 OAM packet parsing and sending, and generate CV, AIS, RDI, LCK, LM, APS alarm and performance and protection switching information according to the OAM packet;
- ODU processing module implements termination and regeneration processing of OTN network side 1#ODU, and implements PW to ODU adaptation according to standard ITU-TG.798.1 Appendix IV and CCSA "General Technical Requirements for Packet Enhanced Optical Transport Network".
- the OAM bridging module implements the bridging between the LSP OAM and the ODU OAM.
- the MPLS-TP network enables the OAM at the LSP level.
- the specific bridging correspondence is as follows:
- the OTN1 node also implements the adaptation between the MPLS-TP and the OTN.
- the service between the CE1 and the CE2 can be implemented on the entire MPLS-TP and OTN network.
- LSP linear protection can be deployed on PTN1
- ODU linear protection can be deployed on OTN3. Any node or link fault in the network can protect the service at the tunnel level.
- the services of the two users of CE1 and CE2 are transmitted through MPLS and OTN networks.
- the node through which the service primary path passes is MPLS1-MPLS5-MPLS4-OTN3-OTN2.
- the path through which the path passes is MPLS1-MPLS2-MPLS3-OTN1-OTN2.
- the device needs to implement the adaptation of the MPLS bearer service to the OTN.
- the specific adaptation of MPLS4 is shown in Figure 13.
- PW switch module PW label exchange between PW1/PW2 on the MPLS network side and PW11/PW12 on the OTN network side. If the PW label does not conflict, the PW label does not change.
- the LSP processing module is configured to implement the MPLS network side LSP1 label stripping and adding, complete the LSP1 OAM packet parsing and sending, and generate CV, AIS, RDI, LCK, LM, APS alarm and performance and protection switching information according to the OAM packet;
- ODU processing module implements termination and regeneration processing of OTN network side 1#ODU, and implements PW to ODU adaptation according to standard ITU-TG.798.1 Appendix IV and CCSA "General Technical Requirements for Packet Enhanced Optical Transport Network".
- the OAM bridging module is configured to implement the bridging between the LSP OAM and the ODU OAM.
- the BFD for LSP is deployed on the MPLS network.
- the specific bridging correspondence is as follows:
- the MPLS3 node also implements the adaptation between MPLS and OTN on the alternate path. By adapting the two nodes, end-to-end monitoring of services between CE1 and CE2 over the entire MPLS and OTN network can be realized. You can deploy LSP Hot-Standby protection on MPLS1, and deploy ODU linear 1+1 protection on OTN2. Any node or link fault in the network can implement service-based tunnel-level protection.
- the present invention achieves the following technical effects: when the MPLS/MPLS-TP network and the OTN network are co-networked, both the LSP and the ODU can be regarded as tunnels, and the splicing of different types of tunnels is realized.
- the end-to-end management of the PW is implemented at the service level, and the end-to-end management and maintenance of the entire network service is implemented at the tunnel level.
- the LSP protection of the MPLS/MPLS-TP network and the ODU protection in the OTN network can be realized.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- data transmission from the first network to the second network is implemented, and the first network is MPLS/MPLS-TP.
- the second network is an OTN network.
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
一种数据的处理方法、装置及网络设备,其中数据的处理方法包括:剥离第一数据的标签交换通道(LSP)标签,得到具有第一(伪线)PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签;对第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中第二PW标签为第二网络的标签;按照第二网络封装第三数据,得到第四数据,其中第四数据为第二网络的数据;向第二网络发送第四数据。通过上述方法,实现了第一网络向第二网络的数据发送。
Description
本发明涉及通信领域,具体而言,涉及一种数据的处理方法、装置及网络设备。
随着网络融合演进以及设备融合发展,光层(例如,光分复用Wavelength Division Multiplexing,简称为WDM)、光传输网络(Optical Transport Network,简称为OTN)、分组传送层(例如,多协议标签交换(Multi-Protocol Label Switching,简称为MPLS/MPLS传输架构(Transport Profile for MPLS,简称为MPLS-TP))等各种技术会在一张网络中或一种设备中混合应用。
在国际电信联盟远程通信标准化组织(ITU-T)G.798.1 Appendix IV和中国通信标准化协会(China Communications Standards Association,简称为CCSA)《分组增强型光传送网总体技术要求》标准中均对此类融合的网络分层结构进行了定义,如图1和图2所示。两个标准中均定义了客户业务通过的不同的适配处理方式,根据标准定义,MPLS/MPLS-TP到OTN的业务适配则可以有如下几种方式:
方式一:业务-伪线(Pseudo Wire,简称为PW)-标签交换路径(Label Switch Path,简称为LSP)-以太网(ETH)-光通道数据单元(Optical Channel Data Unit,简称为ODUk);
方式二:业务-PW-LSP–ODUk;
方式三:业务-PW-ODUk。
由于网络中已经大量部署了MPLS/MPLS-TP的网络设备,MPLS/MPLS-TP网络的业务封装方式为:业务-PW-LSP-ETH,MPLS/MPLS-TP网络与OTN网络共同组网时采用上述方式三的业务适配可以有效提升封装效率并且可以实现业务管理的完整性,但此时由于MPLS/MPLS-TP网络中的LSP在OTN网络中不存在,目前标准未定义在此场景下两种网络如何进行互操作,实现整个网络上业务的管理和维护。
发明内容
本发明实施例提供了一种数据的处理方法、装置及网络设备,以至少解决MPLS网络与OTN网络报文适配的问题。
根据本发明的一个实施例,提供了一种数据的处理方法,包括:剥离第一数据的LSP标签,得到具有第一PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中所述第二PW标签为所述第二网络的标签;按照所述第二网络封装所述第三数据,得到第四数据,其中所述第四数据为所述第二网络的数据;向所述第二网络发送所述第四数据。
根据本发明的另一个实施例,提供了一种数据的处理方法,包括:剥离第一数据的ODU开销,得到具有第一PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;为所述第三数据添加LSP标签,得到第四数据;按照所述第二网络封装所述第四数据,得到第五数据,其中所述第五数据为所述第二网络的数据;向所述第二网络发送所述第五数据。
根据本发明的再一个实施例,提供了一种数据的处理装置,包括:第一剥离模块,设置为剥离第一数据的LSP标签,得到具有第一PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;第一处理模块,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中所述第二PW标签为所述第二网络的标签;第一封装模块,设置为按照所述第二网络封装所述第三数据,得到第四数据,其中所述第四数据为所述第二网络的数据;第一发送模块,设置为向所述第二网络发送所述第四数据。
根据本发明的再一个实施例,提供了一种数据的处理装置,包括:剥离模块,设置为剥离第一数据的ODU开销,得到具有第一PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;处理模块,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;添加模块,设置为为所述第三数据添加LSP标签,得到第四数据;封装模块,设置为按照所述第二网络封装所述第四数据,得到第五数据,其中所述第五数据为所述第二网络的数据;第一发送模块,设置为向所述第二网络发送所述第五数据。
根据本发明的再一个实施例,提供了一种网络设备,包括:第一处理器,设置为剥离第一数据的LSP标签,得到具有第一伪线PW标签的第二数据,其中,所述第一
数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;交换装置,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中所述第二PW标签为所述第二网络的标签;第二处理器,设置为按照所述第二网络封装所述第三数据,得到第四数据,其中所述第四数据为所述第二网络的数据;以及向所述第二网络发送所述第四数据。
根据本发明的再一个实施例,提供了一种网络设备,包括:第一处理器,设置为剥离第一数据的ODU开销,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;交换装置,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;第二处理器,设置为为所述第三数据添加LSP标签,得到第四数据;按照所述第二网络封装所述第四数据,得到第五数据,其中所述第五数据为所述第二网络的数据;以及向所述第二网络发送所述第五数据。
通过本发明实施例,剥离第一网络的第一数据的LSP标签,得到具有第一网络的PW标签的第二数据;对第二数据进行标签交换处理,得到具有第二网络的PW标签的第三数据;按照第二网络封装第三数据,得到第二网络的第四数据;向第二网络发送第四数据。实现了第一网络向第二网络的数据发送,第一网络为MPLS/MPLS-TP,第二网络为OTN网络。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据相关技术的ITU-T定义的网络架构的示意图;
图2是根据相关技术的CCSA定义的网络架构的示意图;
图3是根据本发明实施例的数据的处理方法的流程图一;
图4是根据本分发明实施例优选的数据的处理方法的流程图;
图5是根据本发明实施例的数据的处理装置的结构框图二;
图6是根据本发明实施例的数据的处理方法的流程图二;
图7是根据本发明实施例的数据的处理装置的结构框图二;
图8是根据本发明实施例的网络设备的结构框图;
图9是根据本发明实施例优选的数据处理设备的结构框图;
图10是根据本发明实施例一的MPLS与OTN的组网的示意图;
图11是根据本发明实施例一的OTN的适配过程的示意图;
图12是根据本发明实施例二的MPLS与OTN的组网的示意图;以及
图13是根据本发明实施例二的OTN的适配过程的示意图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在以下实施例中,第一/第二等类似描述,不构成对优选顺序的限定。在以下实施例中,第一网络可以是MPLS/MPLS-TP,第二网络可以是OTN网络。可以预料的是,以下实施例的方法及装置可以通过计算机程序实现,也可以通过现场可编程门阵列(Field Programmable Gate Array,简称为FPGA)、网络处理器(Network Processor,简称为NP)等硬件实现。硬件实现可以是将实现以下方法的程序烧结到FPGA中,但是并不限于此。
图3是根据本发明实施例的数据处理方法的流程图一,如图3所示,该方法包括步骤S302至步骤S308。
步骤S302,剥离第一数据的LSP标签,得到具有第一PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签。
在本发明实施例中,剥离第一数据的LSP标签,可以包括剥离第一数据的底层报文头,该底层报文头包括MAC头或SDH头等,但是不限于此,底层报文头有第一网络采用的传输方式确定。在剥离底层报文头之后,得到具有LSP标签的数据,该数据具有内部具有第一网络的PW标签。
步骤S304,对第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中第二PW标签为第二网络的标签。
在本发明实施例中,如果第一网络的PW标签与第二网络的PW标签不冲突,对第二数据进行标签交换处理,第三数据可以使用第一网络的PW标签。
步骤S306,按照第二网络封装第三数据,得到第四数据,其中第四数据为第二网络的数据。
在本发明实施例中,可以在第三数据上增加ODU开销,并进一步的增加OTU开销,得到第四数据。但是,本发明实施例不限于此。
步骤S308,向第二网络发送上述第四数据。
通过本发明实施例,剥离第一网络的第一数据的LSP标签,得到具有第一网络的PW标签的第二数据;对第二数据进行标签交换处理,得到具有第二网络的PW标签的第三数据;按照第二网络封装第三数据,得到第二网络的第四数据;向第二网络发送第四数据。实现了第一网络向第二网络的数据发送,第一网络为MPLS/MPLS-TP,第二网络为OTN网络。
在本发明实施例的一个实施方式中,还可以对第二网络的数据进行处理,以使其能够发送到第一网络,如图4所示,上述方法还可以包括步骤S310至步骤S318。
步骤S310,剥离第五数据的ODU开销,得到第六数据,其中,第六数据为第二网络的数据,第六数据具有第二PW标签。
步骤S312,对第六数据进行标签交换处理,得到具有第一PW标签的第七数据。
步骤S314,为第七数据添加LSP标签,得到第八数据。
步骤S316,按照第一网络封装第八数据,得到第九数据,其中第九数据为第一网络的数据。
步骤S318,向第一网络发送第九数据。
通过如图4所示的方法,剥离第二网络的ODU开销,对具有第二PW标签的数据进行标签交换,得到具有第一网络PW标签的数据,然后为该数据添加LSP标签,并进行第一网络的封装,实现了将第二网络的数据发送到第一网络,实现了网络之间的互通。
在本发明实施例的一个实施方式中,上述方法还包括:接收第一操作管理维护(Operation Administration and Maintenance,简称为OAM)OAM报文,其中第一OAM
报文为第一网络的OAM报文;解析第一OAM报文,得到第二OAM报文,其中,第二OAM报文为第二网络的OAM报文;向第二网络发送第二OAM报文。通过该实施方式,实现了对数据的端到端管理。
在本发明实施例的一个实施方式中,上述方法还包括:接收第二OAM报文,其中第二OAM报文为第二网络的OAM报文;解析第二OAM报文,得到第一OAM报文,其中第一OAM报文为第一网络的OAM报文;向第一网络发送第一OAM报文。通过该实施方式,实现了对数据的端到端管理。
在本发明实施例中,第一OAM报文的CV对应第二OAM报文的TTI,第一OAM报文的告警指示与抑制(AIS)对应第二OAM报文的AIS,第一OAM报文的远端故障指示(RDI)对应第二OAM报文的RDI,第一OAM报文的丢包测试(LM)对应第二OAM报文的双向误码指示(BEI),第一OAM报文的自动保护倒换(APS)对应第二OAM报文的APS;或者,第一OAM报文的双向转发检测(BFD)对应第二OAM报文的AIS。
图5是根据本发明实施例的数据处理装置的结构框图一,如图5所示,该装置可以包括:第一剥离模块10,设置为剥离第一数据的LSP标签,得到具有第一PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签;第一处理模块20,设置为对第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中第二PW标签为第二网络的标签;第一封装模块30,设置为按照第二网络封装第三数据,得到第四数据,其中第四数据为第二网络的数据;第一发送模块40,设置为向第二网络发送第四数据。
通过本发明实施例,剥离第一网络的第一数据的LSP标签,得到具有第一网络的PW标签的第二数据;对第二数据进行标签交换处理,得到具有第二网络的PW标签的第三数据;按照第二网络封装第三数据,得到第二网络的第四数据;向第二网络发送第四数据。实现了第一网络向第二网络的数据发送,第一网络为MPLS/MPLS-TP,第二网络为OTN网络。
在本发明实施例的一个实施方式中,上述装置还可以包括:第二剥离模块,设置为剥离第五数据的ODU开销,得到第六数据,其中,第六数据为第二网络的数据,第六数据具有第二PW标签;第二处理模块,设置为对第六数据进行标签交换处理,得到具有第一PW标签的第七数据;添加模块,设置为为第七数据添加LSP标签,得到第八数据;第二封装模块,设置为按照第一网络封装第八数据,得到第九数据,其中第九数据为第一网络的数据;第二发送模块,设置为向第一网络发送第九数据。
在本发明实施例的一个实施方式中,上述装置还包括:第一接收模块,设置为接收第一OAM报文,其中第一OAM报文为第一网络的OAM报文;第一解析模块,设置为解析第一OAM报文,得到第二OAM报文,其中,第二OAM报文为第二网络的OAM报文;第三发送模块,设置为向第二网络发送第二OAM报文。
在本发明实施例的一个实施方式中,上述装置还包括:第二接收模块,设置为接收第二OAM报文,其中第二OAM报文为第二网络的OAM报文;第二解析模块,设置为解析第二OAM报文,得到第一OAM报文,其中第一OAM报文为第一网络的OAM报文;第四发送模块,设置为向第一网络发送第一OAM报文。
图6是根据本发明实施例的数据的处理方法的流程图二,如图6所示,该方法可以包括步骤S602至步骤S610。
步骤S602,剥离第一数据的ODU开销,得到具有第一PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签。
步骤S604,对第二数据进行标签交换处理,得到具有第二PW标签的第三数据。
步骤S606,为第三数据添加LSP标签,得到第四数据。
步骤S608,按照第二网络封装第四数据,得到第五数据,其中第五数据为第二网络的数据。
步骤S610,向第二网络发送第五数据。
通过本发明实施例,剥离第一网络的ODU开销,对具有第一PW标签的数据进行标签交换,得到具有第二网络PW标签的数据,然后为该数据添加LSP标签,并进行第二网络的封装,实现了将第一网络的数据发送到第二网络,实现了网络之间的互通。
在本发明实施例的一个实施方式中,上述方法还可以包括如图3所示的步骤,实现第二网络和第一网络的互通。
在本发明实施例中,上述方法还可以包括:接收第一OAM报文,其中第一OAM报文为第一网络的OAM报文;解析第一OAM报文,得到第二OAM报文,其中,第二OAM报文为第二网络的OAM报文;向第二网络发送第二OAM报文。
在本发明实施例中,上述方法还可以包括:接收第二OAM报文,其中第二OAM报文为第二网络的OAM报文;解析第二OAM报文,得到第一OAM报文,其中第一OAM报文为第一网络的OAM报文;向第一网络发送第一OAM报文。
在本发明实施例中,第二OAM报文的CV对应第一OAM报文的TTI,第二OAM报文的AIS对应第一OAM报文的AIS,第二OAM报文的RDI对应第一OAM报文的RDI,第二OAM报文的LM对应第一OAM报文的BEI,第二OAM报文的APS对应第一OAM报文的APS;或者,第二OAM报文的BFD对应第一OAM报文的AIS。
图7是根据本发明实施例的数据的处理装置的结构框图二,如图7所示,该放装置可以包括:剥离模块50,设置为剥离第一数据的ODU开销,得到具有第一PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签;处理模块60,设置为对第二数据进行标签交换处理,得到具有第二PW标签的第三数据;添加模块70,设置为为第三数据添加LSP标签,得到第四数据;封装模块80,设置为按照第二网络封装第四数据,得到第五数据,其中第五数据为第二网络的数据;第一发送模块90,设置为向第二网络发送第五数据。
在本发明实施例的一个实施方式中,上述装置还可以包括:第一接收模块,设置为接收第一OAM报文,其中第一OAM报文为第一网络的OAM报文;第一解析模块,设置为解析第一OAM报文,得到第二OAM报文,其中,第二OAM报文为第二网络的OAM报文;第二发送模块,设置为向第二网络发送第二OAM报文。
在本发明实施例的一个实施方式中,上述装置还可以包括:第二接收模块,设置为接收第二OAM报文,其中第二OAM报文为第二网络的OAM报文;第二解析模块,设置为解析第二OAM报文,得到第一OAM报文,其中第一OAM报文为第一网络的OAM报文;第三发送模块,设置为向第一网络发送第一OAM报文。
下面对本发明实施例的优选实施例进行描述。
该优选实施例中,网络或设备具有对TDM(ODUk)、分组(MPLS/MPLS-TP)的交换调度,并支持多层间的层间适配和映射复用,实现对分组、OTN等各类业务的统一和灵活传送功能,并具备传送特征的OAM、保护和管理功能的网络。
在该优选实施例中,实现在MPLS/MPLS-TP网络与OTN网络共同组网时一种业务以及OAM适配。
图8是根据本发明实施例的网络设备的结构框图,如图8所示,该网络设备包括网络处理器,网络处理器包括:第一处理器802、交换装置804和第二处理器806。
在本发明实施例的一个实施方式中,第一处理器802,设置为剥离第一数据的LSP标签,得到具有第一PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签;交换装置804,设置为对第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中第二PW标签为第二网络的标签;第二处理器806,设置为按照第二网络封装第三数据,得到第四数据,其中第四数据为第二网络的数据;向所述第二网络发送第四数据。
优选地,第二处理器806,还设置为剥离第五数据的ODU开销,得到第六数据,其中,第六数据为第二网络的数据,第六数据具有第二PW标签;交换装置804,还设置为对第六数据进行标签交换处理,得到具有第一PW标签的第七数据;第一处理器802,还设置为为第七数据添加LSP标签,得到第八数据;按照第一网络封装所述第八数据,得到第九数据,其中所述第九数据为所述第一网络的数据;第二处理器806,还设置为向第一网络发送第九数据。
在本发明实施例的一个优选实施方式中,网络处理器还可以包括:接桥装置,
设置为接收第一操作管理维护OAM报文,其中第一OAM报文为第一网络的OAM报文;解析第一OAM报文,得到第二OAM报文,其中,第二OAM报文为第二网络的OAM报文;向第二网络发送所述第二OAM报文;和或
设置为接收第二OAM报文,其中第二OAM报文为第二网络的OAM报文;解析第二OAM报文,得到第一OAM报文,其中第一OAM报文为第一网络的OAM报文;向第一网络发送第一OAM报文。
在本发明实施例的另一个实施方式中,第二处理器806,设置为剥离第一数据的ODU开销,得到具有第一PW标签的第二数据,其中,第一数据为第一网络的数据,第一PW标签为第一网络的标签;交换装置804,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;第一处理器802,设置为为第三数据添加LSP标签,得到第四数据;按照第二网络封装第四数据,得到第五数据,其中第五数据为第二网络的数据;向第二网络发送第五数据。
图9是根据本发明实施例优选的数据的处理设备的结构框图,如图9所示,该设备包括:
PW交换模块902,设置为实现LSP承载的PW和ODU承载的PW之间进行交换,从而达到业务管理的完整性,如果PW标签不冲突情况下,PW标签可以不变化。
LSP处理模块904,设置为实现LSP的终结处理,包括LSP标签剥离和添加、LSPOAM报文解析和发送。
ODU处理模块906,设置为实现ODU的终结再生处理,包括PW到ODU的适配、ODU开销处理。
OAM桥接模块908,实现LSP OAM和ODU OAM之间的桥接,LSP OAM包括、CC/CV、AIS、RDI、LCK、LM、APS等,ODU的开销包括BDI、BEI、TTI、SATA,根据ODU的开销信息实现与LSP OAM之间进行关联处理。
下面结合实施用例对本发明实施例作进一步的描述。
实施例一
在MPLS-TP网络与OTN网络共同组网,如图10所示,CE1、CE2两个用户的业务经过MPLS-TP、OTN网络传送,业务主用路径经过的节点为PTN1-PTN3-OTN5-OTN4-OTN3,备用路径经过的节点为PTN1-PTN2-OTN1-OTN2-OTN3,在OTN1和OTN5两个节点上,设备需要实现MPLS-TP承载的业务到OTN的适配,OTN5具体的适配如图11所示。
PW交换模块:实现MPLS-TP网络侧PW1/PW2与OTN网络侧PW11/PW12的PW标签交换,如果PW标签不冲突情况下,PW标签可以不变化;
LSP处理模块:实现MPLS-TP网络侧LSP1标签剥离和添加、完成LSP1的OAM报文解析和发送,根据OAM报文产生CV、AIS、RDI、LCK、LM、APS告警和性能以及保护倒换信息;
ODU处理模块:实现OTN网络侧1#ODU的终结和再生处理,并根据标准ITU-TG.798.1 Appendix IV和CCSA《分组增强型光传送网总体技术要求》要求实现PW到ODU的适配,完成ODU开销处理,根据开销内容产生AIS、RDI、LCK、TTI、BEI、APS等告警和性能以及保护倒换信息;
OAM桥接模块:实现LSP OAM和ODU OAM之间的桥接,MPLS-TP网络开启LSP层面的OAM,具体桥接对应关系如下:
在备用路径上OTN1节点同样实现MPLS-TP与OTN之间的适配,通过这两个节点的适配,就可以实现CE1和CE2之间的业务在整个MPLS-TP和OTN网络上的端到端监视,同时可以在PTN1部署LSP线性保护,OTN3部署ODU线性保护,网络中任意节点或链路故障,都可以实现业务在隧道层面的保护。
实施例二
在MPLS网络与OTN网络共同组网,如图12所示,CE1、CE2两个用户的业务经过MPLS、OTN网络传送,业务主用路径经过的节点为MPLS1-MPLS5-MPLS4-OTN3-OTN2,备用路径经过的节点为MPLS1-MPLS2-MPLS3-OTN1-OTN2,在MPLS4和MPLS3两个节点上,设备需要实现MPLS承载的业务到OTN的适配,MPLS4具体的适配如图13所示。
PW交换模块:实现MPLS网络侧PW1/PW2与OTN网络侧PW11/PW12的PW标签交换,如果PW标签不冲突情况下,PW标签可以不变化;
LSP处理模块:实现MPLS网络侧LSP1标签剥离和添加、完成LSP1的OAM报文解析和发送,根据OAM报文产生CV、AIS、RDI、LCK、LM、APS告警和性能以及保护倒换信息;
ODU处理模块:实现OTN网络侧1#ODU的终结和再生处理,并根据标准ITU-TG.798.1 Appendix IV和CCSA《分组增强型光传送网总体技术要求》要求实现PW到ODU的适配,完成ODU开销处理,根据开销内容产生AIS、RDI、LCK、TTI、BEI、APS等告警和性能以及保护倒换信息;
OAM桥接模块:实现LSP OAM和ODU OAM之间的桥接,MPLS网络中部署BFD for LSP,具体桥接对应关系如下:
LSP OAM ODU OAM
BFD - AIS
在备用路径上MPLS3节点同样实现MPLS与OTN之间的适配,通过这两个节点的适配,就可以实现CE1和CE2之间的业务在整个MPLS和OTN网络上的端到端监视,同时可以在MPLS1部署LSP Hot-Standby保护,OTN2部署ODU线性1+1保护,网络中任意节点或链路故障,都可以实现业务基于隧道层面的保护。
从以上的描述中,可以看出,本发明实现了如下技术效果:在MPLS/MPLS-TP网络与OTN网络共同组网时,可以把LSP和ODU都认为是隧道,实现了不同类型隧道的拼接,不但在业务层面PW实现端到端管理,而且在隧道层面也实现整个网络业务的端到端管理和维护、同时可实现MPLS/MPLS-TP网络的LSP保护与OTN网络中ODU保护联动。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
如上所述,本发明实施例提供的一种数据的处理方法、装置及网络设备,具有以下有益效果:实现了第一网络向第二网络的数据发送,第一网络为MPLS/MPLS-TP,第二网络为OTN网络。
Claims (19)
- 一种数据的处理方法,包括:剥离第一数据的标签交换通道LSP标签,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中所述第二PW标签为所述第二网络的标签;按照所述第二网络封装所述第三数据,得到第四数据,其中所述第四数据为所述第二网络的数据;向所述第二网络发送所述第四数据。
- 根据权利要求1所述的方法,其中,还包括:剥离第五数据的光通路数据单元ODU开销,得到第六数据,其中,所述第六数据为所述第二网络的数据,所述第六数据具有所述第二PW标签;对所述第六数据进行标签交换处理,得到具有所述第一PW标签的第七数据;为所述第七数据添加LSP标签,得到第八数据;按照所述第一网络封装所述第八数据,得到第九数据,其中所述第九数据为所述第一网络的数据;向所述第一网络发送所述第九数据。
- 根据权利要求1或2所述的方法,其中,还包括:接收第一操作管理维护OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;解析所述第一OAM报文,得到第二OAM报文,其中,所述第二OAM报文为所述第二网络的OAM报文;向所述第二网络发送所述第二OAM报文。
- 根据权利要求1至3中任一项所述的方法,其中,还包括:接收第二OAM报文,其中所述第二OAM报文为所述第二网络的OAM报文;解析所述第二OAM报文,得到第一OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;向所述第一网络发送所述第一OAM报文。
- 根据权利要求3或4所述的方法,其中,所述第一OAM报文与所述第二OAM报文的对应关系为:所述第一OAM报文的连接确认CV对应所述第二OAM报文的路径轨迹标识符TTI,所述第一OAM报文的告警指示与抑制AIS对应所述第二OAM报文的AIS,所述第一OAM报文的远端故障指示RDI对应所述第二OAM报文的RDI,所述第一OAM报文的单向丢包测试LM对应所述第二OAM报文的双向误码指示BEI,所述第一OAM报文的自动保护倒换APS对应所述第二OAM报文的APS;或者所述第一OAM报文的双向转发检测BFD对应所述第二OAM报文的AIS。
- 一种数据的处理方法,包括:剥离第一数据的光通路数据单元ODU开销,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;为所述第三数据添加LSP标签,得到第四数据;按照所述第二网络封装所述第四数据,得到第五数据,其中所述第五数据为所述第二网络的数据;向所述第二网络发送所述第五数据。
- 根据权利要求6所述的方法,其中,还包括:接收第一操作管理维护OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;解析所述第一OAM报文,得到第二OAM报文,其中,所述第二OAM报文为所述第二网络的OAM报文;向所述第二网络发送所述第二OAM报文。
- 根据权利要求6或7所述的方法,其中,还包括:接收第二OAM报文,其中所述第二OAM报文为所述第二网络的OAM报文;解析所述第二OAM报文,得到第一OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;向所述第一网络发送所述第一OAM报文。
- 一种数据的处理装置,包括:第一剥离模块,设置为剥离第一数据的标签交换通道LSP标签,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;第一处理模块,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中所述第二PW标签为所述第二网络的标签;第一封装模块,设置为按照所述第二网络封装所述第三数据,得到第四数据,其中所述第四数据为所述第二网络的数据;第一发送模块,设置为向所述第二网络发送所述第四数据。
- 根据权利要求9所述的装置,其中,还包括:第二剥离模块,设置为剥离第五数据的光通路数据单元ODU开销,得到第六数据,其中,所述第六数据为所述第二网络的数据,所述第六数据具有所述第二PW标签;第二处理模块,设置为对所述第六数据进行标签交换处理,得到具有所述第一PW标签的第七数据;添加模块,设置为为所述第七数据添加LSP标签,得到第八数据;第二封装模块,设置为按照所述第一网络封装所述第八数据,得到第九数据,其中所述第九数据为所述第一网络的数据;第二发送模块,设置为向所述第一网络发送所述第九数据。
- 根据权利要求9或10所述的装置,其中,还包括:第一接收模块,设置为接收第一操作管理维护OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;第一解析模块,设置为所述第一OAM报文,得到第二OAM报文,其中,所述第二OAM报文为所述第二网络的OAM报文;第三发送模块,设置为向所述第二网络发送所述第二OAM报文。
- 根据权利要求9至11中任一项所述的装置,其中,还包括:第二接收模块,设置为接收第二OAM报文,其中所述第二OAM报文为所述第二网络的OAM报文;第二解析模块,设置为解析所述第二OAM报文,得到第一OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;第四发送模块,设置为向所述第一网络发送所述第一OAM报文。
- 一种数据的处理装置,包括:剥离模块,设置为剥离第一数据的光通路数据单元ODU开销,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;处理模块,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;添加模块,设置为为所述第三数据添加LSP标签,得到第四数据;封装模块,设置为按照所述第二网络封装所述第四数据,得到第五数据,其中所述第五数据为所述第二网络的数据;第一发送模块,设置为向所述第二网络发送所述第五数据。
- 根据权利要求13所述的装置,其中,还包括:第一接收模块,设置为接收第一操作管理维护OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;第一解析模块,设置为解析所述第一OAM报文,得到第二OAM报文,其中,所述第二OAM报文为所述第二网络的OAM报文;第二发送模块,设置为向所述第二网络发送所述第二OAM报文。
- 根据权利要求13或14所述的装置,其中,还包括:第二接收模块,设置为接收第二OAM报文,其中所述第二OAM报文为所述第二网络的OAM报文;第二解析模块,设置为解析所述第二OAM报文,得到第一OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;第三发送模块,设置为向所述第一网络发送所述第一OAM报文。
- 一种网络设备,包括:第一处理器,设置为剥离第一数据的标签交换通道LSP标签,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;交换装置,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据,其中所述第二PW标签为所述第二网络的标签;第二处理器,设置为按照所述第二网络封装所述第三数据,得到第四数据,其中所述第四数据为所述第二网络的数据;以及向所述第二网络发送所述第四数据。
- 根据权利要求16所述的网络设备,其中,所述第二处理器,还设置为剥离第五数据的ODU开销,得到第六数据,其中,所述第六数据为所述第二网络的数据,所述第六数据具有所述第二PW标签;所述交换装置,还设置为对所述第六数据进行标签交换处理,得到具有所述第一PW标签的第七数据;所述第一处理器,还设置为为所述第七数据添加LSP标签,得到第八数据;按照所述第一网络封装所述第八数据,得到第九数据,其中所述第九数据为所述第一网络的数据。
- 根据权利要求16或17所述的网络设备,其中,还包括:桥接装置,设置为接收第一操作管理维护OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;解析所述第一OAM报文,得到第二OAM报文,其中,所述第二OAM报文为所述第二网络的OAM报文;向所述第二网络发送所述第二OAM报文;和或设置为接收第二OAM报文,其中所述第二OAM报文为所述第二网络的OAM报文;解析所述第二OAM报文,得到第一OAM报文,其中所述第一OAM报文为所述第一网络的OAM报文;向所述第一网络发送所述第一OAM报文。
- 一种网络设备,包括:第一处理器,设置为剥离第一数据的光通路数据单元ODU开销,得到具有第一伪线PW标签的第二数据,其中,所述第一数据为第一网络的数据,所述第一PW标签为所述第一网络的标签;交换装置,设置为对所述第二数据进行标签交换处理,得到具有第二PW标签的第三数据;第二处理器,设置为为所述第三数据添加LSP标签,得到第四数据;按照所述第二网络封装所述第四数据,得到第五数据,其中所述第五数据为所述第二网络的数据;以及向所述第二网络发送所述第五数据。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/311,193 US20170244632A1 (en) | 2014-05-16 | 2014-09-22 | Data Processing Method and Apparatus and Network Device |
EP14891969.9A EP3145147A4 (en) | 2014-05-16 | 2014-09-22 | Data processing method and apparatus and network device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410210321.4 | 2014-05-16 | ||
CN201410210321.4A CN105100020B (zh) | 2014-05-16 | 2014-05-16 | 数据的处理方法、装置及网络设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015172493A1 true WO2015172493A1 (zh) | 2015-11-19 |
Family
ID=54479245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/087116 WO2015172493A1 (zh) | 2014-05-16 | 2014-09-22 | 数据的处理方法、装置及网络设备 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20170244632A1 (zh) |
EP (1) | EP3145147A4 (zh) |
CN (1) | CN105100020B (zh) |
WO (1) | WO2015172493A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547291A (zh) * | 2016-06-28 | 2018-01-05 | 华为技术有限公司 | 性能监控方法、装置及路由器 |
CN114726479A (zh) * | 2017-07-18 | 2022-07-08 | 华为技术有限公司 | 一种检测块发送和接收的方法、网络设备和系统 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102024902B1 (ko) * | 2015-05-22 | 2019-09-25 | 한국전자통신연구원 | Oam 패킷 및 보호 절체 메시지의 처리를 위한 패킷 전송 장치 |
US20170012900A1 (en) * | 2015-07-08 | 2017-01-12 | Infinera Corporation | Systems, methods, and apparatus for verification of a network path |
CN109951322A (zh) * | 2019-02-26 | 2019-06-28 | 盛科网络(苏州)有限公司 | 一种基于芯片实现oam告警抑制的方法及装置 |
US11122346B1 (en) * | 2020-06-25 | 2021-09-14 | Cisco Technology, Inc. | Attestation in optical transport network environments |
US11979310B2 (en) * | 2021-03-30 | 2024-05-07 | Cisco Technology, Inc. | Signal translation and protection in a hybrid network environment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674536A (zh) * | 2004-03-26 | 2005-09-28 | 阿尔卡特公司 | 透明lan服务的性能监测 |
CN1753323A (zh) * | 2004-09-21 | 2006-03-29 | 华为技术有限公司 | 环网中保护倒换的实现方法 |
US20060153179A1 (en) * | 2004-12-28 | 2006-07-13 | Michael Ho | Techniques for transmitting and receiving traffic over advanced switching compatible switch fabrics |
WO2007017708A1 (en) * | 2005-08-05 | 2007-02-15 | Telecom Italia S.P.A. | Method of establishing a connection on a communication network |
CN101860481A (zh) * | 2010-05-25 | 2010-10-13 | 北京邮电大学 | 一种MPLS-TP over OTN多层网络中区分优先级的业务传送方法及其装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE602006013047D1 (de) * | 2006-01-17 | 2010-04-29 | Huawei Tech Co Ltd | Verfahren und einrichtungen zur beurteilung des pw-verbindungszustands und zum mitteilen des ac-verbindungszustands |
WO2011066997A1 (en) * | 2009-12-01 | 2011-06-09 | Telefonaktiebolaget L M Ericsson (Publ) | Fault monitoring in connection-oriented networks |
EP2466797A1 (en) * | 2010-12-17 | 2012-06-20 | Telefonaktiebolaget L M Ericsson AB (Publ) | Interworking for OAM information exchange |
-
2014
- 2014-05-16 CN CN201410210321.4A patent/CN105100020B/zh active Active
- 2014-09-22 EP EP14891969.9A patent/EP3145147A4/en not_active Withdrawn
- 2014-09-22 WO PCT/CN2014/087116 patent/WO2015172493A1/zh active Application Filing
- 2014-09-22 US US15/311,193 patent/US20170244632A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674536A (zh) * | 2004-03-26 | 2005-09-28 | 阿尔卡特公司 | 透明lan服务的性能监测 |
CN1753323A (zh) * | 2004-09-21 | 2006-03-29 | 华为技术有限公司 | 环网中保护倒换的实现方法 |
US20060153179A1 (en) * | 2004-12-28 | 2006-07-13 | Michael Ho | Techniques for transmitting and receiving traffic over advanced switching compatible switch fabrics |
WO2007017708A1 (en) * | 2005-08-05 | 2007-02-15 | Telecom Italia S.P.A. | Method of establishing a connection on a communication network |
CN101860481A (zh) * | 2010-05-25 | 2010-10-13 | 北京邮电大学 | 一种MPLS-TP over OTN多层网络中区分优先级的业务传送方法及其装置 |
Non-Patent Citations (3)
Title |
---|
See also references of EP3145147A4 * |
ZTE: "Technical Whitepaper on IP MPLS and MPLS-TP Interoperability", 16 August 2013 (2013-08-16), pages 1 - 13, XP055236612, Retrieved from the Internet <URL:http://www.zte.com.cn/cn/products/bearer/201308/P020130828422039125956.pdf> * |
ZTE: "Technical Whitepaper on IP MPLS and MPLS-TP Interoperability", 16 August 2013 (2013-08-16), pages 13, XP055236612, Retrieved from the Internet <URL:http://www.zte.com.cn/cn/product/bearer/201308/P020130828422039125956.pdf.> * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547291A (zh) * | 2016-06-28 | 2018-01-05 | 华为技术有限公司 | 性能监控方法、装置及路由器 |
CN107547291B (zh) * | 2016-06-28 | 2021-02-12 | 华为技术有限公司 | 性能监控方法、装置及路由器 |
CN114726479A (zh) * | 2017-07-18 | 2022-07-08 | 华为技术有限公司 | 一种检测块发送和接收的方法、网络设备和系统 |
Also Published As
Publication number | Publication date |
---|---|
US20170244632A1 (en) | 2017-08-24 |
CN105100020A (zh) | 2015-11-25 |
EP3145147A4 (en) | 2017-06-28 |
EP3145147A1 (en) | 2017-03-22 |
CN105100020B (zh) | 2019-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015172493A1 (zh) | 数据的处理方法、装置及网络设备 | |
Niven-Jenkins et al. | Requirements of an MPLS transport profile | |
US11477549B2 (en) | Transmission network system, data switching and transmission method, apparatus and equipment | |
US10320510B2 (en) | TE-link bandwidth model of ODU switch capable OTN interfaces | |
US9253067B2 (en) | OAM in OTN networks: GMPLS signaling for TCM | |
US8982775B2 (en) | GMPLS signaling for networks having multiple multiplexing levels | |
US9755957B2 (en) | Pseudowire control channel for signaling events | |
US9853722B1 (en) | Systems and methods for path protection switching due to client protection switching | |
KR101206637B1 (ko) | 패킷 교환식 네트워크에서 가상 회선을 수립하는 방법 및 네트워크 노드 | |
US20070133564A1 (en) | Method for propagating maintenance signal in VPWS network using SDH/SONET | |
WO2015106577A1 (zh) | 将otn信号转换为以太网净荷的方法及系统 | |
EP3208971B1 (en) | Method, device and system for reducing centralized protection switching time in potn system | |
WO2015192518A1 (zh) | Potn的误码检测方法、装置及系统 | |
CN101682459A (zh) | 对用于OTN接口的OTUk-BDI作出响应以恢复双向通信 | |
Doverspike et al. | Structural overview of ISP networks | |
WO2015120720A1 (zh) | 信号劣化故障的处理方法及系统 | |
Zhang et al. | Framework for GMPLS and PCE Control of G. 709 Optical Transport Networks | |
WO2016206432A1 (zh) | 一种时分复用数据的传输方法、装置及网络侧边缘设备 | |
WO2020103530A1 (zh) | 通信方法和装置 | |
CN105553847B (zh) | 一种多协议标签交换环网中的倒换方法及装置 | |
Zhang et al. | Ospf-te extensions for general network element constraints | |
KR101353183B1 (ko) | 시분할 멀티플렉싱 의사회선을 포함하는 패킷 교환 네트워크에서 사용을 위한 네트워크 노드 및 시분할 의사회선을 통해 시분할 멀티플렉싱 접속을 유지하는 방법 | |
King et al. | Multiprotocol Label Switching Transport Profile (MPLS-TP) MIB-Based Management Overview | |
Zhang et al. | RFC 7580: OSPF-TE Extensions for General Network Element Constraints | |
Belotti et al. | Evaluation of Existing GMPLS Encoding against G. 709v3 Optical Transport Networks (OTNs) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14891969 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2014891969 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014891969 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15311193 Country of ref document: US |