Electronic device and method for controlling input and output by electronic device
AssigneeSamsung Electronics Co., Ltd.
InventorsSang-Wook Shin, Sung-Woon Jang, Sang-Ki Kang, Sung-Wan Youn
Life of this patent
Estimating the term…
Abstract
An electronic device is provided. The electronic device includes a first speaker, a first microphone, a storage unit storing a reference signal, and a controller configured to, when the reference signal is output through the first speaker, receive a first signal input through the first microphone and a second signal input through a second microphone of an external electronic device and determine whether to use the first microphone or the second microphone based on at least one of the first signal input through the first microphone and the second signal input through the second microphone.
Claims17
An electronic device comprising:
- a first speaker;
- a first microphone;
- a communication circuit;
- and
- a processor configured to:
- identify whether the electronic device is wirelessly connected with an external electronic device having a second speaker and a second microphone,
- in response to identifying that the electronic device is wirelessly connected with the external electronic device, output a reference signal through the first speaker,
- receive a first signal corresponding to the reference signal inputted into the electronic device through the first microphone,
- receive, from the external electronic device, through the communication circuit, a second signal corresponding to the reference signal inputted into the external electronic device through the second microphone,
- compare the first signal with the second signal,
- identify an application that is being operated by the electronic device, and
- based on a result of the comparing and the application:
- select the first speaker of the electronic device as an available speaker and the second microphone of the external electronic device as an available microphone, or
- select the second speaker of the external electronic device as the available speaker and the first microphone of the electronic device as the available microphone.
A method for controlling input and output by an electronic device including a first speaker and a first microphone, the method comprising:
- identifying whether the electronic device is wirelessly connected with an external electronic device having a second speaker and a second microphone;
- in response to identifying that the electronic device is wirelessly connected with the external electronic device, outputting a reference signal through the first speaker;
- receiving a first signal corresponding to the reference signal inputted into the electronic device through the first microphone;
- receiving, from the external electronic device, through a communication circuit of the electronic device, a second signal corresponding to the reference signal inputted into the external electronic device through the second microphone;
- comparing the first signal with the second signal;
- identifying an application that is being operated by the electronic device;
- and
- based on a result of the comparing and the application:
- selecting the first speaker of the electronic device as an available speaker and the second microphone of the external electronic device as an available microphone, or
- selecting the second speaker of the external electronic device as the available speaker and the first microphone of the electronic device as the available microphone.
A non-transitory computer-readable storage medium configured to store one or more computer programs including instructions that, when executed by at least one processor of an electronic device comprising a first speaker and a first microphone, cause the at least one processor to:
- identify whether the electronic device is wirelessly connected with an external electronic device having a second speaker and a second microphone,
- in response to identifying that the electronic device is wirelessly connected with the external electronic device, output a reference signal through the first speaker,
- receive a first signal corresponding to the reference signal inputted into the electronic device through the first microphone,
- receive, from the external electronic device, through a communication circuit of the electronic device, a second signal corresponding to the reference signal inputted into the external electronic device through the second microphone,
- compare the first signal with the second signal,
- identify an application that is being operated by the electronic device, and
- based on a result of the comparing and the application:
- select the first speaker of the electronic device as an available speaker and the second microphone of the external electronic device as an available microphone, or
- select the second speaker of the external electronic device as the available speaker and the first microphone of the electronic device as the available microphone.
Dependencies are inferred from the claim text.