Message forwarding method and device

By dynamically adjusting the bandwidth and error correction strategy of Ethernet packets in the XGS-PON network, matching the data transmission logical port identifier according to the traffic characteristics, the problem of large network transmission overhead is solved and the effective bandwidth and link quality reliability is improved.

CN119254383AActive Publication Date: 2025-01-03NEW H3C TECH CO LTD

Patent Information

Application Number
CN202411366324.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-03
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

The uplink and downlink transmission overhead in the XGS-PON network is large, resulting in insufficient effective bandwidth and needs to improve the bandwidth efficiency of network transmission.

Method used

Through the burst parameter control information and bandwidth allocation control information sent by the optical circuit terminal, it is determined to turn forward error correction on or off, dynamically adjust the bandwidth of uplink and downlink Ethernet messages, and match the data transmission logical port identifier according to specific traffic characteristics. Carry out forward error correction and increase coding processing or direct forwarding.

Benefits of technology

The effective bandwidth of network transmission between optical circuit terminals and optical network units is improved, and the link quality reliability needs of different users is met, and the flexibility of forward error correction switch is realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254383A_ABST
    Figure CN119254383A_ABST
Patent Text Reader

Abstract

The invention provides a message forwarding method and device. In one example, the message forwarding method comprises the following steps: determining a data transmission logic port identifier according to a destination MAC address of a received downlink Ethernet message; according to a transmission container identifier associated with the data transmission logic port identifier, determining whether forward error correction is started in a downlink direction; packaging the downlink Ethernet message into a framing sub-layer frame; under the condition that forward error correction is started, forward error correction code addition processing is carried out on framing sub-layer frames, and broadcast forwarding processing is carried out after downlink PHY frame packaging is carried out; and under the condition that the forward error correction is closed, carrying out broadcast forwarding processing after carrying out downlink PHY frame packaging on the framing sub-layer frame. By applying the embodiment of the invention, different requirements of different users on the network link quality reliability can be met under the condition of improving the network transmission effective bandwidth between the optical line terminal and the optical network unit.
Need to check novelty before this filing date? Find Prior Art

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 XGS-PON (10Gigabit Symmetrical Passive Optical Network), Ethernet messages are encapsulated in XGEM (eXtended GEM (GPON Encapsulation Method), extended GEM or enhanced GEM) frames and forwarded between OLT (Optical Line Terminal) and ONU (Optical Network Unit). The uplink and downlink rates of XGS-PON networks are both 9.953Gbit / s. The lower the uplink and downlink transmission overhead, the greater the user's effective bandwidth.

[0003] How to reduce the uplink and downlink transmission overhead of XGS-PON network and improve 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 bandwidth of XGS-PON network transmission.

[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] Determine, according to the burst parameter control information sent by the optical line terminal, a first type of burst parameter for enabling forward error correction and a second type of burst parameter for disabling forward error correction;

[0007] 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;

[0008] For a received uplink Ethernet message, determine, according to a specific traffic feature of the uplink Ethernet message, a data transmission logical port identifier matching the specific traffic feature, and determine, according to 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] In the case where the uplink Ethernet message uses the first bandwidth, performing forward error correction coding processing on the framing sublayer burst, encapsulating the coded framing sublayer burst into an uplink PHY burst, and forwarding processing on 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, and the method includes:

[0013] For the received downlink Ethernet message, determining a corresponding data transmission logical port identifier according to a 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] In the case of determining that forward error correction is turned on in the downlink direction, performing forward error correction coding processing on the framing sublayer frame, performing downlink PHY frame encapsulation on the framing sublayer frame after the coding processing, and performing broadcast forwarding processing on the obtained downlink PHY frame;

[0017] In the case where it is determined that forward error correction is turned off 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 turned on in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit that receives 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 current 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, configured to determine a first type of burst parameter for enabling forward error correction and a second type of burst parameter for disabling forward error correction according to burst parameter control information sent by an 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 of burst parameters and a second bandwidth using the second type of burst parameters;

[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, according to 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] A coding unit, configured to perform forward error correction coding processing on the framing sublayer burst when the uplink Ethernet message uses the first bandwidth;

[0025] The encapsulation unit is further used 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 determination 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 determination unit is further configured to determine 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;

[0032] An encapsulation unit, configured to encapsulate 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] A coding unit, configured to perform forward error correction coding 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 used 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 used to perform downlink PHY frame encapsulation on the framing sublayer frame when it is determined that forward error correction is turned off in the downlink direction;

