Method and device for distributing dynamic bandwidth of passive optical network

The invention discloses a method and device for distributing the dynamic bandwidth of a passive optical network. The method comprises the steps that: an OLT (optical line terminal) obtains a bandwidth needed by a next stage of a T-CONT (transmission container) when a DBA (database administration) period reaches; the OLT judges that the needed bandwidth is less than the bandwidth distributed in the previous period and the difference between the needed bandwidth and the bandwidth distributed in the previous period is greater than a predetermined threshold; and the OLT builds a T-CONT configuration table, and the bandwidth distribution is performed according to the T-CONT configuration table. By the invention, the probability of packet loss can be reduced, and the quality of service (QoS) of operators is improved.