Compared with traditional cryptographic systems, cryptographic systems based on SM9 identification cryptographic algorithms have the advantages of easy management and low complexity. With the widespread use and development of SM9 in various fields, security issues have become particularly important. So how to improve algorithm security has become the current research focus. In response to this problem, this paper proposed a threshold ring signature scheme based on the SM9 identification algorithm. First, the scheme improved the SM9 identification cryptographic algorithm. Also, a multi-KGC system is used to improve key security while preventing malicious KGC attacks. Second, the combination of SM9 and threshold ring signature increases the threshold of the algorithm and prevents malicious users from attacking. Security analyses have proved that under the assumptions of the random oracle model and the difficult problems of DLP and BPIP, the proposed scheme has the characteristics of unforgeability, stronger anonymity, and non-repudiation. Besides, the proposed scheme has great advantages in security while comparing with other existing schemes.INDEX TERMS digital signatures, provably safe, random oracle model, SM9 identity-based cryptography, threshold ring signature.