| CPC G06F 3/167 (2013.01) [G06F 3/011 (2013.01); G06F 3/162 (2013.01)] | 20 Claims |

|
1. An electronic device comprising:
a wireless communication circuit;
memory; and
at least one processor, comprising processing circuitry, operatively connected to the wireless communication circuit, and the memory, and
configured, individually or collectively, to:
acquire, from an external electronic device connected to the electronic device through the wireless communication circuit, context information comprising information indicating a state of the external electronic device,
determine whether to activate a microphone of the electronic device or a microphone of the external electronic device based on the context information,
activate one of the microphone of the electronic device or the microphone of the external electronic device based on the determination,
acquire an ambient audio signal using the activated microphone,
identify whether preconfigured audio information is included in the acquired ambient audio signal; and
transmit, in response to identifying that the preconfigured audio information is included in the acquired ambient audio signal, data related to the ambient audio signal to the external electronic device.
|
|
12. A method for an electronic device, the method comprising:
acquiring context information from an external electronic device connected to the electronic device, the context information comprising information indicating a state of the external electronic device;
determining whether to activate a microphone of the electronic device or a microphone of the external electronic device based on the context information;
activating one of the microphone of the electronic device or the microphone of the external electronic device based on the determination;
acquiring an ambient audio signal using the activated microphone;
identifying whether preconfigured audio information is included in the acquired ambient audio signal; and
transmitting, in response to identifying that the preconfigured audio information is included in the acquired ambient audio signal, data related to the ambient audio signal to the external electronic device.
|