An electronic apparatus comprising: an operation performer; network communicator circuitry configured to perform network communication with a server; infrared communicator circuitry; and a processor, configured to: control the infrared communicator circuitry to always operate regardless of whether the electronic device is operating, obtain identification information of an external device from a first infrared signal received through the infrared communicator circuitry by intercepting the first infrared signal which is transmitted from a remote controller to the external device, identify whether the external device is registered as a control target based on the identification information of the external device obtained from the intercepted first infrared signal, based on identifying that the external device is not registered as the control target, control the network communicator circuitry to transmit the obtained identification information of the external device to the server to register the external device as the control target, obtain a control command for controlling the external device from the server, and control the infrared communicator circuitry to transmit a second infrared signal, which contains command information based on the obtained control command, to the external device to make the external device perform an operation corresponding to the obtained control command. an operation performer; network communicator circuitry configured to perform network communication with a server; infrared communicator circuitry; and a processor, configured to: control the infrared communicator circuitry to always operate regardless of whether the electronic device is operating, obtain identification information of an external device from a first infrared signal received through the infrared communicator circuitry by intercepting the first infrared signal which is transmitted from a remote controller to the external device, identify whether the external device is registered as a control target based on the identification information of the external device obtained from the intercepted first infrared signal, based on identifying that the external device is not registered as the control target, control the network communicator circuitry to transmit the obtained identification information of the external device to the server to register the external device as the control target, obtain a control command for controlling the external device from the server, and control the infrared communicator circuitry to transmit a second infrared signal, which contains command information based on the obtained control command, to the external device to make the external device perform an operation corresponding to the obtained control command. control the infrared communicator circuitry to always operate regardless of whether the electronic device is operating, obtain identification information of an external device from a first infrared signal received through the infrared communicator circuitry by intercepting the first infrared signal which is transmitted from a remote controller to the external device, identify whether the external device is registered as a control target based on the identification information of the external device obtained from the intercepted first infrared signal, based on identifying that the external device is not registered as the control target, control the network communicator circuitry to transmit the obtained identification information of the external device to the server to register the external device as the control target, obtain a control command for controlling the external device from the server, and control the infrared communicator circuitry to transmit a second infrared signal, which contains command information based on the obtained control command, to the external device to make the external device perform an operation corresponding to the obtained control command.