CN106851486A - A kind of changing method and mobile terminal of earphone sound channel - Google Patents
A kind of changing method and mobile terminal of earphone sound channel Download PDFInfo
- Publication number
- CN106851486A CN106851486A CN201611079993.1A CN201611079993A CN106851486A CN 106851486 A CN106851486 A CN 106851486A CN 201611079993 A CN201611079993 A CN 201611079993A CN 106851486 A CN106851486 A CN 106851486A
- Authority
- CN
- China
- Prior art keywords
- earphone
- parameter
- values
- mobile terminal
- threshold value
- 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
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/12—Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Otolaryngology (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a kind of changing method and mobile terminal of earphone sound channel.The method includes:The parameter of the impedance curve of real-time detection earphone;The parameter of the impedance curve is compared with the first default impedance parameter;If the parameter of the impedance curve is swapped more than the described first default impedance parameter by being input into the left channel audio signal and right channel audio signal of the earphone.Simultaneously with the first default impedance parameter be compared for it by the parameter of the impedance curve that the present invention passes through test earphone, whether worn instead with this determination earphone, and in the case of it is determined that wearing instead, left and right acoustic channels audio signal to earphone is interchangeable, it is achieved thereby that automatic detection and switching to earphone left and right acoustic channels, avoid user earphone is carried out when anti-earphone is worn cumbersome and earphone the step of manual switching brings wear uppick caused by inverse time stereo audio it is in opposite direction, so as to cause the problem of Consumer's Experience sense difference.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of changing method and mobile terminal of earphone sound channel.
Background technology
With the popularization of mobile terminal, increasing people likes listening to music and viewing video using mobile terminal,
So in order to ensure good listening experience, many users can listen to audio using earphone.And listen to body in order to lift earphone
Test, the sound channel of left and right earphone can be made different, so as to enable users to hear relief audio.
But, when user is when listening to stereo, if left and right earphone is worn instead, cause left and right acoustic channels not wear correctly, that
It is opposite that the experience of user's uppick is likely to music or the real environment of video and artistic conception.Especially seeing video
When, if left and right acoustic channels are conversely, what i.e. left ear received is right audio channel, what auris dextra was received is left audio, that
Have directive action on video screen to be possible to be opposite with audio joined together, cause Consumer's Experience sense poor.
And when facing left and right earphone and wearing the situation for causing left and right acoustic channels to be matched with left and right ear on the contrary, user only exists
Can just find to wear when having worn anti-and uppick audio it is anti-, and, manually can only make left and right acoustic channels by switching right and left earphone
Normally, and in the prior art still without the scheme that can automatically carry out left and right acoustic channels detection and switching.
The content of the invention
The embodiment of the present invention provides a kind of changing method and mobile terminal of earphone sound channel, to realize earphone left and right acoustic channels
Automatic detection and switching, it is to avoid user carries out cumbersome and earphone the step of manual switching brings to earphone when anti-earphone is worn and wears
The stereo audio of the uppick caused by inverse time it is in opposite direction, so as to cause Consumer's Experience sense difference problem.
In a first aspect, the embodiment of the invention provides a kind of changing method of earphone sound channel, mobile terminal is applied to, it is described
Mobile terminal is connected with earphone, and multiple leak holes are provided with the outside of the earphone, and methods described includes:
The parameter of the impedance curve of earphone described in real-time detection;
The parameter of the impedance curve is compared with the first default impedance parameter;
If the parameter of the impedance curve will be input into the left sound to the earphone more than the described first default impedance parameter
Audio channel signal and right channel audio signal are swapped.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal is connected with earphone, described
Multiple leak holes are provided with the outside of earphone, the mobile terminal includes:
Real-time detection module, for the parameter of the impedance curve of earphone described in real-time detection;
First comparison module, for the parameter of the impedance curve to be compared with the first default impedance parameter;
Switching Module, if presetting impedance parameter more than described first for the parameter of the impedance curve, will be input into extremely
The left channel audio signal and right channel audio signal of the earphone are swapped.
So, the embodiment of the present invention is by the parameter of the impedance curve of test earphone and by itself and the first default impedance parameter
Whether it is compared, is worn instead with this determination earphone, and in the case of it is determined that wearing instead, the left and right acoustic channels audio signal to earphone is entered
Row is exchanged, it is achieved thereby that automatic detection and switching to earphone left and right acoustic channels, it is to avoid user is when anti-earphone is worn to earphone
Carry out cumbersome and earphone the step of manual switching brings wear uppick caused by inverse time stereo audio it is in opposite direction,
So as to cause the problem of Consumer's Experience sense difference.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the changing method of the earphone sound channel of one embodiment of the invention;
Fig. 2 is the earphone schematic diagram of one embodiment of the invention;
Fig. 3 is the earphone schematic diagram of another embodiment of the present invention;
Fig. 4 is the block diagram of the mobile terminal of one embodiment of the invention;
Fig. 5 is the block diagram of another mobile terminal according to Fig. 4 embodiments of the present invention;
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the invention;
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Reference picture 1, shows the flow chart of the changing method of the earphone sound channel of one embodiment of the invention, is applied to movement
Terminal, the mobile terminal is connected with earphone.
Reference picture 2, the earphone of the embodiment of the present invention except opening up leak holes in the upper and lower sides of earphone, (do not show by prior art
Go out) outside, also multiple leak holes, specifically, the embodiment of the present invention have additionally been opened up in the outer part when earphone is correctly worn
The outer side edges of left and right earphone (left earplug and right earplug i.e. shown in Fig. 2) be equipped with multiple leak holes (these being vertically arranged
In the outer side edges of left earphone and right earphone respectively illustrate 2 leak holes 2L and 2R), it is described when in left and right, earphone is correctly worn
The exposure of multiple leak holes, in open state, wears that (i.e. left earphone is worn on auris dextra, and auris dextra the left and right earphone or so is counter
Machine is worn on left ear) when, the multiple leak holes are then blocked by ear, that is, be blocked.And once left and right acoustic channels wear anti-leak holes
When being blocked, now the parameter of the impedance curve of earphone (parameter for giving tacit consent to the impedance curve of left and right earphone here is consistent) will occur
Change, can detect left and right earphone and wear anti-situation with this.
Specifically, methods described specifically may include steps of:
Step 101, the parameter of the impedance curve of earphone described in real-time detection;
Wherein, when user wears above-mentioned side of the invention is provided with the earphone of leak holes to use mobile terminal playing audio
(such as stereo music), the embodiment of the present invention just can carry out real-time detection to the parameter of the impedance curve of earphone;
Step 102, the parameter of the impedance curve is compared with the first default impedance parameter;
Then, the parameter of the impedance curve that will be detected is compared with the first impedance parameter for pre-setting.
Step 103, if the parameter of the impedance curve will be input into the ear more than the described first default impedance parameter
The left channel audio signal and right channel audio signal of machine are swapped.
So, if the parameter of the impedance curve is more than default first impedance parameter, the above-mentioned side of earphone is revealed
2L and 2R are plugged in hole, i.e., earphone is worn instead, then need left channel audio signal and the input to auris dextra that will be input into left earphone
The right channel audio signal of machine is interchangeable, so that what the auris dextra of user received is right channel audio signal, the left side of user
What ear was received is left channel audio signal so that the music heard matches with the scene of reality.
So, the embodiment of the present invention is by the parameter of the impedance curve of test earphone and by itself and the first default impedance parameter
Whether it is compared, is worn instead with this determination earphone, and in the case of it is determined that wearing instead, the left and right acoustic channels audio signal to earphone is entered
Row is exchanged, it is achieved thereby that automatic detection and switching to earphone left and right acoustic channels, it is to avoid user is when anti-earphone is worn to earphone
Carry out cumbersome and earphone the step of manual switching brings wear uppick caused by inverse time stereo audio it is in opposite direction,
So as to cause the problem of Consumer's Experience sense difference.
On the basis of above-described embodiment, the changing method of the earphone sound channel for illustrating the embodiment of the present invention is continued with.
Alternatively, in one embodiment, the parameter of above-mentioned impedance curve can include:First maximum of impedance curve
Corresponding frequency f0 and Q value.
Alternatively, in one embodiment, after the step 103, method according to embodiments of the present invention also includes:
The frequency response curve of earphone described in parameter regulation according to the impedance curve.
That is, being worn inverse time in discovery left and right earphone, (i.e. the parameter of impedance curve is more than the described first default impedance ginseng
Number), the low frequency of the music that left and right ear is heard, intermediate frequency and high frequency also can be different, therefore, it is normal in order to enable users to uppick
Stereo, the embodiment of the present invention can not only be interchangeable to left and right acoustic channels audio signal, can also be according to the resistance for detecting
The parameter (such as above-mentioned f0 and Q values) of anti-curve is adjusted come the parameter of the frequency response curve to earphone, so that user
The frequency and loudness of the music that left and right ear is listened to are also normal.
Alternatively, when the parameter of above-mentioned impedance curve includes f0 and Q values, in execution above-mentioned steps 102, then can be with
Realize in the following way:The f0 is compared with the first predeterminated frequency threshold value;By the Q values and the first default value of Q
Threshold value is compared.
Accordingly, when step 103 is performed, can make the following judgment:If f0 is more than the first predeterminated frequency threshold
Value, and the Q values are more than the first default value of Q threshold value, then will be input into left channel audio signal and right sound to the earphone
Audio channel signal is swapped.
If conversely, be unsatisfactory for above-mentioned Rule of judgment, illustrating that left and right earphone is worn correctly, continue normal to play sound
Frequently.
Alternatively, reference picture 3, in order to also realize automatically adjusting for earpiece volume while realizing that earphone sound channel switches,
Be also provided with the outside of earphone according to embodiments of the present invention horizontally arranged multiple leak holes (2L ' as shown in Figure 3 and
2R '), wherein, when the earphone wears lax, the number of exposed horizontally arranged leak holes, wears more than in the earphone
The number of exposed horizontally arranged leak holes when compacting.
Wherein, horizontally arranged leak holes and the leak holes being vertically arranged there may be a leak holes for coincidence, i.e. Fig. 3
In be not only marked with 2R but also be marked with the leak holes of 2R ' and be not only marked with 2L but also be marked with the leak holes of 2L '.
Accordingly, after step 103 is performed, method according to embodiments of the present invention can also comprise the following steps:Will
The f0 for detecting is compared with second frequency threshold value, obtains the comparative result of f0;The Q values and second that will be detected
Default value of Q threshold value is compared, and obtains the comparative result of Q values;The comparing knot of comparative result and the Q values according to the f0
Really, the volume of the earphone is adjusted.
Wherein, in the comparative result according to the f0 and the comparative result of the Q values, when adjusting the volume of the earphone,
If the f0 is more than the second predeterminated frequency threshold value, and the Q values are more than the second default value of Q threshold value, then turn down described
The volume of earphone;If the f0 is less than the second predeterminated frequency threshold value, and the Q values are less than the second default value of Q threshold value,
Then heighten the volume of the earphone.
If that is, the comparing that earphone is worn is loose, then the leak holes that horizontally arranged leak holes are blocked by ear
It is less when tight compared with the comparing that earphone is worn.And if relatively tight, the then earphone better tightness worn of earphone, then impedance curve
It is thinner, so that f0 the and Q values for detecting are bigger;And if earphone wear it is more loose, then earphone sealing is reported to the leadship after accomplishing a task, then resistance
Anti- curve is also more fat, so that f0 the and Q values for detecting are smaller.Therefore, it is all higher than corresponding in f0 the and Q values for detecting
During two predetermined threshold values, then illustrate that earphone is worn tighter, then in order to protect hearing, can moderately turn down earpiece volume;And such as
It is more loose that fruit illustrates that earphone is worn when f0 the and Q values for detecting are respectively less than corresponding second predetermined threshold value, then, then in order to protect
The definition listened to of card and and impression is listened in lifting, can moderately heighten earpiece volume.So, the embodiment of the present invention can just lead to
Cross and set up horizontally-arranged leak holes in earphone side and carry out the tightness that test earphone is worn, so as to adjust the volume of earphone, carry
Rise Consumer's Experience.
In an instantiation, the switching flow of above-mentioned earphone sound channel can be realized by mobile terminal.It is specific and
Speech:
The mobile terminal includes playing module, ear amplification module, judge module, handover module, audio frequency parameter modified module.
Wherein, playing module is used to play normal audio signal and leak holes (leak holes being for example vertically arranged) quilt
After left and right acoustic channels audio signal being exchanged after stifled, and the audio signal after regulation frequency response curve;
Ear amplification module is made up of earphone power amplifier, analog-digital converter (ADC) and amplifier.Wherein, earphone power is put
Big device is used for receiving audio signal, and drives earphone to work;ADC is used for the voltage and current signal of test earphone and sends to amplification
Device;Amplifier is used to be amplified treatment to the voltage and current signal that ADC sends and upload the voltage and current signal after amplification
To processor;
Judge module, including processor, calculate for the voltage and current signal after the amplification using processor to upload
Method treatment, so as to obtain the real-time f0 and Q values of earphone, and by they respectively with corresponding first predetermined threshold value (i.e. above-mentioned first
Predeterminated frequency threshold value and the first default value of Q threshold value) it is compared, and be that real-time f0 is more than the first predeterminated frequency threshold in comparative result
Value, and when Q values are more than the first default value of Q threshold value in real time, switching command to handover module is sent, and send regulating command to sound
Frequency parameter adapting module;
Handover module, for after switching command is received, for being input into left channel audio signal and the right side to earphone
Channel audio signal is interchangeable treatment;
Audio frequency parameter modified module, for after regulating command is received, otherwise wears the real-time f0 of rear detection for earphone
Parameter regulation is carried out to the frequency response curve of left and right earphone with Q values and parameter is loaded.
By means of the mobile terminal of the embodiment of the present invention, the embodiment of the present invention can when earphone and mobile terminal are connected,
It is directly realized by automatic detection and the switching of earphone left and right acoustic channels, it is to avoid user carries out manual switching institute when anti-earphone is worn to earphone
The step of bringing be cumbersome and earphone wear uppick caused by inverse time stereo audio it is in opposite direction, so as to cause Consumer's Experience
Feel the problem of difference, simplify the operation of user, the audio signal of the different sound channels that can wear inverse time to earphone in time is adjusted,
Lifting Consumer's Experience.
Reference picture 4, shows the block diagram of the mobile terminal of one embodiment of the invention.The mobile terminal connects with earphone
Connect, the multiple leak holes being vertically arranged, when earphone is correctly worn in left and right, the multiple leak holes are provided with the outside of the earphone
Exposure, the left and right earphone or so is counter wear when, the multiple leak holes are blocked, and mobile terminal includes shown in Fig. 4:
Real-time detection module 401, for the parameter of the impedance curve of earphone described in real-time detection;
First comparison module 402, for the parameter of the impedance curve to be compared with the first default impedance parameter;
Switching Module 403, if presetting impedance parameter more than described first for the parameter of the impedance curve, will input
Left channel audio signal and right channel audio signal to the earphone are swapped.
Alternatively, reference picture 5, on the basis of Fig. 4, the mobile terminal also includes:
Adjustment module 404, for the frequency response curve of earphone described in the parameter regulation according to the impedance curve.
Wherein, the parameter of the impedance curve includes:The corresponding frequency f0 of first maximum of impedance curve, quality factor
Q values.
Alternatively, first comparison module 402 includes:
First comparison sub-module 412, for the f0 to be compared with the first predeterminated frequency threshold value;
Second comparison sub-module 422, for the Q values to be compared with the first default value of Q threshold value.
Alternatively, reference picture 5, on the basis of Fig. 4, the mobile terminal also includes:
Second comparison module 405, the f0 and second frequency threshold value for that will detect are compared, and obtain the ratio of f0
Relatively result;
3rd comparison module 406, the Q values and the second default value of Q threshold value for that will detect are compared, and obtain Q
The comparative result of value;
Adjusting module 407, for the comparative result according to the f0 and the comparative result of the Q values, adjusts the earphone
Volume.
The adjusting module 407 includes:
Submodule 417 is turned down, if being more than the second predeterminated frequency threshold value, and the Q values more than described for the f0
Second default value of Q threshold value, then turn down the volume of the earphone;
Submodule 427 is heightened, if being less than the second predeterminated frequency threshold value, and the Q values less than described for the f0
Second default value of Q threshold value, then heighten the volume of the earphone.
Mobile terminal can realize the automatic inspection to earphone left and right acoustic channels of mobile terminal realization in above method embodiment
Survey and switch, it is to avoid user carries out cumbersome and earphone the step of manual switching brings to earphone when anti-earphone is worn and wears instead
When caused uppick stereo audio it is in opposite direction, so as to cause the problem of Consumer's Experience sense difference, simplify user's
Operation, the audio signal of the different sound channels that can wear inverse time to earphone in time is adjusted, and the effect of Consumer's Experience is lifted, to keep away
Exempt to repeat, repeat no more here.
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 600 shown in Fig. 6 includes:At least
One processor 601, memory 602, at least one network interface 604 and user interface 603.Each in mobile terminal 600
Component is coupled by bus system 605.It is understood that bus system 605 is used to realize that the connection between these components to be led to
Letter.Bus system 605 in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.It but is
For the sake of clear explanation, in figure 6 various buses are all designated as bus system 605.The mobile terminal 600 (does not show with earphone
Go out) connection, multiple leak holes are provided with the outside of the earphone.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside height
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 602 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for
Realize various basic businesses and process hardware based task.Application program 6022, comprising various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program for calling memory 602 to store or instruction, specifically, can be application
The program stored in program 6022 or instruction, processor 601 are used for the parameter of the impedance curve of earphone described in real-time detection;By institute
The parameter and the first default impedance parameter for stating impedance curve are compared;If the parameter of the impedance curve is pre- more than described first
If impedance parameter, then will be input into the left channel audio signal and right channel audio signal of the earphone and swap.
The method that the embodiments of the present invention are disclosed can apply in processor 601, or be realized by processor 601.
Processor 601 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned treatment
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 602, processor 601 reads the information in memory 602, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
In reason device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can
To realize within a processor or outside processor.
Alternatively, processor 601 is additionally operable to:Left channel audio signal and right audio channel to the earphone will be input into
After signal is swapped, the frequency response curve of earphone described in the parameter regulation according to the impedance curve.
Wherein, the parameter of the impedance curve includes:The corresponding frequency f0 of first maximum of impedance curve, quality factor
Q values.
Alternatively, processor 601 is additionally operable to:The f0 is compared with the first predeterminated frequency threshold value;
The Q values are compared with the first default value of Q threshold value.
Alternatively, processor 601 is additionally operable to:To be input into the left channel audio signal and right audio channel of the earphone and believe
After number swapping, the f0 that will be detected is compared with second frequency threshold value, obtains the comparative result of f0;Will detection
To the Q values be compared with the second default value of Q threshold value, obtain the comparative result of Q values;Comparative result according to the f0 and
The comparative result of the Q values, adjusts the volume of the earphone.
Alternatively, processor 601 is additionally operable to:If the f0 is more than the second predeterminated frequency threshold value, and the Q values are more than
The second default value of Q threshold value, then turn down the volume of the earphone;If the f0 is less than the second predeterminated frequency threshold value, and
The Q values are less than the second default value of Q threshold value, then heighten the volume of the earphone.
Mobile terminal 600 can realize the automatic detection to earphone left and right acoustic channels of mobile terminal realization in previous embodiment
And switching, it is to avoid user carries out cumbersome and earphone the step of manual switching brings to earphone when anti-earphone is worn and wears inverse time
The stereo audio of caused uppick it is in opposite direction, so as to cause Consumer's Experience sense difference problem, simplify the behaviour of user
Make, the audio signal of the different sound channels that can wear inverse time to earphone in time is adjusted, the effect of Consumer's Experience is lifted, to avoid
Repeat, repeat no more here.
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7
700 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 700 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memory 720, input
Unit 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) module 780 and electricity
Source 790.The mobile terminal 700 is connected with earphone (not shown), and multiple leak holes are provided with the outside of the earphone.
Wherein, input block 730 can be used for receive mobile terminal user input numeral or character information, and produce with
The mobile terminal user of mobile terminal 700 is set and the relevant signal input of function control.Specifically, the embodiment of the present invention
In, the input block 730 can include contact panel 731.Contact panel 731, also referred to as touch-screen, can collect mobile terminal use
Family thereon or neighbouring touch operation (such as mobile terminal user uses any suitable objects or annex such as finger, stylus
Operation on contact panel 731), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel
731 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detect mobile terminal user's
Touch orientation, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller is from touch detection
Touch information is received on device, and is converted into contact coordinate, then give the processor 760, and energy receiving processor 760 is sent out
Come order and performed.Furthermore, it is possible to using the polytype reality such as resistance-type, condenser type, infrared ray and surface acoustic wave
Existing contact panel 731.Except contact panel 731, input block 730 can also include other input equipments 732, and other inputs set
Standby 732 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One or more in mark, action bars etc..
Wherein, display unit 740 can be used for display by the information of mobile terminal user's input or be supplied to mobile terminal to use
The information at family and the various menu interfaces of mobile terminal 700.Display unit 740 may include display panel 741, optionally, can
To configure display using the form such as LCD or Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
Panel 741.
It should be noted that contact panel 731 can cover display panel 741, touch display screen is formed, when touch display screen inspection
Measure thereon or after neighbouring touch operation, processor 760 is sent to determine the type of touch event, with preprocessor
760 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area be used for show utilization rate control higher, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 760 is the control centre of mobile terminal 700, using various interfaces and connection whole mobile phone
Various pieces, by running or performing software program and/or module of the storage in first memory 721, and call storage
Data in second memory 722, perform the various functions and processing data of mobile terminal 700, so as to mobile terminal 700
Carry out integral monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/
Or the data in the second memory 722, parameter of the processor 760 for the impedance curve of earphone described in real-time detection;By institute
The parameter and the first default impedance parameter for stating impedance curve are compared;If the parameter of the impedance curve is pre- more than described first
If impedance parameter, then will be input into the left channel audio signal and right channel audio signal of the earphone and swap.
Alternatively, processor 760 is additionally operable to:Left channel audio signal and right audio channel to the earphone will be input into
After signal is swapped, the frequency response curve of earphone described in the parameter regulation according to the impedance curve.
Wherein, the parameter of the impedance curve includes:The corresponding frequency f0 of first maximum of impedance curve, quality factor
Q values.
Alternatively, processor 760 is additionally operable to:The f0 is compared with the first predeterminated frequency threshold value;
The Q values are compared with the first default value of Q threshold value.
Alternatively, processor 760 is additionally operable to:To be input into the left channel audio signal and right audio channel of the earphone and believe
After number swapping, the f0 that will be detected is compared with second frequency threshold value, obtains the comparative result of f0;Will detection
To the Q values be compared with the second default value of Q threshold value, obtain the comparative result of Q values;Comparative result according to the f0 and
The comparative result of the Q values, adjusts the volume of the earphone.
Alternatively, processor 760 is additionally operable to:If the f0 is more than the second predeterminated frequency threshold value, and the Q values are more than
The second default value of Q threshold value, then turn down the volume of the earphone;If the f0 is less than the second predeterminated frequency threshold value, and
The Q values are less than the second default value of Q threshold value, then heighten the volume of the earphone.
It can be seen that, the embodiment of the present invention can realize the automatic detection and switching to earphone left and right acoustic channels, it is to avoid user exists
Cumbersome and earphone the step of manual switching brings is carried out to earphone when wearing anti-earphone and wears the vertical of uppick caused by inverse time
Body audio it is in opposite direction, so as to cause Consumer's Experience sense difference problem, simplify the operation of user, earphone can be worn in time
The audio signal of the different sound channels of inverse time is adjusted, and lifts the effect of Consumer's Experience, to avoid repeating, repeats no more here.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (12)
1. a kind of changing method of earphone sound channel, is applied to mobile terminal, and the mobile terminal is connected with earphone, and its feature exists
In, multiple leak holes are provided with the outside of the earphone, methods described includes:
The parameter of the impedance curve of earphone described in real-time detection;
The parameter of the impedance curve is compared with the first default impedance parameter;
If the parameter of the impedance curve will be input into the L channel sound to the earphone more than the described first default impedance parameter
Frequency signal and right channel audio signal are swapped.
2. method according to claim 1, it is characterised in that believe in described will input to the left audio of the earphone
Number and right channel audio signal the step of swap after, methods described also includes:
The frequency response curve of earphone described in parameter regulation according to the impedance curve.
3. method according to claim 1, it is characterised in that the parameter of the impedance curve includes:Impedance curve first
The corresponding frequency f0 of individual maximum, Q value.
4. method according to claim 3, it is characterised in that the parameter by the impedance curve and the first pre- handicapping
The step of anti-parameter is compared, including:
The f0 is compared with the first predeterminated frequency threshold value;
The Q values are compared with the first default value of Q threshold value.
5. method according to claim 1, it is characterised in that described to be input into the left channel audio signal of the earphone
After the step of being swapped with right channel audio signal, methods described also includes:
The f0 that will be detected is compared with second frequency threshold value, obtains the comparative result of f0;
The Q values that will be detected are compared with the second default value of Q threshold value, obtain the comparative result of Q values;
The comparative result of comparative result and the Q values according to the f0, adjusts the volume of the earphone.
6. method according to claim 5, it is characterised in that the comparative result according to the f0 and the Q values
The step of comparative result, volume of the adjustment earphone, including:
If the f0 is more than the second predeterminated frequency threshold value, and the Q values are more than the second default value of Q threshold value, then turn down
The volume of the earphone;
If the f0 is less than the second predeterminated frequency threshold value, and the Q values are less than the second default value of Q threshold value, then heighten
The volume of the earphone.
7. a kind of mobile terminal, the mobile terminal is connected with earphone, it is characterised in that is provided with multiple on the outside of the earphone and lets out
Dew hole, the mobile terminal includes:
Real-time detection module, for the parameter of the impedance curve of earphone described in real-time detection;
First comparison module, for the parameter of the impedance curve to be compared with the first default impedance parameter;
Switching Module, if for the impedance curve parameter more than the described first default impedance parameter, will input to described
The left channel audio signal and right channel audio signal of earphone are swapped.
8. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
Adjustment module, for the frequency response curve of earphone described in the parameter regulation according to the impedance curve.
9. mobile terminal according to claim 7, it is characterised in that the parameter of the impedance curve includes:Impedance curve
The corresponding frequency f0 of first maximum, Q value.
10. mobile terminal according to claim 9, it is characterised in that first comparison module includes:
First comparison sub-module, for the f0 to be compared with the first predeterminated frequency threshold value;
Second comparison sub-module, for the Q values to be compared with the first default value of Q threshold value.
11. mobile terminals according to claim 7, it is characterised in that the mobile terminal also includes:
Second comparison module, the f0 and second frequency threshold value for that will detect are compared, and obtain the comparative result of f0;
3rd comparison module, the Q values and the second default value of Q threshold value for that will detect are compared, and obtain the comparing of Q values
As a result;
Adjusting module, for the comparative result according to the f0 and the comparative result of the Q values, adjusts the volume of the earphone.
12. mobile terminals according to claim 11, it is characterised in that the adjusting module includes:
Submodule is turned down, if it is more than the second predeterminated frequency threshold value for the f0, and the Q values are preset more than described second
Q value threshold values, then turn down the volume of the earphone;
Submodule is heightened, if the second predeterminated frequency threshold value is less than for the f0, and the Q values are preset less than described second
Q value threshold values, then heighten the volume of the earphone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079993.1A CN106851486B (en) | 2016-11-29 | 2016-11-29 | A kind of switching method and mobile terminal of earphone sound channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079993.1A CN106851486B (en) | 2016-11-29 | 2016-11-29 | A kind of switching method and mobile terminal of earphone sound channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106851486A true CN106851486A (en) | 2017-06-13 |
CN106851486B CN106851486B (en) | 2019-10-18 |
Family
ID=59145471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611079993.1A Active CN106851486B (en) | 2016-11-29 | 2016-11-29 | A kind of switching method and mobile terminal of earphone sound channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106851486B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107801113A (en) * | 2017-10-09 | 2018-03-13 | 维沃移动通信有限公司 | A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel |
CN107948792A (en) * | 2017-12-07 | 2018-04-20 | 歌尔科技有限公司 | Left and right acoustic channels determine method and ear speaker device |
CN109240642A (en) * | 2018-09-26 | 2019-01-18 | 深圳市中科明望通信软件有限公司 | A kind of method for regulation of sound volume of terminal device, device and terminal device |
CN109753777A (en) * | 2018-12-29 | 2019-05-14 | 上海瑾盛通信科技有限公司 | A kind of personal identification method, device, storage medium and mobile terminal |
WO2022037434A1 (en) * | 2020-08-20 | 2022-02-24 | 华为技术有限公司 | Earphone |
CN114143653A (en) * | 2021-11-30 | 2022-03-04 | 深圳市科奈信科技有限公司 | Earphone reception mode switching method and earphone |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060088648A (en) * | 2005-02-02 | 2006-08-07 | 엘지전자 주식회사 | Apparatus and method for detecting and controlling channel |
US20140023203A1 (en) * | 2004-10-18 | 2014-01-23 | Leigh M. Rothschild | System and Method for Selectively Switching Between a Plurality of Audio Channels |
CN104202697A (en) * | 2014-09-18 | 2014-12-10 | 苏州大学 | Adaptive automatic left sound track and right sound track switching stereo headphone |
CN104469624A (en) * | 2014-12-16 | 2015-03-25 | 广东欧珀移动通信有限公司 | Sound track switching method, sound track switching system and electronic equipment of headset and headset |
CN105681946A (en) * | 2015-12-31 | 2016-06-15 | 东莞酷派软件技术有限公司 | Earphone, earphone channel control method and terminal |
CN106210949A (en) * | 2016-06-29 | 2016-12-07 | 乐视控股(北京)有限公司 | The mode switching method of a kind of earphone and mode-changeover device |
-
2016
- 2016-11-29 CN CN201611079993.1A patent/CN106851486B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140023203A1 (en) * | 2004-10-18 | 2014-01-23 | Leigh M. Rothschild | System and Method for Selectively Switching Between a Plurality of Audio Channels |
KR20060088648A (en) * | 2005-02-02 | 2006-08-07 | 엘지전자 주식회사 | Apparatus and method for detecting and controlling channel |
CN104202697A (en) * | 2014-09-18 | 2014-12-10 | 苏州大学 | Adaptive automatic left sound track and right sound track switching stereo headphone |
CN104469624A (en) * | 2014-12-16 | 2015-03-25 | 广东欧珀移动通信有限公司 | Sound track switching method, sound track switching system and electronic equipment of headset and headset |
CN105681946A (en) * | 2015-12-31 | 2016-06-15 | 东莞酷派软件技术有限公司 | Earphone, earphone channel control method and terminal |
CN106210949A (en) * | 2016-06-29 | 2016-12-07 | 乐视控股(北京)有限公司 | The mode switching method of a kind of earphone and mode-changeover device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107801113A (en) * | 2017-10-09 | 2018-03-13 | 维沃移动通信有限公司 | A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel |
CN107801113B (en) * | 2017-10-09 | 2019-11-05 | 维沃移动通信有限公司 | A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel |
CN107948792A (en) * | 2017-12-07 | 2018-04-20 | 歌尔科技有限公司 | Left and right acoustic channels determine method and ear speaker device |
WO2019109420A1 (en) * | 2017-12-07 | 2019-06-13 | 歌尔科技有限公司 | Left and right channel determining method and earphone device |
CN107948792B (en) * | 2017-12-07 | 2020-03-31 | 歌尔科技有限公司 | Left and right sound channel determination method and earphone equipment |
CN109240642A (en) * | 2018-09-26 | 2019-01-18 | 深圳市中科明望通信软件有限公司 | A kind of method for regulation of sound volume of terminal device, device and terminal device |
CN109240642B (en) * | 2018-09-26 | 2021-09-03 | 深圳市中科明望通信软件有限公司 | Volume adjusting method and device of terminal equipment and terminal equipment |
CN109753777A (en) * | 2018-12-29 | 2019-05-14 | 上海瑾盛通信科技有限公司 | A kind of personal identification method, device, storage medium and mobile terminal |
CN109753777B (en) * | 2018-12-29 | 2021-06-15 | 上海瑾盛通信科技有限公司 | Identity recognition method, identity recognition device, storage medium and mobile terminal |
WO2022037434A1 (en) * | 2020-08-20 | 2022-02-24 | 华为技术有限公司 | Earphone |
CN114143653A (en) * | 2021-11-30 | 2022-03-04 | 深圳市科奈信科技有限公司 | Earphone reception mode switching method and earphone |
CN114143653B (en) * | 2021-11-30 | 2024-05-28 | 深圳市科奈信科技有限公司 | Earphone radio mode switching method and earphone |
Also Published As
Publication number | Publication date |
---|---|
CN106851486B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106851486A (en) | A kind of changing method and mobile terminal of earphone sound channel | |
CN106341535B (en) | A kind of audio play control method and mobile terminal | |
CN105246000A (en) | Method for improving sound quality of headset and mobile terminal | |
CN106454588A (en) | Earphone and earphone channel switching method | |
CN106358127A (en) | Left and right sound channel switching method and mobile terminal | |
CN107105367A (en) | A kind of acoustic signal processing method and terminal | |
CN106101929A (en) | A kind of protection human ear audition method and mobile terminal | |
CN107087072A (en) | A kind of audio frequency playing method and mobile terminal | |
CN108227833A (en) | Control method, terminal and the computer readable storage medium of flexible screen terminal | |
CN107623776A (en) | A kind of method for controlling volume, system and mobile terminal | |
CN107122161B (en) | Audio data playing control method and terminal | |
CN107272956A (en) | A kind of display methods, mobile terminal and computer-readable recording medium | |
CN103699501A (en) | Audio equipment managing method and system of mobile terminal | |
CN107277268A (en) | A kind of audio frequency playing method and mobile terminal | |
CN107395978A (en) | The control method and mobile terminal of a kind of camera module | |
CN108519851A (en) | A kind of interface switching method and mobile terminal | |
CN105916074A (en) | Play control method for multimedia and terminal | |
CN107071174A (en) | A kind of method of speech processing and mobile terminal | |
CN106161804A (en) | A kind of audio play control method and mobile terminal | |
CN106878868A (en) | A kind of control device of loudspeaker, method and mobile terminal | |
CN106055301A (en) | Volume setting method and mobile terminal | |
CN106792307A (en) | Wireless headset and earphone adjusting method | |
CN107241642A (en) | A kind of player method and terminal | |
CN106803857A (en) | A kind of audio frequency transmission method and mobile terminal based on bone-conduction speaker | |
CN107404587A (en) | Audio play control method, audio broadcast control device and mobile terminal |
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 |