Electronic device and method for controlling audio input/output

An electronic device includes an interface unit that communicates with an external device in wireless or wired communication, a resonance sensor unit that detects a frequency resonance signal of the external device, and a controller that detects at least one input from the external device through the resonance sensor unit, determines an audio input or output activation state of the electronic device in response to the communication connection state with the external device, and controls an audio input or output operation of the electronic device based on the detection of the at least one input and the determination of the audio input/output activation state.

PRIORITY

This application claims priority under 35 U.S.C. § 119(a) to Korean Patent Application No. 10-2014-0141063, filed on Oct. 17, 2014, the contents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a method and an electronic device for controlling audio input/output.

2. Description of the Related Art

Interest has dramatically increased in the use of various external devices that interwork with an electronic device to extend the function of the electronic device. For example, an external audio device such as Bluetooth® earphones or headsets outputs audio signals of the electronic device through wired or wireless speakers, and provides a function such as a speaker while enabling the user to perform various activities. In addition, the audio device is equipped with a control button used to control the audio reproduction and output function of the electronic device, interworking with the electronic device.

As such, conventional electronic devices provide the audio reproduction and output function thereof through the control button of the audio device. However, the control button requires a user input, which prohibits control of the audio input/output of the electronic device through the audio device without the user's control input. In addition, when the user leaves the vicinity of the electronic device after disconnecting the earphones from the electronic device, although the user cannot listen to music, the audio signal continues to be reproduced unless the user inputs the control input, which is inconvenient and is an unnecessary waste of resources.

SUMMARY OF THE INVENTION

The present invention has been made to address the above-mentioned problems and disadvantages, and to provide at least the advantages described below.

Accordingly, an aspect of the present invention is to provide a method and an apparatus for controlling an audio input/output, in which a user's gesture with respect to the external audio device is recognized, and the audio input/output is controlled in response to the recognized user's gesture instead of through the control button of the external audio device that is linked with the electronic device, and an external device supporting the same.

In accordance with an aspect of the present invention, an electronic device includes an interface unit that communicates with an external device in wireless or wired communication, a resonance sensor unit that detects a frequency resonance signal of the external device, and a controller that detects at least one input from the external device through the resonance sensor unit, determines an audio input or output activation state of the electronic device in response to the communication connection state with the external device, and controls an audio input or output operation of the electronic device based on the detection of the at least one input and the determination of the audio input/output activation state.

In accordance with another aspect of the present invention, a method for controlling an audio input or output in an electronic device includes detecting at least one input of an external device through an electromagnetic resonance panel that is electrically connected with the electronic device, determining the execution state of at least one audio input or output function of the electronic device in response to the communication connection state with the external device, and controlling at least one audio input or output function based on the detection of the at least one input and the execution state.

In accordance with another aspect of the present invention, an external device includes a connection interface that communicates with an electronic device, an audio output unit that outputs an audio signal received through the connection interface, and a proximity signal generating unit that is inserted inside the audio output unit, detects a proximity of the electronic device, and generates a proximity signal based on the detected proximity.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, a detailed description of related well-known functions or structures incorporated herein will be omitted for the sake of clarity and conciseness.

The terms and words used in the present specification and claims should not be interpreted as being limited to their typical meaning based on dictionary definitions thereof, but should be interpreted to have a meaning and concept relevant to the technical spirit of the present invention. Accordingly, the embodiments described in the present specification and constructions shown in the drawings are only embodiments of the present invention, and do not represent the entire technical spirit of the present invention. Therefore, it should be understood that various equivalents and modified embodiments capable of replacing these embodiments may exist.

In various embodiments of the present invention, the electronic device such as a smart phone or tablet personal computer (PCs) is connected to networks through wired/wireless communication, and applications may be freely installed in and deleted from the electronic device. The networks include the Internet and mobile communication networks.

In various embodiments of the present invention, the external audio devices include earphones, headsets, and Bluetooth® devices that are linked to the electronic device in order to thereby control the function of the electronic device to an extent. The external audio device is connected with the electronic device in wired/wireless communication. Hereinafter, the external audio device will be described as earphones, but the present invention is not limited thereto.

