WO2017181365A1 - 一种耳机声道控制方法、相关设备及*** - Google Patents

一种耳机声道控制方法、相关设备及*** Download PDF

Info

Publication number
WO2017181365A1
WO2017181365A1 PCT/CN2016/079736 CN2016079736W WO2017181365A1 WO 2017181365 A1 WO2017181365 A1 WO 2017181365A1 CN 2016079736 W CN2016079736 W CN 2016079736W WO 2017181365 A1 WO2017181365 A1 WO 2017181365A1
Authority
WO
WIPO (PCT)
Prior art keywords
earphone
terminal
wearing mode
channel
wearing
Prior art date
Application number
PCT/CN2016/079736
Other languages
English (en)
French (fr)
Inventor
牟磊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680084443.0A priority Critical patent/CN108886653B/zh
Priority to PCT/CN2016/079736 priority patent/WO2017181365A1/zh
Priority to US16/095,547 priority patent/US10805708B2/en
Publication of WO2017181365A1 publication Critical patent/WO2017181365A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a headset channel control method, related device, and system.
  • Today's headphones generally have a left channel and a right channel, and most of the headphones are fixed channel outputs, for example, the left earpiece of the earphone outputs the left channel, and the right earpiece of the earphone outputs the right channel.
  • the left earpiece of the earphone is generally worn on the left ear
  • the right earpiece of the earphone is worn on the right ear.
  • the left and right earpieces of the headphones are reversed, it may happen that the video screen viewed by the user is that the actor on the left is speaking, and the sound heard by the right ear of the user is slightly stronger than the sound heard by the left ear, thus affecting The auditory effect.
  • the user generally performs channel switching by adjusting the wearing position of the earphone, but this switching method is inefficient.
  • the embodiment of the invention discloses a method for controlling a headphone channel, a related device and a system, which are used to solve the problem that the headphone channel switching efficiency is low.
  • a first aspect of the embodiments of the present invention discloses a method for controlling a headset channel.
  • the method is applied to a terminal, and the terminal establishes a communication connection with the headset.
  • the method may include:
  • the terminal may control, according to the wearing mode signal, a channel output of an audio signal played by the terminal, where the wearing mode signal is used to indicate The headset is worn or the headset is worn correctly.
  • the terminal can control the channel output mode of the left and right earpieces according to the wearing mode of the earphone (wearing the reverse or wearing correctly), that is, the terminal can automatically control the channel of the left and right earpieces when the earphone is worn.
  • the output avoids the user to change the wearing position of the earphone, thereby improving the efficiency of the headphone channel switching.
  • the terminal receives a wearing mode sent by the earphone through a communication connection.
  • Signals which can include:
  • the wired connection When the communication connection is a wired connection, the wired connection includes an audio input channel of the earphone and the terminal (a communication line capable of transmitting a sound signal collected by a microphone), and the terminal passes through the audio input channel
  • the wearing mode signal is a carrier signal
  • the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, the carrier signal It can be used to indicate at least one of the earphones worn and the earphones worn correctly.
  • controlling, by the terminal, the channel output of the audio signal played by the terminal according to the wearing mode signal specifically includes:
  • the terminal parses the wearing mode signal to obtain an analysis result, so that the channel output of the audio signal played by the terminal can be controlled according to the analysis result.
  • the terminal parses the wearing mode signal to obtain an analysis result, which may include:
  • the terminal compares the carrier signal with a carrier signal for indicating a headset wearing mode, and the carrier signal for indicating a headset wearing mode includes a carrier signal for indicating the headset wearing reverse and is used to indicate that the earphone is worn correctly a carrier signal, if the carrier signal matches the carrier signal for indicating the headset reverse, the terminal determines that the headset is reversed; if the carrier signal and the carrier signal for indicating that the headset is worn correctly Matching, the terminal determines that the headset is properly worn.
  • the terminal receives the wearing mode signal sent by the headset by using the communication connection, including:
  • the terminal When the communication connection is a wireless connection (such as a Bluetooth connection), the terminal receives the wearing mode signal sent by the earphone through the wireless connection, wherein the wearing mode signal is an extended code;
  • the terminal parses the wearing mode signal to obtain an analysis result, which may include:
  • the terminal compares the extended code with an extended code for indicating a headphone wearing mode, the extended code for indicating a headphone wearing mode includes an extended code for indicating earphone wearing and a means for indicating that the earphone is worn correctly Extended coding, if the extension code matches the extension code for indicating headset wear, the terminal determines that the headset is reversed; if the extension code is associated with the extension code for indicating that the headset is worn correctly Matching, the terminal determines that the headset is properly worn.
  • the wearing mode signal when used to indicate that the earphone is worn, the wearing mode signal is determined by the earphone that the distance between the earphone and the obstacle is not within a preset distance threshold. And transmitting to the terminal through the communication connection; then the terminal switches the audio signal played by the terminal to the channel output according to the wearing mode signal.
  • the terminal may also detect whether an application running in the foreground is an application having an audio output function, such as a music player, a video player, a game application, or the like. If the application running in the foreground is an application having an audio output function, the audio signal played by the terminal is switched to the channel output according to the wearing mode signal.
  • an application running in the foreground is an application having an audio output function, such as a music player, a video player, a game application, or the like. If the application running in the foreground is an application having an audio output function, the audio signal played by the terminal is switched to the channel output according to the wearing mode signal.
  • the terminal switches the earphone channel, thereby avoiding switching channels and improving channel switching in a scene without switching channels. The accuracy.
  • the terminal may further generate and output prompt information according to the wearing mode signal, to prompt the user to wear the earphone, whether to switch the channel, and receive the channel control selected by the user according to the prompt information.
  • An instruction wherein the channel control instruction is for instructing to perform channel switching or to maintain a current channel output. If the channel control instruction is used to indicate that the channel switching is performed, the terminal further switches the audio signal played by the terminal to the channel output according to the wearing mode signal.
  • the prompt information may be a voice prompt or a text prompt.
  • the terminal can be output through the headphone, or it can be output on its own display, or it can be output through the wearable device.
  • the terminal may prompt the user to determine whether the channel is automatically switched or manually switched by the user, which increases the flexibility of channel switching.
  • the second aspect of the embodiment of the present invention discloses another method for controlling a headphone channel.
  • the method is applied to a headset, and the headset establishes a communication connection with the terminal in advance.
  • the method may include:
  • the headset determines a wearing mode of the earphone, generates a wearing mode signal according to the wearing mode of the earphone, and sends the wearing mode signal to the terminal by using the communication connection, wherein the wearing mode includes wearing the earphone
  • the wearing mode includes wearing the earphone
  • the anti-mode and the earphone are worn in the correct mode, the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly, so that the terminal can control the sound of the audio signal played by the terminal according to the wearing mode signal.
  • Channel output is used to indicate that the earphone is worn or the earphone is worn correctly.
  • the earphone can determine the wearing mode of the earphone, and generate a wearing mode signal according to the determination result, thereby notifying the wearing state of the terminal earphone, so that the terminal can control the playing sound according to the wearing mode signal.
  • the channel output of the frequency signal That is to say, that is to say, the terminal can automatically control the channel output of the left and right earpieces when the earphone is worn, and avoids the user to change the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • the determining, by the earphone, the wearing mode of the earphone comprises:
  • Detecting whether the earphone is in a wearing state detecting a distance between the earphone and an obstacle when the earphone is in a wearing state, and determining whether the distance is within a preset distance threshold, if the distance is not at a preset distance threshold Then, it can be determined that the wearing mode of the earphone is the earphone wearing mode, and if the distance is within the preset distance threshold, it can be determined that the wearing mode of the earphone is the correct mode of the earphone wearing.
  • the sending, by the headset, the wearing mode signal to the terminal by using the communication connection may include:
  • the wired connection When the communication connection is a wired connection, the wired connection includes an audio input channel of the earphone and the terminal, and the earphone sends the wearing mode signal to the terminal through the audio input channel, where
  • the wearing mode signal is a carrier signal
  • the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, and the carrier signal may be used to indicate that the earphone is worn and the earphone is worn correctly.
  • the headset transmits the wearing mode signal to the terminal via the wireless connection, wherein the wearing mode signal is extended coding.
  • a third aspect of the embodiments of the present invention discloses a terminal, where the terminal establishes a communication connection with a headset in advance, and the terminal may include a communication module and a control module, where:
  • the communication module is configured to receive a wearing mode signal sent by the earphone by using a communication connection established with the earphone, wherein the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly;
  • the control module is configured to control, according to the wearing mode signal, a channel output of an audio signal played by the terminal.
  • the terminal can control the channel output mode of the left and right earpieces according to the wearing mode of the earphone (wearing the reverse or wearing correctly), that is, the terminal can automatically control the channel of the left and right earpieces when the earphone is worn.
  • Output which avoids the user to change the position of the earphone receiver, which can improve Headphone channel switching efficiency.
  • the specific manner in which the communication module receives the wearing mode signal sent by the earphone through a communication connection established with the earphone may be:
  • the wired connection includes an audio input channel of the earphone and the terminal (a communication line capable of transmitting a sound signal collected by a microphone) a wearing mode signal sent by the earphone, wherein the wearing mode signal is a carrier signal, and the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, and the carrier signal may be used Indicates that the headset is worn and at least one of the headset is worn correctly.
  • the terminal may further include a parsing module, where
  • the parsing module is configured to parse the wearing mode signal received by the communication module, obtain an analysis result, and send the parsing result to the control module; the control module may thereby perform the parsing according to the parsing As a result, the channel output of the audio signal played by the terminal is controlled.
  • the parsing module parses the wearing mode signal, and the specific manner of obtaining the parsing result may be:
  • the carrier signal for indicating a headset wearing mode includes a carrier signal for indicating headset wear and a carrier signal for indicating that the headset is worn correctly Determining that the earphone is reversed if the carrier signal matches the carrier signal for indicating that the earphone is reversed; determining the earphone if the carrier signal matches the carrier signal for indicating that the earphone is worn correctly Wear it properly.
  • the specific manner in which the communication module receives the wearing mode signal sent by the earphone through the communication connection established with the earphone may also be:
  • the parsing module parses the wearing mode signal, and the specific manner of obtaining the parsing result may also be:
  • the extended code for indicating a headphone wearing mode including an extended code for indicating earphone wear and an extended code for indicating that the earphone is worn correctly If the extension code is associated with the extension for indicating headset wear The code is matched to determine that the earphone is reversed; if the extended code matches the extended code for indicating that the earphone is worn correctly, it is determined that the earphone is worn correctly.
  • the terminal may further include:
  • a generating module configured to generate prompt information for prompting whether to switch channels according to the parsing result
  • An output module configured to output the prompt information, where the prompt information may be a voice prompt or a text prompt;
  • An input module configured to receive, after the output module outputs the prompt information, a channel control instruction input by a user according to the prompt information, where the channel control instruction is used to indicate that channel switching is performed or the current sound is maintained Channel output
  • the control module thereby switches the audio signal played by the terminal to the channel output according to the channel control command when the channel control command is used to instruct to perform channel switching.
  • the terminal may prompt the user to determine whether the channel is automatically switched or manually switched by the user, which increases the flexibility of channel switching.
  • a fourth aspect of the embodiments of the present invention discloses another terminal, where the terminal includes a processor, a communication interface, a microphone chip, an input device, an output device, a memory, and the like.
  • the communication interface is used for receiving and transmitting data, etc.; the processor is mainly used for processing data; the microphone chip is used for parsing the carrier signal; the output device can be used for outputting prompt information to the user; and the input device can be used for receiving user input.
  • Channel control instructions; the memory can store operating systems, computer code, and data for use by the terminal.
  • the fifth aspect of the embodiment of the present invention discloses a headset, where the headset establishes a communication connection with the terminal in advance, and the headset may include:
  • a determining module configured to determine a wearing mode of the earphone, wherein the wearing mode comprises a headset wearing reverse mode and a headset wearing correct mode;
  • a generating module configured to generate a wearing mode signal according to the determined wearing mode of the earphone of the determining module, wherein the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly;
  • a communication module configured to send the wearing mode signal to the terminal by using the communication connection, so that the terminal can control a channel output of the played audio signal according to the wearing mode signal.
  • the earphone can determine the wearing mode of the earphone and generate a wearing mode signal to inform the terminal ear The wearing state of the machine, so that the terminal can control the channel output of the audio signal played by the terminal according to the wearing mode signal. That is to say, that is to say, the terminal can automatically control the channel output of the left and right earpieces when the earphone is worn, and avoids the user to change the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • the earphone may further include a detection module and a determination module, wherein:
  • the detecting module is configured to detect a distance between the earphone and an obstacle, and send the distance to the determining module;
  • the determining module is configured to determine whether the distance is within a preset distance threshold
  • the determining module determines that the wearing mode of the earphone is the earphone wearing mode when the distance is not within the preset distance threshold; determining that the wearing mode of the earphone is correctly worn when the distance is within the preset distance threshold mode.
  • the specific manner in which the communication module sends the wearing mode signal to the terminal through the communication connection may be:
  • the wired connection When the communication connection is a wired connection, the wired connection includes the audio input channel of the earphone and the terminal, and the wearing mode signal is sent to the terminal through the audio input channel, wherein the wearing
  • the mode signal is a carrier signal
  • the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, and the carrier signal may be used to indicate that at least one of the earphone wear and the earphone are properly worn. ;
  • the wearing mode signal is sent to the terminal through the wireless connection, wherein the wearing mode signal is extended coding.
  • the processor may be configured to determine a wearing mode of the earphone, the wearing mode includes a headset wearing reverse mode and a headset wearing correct mode; the distance sensors are respectively disposed on the same side of the earphone when the left and right earpieces are oppositely placed, for detecting the earphone to the obstacle The distance between the objects, thereby assisting the processor in determining the wearing mode of the earphone; the communication interface may be configured to send the wearing mode signal to the terminal through a communication connection pre-established with the terminal, so that the terminal can The wearing mode signal controls the output of the headphone channel, such as switching the headphone channel, thereby improving the switching efficiency of the headphone channel.
  • a seventh aspect of the embodiments of the present invention discloses a headphone channel control method, where the method is applied to a headphone channel control system, and the system may include a terminal and a headset that establishes a communication connection with the terminal, and the method may include:
  • the headset determines a wearing mode of the earphone, generates a wearing mode signal according to the wearing mode of the earphone, and sends the wearing mode signal to the terminal by using the communication connection, wherein the wearing mode includes wearing the earphone
  • the wearing mode includes wearing the earphone
  • the anti-mode and the earphone are worn in the correct mode, the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly; then the terminal can control according to the wearing mode signal after receiving the wearing mode signal The channel output of the audio signal played by the terminal.
  • the earphone can determine the wearing mode of the earphone and inform the terminal, then the terminal can control the channel output mode of the left and right earpieces according to the wearing mode of the earphone (wearing or wearing correctly), that is, It can be said that the terminal can automatically control the channel output of the left and right earpieces when the earphone is worn, and avoids the user to change the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • An eighth aspect of an embodiment of the present invention discloses a headphone channel control system, the system comprising an earphone and a terminal.
  • the earphone is mainly used to determine a wearing mode of the earphone, and notify the terminal;
  • the terminal is mainly used to control the output of the earphone channel after receiving the notification of the earphone, such as performing the earphone channel when the earphone is worn Switching, which can improve the switching efficiency of the headphone channel.
  • FIG. 1 is a schematic diagram of a scene of a headphone channel control according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for controlling a headphone channel according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a scenario for determining a wearing mode of an earphone according to an embodiment of the present invention
  • FIG. 4a is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • 4b is a schematic diagram of a 3.5 mm interface of a headset disclosed in an embodiment of the present invention.
  • 4c is a schematic diagram of a 3.5 mm interface line of a headset disclosed in an embodiment of the present invention.
  • 4d is a schematic diagram of one of the scenarios in which the terminal prompts the user to wear the headset in the embodiment of the present invention
  • FIG. 5 is a schematic diagram of one of the scenarios for generating a channel control instruction according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an earphone disclosed in an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart diagram of another method for controlling a headphone channel according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart diagram of still another method for controlling a headphone channel according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart diagram of still another method for controlling a headphone channel according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 12 is a schematic flowchart diagram of still another method for controlling a headphone channel according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an earphone according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a headphone channel control system according to an embodiment of the present invention.
  • the embodiment of the invention discloses a method for controlling the earphone channel, a related device and a system, which can improve the switching efficiency of the earphone channel. The details are described below separately.
  • FIG. 1 is a schematic diagram of a scene of a headphone channel control according to an embodiment of the present invention. In the scenario shown in FIG.
  • a headset and a terminal are included, wherein the headset is a stereo headset having a left channel and a right channel, and the headset may include a wireless headset (such as a Bluetooth headset) and a wired headset ( That is, a headset with a 3.5mm headphone jack, including a headset, an earphone, an earphone, etc., then the headset can establish a communication connection with the terminal through a 3.5mm headphone interface, or can establish communication with the terminal through Bluetooth.
  • the connection is not limited in the embodiment of the present invention.
  • the terminal may include, but is not limited to, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a personal digital assistant (PDA), a mobile internet device (MID), and a smart wearable device.
  • a smart phone such as an Android mobile phone, an iOS mobile phone, etc.
  • PDA personal digital assistant
  • MID mobile internet device
  • a device such as a device that can establish a communication connection with a headset.
  • the headset establishes a communication connection with the terminal, if the terminal is conducting a call, playing music, video, starting a game, etc., the terminal outputs the audio signal through the earphone, and the sound heard by the user through the earphone has a stereoscopic effect.
  • FIG. 2 is a schematic flowchart diagram of a method for controlling a headphone channel according to an embodiment of the present invention.
  • the method described in FIG. 2 can be applied to a headphone channel control system, the system comprising a terminal and an earphone that has a communication connection with the terminal in advance.
  • the earphone channel control method may include the following steps:
  • the earphone determines a wearing mode of the earphone.
  • the earphone establishes a communication connection with the terminal.
  • the earphone and the terminal can establish a communication connection in two ways: one is a wired connection, that is, the earphone interface is inserted into the earphone jack of the terminal, and the other is a wireless connection, that is, the earphone and the terminal establish a connection through Bluetooth.
  • the headset may determine a wearing mode of the earphone, wherein the wearing mode comprises a headset wearing reverse mode and a headset wearing correct mode.
  • FIG. 3 is a schematic diagram of a scenario for determining a wearing mode of an earphone according to an embodiment of the present invention.
  • the relative positions of the left and right earpieces of the earphone are respectively provided with a distance sensor (such as the position of the distance sensor shown in FIG. 3), and the distance sensor is specifically disposed on the same side when the left and right earpieces are oppositely placed. If the user wears the earphone correctly (ie, the left earpiece of the earphone is worn on the left ear of the user and the right earpiece of the earphone is worn on the right ear of the user), the distance detected by the distance sensors of the two earpieces is relatively large (ie, the distance sensor detects the distance).
  • the distance of the headset is within the specified distance range greater than a certain distance threshold.
  • the wearing mode of the earphone is the correct mode of wearing the earphone; if the user wears the earphone, the distance detected by the distance sensor (ie, between the distance sensor and the auricle) The distance of the earphone will be relatively small, and the wearing mode of the earphone is the earphone wearing reverse mode.
  • the distance sensor can also be disposed on the other side of the left and right earpieces. If the user wears the earphone correctly, the distance detected by the distance sensors of the two earpieces will be relatively small (ie, the distance detected by the distance sensor is less than a certain distance).
  • the distance detected by the distance sensors of the two earpieces ie, the distance between the distance sensor and the auricle
  • the method can be determined. Whether the user wears the headset.
  • the main manner in which the earphone determines the wearing mode of the earphone may include the following steps:
  • the earphone detects a distance from an obstacle, and determines whether the distance is within a preset distance threshold;
  • the earphone mainly detects the distance between the obstacle and the distance sensor through the left and right earphones to obtain the distance, and determines whether the distance is within a preset distance threshold. The wearing mode of the earphone is determined.
  • the earphone may be a distance detected by a distance sensor that acquires a left earpiece of the earphone, or may be a distance detected by a distance sensor that acquires a right earpiece of the earphone, or may be a distance sensor that simultaneously acquires two earpieces.
  • the distance of the embodiment of the present invention is not limited.
  • the preset distance threshold may be understood as: if the distance sensor is disposed on a side of the earphone that is close to the user's ear when properly worn, the preset distance threshold is a distance range less than a certain distance threshold, such as less than 1 cm. If the distance sensor is disposed on a side of the earphone that is away from the user's ear when properly worn, the preset distance threshold is a distance range greater than a certain distance threshold, such as greater than 3 cm.
  • the earphone can determine whether the distance detected by the distance sensor set by any earphone is within a preset distance threshold, and can also determine whether the distance detected by the distance sensor of the left and right earphones is within a preset distance threshold.
  • the earphone may determine that the earphone is reversed, and when the distance is within the preset distance threshold, it may be determined that the earphone is worn correctly.
  • the earphone may further determine whether the earphone is in a wearing state, and after the earphone is in a wearing state, detect a distance between the earphone and an obstacle.
  • the specific manner in which the earphone determines whether the earphone is in a wearing state may be: the earphone is provided with an outer microphone that is acquired by the external sound without being obstructed in a state in which the user wears the earphone, and is worn by the user.
  • the external sound is taken through the inner microphone of the obstruction, so that the inner microphone and the outer microphone can detect the sound signal in the environment in real time, and Compare the acquired sound signals. If the intensity of the sound signal acquired by the inner microphone is smaller than the sound signal strength obtained by the outer microphone, it indicates that the earphone is in a wearing state; otherwise, it indicates that the earphone is not in a wearing state.
  • the earphone generates a wearing mode signal according to a wearing mode of the earphone.
  • the wearing mode signal may be used to indicate that the earphone is worn reversely, and may also be used to indicate that the earphone is worn correctly. Therefore, the earphone can generate the wearing mode signal according to the determination result of determining the earphone wearing mode.
  • a wearing mode signal for indicating that the earphone is worn is generated, and when the earphone is worn correctly, a wearing mode signal for indicating that the earphone is worn correctly is generated.
  • the earphone may generate a wearing mode signal for indicating that the earphone is worn backward only when the earphone is worn; or may generate a wearing mode signal for indicating that the earphone is worn correctly when the earphone is worn correctly;
  • the wearing mode signal for indicating the headset is reversed, and when the headset is worn correctly, the wearing mode signal for indicating that the headset is worn correctly is generated, which is not limited in the embodiment of the present invention. .
  • the headset sends the wearing mode signal to the terminal by using a communication connection established in advance with the terminal.
  • the terminal receives a wearing mode signal sent by the earphone through the communication connection, and controls a channel output of an audio signal played by the terminal according to the wearing mode signal.
  • the terminal may control the output of the left and right channels of the earphone according to the wearing mode signal.
  • the wearing mode signal is used to indicate that the earphone is reversed, the terminal switches the played audio signal to the channel output; when the wearing mode signal is used to indicate that the earphone is worn correctly, the terminal None will be done, that is, keeping the current output mode of the left and right channels of the headphones.
  • the left earpiece of the earphone outputs the left channel
  • the right earpiece outputs the right channel.
  • the earphone can detect the earphone wearing reverse To inform the terminal. The terminal thus switches the audio signal output from the original left channel to the right channel output, and switches the audio signal output from the right channel to the left channel output, so that even if the user wears the earphone, the binaural effect can be heard. Audio signal.
  • the binaural effect is that people rely on the ears
  • the volume difference, the time difference, and the timbre difference determine the effect of the sound orientation
  • the audio signal may be an audio signal output by a terminal such as music, voice, or the like.
  • the earphone can also detect whether the earphone is worn or not. Once the user wears the earphone correctly, the terminal will follow the default channel output mode (ie, the left earpiece outputs the left channel). The right earpiece outputs the right channel) to output the audio signal.
  • the earphone can determine the wearing mode of the earphone and generate a wearing mode signal, so as to send the signal to the terminal, then the terminal can be based on the wearing mode signal, that is, the earphone
  • the wearing mode (wearing the reverse or wearing correctly) controls the channel output of the audio signal played by the terminal.
  • the earphone can detect whether the reverse is worn, and the terminal automatically switches the channel when the earphone is worn, so that the user can switch the channel by switching the earphones to the left and right earpieces, thereby improving the switching efficiency of the earphone channel.
  • FIG. 4a is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 400 depicted in FIG. 4a may include: at least one processor 401 such as a CPU, an input device 402, an output device 403, a memory 404, a headphone interface 405, a Bluetooth module 406, a communication bus 407, a microphone chip 408, and audio processing.
  • processor 401 such as a CPU
  • input device 402 such as a CPU
  • an input device 403 such as a CPU
  • an output device 403 such as a CPU
  • a memory 404 such as a memory
  • headphone interface 405 such as a Bluetooth module 406
  • communication bus 407 such as a Wi-Fi module
  • microphone chip 408 such as a Wi-Fi module
  • the headset interface 405 establishes a communication connection with the wired headset.
  • a wired connection is established between the earphone and the terminal 400.
  • the wired connection includes an audio input channel between the earphone and the terminal 400, so that communication between the earphone and the terminal 400 can be performed, for example, the user passes
  • the earphone inputs a sound signal to the terminal 400, and the user sends an instruction such as switching a song, adjusting a volume, ending a call, etc. to the terminal 400 by pressing a physical button on the earphone, and the terminal 400 outputs the played music, the sound signal in the video, etc. to the user through the earphone.
  • the signal for communication between the terminal 400 and the wired headset is generally an analog signal, such as a modulated carrier.
  • the microphone chip 408 mainly analyzes the sound signal, that is, after receiving the carrier signal sent by the earphone through the audio input channel, the receiver 4021 sends the signal to the microphone chip 408, and the microphone chip 408 resolves the carrier signal into an electrical signal, and parses the signal. The resulting electrical signal is sent to processor 401 for processing.
  • the Bluetooth module 406 establishes a communication connection with the (Bluetooth) headset. When (Bluetooth) headset and terminal 400 When a Bluetooth connection is established, communication can be performed between the (Bluetooth) headset and the terminal 400.
  • the signal between the terminal 400 and the (Bluetooth) earphone is generally a digital signal, such as a scan code.
  • the Bluetooth module 406 can also parse the digital signal sent by the earphone to send the analysis result to the processor 401 for processing.
  • the audio processing chip 409 mainly controls the audio signal played by the terminal 400 according to the audio command sent by the processor 401, such as sound rendering, switching channel output, volume adjustment, and the like.
  • the memory 404 stores an operating system, computer code, data, and the like for use by the terminal 400.
  • the memory 404 may include a read-only memory (ROM), a random access memory (RAM), a hard disk drive, etc., and the application program in the embodiment of the present invention is stored in the memory 404.
  • the output device 403 can be a display screen, a display, a speaker, or a transmitter, etc., for displaying or playing a picture or audio and video file, or transmitting data commands generated by the terminal 400, and the like.
  • the display or display is typically configured with a Graphical User Interface (GUI) that provides an easy to use user interface between the terminal 400 and the operating system or application running thereon.
  • GUI Graphical User Interface
  • the GUI graphically represents programs, files, and operating options, and the user can select and activate various graphic images by operating the display or display to initiate functions and tasks associated with them.
  • the input device 402 can be a touch panel, or a receiver 4021, etc., and the receiver 4021 is configured to receive data commands sent from an external device.
  • the touch panel can be a touch panel or a touch screen, and can receive user input operation commands based on various sensing technologies, including but not limited to capacitive sensing, resistance sensing, surface acoustic wave sensing, pressure sensing, light sensing, and the like.
  • the touchpad or touchscreen can be integrated with the display or display or it can be a separate component.
  • the input device 404 can be a single or multi-point input device.
  • receiver 4021 and the transmitter may be integrated into a communication interface for receiving data commands sent by the external device and transmitting data commands to the external device.
  • the processor 401 processes various data and executes various types of instructions received, which can control the reception and operation of input and output data between components of the terminal 400; the processor 401 can be on a single chip or a multi-chip. It can be implemented on multiple electronic components and can employ a variety of architectures, including dedicated or embedded processors, dedicated processors, controllers, ASICs, and the like.
  • the communication bus 407 implements a processor 401, an input device 402, an output device 403, a memory 404, A communication connection between the components of the headphone jack 405, the Bluetooth module 406, the microphone chip 408, and the audio processing chip 409, wherein:
  • the receiver 4021 may receive a wearing mode signal sent by the earphone through a communication connection established with the earphone, wherein the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly. After receiving the wearing mode signal, the receiver 4021 sends the wearing mode signal to the processor 401 for processing. After acquiring the wearing mode signal, the processor 401 controls the channel output of the audio signal played by the terminal 400 according to the wearing mode signal.
  • the specific manner in which the receiver 4021 receives the wearing mode signal sent by the earphone through the communication connection established with the earphone may be:
  • the wired connection When the communication connection is a wired connection, the wired connection includes an audio input channel of the terminal 400 and a communication line capable of transmitting a sound signal collected by a microphone, and receiving the audio input channel through the audio input channel
  • the wearing mode signal sent by the earphone wherein the wearing mode signal is a carrier signal, and the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, and the carrier signal may be used.
  • the wearing mode signal is a carrier signal
  • the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, and the carrier signal may be used.
  • FIG. 4b is a schematic diagram of a 3.5mm interface of the earphone disclosed in the embodiment of the present invention
  • FIG. 4c is a schematic diagram of a 3.5mm interface line of the earphone disclosed in the embodiment of the present invention
  • the current wired headset is usually a 3.5mm headphone jack, which includes four signal channels, as shown in Figure 4b, which are left channel (+) channel, right channel (+) channel, and microphone (+) channel. (Also called audio input channel) and ground (-), where "+" means high voltage and "-” means low voltage.
  • the left channel and the right channel are generally connected to the ground, and there is a switch between the microphone channel and the ground.
  • the switch can be a hardware switch or a software switch. Therefore, the microphone channel and the ground line are generally not always in a connected state, but are connected to the ground line when the terminal 400 runs a special application (such as an application having a function of calling, recording, etc.), thereby being in a working state.
  • a special application such as an application having a function of calling, recording, etc.
  • the microphone channel is connected to the ground line, and the user can input the sound to the terminal 400 through the microphone, or send some control commands.
  • the terminal 400 is given an instruction to control the volume when playing music, an instruction to control song switching, an instruction to control the end of a call during a call, and the like.
  • the earphone can obtain power from the terminal 400, thereby turning on the distance sensor to detect the distance between the earpiece and the nearest obstacle. Since the sound signal is generally a waveform signal, and the earphone sends most of the waveform signal to the user through the microphone, when the earphone determines the wearing mode of the earphone, for example, when the earphone is worn, the carrier signal can be sent to the terminal through the audio input channel. 400. The terminal 400 can thereby receive the audio signal through the audio input channel, and can also receive the carrier signal.
  • the carrier signal is used to indicate the wearing mode of the earphone
  • the specified carrier signal indicating the wearing mode of the earphone may be pre-agreed between the earphone and the terminal 400, and may be a modulated carrier of a specified frequency or a carrier signal of a specified waveform. (such as a sine wave), the embodiment of the present invention is not limited.
  • the terminal 400 may specify that the modulated carrier of the first frequency is used to indicate that the headset is worn, and the modulated carrier of the second frequency is used to indicate that the headset is worn correctly or the like.
  • the wearing mode signal sent by the earphone is received through the wireless connection, wherein the wearing mode signal is extended coding.
  • the current earphone may further include a Bluetooth earphone, that is, the earphone and the terminal 400 establish a connection through the Bluetooth module 406.
  • the earphone may also establish a wireless connection such as Wi-Fi with the terminal 400. Therefore, when the wireless headset such as Bluetooth establishes a wireless connection with the terminal 400, if the headset determines the wearing mode of the earphone, the wearing mode signal can be sent to the terminal 400 through a wireless connection manner such as Bluetooth to indicate the wearing mode of the earphone. For example, when the user wears the headset, the headset can send a wearing mode signal indicating that the headset is reversed to the terminal 400 via Bluetooth, and then the receiver 4021 (specifically, the Bluetooth module 406) receives the headset transmission. Wear the mode signal.
  • the signal sent by the current Bluetooth headset to the terminal 400 is a digital signal (ie, a scan code), and different scan codes correspond to indication signals of different functions, and the indication signal includes a signal for adjusting the volume and a signal for switching the song. , pause and start the signal, etc., as shown in Table 1. Therefore, an extended code can be added to the existing scan code to indicate the wearing mode of the earphone.
  • an extended code for indicating the reverse of the earphone may be added, and the extended code may be any scan code other than the scan code shown in Table 1, such as "003E7 999", which is not performed in the embodiment of the present invention. Qualified, then, its corresponding mapping string is "CHANNEL_REVERSE" to indicate that the headset is worn.
  • an extension code for indicating that the earphone is correctly worn which is not limited in the embodiment of the present invention.
  • the terminal 400 may further analyze the wearing mode signal when the receiver 4021 receives the wearing mode signal, obtain an analysis result, and control a channel output of the audio signal played by the terminal 400 according to the analysis result.
  • the specific manner in which the terminal 400 parses the wearing mode signal to obtain an analysis result may be:
  • the wearing mode signal is a carrier signal
  • the carrier signal is parsed into an electrical signal by the microphone chip 408, and sent to the processor 401, and the processor 401 compares with a signal stored in advance for indicating the wearing mode of the earphone.
  • the signal for indicating the headset wearing mode includes a signal for indicating that the earphone is worn and a signal for indicating that the earphone is worn correctly, and if the analyzed signal matches the signal for indicating the wearing of the earphone, The terminal determines that the earphone is reversed; if the parsed signal matches the signal for indicating that the earphone is worn correctly, the terminal determines that the earphone is worn correctly.
  • the signal for indicating the wearing mode of the earphone may include at least one of a signal for indicating the wearing of the earphone and a signal for indicating that the earphone is worn correctly, which is not limited by the embodiment of the present invention. Then, after receiving the carrier signal, the terminal may compare with each carrier signal stored in advance, and further determine the analysis when determining that the parsed signal is a signal for indicating a headset wearing mode. The frequency or waveform of the subsequent signal is consistent with the signal used to indicate that the headset is worn, or the signal used to indicate that the headset is properly worn. In this way, the wearing mode signal can be analyzed to obtain an analysis result.
  • the extension ratio encoding is performed by the Bluetooth module 406. Parsing and sending the parsing result to the processor 401, the processor 401 thus comparing the parsed extended encoding with the extended encoding for indicating the headset wearing mode, the extended encoding for indicating the headset wearing mode includes Instructing the earphone to wear the extension code and indicating that the earphone is wearing the correct extension code, if the extension code matches the extension code for indicating the headset wear reverse, the terminal determines that the earphone is reversed; The extension code matches the extension code used to indicate that the headset is properly worn, and the terminal determines that the headset is properly worn.
  • the extended coding for indicating the earphone wearing mode includes at least one of an extended code for indicating that the earphone is worn and an extended code for indicating that the earphone is worn correctly, which is not limited in the embodiment of the present invention. . Then, after receiving the extended coding, the terminal may compare with each scan code saved in advance, and further determine the extended coding when determining that the extended code is a scan code for indicating a headset wearing mode. Is it consistent with the scan code used to indicate that the headset is worn, or is the same as the scan code used to indicate that the headset is worn correctly. In this way, the wearing mode signal can be analyzed to obtain an analysis result.
  • the wearing mode signal when used to indicate that the earphone is worn, the wearing mode signal is determined by the earphone to be in a wearing state, and the distance sensor of the earphone detects When the distance is not within the specified distance, the terminal 400 is transmitted through the communication connection. Then, the processor 401 controls the audio processing chip 409 to switch the audio signal played by the terminal 400 to the channel output according to the wearing mode signal.
  • the specific manner in which the processor 401 controls the audio signal played by the terminal 400 according to the wearing mode signal to switch the channel output may be: the application having the audio playing function reads the audio file stored in the memory 404.
  • the processor 401 sends the audio file to the audio processing chip 409, and the processor 401 uses the wear mode signal to indicate that the headset is worn.
  • the channel switching instruction is also sent to the audio processing chip 409.
  • the audio processing chip 409 After receiving the channel switching instruction and the audio data is rendered, the audio processing chip 409 sends the audio data output by the left channel to the right channel interface output.
  • the audio data output by the right channel is sent to the left channel interface output.
  • the left channel interface is connected to the left channel of the earphone, and the right channel interface is connected to the right channel of the earphone.
  • the processor 401 may control the audio processing chip 409 to switch the audio signal to the audio signal played by the terminal 400 according to the parsing result or the wearing mode signal in the following case.
  • the processor 401 detects whether the application running in the foreground is an application having an audio output function, such as a music player, a video player, and a game application. . If the application running in the foreground is an application having an audio output function, the audio processing chip 409 is controlled to switch the channel output to the audio signal played by the terminal 400 according to the analysis result or the wearing mode signal.
  • the application having the audio output function may include, but is not limited to, any one or more of a social application, a call application, a music player, a video player, and a game application.
  • the application having the audio output function may also be a specified application, such as a music player, a video player, a game, and the like, which are not limited in the embodiment of the present invention.
  • the processing is performed.
  • the controller 401 controls the audio processing chip 409 to switch the channel output to the audio signal.
  • the output device 403 can output a prompt message to prompt the user to wear the headset.
  • the terminal 400 switches the earphone channel, thereby avoiding switching channels in a scene without switching channels, thereby improving The accuracy of the channel switching.
  • the processor 401 When the result of the analysis is that the earphone is worn or the wearing mode signal is used to indicate that the earphone is worn, the processor 401 generates prompt information for prompting the user to wear the earphone and whether to switch the channel according to the analysis result or the wearing mode signal, then the output device 403
  • the prompt information may be output; after the output device 403 outputs the prompt information, the input device 402 may receive a channel control instruction input by the user according to the prompt information.
  • the channel control instruction is used to indicate that channel switching is performed or the current channel output is maintained. If the channel control instruction is used to indicate that channel switching is performed, the processor 401 controls the audio processing chip 409 to switch the audio signal played by the terminal 400 to the channel output according to the analysis result.
  • the prompt information may be a voice prompt or a text prompt.
  • the output device 403 when the prompt information is text information, the output device 403 may be displayed.
  • the prompt information is displayed on the display screen, and the prompt information may be sent to the wearable device for display on the display device of the wearable device; when the prompt information is a voice prompt, the output device 403 may pass through the Bluetooth module 406 or the earphone interface 405.
  • the prompt information is sent to the earphone and output through the earphone, which is not limited in the embodiment of the present invention.
  • the prompt information may prompt the user to “when the headset is worn, whether the channel needs to be switched”. If it is a text prompt, the prompt box may also be displayed on the display screen. Please refer to FIG. 4 d together, and FIG. 4 d is an embodiment of the present invention.
  • the prompt box may include the text content "headset wear reverse, whether the channel needs to be switched", and may also include two buttons "Yes” and "No” for the user to select.
  • a channel control instruction for instructing to perform channel switching may be input through the input device 402; if the user clicks "No", the input device 402 may be input to indicate that the current channel output is maintained.
  • Channel control instructions Therefore, after the output device 403 outputs the prompt information, the processor 401 can detect whether the input device 402 receives the channel control instruction input by the user according to the prompt information within the preset time period.
  • the processor 401 controls the audio processing chip 409 to switch the audio signal played by the terminal 400 to the channel output; if the channel control instruction is used to indicate Maintaining the current channel output, the processor 401 controls the audio processing chip 409 to output the audio signal played by the terminal 400 in a default or original channel output manner.
  • the terminal 400 can prompt the user to determine whether the channel is automatically switched or manually switched by the user, which increases the flexibility of channel switching.
  • the processor 401 detects whether the placement manner of the terminal 400 changes within a preset time period after the output device 403 outputs the prompt information; when the placement manner of the terminal 400 changes, generates a signal for indicating channel switching.
  • the channel control command when the placement mode of the terminal 400 does not change, generates a channel control command for instructing to maintain the current channel output, thereby transmitting the generated channel control command to the input device 402.
  • the terminal 400 may preset a channel control instruction for indicating channel switching to be a preset time period for outputting prompt information on the output device 403, where the terminal 400 is placed.
  • the pattern changes. Therefore, the user can control the terminal 400 to switch the headphone channel by changing the placement manner of the terminal 400 (for example, placing the horizontally placed mobile phone vertically) after the output device 403 outputs the prompt information. If the user does not change the placement mode of the terminal 400 within a preset time period after the output device 403 outputs the prompt information, the processor 401 can control the audio processing chip 409 not to switch the channel.
  • the processor 401 may also be configured to control the audio processing chip 409 according to a default processing manner if the placement mode of the terminal 400 is not detected within a preset time period after the output device 403 outputs the prompt information.
  • the channel is controlled, for example, the channel switching is performed on the earphone, which is not limited in the embodiment of the present invention.
  • the preset time period may be 5 seconds, 10 seconds, etc.
  • the placement manner may be a face-up, a side-side, a back-up, and the like, which are not limited in the embodiment of the present invention.
  • the processor 401 can detect, by using a gravity sensor built in the terminal 400, whether the placement manner of the terminal 400 changes.
  • the headset when the headset is worn, the user can change the placement mode of the terminal to perform channel switching, which improves the channel switching efficiency and improves the user's participation and fun.
  • the processor 401 detects whether the receiver 4021 receives the channel control command sent by the wearable device bound to the terminal 400 within a preset time period after outputting the prompt information; the wear is not received at the communication interface 4021.
  • the processor 401 When the channel control command is sent by the device, the processor 401 generates a channel control instruction for the prompt information; and the receiver 4021 receives the channel control command sent by the wearable device, and the channel control instruction is used for
  • the processor 401 controls the audio processing chip 409 to switch the audio signal played by the terminal 400 to the channel output according to the analysis result.
  • the preset time period may be 5 seconds, 10 seconds, etc.
  • the processor 401 if the receiver 4021 does not receive the channel control instruction sent by the wearable device within the preset time period, the processor 401 is directed to The prompt information generates a default channel control command, and the default channel control command may be used to indicate channel switching, and may also be used to indicate that the current channel output is maintained.
  • the case where the wearable device bound to the terminal 400 sends the channel control command to the terminal 400 may include two cases: Case 1: when the terminal 400 displays a prompt through the display screen of the wearable device When the information is available, the user can click "Yes” or "No" on the display. To determine whether to perform channel switching, the wearable device generates a channel control command according to the user's operation on the display screen, and transmits the sound to the terminal 400 through a communication connection established with the terminal 400. Road control instructions. Case 2: When the terminal 400 displays the prompt information through the display screen of the wearable device, the user may also indicate that the terminal 400 needs to perform channel switching by simultaneously shaking the terminal 400 and the wearable device.
  • the user can perform channel switching on the earphone through the wearing device, and the terminal 400 automatically controls the channel output when the channel control command sent by the wearing device is not received for a long time, which can not only improve the efficiency of the earphone channel control. It can also increase the fun and convenience of user operations.
  • the specific manner in which the user indicates that the terminal 400 needs to perform channel switching by simultaneously shaking the terminal 400 and the wearable device may be:
  • the processor 401 can detect whether the terminal device 400 and the bound wearable device match a ⁇ action event occurring within a preset time period during which the output device 403 outputs the prompt information, and the ⁇ action event is similar to the “shake” function. That is, whether the user shakes the terminal 400 and the wearable device bound thereto at the same time. Specifically, when the terminal 400 generates the first ⁇ action event, and the processor 401 detects that the wearable device bound by the terminal 400 generates a second ⁇ action event, the processor 401 determines the first ⁇ action event and The second action event includes the same action direction. If the same, the processor 401 further determines whether the start time of the first action included in the first action event and the second action event is located after the prompt message is output. In the set time period, if the processor 401 determines that the terminal 400 and the wearable device match events occurring within the preset time period, the processor 401 generates a channel for indicating the channel. Switched channel control commands.
  • FIG. 5 is a schematic diagram of one of the scenarios for generating a channel control instruction according to an embodiment of the present invention.
  • the terminal 400 can be held by the user on the hand, and the user can also wear the wearable device (such as a smart bracelet, a smart watch, a smart ring, etc.) on the same hand of the terminal 400, wherein the wearable device It is a wearable device to which the terminal 400 is bound, and the terminal 400 can be connected to the wearable device through Bluetooth, Wi-Fi, or infrared rays or the like.
  • the user can simultaneously shake the terminal 400 and the wearable device in a certain direction.
  • the wearable device when the wearable device detects the occurrence of the squatting action by the acceleration sensor or the gravity sensor, the wearable device can transmit the ⁇ action event including the ⁇ action start time and the ⁇ action duration to the terminal 400.
  • the terminal 400 when outputting the prompt information indicating whether to switch the channel, the terminal 400 can also detect by the acceleration sensor or the gravity sensor. Whether the terminal 400 has a first ⁇ action event.
  • the following is a specific implementation manner of the processor 401 through the terminal 400 and the wearable device at the same time:
  • the processor 401 of the terminal 400 detects whether the wear device bound to the terminal 400 has a second action event, and if the wear device also generates a second action event, the process is processed.
  • the controller 401 determines whether the first motion event and the second motion event include the same motion direction. If the motion direction is the same, the processor 401 determines the first motion event and the second motion event. Whether the start time is all within a preset time period after the output device 403 outputs the prompt information.
  • the processor 401 determines that the ⁇ action included in the first ⁇ action event and the second ⁇ action event continues Whether the difference of the duration is less than a preset threshold, if the difference between the duration of the first action event and the duration of the action included in the second action event is less than a preset threshold, the processor 401 determines that the terminal 400 and the wearable device are in advance Set the events that occur within the time match.
  • the same ⁇ action direction included in the first ⁇ action event and the second ⁇ action event can be understood as: when the acceleration sensor in the terminal 400 detects an abrupt change in the acceleration (eg, changes from 0.5 to 3 within 5 ms), The direction in which the acceleration is maximum, and correspondingly, the wearable device also obtains the direction of the maximum acceleration by the manner described above, and the angle between the two directions is within a certain range, for example, less than 10 degrees, the first ⁇ action event and the second ⁇ can be considered.
  • the action events include the same direction of action.
  • the processor 401 further determines, on the basis of the first mode, whether the durations of the ⁇ actions included in the first ⁇ action event and the second ⁇ action event are all within a preset time. If the durations of the ⁇ motions included in the first ⁇ action event and the second ⁇ action event are both within a preset time, the processor 401 may again determine the start time of the ⁇ action included in the first ⁇ action event and the second ⁇ action event. Whether the difference is less than the target preset threshold. If the difference between the start time of the first action event and the start time of the second action event is less than the target preset threshold, the processor 401 determines that the terminal 400 and the wearable device match the event occurring within the preset time. .
  • Binding the terminal 400 to the wearable device only when the action event occurring in the terminal 400 and the wearable device is within a preset time, can the terminal 400 be indicated on the user's hand, thereby increasing the security of the earphone channel switching, and Increased the fun of user operations.
  • the preset time may be 5 seconds, 10 seconds, 15 seconds, etc., and the preset threshold may be 0.03 seconds.
  • the target preset threshold may be 0.03 seconds or 0.05 seconds, and the preset threshold may be the same as the target preset threshold, or may be different, which is not limited in the embodiment of the present invention.
  • the terminal shown in FIG. 4 after determining the wearing mode of the earphone, the earphone is reversed by the user, and the wearing mode signal indicating that the earphone is worn is sent to the terminal through a pre-established communication connection.
  • the terminal may switch the played audio signal to the channel output, thereby implementing switching of the earphone channel.
  • the earphone can detect whether the reverse is worn, and the terminal automatically switches the channel when the earphone is worn, so that the user can switch the channel by switching the earphones to the left and right earpieces, thereby improving the switching efficiency of the earphone channel.
  • the terminal may prompt the user to determine whether the channel is automatically switched or manually switched by the user, thereby increasing the flexibility of the headphone channel switching.
  • FIG. 6 is a schematic structural diagram of an earphone according to an embodiment of the present invention.
  • the earphone 600 shown in FIG. 6 establishes a communication connection with the terminal in advance.
  • the earphone 600 may include a processor 601, a communication interface 602, a distance sensor 603, and a communication bus 604, where:
  • the distance sensor 603 is disposed on the same side when the left and right earpieces of the earphone 600 are respectively disposed for detecting the distance between the earphone 600 and the obstacle (the obstacle may be an auricle or other object such as a user). Hair in front of the ear, cell phone, etc.).
  • Communication bus 604 can implement a communication connection between components such as processor 601, communication interface 602, and distance sensor 603. among them:
  • the processor 601 can determine the wearing mode of the earphone 600 and generate a wearing mode signal, and the communication interface 602 can thereby transmit the wearing mode signal to the terminal through a communication connection pre-established with the terminal.
  • the earphone 600 there are two ways for the earphone 600 to establish a communication connection with the terminal: one is a wired connection, that is, the earphone plug is inserted into the earphone jack of the terminal, then the communication interface 602 is a headphone plug, and the other is a wireless connection. That is, the headset establishes a connection with the terminal through Bluetooth, and the communication interface 602 is the Bluetooth transceiver of the headset 600.
  • the processor 601 may determine a wearing mode of the earphone 600, and generate a wearing mode signal according to the wearing mode, and the communication interface 602 may send the wearing mode signal to terminal.
  • the wearing mode includes a headset wearing reverse mode and a headset wearing correct mode, and the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly.
  • the earphone 600 includes a left earpiece and a right earpiece.
  • the relative positions of the left and right earpieces are respectively provided with a distance sensor 603, and the distance sensor 603 can be disposed on the same side of the left and right earpieces when the left and right earpieces are oppositely placed, as shown in FIG. It can be shown on the outside of the earpiece, or on the inner side of the earpiece, which is not limited in the embodiment of the present invention. Therefore, the distance sensor 603 of the left and right earpieces of the earphone 600 can determine the wearing mode of the earphone by detecting the distance from the auricle.
  • the distance sensor 603 can detect the distance between the left and right earpieces of the earphone 600 to the obstacle.
  • the main way for the processor 601 to determine the wearing mode of the earphone 600 may be:
  • the distance between the sensor 603 earphone and the obstacle, and the distance is sent to the processor 601, the processor 601 determines whether the distance is within a preset distance threshold; and the distance is not at the preset distance When the threshold is within, determining that the wearing mode of the earphone 600 is the earphone wearing mode; when the distance is within the preset distance threshold, determining that the wearing mode of the earphone 600 is the earphone wearing correct mode.
  • the specific manner in which the communication interface 602 sends the wearing mode signal to the terminal through the communication connection may be:
  • the wired connection When the communication connection is a wired connection, the wired connection includes the audio input channel of the earphone 600 and the terminal, and the wearing mode signal is sent to the terminal through the audio input channel, where
  • the wear mode signal is a carrier signal
  • the carrier signal may be a specified carrier signal, such as a modulated carrier of a specified frequency, or a carrier signal of a specified waveform, and the carrier signal may be used to indicate that the earphone is worn and the earphone is properly worn at least one Kind.
  • the wearing mode signal is sent to the terminal through the wireless connection, wherein the wearing mode signal is extended coding.
  • the earphone can detect the wearing mode of the earphone and generate a wearing mode signal, thereby notifying the wearing state of the terminal earphone, so that the terminal can control the channel of the played audio signal according to the wearing mode signal. Output. That is to say, that is to say, the terminal can be worn in headphones
  • the channel output of the left and right earpieces of the earphone is automatically controlled, and the user is prevented from changing the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • FIG. 7 is a schematic flowchart diagram of another method for controlling a headphone channel according to an embodiment of the present invention.
  • the method described in FIG. 7 can be applied to the terminal 400 shown in FIG. 4, and the terminal establishes a communication connection with the earphone in advance.
  • the earphone channel control method may include the following steps:
  • the terminal receives a wearing mode signal sent by the earphone through a communication connection established with the earphone.
  • the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly.
  • the terminal parses the wearing mode signal to obtain an analysis result.
  • the terminal controls, according to the parsing result, a channel output of an audio signal played by the terminal.
  • the terminal will eventually switch the audio signal played by the terminal to the channel output; if the wearing mode signal is used to indicate that the earphone is worn correctly, the terminal may The current channel output mode does not change.
  • the terminal can control the channel output mode of the left and right earpieces according to the wearing mode of the earphone (wearing the reverse or wearing correctly), that is, the terminal can automatically control when the earphone is worn backward.
  • the channel output of the left and right earpieces of the earphone avoids the user to change the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • FIG. 8 is a schematic flowchart diagram of still another method for controlling a headphone channel according to an embodiment of the present invention.
  • the method described in FIG. 8 can be applied to the terminal 400 shown in FIG. 4, and the terminal establishes a communication connection with the earphone in advance.
  • the earphone channel control method may include the following steps:
  • the terminal receives a wearing mode signal sent by the earphone through a communication connection established with the earphone.
  • the wearing mode signal is used to indicate that the earphone is worn.
  • the terminal parses the wearing mode signal to obtain an analysis result.
  • the analysis result indicates that the earphone is reversed.
  • the terminal detects whether an application running in the foreground is an application with an audio output function. program.
  • the application having the audio output function may include, but is not limited to, at least one of a music player, a video player, a call application, and a game application.
  • the terminal switches the played audio signal to the channel output according to the parsing result.
  • FIG. 9 is a schematic flowchart diagram of still another method for controlling a headphone channel according to an embodiment of the present invention.
  • the method described in FIG. 9 can be applied to the terminal 400 shown in FIG. 4, and the terminal establishes a communication connection with the earphone in advance.
  • the earphone channel control method may include the following steps:
  • the terminal receives a wearing mode signal sent by the earphone through a communication connection established with the earphone.
  • the wearing mode signal is used to indicate that the earphone is worn.
  • the terminal parses the wearing mode signal to obtain an analysis result.
  • the analysis result indicates that the earphone is reversed.
  • the terminal generates, according to the parsing result, prompt information for prompting whether to switch channels.
  • the terminal outputs the prompt information.
  • the terminal may output a text prompt on the display screen of the terminal, or output a voice prompt through the earphone, and output a text prompt on the display screen of the wearable device bound thereto, in the embodiment of the present invention. Not limited.
  • the terminal receives a channel control instruction selected by a user according to the prompt information.
  • the terminal switches the played audio signal to the channel output according to the parsing result.
  • the terminal after receiving the wearing mode signal of the earphone, the terminal can prompt the user, thereby determining whether the channel is automatically switched or manually switched by the user, and the sound is added.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention can be used to implement the method implemented by the embodiments of the present invention shown in FIG. 7 to FIG. 9 .
  • FIG. 10 For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the terminal may be a terminal device such as a mobile phone, a tablet computer, a notebook computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a PDA (Personal Digital Assistant), and the like.
  • FIG. 10 is a block diagram showing a portion of the structure of a handset 1000 associated with various embodiments of the present invention.
  • the mobile phone 1000 includes an RF (radio frequency) circuit 1001, a memory 1002, an input unit 1003, a display unit 1004, a gravity sensor 1005, an audio circuit 1006, a processor 1007, a power supply 1008, and a customer identification module ( Subscriber Identity Module, SIM) Kaka slot 1009 and other components.
  • RF radio frequency
  • the RF circuit 1001 can be used for receiving and transmitting signals during and after receiving or transmitting information, and in particular, after receiving the downlink information of the base station, it is processed by the processor 1007; in addition, the uplink data is sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • the RF circuit 1001 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 1002 can be used to store software programs and modules, and the processor 1007 executes various functional applications and data processing of the mobile phone 1000 by running software programs and modules stored in the memory 1002.
  • the memory 1002 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone 1000 (such as audio data, image data, phone book, etc.).
  • memory 1002 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1003 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 1000.
  • the input unit 340 may include a touch panel 10031 and other input devices 10032.
  • the touch panel 10031 also referred to as a touch screen, can collect touch operations on or near the user (such as the user's operation on or near the touch panel 10031 using any suitable object or accessory such as a finger, a stylus, or the like. ), and drive the corresponding connection device according to a preset program.
  • the touch panel 10031 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1007 is provided and can receive commands from the processor 380 and execute them.
  • the touch panel 10031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1003 may also include other input devices 10032.
  • other input devices 10032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 1004 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 1000.
  • the display unit 1004 may include a display panel 10041.
  • the display panel 10041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 10031 may cover the display panel 10041. After the touch panel 10031 detects a touch operation thereon or nearby, the touch panel 10031 transmits to the processor 1007 to determine the type of the touch event, and then the processor 1007 is based on the type of the touch event. A corresponding visual output is provided on display panel 10041.
  • touch The touch panel 10031 and the display panel 10041 are implemented as two separate components to implement the input and input functions of the mobile phone 1000, but in some embodiments, the touch panel 10031 can be integrated with the display panel 10041 to implement input and output of the mobile phone 1000.
  • Gravity Sensor 1005 can detect the acceleration of the mobile phone in all directions (usually three-axis). When it is still, it can detect the magnitude and direction of gravity. It can be used to identify the application of the mobile phone (such as horizontal and vertical screen switching). , related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the handset 1000 can also include other sensors, such as light sensors.
  • the light sensor can include an ambient light sensor and a proximity light sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10041 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 10041 and/or the backlight when the mobile phone 1000 moves to the ear.
  • the mobile phone 300 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
  • the audio circuit 1006, the speaker 10061, and the microphone 10062 can provide an audio interface between the user and the handset 1000.
  • the audio circuit 1006 can transmit the converted audio data of the received audio data to the speaker 10061, and convert it into a sound signal output by the speaker 10061.
  • the microphone 10062 converts the collected sound signal into an electrical signal, and the audio circuit 1006. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 1001 for transmission to, for example, another mobile phone, or the audio data is output to the memory 1002 for further processing.
  • the processor 1007 is a control center of the handset 1000 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1001, and recalling data stored in the memory 1002, Perform various functions and processing data of the mobile phone 1000 to perform overall monitoring of the mobile phone.
  • the processor 1007 may include one or more processing units; preferably, the processor 1007 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1007.
  • the mobile phone 1000 also includes a power source 1008 (such as a battery) that supplies power to various components.
  • a power source 1008 such as a battery
  • the power source can be logically coupled to the processor 1007 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone 1000 can also include a SIM card slot for placing a SIM card, and the user can make or receive a call through the mobile phone.
  • the mobile phone 1000 may further include a Wi-Fi (Wireless Fidelity) module, a Bluetooth module, and the like, and details are not described herein.
  • Wi-Fi Wireless Fidelity
  • Bluetooth Wireless Fidelity
  • the RF circuit may further receive the wearing mode signal sent by the earphone through a communication connection established with the earphone; the processor may further parse the wearing mode signal, and switch the channel output to the played audio signal according to the parsing result.
  • the display unit 1004 can be controlled to display the headphone wearing reverse, and whether the prompt information of the channel needs to be switched to the user.
  • the user can input, at the input unit 1003, a channel control command for selecting whether or not to switch channels, to indicate whether the processor 1007 needs to perform channel switching processing.
  • the Bluetooth module can also send a voice prompt to the earphone through a Bluetooth connection established with the earphone to prompt the user whether to switch the channel.
  • FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 1100 described in FIG. 11 is pre-established with a communication connection with the earphone.
  • the terminal 1100 may include a communication module 1101, a parsing module 1102, and a control module 1103, where:
  • the communication module 1101 may receive a wearing mode signal sent by the earphone through a communication connection established with the earphone, wherein the wearing mode signal is used to indicate that the earphone is worn or the earphone is worn correctly.
  • the parsing module 1102 can parse the wearing mode signal received by the communication module to obtain an analysis result.
  • the control module 1103 can control the channel output of the audio signal played by the terminal 1100 according to the analysis result obtained by the parsing module.
  • the terminal 1100 may further include:
  • the detecting module 1104 can parse the wearing mode signal to obtain the parsing result, and the parsing result is that when the headset is reversed, detecting whether the application running in the foreground is an application having an audio output function, if the detecting module 1104 detects The application that runs to the foreground has The application of the audio output function then triggers the control module 1103 to switch the audio signal played by the terminal 1100 to the channel output according to the analysis result.
  • the headset is reversed, and the application running in the foreground switches the headphone channel for the specified application. This avoids switching channels in scenes without switching channels and improves the accuracy of channel switching.
  • the terminal 1100 may further include a generating module 1105, an output module 1106, and an input module 1107, where:
  • the generating module 1105 may generate prompt information for prompting whether to switch channels according to the analysis result obtained by the parsing module 1102.
  • the output module 1106 can output the prompt information generated by the generating module 1105.
  • the prompt information may be a voice prompt or a text prompt, which is not limited in the embodiment of the present invention.
  • the input module 1107 may receive a channel control instruction input by the user according to the prompt information after the output module 1106 outputs the prompt information.
  • the channel control command may be used to indicate that channel switching is performed, and may also be used to indicate that the current channel output is maintained.
  • control module 1103 can receive the channel control instruction for performing channel switching at the input module 1107, and when the analysis result is that the headphone is reversed, the audio signal played by the terminal 1100 is switched to the channel output.
  • the detecting module 1104 detects whether the placement mode of the terminal 1100 changes within a preset time period after the output module 1106 outputs the prompt information. If the placement mode of the terminal 1100 changes, the generating module 1105 generates a channel control instruction for instructing to perform channel switching; if the placement mode of the terminal 1100 does not change, the generating module 1105 generates a message for indicating that the current sound is maintained. The channel control command output by the channel. The control module 1103 then controls the channel output of the played audio signal in accordance with the channel control commands generated by the generation module 1105.
  • the placement manner may include face up, side placement, face down, and the like.
  • the user can change the placement mode of the terminal 1100 to perform channel switching, which improves the channel switching efficiency while increasing the user's participation and increasing the interest.
  • the communication module 1101 may further receive a channel control instruction sent by the wearable device bound to the terminal 1100.
  • the communication module 1101 receives the channel control instruction sent by the wearable device within a preset time period after the output module 1106 outputs the prompt information. If the communication module 1101 does not receive the channel control instruction sent by the wearable device, the generating module 1105 generates a channel control instruction for the prompt information; if the communication module 1101 receives the channel control instruction sent by the wearable device, and The channel control command is used to indicate that channel switching is performed, and the control module 1103 switches the audio signal played by the terminal 1100 to the channel output.
  • the user can switch the earphone through the wearable device, and automatically control the channel output when the channel control command of the wearable device is not received for a long time, which not only improves the efficiency of the earphone channel control, but also improves the efficiency of the earphone channel control. Can increase the fun and convenience of user operations.
  • the function of the communication module 1101 can be integrated into the communication interface
  • the communication interface can include a receiver and a transmitter
  • the functions of the parsing module 1102, the processing module 1103, the detecting module 1104, and the generating module 1105 can be integrated into the processing.
  • the output module 1106 can be integrated into the output device
  • the input module 1107 can be integrated into the input device.
  • the input device can include a receiver
  • the output device can include a transmitter, which is not limited in the embodiment of the present invention.
  • the earphone detects the wearing mode of the earphone, and the user wears the earphone as an example, and the earphone transmits a wearing mode indicating the wearing of the earphone to the terminal through a pre-established communication connection.
  • the signal after receiving the wearing mode signal and parsing the parsing result, the terminal can switch the played audio signal to the channel output, thereby implementing switching of the earphone channel.
  • the earphone can detect whether the reverse is worn, and the terminal automatically switches the channel when the earphone is worn, so that the user can switch the channel by switching the earphones to the left and right earpieces, thereby improving the switching efficiency of the earphone channel.
  • the terminal may prompt the user to determine whether the channel is automatically switched or manually switched by the user, thereby increasing the flexibility of the headphone channel switching.
  • FIG. 12 is a schematic flowchart diagram of still another method for controlling a headphone channel according to an embodiment of the present invention.
  • the method shown in FIG. 12 can be applied to an earphone, which establishes a communication connection in advance with the terminal.
  • the method may include the following steps:
  • the earphone detects a wearing mode of the earphone.
  • the earphone generates a wearing mode signal according to a wearing mode of the earphone.
  • the wearing mode signal is used to indicate that the earphone is worn backward; if the detection result is that the earphone is in the earphone wearing correct mode, the wearing mode signal is used to indicate that the earphone is worn correctly.
  • the headset sends the wearing mode signal to the terminal by using a communication connection established with the terminal.
  • the earphone can determine the wearing mode of the earphone, and generate a wearing mode signal, thereby notifying the wearing state of the terminal earphone, so that the terminal can control the channel of the played audio signal according to the wearing mode signal.
  • Output That is to say, that is to say, the terminal can automatically control the channel output of the left and right earpieces when the earphone is worn, and avoids the user to change the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • FIG. 13 is a schematic structural diagram of an earphone according to an embodiment of the present invention.
  • the earphone 1300 shown in FIG. 13 establishes a communication connection with the terminal in advance.
  • the earphone 1300 may include a determining module 1301, a generating module 1302, and a communication module 1303, where:
  • the determining module 1301 can determine a wearing mode of the earphone 1300, wherein the wearing mode can include a headphone wearing mode and a headphone wearing correct mode.
  • the generating module 1302 may generate a wearing mode signal according to the determination result of the determining module 1301.
  • the wearing mode signal is used to indicate that the earphone is worn backward; if the determined result is that the earphone is in the earphone wearing correct mode, the wearing mode signal is used to indicate that the earphone is worn correctly.
  • the communication module 1303 may transmit the wearing mode signal to the terminal through a communication connection established with the terminal.
  • the headset 1300 may further include a detecting module 1304 and a determining module 1305, where:
  • the determination module 1301 can determine whether the earphone 1300 is in a worn state.
  • the detecting module 1304 can detect the distance between the earphone 1300 and the obstacle, and send the distance to the determining module 1305, and determine that the module 1305 can determine whether the distance is at a preset distance threshold.
  • the determining module 1301 determines that the wearing mode of the earphone 1300 is the earphone wearing mode; if the distance is within the preset distance threshold, the determining module 1301 determines the wearing mode of the earphone 1300 Wear the positive mode for the headphones.
  • the earphone can determine the wearing mode of the earphone, and generate a wearing mode signal, thereby notifying the terminal of the wearing mode of the earphone, so that the terminal can control the played audio signal according to the wearing mode signal.
  • Channel output That is to say, the terminal can automatically control the channel output of the left and right earpieces when the earphone is worn, and avoids the user to change the wearing position of the earphone, thereby improving the switching efficiency of the earphone channel.
  • FIG. 14 is a schematic structural diagram of a headphone channel control system according to an embodiment of the present invention.
  • the system shown in FIG. 14 may include a terminal 1401 and a headset 1402, and a communication connection is established between the terminal 1401 and the headset 1402, wherein:
  • the earphone 1402 is configured to determine a wearing mode of the earphone 1402, and generate a wearing mode signal according to the wearing mode of the earphone 1402, thereby transmitting the wearing mode signal to the terminal 1401 through the communication connection.
  • the wearing mode includes a headset wearing reverse mode and a headset wearing correct mode, and the wearing mode signal may be used to indicate that the earphone 1402 is worn backward, and may also be used to indicate that the earphone 1402 is properly worn.
  • the terminal 1401 After receiving the wearing mode signal transmitted by the earphone 1402 through the communication connection, the terminal 1401 analyzes the wearing mode signal to obtain an analysis result, and controls the channel output of the audio signal played by the terminal 1401 according to the analysis result.
  • the earphone can detect the wearing mode of the earphone and generate a wearing mode signal, so as to send the signal to the terminal, the terminal parses the wearing mode signal to obtain an analysis result. After that, the channel output of the audio signal played by the terminal can be controlled according to the result of the analysis, that is, the wearing mode of the earphone (wearing or wearing correctly). In this way, the earphone can detect whether the reverse is worn, and the terminal automatically switches the channel when the earphone is worn, so that the user can switch the channel by switching the earphones to the left and right earpieces, thereby improving the switching efficiency of the earphone channel.
  • the terminal in the embodiment of the present invention and the module in the earphone can be combined, divided, and deleted according to actual needs.
  • the module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • the storage medium may be a magnetic disk, an optical disk, a ROM, a RAM, or the like.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Headphones And Earphones (AREA)
  • Stereophonic Arrangements (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

本发明实施例公开了一种耳机声道控制方法、相关设备及***。其中,所述方法包括:耳机可以确定所述耳机的佩戴模式,根据所述耳机的佩戴模式生成佩戴模式信号,并通过预先建立的通信连接将所述佩戴模式信号发送给终端,终端在接收到所述佩戴模式信号后,可以根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。通过这种方式,如果耳机戴反,终端可以自动对耳机进行声道切换,这样可以避免用户通过交换耳机左右听筒来切换声道,从而提高了耳机声道的切换效率。

Description

一种耳机声道控制方法、相关设备及*** 技术领域
本发明实施例涉及通信技术领域,具体涉及一种耳机声道控制方法、相关设备及***。
背景技术
现在的耳机一般具有左声道与右声道之分,且大部分耳机都是固定声道输出,例如,耳机左听筒输出左声道,耳机右听筒输出右声道。用户在使用耳机欣赏音乐和观看视频时,为了得到较好的听觉体验,一般会将耳机左听筒佩戴于左耳,耳机右听筒佩戴于右耳。一旦耳机左右听筒戴反了,可能就会出现用户观看到的视频画面是左边的演员正在讲话,而用户的右耳听到的声音比却左耳听到的声音稍微强些的情况,从而影响了听觉效果。在这种情况下,用户一般是通过对调耳机听筒的佩戴位置来进行声道切换,但这种切换方式效率较低。
发明内容
本发明实施例公开了一种耳机声道控制方法、相关设备及***,用以解决耳机声道切换效率较低的问题。
本发明实施例第一方面公开了一种耳机声道控制方法,所述方法应用于终端,且所述终端与耳机建立通信连接,该方法可以包括:
终端通过预先建立的通信连接在接收所述耳机发送的佩戴模式信号后,可以根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出,其中,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确。
通过这种方式,终端可以根据耳机的佩戴模式(戴反或佩戴正确)来控制耳机左右听筒的声道输出方式,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
在另一种实施方式中,所述终端通过通信连接接收所述耳机发送的佩戴模 式信号,可以包括:
在所述通信连接为有线连接时,所述有线连接包括所述耳机与所述终端的音频输入通道(能够传送由麦克风采集到的声音信号的通信线路),所述终端通过所述音频输入通道接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号为载波信号,所述载波信号可以为指定的载波信号,如指定频率的调制载波,或者指定波形的载波信号,所述载波信号可以用来指示耳机戴反和耳机佩戴正确的至少一种。
在又一种实施方式中,所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出具体包括:
所述终端对所述佩戴模式信号进行解析,得到解析结果,从而可以根据所述解析结果控制所述终端播放的音频信号的声道输出。
在又一种实施方式中,所述终端对所述佩戴模式信号进行解析,得到解析结果,可以包括:
所述终端将所述载波信号与用于指示耳机佩戴模式的载波信号进行比对,所述用于指示耳机佩戴模式的载波信号包括用于指示耳机戴反的载波信号和用于指示耳机佩戴正确的载波信号,如果所述载波信号与所述用于指示耳机戴反的载波信号匹配,所述终端确定所述耳机戴反;如果所述载波信号与所述用于指示耳机佩戴正确的载波信号匹配,所述终端确定所述耳机佩戴正确。
在又一种实施方式中,所述终端通过所述通信连接接收所述耳机发送的佩戴模式信号,包括:
在所述通信连接为无线连接(如蓝牙连接)时,所述终端通过所述无线连接来接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号为扩展编码;
在又一种实施方式中,所述终端对所述佩戴模式信号进行解析,得到解析结果,可以包括:
所述终端将所述扩展编码与用于指示耳机佩戴模式的扩展编码进行比对,所述用于指示耳机佩戴模式的扩展编码包括用于指示耳机戴反的扩展编码和用于指示耳机佩戴正确的扩展编码,如果所述扩展编码与所述用于指示耳机戴反的扩展编码匹配,所述终端确定所述耳机戴反;如果所述扩展编码与所述用于指示耳机佩戴正确的扩展编码匹配,所述终端确定所述耳机佩戴正确。
在又一种实施方式中,在所述佩戴模式信号用于指示所述耳机戴反时,所述佩戴模式信号由所述耳机在确定出所述耳机与障碍物的距离不在预设距离阈值内时,通过所述通信连接发送给所述终端;那么所述终端会根据所述佩戴模式信号将所述终端播放的音频信号切换声道输出。
在又一种实施方式中,所述终端还可以检测前台运行的应用程序是否为具有音频输出功能的应用程序,如音乐播放器、视频播放器以及游戏应用等。如果所述前台运行的应用程序为具有音频输出功能的应用程序,那么再根据所述佩戴模式信号将所述终端播放的音频信号切换声道输出。
耳机戴反,且前台运行的应用程序为具有音频输出功能的应用程序时,所述终端才对耳机声道进行切换,这样可以避免在不用切换声道的场景下切换声道,提高声道切换的精确性。
在又一种实施方式中,所述终端还可以根据所述佩戴模式信号生成并输出提示信息,以提示用户耳机戴反,是否切换声道,并接收用户根据所述提示信息选择的声道控制指令,其中,所述声道控制指令用于指示进行声道切换或者保持当前声道输出。如果所述声道控制指令用于指示进行声道切换,那么所述终端再根据所述佩戴模式信号将所述终端播放的音频信号切换声道输出。
其中,所述提示信息可以为语音提示,也可以为文字提示。终端可以通过耳机输出,也可以在自己的显示屏上输出,还可以通过穿戴设备输出。
终端在接收到用于指示耳机戴反的佩戴模式信号之后,可以提示用户,从而通过用户来确定是自动切换声道还是手动切换,增加了声道切换的灵活性。
本发明实施例第二方面公开了另一种耳机声道控制方法,所述方法应用于耳机,所述耳机与终端预先建立通信连接,所述方法可以包括:
所述耳机确定所述耳机的佩戴模式,根据所述耳机的佩戴模式生成佩戴模式信号,并通过所述通信连接将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确,以便于所述终端可以根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
耳机可以确定耳机的佩戴模式,并根据确定结果生成佩戴模式信号,从而告知给终端耳机的佩戴状态,以便于终端可以根据佩戴模式信号控制播放的音 频信号的声道输出。也即是说,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
在另一种实施方式中,所述耳机确定所述耳机的佩戴模式具体包括:
检测所述耳机是否处于佩戴状态;在所述耳机处于佩戴状态时,检测所述耳机与障碍物的距离,并判断所述距离是否在预设距离阈值内,如果所述距离不在预设距离阈值内,就可以确定所述耳机的佩戴模式为耳机戴反模式,如果所述距离在预设距离阈值内,就可以确定所述耳机的佩戴模式为耳机佩戴正确模式。
在又一种实施方式中,所述耳机通过所述通信连接将所述佩戴模式信号发送给所述终端,可以包括:
在所述通信连接为有线连接时,所述有线连接包括所述耳机与所述终端的音频输入通道,所述耳机通过所述音频输入通道将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式信号为载波信号,所述载波信号可以为指定的载波信号,如指定频率的调制载波,或者指定波形的载波信号,所述载波信号可以用来指示耳机戴反和耳机佩戴正确的至少一种;
或者,
在所述通信连接为无线连接(如蓝牙连接)时,所述耳机过所述无线连接将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式信号为扩展编码。
本发明实施例第三方面公开了一种终端,所述终端与耳机预先建立通信连接,所述终端可以包括通信模块和控制模块,其中:
所述通信模块,用于通过与所述耳机建立的通信连接接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
所述控制模块,用于根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
通过这种方式,终端可以根据耳机的佩戴模式(戴反或佩戴正确)来控制耳机左右听筒的声道输出方式,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高 耳机声道切换效率。
在另一种实施方式中,所述通信模块通过与所述耳机建立的通信连接接收所述耳机发送的佩戴模式信号的具体方式可以为:
在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道(能够传送由麦克风采集到的声音信号的通信线路)时,通过所述音频输入通道接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号为载波信号,所述载波信号可以为指定的载波信号,如指定频率的调制载波,或者指定波形的载波信号,所述载波信号可以用来指示耳机戴反和耳机佩戴正确的至少一种。
在又一种实施方式中,所述终端还可以包括解析模块,其中
所述解析模块,用于对所述通信模块接收到的所述佩戴模式信号进行解析,得到解析结果,并将所述解析结果发送给所述控制模块;所述控制模块从而可以根据所述解析结果控制所述终端播放的音频信号的声道输出。
在又一种实施方式中,所述解析模块对所述佩戴模式信号进行解析,得到解析结果的具体方式可以为:
将所述载波信号与用于指示耳机佩戴模式的载波信号进行比对,所述用于指示耳机佩戴模式的载波信号包括用于指示耳机戴反的载波信号和用于指示耳机佩戴正确的载波信号,如果所述载波信号与所述用于指示耳机戴反的载波信号匹配,确定所述耳机戴反;如果所述载波信号与所述用于指示耳机佩戴正确的载波信号匹配,确定所述耳机佩戴正确。
在又一种实施方式中,所述通信模块通过与所述耳机建立的通信连接接收所述耳机发送的佩戴模式信号的具体方式还可以为:
在所述通信连接为无线连接(如蓝牙连接)时,通过所述无线连接来接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号为扩展编码;
在又一种实施方式中,所述解析模块对所述佩戴模式信号进行解析,得到解析结果的具体方式还可以为:
将所述扩展编码与用于指示耳机佩戴模式的扩展编码进行比对,所述用于指示耳机佩戴模式的扩展编码包括用于指示耳机戴反的扩展编码和用于指示耳机佩戴正确的扩展编码,如果所述扩展编码与所述用于指示耳机戴反的扩展 编码匹配,确定所述耳机戴反;如果所述扩展编码与所述用于指示耳机佩戴正确的扩展编码匹配,确定所述耳机佩戴正确。
在又一种实施方式中,所述终端还可以包括:
生成模块,用于根据所述解析结果生成用于提示是否切换声道的提示信息;
输出模块,用于输出所述提示信息;其中,所述提示信息可以为语音提示,也可以为文字提示;
输入模块,用于在所述输出模块输出所述提示信息之后,接收用户根据所述提示信息输入的声道控制指令,其中,所述声道控制指令用于指示进行声道切换或者保持当前声道输出;
控制模块从而在所述声道控制指令用于指示进行声道切换时,根据所述佩声道控制指令将所述终端播放的音频信号切换声道输出。
终端在接收到用于指示耳机戴反的佩戴模式信号之后,可以提示用户,从而通过用户来确定是自动切换声道还是手动切换,增加了声道切换的灵活性。
本发明实施例第四方面公开了另一种终端,所述终端包括处理器、通信接口、麦克风芯片、输入设备、输出设备、存储器等。通信接口用于接收和发送数据等;处理器主要用于对数据进行处理;麦克风芯片用于对载波信号进行解析;输出设备可以用来向用户输出提示信息;输入设备可以用于接收用户输入的声道控制指令;存储器可以存储供终端使用的操作***、计算机代码和数据等。
本发明实施例第五方面公开了一种耳机,所述耳机与终端预先建立通信连接,所述耳机可以包括:
确定模块,用于确定所述耳机的佩戴模式,其中,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式;
生成模块,用于根据所述确定模块的确定的所述耳机的佩戴模式生成佩戴模式信号,其中,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
通信模块,用于通过所述通信连接将所述佩戴模式信号发送给所述终端,以便于所述终端可以根据所述佩戴模式信号控制播放的音频信号的声道输出。
耳机可以确定耳机的佩戴模式,并生成佩戴模式信号,从而告知给终端耳 机的佩戴状态,以便于终端可以根据佩戴模式信号控制所述终端播放的音频信号的声道输出。也即是说,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
在另一种实施方式中,所述耳机还可以包括检测模块和和判断模块,其中:
所述检测模块,用于检测所述耳机与障碍物的距离,并将所述距离发送给所述判断模块;
所述判断模块,用于判断所述距离是否在预设距离阈值内;
所述确定模块在所述距离不在预设距离阈值内时确定所述耳机的佩戴模式为耳机戴反模式;在所述距离在预设距离阈值内时确定所述耳机的佩戴模式为耳机佩戴正确模式。
在又一种实施方式中,所述通信模块通过所述通信连接将所述佩戴模式信号发送给所述终端的具体方式可以为:
在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道时,通过所述音频输入通道将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式信号为载波信号,所述载波信号可以为指定的载波信号,如指定频率的调制载波,或者指定波形的载波信号,所述载波信号可以用来指示耳机戴反和耳机佩戴正确的至少一种;
或者,
在所述通信连接为无线连接(如蓝牙连接)时,通过所述无线连接将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式信号为扩展编码。
本发明实施例第六方面公开了另一种耳机,所述耳机包括处理器、通信接口、距离传感器等。处理器可以用来确定所述耳机的佩戴模式,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式;距离传感器分别设置于耳机左右听筒相对放置时的同一侧面,用于检测耳机听筒到障碍物之间的距离,以此辅助处理器确定所述耳机的佩戴模式;通信接口可以用于通过与终端预先建立的通信连接将所述佩戴模式信号发送给所述终端,以便于终端可以根据所述佩戴模式信号控制所述耳机声道的输出,如切换耳机声道,从而可以提高耳机声道的切换效率。
本发明实施例第七方面公开了又一种耳机声道控制方法,所述方法应用于耳机声道控制***,所述***可以包括终端和与所述终端建立通信连接的耳机,所述方法可以包括:
所述耳机确定所述耳机的佩戴模式,根据所述耳机的佩戴模式生成佩戴模式信号,并通过所述通信连接将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;那么所述终端在接收到所述佩戴模式信号后,可以根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
通过这种方式,耳机可以确定所述耳机的佩戴模式,并告知终端,那么所述终端可以根据耳机的佩戴模式(戴反或佩戴正确)来控制耳机左右听筒的声道输出方式,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
本发明实施例第八方面公开了一种耳机声道控制***,所述***包括耳机和终端。所述耳机主要用于确定所述耳机的佩戴模式,并通知终端;所述终端主要用于在接收到耳机的通知后,控制耳机声道的输出,如在耳机戴反时对耳机声道进行切换,从而可以提高耳机声道的切换效率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例公开的一种耳机声道控制的场景示意图;
图2是本发明实施例公开的一种耳机声道控制方法的流程示意图;
图3是本发明实施例公开的确定耳机的佩戴模式的场景示意图;
图4a是本发明实施例公开的一种终端的结构示意图;
图4b是本发明实施例公开的耳机3.5mm接口示意图;
图4c是本发明实施例公开的耳机3.5mm接口线路的示意图;
图4d是本发明实施例公开的终端提示用户耳机戴反的场景之一的示意图;
图5是本发明实施例公开的生成声道控制指令的场景之一的示意图;
图6是本发明实施例公开的一种耳机的结构示意图;
图7是本发明实施例公开的另一种耳机声道控制方法的流程示意图;
图8是本发明实施例公开的又一种耳机声道控制方法的流程示意图;
图9是本发明实施例公开的又一种耳机声道控制方法的流程示意图;
图10是本发明实施例公开的一种终端的结构示意图;
图11是本发明实施例公开的另一种终端的结构示意图;
图12是本发明实施例公开的又一种耳机声道控制方法的流程示意图;
图13是本发明实施例公开的一种耳机的结构示意图;
图14是本发明实施例公开的一种耳机声道控制***的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例公开了一种耳机声道控制方法、相关设备及***,能够提高耳机声道的切换效率。以下分别进行详细说明。
为了更好的理解本发明实施例公开的一种耳机声道控制方法、相关设备及***,下面先对本发明实施例适用的场景进行描述。请参阅图1,图1是本发明实施例公开的一种耳机声道控制的场景示意图。在图1所示的场景中,包括耳机和终端,其中,所述耳机为立体声耳机,具有左声道和右声道之分,所述耳机可以包括无线耳机(如蓝牙耳机)和有线耳机(即具备3.5mm耳机接口的耳机,包括头戴式耳机、耳塞式耳机、挂耳式耳机等),那么所述耳机可以通过3.5mm耳机接口与终端建立通信连接,也可以通过蓝牙与终端建立通信连接,本发明实施例不做限定。所述终端可以包括但不限于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)以及智能穿戴设备等可以与耳机建立通信连接的终端。
在耳机与终端建立通信连接的情况下,如果终端正在进行通话、播放音乐、视频、启动游戏等,那么终端就会将音频信号通过耳机输出,且用户通过耳机听到的声音具有立体感。
基于图1所示的场景,本发明实施例公开了一种耳机声道控制方法。请参阅图2,图2是本发明实施例公开的一种耳机声道控制方法的流程示意图。其中,图2所描述的方法可以应用于耳机声道控制***,所述***包括终端和预先与所述终端建立有通信连接的耳机。如图2所示,所述耳机声道控制方法可以包括以下步骤:
201、耳机确定所述耳机的佩戴模式。
本发明实施例中,耳机与终端建立通信连接。所述耳机与所述终端可以通过以下两种方式建立通信连接:一种为有线连接,即将耳机接口***终端的耳机插孔,另一种为无线连接,即耳机与终端通过蓝牙建立连接。所述耳机与所述终端建立通信连接后,所述耳机可以确定所述耳机的佩戴模式,其中,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式。
具体的,请一并参阅图3,图3是本发明实施例公开的确定耳机的佩戴模式的场景示意图。所述耳机左右听筒的相对位置分别设置有距离传感器(如图3所示的距离传感器的位置),所述距离传感器具体是在左右听筒相对放置时的相同侧设置。如果用户正确佩戴耳机(即将耳机左听筒佩戴于用户的左耳,耳机右听筒佩戴于用户的右耳),那么两个听筒的距离传感器检测到的距离就会比较大(即距离传感器检测到的距离在大于某一距离阈值的指定距离范围内),所述耳机的佩戴模式即为耳机佩戴正确模式;如果用户将耳机戴反,那么距离传感器检测到的距离(即距离传感器与耳廓之间的距离)就会比较小,所述耳机的佩戴模式即为耳机戴反模式。当然,距离传感器也可以同时设置在左右听筒的另一侧,如果用户正确佩戴耳机,那么两个听筒的距离传感器检测到的距离就会比较小(即距离传感器检测到的距离在小于某一距离阈值的指定距离范围内);如果用户将耳机戴反,那么两个听筒的距离传感器检测到的距离(即距离传感器与耳廓之间的距离)就会比较大,通过这种方式从而可以确定用户是否将耳机戴反。
具体实现中,耳机确定所述耳机的佩戴模式的主要方式可以包括以下步骤:
11)所述耳机检测与障碍物的距离,并判断所述距离是否在预设距离阈值内;
12)在所述距离不在所述预设距离阈值内时,确定所述耳机的佩戴模式为耳机戴反模式;
13)在所述距离在所述预设距离阈值内时,确定所述耳机的佩戴模式为耳机佩戴正确模式。
本发明实施例中,所述耳机主要通过耳机左右听到配置的距离传感器来检测与障碍物之间的距离,从而获取该距离,并判断所述距离是否在预设距离阈值内,以此来确定所述耳机的佩戴模式。
需要说明的是,所述耳机可以是获取耳机左听筒的距离传感器检测到的距离,也可以是获取耳机右听筒的距离传感器检测到的距离,还可以是同时获取两听筒的距离传感器检测到的距离,本发明实施例不做限定。所述预设距离阈值可以理解为:如果距离传感器设置在耳机听筒在正确佩戴时靠近用户耳朵的一侧,那么所述预设距离阈值即为小于某一距离阈值的距离范围,如小于1厘米;如果距离传感器设置在耳机听筒在正确佩戴时远离用户耳朵的一侧,那么所述预设距离阈值即为大于某一距离阈值的距离范围,如大于3厘米。
本发明实施例中,耳机可以判断任意耳机听筒设置的距离传感器检测到的距离是否在预设距离阈值内,也可以判断耳机左右听筒的距离传感器检测到的距离是否均在预设距离阈值内。
因此,当所述距离不在预设距离阈值内时,耳机就可以确定所述耳机戴反,当所述距离在所述预设距离阈值内时,就可以确定所述耳机佩戴正确。
在上述方式中,所述耳机还可以先确定所述耳机是否处于佩戴状态,在所述耳机处于佩戴状态后,再检测所述耳机与障碍物之间的距离。
需要说明的是,所述耳机确定所述耳机是否处于佩戴状态的具体方式可以为:所述耳机设置有在用户佩戴耳机的状态下外部声音不经过遮挡物而被获取的外侧麦克风和在用户佩戴耳机的状态下外部声音经由遮挡物被获取的内侧麦克风,这样内侧麦克风和外侧麦克风就可以实时检测环境中的声音信号,并 对获取的声音信号进行比较。如果内侧麦克风获取的声音信号强度小于外侧麦克风获取的声音信号强度,那么就表明所述耳机处于佩戴状态;反之,就表明所述耳机不处于佩戴状态。
202、所述耳机根据所述耳机的佩戴模式生成佩戴模式信号。
本发明实施例中,所述佩戴模式信号可以用于指示所述耳机戴反,也可以用于指示所述耳机佩戴正确。因此,所述耳机可以根据确定耳机佩戴模式的确定结果来生成佩戴模式信号。
也即是说,在耳机确定出所述耳机戴反时,生成用于指示耳机戴反的佩戴模式信号,而在耳机佩戴正确时,生成用于指示所述耳机佩戴正确的佩戴模式信号。
需要说明的是,所述耳机可以只在耳机戴反时生成用于指示耳机戴反的佩戴模式信号;也可以只在耳机佩戴正确时生成用于指示耳机佩戴正确的佩戴模式信号;还可以在耳机确定出所述耳机戴反时,生成用于指示耳机戴反的佩戴模式信号,而在耳机佩戴正确时,生成用于指示所述耳机佩戴正确的佩戴模式信号,本发明实施例不做限定。
203、所述耳机通过与所述终端预先建立的通信连接将所述佩戴模式信号发送给所述终端。
204、所述终端通过所述通信连接接收所述耳机发送的佩戴模式信号,并根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
本发明实施例中,终端在接收到佩戴模式信号后,就可以根据所述佩戴模式信号控制所述耳机的左右声道的输出。当所述佩戴模式信号用于指示所述耳机戴反时,所述终端就会将播放的音频信号切换声道输出;当所述佩戴模式信号用于指示所述耳机佩戴正确时,所述终端就不会做任何操作,即保持耳机左右声道当前的输出方式。
具体的,假设耳机的左听筒输出左声道,右听筒输出右声道,当用户将左听筒佩戴在用户右耳,或者将右听筒佩戴在用户左耳时,耳机就能够检测到耳机戴反,从而通知终端。终端因而会将原本左声道输出的音频信号切换为右声道输出,将右声道输出的音频信号切换为左声道输出,这样即使用户将耳机戴反,也可以听到符合双耳效应的音频信号。其中,双耳效应是人们依靠双耳间 的音量差、时间差和音色差判别声音方位的效应,所述音频信号可以是音乐、语音等终端输出的音频信号。当然,终端在切换声道后输出音频信号的期间,耳机同样可以检测耳机是否戴反,一旦用户将耳机听筒正确佩戴,那么终端就会按照默认的声道输出方式(即左听筒输出左声道,右听筒输出右声道)输出音频信号。
可见,在图2所示的方法中,耳机可以确定所述耳机的佩戴模式,并生成佩戴模式信号,从而将所述信号发送给终端,那么所述终端就可以根据佩戴模式信号,即耳机的佩戴模式(戴反或佩戴正确)来控制所述终端播放的音频信号的声道输出。通过这种方式,耳机可以检测是否戴反,而在耳机戴反时由终端自动切换声道,这样可以避免用户通过交换耳机左右听筒来切换声道,从而提高了耳机声道的切换效率。
基于图1所示的场景,本发明实施例公开了一种终端。请参阅图4a,图4a是本发明实施例公开的一种终端的结构示意图。其中,图4a所描述的终端400可以包括:至少一个处理器401,如CPU、输入设备402、输出设备403、存储器404、耳机接口405、蓝牙模块406、通信总线407、麦克风芯片408以及音频处理芯片409。其中:
耳机接口405与有线耳机建立通信连接。当耳机***耳机接口405时,耳机与终端400之间即建立了有线连接,该有线连接包括耳机与终端400之间的音频输入通道,那么耳机与终端400之间就可以进行通信,如用户通过耳机向终端400输入声音信号、用户通过按压耳机上的物理按键向终端400发送如切换歌曲、调节音量、结束通话等指令,终端400将播放的音乐、视频中的声音信号等通过耳机输出给用户。其中,终端400与有线耳机之间进行通信的信号一般为模拟信号,如调制载波。
麦克风芯片408主要对声音信号进行解析,即接收器4021接收到由耳机经过音频输入通道发送的载波信号后,会发送给麦克风芯片408,麦克风芯片408从而将载波信号解析为电信号,并将解析得到的电信号发送给处理器401处理。
蓝牙模块406与(蓝牙)耳机建立通信连接。当(蓝牙)耳机与终端400 建立蓝牙连接时,(蓝牙)耳机与终端400之间就可以进行通信。其中,终端400与(蓝牙)耳机之间进行通信的信号一般为数字信号,如扫描码。蓝牙模块406还可以对耳机发送的数字信号进行解析,从而将解析结果发送给处理器401处理。
音频处理芯片409主要根据处理器401发送的音频指令对终端400播放的音频信号进行控制,如对音频数据进行声音渲染、切换声道输出、音量调节等。
存储器404存储供终端400使用的操作***、计算机代码和数据等。存储器404可包括只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、硬盘驱动器等,本发明实施例中的应用程序存储在存储器404上。
输出设备403可以为显示屏、显示器、扬声器、或发送器等,用于显示或者播放图片或音视频文件,或者发送终端400产生的数据指令等。其中,显示屏或显示器通常配置了图形用户接口(Graphical User Interface,GUI),GUI在终端400和在其上运行的操作***或应用之间提供一个易于使用的用户接口。GUI以图形图像表示程序、文件和操作选项,用户可以通过操作显示屏或显示器选择并激活各种图形图像以便启动与之相关的功能和任务。
输入设备402可以为触控面板、或接收器4021等,接收器4021用于接收来自外部设备发送的数据指令。触控面板可以为触摸板或触摸屏,可基于各种感应技术,包括但不限于电容感应、电阻感应、表面声波感应、压力感应、光感应等接收用户的输入操作指令。触摸板或触摸屏可以与显示屏或者显示器集成在一起,也可以是单独的部件。其中,输入设备404可以是单点或多点输入设备。
需要说明的是,接收器4021与发送器可以集成为通信接口,用于接收外部设备发送的数据指令和向外部设备发送数据指令等。
处理器401对各种数据进行处理,并执行接收到的各种类型的指令,其可以控制终端400的各组件之间输入和输出数据的接收和操作;处理器401可以在单芯片、多芯片或多个电子元件上实现,并可采用多种体系结构,包括专用或嵌入式处理器、专用处理器、控制器、ASIC等。
通信总线407实现处理器401、输入设备402、输出设备403、存储器404、 耳机接口405、蓝牙模块406、麦克风芯片408以及音频处理芯片409这些组件之间的通信连接,其中:
接收器4021可以通过与耳机建立的通信连接接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确。接收器4021在接收到佩戴模式信号后,会将所述佩戴模式信号发送给处理器401进行处理。处理器401在获取到佩戴模式信号后,会根据佩戴模式信号控制所述终端400播放的音频信号的声道输出。
接收器4021通过与所述耳机建立的通信连接接收所述耳机发送的佩戴模式信号的具体方式可以为:
方式一、
在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端400的音频输入通道(能够传送由麦克风采集到的声音信号的通信线路)时,通过所述音频输入通道接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号为载波信号,所述载波信号可以为指定的载波信号,如指定频率的调制载波,或者指定波形的载波信号,所述载波信号可以用来指示耳机戴反和耳机佩戴正确的至少一种。
请一并参阅图4b和图4c,其中,图4b是本发明实施例公开的耳机3.5mm接口示意图,图4c是本发明实施例公开的耳机3.5mm接口线路的示意图。现在的有线耳机通常为3.5mm耳机接口,所述耳机接口包括四个信号通道,如图4b所示,分别为左声道(+)通道,右声道(+)通道,麦克风(+)通道(也可以称为音频输入通道)以及地线(—),其中,“+”表示高电压,“—”表示低电压。在图4c中,左声道通道和右声道通道一般与地线处于连接状态,而麦克风通道与地线之间存在开关,所述开关可以是硬件开关,也可以是软件开关。因此,麦克风通道与地线之间一般不会一直处于连接状态,而是在终端400运行特殊应用(如具有通话、录音等功能的应用)时才会与地线连接,从而处于工作状态。用户将耳机接口***终端的耳机插孔后,如果终端400当前运行的应用具有通话功能,那么麦克风通道会与地线连接,用户可以通过麦克风将声音输入给终端400,也可以将一些控制指令发送给终端400,如在播放音乐时控制音量大小的指令,控制歌曲切换的指令,在通话时控制通话结束的指令等。同 时,耳机可以向终端400获取供电,从而开启距离传感器以检测耳机听筒与最近障碍物之间的距离。由于声音信号一般为波形信号,耳机通过麦克风向用户发送的也大多为波形信号,那么当耳机确定出所述耳机的佩戴模式,如耳机戴反时,可以通过音频输入通道将载波信号发送给终端400,终端400从而可以通过音频输入通道接收到音频信号,也可以接收到载波信号。
其中,所述载波信号用于指示耳机的佩戴模式,那么耳机和终端400之间可以预先约定指示耳机的佩戴模式的指定载波信号,可以为指定频率的调制载波,也可以为指定波形的载波信号(如正弦波),本发明实施例不做限定。例如,终端400可以指定第一频率的调制载波用于指示耳机戴反,第二频率的调制载波用于指示耳机佩戴正确等。
方式二、
在所述通信连接为无线连接(如蓝牙连接)时,通过所述无线连接来接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号为扩展编码。
本发明实施例中,现在的耳机还可以包括蓝牙耳机,即耳机与终端400通过蓝牙模块406建立连接,当然,耳机也可以与终端400建立Wi-Fi等无线连接。因此,当蓝牙等无线耳机与终端400建立无线连接时,如果耳机确定出耳机的佩戴模式,就可以通过蓝牙等无线连接方式将佩戴模式信号发送给终端400,以指示耳机的佩戴模式。例如,在用户将耳机戴反时,所述耳机就可以通过蓝牙向终端400发送用于指示耳机戴反的佩戴模式信号,那么接收器4021(具体为蓝牙模块406)就会接收到耳机发送的佩戴模式信号。
需要说明的是,现在的蓝牙耳机向终端400发送的信号为数字信号(即扫描码),不同的扫描码对应不同功能的指示信号,所述指示信号包括有调节音量的信号、切换歌曲的信号、暂停和开始播放的信号等,如表1所示。因此,可以在现有的扫描码基础上,增加一个扩展编码,以指示耳机的佩戴模式。
举例来说,可以增加一个用于指示耳机戴反的扩展编码,所述扩展编码可以为除表1所示的扫描码之外的任意扫描码,如“003E7 999”,本发明实施例不做限定,那么,其对应的映射字符串为“CHANNEL_REVERSE”,以指示耳机戴反。当然,还可以增加一个用于指示耳机佩戴正确的扩展编码,本发明实施例不做限定。
表1
扫描码 功能 映射字符串
00c8 200 开始播放 MEDIA_PLAY
00c9201 暂停播放 MEDIA_PAUSE
00a3 163 下一曲 MEDIA_NEXT
00a5 165 上一曲 MEDIA_PREVIOUS
所述终端400还可以在接收器4021接收到佩戴模式信号时,对所述佩戴模式信号进行解析,得到解析结果,并根据解析结果控制所述终端400播放的音频信号的声道输出。
所述终端400对所述佩戴模式信号进行解析,得到解析结果的具体方式可以为:
方式一、
在所述佩戴模式信号为载波信号时,由麦克风芯片408将所述载波信号解析为电信号,发送给处理器401,处理器401从而与预先存储的用于指示耳机佩戴模式的信号进行比对,所述用于指示耳机佩戴模式的信号包括用于指示耳机戴反的信号和用于指示耳机佩戴正确的信号,如果解析后的信号与所述用于指示耳机戴反的信号匹配,所述终端确定所述耳机戴反;如果解析后的信号与所述用于指示耳机佩戴正确的信号匹配,所述终端确定所述耳机佩戴正确。
本发明实施例中,所述用于指示耳机佩戴模式的信号可以包括用于指示耳机戴反的信号和用于指示耳机佩戴正确的信号中的至少一种,本发明实施例不做限定。那么,所述终端在接收到所述载波信号后,可以与预先保存的各个载波信号进行对比,当确定所述解析后的信号为用于指示耳机佩戴模式的信号时,再进一步确定所述解析后的信号的频率或者波形是与用于指示耳机戴反的信号一致,还是与用于指示耳机佩戴正确的信号一致。通过这种方式即可对佩戴模式信号进行解析,得到解析结果。
方式二、
在所述佩戴模式信号为扩展编码时,由蓝牙模块406将该扩展比编码进行 解析,并将解析结果发送给处理器401,处理器401从而将解析后的扩展编码与用于指示耳机佩戴模式的扩展编码进行比对,所述用于指示耳机佩戴模式的扩展编码包括用于指示耳机戴反的扩展编码和用于指示耳机佩戴正确的扩展编码,如果所述扩展编码与所述用于指示耳机戴反的扩展编码匹配,所述终端确定所述耳机戴反;如果所述扩展编码与所述用于指示耳机佩戴正确的扩展编码匹配,所述终端确定所述耳机佩戴正确。
本发明实施例中,所述用于指示耳机佩戴模式的扩展编码包括用于指示耳机戴反的扩展编码和用于指示耳机佩戴正确的扩展编码中的至少一种,本发明实施例不做限定。那么,所述终端在接收到所述扩展编码后,可以与预先保存的各个扫描码进行对比,当确定所述扩展编码为用于指示耳机佩戴模式的扫描码时,再进一步确定所述扩展编码是与用于指示耳机戴反的扫描码一致,还是与用于指示耳机佩戴正确的扫描码一致。通过这种方式即可对佩戴模式信号进行解析,得到解析结果。
本发明实施例中,在所述佩戴模式信号用于指示所述耳机戴反时,所述佩戴模式信号由所述耳机在确定出所述耳机处于佩戴状态,且所述耳机的距离传感器检测到的距离不在指定距离范围内时,通过所述通信连接发送给所述终端400。那么处理器401就会根据所述佩戴模式信号控制音频处理芯片409将所述终端400播放的音频信号切换声道输出。
具体的,处理器401根据所述佩戴模式信号控制所述终端400播放的音频信号切换声道输出的具体方式可以为:具有音频播放功能的应用程序在读取存储器404中存储的音频文件后会发送给处理器401,处理器401会将所述音频文件进行解析,得到音频数据,并发送给音频处理芯片409,同时,处理器401在佩戴模式信号用于指示所述耳机戴反的情况下也会向音频处理芯片409发送声道切换指令,音频处理芯片409在接收到声道切换指令,并将音频数据进行声音渲染后,会将左声道输出的音频数据发送给右声道接口输出,右声道输出的音频数据发送给左声道接口输出。其中,左声道接口与耳机的左声道通道连接,右声道接口与耳机的右声道通道连接。
在耳机戴反时,处理器401可以在以下情况下根据所述解析结果或者所述佩戴模式信号控制音频处理芯片409对所述终端400播放的音频信号切换声道 输出:
方式一、
在解析结果为耳机戴反或者佩戴模式信号用于指示耳机戴反时,处理器401检测前台运行的应用程序是否为具有音频输出功能的应用程序,如音乐播放器、视频播放器以及游戏应用等。如果所述前台运行的应用程序为具有音频输出功能的应用程序,那么就会根据所述解析结果或者佩戴模式信号控制音频处理芯片409对所述终端400播放的音频信号切换声道输出。
本发明实施例中,具有音频输出功能的应用程序可以包括但不限于社交应用、通话应用、音乐播放器、视频播放器和游戏应用中的任意一种或几种。所述具有音频输出功能的应用程序也可以是指定的应用程序,如音乐播放器、视频播放器以及游戏等,本发明实施例不做限定。
因此,在麦克风芯片408或者蓝牙模块406对佩戴模式信号进行解析得到解析结果之后或者在接收器4021接收到佩戴模式信号之后,只有当前运行的应用程序也为具有音频输出功能的应用程序时,处理器401才控制音频处理芯片409对音频信号切换声道输出。而如果当前运行的应用程序不为具有音频输出功能的应用程序,输出设备403可以输出提示信息以提示用户耳机戴反。
可见,耳机戴反,且前台运行的应用程序为具有音频输出功能的应用程序时,所述终端400才对耳机声道进行切换,这样可以避免在不用切换声道的场景下切换声道,提高声道切换的精确性。
方式二、
在解析结果为耳机戴反或者佩戴模式信号用于指示耳机戴反时,处理器401根据解析结果或者佩戴模式信号生成用于提示用户耳机戴反,是否切换声道的提示信息,那么输出设备403就可以输出所述提示信息;输出设备403在输出提示信息后,输入设备402可以接收用户根据所述提示信息输入的声道控制指令。其中,所述声道控制指令用于指示进行声道切换或者保持当前声道输出。如果所述声道控制指令用于指示进行声道切换,那么所述处理器401再根据所述解析结果控制音频处理芯片409将终端400播放的音频信号切换声道输出。其中,所述提示信息可以为语音提示,也可以为文字提示。
本发明实施例中,在所述提示信息为文字信息时,输出设备403可以在显 示屏上显示该提示信息,也可以将该提示信息发送给穿戴设备,在穿戴设备的显示屏上显示;在所述提示信息为语音提示时,输出设备403可以通过蓝牙模块406或者耳机接口405将所述提示信息发送给耳机,通过耳机输出,本发明实施例不做限定。
其中,所述提示信息可以提示用户“耳机戴反,是否需要切换声道”,如果是文字提示,还可以在显示屏上显示提示框,请一并参阅图4d,图4d是本发明实施例公开的终端提示用户耳机戴反的场景之一的示意图。在图4d中,所述提示框可以包括文字内容“耳机戴反,是否需要切换声道”,还可以包括“是”和“否”两个按钮供用户选择。如果用户点击“是”,则可以通过输入设备402输入用于指示进行声道切换的声道控制指令;如果用户点击“否”,则可以通过输入设备402输入用于指示保持当前声道输出的声道控制指令。因此,处理器401在输出设备403输出所述提示信息后,可以检测预设时间段内输入设备402是否接收到用户根据所述提示信息输入的声道控制指令。如果所述声道控制指令用于指示进行声道切换,那么处理器401就会控制音频处理芯片409将所述终端400播放的音频信号切换声道输出;如果所述声道控制指令用于指示保持当前声道输出,那么处理器401就会控制音频处理芯片409按照默认的或者原有的声道输出方式输出所述终端400播放的音频信号。
可见,终端400在接收到用于指示耳机戴反的佩戴模式信号之后,可以提示用户,从而通过用户来确定是自动切换声道还是手动切换,增加了声道切换的灵活性。
需要说明的是,输入设备402接收到的声道控制指令的具体方式可以为:
方式一、
处理器401检测在输出设备403输出提示信息后的预设时间段内所述终端400的放置方式是否发生变化;在所述终端400的放置方式发生变化时,生成用于指示进行声道切换的声道控制指令;在终端400的放置方式未发生变化时,生成用于指示保持当前声道输出的声道控制指令,从而将生成的声道控制指令发送给输入设备402。
本发明实施例中,终端400可以预先设置用于指示进行声道切换的声道控制指令为在输出设备403输出提示信息的预设时间段内,所述终端400的放置方 式发生变化。因此,用户就可以在输出设备403输出提示信息之后,通过改变所述终端400的放置方式(例如,将水平放置的手机竖直放置)来控制终端400对耳机声道进行切换。如果用户在输出设备403输出提示信息后的预设时间段内未改变所述终端400的放置方式,那么处理器401可以控制音频处理芯片409不切换声道。当然,所述处理器401也可以设置在输出设备403输出提示信息后的预设时间段内如果没有检测到改变所述终端400的放置方式,也可以控制音频处理芯片409按照默认的处理方式对声道进行控制,如对耳机进行声道切换,本发明实施例不做限定。其中,所述预设时间段可以是5秒、10秒等,所述放置方式可以为正面朝上放置、侧面放置、背面朝上放置等,本发明实施例不做限定。
具体的,处理器401可以通过所述终端400内置的重力传感器来检测所述终端400的放置方式是否发生变化。
可见,在耳机戴反时,用户可以通过改变终端的放置方式来进行声道切换,在提高声道切换效率的同时又提高了用户的参与度,增加趣味性。
方式二、
处理器401检测在输出所述提示信息后的预设时间段内接收器4021是否接收到与所述终端400绑定的穿戴设备发送的声道控制指令;在通信接口4021未接收到所述穿戴设备发送的声道控制指令时,处理器401针对所述提示信息生成声道控制指令;而在接收器4021接收到所述穿戴设备发送的声道控制指令,且所述声道控制指令用于指示进行声道切换时,处理器401才会根据所述解析结果控制音频处理芯片409将所述终端400播放的音频信号切换声道输出。
本发明实施例中,所述预设时间段可以是5秒、10秒等,如果接收器4021在预设时间段内未接收到所述穿戴设备发送的声道控制指令,那么处理器401针对所述提示信息生成默认的声道控制指令,所述默认的声道控制指令可以是用于指示进行声道切换,也可以用于指示保持当前声道输出,本发明是实施例不做限定。
本发明实施例中,与所述终端400绑定的穿戴设备发送声道控制指令给所述终端400的情况可以包括两种情况:情况一、当所述终端400通过穿戴设备的显示屏显示提示信息的时候,用户可以在显示屏上通过点击“是”或“否” 来确定是否进行声道切换,那么所述穿戴设备就会根据用户在显示屏上的操作来生成声道控制指令,并通过与所述终端400建立的通信连接向所述终端400发送所述声道控制指令。情况二、当所述终端400通过穿戴设备的显示屏显示提示信息的时候,用户还可以通过同时晃动所述终端400和穿戴设备来指示所述终端400需要进行声道切换。
在耳机戴反时,用户可以通过穿戴设备来对耳机进行声道切换,终端400在长时间未收到穿戴设备发送的声道控制指令时自动控制声道输出,不仅可以提高耳机声道控制效率,还可以增加用户操作的趣味性和便捷性。
具体的,用户通过同时晃动所述终端400和穿戴设备来指示所述终端400需要进行声道切换的具体方式可以为:
处理器401可以检测所述终端400与绑定的穿戴设备在输出设备403输出提示信息的预设时间段内发生的甩动作事件是否匹配,所述甩动作事件与“摇一摇”功能类似,即用户是否同时摇动终端400和与其绑定的穿戴设备。具体可以是,当所述终端400发生第一甩动作事件,且处理器401检测到所述终端400绑定的穿戴设备发生第二甩动作事件时,处理器401会判断第一甩动作事件和第二甩动作事件包括的甩动作方向是否相同,如果相同,处理器401会进一步判断第一甩动作事件和第二甩动作事件包括的甩动作起始时间是否均位于在输出提示信息后的预设时间段内,如果均位于预设时间段内,处理器401确定所述终端400以及所述穿戴设备在预设时间段内发生的事件匹配,处理器401从而会生成用于指示进行声道切换的声道控制指令。
请一并参阅图5,图5是本发明实施例公开的生成声道控制指令的场景之一的示意图。如图5所示,终端400可以被用户拿在手上,并且用户拿终端400的同一只手上还可以佩戴有穿戴设备(如智能手环、智能手表、智能戒指等),其中,穿戴设备是终端400绑定的穿戴设备,并且终端400可以通过蓝牙、Wi-Fi或红外线等与穿戴设备连接。在图5所示的场景中,用户可以朝着某一个方向同时甩动终端400和穿戴设备。相应地,当穿戴设备通过加速度传感器或者重力传感器检测到发生甩动作时,穿戴设备可以发送包括甩动作起始时间和甩动作持续时间的甩动作事件给终端400。相应地,终端400在输出提示是否切换声道的提示信息时,也可以通过加速度传感器或者重力传感器检测 所述终端400是否发生第一甩动作事件。以下为处理器401通过终端400与穿戴设备是否同时发生甩动作事件的具体实现方式:
方式一、如果终端400发生第一甩动作事件,所述终端400的处理器401会检测终端400绑定的穿戴设备是否发生第二甩动作事件,如果穿戴设备也发生第二甩动作事件,处理器401会判断第一甩动作事件和第二甩动作事件包括的甩动作方向是否相同,如果甩动作方向相同,处理器401会再次判断第一甩动作事件和第二甩动作事件包括的甩动作起始时间是否均位于在输出设备403输出提示信息后的预设时间段内。
如果第一甩动作事件和第二甩动作事件包括的甩动作起始时间均位于所述预设时间内,处理器401会进一步判断第一甩动作事件与第二甩动作事件包括的甩动作持续时长的差值是否小于预设阈值,如果第一甩动作事件与第二甩动作事件包括的甩动作持续时长的差值小于预设阈值,处理器401才确定所述终端400以及穿戴设备在预设时间内发生的事件匹配。
需要说明的是,第一甩动作事件和第二甩动作事件包括的甩动作方向相同可以理解为:当终端400中的加速度传感器检测到加速度突变(如5ms内从0.5变化到3)时,获取加速度最大时的方向,相应的,穿戴设备也会通过所述方式获得加速度最大时的方向,两方向夹角在一定范围内,如小于10度,即可认为第一甩动作事件和第二甩动作事件包括的甩动作方向相同。
方式二、处理器401还可以在方式一的基础上进一步判断第一甩动作事件和第二甩动作事件包括的甩动作持续时长是否均位于预设时间内。如果第一甩动作事件和第二甩动作事件包括的甩动作持续时长均位于预设时间内,处理器401可以再次判断第一甩动作事件与第二甩动作事件包括的甩动作起始时间的差值是否小于目标预设阈值。如果第一甩动作事件与第二甩动作事件包括的甩动作起始时间的差值小于目标预设阈值,处理器401才会确定所述终端400以及穿戴设备在预设时间内发生的事件匹配。将终端400与穿戴设备绑定,只有在终端400和穿戴设备发生的甩动作事件在预设时间内,才能表明终端400在用户的手上,既增加了对耳机声道切换的安全性,又增加了用户操作的趣味性。
其中,预设时间可以为5秒,10秒、15秒等,预设阈值可以为0.03秒后 0.05秒等,目标预设阈值也可以为0.03秒或0.05秒,预设阈值可以与目标预设阈值相同,也可以不同,本发明实施例不做限定。
可见,在图4所示的终端中,耳机在确定所述耳机的佩戴模式后,以用户将耳机戴反为例,会通过预先建立的通信连接向终端发送指示耳机戴反的佩戴模式信号,终端在接收到所述佩戴模式信号后可以将播放的音频信号切换声道输出,从而实现对耳机声道的切换。通过这种方式,耳机可以检测是否戴反,而在耳机戴反时由终端自动切换声道,这样可以避免用户通过交换耳机左右听筒来切换声道,从而提高了耳机声道的切换效率。进一步的,终端在接收到耳机戴反的佩戴模式信号之后,可以提示用户,从而通过用户来确定是自动切换声道还是手动切换声道,增加了耳机声道切换的灵活性。
基于图1所示的场景,本发明实施例公开了一种耳机。请参阅图6,图6是本发明实施例公开的一种耳机的结构示意图。其中,图6所示的耳机600预先与终端建立通信连接。如图6所示,所述耳机600可以包括:处理器601、通信接口602、距离传感器603以及通信总线604,其中:
距离传感器603设置分别设置在耳机600的左右听筒相对放置时的同侧,用于在检测耳机600到障碍物之间的距离(所述障碍物可以是耳廓,也可以是其他物体,如用户耳朵前方的头发、手机等)。
通信总线604可以实现处理器601、通信接口602以及距离传感器603这些组件之间的通信连接。其中:
处理器601可以确定耳机600的佩戴模式,并生成佩戴模式信号,通信接口602从而可以通过与终端预先建立的通信连接向终端发送所述佩戴模式信号。
本发明实施例中,耳机600与终端建立通信连接的方式有两种:一种为有线连接,即将耳机插头***终端的耳机插孔,那么通信接口602即为耳机插头,另一种为无线连接,即耳机与终端通过蓝牙建立连接,那么通信接口602即为耳机600的蓝牙收发器。处理器601可以确定所述耳机600的佩戴模式,并根据佩戴模式生成佩戴模式信号,通信接口602从而会将所述佩戴模式信号发送给 终端。其中,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确。
具体的,所述耳机600包括左听筒和右听筒,左右听筒的相对位置分别设置有距离传感器603,所述距离传感器603可以是设置在左右听筒相对放置时左右听筒的同侧,如图3所示,可以是在听筒的外侧,也可以是在听筒的内侧,本发明实施例不做限定。因此,耳机600左右听筒的距离传感器603可以通过检测与耳廓的距离来确定所述耳机的佩戴模式。
具体实现中,距离传感器603可以检测耳机600的左右听筒到障碍物之间的距离。处理器601确定所述耳机600的佩戴模式的主要方式可以为:
距离传感器603耳机听筒与障碍物之间的的距离,并将所述距离发送给处理器601,处理器601判断所述距离是否在预设距离阈值内;在所述距离不在所述预设距离阈值内时,确定所述耳机600的佩戴模式为耳机戴反模式;在所述距离在所述预设距离阈值内时,确定所述耳机600的佩戴模式为耳机佩戴正确模式。
通信接口602通过所述通信连接将所述佩戴模式信号发送给终端的具体方式可以为:
方式一、
在所述通信连接为有线连接,所述有线连接包括所述耳机600与所述终端的音频输入通道时,通过所述音频输入通道将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式信号为载波信号,所述载波信号可以为指定的载波信号,如指定频率的调制载波,或者指定波形的载波信号,所述载波信号可以用来指示耳机戴反和耳机佩戴正确的至少一种。
方式二、
在所述通信连接为无线连接(如蓝牙连接)时,通过所述无线连接将所述佩戴模式信号发送给所述终端,其中,所述佩戴模式信号为扩展编码。
可见,在图6所示的耳机中,耳机可以检测耳机的佩戴模式,并生成佩戴模式信号,从而告知给终端耳机的佩戴状态,以便于终端可以根据佩戴模式信号控制播放的音频信号的声道输出。也即是说,也即是说,终端可以在耳机戴 反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
基于图1所示的场景,本发明实施例公开了另一种耳机声道控制方法。请参阅图7,图7是本发明实施例公开的另一种耳机声道控制方法的流程示意图。其中,图7所描述的方法可以应用于图4所示的终端400,所述终端预先与耳机建立有通信连接。如图7所示,所述耳机声道控制方法可以包括以下步骤:
701、终端通过与耳机建立的通信连接接收所述耳机发送的佩戴模式信号。
其中,所述佩戴模式信号用于指示耳机戴反或者耳机佩戴正确。
702、所述终端对所述佩戴模式信号进行解析,得到解析结果。
703、所述终端根据所述解析结果控制所述终端播放的音频信号的声道输出。
如果所述佩戴模式信号用于指示耳机戴反,所述终端最终会将所述终端播放的音频信号切换声道输出;如果所述佩戴模式信号用于指示耳机佩戴正确,所述终端可能会对当前的声道输出方式不做任何改变。
可见,在图7所示的方法中,终端可以根据耳机的佩戴模式(戴反或佩戴正确)来控制耳机左右听筒的声道输出方式,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
基于图1所示的场景,本发明实施例公开了又一种耳机声道控制方法。请参阅图8,图8是本发明实施例公开的又一种耳机声道控制方法的流程示意图。其中,图8所描述的方法可以应用于图4所示的终端400,所述终端预先与耳机建立有通信连接。如图8所示,所述耳机声道控制方法可以包括以下步骤:
801、终端通过与耳机建立的通信连接接收所述耳机发送的佩戴模式信号。
其中,所述佩戴模式信号用于指示耳机戴反。
802、所述终端对所述佩戴模式信号进行解析,得到解析结果。
其中,所述解析结果表示所述耳机戴反。
803、所述终端检测前台运行的应用程序是否为具有音频输出功能的应用 程序。
其中,具有音频输出功能的应用程序可以包括但不限于音乐播放器、视频播放器、通话应用以及游戏应用中的至少一种。
804、如果所述前台运行的应用程序为具有音频输出功能的应用程序,所述终端根据所述解析结果将播放的音频信号切换声道输出。
可见,在图8所示的方法中,耳机戴反,且前台运行的应用程序为具有音频输出功能的应用程序时,所述终端才对耳机声道进行切换,这样可以避免在不用切换声道的场景下切换声道,提高声道切换的精确性。
基于图1所示的场景,本发明实施例公开了又一种耳机声道控制方法。请参阅图9,图9是本发明实施例公开的又一种耳机声道控制方法的流程示意图。其中,图9所描述的方法可以应用于图4所示的终端400,所述终端预先与耳机建立有通信连接。如图9所示,所述耳机声道控制方法可以包括以下步骤:
901、终端通过与耳机建立的通信连接接收所述耳机发送的佩戴模式信号。
其中,所述佩戴模式信号用于指示耳机戴反。
902、所述终端对所述佩戴模式信号进行解析,得到解析结果。
其中,所述解析结果表示所述耳机戴反。
903、所述终端根据所述解析结果生成用于提示是否切换声道的提示信息。
904、所述终端输出所述提示信息。
其中,所述终端可以是在所述终端的显示屏上输出文字提示,也可以是通过耳机输出语音提示,还可以在与之绑定的穿戴设备的显示屏上输出文字提示,本发明实施例不做限定。
905、所述终端接收用户根据所述提示信息选择的声道控制指令。
906,如果所述声道控制指令用于指示进行声道切换,所述终端根据解析结果将播放的音频信号切换声道输出。
907、如果所述声道控制指令用于指示保持当前声道输出,所述终端不做任何操作。
可见,在图9所示的方法中,终端在接收到耳机戴反的佩戴模式信号之后,可以提示用户,从而通过用户来确定是自动切换声道还是手动切换,增加了声 道切换的灵活性。
基于图1所示的场景,本发明实施例公开了一种终端。请参阅图10,图10是本发明实施例公开的一种终端的结构示意图。本发明实施例提供的终端可以用于实施上述图7-图9所示的本发明各实施例实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分。
该终端可以为手机、平板电脑、笔记本电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、PDA(Personal Digital Assistant,个人数字助理)等终端设备,本发明实施例以终端为手机为例进行说明,图10示出的是与本发明各实施例相关的手机1000的部分结构的框图。
如图10所示,手机1000包括:RF(radio frequency,射频)电路1001、存储器1002、输入单元1003、显示单元1004、重力传感器1005、音频电路1006、处理器1007、电源1008以及客户识别模块(Subscriber Identity Module,SIM)卡卡槽1009等部件。本领域技术人员可以理解,图10中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图10对手机1000的各个构成部件进行具体的介绍:
RF电路1001可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1007处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路1001还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯***)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器1002可用于存储软件程序以及模块,处理器1007通过运行存储在存储器1002的软件程序以及模块,从而执行手机1000的各种功能应用以及数据处理。存储器1002可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机1000的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器1002可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1003可用于接收输入的数字或字符信息,以及产生与手机1000的用户设置以及功能控制有关的键信号输入。具体地,输入单元340可包括触摸面板10031以及其他输入设备10032。触摸面板10031,也称为触控屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸面板10031上或在触摸面板10031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸面板10031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1007,并能接收处理器380发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸面板10031。除了触摸面板10031,输入单元1003还可以包括其他输入设备10032。具体地,其他输入设备10032可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元1004可用于显示由用户输入的信息或提供给用户的信息以及手机1000的各种菜单。显示单元1004可包括显示面板10041,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板10041。进一步的,触摸面板10031可覆盖显示面板10041,当触摸面板10031检测到在其上或附近的触摸操作后,传送给处理器1007以确定触摸事件的类型,随后处理器1007根据触摸事件的类型在显示面板10041上提供相应的视觉输出。虽然在图10中,触 摸面板10031与显示面板10041是作为两个独立的部件来实现手机1000的输入和输入功能,但是在某些实施例中,可以将触摸面板10031与显示面板10041集成而实现手机1000的输入和输出功能。
重力传感器(Gravity Sensor)1005,可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机的放置方式的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。
手机1000还可以包括其它传感器,比如光传感器。具体地,光传感器可包括环境光传感器及接近光传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面板10041的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机1000移动到耳边时,关闭显示面板10041和/或背光。手机300还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1006、扬声器10061、麦克风10062可提供用户与手机1000之间的音频接口。音频电路1006可将接收到的音频数据转换后的电信号,传输到扬声器10061,由扬声器10061转换为声音信号输出;另一方面,麦克风10062将收集的声音信号转换为电信号,由音频电路1006接收后转换为音频数据,再将音频数据输出至RF电路1001以发送给比如另一手机,或者将音频数据输出至存储器1002以便进一步处理。
处理器1007是手机1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1001内的软件程序和/或模块,以及调用存储在存储器1002内的数据,执行手机1000的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1007可包括一个或多个处理单元;优选的,处理器1007可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1007中。
手机1000还包括给各个部件供电的电源1008(比如电池),优选的,电源可以通过电源管理***与处理器1007逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
手机1000还可以包括用于放置SIM卡的SIM卡卡槽,用户即可以通过手机拨打或接听电话。
尽管未示出,手机1000还可以包括Wi-Fi(Wireless Fidelity,无线保真)模块、蓝牙模块等,在此不再赘述。
本发明实施例中,RF电路还可以通过与耳机建立的通信连接接收耳机发送的佩戴模式信号;处理器还可以对该佩戴模式信号进行解析,并根据解析结果对播放的音频信号切换声道输出。
本发明实施例中,在处理器1007接收到将佩戴模式信号解析得到耳机戴反的解析结果后,可以控制显示单元1004显示耳机戴反,是否需要切换声道的提示信息给用户。用户可以在输入单元1003输入选择是否需要切换声道的声道控制指令以指示处理器1007是否需要进行声道切换处理。
本发明实施例中,蓝牙模块还可以通过与耳机建立的蓝牙连接向耳机发送语音提示,以提示用户是否需要切换声道。
基于图1所示的场景,本发明实施例公开了一种终端。请参阅图11,图11是本发明实施例公开的一种终端的结构示意图。其中,图11所描述的终端1100预先与耳机建立有通信连接。如图10所示,所述终端1100可以包括通信模块1101、解析模块1102以及控制模块1103,其中:
通信模块1101可以通过与所述耳机建立的通信连接接收所述耳机发送的佩戴模式信号,其中,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确。
解析模块1102可以对所述通信模块接收到的所述佩戴模式信号进行解析,得到解析结果。
控制模块1103可以根据所述解析模块得到的解析结果控制所述终端1100播放的音频信号的声道输出。
在一种实施方式中,所述终端1100还可以包括:
检测模块1104可以在解析模块1102对佩戴模式信号进行解析得到解析结果,且所述解析结果为耳机戴反时,检测前台运行的应用程序是否为具有音频输出功能的应用程序,如果检测模块1104检测到前台运行的应用程序为具有 音频输出功能的应用程序,那么就会触发控制模块1103根据解析结果将终端1100播放的音频信号切换声道输出。
耳机戴反,且前台运行的应用程序为指定应用程序才对耳机声道进行切换,这样可以避免在不用切换声道的场景下切换声道,提高声道切换的精确性。
在另一种实施方式中,所述终端1100还可以包括生成模块1105、输出模块1106以及输入模块1107,其中:
生成模块1105可以根据所述解析模块1102得到的解析结果生成用于提示是否切换声道的提示信息。
输出模块1106可以输出所述生成模块1105生成的提示信息。
其中,所述提示信息可以为语音提示,也可以为文字提示,本发明实施例不做限定。
输入模块1107可以在输出模块1106输出提示信息之后,接收用户根据所述提示信息输入的声道控制指令。其中,所述声道控制指令可以用于指示进行声道切换,也可以用于指示保持当前声道输出。
那么,控制模块1103就可以在输入模块1107接收到用于进行声道切换的声道控制指令,且解析结果为耳机戴反时,将所述终端1100播放的音频信号切换声道输出。
此外,生成声道控制指令的具体方式可以为:
检测模块1104检测在输出模块1106输出所述提示信息后的预设时间段内所述终端1100的放置方式是否发生变化。如果所述终端1100的放置方式发生变化,生成模块1105生成用于指示进行声道切换的声道控制指令;如果所述终端1100的放置方式未发生变化,生成模块1105生成用于指示保持当前声道输出的声道控制指令。那么控制模块1103根据生成模块1105生成的声道控制指令控制播放的音频信号的声道输出。其中,所述放置方式可以包括正面朝上,侧面放置,正面朝下等。
在耳机戴反时,用户可以通过改变终端1100的放置方式来进行声道切换,在提高声道切换效率的同时又提高了用户的参与度,增加趣味性。
本发明实施例中,通信模块1101还可以接收与所述终端1100绑定的穿戴设备发送的声道控制指令。
在输出模块1106输出所述提示信息后的预设时间段内通信模块1101是否接收到所述穿戴设备发送的声道控制指令。如果通信模块1101未接收到所述穿戴设备发送的声道控制指令,生成模块1105针对所述提示信息生成声道控制指令;如果通信模块1101接收到所述穿戴设备发送的声道控制指令,且所述声道控制指令用于指示进行声道切换,控制模块1103会将所述终端1100播放的音频信号切换声道输出。
在耳机戴反时,用户可以通过穿戴设备来对耳机进行声道切换,并在长时间未收到穿戴设备的声道控制指令时自动控制声道输出,不仅可以提高耳机声道控制效率,还可以增加用户操作的趣味性和便捷性。
需要说明的是,一方面,通信模块1101的功能可以集成到通信接口,通信接口可以包括接收器和发送器,解析模块1102、处理模块1103、检测模块1104以及生成模块1105的功能可以集成到处理器,输出模块1106可以集成到输出设备,输入模块1107可以集成到输入设备;另一方面,输入设备可以包括接收器,输出设备可以包括发送器,本发明实施例不做限定。
可见,在图11所所示的终端中,耳机在检测到所述耳机的佩戴模式,以用户将耳机戴反为例,耳机会通过预先建立的通信连接向终端发送指示耳机戴反的佩戴模式信号,终端在接收到所述佩戴模式信号并解析得到解析结果后,可以将播放的音频信号切换声道输出,从而实现对耳机声道的切换。通过这种方式,耳机可以检测是否戴反,而在耳机戴反时由终端自动切换声道,这样可以避免用户通过交换耳机左右听筒来切换声道,从而提高了耳机声道的切换效率。进一步的,终端在接收到耳机戴反的佩戴模式信号之后,可以提示用户,从而通过用户来确定是自动切换声道还是手动切换声道,增加了耳机声道切换的灵活性。
基于图1所示的场景,本发明实施例公开了又一种耳机声道控制方法。请参阅图12,图12是本发明实施例公开的又一种耳机声道控制方法的流程示意图。其中,图12所示的方法可以应用于耳机,所述耳机预先于终端建立通信连接。如图12所示,所述方法可以包括以下步骤:
1201、耳机检测所述耳机的佩戴模式。
1202、所述耳机根据所述耳机的佩戴模式生成佩戴模式信号。
其中,如果检测结果为耳机处于耳机戴反模式,那么所述佩戴模式信号用于指示耳机戴反;如果检测结果为耳机处于耳机佩戴正确模式,那么所述佩戴模式信号用于指示耳机佩戴正确。
1203、所述耳机通过与终端建立的通信连接将所述佩戴模式信号发送给所述终端。
可见,在图12所示的方法中,耳机可以确定耳机的佩戴模式,并生成佩戴模式信号,从而告知给终端耳机的佩戴状态,以便于终端可以根据佩戴模式信号控制播放的音频信号的声道输出。也即是说,也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
基于图1所示的场景,本发明实施例公开了一种耳机。请参阅图13,图13是本发明实施例公开的一种耳机的结构示意图。其中,图13所示的耳机1300预先与终端建立通信连接。如图13所示,所述耳机1300可以包括确定模块1301、生成模块1302以及通信模块1303,其中:
确定模块1301可以确定耳机1300的佩戴模式,其中所述佩戴模式可以包括耳机戴反模式和耳机佩戴正确模式。
生成模块1302可以根据确定模块1301的确定结果生成佩戴模式信号。
其中,如果确定结果为耳机处于耳机戴反模式,那么所述佩戴模式信号用于指示耳机戴反;如果确定结果为耳机处于耳机佩戴正确模式,那么所述佩戴模式信号用于指示耳机佩戴正确。
通信模块1303可以通过与所述终端建立的通信连接将所述佩戴模式信号发送给所述终端。
具体实现中,所述耳机1300还可以包括检测模块1304和判断模块1305,其中:
确定模块1301可以确定耳机1300是否处于佩戴状态。在确定模块1301 确定出耳机1300处于佩戴状态时,检测模块1304可以检测所述耳机1300与障碍物的距离,并将所述距离发送给判断模块1305,判断,模块1305可以判断所述距离是否在预设距离阈值内。如果所述距离不在所述预设距离阈值内,确定模块1301确定耳机1300的佩戴模式为耳机戴反模式;如果所述距离在所述预设距离阈值内,确定模块1301确定耳机1300的佩戴模式为耳机佩戴正模式。
可见,在图13所示的耳机中,耳机可以确定耳机的佩戴模式,并生成佩戴模式信号,从而告知给终端所述耳机的佩戴模式,以便于终端可以根据佩戴模式信号控制播放的音频信号的声道输出。也即是说,终端可以在耳机戴反时自动控制耳机左右听筒的声道输出,而避免了用户调换耳机听筒佩戴位置,从而可以提高耳机声道切换效率。
请参阅图14,图14是本发明实施例公开的一种耳机声道控制***的结构示意图。如图14所示,图14所示的***可以包括终端1401和耳机1402,所述终端1401与所述耳机1402之间预先建立通信连接,其中:
耳机1402,用于确定耳机1402的佩戴模式,并根据所述耳机1402的佩戴模式生成佩戴模式信号,从而通过所述通信连接将所述佩戴模式信号发送给终端1401。其中,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式,所述佩戴模式信号可以用于指示耳机1402戴反,也可以用于指示耳机1402佩戴正确。
终端1401在通过所述通信连接接收到耳机1402发送的佩戴模式信号后,会对所述佩戴模式信号进行解析,得到解析结果,并根据解析结果控制终端1401播放的音频信号的声道输出。
可见,在图14所示的***中,耳机可以检测所述耳机的佩戴模式,并生成佩戴模式信号,从而将所述信号发送给终端,那么所述终端在对佩戴模式信号进行解析得到解析结果后,就可以根据解析结果,即耳机的佩戴模式(戴反或佩戴正确)来控制所述终端播放的音频信号的声道输出。通过这种方式,耳机可以检测是否戴反,而在耳机戴反时由终端自动切换声道,这样可以避免用户通过交换耳机左右听筒来切换声道,从而提高了耳机声道的切换效率。
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个 实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本发明实施例终端以及耳机中的模块可以根据实际需要进行合并、划分和删减。
本发明实施例中所述模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,所述程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM或RAM等。
以上对本发明实施例公开的一种耳机声道控制方法、相关设备及***进行了详细介绍,本文中应用了具体实例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (27)

  1. 一种耳机声道控制方法,应用于终端,所述终端与耳机建立通信连接,其特征在于,所述方法包括:
    所述终端通过所述通信连接接收所述耳机发送的佩戴模式信号,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  2. 根据权利要求1所述的方法,其特征在于,所述终端通过所述通信连接接收所述耳机发送的佩戴模式信号,包括:
    在所述通信连接为有线连接时,所述有线连接包括所述耳机与所述终端的音频输入通道,所述终端通过所述音频输入通道接收所述耳机发送的佩戴模式信号,所述佩戴模式信号为载波信号。
  3. 根据权利要求1或2所述的方法,其特征在于,所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出具体包括:
    所述终端对所述佩戴模式信号进行解析,得到解析结果;
    所述终端根据所述解析结果控制所述终端播放的音频信号的声道输出。
  4. 根据权利要求1~3任一项所述的方法,其特征在于,在所述佩戴模式信号用于指示所述耳机戴反时,所述佩戴模式信号由所述耳机在确定所述耳机与障碍物的距离不在预设距离阈值内时,通过所述通信连接发送给所述终端。
  5. 根据权利要求1所述的方法,其特征在于,所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出之前,所述方法还包括:
    所述终端根据所述佩戴模式信号生成用于提示是否切换声道的提示信息;
    所述终端输出所述提示信息;
    所述终端接收用户根据所述提示信息选择的声道控制指令,所述声道控制指令用于指示进行声道切换或者保持当前声道输出;
    所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出,包括:
    在所述声道控制指令用于指示进行声道切换时,所述终端根据所述佩戴模式信号将所述终端播放的音频信号切换声道输出。
  6. 一种耳机声道控制方法,应用于耳机,所述耳机与终端建立通信连接,其特征在于,所述方法包括:
    所述耳机确定所述耳机的佩戴模式,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式;
    所述耳机根据所述耳机的佩戴模式生成佩戴模式信号,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    所述耳机通过所述通信连接将所述佩戴模式信号发送给所述终端,以便于所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  7. 根据权利要求6所述的方法,其特征在于,所述耳机确定所述耳机的佩戴模式,包括:
    所述耳机检测所述耳机与障碍物的距离,并判断所述距离是否在预设距离阈值内;
    在所述距离不在所述预设距离阈值内时,所述耳机确定所述耳机的佩戴模式为所述耳机戴反模式;
    在所述距离在所述预设距离阈值内时,所述耳机确定所述耳机的佩戴模式为所述耳机佩戴正确模式。
  8. 根据权利要求6或7所述的方法,其特征在于,所述耳机通过所述通信连接将所述佩戴模式信号发送给所述终端,包括:
    在所述通信连接为有线连接时,所述有线连接包括所述耳机与所述终端的音频输入通道,所述耳机通过所述音频输入通道将所述佩戴模式信号发送给所述终端,所述佩戴模式信号为载波信号。
  9. 一种终端,所述终端与耳机建立通信连接,其特征在于,所述终端包括:
    通信模块,用于通过所述通信连接接收所述耳机发送的佩戴模式信号,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    控制模块,用于根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  10. 根据权利要求9所述的终端,其特征在于,所述通信模块通过所述通 信连接接收所述耳机发送的佩戴模式信号的具体方式为:
    在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道时,通过所述音频输入通道接收所述耳机发送的佩戴模式信号,所述佩戴模式信号为载波信号。
  11. 根据权利要求9或10所述的终端,其特征在于,所述终端还包括:
    解析模块,用于对所述佩戴模式信号进行解析,得到解析结果,并将所述解析结果发送给所述控制模块;
    所述控制模块根据所述解析结果控制所述终端播放的音频信号的声道输出。
  12. 根据权利要求11所述的终端,其特征在于,所述终端还包括:
    生成模块,用于根据所述解析结果生成用于提示是否切换声道的提示信息;
    输出模块,用于输出所述提示信息;
    输入模块,用于接收用户根据所述提示信息输入的声道控制指令,所述声道控制指令用于指示进行声道切换或者保持当前声道输出;
    所述控制模块在所述声道控制指令用于指示进行声道切换时,根据所述声道控制指令将所述终端播放的音频信号切换声道输出。
  13. 一种终端,所述终端与耳机建立通信连接,其特征在于,所述终端包括:
    通信接口,用于通过所述通信连接接收所述耳机发送的佩戴模式信号,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    处理器,用于根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  14. 根据权利要求13所述的终端,其特征在于,所述通信接口通过所述通信连接接收所述耳机发送的佩戴模式信号的具体方式为:
    在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道时,通过所述音频输入通道接收所述耳机发送的佩戴模式信号,所述佩戴模式信号为载波信号。
  15. 根据权利要求13或14所述的终端,其特征在于,所述终端还包括:
    麦克风芯片,用于对所述佩戴模式信号进行解析,得到解析结果,并将所 述解析结果发送给所述处理器;
    所述处理器根据所述解析结果控制所述终端播放的音频信号的声道输出。
  16. 根据权利要求15所述的终端,其特征在于,
    所述处理器,还用于根据所述解析结果生成用于提示是否切换声道的提示信息;
    所述终端还包括:
    输出设备,用于输出所述提示信息;
    输入设备,用于接收用户根据所述提示信息输入的声道控制指令,所述声道控制指令用于指示进行声道切换或者保持当前声道输出;
    所述处理器在所述声道控制指令用于指示进行声道切换时,根据所述声道控制指令控制所述终端播放的音频信号切换声道输出。
  17. 一种耳机,所述耳机与终端建立通信连接,其特征在于,所述耳机包括:
    确定模块,用于确定所述耳机的佩戴模式,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式;
    生成模块,用于根据所述确定模块的确定结果生成佩戴模式信号,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    通信模块,用于通过所述通信连接将所述佩戴模式信号发送给所述终端,以便于所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  18. 根据权利要求17所述的耳机,其特征在于,所述耳机还包括检测模块和判断模块,其中:
    所述检测模块,用于检测所述耳机与障碍物的距离,并将所述距离发送给所述判断模块;
    所述判断模块,用于判断所述距离是否在预设距离阈值内;
    所述确定模块在所述距离不在所述预设距离阈值内时,确定所述耳机的佩戴模式为所述耳机戴反模式;在所述距离在所述预设距离阈值内时,确定所述耳机的佩戴模式为所述耳机佩戴正确模式。
  19. 根据权利要求17或18所述的耳机,其特征在于,所述通信模块通过所述通信连接将所述佩戴模式信号发送给所述终端的具体方式为:
    在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道时,通过所述音频输入通道将所述佩戴模式信号发送给所述终端,所述佩戴模式信号为载波信号。
  20. 一种耳机,所述耳机与终端建立通信连接,其特征在于,所述耳机包括:
    处理器,用于确定所述耳机的佩戴模式,并根据所述耳机的佩戴模式生成佩戴模式信号,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    通信接口,用于通过所述通信连接将所述佩戴模式信号发送给所述终端,以便于所述终端根据所述佩戴模式信号控制将所述终端播放的音频信号的声道输出。
  21. 根据权利要求20所述的耳机,其特征在于,所述耳机还包括:
    距离传感器,用于检测所述耳机到障碍物的距离,并将所述距离发送给所述处理器;
    所述处理器判断所述距离是否在指定距离范围内,如果在所述距离不在所述指定距离范围内,确定所述耳机的佩戴模式为所述耳机戴反模式,如果所述距离在所述指定距离范围内,确定所述耳机的佩戴模式为所述耳机佩戴正确模式。
  22. 根据权利要求20或21所述的耳机,其特征在于,所述通信接口通过所述通信连接将所述佩戴模式信号发送给所述终端的具体方式为:
    在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道时,通过所述音频输入通道将所述佩戴模式信号发送给所述终端,所述佩戴模式信号为载波信号。
  23. 一种耳机声道控制方法,应用于耳机声道控制***,其特征在于,所述***包括终端和与所述终端建立通信连接的耳机,所述方法包括:
    所述耳机确定所述耳机的佩戴模式,所述佩戴模式包括耳机戴反模式和耳 机佩戴正确模式;
    所述耳机根据所述耳机的佩戴模式生成佩戴模式信号,并通过所述通信连接将所述佩戴模式信号发送给所述终端,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    所述终端接收所述佩戴模式信号,并根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  24. 根据权利要求23所述的方法,其特征在于,所述耳机通过所述通信连接将所述佩戴模式信号发送给所述终端,包括:
    在所述通信连接为有线连接时,所述有线连接包括所述耳机与所述终端的音频输入通道,所述耳机通过所述音频输入通道将所述佩戴模式信号发送给所述终端,所述佩戴模式信号为载波信号。
  25. 根据权利要求23或24所述的方法,其特征在于,所述终端根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出具体包括:
    所述终端对所述佩戴模式信号进行解析,得到解析结果;
    所述终端根据所述解析结果控制所述终端播放的音频信号的声道输出。
  26. 一种耳机声道控制***,其特征在于,所述***包括终端和与所述终端建立通信连接的耳机,其中:
    所述耳机,用于确定所述耳机的佩戴模式,根据所述耳机的佩戴模式生成佩戴模式信号,并通过所述通信连接将所述佩戴模式信号发送给所述终端,所述佩戴模式包括耳机戴反模式和耳机佩戴正确模式,所述佩戴模式信号用于指示所述耳机戴反或者所述耳机佩戴正确;
    所述终端,用于接收所述佩戴模式信号,并根据所述佩戴模式信号控制所述终端播放的音频信号的声道输出。
  27. 根据权利要求26所述的***,其特征在于,所述耳机通过所述通信连接将所述佩戴模式信号发送给所述终端的具体方式为:
    在所述通信连接为有线连接,所述有线连接包括所述耳机与所述终端的音频输入通道时,通过所述音频输入通道将所述佩戴模式信号发送给所述终端,所述佩戴模式信号为载波信号。
