Abstract:
A method and a terminal for establishing a communication connection. In an embodiment, the method for establishing a communication connection includes: exchanging, by a first terminal, Wi-Fi Direct configuration information with a second terminal through a near field communication connection between the first terminal and the second terminal, where the exchanged Wi-Fi Direct configuration information includes group information of the first terminal or second terminal; and establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the exchanged Wi-Fi Direct configuration information. The present invention can simplify a process of establishing a Wi-Fi Direct connection, so that both of two terminals can establish a Wi-Fi Direct connection within an NFC communication range.
Abstract:
Embodiments of the present invention provide a secure element management method and a terminal. The method includes: when a first secure element is connected to a secure element interface, acquiring identification information of the connected first secure element; acquiring preset identification information, where the preset identification information is used to identify an exclusive secure element; matching the identification information of the first secure element with the preset identification information; and when the identification information of the first secure element matches the preset identification information, setting the first secure element to a normal working state, and setting connected other secure elements on the terminal to a non-normal working state. According to the embodiments of the present invention, the terminal supports a management mode of an exclusive secure element, a requirement of an exclusive secure element issuer for taking control of a secure element of the terminal is met.
Abstract:
The present invention discloses a connection handover method for near field communication, and further disclose a connection handover apparatus. The method includes: acquiring, by a zeroth terminal, idle connection resource information of the zeroth terminal; receiving a request message that is sent by a first terminal and is used for initiating a connection handover process or used for notifying the zeroth terminal that a connection handover process needs to be performed; and determining, according to the request message, that the following determining needs to be performed: determining, according to the idle connection resource information of the zeroth terminal, whether the zeroth terminal has an idle connection resource, if yes, sending a response message to the first terminal, so as to feed back connection configuration information of the zeroth terminal to the first terminal, and if not, skipping feeding back connection configuration information of the zeroth terminal to the first terminal.