According to embodiments of the present invention, the electronic device controls the audio input/output operation through the external audio device by using a proximity state, a contact state, or a non-contact state with respect to the external audio device.

FIG. 1is a block diagram of an electronic device, according to an embodiment of the present invention.

Referring toFIG. 1, the electronic device101includes a communication unit110, a jack interface120, a display unit130, an audio processing unit140, a resonance sensor unit150, a memory160, and a controller170.

The communication unit110, under the control of the controller170, is connected to a network through wireless/wired communication, or performs voice communication, video communication, or data communication with the external audio device through a communication connection between devices. The wireless communication, for example, includes at least one of wireless fidelity (WiFi), Bluetooth® (BT), near field communication (NFC), a global positioning system (GPS), or cellular communication such as long term evolution (LTE), LTE-advanced (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications network (UMTS), wireless broadband (WiBro), and global system for mobile communications (GSM). The wired communication, for example, includes at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), recommended standard 232 (RS-232), and plain old telephone service (POTS).

The jack interface120supports a wired connection between the external audio device and the electronic device101. The jack interface120includes accepting ports for recognizing the type of external audio device, and the operating status of a control button of the external audio device. The accepting ports include a left sound port, a right sound port, a microphone port, and a ground port. For example, when the jack interface120is connected to the earphones through the accepting ports, under the control of the controller170, the jack interface120outputs the audio signal generated from the audio processing unit140to earphone speakers, and transmits the audio signal received from an earphone microphone to the audio processing unit140.

Although the communication unit110and the jack interface120are described as being separate from each other in the embodiment of the present invention, the jack interface120and the communication unit110may be configured to be integrated into the interface unit115.

The display unit130displays images or data to the user. The display unit130includes a display panel implemented as a liquid-crystal display (LCD) or an active-matrix organic light-emitting diode (AMOLED), and is at least one of flexible, transparent and wearable. The display unit130further includes a controller to control the display panel.

The display unit130may be combined with the touch panel to be thereby configured as a single module such as in the form of a touch screen. The touch panel, for example, recognizes a touch input by the user by at least one of a capacitive type, a pressure-sensitive type, an infrared type, or an ultrasonic type touch panel.

The audio processing unit140encodes and decodes audio or voice signals. The audio processing unit140is connected with an audio input device such as a microphone (MIC), an audio output device such as a speaker (SPK), and the external audio device, and encodes voice signals received from the audio input device or transmitted from the external audio device and transmits the encoded voice signals to the controller170.

The audio processing unit140decodes the encoded voice signal received from the controller170and converts the decoded voice signal into an analog signal, and outputs the analog signal through the audio output device, or the external audio device that is connected with the jack interface120or connected with the communication unit110in the wireless communication. The audio processing unit140outputs various audio signals such as audio signals created by reproducing MP3 or video files, through the audio output device, or the external audio device that is connected with the jack interface120or connected with the communication unit110in the wireless communication.

The resonance sensor unit150includes a coil such as an electro-magnetic resonance (EMR) coil that generates an induced current due to a change in the magnetic field or receives a frequency resonance signal through the energy tunnel created by a resonance based on a specific frequency, and a capacitor. For example, the resonance sensor unit150receives a frequency resonance signal that is generated from the external audio device based on the magnetic field generated on the surface of the device according to the proximity (or contact) of the external audio device coil member. The resonance sensor unit150converts the received frequency resonance signal into a digital signal to be transmitted to the controller170.

According to an embodiment, the resonance sensor unit150may be combined with the touch panel of the display unit130. The resonance sensor unit150includes a plurality of signal lines that intersect with each other along the x-axis and y-axis. The controller170controls to supply a current to the resonance sensor unit150in order to thereby detect the change in the magnetic field. The resonance sensor unit150detects the frequency resonance signal generated from the coil of the external audio device through the change in the magnetic field, and recognizes the coordinates of the position detected through the plurality of lines.

According to an embodiment, the resonance sensor unit150receives a signal generated based on a dielectric constant that is distinct from the human body. For example, a dielectric material, which is distinct from the human body or has a different dielectric constant from that of the human body, is provided in the external audio device. The electronic device101determines whether the signal transmitted through the resonance sensor unit150is a proximity signal generated from the human body or from the external audio device.

