Thus it can be seen that the cellular communication method described above is not optimal if the UE 1 and the UE 2 are located in the same cell and closer to each other. However, actually, as mobile communication services become diversified, for example, popularization of applications such as social networks, e-payment and the like in wireless communication systems causes the demand for service transmission between users at close range to grow increasingly. Thus, a device-to-device (D2D) communication mode is received extensive attention. As shown in 
In cellular communications, when two UEs are communicating with each other, one UE is generally unaware of the location of the other UE, thus a communication link with the other UE is required to be established via a network side device (e.g., a base station or core network device). For the device-to-device communication, the precondition for the establishment of the communication link is the mutual discovery between the UEs. Because of the half-duplex characteristic of the D2D communication, the UEs are incapable of receiving device discovery signals when sending the device discovery signals or incapable of sending device discovery signals when receiving the device discovery signal. As a result, when the UEs send the device discovery signals at the same time, they cannot discover each other, which limits the application of the D2D communication.