Abstract：Aiming at the problem that the reuse of spectrum resources in the device-to-device(D2D)communication leads to the same-frequency interference in the heterogeneous cellular networks and affects the communication performance of the system, a resource reuse algorithm for the device-to-device communication based on the combination mode was proposed. In order to comprehensively consider the needs of both cellular and D2D users in the heterogeneous networks and balance the resource allocation between two kinds of different users, the CU-D2D combination set was established with the proposed algorithm through combining the cellular and D2D modes based on determining the limiting distance of D2D communication. In addition, the weighted throughput gain of combination set was taken as the user priority, based on which the combination set of wireless resources was performed. Therefore, the optimal allocation of spectrum resources in the cellular heterogeneous network environment was realized. The results show that the proposed algorithm can not only ensure the transmission rate of cellular users, but also effectively improve the transmission rate of D2D users, and thus the algorithm can integrally improve the system communication performance of cellular heterogeneous networks.