The memory160stores the instructions or data received from the controller170or other elements such as the display unit130and the communication unit110or created by the other elements. For example, the memory160stores an operating system (OS) for booting the electronic device101and operating the elements mentioned above, at least one application, messages transmitted/received through the network, or the data resulting from the execution of the applications.

The memory160, for example, includes programming modules, such as a kernel, middleware, an application programming interface (API), or applications. Each of the above-described programming modules may be configured as software, firmware, hardware, or a combination thereof.

The controller170receives the instructions from the other elements of the electronic device101, decodes the received instructions and thereby performs the calculation or the data processing according to decoded instructions. For example, when power is supplied, the controller170controls the booting process of the electronic device101, and executes various application programs stored in the program area in order to perform the function according to the user's configuration. The controller170includes one or more application processors (APs), or one or more communication processors (CPs).

The controller170includes a detecting module171, a function determining module172, and an audio input/output control module173.

The detecting module171detects the insertion of the jack plug of the external audio device into the jack interface120. The detecting module171detects a voltage value received through a connection with the external audio device and thereby recognizes the type, connection status, or operation status of the external audio device. The detecting module171recognizes the communication connection with the external audio device, and transmits the identified information to the function determining module172.

The detecting module171detects the proximity control input of the external audio device when a frequency resonance signal is generated through the resonance sensor unit150.

The detecting module171determines the type of proximity control input of the external audio device based on the frequency of the frequency resonance signal. For example, the detecting module171determines whether the frequency of the frequency resonance signal is the first resonance signal (e.g., the signal generated from the right earpiece) or the second resonance signal (e.g., the signal generated from the left earpiece).

The detecting module171determines whether the frequency resonance signal is generated from a single earpiece or two earpieces. The detecting module171transmits the detection information of the proximity control input and the type information thereof to the function determining module172and the audio input/output control module173.

The function determining module172determines the execution state of the audio input/output function, and determines the running function or application. The audio input/output function (or the application) may be the reproducing of multimedia files such as audio sources or videos, a digital mobile broadcasting (DMB) function, a call function, or a voice recording function, but is not limited thereto, and includes a function or application that requires the audio output or the audio input through the MIC.

The function determining module172determines whether an audio output function or an audio input function is in progress.

According to an embodiment, if the communication connection with the external audio device is not recognized after the proximity control input is detected, the function determining module172may discover the external audio device through the wireless communication, and determine the external audio input/output function of the external audio device connected through the wireless communication.

The function determining module172transfers the audio input/output function and the execution state thereof to the audio input/output control module173.

The audio input/output control module173controls the audio input/output function of the electronic device101based on the proximity control input of the external audio device and the execution state of the audio input/output function. The electronic device101may configure the audio control operations to be different from each other depending on the audio input/output control function, and may configure the audio control operations such that a plurality of audio control operations may be performed in response to a single audio input/output function.

Table 1 below shows the audio control operation configured based on the audio input/output function. This is only an example, however, and the present invention may vary in terms of the audio input/output function or the configuration operation.

According to an embodiment, the electronic device101separates the frequency of the frequency resonance signal of the external audio device and configures the audio control operations depending on the frequency. In the external audio device, such as the earphones, the coil inserted into a user's left ear is a different type than the coil inserted into the user's right ear in order to induce the frequency resonance signals that have different resonance frequency bands from each other.

For example, the external audio device adjusts the coil gap, the number of windings, or the sectional area of the coil such that the left earpiece and the right earpiece of the headphones have different resonance frequency bands from each other. The electronic device101separates the frequency and thereby distinguishes the first resonance signal generated by the left earpiece from the second resonance signal generated by the right earpiece.

Table 2 below shows a configuration of a plurality of audio control operations in response to the audio input/output function. This is only an example, however, and the audio control operations of the present invention may vary in terms of the audio input/output function.

The audio input/output control module173performs a plurality of audio control operations configured according to the type of proximity control input with respect to the external audio device.

As shown in Table 2, the audio input/output control module173configures the audio input/output control operations to be different from each other according to the left channel or right channel direction of the earpiece, and then configures the audio input/output control operations to be different from each other according to the number of earpieces.