[0037] The communication unit is further used 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 turned on in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit that receives 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 current 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 matching the specific traffic feature according to the specific traffic feature of the uplink Ethernet message, and ... of the uplink Ethernet message. The invention relates to a transmission container identifier associated with the logic port identifier, determines whether the uplink Ethernet message uses the first bandwidth or the second bandwidth, and encapsulates the uplink Ethernet message into an XGEM frame, and encapsulates the XGEM frame into a framing sublayer burst; when the uplink Ethernet message uses the first bandwidth, performs forward error correction coding on the framing sublayer burst, encapsulates the framing sublayer burst after the coding processing into an uplink PHY burst, and forwards the uplink PHY burst; when the uplink Ethernet message uses the second bandwidth, encapsulates the framing sublayer burst into an uplink PHY burst, and forwards 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 according to the destination media access control address of the downstream Ethernet message; determines whether forward error correction is enabled in the downstream direction according to 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 sublayer frame; when it is determined that forward error correction is enabled in the downstream direction, performs forward error correction coding processing on the framing sublayer frame, encapsulates the framing sublayer frame after the coding processing into a downstream PHY frame, and performs broadcast forwarding processing on the obtained downstream PHY frame; when it is determined that forward error correction is disabled in the downstream direction, performs downlink PHY frame encapsulation on the framing sublayer frame, and performs broadcast forwarding processing on the downstream PHY frame.

[0041] By controlling the forward error correction switch between the optical line terminal and the optical network unit at the granularity of transmission container, 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 reliability are met. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of a message forwarding method provided by an embodiment of the present invention;

[0043] Figure 2 It 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 It 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 It is a schematic diagram of an uplink Ethernet message forwarding process with FEC turned off provided by an embodiment of the present invention;

[0047] Figure 5A It is a schematic diagram of a downlink Ethernet message forwarding process with FEC enabled provided by an embodiment of the present invention;

[0048] Figure 5B It is a schematic diagram of a downlink Ethernet message forwarding process with FEC turned off provided by an embodiment of the present invention;

[0049] Figure 6 It is a structural schematic diagram of a message forwarding device provided by an embodiment of the present invention;

[0050] Figure 7It is a structural schematic 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 uplink and downlink transmission overheads of the XGS-PON network are briefly described below.

[0052] The upstream transmission overhead of XGS-PON network mainly includes: upstream burst message overhead, inter-burst overhead, control message overhead and redundant error correction overhead. The downstream transmission overhead mainly includes: message overhead, control message overhead and redundant error correction overhead.

[0053] Research has found that redundant error correction overhead optimization can increase the effective bandwidth by the largest proportion and has the most obvious optimization. In some business scenarios where the link quality is relatively good or is not sensitive to packet loss, but the message transmission bandwidth requirements are relatively high, you can turn off FEC to increase traffic throughput and increase the effective bandwidth of network transmission.

