Summary of the invention
The technical problem to be solved in the present invention is that the earphone sound quality improvement method and system of a kind of mobile terminal are provided,
Aim to solve the problem that the problem that existing mobile terminal earphone curent change causes earphone sound quality poor.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of earphone sound quality improvement method of mobile terminal, wherein include:
A, the earphone sound channel current reference value of mobile terminal is set;
B, the earphone sound channel current value of mobile terminal is detected;
C, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if it is different, then corresponding adjust
The voltage value that section mobile terminal is powered to earphone sound channel is so that the earphone sound channel current value and earphone sound channel current reference detected
It is worth identical.
The earphone sound quality improvement method of the mobile terminal, wherein the step C is specifically included:
C1, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if it is different, then corresponding adjust
The voltage value that section mobile terminal is powered to earphone sound channel, and return step B;If they are the same, then it does not adjust.
The earphone sound quality improvement method of the mobile terminal, wherein the step C is specifically included:
C2, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if the earphone sound channel
Current value is greater than earphone sound channel current reference value, then reduces the voltage value that mobile terminal is powered to earphone sound channel, and return step
B;If the earphone sound channel current value is less than earphone sound channel current reference value, the electricity that mobile terminal is powered to earphone sound channel is increased
Pressure value, and return step B;If they are the same, then the voltage value for keeping mobile terminal to power to earphone sound channel is constant.
The earphone sound quality improvement method of the mobile terminal, wherein the step C2 is specifically included:
C21, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if the earphone sound channel
Current value is greater than earphone sound channel current reference value, then reduces the voltage value that mobile terminal is powered to earphone sound channel, and return step
B, wherein reduced voltage value is the first scheduled voltage;If the earphone sound channel current value is less than earphone sound channel current reference
Value, then increase the voltage value that mobile terminal is powered to earphone sound channel, and return step B, wherein raised voltage value is second pre-
Constant voltage value;If they are the same, then the voltage value for keeping mobile terminal to power to earphone sound channel is constant.
The earphone sound quality improvement method of the mobile terminal, wherein the earphone sound channel includes headset left channel and ear
Machine right channel.
A kind of earphone sound quality raising system of mobile terminal, wherein include:
Benchmark setup module, for the earphone sound channel current reference value of mobile terminal to be arranged;
Current detection module, for detecting the earphone sound channel current value of mobile terminal;
Voltage regulator module, for judging whether the earphone sound channel current value and earphone sound channel current reference value are identical,
If it is different, then corresponding adjust voltage value that mobile terminal is powered to earphone sound channel so that the earphone sound channel current value and ear detected
Machine sound channel current reference value is identical.
The earphone sound quality of the mobile terminal improves system, wherein the voltage regulator module includes:
Electric current comparing unit, for judging whether the earphone sound channel current value and earphone sound channel current reference value are identical,
If it is different, the then corresponding voltage value for adjusting mobile terminal and powering to earphone sound channel, and return current detection module;If they are the same, then
It does not adjust.
The earphone sound quality of the mobile terminal improves system, wherein the voltage regulator module includes:
Voltage regulation unit, for judging whether the earphone sound channel current value and earphone sound channel current reference value are identical,
If the earphone sound channel current value is greater than earphone sound channel current reference value, the voltage that mobile terminal is powered to earphone sound channel is reduced
Value, and return current detection module;If the earphone sound channel current value is less than earphone sound channel current reference value, increase mobile whole
Hold the voltage value powered to earphone sound channel, and return current detection module;If they are the same, then mobile terminal is kept to supply to earphone sound channel
The voltage value of electricity is constant.
The earphone sound quality of the mobile terminal improves system, wherein the voltage regulation unit includes:
Voltage regulator unit, for judge the earphone sound channel current value and earphone sound channel current reference value whether phase
Together, if the earphone sound channel current value is greater than earphone sound channel current reference value, reduce what mobile terminal was powered to earphone sound channel
Voltage value, and return current detection module, wherein reduced voltage value is the first scheduled voltage;If the earphone sound channel electricity
Flow valuve is less than earphone sound channel current reference value, then increases the voltage value that mobile terminal is powered to earphone sound channel, and return current is examined
Survey module, wherein raised voltage value is the second scheduled voltage;If they are the same, then mobile terminal is kept to power to earphone sound channel
Voltage value it is constant.
The earphone sound quality of the mobile terminal improves system, wherein the earphone sound channel includes headset left channel and ear
Machine right channel.
The earphone sound quality improvement method and system of a kind of mobile terminal provided by the present invention, efficiently solve existing shifting
The problem that dynamic terminal earphone curent change causes earphone sound quality poor, by the earphone sound channel current reference that mobile terminal is arranged
Value;Detect the earphone sound channel current value of mobile terminal;Judge the earphone sound channel current value is with earphone sound channel current reference value
It is no identical, if it is different, then corresponding adjust voltage value that mobile terminal power to earphone sound channel so that the earphone sound channel detected is electric
Flow valuve and earphone sound channel current reference value are identical;So that the electric current of the earphone sound channel of mobile terminal maintains steady state value, will not generate
The case where earphone sound quality changes caused by changing because of electric current improves earphone sound quality, brings and greatly facilitate.
Specific embodiment
The present invention provides the earphone sound quality improvement method and system of a kind of mobile terminal, to make the purpose of the present invention, technology
Scheme and advantage are clearer, clear, and the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should manage
Solution, the specific embodiments described herein are merely illustrative of the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the process of the earphone sound quality improvement method preferred embodiment of mobile terminal provided by the invention
Figure, as shown, the described method comprises the following steps:
Step S100, the earphone sound channel current reference value of mobile terminal is set;
Step S200, the earphone sound channel current value of mobile terminal is detected;
Step S300, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if it is different, then
It is corresponding to adjust voltage value that mobile terminal power to earphone sound channel so that the earphone sound channel current value and earphone sound channel that detect are electric
It is identical to flow a reference value.
Above-mentioned steps are described in detail below with reference to specific embodiment.
In the step s 100, the earphone sound channel current reference value of mobile terminal is set.Specifically, the mobile terminal is
The terminals such as mobile phone, tablet computer, handheld device.These mobile terminals all have receiver J-Horner, and user can be inserted into earphone to listen song
Or voice-enabled chat etc..The earphone sound channel current reference value of mobile terminal is set, specifically can by measure in advance mobile terminal
(or sound quality preferably in the case of) corresponding earphone sound channel current value under normal use, in this, as earphone sound channel current reference
Value.Preferably due to earphone sound channel includes headset left channel and earphone right channel, corresponding then current value there are two sound channel, because
And the present invention specifically can headset left channel to mobile terminal and earphone right channel corresponding current reference value is respectively set, so as to
It is subsequent that voltage adjusting is carried out to two sound channels respectively.In practical application, settable current feedback circuit unit, generates current impulse
Signal, as reference current comparison signal, that is, current reference value.
In the step S200, the earphone sound channel current value of mobile terminal is detected.It specifically, can be in mobile terminal
Current detecting unit, the state for the loop current that test earphone sound channel and earphone are formed are set in earphone sound channel.
In step S300, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if not
Together, then corresponding to adjust voltage value that mobile terminal is powered to earphone sound channel so that the earphone sound channel current value and earphone sound detected
Road current reference value is identical.Specifically, exactly by earphone sound channel current value compared with earphone sound channel current reference value, see whether
It changes, the voltage value that then corresponding adjusting mobile terminal is powered to earphone sound channel if there is a change, so that detecting
Earphone sound channel current value and earphone sound channel current reference value it is identical, in this way maintenance earphone sound channel current value it is constant be earphone sound channel
Current reference value avoids the case where earphone sound quality changes caused by changing because of electric current, improves earphone sound quality.?
When practical application, since mobile terminal temperature change can also cause current value to change, temperature, which is raised and lowered, can all cause electric current
Variation.The voltage powered to earphone sound channel can be specifically adjusted by the power management chip and its peripheral circuit of mobile terminal
Value.
Preferably, the step S300 is specifically included:
S301, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if it is different, then corresponding to
Adjust the voltage value that mobile terminal is powered to earphone sound channel, and return step S200;If they are the same, then it does not adjust.
It specifically, is exactly to judge whether the earphone sound channel current value and earphone sound channel current reference value are identical,
If identical, it is constant to be maintained for the voltage value that mobile terminal is powered to earphone sound channel;Different words, then just corresponding adjust is moved
The voltage value that dynamic terminal is powered to earphone sound channel, then return step S200 continues to test the earphone sound channel electric current of mobile terminal
Value, until when the earphone sound channel current value and identical earphone sound channel current reference value detected.Namely cycle detection with
Processing, so that the earphone sound channel current value of mobile terminal keeps stablizing.
In practical application, the earphone sound channel current value an of mobile terminal can be detected at predetermined time intervals, for example 0.5s.
Preferably, the step S300 is specifically included:
S302, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if the earphone sound
Road current value is greater than earphone sound channel current reference value, then reduces the voltage value that mobile terminal is powered to earphone sound channel, and return to step
Rapid S200;If the earphone sound channel current value is less than earphone sound channel current reference value, increases mobile terminal and supplied to earphone sound channel
The voltage value of electricity, and return step S200;If they are the same, then the voltage value for keeping mobile terminal to power to earphone sound channel is constant.
Specifically, exactly have if the earphone sound channel current value detected is different from earphone sound channel current reference value
Two kinds of situations, one is the earphone sound channel current value be greater than earphone sound channel current reference value, then then reduce mobile terminal to
The voltage value of earphone sound channel power supply, so that the current value of earphone sound channel reduces, thus close to earphone sound channel current reference value,
To avoid earphone sound quality from changing;Second situation is that the earphone sound channel current value is less than earphone sound channel current reference value,
The voltage value that mobile terminal is powered to earphone sound channel is then increased, so that the current value height of earphone sound channel, close to earphone
Sound channel current reference value, to avoid earphone sound quality from changing.
Preferably, the step S302 is specifically included:
S321, judge whether the earphone sound channel current value and earphone sound channel current reference value are identical, if the earphone sound
Road current value is greater than earphone sound channel current reference value, then reduces the voltage value that mobile terminal is powered to earphone sound channel, and return to step
Rapid S200, wherein reduced voltage value is the first scheduled voltage;If the earphone sound channel current value is less than earphone sound channel electric current
A reference value then increases the voltage value that mobile terminal is powered to earphone sound channel, and return step S200, wherein raised voltage value
For the second scheduled voltage;If they are the same, then the voltage value for keeping mobile terminal to power to earphone sound channel is constant.
Specifically, the voltage value that mobile terminal is powered to earphone sound channel is reduced, the voltage value reduced every time is first pre-
Constant voltage value, for example 0.1V, for example, if the earphone sound channel current value is greater than earphone sound channel current reference value, then dropping
The voltage value that low mobile terminal is powered to earphone sound channel, voltage value originally is 3V, is then reduced to 2.9V now, then execute step
S200 continues to determine.Similarly, second scheduled voltage is increased voltage definite value, may be alternatively provided as 0.1V.About first
Scheduled voltage and the second scheduled voltage can it is identical can not be identical, can specifically be configured according to actual needs.
Preferably, the earphone sound channel includes headset left channel and earphone right channel.That is, the step S100 ~
The processing of 300 pairs of earphone sound channels respectively corresponds headset left channel and earphone right channel.That is, to headset left channel and ear
The processing of machine right channel is the same.
Earphone sound quality improvement method based on above-mentioned mobile terminal, the embodiment of the invention also provides a kind of mobile terminals
Earphone sound quality improves system, as shown in Figure 2, comprising:
Benchmark setup module 10, for the earphone sound channel current reference value of mobile terminal to be arranged;Specifically such as step S100 institute
It states;
Current detecting 20, for detecting the earphone sound channel current value of mobile terminal;Specifically as described in step S200;
Voltage regulator module 30, for judge the earphone sound channel current value and earphone sound channel current reference value whether phase
Together, if it is different, then corresponding adjust voltage value that mobile terminal is powered to earphone sound channel so that the earphone sound channel current value detected
It is identical with earphone sound channel current reference value;Specifically as described in step S300.
Further, the voltage regulator module 30 includes:
Electric current comparing unit, for judging whether the earphone sound channel current value and earphone sound channel current reference value are identical,
If it is different, the then corresponding voltage value for adjusting mobile terminal and powering to earphone sound channel, and return current detection module;If they are the same, then
It does not adjust.
Further, the voltage regulator module 30 includes:
Voltage regulation unit, for judging whether the earphone sound channel current value and earphone sound channel current reference value are identical,
If the earphone sound channel current value is greater than earphone sound channel current reference value, the voltage that mobile terminal is powered to earphone sound channel is reduced
Value, and return current detection module;If the earphone sound channel current value is less than earphone sound channel current reference value, increase mobile whole
Hold the voltage value powered to earphone sound channel, and return current detection module;If they are the same, then mobile terminal is kept to supply to earphone sound channel
The voltage value of electricity is constant.
Further, the voltage regulation unit includes:
Voltage regulator unit, for judge the earphone sound channel current value and earphone sound channel current reference value whether phase
Together, if the earphone sound channel current value is greater than earphone sound channel current reference value, reduce what mobile terminal was powered to earphone sound channel
Voltage value, and return current detection module, wherein reduced voltage value is the first scheduled voltage;If the earphone sound channel electricity
Flow valuve is less than earphone sound channel current reference value, then increases the voltage value that mobile terminal is powered to earphone sound channel, and return current is examined
Survey module, wherein raised voltage value is the second scheduled voltage;If they are the same, then mobile terminal is kept to power to earphone sound channel
Voltage value it is constant.
Further, the earphone sound channel includes headset left channel and earphone right channel.
The mobile terminal is mobile phone, handheld device, the terminals such as tablet computer.
In conclusion the earphone sound quality improvement method and system of a kind of mobile terminal provided by the invention, are moved by setting
The earphone sound channel current reference value of dynamic terminal;Detect the earphone sound channel current value of mobile terminal;Judge the earphone sound channel electric current
Whether value is identical as earphone sound channel current reference value, if it is different, the then corresponding voltage for adjusting mobile terminal and powering to earphone sound channel
Value is so that the earphone sound channel current value and earphone sound channel current reference value that detect are identical;So that the earphone sound channel of mobile terminal
Electric current maintains steady state value, will not generate the case where earphone sound quality changes caused by changing because of electric current, improve earphone
Sound quality brings and greatly facilitates.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.