Specific embodiment
Should understand, the specific embodiments described herein are merely illustrative of the present invention, is not intended to limit the present invention.
The present invention provides a kind of sound-volume control system.
Additionally, referring to Fig. 1, to achieve the above object, the first embodiment of the present invention provides a kind of sound-volume control system,The sound-volume control system includes:
Acquisition module 100, for the current environmental noise data of acquisition terminal;
First acquisition module 200, for according to the current environmental noise data of terminal and default environmental noise dataMapping table between volume-leveling value, obtains the volume-leveling value that terminal is currently needed for;
Volume adjusting module 300, for terminal current volume to be adjusted into the volume tune that acquired terminal is currently needed forSection value.
In the inventive solutions, the acquisition module 100 is used for the current environmental noise data of acquisition terminal, instituteStating the first acquisition module 200 is used to obtain the volume-leveling value that terminal is currently needed for according to the current environmental noise data of terminal,The volume adjusting module 300 is used to for terminal current volume to be adjusted to the volume-leveling value that acquired terminal is currently needed for,Therefore, the sound-volume control system can automatically regulate terminal current volume according to the ambient noise of surrounding.
The sound-volume control system can apply to various volume control apparatus, for example, be applied to sound equipment home appliance, moreSpecifically, the sound-volume control system can apply to the volume control of television set.In the present embodiment, for convenience of description,It is introduced so that the sound-volume control system is applied to the control of the volume of television set as an example.
Different ambient noises are there may be in the application scenarios of television set, around television terminal.It is current in order to gatherEnvironmental noise data, the acquisition module 100 for television terminal separate or the acquisition module being connected with television terminal can be set100。
For example, acquisition module 100 can be installed near television terminal, the acquisition module 100 can be single wheatGram voice collection device such as wind or microphone.The acquisition module 100 can be connected with the television terminal, be placed in the TV endThe receiving space outside or inside that the housing at end is formed, to gather the ambient noise near the television terminal.
There is certain viewing distance between television terminal and user, in order that the current volume of the television terminal and peoplePeriotic environmental noise data is more matched, and can directly gather the periotic environmental noise data of people, and according to human ear aroundNoise data control television terminal current volume.In this case, the acquisition module 100 can be provided at human earSupra-aural Noise Acquisition device, or portable with human contact Noise Acquisition device, for example, by the collectionModule 100 is integrated among the one of which in wrist-watch, necklace, wrister or earrings.
Likewise, acquisition module 100 can also be integrated in the mobile terminals such as mobile phone, by the Mike for being placed in mobile terminalElegance collection ambient noise signal, then the ambient noise signal of collection is transmitted to described by bluetooth, wifi or data lineSound-volume control system.
As needed, the mapping table between an environmental noise data and volume-leveling value, the mapping can be presetThe volume-leveling value that the terminal corresponding to each environmental noise data needs is stored in relation table, or corresponding to each noise typeTerminal need volume-leveling value, the noise type refers to the corresponding noise type of each environmental noise data, such as non-It is often noisy, noisy, common, quiet, very quiet.
According to the current environmental noise data of terminal, default mapping table is searched, obtain the sound that terminal is currently needed forAmount regulated value, the volume-leveling value that acquired terminal is currently needed for is adjusted to by terminal current volume, therefore, this scheme can be withAccording to ambient noise conditions, terminal current volume is adaptively adjusted, without user's remote controller or other volumes control dressPut, you can automatically adjust terminal current volume.
Fig. 2 is referred to, based on the first embodiment of sound-volume control system of the invention, sound-volume control system of the inventionIn second embodiment, the acquisition module 100 includes:
Collecting unit 110, for the current ambient noise signal of acquisition terminal;
Amplifying unit 120, for being amplified treatment to the current ambient noise signal;
Conversion and processing unit 130, for the ambient noise signal after enhanced processing to be carried out into A/D conversions, will changeTo result be compared with default noise data threshold value, obtain the current noise corresponding to current ambient noise signalType, using the current noise type of terminal as the current environmental noise data of terminal.
Conversion and processing unit 130 include conversion subunit and treatment subelement.The conversion subunit is used to amplifyAmbient noise signal after treatment carries out A/D conversions, and the result that the treatment subelement is used to be converted to is made an uproar with defaultSound data threshold is compared, and obtains the current noise type corresponding to current ambient noise signal, and terminal is currentNoise type is used as the current environmental noise data of terminal.
The current ambient noise signal of terminal by after acquisition process, enhanced processing and conversion process, obtaining intermediate data,The intermediate data parameterizes ambient noise signal, is easy to current ambient noise signal and default noise data threshold valueCompare, to obtain the corresponding noise type of ambient noise present signal, the environmental noise data of terminal is the noise of terminalType.
Obtain the current noise type corresponding to current ambient noise signal and be referred to following steps:
Several noise data threshold values are preset in systems, and the noise data threshold value is the critical of each noise typeValue.The ambient noise signal that will be gathered is by the intermediate data that after enhanced processing and conversion process, will obtain and each noise numberCompared according to threshold value, the noise type current to obtain terminal corresponding to current intermediate data.
In the present embodiment, specific comparison process is referred to following manner:
1st, presetting four is used to dividing the noise data threshold values of noise type, respectively first threshold a, Second Threshold b, theThree threshold value b and the 4th threshold value d, and 0 < a < b < c < d, wherein:
A is:40 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition;
B is:50 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition;
C is:60 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition;
D is:70 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition.
That is, a, b, c and d correspond respectively to mediant when ambient noise is 40 decibels, 50 decibels, 60 decibels and 70 decibelsAccording to.It is above-mentioned to be acquired, amplify and the unit of conversion process ambient noise present signal and carries out subsequent treatment with collectionUnit is identical.
It is readily appreciated that, the value of a, b, c and d is not limited to that, ambient noise threshold quantity is also not necessarily limited to four, arbitrarilyValue and arbitrary number of thresholds are similarly included within protection scope of the present invention.
For example, a, b, c and d can also correspond respectively to ambient noise for 45 decibels, 55 decibels, 65 decibels and 75 decibels whenIntermediate data.
When the corresponding intermediate data of the ambient noise signal for collecting is less than a, the noise type for representing is the first kind(very quiet);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to a, and during less than b, the noise class of representativeType is Second Type (peace and quiet);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to b, and during less than c, the noise class of representativeType is the 3rd type (common);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to c, and during less than d, the noise class of representativeType is the 4th type (noisy);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to d, the noise type for representing is the 5thType (very noisy).
The collecting unit 110 can not only set one, due to the noise data of each position in surrounding environment has canCan be inconsistent, therefore, it can for the collecting unit 110 of two and the above to be distributed in diverse location, then will be adopted described in eachThe noise data of the collection collection of unit 110 carries out mean value computation, to obtain the noise signal average of environment.
In the present embodiment, at least one can be respectively provided near the position of user and near the position of the television terminalThe individual collecting unit 110, can also further set the collecting unit 110 between user and the television terminal, withObtain the noise signal average of environment.
In this technical scheme, filter unit can also be set, the filter unit is used to filter terminal current volume pairThe interference of the gatherer process of environmental noise data.
For example, can be interval according to the interval default frequency of sound wave that sets of the frequency of sound wave of terminal current volume, in collectionDuring ambient noise signal, the voice signal in default frequency of sound wave interval is filtered, to obtain real ambient noise signal.
Fig. 3 is referred to, based on the second embodiment of sound-volume control system of the invention, sound-volume control system of the inventionIn 3rd embodiment, first acquisition module 200 also includes:
Searching unit 210, for according to the current noise type of terminal, searching noise class described in the mapping tableThe corresponding volume-leveling value of type;
Acquiring unit 220, for the corresponding volume-leveling value of the noise type to be retrieved as into the sound that terminal is currently needed forAmount regulated value.
There are mapping relations between the noise type and volume-leveling value, by searching default mapping table, canIt is corresponding so that current noise type and volume-leveling value to be carried out, to obtain the volume-leveling value that terminal is currently needed for.
Fig. 4 is referred to, based on the second embodiment of sound-volume control system of the invention, sound-volume control system of the inventionIn fourth embodiment, the mapping table includes reflecting between noise type, the volume status of terminal and volume-leveling valuePenetrate relation;
The sound-volume control system also includes:
Second acquisition module 400, for obtaining terminal current volume state;
Due to adding the second acquisition module 400 in the method for controlling volume, therefore, first obtains described in the present embodimentModule 200 is accordingly improved, and first acquisition module 200 is used for:According to the current noise type of terminal, the current sound of terminalMapping table between amount state and default noise type, the volume status of terminal and volume-leveling value, obtains terminalThe volume-leveling value being currently needed for.
Specifically, obtaining terminal current volume state is:Terminal current volume is obtained, and it is big according to terminal current volumeIt is small, the volume status that correspondence belongs to it.The volume status are used to represent the order of magnitude of terminal current volume.Can by terminalThe volume interval of tune is divided into several volume status according to volume, for example:Thin sound shelves, small sound shelves, normal shelves, loud shelves andVery big sound shelves, the division of each shelves is divided (criteria for classifying of volume shelves is not limited thereto) with the sound comfortableness that human ear is heard.
In the present embodiment, when the adjustable sound volume of television set it is interval for 0-100 decibel when, by volume interval division for volume byE grades, D grades, C grades, B grades and A grades for gradually improving, wherein, the E grades of thin sound shelves for corresponding to 10-20 decibels, D grades corresponds to 20-40 decibelsSmall sound shelves, the C grades of normal shelves for corresponding to 40-60 decibels, the B grades of loud shelves of 60-80 decibels of correspondence, A grades corresponds to 80-100 decibelsVery big sound shelves.Certainly, the adjustable volume interval of terminal is not limited in five volume shelves, can be arranged to any as neededLevel of sound volume.
According to the current noise type of terminal, terminal current volume state, default noise type, the volume of terminal are searchedMapping table between state and volume-leveling value, in the mapping table, can obtain the sound that terminal is currently needed forAmount regulated value.The volume-leveling value can be one section of adjustable volume value interval, or with constant volume sizeVolume particular value.
In the present embodiment, the volume-leveling value can be any one in E grades, D grades, C grades, B grades and A grades.
It is readily appreciated that, ambient noise is bigger, corresponding volume-leveling value is also bigger, conversely, corresponding volume adjustingValue is smaller.
Refer to Fig. 5, the first embodiment based on sound-volume control system of the invention to fourth embodiment, sound of the inventionIn 5th embodiment of amount control system, the volume adjusting module 300 includes:
First adjustment unit 310, for being not equal to the volume tune that acquired terminal is currently needed in terminal current volumeDuring section value, terminal current volume is adjusted to the volume-leveling value that acquired terminal is currently needed for;
Second adjustment unit 320, for being equal to the volume adjusting that acquired terminal is currently needed in terminal current volumeDuring value, terminal current volume is kept.
Noise type corresponding to the ambient noise signal that will be collected is corresponding to the terminal volume shape in mapping tableState.
In the present embodiment, being referred to logical table 1 carries out volume adjust automatically.
Table 1
In table 1, E grades of corresponding volume-leveling value span is 10-20 decibels, D grades of corresponding volume-leveling value valueScope is 20-40 decibels, C grades of corresponding volume-leveling value span is 40-60 decibels, B grades of corresponding volume-leveling value takesValue scope is 60-80 decibels, A grades of corresponding volume-leveling value span is 80-100 decibels.E grades to A grades of volume adjustingValue respectively can in respective span any value, in order that the regulating effect between each shelves becomes apparent from, E grades to A gradesVolume-leveling value can be respectively the median of respective span, i.e. E grades to A grades of output volume value is respectively 15Decibel, 30 decibels, 50 decibels, 70 decibels and 90 decibels.
The volume that each volume-leveling value is not limited in table 1 is interval.The volume span of each shelves can be according to needSet.Further, it is also possible to needed to set according to user, for example, there is provided volume sets interface, so that need of the user according to oneselfCustomize the output volume value of each shelves.
In order to more meet the demands of individuals of user, it is also possible to provide a memory cell, the memory cell storage environment is made an uproarSound data, and the output volume value that user is voluntarily adjusted under ambient noise present data is stored, made an uproar with replacing original environmentThe mapping table of sound data and volume-leveling value, or one new mapping table of generation, are carried out in collection ambient noise signalDuring the control of output volume value, a selection interface can be provided, user can select to enter according to the mapping table mode of acquiescenceRow output volume value is controlled, it is also possible to which selection carries out output volume control according to the mapping table after renewal.
The operation being adjusted to terminal current volume includes turning down current volume and increases current volume.
Operation according to table 1 to the volume adjusting of terminal can refer to following example and carry out:
Refering to table 1, for example, terminal current volume state is C grades.After the current first environment noise signal of acquisition terminal,The first intermediate data is obtained by amplification and conversion process, after the first intermediate data is compared with threshold data, obtains currentNoise type for very noisy, by tabling look-up 1, noise type is very noisy and volume status in the case of C grades,Volume should be carried out increasing operation, and terminal current volume should be adjusted to corresponding volume-leveling value A grades.
And for example, terminal current volume state is A grades.After the current second environment noise signal of acquisition terminal, by amplifyingAnd conversion process obtains the second intermediate data, after the second intermediate data is compared with threshold data, obtains current noise classType is common, by look-up table 1, in the case that noise type is common, and volume status are A grades, it should enter volumeRow turn down operation, and terminal current volume should be adjusted to corresponding volume-leveling value C grades.
The adjustment operation carried out to terminal current volume is not limited in increasing or turning down volume value, also including keeping terminalCurrent volume.
Specifically, refering to table 1, for example, terminal current volume state is A grades, the 3rd current ambient noise of acquisition terminalAfter signal, the 3rd intermediate data is obtained by amplification and conversion process, after the 3rd intermediate data is compared with threshold data, obtainedTo current noise type for very noisy, by look-up table 1, noise type is very noisy, and current volume stateUnder conditions of A grades, the corresponding volume-leveling value of terminal is exactly A grades, therefore, it should the operation for carrying out is operated for " not adjusting ",It is A grades constant to keep terminal current volume state, belongs to the operation for keeping terminal current volume.
Additionally, referring to Fig. 6, to achieve the above object, the first embodiment of the present invention also provides a kind of volume controlling partyMethod, comprises the following steps:
Step S100, the current environmental noise data of acquisition terminal;
Step S200, according to the current environmental noise data of terminal and default environmental noise data and volume-leveling valueBetween mapping table, obtain the volume-leveling value that is currently needed for of terminal;
Step S300, the volume-leveling value that acquired terminal is currently needed for is adjusted to by terminal current volume.
In the inventive solutions, the current environmental noise data of acquisition terminal, makes an uproar according to the environment that terminal is currentThe volume-leveling value that sound data acquisition terminal is currently needed for, is adjusted to what acquired terminal was currently needed for by terminal current volumeVolume-leveling value, therefore, the method for controlling volume can automatically regulate terminal current volume according to the ambient noise of surrounding.
The method for controlling volume can apply to various volume control apparatus, for example, be applied to sound equipment home appliance, moreSpecifically, the method for controlling volume can apply to the volume control of television set.In the present embodiment, for convenience of description,It is introduced so that the method for controlling volume is applied to the control of the volume of television set as an example.
Different ambient noises are there may be in the application scenarios of television set, around television terminal.It is current in order to gatherEnvironmental noise data, the acquisition module 100 for television terminal separate or the acquisition module being connected with television terminal can be set100。
For example, acquisition module 100 can be installed near television terminal, the acquisition module 100 can be single wheatGram voice collection device such as wind or microphone.The acquisition module 100 can be connected with the television terminal, be placed in the TV endThe receiving space outside or inside that the housing at end is formed, to gather the ambient noise near the television terminal.
There is certain viewing distance between television terminal and user, in order that the current volume of the television terminal and peoplePeriotic environmental noise data is more matched, and can directly gather the periotic environmental noise data of people, and according to human ear aroundNoise data control television terminal current volume.In this case, the acquisition module 100 can be provided at human earSupra-aural Noise Acquisition device, or portable with human contact Noise Acquisition device, for example, by the collectionModule 100 is integrated among the one of which in wrist-watch, necklace, wrister or earrings.
Likewise, acquisition module 100 can also be integrated in the mobile terminals such as mobile phone, by the Mike for being placed in mobile terminalElegance collection ambient noise signal, then the ambient noise signal of collection is transmitted to described by bluetooth, wifi or data lineSound-volume control system.
As needed, the mapping table between an environmental noise data and volume-leveling value, the mapping can be presetThe volume-leveling value that the terminal corresponding to each environmental noise data needs is stored in relation table, or corresponding to each noise typeTerminal need volume-leveling value, the noise type refers to the corresponding noise type of each environmental noise data, such as non-It is often noisy, noisy, common, quiet, very quiet.
According to the current environmental noise data of terminal, default mapping table is searched, obtain the sound that terminal is currently needed forAmount regulated value, the volume-leveling value that acquired terminal is currently needed for is adjusted to by terminal current volume, therefore, this scheme can be withAccording to ambient noise conditions, terminal current volume is adaptively adjusted, without user's remote controller or other volumes control dressPut, you can automatically adjust terminal current volume.
Fig. 7 is referred to, based on the first embodiment of method for controlling volume of the invention, method for controlling volume of the inventionIn second embodiment, step S100 includes:
Step S110, the current ambient noise signal of acquisition terminal;
Step S120, treatment is amplified to the current ambient noise signal;
Step S130, A/D conversions are carried out by the ambient noise signal after enhanced processing, the result that will be converted to it is defaultNoise data threshold value be compared, obtain the current noise type corresponding to current ambient noise signal, by terminal work asPreceding noise type is used as the current environmental noise data of terminal.
Conversion and processing unit 130 include conversion subunit and treatment subelement.The conversion subunit is used to amplifyAmbient noise signal after treatment carries out A/D conversions, and the result that the treatment subelement is used to be converted to is made an uproar with defaultSound data threshold is compared, and obtains the current noise type corresponding to current ambient noise signal, and terminal is currentNoise type is used as the current environmental noise data of terminal.
The current ambient noise signal of terminal by after acquisition process, enhanced processing and conversion process, obtaining intermediate data,The intermediate data parameterizes ambient noise signal, is easy to current ambient noise signal and default noise data threshold valueCompare, to obtain the corresponding noise type of ambient noise present signal, the environmental noise data of terminal is the noise of terminalType.
Obtain the current noise type corresponding to current ambient noise signal and be referred to following steps:
Several noise data threshold values are preset in systems, and the noise data threshold value is the critical of each noise typeValue.The ambient noise signal that will be gathered is by the intermediate data that after enhanced processing and conversion process, will obtain and each noise numberCompared according to threshold value, the noise type current to obtain terminal corresponding to current intermediate data.
In the present embodiment, specific comparison process is referred to following manner:
1st, presetting four is used to dividing the noise data threshold values of noise type, respectively first threshold a, Second Threshold b, theThree threshold value b and the 4th threshold value d, and 0 < a < b < c < d, wherein:
A is:40 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition;
B is:50 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition;
C is:60 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition;
D is:70 decibels of ambient noise by collection, amplify and conversion process after, the intermediate data of acquisition.
That is, a, b, c and d correspond respectively to mediant when ambient noise is 40 decibels, 50 decibels, 60 decibels and 70 decibelsAccording to.It is above-mentioned to be acquired, amplify and the unit of conversion process ambient noise present signal and carries out subsequent treatment with collectionUnit is identical.
It is readily appreciated that, the value of a, b, c and d is not limited to that, ambient noise threshold quantity is also not necessarily limited to four, arbitrarilyValue and arbitrary number of thresholds are similarly included within protection scope of the present invention.
For example, a, b, c and d can also correspond respectively to ambient noise for 45 decibels, 55 decibels, 65 decibels and 75 decibels whenIntermediate data.
When the corresponding intermediate data of the ambient noise signal for collecting is less than a, the noise type for representing is the first kind(very quiet);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to a, and during less than b, the noise class of representativeType is Second Type (peace and quiet);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to b, and during less than c, the noise class of representativeType is the 3rd type (common);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to c, and during less than d, the noise class of representativeType is the 4th type (noisy);
When the corresponding intermediate data of the ambient noise signal for collecting is more than or equal to d, the noise type for representing is the 5thType (very noisy).
The collecting unit 110 can not only set one, due to the noise data of each position in surrounding environment has canCan be inconsistent, therefore, it can for the collecting unit 110 of two and the above to be distributed in diverse location, then will be adopted described in eachThe noise data of the collection collection of unit 110 carries out mean value computation, to obtain the noise signal average of environment.
In the present embodiment, at least one can be respectively provided near the position of user and near the position of the television terminalThe individual collecting unit 110, can also further set the collecting unit 110 between user and the television terminal, withObtain the noise signal average of environment.
In this technical scheme, filter unit can also be set, the filter unit is used to filter terminal current volume pairThe interference of the gatherer process of environmental noise data.
For example, can be interval according to the interval default frequency of sound wave that sets of the frequency of sound wave of terminal current volume, in collectionDuring ambient noise signal, the voice signal in default frequency of sound wave interval is filtered, to obtain real ambient noise signal.
Fig. 8 is referred to, based on the second embodiment of method for controlling volume of the invention, method for controlling volume of the inventionIn 3rd embodiment, the step S200 includes:
Step S210, according to the current noise type of terminal, searches noise type correspondence described in the mapping tableVolume-leveling value;
Step S220, the volume adjusting that terminal is currently needed for is retrieved as by the corresponding volume-leveling value of the noise typeValue.
There are mapping relations between the noise type and volume-leveling value, by searching default mapping table, canIt is corresponding so that current noise type and volume-leveling value to be carried out, to obtain the volume-leveling value that terminal is currently needed for.
Fig. 9 is referred to, based on the second embodiment of method for controlling volume of the invention, in the fourth embodiment of the present invention,The mapping table includes the mapping relations between noise type, the volume status of terminal and volume-leveling value;
Before step S200, also include:
Step S400, obtains terminal current volume state;
Due to increasing step S400 in the method for controlling volume, therefore, step S200 is correspondingly improved in the present embodimentIt is step S500, step S500 includes:
According to the current noise type of terminal, terminal current volume state and default noise type, the volume of terminalMapping table between state and volume-leveling value, obtains the volume-leveling value that terminal is currently needed for.
Specifically, obtaining terminal current volume state is:Terminal current volume is obtained, and it is big according to terminal current volumeIt is small, the volume status that correspondence belongs to it.The volume status are used to represent the order of magnitude of terminal current volume.Can by terminalThe volume interval of tune is divided into several volume status according to volume, for example:Thin sound shelves, small sound shelves, normal shelves, loud shelves andVery big sound shelves, the division of each shelves is divided (criteria for classifying of volume shelves is not limited thereto) with the sound comfortableness that human ear is heard.
In the present embodiment, when the adjustable sound volume of television set it is interval for 0-100 decibel when, by volume interval division for volume byE grades, D grades, C grades, B grades and A grades for gradually improving, wherein, the E grades of thin sound shelves for corresponding to 10-20 decibels, D grades corresponds to 20-40 decibelsSmall sound shelves, the C grades of normal shelves for corresponding to 40-60 decibels, the B grades of loud shelves of 60-80 decibels of correspondence, A grades corresponds to 80-100 decibelsVery big sound shelves.Certainly, the adjustable volume interval of terminal is not limited in five volume shelves, can be arranged to any as neededLevel of sound volume.
According to the current noise type of terminal, terminal current volume state, default noise type, the volume of terminal are searchedMapping table between state and volume-leveling value, in the mapping table, can obtain the sound that terminal is currently needed forAmount regulated value.The volume-leveling value can be one section of adjustable volume value interval, or with constant volume sizeVolume particular value.
In the present embodiment, the volume-leveling value can be any one in E grades, D grades, C grades, B grades and A grades.
It is readily appreciated that, ambient noise is bigger, corresponding volume-leveling value is also bigger, conversely, corresponding volume adjustingValue is smaller.
First embodiment based on method for controlling volume of the invention to fourth embodiment, method for controlling volume of the inventionThe 5th embodiment in, step S300 includes:
Step S310, when terminal current volume is not equal to the volume-leveling value that acquired terminal is currently needed for, will eventuallyEnd current volume is adjusted to the volume-leveling value that acquired terminal is currently needed for;
Step S320, when terminal current volume is equal to the volume-leveling value that acquired terminal is currently needed for, keeps eventuallyEnd current volume.
Noise type corresponding to the ambient noise signal that will be collected is corresponding to the terminal volume shape in mapping tableState.
In the present embodiment, being referred to logical table 1 carries out volume adjust automatically.
Table 1
In table 1, E grades of corresponding volume-leveling value span is 10-20 decibels, D grades of corresponding volume-leveling value valueScope is 20-40 decibels, C grades of corresponding volume-leveling value span is 40-60 decibels, B grades of corresponding volume-leveling value takesValue scope is 60-80 decibels, A grades of corresponding volume-leveling value span is 80-100 decibels.E grades to A grades of volume adjustingValue respectively can in respective span any value, in order that the regulating effect between each shelves becomes apparent from, E grades to A gradesVolume-leveling value can be respectively the median of respective span, i.e. E grades to A grades of output volume value is respectively 15Decibel, 30 decibels, 50 decibels, 70 decibels and 90 decibels.
The volume that each volume-leveling value is not limited in table 1 is interval.The volume span of each shelves can be according to needSet.Further, it is also possible to needed to set according to user, for example, there is provided volume sets interface, so that need of the user according to oneselfCustomize the output volume value of each shelves.
In order to more meet the demands of individuals of user, it is also possible to provide a memory cell, the memory cell storage environment is made an uproarSound data, and the output volume value that user is voluntarily adjusted under ambient noise present data is stored, made an uproar with replacing original environmentThe mapping table of sound data and volume-leveling value, or one new mapping table of generation, are carried out in collection ambient noise signalDuring the control of output volume value, a selection interface can be provided, user can select to enter according to the mapping table mode of acquiescenceRow output volume value is controlled, it is also possible to which selection carries out output volume control according to the mapping table after renewal.
The operation being adjusted to terminal current volume includes turning down current volume and increases current volume.
Operation according to table 1 to the volume adjusting of terminal can refer to following example and carry out:
Refering to table 1, for example, terminal current volume state is C grades.After the current first environment noise signal of acquisition terminal,The first intermediate data is obtained by amplification and conversion process, after the first intermediate data is compared with threshold data, obtains currentNoise type for very noisy, by tabling look-up 1, noise type is very noisy and volume status in the case of C grades,Volume should be carried out increasing operation, and terminal current volume should be adjusted to corresponding volume-leveling value A grades.
And for example, terminal current volume state is A grades.After the current second environment noise signal of acquisition terminal, by amplifyingAnd conversion process obtains the second intermediate data, after the second intermediate data is compared with threshold data, obtains current noise classType is common, by look-up table 1, in the case that noise type is common, and volume status are A grades, it should enter volumeRow turn down operation, and terminal current volume should be adjusted to corresponding volume-leveling value C grades.
The adjustment operation carried out to terminal current volume is not limited in increasing or turning down volume value, also including keeping terminalCurrent volume.
Specifically, refering to table 1, for example, terminal current volume state is A grades, the 3rd current ambient noise of acquisition terminalAfter signal, the 3rd intermediate data is obtained by amplification and conversion process, after the 3rd intermediate data is compared with threshold data, obtainedTo current noise type for very noisy, by look-up table 1, noise type is very noisy, and current volume stateUnder conditions of A grades, the corresponding volume-leveling value of terminal is exactly A grades, therefore, it should the operation for carrying out is operated for " not adjusting ",It is A grades constant to keep terminal current volume state, belongs to the operation for keeping terminal current volume.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hairEquivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skillsArt field, is included within the scope of the present invention.