摘要 |
A method for resource allocation and a device are disclosed by the present disclosure, relating to the field of communications technologies, and used for increasing the utilization rate of air interface resources. The method for resource allocation according to embodiments of the present disclosure includes: calculating a mean value of lengths of at least two compressed packets, where the compressed packets are obtained by performing header compression on original packets; and allocating resources according to the mean value of the lengths of the at least two compressed packets. The solutions provided in the embodiments of the present disclosure are applicable to the allocation of air interface resources during resource allocation.
|