CN108496374A - Earphone Working mode switching method and device, voicefrequency circuit, earphone and earphone system - Google Patents
Earphone Working mode switching method and device, voicefrequency circuit, earphone and earphone system Download PDFInfo
- Publication number
- CN108496374A CN108496374A CN201880000279.XA CN201880000279A CN108496374A CN 108496374 A CN108496374 A CN 108496374A CN 201880000279 A CN201880000279 A CN 201880000279A CN 108496374 A CN108496374 A CN 108496374A
- Authority
- CN
- China
- Prior art keywords
- earphone
- motion state
- relative motion
- mode
- operation mode
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/12—Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/04—Circuit 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/07—Applications of wireless loudspeakers or wireless microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2460/00—Details 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/01—Hearing devices using active noise cancellation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Telephone Function (AREA)
- Headphones And Earphones (AREA)
Abstract
The present invention relates to ear phone technology fields, more particularly to a kind of earphone Working mode switching method and device, voicefrequency circuit, earphone and earphone system.Wherein, earphone Working mode switching method includes:Determine the current operation mode of the first earphone and/or the second earphone;Obtain the relative motion state between the first earphone and the second earphone;According to relative motion state, the switching of the current operation mode of the first earphone and/or the second earphone is controlled.It is therefore not necessary to the participation of button, user flexibly can rapidly switch the operating mode of earphone, to improve user experience.Also, it can also reduce the design cost brought because designing button and difficulty.
Description
Technical field
The present invention relates to ear phone technology fields, more particularly to a kind of earphone Working mode switching method and device, audio
Circuit, earphone and earphone system.
Background technology
In general, existing earphone on the market is equipped with button, user can change working as earphone by operation button
Preceding operating mode, for example, startup/disconnection earphone, raising/reduction volume etc..
Inventor in the implementation of the present invention, it is found that traditional technology has at least the following problems:1, user needs another
The button of outer die sinking design earphone, causes difficult design and design cost excessively high.2, user needs manual operation button can
Switch the operating mode of earphone, the process is relatively cumbersome, and flexibility is poor.
Invention content
One purpose of the embodiment of the present invention be intended to provide a kind of earphone Working mode switching method and device, voicefrequency circuit,
Earphone and earphone system flexibly can rapidly switch the operating mode of earphone.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of earphone Working mode switching method, including:
Determine the current operation mode of the first earphone and/or the second earphone;
Obtain the relative motion state between first earphone and second earphone;
According to the relative motion state, the current operation mode of first earphone and/or second earphone is controlled
Switching.
Optionally, first earphone is wirelessly communicated with second earphone.
Optionally, the relative motion state includes the first relative motion state and the second relative motion state;
It is described according to the relative motion state, control the work at present of first earphone and/or second earphone
The switching of pattern, including:
Judge whether the first relative motion state meets the first preset trigger condition;
If it is not, returning to the current operation mode;
If so, according to the second relative motion state, the current of first earphone and/or second earphone is controlled
The switching of operating mode.
Optionally, described according to the second relative motion state, control first earphone and/or second earphone
Current operation mode switching, including:
Judge whether the second relative motion state meets the second preset trigger condition;
If it is not, returning to the current operation mode;
If so, determining target operational mode, and switch first earphone and/or second earphone is operated in the mesh
Mark operating mode.
Optionally, the determining target operational mode, including:
Default the first relative motion state for meeting first preset trigger condition is first event, and described in satisfaction
Second relative motion state of the second preset trigger condition is second event;
Using the first event and the second event as combination event;
In preset time, the occurrence number of the combination event is counted;
According to the occurrence number of the combination event, target operational mode is determined.
Optionally, the occurrence number according to the combination event determines target operational mode, including:
Judge whether the occurrence number of the combination event is more than default combined threshold value;
If more than determining target operational mode;
If being less than, the current operation mode is returned.
Optionally, the relative motion state includes relative distance, relative acceleration or relative velocity.
Optionally, the relative distance, relative acceleration or relative velocity are passed by bluetooth, acceleration transducer, gravity
Sensor or infrared sensor are detected and are obtained.
Optionally, the operating mode include earphone connection mode, earphone Disconnected mode, biphone simultaneously use pattern,
Single earpiece use pattern imitates intercom use pattern.
In second aspect, the embodiment of the present invention provides a kind of earphone operating mode switching device, including:
Determining module, the current operation mode for determining the first earphone and/or the second earphone;
Acquisition module, for obtaining the relative motion state between first earphone and second earphone;
Control module, for according to the relative motion state, controlling first earphone and/or second earphone
The switching of current operation mode.
Optionally, first earphone is wirelessly communicated with second earphone.
Optionally, the relative motion state includes the first relative motion state and the second relative motion state;
The control module includes:
Judging unit, for judging whether the first relative motion state meets the first preset trigger condition;
Returning unit, for if it is not, returning to the current operation mode;
Control unit, is used for if so, according to the second relative motion state, controls first earphone and/or described
The switching of the current operation mode of second earphone.
Optionally, described control unit includes:
Judgment sub-unit, for judging whether the second relative motion state meets the second preset trigger condition;
Subelement is returned to, for if it is not, returning to the current operation mode;
Switching subelement is used for if so, determining target operational mode, and switch first earphone and/or described second
Earphone is operated in the target operational mode.
Optionally, the switching subelement includes:
Default subelement is the first thing for default the first relative motion state for meeting first preset trigger condition
Part, and it is second event to meet the second relative motion state of second preset trigger condition;
Subelement is combined, for using the first event and the second event as combination event;
Subelement is counted, in preset time, counting the occurrence number of the combination event;
Determination subelement determines target operational mode for the occurrence number according to the combination event.
Optionally, the determination subelement is specifically used for:
Judge whether the occurrence number of the combination event is more than default combined threshold value;
If more than determining target operational mode;
If being less than, the current operation mode is returned.
Optionally, the relative motion state includes relative distance, relative acceleration or relative velocity.
Optionally, the relative distance, relative acceleration or relative velocity are passed by bluetooth, acceleration transducer, gravity
Sensor or infrared sensor are detected and are obtained.
Optionally, the operating mode include earphone connection mode, earphone Disconnected mode, biphone simultaneously use pattern,
Single earpiece use pattern imitates intercom use pattern.
In the third aspect, the embodiment of the present invention provides a kind of voicefrequency circuit, including:
At least one processor;And
The memory being connect at least one processor communication;Wherein, the memory be stored with can by it is described extremely
The instruction that a few processor executes, described instruction is executed by least one processor, so that at least one processing
Device can be used in executing any one of them earphone Working mode switching method.
In fourth aspect, the embodiment of the present invention provides a kind of earphone, including shell and the voicefrequency circuit, the sound
Frequency circuit is contained in the shell.
At the 5th aspect, the embodiment of the present invention provides a kind of earphone system, including the earphone described at least two, two institutes
State mutual wireless telecommunications between earphone.
At the 6th aspect, an embodiment of the present invention provides a kind of computer program product, the computer program product packet
The computer program being stored on non-volatile computer readable storage medium storing program for executing is included, the computer program includes program instruction,
When described program instruction is executed by voicefrequency circuit, the voicefrequency circuit is made to execute above-mentioned earphone Working mode switching method.
At the 7th aspect, the embodiment of the present invention additionally provides a kind of non-volatile computer readable storage medium storing program for executing, the meter
Calculation machine readable storage medium storing program for executing is stored with computer executable instructions, and the computer executable instructions are for making voicefrequency circuit execute
Earphone Working mode switching method as described above.
The earphone Working mode switching method and device, voicefrequency circuit, earphone and ear provided in each embodiment of the present invention
In machine system, first, the current operation mode of the first earphone and/or the second earphone is determined.Secondly, obtain the first earphone relative to
The relative motion state of second earphone.Finally, according to relative motion state, the current of the first earphone and/or the second earphone is controlled
The switching of operating mode.It is therefore not necessary to the participation of button, user flexibly can rapidly switch the operating mode of earphone, from
And improve user experience.Also, it can also reduce the design cost brought because designing button and difficulty.
Description of the drawings
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element with same reference numbers label is expressed as similar element in attached drawing, removes
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is that the embodiment of the present invention provides a kind of earphone noise reduction system;
Fig. 2 is that the embodiment of the present invention provides another earphone noise reduction system;
Fig. 3 is that the embodiment of the present invention provides a kind of schematic block circuit diagram of earphone;
Fig. 3 a are the schematic block circuit diagrams of control module in Fig. 3;
Fig. 3 b are a kind of schematic block circuit diagrams of Dolby circuit in Fig. 3 a;
Fig. 3 c are another schematic block circuit diagrams of Dolby circuit in Fig. 3 a;
Fig. 4 is that the embodiment of the present invention provides a kind of flow diagram of earphone Working mode switching method;
Fig. 4 a are that the first earphone and the second earphone provided in an embodiment of the present invention move toward one another schematic diagram of a scenario;
Fig. 4 b are the first earphone and the second earphone provided in an embodiment of the present invention backwards to moving scene schematic diagram;
Fig. 4 c are the relative distance that the first earphone and the second earphone provided in an embodiment of the present invention are moved in time t1 to t5
Schematic diagram;
Fig. 5 is in Fig. 4 43 flow diagram;
Fig. 6 is in Fig. 5 433 flow diagram;
Fig. 7 is in Fig. 6 4333 flow diagram;
Fig. 8 is in Fig. 7 43334 flow diagram;
Fig. 9 is that the embodiment of the present invention provides a kind of structural schematic diagram of earphone operating mode switching device;
Figure 10 is the structural schematic diagram of control module in Fig. 9;
Figure 11 is the structural schematic diagram of control unit in Figure 10;
Figure 12 is the structural schematic diagram of switching subelement in Figure 11.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.
Earphone provided in an embodiment of the present invention is configured to the ear that can be at least partly worn in user's ears
Or near two ears or in ear, although varied variation is presented in the planform of earphone, however, the embodiment of the present invention carries
The technical solution of confession is applicable to the earphone of any planform, such as including In-Ear Headphones, headphone or ear suspension type
Earphone etc..
Although the title of " earphone " is replaced in other business or technical field by other titles, for example, " earphone " quilt is " logical
Words device " or " hearing aid " or " speaker " or " sound equipment " are replaced, however, technical solution provided in an embodiment of the present invention is applicable to
It is any that there is the voicefrequency circuit for being similar to or the same as " earphone " completion same class function.
Any user can be based on the revealed technical solution of the embodiment of the present invention or according to revealed technical side
Case is easy to expect by technical solution provided in an embodiment of the present invention in any suitable operating mode.For example, based on this
Main earphone can be switched to earphone connection mode, earphone disconnection mould by the technical solution that inventive embodiments provide with from earphone
Formula, biphone while use pattern, single earpiece use pattern or imitation intercom use pattern etc..
Referring to Fig. 1, Fig. 1, which is the embodiment of the present invention, provides a kind of earphone noise reduction system.As shown in Figure 1, earphone noise reduction system
System 100 includes the first audio source device 12, main earphone 14 and is wirelessly connected from earphone 16, main earphone 14 and from earphone 12, and
And main earphone 14 is also wirelessly connected with the first audio source device 12.
Present document relates to can be any suitable wireless communication connection type, such as bluetooth etc. to " wireless connection ".
In the present embodiment, main earphone 14 is connect with from earphone 16 and the first audio source device 12 respectively by bluetooth approach.
First audio source device 12 (including following each audio source devices being related to) can be any suitable, have and carry
For audio content or the equipment of playing audio-fequency data ability and storage capacity, such as smart mobile phone, tablet computer, MP3 are played
Device, PC, laptop computer, personal stereo, CD player or other intelligence/unintelligent terminal equipment.First audio source device
12 are coupled at least one storage medium for storing audio data, these storage mediums can be in subscriber terminal equipment
Memory, can also be the storage medium on internet, and audio file is obtained from storage medium.In addition, first sound
Frequency source equipment 12 can also be the combination of one or more kinds of electronic equipments, for example, smart mobile phone and modulus connected to it
Converter (DAC).
In some embodiments, the first audio source device 12 can by be internally integrated either external bluetooth module or
Bluetooth chip realizes the connection from earphone 16 with main earphone 14/.When two equipment bluetooth-capable establish connection, they
The agreement that corresponding equipment provides can be obtained.Only use the equipment of same protocol that could exchange data.Wherein, the first audio-source is set
Standby 12 support A2DP and AVRCP agreements, and also support following audio coding mode:SBC (Sub Band Coding subbands
Coding), MP3, AAC (Advanced Audio Coding, Advanced Audio Coding), the formats such as Apt-X.Wherein, SBC encodes lattice
The encoding rate 44.1kHz two-channels of formula are up to 328kbit/s, and the encoding rate of AAC coded formats is up to 320kbit/s, Apt-X
The encoding rate of coded format is up to 352kbit/s.
In further embodiments, the first audio source device 12 can also be local audio circuit, wherein local audio electricity
Road includes USB interface device and analog interface equipments (ADC/SPDIF/I2S).Audio data is buffered in by local audio interface
In the internal RAM of first audio source device 12, and encoded using SBC.
In Bluetooth communication, equipment bluetooth-capable need not realize whole Bluetooth specifications.In order to support difference
Bluetooth equipment between compatibility, defined in Bluetooth specification some application layer protocols (profile) have to define
How a kind of connection or application are realized between the equipment of Bluetooth function.
Wherein, A2DP (Advenced Audio Distribution Profile, advanced Bluetooth audio frequency mode association
View) belong to a subset in above-mentioned Bluetooth protocol profile.It is used for transmission the protocol stack of high quality of music file data
And application method, A2DP are formulated exclusively for bluetooth transmission stereo audio is used.
AVRCP (Audio/Video Remote Control Profile, audio/video remote control specification, for carrying
For the standard interface of control TV, Hi-Fi equipment etc..This configuration file is for permitting single remote control equipment (or miscellaneous equipment)
Control the A/V equipment that all users can access.
As shown in Figure 1, main earphone 14 is merely able to one the first audio source device 12 of bluetooth connection.Also, work as main earphone 14
Bluetooth connection from earphone 16 when, main earphone 14 receives the audio signal for simultaneously playing the transmission of the first audio source device 12, also, main ear
Machine 14 also forwards the audio signal to from earphone 16, the audio signal is played from earphone 16, to realize that binary is stereo.Work as master
Earphone 14 not with from when 16 bluetooth connection of earphone, 14 playing audio signal of main earphone, to realize that monomer is stereo.
In some the present embodiment, the sound that the first audio source device 12 is transferred to main earphone 14 can also be detected from earphone 16
Frequency signal, and playing audio signal.
As previously described, because main earphone 14, to be wirelessly connected, greatly extends the freedom of master/slave earphone with from earphone 16
Degree, user can use master/slave earphone more flexiblely, and realize real wireless stereo (True Wireless
Stereo, TWS) effect.
Be worth remind be:Main earphone 14 is not changeless with the role from earphone 16.For different audio-sources
The role of equipment, the two can be interchanged.For example, referring to Fig. 2, Fig. 2, which is the embodiment of the present invention, provides another earphone noise reduction system
System.As shown in Fig. 2, earphone noise reduction system 100 further includes the second audio source device 18, the second audio source device 18 with from earphone 16
Bluetooth connection.
For the first audio source device 12, " main earphone 14 " is main earphone, and " from earphone 16 " is from earphone.For
For two audio source devices 18, " from earphone 16 " is main earphone, and " main earphone 14 " is from earphone.
In above-mentioned each embodiment, earphone noise reduction system 100 can be operated under TWS operating modes.In TWS Working moulds
Under formula, single earphone can at most connect 1 audio source device, 1 group of TWS session at most 2 audio source devices of connection.
The embodiment of the present invention is made TWS sessions and is expanded on further:
1, pairing is completed.Before entering TWS sessions, the first audio source device 12 and 14 Bluetooth pairing of main earphone, second
Audio source device 18 with from 16 Bluetooth pairing of earphone.
2, TWS sessions are established.First audio source device 12 establishes TWS sessions, the second audio source device 18 with main earphone 14
TWS sessions are established with from earphone 16.
3, audio is played.After the success of TWS session establishments, when the first 12 playing audio signal of audio source device, main earphone
14 receive the first audio signal, and the first audio signal is forwarded to from earphone 16.When the second audio source device 18 plays second
When audio signal, the second audio signal is received from earphone 16, and the second audio signal is forwarded to main earphone 14.
Illustrate that TWS conversation procedures, those skilled in the art can be completed above-mentioned by any suitable head circuit
TWS conversation procedures.
Referring to Fig. 3, earphone 300 includes voicefrequency circuit and shell, voicefrequency circuit is contained in shell.
Voicefrequency circuit includes energy converter 31, wireless communication module 32, control module 33, audio decoder chip 34 and loud speaker
35, control module 33 is connect with energy converter 31, wireless communication module 32, audio decoder chip 34 and loud speaker 35 respectively.
Energy converter 31 is for acquiring ambient noise signal or audio signal, which can be what user sent out, also
Can other audio source devices send out.Energy converter 31 can be set to the suitable position of the hull outside of earphone 300.Transducing
Device 31 can be any suitable acoustic-electrical transducer part, such as microphone etc.
Wireless communication module 32 is used to be wirelessly connected with audio source device or master/slave earphone, and wireless communication module 32 receives
The audio signal of audio source device or master/slave earphone transmission.Wireless communication module 32 can be such as bluetooth (Bluetooth),
Short-range communication technique as radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB) or ZigBee.
Control core of the control module 33 as earphone 300, control module 33 coordinate other devices that can complete ear jointly
The types of functionality of machine 300.For example, control module 33 receives the audio signal that energy converter 31 acquires, and module by radio communication
32 are transferred to audio source device.For another example wireless communication module 32 receives the audio signal of audio source device transmission, and controlling
Under the control of module 33, it is sent to audio decoder chip 34, audio decoder chip 34 is decoded processing to audio signal, control
Module 33 plays out decoded audio signal by loud speaker 35.It is acquired for another example control module 33 receives energy converter 31
Ambient noise signal, and noise identical as ambient noise signal amplitude, opposite in phase is generated according to ambient noise signal and is disappeared
Except signal, to reduce the interference of ambient noise.
In some embodiments, wireless communication module 32, control module 33 and audio decoder chip 34 can be encapsulated in
In same integrated chip, herein not to the circuit structure of wireless communication module 32, control module 33 and audio decoder chip 34
Make any restrictions.
Herein, when earphone 300 is master/slave earphone, correspondingly, energy converter 31 is first/second energy converter, channel radio
Letter module 32 is first/second wireless communication module, and control module 33 is first/second control module, audio decoder chip 34
For first/second audio decoder chip, loud speaker 35 is first/second loud speaker.
When earphone 300 needs to realize active noise reduction function, Dolby circuit can be configured with to realize that the active of earphone is dropped
It makes an uproar.
Fig. 3 a are please referred to, control module 33 includes processor 331, memory 332 and Dolby circuit 333.
Processor 331 is connect with memory 332 and Dolby circuit 333 respectively.Processor 331 can be by using following
At least one of realize:Application-specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device
(DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, Wei Chu
Reason device, other electronic units for executing these functions.
In the present embodiment, the quantity of processor 331 can be 1, can also be multiple.
Memory 332 include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory 332 is optional
Include the memory remotely located relative to processor 331, these remote memories can pass through network connection to earphone.It is above-mentioned
The example of network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Memory 332 is for storing non-volatile software program, non-volatile computer executable program and module, such as
Present document relates to the corresponding program instruction/unit of earphone noise-reduction method/device.Processor 331 is stored in memory by operation
Non-volatile software program, instruction and unit in 332, to execute various function application and the data processing of earphone,
Realize above method embodiment earphone noise-reduction method/device.
Dolby circuit 333 is connect with energy converter 31 and loud speaker 35 respectively.Dolby circuit 36 receives what energy converter 31 acquired
Ambient noise signal makees noise reduction process, output noise eliminates signal under the control of processor 331 to ambient noise signal.
Fig. 3 b are please referred to, Dolby circuit 333 includes the first ADC converters 33a, sampling rate converter 33b, filter 33c
And adder 33d.
First ADC converters 33a is used to ambient noise signal being converted into digital signal, sampling rate converter 33b according to
Default sample rate samples digital signal, and filter 33c is filtered the digital signal after sampling, and in adder 33d
It is superimposed desired audio signal and the digital signal after sampling, is played by loud speaker 35.
In some embodiments, in order to avoid noise reduction is delayed, noise reduction is improved, it can be by improving sample rate conversion
The sample rate of device 33b, to reduce delay.For example, user can configure high sampling rate in memory 332 in advance, processor 331 is visited
It asks memory 332, transfers the data of high sampling rate, configuration sampling rate converter 33b so that sampling rate converter 33b can be carried
High sampling rate.
In some embodiments, in order to avoid noise reduction is delayed, noise reduction is improved, it can also be by changing filter
The filtering parameter of 33c is to reduce delay.
In further embodiments, in order to improve noise reduction reliability and stability, noise reduction feedback circuit can also be configured
To realize the feedback of noise reduction process.Fig. 3 c are please referred to, Dolby circuit 333 further includes the 2nd ADC converters 33e and compression controller
33f。
2nd ADC converters 33e will make an uproar for acquiring the noise-cancelling signal or audio signal for pushing to loud speaker 35
Sound eliminates signal or audio signal is converted into digital signal.
Whether the amplitude that compression controller 33f is used to detect the digital signal there are the abnormal feelings such as slicing more than preset value
Condition, when detecting that the amplitude of the digital signal slicing occurs more than preset value, compression controller 33f just reduces filter 33c
The amplitude of the audio data of output.
In addition to Dolby circuit structure described here, those skilled in the art can also be according to techniques disclosed herein
Scheme develops out the Dolby circuit of other replacements, and the variation or replacement made should be fallen under the scope of the present invention,
Details are not described herein.
In addition to making the above-mentioned introduction about earphone, the present embodiment also provides a kind of earphone Working mode switching method.Please
Refering to Fig. 4, earphone Working mode switching method 400 includes:
41, the current operation mode of the first earphone and/or the second earphone is determined;
In the present embodiment, the first earphone and the second earphone can be wire communication, can also be wireless communication, very can be with
For the combination of wire communication and wireless communication.Wire communication includes that the arbitrary form of audio signal is transmitted by wire transmission media
Communication, such as optical fiber, copper cable etc..Wireless communication include such as whereby bluetooth (Bluetooth), radio frequency identification (RFID),
Infrared Data Association (IrDA), ultra wide band (UWB) or ZigBee modes and the communication mode established.
Operating mode includes the arbitrary patterns for describing earphone working condition, such as:Volume control mode, playback of songs mould
Formula, song switch mode, data uplink pattern, data downstream pattern, earphone connection mode, earphone Disconnected mode, biphone are same
When use pattern, single earpiece use pattern or imitate intercom use pattern etc..It will be appreciated by those skilled in the art that herein
The earphone related application scene or earphone do not mentioned can complete the description of specific function, should can be interpreted as ear
A kind of operating mode of machine, for example, earphone is operated in shuffle play mode, which is considered earphone
Specific function can also be considered as a kind of operating mode of earphone.In those skilled in the art are instructed and guided according to embodiment
Hold, all can rationally obtain other deformation schemes, made by deform and should fall under the scope of the present invention.
When the first earphone or the second earphone connection above audio source device, the first earphone or the second earphone are operated in earphone company
Connect pattern.
When the first earphone and the second earphone all not connected upper audio source devices, the first earphone or the second earphone are operated in ear
Machine Disconnected mode.
When the first earphone and the second earphone wirelessly communicate, and the first earphone establishes wireless communication with audio source device, the
One earphone and the second earphone are all operated in biphone use pattern simultaneously.At this point, audio source device pushes audio to the first earphone
When signal, the first earphone is by the audio signal relay forwarding to the second earphone so that TWS effects are presented in the first earphone and the second earphone
Fruit.Alternatively, the first earphone receives the second audio signal of the second earphone relay forwarding, and will be the sampling of the first earphone or local
First audio signal of crawl combines the second audio signal relay forwarding to audio source device.
In order to which the first earphone or the second earphone or audio source device receive the clear sound not interfered by ambient noise signal
Frequency signal, in some embodiments, when the first earphone and the second earphone are all operated in biphone use pattern simultaneously, and the first ear
When machine and the second earphone playing audio signal, the first earphone acquires first environment noise signal and turns first environment noise signal
It is sent to the second earphone, second environment noise signal is simultaneously forwarded to the first earphone by the second earphone acquisition second environment noise signal,
First earphone generates the first noise-cancelling signal, the second earphone according to first environment noise signal and second environment noise signal
According to first environment noise signal and second environment noise signal, the second noise-cancelling signal, the first noise-cancelling signal are generated
Respective ambient noise signal can be offset with the second noise-cancelling signal, then, the respective proximal end of the first earphone and the second earphone
It can listen and get clearly audio signal.
In some embodiments, when the first earphone and the second earphone are all operated in biphone use pattern simultaneously, and first
When earphone transmits audio signal to audio source device, the first earphone receives the second environment noise signal and the of the second earphone forwarding
Two audio signals, then, the first earphone can generate first and make an uproar according to first environment noise signal and second environment noise signal
Sound eliminates signal, and by the first noise signal signal, the second audio signal and itself sampling or the first sound for locally capturing
Frequency signal is transmitted to audio source device simultaneously.Then, the distal end of audio source device, which can listen, gets clearly audio signal.
It establishes and wirelessly communicates with audio source device when the first earphone or the second earphone, but the first earphone and the second earphone are not
When establishing wireless communication, the first earphone or the second earphone are operated in single earpiece use pattern.First earphone or the second earphone are independent
With audio source device interactive communication.
When the first earphone or the second earphone are operated in single earpiece use pattern and implement active noise reduction, the first earphone or
Two earphones acquire respective ambient noise signal, and generate corresponding noise-cancelling signal according to respective ambient noise signal,
The noise-cancelling signal can eliminate the ambient noise of corresponding earpiece side.
It establishes and wirelessly communicates when the first earphone and audio source device, and the first earphone and the second earphone wirelessly communicate, and the
One earphone receives and plays the audio signal of the second earphone transmission, and the second earphone receives and plays the audio letter of the first earphone transmission
Number when, the first earphone and the second earphone, which are all operated in, imitates intercom use pattern.
When the first earphone or the second earphone are operated in imitation intercom use pattern and implement active noise reduction, the first earphone
According to first environment noise signal and second environment noise signal, the first noise-cancelling signal is generated.Second earphone is according to first
Ambient noise signal and second environment noise signal, generate the second noise-cancelling signal.First noise-cancelling signal is made an uproar with second
Sound, which eliminates signal, can offset respective ambient noise signal, and then, respectively proximal end can listen to for the first earphone and the second earphone
To clearly audio signal.
Current operation mode not only can be understood as initial operation mode when earphone is started to work, but also be also understood that
For under particular point in time or special time period, operating mode when earphone works.
In some embodiments, each operating mode all has corresponding pattern identification, and pattern identification is stored in register
Flag on.When earphone is operated under specific operation mode, the pattern identification of earphone just modified logo position makes modified mould
Formula mark corresponds to the specific operation mode.Pattern identification in flag of the earphone by accessing register, can determine and work as
Preceding operating mode.
In the present embodiment, it can both determine the current operation mode of the first earphone, can also determine the second earphone
Current operation mode can very determine the current operation mode of the first earphone and the second earphone.
42, the relative motion state between the first earphone and the second earphone is obtained;
Relative motion state is used to describe motion state between the first earphone and the second earphone, and relative motion state can be with
Including using the first earphone as object of reference, motion state of second earphone relative to the first earphone can also include with the second earphone
For object of reference, motion state of first earphone relative to the second earphone.
The motion mode of the earphone of first earphone/second is varied, such as including:Circular motion, curvilinear motion, straight line fortune
Move etc..
In some embodiments, relative motion state includes relative distance, relative acceleration or relative velocity.Please refer to figure
4a, the first earphone 4a1 by First Speed V1 as initial velocity, acceleration for g1 in the way of move right, the second earphone 4a2 is with
Two modes that speed V2 is initial velocity, acceleration is g2 are moved to the left, and the first earphone 4a1 and the second earphone 4a2 are relatively moved
And it is close to each other.At this point, the relative distance between the first earphone 4a1 and the second earphone 4a2 is S1.
When relative motion state is relative velocity, the second earphone 4a2 is Δ relative to the relative velocity of the first earphone 4a1
V=V1-V2.
When relative motion state is relative distance, the second earphone 4a2 is relative to the relative distance of the first earphone 4a1
S1。
When relative motion state is relative acceleration, the second earphone 4a2 is relative to the relative distance of the first earphone 4a1
Δ g=g1-g2.
Please refer to Fig. 4 b, the first earphone 4a1 by First Speed V1 as initial velocity, acceleration for g1 in the way of to moving to left
It is dynamic, the second earphone 4a2 by second speed V2 as initial velocity, acceleration for g2 in the way of move right, the first earphone 4a1 and the
Two earphone 4a2 are back to mobile and away from each other.
In some embodiments, relative motion state can be only movement size, can also be vector, also that is, opposite fortune
Dynamic state can be directive motion state.
User can select suitable method to detect the motion state of the earphone of the first earphone/second according to product demand, with into
One step determines the relative motion state between the first earphone and the second earphone.
For example, in some embodiments, when relative motion state is relative distance/relative acceleration/relative velocity,
It can be detected between the first earphone and the second earphone by bluetooth approach/acceleration transducer/gravity sensor/infrared sensor
Relative distance/relative acceleration/relative velocity, can also be by being assemblied in other sensors of the first earphone or the second earphone
Or relative distance/relative acceleration/the relative velocity of detection mode detection between the two.
43, according to relative motion state, the switching of the current operation mode of the first earphone and/or the second earphone is controlled.
When the first earphone and the second earphone are wire communication, line traffic control can be configured between the first earphone and the second earphone
Device can also be not necessarily to configure line control machine.When configured with line control machine, line control machine can be used for controlling the first earphone and/or the second ear
The current operation mode of machine switches.It when being not configured with line control machine, communicates, is completed certainly between the first earphone and the second earphone
Body or the switching of the current operation mode of other side can also switch for example, the first earphone switches the current operation mode of itself
The current operation mode of two earphones can similarly obtain, as the same for the second earphone.
When the first earphone and the second earphone are wireless communication, the first earphone according to relative motion state switch itself or
The current operation mode of the second earphone of person, alternatively, the second earphone switches itself according to relative motion state or the first earphone
Current operation mode.In further embodiments, the first earphone or the second earphone can also receive the control of audio source device
Instruction, the operating mode to complete itself or other side switch.
As previously mentioned, diversification is presented in the form of expression of relative motion state, it therefore, can be according to diversified opposite
Motion state controls the switching of the current operation mode of the first earphone and/or the second earphone.Specifically, it may determine that opposite fortune
Whether dynamic state meets preset state condition, if satisfied, the current operation mode of the first earphone of control and/or the second earphone is cut
It changes.If not meeting, current operation mode is returned.
For example:Relative motion state is relative distance.When the first earphone is at a distance from the relative distance of the second earphone
When value is less than pre-determined distance threshold value, the current operation mode for controlling the first earphone and/or the second earphone switches to first object work
Operation mode.When the distance value of the relative distance of the first earphone and the second earphone is more than pre-determined distance threshold value, the first earphone is controlled
And/or second the current operation mode of earphone switch to the second target operational mode.
For example:Relative motion state is relative velocity.When the size of the first earphone and the relative velocity of the second earphone
When less than pre-set velocity threshold value, the current operation mode for controlling the first earphone and/or the second earphone switches to first object work
Pattern.When the size of the first earphone and the relative velocity of the second earphone be more than pre-set velocity threshold value when, control the first earphone and/or
The current operation mode of second earphone switches to the second target operational mode.
For example:Relative motion state is relative velocity.When the side of the speed of the speed and the second earphone of the first earphone
To it is consistent when, the current operation mode for controlling the first earphone and/or the second earphone switches to first object operating mode.When first
When the speed of earphone and the inconsistent direction of the speed of the second earphone, the work at present of the first earphone and/or the second earphone is controlled
Pattern switching is to the second target operational mode.
In general, relative motion state includes each type games size and direction, those skilled in the art are in the present embodiment institute
The content of instruction and guide, can not combine each type games size or direction with any combinations or, control the first earphone and/or the second earphone
The switching of current operation mode.It should be appreciated that variation made by those skilled in the art should fall into protection scope of the present invention
Within.
During current operation mode is switched to target operational mode, current operation mode can with target operational mode
To belong to the operating mode in same parallel field, such as:Pattern and volume reduction mode, earphone connection mode and ear is turned up in volume
Machine Disconnected mode etc..In some embodiments, current operation mode can be not belonging to same parallel neck with target operational mode
The operating mode in domain, such as:Pattern and earphone connection mode, volume reduction mode and earphone Disconnected mode etc. is turned up in volume.
Therefore, in handoff procedure, current operation mode can be switched to the operating mode for belonging to same parallel field, can also be by
Switch to the operating mode for being not belonging to same parallel field.Those skilled in the art can be according to product demand, self-defining work
The correspondence switched between operation mode.
To sum up, the earphone Working mode switching method provided through this embodiment is not necessarily to the participation of button, user
Flexibly rapidly to switch the operating mode of earphone, to improve user experience.Also, it can also be reduced due to designing button
The design cost brought and difficulty.
When the first earphone of user's operation and the second earphone switching current operation mode, maloperation is easy tod produce.In order to reduce
The maloperation of user provides following embodiment to overcome drawbacks described above again herein:In some embodiments, relative motion state packet
Include the first relative motion state and the second relative motion state.In general, when the first earphone of user's operation and the second earphone move
Time course in, relative motion state can be a relative motion state, can also be at least two relative motion shapes
State.Each relative motion state can be in preset time according to the relative motion state between the first earphone and the second earphone
It is no to meet predetermined movement state to divide, for example:Fig. 4 c are please referred to, in time t1 to t2 periods, the first earphone
Relative distance between the second earphone is S1.In t2 to t3 periods, the two relative distance is S2, wherein S2
More than S1.In t3 to t4 periods, the two relative distance is S3, wherein S3 is less than S1.In t4 to t5 periods
Interior, the two relative distance is S4, wherein S4 is equal to S2.In logic of propositions, when between the first earphone and the second earphone
Relative distance be less than Smin when, current operation mode is switched into first object operating mode.Alternatively, when the first earphone and the
When relative distance between two earphones is more than Smax, current operation mode is switched into the second target operational mode.Wherein, upper
It states in each relative distance value, there is following relationship:
Smin<S1<Smax;
S2>Smax;
S3<Smin;
S4=S2.
Then, time t1 does not meet predetermined movement status condition to t2 periods corresponding relative motion state, however,
The corresponding relative motion states of time t1 to t3 meet predetermined movement status condition, and therefore, time t1 is corresponding to the t3 periods
Relative motion state is the first relative motion state, and at t3 time points, current operation mode is switched to first object work
Pattern.
And then, time t3 meets predetermined movement status condition to t4 periods corresponding relative motion state, therefore, when
Between t3 to t4 periods corresponding relative motion state be the second relative motion state, at t4 time points, by work at present mould
Formula switches to the second target operational mode.
Again and then, time t4 meets predetermined movement status condition to t5 periods corresponding relative motion state, therefore,
Time t4 to t5 periods corresponding relative motion state be third phase to motion state, at t5 time points, by work at present
Pattern switching is to first object operating mode.
Referring to Fig. 5, according to relative motion state, the current operation mode of the first earphone and/or the second earphone is controlled
During switching, first, in 431, judge whether the first relative motion state meets the first preset trigger condition.First is pre-
If trigger condition by user according to the form of expression and product demand self-defining of relative motion state, for example, first is default
Trigger condition is " when relative velocity is positive direction, trigger action ".
Secondly, in 432, if the first relative motion state does not meet the first preset trigger condition, work at present mould is returned to
Formula.
Again, in 433, if the first relative motion state meets the first preset trigger condition, according to the second relative motion
State controls the switching of the current operation mode of the first earphone and/or the second earphone.Therefore, by detection first time user
It is true further according to secondary user's operation when the relative motion state of the first/second earphone of operation meets preset trigger condition
The switching of the current operation mode of the first earphone of positive control and/or the second earphone.Therefore, user can be avoided to be not intended to for the first time
Operation caused by false triggering, to improve operating mode switching reliability.
In some embodiments, according to the second relative motion state, the current work of the first earphone and/or the second earphone is controlled
During the switching of operation mode, referring to Fig. 6, first, in 4331, judging whether the second relative motion state meets second
Preset trigger condition.Second preset trigger condition by user according to the form of expression and product demand of relative motion state voluntarily
Definition, for example, the second preset trigger condition is " when relative velocity is negative direction, trigger action ".
Secondly, in 4332, if it is not, returning to current operation mode.
Again, in 4333, if so, determine target operational mode, and the first earphone of switching and/or the second earphone are operated in
Target operational mode.In some embodiments, user builds being associated between all kinds of operating modes and relative motion state in advance
Table, first/second earphone switch to current operation mode according to the corresponding target operational mode of relative motion lookup of state
Target operational mode.
In some embodiments, during determining target operational mode, referring to Fig. 7, first, in 43331, presetting
The the first relative motion state for meeting the first preset trigger condition is first event, and meets the of the second preset trigger condition
Two opposite motion states are second event.
Secondly, in 43332, using first event and second event as combination event.
Again, in 43333, in preset time, the occurrence number of statistical combination event.Preset time herein can be with
By User Defined.
Finally, in 43334, according to the occurrence number of combination event, target operational mode is determined.
Therefore, user can determine target operational mode by the first earphone of multi-pass operation and the second earphone by turns, to
The reliability of operating mode switching is greatly improved.
In some embodiments, it according to the occurrence number of combination event, during determining target operational mode, please refers to
Fig. 8 in 433341, judges whether the occurrence number of combination event is more than default combined threshold value first.The default combined threshold value
By User Defined, such as can be 2 etc..
Secondly, in 433342, if more than target operational mode is determined;
Again, in 433343, if being less than, current operation mode is returned to.
It is described an embodiment of the present invention provides a kind of computer program product as the another aspect of the embodiment of the present invention
Computer program product includes the computer program being stored on non-volatile computer readable storage medium storing program for executing, the computer journey
Sequence includes program instruction, when described program instruction is executed by voicefrequency circuit, the voicefrequency circuit is made to execute above-mentioned earphone work
Operation mode switching method.
It is therefore not necessary to the participation of button, user flexibly can rapidly switch the operating mode of earphone, to improve use
Family experience sense.Also, it can also reduce the design cost brought because designing button and difficulty.
As the another aspect of the embodiment of the present invention, it is readable that the embodiment of the present invention additionally provides a kind of non-volatile computer
Storage medium, the computer-readable recording medium storage have computer executable instructions, the computer executable instructions to use
Earphone Working mode switching method as described above is executed in making voicefrequency circuit.
It is therefore not necessary to the participation of button, user flexibly can rapidly switch the operating mode of earphone, to improve use
Family experience sense.Also, it can also reduce the design cost brought because designing button and difficulty.
As the another aspect of the embodiment of the present invention, the embodiment of the present invention provides a kind of earphone operating mode switching device.
In the present embodiment, which is stored in what Fig. 3 a were illustrated as software systems
In memory.The earphone operating mode switching device includes some instructions, which is stored in memory, and processor can
To access the memory, call instruction is executed, to complete the control logic of above-mentioned earphone operating mode switching.
Referring to Fig. 9, earphone operating mode switching device 900 includes:Determining module 91, acquisition module 92 and control module
93。
Determining module 91 is used to determine the current operation mode of the first earphone and/or the second earphone;
Acquisition module 92 is used to obtain the relative motion state between the first earphone and the second earphone;
Control module 93 is used to, according to relative motion state, control the work at present mould of the first earphone and/or the second earphone
The switching of formula.
It is therefore not necessary to the participation of button, user flexibly can rapidly switch the operating mode of earphone, to improve use
Family experience sense.Also, it can also reduce the design cost brought because designing button and difficulty.
In some embodiments, relative motion state includes the first relative motion state and the second relative motion state.Please
Refering to fig. 10, control module 93 includes:Judging unit 931, returning unit 932 and control unit 933.
Judging unit 931 is for judging whether the first relative motion state meets the first preset trigger condition.
Returning unit 932 is used for if it is not, returning to current operation mode;
Control unit 933 is used for if so, according to the second relative motion state, controls the first earphone and/or the second earphone
The switching of current operation mode.
In some embodiments, 1 is please referred to Fig.1, control unit 933 includes:Judgment sub-unit 9331 returns to subelement
9332 and switching subelement 9333.
Judgment sub-unit 9331 is for judging whether the second relative motion state meets the second preset trigger condition.
Subelement 9332 is returned to be used for if it is not, returning to current operation mode;
Switching subelement 9333 is used for if so, determining target operational mode, and switch the first earphone and/or the second earphone work
Make in target operational mode.
In some embodiments, 2 are please referred to Fig.1, switching subelement 9333 includes:Default subelement 93331, group zygote list
Member 93332, statistics subelement 93333 and determination subelement 93334.
Default subelement 93331 is the first thing for default the first relative motion state for meeting the first preset trigger condition
Part, and it is second event to meet the second relative motion state of the second preset trigger condition.
Subelement 93332 is combined to be used for using first event and second event as combination event;
It counts subelement 93333 to be used in preset time, the occurrence number of statistical combination event;
Determination subelement 93334 is used for the occurrence number according to combination event, determines target operational mode.
In some embodiments, determination subelement 93334 is specifically used for:Judge whether the occurrence number of combination event is more than
Default combined threshold value;If more than determining target operational mode;If being less than, current operation mode is returned.
In some embodiments, relative motion state includes relative distance, relative acceleration or relative velocity.
In some embodiments, relative distance, relative acceleration or relative velocity pass through bluetooth, acceleration transducer, again
Force snesor or infrared sensor are detected and are obtained.
In some embodiments, operating mode includes earphone connection mode, earphone Disconnected mode, biphone while using mould
Formula, single earpiece use pattern imitate intercom use pattern.
It should be noted that above-mentioned earphone operating mode switching device can perform the earphone work that the embodiment of the present invention is provided
Operation mode switching method has the corresponding function module of execution method and advantageous effect.Not in earphone operating mode switching device
The technical detail of detailed description in embodiment, reference can be made to the earphone Working mode switching method that the embodiment of the present invention is provided.
By the description of above embodiment, those of ordinary skill in the art can be understood that each embodiment can borrow
Help software that the mode of general hardware platform is added to realize, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can manage
Solution realize above-described embodiment method in all or part of flow be can be instructed by computer program relevant hardware come
It completes, the program can be stored in a computer read/write memory medium, and the program is when being executed, it may include such as above-mentioned each
The flow of the embodiment of method.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-Only
Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
It under the thinking of invention, can also be combined between the technical characteristic in above example or different embodiment, step can be with
It is realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity, they do not have
Have and is provided in details;Although the present invention is described in detail referring to the foregoing embodiments, the ordinary skill people of this field
Member should understand that:It still can be with technical scheme described in the above embodiments is modified, or to which part skill
Art feature carries out equivalent replacement;And these modifications or replacements, each reality of the application that it does not separate the essence of the corresponding technical solution
Apply the range of a technical solution.
Claims (21)
1. a kind of earphone Working mode switching method, which is characterized in that including:
Determine the current operation mode of the first earphone and/or the second earphone;
Obtain the relative motion state between first earphone and second earphone;
According to the relative motion state, cutting for the current operation mode of first earphone and/or second earphone is controlled
It changes.
2. according to the method described in claim 1, it is characterized in that, first earphone is wirelessly communicated with second earphone.
3. according to the method described in claim 1, it is characterized in that, the relative motion state includes the first relative motion state
With the second relative motion state;
It is described according to the relative motion state, control the current operation mode of first earphone and/or second earphone
Switching, including:
Judge whether the first relative motion state meets the first preset trigger condition;
If it is not, returning to the current operation mode;
If so, according to the second relative motion state, the work at present of first earphone and/or second earphone is controlled
The switching of pattern.
4. according to the method described in claim 3, it is characterized in that, described according to the second relative motion state, control institute
The switching of the current operation mode of the first earphone and/or second earphone is stated, including:
Judge whether the second relative motion state meets the second preset trigger condition;
If it is not, returning to the current operation mode;
If so, determining target operational mode, and switch first earphone and/or second earphone is operated in the target work
Operation mode.
5. according to the method described in claim 4, it is characterized in that, the determining target operational mode, including:
Default the first relative motion state for meeting first preset trigger condition is first event, and meets described second
Second relative motion state of preset trigger condition is second event;
Using the first event and the second event as combination event;
In preset time, the occurrence number of the combination event is counted;
According to the occurrence number of the combination event, target operational mode is determined.
6. according to the method described in claim 5, it is characterized in that, the occurrence number according to the combination event, determines
Target operational mode, including:
Judge whether the occurrence number of the combination event is more than default combined threshold value;
If more than determining target operational mode;
If being less than, the current operation mode is returned.
7. method according to any one of claims 1 to 6, which is characterized in that the relative motion state include it is opposite away from
From, relative acceleration or relative velocity.
8. the method according to the description of claim 7 is characterized in that
The relative distance, relative acceleration or relative velocity pass through bluetooth, acceleration transducer, gravity sensor or infrared biography
Sensor is detected and is obtained.
9. method according to any one of claims 1 to 6, which is characterized in that the operating mode includes earphone connection mould
Formula, earphone Disconnected mode, biphone while use pattern, single earpiece use pattern imitate intercom use pattern.
10. a kind of earphone operating mode switching device, which is characterized in that including:
Determining module, the current operation mode for determining the first earphone and/or the second earphone;
Acquisition module, for obtaining the relative motion state between first earphone and second earphone;
Control module, for according to the relative motion state, controlling the current of first earphone and/or second earphone
The switching of operating mode.
11. device according to claim 10, which is characterized in that first earphone and the second earphone channel radio
Letter.
12. device according to claim 10, which is characterized in that the relative motion state includes the first relative motion shape
State and the second relative motion state;
The control module includes:
Judging unit, for judging whether the first relative motion state meets the first preset trigger condition;
Returning unit, for if it is not, returning to the current operation mode;
Control unit is used to, if so, according to the second relative motion state, control first earphone and/or described second
The switching of the current operation mode of earphone.
13. device according to claim 12, which is characterized in that described control unit includes:
Judgment sub-unit, for judging whether the second relative motion state meets the second preset trigger condition;
Subelement is returned to, for if it is not, returning to the current operation mode;
Switching subelement is used for if so, determining target operational mode, and switch first earphone and/or second earphone
It is operated in the target operational mode.
14. device according to claim 13, which is characterized in that the switching subelement includes:
Default subelement is first event for default the first relative motion state for meeting first preset trigger condition,
And it is second event to meet the second relative motion state of second preset trigger condition;
Subelement is combined, for using the first event and the second event as combination event;
Subelement is counted, in preset time, counting the occurrence number of the combination event;
Determination subelement determines target operational mode for the occurrence number according to the combination event.
15. device according to claim 13, which is characterized in that the determination subelement is specifically used for:
Judge whether the occurrence number of the combination event is more than default combined threshold value;
If more than determining target operational mode;
If being less than, the current operation mode is returned.
16. according to claim 10 to 15 any one of them device, which is characterized in that the relative motion state includes opposite
Distance, relative acceleration or relative velocity.
17. device according to claim 16, which is characterized in that
The relative distance, relative acceleration or relative velocity pass through bluetooth, acceleration transducer, gravity sensor or infrared biography
Sensor is detected and is obtained.
18. according to claim 10 to 15 any one of them device, which is characterized in that the operating mode includes earphone connection
Pattern, earphone Disconnected mode, biphone while use pattern, single earpiece use pattern imitate intercom use pattern.
19. a kind of voicefrequency circuit, which is characterized in that including:Energy converter, wireless communication module, audio decoder chip, control module
And loud speaker, the control module respectively with the energy converter, the wireless communication module, the audio decoder chip and institute
State loud speaker connection;
Wherein, the control module includes:
At least one processor;And
The memory being connect at least one processor communication;Wherein, be stored with can be by described at least one for the memory
The instruction that a processor executes, described instruction is executed by least one processor, so that at least one processor energy
It is enough in and executes earphone Working mode switching method as described in any one of claim 1 to 9.
20. a kind of earphone, which is characterized in that including shell and voicefrequency circuit as claimed in claim 19, the audio-frequency electric
Road is contained in the shell.
21. a kind of earphone system, which is characterized in that including at least two earphones as claimed in claim 20, two ears
Mutual wireless telecommunications between machine.
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 true CN108496374A (en) | 2018-09-04 |
CN108496374B 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) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151644A (en) * | 2018-09-21 | 2019-01-04 | 万魔声学科技有限公司 | The master slave mode distribution method and device of earphone |
CN109286870A (en) * | 2018-11-23 | 2019-01-29 | 歌尔科技有限公司 | A kind of pairing control method, device and the wireless headset of wireless headset |
CN109639903A (en) * | 2018-10-29 | 2019-04-16 | 歌尔科技有限公司 | Interaction control method, the device of earphone, earphone and storage medium |
CN110933738A (en) * | 2019-11-22 | 2020-03-27 | 歌尔股份有限公司 | Mode switching method and system of wireless headset and TWS headset system |
CN110933550A (en) * | 2019-12-05 | 2020-03-27 | 歌尔股份有限公司 | Control method and system of wireless earphone pair and wireless communication equipment |
CN111182597A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Processing method and device |
WO2020113588A1 (en) * | 2018-12-07 | 2020-06-11 | 华为技术有限公司 | Point-to-multipoint data transmission method, and electronic device |
CN111787444A (en) * | 2020-06-19 | 2020-10-16 | 深圳市蓝色冰川教育科技有限公司 | Bluetooth headset pairing method and device, Bluetooth headset and storage medium |
CN112911449A (en) * | 2021-03-04 | 2021-06-04 | 歌尔科技有限公司 | TWS bluetooth headset |
CN113115179A (en) * | 2021-03-24 | 2021-07-13 | 维沃移动通信有限公司 | Working state adjusting method and device |
CN113242495A (en) * | 2021-06-10 | 2021-08-10 | 东莞立讯精密工业有限公司 | True wireless stereo earphone assembly and control method thereof |
CN113596670A (en) * | 2021-08-30 | 2021-11-02 | 歌尔科技有限公司 | Earphone, earphone noise reduction mode switching method and device, and storage medium |
CN113660572A (en) * | 2021-08-30 | 2021-11-16 | 歌尔科技有限公司 | Earphone call control method and device, earphone equipment and storage medium |
CN116055932A (en) * | 2022-08-12 | 2023-05-02 | 荣耀终端有限公司 | Earphone main and auxiliary ear switching method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113411702B (en) * | 2020-03-16 | 2024-05-14 | 维沃移动通信有限公司 | Sound channel configuration method and electronic equipment |
EP3896995B1 (en) * | 2020-04-17 | 2023-09-13 | Nokia Technologies Oy | Providing spatial audio signals |
CN111988771B (en) * | 2020-08-28 | 2023-09-15 | 维沃移动通信有限公司 | Wireless connection control method and device and electronic equipment |
CN113810814B (en) * | 2021-08-17 | 2023-12-01 | 百度在线网络技术(北京)有限公司 | Earphone mode switching control method and device, electronic equipment and storage medium |
CN117440279A (en) * | 2022-07-15 | 2024-01-23 | Oppo广东移动通信有限公司 | Earphone intercom method and device, bluetooth earphone and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070149261A1 (en) * | 2005-12-23 | 2007-06-28 | Plantronics, Inc. | Wireless stereo headset |
US20070230735A1 (en) * | 2006-03-16 | 2007-10-04 | Samsung Electronics Co., Ltd. | Selective type headset |
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 |
CN104507004A (en) * | 2014-11-28 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Player control method, player and earphones |
CN204906670U (en) * | 2015-08-28 | 2015-12-23 | 青岛歌尔声学科技有限公司 | Earphone that single dual track is switched |
CN106941640A (en) * | 2017-03-16 | 2017-07-11 | 歌尔科技有限公司 | A kind of earphone |
CN107040847A (en) * | 2016-02-03 | 2017-08-11 | Lg电子株式会社 | System and its control method including main loudspeaker and secondary loudspeaker |
CN107071648A (en) * | 2017-06-19 | 2017-08-18 | 深圳市泰衡诺科技有限公司上海分公司 | Sound plays regulating system, device and method |
US9877098B1 (en) * | 2016-09-09 | 2018-01-23 | Microsoft Technology Licensing, Llc | Audio earphones having an adjustable cable system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9326058B2 (en) * | 2012-09-26 | 2016-04-26 | Sony Corporation | Control method of mobile terminal apparatus |
CN104469624B (en) * | 2014-12-16 | 2017-06-30 | 广东欧珀移动通信有限公司 | Earphone sound channel changing method, system, electronic equipment and earphone |
-
2018
- 2018-04-13 WO PCT/CN2018/082996 patent/WO2019196101A1/en active Application Filing
- 2018-04-13 CN CN201880000279.XA patent/CN108496374B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101297589A (en) * | 2005-10-28 | 2008-10-29 | 艾美卡有限公司 | Audio system |
US20070149261A1 (en) * | 2005-12-23 | 2007-06-28 | Plantronics, Inc. | Wireless stereo headset |
US20070230735A1 (en) * | 2006-03-16 | 2007-10-04 | Samsung Electronics Co., Ltd. | Selective type headset |
CN104125523A (en) * | 2014-08-01 | 2014-10-29 | 周祥宇 | Dynamic earphone system and application method thereof |
CN104507004A (en) * | 2014-11-28 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Player control method, player and earphones |
CN204906670U (en) * | 2015-08-28 | 2015-12-23 | 青岛歌尔声学科技有限公司 | Earphone that single dual track is switched |
CN107040847A (en) * | 2016-02-03 | 2017-08-11 | Lg电子株式会社 | System and its control method including main loudspeaker and secondary loudspeaker |
US9877098B1 (en) * | 2016-09-09 | 2018-01-23 | Microsoft Technology Licensing, Llc | Audio earphones having an adjustable cable system |
CN106941640A (en) * | 2017-03-16 | 2017-07-11 | 歌尔科技有限公司 | A kind of earphone |
CN107071648A (en) * | 2017-06-19 | 2017-08-18 | 深圳市泰衡诺科技有限公司上海分公司 | Sound plays regulating system, device and method |
Cited By (22)
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 |
CN109151644A (en) * | 2018-09-21 | 2019-01-04 | 万魔声学科技有限公司 | The master slave mode distribution method and device of earphone |
CN109639903A (en) * | 2018-10-29 | 2019-04-16 | 歌尔科技有限公司 | Interaction control method, the device of earphone, earphone and storage medium |
US11558687B2 (en) | 2018-10-29 | 2023-01-17 | Goertek Inc. | Interactive control method and device of earphones, 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 |
CN114915880A (en) * | 2018-12-07 | 2022-08-16 | 华为技术有限公司 | Point-to-multipoint data transmission method and electronic equipment |
WO2020113588A1 (en) * | 2018-12-07 | 2020-06-11 | 华为技术有限公司 | Point-to-multipoint data transmission method, and electronic device |
CN110933738A (en) * | 2019-11-22 | 2020-03-27 | 歌尔股份有限公司 | Mode switching method and system of wireless headset and TWS headset system |
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 |
CN111182597A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Processing method and device |
CN111182597B (en) * | 2019-12-31 | 2021-10-22 | 联想(北京)有限公司 | Processing method and device |
CN111787444A (en) * | 2020-06-19 | 2020-10-16 | 深圳市蓝色冰川教育科技有限公司 | Bluetooth headset pairing method and device, Bluetooth headset and storage medium |
CN112911449A (en) * | 2021-03-04 | 2021-06-04 | 歌尔科技有限公司 | TWS bluetooth headset |
CN113115179A (en) * | 2021-03-24 | 2021-07-13 | 维沃移动通信有限公司 | Working state adjusting method and device |
CN113242495A (en) * | 2021-06-10 | 2021-08-10 | 东莞立讯精密工业有限公司 | True wireless stereo earphone assembly and control method thereof |
CN113660572A (en) * | 2021-08-30 | 2021-11-16 | 歌尔科技有限公司 | 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 |
CN113660572B (en) * | 2021-08-30 | 2022-11-01 | 歌尔科技有限公司 | Earphone call control method and device, earphone equipment and storage medium |
CN113596670A (en) * | 2021-08-30 | 2021-11-02 | 歌尔科技有限公司 | Earphone, earphone noise reduction mode switching method and device, and storage medium |
CN116055932A (en) * | 2022-08-12 | 2023-05-02 | 荣耀终端有限公司 | Earphone main and auxiliary ear switching method |
CN116055932B (en) * | 2022-08-12 | 2023-09-15 | 荣耀终端有限公司 | Earphone main and auxiliary ear switching method |
Also Published As
Publication number | Publication date |
---|---|
WO2019196101A1 (en) | 2019-10-17 |
CN108496374B (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108496374A (en) | Earphone Working mode switching method and device, voicefrequency circuit, earphone and earphone system | |
CN109314813A (en) | Earphone wireless communications method, main earphone, from earphone and earphone system | |
CN106162413B (en) | The Headphone device of specific environment sound prompting mode | |
CN104012111B (en) | Subminiature earphone | |
US10499183B2 (en) | Systems and methods employing multiple individual wireless earbuds for a common audio source | |
CN105282646B (en) | To enhance the system and relevant device of the multimedia in mobile device | |
JP2017216712A (en) | Wired and wireless ear set using ear-insertion-type microphone | |
CN108886647B (en) | Earphone noise reduction method and device, master earphone, slave earphone and earphone noise reduction system | |
CN104581479B (en) | A kind of detachable wireless headphone system | |
KR101381289B1 (en) | Wire and wireless earset using in ear-type microphone | |
CN107371081A (en) | A kind of earphone | |
WO2006023857A1 (en) | Method and apparatus for wireless communication using an inductive interface | |
JP2008193688A (en) | Headset | |
CN103823655B (en) | A kind of audio-frequency inputting method, electronic equipment and the first audio output device | |
US12075225B2 (en) | Systems and methods for broadcasting audio | |
CN111988689A (en) | TWS earphone master-slave switching method | |
CN111314814A (en) | TWS Bluetooth headset-based translation method, mobile terminal, TWS Bluetooth headset and storage medium | |
CN110913297B (en) | Composite earphone | |
CN101834923A (en) | Method for controlling sound playing of mobile terminal and mobile terminal | |
CN104581515B (en) | A kind of audio playing apparatus, method and mobile terminal | |
CN105187993B (en) | A kind of three-dimension stereo Headphone device and restoring method | |
CN103813228A (en) | Earphones and activation method thereof | |
CN202759583U (en) | Audio acquisition device and audio recording device | |
CN213462193U (en) | Magnetic traffic earphone | |
CN204377136U (en) | A kind of holographic audio frequency gathers playback reproducer |
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. |