Patent ID: 8320831

Claim:
An electronic device comprising: a communication module configured to execute close proximity wireless transfer, the communication module being in one of multiple modes including a first mode, a second mode and a third mode, wherein in the first mode, a service start request is transmitted to a communication target device, in the second mode, a service start request is received from the communication target device, and in the third mode, the mode is allowed to be changed to either the first mode or the second mode; a connection establishment module configured to establish a connection between the communication module and an external device when the communication module and the external device are in a close proximity state; a negotiation module configured to execute, if the connection between the communication module and the external device is established, a negotiation process comprising a process of determining whether the external device is in the first mode or in the second mode, a process including changing a mode of the communication module from the third mode to the second mode, receiving the service start request from the external device, and determining a service to be executed between the communication module and the external device, if the external device is in the first mode, and a process including changing the mode of the communication module from the third mode to the first mode, transmitting the service start request to the external device, and determining a service to be executed between the communication module and the external device, if the external device is in the second mode; a service execution module configured to execute the determined service; and an execution control module configured to change the mode of the communication module from the first mode or the second mode to the third mode after completion of the execution of the service, and to not request execution of the negotiation process again unless a start request for a new service is received from a user the external device.