CN108496374B - Earphone working mode switching method and device, audio circuit, earphone and earphone system - Google Patents

Earphone working mode switching method and device, audio circuit, earphone and earphone system Download PDF

Info

Publication number
CN108496374B
CN108496374B CN201880000279.XA CN201880000279A CN108496374B CN 108496374 B CN108496374 B CN 108496374B CN 201880000279 A CN201880000279 A CN 201880000279A CN 108496374 B CN108496374 B CN 108496374B
Authority
CN
China
Prior art keywords
earphone
working mode
motion state
mode
relative motion
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201880000279.XA
Other languages
Chinese (zh)
Other versions
CN108496374A (en
Inventor
谢冠宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanmo acoustics Co.,Ltd.
Original Assignee
1More Inc
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 1More Inc filed Critical 1More Inc
Publication of CN108496374A publication Critical patent/CN108496374A/en
Application granted granted Critical
Publication of CN108496374B publication Critical patent/CN108496374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
    • H04R2460/01Hearing devices using active noise cancellation

Abstract

The invention relates to the technical field of earphones, in particular to an earphone working mode switching method and device, an audio circuit, an earphone and an earphone system. The earphone working mode switching method comprises the following steps: determining a current working mode of the first earphone and/or the second earphone; acquiring a relative motion state between the first earphone and the second earphone; and controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state. Therefore, the user can flexibly and quickly switch the working mode of the earphone without the participation of keys, thereby improving the experience of the user. In addition, it can also reduce the design cost and difficulty caused by designing the key.

Description

Earphone working mode switching method and device, audio circuit, earphone and earphone system
Technical Field
The invention relates to the technical field of earphones, in particular to an earphone working mode switching method and device, an audio circuit, an earphone and an earphone system.
Background
Generally, existing earphones on the market are provided with keys, and a user can change the current working mode of the earphone by operating the keys, for example, turning on/off the earphone, increasing/decreasing the volume, and the like.
In the process of implementing the invention, the inventor finds that the traditional technology has at least the following problems: 1. the user needs to open the die additionally to design the keys of the earphone, which causes design difficulty and overhigh design cost. 2. The user needs to manually operate the keys to switch the working mode of the earphone, and the process is relatively complicated and poor in flexibility.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a method and an apparatus for switching an operating mode of an earphone, an audio circuit, an earphone and an earphone system, which are capable of flexibly and quickly switching an operating mode of an earphone.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for switching an operating mode of an earphone, including:
determining a current working mode of the first earphone and/or the second earphone;
acquiring a relative motion state between the first earphone and the second earphone;
and controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state.
Optionally, the first earpiece is in wireless communication with the second earpiece.
Optionally, the relative motion state comprises a first relative motion state and a second relative motion state;
the controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state comprises:
judging whether the first relative motion state meets a first preset trigger condition or not;
if not, returning to the current working mode;
and if so, controlling the switching of the current working mode of the first earphone and/or the second earphone according to the second relative motion state.
Optionally, the controlling, according to the second relative motion state, switching of a current operation mode of the first earphone and/or the second earphone includes:
judging whether the second relative motion state meets a second preset trigger condition or not;
if not, returning to the current working mode;
if yes, determining a target working mode, and switching the first earphone and/or the second earphone to work in the target working mode.
Optionally, the determining the target operation mode includes:
presetting a first relative motion state meeting the first preset trigger condition as a first event and presetting a second relative motion state meeting the second preset trigger condition as a second event;
taking the first event and the second event as a combined event;
counting the occurrence frequency of the combined event within a preset time;
and determining a target working mode according to the occurrence frequency of the combined event.
Optionally, the determining a target operating mode according to the occurrence number of the combined event includes:
judging whether the occurrence frequency of the combined event is greater than a preset combined threshold value or not;
if so, determining a target working mode;
and if the current working mode is smaller than the preset working mode, returning to the current working mode.
Optionally, the relative motion state comprises a relative distance, a relative acceleration or a relative velocity.
Optionally, the relative distance, relative acceleration or relative speed is obtained by bluetooth, acceleration sensor, gravity sensor or infrared sensor detection.
Optionally, the operation mode includes a headset connection mode, a headset disconnection mode, a dual-headset simultaneous use mode, a single-headset use mode, or a simulated interphone use mode.
In a second aspect, an embodiment of the present invention provides an earphone operating mode switching apparatus, including:
the determining module is used for determining the current working mode of the first earphone and/or the second earphone;
the acquisition module is used for acquiring the relative motion state between the first earphone and the second earphone;
and the control module is used for controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state.
Optionally, the first earpiece is in wireless communication with the second earpiece.
Optionally, the relative motion state comprises a first relative motion state and a second relative motion state;
the control module includes:
the judging unit is used for judging whether the first relative motion state meets a first preset triggering condition or not;
the return unit is used for returning to the current working mode if the current working mode is not the same as the current working mode;
and the control unit is used for controlling the switching of the current working mode of the first earphone and/or the second earphone according to the second relative motion state if the current working mode is the second relative motion state.
Optionally, the control unit comprises:
the judging subunit is used for judging whether the second relative motion state meets a second preset triggering condition or not;
the return subunit is used for returning to the current working mode if the current working mode is not the same as the current working mode;
and the switching subunit is used for determining a target working mode and switching the first earphone and/or the second earphone to work in the target working mode if the target working mode is determined.
Optionally, the switching subunit includes:
the presetting subunit is used for presetting a first relative motion state meeting the first preset triggering condition as a first event and a second relative motion state meeting the second preset triggering condition as a second event;
a combination subunit, configured to take the first event and the second event as a combined event;
the counting subunit is used for counting the occurrence frequency of the combined event within a preset time;
and the determining subunit is used for determining the target working mode according to the occurrence frequency of the combined event.
Optionally, the determining subunit is specifically configured to:
judging whether the occurrence frequency of the combined event is greater than a preset combined threshold value or not;
if so, determining a target working mode;
and if the current working mode is smaller than the preset working mode, returning to the current working mode.
Optionally, the relative motion state comprises a relative distance, a relative acceleration or a relative velocity.
Optionally, the relative distance, relative acceleration or relative speed is obtained by bluetooth, acceleration sensor, gravity sensor or infrared sensor detection.
Optionally, the operation mode includes a headset connection mode, a headset disconnection mode, a dual-headset simultaneous use mode, a single-headset use mode, or a simulated interphone use mode.
In a third aspect, an embodiment of the present invention provides an audio circuit, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the headset operating mode switching methods.
In a fourth aspect, an embodiment of the present invention provides an earphone, including a housing and the audio circuit, where the audio circuit is housed in the housing.
In a fifth aspect, an embodiment of the present invention provides an earphone system, including at least two earphones, where the two earphones communicate with each other wirelessly.
In a sixth aspect, embodiments of the present invention provide a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by an audio circuit, cause the audio circuit to perform the above-mentioned headset operating mode switching method.
In a seventh aspect, the present invention also provides a non-transitory computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions for causing an audio circuit to execute the method for switching the working mode of a headset as described above.
In the method and apparatus for switching operating modes of an earphone, the audio circuit, the earphone and the earphone system according to various embodiments of the present invention, first, a current operating mode of a first earphone and/or a second earphone is determined. Secondly, the relative motion state of the first earphone relative to the second earphone is obtained. And finally, controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state. Therefore, the user can flexibly and quickly switch the working mode of the earphone without the participation of keys, thereby improving the experience of the user. In addition, it can also reduce the design cost and difficulty caused by designing the key.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a diagram of an embodiment of the present invention to provide a noise reduction system for headphones;
FIG. 2 is a diagram of another headphone noise reduction system provided by an embodiment of the present invention;
fig. 3 is a schematic block diagram of a circuit of an earphone according to an embodiment of the present invention;
FIG. 3a is a schematic block circuit diagram of the control module of FIG. 3;
FIG. 3b is a schematic block circuit diagram of the noise reduction circuit of FIG. 3 a;
FIG. 3c is another circuit schematic block diagram of the noise reduction circuit of FIG. 3 a;
fig. 4 is a flowchart illustrating a method for switching operating modes of an earphone according to an embodiment of the present invention;
fig. 4a is a schematic view of a scene of a relative motion between a first earphone and a second earphone according to an embodiment of the present invention;
fig. 4b is a schematic diagram of a backward movement scene of the first earphone and the second earphone according to the embodiment of the present invention;
FIG. 4c is a schematic diagram of the relative distance between the first earphone and the second earphone moving at time t1 to t 5;
FIG. 5 is a schematic flow diagram of 43 in FIG. 4;
FIG. 6 is a schematic view of the flow diagram at 433 in FIG. 5;
FIG. 7 is a schematic flow diagram of 4333 of FIG. 6;
FIG. 8 is a schematic flow diagram of 43334 of FIG. 7;
fig. 9 is a schematic structural diagram of an earphone operating mode switching device according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of the structure of the control module of FIG. 9;
FIG. 11 is a schematic diagram of the structure of the control unit of FIG. 10;
fig. 12 is a schematic diagram of the structure of the switching subunit in fig. 11.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The earphone provided by the embodiment of the invention is constructed to be at least partially capable of being worn near or in one or two ears of a user, and although the structural shape of the earphone presents a variety of changes, the technical scheme provided by the embodiment of the invention can be applied to earphones with any structural shape, such as an in-ear earphone, a head-mounted earphone or an ear-hanging earphone and the like.
Although the name "earphone" is replaced by other names in other business or technical fields, for example, "earphone" is replaced by "speaker" or "hearing aid" or "speaker" or "sound box", the technical solution provided by the embodiments of the present invention can be applied to any audio circuit having similar or identical functions to that of "earphone".
Any user can easily think of the technical solution provided by the embodiment of the present invention to be used in any suitable working mode based on the technical solution disclosed by the embodiment of the present invention or according to the disclosed technical solution. For example, based on the technical solution provided by the embodiment of the present invention, it may switch the master earphone and the slave earphone to an earphone connection mode, an earphone disconnection mode, a dual-earphone simultaneous use mode, a single-earphone use mode, or an analog interphone use mode, etc.
Referring to fig. 1, fig. 1 is a diagram illustrating a noise reduction system for an earphone according to an embodiment of the present invention. As shown in fig. 1, the headphone noise reduction system 100 includes a first audio source device 12, a master headphone 14, and a slave headphone 16, the master headphone 14 being wirelessly connected with the slave headphone 12, and the master headphone 14 also being wirelessly connected with the first audio source device 12.
Reference herein to a "wireless connection" may be to any suitable wireless communication connection, such as bluetooth or the like. In this embodiment, the master earphone 14 is connected to the slave earphone 16 and the first audio source device 12, respectively, by bluetooth.
The first audio source device 12 (including the various audio source devices referred to below) may be any suitable device having the capability to provide audio content or play audio data and storage capability, such as a smart phone, tablet, MP3 player, personal computer, laptop, personal stereo, CD player, or other intelligent/non-intelligent terminal device. The first audio source device 12 is coupled to at least one storage medium for storing audio data, which may be a memory within the user terminal device or a storage medium on the internet, and retrieves audio files from the storage medium. Furthermore, the first audio source device 12 may also be a combination of one or more electronic devices, such as a smartphone and an analog-to-digital converter (DAC) connected thereto.
In some embodiments, the first audio source device 12 may make the connection with the master/ slave headphones 14, 16 through an internally integrated or external bluetooth module or chip. When two bluetooth enabled devices establish a connection, they acquire the protocol provided by the corresponding device. Only devices using the same protocol can exchange data. Wherein the first audio source device 12 supports A2DP and AVRCP protocol, and further supports the following audio coding: SBC (Sub Band Coding Sub-Band Coding), MP3, AAC (Advanced Audio Coding), Apt-X, and the like. The maximum encoding rate of 44.1kHz dual channels of the SBC encoding format is 328kbit/s, the encoding rate of the AAC encoding format can reach 320kbit/s, and the encoding rate of the Apt-X encoding format can reach 352 kbit/s.
In other embodiments, the first audio source device 12 may also be a local audio circuit, wherein the local audio circuit includes a USB interface device and an analog interface device (ADC/SPDIF/I2S). The local audio interface buffers the audio data in the internal RAM of the first audio source device 12 and encodes using SBC.
In bluetooth communications, a bluetooth enabled device need not implement the full bluetooth specification. In order to support compatibility between different bluetooth devices, some application layer protocols (profiles) are defined in the bluetooth specification, which define how a connection or application is implemented between bluetooth enabled devices.
Among them, A2DP (advanced Audio Distribution Profile, advanced bluetooth Audio transmission model protocol) belongs to a subset of the bluetooth protocol Profile. Protocol stack and method of use for transmitting high quality music file data, A2DP was specifically formulated for transmitting stereo audio using bluetooth.
AVRCP (Audio/Video Remote Control Profile, Audio/Video Remote Control Specification for providing a standard interface for controlling TV, Hi-Fi devices, etc. this Profile is used to permit a single Remote Control device (or other device) to Control all A/V devices that a user may access.
As shown in fig. 1, the master earpiece 14 is only capable of bluetooth connection with one first audio source device 12. Also, when the master earphone 14 is bluetooth connected to the slave earphone 16, the master earphone 14 receives and plays the audio signal transmitted by the first audio source device 12, and the master earphone 14 also forwards the audio signal to the slave earphone 16, which plays the audio signal from the slave earphone 16, thereby implementing a dual-body stereo. When the master earphone 14 is not bluetooth connected to the slave earphone 16, the master earphone 14 plays an audio signal, thereby implementing a single stereo.
In some embodiments, the slave earphone 16 may also detect the audio signal transmitted by the first audio source device 12 to the master earphone 14 and play the audio signal.
As described above, since the master earphone 14 and the slave earphone 16 are wirelessly connected, which greatly expands the degree of freedom of the master/slave earphone, the user can use the master/slave earphone more flexibly and realize a True Wireless Stereo (TWS) effect.
It is worth reminding that: the roles of the master earphone 14 and the slave earphone 16 are not fixed. The roles of the two may be reversed for different audio source devices. For example, referring to fig. 2, fig. 2 is a diagram illustrating another noise reduction system for a headphone according to an embodiment of the present invention. As shown in fig. 2, the headphone noise reduction system 100 also includes a second audio source device 18, the second audio source device 18 being bluetooth connected to the slave headphones 16.
For the first audio source device 12, the "master earphone 14" is the master earphone and the "slave earphone 16" is the slave earphone. For the second audio source device 18, the "slave earphone 16" is the master earphone and the "master earphone 14" is the slave earphone.
In the various embodiments described above, the headphone noise reduction system 100 may operate in the TWS mode of operation. In TWS mode of operation, a single headset may connect up to 1 audio source device, and 1 set of TWS sessions connect up to 2 audio source devices.
The embodiment of the invention further explains the TWS conversation:
1. and completing pairing. Prior to entering a TWS session, the first audio source device 12 is bluetooth paired with the master earphone 14 and the second audio source device 18 is bluetooth paired with the slave earphone 16.
2. A TWS session is established. The first audio source device 12 establishes a TWS session with the master earpiece 14 and the second audio source device 18 establishes a TWS session with the slave earpiece 16.
3. And playing the audio. After successful TWS session establishment, the master earpiece 14 receives the first audio signal and forwards the first audio signal to the slave earpiece 16 when the first audio source device 12 plays the audio signal. When the second audio source device 18 plays the second audio signal, the second audio signal is received from the headphones 16 and forwarded to the primary headphones 14.
Having set forth the TWS session procedure, those skilled in the art may complete the TWS session procedure described above through any suitable headset circuitry.
Referring to fig. 3, the earphone 300 includes an audio circuit and a housing, and the audio circuit is accommodated in the housing.
The audio circuit comprises a transducer 31, a wireless communication module 32, a control module 33, an audio decoding chip 34 and a loudspeaker 35, wherein the control module 33 is respectively connected with the transducer 31, the wireless communication module 32, the audio decoding chip 34 and the loudspeaker 35.
The transducer 31 is used to acquire an ambient noise signal or audio signal, which may be emitted by a user or other audio source device. The transducer 31 may be disposed at a suitable location outside the housing of the headset 300. The transducer 31 may be any suitable acousto-electric transducer device, such as a microphone.
The wireless communication module 32 is used for wireless connection with the audio source device or the master/slave headset, and the wireless communication module 32 receives an audio signal transmitted by the audio source device or the master/slave headset. The wireless communication module 32 may be a short-range communication technology such as Bluetooth (Bluetooth), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), or ZigBee.
The control module 33 serves as a control core of the headset 300, and the control module 33 cooperates with other devices to perform various functions of the headset 300. For example, the control module 33 receives the audio signal collected by the transducer 31 and transmits it to the audio source device through the wireless communication module 32. For another example, the wireless communication module 32 receives an audio signal transmitted by an audio source device, and sends the audio signal to the audio decoding chip 34 under the control of the control module 33, the audio decoding chip 34 performs decoding processing on the audio signal, and the control module 33 broadcasts the decoded audio signal through the speaker 35. For another example, the control module 33 receives the environmental noise signal collected by the transducer 31, and generates a noise cancellation signal with the same amplitude and opposite phase to the environmental noise signal according to the environmental noise signal, so as to reduce the interference of the environmental noise.
In some embodiments, the wireless communication module 32, the control module 33, and the audio decoding chip 34 may be packaged on the same integrated chip, and no limitation is imposed on the circuit structure of the wireless communication module 32, the control module 33, and the audio decoding chip 34.
Here, when the earphone 300 is a master/slave earphone, the transducer 31 is a first/second transducer, the wireless communication module 32 is a first/second wireless communication module, the control module 33 is a first/second control module, the audio decoding chip 34 is a first/second audio decoding chip, and the speaker 35 is a first/second speaker, correspondingly.
When the headset 300 needs to implement an active noise reduction function, a noise reduction circuit may be configured to implement active noise reduction of the headset.
Referring to fig. 3a, the control module 33 includes a processor 331, a memory 332 and a noise reduction circuit 333.
The processor 331 is connected to the memory 332 and the noise reduction circuit 333, respectively. The processor 331 may be implemented by using at least one of: application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, and other electronic units performing these functions.
In this embodiment, the number of the processors 331 may be 1 or more.
The memory 332 includes high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 332 optionally includes memory located remotely from processor 331, which may be connected to the headset over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The memory 332 is used for storing non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions/units corresponding to the headphone noise reduction method/apparatus referred to herein. The processor 331 executes various functional applications and data processing of the headset by executing the nonvolatile software programs, instructions and units stored in the memory 332, namely, implements the headset noise reduction method/apparatus of the above method embodiment.
The noise reduction circuit 333 is connected to the transducer 31 and the speaker 35, respectively. The noise reduction circuit 36 receives the ambient noise signal collected by the transducer 31, performs noise reduction processing on the ambient noise signal under the control of the processor 331, and outputs a noise cancellation signal.
Referring to fig. 3b, the noise reduction circuit 333 includes a first ADC converter 33a, a sampling rate converter 33b, a filter 33c and an adder 33 d.
The first ADC converter 33a is configured to convert the ambient noise signal into a digital signal, the sampling rate converter 33b samples the digital signal according to a preset sampling rate, the filter 33c filters the sampled digital signal, and the adder 33d superimposes the desired audio signal and the sampled digital signal, and plays the audio signal through the speaker 35.
In some embodiments, to avoid noise reduction delay, the noise reduction effect is increased, which may reduce the delay by increasing the sampling rate of the sampling rate converter 33 b. For example, the user may configure the high sampling rate in the memory 332 in advance, the processor 331 accesses the memory 332 to retrieve data of the high sampling rate, and configures the sampling rate converter 33b so that the sampling rate converter 33b can increase the sampling rate.
In some embodiments, in order to avoid the noise reduction delay and improve the noise reduction effect, it may also reduce the delay by modifying the filter parameters of the filter 33 c.
In other embodiments, in order to improve the noise reduction reliability and stability, it may further configure a noise reduction feedback circuit to implement feedback of the noise reduction process. Referring to fig. 3c, the noise reduction circuit 333 further includes a second ADC converter 33e and a compression controller 33 f.
The second ADC converter 33e is used to collect the noise cancellation signal or audio signal pushed to the speaker 35 and convert the noise cancellation signal or audio signal into a digital signal.
The compression controller 33f is configured to detect whether the amplitude of the digital signal is greater than a predetermined value and causes an abnormal condition such as clipping, and when the amplitude of the digital signal is greater than the predetermined value and causes clipping, the compression controller 33f reduces the amplitude of the audio data output by the filter 33 c.
In addition to the noise reduction circuit structure described herein, those skilled in the art can also develop other alternative noise reduction circuits according to the technical solutions disclosed herein, and the modifications or alternatives thereof should fall within the protection scope of the present invention, and are not described herein again.
In addition to the above description of the earphone, the present embodiment also provides an earphone operation mode switching method. Referring to fig. 4, the method 400 for switching the working mode of the earphone includes:
41. determining a current working mode of the first earphone and/or the second earphone;
in this embodiment, the first earphone and the second earphone may be in wired communication, wireless communication, or a combination of wired communication and wireless communication. Wired communication includes any form of communication that transmits audio signals over a wired transmission medium, such as optical fiber, copper cable, and the like. Wireless communication includes communication means such as those established by Bluetooth (Bluetooth), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), or ZigBee means.
The operation mode includes any mode describing the operation state of the headset, such as: volume adjustment mode, song play mode, song switch mode, data uplink mode, data downlink mode, earphone connection mode, earphone disconnection mode, dual-earphone simultaneous use mode, single-earphone use mode or analog interphone use mode, etc. It will be understood by those skilled in the art that the description of the earphone related application scenario or earphone capable of performing a specific function, which is not mentioned herein, should be interpreted as an operation mode of the earphone, for example, the earphone is operated in a shuffle mode, which may be considered as a specific function of the earphone, and may also be considered as an operation mode of the earphone. Other modifications are possible and reasonable within the scope of the invention as taught by the skilled person based on the examples and are intended to be within the scope of the invention.
The first earpiece or the second earpiece operates in an earpiece connection mode when the first earpiece or the second earpiece is connected to the audio source device.
When neither the first nor the second headset is connected to the audio source device, the first or the second headset operates in a headset off mode.
When the first earphone and the second earphone are in wireless communication and the first earphone and the audio source device establish wireless communication, the first earphone and the second earphone work in a double-earphone simultaneous use mode. At this time, when the audio source device pushes the audio signal to the first earphone, the first earphone forwards the audio signal to the second earphone in a relay manner, so that the first earphone and the second earphone present a TWS effect. Or the first earphone receives the second audio signal relayed by the second earphone, and relays the first audio signal sampled by the first earphone or captured locally to the audio source device in combination with the second audio signal.
In order for the first headphone or the second headphone or the audio source device to receive a clear audio signal that is not disturbed by the ambient noise signal, in some embodiments, when the first earphone and the second earphone are both operating in a dual earphone simultaneous use mode, and when the first earphone and the second earphone play audio signals, the first earphone collects a first environmental noise signal and transmits the first environmental noise signal to the second earphone, the second earphone collects a second environmental noise signal and transmits the second environmental noise signal to the first earphone, the first earphone generates a first noise cancellation signal according to the first environmental noise signal and the second environmental noise signal, the second earphone generates a second noise cancellation signal according to the first environmental noise signal and the second environmental noise signal, and the first noise cancellation signal and the second noise cancellation signal can cancel respective environmental noise signals, so that respective near ends of the first earphone and the second earphone can listen to clear audio signals.
In some embodiments, when the first earphone and the second earphone both operate in the dual-earphone simultaneous usage mode and the first earphone transmits the audio signal to the audio source device, the first earphone receives the second ambient noise signal and the second audio signal forwarded by the second earphone, so that the first earphone can generate the first noise cancellation signal according to the first ambient noise signal and the second ambient noise signal and transmit the first noise signal, the second audio signal, and the self-sampled or locally captured first audio signal to the audio source device in parallel. The far end of the audio source device can then hear a clear audio signal.
When the first earpiece or the second earpiece establishes wireless communication with the audio source device, but the first earpiece and the second earpiece do not establish wireless communication, the first earpiece or the second earpiece operates in a single-earpiece use mode. The first earpiece or the second earpiece separately interactively communicates with the audio source device.
When the first earphone or the second earphone works in a single earphone using mode and carries out active noise reduction, the first earphone or the second earphone collects respective environmental noise signals and generates corresponding noise elimination signals according to the respective environmental noise signals, and the noise elimination signals can eliminate the environmental noise of the corresponding earphone side.
When the first earphone and the audio source device establish wireless communication, the first earphone and the second earphone are in wireless communication, the first earphone receives and plays audio signals transmitted by the second earphone, and the second earphone receives and plays audio signals transmitted by the first earphone, the first earphone and the second earphone work in a mode simulating the use of an interphone.
When the first earphone or the second earphone works in the mode simulating the use of the interphone and carries out active noise reduction, the first earphone generates a first noise elimination signal according to the first environmental noise signal and the second environmental noise signal. The second earphone generates a second noise elimination signal according to the first environmental noise signal and the second environmental noise signal. The first noise cancellation signal and the second noise cancellation signal are capable of canceling the respective ambient noise signals so that the respective near ends of the first earpiece and the second earpiece may hear a clear audio signal.
The current operation mode can be understood as not only the initial operation mode when the earphone starts to operate, but also the operation mode when the earphone operates at a specific time point or a specific time period.
In some embodiments, each operating mode has a corresponding mode identifier, and the mode identifier is stored in an identification bit of the register. When the earphone works in a specific working mode, the earphone modifies the mode identification of the identification bit, so that the modified mode identification corresponds to the specific working mode. The headset can determine the current operating mode by accessing the mode identification on the identification bit of the register.
In this embodiment, it may determine the current working mode of the first earphone, the current working mode of the second earphone, or even the current working modes of the first earphone and the second earphone.
42. Acquiring a relative motion state between the first earphone and the second earphone;
the relative motion state is used to describe the motion state between the first earphone and the second earphone, and the relative motion state may include the motion state of the first earphone relative to the first earphone with the first earphone as a reference object, or may include the motion state of the second earphone relative to the second earphone with the second earphone as a reference object.
The first/second earpiece may be moved in a variety of ways, such as including: circular motion, curvilinear motion, linear motion, and the like.
In some embodiments, the relative motion state comprises a relative distance, a relative acceleration, or a relative velocity. Referring to fig. 4a, the first earphone 4a1 moves rightward with the first velocity V1 as the initial velocity and the acceleration g1, the second earphone 4a2 moves leftward with the second velocity V2 as the initial velocity and the acceleration g2, and the first earphone 4a1 and the second earphone 4a2 move relatively and approach each other. At this time, the relative distance between the first earphone 4a1 and the second earphone 4a2 is S1.
When the relative motion state is the relative velocity, the relative velocity of the second headphone 4a2 with respect to the first headphone 4a1 is Δ V-V1-V2.
When the relative movement state is the relative distance, the relative distance of the second headphone 4a2 with respect to the first headphone 4a1 is S1.
When the relative motion state is the relative acceleration, the relative distance Δ g of the second headphone 4a2 with respect to the first headphone 4a1 is g1-g 2.
Referring to fig. 4b, the first earphone 4a1 moves leftwards with the first velocity V1 as the initial velocity and the acceleration g1, the second earphone 4a2 moves rightwards with the second velocity V2 as the initial velocity and the acceleration g2, and the first earphone 4a1 and the second earphone 4a2 move back to back and away from each other.
In some embodiments, the relative motion state may be only the motion magnitude or may be a vector, that is, the relative motion state may be a directional motion state.
The user can select a suitable mode to detect the motion state of the first earphone/the second earphone according to the product requirement so as to further determine the relative motion state between the first earphone and the second earphone.
For example, in some embodiments, when the relative motion state is a relative distance/relative acceleration/relative velocity, the relative distance/relative acceleration/relative velocity between the first earphone and the second earphone can be detected by a bluetooth method/acceleration sensor/gravity sensor/infrared sensor, or can be detected by other sensors or detection methods mounted on the first earphone or the second earphone.
43. And controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state.
When the first earphone and the second earphone are in wired communication, a wire controller may be arranged between the first earphone and the second earphone, or the wire controller does not need to be arranged. When configured with a cord controller, the cord controller may be used to control the current operating mode switching of the first earphone and/or the second earphone. When the wired controller is not configured, the first earphone and the second earphone communicate with each other to complete the switching of the current working mode of the first earphone or the other earphone, for example, the first earphone switches the current working mode of the first earphone, or the second earphone switches the current working mode of the second earphone, which can be obtained by the same method as that for the second earphone.
When the first earphone and the second earphone are in wireless communication, the first earphone switches the current working mode of the first earphone or the second earphone according to the relative motion state, or the second earphone switches the current working mode of the first earphone or the second earphone according to the relative motion state. In other embodiments, the first earphone or the second earphone can also receive a control instruction of the audio source device to complete the switching of the working modes of the first earphone or the second earphone.
As described above, the representation of the relative movement state is diversified, and thus, it is possible to control the switching of the current operation mode of the first earphone and/or the second earphone according to the diversified relative movement state. Specifically, it can be determined whether the relative motion state satisfies a preset state condition, and if so, the switching of the current working mode of the first earphone and/or the second earphone is controlled. And if not, returning to the current working mode.
For example: the relative motion state is a relative distance. And when the distance value of the relative distance between the first earphone and the second earphone is smaller than a preset distance threshold value, controlling the current working mode of the first earphone and/or the second earphone to be switched to a first target working mode. And when the distance value of the relative distance between the first earphone and the second earphone is larger than a preset distance threshold value, controlling the current working mode of the first earphone and/or the second earphone to be switched to a second target working mode.
For example: the relative motion state is a relative velocity. And when the relative speed of the first earphone and the second earphone is smaller than a preset speed threshold value, controlling the current working mode of the first earphone and/or the second earphone to be switched to a first target working mode. And when the relative speed of the first earphone and the second earphone is larger than a preset speed threshold value, controlling the current working mode of the first earphone and/or the second earphone to be switched to a second target working mode.
For example: the relative motion state is a relative velocity. And when the speed of the first earphone is consistent with the direction of the speed of the second earphone, controlling the current working mode of the first earphone and/or the second earphone to be switched to the first target working mode. And when the speed of the first earphone is inconsistent with the direction of the speed of the second earphone, controlling the current working mode of the first earphone and/or the second earphone to be switched to a second target working mode.
Generally, the relative motion state includes various motion magnitudes and directions, and the skilled person can control the switching of the current operation mode of the first earphone and/or the second earphone in any combination or no combination of the various motion magnitudes or directions. It should be understood that variations made by those skilled in the art are intended to fall within the scope of the present invention.
In the process of switching the current working mode to the target working mode, the current working mode and the target working mode may belong to working modes in the same parallel field, for example: volume up and volume down modes, headset connected and headset disconnected modes, and so on. In some embodiments, the current operating mode and the target operating mode may not belong to the same parallel domain operating mode, for example: volume up mode with headset connected mode, volume down mode with headset disconnected mode, and so on. Therefore, in the switching process, the current working mode can be switched to the working mode belonging to the same parallel field, and can also be switched to the working mode not belonging to the same parallel field. The person skilled in the art can define the corresponding relationship of switching between the working modes according to the product requirements.
In summary, according to the earphone working mode switching method provided by the embodiment, a user can flexibly and quickly switch the working mode of the earphone without the participation of a key, so that the user experience is improved. In addition, it can also reduce the design cost and difficulty caused by designing the key.
When a user operates the first earphone and the second earphone to switch the current working mode, misoperation is easy to occur. In order to reduce the misoperation of the user, the following embodiments are further provided to overcome the above defects: in some embodiments, the relative motion state includes a first relative motion state and a second relative motion state. Generally, in the time process when the user operates the first earphone and the second earphone to move, the relative movement state may be only one relative movement state or at least two relative movement states. Each relative motion state may be divided according to whether the relative motion state between the first earphone and the second earphone satisfies a preset motion state within a preset time, for example: referring to fig. 4c, during the time period from t1 to t2, the relative distance between the first earphone and the second earphone is S1. And in the time period from t2 to t3, the relative distance between the two is S2, wherein S2 is greater than S1. And in the time period from t3 to t4, the relative distance between the two is S3, wherein S3 is smaller than S1. In the time period from t4 to t5, the relative distance between the two is S4, wherein S4 is equal to S2. In preset logic, when the relative distance between the first earphone and the second earphone is smaller than Smin, the current working mode is switched to the first target working mode. Or when the relative distance between the first earphone and the second earphone is larger than Smax, the current working mode is switched to the second target working mode. Among the above relative distance values, there is the following relationship:
Smin<S1<Smax;
S2>Smax;
S3<Smin;
S4=S2。
accordingly, the relative motion state corresponding to the time period t1 to t2 does not satisfy the preset motion state condition, however, the relative motion state corresponding to the time period t1 to t3 satisfies the preset motion state condition, and therefore, the relative motion state corresponding to the time period t1 to t3 is the first relative motion state, and at the time point t3, the current operation mode is switched to the first target operation mode.
Then, the relative motion state corresponding to the time period from t3 to t4 satisfies the preset motion state condition, so that the relative motion state corresponding to the time period from t3 to t4 is the second relative motion state, and at the time point of t4, the current operation mode is switched to the second target operation mode.
Then, the relative motion state corresponding to the time period from t4 to t5 satisfies the preset motion state condition, so that the relative motion state corresponding to the time period from t4 to t5 is the third relative motion state, and at the time point of t5, the current operation mode is switched to the first target operation mode.
Referring to fig. 5, in the process of controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state, first, in 431, it is determined whether the first relative motion state satisfies a first preset trigger condition. The first preset trigger condition is defined by the user according to the expression form of the relative motion state and the product requirement, for example, the first preset trigger condition is "when the relative speed is a positive direction, trigger action".
Next, at 432, if the first relative motion state does not satisfy the first predetermined trigger condition, the current working mode is returned.
Then, at 433, if the first relative motion state satisfies the first preset trigger condition, the switching of the current working mode of the first earphone and/or the second earphone is controlled according to the second relative motion state. Therefore, when the relative motion state of the first/second earphones detected by the first user operation meets the preset trigger condition, the switching of the current working mode of the first earphone and/or the second earphone is really controlled according to the second user operation. Therefore, false triggering caused by first-time unintentional operation of a user can be avoided, and reliability of operation mode switching is improved.
In some embodiments, in the process of controlling the switching of the current working mode of the first earphone and/or the second earphone according to the second relative motion state, referring to fig. 6, first, in 4331, it is determined whether the second relative motion state satisfies a second preset trigger condition. The second preset trigger condition is defined by the user according to the expression form of the relative motion state and the product requirement, for example, the second preset trigger condition is "trigger action when the relative speed is in the opposite direction".
Next, in 4332, if not, the current operation mode is returned.
Again, in 4333, if yes, the target operation mode is determined, and the first earphone and/or the second earphone is switched to operate in the target operation mode. In some embodiments, the user pre-constructs an association table between each type of working mode and the relative motion state, and the first/second earphones search for a corresponding target working mode according to the relative motion state and switch the current working mode to the target working mode.
In some embodiments, referring to fig. 7, in the process of determining the target operating mode, first, in 43331, a first relative motion state satisfying a first preset trigger condition is preset as a first event, and a second relative motion state satisfying a second preset trigger condition is preset as a second event.
Next, in 43332, the first event and the second event are treated as a combined event.
Again, in 43333, the number of occurrences of the combined event is counted for a preset time. The preset time here can be customized by the user.
Finally, at 43334, a target operating mode is determined based on the number of occurrences of the combined event.
Therefore, the user can determine the target working mode by repeatedly operating the first earphone and the second earphone, so that the reliability of working mode switching is greatly improved.
In some embodiments, in determining the target operating mode according to the occurrence count of the combination event, referring to fig. 8, first, at 433341, it is determined whether the occurrence count of the combination event is greater than a preset combination threshold. The preset combination threshold is customized by the user and may be, for example, 2, etc.
Secondly, in 433342, if yes, determining the target working mode;
again, if less than 433343, return to the current mode of operation.
As another aspect of the embodiments of the present invention, the embodiments of the present invention provide a computer program product including a computer program stored on a non-volatile computer-readable storage medium, the computer program including program instructions that, when executed by an audio circuit, cause the audio circuit to perform the above-described earphone operation mode switching method.
Therefore, the user can flexibly and quickly switch the working mode of the earphone without the participation of keys, thereby improving the experience of the user. In addition, it can also reduce the design cost and difficulty caused by designing the key.
As another aspect of the embodiments of the present invention, there is also provided a non-transitory computer-readable storage medium storing computer-executable instructions for causing an audio circuit to execute the earphone operation mode switching method as described above.
Therefore, the user can flexibly and quickly switch the working mode of the earphone without the participation of keys, thereby improving the experience of the user. In addition, it can also reduce the design cost and difficulty caused by designing the key.
As another aspect of the embodiments of the present invention, an embodiment of the present invention provides an earphone operating mode switching device.
In this embodiment, the earphone operation mode switching device is a software system, which is stored in the memory illustrated in fig. 3 a. The earphone working mode switching device comprises a plurality of instructions, wherein the instructions are stored in a memory, and a processor can access the memory and call the instructions to execute so as to complete the control logic for switching the earphone working mode.
Referring to fig. 9, the earphone operation mode switching device 900 includes: a determination module 91, an acquisition module 92 and a control module 93.
The determining module 91 is configured to determine a current operating mode of the first earphone and/or the second earphone;
the obtaining module 92 is configured to obtain a relative motion state between the first earphone and the second earphone;
the control module 93 is configured to control switching of a current working mode of the first earphone and/or the second earphone according to the relative motion state.
Therefore, the user can flexibly and quickly switch the working mode of the earphone without the participation of keys, thereby improving the experience of the user. In addition, it can also reduce the design cost and difficulty caused by designing the key.
In some embodiments, the relative motion state includes a first relative motion state and a second relative motion state. Referring to fig. 10, the control module 93 includes: a determination unit 931, a return unit 932, and a control unit 933.
The determining unit 931 is configured to determine whether the first relative motion state satisfies a first preset trigger condition.
The returning unit 932 is configured to return to the current operating mode if the current operating mode is not the same;
the control unit 933 is configured to control, if yes, switching of the current working mode of the first earphone and/or the second earphone according to the second relative motion state.
In some embodiments, referring to fig. 11, the control unit 933 includes: a judgment subunit 9331, a return subunit 9332, and a switch subunit 9333.
The determining subunit 9331 is configured to determine whether the second relative motion state satisfies a second preset trigger condition.
The returning subunit 9332 is configured to, if not, return to the current operating mode;
the switching subunit 9333 is configured to, if yes, determine the target operating mode, and switch the first earphone and/or the second earphone to operate in the target operating mode.
In some embodiments, referring to fig. 12, the switch subunit 9333 includes: a preset sub-cell 93331, a combination sub-cell 93332, a statistics sub-cell 93333, and a determination sub-cell 93334.
The presetting subunit 93331 is configured to preset a first relative motion state satisfying a first preset trigger condition as a first event, and a second relative motion state satisfying a second preset trigger condition as a second event.
The combination subunit 93332 is configured to treat the first event and the second event as a combined event;
the statistics subunit 93333 is configured to count the occurrence times of the combination event within a preset time;
determining subunit 93334 is configured to determine the target operating mode according to the number of occurrences of the combination event.
In some embodiments, determining subunit 93334 is specifically configured to: judging whether the occurrence frequency of the combination event is greater than a preset combination threshold value or not; if so, determining a target working mode; and if the current working mode is smaller than the preset working mode, returning to the current working mode.
In some embodiments, the relative motion state comprises a relative distance, a relative acceleration, or a relative velocity.
In some embodiments, the relative distance, relative acceleration, or relative velocity is obtained by bluetooth, acceleration sensor, gravity sensor, or infrared sensor detection.
In some embodiments, the operating mode includes a headset connected mode, a headset disconnected mode, a dual headset simultaneous use mode, a single headset use mode, or a simulated walkie-talkie use mode.
It should be noted that the earphone working mode switching device can execute the earphone working mode switching method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the embodiment of the earphone operating mode switching device, reference may be made to the earphone operating mode switching method provided in the embodiment of the present invention.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A method for switching working modes of an earphone is characterized by comprising the following steps:
determining a current working mode of the first earphone and/or the second earphone;
acquiring a relative motion state between the first earphone and the second earphone, wherein the relative motion state comprises a first relative motion state and a second relative motion state;
judging whether the first relative motion state meets a first preset trigger condition or not;
if not, returning to the current working mode;
if so, judging whether the second relative motion state meets a second preset trigger condition; if not, returning to the current working mode; if so, presetting a first relative motion state meeting the first preset trigger condition as a first event and presetting a second relative motion state meeting the second preset trigger condition as a second event; taking the first event and the second event as a combined event; counting the occurrence frequency of the combined event within a preset time; and determining a target working mode according to the occurrence frequency of the combined event, and switching the first earphone and/or the second earphone to work in the target working mode.
2. The method of claim 1, wherein the first earpiece is in wireless communication with the second earpiece.
3. The method of claim 1, wherein determining a target operating mode based on the number of occurrences of the combined event comprises:
judging whether the occurrence frequency of the combined event is greater than a preset combined threshold value or not;
if so, determining a target working mode;
and if the current working mode is smaller than the preset working mode, returning to the current working mode.
4. A method according to any one of claims 1 to 3, wherein the relative motion state comprises relative distance, relative acceleration or relative velocity.
5. The method of claim 4,
the relative distance, relative acceleration or relative speed is obtained by detecting through Bluetooth, an acceleration sensor, a gravity sensor or an infrared sensor.
6. The method of any one of claims 1 to 3, wherein the operating mode comprises a headset connected mode, a headset disconnected mode, a dual headset simultaneous use mode, a single headset use mode, or a simulated walkie-talkie use mode.
7. An earphone operating mode switching device, comprising:
the determining module is used for determining the current working mode of the first earphone and/or the second earphone;
an obtaining module, configured to obtain a relative motion state between the first earphone and the second earphone, where the relative motion state includes a first relative motion state and a second relative motion state;
the control module is used for controlling the switching of the current working mode of the first earphone and/or the second earphone according to the relative motion state;
the control module includes:
the judging unit is used for judging whether the first relative motion state meets a first preset triggering condition or not;
the return unit is used for returning to the current working mode if the current working mode is not the same as the current working mode;
the control unit is used for controlling the switching of the current working mode of the first earphone and/or the second earphone according to the second relative motion state if the current working mode of the first earphone and/or the second earphone is the second relative motion state;
the control unit includes:
the judging subunit is used for judging whether the second relative motion state meets a second preset triggering condition or not;
the return subunit is used for returning to the current working mode if the current working mode is not the same as the current working mode;
the switching subunit is used for determining a target working mode and switching the first earphone and/or the second earphone to work in the target working mode if the target working mode is determined;
the switching subunit includes:
the presetting subunit is used for presetting a first relative motion state meeting the first preset triggering condition as a first event and a second relative motion state meeting the second preset triggering condition as a second event;
a combination subunit, configured to take the first event and the second event as a combined event;
the counting subunit is used for counting the occurrence frequency of the combined event within a preset time;
and the determining subunit is used for determining the target working mode according to the occurrence frequency of the combined event.
8. The apparatus of claim 7, wherein the first earpiece is in wireless communication with the second earpiece.
9. The apparatus of claim 7, wherein the determining subunit is specifically configured to:
judging whether the occurrence frequency of the combined event is greater than a preset combined threshold value or not;
if so, determining a target working mode;
and if the current working mode is smaller than the preset working mode, returning to the current working mode.
10. The device of any one of claims 7 to 9, wherein the relative motion state comprises a relative distance, a relative acceleration or a relative velocity.
11. The apparatus of claim 10,
the relative distance, relative acceleration or relative speed is obtained by detecting through Bluetooth, an acceleration sensor, a gravity sensor or an infrared sensor.
12. The apparatus of any of claims 7 to 9, wherein the operating mode comprises a headset connected mode, a headset disconnected mode, a dual headset simultaneous use mode, a single headset use mode, or a simulated walkie-talkie use mode.
13. An audio circuit, comprising: the control module is respectively connected with the transducer, the wireless communication module, the audio decoding chip and the loudspeaker;
wherein the control module comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the headset operating mode switching method of any one of claims 1 to 6.
14. A headset comprising a housing and an audio circuit as claimed in claim 13, the audio circuit being housed within the housing.
15. A headset system comprising at least two headsets as claimed in claim 14, the two headsets communicating wirelessly with each other.
CN201880000279.XA 2018-04-13 2018-04-13 Earphone working mode switching method and device, audio circuit, earphone and earphone system Active CN108496374B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/082996 WO2019196101A1 (en) 2018-04-13 2018-04-13 Method and apparatus for switching working mode of earphone, and audio circuit, earphone and earphone system

