摘要 |
The present invention discloses a method and an apparatus for discovering a device in a neighboring area, relates to the field of wireless communications technologies, and resolves a problem in the prior art that a terminal cannot find, without relying on support from an LBS server, another terminal that runs a same application in a local scope or an adjacent area. The method includes: acquiring an application identifier; broadcasting a broadcast frame that carries the application identifier to a receiving end; receiving a message that is sent by a candidate receiving end and carries a target application identifier, where the target application identifier is selected by the candidate receiving end from the application identifier; and determining a target receiving end from the candidate receiving end, so as to establish a connection of a target application with the target receiving end. Embodiments of the present invention are mainly applied to a short-distance wireless communication process. |