| CPC H03G 3/32 (2013.01) [G06F 1/163 (2013.01); G06F 3/165 (2013.01); H04W 4/029 (2018.02); H04W 4/38 (2018.02)] | 11 Claims |

|
1. An electronic device comprising:
a communication circuit;
a display;
at least one sensor;
at least one processor; and
memory storing instructions that, when executed by the at least one processor, cause the electronic device to:
obtain sound data regarding a surrounding environment from a wearable electronic device through the communication circuit,
obtain sensor data through the at least one sensor,
identify that the surrounding environment matches a context among a plurality of preset contexts, based on the sound data and the sensor data,
in response to the matching context being a first preset context in which a dialog between a user of the electronic device and another person is performed, transmit, to the wearable electronic device, a first signal for deactivating a noise canceling function of the wearable electronic device through the communication circuit, and
in response to the matching context being a second preset context in which the dialog between the user of the electronic device and the other person is not performed:
when the display is on, and the wearable electronic device is outputting the sound, transmit, to the wearable electronic device through the communication circuit, a second signal for activating the noise canceling function of the wearable electronic device and a signal for controlling the wearable electronic device to deactivate an ambient sound hearing function and increase a volume of the sound being output from the wearable electronic device, and
when the display is off, and the wearable electronic device is not outputting the sound, transmit, to the wearable electronic device, the second signal and a signal for controlling the wearable electronic device to deactivate the ambient sound hearing function.
|