摘要 |
An electronic device includes a communication unit configured to communicate with a first communication device or a second communication device, and a controller configured to control the communication through the communication unit. When the electronic device is brought close to the first communication device, the controller obtains identification information indicating the first communication device from the first communication device, and when the electronic device is brought close to the second communication device, the controller transmits the identification information and predetermined additional information to the second communication device. The second communication device activates an operation for establishing communication with the first communication device indicated by the identification information, when receiving the identification information and the predetermined additional information. |
主权项 |
1. A method for establishing communication between a first communication device and a second communication device, in response to a series of user actions using an electronic device to establish the communication,
the series of user actions including a first user's action to bring the electronic device to touch the first communication device, and a second user's action made continuously after the first usr's action to bring the electronic device to touch the second communication device, the method comprising:
first detecting whether the electronic device becomes within a predetermined distance to the first communication device, regarding the first user's action;obtaining, by the electronic device, identification information indicating the first communication device from the first communication device, by using a result of the first detecting as a trigger to obtain the identification information, when detecting that the electronic device becomes within a predetermined distance to the first communication device;secondly detecting whether the electronic device becomes within a predetermined distance to the second communication device, regarding the second user's action; transmitting, by the electronic device, the identification information and predetermined additional information to the second communication device without receiving a request for the identification information and predetermined additional information from the second communication device, by using a result of the secondly detecting as a trigger to transmit the identification information and the predetermined additional information, when detecting that the electronic device becomes within a predetermined distance to the second communication device; and establishing, by the second communication device, communication with the first communication device by using the identification information and the predetermined additional information, based on a predetermined protocol. |