determine the discovery resource elements corresponding to the positions of the determined discovery resource elements as the discovery resource elements for sending the device discovery signals.
In practical applications, the first communication unit 72 may be implemented by a receiver in the first UE 4, the central processing unit 74 may be implemented by a CPU, a DSP or an FPGA in the first UE 4, and the second communication unit 76 may be implemented by an transmitter in the first UE 4.
Accordingly, as shown in 
Step 801: acquiring configuration information indicating discovery resources for device discovery;
Step 802: determining discovery resource elements for sending the device discovery signals in a discovery resource period indicated by the configuration information, the discovery resource elements being obtained by dividing radio resources in the discovery resource period in a manner of time division multiplexing and/or frequency division multiplexing; determining discovery resource elements may include determining at most one discovery resource element in the discovery resource period; and
Step 803: sending the device discovery signals on the determined discovery resource elements.
Embodiment 2