An electronic device, characterized by comprising: a processor configured to: receive a request for controlling a first external device , wherein the first external device is a control target and the request for controlling the first external device includes information on an identification number corresponding to the first external device , transmit the identification number to a server over a mobile network, in response to the request for controlling the first external device , receive an identifier, corresponding to the identification number, of the first external device , from the server , wherein the identifier is for accessing the first external device , transmit a connection request to the first external device using the received identifier of the first external device , and control the first external device by transmitting a control command to the first external device , in response to receiving an indication regarding completion of access authentication based on the identifier from the first external device , and a communication interface configured to perform communication with the first external device and the server . a processor configured to: receive a request for controlling a first external device , wherein the first external device is a control target and the request for controlling the first external device includes information on an identification number corresponding to the first external device , transmit the identification number to a server over a mobile network, in response to the request for controlling the first external device , receive an identifier, corresponding to the identification number, of the first external device , from the server , wherein the identifier is for accessing the first external device , transmit a connection request to the first external device using the received identifier of the first external device , and control the first external device by transmitting a control command to the first external device , in response to receiving an indication regarding completion of access authentication based on the identifier from the first external device , and receive a request for controlling a first external device , wherein the first external device is a control target and the request for controlling the first external device includes information on an identification number corresponding to the first external device , transmit the identification number to a server over a mobile network, in response to the request for controlling the first external device , receive an identifier, corresponding to the identification number, of the first external device , from the server , wherein the identifier is for accessing the first external device , transmit a connection request to the first external device using the received identifier of the first external device , and control the first external device by transmitting a control command to the first external device , in response to receiving an indication regarding completion of access authentication based on the identifier from the first external device , and a communication interface configured to perform communication with the first external device and the server . <EOS>