WO2012171384A1 - Method and device for implementing circuit emulation service in passive optical network - Google Patents
Method and device for implementing circuit emulation service in passive optical network Download PDFInfo
- Publication number
- WO2012171384A1 WO2012171384A1 PCT/CN2012/072963 CN2012072963W WO2012171384A1 WO 2012171384 A1 WO2012171384 A1 WO 2012171384A1 CN 2012072963 W CN2012072963 W CN 2012072963W WO 2012171384 A1 WO2012171384 A1 WO 2012171384A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ces
- mpls
- data packet
- mac address
- label
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0064—Arbitration, scheduling or medium access control aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0073—Provisions for forwarding or routing, e.g. lookup tables
Definitions
- the present invention relates to a passive optical network and a multi-protocol label switching (MPLS) technology, and more particularly to a method and system for implementing circuit simulation in a passive optical network.
- MPLS multi-protocol label switching
- Circuit Emulation Service is a general term for transmitting Time Division Multiplex and Multiplexer (TDM) services through an asynchronous packet switching network.
- TDM networks such as El, T1, etc., based on circuit-switched technology, can provide reliable quality of service, but their service types are single, expensive, and the flexibility of upgrading, extending, and interworking is poor, and with IP data.
- the development of the network with its cost advantages, strong expansion and upgrade and compatibility, is becoming a major business requirement and will dominate the future network architecture. For operators, in order to maximize the return on assets and minimize operating expenses, it is highly desirable to integrate traditional multi-service networks into a single network technology. Therefore, IP data networks have become the first choice for operators.
- MEF focused on the PDH (Plesiochronous Digital Hierarchy, plesiochronous digital series of bad 1 J) or SDH (Synchronous Digital Hierarchy, Synchronous Digital Hierarchy) traffic carried implement a circuit emulation (MEF8) over Ethernet, IETF's PWE3 working group
- PDH Packet Switching Network
- ITU standard Y.1413 is a proposal for implementing TDM on an MPLS network. It defines the format of the service carried over the MPLS network. Necessary functional requirements for TDM-MPLS network interworking. Summary of the invention
- the best carrier for the bearer circuit emulation service is IP or MPLS packet-switched network. Due to some well-known deficiencies in traditional IP networks such as traffic engineering and QoS, MPLS packet-switched networks are based on their control forwarding plane separation. And the nesting capability of the label stack, etc., to implement the circuit simulation service on the MPLS network platform, not only can a large number of value-added services, but also can shield the difference of the core network, which gradually dominates the circuit simulation business.
- the technical problem to be solved by the present invention is to provide a method and system for implementing circuit simulation in a passive optical network, and implementing a circuit simulation service in a passive optical network.
- a method for implementing circuit simulation in a passive optical network includes:
- the circuit simulation (CES) uplink data packet is sent to the remote device through the MPLS tunnel through the MPLS tunnel; and the CES downlink data packet of the remote device is received through the MPLS tunnel, and the CES downlink data packet is passed through the pseudowire chain.
- the road is sent to the optical network unit.
- the method further includes: after the optical network unit is established, sending the CES uplink data message to the optical line terminal includes:
- the optical network unit receives time division multiplexing (TDM) data, assembles into a TDM payload, encapsulates the TDM payload into a data packet, and configures a source media access control (MAC) address of the data packet as a MAC address of the local CES chip.
- TDM time division multiplexing
- MAC media access control
- Configure the destination MAC address as the MAC address of the optical line terminal configure the VLAN ID as the VLAN ID of the pseudowire link, and configure the outer MPLS label and the inner MPLS label.
- the outer MPLS label is The static label switched path (LSP) forwarding label is stipulated by the optical line terminal, and the inner MPLS label is a differentiated identifier of the pseudowire link, and the CES downlink data packet is sent to the optical line terminal through the pseudowire link.
- the transmitting, by the optical line terminal, the CES uplink data packet to the remote device by using the MPLS tunnel includes:
- the optical line terminal After receiving the CES uplink data packet, the optical line terminal replaces the source MAC address of the CES uplink data packet with the MAC address of the local MPLS line card, replaces the destination MAC address with the MAC address of the remote device, and replaces the VLAN ID with The VLAN ID of the MPLS tunnel, and the outer MPLS label is replaced with the dynamic LSP forwarding label negotiated with the remote device.
- the CES uplink data packet is sent to the remote device through the MPLS tunnel.
- the yuan includes:
- the optical line terminal After receiving the CES downlink data packet, the optical line terminal replaces the destination MAC address of the CES downlink data packet with the MAC address of the CES chip, replaces the source MAC address with the MAC address of the local MPLS line card, and sets the VLAN ID. Replace the VLAN ID of the pseudowire link with the outer MPLS label and replace it with the static LSP forwarding label, and send the CES downlink data packet to the optical network unit through the pseudowire link.
- the method further includes: after receiving the CES downlink data packet, the optical network unit decapsulates the CES downlink data packet and sends the TDM data to the TDM port, including:
- the optical network unit After receiving the CES downlink data packet, the optical network unit extracts the TDM payload and recovers the clock signal, and sends the TDM payload to the TDM port according to the clock signal.
- a system for implementing circuit simulation in a passive optical network comprising: an optical line terminal, an optical network unit, and a remote device, where:
- the optical line terminal is configured to: establish a pseudowire link with the optical network unit, establish a multi-protocol label switching (MPLS) tunnel with the remote device, and receive a circuit simulation (CES) uplink data packet of the optical network unit through the pseudowire link.
- the CES uplink data packet is sent to the remote device through the MPLS tunnel; and the CES downlink data packet of the remote device is received by the MPLS tunnel, and the CES downlink data packet is sent to the optical network unit through the pseudowire link;
- the remote device is configured to send CES downlink data packets to the optical line terminal through the MPLS tunnel.
- the optical network unit comprises a CES chip, wherein:
- the CES chip is configured to receive time division multiplexing (TDM) data, assemble into a TDM payload, encapsulate the TDM payload into a data packet, and configure a source media access control (MAC) address of the data packet as its own MAC address.
- TDM time division multiplexing
- MAC source media access control
- the outer MPLS label is The static label switching path (LSP) forwarding label agreed by the optical line terminal, the inner layer MPLS label is a distinguishing identifier of the pseudo line link, and the CES downlink data packet is sent to the optical line terminal through the pseudo line link.
- LSP static label switching path
- the optical line termination comprises an MPLS line card, wherein:
- the MPLS line card is set to: Replace the source MAC address of the CES uplink data packet with its own MAC address, replace the destination MAC address with the MAC address of the remote device, and replace the VLAN ID. It is the VLAN ID of the MPLS tunnel, and the outer MPLS label is replaced with the dynamic LSP forwarding label negotiated with the remote device.
- the CES uplink data packet is sent to the remote device through the MPLS tunnel.
- the MPLS line card is further configured to: receive the CES downlink data packet through the MPLS tunnel, replace the destination MAC address of the CES downlink data packet with the MAC address of the CES chip, and replace the source MAC address with its own MAC address.
- Replace the VLAN ID with the VLAN ID of the pseudowire link replace the outer MPLS label with the static LSP forwarding label, and send the CES downlink data packet to the optical network unit through the pseudowire link.
- the circuit emulation chip is further configured to: receive the CES downlink data packet, extract the TDM payload, recover the clock signal, and send the TDM payload to the TDM port according to the clock signal.
- the embodiment of the present invention can implement a multi-hop PW connection combined with a static and dynamic label in an optical access network, and the LDP runs on the OLT, and serves as both a LER and an LSR (Label Switching Router), ONU.
- the dynamic MPLS function is not required, and the ONU can be isolated from the MPLS network to reduce the functional complexity of the ONU, so that only the Layer 2 switching function needs to be supported, and the circuit simulation of the MPLS network can be realized.
- 1 is a schematic overall network diagram of a circuit emulation service according to an embodiment of the present invention
- 2 is a schematic diagram of a circuit emulation message frame format according to an embodiment of the present invention
- FIG. 3 is a flow chart of a data processing method according to an embodiment of the present invention. Preferred embodiment of the invention
- the invention is in an ONU (Optical Network Unit) and an OLT (Optical Line)
- a static PW (Pseudo Wire) link is established between the terminal and the optical line terminal.
- the OLT and the Far Equipment (FE) run LDP (Label Distribution Protocol) to establish a dynamic MPLS tunnel.
- LDP Label Distribution Protocol
- LER Label Switching Edge Router
- the circuit emulation service has two directions of sending and receiving.
- the ONU is in the uplink direction to the OLT, and the OLT is in the downlink direction to the ONU.
- the ONU can compress the TDM data according to the PWE3 protocol, and can use the structured or unstructured mode.
- the destination MAC address of the uplink packet is configured as the MAC address of the MPLS line card on the OLT, and the frame header includes the double-layer static MPLS label.
- the outer label is a static label (label switching path) forwarding label that is agreed with the OLT, and the inner label is used as a distinguishing identifier of different PWs.
- the OLT After receiving the CES uplink message, the OLT replaces the destination MAC address with the MAC address of the FE that dynamically negotiates the connection, replaces the source MAC address with the MAC address of the MPLS line card, and replaces the VLAN with the VLAN specified by the established MPLS connection.
- the outer label is replaced with a dynamic LSP forwarding label negotiated with the FE, and the CES uplink packet is sent to the MPLS network.
- the OLT line card of the OLT replaces the destination MAC address of the packet with the MAC address of the CES chip on the corresponding ONU, and replaces the source MAC address of the packet with the MPLS line.
- the MAC address of the card is replaced with the VLAN configured with the static PW link between the ONUs.
- the static LSP forwarding label of the outer layer is replaced with the static outer label of the ONU, and then the packet is sent to the ONU.
- the CES chip (such as Z Ol lx of Zarlink) recovers the clock signal from the message and extracts the payload, and sends the data to the TDM port according to the clock signal.
- the overall networking structure of the circuit emulation service of the present invention includes:
- the ONU 101 and ONU 102 are optical network units. Two are listed here as examples. The star connection between the ONU and the OLT is actually more. The number depends on the number of OLTs supported and the application requirements.
- the ONU 101 and the ONU 102 are at the user end, and provide a TDM interface (such as an E1/T1 interface), and include a CES chip for encapsulating, decapsulating, and recovering clocks of TDM data.
- the OLT 103 is an optical line terminal and is at the central office, and performs Layer 2 communication with the ONU 101 and the ONU 102 via an optical fiber.
- the LER and the LSR are used as the entire circuit emulation system.
- the OLT 103 includes an MPLS line card 104, and processes the packets sent by the ONU 101 and the ONU 102, and forwards the packets to the MPLS network 105 via the LDP protocol, and simultaneously receives the texts sent by the MPLS network 105. After being processed, the OLT 103 sends the packets to the ONUs 101 and the ONUs 102. .
- the MPLS network 105 is a network composed of any number of LSRs, and processes the LDP protocol to implement MPLS routing.
- the FE 106 establishes a dynamic MPLS tunnel connection with the OLT 103, processes the received and received MPLS packets, and performs circuit simulation processing.
- the processing method can use the method of the present invention, and the existing method can also be used, which is not limited herein.
- processing the content of the packet includes: encapsulating and decapsulating the TDM payload on the ONU 101 of FIG. 1; At the MPLS line card 104 of 1, the MAC address of the packet header, the MPLS label, and the like are stripped and replaced.
- the encapsulation format in Figure 2 follows the ITU-T Y.1413 standard, in which the destination MAC, source MAC, VLAN tag, and Ethertype fields of the header follow the IEEE 802.3 standard, in Figure 1.
- the destination MAC is the MAC address of the MPLS line card 104
- the VLAN ID is the VLAN ID of the pseudowire link between the ONU 101 and the OLT 103.
- the destination MAC is replaced with the FE 106.
- the MAC address, the source MAC address is replaced with the MAC address of the MPLS line card
- the VLAN ID is replaced with the VLAN ID of the MPLS tunnel on the MPLS line card, where it is replaced with the original field in the reverse direction.
- the outer label of the MPLS is the LSP forwarding label.
- the ONU101 and the OLT 103 are The static configuration field is dynamically negotiated in the MPLS network between the MPLS line card and the FE.
- the dynamic and static label replacement processing is performed on the MPLS line card.
- the MPLS inner label is used as the PW identifier. It is statically configured when it is encapsulated in the ONU. It is directly forwarded in the back-end network and is not processed.
- the PW control word and the RTP header are the encapsulation layers of the circuit emulation service, and the RTP header can be configured as needed, complying with the RFC 3550 standard.
- TDM payload data configurable length in bytes in unstructured mode, in frame mode in structured mode (eg, one frame of E1 is 32 bytes), if the entire packet length (including FCS field) ) Less than 64 bytes, the chip automatically adds a static padding field after the payload data, so that the length reaches 64 bytes.
- FIG. 3 is a flowchart of a data processing method according to the embodiment.
- the data processing includes a local sending and receiving process and a remote sending and receiving process.
- the processing method and system of the FE 106 in the network diagram of FIG. 1 are assumed to be the same as the local. In this way, only local data processing can be described.
- the processing flow of one frame data message will be described in detail according to FIG.
- Step 301 Receive data from the TDM port of the ONU and encapsulate the data into a data packet.
- the TDM data received from the TDU port of the ONU may optionally form a payload in a structured or unstructured manner, and the unstructured manner is to obtain data from any position of the TDM data bit stream, and to use words.
- the unit is the unit, and the payload is composed according to the configured length.
- the structuring method parses the TDM data content, framing it according to the multiframe format information carried in the frame, and composing the payload from the beginning of each frame according to the configured number of frames. After the TDM payload is formed, it is encapsulated into a data packet.
- the packet header includes a double-layer MPLS label.
- the outer label is a static LSP forwarding label
- the inner label is a PW distinguishing identifier.
- Step 302 Send the data packet to the OLT through the optical network.
- This step is for Layer 2 transmission of the optical network and does not involve the MPLS network.
- Step 303 Perform a replacement process on a part of the field of the data message frame header.
- the OLT After receiving the data packet sent by the ONU, the OLT replaces the destination MAC address with the MAC address of the remote FE of the MPLS dynamic negotiation connection (here, the MAC address of the MPLS line card on the peer OLT, the same below), and replaces the source MAC address.
- the destination MAC address with the MAC address of the remote FE of the MPLS dynamic negotiation connection (here, the MAC address of the MPLS line card on the peer OLT, the same below), and replaces the source MAC address.
- the MAC address of the MPLS line card replace the VLAN ID with the VLAN ID of the established MPLS tunnel connection configuration, and replace the static outer label with the peer PE.
- the dynamic LSP forwarding label of the quotient For the MAC address of the MPLS line card, replace the VLAN ID with the VLAN ID of the established MPLS tunnel connection configuration, and replace the static outer label with the peer PE.
- Step 304 Send the processed data packet to the MPLS network.
- Step 305 Receive a data packet from the MPLS network.
- Step 306 Processing a data packet frame header related field
- the MPLS line card of the OLT After the MPLS line card of the OLT receives the packet through the established MPLS tunnel, replace the destination MAC address of the packet with the MAC address of the CES chip on the ONU, and replace the source MAC address of the packet with the MAC address of the MPLS line card.
- the ID is replaced with the VLAN ID of the static PW link configured with the ONU.
- the dynamic outer layer LSP forwarding label is replaced with the static outer label configured with the ONU.
- Step 307 Send the processed data packet to the ONU.
- Step 308 Decapsulate the data packet and send the TDM data to the TDM port.
- the ONU After receiving the data packet, the ONU performs a series of protocol check on the packet header. After the verification succeeds, the ONU extracts the TDM payload from the packet, and recovers from the packet arrival rate and the timestamp information in the packet.
- the clock signal is output, where the clock signal is the data rate if it is unstructured, and the data rate and frame pulse are two signals if it is structured.
- the payload After the payload is extracted, the data is sent to the TDM port according to the recovered clock signal.
- modules and steps of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed 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, or they may be separately fabricated into individual integrated circuit modules, or their Multiple modules or steps are implemented as a single integrated circuit module. Thus, the invention is not limited to any particular combination of hardware and software.
- the embodiment of the present invention can implement a multi-hop PW connection combined with a static and dynamic label in an optical access network.
- the OLT runs the LDP protocol and acts as both a LER and an LSR (Label Switching Router).
- the ONU does not need to support dynamics.
- the MPLS function can isolate the ONU from the MPLS network and reduce the functional complexity of the ONU, so that it only needs to support the Layer 2 switching function to implement circuit simulation of the MPLS network.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
一种在无源光网络中实现电路仿真的方法及系统 Method and system for implementing circuit simulation in passive optical network
技术领域 Technical field
本发明涉及无源光网络和多协议标签交换 ( Multi-Protocol Label Switching, MPLS )技术, 尤其涉及一种在无源光网络中实现电路仿真的方法 及系统。 背景技术 The present invention relates to a passive optical network and a multi-protocol label switching (MPLS) technology, and more particularly to a method and system for implementing circuit simulation in a passive optical network. Background technique
电路仿真(Circuit Emulation Service, CES )是通过异步包交换网络传送 同步 TDM ( Time Division Multiplex and Multiplexer, 时分复用)业务的一种 统称。 传统的 TDM网络, 如 El、 T1等, 基于电路交换技术, 虽然可以提供 可靠的服务质量, 但是其业务类型单一, 价格昂贵, 升级、 扩展、 互通的灵 活性也比较差, 而随着 IP数据网络的发展, 凭借其成本优势、 强大的拓展升 级和兼容互通能力, 正日益成为主要的业务需求, 并将在未来网络架构中占 据主导地位。 对运营商来说, 为了使资产收益率最大化且运营费用最小化, 非常希望将传统的多业务网络融入到单一的网络技术中, 于是, IP数据网络 成为了运营商的首选。 Circuit Emulation Service (CES) is a general term for transmitting Time Division Multiplex and Multiplexer (TDM) services through an asynchronous packet switching network. Traditional TDM networks, such as El, T1, etc., based on circuit-switched technology, can provide reliable quality of service, but their service types are single, expensive, and the flexibility of upgrading, extending, and interworking is poor, and with IP data. The development of the network, with its cost advantages, strong expansion and upgrade and compatibility, is becoming a major business requirement and will dominate the future network architecture. For operators, in order to maximize the return on assets and minimize operating expenses, it is highly desirable to integrate traditional multi-service networks into a single network technology. Therefore, IP data networks have become the first choice for operators.
目前,多个国际标准组织对电路仿真进行了标准化 ,其中包括 MEF( Metro Ethernet Forum, 城域以太网论坛) 、 IETF ( Internet Engineering Task Force , 互联网工程任务组 )和 ITU ( International Telecommunications Union, 国际电 信联盟)等, 各标准组织之间互相合作, 各国际组织制定的 TDM业务透传 应用原理相同, 标准基本上类似, 只是在具体实现技术细节上, 如数据报文 封装格式以及 TDM链路标识符等存在微小的差异。 其中, MEF侧重于 PDH ( Plesiochronous Digital Hierarchy, 准同步数字系歹1 J )或 SDH ( Synchronous Digital Hierarchy, 同步数字系列)业务在以太网上进行电路仿真的实现方法 ( MEF8 ) , IETF 的 PWE3 工作组负责制定分组交换网 (Packet Switching Network, PSN )上仿真二层网络业务的机制, ITU的标准 Y.1413是关于在 MPLS网络上实现 TDM的建议,定义了通过 MPLS网络承载电路业务的格式, 规定了 TDM-MPLS网络互通的必要功能要求。 发明内容 Currently, several international standards organizations have standardized circuit simulations, including MEF (Metro Ethernet Forum), IETF (Internet Engineering Task Force), and ITU (International Telecommunications Union). Alliances, etc., the standards organizations cooperate with each other. The TDM services transparently applied by international organizations have the same application principle. The standards are basically similar, only in the specific implementation details, such as data packet encapsulation format and TDM link identifier. There are minor differences. Wherein, MEF focused on the PDH (Plesiochronous Digital Hierarchy, plesiochronous digital series of bad 1 J) or SDH (Synchronous Digital Hierarchy, Synchronous Digital Hierarchy) traffic carried implement a circuit emulation (MEF8) over Ethernet, IETF's PWE3 working group Develop a mechanism for simulating Layer 2 network services on a Packet Switching Network (PSN). ITU standard Y.1413 is a proposal for implementing TDM on an MPLS network. It defines the format of the service carried over the MPLS network. Necessary functional requirements for TDM-MPLS network interworking. Summary of the invention
现阶段,承载电路仿真业务最好的载体是 IP或者 MPLS的分组交换网络, 而由于传统 IP网络一些众所周知的诸如流量工程、 QoS等方面的不足, 基于 MPLS 分组交换网, 根据其控制转发平面分离及标签栈的嵌套能力等特性, 在 MPLS网络平台上实现电路仿真业务, 不但可以大量增值业务, 而且能够 屏蔽核心网的差异, 其在电路仿真业务中逐渐占据主导地位。 At this stage, the best carrier for the bearer circuit emulation service is IP or MPLS packet-switched network. Due to some well-known deficiencies in traditional IP networks such as traffic engineering and QoS, MPLS packet-switched networks are based on their control forwarding plane separation. And the nesting capability of the label stack, etc., to implement the circuit simulation service on the MPLS network platform, not only can a large number of value-added services, but also can shield the difference of the core network, which gradually dominates the circuit simulation business.
随着光接入网络的日益普及, 在光接入网络中实现电路仿真的需求也越 来越旺盛, 但目前还没有在光接入网络中应用 MPLS实现电路仿真的方案。 With the increasing popularity of optical access networks, the need for circuit emulation in optical access networks is growing, but there is currently no MPLS implementation of circuit emulation in optical access networks.
本发明要解决的技术问题是提供一种在无源光网络中实现电路仿真的方 法及系统, 在无源光网络中实现电路仿真业务。 The technical problem to be solved by the present invention is to provide a method and system for implementing circuit simulation in a passive optical network, and implementing a circuit simulation service in a passive optical network.
为解决上述技术问题, 本发明的一种在无源光网络中实现电路仿真的方 法, 包括: In order to solve the above technical problem, a method for implementing circuit simulation in a passive optical network according to the present invention includes:
在光网络单元与光线路终端之间建立伪线链路, 在光线路终端与远端设 备之间建立多协议标签交换 (MPLS)隧道, 光线路终端通过伪线链路接收光网 路单元的电路仿真 (CES)上行数据报文, 将 CES上行数据报文通过 MPLS隧 道发送到远端设备; 并通过 MPLS隧道接收远端设备的 CES下行数据报文, 将 CES下行数据报文通过伪线链路发送到光网络单元。 Establishing a pseudowire link between the optical network unit and the optical line terminal, establishing a multi-protocol label switching (MPLS) tunnel between the optical line terminal and the remote device, and the optical line terminal receiving the optical network unit through the pseudowire link The circuit simulation (CES) uplink data packet is sent to the remote device through the MPLS tunnel through the MPLS tunnel; and the CES downlink data packet of the remote device is received through the MPLS tunnel, and the CES downlink data packet is passed through the pseudowire chain. The road is sent to the optical network unit.
优选地,还包括,光网络单元在伪线链路建立后,向光线路终端发送 CES 上行数据报文包括: Preferably, the method further includes: after the optical network unit is established, sending the CES uplink data message to the optical line terminal includes:
光网络单元接收时分复用(TDM)数据 , 组装成 TDM净荷 , 将 TDM净荷 封装为数据报文, 将数据报文的源媒体接入控制 (MAC)地址配置为本地 CES 芯片的 MAC地址, 将目的 MAC地址配置为光线路终端的 MAC地址, 将虚 拟局域网标识 (VLAN ID)配置为伪线链路的 VLAN ID, 并配置外层 MPLS标 签和内层 MPLS标签, 外层 MPLS标签为与光线路终端约定的静态标签交换 路径 (LSP)转发标签, 内层 MPLS标签为伪线链路的区分标识, 通过伪线链路 将 CES下行数据报文发送给光线路终端。 优选地, 光线路终端将 CES上行数据报文通过 MPLS隧道发送到远端设 备包括: The optical network unit receives time division multiplexing (TDM) data, assembles into a TDM payload, encapsulates the TDM payload into a data packet, and configures a source media access control (MAC) address of the data packet as a MAC address of the local CES chip. Configure the destination MAC address as the MAC address of the optical line terminal, configure the VLAN ID as the VLAN ID of the pseudowire link, and configure the outer MPLS label and the inner MPLS label. The outer MPLS label is The static label switched path (LSP) forwarding label is stipulated by the optical line terminal, and the inner MPLS label is a differentiated identifier of the pseudowire link, and the CES downlink data packet is sent to the optical line terminal through the pseudowire link. Preferably, the transmitting, by the optical line terminal, the CES uplink data packet to the remote device by using the MPLS tunnel includes:
光线路终端接收到 CES上行数据报文后,将 CES上行数据报文的源 MAC 地址替换为本地 MPLS线卡的 MAC地址,将目的 MAC地址替换为远端设备 的 MAC地址, 将 VLAN ID替换为 MPLS隧道的 VLAN ID, 并将外层 MPLS 标签替换为与远端设备协商的动态 LSP转发标签,通过 MPLS隧道将 CES上 行数据报文发送到远端设备。 元包括: After receiving the CES uplink data packet, the optical line terminal replaces the source MAC address of the CES uplink data packet with the MAC address of the local MPLS line card, replaces the destination MAC address with the MAC address of the remote device, and replaces the VLAN ID with The VLAN ID of the MPLS tunnel, and the outer MPLS label is replaced with the dynamic LSP forwarding label negotiated with the remote device. The CES uplink data packet is sent to the remote device through the MPLS tunnel. The yuan includes:
光线路终端通过 MPLS隧道接收到 CES下行数据报文后, 将 CES下行 数据报文的目的 MAC地址替换为 CES芯片的 MAC地址,将源 MAC地址替 换为本地 MPLS线卡的 MAC地址,将 VLAN ID替换为伪线链路的 VLAN ID , 将外层 MPLS标签替换为静态 LSP转发标签,将 CES下行数据报文通过伪线 链路发送到光网络单元。 After receiving the CES downlink data packet, the optical line terminal replaces the destination MAC address of the CES downlink data packet with the MAC address of the CES chip, replaces the source MAC address with the MAC address of the local MPLS line card, and sets the VLAN ID. Replace the VLAN ID of the pseudowire link with the outer MPLS label and replace it with the static LSP forwarding label, and send the CES downlink data packet to the optical network unit through the pseudowire link.
优选地, 还包括, 光网络单元接收到 CES下行数据报文后, 对 CES下行 数据报文进行解封装并将 TDM数据发送到 TDM端口, 包括: Preferably, the method further includes: after receiving the CES downlink data packet, the optical network unit decapsulates the CES downlink data packet and sends the TDM data to the TDM port, including:
光网络单元接收到 CES下行数据报文后, 提取出 TDM净荷, 并恢复出 时钟信号, 按照时钟信号, 将 TDM净荷发送到 TDM端口。 After receiving the CES downlink data packet, the optical network unit extracts the TDM payload and recovers the clock signal, and sends the TDM payload to the TDM port according to the clock signal.
优选地, 一种在无源光网络中实现电路仿真的系统, 包括: 光线路终端、 光网络单元和远端设备, 其中: Preferably, a system for implementing circuit simulation in a passive optical network, comprising: an optical line terminal, an optical network unit, and a remote device, where:
光线路终端设置为: 与光网络单元建立伪线链路, 与远端设备建立多协 议标签交换 (MPLS)隧道, 通过伪线链路接收光网路单元的电路仿真 (CES)上 行数据报文, 将 CES上行数据报文通过 MPLS隧道发送到远端设备; 并通过 MPLS隧道接收远端设备的 CES下行数据报文,将 CES下行数据报文通过伪 线链路发送到光网络单元; The optical line terminal is configured to: establish a pseudowire link with the optical network unit, establish a multi-protocol label switching (MPLS) tunnel with the remote device, and receive a circuit simulation (CES) uplink data packet of the optical network unit through the pseudowire link. The CES uplink data packet is sent to the remote device through the MPLS tunnel; and the CES downlink data packet of the remote device is received by the MPLS tunnel, and the CES downlink data packet is sent to the optical network unit through the pseudowire link;
远端设备设置为:通过 MPLS隧道向光线路终端发送 CES下行数据报文。 优选地, 光网络单元包含 CES芯片, 其中: CES芯片设置为:接收时分复用(TDM)数据,组装成 TDM净荷,将 TDM 净荷封装为数据报文, 将数据报文的源媒体接入控制 (MAC)地址配置为自身 的 MAC地址, 将目的 MAC地址配置为光线路终端的 MAC地址, 将虚拟局 域网标识 (VLAN ID)配置为伪线链路的 VLAN ID, 并配置外层 MPLS标签和 内层 MPLS标签, 外层 MPLS标签为与光线路终端约定的静态标签交换路径 (LSP)转发标签, 内层 MPLS 标签为伪线链路的区分标识, 通过伪线链路将 CES下行数据报文发送给光线路终端。 The remote device is configured to send CES downlink data packets to the optical line terminal through the MPLS tunnel. Preferably, the optical network unit comprises a CES chip, wherein: The CES chip is configured to receive time division multiplexing (TDM) data, assemble into a TDM payload, encapsulate the TDM payload into a data packet, and configure a source media access control (MAC) address of the data packet as its own MAC address. Configure the destination MAC address as the MAC address of the optical line terminal, configure the VLAN ID as the VLAN ID of the pseudowire link, and configure the outer MPLS label and the inner MPLS label. The outer MPLS label is The static label switching path (LSP) forwarding label agreed by the optical line terminal, the inner layer MPLS label is a distinguishing identifier of the pseudo line link, and the CES downlink data packet is sent to the optical line terminal through the pseudo line link.
优选地, 光线路终端包含 MPLS线卡, 其中: Preferably, the optical line termination comprises an MPLS line card, wherein:
MPLS线卡设置为: 在接收到 CES上行数据报文后, 将 CES上行数据报 文的源 MAC地址替换为自身的 MAC地址, 将目的 MAC地址替换为远端设 备的 MAC地址,将 VLAN ID替换为 MPLS隧道的 VLAN ID,并将外层 MPLS 标签替换为与远端设备协商的动态 LSP转发标签,通过 MPLS隧道将 CES上 行数据报文发送到远端设备。 The MPLS line card is set to: Replace the source MAC address of the CES uplink data packet with its own MAC address, replace the destination MAC address with the MAC address of the remote device, and replace the VLAN ID. It is the VLAN ID of the MPLS tunnel, and the outer MPLS label is replaced with the dynamic LSP forwarding label negotiated with the remote device. The CES uplink data packet is sent to the remote device through the MPLS tunnel.
优选地, MPLS线卡还设置为: 通过 MPLS隧道接收到 CES下行数据报 文, 将 CES下行数据报文的目的 MAC地址替换为 CES芯片的 MAC地址, 将源 MAC地址替换为自身的 MAC地址, 将 VLAN ID替换为伪线链路的 VLAN ID,将外层 MPLS标签替换为静态 LSP转发标签,将 CES下行数据报 文通过伪线链路发送到光网络单元。 Preferably, the MPLS line card is further configured to: receive the CES downlink data packet through the MPLS tunnel, replace the destination MAC address of the CES downlink data packet with the MAC address of the CES chip, and replace the source MAC address with its own MAC address. Replace the VLAN ID with the VLAN ID of the pseudowire link, replace the outer MPLS label with the static LSP forwarding label, and send the CES downlink data packet to the optical network unit through the pseudowire link.
优选地, 电路仿真芯片还设置为:接收 CES下行数据报文,提取出 TDM 净荷, 并恢复出时钟信号, 按照时钟信号, 将 TDM净荷发送到 TDM端口。 Preferably, the circuit emulation chip is further configured to: receive the CES downlink data packet, extract the TDM payload, recover the clock signal, and send the TDM payload to the TDM port according to the clock signal.
综上所述, 本发明实施例可以在光接入网络中实现动静标签结合的多跳 PW连接, OLT上运行 LDP协议, 且同时充当 LER与 LSR(Label Switching Router, 标签交换路由器;), ONU无需支持动态 MPLS功能, 可以将 ONU与 MPLS网络隔离, 降低 ONU的功能复杂度, 使其仅需支持二层交换功能, 即 可实现 MPLS网络的电路仿真。 附图概述 In summary, the embodiment of the present invention can implement a multi-hop PW connection combined with a static and dynamic label in an optical access network, and the LDP runs on the OLT, and serves as both a LER and an LSR (Label Switching Router), ONU. The dynamic MPLS function is not required, and the ONU can be isolated from the MPLS network to reduce the functional complexity of the ONU, so that only the Layer 2 switching function needs to be supported, and the circuit simulation of the MPLS network can be realized. BRIEF abstract
图 1是本发明实施例的电路仿真业务的整体组网示意图; 图 2是本发明实施例的电路仿真报文帧格式示意图; 1 is a schematic overall network diagram of a circuit emulation service according to an embodiment of the present invention; 2 is a schematic diagram of a circuit emulation message frame format according to an embodiment of the present invention;
图 3是本发明实施例的数据处理方法的流程图。 本发明的较佳实施方式 3 is a flow chart of a data processing method according to an embodiment of the present invention. Preferred embodiment of the invention
本发明在 ONU ( Optical Network Unit , 光网络单元)和 OLT(Optical Line The invention is in an ONU (Optical Network Unit) and an OLT (Optical Line)
Terminal, 光线路终端)之间建立静态 PW ( Pseudo Wire, 伪线)链路, OLT 与远端设备 ( Far Equipment, FE )运行 LDP ( Label Distribution Protocol, 标 签分发协议),建立动态 MPLS隧道, OLT同时作为 LER( Label Switching Edge Router, 边缘标签交换路由器) , 连接静态 PW链路与动态 MPLS隧道, 实 现动静态标签结合的多跳 PW连接, 从而实现电路仿真业务。 A static PW (Pseudo Wire) link is established between the terminal and the optical line terminal. The OLT and the Far Equipment (FE) run LDP (Label Distribution Protocol) to establish a dynamic MPLS tunnel. At the same time, it acts as a LER ( Label Switching Edge Router), and connects a static PW link with a dynamic MPLS tunnel to implement a multi-hop PW connection combining dynamic and static tags, thereby implementing circuit simulation services.
电路仿真业务有互为收发的两个方向, 规定 ONU往 OLT方向为上行方 向, OLT往 ONU为下行方向, 下面对两个方向上的处理进行描述: The circuit emulation service has two directions of sending and receiving. The ONU is in the uplink direction to the OLT, and the OLT is in the downlink direction to the ONU. The following describes the processing in two directions:
在上行方向, ONU按照 PWE3协议将 TDM数据装帧, 可以釆用结构化 方式或非结构化方式, 上行报文的目的 MAC配置为 OLT上 MPLS线卡的 MAC地址, 帧头包括双层静态 MPLS标签, 其中, 外层标签为与 OLT约定 的静态 LSP ( Label Switching Path, 标签交换路径)转发标签, 内层标签作为 不同 PW的区分标识。 OLT收到 CES上行 ^艮文后,将目的 MAC替换为 MPLS 动态协商连接的 FE的 MAC地址, 将源 MAC替换为 MPLS线卡的 MAC地 址, 将 VLAN替换为已建立的 MPLS连接规定的 VLAN, 同时将外层标签替 换为与 FE协商的动态 LSP转发标签, 将 CES上行报文发到 MPLS网络。 In the uplink direction, the ONU can compress the TDM data according to the PWE3 protocol, and can use the structured or unstructured mode. The destination MAC address of the uplink packet is configured as the MAC address of the MPLS line card on the OLT, and the frame header includes the double-layer static MPLS label. The outer label is a static label (label switching path) forwarding label that is agreed with the OLT, and the inner label is used as a distinguishing identifier of different PWs. After receiving the CES uplink message, the OLT replaces the destination MAC address with the MAC address of the FE that dynamically negotiates the connection, replaces the source MAC address with the MAC address of the MPLS line card, and replaces the VLAN with the VLAN specified by the established MPLS connection. At the same time, the outer label is replaced with a dynamic LSP forwarding label negotiated with the FE, and the CES uplink packet is sent to the MPLS network.
在下行方向, OLT的 MPLS线卡通过已建立的 MPLS隧道收到 CES下行 报文后, 将报文的目的 MAC替换为相应 ONU上 CES芯片的 MAC地址, 将 报文的源 MAC替换为 MPLS线卡的 MAC地址,将 VLAN替换为与 ONU之 间静态 PW链路配置的 VLAN, 外层的静态 LSP转发标签替换为与 ONU之 间的静态外层标签, 然后将报文发送给 ONU。 ONU收到报文之后, CES芯 片 (如 Zarlink的 Z Ol lx )从报文中恢复出时钟信号, 并提取载荷, 按照时 钟信号将数据发送到 TDM端口。 In the downstream direction, after receiving the CES downlink packet through the established MPLS tunnel, the OLT line card of the OLT replaces the destination MAC address of the packet with the MAC address of the CES chip on the corresponding ONU, and replaces the source MAC address of the packet with the MPLS line. The MAC address of the card is replaced with the VLAN configured with the static PW link between the ONUs. The static LSP forwarding label of the outer layer is replaced with the static outer label of the ONU, and then the packet is sent to the ONU. After the ONU receives the message, the CES chip (such as Z Ol lx of Zarlink) recovers the clock signal from the message and extracts the payload, and sends the data to the TDM port according to the clock signal.
下面结合附图对本实施方式的实现电路仿真的方法与系统的具体实施方 式进行说明。 The specific implementation method of the method and system for realizing circuit simulation of the present embodiment will be described below with reference to the accompanying drawings. The formula is explained.
如图 1所示, 本发明的电路仿真业务的整体组网结构包括: As shown in FIG. 1, the overall networking structure of the circuit emulation service of the present invention includes:
ONU 101和 ONU 102为光网络单元,此处列出两个作为示例,表示 ONU 与 OLT之间的星型连接方式, 实际还可更多, 个数取决于 OLT的支持数和 应用的需求。 ONU 101、 ONU 102处于用户端,对外提供 TDM接口(如 E1/T1 接口) , 内部包含有 CES芯片, 对 TDM数据进行封装、 解封装和恢复时钟 等处理。 The ONU 101 and ONU 102 are optical network units. Two are listed here as examples. The star connection between the ONU and the OLT is actually more. The number depends on the number of OLTs supported and the application requirements. The ONU 101 and the ONU 102 are at the user end, and provide a TDM interface (such as an E1/T1 interface), and include a CES chip for encapsulating, decapsulating, and recovering clocks of TDM data.
OLT 103为光线路终端, 处于局端, 与 ONU101、 ONU102通过光纤进 行二层通信,在本实施方式中作为整个电路仿真系统的 LER和 LSR。 OLT 103 包含一块 MPLS线卡 104, 对 ONU101、 ONU102发送过来的报文进行处理, 并经由 LDP协议转发到 MPLS网络 105, 同时接收 MPLS网络 105发送过 来的 文, 经过处理后, 发送给 ONU101与 ONU102。 The OLT 103 is an optical line terminal and is at the central office, and performs Layer 2 communication with the ONU 101 and the ONU 102 via an optical fiber. In the present embodiment, the LER and the LSR are used as the entire circuit emulation system. The OLT 103 includes an MPLS line card 104, and processes the packets sent by the ONU 101 and the ONU 102, and forwards the packets to the MPLS network 105 via the LDP protocol, and simultaneously receives the texts sent by the MPLS network 105. After being processed, the OLT 103 sends the packets to the ONUs 101 and the ONUs 102. .
MPLS网络 105是由任意个 LSR组成的网络, 运行处理 LDP协议, 实现 MPLS路由。 FE106与 OLT103建立动态 MPLS隧道连接, 对收发的 MPLS 报文进行处理, 并做电路仿真处理, 其处理方法可釆用本文的方法, 也可釆 用现有方法, 这里不做限定。 The MPLS network 105 is a network composed of any number of LSRs, and processes the LDP protocol to implement MPLS routing. The FE 106 establishes a dynamic MPLS tunnel connection with the OLT 103, processes the received and received MPLS packets, and performs circuit simulation processing. The processing method can use the method of the present invention, and the existing method can also be used, which is not limited herein.
如图 2所示, 为本实施方式电路仿真报文帧格式的示意图, 本实施方式 中, 对报文内容的处理包括: 在图 1的 ONU101上, 对 TDM载荷进行封装 与解封装; 在图 1的 MPLS线卡 104处, 对报文头部的 MAC地址、 MPLS 标签等进行剥离与替换。 As shown in FIG. 2, a schematic diagram of a frame format of a circuit emulation message according to the present embodiment. In this implementation manner, processing the content of the packet includes: encapsulating and decapsulating the TDM payload on the ONU 101 of FIG. 1; At the MPLS line card 104 of 1, the MAC address of the packet header, the MPLS label, and the like are stripped and replaced.
图 2中的 ^艮文封装格式遵循 ITU-T Y.1413标准,其中,头部的目的 MAC、 源 MAC、 VLAN tag (标签)和 Ethertype (以太类型)字段遵循 IEEE 802.3 标准, 在图 1中 ONU101处封装时, 目的 MAC为 MPLS线卡 104的 MAC 地址, VLAN ID为 ONU101与 OLT103之间的伪线链路的 VLAN ID, 4艮文到 达 MPLS线卡 104时, 目的 MAC被替换为 FE106的 MAC地址, 源 MAC被 替换为 MPLS线卡的 MAC地址, VLAN ID被替换为 MPLS线卡上 MPLS隧 道的 VLAN ID, 此处反方向上再替换为原来的字段。 The encapsulation format in Figure 2 follows the ITU-T Y.1413 standard, in which the destination MAC, source MAC, VLAN tag, and Ethertype fields of the header follow the IEEE 802.3 standard, in Figure 1. When the ONU 101 is encapsulated, the destination MAC is the MAC address of the MPLS line card 104, and the VLAN ID is the VLAN ID of the pseudowire link between the ONU 101 and the OLT 103. When the 艮 line reaches the MPLS line card 104, the destination MAC is replaced with the FE 106. The MAC address, the source MAC address is replaced with the MAC address of the MPLS line card, and the VLAN ID is replaced with the VLAN ID of the MPLS tunnel on the MPLS line card, where it is replaced with the original field in the reverse direction.
MPLS外层标签为 LSP转发标签, 在图 1中 ONU101与 OLT103之间为 静态配置字段, 在 MPLS线卡与 FE之间的 MPLS网络中为动态协商标签, 动静态标签替换处理在 MPLS线卡处完成。 MPLS内层标签作为 PW标识, 在 ONU处封装时静态配置, 在后端网络中直接转发, 不做处理。 The outer label of the MPLS is the LSP forwarding label. In Figure 1, the ONU101 and the OLT 103 are The static configuration field is dynamically negotiated in the MPLS network between the MPLS line card and the FE. The dynamic and static label replacement processing is performed on the MPLS line card. The MPLS inner label is used as the PW identifier. It is statically configured when it is encapsulated in the ONU. It is directly forwarded in the back-end network and is not processed.
PW控制字与 RTP头为电路仿真业务的封装层, 其中 RTP头可根据需要 选择配置, 遵循 RFC 3550标准。 The PW control word and the RTP header are the encapsulation layers of the circuit emulation service, and the RTP header can be configured as needed, complying with the RFC 3550 standard.
TDM净荷数据可配置长度, 在非结构化方式下以字节为单位, 在结构化 方式下以帧为单位(如 E1的一帧为 32字节),如果整个报文长度(包括 FCS 字段)小于 64字节, 则由芯片在净荷数据后自动添加静态填充字段, 使长度 达到 64字节。 TDM payload data configurable length, in bytes in unstructured mode, in frame mode in structured mode (eg, one frame of E1 is 32 bytes), if the entire packet length (including FCS field) ) Less than 64 bytes, the chip automatically adds a static padding field after the payload data, so that the length reaches 64 bytes.
如图 3是本实施方式的数据处理方法流程图, 数据处理包括本地的收发 流程和远端的收发流程, 为便于描述, 将图 1组网示意图中 FE106的处理方 法与系统假定为与本地相同, 这样, 可以仅本地的数据处理进行说明, 下面 依据图 3对一帧数据报文的处理流程进行详细描述。 FIG. 3 is a flowchart of a data processing method according to the embodiment. The data processing includes a local sending and receiving process and a remote sending and receiving process. For convenience of description, the processing method and system of the FE 106 in the network diagram of FIG. 1 are assumed to be the same as the local. In this way, only local data processing can be described. Hereinafter, the processing flow of one frame data message will be described in detail according to FIG.
步骤 301: 从 ONU的 TDM端口接收数据并封装成数据报文; Step 301: Receive data from the TDM port of the ONU and encapsulate the data into a data packet.
从 ONU的 TDM端口接收的 TDM数据, 如 E1/T1 , 可选择按照结构化 或非结构化方式来组成净荷, 非结构化方式为从 TDM数据比特流的任意位 置开始获取数据, 并以字节为单位, 按照所配置的长度组成净荷。 结构化方 式对 TDM数据内容进行解析, 根据帧内携带的复帧格式信息对其进行分帧, 并从每帧的开头按照所配置的帧数组成净荷。 组成 TDM净荷后, 将其封装 成数据报文, 报文头包括双层 MPLS标签, 其中, 外层标签为静态 LSP转发 标签, 内层标签为 PW的区分标识。 The TDM data received from the TDU port of the ONU, such as E1/T1, may optionally form a payload in a structured or unstructured manner, and the unstructured manner is to obtain data from any position of the TDM data bit stream, and to use words. The unit is the unit, and the payload is composed according to the configured length. The structuring method parses the TDM data content, framing it according to the multiframe format information carried in the frame, and composing the payload from the beginning of each frame according to the configured number of frames. After the TDM payload is formed, it is encapsulated into a data packet. The packet header includes a double-layer MPLS label. The outer label is a static LSP forwarding label, and the inner label is a PW distinguishing identifier.
步骤 302: 将数据报文通过光网络发送到 OLT; Step 302: Send the data packet to the OLT through the optical network.
此步骤为光网络二层传输, 不涉及 MPLS网络。 This step is for Layer 2 transmission of the optical network and does not involve the MPLS network.
步骤 303: 对数据报文帧头的部分字段进行替换处理; Step 303: Perform a replacement process on a part of the field of the data message frame header.
OLT收到 ONU发送过来的数据报文后,将目的 MAC地址替换为 MPLS 动态协商连接的远端 FE的 MAC (此处为对端 OLT上 MPLS线卡的 MAC, 下同) , 将源 MAC替换为 MPLS线卡的 MAC, 将 VLAN ID替换为已建立 MPLS隧道连接配置的 VLAN ID, 同时将静态外层标签替换为与对端 PE协 商的动态 LSP转发标签。 After receiving the data packet sent by the ONU, the OLT replaces the destination MAC address with the MAC address of the remote FE of the MPLS dynamic negotiation connection (here, the MAC address of the MPLS line card on the peer OLT, the same below), and replaces the source MAC address. For the MAC address of the MPLS line card, replace the VLAN ID with the VLAN ID of the established MPLS tunnel connection configuration, and replace the static outer label with the peer PE. The dynamic LSP forwarding label of the quotient.
步骤 304: 将处理后数据报文发送到 MPLS网络; Step 304: Send the processed data packet to the MPLS network.
步骤 305: 从 MPLS网络接收数据报文; Step 305: Receive a data packet from the MPLS network.
上述步骤 304与步骤 305的收发是通过已建立的 MPLS隧道连接实现的。 步骤 306: 对数据报文帧头相关字段进行处理; The sending and receiving of the above steps 304 and 305 is implemented through an established MPLS tunnel connection. Step 306: Processing a data packet frame header related field;
OLT的 MPLS线卡通过已建立的 MPLS隧道收到^艮文后, 将报文的目的 MAC替换为 ONU上 CES芯片的 MAC, 将才艮文的源 MAC替换为 MPLS线 卡的 MAC ,将 VLAN ID替换为与 ONU之间静态 PW链路配置的 VLAN ID , 将动态协商的外层 LSP转发标签替换为与 ONU之间配置的静态外层标签。 After the MPLS line card of the OLT receives the packet through the established MPLS tunnel, replace the destination MAC address of the packet with the MAC address of the CES chip on the ONU, and replace the source MAC address of the packet with the MAC address of the MPLS line card. The ID is replaced with the VLAN ID of the static PW link configured with the ONU. The dynamic outer layer LSP forwarding label is replaced with the static outer label configured with the ONU.
步骤 307: 将处理后的数据报文发送到 ONU; Step 307: Send the processed data packet to the ONU.
此处与步骤 302处理方式一致, 均是二层交换, 方向相反。 This is consistent with the processing in step 302. Both are Layer 2 switching, and the directions are opposite.
步骤 308: 对数据报文进行解封装并将 TDM数据发送到 TDM端口。 Step 308: Decapsulate the data packet and send the TDM data to the TDM port.
ONU收到数据报文后, 对报文头进行一系列的协议校验, 验证通过后, 从报文中提取出 TDM净荷, 同时从报文的到达速率和报文内的时间戳信息 恢复出时钟信号, 此处如果是非结构化方式, 时钟信号为数据速率, 如果是 结构化方式则为数据速率和帧脉冲两个信号。 提取出净荷之后, 按照恢复出 的时钟信号, 将数据发送到 TDM端口。 After receiving the data packet, the ONU performs a series of protocol check on the packet header. After the verification succeeds, the ONU extracts the TDM payload from the packet, and recovers from the packet arrival rate and the timestamp information in the packet. The clock signal is output, where the clock signal is the data rate if it is unstructured, and the data rate and frame pulse are two signals if it is structured. After the payload is extracted, the data is sent to the TDM port according to the recovered clock signal.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块、 各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们的多个模块或者步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 Obviously, those skilled in the art should understand that the above modules and steps of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed over a network composed 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, or they may be separately fabricated into individual integrated circuit modules, or their Multiple modules or steps are implemented as a single integrated circuit module. Thus, the invention is not limited to any particular combination of hardware and software.
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领域 的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围 之内。 The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of the present invention. within.
工业实用性 本发明实施例可以在光接入网络中实现动静标签结合的多跳 PW连接, OLT上运行 LDP协议,且同时充当 LER与 LSR(Label Switching Router,标签 交换路由器), ONU无需支持动态 MPLS功能, 可以将 ONU与 MPLS网络隔 离, 降低 ONU的功能复杂度, 使其仅需支持二层交换功能, 即可实现 MPLS 网络的电路仿真。 Industrial Applicability The embodiment of the present invention can implement a multi-hop PW connection combined with a static and dynamic label in an optical access network. The OLT runs the LDP protocol and acts as both a LER and an LSR (Label Switching Router). The ONU does not need to support dynamics. The MPLS function can isolate the ONU from the MPLS network and reduce the functional complexity of the ONU, so that it only needs to support the Layer 2 switching function to implement circuit simulation of the MPLS network.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011101600324A CN102833084A (en) | 2011-06-15 | 2011-06-15 | Method and system for realizing circuit emulation service in passive optical network |
| CN201110160032.4 | 2011-06-15 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012171384A1 true WO2012171384A1 (en) | 2012-12-20 |
Family
ID=47336063
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/072963 Ceased WO2012171384A1 (en) | 2011-06-15 | 2012-03-23 | Method and device for implementing circuit emulation service in passive optical network |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102833084A (en) |
| WO (1) | WO2012171384A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103560940B (en) * | 2013-10-31 | 2017-01-18 | 华为技术有限公司 | Data message transmitting method and equipment |
| CN107508738B (en) * | 2017-07-31 | 2021-03-19 | 江西山水光电科技股份有限公司 | A method and device for implementing BFD based on CES service |
| CN107465742B (en) * | 2017-08-02 | 2023-06-23 | 上海欣诺通信技术股份有限公司 | Distribution equipment and method for realizing asymmetric service by UDP tunnel technology |
| CN118944997A (en) * | 2023-05-10 | 2024-11-12 | 华为技术有限公司 | Optical bus communication method and communication device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070030851A1 (en) * | 2005-08-05 | 2007-02-08 | David Sinicrope | Method and arrangement for routing pseudo-wire encapsulated packets |
| CN102014041A (en) * | 2009-09-04 | 2011-04-13 | 中兴通讯股份有限公司 | PTN (Packet Transport Network) equipment and CES (Circuit Emulation Service) equipment |
| CN102025586A (en) * | 2009-09-09 | 2011-04-20 | 华为技术有限公司 | Intercommunicating method, device and system for multiple protocol label switching network and Ethernet |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070127479A1 (en) * | 2005-12-05 | 2007-06-07 | David Sinicrope | A method and arrangement for distributed pseudo-wire signaling |
| CN101902350B (en) * | 2009-05-25 | 2012-06-13 | 中兴通讯股份有限公司 | Configuration method and system of circuit emulation service in passive optical network |
| CN101931548B (en) * | 2009-06-24 | 2012-09-19 | 华为技术有限公司 | Method, apparatus and system for label management of access network |
| CN101714951B (en) * | 2009-12-03 | 2012-08-08 | 华为技术有限公司 | Method and equipment for transmitting and receiving service data in CES |
-
2011
- 2011-06-15 CN CN2011101600324A patent/CN102833084A/en active Pending
-
2012
- 2012-03-23 WO PCT/CN2012/072963 patent/WO2012171384A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070030851A1 (en) * | 2005-08-05 | 2007-02-08 | David Sinicrope | Method and arrangement for routing pseudo-wire encapsulated packets |
| CN102014041A (en) * | 2009-09-04 | 2011-04-13 | 中兴通讯股份有限公司 | PTN (Packet Transport Network) equipment and CES (Circuit Emulation Service) equipment |
| CN102025586A (en) * | 2009-09-09 | 2011-04-20 | 华为技术有限公司 | Intercommunicating method, device and system for multiple protocol label switching network and Ethernet |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102833084A (en) | 2012-12-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8295278B2 (en) | Systems and methods for pseudowire-in-pseudowire to transport pseudowire payload across packet switched networks | |
| US6985488B2 (en) | Method and apparatus for transporting packet data over an optical network | |
| US9025605B2 (en) | Apparatus and method for providing a network termination point | |
| EP2314022B1 (en) | Establishing pseudowires in packet switching networks | |
| US11477549B2 (en) | Transmission network system, data switching and transmission method, apparatus and equipment | |
| EP1720024A1 (en) | A method for realizing the pseudo wire emulation edge-to-edge protocol | |
| WO2010020178A1 (en) | Method, apparatus and system for bearing the multiprotocol label switching packet in the passive optical network (pon) | |
| EP1768321B1 (en) | Interworking, circuit emulation service over packet and IP/MPLS packet processing | |
| WO2011116662A1 (en) | Ethernet service intercommunication method and apparatus | |
| CN102630384B (en) | A method for realizing service transmission in an optical transport network and equipment and system for realizing the method | |
| WO2009074002A1 (en) | A device and method for implementing a channel of signaling communication network and management communication network | |
| CN100574229C (en) | Broadband access device and method supporting multi-service transmission | |
| CN100525227C (en) | Method for realizing integrated service access by access network | |
| CN101902350B (en) | Configuration method and system of circuit emulation service in passive optical network | |
| CN101640815A (en) | Remote transmission method, remote transmission device and remote transmission system for PON | |
| EP2485451B1 (en) | Two-layer forwarding method for a pseudo wire (pw) service and system thereof | |
| US8824473B2 (en) | Apparatus and method for pseudo wire emulation edge-to-edge access | |
| CN101621485B (en) | Device and method for compatibly realizing grouping transmission service and time division multiplexing (TDM) service | |
| WO2013189361A2 (en) | Method for processing message and network element apparatus | |
| CN101926131A (en) | Client/Server Adaptation Solution for Communication Services | |
| CN101479993A (en) | Method, device and system for transmitting fiber channel service | |
| WO2012171384A1 (en) | Method and device for implementing circuit emulation service in passive optical network | |
| CN101232460A (en) | Method for access network to realize synthesis business access | |
| EP2341668A1 (en) | Transport of a traffic flow in a mobile communication system | |
| CN101888336B (en) | Access device realizes method and the access device of TDM business relaying |
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: 12799725 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 12799725 Country of ref document: EP Kind code of ref document: A1 |