FIG. 2is a structural diagram of the external audio device, according to an embodiment of the present invention.

Referring toFIG. 2, the external audio device201are shown as being wired earphones, but the present invention is not limited thereto. The earphones201illustrated inFIG. 2include a jack plug210, earpieces230and240supporting a two-channel sound output, and a control button250.

The jack plug210is connected to the jack interface of the electronic device, and includes one or more connecting ports that are connected to the accepting ports of the jack interface140to transmit and receive signals. The jack plug210may be inserted into the jack interface120of the electronic device101, which recognizes the insertion of the earphones201through a change in the voltage generated due to the connection between the connecting port of the jack plug210and the accepting port of the jack interface120.

The control button250supports a voice call function of the electronic device101. When an input signal of the control button250of the earphones201is received after the call connection signal is received, the electronic device101performs a call connection with the other user through the earphones201. For example, the electronic device101receives the user's voice input from the microphone of the earphones201, and outputs the other user's voice input through the earpieces230and240of the earphones201.

The first earpiece230and the second earpiece240separate the audio signals received from the electronic device101into 2-channel audio signals and output the 2-channel audio signals. The first earpiece230and the second earpiece240include coil members220that support the audio input/output control inputs of the electronic device101.

The coil members220may be configured to have the same or different resonant frequency bands from each other by adjusting the coil gap, the number of windings, or the sectional area of the coil. The coil members220create an induced current based on the magnetic field generated in the electronic device101, and create a frequency resonance signal having a constant frequency band through the generated induction current.

As described above, the earphones201including the coil members220control the audio input/output operation related to the audio input/output function of the electronic device101. The user causes the earpieces230and240of the earphones201to contact the electronic device101, for example, in order to stop the reproduction of the content so that the audio input/output function with respect to the earphones201or the electronic device101can be easily controlled.

FIG. 3illustrates a method for controlling the audio input/output of the electronic device using the external audio device, according to an embodiment of the present invention.

Referring toFIG. 3, in step310, the controller170or the electronic device detects the proximity control input of the external audio device.

The external audio device includes the EMR coil members in order to detect the proximity with respect to other devices. For example, if the external audio device is the earphones201as illustrated inFIG. 2, the coil members220are built in the earpieces230and240. An induced current is generated in the coil members220of the external audio device by the magnetic field created on the surface of the touch screen due to the proximity of the coil members220and the resonance sensor unit of the electronic device.

The external audio device creates a frequency resonance signal based on the generated induction current. The resonance sensor unit150of the electronic device receives the created frequency resonance signal from the external audio device, and converts the received frequency resonance signal into a digital signal that is transferred to the controller. The controller detects the proximity control input of the external audio device based on the status of the magnetic field, the strength of the signal, or the resonance frequency of the frequency resonance signal. The controller170receives the frequency resonance signal while the display unit130is turned off, and detects the proximity control input of the external audio device.

In step320, the controller170recognizes the communication connection with the external audio device. For example, the detecting module171of the controller170recognizes that the external audio device has been inserted into the jack interface based on the change in the voltage due to the connection of the jack plug.

In step330, when the communication connection with the external audio device is established, the controller170checks the execution state of the audio input/output function. For example, based on the recognition of the communication connection with the external audio device, the controller170determines whether the audio input function or the audio output function is in progress among the audio input/output functions through a running application.

According to an embodiment, based on the recognition of the communication connection with the external audio device, if the audio input/output function is not in progress, the controller170determines the audio input/output function determined according to the configuration. The controller170automatically executes the audio input/output function based on the priority information on the audio input/output function or configuration information thereon in the electronic device. In step340, the controller170controls the audio input/output function based on the proximity control function of the external audio device and the execution state of the audio input/output function.

For example, the controller170performs the configured audio control operation in response to the proximity control input of the external audio device. If the audio output function is executed, the controller170selects at least one of a stereo mode, a monaural mode, a virtual sound effect mode, a mute mode, a speaker mode, or a volume control mode in response to the proximity control input according to the execution state.

For another example, if the audio input function is executed, the controller170controls to receive an audio input through the external audio device, or to receive an audio input through the internal microphone of the electronic device, in response to the proximity control input.