Publications (2)

Publication Number Publication Date
CN108496374A CN108496374A (en) 2018-09-04
CN108496374B true CN108496374B (en) 2020-06-23

Family

ID=63343434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880000279.XA Active CN108496374B (en) 2018-04-13 2018-04-13 Earphone working mode switching method and device, audio circuit, earphone and earphone system

Country Status (2)

Country Link
CN (1) CN108496374B (en)
WO (1) WO2019196101A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151644B (en) * 2018-09-21 2020-04-14 万魔声学科技有限公司 Method and device for distributing master-slave state of earphone
WO2020087749A1 (en) * 2018-10-29 2020-05-07 歌尔股份有限公司 Earphone interaction control method and apparatus, and earphone and storage medium
CN109286870A (en) * 2018-11-23 2019-01-29 歌尔科技有限公司 A kind of pairing control method, device and the wireless headset of wireless headset
US20220039041A1 (en) * 2018-12-07 2022-02-03 Huawei Technologies Co., Ltd. Point-to-Multipoint Data Transmission Method and Electronic Device
CN110933738B (en) * 2019-11-22 2022-11-22 歌尔股份有限公司 Mode switching method and system of wireless earphone and TWS earphone system
CN110933550A (en) * 2019-12-05 2020-03-27 歌尔股份有限公司 Control method and system of wireless earphone pair and wireless communication equipment
CN111182597B (en) * 2019-12-31 2021-10-22 联想(北京)有限公司 Processing method and device
EP3896995B1 (en) 2020-04-17 2023-09-13 Nokia Technologies Oy Providing spatial audio signals
CN111787444A (en) * 2020-06-19 2020-10-16 深圳市蓝色冰川教育科技有限公司 Bluetooth headset pairing method and device, Bluetooth headset and storage medium
CN111988771B (en) * 2020-08-28 2023-09-15 维沃移动通信有限公司 Wireless connection control method and device and electronic equipment
CN112911449B (en) * 2021-03-04 2022-08-16 歌尔科技有限公司 TWS bluetooth headset
CN113115179B (en) * 2021-03-24 2023-03-24 维沃移动通信有限公司 Working state adjusting method and device
CN113242495B (en) * 2021-06-10 2022-08-05 东莞立讯精密工业有限公司 True wireless stereo earphone assembly and control method thereof
CN113810814B (en) * 2021-08-17 2023-12-01 百度在线网络技术(北京)有限公司 Earphone mode switching control method and device, electronic equipment and storage medium
CN113660572B (en) * 2021-08-30 2022-11-01 歌尔科技有限公司 Earphone call control method and device, earphone equipment and storage medium
CN113596670B (en) * 2021-08-30 2022-10-14 歌尔科技有限公司 Earphone, earphone noise reduction mode switching method and device, and storage medium
CN117440279A (en) * 2022-07-15 2024-01-23 Oppo广东移动通信有限公司 Earphone intercom method and device, bluetooth earphone and storage medium
CN116055932B (en) * 2022-08-12 2023-09-15 荣耀终端有限公司 Earphone main and auxiliary ear switching method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101297589A (en) * 2005-10-28 2008-10-29 艾美卡有限公司 Audio system
CN104125523A (en) * 2014-08-01 2014-10-29 周祥宇 Dynamic earphone system and application method thereof
CN107071648A (en) * 2017-06-19 2017-08-18 深圳市泰衡诺科技有限公司上海分公司 Sound plays regulating system, device and method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627289B2 (en) * 2005-12-23 2009-12-01 Plantronics, Inc. Wireless stereo headset
KR100735428B1 (en) * 2006-03-16 2007-07-04 삼성전자주식회사 Selection type stereo head set apparatus
US9326058B2 (en) * 2012-09-26 2016-04-26 Sony Corporation Control method of mobile terminal apparatus
CN104507004B (en) * 2014-11-28 2018-01-30 上海斐讯数据通信技术有限公司 A kind of player control method, player and earphone
CN104469624B (en) * 2014-12-16 2017-06-30 广东欧珀移动通信有限公司 Earphone sound channel changing method, system, electronic equipment and earphone
CN204906670U (en) * 2015-08-28 2015-12-23 青岛歌尔声学科技有限公司 Earphone that single dual track is switched
KR102413328B1 (en) * 2016-02-03 2022-06-27 엘지전자 주식회사 Main speaker, sub speaker and system comprising main speaker and sub speaker
US9877098B1 (en) * 2016-09-09 2018-01-23 Microsoft Technology Licensing, Llc Audio earphones having an adjustable cable system
CN106941640B (en) * 2017-03-16 2023-11-17 歌尔科技有限公司 Earphone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101297589A (en) * 2005-10-28 2008-10-29 艾美卡有限公司 Audio system
CN104125523A (en) * 2014-08-01 2014-10-29 周祥宇 Dynamic earphone system and application method thereof
CN107071648A (en) * 2017-06-19 2017-08-18 深圳市泰衡诺科技有限公司上海分公司 Sound plays regulating system, device and method