[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 also 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 the burst parameters for enabling forward error correction (FEC) (which may be referred to as first type burst parameters) and the burst parameters for disabling FEC (which may be referred to as second type burst parameters) according to the configuration information.

[0058] The OLT may notify the ONU of the first type burst parameter and the second type burst parameter 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 according to the received PLOAM burst profile message, and 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 the process of allocating bandwidth for the ONU, the OLT may notify the ONU, through bandwidth allocation control information, to use the first bandwidth of the first type burst parameter and the second bandwidth of the second type burst parameter.

[0066] The ONU may determine, according to the bandwidth allocation control information sent by the OLT, a first bandwidth using a first type burst parameter and a second bandwidth using a second type burst parameter.

[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, and 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 of burst parameter and the second bandwidth using the second type of burst parameter may include:

[0069] From the bandwidth mapping table, query the allocation structure of the first type of burst parameter corresponding to the burst parameter index included, and determine the first bandwidth as the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure;

[0070] as well as,

[0071] An allocation structure of a second type of burst parameter corresponding to a burst parameter index included in the bandwidth mapping table is searched, and a bandwidth corresponding to a bandwidth allocation identifier included in the allocation structure is determined as the second bandwidth.

[0072] Step 103: for the received uplink Ethernet message, determine the data transmission logical port identifier matching the specific traffic feature according to the specific traffic feature of the uplink Ethernet message, and determine whether the uplink Ethernet message uses the first bandwidth or the second bandwidth according to 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, a data transmission logical port identifier (which may be recorded as GEMPORTID) matching the specific traffic feature may be determined according to 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 input 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 a 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 according to the configuration information, and 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, and the association between the GEMPORT ID and the T-CONT ID.

[0077] In an example, determining that the uplink Ethernet message uses the first bandwidth or the second bandwidth according to the transmission container identifier associated with the data transmission logical port identifier may include:

[0078] Determine a bandwidth allocation identifier corresponding to the transmission container identifier according to the transmission container identifier associated with the data transmission logical port identifier;

[0079] 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 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 according to the GEMPORT ID, and encapsulate the obtained XGEM frame into a framing sub-layer (FS) burst.

[0083] Optionally, one 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 processing 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 can perform FEC coding on the FS burst, encapsulate the coded 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 processing 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 uplink PHY, the OLT may determine the corresponding T-CONT ID according to the time when the uplink PHY burst is received, and determine whether the uplink 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 frame 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 also Figure 2 , 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 entry according to the destination Media Access Control (MAC) address of the downstream Ethernet message to determine the corresponding GEMPORT ID.

[0094] In the process of forwarding upstream messages, 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 according to 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 according to 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: encapsulate the downlink Ethernet message into an XGEM frame, and 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 framing sublayer frame after coding, 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 in the above manner, the FS frame can be FEC coded, the coded FS frame can be encapsulated in a downlink PHY frame, and the coded downlink PHY frame can be 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 turned off in the downlink direction in the above manner, 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 a 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 downstream direction, for a framing sublayer frame in the downstream PHY frame, forward error correction decoding is performed on the framing sublayer frame; for any XGEM frame in the framing sublayer frame after decoding, when the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the device, forwarding is performed on the XGEM frame;

[0109] When forward error correction is turned off in the downstream direction, for any XGEM frame in the framing sublayer frame in the downstream PHY frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the current device, the XGEM frame is forwarded.

[0110] It should be noted that, in the embodiment of the present invention, if the OLT fails to query the corresponding GEMPORT ID according to the destination MAC address of the downstream Ethernet message, the OLT can transcapsulate the downstream Ethernet message according to the GEMPORT ID corresponding to the broadcast message, encapsulate the obtained XGEM frame into a FS frame, and determine whether the FS frame needs to be FEC-encoded according to a pre-set strategy. The specific implementation is not described in detail here.

[0111] In order to enable those skilled in the art to better understand the technical solution provided by the embodiment of the present invention, the technical solution provided by the embodiment of the present invention is described below in conjunction with specific application scenarios.

[0112] See also 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, OLT310 can connect one or more ONUs (taking one ONU320 as an example in the figure) through the same port or different ports (the specific ports are not shown in the figure). OLT310 and ONU320 are connected through optical fiber, and OLT310 can also be connected to the network end, such as the core switching network, through Ethernet, and ONU320 can be connected to the user end through 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 turned on or off according to the T-CONT granularity.

[0114] Data traffic can be mapped to different GEMPORTs based on specific traffic characteristics in the data traffic, such as one or more of the port, VLAN, and VLAN priority, and the GEMPORT can be mapped to the T-CONT. FEC can be turned on or off for the T-CONT to achieve FEC switch control at the T-CONT granularity.

[0115] For example, for data traffic that is not sensitive to link error packets, the corresponding T-CONT can turn off FEC to increase the effective bandwidth of network transmission. For data traffic that has high requirements for link quality stability and needs to ensure the reliability of message transmission, the corresponding T-CONT can turn on FEC to ensure transmission quality.

[0116] The technical solution provided by the embodiment of the present invention is described below with reference to specific examples.

[0117] Assume that a company's intranet needs to allocate IP addresses for office and production equipment through a DHCP server; the company operates its own media and needs to upload video files to the cloud for sharing.

[0118] After analysis, the enterprise has two types of business data traffic requirements: one is DHCP message forwarding, which requires high reliability and low packet loss rate; the other is video data UDP message, which requires high bandwidth and low latency. In order to increase the UDP message traffic bandwidth, the FEC function can be turned off when forwarding UDP messages.

[0119] To meet the above business requirements, you can configure as follows:

[0120] 1. Add different traffic characteristics to the enterprise's Class 2 service traffic. For example, the VLAN ID carried by the DHCP message is 100, and the VLAN ID carried by the UDP message is 200.

[0121] 2. On the OLT side, configure the packets carrying VLAN 100 to be matched to GEMPORT 1024 for forwarding, and the packets carrying VLAN 200 to be matched to GEMPORT 1025 for forwarding. 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 a PLOAM burst profile message, and the ONU receives and learns the burst parameters carried in the message.

[0126] Among them, it is assumed that the Up FEC indication in burst profile 0 is turned on, that is, burst profile 0 turns on FEC (burst profile 0 is the above-mentioned first type burst parameter); the Up FEC indication in burst profile 1 is turned off, that is, burst profile 1 turns off FEC (burst profile 1 is the above-mentioned second type burst parameter).

[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. OLT configures T-CONT 1 to enable FEC and T-CONT 2 to disable FEC, and 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, it can be known that the ONU corresponding to T-CONT ID 1 responds to the bandwidth to enable 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 (Allocation structure) corresponding to Alloc-ID 1024. Among them, 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 ID2 responds to the bandwidth to turn off the FEC function. Therefore, in the BWMap included in the bandwidth allocation control information, the burst profile index for turning on FEC is selected in the allocation structure corresponding to Alloc-ID 1025. Among them, the burst profile index is 1, indicating that the bandwidth corresponding to Alloc-ID 1025 uses burst profile 1.

[0132] S3. For the upstream Ethernet message, the ONU can determine the burst profile used by 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 the VLAN ID and the GEMPORT ID, and determine that the T-CONT ID associated with GEMPORT 1024 is T-CONT 1 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 1 is Alloc 1024.

[0134] The ONU can query the allocation structure including the Alloc-ID in the BWMap according to 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 that burst profile 0 turns on FEC through burst parameter learning, the ONU can determine that FEC encoding processing is required for the upstream Ethernet message 411.

[0135] Accordingly, ONU 320 can transcapsulate upstream Ethernet message 411 into XGEM frame 412 , encapsulate XGEM frame 412 into FS burst 413 , perform FEC encoding on FS burst 413 through FEC encoding and decoding module 321 , and encapsulate the obtained encoded FS burst 4131 into upstream PHY burst 414 .

[0136] It should be noted that an uplink PHY burst may include one or more FS bursts, and one 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 according to 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 that burst profile 1 turns off FEC through burst parameter learning, the ONU can determine that the upstream Ethernet message 421 does not need to be FEC-encoded.

[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 according to the time when the uplink PHY burst is received, and determine whether to enable FEC in the uplink direction according to the T-CONT ID.

[0141] When FEC is enabled in the uplink direction, the FS burst in the uplink PHY burst is subjected to FEC decoding, and the XGEM frame in the decoded FS burst is forwarded;

[0142] When FEC is disabled in the upstream direction, the XGEM frames in the FS burst in the upstream 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. Encapsulate the downstream Ethernet message into an XGEM frame, and encapsulate the XGEM frame into an FS frame.

[0147] S4. When it is determined that FEC is enabled in the downlink direction, FEC coding is performed on the FS frame, downlink PHY frame encapsulation is performed on the FS frame after coding, and broadcast forwarding is performed on the obtained downlink PHY frame.

[0148] S5. When it is determined that FEC is turned off in the downstream direction, the FS frame is encapsulated in a downstream PHY frame, and the obtained downstream PHY frame is broadcast forwarded.

[0149] Example 3: Figure 5A As shown, OLT 310 receives downstream Ethernet message 511. OLT 310 can query the MAC table and determine the corresponding GEMPORT ID according to the destination MAC address of downstream Ethernet message 511. Assuming that the GEMPORT ID determined by OLT 310 is GEMPORT 1024, OLT can determine that the T-CONT ID associated with GEMPORT 1024 is T-CONT 1 according to the mapping relationship between GEMPORT ID and T-CONT ID.

[0150] Since FEC is enabled in T-CONT1, OLT 310 determines that FEC encoding needs to be performed on the downstream Ethernet message 511.

[0151] Accordingly, OLT310 can 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] Among them, the XGEM frame 512 carries 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 message 521, and OLT 320 can query the MAC table and determine the corresponding GEMPORT ID according to the destination MAC address of downstream Ethernet message 511. Assuming that the GEMPORT ID determined by OLT 310 is GEMPORT 1025, OLT can determine that the T-CONT ID associated with GEMPORT 1025 is T-CONT 2 according to the mapping relationship between GEMPORT ID and T-CONT ID.

[0155] Since T-CONT2 disables FEC, OLT 310 determines that it is not necessary to perform FEC encoding processing on the downstream Ethernet message 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] Among them, the XGEM frame 522 carries 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 the parameter in the downstream PHY frame that is used to indicate whether FEC is enabled in the downstream direction.

[0160] When FEC is turned on in the downstream direction, for the FS frame in the downstream PHY frame, the FS frame is subjected to FEC decoding processing; for any XGEM frame in the decoded FS frame, when it is determined that the GEMPORT ID included in the XGEM frame is the GEMPORT ID of the current device, the XGEM frame is forwarded; when it is determined that the GEMPORTID included in the XGEM frame is not the GEMPORT ID of the current device, the XGEM frame is not processed.

[0161] When FEC is turned off 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 current 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 current 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 the downstream PHY frame 514 broadcasted by OLT 310, it determines to enable FEC in the downstream direction according to the parameter for indicating enabling FEC carried in the downstream PHY frame 514, and ONU 320 can perform FEC decoding processing on the FS frame 5131 (FS frame after encoding processing) in the downstream PHY frame 514 to obtain the FS frame 513. For the XGEM frame 512 whose XGEMPORT ID is XGEMPORT 1024 in the FS frame 513, forwarding processing can be performed.

[0164] Similarly, when ONU320 receives the downstream PHY frame 524 broadcasted by OLT310, it determines to turn off FEC in the downstream direction according to the parameter carried in the downstream PHY frame 524 for indicating the turning off of FEC. ONU320 can forward XGEM522 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 FEC can be disabled for video data transmission services that require high bandwidth and low latency. This improves the network's available effective bandwidth rate 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 business traffic requirements.

[0166] See also Figure 6 , is a structural schematic diagram of a message forwarding device provided by 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 of burst parameter for enabling forward error correction and a second type of burst parameter for disabling forward error correction according to burst parameter control information sent by an optical line terminal;

[0168] A first determining unit 610 is configured to 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 an optical line terminal;

[0169] The second determining unit 620 is configured to determine, for a received uplink Ethernet message, a data transmission logical port identifier matching a specific traffic feature according to a specific traffic feature of the uplink Ethernet message, and determine, according to 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 used to encapsulate the uplink Ethernet message into an XGEM frame, and encapsulate the XGEM frame into a framing sublayer burst;

[0171] The coding unit 640 is used to perform forward error correction coding processing on the framing sublayer burst when the uplink Ethernet message uses the first bandwidth;

[0172] The encapsulation unit 630 is further used to encapsulate the framing sublayer burst after the coding process into an uplink PHY burst;

[0173] The communication unit 650 is used 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 determination 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] From the bandwidth mapping table, query the allocation structure of the first type of burst parameter corresponding to the burst parameter index included, and determine the first bandwidth as the bandwidth corresponding to the bandwidth allocation identifier included in the allocation structure;

[0179] as well as,

[0180] An allocation structure of a second type of burst parameter corresponding to a burst parameter index included in the bandwidth mapping table is searched, and a bandwidth corresponding to a bandwidth allocation identifier included in the allocation structure is determined as the second bandwidth.

[0181] In some embodiments, the second determining unit 620 determines, according to the transmission container identifier associated with the data transmission logical port identifier, that the uplink Ethernet message uses the first bandwidth or the second bandwidth, 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 of burst parameter, determining that the uplink Ethernet message uses a 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 according to 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 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 device;

[0188] The communication unit 650 is also used to, when forward error correction is turned off in the downstream direction, for any XGEM frame in the framing sublayer frame in the downstream PHY frame, when the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the current device, forward the XGEM frame.

[0189] See also Figure 7 , is a structural schematic 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 used 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 determination unit 710 is further configured to determine 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;

[0192] The encapsulation unit 720 is used to encapsulate 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 used to perform forward error correction coding processing on the framing sublayer frame when it is determined that forward error correction is turned on 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 used 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 the forward error correction is turned off in the downlink direction;

[0197] The communication unit 740 is further configured to perform broadcast forwarding processing on the downlink PHY frame;

[0198] Among them, the downlink PHY frame includes a parameter for indicating whether forward error correction is turned on in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit that receives 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 this device.

[0199] In some embodiments, the determining unit 710 is further configured to determine, for a received uplink PHY burst, a corresponding transmission container identifier according to a time when the uplink PHY burst is received;

[0200] The determination unit 710 is further configured to determine whether forward error correction is enabled in the uplink direction according to 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 the decoding process;

[0203] The communication unit 740 is further configured to forward the XGEM frame in the framing sublayer burst in the uplink PHY burst when the 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: Determine, according to the burst parameter control information sent by the optical line terminal, a first type of burst parameter for enabling forward error correction and a second type of burst parameter for disabling forward error correction; 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; For a received uplink Ethernet message, determine, according to a specific traffic feature of the uplink Ethernet message, a data transmission logical port identifier matching the specific traffic feature, and determine, according to 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; In the case where the uplink Ethernet message uses the first bandwidth, performing forward error correction coding processing on the framing sublayer burst, encapsulating the coded framing sublayer burst into an uplink PHY burst, and forwarding processing on 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 of the second type of burst parameter corresponding to the burst parameter index included in the bandwidth mapping table is searched, and the second bandwidth is determined by the bandwidth corresponding to the 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, that the uplink Ethernet message uses the first bandwidth or the second bandwidth includes: 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; 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, characterized in that: 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 downstream direction, for a framing sublayer frame in the downstream PHY frame, forward error correction decoding is performed on the framing sublayer frame; for any XGEM frame in the framing sublayer frame after decoding, when the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the device, forwarding is performed on the XGEM frame; When forward error correction is turned off in the downstream direction, for any XGEM frame in the framing sublayer frame in the downstream PHY frame, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the current device, the XGEM frame is forwarded.

5. A message forwarding method, characterized in that: Applied to an optical line terminal, the method comprises: For the received downlink Ethernet message, determining a corresponding data transmission logical port identifier according to a 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; In the case of determining that forward error correction is turned on in the downlink direction, performing forward error correction coding processing on the framing sublayer frame, performing downlink PHY frame encapsulation on the framing sublayer frame after the coding processing, and performing broadcast forwarding processing on the obtained downlink PHY frame; In the case of determining that forward error correction is turned off 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 turned on in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit that receives 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 current 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 according to a time when 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, forward error correction decoding is performed on the framing sublayer burst in the uplink PHY burst, and XGEM frames in the framing sublayer burst after the decoding are forwarded; 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 comprises: A first determining unit, configured to determine a first type of burst parameter for enabling forward error correction and a second type of burst parameter for disabling forward error correction according to burst parameter control information sent by an 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 of burst parameters and a second bandwidth using the second type of burst parameters; 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, according to 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; A coding unit, configured to perform forward error correction coding processing on the framing sublayer burst when the uplink Ethernet message uses the first bandwidth; The encapsulation unit is further used 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, according to the transmission container identifier associated with the data transmission logical port identifier, that the uplink Ethernet message uses the first bandwidth or the second bandwidth, including: 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; 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 of burst parameter, determining that the uplink Ethernet message uses the second bandwidth; and / or, The second determination unit is further configured to determine 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, 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 decoding, if the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the device; The communication unit is further configured to, when forward error correction is turned off in the downstream direction, forward any XGEM frame in the framing sublayer frame in the downstream PHY frame, when the data transmission logical port identifier included in the XGEM frame is the data transmission logical port identifier of the device, to forward the XGEM frame.

9. A message forwarding device, characterized in that: Deployed in an optical line terminal, the device comprises: A determination 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 determination unit is further configured to determine 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; An encapsulation unit, configured to encapsulate 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; A coding unit, configured to perform forward error correction coding 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 used 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 used to perform downlink PHY frame encapsulation on the framing sublayer frame when it is determined that forward error correction is turned off in the downlink direction; The communication unit is further used to perform broadcast forwarding processing on the downlink PHY frame; The downlink PHY frame includes a parameter for indicating whether forward error correction is turned on in the downlink direction; the data transmission logical port identifier included in the XGEM frame is used by the optical network unit that receives 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 current 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 according to a time at which the uplink PHY burst is received; The determination unit is further used to determine whether forward error correction is enabled in the uplink direction according to 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 used to forward the XGEM frame in the framing sublayer burst after decoding; The communication unit is further used to forward the XGEM frame in the framing sublayer burst in the uplink PHY burst when the forward error correction is turned off in the uplink direction.

Citation Information

Patent Citations

  • Ethernet service transmitting and receiving method and device capable of dynamically configuring bandwidth

    CN102215173A

  • 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

Cited By

  • Video message data processing method and device, electronic equipment and medium

    CN122578078A