The content of the invention
In view of the foregoing deficiencies of prior art, it is an object of the invention to provide a kind of intelligence to adjust multimedia volume
Method, system and intelligent terminal, for solve the problems, such as the prior art can not in can not automatic regulating volume.
In order to achieve the above objects and other related objects, the present invention provides a kind of method that intelligence adjusts multimedia volume,
Applied in the intelligent terminal for having volume to export, the method that the intelligence adjusts multimedia volume includes:Obtain from intelligent terminal
The intelligent terminal local environment that receives of microphone in environmental volume environmental volume decibel;By the environmental volume decibel with
The output volume decibel of intelligent terminal in itself is compared, if the environmental volume decibel is more than the output sound of intelligent terminal in itself
Measure decibel and when the duration that the environmental volume decibel is more than the output volume decibel of intelligent terminal in itself exceeding default
Between when, according to preset algorithm increase intelligent terminal output volume decibel, if the environmental volume decibel is less than intelligent terminal sheet
The output volume decibel of body and when the environmental volume decibel is less than default decibel value, intelligence is reduced according to the preset algorithm
The output volume decibel of terminal.
Preferably, the method that the intelligence adjusts multimedia volume further includes:If the environmental volume decibel is more than intelligence
Terminal output volume decibel in itself and it is more than holding for the output volume decibel of intelligent terminal in itself in the environmental volume decibel
When the continuous time is not less than the preset time, keep the output volume decibel of intelligent terminal constant.
Preferably, the method that the intelligence adjusts multimedia volume further includes:If the environmental volume decibel is less than intelligence
Terminal output volume decibel in itself and when the environmental volume decibel is more than the default decibel value, keeps intelligent terminal
Output volume decibel is constant.
Preferably, the time selection range of the preset time is 3s~10s;The default decibel value is intelligent terminal sheet
The 5%~20% of the output volume of body;Increase output volume decibel or the reduction of intelligent terminal in default percentage range
The output volume decibel of intelligent terminal.
Preferably, a kind of expression way of the preset algorithm is:
VL=V+ Δs V;
Δ V=V × a;
Wherein, VLFor the output volume decibel of intelligent terminal after adjusting in itself, V is intelligent terminal in itself defeated before not adjusting
Go out volume decibel, Δ V changes for volume decibel, and a is volume decibel variation coefficient, and t is transformation period, and the value range of t is 1s
~5s.
To achieve the above object, the present invention also provides it is a kind of intelligence adjust multimedia volume system, the system comprises:
Acquisition module, for obtaining the ambient sound of the environmental volume out of the microphone of intelligent terminal receives intelligent terminal local environment
Measure decibel;Volume adjusting module, including:Adjusting switch unit, it is defeated that the intelligence for opening and closing intelligent terminal adjusts volume
Go out function;Volume comparing unit, is respectively connected with the acquisition module and the adjusting switch unit, by the environmental volume point
Compared with the output volume decibel of shellfish and intelligent terminal in itself;Volume increasing unit, is connected with the volume comparing unit,
The environmental volume decibel is more than intelligent terminal output volume decibel in itself and is more than intelligence eventually in the environmental volume decibel
When the duration of the output volume decibel at end itself exceedes preset time, intelligent terminal defeated in itself is increased according to preset algorithm
Go out volume decibel;Volume reduction unit, is connected with the volume comparing unit, is less than intelligent terminal in the environmental volume decibel
The output volume decibel of itself and when the environmental volume decibel is less than default decibel value, intelligence is reduced according to the preset algorithm
Can the output volume decibel of terminal in itself.
Preferably, the volume increasing unit is additionally operable to be more than the output of intelligent terminal in itself in the environmental volume decibel
Volume decibel and the environmental volume decibel be more than the output volume decibel of intelligent terminal in itself duration not less than institute
When stating preset time, keep the output volume decibel of intelligent terminal constant.
Preferably, the volume reduction unit is additionally operable to be less than the output of intelligent terminal in itself in the environmental volume decibel
Volume decibel and when the environmental volume decibel is more than the default decibel value, keeps the output volume decibel of intelligent terminal not
Become.
Preferably, the time selection range of the preset time is 3s~10s;The default decibel value is intelligent terminal sheet
The 5%~20% of the output volume of body;Increase output volume decibel or the reduction of intelligent terminal in default percentage range
The output volume decibel of intelligent terminal.
Preferably, a kind of expression way of the preset algorithm is:
VL=V+ Δs V;
Δ V=V × a;
Wherein, VLFor the output volume decibel of intelligent terminal after adjusting in itself, V is intelligent terminal in itself defeated before not adjusting
Go out volume decibel, Δ V changes for volume decibel, and a is volume decibel variation coefficient, and t is transformation period, and the value range of t is 1s
~5s.
To achieve the above object, the present invention also provides the intelligent terminal that a kind of intelligence adjusts multimedia volume, the intelligence
Terminal includes the system that intelligence as described above adjusts multimedia volume.
As described above, a kind of intelligence of the present invention adjusts method, system and the intelligent terminal of multimedia volume, have following
Beneficial effect:
The present invention obtains external environment sound by the microphone of intelligent terminal in itself, and feeds back to intelligent terminal, intelligent terminal
According to extraneous actual conditions, automatic, smooth adjusting volume, to adapt to the actually located ambient sound situation of user;This hair
It is bright according to the actual changeable ambient sound situation of user, the adjusting multimedia volume of automated intelligent, without the frequent hand of user oneself
It is dynamic to adjust, allow user more freely to listen to music or view and admire film, thoroughly liberate user, brought more preferably to user
User experience.
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.
It is an object of the invention to provide method, system and the intelligent terminal that a kind of intelligence adjusts multimedia volume, it is used for
Solve the problems, such as the prior art can not in can not automatic regulating volume.One kind intelligence of the invention described in detail below adjusts more
The principle and embodiment of the method for media volume, system and intelligent terminal, make those skilled in the art need not creative labor
A kind of dynamic intelligence for being appreciated that the present invention adjusts method, system and the intelligent terminal of multimedia volume.
First embodiment
The present embodiment provides a kind of method that intelligence adjusts multimedia volume, applied to the intelligent terminal for thering is volume to export
In, here, the intelligent terminal can carry out numerical computations and letter automatically including a kind of according to the instruction for being previously set or storing
Breath processing, and there is the electronic equipment of multimedia video, it includes but not limited to mobile phone, computer, touch screen terminal etc..
The present invention is that intelligent terminal can be spontaneous, intelligent based on user when using intelligent terminal amusement video/audio function
The volume of intelligent terminal is automatically adjusted according to the actual environment on user periphery.If the ambient sound on user periphery is excessive to influence user
During normal use, intelligent terminal amplifies multimedia volume automatically, with the noisy ear-piercing sound of shield perimeter;When the ring on user periphery
Border sound very little or when not having sound substantially, intelligent terminal can reduce multimedia volume automatically to certain numerical value, ensure to use
On the premise of the experience of family normal use, avoid user because volume is excessive and the hearing impairment of band, from user perspective, allow intelligence
Energy terminal more hommization, can think that the institute of user thinks, be user for user and want to do.
Specifically, as shown in Figure 1, the method that the intelligence in the present embodiment adjusts multimedia volume specifically includes following step
Suddenly.
Step S11, obtains the ring of the environmental volume out of the microphone of intelligent terminal receives intelligent terminal local environment
Border volume decibel;Obtain the environmental volume of the environmental volume out of the microphone of intelligent terminal receives intelligent terminal local environment
Decibel specifically can be by the domestic volume of microphone reception ring that intelligent terminal carries in itself, the then volume to being received from microphone
Handled and obtained to realize.
Step S12, judges whether environmental volume decibel is more than the output volume decibel of intelligent terminal in itself, that is, by institute
Compared with stating the output volume decibel of environmental volume decibel and intelligent terminal in itself, if the environmental volume decibel is more than intelligence
The output volume decibel of terminal in itself then then performs step S13, if the environmental volume decibel is less than or equal to intelligent terminal sheet
The output volume decibel of body then then performs step S14.
In step s 13, when the environmental volume decibel is more than the output volume decibel of intelligent terminal in itself, continue to sentence
Whether the duration that the environmental volume decibel that breaks is more than the output volume decibel of intelligent terminal in itself exceedes preset time, its
In, the time selection range of the preset time is but is not limited to 3s~10s, such as the preset time is 5s, judges institute
Duration of the environmental volume decibel more than the output volume decibel of intelligent terminal in itself is stated more than 5s.If the environmental volume point
The duration that shellfish is more than the output volume decibel of intelligent terminal in itself exceedes preset time and then then performs step S16, described
Environmental volume decibel is more than the duration of the output volume decibel of intelligent terminal in itself not less than the preset time then then
Perform step S15.
In step S15, keep the output volume decibel of intelligent terminal constant, i.e., described environmental volume decibel is more than intelligence
The duration of the output volume decibel of terminal in itself not less than the preset time, keeps the output volume decibel of intelligent terminal
It is constant.It is, the environmental volume decibel is more than intelligent terminal output volume decibel in itself and in the environmental volume point
When shellfish is more than the duration of the output volume decibel of intelligent terminal in itself not less than the preset time, intelligent terminal is kept
Output volume decibel is constant.
In step s 16, it is more than intelligent terminal output volume decibel in itself and described in the environmental volume decibel
When the duration that environmental volume decibel is more than the output volume decibel of intelligent terminal in itself exceedes the preset time, according to pre-
Imputation method increases the output volume decibel of intelligent terminal, specifically, increases the defeated of intelligent terminal in default percentage range
Go out volume decibel, complete to be automatically increased the adjusting of volume.
In step S14, when the environmental volume decibel is less than the output volume decibel of intelligent terminal in itself, continue to sentence
Whether the environmental volume decibel that breaks is less than default decibel value, wherein, the default decibel value is the output of intelligent terminal in itself
The 5%~20% of volume, for example, the default decibel value is the 10% of the output volume of intelligent terminal in itself, in step S14
In, judge whether the environmental volume decibel is less than the 10% of the output volume of intelligent terminal in itself.If the environmental volume point
Shellfish is less than default decibel value and then then performs step S17, is then held if the environmental volume decibel is not less than default decibel value
Row step S15.
In step S17, it is less than intelligent terminal output volume decibel in itself and described in the environmental volume decibel
When environmental volume decibel is less than default decibel value, the output volume decibel of intelligent terminal is reduced according to preset algorithm, specifically,
The output volume decibel of intelligent terminal is reduced in default percentage range, completes the automatic adjusting for reducing volume.
In step S15, keep the output volume decibel of intelligent terminal constant, i.e., described environmental volume decibel is less than intelligence
Terminal output volume decibel in itself and when the environmental volume decibel is more than default decibel value, keeps the output of intelligent terminal
Volume decibel is constant.
In step S16 and step S17, a kind of expression way of the preset algorithm is:
VL=V+ Δs V;
Δ V=V × a;
Wherein, VLFor the output volume decibel of intelligent terminal after adjusting in itself, V is intelligent terminal in itself defeated before not adjusting
Go out volume decibel, Δ V changes for volume decibel, and a is volume decibel variation coefficient, and t is transformation period, and the value range of t is 1s
~5s.
Multimedia audio adjustment function variable includes:Intelligent terminal current volume V, transformation period t, volume change coefficient a,
Volume V after the volume Δ V of change and changeL, explain in detail as follows:
Intelligent terminal current volume V is constant, its numerical value is equal to intelligent terminal volume numerical value itself.Transformation period t is normal
Amount, numerical value are 1-5 seconds.For example, every time with 5 seconds for a unit, the adjusting of increase or the reduction of a volume is completed.
Volume change coefficient a is a variable, it is with change is changed with time, and the adjustable range of its numerical value is every time
0-5%, gradually seamlessly transits, its function formula is:
It can be seen that volume change coefficient a is a SIN function from formula, its volume change coefficient automatically adjusted
Curve map has effectively eliminated volume adjustment as shown in Fig. 2, so as to seamlessly transitting when ensure that intelligent terminal adjusts volume
Pause and transition in rhythm or melody sense, allows user unconsciously generating the change of volume.
The volume Δ V of change draws by intelligent terminal current volume V and the functional operation of volume change coefficient a, its function
Formula is as follows:
Δ V=V × a
Finally, the volume V after changeLIt is added and is drawn by the volume Δ V changed the volume V previous with intelligent terminal, it is public
Formula is as follows:
VL=V+ Δs V
As can be seen that multimedia audio adjusting is a process gradually changed from formula, the adjusting of multimedia volume
Foundation is determined that may increase be able to reduce, but either how change, multimedia volume by external environment sound
Increase and subtract and carry out seamlessly transitting adjusting with volume change coefficient curve, effectively avoid that volume adjustment is brought to user
Frustrate sense.
Intelligent multimedia volume control is calculated by the multimedia volume percentage set before user, so
It can ensure that the multimedia volume of user is intelligently adjusted in a rational scope, be not in the larger volume transition of contrast,
And each automatic adjustment is smooth adjustment, change every time either increases or reduces, with 5 seconds for a unit
To seamlessly transit, user is allowed unconsciously just to change the size of volume.
Therefore the present invention is the surrounding enviroment based on user, automatic, spontaneous, intelligent adjusting multimedia volume
Design solution.
Second embodiment
To realize the method for above-mentioned intelligence adjusting multimedia volume, the present embodiment, which corresponds to, provides a kind of intelligence adjusting multimedia
The system of volume and the intelligent terminal comprising the system.Here, the intelligent terminal include one kind can according to being previously set or
The instruction of storage, it is automatic to carry out numerical computations and information processing, and there is the electronic equipment of multimedia video, it includes
But it is not limited to mobile phone, computer, touch screen terminal etc..
For user when using the multimedia function of intelligent terminal, intelligent terminal can judge the environmental aspect on periphery to make phase
The multimedia volume adjustment answered.Specifically, the present invention is that intelligence is eventually based on user when using intelligent terminal amusement video/audio function
End can spontaneous, the intelligent volume that intelligent terminal is automatically adjusted according to the actual environment on user periphery.If the ring on user periphery
Border sound is excessive when influencing user's normal use, and intelligent terminal amplifies multimedia volume automatically, noisy ear-piercing with shield perimeter
Sound;When the ambient sound very little on user periphery or when not having sound substantially, intelligent terminal can reduce multimedia volume automatically and arrive
Certain numerical value, on the premise of the experience of user normal use is ensured, avoid user because volume is excessive and the hearing impairment of band,
From user perspective, intelligent terminal more hommization is allowed, can think that the institute of user thinks, be user for user and want to do.
Specifically, in the present embodiment, as shown in figure 3, the system 1 that intelligence adjusts multimedia volume includes acquisition module 11
With volume adjusting module 12.Since intelligent terminal includes the system, so base of the intelligent terminal except including intelligent terminal body
Outside this structure, acquisition module 11 and volume adjusting module 12 are further included.
General intelligence terminal is provided with microphone, and i.e. using intelligent terminal, interior microphone receives and comes from intelligence in itself in the present embodiment
The environmental volume of environment described in energy terminal, i.e., described acquisition module 11 obtain the intelligently end received from the microphone of intelligent terminal
Hold the environmental volume decibel of environmental volume in local environment.
As shown in figure 3, the volume adjusting module 12, including:Adjusting switch unit 121, volume comparing unit 122, sound
Measure increasing unit 123 and volume reduction unit 124.
The intelligence that adjusting switch unit 121 is used to open and close intelligent terminal adjusts volume output function.First, user
Need in intelligent terminal is set, open this function, that is, open adjusting switch unit 121.User is in intelligent terminal multimedia
Sound opens intelligent multimedia volume control switch in setting.As shown in Figures 4 to 6, the adjusting switch unit 121 is intelligence
Multimedia volume control switch, concretely a switch button, drives intelligent terminal by touching click slide switch button
Begin and stop intelligence and adjust volume output, wherein Fig. 4 is shown as adjusting switch unit 121 and is in off state, at this time intelligent terminal
Stop intelligence and adjust volume output, it is opening that Fig. 5 and Fig. 6, which are illustrated as adjusting switch unit 121, and intelligent terminal is opened at this time
The intelligence that begins adjusts volume output, after the switch unlatching of adjusting switch unit 121, as shown in Figure 5 and Figure 6, in default percentage
In the range of user the scope of multimedia volume automatic adjustment according to the usually service condition of itself, can be defined.
Volume comparing unit 122 is connected the ambient sound with the acquisition module 11 and the adjusting switch unit 121
Compared with measuring the output volume decibel of decibel and intelligent terminal in itself, that is, by the environmental volume decibel and intelligent terminal
The output volume decibel of itself is compared, and judges whether environmental volume decibel is more than intelligent terminal output volume point in itself
Shellfish.
Volume increasing unit 123 is connected with the volume comparing unit 122, is more than intelligence eventually in the environmental volume decibel
The output volume decibel at end itself and it is more than the output volume decibel of intelligent terminal in itself in the environmental volume decibel and continues
When time exceedes preset time, the output volume decibel of intelligent terminal in itself is increased according to preset algorithm.
When the environmental volume decibel is more than intelligent terminal output volume decibel in itself, volume increasing unit 123 after
It is continuous to judge that the environmental volume decibel is more than whether duration of the output volume decibel of intelligent terminal in itself exceedes when presetting
Between, wherein, the time selection range of the preset time is but is not limited to 3s~10s, such as the preset time is 5s, is sentenced
The environmental volume decibel that breaks is more than the duration of the output volume decibel of intelligent terminal in itself more than 5s.
It is more than intelligent terminal output volume decibel in itself and in the environmental volume decibel in the environmental volume decibel
When duration more than the output volume decibel of intelligent terminal in itself exceedes preset time, intelligence is increased eventually according to preset algorithm
The output volume decibel at end, specifically, increases the output volume decibel of intelligent terminal in default percentage range, completes certainly
The adjusting of dynamic increase volume.
The volume increasing unit 123 is additionally operable to be more than the output volume of intelligent terminal in itself in the environmental volume decibel
Decibel and the environmental volume decibel be more than the output volume decibel of intelligent terminal in itself duration not less than it is default when
Between when, keep the output volume decibel of intelligent terminal constant.
Volume reduction unit 124 is connected with the volume comparing unit 122, is less than intelligence eventually in the environmental volume decibel
The output volume decibel at end itself and when the environmental volume decibel is less than default decibel value, intelligence is reduced according to preset algorithm
The output volume decibel of terminal in itself.
When the environmental volume decibel is less than intelligent terminal output volume decibel in itself, volume reduction unit 124 after
It is continuous to judge whether the environmental volume decibel is less than default decibel value, wherein, the default decibel value be intelligent terminal in itself
The 5%~20% of output volume, for example, the default decibel value is the 10% of the output volume of intelligent terminal in itself.
The volume reduction unit 124 is additionally operable to be less than the output volume of intelligent terminal in itself in the environmental volume decibel
Decibel and when the environmental volume decibel is more than default decibel value, keeps the output volume decibel of intelligent terminal constant.
It is less than intelligent terminal output volume decibel in itself and in the environmental volume decibel in the environmental volume decibel
During less than default decibel value, the output volume decibel of intelligent terminal is reduced according to preset algorithm, specifically, in default percentage
In the range of reduce the output volume decibel of intelligent terminal, complete the automatic adjusting for reducing volume.
In the volume increasing unit 123 and the volume reduction unit 124, a kind of expression side of the preset algorithm
Formula is:
VL=V+ Δs V;
Δ V=V × a;
Wherein, VLFor the output volume decibel of intelligent terminal after adjusting in itself, V is intelligent terminal in itself defeated before not adjusting
Go out volume decibel, Δ V changes for volume decibel, and a is volume decibel variation coefficient, and t is transformation period, and the value range of t is 1s
~5s.
Multimedia audio adjustment function variable includes:Intelligent terminal current volume V, transformation period t, volume change coefficient a,
Volume V after the volume Δ V of change and changeL, explain in detail as follows:
Intelligent terminal current volume V is constant, its numerical value is equal to intelligent terminal volume numerical value itself.Transformation period t is normal
Amount, numerical value are 1-5 seconds.For example, every time with 5 seconds for a unit, the adjusting of increase or the reduction of a volume is completed.
Volume change coefficient a is a variable, it is with change is changed with time, and the adjustable range of its numerical value is every time
0-5%, gradually seamlessly transits, its function formula is:
It can be seen that volume change coefficient a is a SIN function from formula, its volume change coefficient automatically adjusted
Curve map has effectively eliminated volume adjustment as shown in Fig. 2, so as to seamlessly transitting when ensure that intelligent terminal adjusts volume
Pause and transition in rhythm or melody sense, allows user unconsciously generating the change of volume.
The volume Δ V of change draws by intelligent terminal current volume V and the functional operation of volume change coefficient a, its function
Formula is as follows:
Δ V=V × a
Finally, the volume V after changeLIt is added and is drawn by the volume Δ V changed the volume V previous with intelligent terminal, it is public
Formula is as follows:
VL=V+ Δs V
As can be seen that multimedia audio adjusting is a process gradually changed from formula, the adjusting of multimedia volume
Foundation is determined that may increase be able to reduce, but either how change, multimedia volume by external environment sound
Increase and subtract and carry out seamlessly transitting adjusting with volume change coefficient curve, effectively avoid that volume adjustment is brought to user
Frustrate sense.
Intelligent multimedia volume control is calculated by the multimedia volume percentage set before user, so
It can ensure that the multimedia volume of user is intelligently adjusted in a rational scope, be not in the larger volume transition of contrast,
And each automatic adjustment is smooth adjustment, change every time either increases or reduces, with 5 seconds for a unit
To seamlessly transit, user is allowed unconsciously just to change the size of volume.
Therefore the present invention is the surrounding enviroment based on user, automatic, spontaneous, intelligent adjusting multimedia volume
Design solution.
In conclusion in the intelligence of the present invention adjusts the method, system and intelligent terminal of multimedia volume, pass through intelligence
The acquisition module 11 of terminal in itself, obtains the decibels of external environment sound, and feeds back to intelligent terminal, and intelligent terminal is according to the external world
Actual conditions, automatic, smooth adjusting volume, to adapt to the actually located ambient sound situation of user;The present invention according to
The actual changeable ambient sound situation in family, the adjusting multimedia volume of automated intelligent, frequently adjusts, allows manually without user oneself
User more freely listens to music or views and admires film, thoroughly liberates user, more preferable user's body is brought to user
Test.So the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.