Also Published As

Publication number Publication date
CN108496374A (en) 2018-09-04
WO2019196101A1 (en) 2019-10-17

Similar Documents

Publication Publication Date Title
CN108496374B (en) Earphone working mode switching method and device, audio circuit, earphone and earphone system
CN109314813B (en) Earphone wireless communication method, master earphone, slave earphone and earphone system
CN108886647B (en) Earphone noise reduction method and device, master earphone, slave earphone and earphone noise reduction system
KR101381289B1 (en) Wire and wireless earset using in ear-type microphone
CN105282646B (en) To enhance the system and relevant device of the multimedia in mobile device
EP2798856B1 (en) Ultra-compact headset
US20160029114A1 (en) Wireless earphone set
JP2009536720A5 (en)
CN103686516A (en) Bluetooth headset capable of sharing audios and control method thereof
KR101330476B1 (en) Wire and wireless earphone apparatus using in ear-type microphone
DK201400756A1 (en) A wireless headset system with two different radio protocols
KR20110097530A (en) Hearing aid combination bluetooth-headset and control method
CN101114846A (en) Blue tooth wireless multimedia transmission apparatus and system and method
CN112367581B (en) Earphone device, conversation system, equipment and device
CN203788341U (en) Dustproof earplug and mobile terminal
KR102127209B1 (en) System and method for processing communication of wireless earset
JP3117272U (en) Wireless transceiver for audio signals
CN106162399B (en) Earphone with data control board and use method thereof
CN204334893U (en) Bluetooth earphone
US11523209B1 (en) Method and system for headset with wireless auxiliary device
CN203912165U (en) Bluetooth loudspeaker box system
AU2017425543B2 (en) Multipurpose bluetooth interface and controller
CN210298017U (en) AI intelligence voice control bluetooth TWS is to ear headphone system
US20170188142A1 (en) Sound filtering system
TWM509493U (en) Bluetooth earphone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 35th floor, block a, Tanglang City, 3333 Liuxian Avenue, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Wanmo acoustics Co.,Ltd.

Address before: 518055 14 floor, east block, Tian Liao building (New Material Industrial Park), Nanshan District Xue Yuan Road, Shenzhen, Guangdong.

Patentee before: 1MORE Inc.