摘要 |
Embodiments of the present invention provide a method and a related device for generating a group key. The method includes: receiving, from an MME, a group ID of a group to which an MTC device belongs and a group communication root key related to a security key, where the security key is corresponding to the group ID; or, receiving, from the MME, a service ID of a service supported by the MTC device, and a service root key related to a security key, where the security key is corresponding to the service ID, determining, according to the service ID, the group ID of the group to which the MTC device belongs, and generating a group communication root key according to the group ID and the service root key; generating a group key corresponding to the group ID according to the group communication root key; and sending, to the MTC device, a generating parameter used to generate the group key, so that the MTC device generates the group key according to the group key generating parameter and a security key saved in the MTC device. Therefore, a base station only needs to maintain a same group key for a same group, thereby reducing the operation complexity of the base station, decreasing the number of keys maintained and managed by the base station, and improving the performance of the base station. |