FIGS. 4A-4Billustrates the audio input/output controlling operation using the external audio device, according to an embodiment of the present invention.

Referring toFIGS. 4A-4B, the electronic device101outputs the multimedia audio signal through the speakers of the earphones201. When the earphones201are inserted, the electronic device101changes the audio output mode from an internal speaker mode of the electronic device101into an earphone output mode. The electronic device101maintains the earphone output mode while the display unit130is turned off. As shown inFIG. 4A, the electronic device101controls to turn off the display unit130after a predetermined period of time when the audio source is output through the earpieces230and240of the earphones201. An icon reproduction object410on the display unit130is illustrated inFIG. 4Ain order to explain the functional state of the electronic device, and the display unit130is in the turn-off state.

The user controls the stop operation for the running multimedia audio source using the earphones201. As shown inFIG. 4B, the user places earpiece240of the earpieces230and240on the display unit130while the user listens to the music through the earphones201.

The electronic device101then detects the proximity control input of the earpiece240based on the frequency resonance signal created by the reaction between the coil member built into the earpiece240and the resonance sensor unit of the electronic device101. The electronic device101determines the frequency resonance signal generated according to the proximity of the earpiece, and determines the control operation configured according to the execution state of the audio input/output function and the proximity control input.

The electronic device101determines that the audio source is in reproduction, and as shown inFIG. 4B, controls to stop the reproduction of the audio source. An audio source stop object420on the display unit130is illustrated inFIG. 4Bin order to explain the functional state of the electronic device, and the display unit130is in the turn-off state.

As described above, if the user wishes to leave the vicinity of the electronic device101while the audio source is in reproduction through the earphones201, or if the audio source no longer needs to be reproduced, the user may stop the reproducing of the audio source by placing one earpiece240of the earphones201on the display unit130.

FIGS. 5A-5Billustrate an audio control operation of the electronic device, according to an embodiment of the present invention.

Referring toFIGS. 5A-5B, the electronic device performs the control operation of the configured audio input/output function in response to the proximity control input of the external audio device.

As illustrated, the electronic device displays a user interface object410,430related to the audio input/output function on the display unit, in response to the proximity control input of the external audio device. The user interface object includes at least one of a multimedia file information panel, a reproduction control panel, a call control panel, or a record control panel.

For example, as shown inFIG. 5A, the multimedia audio source is output through the speakers of the earphones while the display unit130of the electronic device101is in the turn-off state. The icon reproduction object410on the display unit130is illustrated in order to explain the functional state of the electronic device.

As shown inFIG. 5B, one earpiece230of the earphones is placed on the display unit130while the user listens to the audio source through the earphones201. The electronic device101then detects the proximity control input of the earphones201, and displays a control user interface (UI)430for controlling a detailed function related to the running audio source on the display unit130in response to an input on the UI. For example, the control UI includes function control objects, such as a previous-file reproduction item431, a reproduction item432, a pause item433, and a next-file item434, in relation to the reproduction of the audio source.

The electronic device performs the control operation of the following audio input/output function in response to the proximity control input of external audio device according to the configuration.

According to various embodiments, the electronic device is configured to change the audio output mode in response to the proximity control input of the external audio device. When the proximity of the earpiece to the display unit130is detected while the audio source is in reproduction, the electronic device controls to change the mode from a stereo channel output mode in which the audio source is output through two channels into a mono channel output mode in which the audio source is output through a single channel. Alternatively, when the proximity of the earpieces is detected while the audio source is output through the earphones in a virtual sound effect mode such as a virtual 5.1 channel effect mode, the electronic device controls to change the audio output mode into a sound effect mode that conforms to one earpiece.

According to various embodiments, the electronic device may be configured to change a call voice output mode in response to the proximity control input of the external audio device when the earphone-based call function is executed. When the proximity control input of the earpieces is detected while a call connection is performed with the other party through the earphones, the electronic device controls to change the earphone output mode into an internal speaker output mode of the electronic device in response to the same.

