Data sending method and device
A data sending method and data technology, applied in the field of communication, can solve problems such as insufficient reassembly buffer and packet loss at the receiving side
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2018-09-14
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the communication field, in particular, to a data sending method and device. Background technique
[0002] In IEEE EPON (Ethernet Passive Optical Network, Ethernet Passive Optical Network), 10GEPON (10Gigabit EPON, 10 Gigabit Ethernet Passive Optical Network) systems, data frame fragmentation and fragmentation transmission are not supported, and the optical network unit (Optical Network Unit, ONU for short) in the process of sending uplink data, when the remaining uplink bandwidth is not enough to send a complete MAC (Media Access Control, Media Access Control) frame to be sent, then these remaining uplink bandwidth will be Discard, the MAC frame to be sent will be sent after the next time the ONU obtains the upstream bandwidth. It is divided into multiple parts for transmission, that is, EPON and 10GEPON systems will not send MAC frames in fragments. Under such a mechanism, each MAC frame sent by the ONU will not be ...
Examples
Embodiment 1
[0075] In this embodiment, a method for sending data is provided, figure 1 is a flow chart of data transmission according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:
[0076] Step S102, the optical line terminal OLT divides the logical links supported by the optical network unit ONU into one or more logical link groups;
[0077] In step S104, the OLT allocates bandwidth to the logical link group of the ONU, so that each logical link in the logical link group of the ONU shares the bandwidth to send data.
[0078] Optionally, the execution order of the above step S102 and step S104 can be interchanged, that is, step S104 can be executed first, and then S102 can be executed.
[0079] Optionally, the application scenarios of the above data sending method include but are not limited to: in a passive optical network system, in this application scenario, the optical line terminal OLT divides the logical link suppor...
Embodiment 1
[0104]In the passive optical network system, each ONU supports an uplink fragmentable data flow, and the size of the OLT reassembly buffer is in accordance with the requirements of the passive optical network (NGEPON (Next Generation EPON, Next Generation Passive Optical Network), NG-PON2) system. Design the maximum number of ONUs that can be supported, for example, the maximum packet length multiplied by the maximum number of ONUs is the reassembly cache. In the operation of the passive optical network system, all logical links in each ONU are set as a logical link grouping, as an upstream bandwidth container, the OLT allocates the upstream bandwidth to the logical link grouping of the ONU, and the logical link grouping of each ONU The link group uses the uplink bandwidth according to the local policy, and sends uplink data on each logical link (LLID, XGEM-Port (10Gigabit Passive Optical Network Encapsulation Method Port, 10GPON encapsulation port)).
[0105] Take NGEPON as a...
Embodiment 2
[0121] The OLT supports each ONU to support more than one fragmentable data stream link N, and the number of fragmentable data streams supported by each ONU is fixed, such as N=2, or N=3, etc., the logical link (LLID) of the OLT to the ONU , XGEM-Port) are grouped into logical link groups, and the OLT allocates bandwidth to the logical link groups of the ONU.
[0122] Take NGEPON as an example:
[0123] 1. The OLT's reassembly cache is designed according to the number of fragmentable data streams that each ONU can support;
[0124] 2. When the NGEPON system is started, the OLT obtains the reassembly cache and the maximum supported packet length, and divides the reassembly cache by the maximum packet length to obtain the maximum number of fragmentable data streams that can be supported, which is greater than or equal to all ONUs that can support fragmentation The sum of the number of data streams;
[0125] 3. The OLT groups the logical link LLIDs of each ONU to form several l...