In another embodiment, the frequency positions can be determined by the interleaver. The frequency positions of the discovery resource elements in the preceding discovery resource period of the current discovery resource period are interleaved by the interleaver, a mapping relationship is established between the frequency positions of the discovery resource elements in the preceding discovery resource period and the frequency positions of the discovery resource elements in the current discovery resource period according to the result of the interleaving, and the frequency positions of the discovery resource elements for sending device discovery signals in the current resource period are determined according to the frequency positions of the discovery resource elements which send the device discovery signals in the preceding discovery resource period and the mapping relationship.
The interleaver may be an interleaver defined by the LTE system. As shown in 
Embodiment 5