According to various embodiments, when the proximity control input is detected while the electronic device connects a call, or while the audio input function is in progress in order to receive a voice signal during the voice-recording, the electronic device performs the control operation of the audio input function in response to the input. For example, the electronic device changes the input mode from the earphone microphone input mode into the electronic device internal microphone input mode. When the user places one earpiece on the electronic device while the user performs a call connection with the other user through the earphones, the sound of the voice signal input through the earphones may weaken. In this case, the electronic device measures the sound pressure of a voice received through the internal microphone and the earphone microphone and compares the sound pressure of the internal microphone with the sound pressure of the earphone microphone. If the sound pressure of the internal microphone is greater than the sound pressure of the earphone microphone, the electronic device controls to receive the voice signal and to perform the call connection through the internal microphone. If the sound pressure of the earphone microphone is greater than the sound pressure of the internal microphone, the electronic device receives the voice signal through the earphone microphone.

FIG. 6illustrates a sound control operation of an electronic device, according to an embodiment of the present invention.

Referring toFIG. 6, in step610, the controller determines that the multimedia reproducing function is in progress. In this case, the display unit130is in the turn-off state, and the electronic device outputs the multimedia audio signal in the earphone output mode.

In step620, the controller170detects the proximity control input of the external audio device while the multimedia reproducing function is in progress. In step630, the controller170recognizes a communication connection with the external audio device, and in step640, the controller170controls to stop the reproduction of the multimedia audio source in response to the proximity control input. In this case, the electronic device maintains the turn-off state of the display unit, or displays, on the display unit130, an object showing that the reproduction of the multimedia audio source has been stopped.

In step650, the controller170detects the release of the proximity control input of the external audio device when the multimedia reproduction is stopped. For example, when the user moves the external audio device far away from the electronic device, the frequency resonance signal generated due to the proximity between the external audio device and the electronic device101may not occur. Thus, the controller170recognizes the release of the proximity control input generated by the proximity of the external audio device.

In step660, in response to the release of the proximity control input of the external audio device, the controller170controls to reproduce the multimedia audio source that has been stopped.

The embodiment ofFIG. 6relates to the reproducing and stopping of the multimedia audio source, but the present invention is not limited thereto.

According to various embodiments, when the proximity of the external audio device is detected while the audio output function through the external audio device is in progress, the electronic device controls to stop the audio output function through the external audio device. When a request for executing another audio input/output function is received while the audio output is stopped, the electronic device controls to execute another audio input/output function in response to the release of the proximity input.

For example, when the proximity control input of the external audio device is detected while the audio source is in reproduction through the earphones, the electronic device controls to stop the reproduction of the audio source. Thereafter, the electronic device receives a request for a call connection from the other electronic device when the audio source is stopped. In response to the release of the proximity control input, the electronic device accepts the request for a call connection and performs the call connection with a user of the other electronic device through the external audio device.

FIG. 7illustrates an audio control operation of the electronic device, according to an embodiment of the present invention.

Referring toFIG. 7, in step710, the controller170detects the proximity control input of the electronic device, which is performed in the same manner as step310ofFIG. 3. Thus, the detailed description thereof will be omitted.

In step720, the controller170determines the type of the detected proximity control input. For example, the controller170determines the resonance frequency of the frequency resonance signal generated due to the resonance with respect to the external audio device, and determines whether the resonance frequency is the first resonance signal generated from the first earpiece or the second resonance signal generated from the second earpiece. In addition, the controller170determines whether the proximity control input is the type of signal generated from one or two earpieces.

According to an embodiment, after determining that the proximity control input is a single earpiece signal type, the controller170determines whether the proximity control input signal is generated from the right channel earpiece or the left channel earpiece.

In step730, when the proximity control input is based on the first resonance signal (e.g., the first function type), the controller170performs the first audio input/output control operation. For example, when the proximity control input generated from the first earpiece is detected while the video reproduction function is in progress, the controller170controls to stop the video reproduction function.

In step740, when the proximity control input is based on the second resonance signal (e.g., the second function type), the controller170performs the second audio input/output control operation. For example, when the proximity control input generated from the second earpiece is detected while the video reproduction function is in progress, the controller170controls to display the control objects related to the video reproduction function, such as430inFIG. 5B.

FIGS. 8A-8Billustrate configuring the proximity control input using the external audio device, according to an embodiment of the present invention.

