CN106125880A - The method for controlling volume of a kind of intelligent terminal and device and storage medium - Google Patents
The method for controlling volume of a kind of intelligent terminal and device and storage medium Download PDFInfo
- Publication number
- CN106125880A CN106125880A CN201610416718.8A CN201610416718A CN106125880A CN 106125880 A CN106125880 A CN 106125880A CN 201610416718 A CN201610416718 A CN 201610416718A CN 106125880 A CN106125880 A CN 106125880A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- gain
- volume
- numerical value
- controlling
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses the method for controlling volume of a kind of intelligent terminal and device and storage medium, belong to automation field.The method for controlling volume of this intelligent terminal includes: when intelligent terminal is in speaker mode, and whether the charge value of detection intelligent terminal is less than presetting power threshold;If so, controlling the current volume gain reduction certain gain numerical value of intelligent terminal, wherein, the gain difference of current volume gain gain corresponding with previous volume level is more than certain gain numerical value.By controlling the volume gain decay of intelligent terminal in the embodiment of the present invention; so that the power consumption of intelligent terminal reduces; thus can reach the effect saving electricity; and the use time of intelligent terminal can be extended accordingly; low gain can also reach to protect the purpose of the speaker of intelligent terminal simultaneously; the service life of speaker can be extended accordingly, solve the problem that power consumption when putting the music on outside smart mobile phone in prior art is bigger.
Description
Technical field
The present embodiments relate to automation field, particularly relate to method for controlling volume and the dress of a kind of intelligent terminal
Put and storage medium.
Background technology
Electronic equipment is when using player plays audio frequency, and volume is generally by gain (Gain) and volume (Volume)
Control.Gain control signal magnitude after regulating the premenstrual storing of acoustical signal greatly, the input i.e. regulating input equipment is sensitive
Degree, gain-adjusted obtains and the least can reduce signal to noise ratio, and gain-adjusted obtains too conference and produces and utter long and high-pitched sounds;Volume controls to be used for regulating rear class letter
The loudness of number final output.
Existing electronic equipment such as smart mobile phones etc., for simple operation, are pre-configured with smart mobile phone and include multiple volume
Grade, each level of sound volume is provided with applicable gain and volume.User regulates level of sound volume to increase broadcast sound volume or to subtract
During little broadcast sound volume, gain controls to be automatically adjusted to the preset value that level of sound volume is corresponding respectively with volume.Existing smart mobile phone leads to
Often being made up of 7 (or 10) level of sound volume, level of sound volume is proportional with gain size, and when reducing level of sound volume, gain is dropped accordingly
Low, when increasing level of sound volume, gain increases accordingly, it is not necessary to user's manual adjustment of gain size.
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems: user is using intelligence
When putting the music on outside energy mobile phone, when increasing level of sound volume, gain increases the most accordingly, then the power consumption of smart mobile phone is also big, causes mobile phone
The use time reduces.
Summary of the invention
The embodiment of the present invention provides the method for controlling volume of a kind of intelligent terminal and device and storage medium, to solve
The problem that when putting the music on outside smart mobile phone in prior art, power consumption is bigger.
First aspect, embodiments provides the method for controlling volume of a kind of intelligent terminal, this method for controlling volume
Including:
When described intelligent terminal is in speaker mode, whether detect the charge value of described intelligent terminal less than presetting electricity
Amount threshold value;
If so, control the current volume gain reduction certain gain numerical value of described intelligent terminal, wherein, described current sound
The gain difference of flow gain gain corresponding with previous volume level is more than described certain gain numerical value.
Further, described default power threshold is the charge value of 20%.
Further, also include: when described intelligent terminal is in speaker mode, detect the volume of described intelligent terminal
Whether level is more than presetting volume threshold;Accordingly,
If so, control the current volume gain reduction certain gain numerical value of described intelligent terminal.
Further, described certain gain numerical value is equal to 1/2nd of described gain difference.
Further, detect the charge value of described intelligent terminal whether less than presetting power threshold before, also include: according to
The regulating command of user's input, starts automatic volume gain control function.
Second aspect, the embodiment of the present invention additionally provides the sound volume control device of a kind of intelligent terminal, and this volume controls dress
Put and include:
Electric power detection module, for when described intelligent terminal is in speaker mode, detects the electricity of described intelligent terminal
Whether value is less than presetting power threshold;
Gain control module, if the charge value for described intelligent terminal is less than described default power threshold, controlling will
The current volume gain reduction certain gain numerical value of described intelligent terminal, wherein, described current volume gain and previous volume level
The gain difference of corresponding gain is more than described certain gain numerical value.
Further, described default power threshold is the charge value of 20%.
Further, also include: volume detection module, for when described intelligent terminal is in speaker mode, detect
Whether the volume level of described intelligent terminal is more than presetting volume threshold;Accordingly,
Described gain control module, if the volume level being additionally operable to described intelligent terminal is more than described default volume threshold,
Control the current volume gain reduction certain gain numerical value of described intelligent terminal.
Further, described certain gain numerical value is equal to 1/2nd of described gain difference.
Further, also include: start module, for whether detecting the charge value of described intelligent terminal less than presetting electricity
Before amount threshold value, according to the regulating command of user's input, start automatic volume gain control function.
The third aspect, the embodiment of the present invention additionally provides a kind of storage medium comprising computer executable instructions, described
Computer executable instructions is used for performing the method for controlling volume of a kind of intelligent terminal, this sound by computer processor when being performed
Amount control method includes:
When described intelligent terminal is in speaker mode, whether detect the charge value of described intelligent terminal less than presetting electricity
Amount threshold value;
If so, control the current volume gain reduction certain gain numerical value of described intelligent terminal, wherein, described current sound
The gain difference of flow gain gain corresponding with previous volume level is more than described certain gain numerical value.
The method for controlling volume of intelligent terminal that the embodiment of the present invention provides and device and storage medium, when intelligence eventually
When end is in speaker mode, whether the charge value of detection intelligent terminal is less than presetting power threshold, if then controlling intelligence
The current volume gain reduction certain gain numerical value of terminal so that the volume gain of intelligent terminal reduces, corresponding intelligent terminal's
Output reduces, and power consumption reduces.The embodiment of the present invention decays by controlling volume gain, so that the power consumption fall of intelligent terminal
Low, thus can reach the effect saving electricity, and use time of intelligent terminal can be extended accordingly, low gain can also reach simultaneously
The purpose of the speaker of protection intelligent terminal, can extend the service life of speaker accordingly, solves intelligence hands in prior art
The problem that when putting the music on outside machine, power consumption is bigger.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing do one and introduce simply, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, for this
From the point of view of the those of ordinary skill of field, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart of the method for controlling volume of the intelligent terminal that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the method for controlling volume of the intelligent terminal that the embodiment of the present invention two provides;
Fig. 3 is the schematic diagram of the sound volume control device of the intelligent terminal that the embodiment of the present invention three provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, attached hereinafter with reference in the embodiment of the present invention
Figure, clearly and completely describes technical scheme, it is clear that described embodiment is the present invention one by embodiment
Section Example rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, the flow chart of method for controlling volume of the intelligent terminal provided for the embodiment of the present invention one, this enforcement
The technical scheme of example is applicable to regulate the situation of the volume gain of intelligent terminal.The method can be controlled by the volume of intelligent terminal
Device performs, and this device can realize in the way of using software and/or hardware, is arranged in intelligent terminal executions, optional this
Intelligent terminal can be the electronic equipment that smart mobile phone, intelligent sound and Bluetooth audio device etc. can be play by speaker.
The method for controlling volume of intelligent terminal that the present embodiment provides, specifically includes following steps:
Step 110, when intelligent terminal is in speaker mode, whether the charge value of detection intelligent terminal less than presetting electricity
Amount threshold value.
When intelligent terminal is in speaker mode, generally having Gain tuning, Gain tuning is that regulation amplification i.e. regulates
Signal magnitude after the premenstrual storing of acoustical signal is big, when gain is bigger, power consumption is relatively big, and when gain is less, power consumption is less, i.e. raises
Under sound device pattern, intelligent terminal has gain power consumption.Use to not affect user, when intelligent terminal is in speaker mode, intelligence
The sound volume control device of energy terminal can detect whether the charge value of intelligent terminal is less than default power threshold, to realize in intelligence eventually
The charge value of end is less than when presetting power threshold, it is simple to carries out power-save operation in time and uses the time with extending cell phone.
In real time the charge value of the intelligent terminal being under speaker mode is detected in this sound volume control device acquiescence,
And user also can the detection mode of sets itself sound volume control device, as being set as in real time or timing (every 15min) detection etc..
User can preset power threshold according to sets itself needed for self, presets, as set, the charge value that power threshold is as 25%, or
Person, in intelligent terminal, acquiescence has default power threshold, and presetting power threshold such as acquiescence is the charge value of 15%.
It should be noted that when intelligent terminal is in headset mode usually not Gain tuning, i.e. give tacit consent to its source of sound defeated
Go out the normal conditions that level is 1V~2V, do not have the situation of gain power consumption accordingly.It will be understood by those skilled in the art that
If having Gain tuning under the headset mode of intelligent terminal, then the charge value of intelligent terminal also can be detected by sound volume control device
So that carrying out power-save operation.
Step 120, if so, control the current volume gain reduction certain gain numerical value of intelligent terminal, wherein, current sound
The gain difference of flow gain gain corresponding with previous volume level is more than certain gain numerical value.
During as it has been described above, the intelligent terminal being in speaker mode to be carried out charge value detection, if intelligent terminal being detected
Charge value less than preset power threshold, then judge need intelligent terminal to carry out power-save operation to extend the use time.Raise one's voice
Under device pattern, intelligent terminal has gain power consumption, and in order to reach power saving, current volume gain is decayed by sound volume control device,
The highest corresponding power consumption of the biggest output of gain is the highest, and the lowest corresponding power consumption of the least output of gain is the lowest, therefore sound
The gain power consumption of the intelligent terminal after flow gain decay reduces, when having reached the effect of power saving and extended use the most accordingly
Between.
The different volume level of known smart terminal is to there being different gains, then in order to ensure the volume level of intelligent terminal
Do not reduce, can be by the current volume gain reduction certain gain numerical value of intelligent terminal, wherein, current sound at this sound volume control device
The gain difference of flow gain gain corresponding with previous volume level is more than certain gain numerical value, the then volume gain of sound volume control device
Reduce but volume level do not reduce, reached the effect of power saving.The such as gain of current volume level 6 correspondence is 80dB, previous volume
The gain of level 5 correspondences is 60dB, and certain gain numerical value is 15dB, then intelligent terminal is not in the case of volume level reduces, volume
Gain reduction is 65dB, does not the most affect user and enjoys music and also reached effect the proper extension use time of power saving.
It will be understood by those skilled in the art that user can arrange certain gain numerical value voluntarily, or use intelligent terminal to write from memory
The certain gain numerical value recognized, concrete certain gain numerical value can be steady state value such as 5dB, it is also possible between different volume levels
Gain difference and change, such as the gain difference of volume level 6 and volume level 5 be 20 and certain gain numerical value is 15, such as volume level 5
With the gain difference of volume level 4 be 15 and certain gain numerical value is 8, the most not set-up mode to certain gain numerical value
Specifically limit.In addition the damped manner of the volume gain of intelligent terminal has multiple, decays such as prolongation over time, tool
Body is as decayed once every 15min, or adjacent tone magnitude only carries out a gain reduction etc., the most not to intelligence the most eventually
The volume gain damped manner of end limits.
The method for controlling volume of the intelligent terminal that the embodiment of the present invention provides, when intelligent terminal is in speaker mode,
Whether the charge value of detection intelligent terminal is less than presetting power threshold, if then controlling to decline the current volume gain of intelligent terminal
Subtracting certain gain numerical value so that the volume gain of intelligent terminal reduces, the output of corresponding intelligent terminal reduces, and power consumption subtracts
Little.The present embodiment is decayed by controlling volume gain, so that the power consumption of intelligent terminal reduces, thus can reach and saves electricity
Effect, and the use time of intelligent terminal can be extended accordingly, low gain can also reach the speaker of protection intelligent terminal simultaneously
Purpose, can extend the service life of speaker accordingly, solve power consumption when putting the music on outside smart mobile phone in prior art bigger
Problem.
As in figure 2 it is shown, the flow chart of method for controlling volume of the intelligent terminal provided for the embodiment of the present invention two, this enforcement
The technical scheme of example is applicable to regulate the situation of the volume gain of intelligent terminal.The method can be controlled by the volume of intelligent terminal
Device performs, and this device can realize in the way of using software and/or hardware, is arranged in intelligent terminal executions, optional this
Intelligent terminal can be the electronic equipment that smart mobile phone, intelligent sound and Bluetooth audio device etc. can be play by speaker.
The method for controlling volume of intelligent terminal that the present embodiment provides, specifically includes following steps:
Step 210, when intelligent terminal is in speaker mode, whether the charge value of detection intelligent terminal less than presetting electricity
Amount threshold value.The operating process of this step is identical with the step 110 of above-described embodiment, does not repeats them here.
At this, optional default power threshold is the charge value of 20%.It will be understood by those skilled in the art that in intelligent terminal
The default power threshold of acquiescence can be stored, and this default power threshold is set also dependent on needed for self by user voluntarily
Fixed, default power threshold includes but not limited to 20% charge value, as may also be configured to 15%, 30% etc., the most right
Default power threshold specifically limits.
Step 220, if so, control the current volume gain reduction certain gain numerical value of intelligent terminal, wherein, current sound
The gain difference of flow gain gain corresponding with previous volume level is more than certain gain numerical value.The operating process of this step and above-mentioned reality
The step 120 executing example is identical, does not repeats them here.
On the basis of technique scheme, it should be noted that trigger the parameter of the volume gain decay of intelligent terminal
In addition to the charge value of intelligent terminal, it is also possible to be other parameters of intelligent terminal, such as the volume level of intelligent terminal, by intelligence
The volume level of energy terminal can realize the speaker to intelligent terminal as the parameter of the volume gain decay triggering intelligent terminal
Protection.It will be understood by those skilled in the art that any one or the combination in the charge value of intelligent terminal and volume level
Using the parameter as the volume gain decay triggering intelligent terminal.The charge value of the most optional intelligent terminal and volume
Any one parameter decayed as the volume gain triggering intelligent terminal in Ji.Corresponding before step 220, this intelligence
The method for controlling volume of terminal also includes:
Step 200, when intelligent terminal is in speaker mode, whether the volume level of detection intelligent terminal more than presetting sound
Amount threshold value.
When intelligent terminal is in speaker mode, generally having Gain tuning, Gain tuning is that regulation amplification i.e. regulates
Signal magnitude after the premenstrual storing of acoustical signal is big, when gain is bigger, the loss of speaker is relatively big, speaker when gain is less
It is lost less.Default volume threshold is the volume threshold that intelligent terminal gives tacit consent to or user is arranged voluntarily.In order to extend speaker
In service life, when intelligent terminal is in speaker mode, the sound volume control device of intelligent terminal can detect the sound of intelligent terminal
Whether magnitude is more than presetting volume threshold, to reach to protect the purpose of speaker.If it will be understood by those skilled in the art that intelligence
Have Gain tuning under the headset mode of terminal, then sound volume control device also the volume level of intelligent terminal can be detected so that
Protection speaker.
Accordingly, after above-mentioned steps 200, perform the operation of step 220, the even volume level of intelligent terminal more than pre-
If volume threshold, control the current volume gain reduction certain gain numerical value of intelligent terminal, wherein, current volume gain and front
The gain difference of one volume level correspondence gain is more than certain gain numerical value.
On the basis of technique scheme, optional certain gain numerical value is equal to 1/2nd of gain difference.Such as when
The gain of front volume level 6 correspondence is 80dB, and the gain of previous volume level 5 correspondence is 60dB, then certain gain numerical value is chosen as
10dB, then intelligent terminal is not in the case of volume level reduces, and volume gain decays to 70dB, does not the most affect user and enjoys sound
The happy effect also having reached power saving and protection speaker.It will be understood by those skilled in the art that certain gain numerical value include but not
Being limited to above-mentioned setting, user can not have according to self needing to carry out voluntarily the setting of certain gain numerical value
Body limits.
On the basis of technique scheme, it should be noted that the automatic volume gain control function of intelligent terminal can
Actively being started by the system of intelligent terminal and/or user input instruction passively starts, such as intelligent terminal is in speaker
During pattern, system actively starts automatic volume gain control function, or user inputs regulating command to intelligent terminal so that intelligence
Terminal passively starts automatic volume gain control function, is not intended to the automatic volume gain control merit of intelligent terminal in the present invention
The Starting mode of energy.The most optional automatic volume gain controls as actively Starting mode.
It is passive Starting mode that the most optional automatic volume gain controls function, then corresponding in step
Before 210 and/or 200, the method for controlling volume of intelligent terminal also includes: according to the regulating command of user's input, starts automatically
Volume gain controls function.User can arrange in the system of intelligent terminal and manually open automatic volume gain control merit
Can, then after user inputs regulating command on intelligent terminal, intelligent terminal starts automatic volume gain control function.Work as intelligence
When terminal is in speaker mode, whether the sound volume control device of intelligent terminal can detect volume level more than presetting volume threshold
And/or whether detection charge value is less than presetting power threshold, and perform subsequent operation according to testing result.
The method for controlling volume of the intelligent terminal that the embodiment of the present invention provides, when intelligent terminal is in speaker mode,
Intelligent terminal system actively starts automatic volume gain control function, and whether detects the charge value of intelligent terminal less than presetting electricity
Whether amount threshold value and/or volume level be more than presetting volume threshold, if then controlling the current volume gain reduction of intelligent terminal
Certain gain numerical value is so that the volume gain of intelligent terminal reduces, and the output of corresponding intelligent terminal reduces, and power consumption reduces.
The present embodiment is decayed by controlling volume gain, so that the power consumption of intelligent terminal reduces, thus can reach the effect saving electricity
Really, and can extend use time of intelligent terminal accordingly, low gain can also reach to protect the mesh of the speaker of intelligent terminal simultaneously
, the service life of speaker can be extended accordingly, solve power consumption when putting the music on outside smart mobile phone in prior art bigger
Problem.
As it is shown on figure 3, the schematic diagram of sound volume control device of the intelligent terminal provided for the embodiment of the present invention three, this enforcement
The technical scheme of example is applicable to regulate the situation of the volume gain of intelligent terminal.This device can perform above-mentioned any embodiment institute
The method for controlling volume of the intelligent terminal stated, this device can realize in the way of using software and/or hardware, is arranged in intelligence eventually
Performing in end, this intelligent terminal optional can be that smart mobile phone, intelligent sound and Bluetooth audio device etc. can be play by speaker
Electronic equipment.
The sound volume control device of the intelligent terminal that the present embodiment provides, specifically includes: electric power detection module 310 and gain control
Molding block 320.
Wherein, electric power detection module 310, for when intelligent terminal is in speaker mode, detects the electricity of intelligent terminal
Whether value is less than presetting power threshold;If gain control module 320 is less than default electricity threshold for the charge value of intelligent terminal
Value, controls the current volume gain reduction certain gain numerical value of intelligent terminal, wherein, current volume gain and previous volume level
The gain difference of corresponding gain is more than certain gain numerical value.
Optional power threshold of presetting is the charge value of 20%.
The sound volume control device of this intelligent terminal optional also includes: volume detection module 300.Wherein, volume detection mould
Block 300 is for when intelligent terminal is in speaker mode, and whether the volume level of detection intelligent terminal is more than presetting volume threshold;
Accordingly, if the volume level that gain control module 320 is additionally operable to intelligent terminal is more than default volume threshold, control by intelligence eventually
The current volume gain reduction certain gain numerical value of end.
Optional certain gain numerical value is equal to 1/2nd of gain difference.
The most optional automatic volume gain controls as actively Starting mode.
And the most optional automatic volume gain to control function be passive Starting mode, then corresponding intelligence is eventually
The sound volume control device of end also includes: start module.Wherein, module is started the least for the charge value detection intelligent terminal
Before default power threshold, according to the regulating command of user's input, start automatic volume gain control function;And/or, start
Module, before whether the volume level detection intelligent terminal is more than presetting volume threshold, refers to according to the regulation of user's input
Order, starts automatic volume gain control function.
Intelligent terminal is configured with coder (codec), mainly audio-video signal is compressed and decompresses, i.e. entering
Row digital-to-analogue conversion and analog digital conversion, the quality of the conversion qualitative effects sound card simulation input and output of codec, the intelligence of configuration codec
The gain difference of energy its arbitrary neighborhood two-stage volume level of terminal is equal, and the most optional certain gain numerical value is steady state value.Intelligent terminal
In can also configure smart PA codec (intelligence coder), smart PA codec is the codec of an intelligent control, joins
The gain difference of its arbitrary neighborhood two-stage volume level of intelligent terminal putting smart PA codec is incomplete same, the most optional intelligence
Terminal acquiescence or user set certain gain numerical value according to volume level voluntarily.Function based on codec, the volume of intelligent terminal increases
Benefit is i.e. the gain of (smart PA) codec, does not specifically limit the coder of configuration in intelligent terminal
System.
Be configured with smart PA codec in the most optional intelligent terminal, then the volume level of intelligent terminal can be drawn
Being divided at least 31 grades, the gain difference of inferior grade and high-grade adjacent tone magnitude is less, middle-bracket adjacent tone magnitude
Gain difference is bigger.User is when the speaker using intelligent terminal plays music, and the volume level of setting is the highest, smart PA
The gain of codec is also big, and power consumption is inevitable the biggest.Sound volume control device is dynamic according to electricity and/or volume level in the present embodiment
The gain of adjustment smart PA codec so that it is on the premise of not reducing volume level, the codec of decay certain gain numerical value
Gain, does not only interfere with the service condition of user, additionally it is possible to reach the effect of power saving.
During it follows that put the music on outside the player of user's long-time louder volume use intelligent terminal, based on intelligent terminal
The corresponding corresponding gain of each volume level, when electricity is preset higher than a certain less than a certain default power threshold and/or volume level
During volume threshold, automatic fading gain, reach to protect smart PA codec, power saving and extend intelligent terminal to use the effect of time
Really.
The sound volume control device of the intelligent terminal that the embodiment of the present invention provides, when intelligent terminal is in speaker mode, when
Detect that the charge value of intelligent terminal, less than when presetting power threshold and/or volume level higher than default volume threshold, controls decay
The current volume gain of intelligent terminal, the output of corresponding intelligent terminal reduces, and power consumption reduces.The present embodiment is by controlling
Volume gain decay, so that the power consumption of intelligent terminal reduces, thus can reach the effect saving electricity, and can extend intelligence accordingly
The use time of energy terminal, low gain can also reach to protect the purpose of the speaker of intelligent terminal simultaneously, can extend accordingly and raise one's voice
In the service life of device, solve the problem that power consumption when putting the music on outside smart mobile phone in prior art is bigger.
The embodiment of the present invention also provides for a kind of storage medium comprising computer executable instructions, and described computer can perform
Instruction is used for performing the method for controlling volume of a kind of intelligent terminal, this method for controlling volume bag by computer processor when being performed
Include:
When described intelligent terminal is in speaker mode, whether detect the charge value of described intelligent terminal less than presetting electricity
Amount threshold value;
If so, control the current volume gain reduction certain gain numerical value of described intelligent terminal, wherein, described current sound
The gain difference of flow gain gain corresponding with previous volume level is more than described certain gain numerical value.
Optionally, this computer executable instructions can be also used for when being performed by computer processor perform the present invention appoint
The technical scheme of the method for controlling volume of the intelligent terminal that meaning embodiment is provided.
By the description above with respect to embodiment, those skilled in the art it can be understood that arrive, the present invention
Can realize by software and required common hardware, naturally it is also possible to realized by hardware, but a lot of in the case of the former is more
Good embodiment.Based on such understanding, prior art is contributed by technical scheme the most in other words
Part can embody with the form of software product, and this computer software product can be stored in computer-readable recording medium
In, such as the floppy disk of computer, read only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions with so that a computer sets
Standby (can be personal computer, server, or the network equipment etc.) performs the method described in each embodiment of the present invention.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although by above example, the present invention is carried out
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (11)
1. the method for controlling volume of an intelligent terminal, it is characterised in that including:
When described intelligent terminal is in speaker mode, whether detect the charge value of described intelligent terminal less than presetting electricity threshold
Value;
If so, controlling the current volume gain reduction certain gain numerical value of described intelligent terminal, wherein, described current volume increases
The gain difference of the beneficial and previous corresponding gain of volume level is more than described certain gain numerical value.
Method for controlling volume the most according to claim 1, it is characterised in that described default power threshold is the electricity of 20%
Value.
Method for controlling volume the most according to claim 1, it is characterised in that also include:
When described intelligent terminal is in speaker mode, whether detect the volume level of described intelligent terminal more than presetting volume threshold
Value;Accordingly,
If so, control the current volume gain reduction certain gain numerical value of described intelligent terminal.
4. according to the method for controlling volume described in claim 1 or 3, it is characterised in that described certain gain numerical value is equal to described
/ 2nd of gain difference.
Method for controlling volume the most according to claim 1, it is characterised in that whether detect the charge value of described intelligent terminal
Before presetting power threshold, also include: according to the regulating command of user's input, start automatic volume gain control function.
6. the sound volume control device of an intelligent terminal, it is characterised in that including:
Electric power detection module, for when described intelligent terminal is in speaker mode, detects the charge value of described intelligent terminal
Whether less than presetting power threshold;
Gain control module, if the charge value for described intelligent terminal is less than described default power threshold, control is by described
The current volume gain reduction certain gain numerical value of intelligent terminal, wherein, described current volume gain is corresponding with previous volume level
The gain difference of gain is more than described certain gain numerical value.
Sound volume control device the most according to claim 6, it is characterised in that described default power threshold is the electricity of 20%
Value.
Sound volume control device the most according to claim 6, it is characterised in that also include:
Volume detection module, for when described intelligent terminal is in speaker mode, detects the volume level of described intelligent terminal
Whether more than presetting volume threshold;Accordingly,
Described gain control module, if being additionally operable to the volume level of described intelligent terminal more than described default volume threshold, control
By the current volume gain reduction certain gain numerical value of described intelligent terminal.
9. according to the sound volume control device described in claim 6 or 8, it is characterised in that described certain gain numerical value is equal to described
/ 2nd of gain difference.
Sound volume control device the most according to claim 6, it is characterised in that also include: start module, in detection
Before whether the charge value of described intelligent terminal is less than presetting power threshold, according to the regulating command of user's input, start automatically
Volume gain controls function.
11. 1 kinds of storage mediums comprising computer executable instructions, it is characterised in that described computer executable instructions by
For performing the method for controlling volume of a kind of intelligent terminal when computer processor performs, this method for controlling volume includes:
When described intelligent terminal is in speaker mode, whether detect the charge value of described intelligent terminal less than presetting electricity threshold
Value;
If so, controlling the current volume gain reduction certain gain numerical value of described intelligent terminal, wherein, described current volume increases
The gain difference of the beneficial and previous corresponding gain of volume level is more than described certain gain numerical value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610416718.8A CN106125880A (en) | 2016-06-14 | 2016-06-14 | The method for controlling volume of a kind of intelligent terminal and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610416718.8A CN106125880A (en) | 2016-06-14 | 2016-06-14 | The method for controlling volume of a kind of intelligent terminal and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106125880A true CN106125880A (en) | 2016-11-16 |
Family
ID=57270242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610416718.8A Pending CN106125880A (en) | 2016-06-14 | 2016-06-14 | The method for controlling volume of a kind of intelligent terminal and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106125880A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107681993A (en) * | 2017-09-14 | 2018-02-09 | 维沃移动通信有限公司 | A kind of method and mobile terminal for adjusting audio frequency parameter |
CN107708037A (en) * | 2017-11-08 | 2018-02-16 | 深圳市沃特沃德股份有限公司 | The control method and device of portable loudspeaker box |
CN109408025A (en) * | 2018-10-25 | 2019-03-01 | 北京小米移动软件有限公司 | Audio frequency playing method, device and storage medium |
WO2019090534A1 (en) * | 2017-11-08 | 2019-05-16 | 深圳市沃特沃德股份有限公司 | Portable speaker control method and apparatus |
CN110730946A (en) * | 2017-08-18 | 2020-01-24 | Oppo广东移动通信有限公司 | Volume control method and device of mobile terminal, storage medium and mobile terminal |
WO2020077510A1 (en) * | 2018-10-15 | 2020-04-23 | 华为技术有限公司 | Method for adjusting parameter of audio service and terminal |
CN115695640A (en) * | 2021-07-28 | 2023-02-03 | 华为技术有限公司 | Shutdown prevention protection method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064749A (en) * | 2006-04-28 | 2007-10-31 | 佛山市顺德区顺达电脑厂有限公司 | Apparatus for adjusting reception sound volume |
US20080044041A1 (en) * | 2006-08-21 | 2008-02-21 | John Christopher Tucker | Energy-efficient consumer device audio power output stage |
CN103414443A (en) * | 2013-08-27 | 2013-11-27 | 广州顶毅电子有限公司 | Automatic volume control method and automatic volume control system |
CN103902010A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Method for reducing power consumption and electronic equipment |
CN104954935A (en) * | 2014-03-26 | 2015-09-30 | 瑞昱半导体股份有限公司 | Audio device and control method thereof |
-
2016
- 2016-06-14 CN CN201610416718.8A patent/CN106125880A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064749A (en) * | 2006-04-28 | 2007-10-31 | 佛山市顺德区顺达电脑厂有限公司 | Apparatus for adjusting reception sound volume |
US20080044041A1 (en) * | 2006-08-21 | 2008-02-21 | John Christopher Tucker | Energy-efficient consumer device audio power output stage |
CN103902010A (en) * | 2012-12-26 | 2014-07-02 | 联想(北京)有限公司 | Method for reducing power consumption and electronic equipment |
CN103414443A (en) * | 2013-08-27 | 2013-11-27 | 广州顶毅电子有限公司 | Automatic volume control method and automatic volume control system |
CN104954935A (en) * | 2014-03-26 | 2015-09-30 | 瑞昱半导体股份有限公司 | Audio device and control method thereof |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110730946B (en) * | 2017-08-18 | 2023-08-25 | Oppo广东移动通信有限公司 | Volume control method and device of mobile terminal, storage medium and mobile terminal |
CN110730946A (en) * | 2017-08-18 | 2020-01-24 | Oppo广东移动通信有限公司 | Volume control method and device of mobile terminal, storage medium and mobile terminal |
CN107681993B (en) * | 2017-09-14 | 2020-10-23 | 维沃移动通信有限公司 | Method for adjusting audio parameters and mobile terminal |
CN107681993A (en) * | 2017-09-14 | 2018-02-09 | 维沃移动通信有限公司 | A kind of method and mobile terminal for adjusting audio frequency parameter |
CN107708037B (en) * | 2017-11-08 | 2020-08-18 | 深圳市沃特沃德股份有限公司 | Control method and device of portable sound box |
CN107708037A (en) * | 2017-11-08 | 2018-02-16 | 深圳市沃特沃德股份有限公司 | The control method and device of portable loudspeaker box |
WO2019090534A1 (en) * | 2017-11-08 | 2019-05-16 | 深圳市沃特沃德股份有限公司 | Portable speaker control method and apparatus |
CN111373726A (en) * | 2018-10-15 | 2020-07-03 | 华为技术有限公司 | Parameter adjustment method and terminal for audio service |
WO2020077510A1 (en) * | 2018-10-15 | 2020-04-23 | 华为技术有限公司 | Method for adjusting parameter of audio service and terminal |
CN111373726B (en) * | 2018-10-15 | 2022-02-11 | 华为技术有限公司 | Parameter adjustment method and terminal for audio service |
US11689655B2 (en) | 2018-10-15 | 2023-06-27 | Huawei Technologies Co., Ltd. | Method for adjusting parameter of audio service and terminal |
CN109408025B (en) * | 2018-10-25 | 2021-10-22 | 北京小米移动软件有限公司 | Audio playing method, device and storage medium |
CN109408025A (en) * | 2018-10-25 | 2019-03-01 | 北京小米移动软件有限公司 | Audio frequency playing method, device and storage medium |
CN115695640A (en) * | 2021-07-28 | 2023-02-03 | 华为技术有限公司 | Shutdown prevention protection method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106125880A (en) | The method for controlling volume of a kind of intelligent terminal and device and storage medium | |
EP3512185B1 (en) | Volume adjustment method and terminal | |
US9391576B1 (en) | Enhancement of dynamic range of audio signal path | |
EP2597845B1 (en) | Mobile terminal, volume adjustment method and device thereof | |
US5946391A (en) | Telephones with talker sidetone | |
CN107517428A (en) | A kind of signal output method and device | |
CN112954115B (en) | Volume adjusting method and device, electronic equipment and storage medium | |
CN102710838A (en) | Volume regulation method and device as well as electronic equipment | |
CN110870201A (en) | Audio signal adjusting method and device, storage medium and terminal | |
CN106453946A (en) | Method for regulating output volume and mobile terminal | |
CN111508510B (en) | Audio processing method and device, storage medium and electronic equipment | |
CN103516899A (en) | Method increasing volume through combination key and mobile terminal | |
CN107145323A (en) | A kind of method for controlling volume and device and terminal | |
CN102202137A (en) | Mobile terminal and call tone quality regulation method thereof | |
WO2021262151A1 (en) | Smart background noise estimator | |
CN113259801B (en) | Horn noise reduction method and related device of intelligent earphone | |
CN109511040B (en) | Whisper amplifying method and device and earphone | |
CN109600470B (en) | Mobile terminal and sound production control method thereof | |
US8639294B2 (en) | System and method for performing automatic gain control in mobile phone environments | |
CN104485910A (en) | Gain control method and device | |
CN101883164A (en) | Adaptive volume gain device and method | |
CN105872182A (en) | Method for increasing sending loudness of microphone, and electronic terminal | |
CN107479851B (en) | Volume adjusting method, device, terminal device and storage medium | |
CN103546109A (en) | Remote multiparty conference volume adjusting system and method | |
CN112995853B (en) | Sound box and control method and power supply control circuit thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |