Sensor network is vulnerable to attacks when deployed in unattended fields,and no node can be trusted all the time thus can act as a key server.In this paper,a distributed group key management scheme was proposed.In the new scheme,the group rekeying process took full advantage of the characteristics of the inter-cluster and intra-cluster communication.When the number of the compromised nodes inside one cluster was smaller than t and a compromised node inside the cluster was detected,the group rekeying would be initiated by the cluster and the compromised nodes would be revoked by inter-cluster collaboration;otherwise,the group rekeying would be initiated by one neighbor cluster of the nodes,and the nodes will be revoked by intra-cluster collaboration.Compared with the existing schemes,the proposed scheme can rekey real-time,provide a high level of security and reduce communication overhead at the same time.