A kind of method that sound regulates and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to method and the terminal of the adjustment of a kind of sound.
Background technology
In daily life, due to the sound characteristic parameter of external environment, always make the terminal sound characteristic parameter regulated can not meet the demand of user, need the sound characteristic parameter regulating terminal according to the characteristic parameter of external environmental sounds, here be described for the wave volume value of mobile phone, along with the development of smart mobile phone is with universal, increasing people uses mobile phone to listen to the music to dismiss the boring commuter time.But due to the commuter time, noise jamming change on the way greatly, causes many times volume of music to seem excessive or too small.Such as, when Zou community or quietly trail, less volume just can not hear music; But on bus, on subway or walk and jump on bridge in the People's Bank of China of major trunk roads, originally melodious music cannot do not heard at all.Existing ways of addressing this issue is exactly the external environment volume value manually regulating the volume key of terminal to tune up or adapted to since turning sound down constantly change.Although this method also can realize the function regulating volume value, this mode is intelligent lower, complex operation, inconvenient.
Summary of the invention
A kind of method that the embodiment of the present invention provides sound to regulate and terminal, can realize the sound characteristic parameter automatically regulating terminal according to the change of the sound characteristic parameter of terminal place environment, the intelligent height of this mode, easy to operate.
Embodiments provide a kind of method regulating volume, comprising:
Obtain the sound characteristic parameter of terminal place environment;
Determine the sound characteristic difference value between the sound characteristic parameter of described terminal place environment and preset reference value;
According to described sound characteristic difference value, regulate the sound characteristic parameter of described terminal.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, comprising:
Acquisition module, for obtaining the sound characteristic parameter of terminal place environment;
Determination module, for the sound characteristic difference value of the sound characteristic parameter and preset reference of determining described terminal place environment;
First adjustment module, for according to described sound characteristic difference value, regulates the sound characteristic difference value of described terminal.
In the embodiment of the present invention, by obtaining the sound characteristic parameter of terminal place environment, and the sound characteristic parameter of terminal is regulated according to the sound characteristic difference value between the sound characteristic parameter of terminal place environment and preset reference value, since adapt to the sound characteristic parameter of the terminal place environment of constantly change, the intelligent height of method of this adjustment sound, easy to operate, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of the method that a kind of sound provided by the invention regulates;
Fig. 2 is the second embodiment schematic flow sheet of the method that a kind of sound provided by the invention regulates;
Fig. 3 is the 3rd embodiment schematic flow sheet of the method that a kind of sound provided by the invention regulates;
Fig. 4 is the 4th embodiment schematic flow sheet of the method that a kind of sound provided by the invention regulates;
Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of first adjustment module that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of regulon that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Terminal described in the embodiment of the present invention can be the terminal that mobile phone, panel computer, notebook computer etc. have sound characteristic parameter function.
Please refer to Fig. 1, is the first embodiment flow graph of the method that a kind of sound provided by the invention regulates; As described in Figure 1, the method that a kind of sound described in the present embodiment regulates comprises step:
S100, obtains the sound characteristic parameter of terminal place environment;
In specific embodiment, sound characteristic parameter can comprise volume value, the frequency spectrum and positional information etc. of sound.The sound of terminal place environment can be the noise of terminal place environment, also can be normal talks sound at that time, that is to say voice.The sound characteristic parameter mode obtaining terminal place environment can be, according to predetermined period, obtain the sound of terminal place environment, then Measurement and analysis is carried out to obtained sound, obtain obtained sound characteristic parameter, concrete, the voice mode obtaining terminal place environment can be, utilize the sound of the sound receiver receiving terminal place environment of terminal, such as, the sound of the Mic receiving terminal place environment of mobile phone can be utilized.
S101, determines the sound characteristic difference value between the sound characteristic parameter of described terminal place environment and preset reference value;
In specific embodiment, the set-up mode of preset reference value can for when terminal be in an environment, regulate the sound characteristic parameter of terminal, adapt to make the sound characteristic parameter of terminal and the sound characteristic parameter of terminal place environment at that time, its accommodation mode can be, here be that sound characteristic parameter is illustrated and is described with volume value, the such as ambient noise at mobile phone place and the sound of mobile phone music exist simultaneously, but user still can hear melodious mobile phone music.Now, using the wave volume value of terminal place environment as preset reference value, and the volume value of the terminal place environment at every turn obtained and this preset reference value are compared and calculate, draw the difference between the volume value of terminal place environment and this preset reference value; Certainly, preset reference value can also be terminal obtain a upper positional information time ambient sound characteristic parameter.
S102, according to described sound characteristic difference value, regulates the sound characteristic parameter of described terminal.
In specific embodiment, sound characteristic difference value can comprise volume difference, spectrum difference, positional information changing value etc.According to obtained sound characteristic difference value, the mode of the sound characteristic parameter of adjustment terminal can be, here with volume difference for sound characteristic difference value, volume value is that sound characteristic parameter is illustrated and is described, in the stored record of terminal, search the terminal volume value that this volume difference is corresponding, then the volume value of terminal is adjusted to terminal volume value corresponding to this volume difference.It should be noted that, needing in advance to store the corresponding relation between volume difference and terminal volume value in the terminal, can be the corresponding terminal volume value of a volume difference, further, this corresponding relation needs to be obtained by repetition test, makes the experience of user best; Such as when setting the corresponding relation between volume difference and terminal volume value, can settings be 5 decibels of counterpart terminal volume values be one-level volume, volume difference be 10 decibels of counterpart terminal sound secondary volumes.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Please refer to Fig. 2, is the second embodiment schematic flow sheet of the method that a kind of sound provided by the invention regulates; As described in Figure 2, the method that a kind of sound described in the present embodiment regulates comprises step:
S200, obtains the sound characteristic parameter of terminal place environment;
Embodiment of the present invention step S200, please refer to the embodiment step S100 shown in Fig. 1, does not repeat at this.
S201, determines the sound characteristic difference value between the sound characteristic parameter of described terminal place environment and preset reference value;
Embodiment of the present invention step S201, please refer to the embodiment step S101 shown in Fig. 1, does not repeat at this.
S202, described sound characteristic parameter comprises volume value, and described sound characteristic difference value comprises volume difference; If described volume difference is greater than predetermined threshold value, then obtain the sound spectrum of described terminal place environment;
In specific embodiment, predetermined threshold value needs to preset, its established standards mainly based on the wave volume value of terminal place environment to the influence degree of terminal volume value, such as, when listening to the music with mobile phone, if the wave volume value of mobile phone place environment have impact on the effect of listening to the music, then the wave volume value of now mobile phone place environment and this musical sound are adapted place environment wave volume value between difference be set as predetermined threshold value, if the volume difference between the wave volume value of terminal place environment and predetermined threshold value is greater than this predetermined threshold value, then illustrate that the wave volume value of now terminal place environment have impact on terminal volume value, then obtain the sound spectrum of terminal place environment, it should be noted that, the sound spectrum mode obtaining terminal place environment can for carry out FFT conversion by the sound of terminal place environment, obtain the sound spectrum of terminal place environment.
S203, carries out spectrum analysis to the sound spectrum of described terminal place environment;
In specific embodiment, spectrum analysis is carried out to the sound spectrum of the terminal place environment obtained, its object analyzed mainly judges the sound type of terminal place environment, the sound type of terminal place environment can be noise, also can be normal conversation voice sound, its concrete analysis mode can be that the low frequency of the sound spectrum of acquisition environment and HFS are compared analysis.
S204, according to analysis result, regulates the volume value of described terminal.
In specific embodiment, according to the volume value of the sound spectrum analysis result adjustment terminal of obtained terminal place environment, concrete, if the sound spectrum of terminal place environment meets noise spectrum, the rank of terminal volume value is then determined according to the volume difference between the wave volume value of terminal place environment and preset reference value, if the sound spectrum of terminal place environment meets normal conversation voice frequency spectrum, then illustrate there is now normal talk, terminal volume value is adjusted to quiet or predetermined volume value.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Please refer to Fig. 3, is a kind of the 3rd embodiment schematic flow sheet regulating the method for volume provided by the invention; As described in Figure 3, a kind of method of volume that regulates described in the present embodiment comprises step:
S300, stores the corresponding relation of volume difference and the terminal volume value preset, and stores the corresponding relation of positional information and the terminal volume value preset;
In specific embodiment, default volume difference and the corresponding relation of terminal volume value can be prestored in terminal equipment, the volume difference preset and the corresponding relation of terminal volume value can be, a corresponding terminal volume value of volume difference, it should be noted that, the concrete corresponding relation of volume difference and terminal volume value needs repetition test to obtain, and adapts to make the wave volume value of environment residing for the terminal volume value after adjustment and terminal.Further, the corresponding relation of default positional information and terminal volume value can also be stored in terminal equipment, the positional information preset and the corresponding relation of terminal volume value can be, a corresponding terminal volume value of positional information, it should be noted that, this corresponding relation also can be constantly updated along with the change of the outside noise of this position.
S301, judges whether the sound receiver of described terminal is blocked;
In specific embodiment, the range sensor of terminal can be utilized to judge, and whether the sound receiver of terminal is blocked, if the sound receiver of terminal is blocked, then the distance measured between terminal and shelter of range sensor is smaller, if the sound receiver of terminal is not blocked, then the distance measured of range sensor is larger, so the range information measured according to range sensor can judge whether the sound receiver of terminal is blocked.
S302, if not, then performs the step of the sound characteristic parameter obtaining terminal place environment;
In specific embodiment; if the sound receiver of terminal is not blocked; then illustrate that terminal can hold the sound of place environment; terminal just obtains the wave volume value of terminal place environment; terminal place sound can be the noise of terminal place environment; also can be normal talks sound at that time, that is to say voice.The wave volume value mode obtaining terminal place environment can be, according to predetermined period, obtain the sound of terminal place environment, then Measurement and analysis is carried out to obtained sound, obtain obtained wave volume value, it should be noted that, the voice mode obtaining terminal place environment can be, utilize the sound of the sound receiver receiving terminal place environment of terminal, such as, the sound of the Mic receiving terminal place environment of mobile phone can be utilized.
S303, determines the sound characteristic difference value between the sound characteristic parameter of described terminal place environment and preset reference value;
Embodiment of the present invention step S303, please refer to the embodiment step S101 shown in Fig. 1, does not repeat at this.
S304, described sound characteristic parameter comprises volume value, and described sound characteristic difference value comprises volume difference; If described volume difference is greater than predetermined threshold value, then obtain the sound spectrum of described terminal place environment;
Embodiment of the present invention step S304, please refer to the embodiment step S202 shown in Fig. 2, does not repeat at this.
S305, carries out spectrum analysis to the sound spectrum of described terminal place environment;
Embodiment of the present invention step S305, please refer to the embodiment step S203 shown in Fig. 2, does not repeat at this.
S306, if the sound spectrum of described terminal place environment is voice spectrum, is then adjusted to quiet or default volume value by the volume value of described terminal;
In specific embodiment, when spectrum analysis is carried out to the sound spectrum of terminal place environment, if low frequency part is apparently higher than HFS, the sound spectrum then can determining terminal place environment is voice spectrum, that is to say that the sound of terminal place environment is voice, now, can hear to make talk, the volume value of terminal can be adjusted to a quiet or lower default volume value, it should be noted that, default volume value herein can be set by user oneself as the case may be.
S307, if the sound spectrum of described terminal place environment is noise spectrum, is then adjusted to terminal volume value corresponding to described volume difference by the volume value of described terminal.
In specific embodiment, when spectrum analysis is carried out to the sound spectrum of terminal place environment, if HFS is apparently higher than low frequency part, then can determine that the sound of terminal place environment is noise spectrum, that is to say that the sound of terminal place environment is noise, now, in order to the wave volume value of terminal and outside noise volume are answered, then need the volume value of terminal to be adjusted to terminal volume value corresponding to volume difference, needs are, having prestored the corresponding relation of volume difference and terminal volume value in terminal, is namely the corresponding terminal volume value of a sound.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Please refer to Fig. 4, is a kind of the 4th embodiment schematic flow sheet regulating the method for volume provided by the invention; As described in Figure 4, a kind of method of volume that regulates described in the present embodiment comprises step:
S400, stores the corresponding relation of volume difference and the terminal volume value preset, and stores the corresponding relation of positional information and the terminal volume value preset;
Embodiment of the present invention step S400, please refer to the embodiment step S300 shown in Fig. 3, does not repeat at this.
S401, judges whether the sound receiver of described terminal is blocked;
Embodiment of the present invention step S401, please refer to the embodiment step S301 shown in Fig. 3, does not repeat at this.
S402, if so, then obtains the current location information of described terminal, according to the corresponding relation of described default positional information and terminal volume value, searches the terminal volume value corresponding with the current location information of described terminal;
In specific embodiment, the mode obtaining the current location information of terminal can be, the current positional information of terminal is obtained by the GPS of terminal, again according to the corresponding relation of default terminal positional information and terminal volume value, search the terminal volume value corresponding with obtained present terminal position information, it should be noted that, need the volume value corresponding relation storing default positional information and terminal in advance in the terminal, its concrete corresponding relation can be the corresponding terminal volume value of a positional information.Searching the terminal volume value concrete mode corresponding with the current location information of terminal can be mated one by one with the preset position information of storage by the current location information of terminal, if the match is successful, then terminal volume value corresponding for the preset position information stored that the match is successful is extracted.
S403, is adjusted to the described terminal volume value that the current location information of the described terminal found is corresponding by the volume value of described terminal.
In specific embodiment, the volume value of terminal is adjusted to terminal storage with this positional information opposite end volume value, it should be noted that, between the preset position information of terminal storage and terminal volume value, relation can change, and can constantly upgrade.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Set forth the specific implementation of a kind of terminal that the embodiment of the present invention provides below.
Please refer to Fig. 5, is the structural representation of a kind of terminal that the embodiment of the present invention provides.As shown in Figure 5, a kind of terminal described in the present embodiment comprises: acquisition module 100, determination module 101 and the first adjustment module 102.
Acquisition module 100, for obtaining the sound characteristic parameter of terminal place environment;
In specific embodiment, sound characteristic parameter can comprise volume value, the frequency spectrum and positional information etc. of sound.The sound of terminal place environment can be the noise of terminal place environment, also can be normal talks sound at that time, that is to say voice.The sound characteristic parameter mode that acquisition module 100 obtains terminal place environment can be, according to predetermined period, obtain the sound of terminal place environment, then Measurement and analysis is carried out to obtained sound, obtain obtained sound characteristic parameter, concrete, the voice mode that first acquisition module 100 obtains terminal place environment can be, utilize the sound of the sound receiver receiving terminal place environment of terminal, such as, the sound of the Mic receiving terminal place environment of mobile phone can be utilized.
Determination module 101, for determining the sound characteristic difference value between the sound characteristic parameter of described terminal place environment and preset reference value;
In specific embodiment, the set-up mode of preset reference value can for when terminal be in an environment, regulate the sound characteristic parameter of terminal, adapt to make the sound characteristic parameter of terminal and the sound characteristic parameter of terminal place environment at that time, its accommodation mode can be, here be that sound characteristic parameter is illustrated and is described with volume value, the such as ambient noise at mobile phone place and the sound of mobile phone music exist simultaneously, but user still can hear melodious mobile phone music.Now, using the wave volume value of terminal place environment as fiducial value, the volume value of the terminal place environment at every turn obtained and this fiducial value compare and calculate by computing module 101, draw the difference between the volume value of terminal place environment and this fiducial value; Certainly, preset reference value can also be terminal obtain a upper positional information time ambient sound characteristic parameter.
First adjustment module 102, for according to described sound characteristic difference value, what regulate described terminal levies parameter.
In specific embodiment, sound characteristic difference value can comprise volume difference, spectrum difference, position changing value etc.First adjustment module 102 is according to calculated sound characteristic difference value, the mode of the sound characteristic parameter of adjustment terminal can be, here to illustrate for sound characteristic difference value with volume difference and be described, in the stored record of terminal, search the terminal volume value that this volume difference is corresponding, then the volume value of terminal is adjusted to terminal volume value corresponding to this volume difference.It should be noted that, needing in advance to store the corresponding relation between volume difference and terminal volume value in the terminal, can be the corresponding terminal volume value of a volume difference, further, this corresponding relation needs to be obtained by repetition test, makes the experience of user best; Such as when setting the corresponding relation between volume difference and terminal volume value, can to arrange volume difference be 5 decibels of counterpart terminal volume values is one-level volume, and volume difference is 10 decibels of counterpart terminal volume values is secondary volume.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Please refer to Fig. 6, is the structural representation of the another kind of terminal that the embodiment of the present invention provides.As shown in Figure 6, the another kind of terminal described in the present embodiment comprises: acquisition module 100, determination module 101, first adjustment module 102, memory module 103, judge module 104, acquisition search module 105 and the second adjustment module 106; Wherein acquisition module 100, determination module 101 and the first adjustment module 102 please refer to the description of Fig. 5, do not repeat them here.
Memory module 103, for storing default volume difference and the corresponding relation of terminal volume value, and stores the corresponding relation of positional information and the terminal volume value preset;
In specific embodiment, memory module 103 can prestore default volume difference and the corresponding relation of terminal volume value in terminal equipment, the volume difference preset and the corresponding relation of terminal volume value can be, a corresponding terminal volume value of volume difference, it should be noted that, the concrete corresponding relation of volume difference and terminal volume value needs repetition test to obtain, and adapts to make the wave volume value of environment residing for the terminal volume value after adjustment and terminal.Further, memory module 103 can also store the corresponding relation of default positional information and terminal volume value in terminal equipment, the positional information preset and the corresponding relation of terminal volume value can be, a corresponding terminal volume value of positional information, it should be noted that, this correspondence is closed and is constantly updated with the change of the outside noise along with this position.
Judge module 104, for judging whether the sound receiver of described terminal is blocked;
In specific embodiment, judge module 104 can utilize the range sensor of terminal to judge, and whether the sound receiver of terminal is blocked, if the sound receiver of terminal is blocked, then the distance measured between terminal and shelter of range sensor is smaller, if the sound receiver of terminal is not blocked, then the distance measured of range sensor is larger, so the range information measured according to range sensor can judge whether the sound receiver of terminal is blocked.
Further, if when the judged result of judge module 104 is no, then acquisition module 100 is utilized to obtain the sound characteristic parameter of terminal place environment.
Module 105 is searched in acquisition, for when judged result is for being, obtains the current location information of described terminal, according to the corresponding relation of described default positional information and terminal volume value, searches the terminal volume value corresponding with the current location information of described terminal;
In specific embodiment, obtain and search the mode that module 105 obtains the current location information of terminal and can be, the current positional information of terminal is obtained by the GPS of terminal, again according to the corresponding relation of default terminal positional information and terminal volume value, search the terminal volume value corresponding with obtained present terminal position information, it should be noted that, need the volume value corresponding relation storing default positional information and terminal in advance in the terminal, its concrete corresponding relation can be the corresponding terminal volume value of a positional information.Obtain and search module 105 to search the terminal volume value concrete mode corresponding with the current location information of terminal can be mated one by one with the preset position information of storage by the current location information of terminal, if the match is successful, then terminal volume value corresponding for the preset position information stored that the match is successful is extracted.
Second adjustment module 106, the described terminal volume value that the current location information for the volume value of described terminal being adjusted to the described terminal found is corresponding.
In specific embodiment, the volume value of terminal is adjusted to the terminal volume value corresponding with this positional information of terminal storage by the second adjustment module 106, it should be noted that, the corresponding relation between the preset position information of terminal storage and terminal volume value can change, and can constantly upgrade.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Please refer to Fig. 7, is the structural representation of a kind of first adjustment module of the present invention, and one first adjustment module 102 executed as shown in Figure 7 described in example comprises acquiring unit 1020, analytic unit 1021 and unit 1022.
Acquiring unit 1020, if be greater than predetermined threshold value for described volume difference, then obtains the sound spectrum of described terminal place environment;
In specific embodiment, predetermined threshold value needs to preset, its established standards mainly based on the wave volume value of terminal place environment to the influence degree of terminal volume value, such as, when listening to the music with mobile phone, if the wave volume value of mobile phone place environment have impact on the effect of listening to the music, then the wave volume value of now mobile phone place environment and this musical sound are adapted external environmental sounds between difference be set as predetermined threshold value, if the volume difference between the wave volume value of terminal place environment and predetermined threshold value is greater than this predetermined threshold value, then illustrate that the wave volume value of now terminal place environment have impact on terminal volume value, then acquiring unit 1020 obtains the sound spectrum of terminal place environment, it should be noted that, acquiring unit 1020 obtains the sound spectrum mode of terminal place environment can for carry out FFT conversion by the sound of terminal place environment, obtain the sound spectrum of terminal place environment.
Analytic unit 1021, for carrying out spectrum analysis to the sound spectrum of described terminal place environment;
In specific embodiment, the sound spectrum of analytic unit 1021 to the terminal place environment obtained carries out spectrum analysis, its object analyzed mainly judges the sound type of terminal place environment, the sound type of terminal place environment can be noise, also can be normal conversation voice sound, the concrete analysis mode of analytic unit 1021 can be that the low frequency of the sound spectrum of the place environment of acquisition and HFS are compared analysis.
Regulon 1022, for according to analysis result, regulates the volume value of described terminal.
In specific embodiment, regulon 1022 is according to the volume value of the sound spectrum analysis result adjustment terminal of obtained terminal place environment, concrete, if the sound spectrum of terminal place environment meets noise spectrum, then the rank of terminal volume value determined by regulon 1022 according to the volume difference between the wave volume value of terminal place environment and preset reference value, if the sound spectrum of terminal place environment meets normal conversation voice frequency spectrum, then illustrate there is now normal talk, terminal volume value is adjusted to quiet or predetermined volume value by regulon 1022.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
Please refer to Fig. 8, is the structural representation of a kind of regulon of the present invention, and as shown in Figure 8, a kind of regulon 1022 described in this comprises the first adjustment subelement 10220 and second and regulates subelement 10221.
First regulates subelement 10220, if be voice spectrum for the sound spectrum of described terminal place environment, then the volume value of described terminal is adjusted to quiet or default volume value;
In specific embodiment, when spectrum analysis is carried out to the sound spectrum of terminal place environment, if low frequency part is apparently higher than HFS, then can determine that the sound spectrum of terminal place environment is voice spectrum, that is to say that the sound of terminal place environment is voice, now, can hear to make talk, first regulates subelement 10220 volume value of terminal can be adjusted to a quiet or lower default volume value, it should be noted that, default volume value herein can be set by user oneself as the case may be.
Second regulates subelement 10221, if be noise spectrum for the sound spectrum of described terminal place environment, then the volume value of described terminal is adjusted to terminal volume value corresponding to described volume difference.
In specific embodiment, when spectrum analysis is carried out to the sound spectrum of terminal place environment, if HFS is apparently higher than low frequency part, then can determine that the sound of terminal place environment is noise spectrum, that is to say that the sound of terminal place environment is noise, now, in order to the wave volume value of terminal and outside noise volume value adapt, then second subelement 10221 is regulated to need the volume value of terminal to be adjusted to terminal volume value corresponding to volume difference, it should be noted that, the corresponding relation of volume difference and terminal volume value has been prestored in terminal, namely be the corresponding terminal volume value of a volume difference.
In the embodiment of the present invention, by obtaining the volume value of terminal place environment, and the volume value of terminal is regulated according to the volume difference between the volume value of terminal place environment and preset reference value, since adapt to the volume value of the terminal place environment of constantly change, the intelligent height of method of this adjustment volume value, easy to operate, improve Consumer's Experience.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention terminal or unit can carry out merging according to actual needs, draw and subtract.
Module described in the embodiment of the present invention or unit, universal integrated circuit can be passed through, such as (CentralProcessingUnit, central processing unit), or by ASIC(ApplicationSpecificIntegratedCircuit, application-specific integrated circuit (ASIC)) realize.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.