PCT/CN2016/079736 2016-04-20 2016-04-20 一种耳机声道控制方法、相关设备及*** WO2017181365A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201680084443.0A CN108886653B (zh) 2016-04-20 2016-04-20 一种耳机声道控制方法、相关设备及***
PCT/CN2016/079736 WO2017181365A1 (zh) 2016-04-20 2016-04-20 一种耳机声道控制方法、相关设备及***
US16/095,547 US10805708B2 (en) 2016-04-20 2016-04-20 Headset sound channel control method and system, and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/079736 WO2017181365A1 (zh) 2016-04-20 2016-04-20 一种耳机声道控制方法、相关设备及***

Publications (1)

Publication Number Publication Date
WO2017181365A1 true WO2017181365A1 (zh) 2017-10-26

Family

ID=60115531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079736 WO2017181365A1 (zh) 2016-04-20 2016-04-20 一种耳机声道控制方法、相关设备及***

Country Status (3)

Country Link
US (1) US10805708B2 (zh)
CN (1) CN108886653B (zh)
WO (1) WO2017181365A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209372A (zh) * 2019-05-28 2019-09-06 闻泰科技(无锡)有限公司 耳机连接***及方法
CN112218196A (zh) * 2019-07-10 2021-01-12 Oppo广东移动通信有限公司 耳机及耳机控制方法
WO2021015761A1 (en) * 2019-07-24 2021-01-28 Hewlett-Packard Development Company L.P. Audio headset position detection
CN112752198B (zh) * 2019-10-31 2022-12-20 深圳市冠旭电子股份有限公司 控制耳机播放立体声的方法、装置、终端及存储介质
CN113411702B (zh) * 2020-03-16 2024-05-14 维沃移动通信有限公司 一种声道配置方法及电子设备
CN111629296B (zh) * 2020-05-26 2022-07-01 维沃移动通信有限公司 一种耳机
CN111766548B (zh) * 2020-05-29 2023-03-24 维沃移动通信有限公司 信息提示方法、装置、电子设备及可读存储介质
CN112616106B (zh) * 2020-11-24 2022-11-18 广东思派康电子科技有限公司 耳机通话音频自动切换方法、计算机可读存储介质、电子***
CN112509608B (zh) * 2020-11-25 2022-03-08 广州朗国电子科技股份有限公司 一种usb设备随通道录音的方法、装置及存储介质
US11303998B1 (en) * 2021-02-09 2022-04-12 Cisco Technology, Inc. Wearing position detection of boomless headset
CN113840205A (zh) * 2021-09-26 2021-12-24 东莞市猎声电子科技有限公司 一种具有对话提醒功能的耳机及实现方法
CN113950037B (zh) * 2021-12-10 2022-05-06 荣耀终端有限公司 一种音频播放方法及终端设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026082A (zh) * 2009-09-21 2011-04-20 联想(北京)有限公司 用于发声装置的声道自适应方法和装置
US20140079238A1 (en) * 2012-09-20 2014-03-20 International Business Machines Corporation Automated left-right headphone earpiece identifier
CN104080028A (zh) * 2013-03-25 2014-10-01 联想(北京)有限公司 一种识别方法、电子设备及耳机
CN105101016A (zh) * 2015-08-07 2015-11-25 深圳市金立通信设备有限公司 一种耳机声道切换方法及终端

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3796776B2 (ja) * 1995-09-28 2006-07-12 ソニー株式会社 映像音声再生装置
JP4737496B2 (ja) * 2004-07-06 2011-08-03 ソニー株式会社 再生システム、再生装置および方法、記録媒体、並びにプログラム
WO2006080517A1 (ja) * 2005-01-31 2006-08-03 Akita Electronics Systems Co. Ltd. 骨導スピーカセット、電子機器、電子翻訳システム、聴覚支援システム、ナビゲーション装置、携帯電話機
JP2009152666A (ja) * 2007-12-18 2009-07-09 Toshiba Corp 音響出力制御装置、音響再生装置および音響出力制御方法
US20090245549A1 (en) * 2008-03-26 2009-10-01 Microsoft Corporation Identification of earbuds used with personal media players
DE202008016442U1 (de) * 2008-12-15 2009-04-02 Sennheiser Electronic Gmbh & Co. Kg Headset
CN201349247Y (zh) 2008-12-22 2009-11-18 宇龙计算机通信科技(深圳)有限公司 耳机接口电路及移动终端
EP2288178B1 (en) 2009-08-17 2012-06-06 Nxp B.V. A device for and a method of processing audio data
WO2011044897A1 (en) * 2009-10-16 2011-04-21 Gn Netcom A/S Headset with turnable ear hook with two off positions
CN202103814U (zh) * 2010-11-29 2012-01-04 上海华勤通讯技术有限公司 感知用户佩戴状态的耳机
US9681219B2 (en) * 2013-03-07 2017-06-13 Nokia Technologies Oy Orientation free handsfree device
CN103929698A (zh) 2014-04-02 2014-07-16 北京智谷睿拓技术服务有限公司 声道配置方法、装置及耳机设备
CN104125522A (zh) * 2014-07-18 2014-10-29 北京智谷睿拓技术服务有限公司 声道配置方法、装置及用户设备
CN104202697B (zh) * 2014-09-18 2017-01-18 苏州大学 一种自适应左右声道自动切换立体声耳机
CN104469624B (zh) 2014-12-16 2017-06-30 广东欧珀移动通信有限公司 耳机声道切换方法、***、电子设备以及耳机
US10587943B2 (en) * 2016-07-09 2020-03-10 Bragi GmbH Earpiece with wirelessly recharging battery
TWI754687B (zh) * 2016-10-24 2022-02-11 美商艾孚諾亞公司 用於耳機離耳偵測的信號處理器及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026082A (zh) * 2009-09-21 2011-04-20 联想(北京)有限公司 用于发声装置的声道自适应方法和装置
US20140079238A1 (en) * 2012-09-20 2014-03-20 International Business Machines Corporation Automated left-right headphone earpiece identifier
CN104080028A (zh) * 2013-03-25 2014-10-01 联想(北京)有限公司 一种识别方法、电子设备及耳机
CN105101016A (zh) * 2015-08-07 2015-11-25 深圳市金立通信设备有限公司 一种耳机声道切换方法及终端

