Method for calculating report length of uplink queue with ONU
A queue and recalculation technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of large chip area of SRAM, insufficient calculation efficiency, and huge bandwidth requirements of DRAM, and achieve fast read and write speed and high efficiency Effect
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2012-05-23
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to a method for forming a report (report message) message in an EPON (Ethernet Passive Optical Network, Ethernet Passive Optical Network) network. Background technique
[0002] EPON network is a point-to-multipoint network, an OLT (Optical Line Terminal, optical fiber line terminal) connects multiple ONUs (Optical Network Unit, optical network unit) through optical fiber and POS (Passive Optical Splitter, passive optical splitter) . The communication direction from ONU to OLT is the upstream direction. Each ONU in the EPON network sends a report message to the OLT to report the upstream communication requirements, and the OLT sends a gate (gate message) message to each ONU to allocate upstream bandwidth or upstream for each ONU. transmission time.
[0003] Each ONU has multiple upstream queues, and each upstream queue is arranged with multiple upstream data packets according to a FIFO (first in first out, first in first out) pri...
Examples
Embodiment Construction
[0019] see figure 2 , the ONU of the present invention calculates the method for reporting the length of the upstream queue as:
[0020] The ONU creates an ingress packet long queue and an egress packet long queue for each upstream queue. Each element of the entry packet long queue and the exit packet long queue is the length of an uplink data packet in the uplink queue, and the sum of the entry packet long queue and the exit packet long queue records all uplink data packets in the uplink queue. The length of the packet.
[0021] When a new upstream data packet is added to each upstream queue of the ONU, the length of the upstream data packet is firstly recorded in the entry packet long queue corresponding to the upstream queue. When the length of data stored in the ingress packet long queue reaches Unit_dram, the ONU stores the data whose length is Unit_dram in the ingress packet long queue into the egress packet long queue corresponding to the upstream queue, and then sto...