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

CN102469007AInactive Publication Date: 2012-05-23高通创锐讯通讯科技(上海)有限公司
4 Cites 9 Cited by

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 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method for calculating the report length of an uplink queue with an ONU (optical network unit). The method comprises the following steps: an ONU creates an inlet packet length queue and an outlet packet length queue for each uplink queue, and the inlet packet length queue and the outlet packet length queue are stored at an SRAM and a DRAM respectively; when a new uplink data packet is added to each uplink queue of the ONU, the length of the uplink data packet is recorded in an inlet packet length queue corresponding to the uplink queue; when the length of data stored in the inlet packet length queue reaches Unit_dram, the data with the length of Unit_dram is stored in an outlet packet length queue corresponding to the uplink queue; the ONU creates n report queues for each uplink queue, and the n report queues are stored in the SRAM in an ONU chip. According to the method, only partial storage space of the SRAM needs to be occupied, the storage space of the DRAM is fully utilized, and the method has the advantages of high read-write speed and high efficiency.
Need to check novelty before this filing date? Find Prior Art

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...