In a D2D (device-to-device) communication system, this paper proposes a relay selection strategy based on social perception. Firstly, the social threshold is introduced into the D2D relay network to screen and filter the potential relay users, thus effectively reducing the detection cost. Then, an auction algorithm is used to motivate the relay users to increase their transmission power. The simulation results show that the algorithm not only improves the throughput but also reduces the probability of a system outage.