Message forwarding method and device
By controlling the forward error correction switch between the optical line terminal and the optical network unit in the XGS-PON network and selectively performing error correction based on traffic characteristics and bandwidth allocation information, the transmission overhead problem of the XGS-PON network is solved and the effective bandwidth and link quality of the network are improved.
Patent Information
- Application Number
- CN202411366324.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-09-27
AI Technical Summary
How to reduce the uplink and downlink transmission overhead of XGS-PON network and increase the effective bandwidth of network transmission.
By controlling the forward error correction switch between the optical line terminal and the optical network unit at the granularity of transmission containers, different forward error correction and bandwidth types are determined according to the burst parameter control information and bandwidth allocation information sent by the optical line terminal. According to the specific traffic characteristics and destination media access control address of the Ethernet message, forward error correction coding and encapsulation processing are selectively performed.
The effective bandwidth of network transmission between the optical line terminal and the optical network unit is improved, meeting the different needs of different users for network link quality and reliability.
Smart Images

Figure CN119254383B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technology, and in particular to a message forwarding method and device. Background Art
[0002] In an XGS-PON (10Gigabit Symmetrical Passive Optical Network) network, Ethernet packets are encapsulated in XGEM (eXtended GEM (GPON Encapsulation Method), also known as extended GEM or enhanced GEM) frames and forwarded between the optical line terminal (OLT) and optical network unit (ONU). XGS-PON networks offer both uplink and downlink rates of 9.953Gbit / s. Lowering the transmission overhead for both uplink and downlink transmissions increases the effective bandwidth for users.
[0003] How to reduce the uplink and downlink transmission overhead of the XGS-PON network and increase the effective bandwidth of network transmission has become a technical problem that needs to be solved urgently. Summary of the Invention
[0004] The present invention provides a message forwarding method and device to improve the effective transmission bandwidth of an XGS-PON network.
[0005] According to a first aspect of an embodiment of the present invention, a message forwarding method is provided, which is applied to an optical network unit, and the method includes:
[0006] Determining, based on the burst parameter control information sent by the optical line terminal, a first type burst parameter for enabling forward error correction and a second type burst parameter for disabling forward error correction;
[0007] Determining, according to the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using the first type burst parameter and a second bandwidth using the second type burst parameter;
[0008] For a received uplink Ethernet message, determining, based on a specific traffic feature of the uplink Ethernet message, a data transmission logical port identifier that matches the specific traffic feature, and determining, based on a transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth;
[0009] and, transcapsulating the uplink Ethernet message into an XGEM frame, and encapsulating the XGEM frame into a framing sublayer burst;
[0010] When the uplink Ethernet message uses the first bandwidth, perform forward error correction coding on the framing sublayer burst, encapsulate the coded framing sublayer burst into an uplink PHY burst, and forward the uplink PHY burst;
[0011] In the case where the uplink Ethernet message uses the second bandwidth, the framing sublayer burst is encapsulated into an uplink PHY burst, and the uplink PHY burst is forwarded.
[0012] According to a second aspect of an embodiment of the present invention, a message forwarding method is provided, which is applied to an optical line terminal. The method includes:
[0013] For the received downlink Ethernet message, determining a corresponding data transmission logical port identifier according to the destination media access control address of the downlink Ethernet message;
[0014] Determining whether forward error correction is enabled in the downlink direction according to the transmission container identifier associated with the determined data transmission logical port identifier;
[0015] transcapsulating the downlink Ethernet message into an XGEM frame, and encapsulating the XGEM frame into a framing sublayer frame, wherein the XGEM frame includes the data transmission logical port identifier;
[0016] When it is determined that forward error correction is enabled in the downlink direction, performing forward error correction coding processing on the framing sublayer frame, encapsulating the coded framing sublayer frame into a downlink PHY frame, and performing broadcast forwarding processing on the obtained downlink PHY frame;
[0017] When it is determined that forward error correction is disabled in the downlink direction, encapsulating the framing sublayer frame into a downlink PHY frame and performing broadcast forwarding processing on the downlink PHY frame;
[0018] The downlink PHY frame includes a parameter for indicating whether forward error correction is enabled in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit receiving the XGEM frame to process the XGEM frame when determining that the data transmission logical port identifier is the data transmission logical port identifier of the device.
[0019] According to a third aspect of an embodiment of the present invention, a message forwarding device is provided, which is deployed in an optical network unit, and the device includes:
[0020] A first determining unit is configured to determine a first type burst parameter for enabling forward error correction and a second type burst parameter for disabling forward error correction according to burst parameter control information sent by the optical line terminal;
[0021] The first determining unit is configured to determine, according to the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using the first type burst parameter and a second bandwidth using the second type burst parameter;
[0022] a second determining unit, configured to determine, for a received uplink Ethernet message, a data transmission logical port identifier matching the specific traffic feature according to the specific traffic feature of the uplink Ethernet message, and determine, based on a transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth;
[0023] an encapsulation unit, configured to transcapsulate the uplink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer burst;
[0024] an encoding and decoding unit, configured to perform forward error correction encoding processing on the framing sublayer burst when the uplink Ethernet message uses the first bandwidth;
[0025] The encapsulation unit is further configured to encapsulate the framing sublayer burst after the coding process into an uplink PHY burst;
[0026] a communication unit, configured to forward the uplink PHY burst;
[0027] The encapsulation unit is further configured to encapsulate the framing sublayer burst into an uplink PHY burst when the uplink Ethernet message uses the second bandwidth;
[0028] The communication unit is further configured to forward the uplink PHY burst.
[0029] According to a fourth aspect of an embodiment of the present invention, a message forwarding device is provided, which is deployed in an optical line terminal, and the device includes:
[0030] a determining unit, configured to determine, for a received downlink Ethernet message, a corresponding data transmission logical port identifier according to a destination media access control address of the downlink Ethernet message;
[0031] The determining unit is further configured to determine whether forward error correction is enabled in the downlink direction based on the transmission container identifier associated with the determined data transmission logical port identifier;
[0032] an encapsulation unit, configured to transcapsulate the downlink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer frame, wherein the XGEM frame includes the data transmission logical port identifier;
[0033] an encoding and decoding unit, configured to perform forward error correction encoding processing on the framing sublayer frame when it is determined that forward error correction is enabled in the downlink direction;
[0034] The encapsulation unit is further configured to perform downlink PHY frame encapsulation on the framing sublayer frame after the coding process;
[0035] A communication unit, configured to perform broadcast forwarding processing on the obtained downlink PHY frame;
[0036] The encapsulation unit is further configured to perform downlink PHY frame encapsulation on the framing sublayer frame when it is determined that forward error correction is disabled in the downlink direction;
[0037] The communication unit is further configured to perform broadcast forwarding processing on the downlink PHY frame;
[0038] The downlink PHY frame includes a parameter for indicating whether forward error correction is enabled in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit receiving the XGEM frame to process the XGEM frame when determining that the data transmission logical port identifier is the data transmission logical port identifier of the device.
[0039] By applying the technical solution disclosed in the present invention, in the uplink direction, the optical network unit determines the first type of burst parameter for enabling forward error correction and the second type of burst parameter for disabling forward error correction according to the burst parameter control information sent by the optical line terminal; determines the first bandwidth using the first type of burst parameter and the second bandwidth using the second type of burst parameter according to the bandwidth allocation control information sent by the optical line terminal; based on this, for the received uplink Ethernet message, determines the data transmission logical port identifier that matches the specific traffic feature according to the specific traffic feature of the uplink Ethernet message, and determines the data transmission logical port identifier that matches the specific traffic feature according to the data transmission logical port identifier. The method comprises the following steps: first, a transmission container identifier associated with the edit port identifier, determining whether the uplink Ethernet message uses the first bandwidth or the second bandwidth, and transcapsulating the uplink Ethernet message into an XGEM frame, and encapsulating the XGEM frame into a framing sublayer burst; when the uplink Ethernet message uses the first bandwidth, performing forward error correction coding on the framing sublayer burst, encapsulating the coded framing sublayer burst into an uplink PHY burst, and forwarding the uplink PHY burst; when the uplink Ethernet message uses the second bandwidth, encapsulating the framing sublayer burst into an uplink PHY burst, and forwarding the uplink PHY burst.
[0040] In the downstream direction, the optical line terminal determines the corresponding data transmission logical port identifier for the received downstream Ethernet message based on the destination media access control address of the downstream Ethernet message; determines whether forward error correction is enabled in the downstream direction based on the transmission container identifier associated with the determined data transmission logical port identifier; transcapsulates the downstream Ethernet message into an XGEM frame, and encapsulates the XGEM frame into a framing sub-layer frame; if it is determined that forward error correction is enabled in the downstream direction, performs forward error correction coding on the framing sub-layer frame, encapsulates the coded framing sub-layer frame into a downstream PHY frame, and broadcasts and forwards the obtained downstream PHY frame; if it is determined that forward error correction is disabled in the downstream direction, encapsulates the framing sub-layer frame into a downstream PHY frame, and broadcasts and forwards the downstream PHY frame.
[0041] By controlling the forward error correction switch between the optical line terminal and the optical network unit at the transmission container granularity, the flexibility of forward error correction switch control is improved. While improving the effective bandwidth of network transmission between the optical line terminal and the optical network unit, the different needs of different users for network link quality and reliability are met. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a flow chart of a message forwarding method provided by an embodiment of the present invention;
[0043] Figure 2 This is a flow chart of a message forwarding method provided by an embodiment of the present invention;
[0044] Figure 3 is a schematic diagram of a specific application scenario provided by an embodiment of the present invention;
[0045] Figure 4A This is a schematic diagram of an uplink Ethernet message forwarding process with FEC enabled, provided by an embodiment of the present invention;
[0046] Figure 4B This is a schematic diagram of an uplink Ethernet message forwarding process with FEC disabled, provided by an embodiment of the present invention;
[0047] Figure 5A This is a schematic diagram of downlink Ethernet message forwarding processing with FEC enabled, provided by an embodiment of the present invention;
[0048] Figure 5B This is a schematic diagram of downlink Ethernet message forwarding processing with FEC disabled, provided by an embodiment of the present invention;
[0049] Figure 6 This is a structural diagram of a message forwarding device provided by an embodiment of the present invention;
[0050] Figure 7It is a structural diagram of a message forwarding device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following briefly describes the uplink and downlink transmission overheads of the XGS-PON network.
[0052] The upstream transmission overhead of the XGS-PON network mainly includes: upstream burst message overhead, inter-burst overhead, control message overhead and redundancy error correction overhead. The downstream transmission overhead mainly includes: message overhead, control message overhead and redundancy error correction overhead.
[0053] Research has found that optimizing redundant error correction overhead can significantly increase effective bandwidth and provide the most significant improvement. In scenarios where link quality is good or packet loss is insensitive, but bandwidth requirements are high, disabling FEC can improve traffic throughput and increase effective network bandwidth.
[0054] In order to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
[0055] See Figure 1 , is a flow chart of a message forwarding method provided by an embodiment of the present invention, wherein the traffic forwarding method can be applied to an optical network unit (ONU) in an XGS-PON network, such as Figure 1 As shown, the message forwarding method may include the following steps:
[0056] Step 101: Determine a first type burst parameter for enabling forward error correction and a second type burst parameter for disabling forward error correction according to burst parameter control information sent by an optical line terminal.
[0057] In the embodiment of the present invention, the OLT may determine burst parameters for enabling forward error correction (FEC) (referred to as first type burst parameters) and burst parameters for disabling FEC (referred to as second type burst parameters) based on configuration information.
[0058] The OLT may notify the ONU of the first type burst parameters and the second type burst parameters through the burst parameter control information.
[0059] For example, the OLT may periodically send a PLOAM (Physical Layer Operations, Administration, and Maintenance) burst profile message, which may indicate a first type burst parameter and a second type burst parameter.
[0060] The ONU can perform burst parameter learning based on the received PLOAM burst profile message to determine the first type burst parameters for enabling FEC and the second type burst parameters for disabling FEC.
[0061] Step 102: Determine a first bandwidth using a first type of burst parameter and a second bandwidth using a second type of burst parameter according to bandwidth allocation control information sent by the optical line terminal.
[0062] In the embodiment of the present invention, the OLT may determine, according to the configuration information, a bandwidth using the first type of burst parameters (which may be referred to as a first bandwidth) and a bandwidth using the second type of burst parameters (which may be referred to as a second bandwidth).
[0063] Exemplarily, relevant personnel may determine whether the bandwidth uses the first type burst parameter or the second type burst parameter according to actual services corresponding to the allocated bandwidth.
[0064] For example, for the bandwidth allocated to the DHCP service, the first type of burst parameter may be used; for the bandwidth allocated to the video data service, the second type of burst parameter may be used.
[0065] During bandwidth allocation for the ONU, the OLT may notify the ONU, through bandwidth allocation control information, to use a first bandwidth of a first type of burst parameter and a second bandwidth of a second type of burst parameter.
[0066] The ONU may determine, according to the bandwidth allocation control information sent by the OLT, a first bandwidth using the first type of burst parameters and a second bandwidth using the second type of burst parameters.
[0067] In one example, the bandwidth allocation control information includes a bandwidth mapping table (Bandwidth Map, BWMap for short). The bandwidth mapping table includes at least one allocation structure. The allocation structure includes a bandwidth allocation identifier and a burst parameter index. The burst parameter index is used to identify a burst parameter type.
[0068] The determining, based on the bandwidth allocation control information sent by the optical line terminal, of the first bandwidth using the first type burst parameter and the second bandwidth using the second type burst parameter may include:
[0069] Querying an allocation structure of a first type of burst parameter corresponding to a burst parameter index included in the bandwidth mapping table, and determining a first bandwidth based on a bandwidth corresponding to a bandwidth allocation identifier included in the allocation structure;
[0070] as well as,
[0071] An allocation structure including a burst parameter index corresponding to a second type of burst parameter is searched from the bandwidth mapping table, and the second bandwidth is determined by the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure.
[0072] Step 103: For the received uplink Ethernet message, determine a data transmission logical port identifier that matches the specific traffic feature based on the specific traffic feature of the uplink Ethernet message, and determine whether the uplink Ethernet message uses the first bandwidth or the second bandwidth based on the transmission container identifier associated with the data transmission logical port identifier.
[0073] In the embodiment of the present invention, when the ONU receives an upstream Ethernet message, it can determine a data transmission logical port identifier (which can be recorded as GEMPORTID) that matches the specific traffic feature based on the specific traffic feature in the upstream Ethernet message.
[0074] Optionally, the specific traffic feature may include one or more features such as a port (message inbound port), a VLAN (Virtual Local Area Network) ID, and a VLAN priority.
[0075] The ONU may determine a transmission container identifier (Transmission Container ID, T-CONT ID for short) associated with the GEMPORT ID according to the determined GEMPORT ID, and determine the bandwidth used by the uplink Ethernet message according to the T-CONT ID.
[0076] Exemplarily, the OLT can determine the correspondence between the specific traffic characteristics of the Ethernet message and the GEMPORT ID based on the configuration information, determine the association between the GEMPORT ID and the T-CONT ID, and notify the ONU of the correspondence between the specific traffic characteristics and the GEMPORT ID, as well as the association between the GEMPORT ID and the T-CONT ID.
[0077] In an example, determining whether the uplink Ethernet packet uses the first bandwidth or the second bandwidth based on the transmission container identifier associated with the data transmission logical port identifier may include:
[0078] Determine, based on the transmission container identifier associated with the data transmission logical port identifier, a bandwidth allocation identifier corresponding to the transmission container identifier;
[0079] In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the first type of burst parameter, determining that the uplink Ethernet message uses the first bandwidth;
[0080] In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the second type burst parameter, it is determined that the uplink Ethernet message uses the second bandwidth.
[0081] Step 104: transcapsulate the uplink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer burst.
[0082] In the embodiment of the present invention, when a GEMPORT ID matching a specific traffic feature of an upstream Ethernet message is determined, the ONU can transcapsulate the upstream Ethernet message into an XGEM frame based on the GEMPORT ID, and encapsulate the obtained XGEM frame into a framing sub-layer (FS) burst.
[0083] Optionally, an FS burst may include one or more XGEM frames.
[0084] Step 105: When the uplink Ethernet message uses the first bandwidth, perform forward error correction coding on the framing sublayer burst, encapsulate the coded framing sublayer burst into an uplink PHY burst, and forward the uplink PHY burst.
[0085] Step 106: When the uplink Ethernet message uses the second bandwidth, encapsulate the XGEM frame into an uplink PHY burst, and forward the uplink PHY burst.
[0086] In the embodiment of the present invention, when it is determined that the uplink Ethernet message uses the first bandwidth in the above manner, the ONU may perform FEC encoding on the FS burst, encapsulate the encoded FS burst into an uplink PHY burst, and forward the uplink PHY burst.
[0087] When it is determined in the above manner that the upstream Ethernet message uses the second bandwidth, the ONU does not need to perform FEC encoding on the FS burst. In this case, the ONU can encapsulate the FS burst into an upstream PHY burst and forward the upstream PHY burst.
[0088] In an example, for the received upstream PHY, the OLT may determine the corresponding T-CONT ID according to the time when the upstream PHY burst is received, and determine whether the upstream direction is FEC according to the T-CONT ID.
[0089] When FEC is enabled in the upstream direction, the OLT can perform FEC decoding on the FS burst in the upstream PHY burst and forward the XGEM frames in the decoded FS burst.
[0090] When forward error correction is disabled in the uplink direction, the XGEM frame in the FS burst in the uplink PHY burst is forwarded.
[0091] See Figure 2 , which is a flow chart of a message forwarding method provided by an embodiment of the present invention, wherein the traffic forwarding method can be applied to an optical line terminal (OLT) in an XGS-PON network, such as Figure 2 As shown, the message forwarding method may include the following steps:
[0092] Step 201: For a received downlink Ethernet message, determine a corresponding data transmission logical port identifier according to a destination media access control address of the downlink Ethernet message.
[0093] In the embodiment of the present invention, when the OLT receives a downstream Ethernet message, it can query the MAC address table according to the destination Media Access Control (MAC) address of the downstream Ethernet message to determine the corresponding GEMPORT ID.
[0094] During the upstream message forwarding process, the OLT can learn the mapping relationship between the GEMPORT ID carried in the XGEM frame and the source MAC address of the Ethernet message in the XGEM frame based on the received upstream PHY burst sent by the ONU, and generate a corresponding MAC address table entry.
[0095] Step 202: Determine whether forward error correction is enabled in the downlink direction based on the transmission container identifier associated with the determined data transmission logical port identifier.
[0096] In the embodiment of the present invention, the OLT may determine the associated T-CONT ID according to the determined GEMPORT ID, and determine whether to enable FEC in the downstream direction according to the determined T-CONT ID.
[0097] Optionally, the OLT may determine the T-CONT with FEC enabled and the T-CONT with FEC disabled according to the configuration information.
[0098] Step 203: transcapsulate the downlink Ethernet message into an XGEM frame, and then encapsulate the XGEM frame into a framing sublayer frame; wherein the XGEM frame includes a data transmission logical port identifier.
[0099] In the embodiment of the present invention, when the GEMPORT ID corresponding to the destination MAC address of the downstream Ethernet message is determined, the downstream Ethernet message can be transcapsulated into an XGEM frame according to the GEMPORT ID, and the XGEM frame can be encapsulated into an FS frame.
[0100] The XGEM frame includes a GEMPORT ID.
[0101] Step 204: When it is determined that forward error correction is enabled in the downlink direction, forward error correction coding is performed on the framing sublayer frame, downlink PHY frame encapsulation is performed on the coded framing sublayer frame, and broadcast forwarding is performed on the obtained downlink PHY frame.
[0102] In the embodiment of the present invention, when it is determined that FEC is enabled in the downlink direction according to the above method, the FS frame can be FEC-encoded, the FS frame after the encode processing is encapsulated in a downlink PHY frame, and the downlink PHY frame after the encode processing is broadcast forwarded.
[0103] Step 205: When it is determined that forward error correction is disabled in the downlink direction, the framing sublayer frame is encapsulated into a downlink PHY frame, and the downlink PHY frame is broadcast forwarded.
[0104] In an embodiment of the present invention, when it is determined that FEC is disabled in the downlink direction according to the above method, it is not necessary to perform FEC encoding on the FS frame. That is, when FEC encoding is not performed on the FS frame, the FS frame is encapsulated in a downlink PHY frame, and the obtained downlink PHY frame is broadcast forwarded.
[0105] The downlink PHY frame includes parameters for indicating whether FEC is enabled in the downlink direction, such as DS FEC (Downstream FEC).
[0106] In an example, a downlink PHY frame may include an FS frame. The parameter for indicating whether FEC is enabled in the downlink direction may be included in the frame header of the downlink PHY frame.
[0107] In one example, for a received downlink PHY frame, determining whether FEC is enabled in the downlink direction according to a parameter included in the downlink PHY frame and used to indicate whether FEC is enabled in the downlink direction;
[0108] When forward error correction is enabled in the downlink direction, for the framing sublayer frame in the downlink PHY frame, perform forward error correction decoding on the framing sublayer frame; for any XGEM frame in the decoded framing sublayer frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device, perform forwarding processing on the XGEM frame;
[0109] When forward error correction is disabled in the downlink direction, for any XGEM frame in the framing sublayer frame in the downlink PHY frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device, forwarding processing is performed on the XGEM frame.
[0110] It should be noted that, in an embodiment of the present invention, if the OLT fails to find the corresponding GEMPORT ID based on the destination MAC address of the downstream Ethernet message, the OLT may transcapsulate the downstream Ethernet message based on the GEMPORT ID corresponding to the broadcast message, encapsulate the obtained XGEM frame into an FS frame, and determine whether FEC encoding needs to be performed on the FS frame based on a pre-set policy. The specific implementation thereof will not be described in detail here.
[0111] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present invention, the technical solutions provided by the embodiments of the present invention are described below in conjunction with specific application scenarios.
[0112] See Figure 3 , which is a schematic diagram of a specific application scenario provided by an embodiment of the present invention, such as Figure 3 As shown, in this application scenario, OLT 310 can be connected to one or more ONUs (taking one ONU 320 as an example in the figure) through the same port or different ports (the specific ports are not shown in the figure). OLT 310 and ONU 320 are connected via optical fiber. OLT 310 can also be connected to a network end, such as a core switching network, via Ethernet, and ONU 320 can be connected to a user end via Ethernet.
[0113] In this embodiment, in order to improve the effective bandwidth of network transmission between the OLT and the ONU, the FEC between the OLT and the ONU is controlled to be on or off according to the T-CONT granularity.
[0114] Based on specific traffic characteristics in the data traffic, such as one or more of the port, VLAN, and VLAN priority, data traffic can be mapped to different GEMPORTs, and the GEMPORTs can be mapped to T-CONTs. FEC can be enabled or disabled for the T-CONT to achieve FEC switch control at the T-CONT granularity.
[0115] For example, for data traffic that is insensitive to link packet errors, the corresponding T-CONT can disable FEC to increase the effective network transmission bandwidth. For data traffic that requires high link quality stability and guarantees packet transmission reliability, the corresponding T-CONT can enable FEC to ensure transmission quality.
[0116] The technical solutions provided by the embodiments of the present invention are described below with reference to specific examples.
[0117] Assume that a company's intranet needs to use a DHCP server to allocate IP addresses for its office and production equipment. The company also operates its own media and needs to upload video files to the cloud for sharing.
[0118] Analysis revealed that the enterprise has two types of service data traffic requirements: DHCP message forwarding, which requires high reliability and low packet loss; and video data UDP messages, which require high bandwidth and low latency. To increase UDP message traffic bandwidth, FEC can be disabled when forwarding UDP messages.
[0119] To meet the above business requirements, you can configure the following:
[0120] 1. Add different traffic characteristics to the enterprise's Class 2 service traffic. For example, DHCP packets carry VLAN ID 100, and UDP packets carry VLAN ID 200.
[0121] 2. On the OLT side, configure packets carrying VLAN 100 to be forwarded by GEMPORT 1024 and packets carrying VLAN 200 to be forwarded by GEMPORT 1025. Add GEMPORT 1024 to T-CONT 1 and GEMPORT 1025 to T-CONT 2.
[0122] The OLT may notify the ONU of the mapping relationship between the VLAN ID and the GEMPORT ID, and the mapping relationship between the GEMPORT ID and the T-CONTID.
[0123] Based on the above configuration, FEC switch control for T-CONT can be implemented.
[0124] Uplink direction:
[0125] S1. The OLT periodically sends PLOAM burst profile messages, and the ONUs receive and learn the burst parameters carried in the messages.
[0126] Here, it is assumed that the Up FEC indication in burst profile 0 is on, that is, burst profile 0 turns on FEC (burst profile 0 is the first type burst parameter mentioned above); the Up FEC indication in burst profile 1 is off, that is, burst profile 1 turns off FEC (burst profile 1 is the second type burst parameter mentioned above).
[0127] Based on the received PLOAM burst profile messages, the ONU can learn that burst profile 0 enables FEC and burst profile 1 disables FEC.
[0128] S2. The OLT configures T-CONT 1 to enable FEC and T-CONT 2 to disable FEC. It also maps T-CONT 1 to Alloc 1024 and T-CONT 2 to Alloc 1025.
[0129] It should be noted that the OLT device will send the mapping relationship between the T-CONT ID and the Alloc-ID (bandwidth allocation identifier) to the ONU device.
[0130] Based on the above configuration, the ONU corresponding to T-CONT ID 1 responds to the bandwidth and enables the FEC function. Therefore, in the BWMap included in the bandwidth allocation control information, the burst profile index (burst parameter index) for enabling FEC is selected in the allocation structure corresponding to Alloc-ID 1024. The burst profile index is 0, indicating that the bandwidth corresponding to Alloc-ID 1024 uses burst profile 0.
[0131] The ONU corresponding to T-CONT ID 2 responds to the bandwidth request with FEC disabled. Therefore, in the BWMap included in the bandwidth allocation control information, the burst profile index for FEC is selected in the allocation structure corresponding to Alloc-ID 1025. The burst profile index is 1, indicating that the bandwidth corresponding to Alloc-ID 1025 uses burst profile 1.
[0132] S3. For upstream Ethernet packets, the ONU can determine the burst profile used for the allocated bandwidth based on the learned burst parameter information and the BWMap in the bandwidth allocation control information sent by the OLT.
[0133] Example 1: Figure 4A As shown, assuming that the VLAN ID carried in the upstream Ethernet message 411 received by ONU320 is VLAN 100, ONU320 can determine that the GEMPORT ID matching VLAN 100 is GEMPORT 1024 based on the mapping relationship between VLAN ID and GEMPORT ID, and determine that the T-CONT ID associated with GEMPORT 1024 is T-CONT 1 based on the mapping relationship between GEMPORT ID and T-CONT ID. Further, based on the mapping relationship between T-CONT ID and Alloc-ID, determine that the Alloc-ID corresponding to T-CONT 1 is Alloc 1024.
[0134] The ONU can query the allocation structure including the Alloc-ID in the BWMap based on Alloc 1024 and determine that the burst profile index included in the allocation structure is 0 (the corresponding burst parameter is burst profile 0). Since the ONU learns through burst parameter learning that burst profile 0 enables FEC, the ONU can determine that FEC encoding needs to be performed on the upstream Ethernet message 411.
[0135] Accordingly, the ONU 320 can transcapsulate the upstream Ethernet message 411 into an XGEM frame 412 , encapsulate the XGEM frame 412 into an FS burst 413 , perform FEC encoding on the FS burst 413 through the FEC encoding and decoding module 321 , and encapsulate the obtained encoded FS burst 4131 into an upstream PHY burst 414 .
[0136] It should be noted that an uplink PHY burst may include one or more FS bursts, and an FS burst may include one or more XGEM frames.
[0137] Example 2: Figure 4B As shown, assuming that the VLAN ID carried in the upstream Ethernet message 421 received by ONU320 is VLAN 200, the ONU can determine that the GEMPORT ID matching VLAN 200 is GEMPORT 1025 based on the mapping relationship between the VLAN ID and the GEMPORT ID, and determine that the T-CONT ID associated with GEMPORT 1025 is T-CONT 2 based on the mapping relationship between the GEMPORT ID and the T-CONT ID. Further, based on the mapping relationship between the T-CONT ID and the Alloc-ID, determine that the Alloc-ID corresponding to T-CONT 2 is Alloc 1025.
[0138] The ONU can query the allocation structure including the Alloc-ID in the BWMap based on Alloc 1025, and determine that the burst profile index included in the allocation structure is 1 (the corresponding burst parameter is burst profile 1). Since the ONU learns through burst parameter learning that burst profile 1 disables FEC, the ONU can determine that FEC encoding does not need to be performed on the upstream Ethernet message 421.
[0139] Accordingly, the ONU may transcapsulate the upstream Ethernet message 421 into an XGEM frame 422 , encapsulate the XGEM frame 422 into an FS burst 423 , and encapsulate the obtained FS burst 423 into an upstream PHY burst 424 .
[0140] S4. For the received uplink PHY burst, the OLT may determine the corresponding T-CONT ID based on the time when the uplink PHY burst is received, and determine whether to enable FEC in the uplink direction based on the T-CONT ID.
[0141] When FEC is enabled in the uplink direction, FEC decoding is performed on the FS burst in the uplink PHY burst, and the XGEM frames in the decoded FS burst are forwarded.
[0142] When FEC is disabled in the uplink direction, the XGEM frames in the FS burst in the uplink PHY burst are forwarded.
[0143] Downlink direction:
[0144] S1. For a downstream Ethernet message, the OLT can query the MAC address table according to the destination MAC address of the downstream Ethernet message to determine the corresponding GEMPORT ID.
[0145] S2. Determine whether to enable FEC in the downstream direction based on the T-CONT ID associated with the GEMPORT ID.
[0146] S3. Transcapsulate the downlink Ethernet message into an XGEM frame, and then encapsulate the XGEM frame into an FS frame.
[0147] S4. When it is determined that FEC is enabled in the downlink direction, FEC encoding is performed on the FS frame, downlink PHY frame encapsulation is performed on the encoded FS frame, and the obtained downlink PHY frame is broadcast forwarded.
[0148] S5. When it is determined that FEC is disabled in the downlink direction, the FS frame is encapsulated into a downlink PHY frame, and the obtained downlink PHY frame is broadcast forwarded.
[0149] Example 3: Figure 5A As shown, OLT 310 receives downstream Ethernet packet 511. OLT 310 can query the MAC table based on the destination MAC address of downstream Ethernet packet 511 to determine the corresponding GEMPORT ID. Assuming that the GEMPORT ID determined by OLT 310 is GEMPORT 1024, the OLT can determine that the T-CONT ID associated with GEMPORT 1024 is T-CONT 1 based on the mapping relationship between GEMPORT IDs and T-CONT IDs.
[0150] Since FEC is enabled in T-CONT1, OLT 310 determines that FEC encoding needs to be performed on the downstream Ethernet packet 511.
[0151] Accordingly, OLT 310 may transcode the downstream Ethernet message 511 into an XGEM frame 512, encapsulate the XGEM frame 512 into an FS frame 513, perform FEC encoding on the FS frame 513 through the FEC encoding and decoding module 311 to obtain an encoded FS frame 5131, and encapsulate the encoded FS frame 5131 to obtain a downstream PHY frame 514.
[0152] The XGEM frame 512 carries the GEMPORT 1024 .
[0153] The downlink PHY frame 514 carries parameters for indicating that FEC is enabled in the downlink direction, such as DS FEC.
[0154] Example 4: Figure 5B As shown, OLT 310 receives downstream Ethernet packet 521. OLT 320 can query the MAC table based on the destination MAC address of downstream Ethernet packet 511 to determine the corresponding GEMPORT ID. Assuming that the GEMPORT ID determined by OLT 310 is GEMPORT 1025, the OLT can determine that the T-CONT ID associated with GEMPORT 1025 is T-CONT 2 based on the mapping relationship between GEMPORT IDs and T-CONT IDs.
[0155] Since FEC is disabled in T-CONT2, OLT 310 determines that it is not necessary to perform FEC encoding processing on the downstream Ethernet packet 521.
[0156] Accordingly, the OLT 310 may transcapsulate the downstream Ethernet message 521 into an XGEM frame 522 , and encapsulate the XGEM frame 522 into an FS frame 523 , and encapsulate the obtained FS frame 523 into a downstream PHY frame 524 , and then perform broadcast forwarding processing.
[0157] The XGEM frame 522 carries the GEMPORT 1025 .
[0158] The downlink PHY frame 524 carries parameters for indicating that FEC is disabled in the downlink direction.
[0159] S6. For the received downstream PHY frame, the ONU may determine whether FEC is enabled in the downstream direction according to a parameter in the downstream PHY frame that indicates whether FEC is enabled in the downstream direction.
[0160] When FEC is enabled in the downstream direction, for FS frames in the downstream PHY frames, FEC decoding is performed on the FS frames. For any XGEM frame in the decoded FS frames, if it is determined that the GEMPORT ID included in the XGEM frame is the GEMPORT ID of the local device, the XGEM frame is forwarded. If it is determined that the GEMPORT ID included in the XGEM frame is not the GEMPORT ID of the local device, the XGEM frame is not processed.
[0161] When FEC is disabled in the downstream direction, for any XGEM frame in the FS frame in the downstream PHY frame, if it is determined that the GEMPORT ID included in the XGEM frame is the GEMPORT ID of the local device, the XGEM frame is forwarded; if it is determined that the GEMPORT ID included in the XGEM frame is not the GEMPORT ID of the local device, the XGEM frame is not processed.
[0162] In this embodiment, it is assumed that XGEMPORT 1024 and XGEMPORT 1025 are allocated to ONU 320 by OLT 310 .
[0163] When ONU 320 receives downstream PHY frame 514 broadcasted by OLT 310, it determines to enable FEC in the downstream direction based on the parameter indicating FEC enablement carried in downstream PHY frame 514. ONU 320 then performs FEC decoding on FS frame 5131 (the FS frame after encoding) in downstream PHY frame 514 to obtain FS frame 513. XGEM frame 512 with XGEMPORT ID XGEMPORT 1024 in FS frame 513 can be forwarded.
[0164] Similarly, when ONU 320 receives the downstream PHY frame 524 broadcast by OLT 310, it determines to turn off FEC in the downstream direction according to the parameter for indicating to turn off FEC carried in the downstream PHY frame 524. ONU 320 can forward XGEM 522 with XGEMPORT ID XGEMPORT 1025 in the FS frame 523 in the downstream PHY frame 524.
[0165] It can be seen that through the above method, FEC can be enabled for DHCP services that require high reliability and low packet loss rate, and can be disabled for video data transmission services that require high bandwidth and low latency. This improves the network's available effective bandwidth while meeting the different requirements of different users for network link quality and reliability. Users can balance high network signal quality and high bandwidth according to actual needs, and choose whether to enable FEC based on the T-CONT granularity according to different service traffic requirements.
[0166] See Figure 6 , is a structural diagram of a message forwarding device provided in an embodiment of the present invention, wherein the message forwarding device can be deployed in an optical network unit, and the traffic message device can include:
[0167] A first determining unit 610 is configured to determine a first type burst parameter for enabling forward error correction and a second type burst parameter for disabling forward error correction according to the burst parameter control information sent by the optical line terminal;
[0168] A first determining unit 610 is configured to determine, based on bandwidth allocation control information sent by an optical line terminal, a first bandwidth using a first type of burst parameter and a second bandwidth using a second type of burst parameter;
[0169] The second determining unit 620 is configured to determine, for a received uplink Ethernet message, a data transmission logical port identifier that matches the specific traffic characteristic of the uplink Ethernet message based on the specific traffic characteristic of the uplink Ethernet message, and determine, based on a transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth;
[0170] The encapsulation unit 630 is configured to transcapsulate the uplink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer burst;
[0171] The coding unit 640 is configured to perform forward error correction coding on the framing sublayer burst when the uplink Ethernet message uses the first bandwidth;
[0172] The encapsulation unit 630 is further configured to encapsulate the coded framing sublayer burst into an uplink PHY burst;
[0173] The communication unit 650 is configured to forward the uplink PHY burst;
[0174] The encapsulation unit 630 is further configured to encapsulate the framing sublayer burst into an uplink PHY burst when the uplink Ethernet message uses the second bandwidth;
[0175] The communication unit 650 is further configured to forward the uplink PHY burst.
[0176] In some embodiments, the bandwidth allocation control information includes a bandwidth mapping table, the bandwidth mapping table includes at least one allocation structure, the allocation structure includes a bandwidth allocation identifier and a burst parameter index, the burst parameter index is used to identify a burst parameter type;
[0177] The first determining unit 610 determines, according to the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using a first type burst parameter and a second bandwidth using a second type burst parameter, including:
[0178] Querying an allocation structure of a first type of burst parameter corresponding to a burst parameter index included in the bandwidth mapping table, and determining a first bandwidth based on a bandwidth corresponding to a bandwidth allocation identifier included in the allocation structure;
[0179] as well as,
[0180] An allocation structure including a burst parameter index corresponding to a second type of burst parameter is searched from the bandwidth mapping table, and the second bandwidth is determined by the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure.
[0181] In some embodiments, the second determining unit 620 determines whether the uplink Ethernet packet uses the first bandwidth or the second bandwidth according to the transmission container identifier associated with the data transmission logical port identifier, including:
[0182] Determine, according to the transmission container identifier associated with the data transmission logical port identifier, a bandwidth allocation identifier corresponding to the transmission container identifier;
[0183] In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to a first type burst parameter, determining that the uplink Ethernet message uses the first bandwidth;
[0184] In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the second type burst parameter, it is determined that the uplink Ethernet message uses the second bandwidth.
[0185] In some embodiments, the second determining unit 620 is further configured to determine whether forward error correction is enabled in the downlink direction based on a parameter included in the downlink PHY frame and used to indicate whether forward error correction is enabled in the downlink direction, for a downlink PHY frame broadcasted by the optical line terminal;
[0186] The decoding unit 640 is further configured to perform forward error correction decoding processing on the framing sublayer frame in the downlink PHY frame when forward error correction is enabled in the downlink direction;
[0187] The communication unit 650 is further configured to forward any XGEM frame in the decoded framing sublayer frame if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device.
[0188] The communication unit 650 is further configured to, when forward error correction is disabled in the downlink direction, forward any XGEM frame in the framing sublayer frame in the downlink PHY frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device.
[0189] See Figure 7 , is a structural diagram of a message forwarding device provided in an embodiment of the present invention, wherein the message forwarding device can be deployed in an optical line terminal, and the traffic message device can include:
[0190] The determining unit 710 is configured to determine a corresponding data transmission logical port identifier according to a destination media access control address of a received downlink Ethernet message;
[0191] The determining unit 710 is further configured to determine whether forward error correction is enabled in the downlink direction based on the transmission container identifier associated with the determined data transmission logical port identifier;
[0192] The encapsulation unit 720 is configured to transcapsulate the downlink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer frame, wherein the XGEM frame includes the data transmission logical port identifier;
[0193] The decoding unit 730 is configured to perform forward error correction coding on the framing sublayer frame when it is determined that forward error correction is enabled in the downlink direction;
[0194] The encapsulation unit 720 is further configured to perform downlink PHY frame encapsulation on the framing sublayer frame after the coding process;
[0195] The communication unit 740 is configured to perform broadcast forwarding processing on the obtained downlink PHY frame;
[0196] The encapsulation unit 720 is further configured to encapsulate the framing sublayer frame into a downlink PHY frame when it is determined that forward error correction is disabled in the downlink direction;
[0197] The communication unit 740 is further configured to perform broadcast forwarding processing on the downlink PHY frame;
[0198] The downlink PHY frame includes a parameter for indicating whether forward error correction is enabled in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit receiving the XGEM frame to process the XGEM frame when determining that the data transmission logical port identifier is the data transmission logical port identifier of the device.
[0199] In some embodiments, the determining unit 710 is further configured to determine, for the received uplink PHY burst, a corresponding transmission container identifier based on the time at which the uplink PHY burst is received;
[0200] The determining unit 710 is further configured to determine whether forward error correction is enabled in the uplink direction based on the transmission container identifier;
[0201] The decoding unit 730 is further configured to perform forward error correction decoding processing on the framing sublayer burst in the uplink PHY burst when forward error correction is enabled in the uplink direction;
[0202] The communication unit 740 is further configured to forward the XGEM frame in the framing sublayer burst after decoding;
[0203] The communication unit 740 is further configured to forward the XGEM frame in the framing sublayer burst in the uplink PHY burst when forward error correction is disabled in the uplink direction.
[0204] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
Claims
1. A message forwarding method, characterized in that: Applied to an optical network unit, the method comprises: Determining, based on the burst parameter control information sent by the optical line terminal, a first type burst parameter for enabling forward error correction and a second type burst parameter for disabling forward error correction; Determining, according to the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using the first type burst parameter and a second bandwidth using the second type burst parameter; For a received uplink Ethernet message, determining, based on a specific traffic feature of the uplink Ethernet message, a data transmission logical port identifier that matches the specific traffic feature, and determining, based on a transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth; and, transcapsulating the uplink Ethernet message into an XGEM frame, and encapsulating the XGEM frame into a framing sublayer burst; When the uplink Ethernet message uses the first bandwidth, perform forward error correction coding on the framing sublayer burst, encapsulate the coded framing sublayer burst into an uplink PHY burst, and forward the uplink PHY burst; In the case where the uplink Ethernet message uses the second bandwidth, the framing sublayer burst is encapsulated into an uplink PHY burst, and the uplink PHY burst is forwarded.
2. The method according to claim 1, characterized in that The bandwidth allocation control information includes a bandwidth mapping table, the bandwidth mapping table includes at least one allocation structure, the allocation structure includes a bandwidth allocation identifier and a burst parameter index, and the burst parameter index is used to identify a burst parameter type; The determining, based on the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using the first type burst parameter and a second bandwidth using the second type burst parameter, comprises: Querying the allocation structure of the first type of burst parameter corresponding to the burst parameter index included in the bandwidth mapping table, and determining the first bandwidth by the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure; as well as, An allocation structure including a burst parameter index corresponding to the second type of burst parameter is searched from the bandwidth mapping table, and the second bandwidth is determined by a bandwidth corresponding to a bandwidth allocation identifier included in the allocation structure.
3. The method according to claim 2, characterized in that The determining, based on the transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth includes: Determining, according to the transmission container identifier associated with the data transmission logical port identifier, a bandwidth allocation identifier corresponding to the transmission container identifier; In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the first type of burst parameter, determining that the uplink Ethernet message uses the first bandwidth; In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the second type burst parameter, it is determined that the uplink Ethernet message uses the second bandwidth.
4. The method according to claim 1, wherein The method further comprises: For the downlink PHY frame broadcasted by the optical line terminal, determining whether forward error correction is enabled in the downlink direction according to a parameter included in the downlink PHY frame and used to indicate whether forward error correction is enabled in the downlink direction; When forward error correction is enabled in the downlink direction, for the framing sublayer frame in the downlink PHY frame, perform forward error correction decoding on the framing sublayer frame; for any XGEM frame in the decoded framing sublayer frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device, perform forwarding processing on the XGEM frame; When forward error correction is disabled in the downlink direction, for any XGEM frame in the framing sublayer frame in the downlink PHY frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device, forwarding processing is performed on the XGEM frame.
5. A message forwarding method, characterized in that: Applied to an optical line terminal, the method includes: For the received downlink Ethernet message, determining a corresponding data transmission logical port identifier according to the destination media access control address of the downlink Ethernet message; Determining whether forward error correction is enabled in the downlink direction according to the transmission container identifier associated with the determined data transmission logical port identifier; transcapsulating the downlink Ethernet message into an XGEM frame, and encapsulating the XGEM frame into a framing sublayer frame, wherein the XGEM frame includes the data transmission logical port identifier; When it is determined that forward error correction is enabled in the downlink direction, performing forward error correction coding processing on the framing sublayer frame, encapsulating the coded framing sublayer frame into a downlink PHY frame, and performing broadcast forwarding processing on the obtained downlink PHY frame; When it is determined that forward error correction is disabled in the downlink direction, encapsulating the framing sublayer frame into a downlink PHY frame and performing broadcast forwarding processing on the downlink PHY frame; The downlink PHY frame includes a parameter for indicating whether forward error correction is enabled in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit receiving the XGEM frame to process the XGEM frame when determining that the data transmission logical port identifier is the data transmission logical port identifier of the device.
6. The method according to claim 5, characterized in that The method further comprises: For a received uplink PHY burst, determining a corresponding transmission container identifier based on a time at which the uplink PHY burst is received; determining whether forward error correction is enabled in the uplink direction according to the transmission container identifier; When forward error correction is enabled in the uplink direction, performing forward error correction decoding processing on the framing sublayer burst in the uplink PHY burst, and forwarding processing on the XGEM frame in the framing sublayer burst after the decoding processing; When forward error correction is disabled in the uplink direction, the XGEM frame in the framing sublayer burst in the uplink PHY burst is forwarded.
7. A message forwarding device, characterized in that: Deployed in an optical network unit, the device includes: A first determining unit is configured to determine a first type burst parameter for enabling forward error correction and a second type burst parameter for disabling forward error correction according to burst parameter control information sent by the optical line terminal; The first determining unit is configured to determine, according to the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using the first type burst parameter and a second bandwidth using the second type burst parameter; a second determining unit, configured to determine, for a received uplink Ethernet message, a data transmission logical port identifier matching the specific traffic feature according to the specific traffic feature of the uplink Ethernet message, and determine, based on a transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth; an encapsulation unit, configured to transcapsulate the uplink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer burst; an encoding and decoding unit, configured to perform forward error correction encoding processing on the framing sublayer burst when the uplink Ethernet message uses the first bandwidth; The encapsulation unit is further configured to encapsulate the framing sublayer burst after the coding process into an uplink PHY burst; a communication unit, configured to forward the uplink PHY burst; The encapsulation unit is further configured to encapsulate the framing sublayer burst into an uplink PHY burst when the uplink Ethernet message uses the second bandwidth; The communication unit is further configured to forward the uplink PHY burst.
8. The device according to claim 7, characterized in that The bandwidth allocation control information includes a bandwidth mapping table, the bandwidth mapping table includes at least one allocation structure, the allocation structure includes a bandwidth allocation identifier and a burst parameter index, and the burst parameter index is used to identify a burst parameter type; The first determining unit determines, according to the bandwidth allocation control information sent by the optical line terminal, a first bandwidth using the first type burst parameter and a second bandwidth using the second type burst parameter, including: Querying the allocation structure of the first type of burst parameter corresponding to the burst parameter index included in the bandwidth mapping table, and determining the first bandwidth by the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure; as well as, Querying the allocation structure of the second type of burst parameter corresponding to the burst parameter index included in the bandwidth mapping table, and determining the second bandwidth by the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure; The second determining unit determines, based on the transmission container identifier associated with the data transmission logical port identifier, whether the uplink Ethernet message uses the first bandwidth or the second bandwidth, including: Determining, according to the transmission container identifier associated with the data transmission logical port identifier, a bandwidth allocation identifier corresponding to the transmission container identifier; In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the first type of burst parameter, determining that the uplink Ethernet message uses the first bandwidth; In a case where the burst parameter index included in the allocation structure to which the bandwidth allocation identifier belongs corresponds to the second type burst parameter, determining that the uplink Ethernet message uses the second bandwidth; and / or, The second determining unit is further configured to determine whether forward error correction is enabled in the downlink direction based on a parameter included in the downlink PHY frame and used to indicate whether forward error correction is enabled in the downlink direction, for the downlink PHY frame broadcasted by the optical line terminal; The decoding unit is further configured to, when forward error correction is enabled in the downlink direction, perform forward error correction decoding processing on the framing sublayer frame in the downlink PHY frame; The communication unit is further configured to forward any XGEM frame in the framing sublayer frame after the decoding process, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device; The communication unit is further configured to, when forward error correction is disabled in the downlink direction, forward any XGEM frame in the framing sublayer frame in the downlink PHY frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the local device.
9. A message forwarding device, characterized in that: Deployed at an optical line terminal, the device includes: a determining unit, configured to determine, for a received downlink Ethernet message, a corresponding data transmission logical port identifier according to a destination media access control address of the downlink Ethernet message; The determining unit is further configured to determine whether forward error correction is enabled in the downlink direction based on the transmission container identifier associated with the determined data transmission logical port identifier; an encapsulation unit, configured to transcapsulate the downlink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer frame, wherein the XGEM frame includes the data transmission logical port identifier; an encoding and decoding unit, configured to perform forward error correction encoding processing on the framing sublayer frame when it is determined that forward error correction is enabled in the downlink direction; The encapsulation unit is further configured to perform downlink PHY frame encapsulation on the framing sublayer frame after the coding process; A communication unit, configured to perform broadcast forwarding processing on the obtained downlink PHY frame; The encapsulation unit is further configured to perform downlink PHY frame encapsulation on the framing sublayer frame when it is determined that forward error correction is disabled in the downlink direction; The communication unit is further configured to perform broadcast forwarding processing on the downlink PHY frame; The downlink PHY frame includes a parameter for indicating whether forward error correction is enabled in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit receiving the XGEM frame to process the XGEM frame when determining that the data transmission logical port identifier is the data transmission logical port identifier of the device.
10. The device according to claim 9, characterized in that The determining unit is further configured to determine, for a received uplink PHY burst, a corresponding transmission container identifier based on a time at which the uplink PHY burst is received; The determining unit is further configured to determine whether forward error correction is enabled in the uplink direction based on the transmission container identifier; The decoding unit is further configured to perform forward error correction decoding processing on the framing sublayer burst in the uplink PHY burst when forward error correction is enabled in the uplink direction; The communication unit is further configured to forward the XGEM frame in the framing sublayer burst after decoding; The communication unit is further configured to forward the XGEM frame in the framing sublayer burst in the uplink PHY burst when forward error correction is disabled in the uplink direction.
Citation Information
Patent Citations
Apparatus and method for transmitting gem frame in OLT of gigabit capable passive optical network
KR100789383B1
Method and apparatus of receiving burst data using multiple upstream channels based on upstream bandwidth allocation information in HFC network
US20100158036A1