D2D(Device-to-device) improves communication quality by reusing cellular users' spectrum resources, becoming one of the key technologies for super-large data processing and massive devices accessing in the 5G. Due to load imbalance and co-frequency interference caused by distance change or increase in the number of users, this paper introduces interference management strategy in the 5G scenario where D2D communication and cellular communication coexist. By establishing up and down link resource model of D2D user reuse cellular communication to measure user throughput, and then control transmitting power and the distance between user and base station to reduce the influence of interference on the system. Simulation results show that compared with other traditional algorithms, the network performance of D2D communication based on interference management is significantly improved.