摘要 |
Embodiments of the present invention provide a method and an apparatus for allocating a device-to-device D2D communication resource. The method for allocating a device-to-device D2D communication resource in the present invention includes: receiving, by a first network device, a device-to-device D2D communication capability sent by a user device within coverage; sending, by the first network device according to the communication capability, a resource identifier to each user device within the coverage of the first network device in a D2D group, where the D2D group includes at least two user devices; and sending, by the first network device, a resource allocation message, where the resource allocation message carries D2D communication resource allocation information corresponding to the resource identifier. In the embodiments of the present invention, a same resource identifier is allocated to user devices in a D2D communication group, and a same resource allocation message is used to carry resource allocation information corresponding to the resource identifier, so that signaling overheads are reduced and allocation efficiency is improved in a process of allocating, to the user devices in the D2D group, a resource used in a device discovery phase and a resource used in a communication phase. |