WO2010130210A1 - 无源光网络中的报文传输方法、装置和系统 - Google Patents

无源光网络中的报文传输方法、装置和系统 Download PDF

Info

Publication number
WO2010130210A1
WO2010130210A1 PCT/CN2010/072708 CN2010072708W WO2010130210A1 WO 2010130210 A1 WO2010130210 A1 WO 2010130210A1 CN 2010072708 W CN2010072708 W CN 2010072708W WO 2010130210 A1 WO2010130210 A1 WO 2010130210A1
Authority
WO
WIPO (PCT)
Prior art keywords
port information
port
packet
standby
uplink packet
Prior art date
Application number
PCT/CN2010/072708
Other languages
English (en)
French (fr)
Inventor
郑若滨
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010130210A1 publication Critical patent/WO2010130210A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/62Wavelength based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Definitions

  • the P0N is a point-to-multipoint optical access technology.
  • the P0N is mainly composed of an OLT (Optical Line Termination), an optical splitter, an Optical Network Unit (Optical Network Unit), an Optical Network Terminal (Optical Network Terminal), and an optical fiber connected to the device.
  • OLT Optical Line Termination
  • Optical Network Unit Optical Network Unit
  • Optical Network Terminal Optical Network Terminal
  • the 0LT acts as a central office device, connected to an optical splitter or Extender Box (EB) via a trunk fiber, and the optical splitter or extender is connected to each 0 through a separate branch fiber.
  • the optical splitter/extender is connected to the 0LT as the main fiber, and the optical splitter/extender is connected to the branch fiber.
  • the optical splitter/extender implements the splitting function, and the downstream optical signal of the 0LT is transmitted to all 0s through the branch fiber; in the uplink direction, the optical splitter/extender implements the optical signal convergence function, and all The transmitted optical signal is aggregated and sent to the 0LT through the backbone fiber.
  • the P0N1 + 1 protection architecture as shown in Figure 1 is usually adopted, and the main and standby two sets of trunk fibers and 0LT are used to form the trunk.
  • the optical fiber and 0LT 1 + 1 protection, the standby 0LT takes over the 0 of the original primary 0LT in the case of a trunk fiber failure or a 0LT failure.
  • the P0N When 0 is connected to an enterprise user or a dedicated line user, and is no longer a home user, the P0N will be used as a transmission technology instead of an access technology. Enterprise users or leased line users often require 0LT active/standby switchover without interruption or business interruption delay.
  • the embodiments of the present invention provide a packet transmission method, device, and system in a PON, so that the service is not interrupted or the service interruption delay is small during the 0LT active/standby switchover.
  • a packet transmission method in a passive optical network P0N comprising:
  • the optical network unit 0 Receiving an uplink packet sent by the optical network unit 0, where the uplink packet includes a dynamic host configuration protocol DHCP or an Ethernet bearer point-to-point protocol PPPoE or a layer 2 control protocol L2CP message;
  • DHCP dynamic host configuration protocol
  • PPPoE Ethernet bearer point-to-point protocol
  • L2CP message a layer 2 control protocol
  • the uplink packet carrying the port information is sent to the broadband network gateway BNG, where the port information includes the port information and the OLT port information of the standby optical network terminal, so that the BNG is configured according to the The port information forwards the uplink packet.
  • An optical network unit comprising:
  • the port information adding module is configured to: add the port information to the uplink packet, or add the port number and the optical port termination point 0LT port information, and then send the uplink packet to the uplink packet sending module, where the uplink packet is sent.
  • the uplink packet sending module is configured to send the uplink packet sent by the port information adding module to the 0LT.
  • An optical path termination 0LT including:
  • the uplink packet receiving module is configured to receive the uplink packet sent by the network, where the uplink packet includes a dynamic host configuration protocol DHCP or an Ethernet bearer point-to-point protocol PPPoE or a layer 2 control protocol L2CP packet, where the uplink packet is sent
  • the file is sent to the port information carrying module;
  • a port information carrying module configured to add the standby 0LT port information or 0 and the port information and the standby 0LT port information to the uplink packet sent by the uplink packet receiving module when the active/standby switchover occurs, the uplink is performed.
  • the packet is sent to the uplink packet sending module.
  • an uplink packet sending module configured to send, by the port information carrying module, an uplink packet carrying the port information and the standby 0LT port information to the BNG, so that the BNG according to the 0 port information and The standby 0LT port information forwards the uplink packet.
  • a packet transmission system in a passive optical network P0N comprising the optical network unit 0 and the optical path termination node 0LT, wherein
  • the uplink packet is transmitted to the OLT, and the uplink packet includes the dynamic host configuration protocol DHCP.
  • Ethernet bears a point-to-point protocol PPPoE or Layer 2 control protocol L2CP message;
  • the OLT sends the uplink packet sent by the 0 to the BNG, and sends the uplink packet carrying the port information and the standby OLT port information to the BNG, so that the uplink packet is sent to the BNG.
  • the BNG forwards the uplink packet according to the port information.
  • the embodiment of the present invention provides a function of supporting the 0LT port conversion in the 0LT, and whether the uplink of the correct 0LT port information can still be carried in the active/standby switching process of the P0N system.
  • the downlink and downlink L2CP/DHCP/PPPoE packets do not cause L2CP/DHCP/PPPoE uplink and downlink service interruption or interrupt latency to be small.
  • FIG. 2 is a schematic structural diagram of a 0 according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic structural diagram of an 0LT according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic structural diagram of a P0N system supporting L2CP Relay according to Embodiment 1 of the present invention
  • FIG. 5 is a schematic structural diagram of a PON system supporting DHCP/PPPoE Relay according to Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of processing of an uplink relay method of a P0N system according to Embodiment 3 of the present invention
  • FIG. 8 is a flowchart of processing of an uplink relay method of a P0N system according to Embodiment 3 of the present invention
  • FIG. 9 is a flowchart of processing of an uplink relay method of a P0N system according to Embodiment 5 of the present invention
  • FIG. 10 is a flowchart of processing of an uplink relay method of a P0N system according to Embodiment 5 of the present invention; A flowchart of processing of an uplink relay method of a P0N system is provided.
  • FIG. 11 is a flowchart of processing of a downlink relay method of a P0N system according to Embodiment 7 of the present invention.
  • the standby 0LT receives the uplink packet sent by 0.
  • the standby OLT sends the uplink packet carrying the port information to the BNG (broadband network gateway, The broadband network gateway, the port information includes 0 and the port information and the standby 0LT port information, so that the BNG forwards the uplink packet according to the port information.
  • the uplink packet includes a DHCP (Dynamic Host Configuration Protocol) or a PPPoECPPP Over ETHernet (Ethernet bears a peer-to-peer protocol) or an L2CP (Layer 2 Control Protocol) packet.
  • DHCP Dynamic Host Configuration Protocol
  • PPPoECPPP Over ETHernet Ethernet bears a peer-to-peer protocol
  • L2CP Layer 2 Control Protocol
  • the standby 0LT port is added to the uplink packet.
  • the port and the standby 0LT port information are added to the uplink packet; when the uplink packet carries 0 and the port And when the primary 0LT port information is used, the primary 0LT port information in the uplink packet is modified to the standby 0LT port information.
  • the standby 0LT transmits the uplink packet to the BNG, so that the BNG forwards the uplink packet according to the 0 port and the standby 0LT port information carried in the uplink packet.
  • the above port information includes: at least one of a cabinet number, a rack number, a frame number, a slot number, a subslot number, and a port number.
  • the foregoing alternate 0LT port information includes: an identifier of the standby 0LT, at least one of a cabinet number, a rack number, a frame number, a slot number, a subslot number, and a port number on the standby 0LT.
  • the above-mentioned "active/standby switchover" may be that all physical ports of the entire primary 0LT are switched to the standby 0LT; or the physical port of only the fiber failure may be switched from the primary 0LT to the corresponding physical port of the standby 0LT, and there is no fiber failure.
  • the physical port remains in the primary 0LT for normal operation.
  • the "primary” and “alternate” dashed boxes in the drawings of the embodiments of the present invention specifically refer to the entire OLT device when all physical ports for the entire primary OLT are switched to the standby OLT; In the case where the primary 0LT is switched to the standby 0LT, it refers specifically to the physical port being switched.
  • the above 0 and port information and 0LT port information can be set through 3 in L2CP/DHCP/PPPoE messages.
  • 0ptionl 0ption1
  • 0ption2 0ption2
  • 0ption3 0ption3
  • Optionl is 0 and the port information option is in the following format:
  • a DSL (Digital Subscriber Line) line of Asynchronous Transfer Mode (ATM) When a DSL (Digital Subscriber Line) line of Asynchronous Transfer Mode (ATM) is connected to 0, it is 0NUID ATM slot2/port2: vpi. vci, When ETH (ETHernet, Ethernet) DSL line is connected to 0, it is ONUID ETH slot2/port2 [: vlan-id];
  • ATM Digital Subscriber Line
  • ATM Asynchronous Transfer Mode
  • the VLAN-ID is a C-VLAN ID (Customer VLAN ID), which is used to identify the user or access line, and is usually added or deleted by 0.
  • C-VLAN ID Customer VLAN ID
  • 0ption2 is the 0LT port information option, and the format is as follows: Access-Node-Identif ier
  • the VLAN-id is an S-VLAN ID (Service VLAN ID), which is used to identify the service or 0LT, and is usually added or deleted by the OLT.
  • S-VLAN ID Service VLAN ID
  • the access-Node-Identif ier is the identifier of the OLT, and slotl/portl is the cabinet on the OLT.
  • the slot number, the rack number, the frame number, the slot number, the sub-slot number, and the port number of slot2/port2 are 0. a combination of one or more; vpi. vci is a virtual path identifier and a virtual channel identifier on the DSL line;
  • Embodiment 1 In order to facilitate the understanding of the embodiments of the present invention, the following detailed description of the embodiments of the invention, Embodiment 1
  • FIG. 2 A schematic diagram of a structure provided by this embodiment is shown in FIG. 2.
  • the 0 supports the DHCP/PPPoE relay function, and the relay function may be Relay or Proxy.
  • the 0 includes:
  • the port information adding module 21 is configured to add 0 and port information in the uplink packet, that is, Option 3 or Option 3 without the 0LT port information.
  • the 0LT needs to support the DHCP/PPPoE uplink relay function; or the uplink packet.
  • Add 0 and port and 0LT port information that is, add Option1 and 0ption2 or add complete 0ption3, 0 and the port information of 0LT can be pre-configured through 0MCI/L2CP; at this time, 0LT does not need DHCP/PPPoE uplink. Following the function. Then, the uplink packet is transmitted to the uplink packet sending module 22, where the uplink packet includes a DHCP or PPPoE or L2CP packet.
  • the uplink packet sending module 22 is configured to send the uplink packet sent by the port information adding module 21 to the uplink packet
  • the matching check module 23 is configured to obtain the asynchronous transfer mode ATM/Ethernet ETH type in the port information carried in the downlink DHCP/PPPoE packet, and check whether the ATM/ETH type is 0 and the actual port type. Match.
  • the specific processing process includes:
  • ATM/ETH type in the port information of the downlink DHCP/PPPoE packet, and check whether the ATM/ETH type matches 0 and the actual port type (ATM/ETH). If the ATM/ETH type is 0 and the actual port type is ATM or both are ETH, they match each other; otherwise, they do not match each other.
  • the downlink packet processing module 24 is configured to: after the matching check module checks that the ATM/ETH type in the ONU port information carried in the DHCP/PPPoE packet matches the actual port type of the ONU, the DHCP/ The PPPoE packet is sent to the corresponding port. After the matching check module checks that the ATM/ETH type does not match the actual port type, the DHCP/PPPoE packet is discarded.
  • the port binding module 25 is configured to: after the matching check module checks that the ATM/ETH type matches 0 and the actual port type, according to the port information and the 0 carried by the downlink DHCP/PPPoE packet
  • the address information is 0, and the port is bound to the corresponding IP address/IP address prefix/MAC address, and the address information includes: an IP address or an IP address prefix or a MAC (Medium Access Control) address.
  • the port information deleting module 26 is configured to delete 0 and port information in the downlink DHCP/PPPoE packet after the matching check module 23 checks that the ATM or ETH type matches the actual port type of 0.
  • the specific processing includes: For security and confidentiality, 0 and port information should not be disclosed to the user. Therefore, the 0 and the port information of the DHCP/PPPoE packet are removed by 0, that is, Option1 or 0ption3 is deleted; or 0 and the port and 0LT port information of the DHCP/PPPoE packet are removed by 0, that is, Option1 and 0ption2 are deleted or 0ption3 is deleted. .
  • the 0LT can support the L2CP/DHCP/PPPoE relay function.
  • the relay function can be Relay or Proxy.
  • the 0LT specifically includes:
  • the uplink packet receiving module 31 is configured to receive the uplink packet sent by 0, and cache the uplink packet, where the uplink packet includes a DHCP or PPPoE or L2CP packet.
  • the port information carrying module 32 is configured to add the standby 0LT port information or the 0 port information and the standby 0LT port information to the uplink packet sent by the uplink packet receiving module when the active/standby switchover occurs.
  • the uplink packet is sent to the uplink packet sending module.
  • the port information carrying module 32 specifically includes: a first receiving module 321, configured to receive an uplink packet that carries the port information sent by the uplink packet receiving module 31;
  • the first adding module 322 is configured to add the standby 0LT port information to the uplink packet carrying the port information when the active/standby switchover occurs. Then, the uplink message with the additional 0LT port information is sent to the uplink message sending module 33;
  • the second receiving module 323 is configured to receive an uplink packet that is sent by the uplink packet receiving module 31 and that does not carry 0 and port and 0LT port information.
  • the second adding module 324 is configured to add 0 and the port and the standby 0LT port information to the uplink packet that does not carry the port and the 0LT port information when the active/standby switchover occurs.
  • the standby 0LT needs to obtain 0 and port information. It needs to be configured with 0 in advance and the mapping relationship between the port and the P0N logical port. 0, according to the pre-configured 0, the port and the P0N logical port mapping relationship will belong to different 0 ports.
  • the uplink packet is forwarded on different P0N logical ports, and the standby 0LT adds 0 and port information according to the pre-configured 0 and the mapping relationship between the port and the P0N logical port.
  • the primary 0LT port information can also be added to the buffered upstream packet by the primary 0LT. Then, the uplink packet with the 0 and the port and the standby 0LT port information is sent to the uplink packet sending module 33;
  • the third receiving module 325 is configured to receive an uplink packet that is sent by the uplink packet receiving module 31 and that carries the port and the primary 0LT port information.
  • the third adding module 326 is configured to modify the primary 0LT port information in the uplink packet carrying the 0 port and the primary 0LT port information to the standby 0LT port information when the active/standby switchover occurs, and the specific processing procedure Including: 0 is added to the upstream message and the port and the primary 0LT port information are added, that is, Option1 and 0ption2 are added or the complete 0ption3 is added.
  • the port information of the primary OLT of 0 can be matched in advance by 0MCI/L2CP. At this time, 0LT does not need to support DHCP/PPPoE uplink relay.
  • the standby 0LT2 modifies the 0LT port information for the buffered upstream packet, that is, the original primary 0LT port information in 0ption2 or 0ption3 (such as 0LT1 and
  • Slotl/portl is modified to the alternate 0LT port information (such as 0LT2 and slot2/port2). Then, the uplink packet that is modified by the primary 0LT port information to the standby 0LT port information is sent to the uplink packet sending module 33.
  • the uplink packet sending module 33 is configured to send the uplink packet that is sent by the port information carrying module 32 to the BNG, so that the BNG is based on the 0 port and the standby 0LT port information carried in the uplink packet. Forwarding the uplink packet.
  • the downlink packet processing module 34 is configured to use the primary 0LT to buffer the downlink in the active/standby switching process.
  • the downlink L2CP/DHCP/PPPoE packet is sent to the standby 0LT.
  • the specific processing process includes:
  • the primary LLT uses the 0LT port information to modify the buffered L2CP/DHCP/PPPoE packets.
  • the original primary 0LT port information (such as 0LT1 and slotl/portl) in 0ption2 or 0ption3 is modified to be used.
  • 0LT port information (such as 0LT2 and slot2/port2);
  • the slots and ports of the primary 0LT1 and the standby 0LT2 are configured to be identical, and only the Access-Node-Identifier needs to be modified. Then, the downlink
  • the L2CP/DHCP/PPPoE packet is sent to the standby 0LT2 by the primary 0LT1, so that the active/standby switchover process does not drop packets.
  • the port binding module 35 is configured to bind the 0LT port to the corresponding IP address/IP address prefix/MAC address according to the 0LT port information and the address information carried in the downlink L2CP/DHCP/PPPoE packet sent by the BNG.
  • the address information includes: an IP address or an IP address prefix or a MAC address.
  • the port information deletion module 36 is configured to delete 0 port information in the downlink DHCP/PPPoE message sent by the MN.
  • the specific processing process includes:
  • the 0LT port information of the downlink L2CP/DHCP/PPPoE packet is removed by the 0LT, that is, Option 2 is deleted or the 0LT port information Acces s_Node_ID and slotl/port 1 in Option 3 are removed.
  • FIG. 4 Based on the 0 shown in FIG. 2 and the 0LT shown in FIG. 3, the structure of a P0N system supporting the L2CP Relay provided by this embodiment is shown in FIG. 4, and the structure of a P0N system supporting DHCP/PPPoE Relay is shown in FIG. As shown in Figure 5.
  • 0 and port information and 0LT port information are added by 0 and 0LT, respectively.
  • the processing flow of the uplink relay method of the P0N system provided in this embodiment is as shown in FIG. 6, and includes the following processing steps:
  • the user terminal /RG (Residential Gateway) initiates a DHCP/PPPoE packet, and sends the DHCP/PPPoE packet to 0.
  • 0NU 0, add 0 and port information to the above DHCP/PPPoE message, that is, add the port information part of Opt ion 1 or Opt ion 3; or 0NU initiates the L2CP message, which carries the 0NU port information, that is, carries Optionl or 0ption3 0 and the port information part;
  • the L2CP/DHCP/PPPoE packet carrying the port information is transmitted to the primary 0LT1 and the standby 0LT2 through the P0N optical fiber;
  • the standby 0LT2 caches the L2CP/DHCP/PPPoE packet.
  • the standby 0LT2 caches the L2CP/DHCP/PPPoE packet.
  • a fiber failure occurs between the optical splitter/extender and the main 0LT1 or the main 0LT1 fault occurs, and the main 0LT optical line diagnosis is abnormal;
  • the primary 0LT reports the optical line diagnosis result through the L2CP message
  • the BNG detects the abnormality of the optical line reported by the received L2CP packet, and detects the optical fiber fault between the optical splitter/extender and the active 0LT1.
  • the BNG detects that the primary 0LT1 is faulty because the L2CP packet is not received within the specified time.
  • the BNG initiates the active/standby switchover through the L2CP message, and the start command can be sent to the standby 0LT2 and/or the primary 0LT1; the start command can be to switch all the physical ports of the primary active 0LT to the standby 0LT; The physical port of the fiber failure is switched from the primary 0LT to the physical port of the standby 0LT. The physical port without the fiber failure remains in the normal 0LT.
  • the standby 0LT2 adds the alternate 0LT port information to the L2CP/DHCP/PPPoE packet buffered during the active/standby switchover process, that is, adds 0ption2, or modifies the received 0ption3 without adding the OLT port information; that is, first obtains The port information carried in the 0ption3, and then the alternate 0LT port information (such as
  • the access_Node_ID and slot1/portl are inserted into the port information, and the port information of the complete 0ption3 format is added to the L2CP/DHCP/PPPOE message.
  • 0LT always enables the addition of 0LT port information before and after the active/standby switchover process;
  • the L2CP/DHCP/PPPoE packet carrying the 0NU port information and the 0LT port information is sent to the BNG by the standby 0LT, so that the active/standby switching process does not lose packets;
  • the BNG searches for a corresponding user name and/or password (user name/pw) according to the Line Info (line information including 0 and port information and 0LT port information) carried in the DHCP/PPPoE packet, and initiates a username and a password.
  • Access Request (Access Request) packets are authenticated to the AAA Server (Authentication Authorization and Accounting Server).
  • the BNG initiates an Access Request message including a Line Info to the AAA Server to authenticate the user;
  • the AAA server After the AAA server successfully authenticates the user, the AAA server sends the user profile to the BNG through the Access Accept message, and the BNG receives the DHCP/PPPoE packet from the standby OLT according to the user template. or.
  • This embodiment can implement an uplink L2CP/DHCP/PPPoE packet that can still carry the correct 0LT port information during the active/standby switchover process of the P0N system. That is, the active/standby switchover of the P0N system does not cause L2CP/DHCP/PPPoE uplink. Business disruption. Moreover, 0 does not need to perceive the 0LT port information, and implements 0, and the port information is fully decoupled from the 0LT port information.
  • the processing flow of the uplink relay method of the P0N system provided in this embodiment is as shown in FIG. 7, and includes the following processing steps:
  • the user terminal/RG initiates a DHCP/PPPoE packet, and sends the DHCP/PPPoE packet to 0.
  • the L2CP/DHCP/PPPoE packet carrying the port information is transmitted to the primary 0LT1 and the standby 0LT2 through the P0N optical fiber;
  • the standby 0LT2 caches the L2CP/DHCP/PPPoE packets.
  • the primary 0LT reports the optical line diagnosis result through the L2CP message
  • the BNG detects the abnormality of the optical line reported by the received L2CP packet, and detects that the optical splitter between the optical splitter/extender and the primary 0LT1 is faulty. The BNG detects that the primary 0LT1 is faulty because the L2CP packet is not received within the specified time.
  • the BNG initiates the active/standby switchover through the L2CP packet, and the start command can be sent to the standby 0LT2 and/or the primary 0LT1;
  • the L2CP/DHCP/PPPoE packet modification 0LT port information that is, the original primary 0LT port information (such as 0LT1 and slotl/portl) in 0ption2 or 0ption3 is changed to the alternate 0LT port information (such as 0LT2 and slot2/port2);
  • the L2CP/DHCP/PPPoE packet carrying the 0NU port information and the standby 0LT port information is sent to the BNG by the standby 0LT, so that the active/standby switching process does not lose packets;
  • 0NU adds the 0NU port information and the alternate 0LT2 port information to the DHCP/PPPoE packet, that is, adds Option 1 and Option 2 or adds the complete 0ption3; or the 0NU initiates the L2CP packet, which carries the 0NU port information and the standby 0LT2 port information. That is, carrying Optionl and 0ption2 or carrying the complete 0ption3;
  • the L2CP/DHCP/PPPoE packet carrying the 0NU port information and the standby 0LT2 port information is sent to the standby 0LT2. 714.
  • the standby 0LT2 performs the packet conversion function directly because the port switching function is disabled.
  • the authentication process of the BNG to the DHCP/PPPoE packet is the same as the second embodiment.
  • the uplink L2CP/DHCP/PPPoE packet of the correct 0LT port information can still be carried in the active/standby switchover process of the P0N system, that is, the active/standby switchover of the P0N system does not cause L2CP/DHCP/PPPoE.
  • the uplink service was interrupted.
  • the processing flow of the uplink relay method of the P0N system provided in this embodiment is as shown in FIG. 8, and includes the following processing steps:
  • the user terminal/RG initiates a DHCP/PPPoE packet, and sends the DHCP/PPPoE packet to 0.
  • the DHCP/PPPoE packet and the port information and the primary 0LT1 port information that is, add Option 1 and Option 2 or add the complete Option 3; or 0 to initiate the L2CP packet, which carries 0 and the port information.
  • the primary 0LT1 port information that is, carrying Option 1 and Option 2 or carrying the complete Option 3;
  • the L2CP/DHCP/PPPoE packet carrying the port information is transmitted to the primary 0LT1 and the standby 0LT2 through the P0N optical fiber;
  • the standby 0LT2 can only discard the uplink received message
  • optical splitter / extender and the main use 0LT1 fiber failure or the main 0LT1 fault, the main 0LT optical line diagnosis is not normal;
  • the primary 0LT reports the optical line diagnosis result through the L2CP message
  • the BNG detects the abnormality of the optical line reported by the received L2CP packet, and detects that the optical splitter between the optical splitter/extender and the primary 0LT1 is faulty. The BNG detects that the primary 0LT1 is faulty because the L2CP packet is not received within the specified time.
  • the BNG initiates the active/standby switchover through the L2CP packet, and the start command can be sent to the standby 0LT2 and/or the primary 0LT1.
  • the standby 0LT2 notifies all 0s through the L2CP/0MCI message and switches to the standby 0LT2, and uses the port information of the standby 0LT2;
  • the 0NU adds the 0NU port information and the alternate 0LT2 port information to the DHCP/PPPoE packet, that is, adds Option 1 and Option 2 or adds the complete Option 3; or the 0NU initiates the L2CP packet, which carries the 0NU port information and the alternate 0LT2 port information. , that is, carrying Option 1 and Option 2 or carrying the complete Option 3; 810.
  • the L2CP/DHCP/PPPoE packet carrying the ONU port information and the standby 0LT2 port information is forwarded to the standby 0LT2.
  • the 0LT implementation is simple, and no port addition or conversion function is required.
  • the active/standby switching delay of the P0N system is longer than that of the second and third embodiments.
  • the active/standby switching process includes the process of notifying all 0s and switching to the standby 0LT. And during the active/standby switchover of the P0N system, a brief interruption of the L2CP/DHCP/PPPoE uplink service is caused.
  • the processing flow of the uplink relay method of the P0N system provided in this embodiment is as shown in FIG. 9, and includes the following processing steps:
  • the user terminal/extension device initiates a DHCP/PPPoE packet, and sends the DHCP/PPPoE packet to 0.
  • the L2CP/DHCP/PPPoE packet carrying the port information is transmitted to the primary 0LT1 and the standby 0LT2 through the P0N optical fiber;
  • the standby 0LT2 can only discard the uplink received message
  • the primary 0LT reports the optical line diagnosis result through the L2CP message
  • the BNG detects the abnormality of the optical line reported by the received L2CP packet, and detects the optical fiber fault between the optical splitter/extender and the primary 0LT1.
  • the BNG detects that the primary 0LT1 is faulty because the L2CP packet is not received within the specified time.
  • the 0NU adds the 0NU port information and the alternate 0LT2 port information to the DHCP/PPPoE packet, that is, adds Option1 and 0ption2 or adds the complete 0ption3; or the 0NU initiates the L2CP packet, which carries the 0NU port information and the standby 0LT2 port information, that is, carries Optionl and 0ption2 or carry the complete 0ption3;
  • the L2CP/DHCP/PPPoE packet carrying the 0NU port information and the standby 0LT2 port information is forwarded to the standby 0LT2.
  • the OLT is simple to implement, and no port addition or conversion function is required.
  • the active/standby switchover delay of the P0N system is longer than that of the second and third embodiments.
  • the active/standby switchover process includes configurations for all 0s, and is at P0N. During the active/standby switchover, the L2CP/DHCP/PPPoE uplink service is interrupted briefly.
  • 0 does not add 0 and port information
  • 0LT adds 0 and port information according to the pre-configured 0 and the mapping relationship between the port and the P0N logical port, and adds 0LT port information to forward the uplink L2CP/ DHCP/PPPoE packets.
  • the processing flow of the uplink relay method of the P0N system provided in this embodiment is as shown in FIG. 10, and includes the following processing steps:
  • Step 101 Pre-configure 0 on the 0 and 0LT and the mapping relationship between the port and the P0N logical port;
  • Step 102 The user terminal /RG initiates a DHCP/PPPoE packet.
  • Steps 103 and 0 are based on the pre-configured 0, and the port is mapped to the P0N logical port, and the L2CP/DHCP/PPPoE packets belonging to different 0s are forwarded on different P0N logical ports;
  • the L2CP/DHCP/PPPoE packet forwarded by the above 0 reaches the primary 0LT1 and the standby 0LT2 through the P0N fiber;
  • Step 104 The standby 0LT2 caches the L2CP/DHCP/PPPoE packet.
  • Step 105 The optical splitter between the optical splitter /EB and the primary 0LT1 or the primary 0LT1 fault, the primary 0LT optical line diagnosis is abnormal;
  • Step 106 The primary 0LT reports the optical line diagnosis result through the L2CP packet.
  • Step 107 The BNG detects the optical fiber fault between the optical splitter/EB and the primary 0LT1 or the primary 0LT1 fault.
  • the BNG senses the optical splitter between the optical splitter/EB and the primary 0LT1
  • the BNG will receive the L2CP packet. If the optical line diagnosis is abnormal, the BNG will not receive the L2CP packet within the specified time for the BNG to detect the failure of the primary 0LT1. Then the BNG initiates the active/standby switchover through the L2CP, and the start command can be sent to the standby 0LT2 and/or the primary 0LT1;
  • the startup command can be to switch all the physical ports of the primary 0LT to the standby 0LT. It can also be started to switch only the physical port of the fiber failure from the primary 0LT to the physical port of the standby 0LT. The physical port without the fiber failure remains. The main 0LT works normally.
  • Step 108 The standby 0LT2 allocates different ONU port information to the L2CP/DHCP/PPPoE packets from the different PON logical ports that are cached in the active/standby switchover according to the pre-configured 0 and the mapping between the port and the P0N logical port.
  • Step 109 The L2CP/DHCP/PPPoE packet carrying the ONU port information and the OLT port information is forwarded to the BNG by the standby OLT, so that the active/standby switching process does not drop packets.
  • Step 1010 The BNG searches for a corresponding user name and/or password (user name/pw) according to the Line Info (line information including 0 and port information and 0LT port information) carried in the DHCP/PPPoE packet, and initiates the inclusion of the username and password. Access Request message to the AAA Server (authentication, authorization, accounting server) to authenticate the user;
  • AAA Server authentication, authorization, accounting server
  • the BNG initiates an Access Request message including a Line Info to the AAA Server to authenticate the user;
  • Step 1011 After the user is successfully authenticated, the user profile is sent to the BNG through the Access Accept message, and the DHCP/PPPoE packet is received and/or forwarded.
  • the active/standby switchover of the P0N system does not cause L2CP/DHCP/PPPoE uplink service interruption; 0 can be made without perceiving the 0LT port information, and the port information and the 0LT port information are fully decoupled.
  • the P0N logical port is GEM Port; for EP0N and the next generation EP0N, the P0N logical port is the port where the LLID or MAC address is located.
  • the processing flow of the downlink relay method of the P0N system provided in this embodiment is as shown in FIG. 11, and includes the following processing steps:
  • the L2CP or the network management protocol is used as the primary 0LT1 to configure its standby 0LT2 port information.
  • the slot and port of the primary 0LT1 and the standby 0LT2 are configured to be consistent, and only the Access-Node-Identifier is different.
  • the BNG sends the downlink L2CP/DHCP/PPPoE packet to the user, and the packet carries 0 and the port information and the primary 0LT1 port information, that is, carries Optionl and 0ption2, or carries 0ption3;
  • the main 0LT optical line diagnosis is not normal, the main 0LT1 will buffer the downlink message;
  • the primary 0LT reports the optical line diagnosis result through the L2CP packet
  • the BNG detects the abnormality of the optical line reported by the received L2CP packet, and detects that the optical splitter between the optical splitter/extension and the primary 0LT1 is faulty. The BNG detects that the primary 0LT1 is faulty because the L2CP packet is not received within the specified time.
  • the BNG initiates the active/standby switchover through the L2CP packet, and the start command can be sent to the standby 0LT2 and/or the primary 0LT1; 116.
  • the L2CP/DHCP/PPPoE packet modifies the 0LT port information, and the original primary 0LT port information (such as 0LT1 and slotl/portl) in 0ption2 or 0ption3 is modified to the alternate OLT port information (such as 0LT2 and slot2/port2);
  • the slots and ports of 0LT1 and the standby 0LT2 are configured to be consistent, and only Access-Node-Identifier needs to be modified.
  • the L2CP/DHCP/PPPoE packet carrying the port information and the standby 0LT port information is sent to the standby 0LT2 by the primary 0LT1, so that the active/standby switching process does not lose packets; after the active/standby switching process, the port of the primary 0LT can be closed. Conversion function
  • the standby 0LT2 binds the 0LT port (or the 0LT port plus 0 and the ID information) to the corresponding IP address/prefix/MAC address according to the port information carried in the L2CP/DHCP/PPPoE packet;
  • the standby 0LT2 After receiving the P0N port information in the L2CP/DHCP/PPPoE packet, the standby 0LT2 removes the 0LT port information of the packet, that is, deletes the Opt ion 2 or removes the 0LT port information in the Opt ion 3 Acces s_Node_ID and
  • the packet is sent to the corresponding P0N physical port and the GEM port/LLID; wherein the GEM port/LLID is recommended as a unicast GEM port/LLID;
  • the L2CP/DHCP/PPPoE packet carrying the 0NU port information of the user is sent to the corresponding 0NU;
  • the DHCP/PPPoE packet check whether it matches the actual port type (atm/eth). If it matches, the 0NU obtains the ONU in the packet. After the port information is removed, the 0NU port information is removed, and Optionl or 0ption3 is deleted. The DHCP/PPPoE packet is sent to the corresponding port. If the packet is not matched, the DHCP/PPPoE packet is discarded. The DHCP/PPPoE packet is discarded. 0 is notified by 0MCI/L2CP. 0LT/BNG, unbind the 0LT port on the 0LT (or 0LT port plus 0 and ID information) and the corresponding IP address/prefix/MAC address;
  • the BNG After the active/standby switchover, the BNG sends the L2CP/DHCP/PPPoE packet to the user through the standby 0LT2, and the packet carries the 0 port information and the standby 0LT2 port information.
  • the downlink L2CP/DHCP/PPPoE packet can still be carried in the active/standby switchover process of the P0N system, and the active/standby switchover of the P0N system does not cause L2CP/DHCP/PPPoE. Downstream business was interrupted.
  • a person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium, the program In execution, the flow of an embodiment of the methods as described above may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the embodiment of the present invention provides a function of the 0LT port conversion in the 0LT, which can implement the uplink and downlink L2CP/DHCP/PPPOE messages of the correct 0LT port information in the active/standby switching process of the P0N system. It does not cause L2CP/DHCP/PPPoE uplink and downlink service interruption or interrupt latency to be minimal.
  • the embodiment of the present invention can implement 0 without perceiving the 0LT port information, and use 0 and 0LT to distributedly add or process 0 and port information and 0LT port information to implement 0, and the port information and the 0LT port information are fully decoupled.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

无源光网络中的报文传输方法、 装置和系统 本申请要求于 2009年 5月 15日提交中国专利局、申请号为 200910084241. 8、发明 名称为 "无源光网络中的报文传输方法、 装置和系统"的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域 本发明涉及光通信技术领域, 尤其涉及一种 PON (Passive Optical Network, 无源 光网络) 中的报文传输方法、 装置和系统。 背景技术
P0N 是一种点对多点方式的光接入技术。 P0N 主要由 OLT ( Optical Line Termination, 光路终结点), 光分路器, 0而 (Optical Network Unit, 光网络单元) /0NT (Optical Network Terminal , 光网络终端) 以及连接这个设备的光纤组成。
0LT作为局端设备, 通过一根主干光纤与光分路器或延长器(Extend Box, EB)连 接, 光分路器或延长器通过单独的分支光纤连接每一个 0而。 光分路器 /延长器与 0LT 之间为主干光纤, 光分路器 /延长器与 0而之间为分支光纤。 在下行方向, 光分路器 /延 长器实现分光功能,通过分支光纤将 0LT的下行光信号发送给所有的 0而;在上行方向, 光分路器 /延长器实现光信号汇聚功能, 将所有 0而发送的光信号汇聚, 通过主干光纤 发送给 0LT。
目前, 为了抵抗光分路器或延长器与 0LT之间的主干光纤故障或 0LT故障, 通常采 用如图 1所示的 P0N1 + 1保护架构, 采用主备两套主干光纤及 0LT, 构成对主干光纤及 0LT的 1 + 1保护, 备用 0LT在主干光纤故障或 0LT故障时接管原主用 0LT下的 0而。
当 0而连接的是企业用户或专线用户, 而不再是家庭用户, 此时 P0N将作为传输技 术而不再是接入技术。企业用户或专线用户往往要求 0LT主备倒换过程中业务不中断或 业务中断时延较小。
在实现本发明过程中, 发明人发现现有技术中还没有在 0LT主备倒换过程中, 实现 业务不中断或业务中断时延较小的方法。 发明内容 本发明的实施例提供了一种 PON中的报文传输方法、装置和系统, 以实现在 0LT主备 倒换过程中, 业务不中断或业务中断时延较小。
一种无源光网络 P0N中的报文传输方法, 包括:
接收光网络单元 0而发送过来的上行报文, 所述上行报文包括动态主机配置协议 DHCP或以太网承载点对点协议 PPPoE或层二控制协议 L2CP报文;
在发生主备倒换时, 将携带了端口信息的所述上行报文发送给宽带网络网关 BNG, 所述端口信息包括 0而端口信息和备用光网络终端 OLT端口信息, 以使得所述 BNG根据所 述端口信息对所述上行报文进行转发。
一种光网络单元 0而, 包括:
端口信息添加模块,用于在上行报文中添加 0而端口信息或者添加 0而端口和光路终 结点 0LT端口信息后, 将所述上行报文传输给上行报文发送模块, 所述上行报文包括动 态主机配置协议 DHCP或以太网承载点对点协议 PPPoE或层二控制协议 L2CP报文;
上行报文发送模块,用于将所述端口信息添加模块传输过来的上行报文发送给 0LT。 一种光路终结点 0LT, 包括:
上行报文接收模块, 用于接收 0而发送过来的上行报文, 所述上行报文包括动态主 机配置协议 DHCP或以太网承载点对点协议 PPPoE或层二控制协议 L2CP报文, 将所述上行 报文发送给端口信息携带模块;
端口信息携带模块, 用于在发生主备倒换时, 在所述上行报文接收模块发送过来的 上行报文中添加备用 0LT端口信息或 0而端口信息和备用 0LT端口信息后, 将所述上行报 文发送给上行报文发送模块;
上行报文发送模块, 用于将所述端口信息携带模块发送过来的携带了 0而端口信息 和备用 0LT端口信息的上行报文发送给 BNG, 以使得所述 BNG根据所述 0而端口信息和备用 0LT端口信息对所述上行报文进行转发。
一种无源光网络 P0N中的报文传输系统,包括所述的光网络单元 0而和所述的光路终 结点 0LT, 其中,
所述的 0而, 在上行报文中添加 0而端口信息或者添加 0而端口和 0LT端口信息后, 将 所述上行报文传输给发送给 0LT, 所述上行报文包括动态主机配置协议 DHCP或以太网承 载点对点协议 PPPoE或层二控制协议 L2CP报文; 所述的 0LT,接收所述的 0而发送过来的上行报文,在发生主备倒换时,将携带了 0而 端口信息和备用 0LT端口信息的所述上行报文发送给 BNG, 以使得所述 BNG根据所述端口 信息对所述上行报文进行转发。
由上述本发明的实施例提供的技术方案可以看出,本发明实施例提出在 0LT支持 0LT 端口转换的功能, 可以实现在 P0N系统主备倒换过程中, 仍然能否携带正确 0LT端口信息 的上行和下行的 L2CP/DHCP/PPPoE报文,不会导致 L2CP/DHCP/PPPoE上行和下行业务中断 或中断时延较小。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有 技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有技术中的一种 P0N 1 + 1保护架构的示意图;
图 2为本发明实施例一提供的一种 0而的结构示意图;
图 3为本发明实施例一提供的一种 0LT的结构示意图;
图 4为本发明实施例一提供的一种支持 L2CP Relay的 P0N系统的结构示意图; 图 5为本发明实施例一提供的一种支持 DHCP/PPPoE Relay的 PON系统的结构示意图; 图 6为本发明实施例二提供的一种 P0N系统的上行中继方法的处理流程图; 图 7为本发明实施例三提供的一种 P0N系统的上行中继方法的处理流程图; 图 8为本发明实施例四提供的一种 P0N系统的上行中继方法的处理流程图; 图 9为本发明实施例五提供的一种 P0N系统的上行中继方法的处理流程图; 图 10为本发明实施例六提供的一种 P0N系统的上行中继方法的处理流程图; 图 11为本发明实施例七提供的一种 P0N系统的下行中继方法的处理流程图。 具体实施方式 为使本发明实施例的上述目的、特征和优点能够更加明显易懂, 下面结合附图和具 体实施方式对本发明实施例作进一步详细的说明。
在本发明实施例中, 备用 0LT接收 0而发送过来的上行报文。 在发生主备倒换时, 所 述备用 0LT将携带了端口信息的所述上行报文发送给 BNG (broadband network gateway, 宽带网络网关) , 所述端口信息包括 0而端口信息和备用 0LT端口信息, 以使得所述 BNG 根据所述端口信息对所述上行报文进行转发。
在上述的备用 0LT接收 0而发送过来的上行报文之前, 0而在上行报文中添加 0而端口 信息或者添加 0而端口和 0LT端口信息后, 将所述上行报文传输给发送给备用 0LT。 所述 上行报文包括 DHCP (Dynamic Host Configuration Protocol , 动态主机配置协议)或 PPPoECPPP Over ETHernet,以太网承载点对点协议)或 L2CP (Layer 2 Control Protocol , 层二控制协议)报文。
所述的备用 0LT接收 0而发送过来的上行报文后, 在发生主备倒换时, 当所述上行报 文中只携带 0而端口信息时, 则在所述上行报文中添加备用 0LT端口信息; 当所述上行报 文中没有携带 0而端口和 0LT端口信息时,则在所述上行报文中添加 0而端口和备用 0LT端 口信息; 当所述上行报文中携带了 0而端口和主用 0LT端口信息时, 则将所述上行报文中 的主用 0LT端口信息修改为备用 0LT端口信息。
然后, 所述的备用 0LT将所述上行报文传输给 BNG, 以使所述 BNG根据所述上行报文 中携带的 0而端口和备用 0LT端口信息, 对所述上行报文进行转发。
上述的 0而端口信息包括: 0而上的机柜号、 机架号、 框号、 槽位号、 子槽位号和端 口号中的至少一种。
上述的备用 0LT端口信息包括: 备用 0LT的标识, 备用 0LT上的机柜号、 机架号、 框 号、 槽位号、 子槽位号和端口号中的至少一种。
上述的 "主备倒换"可以是整个主用 0LT的所有物理端口倒换到备用 0LT; 也可以是 仅将光纤故障的物理端口由主用 0LT倒换到对应的备用 0LT的物理端口,原来没有光纤故 障的物理端口仍保留在主用 0LT正常工作。本发明实施例说明书附图中的"主用"和 "备 用"虚线方框, 在针对整个主用 0LT的所有物理端口倒换到备用 0LT的情况下, 特指整个 0LT设备; 在针对部分物理端口由主用 0LT倒换到备用 0LT的情况下, 特指被倒换的物理 端口。
上述的 0而端口信息和 0LT端口信息可以通过在 L2CP/DHCP/PPPoE报文中设置的 3个
Option (选项) : 0ptionl、 0ption2和 0ption3来携带, 下面分别介绍该 3个 0ption。
1、 Optionl为 0而端口信息选项, 格式如下:
当 0而连接异步转移模式 (Asynchronous Transfer Mode, ATM)的 DSL (Digital Subscriber Line, 数字用户线)线路时, 为 0NUID ATM slot2/port2 : vpi. vci , 当 0而连接 ETH (ETHernet, 以太网) 的 DSL线路时, 为 ONUID ETH slot2/port2 [: vlan-id];
通常, 对于 0而端口, VLAN- ID为 C-VLAN ID (Customer VLAN ID, 用户虚拟局域网 标识) , 用于标识用户或接入线路, 一般由 0而添加或删除。
2、 0ption2为 0LT端口信息选项, 格式如下: Access-Node-Identif ier
slotl/portl [: vlan-id];
通常, 对于 OLT端口, VLAN-id为S-VLAN ID (Service VLAN ID, 业务虚拟局域网标 识) , 用于标识业务或 0LT, 一般由 OLT添加或删除。
3、 0ption3综合 0而和 0LT端口信息选项, 格式如下:
当 0而连接 ATM的 DSL线路时, 为 Access-Node-Identifier ATM
s lot 1/port 1/ONUID/s lot2/port2: vpi. vci ;
当 0而连接 ETH的 DSL/ETH线路时, 为 Access-Node-Identif ier ETH
s lot 1/port 1/ONUID/s lot2/port2 [: vlan-id]。
其中, Access-Node-Identif ier为 OLT的标识, slotl/portl为 OLT上的机柜
( chassis )号、机架(rack)号、框 (frame)号、槽位 ( slot )号、子槽位 ( sub-slot ) 号、 端口 (port ) 号的一种或多种的组合;
slot2/port2为 0而上的机柜 ( chassis )号、 机架 (rack)号、 框 (frame)号、 槽 位(slot )号、子槽位(sub-slot )号、端口 (port )号的一种或多种的组合; vpi. vci 为 DSL线路上的虚路径标识符和虚通道标识符;
上述 Option 1、 0 0112和(^ 011 3格式中的 " [ ] "表示可选。
为便于对本发明实施例的理解,下面将结合附图以几个具体实施例为例做进一步的 解释说明, 且各个实施例并不构成对本发明实施例的限定。 实施例一
该实施例提供的一种 0而的结构示意图如图 2所示,该 0而支持 DHCP/PPPoE中继功能, 该中继功能可以是 Re lay或 Proxy。 该 0而具体包括:
端口信息添加模块 21,用于在上行报文添加 0而端口信息,即添加 Optionl或不带 0LT 端口信息的 Option 3, 此时, 0LT需要支持 DHCP/PPPoE上行中继功能; 或者在上行报文 中添加 0而端口和 0LT端口信息, 即添加 Optionl和 0ption2或添加完整的 0ption3, 0而上 的 0LT的端口信息可以通过 0MCI/L2CP提前配下来; 此时, 0LT不需要 DHCP/PPPoE上行中 继功能。然后, 将所述上行报文传输给上行报文发送模块 22, 所述上行报文包括 DHCP或 PPPoE或 L2CP报文。
上行报文发送模块 22,用于将所述端口信息添加模块 21传输过来的上行报文发送给
0LT。
匹配检查模块 23, 用于获取下行的 DHCP/PPPoE报文中所携带的 0而端口信息中的异 步转移模式 ATM/以太网 ETH类型, 检查所述 ATM/ ETH类型是否与 0而实际的端口类型相匹 配。 具体处理过程包括:
获取下行的 DHCP/PPPoE报文所携带的 0而端口信息中的端口类型 (ATM/ETH类型) , 检查该 ATM/ETH类型是否其与 0而实际的端口类型(ATM/ETH)匹配, 当该 ATM/ETH类型与 0而实际的端口类型皆为 ATM或皆为 ETH, 则互相匹配; 否则, 则不互相匹配。
下行报文处理模块 24,用于在所述匹配检查模块检查所述 DHCP/PPPoE报文所携带的 0NU端口信息中的 ATM/ ETH类型与 0NU实际的端口类型相匹配后, 将所述 DHCP/PPPoE报文 在相应端口进行; 在所述匹配检查模块检查所述 ATM/ ETH类型与 0而实际的端口类型不 相匹配后, 将所述 DHCP/PPPoE报文丢弃。
端口绑定模块 25,用于在所述匹配检查模块检查所述 ATM/ETH类型与 0而实际的端口 类型相匹配后, 根据所述下行的 DHCP/PPPoE报文所携带的 0而端口信息和地址信息, 将 0而端口与相应的 IP地址 / IP地址前缀 /MAC地址进行绑定, 所述的地址信息包括: IP地 址或 IP地址前缀或 MAC (Medium Access Control , 媒体接入控制)地址。
端口信息删除模块 26, 用于在所述匹配检查模块 23检查所述 ATM或 ETH类型与 0而实 际的端口类型相匹配后, 删除下行的 DHCP/PPPoE报文中的 0而端口信息。 具体处理过程 包括: 出于安全保密考虑, 0而端口信息不应透露给用户。 于是, 由 0而去除 DHCP/PPPoE 报文的 0而端口信息, 即删除 Optionl或 0ption3; 或由 0而去除 DHCP/PPPoE报文的 0而端 口和 0LT端口信息, 即删除 Optionl和 0ption2或删除 0ption3。
该实施例提出的一种 0LT的结构示意图如图 3所示,该 0LT可以支持 L2CP/DHCP/PPPoE 中继功能, 该中继功能可以是 Re lay或 Proxy, 该 0LT具体包括:
上行报文接收模块 31, 用于接收 0而发送过来的上行报文, 对所述上行报文进行缓 存, 所述上行报文包括 DHCP或 PPPoE或 L2CP报文。
端口信息携带模块 32, 用于在发生主备倒换时, 在所述上行报文接收模块发送过来 的上行报文中添加备用 0LT端口信息或 0而端口信息和备用 0LT端口信息后, 将所述上行 报文发送给上行报文发送模块; 所述端口信息携带模块 32, 具体包括- 第一接收模块 321,用于接收所述上行报文接收模块 31发送过来的携带了 0而端口信 息的上行报文;
第一添加模块 322, 用于在发生主备倒换时, 在所述携带了 0而端口信息的上行报文 中添加备用 0LT端口信息。然后, 将所述添加了备用 0LT端口信息的上行报文发送给上行 报文发送模块 33;
或者,
第二接收模块 323,用于接收所述上行报文接收模块 31发送过来的没有携带 0而端口 和 0LT端口信息的上行报文;
第二添加模块 324, 用于在发生主备倒换时, 在所述没有携带 0而端口和 0LT端口信 息的上行报文中添加 0而端口和备用 0LT端口信息。此时,备用 0LT需要获取 0而端口信息, 需要预先配置 0而端口与 P0N逻缉端口的映射关系, 0而根据预先配置的 0而端口与 P0N逻 缉端口映射关系,将属于不同 0而端口的上行报文在不同的 P0N逻缉端口上转发,备用 0LT 根据预先配置的 0而端口与 P0N逻缉端口的映射关系添加 0而端口信息。 在没有发生主备 倒换时, 也可以由主用 0LT将缓存的上行报文中添加主用 0LT端口信息。 然后, 将所述添 加了 0而端口和备用 0LT端口信息的上行报文发送给上行报文发送模块 33;
或者,
第三接收模块 325,用于接收所述上行报文接收模块 31发送过来的携带了 0而端口和 主用 0LT端口信息的上行报文;
第三添加模块 326, 用于在发生主备倒换时, 将所述携带了 0而端口和主用 0LT端口 信息的上行报文中的主用 0LT端口信息修改为备用 0LT端口信息, 具体处理过程包括: 由 0而对上行报文添加 0而端口和主用 0LT端口信息, 即添加 Optionl和 0ption2或添加完整 的 0ption3。 0而上的主用 OLT的端口信息可以通过 0MCI/L2CP提前配下来。 此时, 0LT不 需要支持 DHCP/PPPoE上行中继功能。在主备倒换过程中, 备用 0LT2对缓存的上行报文修 改 0LT端口信息, 即将 0ption2或 0ption3中原来主用 0LT端口信息 (如 0LT1和
slotl/portl )修改为备用 0LT端口信息 (如 0LT2和 slot2/port2) 。 然后, 将所述主用 0LT端口信息修改为备用 0LT端口信息的上行报文发送给上行报文发送模块 33。
上行报文发送模块 33,用于将所述端口信息携带模块 32传输过来的上行报文发送给 BNG, 以使所述 BNG根据所述上行报文中携带的 0而端口和备用 0LT端口信息, 对所述上行 报文进行转发。 下行报文处理模块 34, 用于在主备倒换过程中, 由主用 0LT将缓存的下行
L2CP/DHCP/PPPOE报文中的主用 0LT端口信息修改为备用 0LT端口信息后, 将所述下行的 L2CP/DHCP/PPPoE报文发送给备用 0LT。 具体处理过程包括:
在发生主备倒换时, 由主用 0LT对缓存的下行的 L2CP/DHCP/PPPoE报文修改 0LT端口 信息, 即将 0ption2或 0ption3中原来主用 0LT端口信息(如 0LT1和 slotl/portl )修改为 备用 0LT端口信息(如 0LT2和 slot2/port2) ; 通常, 主用 0LT1和备用 0LT2的 slot、 port 配置成一致, 仅 Access-Node-Identifier不同需要修改。 然后, 所述下行的
L2CP/DHCP/PPPoE报文由主用 0LT1给备用 0LT2, 从而保证主备倒换过程不丢包。
端口绑定模块 35, 用于根据 BNG发送过来的下行的 L2CP/DHCP/PPPoE报文所携带的 0LT端口信息和地址信息, 将 0LT端口与相应的 IP地址 / IP地址前缀 /MAC地址进行绑定, 所述的地址信息包括: IP地址或 IP地址前缀或 MAC地址。
端口信息删除模块 36,用于删除丽 G发送过来的下行的 DHCP/PPPoE报文中的 0而端口 信息。 具体处理过程包括:
出于安全保密考虑, 0LT端口信息不应透露给其它设备。 于是, 由 0LT去除下行的 L2CP/DHCP/PPPoE报文的 0LT端口信息, 即删除 Option 2或去除 Option 3中的 0LT端口信 息 Acces s_Node_ID和 slotl/port 1。
基于上述图 2所示的 0而和图 3所示的 0LT,该实施例提供的一种支持 L2CP Relay的 P0N 系统的结构如图 4所示, 一种支持 DHCP/PPPoE Relay的 P0N系统的结构如图 5所示。
实施例二
在该实施例中, 由 0而和 0LT分别添加 0而端口信息和 0LT端口信息。该实施例提供的 一种 P0N系统的上行中继方法的处理流程如图 6所示, 包括如下处理步骤:
61、 用户终端 /RG (Residential Gateway, 驻地网关)发起 DHCP/PPPoE报文, 将该 DHCP/PPPoE报文发送给 0而;
62、 0而对上述 DHCP/PPPoE报文添加 0而端口信息, 即添加 Opt ion 1或 Opt ion 3的 0而 端口信息部分; 或 0NU发起 L2CP报文, 其中携带 0NU端口信息, 即携带 Optionl或 0ption3 的 0而端口信息部分;
63、 0而将上述携带端口信息的 L2CP/DHCP/PPPoE报文,通过 P0N光纤传输给主用 0LT1 和备用 0LT2;
64、 备用 0LT2对 L2CP/DHCP/PPPoE报文进行缓存; 65、光分配器 /延长器与主用 0LT1间发生光纤故障或主用 0LT1故障, 主用 0LT光线路 诊断不正常;
66、 主用 0LT通过 L2CP报文上报光线路诊断结果;
67、 BNG根据收到的 L2CP报文上报的光线路诊断不正常的结果, 感知光分配器 /延长 器与主用 0LT1间光纤故障。 BNG根据在规定时间内收不到 L2CP报文, 感知主用 0LT1故障。
然后, BNG通过 L2CP报文启动主备倒换,启动命令可以发给备用 0LT2和 /或主用 0LT1 ; 启动命令可以是启动整个主用 0LT的所有物理端口倒换到备用 0LT;也可以启动是仅 将光纤故障的物理端口由主用 0LT倒换到备用 0LT的物理端口,原来没有光纤故障的物理 端口仍保留在主用 0LT正常工作。
68、 备用 0LT2对主备倒换过程中缓存的 L2CP/DHCP/PPPoE报文添加备用 0LT端口信 息, 即添加 0ption2, 或对所述接收到的未添加 OLT端口信息的 0ption3进行修改; 即, 首先获取所述 0ption3中携带的 0而端口信息, 然后将备用 0LT端口信息 (如
Access_Node_ID和 slotl/portl )插入到所述 0而端口信息中, 组成完整的 0ption3格式 的端口信息添加到 L2CP/DHCP/PPPOE报文。在主备倒换过程之前和之后, 0LT都一直启用 0LT端口信息的添加功能;
69、 携带 0NU端口信息和 0LT端口信息的 L2CP/DHCP/PPPoE报文由备用 0LT给 BNG, 从 而保证主备倒换过程不丢包;
610、 BNG根据 DHCP/PPPoE报文中携带的 Line Info (线路信息, 包括 0而端口信息和 0LT端口信息) , 查找对应的用户名和 /或密码 (user name/pw) , 发起包含用户名和密 码的 Access Request (接入请求)报文到 AAA Server (Authentication Authorization and Accounting Server, 认证、 授权、 计费服务器)对用户进行认证;
或者, BNG发起包含 Line Info (线路信息) 的 Access Request (接入请求)报文到 AAA Server对用户进行认证;
611、 AAA Server对用户认证成功后, 通过 Access Accept (接入接受)报文下发用 户模板(profile)到 BNG, BNG根据该用户模板对上述备用 0LT过来的 DHCP/PPPoE报文进 行接收和 /或。
该实施例可以实现在 P0N系统主备倒换过程中,仍然能够携带正确 0LT端口信息的上 行 L2CP/DHCP/PPPoE报文, 即使用该方法使 P0N系统主备倒换不会导致 L2CP/DHCP/PPPoE 上行业务中断。 并且, 0而无需感知 0LT端口信息, 实现 0而端口信息与 0LT端口信息充分 解耦。 实施例三
在该实施例中, 由 0而添加 0而端口信息和 0LT端口信息。该实施例提供的一种 P0N系 统的上行中继方法的处理流程如图 7所示, 包括如下处理步骤:
70、 通过 L2CP或网管协议为每个 0而配置其所在的主用 0LT1端口信息;
71、 用户终端 /RG发起 DHCP/PPPoE报文, 将该 DHCP/PPPoE报文发送给 0而;
72、 0而对 DHCP/PPPoE报文添加 0而端口信息和主用 0LT1端口信息, 即添加 Optionl 和 0ption2或添加完整的 0ption3; 或 0而发起 L2CP报文, 其中携带 0而端口信息和主用 0LT1端口信息, 即携带 Optionl和 0ption2或携带完整的 0ption3;
73、 0而将上述携带端口信息的 L2CP/DHCP/PPPoE报文,通过 P0N光纤传输给主用 0LT1 和备用 0LT2;
74、 备用 0LT2对 L2CP/DHCP/PPPoE报文进行缓存;
75、光分配器 /延长器与主用 0LT1间发生光纤故障或主用 0LT1故障, 主用 0LT光线路 诊断不正常;
76、 主用 0LT通过 L2CP报文上报光线路诊断结果;
77、 BNG根据收到的 L2CP报文上报的光线路诊断不正常的结果, 感知光分配器 /延长 器与主用 0LT1间光纤故障。 BNG根据在规定时间内收不到 L2CP报文, 感知主用 0LT1故障。
然后, BNG通过 L2CP报文启动主备倒换,启动命令可以发给备用 0LT2和 /或主用 0LT1 ;
78、 启动备用 0LT的端口转换功能; 备用 0LT2对主备倒换过程中缓存的
L2CP/DHCP/PPPoE报文修改 0LT端口信息, 即将 0ption2或 0ption3中原来主用 0LT端口信 息 (如 0LT1和 slotl/portl )修改为备用 0LT端口信息 (如 0LT2和 slot2/port2) ;
79、携带 0NU端口信息和备用 0LT端口信息的 L2CP/DHCP/PPPoE报文由备用 0LT给 BNG, 从而保证主备倒换过程不丢包;
710、 为所有 0而配置备用 0LT2的端口信息;
711、 备用 0LT2完成主备倒换后, 关闭端口转换功能;
712、 0NU对 DHCP/PPPoE报文添加 0NU端口信息和备用 0LT2端口信息,即添加 Option 1 和 Option 2或添加完整的 0ption3; 或 0NU发起 L2CP报文, 其中携带 0NU端口信息和备用 0LT2端口信息, 即携带 Optionl和 0ption2或携带完整的 0ption3;
713、 携带 0NU端口信息和备用 0LT2端口信息的 L2CP/DHCP/PPPoE报文备发往备用 0LT2; 714、备用 0LT2由于已关闭端口转换功能, 直接对报文进行; BNG对 DHCP/PPPoE报文 的认证过程同上述实施例二。
该实施例可以实现在 P0N系统主备倒换过程中,仍然能否携带正确 0LT端口信息的上 行 L2CP/DHCP/PPPoE报文, 即使用该方法使 P0N系统主备倒换不会导致 L2CP/DHCP/PPPoE 上行业务中断。 实施例四
在该实施例中, 由 0而添加 0而端口信息和 0LT端口信息。该实施例提供的一种 P0N系 统的上行中继方法的处理流程如图 8所示, 包括如下处理步骤:
80、 通过 L2CP或网管协议为每个 0而配置其所在的主用 0LT1端口信息和备用 0LT2端 口信息;
81、 用户终端 /RG发起 DHCP/PPPoE报文, 将该 DHCP/PPPoE报文发送给 0而;
82、 0而对 DHCP/PPPoE报文添加 0而端口信息和主用 0LT1端口信息, 即添加 Option 1 和 Option 2或添加完整的 Option 3; 或 0而发起 L2CP报文, 其中携带 0而端口信息和主用 0LT1端口信息, 即携带 Option 1和 Option 2或携带完整的 Option 3;
83、 0而将上述携带端口信息的 L2CP/DHCP/PPPoE报文,通过 P0N光纤传输给主用 0LT1 和备用 0LT2;
84、 在光分配器 /延长器与主用 0LT1间的光纤发生故障或主用 0LT1故障后到主备倒 换完成前, 备用 0LT2只能丢弃上行接收报文;
85、光分配器 /延长器与主用 0LT1间发生光纤故障或主用 0LT1故障, 主用 0LT光线路 诊断不正常;
86、 主用 0LT通过 L2CP报文上报光线路诊断结果;
87、 BNG根据收到的 L2CP报文上报的光线路诊断不正常的结果, 感知光分配器 /延长 器与主用 0LT1间光纤故障。 BNG根据在规定时间内收不到 L2CP报文, 感知主用 0LT1故障。
然后, BNG通过 L2CP报文启动主备倒换,启动命令可以发给备用 0LT2和 /或主用 0LT1 ;
88、备用 0LT2通过 L2CP/0MCI消息通知所有 0而切换到备用 0LT2, 采用备用 0LT2的端 口信息;
89、 0NU对 DHCP/PPPoE报文添加 0NU端口信息和备用 0LT2端口信息, 即添加 Option 1 和 Option 2或添加完整的 Option 3; 或 0NU发起 L2CP报文, 其中携带 0NU端口信息和备用 0LT2端口信息, 即携带 Option 1和 Option 2或携带完整的 Option 3; 810、 携带 ONU端口信息和备用 0LT2端口信息的 L2CP/DHCP/PPPoE报文备发往备用 0LT2 o
在该实施例中, 0LT实现简单, 无需端口的添加或转换功能, 但 P0N系统主备倒换时 延相对实施例二和三较长, 主备倒换过程包含通知所有 0而切换到备用 0LT的过程, 并且 在 P0N系统主备倒换过程中, 会引起 L2CP/DHCP/PPPoE上行业务的短暂中断。 实施例五
在该实施例中, 由 0而添加 0而端口信息和 0LT端口信息。该实施例提供的一种 P0N系 统的上行中继方法的处理流程如图 9所示, 包括如下处理步骤:
90、 通过 L2CP或网管协议为每个 0而配置其所在的主用 0LT1端口信息;
91、 用户终端 /延长器发起 DHCP/PPPoE报文, 将该 DHCP/PPPoE报文发送给 0而;
92、 0而对 DHCP/PPPoE报文添加 0而端口信息和主用 0LT1端口信息, 即添加 Optionl 和 0ption2或添加完整的 0ption3; 或 0而发起 L2CP报文, 其中携带 0而端口信息和主用 0LT1端口信息, 即携带 Option 1和 Option 2或携带完整的 0ption3;
93、 0而将上述携带端口信息的 L2CP/DHCP/PPPoE报文,通过 P0N光纤传输给主用 0LT1 和备用 0LT2;
94、 在光分配器 /延长器与主用 0LT1间的光纤发生故障或主用 0LT1故障后到主备倒 换完成前, 备用 0LT2只能丢弃上行接收报文;
95、光分配器 /延长器与主用 0LT1间发生光纤故障或主用 0LT1故障, 主用 0LT光线路 诊断不正常;
96、 主用 0LT通过 L2CP报文上报光线路诊断结果;
97、 BNG根据收到的 L2CP报文上报的光线路诊断不正常的结果, 感知光分配器 /延长 器与主用 0LT1间光纤故障。 BNG根据在规定时间内收不到 L2CP报文, 感知主用 0LT1故障。
98、 为所有 0而配置备用 0LT2的端口信息;
99、 0NU对 DHCP/PPPoE报文添加 0NU端口信息和备用 0LT2端口信息, 即添加 Optionl 和 0ption2或添加完整的 0ption3; 或 0NU发起 L2CP报文, 其中携带 0NU端口信息和备用 0LT2端口信息, 即携带 Optionl和 0ption2或携带完整的 0ption3;
910、 携带 0NU端口信息和备用 0LT2端口信息的 L2CP/DHCP/PPPoE报文备发往备用 0LT2 o 在该实施例中, OLT实现简单, 无需端口的添加或转换功能, 但 P0N系统主备倒换时 延相对实施例二和三较长, 主备倒换过程包含对所有 0而的配置, 并且在 P0N系统主备倒 换过程中, 会引起 L2CP/DHCP/PPPoE上行业务的短暂中断。 实施例六
在该实施例中, 0而不添加 0而端口信息, 而是由 0LT根据预先配置的 0而端口与 P0N 逻缉端口的映射关系添加 0而端口信息,并添加 0LT端口信息,转发上行 L2CP/DHCP/PPPoE 报文。 该实施例提供的一种 P0N系统的上行中继方法的处理流程如图 10所示, 包括如下 处理步骤:
步骤 101、 在 0而和 0LT上预先配置 0而端口与 P0N逻缉端口的映射关系;
步骤 102、 用户终端 /RG发起 DHCP/PPPoE报文;
步骤 103、 0而根据预先配置的 0而端口与 P0N逻缉端口映射关系, 将属于不同 0而端 口的 L2CP/DHCP/PPPoE报文在不同的 P0N逻缉端口上转发;
上述 0而转发的 L2CP/DHCP/PPPoE报文通过 P0N光纤到达主用 0LT1和备用 0LT2;
步骤 104、 备用 0LT2对 L2CP/DHCP/PPPoE报文进行缓存;
步骤 105、 光分配器 /EB与主用 0LT1间光纤故障或主用 0LT1故障, 主用 0LT光线路诊 断不正常;
步骤 106、 主用 0LT通过 L2CP报文上报光线路诊断结果;
步骤 107、 BNG感知光分配器 /EB与主用 0LT1间光纤故障或主用 0LT1故障, 对于 BNG感 知光分配器 /EB与主用 0LT1间光纤故障的情况, BNG将收到 L2CP报文上报的光线路诊断不 正常的结果, 对于 BNG感知主用 0LT1故障的情况, BNG则在规定时间内收不到 L2CP报文。 然后 BNG通过 L2CP启动主备倒换, 启动命令可以发给备用 0LT2和 /或主用 0LT1 ;
启动命令可以是启动整个主用 0LT的所有物理端口倒换到备用 0LT;也可以启动是仅 将光纤故障的物理端口由主用 0LT倒换到备用 0LT的物理端口,原来没有光纤故障的物理 端口仍保留在主用 0LT正常工作。
步骤 108、 备用 0LT2根据预先配置的 0而端口与 P0N逻缉端口映射关系, 对主备倒换 过程中缓存的来自不同 P0N逻缉端口的 L2CP/DHCP/PPPoE报文,添加不同的 0NU端口信息, 即添加 Option 1或 Option 3的 0而端口信息部分; 并添加 0LT端口信息, 即添加 Option 2; 注, 主备倒换过程之前和之后, 0LT都一直启用 0而和 0LT端口信息的添加功能; 步骤 109、 携带 ONU端口信息和 OLT端口信息的 L2CP/DHCP/PPPoE报文由备用 OLT转发 给 BNG, 从而保证主备倒换过程不丢包;
步骤 1010、 BNG根据 DHCP/PPPoE报文中携带的 Line Info (线路信息, 包括 0而端口 信息和 0LT端口信息) , 查找对应的用户名和 /或密码 (user name/pw) , 发起包含用户 名和密码的 Access Request (接入请求)报文到 AAA Server (认证、 授权、 计费服务器) 对用户进行认证;
或者, BNG发起包含 Line Info (线路信息) 的 Access Request (接入请求)报文到 AAA Server对用户进行认证;
步骤 1011、 用户认证成功后通过 Access Accept (接入接受)报文下发用户模板 (profile) 到 BNG, DHCP/PPPoE报文被接收和 /或转发。
该实施例可以使 P0N系统主备倒换不会导致 L2CP/DHCP/PPPoE上行业务中断;可以使 0而无需感知 0LT端口信息, 实现 0而端口信息与 0LT端口信息充分解耦。对于 GP0N及下一 代 GP0N, P0N逻缉端口为 GEM Port; 对于 EP0N及下一代 EP0N, P0N逻缉端口为 LLID或 MAC 地址所在端口。 实施例七
该实施例提供的一种 P0N系统的下行中继方法的处理流程如图 11所示, 包括如下处 理步骤:
111、 通过 L2CP或网管协议为主用 0LT1配置其备用 0LT2端口信息; 通常, 主用 0LT1 和备用 0LT2的 slot、 port配置成一致, 仅 Access-Node-Identif ier不同;
112、 BNG向用户发送下行的 L2CP/DHCP/PPPoE报文, 报文携带 0而端口信息和主用 0LT1端口信息, 即携带 Optionl和 0ption2, 或者携带 0ption3;
113、 光分配器 /延长器与主用 0LT1间发生光纤故障, 主用 0LT光线路诊断不正常, 主用 0LT1将缓存下行报文;
114、 主用 0LT通过 L2CP报文上报光线路诊断结果;
115、 BNG根据收到的 L2CP报文上报的光线路诊断不正常的结果, 感知光分配器 /延 长器与主用 0LT1间光纤故障。 BNG根据在规定时间内收不到 L2CP报文, 感知主用 0LT1故 障。
然后, BNG通过 L2CP报文启动主备倒换,启动命令可以发给备用 0LT2和 /或主用 0LT1 ; 116、 启动主用 OLT的端口转换功能; 主用 0LT1对主备倒换过程中缓存的
L2CP/DHCP/PPPoE报文修改 0LT端口信息, 即将 0ption2或 0ption3中原来主用 0LT端口信 息(如 0LT1和 slotl/portl )修改为备用 OLT端口信息(如 0LT2和 slot2/port2) ; 通常, 主用 0LT1和备用 0LT2的 slot、 port配置成一致, 仅 Access-Node-Identif ier不同需要修 改;
117、携带 0而端口信息和备用 0LT端口信息的 L2CP/DHCP/PPPoE报文由主用 0LT1给备 用 0LT2, 从而保证主备倒换过程不丢包; 主备倒换过程之后可关闭主用 0LT的端口转换 功能;
118、 备用 0LT2根据 L2CP/DHCP/PPPoE报文所携带的端口信息, 将 0LT端口(或者 0LT 端口加上 0而 ID信息)与相应的 IP地址 /前缀 /MAC地址进行绑定;
119、备用 0LT2在获取 L2CP/DHCP/PPPoE报文中的 P0N端口信息后, 去除报文的 0LT端 口信息, 即删除 Opt ion2或去除 Opt ion3中的 0LT端口信息 Acces s_Node_ID和
slotl/portl 然后, 根据报文所携带的 0LT端口信息将报文在相应 P0N物理端口和 GEM port/LLID进行; 其中, GEM port/LLID推荐为单播 GEM port/LLID;
1110、 携带用户所在的 0NU端口信息的 L2CP/DHCP/PPPoE报文被往相应的 0NU;
1111、 0而根据 DHCP/PPPoE报文所携带的 0而端口信息中的 atm/eth类型, 检查是否 其与实际的端口类型 (atm/eth)匹配, 若匹配则 0NU在获取报文中的 0NU端口信息后, 去 除 0NU端口信息, 即删除 Optionl或 0ption3, 将 DHCP/PPPoE报文在相应端口进行; 若不 匹配则丢弃该 DHCP/PPPoE报文 DHCP/PPPoE报文, 0而通过 0MCI/L2CP通知 0LT/BNG, 解除 0LT上 0LT端口(或者 0LT端口加上 0而 ID信息)与相应的 IP地址 /前缀 /MAC地址的绑定;
1112、 0而根据 DHCP/PPPoE报文所携带的 0而端口信息中的 atm/eth类型, 检查是否 其与实际的端口类型 (atm/eth)匹配, 若匹配则根据报文所携带的 0NU端口信息, 将 0NU 端口与相应的 IP地址 /前缀 /MAC地址进行绑定;
1113、 0而将上述 DHCP/PPPoE报文给相应的用户终端 /RG;
1114、 在主备倒换之后, BNG经备用 0LT2向用户发送 L2CP/DHCP/PPPoE报文, 报文 携带 0而端口信息和备用 0LT2端口信息。
该实施例可以实现在 P0N系统主备倒换过程中,仍然能否携带正确 0LT端口信息的下 行 L2CP/DHCP/PPPoE报文, 即使用该方法使 P0N系统主备倒换不会导致 L2CP/DHCP/PPPoE 下行业务中断。 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通 过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质 中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可 为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存储记忆体(Random Access Memory, RAM)等。
综上所述, 本发明实施例提出在 0LT支持 0LT端口转换的功能, 可以实现在 P0N系统 主备倒换过程中, 仍然能否携带正确 0LT端口信息的上行和下行的 L2CP/DHCP/PPPOE报 文, 不会导致 L2CP/DHCP/PPPoE上行和下行业务中断或中断时延最小。
本发明实施例可以实现 0而无需感知 0LT端口信息,利用 0而和 0LT分布式地添加或处 理 0而端口信息和 0LT端口信息, 实现 0而端口信息与 0LT端口信息充分解耦。
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范围。凡在本 发明的精神和原则之内所作的任何修改、等同替换、 改进等, 均包含在本发明的保护范 围内。

Claims

权利要求
1、 一种无源光网络 PON中的报文传输方法, 其特征在于, 包括:
接收光网络单元 0而发送过来的上行报文, 所述上行报文包括动态主机配置协议 DHCP或以太网承载点对点协议 PPPoE或层二控制协议 L2CP报文;
在发生主备倒换时, 将携带了端口信息的所述上行报文发送给宽带网络网关 BNG, 所述端口信息包括 0而端口信息和备用光网络终端 OLT端口信息, 以使得所述 BNG根据所 述端口信息对所述上行报文进行转发。
2、 根据权利要求 1所述的 P0N中的报文传输方法, 其特征在于, 所述在发生主备倒 换时, 将携带了端口信息的所述上行报文发送给 BNG, 具体包括:
在发生主备倒换时, 当所述 0而发送过来的上行报文中携带了 0而端口信息时, 在所 述上行报文中添加备用 0LT端口信息后, 将所述上行报文发送给 BNG。
3、 根据权利要求 1所述的 PON中的报文传输方法, 其特征在于, 所述在发生主备倒 换时, 将携带了端口信息的所述上行报文发送给 BNG, 具体包括:
在发生主备倒换时, 当所述 0而发送过来的上行报文中没有携带 0而端口和 0LT端口 信息时, 在所述上行报文中添加 0而端口和备用 0LT端口信息后, 将所述上行报文发送给 BNG。
4、 根据权利要求 1所述的 PON中的报文传输方法, 其特征在于, 所述在发生主备倒 换时, 将携带了端口信息的所述上行报文发送给 BNG, 具体包括:
在发生主备倒换时, 当所述 0而发送过来的上行报文中携带了 0而端口和主用 0LT端 口信息时, 将所述上行报文中的主用 0LT端口信息修改为备用 0LT端口信息后, 将所述上 行报文发送给 BNG。
5、 根据权利要求 1至 5所述的方法, 其特征在于, 所述方法还包括:
在发生主备倒换时, 接收主用 0LT发送过来的携带了 0而端口信息和备用 0LT端口信 息的下行报文,所述备用 0LT端口信息为所述主用 0LT将所述下行报文中原来携带的主用 0LT端口信息进行修改后得到的, 所述下行报文包括 L2CP或 DHCP或 PPPoE报文;
根据所述下行报文中的 0NU端口信息和备用 0LT端口信息, 对所述下行报文进行传 输。
6、 一种光网络单元 0而, 其特征在于, 包括: 端口信息添加模块,用于在上行报文中添加 0而端口信息或者添加 0而端口和光路终 结点 0LT端口信息后, 将所述上行报文传输给上行报文发送模块, 所述上行报文包括动 态主机配置协议 DHCP或以太网承载点对点协议 PPPoE或层二控制协议 L2CP报文;
上行报文发送模块,用于将所述端口信息添加模块传输过来的上行报文发送给 0LT。
7、 根据权利要求 6所述的 0而, 其特征在于, 所述的 0而还包括:
匹配检查模块, 用于获取 0LT发送过来的下行的 DHCP或 PPPoE报文中所携带的 0NU端 口类型信息, 检查所述 0而端口类型信息是否与 0而实际的端口类型相匹配;
下行报文处理模块,用于当所述匹配检查模块检查所述 0而端口类型信息与 0而实际 的端口类型相匹配时, 将所述 DHCP或 PPPoE报文在相应端口进行转发。
8、 根据权利要求 7所述的 0而, 其特征在于, 所述的 0而还包括:
端口绑定模块,用于在所述匹配检查模块检查所述 0而端口类型信息与 0而实际的端 口类型相匹配后, 根据所述下行的 DHCP或 PPPoE报文所携带的 0而端口信息和地址信息, 将 0而端口与相应的 IP地址或 IP地址前缀或 MAC地址进行绑定, 所述的地址信息包括: IP 地址或 IP地址前缀或媒体接入控制 MAC地址。
9、 根据权利要求 7或 8所述的 0而, 其特征在于, 所述的 0而还包括:
端口信息删除模块,用于在所述匹配检查模块检查所述 0而端口类型信息与 0而实际 的端口类型相匹配后, 删除所述下行的 DHCP或 PPPoE报文中的 0NU端口信息。
10、 一种光路终结点 0LT, 其特征在于, 包括:
上行报文接收模块, 用于接收光网络单元 0而发送过来的上行报文, 所述上行报文 包括动态主机配置协议 DHCP或以太网承载点对点协议 PPPoE或层二控制协议 L2CP报文, 将所述上行报文发送给端口信息携带模块;
端口信息携带模块, 用于在发生主备倒换时, 在所述上行报文接收模块发送过来的 上行报文中添加备用 0LT端口信息或 0而端口信息和备用 0LT端口信息后, 将所述上行报 文发送给上行报文发送模块, 在主备倒换过程之前和之后, 0LT都一直启用 0LT端口信息 的添加功能;
上行报文发送模块, 用于将所述端口信息携带模块发送过来的携带了 0而端口信息 和备用 0LT端口信息的上行报文发送给宽带网络网关 BNG, 以使得所述 BNG根据所述 0而端 口信息和备用 0LT端口信息对所述上行报文进行转发。
11、 根据权利要求 10所述的 0LT, 其特征在于, 所述端口信息携带模块, 具体包括: 第一接收模块, 用于接收所述上行报文接收模块发送过来的携带了 0NU端口信息的 上行报文;
第一添加模块, 用于在发生主备倒换时, 在所述携带 0而端口信息的上行报文中添 加备用 0LT端口信息,将所述添加了备用 0LT端口信息的上行报文发送给上行报文发送模 块;
12、 根据权利要求 10所述的 0LT, 其特征在于, 所述端口信息携带模块, 具体包括: 第二接收模块,用于接收所述上行报文接收模块发送过来的没有携带 0而端口和 0LT 端口信息的上行报文;
第二添加模块, 用于在发生主备倒换时, 在所述没有携带 0而端口和 0LT端口信息的 上行报文中添加 0而端口和备用 0LT端口信息,将所述添加了 0而端口和备用 0LT端口信息 的上行报文发送给上行报文发送模块;
13、 根据权利要求 10所述的 0LT, 其特征在于, 所述端口信息携带模块, 具体包括: 第三接收模块, 用于接收所述上行报文接收模块发送过来的携带了 0NU端口和主用
0LT端口信息的上行报文;
第三添加模块, 用于在发生主备倒换时, 将所述携带了 0而端口和主用 0LT端口信息 的上行报文中的主用 0LT端口信息修改为备用 0LT端口信息, 将所述主用 0LT端口信息修 改为备用 0LT端口信息的上行报文发送给上行报文发送模块。
14、 根据权利要求 10至 13任一所述的 0LT, 其特征在于, 所述 0LT还包括: 下行报文处理模块, 用于在主备倒换过程中, 由主用 0LT将 BNG发送过来的下行报文 中的主用 0LT端口信息修改为备用 0LT端口信息后, 将所述下行报文发送给备用 0LT, 所 述下行报文包括 DHCP或 PPPoE或 L2CP报文。
15、 根据权利要求 14所述的 0LT, 其特征在于, 所述 0LT还包括:
端口信息删除模块, 用于删除 BNG发送过来的下行报文中的 0LT端口信息; 端口绑定模块, 用于根据 BNG发送过来的下行报文所携带的 0LT端口信息和地址信 息,将 0LT端口与相应的 IP地址或 IP地址前缀或 MAC地址进行绑定,所述的地址信息包括: IP地址或 IP地址前缀或媒体接入控制 MAC地址。
PCT/CN2010/072708 2009-05-15 2010-05-13 无源光网络中的报文传输方法、装置和系统 WO2010130210A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910084241.8A CN101888324B (zh) 2009-05-15 2009-05-15 无源光网络中的报文传输方法、装置和系统
CN200910084241.8 2009-05-15

Publications (1)

Publication Number Publication Date
WO2010130210A1 true WO2010130210A1 (zh) 2010-11-18

Family

ID=43074057

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072708 WO2010130210A1 (zh) 2009-05-15 2010-05-13 无源光网络中的报文传输方法、装置和系统

Country Status (2)

Country Link
CN (1) CN101888324B (zh)
WO (1) WO2010130210A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2787684A1 (en) * 2011-12-20 2014-10-08 Huawei Technologies Co., Ltd. Method and device for protecting passive optical network (pon)
WO2020093737A1 (zh) * 2018-11-09 2020-05-14 深圳市中兴微电子技术有限公司 一种报文处理方法及装置、存储介质、光网络终端

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480479A (zh) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 一种业务处理方法和系统
CN102215124B (zh) * 2011-06-08 2013-06-05 华为技术有限公司 一种故障处理方法、汇聚节点及光网络保护系统
WO2012119439A1 (zh) * 2011-09-05 2012-09-13 华为技术有限公司 光网络系统的数据通信方法、光网络单元及系统
CN107205180B (zh) 2016-03-17 2021-01-15 华为技术有限公司 消息传输方法、中继设备及消息处理器
CN107040526A (zh) * 2017-03-24 2017-08-11 武汉长光科技有限公司 一种EPON系统中增加DHCP Option82字段的方法
CN110446123B (zh) * 2019-08-19 2022-01-11 深圳市双翼科技股份有限公司 无源光网络中olt端口的节能控制方法和系统
CN113497985B (zh) * 2020-04-01 2024-04-05 上海诺基亚贝尔股份有限公司 一种上报用户的mac更新的方法与装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007067601A (ja) * 2005-08-30 2007-03-15 Kddi Corp 光終端装置切替え方法
CN101150367A (zh) * 2007-11-08 2008-03-26 杭州华三通信技术有限公司 一种无源光网络olt设备的备份方法及设备
CN101350679A (zh) * 2007-07-18 2009-01-21 华为技术有限公司 基于以太网无源光网络的保护倒换方法、系统和设备
CN101374045A (zh) * 2007-08-21 2009-02-25 中兴通讯股份有限公司 一种在gpon接入设备上实现用户端口定位的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007067601A (ja) * 2005-08-30 2007-03-15 Kddi Corp 光終端装置切替え方法
CN101350679A (zh) * 2007-07-18 2009-01-21 华为技术有限公司 基于以太网无源光网络的保护倒换方法、系统和设备
CN101374045A (zh) * 2007-08-21 2009-02-25 中兴通讯股份有限公司 一种在gpon接入设备上实现用户端口定位的方法
CN101150367A (zh) * 2007-11-08 2008-03-26 杭州华三通信技术有限公司 一种无源光网络olt设备的备份方法及设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2787684A1 (en) * 2011-12-20 2014-10-08 Huawei Technologies Co., Ltd. Method and device for protecting passive optical network (pon)
EP2787684A4 (en) * 2011-12-20 2015-01-28 Huawei Tech Co Ltd METHOD AND DEVICE FOR PROTECTING PASSIVE OPTICAL NETWORK (PON)
WO2020093737A1 (zh) * 2018-11-09 2020-05-14 深圳市中兴微电子技术有限公司 一种报文处理方法及装置、存储介质、光网络终端

Also Published As

Publication number Publication date
CN101888324B (zh) 2013-02-13
CN101888324A (zh) 2010-11-17

Similar Documents

Publication Publication Date Title
WO2010130210A1 (zh) 无源光网络中的报文传输方法、装置和系统
JP5096639B2 (ja) 受動光ネットワークにおいてipv6プロトコルメッセージを送信する方法、システム、及び装置
US8306025B2 (en) Method for implementing subscriber port positioning by broadband access equipments
US7860121B2 (en) Forwarding loop prevention apparatus and methods
US8917723B2 (en) Method, device, and system for processing IPv6 packet
US8630183B2 (en) Packet transfer system
WO2012163178A1 (zh) 边缘节点的分配方法和装置及边缘节点控制器
WO2008145033A1 (fr) Multiplexeur d'accès de ligne d'abonné numérique, unité de réseau optique, terminaison de ligne optique et station de base
CN101374045B (zh) 一种在gpon接入设备上实现用户端口定位的方法
WO2011022966A1 (zh) 汇聚节点联动切换方法及汇聚节点和系统
WO2011095040A1 (zh) 无缝多协议标签交换网络中标签分配方法、装置和系统
JP2008507159A (ja) イーサネット(登録商標)受動光ネットワークにおけるl3−アウェアスイッチングの方法と装置
WO2007076671A1 (fr) Procédé de régulation du flux multidiffusion, dispositif et système d'un réseau optique passif
WO2013177736A1 (zh) 光网络终端管理控制接口报文传递方法、系统及相应的设备
WO2012119439A1 (zh) 光网络系统的数据通信方法、光网络单元及系统
WO2006122502A1 (fr) Méthode de transmission de message en couche 2 et dispositif d’accès
WO2010028588A1 (zh) 组播的切换方法及系统
WO2011038591A1 (zh) 一种无源光网络的主备切换方法、装置和系统
US11902183B2 (en) Message transmission method, access node, access controller, and access system
JP2009267987A (ja) 局側装置、ponシステムおよびホームゲートウェイ装置
WO2012136089A1 (zh) 一种无源光网络环路检测方法及系统
US9912649B1 (en) Systems and methods for facilitating communication between an authentication client and an authentication server
WO2017012443A2 (zh) 消息传输方法、接入节点、接入控制器及接入系统
WO2022130567A1 (ja) 通信装置及び通信方法
WO2012097646A1 (zh) 组播业务的隔离方法和装置

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: 10774551

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: 10774551

Country of ref document: EP

Kind code of ref document: A1