Also Published As

Publication number Publication date
US20190132666A1 (en) 2019-05-02
CN108886653B (zh) 2020-07-28
US10805708B2 (en) 2020-10-13
CN108886653A (zh) 2018-11-23

Similar Documents

Publication Publication Date Title
WO2017181365A1 (zh) 一种耳机声道控制方法、相关设备及***
US10649720B2 (en) Sound effect configuration method and system and related device
CN111698672B (zh) 无线耳机的音频同步方法及无线耳机
WO2018054356A1 (zh) 一种信息的显示方法以及终端
WO2017215649A1 (zh) 音效调节方法及用户终端
WO2018045536A1 (zh) 声音信号处理的方法、终端和耳机
CN108391205B (zh) 左右声道切换方法和装置、可读存储介质、终端
CN108243481B (zh) 文件传输方法及装置
US10628119B2 (en) Sound effect processing method and mobile terminal
CN109067965B (zh) 翻译方法、翻译装置、可穿戴装置及存储介质
CN106506437B (zh) 一种音频数据处理方法,及设备
WO2017215661A1 (zh) 一种场景音效的控制方法、及电子设备
CN109379490B (zh) 音频播放方法、装置、电子设备及计算机可读介质
CN106878915B (zh) 播放设备的控制方法、装置及播放设备和移动终端
WO2020007173A1 (zh) 通信连接建立方法及相关设备
CN105704110B (zh) 一种媒体传输方法、媒体控制方法及装置
WO2021238844A1 (zh) 音频输出方法及电子设备
WO2020007174A1 (zh) 通信连接建立方法及相关设备
CN108834013B (zh) 一种可穿戴设备电量均衡方法及相关产品
CN108683980B (zh) 一种音频信号的传输方法及移动终端
CN106126170B (zh) 一种终端的音效设置方法及终端
WO2020007172A1 (zh) 通信连接建立方法及相关设备
CN108882084B (zh) 一种可穿戴设备电量均衡方法及相关产品
WO2020259295A1 (zh) 移动终端及控制方法
CN108989545A (zh) 移动终端的控制方法、装置、移动终端及计算机可读介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16898952

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16898952

Country of ref document: EP

Kind code of ref document: A1