An electronic device comprising: a connector configured to be connected to an external device; a first interface module configured to process a voice signal or a display port, DP, protocol-based signal; a second interface module configured to process a broadcast signal; a processor (520, 526); and a switch positioned between the first and second interface modules and the connector, wherein the processor (520, 526) is configured to: receive control information of the external device through the connector; identify that the external device supports an antenna function for the broadcast signal, based on the control information; control the switch such that the connector is connected to the second interface module to perform a broadcast function; receive the broadcast signal from the external device through the connector; and measure strength of the broadcast signal, wherein, when the strength of the signal is less than a specified first threshold value, determine whether the number of times that switching i of the second interface module is retried or a switching time of the second interface module is not less than a specified second threshold value; and either: i) when the number of times that the switching is retried or the switching time is less than the second threshold value, control the switch such that the connector is connected to the second interface module; or ii) when the number of times that the switching is retried or the switching time is not less than the second threshold value, control the broadcast function to be terminated. a connector configured to be connected to an external device; a first interface module configured to process a voice signal or a display port, DP, protocol-based signal; a second interface module configured to process a broadcast signal; a processor (520, 526); and a switch positioned between the first and second interface modules and the connector, wherein the processor (520, 526) is configured to: receive control information of the external device through the connector; identify that the external device supports an antenna function for the broadcast signal, based on the control information; control the switch such that the connector is connected to the second interface module to perform a broadcast function; receive the broadcast signal from the external device through the connector; and measure strength of the broadcast signal, wherein, when the strength of the signal is less than a specified first threshold value, determine whether the number of times that switching i of the second interface module is retried or a switching time of the second interface module is not less than a specified second threshold value; and either: i) when the number of times that the switching is retried or the switching time is less than the second threshold value, control the switch such that the connector is connected to the second interface module; or ii) when the number of times that the switching is retried or the switching time is not less than the second threshold value, control the broadcast function to be terminated. receive control information of the external device through the connector; identify that the external device supports an antenna function for the broadcast signal, based on the control information; control the switch such that the connector is connected to the second interface module to perform a broadcast function; receive the broadcast signal from the external device through the connector; and measure strength of the broadcast signal, wherein, when the strength of the signal is less than a specified first threshold value, determine whether the number of times that switching i of the second interface module is retried or a switching time of the second interface module is not less than a specified second threshold value; and either: i) when the number of times that the switching is retried or the switching time is less than the second threshold value, control the switch such that the connector is connected to the second interface module; or ii) when the number of times that the switching is retried or the switching time is not less than the second threshold value, control the broadcast function to be terminated. i) when the number of times that the switching is retried or the switching time is less than the second threshold value, control the switch such that the connector is connected to the second interface module; or ii) when the number of times that the switching is retried or the switching time is not less than the second threshold value, control the broadcast function to be terminated.