摘要 |
Embodiments of the present invention provide a method for allocating a bandwidth resource, which includes: obtaining a current service; identifying a service type of the current service; and allocating required broadband in idle bandwidth of a bandwidth group that is not occupied by a service of another service type to the current service, where the another service type refers to a service type that is different from the service type of the current service, each bandwidth group is allocated to only services of a same service type, the bandwidth resource includes N bandwidth groups with same bandwidth, and the bandwidth of the bandwidth group is the least common multiple of bandwidth required by service types that need to be processed. Correspondingly, the embodiments of the present invention further provide an apparatus for allocating a bandwidth resource. The embodiments of the present invention can reduce mutual interference in a process of transmitting services of a plurality of service types, and supports a bandwidth allocation manner in an FBON, and can prevent a bandwidth fragment from being generated in a process of allocating bandwidth to a service. |