Referring toFIGS. 8A-8B, the electronic device101is configured to distinguish the proximity control inputs from each other in order to thereby perform a plurality of audio input/output control operations in relation to the audio input/output function. For example, the electronic device determines whether the frequency resonance signal is generated from one or two earpieces. The electronic device executes the first configured audio control operation in response to the resonance signal generated from a single earpiece.

For example, the electronic device outputs the audio source through the speakers of the earphones in the virtual 5.1 channel sound effect output mode. In this state, as shown inFIG. 8A, if the user places one of the earpieces on the display unit130of the electronic device101while reproducing the audio source, the electronic device101recognizes that the audio source is output through a single earpiece, and controls to change the virtual sound effect output mode into the mono output mode in which the audio source is output through a single channel.

The electronic device performs the second configured audio control operation in response to the resonance signal generated from the two earpieces. For example, as shown inFIG. 8B, if the user places two earpieces230and240on the display unit130of the electronic device101while reproducing the audio source, the electronic device101controls to stop the reproduction of the audio source.

FIGS. 9A-9Billustrate configuring the proximity control input using the external audio device, according to an embodiment of the present invention.

Referring toFIGS. 9A-9B, the external audio device includes coil members that have different frequency channels from each other and are included in the first earpiece230that outputs the right channel audio signal and the second earpiece240that outputs the left channel audio signal, respectively. In this case, the electronic device101distinguishes the frequency resonance signal generated from the first earpiece230from the frequency resonance signal generated from the second earpiece240.

The electronic device101determines whether the proximity control input of the external audio device is created from the first earpiece230or the second earpiece240, and performs the configured audio input/output control operation according to the frequency of the proximity control input. As shown inFIG. 9A, if the user places the first earpiece230on the display unit130, the electronic device101performs the first audio control operation910related to the audio input/output function. As shown inFIG. 9B, if the user places the second earpiece240on the display unit130of the electronic device101, the electronic device101performs the second audio control operation920related to the audio input/output function. Operation displaying objects910and920displayed on the display unit130inFIGS. 9A and 9Bare illustrated for convenience of explanation, and may or may not be displayed.

According to various embodiments, the electronic device101may be configured to distinguish the proximity control inputs of the external audio device in order to thereby perform a plurality of audio control operations in relation to the audio input/output control function. For example, the electronic device may simultaneously configure the first audio control operation corresponding to the first earpiece230, the second audio control operation corresponding to the second earpiece240, and a third audio control operation corresponding to two earpieces.

FIG. 10illustrates the audio control operation of the electronic device, according to an embodiment of the present invention.

Referring toFIG. 10, in step1010, the controller of the electronic device detects the proximity control input of the external audio device. In step1020, the controller recognizes a communication connection with the external audio device, and in step1030, the controller determines whether or not to execute the audio input/output function, which may be a function or an application (App) to support the audio input/output, such as reproducing music or video, recording, and a DMB watching function.

In step1040, if the controller executes the audio input/output function, the controller performs the configured audio control operation corresponding to the running audio input/output function in response to the proximity control input of the external audio device.

In step1050, if the controller does not execute the audio input/output function, the controller displays, on the display unit130, the audio input/output function information that is executable in the electronic device in response to the proximity control input of the external audio device.

For example, the audio input/output function information includes at least one of a multimedia file information panel, a reproduction control panel, a call control panel, or a record control panel.

For another example, when the proximity control input of the external audio device is detected while the display unit130is turned off, the controller displays, on the display unit, an audio output function list including, for example, an audio source reproduction execution item, a video reproduction execution item, a DMB function execution item, a recording function execution item, or a call function execution item. Afterwards, the controller determines the audio input/output function selected by the user from the audio output function list, and executes the identified audio input/output function.

The embodiments disclosed in the detailed description and drawings are provided to readily describe and to assist in a thorough understanding of the present invention, and are not intended to limit the scope of the present invention. Therefore, it should be understood that all modifications or modified forms drawn by the technical idea of the present invention in addition to the embodiments disclosed herein are included in the scope of the present invention.

Although the present invention has been described above using specific terms in connection with the certain embodiments disclosed in the specification and drawings, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present invention. Therefore, the scope of the present invention should not be defined as being limited to the embodiments, but should be defined by the appended claims and equivalents thereof.