WO2012130109A1 - Service forwarding method and system - Google Patents
Service forwarding method and system Download PDFInfo
- Publication number
- WO2012130109A1 WO2012130109A1 PCT/CN2012/072977 CN2012072977W WO2012130109A1 WO 2012130109 A1 WO2012130109 A1 WO 2012130109A1 CN 2012072977 W CN2012072977 W CN 2012072977W WO 2012130109 A1 WO2012130109 A1 WO 2012130109A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- olt
- ethernet
- identifier
- onu
- 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
- 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
- H04Q11/0071—Provisions for the electrical-optical layer interface
-
- 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/0077—Labelling aspects, e.g. multiprotocol label switching [MPLS], G-MPLS, MPAS
-
- 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/0079—Operation or maintenance aspects
Definitions
- the present invention relates to the field of communications, and in particular to a service forwarding method and system.
- the Metro Ethernet Forum defines an Ethernet-based line service (E-Line), and an Ethernet-based LAN service (Ethernet LAN Service, referred to as E).
- E-LAN Ethernet-based Ethernet Tree Service
- E-Tree Ethernet-based Ethernet Tree Service
- the E-line, E-LAN, and E-TREE services are established based on the User Network Interface (UNI). Each interface corresponds to the logical port of the corresponding physical port or physical port. Currently, it is in passive light.
- the network (Passive Optical Network, PON for short) system as shown in Figure 5, the demand for implementing these service models is increasing.
- the UNI interface is the physical port of the connected user of the ONU, which can be an Ethernet interface or The logical port of the Ethernet interface.
- the ONU needs to support the models of these services.
- the functions of the ONUs are more complicated and difficult to implement.
- the ONU in the PON system supports a variety of E-LINE, E-LAN, and E-TREE service models, a large number of configurations are required, and the configuration management process is relatively cumbersome.
- a service forwarding method including:
- the ONU maps the received service to the logical channel of the PON through the Ethernet identifier and/or the UNI port identifier of the ONU, where the PON logical channel is a logical channel connecting the ONU and its corresponding OLT; the optical line terminal OLT
- the mapping between the PON logical channel and the label protocol forwarding (MPLS) instance is established by the logical UNI port; the OLT forwards the service mapped to the PON logical channel through the MPLS instance; wherein the OLT is an optical access system Central office equipment, optical line termination in PON network, in DPoE (Docsis Provisioning of EPON, GPRS-based passive optical network)
- the OLT in the network is a DPoE system.
- the ONU maps the received service to the logical channel of the PON through the Ethernet identifier and/or the port identifier of the UNI of the ONU, including one of the following: the received service is multiple services, and multiple services and multiple services One-to-one correspondence of the Ethernet identifiers, mapping multiple services corresponding to multiple Ethernet identifiers to one P0N logical channel; receiving the service as multiple services, and multiple services corresponding to one Ethernet identifier, corresponding to one Ethernet identifier The multiple services are mapped to a P0N logical channel; each service in the received service corresponds to an Ethernet identifier or a port identifier of the NU of the ONU, and an Ethernet identifier corresponding to each service or a corresponding service of each service The port identifier of the UNI maps each service to its corresponding P0N logical channel.
- the mapping between the logical channel and the MPLS instance is established by using the logical UNI port on the OLT.
- the mapping between the Ethernet identifier and the P0N logical channel corresponding to the service and the Ethernet corresponding to the service are established by the logical UNI interface.
- a VC is established between the UNI port of the ONU and the logical UNI port of the OLT to implement the mapping configuration of the ONU and the OLT.
- the attributes of the VC include: the identifier of the UNI port of the 0NU, the identifier of the logical U port of the 0LT, and the VC.
- the intermediate associated variables of the virtual connection include: an Ethernet identity and/or an identification of a PON logical channel.
- the P0N logical channel is a logical link identification path (LLID) in the EP0N system
- the P0N logical channel is a port (GEM P0RT) of the GP0N encapsulation method in the GP0N system.
- the identifier of the UNI port of the 0NU includes: physical attributes of the UNI port of the 0NU, and the physical attributes include: a media access control MAC address and/or an Ethernet identifier.
- the identifier of the logical UNI port of the 0LT includes: physical attributes of the logical UNI port of the 0LT, and the physical attributes include: a media access control MAC address and/or an Ethernet identifier.
- the Ethernet identifier comprises: a virtual local area network VLAN or a VLAN + service type C0S.
- the logical UNI port is a reference point, and the reference point is located at the connection between the access function module and the aggregation function module on the OLT, and the convergence function module refers to a functional module that implements MPLS aggregation and forwarding.
- a service forwarding system comprising: an optical line terminal (0LT) and an optical network unit (0NU), the 0NU including a mapping module, configured to identify the received service by Ethernet and/or The port identifier of the user network interface UI of the ONU of the optical network unit is mapped to the logical channel of the PON of the passive optical network, where the PON logical channel is a logical channel connecting the ONU and its corresponding OLT;
- the OLT includes: establishing a module and forwarding The module, the foregoing establishing module, is configured to establish a mapping relationship between the PON logical channel and the label protocol forwarding MPLS instance by using the logical UNI port; the forwarding module is configured to forward the service mapped to the PON logical channel by using the MPLS instance;
- the OLT is a central office device of the optical
- the mapping module is configured to map the received service to the logical channel of the passive optical network PON through the Ethernet identifier and/or the port identifier of the optical network unit ONU in one of the following manners:
- the service, and the multiple services correspond to multiple Ethernet identifiers, and map multiple services corresponding to multiple Ethernet identifiers to one PON logical channel;
- the received service is multiple services, and multiple services correspond to one Ethernet
- the network identifier maps multiple services corresponding to one Ethernet identifier to one PON logical channel.
- Each service in the received service corresponds to the Ethernet identifier or the port identifier of the UNI of the ONU, and the Ethernet corresponding to each service.
- the port identifier of the UNI or the corresponding UNI of each service maps each service to its corresponding PON logical channel.
- the first establishing module is configured to establish a mapping relationship between the Ethernet identifier corresponding to the service and the P0N logical channel and the mapping relationship between the Ethernet identifier corresponding to the service and the MPLS instance by using the logical UNI interface on the OLT.
- the system further includes: a second establishing module, configured to establish a virtual connection between the UNI port of the ONU and the logical UNI port of the OLT to implement a mapping configuration of the ONU and the OLT, and the attributes of the VC include: The identity of the port, the identity of the logical II port of the 0LT, and the intermediate associated variable of the VC.
- the received service is mapped to the logical channel of the passive optical network P0N through the Ethernet identifier and/or the port identifier of the user network interface UNI of the optical network unit ONU, wherein the PON logical channel is connected to the ONU.
- the optical line terminal OLT establishes a mapping relationship between the PON logical channel and the label protocol to forward the MPLS instance through the logical UNI port; the OLT performs the service mapped to the PON logical channel through the MPLS instance. Forwarding, which solves the problem that the PON system ONU in the related art needs a large number of configurations in order to support multiple service models, and the configuration management process is relatively cumbersome, thereby achieving the effect of reducing the complexity and cost of the ONU.
- FIG. 1 is a schematic diagram of an E-LINE service type according to the related art
- FIG. 2 is a schematic diagram of an E-LAN service type according to the related art
- FIG. 3 is a schematic diagram of an E-TREE service type according to the related art
- 4 is a schematic diagram of an end-to-end service model implemented by an MPLS method according to the related art
- FIG. 5 is a schematic diagram of a topology structure of a DPoE system according to the related art
- FIG. 6 is a flowchart of a service forwarding method according to an embodiment of the present invention
- 7 is an ELINE: EPL per SF multiple LLID according to an embodiment of the present invention
- FIG. 8 is an ELINE: EVPL service implementation map (per EVC per SF multiple LLID) according to an embodiment of the present invention
- 9 is an ELAN: EP-LAN service implementation map (per EVC per SF multiple LLID) according to an embodiment of the present invention
- FIG. 10 is an ELAN: EVP-LAN service implementation map (per EVC per SF multiple according to an embodiment of the present invention) LLID);
- FIG. 11 is an E-Tree: EP-Tree service implementation map (per EVC per SF multiple LLID) according to an embodiment of the present invention
- FIG. 12 is an E-Tree: EVP-Tree service implementation according to an embodiment of the present invention
- Mapping FIG. 13 is a schematic diagram of a service model after the OLT abstracts a logical UNI according to an embodiment of the present invention
- FIG. 14 is a schematic diagram of an ELAN: EVP-LAN service implementation mapping according to an embodiment of the present invention ( Multiple EVC per SF per LLID)
- 15 is a structural block diagram of a service forwarding system according to an embodiment of the present invention
- FIG. 16 is a block diagram showing a preferred structure of a service forwarding system according to an embodiment of the present invention.
- BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
- FIG. 6 is a flowchart of a service forwarding method according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps S602 to S606.
- Step S602 The ONU maps the received service to the logical channel of the passive optical network PON through the Ethernet identifier and/or the port identifier of the user network interface UNI of the optical network unit (ONU), where the PON logical channel is connected to the ONU. And the logical channel between its corresponding OLT.
- Step S604 The optical line terminal (OLT) establishes a mapping relationship between the PON logical channel and the label protocol to forward the MPLS instance by using the logical UNI port on the OLT.
- the OLT is the central office device of the optical access system, and the optical circuit is the optical line in the PON network.
- the terminal is a DPoE system in the DPoE network.
- Step S606 The OLT forwards the service mapped to the PON logical channel through the MPLS instance.
- the ONU maps the received service to the PON logical channel, and then the OLT forwards the service mapped to the PON logical channel through the MPLS by establishing a mapping relationship between the PON logical channel and the MPLS instance, and overcomes the related technology in the PON.
- the system ONU needs a large number of configurations, so that the configuration management process is relatively cumbersome, thereby achieving the effect of reducing the complexity and cost of the ONU.
- the ONU maps the received service to the logical channel of the PON through the Ethernet identifier and/or the port identifier of the UNI of the ONU, including one of the following: the received service is multiple services, and multiple services and multiple services One-to-one correspondence of the Ethernet identifiers, mapping multiple services corresponding to multiple Ethernet identifiers to one PON logical channel; receiving the service as multiple services, and multiple services corresponding to one Ethernet identifier, corresponding to one Ethernet identifier The multiple services are mapped to a PON logical channel; each service in the received service corresponds to the Ethernet identifier or the port identifier of the UNI of the ONU, and the Ethernet identifier corresponding to each service or the UNI corresponding to each service The port identifier maps each service to its corresponding PON logical channel.
- the diversity of the ONU mapping the received traffic to the PON logical channel is achieved.
- the OLT establishes a mapping relationship between the PON logical channel and the MPLS instance by using the logical UNI port on the OLT.
- the OLT establishes a mapping relationship between the Ethernet identifier and the PON logical channel corresponding to the service and the Ethernet corresponding to the service through the logical UNI interface on the OLT.
- the mapping between the PON logical channel and the MPLS instance is implemented by establishing two mapping relationships.
- a virtual connection VC is established between the UNI port of the ONU and the logical UNI port of the OLT to implement the mapping configuration of the ONU and the OLT.
- the attributes of the VC include: the identifier of the UNI port of the ONU, the identifier of the logical UNI port of the OLT, and The intermediate associated variable of VC.
- the VC is set up on the OLT and the ONU, and the corresponding configuration is implemented, which reduces the complexity of the mapping configuration on both sides of the ONU and the OLT.
- the intermediate associated variables of the virtual connection include: an identity of the Ethernet identity and/or a logical channel of the PON.
- the use of existing parameters reduces the complexity of mapping between the ONU and the OLT.
- the PON logical channel is a logical link identification path (LLID) in the EPON system, and the PON logical channel is a GPON-based encapsulation method port (GEM PORT) in the GPON system.
- the flexibility of the service forwarding method is achieved.
- the identifier of the UNI port of the ONU includes: a physical attribute of the UNI port of the ONU and an Ethernet identifier, and physical attributes include: a media access control MAC address.
- the use of existing parameters reduces the complexity of mapping between the ONU and the OLT.
- the identifier of the logical UNI port of the OLT includes: a physical attribute of the logical UNI port of the OLT and/or an Ethernet identifier, and the physical attributes include: a media access control MAC address.
- the use of existing parameters reduces the complexity of mapping between the ONU and the OLT.
- the Ethernet identifier comprises: a virtual local area network VLAN or a VLAN + service type COS.
- the logical UNI port is a reference point, and the reference point is located at a connection between the access function module and the aggregation function module on the OLT, and the convergence function module refers to a function module for implementing MPLS aggregation and forwarding.
- the models of the service include: Ethernet-based line service (E_Line), Ethernet-based LAN service (E_LAN), and Ethernet-based tree service (E_TREE).
- Embodiment 1 This embodiment provides a service implementation method. The embodiment combines the foregoing embodiment and a preferred implementation manner thereof. The method includes the following steps: Step 1: Configure the logical UNI interface on the OLT and configure the service type. E-LINE, E-LAN, and E-TREEo Step 2: Establish a mapping relationship between the logical UNI interface of the OLT and the service bearer channel between the OLT and the ONU. Step 3: The ONU establishes a mapping relationship between the UNI interface on the user side and the UNI logical interface on the OLT. Preferably, the above logical UNI interface may use a VLAN or a MAC address as an identifier. a logic
- the UNI interface can include one VLAN or MAC address, and can also include multiple VLANs or multiple MAC addresses.
- the service bearer channel between the OLT/ONU includes: a GEM technology GEM PORT, an EPON technology LLID, or a VLAN+LLID, a VLAN+GEMPORT.
- the specific mapping manner is as follows: Step 1: The CE is connected to the Ethernet port of the ONU user side, and specifies the Ethernet service mode to be carried. Port transparent transmission or port VLAN multiplexing).
- Step 2 Configure an L2VPN instance on the OLT (configure according to the specific E-Line/E-LAN/E-Tree service type.
- Step 3 The connection between the Ethernet port U on the ONU user side and the logical UNI port on the OLT side is configured and managed through an abstract virtual connection, and the specific mapping is performed.
- Step 3 includes the following steps 3.1 and 3.2: Step 3.1: On the ONU The service to be carried, the local service processing is configured, and the mapping between the port/port VLAN to the service bearer path (VLAN, and/or LLID, and/or GEM Prot) between the ONU and the OLT is completed.
- Step 3.2 Configure the mapping between the specified service bearer path (VLAN, LLID, and/or GEM Prot) between the ONU and the OLT to the internal VLAN path (native vlan path, which can be single-layer or double-layer vlan tag).
- the internal VLAN path is associated with the specified MPLS L2VPN instance.
- the establishment of the entire abstract virtual connection is completed, and the virtual connection is associated with the corresponding L2VPN service forwarding instance.
- Step 4 The peer PE completes the corresponding L2VPN configuration. If the peer end is also a PON system, the establishment manner is the same as the above step 2-step 3. It should be noted that, through the above steps, the corresponding Ethernet service opening between the CEs is completed.
- the foregoing step 3 can be configured for an abstract virtual connection (VC).
- the configuration is as follows: Step a: Specify the identifier of the UNI port in the VC. One of them is the UNI port identifier of the ONU (which can be a VLAN or a MAC address), and the other is a logical UNI identifier on the OLT (which can be identified by a VLAN). Corresponding to the port/port VLAN in step 3.1 above and the internal VLAN path in step 3.2. Step b: Specify the intermediate association attribute in the VC, which can be a VLAN or a PON link identifier, such as LLID or GEMPORT.
- step b is equivalent to completing the mapping between the port/port VLAN of the ONU and the service bearer path between the ONU and the OLT in step 3.1 and the service between the ONU and the OLT in step 3.2. Mapping of bearer paths and internal VLAN paths.
- Step c Configure the association between the VC identifier and the L2VPN instance. In this embodiment, the configuration of the above three steps is simpler and easier to maintain on the management layer, and does not require complicated configuration of mapping each part of the connection.
- an abstract virtual connection (VC)
- a logical UNI port is configured on the OLT user side
- a virtual connection is formed between the logical U interface and the U port on the ONU side
- an L2VPN instance is created on the OLT.
- the connection of the end PE, the mapping between the virtual connection and the L2VPN is established at the same time, and finally the end-to-end service connection is implemented.
- the end-to-end service connection of the entire system level can be configured and managed more efficiently from the overall perspective.
- the OLT acts as the PE, and the peer PE passes the static configuration or protocol, such as the Multi-Protocol Lable Switch (MPLS) label distribution protocol.
- MPLS Multi-Protocol Lable Switch
- LDP Label Distribution Protocol
- the ONU and the OLT use an internal virtual mechanism to implement the data path between the bearer service and the L2VPN instance.
- FIG. 7 is an ELINE: EPL service implementation map (per EVC per SF according to an embodiment of the present invention. Multiple LLID)
- EPL Ethernet Private Line
- P2P point-to-point
- Step 1 Create a virtual connection VC between the UNI1 and the logical UNI port on the OLT.
- the ID of the UNI port on both sides of the VC1 is the port ID of the UNI1 and native vlanl.
- VC1 is of the P2P type.
- Step 2 Configure the intermediate association attribute of VC1 as tls vlanl. For EPON, share the link LLID1.
- Step 3 Configure a virtual private line instance (vlll) on the OLT.
- Step 4 Configure VC1 and vlll associations.
- Step 5 Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs.
- Step 6 Configure the PW on the OLT, specify the peer as PE2, and associate it with vlll.
- Step 7 The peer PE completes the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG.
- steps 1 and 2 are equivalent to configuring the mapping relationship between UNI1 and tls vlanl on the ONU and mapping the tls vlanl to native vlanl on the OLT (specifying the conversion of tls vlanl to native vlanl);
- Step 4 is equivalent to The native vlan1 is associated with the vlll.
- Step 1 The UNI1 of the ONU receives the data flow from the CE (Customer Edge).
- Step 2 According to the mapping relationship, the TLs vlanl is added to the service path between the ONU and the OLT, and sent to the OLT.
- Step 3 After receiving the data, the OLT converts tls vlanl to native vlanl (native vlanl tag) according to the configured mapping rule and sends it to the vll instance.
- Step 4 The vlll instance on the OLT receives the native vlan l data stream, extracts the payload, finds the corresponding PW, and completes the PW/LSP encapsulation and sends it to the peer PE2.
- Step 5 The data stream is sent to the PE2 through the LSP.
- Embodiment 3 This embodiment provides a service implementation method. This embodiment combines the above embodiments and preferred embodiments thereof.
- FIG. 8 is an ELINE: EVPL service implementation map (per EVC per SF according to an embodiment of the present invention). Multiple LLID), as shown in FIG.
- this embodiment describes an EVPL (Ethernet Virtual Private Line) service, which implements P2P service transmission on vlan1 to UNI3 on UNI1 and P2P service transmission on vlan2 to UNI4 on UNI1, and the method includes The following steps are performed: Step 1: Create two VC connections between UNI1 on the ONU and the logical UNI port on the OLT, namely VC1 and P2.
- the two UM port identifiers of VC1 are vlanl and native vlanl, respectively.
- the two UNI port identifiers of VC2 are vlan2 and native vlan2.
- VC1 and VC2 are of the P2P type.
- Step 2 Configure the intermediate association attributes of VC1 and VC2 as pon vlanl and pon vlan2 respectively.
- VC1 and VC2 share LLID 1.
- Step 3 Configure virtual private line instances vlll and vll2 on the OLT.
- Step 4 Configure VC1 and vlll associations, and configure VC2 and vll2 associations.
- Step 5 Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs.
- Step 6 Configure PW1 on the OLT, specify the peer as PE2, and associate it with vlll.
- Configure PW2 on the OLT specify the peer as PE3, and associate it with vll2.
- Step 7 The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG. 8 can be replaced by an LLID or a GEM port. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
- mapping between vlanl and pon vlanl on UNI1 is configured on the ONU. When data is forwarded, vlanl is not used as the payload and is stripped.
- mapping between vlan2 and pon vlan2 on UNI1 is configured on the ONU. When data is forwarded, vlan2 is not used. The payload is stripped).
- Step 4 is equivalent to configuring the native vlan1 association to vlll on the OLT; and configuring native vlan2 to lj vll2 on the OLT.
- the data flow forwarding process includes the following steps: Step 1: The data stream received on the UNI1 of the ONU.
- Step 2 If the data packet carries the vlan tag as vlanl, according to the mapping relationship, the vlanl is stripped and pon vlanl is added and sent to the OLT. If the data packet carries the vlan tag as vlan2, according to the mapping relationship, after vlan2 is stripped, pon vlan2 is added and sent to the OLT. Step 3: After receiving the pon vlanl data from the ONU, the OLT converts the pon vlanl to the native vlanl (native vlanl tag) and sends it to the vlll instance according to the configured mapping rule.
- the configured mapping rule converts pon vlan2 to native vlan2 (marked native vlanl tag) and sends it to the vll2 instance.
- Step 4 The vlll instance on the OLT receives the native vlan 1 data stream, extracts the payload, finds the corresponding PW1, and sends the PW/LSP encapsulation to the peer PE2.
- the vll2 instance on the OLT receives the native vlan 2 data stream. After the PW/LSP is encapsulated, it is sent to the peer PE3.
- Step 5 The data stream is sent to the PE2 through the LSP.
- Embodiment 4 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof.
- FIG. 9 is an ELAN: EP-LAN service implementation map (per EVC per SF multiple according to an embodiment of the present invention). LLID), as shown in FIG.
- this embodiment describes an EP-LAN (Ethernet Private LAN) service, which implements a port-level multipoint-to-multipoint (UNIP, UNI2, UNI3, and UNI4).
- the method includes the following steps: Step 1: Create two VC connections between the UNI1, UNI2 and the logical UNI port of the OLT on the ONU, respectively VC1 and P2.
- the two UNI ports of VCl are the port ID of UNI1 and native vlanl.
- the two UNI port IDs of VC2 are the port ID of UNI2 and native vlan2.
- VCl and VC2 are P2P types.
- Step 2 Configure the intermediate association attributes of VC1 and VC2 as tls vlanl and tls vlan2, respectively.
- Step 3 Configure the virtual switch instance vsil on the OLT.
- Step 4 Configure VC1 and VC2 to be vsil associations.
- Step 5 Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs.
- Step 6 Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil.
- Configure PW2 on the OLT specify the peer as PE3, and associate it with vsil.
- Step 7 The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode.
- the tls vlan in Figure 9 can be replaced by LLID or GEM port.
- Steps 1 and 2 are equivalent to completing the following two configurations:
- mapping between UNI1 and tls vlan1 is configured on the ONU.
- mapping between UNI2 and tls vlan2 is configured on the ONU.
- Step 4 is equivalent to completing the following configuration: Configuring native vlanl to associate to vsil on the OLT; configuring native vlan2 to lj vsil on the OLT.
- Step 1 The data stream received on the UNI1 of the ONU.
- Step 2 According to the mapping relationship, the TLs vlanl is added to the service path between the ONU and the OLT, and sent to the OLT.
- Step 3 After receiving the data, the OLT converts tls vlanl to native vlanl (native vlanl tag) according to the configured mapping rule and sends it to the vsil instance.
- Step 4 The vsil instance on the OLT receives the native vlan 1 data stream, extracts the payload, and searches the vsi forwarding table according to the destination MAC address. If the corresponding egress is obtained, such as PW1, the PW/LSP is encapsulated and sent to the peer PE2.
- Step 5 The PW1 data stream is sent to the PE2 through the LSP. After receiving the packet, the PE2 decapsulates the PW label and finds the corresponding vsi instance. After the PW/LSP is encapsulated, the payload is removed and forwarded according to the MAC. Export (such as UNI3). The UNI port is used as an example here. The other UNI ports receive data in the same way as above.
- Embodiment 5 This embodiment provides a service implementation method. This embodiment combines the above embodiments and preferred embodiments thereof. FIG.
- EVP-LAN service implementation map (per EVC) according to an embodiment of the present invention.
- EVC EVP-LAN service implementation map
- this embodiment describes an EVP-LAN (Ethernet Virtual Private LAN) service, which implements MP2MP service transmission from vlan1 to vlanX on UNI1 and vlanY on UNI4, and vlan2 to I on UNI1.
- the MP2MP service of the vlanZ is transmitted on the I4.
- the method includes the following steps: Step 1: Create two VC connections between the UNI1 on the ONU and the logical UNI port on the OLT side, respectively VC1 and P2.
- the two UM port identifiers of VC1 are vlanl and native vlanl, respectively.
- the two UNI port identifiers of VC2 are vlan2 and native vlan2.
- VC 1 and P VC2 are of the P2P type.
- Step 2 Configure the intermediate association attributes of VC1 and VC2 as pon vlanl and pon vlan2.
- Step 3 Configure virtual private line instances vsil and vsi2 on the OLT.
- Step 4 Configure VC1 and VC2 to be associated with vsil and vsi2 respectively.
- VC1 and VC2 share LLID1.
- Step 5 Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs.
- Step 6 Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil.
- Configure PW2 on the OLT and specify the peer as PE3 and associate it with vsil.
- Configure PW3 on the OLT specify the peer as PE3, and associate it with vsi2.
- Step 7 The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, the establishment manner is the same as steps 1 to 6 above. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
- mapping between vlanl and pon vlanl on UNI1 is configured on the ONU. When data is forwarded, vlanl is not used as the payload and is stripped.
- mapping between vlan2 and pon vlan2 on UNI1 is configured on the ONU. When data is forwarded, vlan2 is not used. The payload is stripped).
- Step 4 is equivalent to completing the following configuration: Configure native vlanl to associate to vsil on the OLT; configure native vlan2 to lj vsi2 on the OLT.
- the data stream forwarding process includes the following steps: Step 1: The data stream received on the UNI1 of the ONU.
- Step 2 If the data packet carries the vlan tag as vlanl, according to the mapping relationship, the vlanl is stripped and pon vlanl is added and sent to the OLT. If the data packet carries the vlan tag as vlan2, according to the mapping relationship, after vlan2 is stripped, pon vlan2 is added and sent to the OLT. It should be noted that the subsequent process of the data stream forwarding process after step 2 is the same as that in the fourth embodiment.
- Embodiment 6 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof.
- FIG. 11 is an E-Tree: EP-Tree service implementation map according to an embodiment of the present invention.
- this embodiment describes an EP-Tree (Ethernet Private Tree) service.
- the port-level root multi-point service transmission between UNI 1, UNI2, and UNI3 is implemented.
- UNI3 is root, UNI1, and UNI2 are leaves.
- the method includes the following steps: Step 1: Create UNI1 and UNI2 on the ONU and logical UNI port on the OLT side.
- the two UNI port identifiers of VCl are the port identifier (MAC address) of UNI1 and the native vlanl.
- the two UNI port identifiers of VC2 are the port identifier of UNI2 and native vlan2.
- VCl and P VC2 are of the P2P type.
- Step 2 Configure the intermediate association attributes of VC1 and VC2 as tls vlanl and tls vlan2 respectively.
- Step 3 Configure the virtual switch instance vsil on the OLT.
- Step 4 Configure VCl and VC2 to be associated with vsil respectively, and specify the attributes of each VC as leaf.
- Step 5 Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs.
- Step 6 Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil. Specify the attribute root.
- Step 7 The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG. 11 can be replaced by an LLID or a GEM port. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
- mapping between UNI1 and tls vlan1 is configured on the ONU.
- the mapping between UNI2 and tls vlan2 is configured on the ONU.
- Step 4 is equivalent to completion
- the following configuration On the OLT, configure native vlanl to associate with vsil and specify the attribute leaf. On the OLT, configure native vlan2 to associate with vsil and specify the attribute leaf.
- FIG. 12 is an E-Tree: EVP-Tree service implementation map according to an embodiment of the present invention. Per EVC per SF multiple LLID), as shown in FIG.
- this embodiment describes an EVP-Tree (Ethernet Virtual Private Tree) service, which implements rooted multi-point service transmission of vlanX on vlanl, vlan2 to UNI3 on UNIL, where UNI3 is used.
- the vlanX is root.
- the method includes the following steps: Step 1: Create two VC connections between the UNI1 on the ONU and the logical UNI port on the OLT, namely VC1 and P2.
- the two UM port identifiers of VC1 are vlanl and native vlanl, respectively.
- the two UNI port identifiers of VC2 are vlan2 and native vlan2.
- VC1 and VC2 are of the P2P type.
- Step 2 Configure the intermediate association attributes of VC1 and VC2 as pon vlanl and pon vlan2.
- Step 3 Configure the virtual private line instance vsil on the OLT.
- Step 4 Configure VC1 and VC2 to be associated with vsil respectively. Specify VC1 and VC2 attributes as leaf.VCl and VC2 share I ID1.
- Step 5 Configure Layer 3 interfaces and routes on the OLT. Dynamic or static routing), enable label distribution protocol learning and establish LSPs.
- Step 6 Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil.
- Step 7 The peer PE2 completes the corresponding L2VPN configuration.
- Steps 1 to 6 are equivalent to completing the following configurations:
- mapping between vlanl and pon vlanl on UNI1 is configured on the ONU. When data is forwarded, vlanl is not used as the payload and is stripped.
- mapping between vlan2 and pon vlan2 on UNI1 is configured on the ONU. When data is forwarded, vlan2 is not used. The payload is stripped).
- Step 4 is equivalent to completing the following configuration: Configure native vlanl to associate to vsil on the OLT, and specify the attribute leaf. On the OLT, configure native vlan2 to associate with vsil and specify the attribute leaf.
- the entire data path is opened. The data forwarding process is the same as the fifth embodiment except that the data cannot be forwarded between the leaf circuits in the vsi.
- Embodiment 8 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof.
- EVP-LAN Ethernet Virtual Private LAN
- Step 1 Create three VC connections between UNI1 on the ONU and the logical UNI port on the OLT, namely VC1 and VC2 and VC3.
- the two UM port identifiers of VC1 are vlanl and native vlanl.
- the two UNI port identifiers of VC2 are vlan2 and native vlan2 respectively.
- the two UNI port identifiers of VC3 are vlan3 and native vlan2.
- VCl and VC2 and VC3 are both P2P.
- VC1 performs service transmission through LLID1
- VC2 and VC3 perform service transmission through LLID2.
- the values of vlan2, vlan3, and pon vlan2, native vlan2 are the same. It should be noted that, by the configuration of steps 1 and 2, the same service from the UNI port (identified by the same vlan) is entered into the same SF for processing, and then carried by the PON link channel.
- Step 3 Configure virtual private line instances vsil and vsi2 on the OLT.
- Step 4 Configure VC1 and vsil association, VC2, P, VC, and P vsi2.
- Step 5 Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs.
- Step 6 Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil.
- Configure PW2 on the OLT and specify the peer as PE3 and associate it with vsil.
- Configure PW3 on the OLT specify the peer as PE3, and associate it with vsi2.
- Step 7 The peer PE2 and PE3 complete the corresponding L2VPN configuration.
- the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the above method is also applicable to the DPoE network shown in FIG. 5.
- the OLT shown in the foregoing embodiment may be a DPOE System or an OLT in the DPoE System.
- the corresponding ONU side does not perform aggregation, and one service (EVC) from the ONU side corresponds to one service flow (SF: service flow), and multiple service flows correspond to one PON link identifier. , such as LLID (differentiated by VL AN).
- FIG. 15 is a structural block diagram of a service forwarding system according to an embodiment of the present invention.
- the system includes: an OLT 2 and an ONU 4, wherein the OLT 2 includes: an establishing module 22 And the forwarding module 24, the ONU 4 includes: a mapping module 42, which is described in detail below:
- the ONU 4 includes: a mapping module 42 configured to map the received service to the logical channel of the PON through the Ethernet identifier and/or the UNI port identifier of the ONU, where the PON logical channel is connected to the ONU and its corresponding OLT.
- the OLT 2 includes: a first establishing module 22, configured to establish a mapping relationship between the PON logical channel and the label protocol forwarding MPLS instance by using the logical UNI port thereon; the forwarding module 24 is connected to the mapping module 42 and configured to map the mapping module 42
- the service to the PON logical channel is forwarded by the MPLS instance.
- the OLT is the central office device of the optical access system, the optical line terminal in the PON network, and the DPoE system in the DPoE network.
- the mapping module 42 is configured to map the received service to the logical channel of the PON through the Ethernet identifier and/or the port identifier of the ONU in one of the following ways: the received service is multiple services, and multiple services One-to-one correspondence with multiple Ethernet identifiers, mapping multiple services corresponding to multiple Ethernet identifiers to one P0N logical channel; receiving the service as multiple services, and multiple services corresponding to one Ethernet identifier, one Ethernet Each service corresponding to the network identifier is mapped to a P0N logical channel; each service in the received service corresponds to an Ethernet identifier or a port identifier of the NU of the ONU, and an Ethernet identifier corresponding to each service or each The port identifier of the UNI corresponding to the service maps each service to its corresponding PON logical channel.
- the establishing module is configured to establish a mapping relationship between the Ethernet identifier corresponding to the service and the P0N logical channel and the mapping relationship between the Ethernet identifier corresponding to the service and the MPLS instance by using the logical UNI interface on the OLT.
- FIG. 16 is a block diagram of a preferred structure of a service forwarding system according to an embodiment of the present invention. As shown in FIG. 16, the system further includes: a configuration module 162. The foregoing structure is described in detail. The system further includes: a configuration module 162. Set up to establish a virtual connection between the UNI port of the ONU and the logical II port of the OLT. The VC is used to implement the mapping between the ONU and the OLT.
- the attributes of the VC include: the identifier of the UNI port of the ONU, the identifier of the logical UNI port of the OLT, and the VC. Intermediate associated variable.
- the foregoing embodiment provides a service forwarding method and system, and the ONU maps the received service to the PON logical channel, and then the OLT maps the mapping between the PON logical channel and the MPLS instance to the PON logical channel.
- the service is forwarded through MPLS, which overcomes the problem that the PON system ONU needs a large number of configurations in order to support multiple service models, and the configuration management process is relatively cumbersome, thereby achieving the effect of reducing the complexity and cost of the ONU.
- modules or steps of the present invention can be implemented by a general-purpose 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 so 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 Multiple modules or steps are made into a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred 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 scope of the present invention are intended to be included within the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
业务转发方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种业务转发方法及系统。 背景技术 城域以太网论坛(Metro Ethernet Forum, 简称为 MEF)定义了基于以太网的线路 业务(Ethernet Line Service,简称为 E-Line)、基于以太网的局域网业务(Ethernet LAN Service,简称为 E-LAN)、基于以太网的树形业务(Ethernet Tree Service,简称为 E-Tree) 三种以太网业务类型, 来支持端到端的业务。 E-line、 E-LAN、 E-TREE业务以用户网 络接口 (User Network Interface, 简称为 UNI)为基础进行建立, 每个接口对应相应的 物理端口或物理端口的逻辑端口, 目前在无源光网络 (Passive Optical Network, 简称 为 PON) 系统, 如图 5所示, 实现这些业务模型的需求不断增多, 对于 PON系统来 说, UNI接口是 ONU的连接用户的物理端口, 可以是以太网接口或以太网接口的逻 辑端口, 根据 E-line、 E-LAN、 E-TREE业务模型, ONU需要支持这几种业务的模型, 但是 ONU的功能会比较复杂, 实现难度较高。 同时, 由于在 PON系统 ONU为了支 持 E-LINE, E-LAN, E-TREE三种业务模型, 需要大量的配置, 从而配置管理过程也 相对繁琐。 针对相关技术中 PON系统 ONU为了支持多种业务模型, 需要大量的配置, 导致 配置管理过程比较繁琐的问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种业务转发方法及系统, 以至少解决相关技术中 PON系统 ONU 为了支持多种业务模型, 需要大量的配置, 导致配置管理过程比较繁琐的问题。 根据本发明的一个方面, 提供了一种业务转发方法, 包括: TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a service forwarding method and system. BACKGROUND OF THE INVENTION The Metro Ethernet Forum (MEF) defines an Ethernet-based line service (E-Line), and an Ethernet-based LAN service (Ethernet LAN Service, referred to as E). -LAN), Ethernet-based Ethernet Tree Service (E-Tree) three types of Ethernet services to support end-to-end services. The E-line, E-LAN, and E-TREE services are established based on the User Network Interface (UNI). Each interface corresponds to the logical port of the corresponding physical port or physical port. Currently, it is in passive light. The network (Passive Optical Network, PON for short) system, as shown in Figure 5, the demand for implementing these service models is increasing. For PON systems, the UNI interface is the physical port of the connected user of the ONU, which can be an Ethernet interface or The logical port of the Ethernet interface. According to the E-line, E-LAN, and E-TREE service models, the ONU needs to support the models of these services. However, the functions of the ONUs are more complicated and difficult to implement. At the same time, since the ONU in the PON system supports a variety of E-LINE, E-LAN, and E-TREE service models, a large number of configurations are required, and the configuration management process is relatively cumbersome. For the PON system in the related technology, the ONU needs a large number of configurations in order to support multiple service models, which leads to a cumbersome configuration management process. Currently, no effective solution has been proposed. SUMMARY OF THE INVENTION The present invention provides a service forwarding method and system, so as to at least solve the problem that the PON system ONU in the related art needs a large number of configurations in order to support multiple service models, resulting in a complicated configuration management process. According to an aspect of the present invention, a service forwarding method is provided, including:
ONU将接收到的业务通过以太网标识和 /或 ONU的 UNI的端口标识映射到 PON 的逻辑通道上, 其中, PON逻辑通道为连接 ONU及其对应的 OLT之间的逻辑通道; 光线路终端 OLT通过其上的逻辑 UNI端口建立 PON逻辑通道和标签协议转发 (MPLS ) 实例的映射关系; OLT将映射到 PON逻辑通道上的业务通过 MPLS实例进行转发; 其中, 所述 OLT为光接入系统的局端设备, 在 PON网络中为光线路终端, 在 DPoE (Docsis Provisioning of EPON, 基于 Docsis方式的以太网无源光网络) 网络中所述 OLT为 DPoE系统。 优选地, ONU将接收到的业务通过以太网标识和 /或 ONU的 UNI的端口标识映 射到 PON的逻辑通道上包括以下之一: 接收到的业务为多个业务, 且多个业务与多个 以太网标识一一对应, 将多个以太网标识对应的多个业务映射到一个 P0N逻辑通道; 接收到的业务为多个业务, 且多个业务对应一个以太网标识, 将一个以太网标识对应 的多个业务映射到一个 P0N逻辑通道;接收到的业务中的每一个业务分别对应一个以 太网标识或 0NU的 UNI的端口标识, 通过每一个业务对应的一个以太网标识或每一 个业务对应的 UNI的端口标识将每一个业务映射到其对应的 P0N逻辑通道。 优选地, 0LT使用其上的逻辑 UNI端口建立 P0N逻辑通道和 MPLS实例的映射 关系包括: 0LT通过其上的逻辑 UNI接口建立业务对应的以太网标识和 P0N逻辑通 道的映射关系及业务对应的以太网标识和 MPLS实例的映射关系。 优选地,在 0NU的 UNI端口和 0LT的逻辑 UNI端口之间建立 VC用于实现 0NU 和 0LT的映射配置, VC的属性包括: 0NU的 UNI端口的标识、 0LT的逻辑 U 端 口的标识和 VC的中间关联变量; 优选地, 虚拟连接的中间关联变量包括: 以太网标识和 /或 P0N逻辑通道的标识。 优选地, P0N逻辑通道在 EP0N系统中为逻辑链路识别通路(LLID), P0N逻辑 通道在 GP0N系统中为 GP0N的封装方法的端口 (GEM P0RT)。 优选地, 0NU的 UNI端口的标识包括: 0NU的 UNI端口的物理属性, 物理属性 包括: 媒体接入控制 MAC地址禾 P/或以太网标识。 优选地, 0LT的逻辑 UNI端口的标识包括: 0LT的逻辑 UNI端口的物理属性, 物理属性包括: 媒体接入控制 MAC地址和 /或以太网标识。 优选地, 以太网标识包括: 虚拟局域网 VLAN或 VLAN+业务类型 C0S。 优选地, 逻辑 UNI端口为一个参考点, 参考点位于 0LT上的接入功能模块和汇 聚功能模块的连接处, 汇聚功能模块是指实现 MPLS汇聚和转发的功能模块。 优选地, 业务的模型包括: 基于以太网的线路业务 E_LINE、 基于以太网的局域 网业务 E LAN和基于以太网的树形业务 E TREE。 根据本发明的另一方面, 提供了一种业务转发系统, 包括: 光线路终端 (0LT) 和光网络单元 (0NU), 0NU包括映射模块, 设置为将接收到的业务通过以太网标识 和 /或光网络单元 ONU的用户网络接口 U I的端口标识映射到无源光网络 PON的逻 辑通道上, 其中, PON逻辑通道为连接 ONU及其对应的 OLT之间的逻辑通道; OLT 包括:建立模块和转发模块,上述建立模块,设置为通过其上的逻辑 UNI端口建立 PON 逻辑通道和标签协议转发 MPLS实例的映射关系;上述转发模块,设置为将映射到 PON 逻辑通道上的业务通过 MPLS实例进行转发; 其中, 所述 OLT为光接入系统的局端设 备, 在 PON网络中为光线路终端, 在 DPoE网络中所述 OLT为 DPoE系统。 优选地, 映射模块设置为通过以下方式之一将接收到的业务通过以太网标识和 / 或光网络单元 ONU的端口标识映射到无源光网络 PON的逻辑通道上: 接收到的业务 为多个业务, 且多个业务与多个以太网标识一一对应, 将多个以太网标识对应的多个 业务映射到一个 PON逻辑通道; 接收到的业务为多个业务, 且多个业务对应一个以太 网标识,将一个以太网标识对应的多个业务映射到一个 PON逻辑通道; 接收到的业务 中的每一个业务分别对应以太网标识或 0NU的 UNI的端口标识, 通过每一个业务对 应的以太网标识或每一个业务对应的 UNI 的端口标识将每一个业务映射到其对应的 P0N逻辑通道。 优选地, 第一建立模块设置为通过其所在 0LT上的逻辑 UNI接口建立业务对应 的以太网标识和 P0N逻辑通道的映射关系及业务对应的以太网标识和 MPLS实例的 映射关系。 优选地, 该系统还包括: 第二建立模块, 设置为在 0NU的 UNI端口和 0LT的逻 辑 UNI端口之间建立虚拟连接 VC用于实现 0NU和 0LT的映射配置, VC的属性包 括: 0NU的 UNI端口的标识、 0LT的逻辑 I I端口的标识和 VC的中间关联变量。 通过本发明, 采用 0NU将接收到的业务通过以太网标识和 /或光网络单元 0NU 的用户网络接口 UNI的端口标识映射到无源光网络 P0N的逻辑通道上, 其中, PON 逻辑通道为连接 ONU及其对应的 OLT之间的逻辑通道;光线路终端 OLT通过其上的 逻辑 UNI端口建立 PON逻辑通道和标签协议转发 MPLS实例的映射关系; OLT将映 射到 PON逻辑通道上的业务通过 MPLS实例进行转发, 解决了相关技术中 PON系统 ONU为了支持多种业务模型,需要大量的配置,从而配置管理过程也相对繁琐的问题, 进而达到了减低 ONU的复杂度和成本的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据相关技术的 E-LINE业务类型的示意图; 图 2是根据相关技术的 E-LAN业务类型的示意图; 图 3是根据相关技术的 E-TREE业务类型的示意图; 图 4是根据相关技术的通过 MPLS方式来实现端到端业务模型示意图; 图 5是根据相关技术的 DPoE系统的拓扑结构示意图; 图 6是根据本发明实施例的业务转发方法的流程图; 图 7是根据本发明实施例的 ELINE: EPL业务实现映射图(per EVC per SF multiple LLID); 图 8 是根据本发明实施例的 ELINE: EVPL业务实现映射图 (per EVC per SF multiple LLID); 图 9是根据本发明实施例的 ELAN: EP-LAN业务实现映射图 (per EVC per SF multiple LLID); 图 10是根据本发明实施例的 ELAN: EVP-LAN业务实现映射图 (per EVC per SF multiple LLID); 图 11是根据本发明实施例的 E-Tree: EP-Tree业务实现映射图 (per EVC per SF multiple LLID); 图 12是根据本发明实施例的 E-Tree: EVP-Tree业务实现映射图 (per EVC per SF multiple LLID); 图 13是根据本发明实施例的 OLT抽象出逻辑 UNI后的业务模型示意图; 图 14是根据本发明实施例的 ELAN: EVP-LAN业务实现映射的示意图 (multiple EVC per SF per LLID); 图 15是根据本发明实施例的业务转发系统的结构框图; 以及 图 16是根据本发明实施例的业务转发系统的优选的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本实施例提供了一种业务转发方法, 图 6是根据本发明实施例的业务转发方法的 流程图, 如图 6所示, 该方法包括如下步骤 S602至步骤 S606。 步骤 S602: ONU将接收到的业务通过以太网标识和 /或光网络单元 (ONU) 的用 户网络接口 UNI的端口标识映射到无源光网络 PON的逻辑通道上, 其中, PON逻辑 通道为连接 ONU及其对应的 OLT之间的逻辑通道。 步骤 S604: 光线路终端 (OLT) 通过其上的逻辑 UNI端口建立 PON逻辑通道和 标签协议转发 MPLS实例的映射关系; 其中, OLT为光接入系统的局端设备, 在 PON 网络中为光线路终端, 在 DPoE网络中为 DPoE系统。 步骤 S606: OLT将映射到 PON逻辑通道上的业务通过 MPLS实例进行转发。 通过上述方法, ONU将接收到的业务映射到 PON逻辑通道上, 然后 OLT通过建 立 PON逻辑通道和 MPLS 实例的映射关系将映射到 PON逻辑通道上的业务通过 MPLS进行转发, 克服了相关技术中 PON系统 ONU为了支持多种业务模型, 需要大 量的配置, 从而配置管理过程也相对繁琐的问题, 进而达到了减低 ONU 的复杂度和 成本的效果。 优选地, ONU将接收到的业务通过以太网标识和 /或 ONU的 UNI的端口标识映 射到 PON的逻辑通道上包括以下之一: 接收到的业务为多个业务, 且多个业务与多个 以太网标识一一对应, 将多个以太网标识对应的多个业务映射到一个 PON逻辑通道; 接收到的业务为多个业务, 且多个业务对应一个以太网标识, 将一个以太网标识对应 的多个业务映射到一个 PON逻辑通道;接收到的业务中的每一个业务分别对应以太网 标识或 ONU的 UNI的端口标识, 通过每一个业务对应的以太网标识或每一个业务对 应的 UNI的端口标识将每一个业务映射到其对应的 PON逻辑通道。 通过该优选实施 例, 实现了 ONU将接收的业务映射到 PON逻辑通道的多样性。 优选地, OLT使用其上的逻辑 UNI端口建立 PON逻辑通道和 MPLS实例的映射 关系包括: OLT通过其上的逻辑 UNI接口建立业务对应的以太网标识和 PON逻辑通 道的映射关系及业务对应的以太网标识和 MPLS实例的映射关系。通过该优选实施例, 通过建立两次映射关系实现了 PON逻辑通道和 MPLS实例的映射。 优选地,在 ONU的 UNI端口和 OLT的逻辑 UNI端口之间建立虚拟连接 VC用于 实现 ONU 和 OLT的映射配置, VC的属性包括: ONU的 UNI端口的标识、 OLT的逻辑 UNI 端口的标识和 VC的中间关联变量。 通过该优选实施例, 通过在 OLT和 ONU上建立 VC, 并进行相应的配置, 降低了 ONU和 OLT两侧的映射配置的复杂度。 优选地, 虚拟连接的中间关联变量包括: 以太网标识和 /或 PON逻辑通道的标识。 通过该优选实施例, 采用现有参数降低了 ONU和 OLT两侧的映射的复杂度。 优选地, PON逻辑通道在 EPON系统中为逻辑链路识别通路(LLID), PON逻辑 通道在 GPON系统中为基于 GPON的封装方法的端口 (GEM PORT)。 通过该优选实 施例, 实现了业务转发方法的灵活性。 优选地, ONU的 UNI端口的标识包括: ONU的 UNI端口的物理属性禾 P/或以太 网标识, 物理属性包括: 媒体接入控制 MAC地址。 通过该优选实施例, 采用现有参 数降低了 ONU和 OLT两侧的映射的复杂度。 优选地, OLT的逻辑 UNI端口的标识包括: OLT的逻辑 UNI端口的物理属性和 / 或以太网标识, 物理属性包括: 媒体接入控制 MAC地址。 通过该优选实施例, 采用 现有参数降低了 ONU和 OLT两侧的映射的复杂度。 优选地, 以太网标识包括: 虚拟局域网 VLAN或 VLAN+业务类型 COS。 优选地, 逻辑 UNI端口为一个参考点, 参考点位于 OLT上的接入功能模块和汇 聚功能模块的连接处, 汇聚功能模块是指实现 MPLS汇聚和转发的功能模块。 优选地, 业务的模型包括: 基于以太网的线路业务(E_Line)、 基于以太网的局域 网业务 (E_LAN) 和基于以太网的树形业务 (E_TREE)。 实施例一 本实施例提供一种业务实现方法, 本实施例结合了上述实施例及其中的优选实施 方式, 该方法包括如下步骤: 步骤 1 : OLT侧配置逻辑 UNI接口, 并配置所属的业务类型: E-LINE, E-LAN, E-TREEo 步骤 2: OLT的逻辑 UNI接口和 OLT/ONU之间的业务承载通道建立映射关系。 步骤 3: ONU建立用户侧 UNI接口和 OLT逻辑 UNI接口之间映射关系。 优选地, 上述的逻辑 UNI接口可以使用 VLAN或 MAC地址作为标识。一个逻辑The ONU maps the received service to the logical channel of the PON through the Ethernet identifier and/or the UNI port identifier of the ONU, where the PON logical channel is a logical channel connecting the ONU and its corresponding OLT; the optical line terminal OLT The mapping between the PON logical channel and the label protocol forwarding (MPLS) instance is established by the logical UNI port; the OLT forwards the service mapped to the PON logical channel through the MPLS instance; wherein the OLT is an optical access system Central office equipment, optical line termination in PON network, in DPoE (Docsis Provisioning of EPON, GPRS-based passive optical network) The OLT in the network is a DPoE system. Preferably, the ONU maps the received service to the logical channel of the PON through the Ethernet identifier and/or the port identifier of the UNI of the ONU, including one of the following: the received service is multiple services, and multiple services and multiple services One-to-one correspondence of the Ethernet identifiers, mapping multiple services corresponding to multiple Ethernet identifiers to one P0N logical channel; receiving the service as multiple services, and multiple services corresponding to one Ethernet identifier, corresponding to one Ethernet identifier The multiple services are mapped to a P0N logical channel; each service in the received service corresponds to an Ethernet identifier or a port identifier of the NU of the ONU, and an Ethernet identifier corresponding to each service or a corresponding service of each service The port identifier of the UNI maps each service to its corresponding P0N logical channel. Preferably, the mapping between the logical channel and the MPLS instance is established by using the logical UNI port on the OLT. The mapping between the Ethernet identifier and the P0N logical channel corresponding to the service and the Ethernet corresponding to the service are established by the logical UNI interface. The mapping between the network identifier and the MPLS instance. Preferably, a VC is established between the UNI port of the ONU and the logical UNI port of the OLT to implement the mapping configuration of the ONU and the OLT. The attributes of the VC include: the identifier of the UNI port of the 0NU, the identifier of the logical U port of the 0LT, and the VC. Intermediate associated variables; Preferably, the intermediate associated variables of the virtual connection include: an Ethernet identity and/or an identification of a PON logical channel. Preferably, the P0N logical channel is a logical link identification path (LLID) in the EP0N system, and the P0N logical channel is a port (GEM P0RT) of the GP0N encapsulation method in the GP0N system. Preferably, the identifier of the UNI port of the 0NU includes: physical attributes of the UNI port of the 0NU, and the physical attributes include: a media access control MAC address and/or an Ethernet identifier. Preferably, the identifier of the logical UNI port of the 0LT includes: physical attributes of the logical UNI port of the 0LT, and the physical attributes include: a media access control MAC address and/or an Ethernet identifier. Preferably, the Ethernet identifier comprises: a virtual local area network VLAN or a VLAN + service type C0S. Preferably, the logical UNI port is a reference point, and the reference point is located at the connection between the access function module and the aggregation function module on the OLT, and the convergence function module refers to a functional module that implements MPLS aggregation and forwarding. Preferably, the model of the service includes: Ethernet-based line service E_LINE, Ethernet-based LAN service E LAN, and Ethernet-based tree service E TREE. According to another aspect of the present invention, a service forwarding system is provided, comprising: an optical line terminal (0LT) and an optical network unit (0NU), the 0NU including a mapping module, configured to identify the received service by Ethernet and/or The port identifier of the user network interface UI of the ONU of the optical network unit is mapped to the logical channel of the PON of the passive optical network, where the PON logical channel is a logical channel connecting the ONU and its corresponding OLT; the OLT includes: establishing a module and forwarding The module, the foregoing establishing module, is configured to establish a mapping relationship between the PON logical channel and the label protocol forwarding MPLS instance by using the logical UNI port; the forwarding module is configured to forward the service mapped to the PON logical channel by using the MPLS instance; The OLT is a central office device of the optical access system, and is an optical line terminal in the PON network, and the OLT is a DPoE system in the DPoE network. Preferably, the mapping module is configured to map the received service to the logical channel of the passive optical network PON through the Ethernet identifier and/or the port identifier of the optical network unit ONU in one of the following manners: The service, and the multiple services correspond to multiple Ethernet identifiers, and map multiple services corresponding to multiple Ethernet identifiers to one PON logical channel; the received service is multiple services, and multiple services correspond to one Ethernet The network identifier maps multiple services corresponding to one Ethernet identifier to one PON logical channel. Each service in the received service corresponds to the Ethernet identifier or the port identifier of the UNI of the ONU, and the Ethernet corresponding to each service. The port identifier of the UNI or the corresponding UNI of each service maps each service to its corresponding PON logical channel. Preferably, the first establishing module is configured to establish a mapping relationship between the Ethernet identifier corresponding to the service and the P0N logical channel and the mapping relationship between the Ethernet identifier corresponding to the service and the MPLS instance by using the logical UNI interface on the OLT. Preferably, the system further includes: a second establishing module, configured to establish a virtual connection between the UNI port of the ONU and the logical UNI port of the OLT to implement a mapping configuration of the ONU and the OLT, and the attributes of the VC include: The identity of the port, the identity of the logical II port of the 0LT, and the intermediate associated variable of the VC. With the present invention, the received service is mapped to the logical channel of the passive optical network P0N through the Ethernet identifier and/or the port identifier of the user network interface UNI of the optical network unit ONU, wherein the PON logical channel is connected to the ONU. And the corresponding logical channel between the OLT; the optical line terminal OLT establishes a mapping relationship between the PON logical channel and the label protocol to forward the MPLS instance through the logical UNI port; the OLT performs the service mapped to the PON logical channel through the MPLS instance. Forwarding, which solves the problem that the PON system ONU in the related art needs a large number of configurations in order to support multiple service models, and the configuration management process is relatively cumbersome, thereby achieving the effect of reducing the complexity and cost of the ONU. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of an E-LINE service type according to the related art; FIG. 2 is a schematic diagram of an E-LAN service type according to the related art; FIG. 3 is a schematic diagram of an E-TREE service type according to the related art; 4 is a schematic diagram of an end-to-end service model implemented by an MPLS method according to the related art; FIG. 5 is a schematic diagram of a topology structure of a DPoE system according to the related art; FIG. 6 is a flowchart of a service forwarding method according to an embodiment of the present invention; 7 is an ELINE: EPL per SF multiple LLID according to an embodiment of the present invention; FIG. 8 is an ELINE: EVPL service implementation map (per EVC per SF multiple LLID) according to an embodiment of the present invention; 9 is an ELAN: EP-LAN service implementation map (per EVC per SF multiple LLID) according to an embodiment of the present invention; FIG. 10 is an ELAN: EVP-LAN service implementation map (per EVC per SF multiple according to an embodiment of the present invention) LLID); FIG. 11 is an E-Tree: EP-Tree service implementation map (per EVC per SF multiple LLID) according to an embodiment of the present invention; FIG. 12 is an E-Tree: EVP-Tree service implementation according to an embodiment of the present invention; Mapping FIG. 13 is a schematic diagram of a service model after the OLT abstracts a logical UNI according to an embodiment of the present invention; FIG. 14 is a schematic diagram of an ELAN: EVP-LAN service implementation mapping according to an embodiment of the present invention ( Multiple EVC per SF per LLID); 15 is a structural block diagram of a service forwarding system according to an embodiment of the present invention; and FIG. 16 is a block diagram showing a preferred structure of a service forwarding system according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. This embodiment provides a service forwarding method. FIG. 6 is a flowchart of a service forwarding method according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps S602 to S606. Step S602: The ONU maps the received service to the logical channel of the passive optical network PON through the Ethernet identifier and/or the port identifier of the user network interface UNI of the optical network unit (ONU), where the PON logical channel is connected to the ONU. And the logical channel between its corresponding OLT. Step S604: The optical line terminal (OLT) establishes a mapping relationship between the PON logical channel and the label protocol to forward the MPLS instance by using the logical UNI port on the OLT. The OLT is the central office device of the optical access system, and the optical circuit is the optical line in the PON network. The terminal is a DPoE system in the DPoE network. Step S606: The OLT forwards the service mapped to the PON logical channel through the MPLS instance. Through the above method, the ONU maps the received service to the PON logical channel, and then the OLT forwards the service mapped to the PON logical channel through the MPLS by establishing a mapping relationship between the PON logical channel and the MPLS instance, and overcomes the related technology in the PON. In order to support multiple service models, the system ONU needs a large number of configurations, so that the configuration management process is relatively cumbersome, thereby achieving the effect of reducing the complexity and cost of the ONU. Preferably, the ONU maps the received service to the logical channel of the PON through the Ethernet identifier and/or the port identifier of the UNI of the ONU, including one of the following: the received service is multiple services, and multiple services and multiple services One-to-one correspondence of the Ethernet identifiers, mapping multiple services corresponding to multiple Ethernet identifiers to one PON logical channel; receiving the service as multiple services, and multiple services corresponding to one Ethernet identifier, corresponding to one Ethernet identifier The multiple services are mapped to a PON logical channel; each service in the received service corresponds to the Ethernet identifier or the port identifier of the UNI of the ONU, and the Ethernet identifier corresponding to each service or the UNI corresponding to each service The port identifier maps each service to its corresponding PON logical channel. With the preferred embodiment, the diversity of the ONU mapping the received traffic to the PON logical channel is achieved. Preferably, the OLT establishes a mapping relationship between the PON logical channel and the MPLS instance by using the logical UNI port on the OLT. The OLT establishes a mapping relationship between the Ethernet identifier and the PON logical channel corresponding to the service and the Ethernet corresponding to the service through the logical UNI interface on the OLT. The mapping between the network identifier and the MPLS instance. With the preferred embodiment, the mapping between the PON logical channel and the MPLS instance is implemented by establishing two mapping relationships. Preferably, a virtual connection VC is established between the UNI port of the ONU and the logical UNI port of the OLT to implement the mapping configuration of the ONU and the OLT. The attributes of the VC include: the identifier of the UNI port of the ONU, the identifier of the logical UNI port of the OLT, and The intermediate associated variable of VC. With the preferred embodiment, the VC is set up on the OLT and the ONU, and the corresponding configuration is implemented, which reduces the complexity of the mapping configuration on both sides of the ONU and the OLT. Preferably, the intermediate associated variables of the virtual connection include: an identity of the Ethernet identity and/or a logical channel of the PON. With the preferred embodiment, the use of existing parameters reduces the complexity of mapping between the ONU and the OLT. Preferably, the PON logical channel is a logical link identification path (LLID) in the EPON system, and the PON logical channel is a GPON-based encapsulation method port (GEM PORT) in the GPON system. With the preferred embodiment, the flexibility of the service forwarding method is achieved. Preferably, the identifier of the UNI port of the ONU includes: a physical attribute of the UNI port of the ONU and an Ethernet identifier, and physical attributes include: a media access control MAC address. With the preferred embodiment, the use of existing parameters reduces the complexity of mapping between the ONU and the OLT. Preferably, the identifier of the logical UNI port of the OLT includes: a physical attribute of the logical UNI port of the OLT and/or an Ethernet identifier, and the physical attributes include: a media access control MAC address. With the preferred embodiment, the use of existing parameters reduces the complexity of mapping between the ONU and the OLT. Preferably, the Ethernet identifier comprises: a virtual local area network VLAN or a VLAN + service type COS. Preferably, the logical UNI port is a reference point, and the reference point is located at a connection between the access function module and the aggregation function module on the OLT, and the convergence function module refers to a function module for implementing MPLS aggregation and forwarding. Preferably, the models of the service include: Ethernet-based line service (E_Line), Ethernet-based LAN service (E_LAN), and Ethernet-based tree service (E_TREE). Embodiment 1 This embodiment provides a service implementation method. The embodiment combines the foregoing embodiment and a preferred implementation manner thereof. The method includes the following steps: Step 1: Configure the logical UNI interface on the OLT and configure the service type. E-LINE, E-LAN, and E-TREEo Step 2: Establish a mapping relationship between the logical UNI interface of the OLT and the service bearer channel between the OLT and the ONU. Step 3: The ONU establishes a mapping relationship between the UNI interface on the user side and the UNI logical interface on the OLT. Preferably, the above logical UNI interface may use a VLAN or a MAC address as an identifier. a logic
UNI接口可以包括一个 VLAN或 MAC地址, 也可以包括多个 VLAN或多个 MAC地 址。 优选地, OLT/ONU之间的业务承载通道包括: GPON技术的 GEM PORT, EPON 技术的 LLID, 或者是 VLAN+LLID, VLAN+GEMPORT。 在本实施例中, 对于一种 E-LINE、 E-LAN或 E-TREE业务, 具体的映射方式如 下: 步骤 1 : CE与 ONU用户侧以太网端口相连,指定需要承载的以太网业务方式(端 口透传或端口 VLAN复用)。 步骤 2: OLT上配置 L2VPN实例(根据具体 E-Line/E-LAN/E-Tree业务类型配置, 具体参见后续的实施例), 配置三层接口及路由 (静态或动态路由), 启用 MPLS (如 LDP), 和上游设备协商 LSP, 与对端 PE协商 PW。 步骤 3: ONU用户侧以太网端口 U 和 OLT侧逻辑 UNI端口的连接通过抽象的 虚拟连接进行配置管理, 并做具体的映射, 步骤 3包括如下的步骤 3.1和步骤 3.2: 步骤 3.1 : ONU上针对要承载的业务, 配置本地业务处理, 完成端口 /端口 VLAN 到 ONU与 OLT之间业务承载通路 (VLAN, 禾口 /或 LLID, 禾口 /或 GEM Prot)之间的映 射。 步骤 3.2: OLT上配置 ONU与 OLT之间指定业务承载通路 (VLAN, LLID和 /或 GEM Prot) 到内部 VLAN通路(native vlan通路, 可以采用单层或双层 vlan tag标识) 的映射, 同时将内部 VLAN通路关联到指定的 MPLS L2VPN实例。 至此, 完成整个 抽象的虚拟连接的建立, 同时将该虚拟连接关联到对应的 L2VPN业务转发实例上。 步骤 4: 对端 PE完成相应的 L2VPN配置, 如果对端也是 PON系统, 则建立方式 同上述步骤 2-步骤 3过程。 需要说明的是, 通过以上步骤, 完成 CE之间的相应的以太网业务开通。 优选地, 上述步骤 3可以针对抽象的虚拟连接 (VC)进行配置, 该配置方式如下 步骤所示: 步骤 a: 指定 VC中 UNI端口的标识。 其中一个为 ONU的 UNI端口标识 (可以 为 VLAN或者 MAC地址), 一个为 OLT上的逻辑 UNI标识(可以通过 VLAN进行标 识)。分别对应上述步骤 3.1中的端口 /端口 VLAN以及步骤 3.2中的内部 VLAN通路。 步骤 b: 指定 VC中的中间关联属性, 可以为 VLAN, 也可以为 PON链路标识, 比如 LLID或者 GEMPORT。 需要说明的是, 步骤 b的完成, 在系统内部相当于完成步骤 3.1中把 ONU的端口 /端口 VLAN与 ONU和 OLT之间的业务承载通路的映射以及步骤 3.2中的 ONU和 OLT 之间的业务承载通路和内部 VLAN通路的映射。 步骤 c: 配置 VC标识和 L2VPN实例的关联关系。 在本实施例中, 通过以上三个步骤的配置, 在管理层面上更加简洁, 更加容易维 护, 不需要繁琐的对连接中的每个部分分别进行映射方面的配置。 本实施例, 对于抽象的虚拟连接 (VC) 进行配置时, 通过在 OLT用户侧配置逻 辑 UNI端口, 逻辑 U 接口和 ONU侧 U 端口之间形成虚拟连接, 在 OLT上创建 L2VPN实例, 建立和对端 PE的连接, 同时建立所述虚拟连接和 L2VPN的映射, 最 终实现端到端的业务连接。通过 OLT侧逻辑 I I端口和 ONU侧 UNI端口之间建立的 虚拟连接, 可以更高效的从整体的角度对整个系统层面的端到端业务连接进行配置管 理。 需要说明的是, 在整个端到端的业务通路实现过程中, 由 OLT作为 PE, 与对端 PE 通过静态配置或协议, 如多协议标签转换 (Multi-protocol Lable Switch, 简称为 MPLS) 标签分配协议(Label Distribution Protocol,简称为 LDP),建立 L2VPN。 ONU 和 OLT之间通过抽象的虚拟连接, 采用内部机制实现承载业务到 L2VPN实例之间的 数据通路。采用本发明的方法, 既可以实现 MEF定义的几种类型的端到端的以太网业 务, 也可以降低 ONU 的实现复杂度, 在一定程度上降低成本。 同时, 可以更有好的 对整个端到端的连接进行管理。 实施例二 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式, 图 7是根据本发明实施例的 ELINE: EPL业务实现映射图 (per EVC per SF multiple LLID), 如图 7所示, 本实施例描述了 EPL (Ethernet Private Line) 业务, 实 现 UNI1到 UNI2端口级点到点 (Point-to-Point, 简称为 P2P) 业务传输, 该方法包括 如下步骤: 步骤 1: 创建 UNI1和 OLT侧逻辑 UNI端口之间的虚拟连接 VC, 标识为 VC1, VC1两侧 UNI端口的标识分别为 UNI1的端口标识和 native vlanl。 VC1为 P2P类型。 步骤 2: 配置 VC1的中间关联属性为 tls vlanl , 对 EPON来说, 共享链路 LLID1。 步骤 3 : OLT上配置虚拟专线实例 (vlll )。 步骤 4: 配置 VC1和 vlll关联。 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW, 指定对端为 PE2, 并关联到 vlll。 步骤 7: 对端 PE完成相应的 L2VPN配置, 如果对端也是 PON系统, 则建立方式 参考上述步骤 1〜步骤 6。 需要说明的是, 图 7中 tls vlan可替换为 LLID或 GEM port。 需要说明的是,步骤 1和 2相当于配置 ONU上配置 UNI1到 tls vlanl的映射关系 以及在 OLT上配置 tls vlanl到 native vlanl的映射 (指定 tls vlanl到 native vlanl的转 换); 步骤 4相当于把 native vlanl和 vlll关联; 在本实施例中, 上述 PW学习建立后, 整个数据通路打通, 数据转发流程包括如 下步骤: 步骤 1 : ONU的 UNI1上接收到来自 CE (Customer Edge) 的数据流。 步骤 2: 根据映射关系, 承载到 ONU与 OLT之间的业务通路上, 添加 tls vlanl , 发往 OLT。 步骤 3 : OLT接收数据后, 根据配置的映射规则, 将 tls vlanl转换为 native vlanl (打 native vlanl tag) 后发送到 vll实例。 步骤 4: OLT上 vlll实例收到 native vlan l数据流, 取出净荷, 找到对应的 PW, 完成 PW/LSP封装后发往对端 PE2。 步骤 5: 数据流通过 LSP通路送到 PE2, PE2 收到分组后, 根据 PW标签解封装, 并找到对应的 vll实例, 去掉 PW/LSP封装后取出净荷, 发送到对应的 UNI端口。 需要说明的是, 本实施例以上行为例, 下行为上行流程的逆过程, 在此不再赘述。 实施例三 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式, 图 8是根据本发明实施例的 ELINE: EVPL业务实现映射图 (per EVC per SF multiple LLID), 如图 8所示, 本实施例描述了 EVPL (Ethernet Virtual Private Line) 业务, 实现 UNI1上 vlanl到 UNI3上的 P2P业务传输和 UNI1上 vlan2到 UNI4上的 P2P业务传输, 该方法包括如下步骤: 步骤 1: 创建 ONU上 UNI1和 OLT侧逻辑 UNI端口之间的两个 VC连接, 分别 为 VC1禾 P VC2。 VC1的两个 UM端口标识分别为 vlanl和 native vlanl, VC2的两个 UNI端口标识分别为 vlan2和 native vlan2。 VC1和 VC2为 P2P类型。 步骤 2: 配置 VC1和 VC2的中间关联属性分别为 pon vlanl和 pon vlan2, VC1和 VC2共享 LLID 1。 步骤 3 : OLT上配置虚拟专线实例 vlll和 vll2。 步骤 4: 配置 VC1和 vlll关联, 配置 VC2和 vll2关联。 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW1, 指定对端为 PE2, 并关联到 vlll。 OLT上配置 PW2, 指定对端为 PE3, 并关联到 vll2。 步骤 7: 对端 PE2和 PE3完成相应的 L2VPN配置, 如果对端也是 PON系统, 则 建立方式参考上述步骤 1〜步骤 6。 需要说明的是, 图 8中 tls vlan可替换为 LLID或 GEM port。 需要说明的是, 步骤 1和步骤 2相当于完成以下两个配置: The UNI interface can include one VLAN or MAC address, and can also include multiple VLANs or multiple MAC addresses. Preferably, the service bearer channel between the OLT/ONU includes: a GEM technology GEM PORT, an EPON technology LLID, or a VLAN+LLID, a VLAN+GEMPORT. In this embodiment, for an E-LINE, E-LAN, or E-TREE service, the specific mapping manner is as follows: Step 1: The CE is connected to the Ethernet port of the ONU user side, and specifies the Ethernet service mode to be carried. Port transparent transmission or port VLAN multiplexing). Step 2: Configure an L2VPN instance on the OLT (configure according to the specific E-Line/E-LAN/E-Tree service type. For details, refer to the following example), configure Layer 3 interfaces and routes (static or dynamic routing), and enable MPLS ( For example, LDP, negotiates an LSP with the upstream device, and negotiates the PW with the peer PE. Step 3: The connection between the Ethernet port U on the ONU user side and the logical UNI port on the OLT side is configured and managed through an abstract virtual connection, and the specific mapping is performed. Step 3 includes the following steps 3.1 and 3.2: Step 3.1: On the ONU The service to be carried, the local service processing is configured, and the mapping between the port/port VLAN to the service bearer path (VLAN, and/or LLID, and/or GEM Prot) between the ONU and the OLT is completed. Step 3.2: Configure the mapping between the specified service bearer path (VLAN, LLID, and/or GEM Prot) between the ONU and the OLT to the internal VLAN path (native vlan path, which can be single-layer or double-layer vlan tag). The internal VLAN path is associated with the specified MPLS L2VPN instance. At this point, the establishment of the entire abstract virtual connection is completed, and the virtual connection is associated with the corresponding L2VPN service forwarding instance. Step 4: The peer PE completes the corresponding L2VPN configuration. If the peer end is also a PON system, the establishment manner is the same as the above step 2-step 3. It should be noted that, through the above steps, the corresponding Ethernet service opening between the CEs is completed. Preferably, the foregoing step 3 can be configured for an abstract virtual connection (VC). The configuration is as follows: Step a: Specify the identifier of the UNI port in the VC. One of them is the UNI port identifier of the ONU (which can be a VLAN or a MAC address), and the other is a logical UNI identifier on the OLT (which can be identified by a VLAN). Corresponding to the port/port VLAN in step 3.1 above and the internal VLAN path in step 3.2. Step b: Specify the intermediate association attribute in the VC, which can be a VLAN or a PON link identifier, such as LLID or GEMPORT. It should be noted that the completion of step b is equivalent to completing the mapping between the port/port VLAN of the ONU and the service bearer path between the ONU and the OLT in step 3.1 and the service between the ONU and the OLT in step 3.2. Mapping of bearer paths and internal VLAN paths. Step c: Configure the association between the VC identifier and the L2VPN instance. In this embodiment, the configuration of the above three steps is simpler and easier to maintain on the management layer, and does not require complicated configuration of mapping each part of the connection. In this embodiment, when an abstract virtual connection (VC) is configured, a logical UNI port is configured on the OLT user side, a virtual connection is formed between the logical U interface and the U port on the ONU side, and an L2VPN instance is created on the OLT. The connection of the end PE, the mapping between the virtual connection and the L2VPN is established at the same time, and finally the end-to-end service connection is implemented. Through the virtual connection established between the logical II port on the OLT side and the UNI port on the ONU side, the end-to-end service connection of the entire system level can be configured and managed more efficiently from the overall perspective. It should be noted that, in the implementation of the entire end-to-end service path, the OLT acts as the PE, and the peer PE passes the static configuration or protocol, such as the Multi-Protocol Lable Switch (MPLS) label distribution protocol. (Label Distribution Protocol, LDP for short), establishes L2VPN. The ONU and the OLT use an internal virtual mechanism to implement the data path between the bearer service and the L2VPN instance. By adopting the method of the invention, several types of end-to-end Ethernet services defined by the MEF can be realized, and the implementation complexity of the ONU can be reduced, and the cost is reduced to some extent. At the same time, it is better to manage the entire end-to-end connection. Embodiment 2 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof. FIG. 7 is an ELINE: EPL service implementation map (per EVC per SF according to an embodiment of the present invention. Multiple LLID) As shown in FIG. 7, this embodiment describes an EPL (Ethernet Private Line) service, which implements UNI1 to UNI2 port-level point-to-point (P2P) service transmission, and the method includes the following Step 1: Create a virtual connection VC between the UNI1 and the logical UNI port on the OLT. The ID of the UNI port on both sides of the VC1 is the port ID of the UNI1 and native vlanl. VC1 is of the P2P type. Step 2: Configure the intermediate association attribute of VC1 as tls vlanl. For EPON, share the link LLID1. Step 3: Configure a virtual private line instance (vlll) on the OLT. Step 4: Configure VC1 and vlll associations. Step 5: Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs. Step 6: Configure the PW on the OLT, specify the peer as PE2, and associate it with vlll. Step 7: The peer PE completes the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG. 7 can be replaced by an LLID or a GEM port. It should be noted that steps 1 and 2 are equivalent to configuring the mapping relationship between UNI1 and tls vlanl on the ONU and mapping the tls vlanl to native vlanl on the OLT (specifying the conversion of tls vlanl to native vlanl); Step 4 is equivalent to The native vlan1 is associated with the vlll. In this embodiment, after the PW learning is established, the entire data path is opened, and the data forwarding process includes the following steps: Step 1: The UNI1 of the ONU receives the data flow from the CE (Customer Edge). Step 2: According to the mapping relationship, the TLs vlanl is added to the service path between the ONU and the OLT, and sent to the OLT. Step 3: After receiving the data, the OLT converts tls vlanl to native vlanl (native vlanl tag) according to the configured mapping rule and sends it to the vll instance. Step 4: The vlll instance on the OLT receives the native vlan l data stream, extracts the payload, finds the corresponding PW, and completes the PW/LSP encapsulation and sends it to the peer PE2. Step 5: The data stream is sent to the PE2 through the LSP. After receiving the packet, the PE2 decapsulates the PW label and finds the corresponding vll instance. After the PW/LSP is removed, the payload is removed and sent to the corresponding UNI port. It should be noted that, in the foregoing behavior examples in this embodiment, the reverse process of the uplink process is not described herein. Embodiment 3 This embodiment provides a service implementation method. This embodiment combines the above embodiments and preferred embodiments thereof. FIG. 8 is an ELINE: EVPL service implementation map (per EVC per SF according to an embodiment of the present invention). Multiple LLID), as shown in FIG. 8, this embodiment describes an EVPL (Ethernet Virtual Private Line) service, which implements P2P service transmission on vlan1 to UNI3 on UNI1 and P2P service transmission on vlan2 to UNI4 on UNI1, and the method includes The following steps are performed: Step 1: Create two VC connections between UNI1 on the ONU and the logical UNI port on the OLT, namely VC1 and P2. The two UM port identifiers of VC1 are vlanl and native vlanl, respectively. The two UNI port identifiers of VC2 are vlan2 and native vlan2. VC1 and VC2 are of the P2P type. Step 2: Configure the intermediate association attributes of VC1 and VC2 as pon vlanl and pon vlan2 respectively. VC1 and VC2 share LLID 1. Step 3: Configure virtual private line instances vlll and vll2 on the OLT. Step 4: Configure VC1 and vlll associations, and configure VC2 and vll2 associations. Step 5: Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs. Step 6: Configure PW1 on the OLT, specify the peer as PE2, and associate it with vlll. Configure PW2 on the OLT, specify the peer as PE3, and associate it with vll2. Step 7: The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG. 8 can be replaced by an LLID or a GEM port. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
( 1 ) ONU上配置 UNI1上 vlanl到 pon vlanl的映射关系(数据转发时, vlanl不 作为净荷, 被剥离); ONU上配置 UNI1上 vlan2到 pon vlan2的映射关系 (数据转发 时, vlan2不作为净荷, 被剥离)。 (1) The mapping between vlanl and pon vlanl on UNI1 is configured on the ONU. When data is forwarded, vlanl is not used as the payload and is stripped. The mapping between vlan2 and pon vlan2 on UNI1 is configured on the ONU. When data is forwarded, vlan2 is not used. The payload is stripped).
(2) OLT上配置 pon vlanl到 native vlanl的映射 (指定 pon vlanl到 native vlanl 的转换); OLT上配置 pon vlan2到 native vlan2的映射 (指定 pon vlan2到 native vlan2 的转换)。 步骤 4相当于该配置相当于在 OLT上配置 native vlanl关联到 vlll ; OLT上配置 native vlan2关联至 lj vll2。 在本实施例中, 数据流转发流程包括如下步骤: 步骤 1 : ONU的 UNI1上接收的数据流。 步骤 2: 如果数据分组携带 vlan tag为 vlanl , 根据映射关系, 剥离 vlanl后添加 pon vlanl , 发往 OLT。如果数据分组携带 vlan tag为 vlan2, 根据映射关系, 剥离 vlan2 后添加 pon vlan2, 发往 OLT。 步骤 3 : OLT接收到来自 ONU的 pon vlanl数据后,根据配置的映射规则,将 pon vlanl转换为 native vlanl (打 native vlanl tag) 后发送到 vlll实例; 收到来自 ONU的 pon vlan2数据后, 根据配置的映射规则, 将 pon vlan2转换为 native vlan2 (标记 native vlanl tag) 后发送到 vll2实例。 步骤 4: OLT上 vlll实例收到 native vlan 1数据流, 取出净荷, 找到对应的 PW1, 完成 PW/LSP封装后发往对端 PE2; OLT上 vll2实例收到 native vlan 2数据流, 取出 净荷, 找到对应的 PW2, 完成 PW/LSP封装后发往对端 PE3。 步骤 5: 数据流通过 LSP通路送到 PE2, PE2 收到分组后, 根据 PW标签解封装, 并找到对应的 vll实例, 去掉 PW/LSP封装后取出净荷, 发送到对应的 UNI端口。 需要说明的是, 本实施例以上行为例, 下行为上行流程的逆过程, 在此不再赘述。 实施例四 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式, 图 9是根据本发明实施例的 ELAN: EP-LAN业务实现映射图(per EVC per SF multiple LLID), 如图 9所示, 本实施例描述了 EP-LAN (Ethernet Private LAN)业务, 实现 UNI 1、 UNI2、 UNI3和 UNI4之间端口级多点到多点 ( MultiPoint-to-MultiPoint, 简称为 MP2MP) 业务传输, 该方法包括如下步骤: 步骤 1: 创建 ONU上 UNI1、 UNI2和 OLT侧逻辑 UNI端口之间的两个 VC连接, 分别为 VC1 禾 P VC2。 VCl 的两个 UNI端口标识分别为 UNI1 的端口标识和 native vlanl,VC2的两个 UNI端口标识分别为 UNI2的端口标识和 native vlan2。 VCl和 VC2 为 P2P类型 步骤 2: 配置 VC1和 VC2的中间关联属性分别为 tls vlanl和 tls vlan2。 VCl和(2) Configure the mapping of pon vlanl to native vlanl on the OLT (specify the conversion of pon vlanl to native vlanl); configure the mapping of pon vlan2 to native vlan2 on the OLT (specify the conversion of pon vlan2 to native vlan2). Step 4 is equivalent to configuring the native vlan1 association to vlll on the OLT; and configuring native vlan2 to lj vll2 on the OLT. In this embodiment, the data flow forwarding process includes the following steps: Step 1: The data stream received on the UNI1 of the ONU. Step 2: If the data packet carries the vlan tag as vlanl, according to the mapping relationship, the vlanl is stripped and pon vlanl is added and sent to the OLT. If the data packet carries the vlan tag as vlan2, according to the mapping relationship, after vlan2 is stripped, pon vlan2 is added and sent to the OLT. Step 3: After receiving the pon vlanl data from the ONU, the OLT converts the pon vlanl to the native vlanl (native vlanl tag) and sends it to the vlll instance according to the configured mapping rule. After receiving the pon vlan2 data from the ONU, according to the OLT, The configured mapping rule converts pon vlan2 to native vlan2 (marked native vlanl tag) and sends it to the vll2 instance. Step 4: The vlll instance on the OLT receives the native vlan 1 data stream, extracts the payload, finds the corresponding PW1, and sends the PW/LSP encapsulation to the peer PE2. The vll2 instance on the OLT receives the native vlan 2 data stream. After the PW/LSP is encapsulated, it is sent to the peer PE3. Step 5: The data stream is sent to the PE2 through the LSP. After receiving the packet, the PE2 decapsulates the PW label and finds the corresponding vll instance. After the PW/LSP is removed, the payload is removed and sent to the corresponding UNI port. It should be noted that, in the foregoing behavior examples in this embodiment, the reverse process of the uplink process is not described herein. Embodiment 4 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof. FIG. 9 is an ELAN: EP-LAN service implementation map (per EVC per SF multiple according to an embodiment of the present invention). LLID), as shown in FIG. 9, this embodiment describes an EP-LAN (Ethernet Private LAN) service, which implements a port-level multipoint-to-multipoint (UNIP, UNI2, UNI3, and UNI4). For the MP2MP service transmission, the method includes the following steps: Step 1: Create two VC connections between the UNI1, UNI2 and the logical UNI port of the OLT on the ONU, respectively VC1 and P2. The two UNI ports of VCl are the port ID of UNI1 and native vlanl. The two UNI port IDs of VC2 are the port ID of UNI2 and native vlan2. VCl and VC2 are P2P types. Step 2: Configure the intermediate association attributes of VC1 and VC2 as tls vlanl and tls vlan2, respectively. VCl and
VC2共享 LLID 1。 步骤 3: OLT上配置虚拟交换实例 vsil。 步骤 4: 配置 VC1和 VC2分别为 vsil关联。 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW1, 指定对端为 PE2, 并关联到 vsil。 OLT上配置 PW2, 指定对端为 PE3, 并关联到 vsil。 步骤 7: 对端 PE2、 PE3完成相应的 L2VPN配置, 如果对端也是 PON系统, 则 建立方式参考上述步骤 1〜步骤 6。 需要说明的是, 图 9中 tls vlan可替换为 LLID或 GEM port。 需要说明的是, 步骤 1和步骤 2相当于完成以下两个配置: VC2 shares LLID 1. Step 3: Configure the virtual switch instance vsil on the OLT. Step 4: Configure VC1 and VC2 to be vsil associations. Step 5: Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs. Step 6: Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil. Configure PW2 on the OLT, specify the peer as PE3, and associate it with vsil. Step 7: The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in Figure 9 can be replaced by LLID or GEM port. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
( 1 ) ONU上配置 UNI1到 tls vlanl的映射关系; ONU上配置 UNI2到 tls vlan2 的映射关系。 (1) The mapping between UNI1 and tls vlan1 is configured on the ONU. The mapping between UNI2 and tls vlan2 is configured on the ONU.
(2) OLT上配置 tls vlanl到 native vlanl的映射(指定 tls vlanl到 native vlanl的 转换); OLT上配置 tls vlan2到 native vlan2的映射(指定 tls vlan2到 native vlan2的转 换)。 步骤 4相当于完成以下配置: OLT上配置 native vlanl关联到 vsil ; OLT上配置 native vlan2关联至 lj vsil。 在本实施例中, 上述 PW学习建立后, 整个数据通路打通, 数据转发流程包括如 下步骤: 步骤 1 : ONU的 UNI1上接收的数据流。 步骤 2: 根据映射关系, 承载到 ONU与 OLT之间的业务通路上, 添加 tls vlanl , 发往 OLT。 步骤 3 : OLT接收数据后, 根据配置的映射规则, 将 tls vlanl转换为 native vlanl (打 native vlanl tag) 后发送到 vsil实例。 步骤 4: OLT上 vsil实例收到 native vlan 1数据流, 取出净荷, 根据目的 MAC查 找 vsi转发表, 如找到对应的出口 (如 PW1 ), 完成 PW/LSP封装后发往对端 PE2, 否 则进行 MAC地址学习, 并在 vsil内洪泛, 发送到 PW1、 PW2和 native vlan 2。 步骤 5: PW1数据流通过 LSP通路送到 PE2, PE2 收到分组后, 根据 PW标签解 封装, 并找到对应的 vsi实例, 去掉 PW/LSP封装后取出净荷, 根据 MAC进行转发, 发送到对应出口 (如 UNI3 )。 需要说明的是, 此处以一个 UNI端口为例, 其他 UNI端口收数据处理方式同上。 实施例五 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式, 图 10是根据本发明实施例的 ELAN: EVP-LAN业务实现映射图(per EVC per SF multiple LLID), 如图 10所示, 本实施例描述了 EVP-LAN (Ethernet Virtual Private LAN) 业务, 实现 UNIl上 vlanl到 UNI3上 vlanX和 UNI4上 vlanY的 MP2MP业务 传输以及 UNI1上 vlan2到 I I4上 vlanZ的 MP2MP业务传输,该方法包括如下步骤: 步骤 1: 创建 ONU上 UNI1和 OLT侧逻辑 UNI端口之间的两个 VC连接, 分别 为 VC1禾 P VC2。 VC1的两个 UM端口标识分别为 vlanl和 native vlanl, VC2的两个 UNI端口标识分别为 vlan2和 native vlan2。 VC 1禾 P VC2为 P2P类型。 步骤 2: 配置 VC1和 VC2的中间关联属性分别为 pon vlanl和 pon vlan2。 步骤 3 : OLT上配置虚拟专线实例 vsil和 vsi2; 步骤 4: 配置 VC1和 VC2分别和 vsil和 vsi2关联, VC1和 VC2共享 LLID1。 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW1, 指定对端为 PE2, 并关联到 vsil。 OLT上配置 PW2, 指定对端为 PE3, 并关联到 vsil。 OLT上配置 PW3, 指定对端为 PE3, 并关联到 vsi2。 步骤 7: 对端 PE2和 PE3完成相应的 L2VPN配置, 如果对端也是 PON系统, 则 建立方式同上述步骤 1〜步骤 6。 需要说明的是, 步骤 1和步骤 2相当于完成以下两个配置: (2) Configure the mapping of tls vlanl to native vlanl on the OLT (specify the conversion of tls vlanl to native vlanl); configure the mapping of tls vlan2 to native vlan2 on the OLT (specify the conversion of tls vlan2 to native vlan2). Step 4 is equivalent to completing the following configuration: Configuring native vlanl to associate to vsil on the OLT; configuring native vlan2 to lj vsil on the OLT. In this embodiment, after the PW learning is established, the entire data path is opened, and the data forwarding process includes the following steps: Step 1: The data stream received on the UNI1 of the ONU. Step 2: According to the mapping relationship, the TLs vlanl is added to the service path between the ONU and the OLT, and sent to the OLT. Step 3: After receiving the data, the OLT converts tls vlanl to native vlanl (native vlanl tag) according to the configured mapping rule and sends it to the vsil instance. Step 4: The vsil instance on the OLT receives the native vlan 1 data stream, extracts the payload, and searches the vsi forwarding table according to the destination MAC address. If the corresponding egress is obtained, such as PW1, the PW/LSP is encapsulated and sent to the peer PE2. Otherwise, MAC address learning is performed and flooded in vsil and sent to PW1, PW2, and native vlan 2. Step 5: The PW1 data stream is sent to the PE2 through the LSP. After receiving the packet, the PE2 decapsulates the PW label and finds the corresponding vsi instance. After the PW/LSP is encapsulated, the payload is removed and forwarded according to the MAC. Export (such as UNI3). The UNI port is used as an example here. The other UNI ports receive data in the same way as above. Embodiment 5 This embodiment provides a service implementation method. This embodiment combines the above embodiments and preferred embodiments thereof. FIG. 10 is an ELAN: EVP-LAN service implementation map (per EVC) according to an embodiment of the present invention. Per SF multiple LLID), as shown in FIG. 10, this embodiment describes an EVP-LAN (Ethernet Virtual Private LAN) service, which implements MP2MP service transmission from vlan1 to vlanX on UNI1 and vlanY on UNI4, and vlan2 to I on UNI1. The MP2MP service of the vlanZ is transmitted on the I4. The method includes the following steps: Step 1: Create two VC connections between the UNI1 on the ONU and the logical UNI port on the OLT side, respectively VC1 and P2. The two UM port identifiers of VC1 are vlanl and native vlanl, respectively. The two UNI port identifiers of VC2 are vlan2 and native vlan2. VC 1 and P VC2 are of the P2P type. Step 2: Configure the intermediate association attributes of VC1 and VC2 as pon vlanl and pon vlan2. Step 3: Configure virtual private line instances vsil and vsi2 on the OLT. Step 4: Configure VC1 and VC2 to be associated with vsil and vsi2 respectively. VC1 and VC2 share LLID1. Step 5: Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs. Step 6: Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil. Configure PW2 on the OLT, and specify the peer as PE3 and associate it with vsil. Configure PW3 on the OLT, specify the peer as PE3, and associate it with vsi2. Step 7: The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, the establishment manner is the same as steps 1 to 6 above. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
( 1 ) ONU上配置 UNI1上 vlanl到 pon vlanl的映射关系(数据转发时, vlanl不 作为净荷, 被剥离); ONU上配置 UNI1上 vlan2到 pon vlan2的映射关系 (数据转发 时, vlan2不作为净荷, 被剥离)。 (1) The mapping between vlanl and pon vlanl on UNI1 is configured on the ONU. When data is forwarded, vlanl is not used as the payload and is stripped. The mapping between vlan2 and pon vlan2 on UNI1 is configured on the ONU. When data is forwarded, vlan2 is not used. The payload is stripped).
(2) OLT上配置 pon vlanl到 native vlanl的映射 (指定 pon vlanl到 native vlanl 的转换); OLT上配置 pon vlan2到 native vlan2的映射 (指定 pon vlan2到 native vlan2 的转换)。 步骤 4相当于完成以下配置: OLT上配置 native vlanl关联到 vsil ; OLT上配置 native vlan2关联至 lj vsi2。 本实施例中, 数据流转发过程包括如下步骤: 步骤 1 : ONU的 UNI1上接收的数据流。 步骤 2: 如果数据分组携带 vlan tag为 vlanl , 根据映射关系, 剥离 vlanl后添加 pon vlanl, 发往 OLT。如果数据分组携带 vlan tag为 vlan2, 根据映射关系, 剥离 vlan2 后添加 pon vlan2, 发往 OLT。 需要说明的是, 步骤 2之后的数据流转发过程的后续过程同实施例四。 实施例六 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式,图 11是根据本发明实施例的 E-Tree: EP-Tree业务实现映射图(per EVC per SF multiple LLID), 如图 11所示, 本实施例描述了 EP-Tree (Ethernet Private Tree)业务, 实现 UNI 1、 UNI2和 UNI3之间端口级 root 多点业务传输, 其中 UNI3为 root, UNI1 , UNI2为 leaf, 该方法包括如下步骤: 步骤 1:创建 ONU上 UNI1和 UNI2和 OLT侧逻辑 UNI端口之间的两个 VC连接, 分别为 VC1和 VC2。 VCl的两个 UNI端口标识分别为 UNI1的端口标识(MAC地址) 禾口 native vlanl , VC2的两个 UNI端口标识分别为 UNI2的端口标识和 native vlan2。 VCl禾 P VC2为 P2P类型。 步骤 2: 配置 VC1和 VC2的中间关联属性分别为 tls vlanl和 tls vlan2。 步骤 3 : OLT上配置虚拟交换实例 vsil。 步骤 4: 配置 VCl和 VC2分别和 vsil关联, 并指定各个 VC的属性为 leaf。 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW1, 指定对端为 PE2, 并关联到 vsil , 指定属性 root。 步骤 7: 对端 PE2、 PE3完成相应的 L2VPN配置, 如果对端也是 PON系统, 则 建立方式参考上述步骤 1〜步骤 6。 需要说明的是, 图 11中 tls vlan可替换为 LLID或 GEM port。 需要说明的是, 步骤 1和步骤 2相当于完成以下两个配置: (2) Configure the mapping of pon vlanl to native vlanl on the OLT (specify the conversion of pon vlanl to native vlanl); configure the mapping of pon vlan2 to native vlan2 on the OLT (specify the conversion of pon vlan2 to native vlan2). Step 4 is equivalent to completing the following configuration: Configure native vlanl to associate to vsil on the OLT; configure native vlan2 to lj vsi2 on the OLT. In this embodiment, the data stream forwarding process includes the following steps: Step 1: The data stream received on the UNI1 of the ONU. Step 2: If the data packet carries the vlan tag as vlanl, according to the mapping relationship, the vlanl is stripped and pon vlanl is added and sent to the OLT. If the data packet carries the vlan tag as vlan2, according to the mapping relationship, after vlan2 is stripped, pon vlan2 is added and sent to the OLT. It should be noted that the subsequent process of the data stream forwarding process after step 2 is the same as that in the fourth embodiment. Embodiment 6 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof. FIG. 11 is an E-Tree: EP-Tree service implementation map according to an embodiment of the present invention. Per EVC per SF multiple LLID), as shown in FIG. 11, this embodiment describes an EP-Tree (Ethernet Private Tree) service. The port-level root multi-point service transmission between UNI 1, UNI2, and UNI3 is implemented. UNI3 is root, UNI1, and UNI2 are leaves. The method includes the following steps: Step 1: Create UNI1 and UNI2 on the ONU and logical UNI port on the OLT side. Two VC connections between, respectively, VC1 and VC2. The two UNI port identifiers of VCl are the port identifier (MAC address) of UNI1 and the native vlanl. The two UNI port identifiers of VC2 are the port identifier of UNI2 and native vlan2. VCl and P VC2 are of the P2P type. Step 2: Configure the intermediate association attributes of VC1 and VC2 as tls vlanl and tls vlan2 respectively. Step 3: Configure the virtual switch instance vsil on the OLT. Step 4: Configure VCl and VC2 to be associated with vsil respectively, and specify the attributes of each VC as leaf. Step 5: Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs. Step 6: Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil. Specify the attribute root. Step 7: The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG. 11 can be replaced by an LLID or a GEM port. It should be noted that Steps 1 and 2 are equivalent to completing the following two configurations:
( 1 ): ONU上配置 UNI1到 tls vlanl的映射关系; ONU上配置 UNI2到 tls vlan2 的映射关系。 (1): The mapping between UNI1 and tls vlan1 is configured on the ONU. The mapping between UNI2 and tls vlan2 is configured on the ONU.
(2): OLT上配置 tls vlanl到 native vlanl的映射 (指定 tls vlanl到 native vlanl 的转换); OLT上配置 tls vlan2到 native vlan2的映射(指定 tls vlan2到 native vlan2的 转换) 步骤 4相当于完成以下配置: OLT上配置 native vlanl关联到 vsil ,指定属性 leaf; OLT上配置 native vlan2关联到 vsil, 指定属性 leaf。 在本实施例中, PW学习建立后, 整个数据通路打通, 数据转发流程除 vsi内 leaf 电路之间不能转发数据外, 其他过程同实施例四。 需要说明的是, 本实施例的实施方案同样适用于 UNI1 作 root的场景。 实施例七 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式, 图 12是根据本发明实施例的 E-Tree: EVP-Tree业务实现映射图(per EVC per SF multiple LLID), 如图 12所示, 本实施例描述了 EVP-Tree (Ethernet Virtual Private Tree)业务, 实现 UNIl上 vlanl、 vlan2到 UNI3上 vlanX的 rooted 多点业务传输, 其 中 UNI3上 vlanX为 root, 该方法包括如下步骤: 步骤 1: 创建 ONU上 UNI1和 OLT侧逻辑 UNI端口之间的两个 VC连接, 分别 为 VC1禾 P VC2。 VC1的两个 UM端口标识分别为 vlanl和 native vlanl,VC2的两个 UNI端口标识分别为 vlan2和 native vlan2。 VC1和 VC2为 P2P类型。 步骤 2: 配置 VC1和 VC2的中间关联属性分别为 pon vlanl和 pon vlan2。 步骤 3 : OLT上配置虚拟专线实例 vsil 步骤 4: 配置 VC1和 VC2分别和 vsil关联, 并指定 VC1和 VC2属性为 leaf.VCl 禾口 VC2共享 I ID1 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW1, 指定对端为 PE2, 并关联到 vsil。 步骤 7: 对端 PE2完成相应的 L2VPN配置, 如果对端也是 PON系统, 则建立方 式参考上述步骤 1〜步骤 6。 需要说明的是, 图 12中 tls vlan可替换为 LLID或 GEM port。 需要说明的是, 步骤 1和步骤 2相当于完成以下配置: (2): Configure the mapping of tls vlanl to native vlanl on the OLT (specify the conversion of tls vlanl to native vlanl); configure the mapping of tls vlan2 to native vlan2 on the OLT (specify the conversion of tls vlan2 to native vlan2) Step 4 is equivalent to completion The following configuration: On the OLT, configure native vlanl to associate with vsil and specify the attribute leaf. On the OLT, configure native vlan2 to associate with vsil and specify the attribute leaf. In this embodiment, after the PW learning is established, the entire data path is opened, and the data forwarding process is the same as the fourth embodiment except that the data cannot be forwarded between the leaf circuits in the vsi. It should be noted that the embodiment of this embodiment is also applicable to the scenario where UNI1 is root. Embodiment 7 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof. FIG. 12 is an E-Tree: EVP-Tree service implementation map according to an embodiment of the present invention. Per EVC per SF multiple LLID), as shown in FIG. 12, this embodiment describes an EVP-Tree (Ethernet Virtual Private Tree) service, which implements rooted multi-point service transmission of vlanX on vlanl, vlan2 to UNI3 on UNIL, where UNI3 is used. The vlanX is root. The method includes the following steps: Step 1: Create two VC connections between the UNI1 on the ONU and the logical UNI port on the OLT, namely VC1 and P2. The two UM port identifiers of VC1 are vlanl and native vlanl, respectively. The two UNI port identifiers of VC2 are vlan2 and native vlan2. VC1 and VC2 are of the P2P type. Step 2: Configure the intermediate association attributes of VC1 and VC2 as pon vlanl and pon vlan2. Step 3: Configure the virtual private line instance vsil on the OLT. Step 4: Configure VC1 and VC2 to be associated with vsil respectively. Specify VC1 and VC2 attributes as leaf.VCl and VC2 share I ID1. Step 5: Configure Layer 3 interfaces and routes on the OLT. Dynamic or static routing), enable label distribution protocol learning and establish LSPs. Step 6: Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil. Step 7: The peer PE2 completes the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the tls vlan in FIG. 12 can be replaced by an LLID or a GEM port. It should be noted that Steps 1 and 2 are equivalent to completing the following configurations:
( 1 ) ONU上配置 UNI1上 vlanl到 pon vlanl的映射关系(数据转发时, vlanl不 作为净荷, 被剥离); ONU上配置 UNI1上 vlan2到 pon vlan2的映射关系 (数据转发 时, vlan2不作为净荷, 被剥离)。 (1) The mapping between vlanl and pon vlanl on UNI1 is configured on the ONU. When data is forwarded, vlanl is not used as the payload and is stripped. The mapping between vlan2 and pon vlan2 on UNI1 is configured on the ONU. When data is forwarded, vlan2 is not used. The payload is stripped).
(2) OLT上配置 pon vlanl到 native vlanl的映射 (指定 pon vlanl到 native vlanl 的转换); OLT上配置 pon vlan2到 native vlan2的映射 (指定 pon vlan2到 native vlan2 的转换)。 步骤 4相当于完成以下配置: OLT上配置 native vlanl关联到 vsil,指定属性 leaf。 OLT上配置 native vlan2关联到 vsil, 指定属性 leaf。 在本实施例中, PW学习建立后, 整个数据通路打通。 数据转发流程除 vsi内 leaf 电路之间不能转发数据外, 其他过程同实施例五。 需要说明的是,本实施例中的实施方案同样适用于 UNI1 vlanl或 vlan2 作 root的 场景。 在上述实施例二至实施例六中, 均适用于 native vlan为双 tag的情况; 上述实施例二至实施例六的实施例的步骤中的 ONU与 OLT之间的业务通路可以 使用 EPON llid (Hid)或 GPON gem port (gem port)区分, 此时, 相关 tls vlan/pon vlan 替换为 Hid或 gem port即可。 或者通过 VLAN+LLID/VLAN+GEMPORT来区分。 实施例八 本实施例提供了一种业务实现方法, 本实施例结合了上述实施例及其中的优选实 施方式, 图 14 是根据本发明实施例的 ELAN: EVP-LAN 业务实现映射的示意图 (multiple EVC per SF per LLID), 如图 14所示, 本实施例描述了 EVP-LAN (Ethernet Virtual Private LAN) 业务, 实现 UNI1上 vlanl到 UNI3上 vlanX和 UNI4上 vlanY的 MP2MP业务传输以及 UNI1上 vlan2到 I I4上 vlanZ的 MP2MP业务传输以及 UNI2 的 vlan v3到 UNI4的 vlanZ的 MP2MP业务传输(多个 EVC对应一个业务流, 一个业 务流对应一个 LLID (对 EPON而言) 的实施方式), 该方法包括如下步骤: 步骤 1: 创建 ONU上 UNI1和 OLT侧逻辑 UNI端口之间的三个 VC连接, 分别 为 VC1和 VC2以及 VC3。 VC1的两个 UM端口标识分别为 vlanl和 native vlanl, VC2 的两个 UNI端口标识分别为 vlan2和 native vlan2, VC3的两个 UNI端口标识分别为 vlan3和 native vlan2.VCl和 VC2和 VC3均为 P2P类型。 步骤 2:配置 VC1和 VC2以及 VC3的中间关联属性分别为 pon vlanl和 pon vlan2。 VC1通过 LLID1进行业务传输, VC2和 VC3通过 LLID2进行业务传输。 其中 vlan2, vlan3以及 pon vlan2, native vlan2的取值相同。 需要说明的是, 通过步骤 1和 2的配置, 相当于把来自于 UNI口的相同业务(通 过相同 vlan进行识别)进入到相同的 SF进行处理,然后通过 PON链路通道进行承载。 步骤 3 : OLT上配置虚拟专线实例 vsil和 vsi2。 步骤 4: 配置 VC1 和 vsil关联, VC2禾 P VC3禾 P vsi2关联 步骤 5: OLT上配置三层接口及路由 (动态或静态路由), 启用标签分发协议学习 和建立 LSP。 步骤 6: OLT上配置 PW1, 指定对端为 PE2, 并关联到 vsil。 OLT上配置 PW2, 指定对端为 PE3, 并关联到 vsil。 OLT上配置 PW3, 指定对端为 PE3, 并关联到 vsi2。 步骤 7: 对端 PE2和 PE3完成相应的 L2VPN配置, 如果对端也是 PON系统, 则 建立方式参考上述步骤 1〜步骤 6。 需要说明的是, 上述方式同样适用于图 5所示的 DPoE网络。 在 DPoE网络中, 上述实施例中所示的 OLT可以为 DPOE System, 也可以为 DPoE System中的 OLT。 需要说明的是, 实施例二至七中, 对应的 ONU侧不进行汇聚, 一个来自 ONU侧 的业务 (EVC) 对应一个业务流 (SF: service flow), 多个业务流对应一个 PON链路 标识, 比如 LLID (通过 VL AN来区分)。 对应的, 在实施例中 ONU UNI端口和 OLT 逻辑 UNI之间的虚拟连接的中间变量如果为 VLAN时,则该中间变量可以不等于 ONU UNI的 VLAN标识, 或者等于 ONU UNI的 VLAN标识。 在实施例八中, 来自 ONU侧 UNI端口的多个业务 (EVC)可以汇聚到一个业务 流 (Service Flow, 简称为 SF), 一个 Service Flow则对应一个 PON链路标识, 比如 LLIDo 本实施例提供了一种业务转发系统,用以实现上述的业务转发方法, 图 15是根据 本发明实施例的业务转发系统的结构框图,该系统包括: OLT 2和 ONU 4,其中, OLT2 包括: 建立模块 22和转发模块 24, ONU 4包括: 映射模块 42, 下面对上述结构进行 详细描述: (2) Configure the mapping of pon vlanl to native vlanl on the OLT (specify the conversion of pon vlanl to native vlanl); configure the mapping of pon vlan2 to native vlan2 on the OLT (specify the conversion of pon vlan2 to native vlan2). Step 4 is equivalent to completing the following configuration: Configure native vlanl to associate to vsil on the OLT, and specify the attribute leaf. On the OLT, configure native vlan2 to associate with vsil and specify the attribute leaf. In this embodiment, after the PW learning is established, the entire data path is opened. The data forwarding process is the same as the fifth embodiment except that the data cannot be forwarded between the leaf circuits in the vsi. It should be noted that the implementation in this embodiment is also applicable to the scenario where UNI1 vlanl or vlan2 is root. In the foregoing Embodiment 2 to Embodiment 6, the case where the native vlan is a double tag is applicable; the service path between the ONU and the OLT in the steps of the foregoing Embodiments 2 to 6 can use the EPON llid ( Hid) or GPON gem port (gem port) is distinguished. In this case, replace the relevant tls vlan/pon vlan with the Hid or gem port. Or differentiate by VLAN+LLID/VLAN+GEMPORT. Embodiment 8 This embodiment provides a service implementation method. This embodiment combines the foregoing embodiments and preferred embodiments thereof. FIG. 14 is a schematic diagram of an ELAN: EVP-LAN service implementation mapping according to an embodiment of the present invention. EVC per SF per LLID), as shown in FIG. 14, this embodiment describes an EVP-LAN (Ethernet Virtual Private LAN) service, which implements MP2MP service transmission from vlan1 to vlanX on UNI1 and vlanY on UNI4 and vlan2 on UNI1. MP2MP service transmission of vlanZ on I I4 and MP2MP service transmission of vlanZ of UNI2 to vlanZ of UNI4 (multiple EVCs correspond to one service flow, and one service flow corresponds to one LLID (for EPON)), the method includes The following steps are performed: Step 1: Create three VC connections between UNI1 on the ONU and the logical UNI port on the OLT, namely VC1 and VC2 and VC3. The two UM port identifiers of VC1 are vlanl and native vlanl. The two UNI port identifiers of VC2 are vlan2 and native vlan2 respectively. The two UNI port identifiers of VC3 are vlan3 and native vlan2.VCl and VC2 and VC3 are both P2P. Types of. Step 2: Configure the intermediate association attributes of VC1 and VC2 and VC3 as pon vlanl and pon vlan2 respectively. VC1 performs service transmission through LLID1, and VC2 and VC3 perform service transmission through LLID2. The values of vlan2, vlan3, and pon vlan2, native vlan2 are the same. It should be noted that, by the configuration of steps 1 and 2, the same service from the UNI port (identified by the same vlan) is entered into the same SF for processing, and then carried by the PON link channel. Step 3: Configure virtual private line instances vsil and vsi2 on the OLT. Step 4: Configure VC1 and vsil association, VC2, P, VC, and P vsi2. Step 5: Configure Layer 3 interfaces and routes (dynamic or static routes) on the OLT, enable label distribution protocol learning, and establish LSPs. Step 6: Configure PW1 on the OLT, specify the peer as PE2, and associate it with vsil. Configure PW2 on the OLT, and specify the peer as PE3 and associate it with vsil. Configure PW3 on the OLT, specify the peer as PE3, and associate it with vsi2. Step 7: The peer PE2 and PE3 complete the corresponding L2VPN configuration. If the peer end is also a PON system, refer to steps 1 to 6 above for the establishment mode. It should be noted that the above method is also applicable to the DPoE network shown in FIG. 5. In the DPoE network, the OLT shown in the foregoing embodiment may be a DPOE System or an OLT in the DPoE System. It should be noted that, in the second to seventh embodiments, the corresponding ONU side does not perform aggregation, and one service (EVC) from the ONU side corresponds to one service flow (SF: service flow), and multiple service flows correspond to one PON link identifier. , such as LLID (differentiated by VL AN). Correspondingly, in the embodiment, if the intermediate variable of the virtual connection between the ONU UNI port and the OLT logical UNI is a VLAN, the intermediate variable may not be equal to the VLAN identifier of the ONU UNI or equal to the VLAN identifier of the ONU UNI. In the eighth embodiment, multiple services (EVCs) from the ONU side UNI port can be aggregated into one service flow (Service Flow, SF for short), and one Service Flow corresponds to one PON link identifier, such as LLIDo. A service forwarding system is used to implement the foregoing service forwarding method. FIG. 15 is a structural block diagram of a service forwarding system according to an embodiment of the present invention. The system includes: an OLT 2 and an ONU 4, wherein the OLT 2 includes: an establishing module 22 And the forwarding module 24, the ONU 4 includes: a mapping module 42, which is described in detail below:
ONU 4包括: 映射模块 42, 设置为将接收到的业务通过以太网标识和 /或 ONU的 UNI的端口标识映射到 PON的逻辑通道上, 其中, PON逻辑通道为连接 ONU及其对 应的 OLT之间的逻辑通道。 OLT 2包括: 第一建立模块 22, 设置为通过其上的逻辑 UNI端口建立 PON逻辑 通道和标签协议转发 MPLS实例的映射关系; 转发模块 24, 连接至映射模块 42, 设 置为将映射模块 42映射到 PON逻辑通道上的业务通过 MPLS实例进行转发; 其中, OLT为光接入系统的局端设备,在 PON网络中为光线路终端,在 DPoE网络中为 DPoE 系统。 优选地,映射模块 42设置为通过以下方式之一将接收到的业务通过以太网标识和 /或 ONU的端口标识映射到 PON的逻辑通道上: 接收到的业务为多个业务, 且多个业 务与多个以太网标识一一对应,将多个以太网标识对应的多个业务映射到一个 P0N逻 辑通道; 接收到的业务为多个业务, 且多个业务对应一个以太网标识, 将一个以太网 标识对应的多个业务映射到一个 P0N逻辑通道;接收到的业务中的每一个业务分别对 应一个以太网标识或 0NU的 UNI的端口标识, 通过每一个业务对应的一个以太网标 识或每一个业务对应的 UNI的端口标识将每一个业务映射到其对应的 P0N逻辑通道。 优选地, 建立模块设置为通过其所在 0LT上的逻辑 UNI接口建立业务对应的以 太网标识和 P0N逻辑通道的映射关系及业务对应的以太网标识和 MPLS实例的映射 关系。 图 16是根据本发明实施例的业务转发系统的优选的结构框图, 如图 16所示, 上 述系统还包括: 配置模块 162, 下面对上述结构进行详细描述: 系统还包括: 配置模块 162, 设置为在 ONU的 UNI端口和 OLT的逻辑 I I端口 之间建立虚拟连接 VC用于实现 ONU和 OLT的映射配置, VC的属性包括: ONU的 UNI端口的标识、 OLT的逻辑 UNI端口的标识和 VC的中间关联变量。 通过上述实施例, 提供了一种业务转发方法及系统, 通过 ONU将接收到的业务 映射到 PON逻辑通道上,然后 OLT通过建立 PON逻辑通道和 MPLS实例的映射关系 将映射到 PON逻辑通道上的业务通过 MPLS进行转发, 克服了相关技术中 PON系统 ONU为了支持多种业务模型,需要大量的配置,从而配置管理过程也相对繁琐的问题, 进而达到了减低 ONU的复杂度和成本的效果。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而可以将 它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限 制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 The ONU 4 includes: a mapping module 42 configured to map the received service to the logical channel of the PON through the Ethernet identifier and/or the UNI port identifier of the ONU, where the PON logical channel is connected to the ONU and its corresponding OLT. Logic channel between. The OLT 2 includes: a first establishing module 22, configured to establish a mapping relationship between the PON logical channel and the label protocol forwarding MPLS instance by using the logical UNI port thereon; the forwarding module 24 is connected to the mapping module 42 and configured to map the mapping module 42 The service to the PON logical channel is forwarded by the MPLS instance. The OLT is the central office device of the optical access system, the optical line terminal in the PON network, and the DPoE system in the DPoE network. Preferably, the mapping module 42 is configured to map the received service to the logical channel of the PON through the Ethernet identifier and/or the port identifier of the ONU in one of the following ways: the received service is multiple services, and multiple services One-to-one correspondence with multiple Ethernet identifiers, mapping multiple services corresponding to multiple Ethernet identifiers to one P0N logical channel; receiving the service as multiple services, and multiple services corresponding to one Ethernet identifier, one Ethernet Each service corresponding to the network identifier is mapped to a P0N logical channel; each service in the received service corresponds to an Ethernet identifier or a port identifier of the NU of the ONU, and an Ethernet identifier corresponding to each service or each The port identifier of the UNI corresponding to the service maps each service to its corresponding PON logical channel. Preferably, the establishing module is configured to establish a mapping relationship between the Ethernet identifier corresponding to the service and the P0N logical channel and the mapping relationship between the Ethernet identifier corresponding to the service and the MPLS instance by using the logical UNI interface on the OLT. FIG. 16 is a block diagram of a preferred structure of a service forwarding system according to an embodiment of the present invention. As shown in FIG. 16, the system further includes: a configuration module 162. The foregoing structure is described in detail. The system further includes: a configuration module 162. Set up to establish a virtual connection between the UNI port of the ONU and the logical II port of the OLT. The VC is used to implement the mapping between the ONU and the OLT. The attributes of the VC include: the identifier of the UNI port of the ONU, the identifier of the logical UNI port of the OLT, and the VC. Intermediate associated variable. The foregoing embodiment provides a service forwarding method and system, and the ONU maps the received service to the PON logical channel, and then the OLT maps the mapping between the PON logical channel and the MPLS instance to the PON logical channel. The service is forwarded through MPLS, which overcomes the problem that the PON system ONU needs a large number of configurations in order to support multiple service models, and the configuration management process is relatively cumbersome, thereby achieving the effect of reducing the complexity and cost of the ONU. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose 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 so 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 Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred 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 scope of the present invention are intended to be included within the scope of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110074550.4A CN102695103B (en) | 2011-03-25 | 2011-03-25 | Business retransmission method and system |
| CN201110074550.4 | 2011-03-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012130109A1 true WO2012130109A1 (en) | 2012-10-04 |
Family
ID=46860358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/072977 Ceased WO2012130109A1 (en) | 2011-03-25 | 2012-03-23 | Service forwarding method and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102695103B (en) |
| WO (1) | WO2012130109A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108616402A (en) * | 2018-05-09 | 2018-10-02 | 烽火通信科技股份有限公司 | A kind of management method and system of remote equipment |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104065550A (en) * | 2013-03-19 | 2014-09-24 | 中兴通讯股份有限公司 | Method for mapping between optical interface logic link and copper cable interface and device thereof |
| EP4266632B1 (en) | 2013-09-13 | 2025-11-05 | Huawei Technologies Co., Ltd. | Data transmission method and apparatus |
| CN105591956B (en) * | 2015-11-04 | 2019-03-15 | 新华三技术有限公司 | Flow control methods and equipment based on User-Network Interface UNI |
| CN107135154B (en) * | 2017-05-26 | 2019-08-06 | 烽火通信科技股份有限公司 | POTN service forwarding system and service forwarding, configuration delivery, and protection methods |
| CN108260032B (en) * | 2018-01-11 | 2020-10-30 | 无锡雷华网络技术有限公司 | Method for realizing service virtual port in GPON-OLT system |
| CN109561361B (en) * | 2019-01-07 | 2021-09-07 | 烽火通信科技股份有限公司 | Optical line terminal and service port mapping method |
| CN111683307B (en) * | 2020-05-22 | 2022-05-20 | 烽火通信科技股份有限公司 | Method and system for accessing service under OLT (optical line terminal) multi-stage exchange |
| CN114339494B (en) * | 2022-01-05 | 2023-05-26 | 烽火通信科技股份有限公司 | Method and device for accessing Vlan aggregation service into MPLS in PON |
| CN117675095A (en) * | 2022-08-25 | 2024-03-08 | 中兴通讯股份有限公司 | Communication methods and systems, electronic devices, computer-readable media |
| CN119299279B (en) * | 2024-10-11 | 2025-11-18 | 中国移动通信集团海南有限公司 | Methods, devices, electronic equipment, media, and products for suspending and resuming network management services |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080198857A1 (en) * | 2005-09-05 | 2008-08-21 | Chan Kim | EPON bridge apparatus and method for forwarding thereof |
| CN101729372A (en) * | 2008-10-29 | 2010-06-09 | 华为技术有限公司 | Method and system for transmission of message in optical communication system and optical line terminal |
| CN101729384A (en) * | 2008-10-15 | 2010-06-09 | 华为技术有限公司 | Method, device and system for switching label |
-
2011
- 2011-03-25 CN CN201110074550.4A patent/CN102695103B/en active Active
-
2012
- 2012-03-23 WO PCT/CN2012/072977 patent/WO2012130109A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080198857A1 (en) * | 2005-09-05 | 2008-08-21 | Chan Kim | EPON bridge apparatus and method for forwarding thereof |
| CN101729384A (en) * | 2008-10-15 | 2010-06-09 | 华为技术有限公司 | Method, device and system for switching label |
| CN101729372A (en) * | 2008-10-29 | 2010-06-09 | 华为技术有限公司 | Method and system for transmission of message in optical communication system and optical line terminal |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108616402A (en) * | 2018-05-09 | 2018-10-02 | 烽火通信科技股份有限公司 | A kind of management method and system of remote equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102695103A (en) | 2012-09-26 |
| CN102695103B (en) | 2016-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2012130109A1 (en) | Service forwarding method and system | |
| ES2780933T3 (en) | An optical network terminal, a message processing method and corresponding system | |
| CN101729372B (en) | Method and system for transmission of message in optical communication system and optical line terminal | |
| CN108989915B (en) | Method and system for O L T slicing of access network based on ONU granularity | |
| CN101005445B (en) | Method for mapping service flow to service transmission channel and optical network terminal | |
| CN101317377B (en) | Device, method and system for configuring Ethernet service in passive optical network | |
| CN101867523B (en) | PON system middle width strip business collocation method and device | |
| ES2454965T3 (en) | A method to associate the service flow to the service transmission channel, its system and its optical network terminator | |
| US7873039B2 (en) | Enhanced optical line terminal controller | |
| CN108809672B (en) | Method and device for managing virtual ports | |
| CN102714614B (en) | Method for transmitting data in passive optical network, user-side equipment, and system | |
| US8467683B2 (en) | Mapping method, apparatus, and system for data transmission | |
| CN108260032B (en) | Method for realizing service virtual port in GPON-OLT system | |
| CN105991318B (en) | A configuration data distribution method and device | |
| CN109257266B (en) | Method for expanding PON local area network group based on VXLAN technology | |
| WO2013000297A1 (en) | Method and system for configuring virtual local area network mode | |
| CN102148748B (en) | Pseudowire routing diffusion method, system and sink node equipment | |
| US8184640B2 (en) | Compact virtual local area network mapper for the gigabit-passive optical network optical network management and control interface | |
| WO2011066772A1 (en) | Method and apparatus for configuring passive optical network service | |
| CN100586077C (en) | Method of Realizing In-band Management in Ethernet Passive Optical Network | |
| WO2007079665A1 (en) | Method and apparatus for supporting vlan stacking in optical network | |
| Zheng et al. | H-mpls: A lightweight nfv-based mpls solution in access network | |
| CN101453669A (en) | Device, method and management entity for configuring Ethernet service in passive optical network | |
| CN105591767A (en) | SVLAN allocation method, SVLAN allocation device, Ethernet service establishment method and Ethernet service establishment system | |
| CN114339494A (en) | Method and device for accessing VLAN aggregation service to MPLS in PON |
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: 12763336 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: 12763336 Country of ref document: EP Kind code of ref document: A1 |