An electronic device configured to be woken up by a first specified word, the electronic device comprising: a microphone configured to receive a voice input; a communication circuitry configured to communicate with an external electronic device; an indicator configured to provide at least one visual indication different from an indication provided from the external electronic device to distinguish the electronic device from the external electronic device; and a processor configured to be electrically connected with the microphone, the communication circuitry, and the indicator; and a memory configured to be electrically connected with the processor, wherein the memory stores instructions, when executed, cause the processor to: determine whether the external electronic device can also be woken up by the first specified word; receive a first voice input through the microphone; perform a first voice recognition for the first voice input; if the first specified word for waking up the electronic device is included in a result of the first voice recognition, and if the external electronic device can also be woken up by the first specified word: display a first visual indication through the indicator; receive a second voice input through the microphone; perform a second voice recognition for the second voice input; and if a second specified word corresponding to the first visual indication is included in a result of the second voice recognition, wake up the electronic device. a microphone configured to receive a voice input; a communication circuitry configured to communicate with an external electronic device; an indicator configured to provide at least one visual indication different from an indication provided from the external electronic device to distinguish the electronic device from the external electronic device; and a processor configured to be electrically connected with the microphone, the communication circuitry, and the indicator; and a memory configured to be electrically connected with the processor, wherein the memory stores instructions, when executed, cause the processor to: determine whether the external electronic device can also be woken up by the first specified word; receive a first voice input through the microphone; perform a first voice recognition for the first voice input; if the first specified word for waking up the electronic device is included in a result of the first voice recognition, and if the external electronic device can also be woken up by the first specified word: display a first visual indication through the indicator; receive a second voice input through the microphone; perform a second voice recognition for the second voice input; and if a second specified word corresponding to the first visual indication is included in a result of the second voice recognition, wake up the electronic device. determine whether the external electronic device can also be woken up by the first specified word; receive a first voice input through the microphone; perform a first voice recognition for the first voice input; if the first specified word for waking up the electronic device is included in a result of the first voice recognition, and if the external electronic device can also be woken up by the first specified word: display a first visual indication through the indicator; receive a second voice input through the microphone; perform a second voice recognition for the second voice input; and if a second specified word corresponding to the first visual indication is included in a result of the second voice recognition, wake up the electronic device. display a first visual indication through the indicator; receive a second voice input through the microphone; perform a second voice recognition for the second voice input; and if a second specified word corresponding to the first visual indication is included in a result of the second voice recognition, wake up the electronic device.