An electronic device (101, 600, 901) comprising: a short-range wireless communication circuit configured to perform first short-range wireless communication based on a first protocol and second short-range wireless communication based on a second protocol; and a processor (120, 512) operatively connected with the short-range wireless communication circuit, wherein the processor (120, 512) is configured to: connect the first short-range wireless communication with a peripheral device (605, 902); form a cluster including the electronic device (101, 600, 901) and an external electronic device (620, 903); determine whether the electronic device (101, 600, 901) and the external electronic device (620, 903) are registered to a same user account; when the external electronic device (620, 903) is registered to the same user account as the electronic device, establish a wireless data communication path with the external electronic device (620, 903) through the second short-range wireless communication; receive input information from the peripheral device through the first short-range wireless communication; and transmit the received input information or control information corresponding to the received input information to the external electronic device (620, 903) through the wireless data communication path. a short-range wireless communication circuit configured to perform first short-range wireless communication based on a first protocol and second short-range wireless communication based on a second protocol; and a processor (120, 512) operatively connected with the short-range wireless communication circuit, wherein the processor (120, 512) is configured to: connect the first short-range wireless communication with a peripheral device (605, 902); form a cluster including the electronic device (101, 600, 901) and an external electronic device (620, 903); determine whether the electronic device (101, 600, 901) and the external electronic device (620, 903) are registered to a same user account; when the external electronic device (620, 903) is registered to the same user account as the electronic device, establish a wireless data communication path with the external electronic device (620, 903) through the second short-range wireless communication; receive input information from the peripheral device through the first short-range wireless communication; and transmit the received input information or control information corresponding to the received input information to the external electronic device (620, 903) through the wireless data communication path. connect the first short-range wireless communication with a peripheral device (605, 902); form a cluster including the electronic device (101, 600, 901) and an external electronic device (620, 903); determine whether the electronic device (101, 600, 901) and the external electronic device (620, 903) are registered to a same user account; when the external electronic device (620, 903) is registered to the same user account as the electronic device, establish a wireless data communication path with the external electronic device (620, 903) through the second short-range wireless communication; receive input information from the peripheral device through the first short-range wireless communication; and transmit the received input information or control information corresponding to the received input information to the external electronic device (620, 903) through the wireless data communication path.