CN102883121A - Method and device for regulating volume, and digital terminal - Google Patents

Method and device for regulating volume, and digital terminal Download PDF

Info

Publication number
CN102883121A
CN102883121A CN2012103597477A CN201210359747A CN102883121A CN 102883121 A CN102883121 A CN 102883121A CN 2012103597477 A CN2012103597477 A CN 2012103597477A CN 201210359747 A CN201210359747 A CN 201210359747A CN 102883121 A CN102883121 A CN 102883121A
Authority
CN
China
Prior art keywords
volume
decibel
sound
surrounding enviroment
noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012103597477A
Other languages
Chinese (zh)
Inventor
刘卫星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING DUOKE TECHNOLOGY Co Ltd
Original Assignee
BEIJING DUOKE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING DUOKE TECHNOLOGY Co Ltd filed Critical BEIJING DUOKE TECHNOLOGY Co Ltd
Priority to CN2012103597477A priority Critical patent/CN102883121A/en
Publication of CN102883121A publication Critical patent/CN102883121A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The invention discloses a method and a device for regulating volume, and a digital terminal. The method comprises the following steps of: acquiring sounds in a peripheral environment, and extracting a characteristic frequency spectrum of the sounds; comparing the characteristic frequency spectrum of the sounds in the peripheral environment with a preset noise characteristic frequency spectrum library, and judging whether the sounds are noise or not; if the sounds in the peripheral environment are noise, measuring and acquiring a decibel value of the sounds in the peripheral environment by the terminal; calculating and acquiring a volume value which is suitable for an environment according to the decibel value of the sounds; and regulating the volume of the terminal according to the acquired volume value which is suitable for the environment. The invention also discloses the device for implementing the method and the digital terminal.

Description

A kind of method, device and digital terminal of regulating volume
Technical field
The present invention relates to the digital terminal technical field, relate in particular to a kind of method, device and digital terminal of regulating volume.
Background technology
Current method to terminal volume adjustings such as television sets mainly is the artificial setting by the operator, the size of control volume.When external environmental sounds changes impact when watching the effect of TV, the user can only be by resetting the control parameter, the variation that conforms, and this just needs continuous remote controller, regulates the size of volume, and is very inconvenient.
The technology AVC(automatic volume control that at present television sound volume is controlled automatically) mainly be for TV internal sound signal magnitude, automatic regulating volume, the volume adjusting when not being suitable for the external environment condition sound variation.
Summary of the invention
The embodiment of the invention provides a kind of method, device and digital terminal of regulating volume, is used for realization according to the volume of external environment condition, automatically regulates television sound volume.
One aspect of the present invention has proposed a kind of method of regulating volume, may further comprise the steps: gather surrounding enviroment sound, and extract the characteristic frequency spectrum of described surrounding enviroment sound; The characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, confirm whether the sound of surrounding enviroment belongs to noise; In this way, then terminal measures the decibel of surrounding enviroment sound; Decibel according to described surrounding enviroment sound calculates the volume numerical value that is fit to environment; Regulate the volume of described terminal according to the volume numerical value of the suitable environment that obtains.Adopt the method, can judge whether it belongs to noise according to the characteristics of surrounding enviroment sound, in this way, then automatically adjust the volume of terminal, improve the user and experience.
In technique scheme, preferred, also comprise step: if the sound of described surrounding enviroment does not belong to noise, then keep the volume of described terminal.Adopt the method, can when sound that other do not belong to noise appears in surrounding enviroment, keep the terminal volume constant, prevent from the sound size that accidental sound affect terminal occurring because of the environment of terminal, peripheral, improve user's experience.
In technique scheme, preferred, described terminal gathers surrounding enviroment sound, and the step of extracting the characteristic frequency spectrum of described surrounding enviroment sound further comprises: acquisition terminal surrounding enviroment sound; With described voice data standardization; Extract the characteristic frequency spectrum of described voice data.Data normalization at first can be eliminated voice data owing to the different deviations that cause of decibel; Secondly random decibel data are converted to and normalize to [0,1] interval data, conveniently carry out unified processing; Again, because data normalization arrived [0,1] interval, thereby the method for having saved calculated data and algorithm are distinguished computing time and the space of different decibels of data, brevity and lucidity more when deal with data; At last, the characteristic frequency spectrum of server also can make to use the same method data are processed, thereby guarantees the homogeneity of the data of calculating in real time and the data that are used for comparing.
In technique scheme, preferred, described default feature of noise frequency spectrum storehouse is downloaded the noise spectrum data according to Preset Time from the webserver and is upgraded.Adopt the method, the data in can real-time update feature of noise frequency spectrum storehouse make the judged result of terminal when judging whether surrounding enviroment sound belongs to noise more accurate.
In technique scheme, preferably, described decibel according to described surrounding enviroment sound calculates the volume numerical steps that is fit to environment and further comprises: with noise decibel and the addition of existing volume decibel contrast mean value of surrounding enviroment, obtain being fit to the volume numerical value of current environment.Adopt this scheme, can pass through the multi collect external environmental sounds, obtain volume decibel contrast, make the numerical value of volume adjusting more scientific and reasonable, prevent that accidental external sound from affecting the effect of volume adjusting.
Another aspect of the present invention has proposed a kind of method of obtaining the volume numerical value of suitably front environment, may further comprise the steps: terminal at preset timed intervals interval gathers surrounding enviroment sound, obtains the decibel of surrounding enviroment sound; The decibel that the volume decibel of terminal deducts surrounding enviroment sound when gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in; When depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse; After described terminal judges surrounding enviroment sound belongs to noise, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtain being fit to the volume numerical value of current environment.
In technique scheme, preferably, the described decibel that the volume decibel of terminal deducts surrounding enviroment sound will gather surrounding enviroment sound the time at every turn obtains this volume decibel contrast, and the step that deposits volume decibel contrast-data storehouse in further comprises: after times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
Another aspect of the present invention, a kind of device of regulating volume has been proposed, comprise sound collection module, noise judge module, decibel measurement module, volume computing module harmony tone joint module, above-mentioned module connects successively, wherein, described sound collection module is used for terminal and gathers surrounding enviroment sound, and extracts the characteristic frequency spectrum of described surrounding enviroment sound; Described noise judge module is used for the characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, and confirms whether the sound of surrounding enviroment belongs to noise; The decibel measurement module is for the decibel that measures surrounding enviroment sound; The volume computing module is used for calculating the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound; The sound adjustment module is for the volume of regulating described terminal according to the volume numerical value of the suitable environment that obtains.
In technique scheme, preferred, described sound adjustment module also is used for: the sound of surrounding enviroment does not belong to noise as described, then keeps the volume of described terminal.
In technique scheme, preferred, described sound collection module is further used for: acquisition terminal surrounding enviroment sound; With described voice data standardization; Extract the characteristic frequency spectrum of described voice data.
In technique scheme, preferred, described noise judge module also is used for, and default feature of noise frequency spectrum storehouse is downloaded the noise spectrum data synchronization updating according to Preset Time from the webserver.
In technique scheme, preferred, described volume computing module is further used for: with noise decibel and the addition of existing volume decibel contrast mean value of surrounding enviroment, obtain being fit to the volume numerical value of current environment.
Another aspect of the present invention, a kind of device that obtains the volume numerical value of suitably front environment has been proposed, comprise that a decibel measuring unit, volume decibel contrast computing unit, mean value computation unit be connected each unit and connect successively with the environmental volume numerical calculation unit, wherein, described decibel measuring unit, be used at preset timed intervals interval collection surrounding enviroment sound, obtain the decibel of surrounding enviroment sound; Described volume decibel contrast computing unit, the decibel that the volume decibel of terminal deducts surrounding enviroment sound when being used for gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in; Described mean value computation unit, when being used for depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse; Described environmental volume numerical calculation unit is used for when described terminal judges surrounding enviroment sound belongs to noise after, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtains the volume numerical value of suitable current environment.
In technique scheme, preferred, described volume decibel contrast computing unit is further used for: after times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
The invention allows for a kind of digital terminal, comprise the device of regulating volume, the device of described adjusting volume comprises sound collection module, noise judge module, decibel measurement module, volume computing module harmony tone joint module, above-mentioned module connects successively, wherein, described sound collection module is used for terminal and gathers surrounding enviroment sound, and extracts the characteristic frequency spectrum of described surrounding enviroment sound; Described noise judge module is used for the characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, and confirms whether the sound of surrounding enviroment belongs to noise; The decibel measurement module is for the decibel that measures surrounding enviroment sound; The volume computing module is used for calculating the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound; The sound adjustment module is for the volume of regulating described terminal according to the volume numerical value of the suitable environment that obtains.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and consists of the part of specification, is used for together with embodiments of the present invention explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the main method flow chart of regulating volume in the embodiment of the invention;
Fig. 2 is the method detailed flow chart of regulating volume in the embodiment of the invention;
Fig. 3 is the method flow diagram of the volume numerical value of environment before obtaining suitably in the embodiment of the invention;
Fig. 4 is the structural representation of regulating the device of volume in the embodiment of the invention;
Fig. 5 is the structural representation of the device of the volume numerical value of environment before obtaining suitably in the embodiment of the invention;
Fig. 6 is the structural representation of digital terminal in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
Whether the embodiment of the invention belongs to noise by the sound of judging surrounding enviroment, the volume adjusting numerical value of computing terminal then in this way, and regulate volume, make the user can not be subjected to the impact of ambient sound to appreciate program.
Referring to Fig. 1, the main method flow process of regulating volume in the present embodiment is as follows:
Step 101, terminal gather surrounding enviroment sound, and extract the characteristic frequency spectrum of described surrounding enviroment sound;
Step 102, the characteristic frequency spectrum of described surrounding enviroment sound and default feature of noise frequency spectrum storehouse are compared, confirm whether the sound of surrounding enviroment belongs to noise;
Step 103, in this way, then terminal measures the decibel of surrounding enviroment sound;
Step 104, calculate the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound;
The volume numerical value of the suitable environment that step 105, basis obtain is regulated the volume of described terminal.
In addition, in the present embodiment as described the sound of surrounding enviroment do not belong to noise, the volume that then keeps described terminal, so just can be when sound that other do not belong to noise appears in surrounding enviroment, keep the terminal volume constant, prevent from the sound size that accidental sound affects terminal occurring because of the environment of terminal, peripheral, improve the user and experience.
More than be the basic implementation of method of the present invention, introduce in detail implementation procedure below by two exemplary embodiments.
Referring to Fig. 2, the method detailed flow process of a preferred embodiment of adjusting volume is as follows in the present embodiment:
Step 201, acquisition terminal surrounding enviroment sound with described voice data standardization, extract the characteristic frequency spectrum of described voice data.
Step 202, the characteristic frequency spectrum of described surrounding enviroment sound and default feature of noise frequency spectrum storehouse are compared, confirm whether the sound of surrounding enviroment belongs to noise.
Step 203, the sound that obtains surrounding enviroment such as judgement are noises, and then terminal measures this noise decibel numerical value.
Step 204, calculate the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound.
The volume numerical value of the suitable environment that step 205, basis obtain is regulated the volume of described terminal.
With described voice data standardization, comprise that specifically original value by each voice data just divided by the maximum of described voice data and the difference of minimum value, normalizes to voice data in [0,1] interval; Extract the characteristic frequency spectrum of described voice data.Data normalization herein refers in fact min-max standardized method (min-max standardization), and the method is that initial data is carried out linear transformation, so that the data processing is more unified, convenient, quick.The principle of method is, finds maximum and minimum value in the data, with the absolute difference of each original value except maximum and minimum value, thereby by this linear transformation, data normalization arrived in [0,1] interval.The computing formula of method is:
New data=(Yuan beginning Shuo Ju – minimum value)/(Zui Da Zhi – minimum value)
Data normalization at first can be eliminated voice data owing to the different deviations that cause of decibel; Secondly random decibel data are converted to and normalize to [0,1] interval data, conveniently carry out unified processing; Again, because data normalization arrived [0,1] interval, thereby the method for having saved calculated data and algorithm are distinguished computing time and the space of different decibels of data, brevity and lucidity more when deal with data; At last, the characteristic frequency spectrum of server also can make to use the same method data are processed, thereby guarantees the homogeneity of the data of calculating in real time and the data that are used for comparing.
Default feature of noise frequency spectrum storehouse can be arranged in the interior storage device of terminal, and according to the server of certain time interval by access to netwoks high in the clouds the data in the frequency spectrum storehouse are upgraded synchronously, so just can guarantee that the feature of noise frequency spectrum of storing in the frequency spectrum storehouse is comprehensive, can in time the more emerging characteristic frequency spectrum that belongs to noise be stored in the database, when judging whether external environmental sounds belongs to noise, can be more accurate.
Intelligent terminal for can interconnection network also can be arranged on database in the server in high in the clouds, when ambient sound is judged to external world, need to be undertaken by the database of access web server like this, also can reach purpose of the present invention.Equally, also the noise spectrum property data base can be arranged in the set-top box, by the set-top box accesses network database be upgraded synchronously.
By noise being carried out the characteristic frequency spectrum matrix that constituent analysis obtains noise, the characteristic frequency spectrum matrix of various noises forms feature of noise frequency spectrum collection.
For Real-time Collection to data carry out standardization after, the real-time speech data matrix of the standard that obtains, then each eigenmatrix (representing the data of a certain noise) of concentrating with characteristic frequency spectrum is asked matrix of differences, and the standard deviation of calculated difference matrix, finally obtain the standard deviation of each eigenmatrix of character pair spectrum concentration, assert in the standard deviation interval if any one standard deviation drops on noise, think that then surrounding enviroment have noise.Need to test to obtain because noise is assert the standard deviation interval, therefore also can't provide at present.
Standard deviation also claims mean square deviation (mean square error), is the average that each data departs from the distance of average, and it is the root of sum of sguares of deviation from mean after average, represents with σ.Standard deviation is the arithmetic square root of variance.Standard deviation can reflect the dispersion degree of a data set.Average is identical, and standard deviation may not be identical.
Described terminal at preset timed intervals interval gathers surrounding enviroment sound, obtains the decibel of surrounding enviroment sound;
The decibel that the volume decibel of terminal deducts surrounding enviroment sound when gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in; After times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.Make the data storage that in the value storage space of predetermined number, circulates, make user's volume decibel contrast more and more accurate along with the increase of hits, and then improve the accuracy of volume adjusting.
When depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse;
After described terminal judges surrounding enviroment sound belongs to noise, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtain being fit to the volume numerical value of current environment.Adopt this scheme, can pass through the multi collect external environmental sounds, obtain volume decibel contrast, make the numerical value of volume adjusting more scientific and reasonable, prevent that accidental external sound from affecting the effect of volume adjusting.
Concrete, take the volume of regulating intelligent television as example, illustrate that the present invention regulates the method for volume.
According to the present invention, intelligent television comprises two stages according to the sound automatic regulating volume of surrounding enviroment:
Phase I: in the information stage, obtain being used in active user's volume decibel contrast by setting up the statistical sampling analytical model.
Suppose that current intelligent television has been synchronized to up-to-date feature of noise frequency spectrum data storehouse from the internet cloud server;
Intelligent television is in user's use procedure, the per 5 minutes sound by sound-detection gear sampling surrounding enviroment, obtain the decibel of surrounding enviroment sound, the television sound volume decibel that the contrast active user uses, obtain the volume decibel contrast in this user's use, this volume decibel contrast that obtains is stored in the system database;
The chained list that the maximum storage sample number of volume decibel contrast in system is 100 units, each storage all can be tried to achieve the mean value of the data of having stored, and mean value covers the mean value that obtained last time and is saved in the system, regulates for intelligence.When the storage sample number reached 101, data can cover the 1st data, and the 102nd secondary data covers the 2nd data, the like, data move in circles in the space of 100 storage sample numbers.The volume decibel contrast that is applicable to the user can be more and more accurate along with the increase of sampling number.
Second stage: in the sound intelligence adjusting stage, provide more reasonably capable of adjusting sound volume by the volume decibel contrast of using the phase I to obtain as the user.
Intelligent television is collected the sound of surrounding enviroment by sound-detection gear, and obtains the decibel of ambient sound,
Just the next door neighbours spruce up, transmit constantly the sound that bores wall, intelligent television obtains standardized data by voice data is carried out standardization, carry out signature analysis for standardized data and obtain characteristic frequency spectrum, the existing feature of noise frequency spectrum of the characteristic frequency spectrum of current environmental sound and system is mated, thereby confirm that this sound belongs to noise.
Intelligent television gathers sample sound by sound-detection gear again, calculates the decibel size of this sound.
The noise decibel of intelligent television by obtaining with the volume decibel contrast addition that obtains in the stage one, obtains being fit to active user's television sound volume, prompting user is adjusted to this volume, can normally watch program, after obtaining the user again and agreeing, intelligent television is adjusted to volume this level automatically.
As shown in Figure 3, the embodiment of the invention has also proposed a kind of method of obtaining the volume numerical value of suitably front environment, may further comprise the steps:
Step 301, terminal at preset timed intervals interval gather surrounding enviroment sound, obtain the decibel of surrounding enviroment sound;
Step 302, the decibel that the volume decibel of terminal deducts surrounding enviroment sound in the time of will gathering surrounding enviroment sound at every turn obtain this volume decibel contrast, and deposit volume decibel contrast-data storehouse in;
Step 303, when depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse;
After step 304, described terminal judges surrounding enviroment sound belong to noise, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtain being fit to the volume numerical value of current environment.
In technique scheme, after times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
In this way, the real-time volume of sense terminals surrounding enviroment sound, again in conjunction with terminal use's employed device voice volume at ordinary times, subtract each other and obtain the volume decibel contrast that user habit is set, after storing in the correlated characteristic tcs database, when regulating the terminal volume, the reference data of a science can be arranged, make volume adjusting more be fit to user's use habit.
This method can be used in intelligent terminal, comprises on the plurality of devices such as intelligent television, mobile phone.Take intelligent television as example, by collecting user's use habit, obtain the volume decibel contrast that user habit is set, can be when various sound appear in the external world valid selection regulate the size of terminal volume, make the user can obtain better experience.Take smart mobile phone as example, when conversing with the opposing party, smart mobile phone gathers the volume of user's receiver, obtain user's use habit data, when external environmental sounds has influence on the user and listens to the session of correspondent, smart mobile phone can be regulated automatically according to the size of external sound and user's use habit the volume of intelligent terminal, when user's ear and smart mobile phone close contact, the volume of adjusting according to user habit can not produce excessive impact to user's ear, can make the user obtain better experience.
The embodiment of the invention also proposes for the device of realizing said method.
As shown in Figure 4, a kind of device of regulating volume, comprise sound collection module 401, noise judge module 402, decibel measurement module 403, volume computing module 404 harmony tones joint module 405, above-mentioned module connects successively, wherein, described sound collection module 401 is used for terminal and gathers surrounding enviroment sound, and extracts the characteristic frequency spectrum of described surrounding enviroment sound; Described noise judge module 402 is used for the characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, and confirms whether the sound of surrounding enviroment belongs to noise; Decibel measurement module 403 is for the decibel that measures surrounding enviroment sound; Volume computing module 404 is used for calculating the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound; Sound adjustment module 405 is for the volume of regulating described terminal according to the volume numerical value of the suitable environment that obtains.
In technique scheme, preferred, described sound adjustment module also is used for: the sound of surrounding enviroment does not belong to noise as described, then keeps the volume of described terminal.
In technique scheme, preferred, described sound collection module is further used for: acquisition terminal surrounding enviroment sound; With described voice data standardization; Extract the characteristic frequency spectrum of described voice data.
In technique scheme, preferred, described noise judge module also is used for, and default feature of noise frequency spectrum storehouse is downloaded the noise spectrum data synchronization updating according to Preset Time from the webserver.
In technique scheme, preferred, described volume computing module is further used for: described terminal at preset timed intervals interval gathers surrounding enviroment sound, obtains the decibel of surrounding enviroment sound; The decibel that the volume decibel of terminal deducts surrounding enviroment sound when gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in; When depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse; After described terminal judges surrounding enviroment sound belongs to noise, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtain being fit to the volume numerical value of current environment.
In technique scheme, preferred, described volume computing module is further used for: after times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
As shown in Figure 5, a kind of device that obtains the volume numerical value of suitably front environment, comprise decibel measuring unit 501, volume decibel contrast computing unit 502, mean value computation unit 503 and environmental volume numerical calculation unit 504, above-mentioned each unit connects successively, wherein, described decibel is measured single, and 501, be used at preset timed intervals interval collection surrounding enviroment sound, obtain the decibel of surrounding enviroment sound; Described volume decibel contrast computing unit 502, the decibel that the volume decibel of terminal deducts surrounding enviroment sound when being used for gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in; Described mean value computation unit 503, when being used for depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse; Described environmental volume numerical calculation unit 504 is used for when described terminal judges surrounding enviroment sound belongs to noise after, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtains the volume numerical value of suitable current environment.
In technique scheme, preferred, described volume decibel contrast computing unit is further used for: after times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
As shown in Figure 6, the invention allows for a kind of digital TV terminal, comprise the device of regulating volume, the device of described adjusting volume comprises sound collection module, noise judge module, decibel measurement module, volume computing module harmony tone joint module, above-mentioned module connects successively, wherein, and described sound collection module, be used for terminal and gather surrounding enviroment sound, and extract the characteristic frequency spectrum of described surrounding enviroment sound; Described noise judge module is used for the characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, and confirms whether the sound of surrounding enviroment belongs to noise; The decibel measurement module is for the decibel that measures surrounding enviroment sound; The volume computing module is used for calculating the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound; The sound adjustment module is for the volume of regulating described terminal according to the volume numerical value of the suitable environment that obtains.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device that is used for realizing in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (16)

1. a method of regulating volume is characterized in that, may further comprise the steps:
Gather surrounding enviroment sound, and extract the characteristic frequency spectrum of described surrounding enviroment sound;
The characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum of presetting, confirm whether the sound of surrounding enviroment belongs to noise;
In this way, then terminal measures the decibel of surrounding enviroment sound;
Decibel according to described surrounding enviroment sound calculates the volume numerical value that is fit to environment;
Regulate the volume of described terminal according to the volume numerical value of the suitable environment that obtains.
2. the method for claim 1 is characterized in that, confirms whether the sound of surrounding enviroment belongs to after the noise, also comprises step:
If the sound of described surrounding enviroment does not belong to noise, then keep the volume of described terminal.
3. the method for claim 1 is characterized in that, described terminal gathers surrounding enviroment sound, and the step of extracting the characteristic frequency spectrum of described surrounding enviroment sound further comprises:
Acquisition terminal surrounding enviroment voice data;
With described voice data standardization;
Extract the characteristic frequency spectrum of described voice data.
4. method as claimed in claim 3 is characterized in that, the standardized step of described voice data is comprised: the original value of each voice data divided by the maximum of described voice data and the difference of minimum value, is normalized to voice data in [0,1] interval.
5. the method for claim 1 is characterized in that, described default feature of noise frequency spectrum is downloaded the noise spectrum data according to Preset Time from the webserver and upgraded.
6. the method for claim 1 is characterized in that, described decibel according to described surrounding enviroment sound calculates the volume numerical steps that is fit to environment and further comprises:
With noise decibel and the addition of existing volume decibel contrast mean value of surrounding enviroment, obtain being fit to the volume numerical value of current environment.
7. a method of obtaining the volume numerical value of suitably front environment is characterized in that, may further comprise the steps:
Terminal at preset timed intervals interval gathers surrounding enviroment sound, obtains the decibel of surrounding enviroment sound;
The decibel that the volume decibel of terminal deducts surrounding enviroment sound when gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in;
When depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse;
After described terminal judges surrounding enviroment sound belongs to noise, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtain being fit to the volume numerical value of current environment.
8. method as claimed in claim 7, it is characterized in that, the described decibel that the volume decibel of terminal deducts surrounding enviroment sound will gather surrounding enviroment sound the time at every turn obtains this volume decibel contrast, and the step that deposits volume decibel contrast-data storehouse in further comprises:
After times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
9. a device of regulating volume is characterized in that, comprises sound collection module, noise judge module, decibel measurement module, volume computing module harmony tone joint module, and above-mentioned module connects successively, wherein,
Described sound collection module is used for gathering surrounding enviroment sound, and extracts the characteristic frequency spectrum of described surrounding enviroment sound;
Described noise judge module is used for the characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, and confirms whether the sound of surrounding enviroment belongs to noise;
The decibel measurement module is for the decibel that measures surrounding enviroment sound;
The volume computing module is used for calculating the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound;
The sound adjustment module is for the volume of regulating described terminal according to the volume numerical value of the suitable environment that obtains.
10. device as claimed in claim 9 is characterized in that, described sound adjustment module also is used for:
The sound of surrounding enviroment does not belong to noise as described, then keeps the volume of described terminal.
11. device as claimed in claim 9 is characterized in that, described sound collection module is further used for:
Acquisition terminal surrounding enviroment sound;
With described voice data standardization;
Extract the characteristic frequency spectrum of described voice data.
12. device as claimed in claim 9 is characterized in that, described noise judge module also is used for, and default feature of noise frequency spectrum storehouse is downloaded the noise spectrum data according to Preset Time from the webserver and upgraded.
13. device as claimed in claim 9 is characterized in that, described volume computing module is further used for:
With noise decibel and the addition of existing volume decibel contrast mean value of surrounding enviroment, obtain being fit to the volume numerical value of current environment.
14. one kind obtain suitably before the device of volume numerical value of environment, it is characterized in that, comprise that a decibel measuring unit, volume decibel contrast computing unit, mean value computation unit be connected each unit and connect successively with the environmental volume numerical calculation unit, wherein,
Described decibel measuring unit is used at preset timed intervals interval collection surrounding enviroment sound, obtains the decibel of surrounding enviroment sound;
Described volume decibel contrast computing unit, the decibel that the volume decibel of terminal deducts surrounding enviroment sound when being used for gathering surrounding enviroment sound at every turn obtains this volume decibel contrast, and deposits volume decibel contrast-data storehouse in;
Described mean value computation unit, when being used for depositing volume decibel contrast in volume decibel contrast-data storehouse at every turn, the mean value of the volume decibel contrast of having stored in the calculated data storehouse;
Described environmental volume numerical calculation unit is used for when described terminal judges surrounding enviroment sound belongs to noise after, with the noise decibel that obtains and the volume decibel contrast mean value addition of current terminal, obtains the volume numerical value of suitable current environment.
15. device as claimed in claim 14 is characterized in that, described volume decibel contrast computing unit is further used for:
After times of collection reaches preset times, the volume decibel contrast that gathers and calculate covered successively store in the volume decibel contrast-data storehouse.
16. a digital terminal is characterized in that, comprises the device of regulating volume, the device of described adjusting volume comprises sound collection module, noise judge module, decibel measurement module, volume computing module harmony tone joint module, and above-mentioned module connects successively, wherein,
Described sound collection module is used for gathering surrounding enviroment sound, and extracts the characteristic frequency spectrum of described surrounding enviroment sound;
Described noise judge module is used for the characteristic frequency spectrum of described surrounding enviroment sound is compared with the feature of noise frequency spectrum storehouse of presetting, and confirms whether the sound of surrounding enviroment belongs to noise;
The decibel measurement module is for the decibel that measures surrounding enviroment sound;
The volume computing module is used for calculating the volume numerical value that is fit to environment according to the decibel of described surrounding enviroment sound;
The sound adjustment module is for the volume of regulating described terminal according to the volume numerical value of the suitable environment that obtains.
CN2012103597477A 2012-09-24 2012-09-24 Method and device for regulating volume, and digital terminal Pending CN102883121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103597477A CN102883121A (en) 2012-09-24 2012-09-24 Method and device for regulating volume, and digital terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103597477A CN102883121A (en) 2012-09-24 2012-09-24 Method and device for regulating volume, and digital terminal

Publications (1)

Publication Number Publication Date
CN102883121A true CN102883121A (en) 2013-01-16

Family

ID=47484243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103597477A Pending CN102883121A (en) 2012-09-24 2012-09-24 Method and device for regulating volume, and digital terminal

Country Status (1)

Country Link
CN (1) CN102883121A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546617A (en) * 2013-10-21 2014-01-29 深圳市金立通信设备有限公司 Voice adjusting method and terminal
CN103886857A (en) * 2014-03-10 2014-06-25 北京智谷睿拓技术服务有限公司 Method and device for controlling noise
CN103886731A (en) * 2014-03-10 2014-06-25 北京智谷睿拓技术服务有限公司 Noise control method and equipment
CN105355201A (en) * 2015-11-27 2016-02-24 百度在线网络技术(北京)有限公司 Scene-based voice service processing method and device and terminal device
CN105376674A (en) * 2015-12-10 2016-03-02 广东欧珀移动通信有限公司 Volume control method and device
CN105406828A (en) * 2014-08-22 2016-03-16 小米科技有限责任公司 Sound equipment adjustment method and device
CN106210342A (en) * 2016-07-27 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Volume control method, volume control device and mobile terminal
CN107039047A (en) * 2015-09-11 2017-08-11 黑莓有限公司 Generation is adaptive to be notified
CN107948871A (en) * 2017-12-23 2018-04-20 广州市尊浪电器有限公司 A kind of sound system and its noise-reduction method for eliminating environmental noise
CN108419124A (en) * 2018-05-08 2018-08-17 北京酷我科技有限公司 A kind of audio-frequency processing method
CN108702364A (en) * 2016-03-22 2018-10-23 英特尔公司 Flow data is adjusted based on the environment at receiver
CN109214153A (en) * 2017-07-05 2019-01-15 百度在线网络技术(北京)有限公司 information generating method and device
US10290292B2 (en) 2014-03-10 2019-05-14 Beijing Zhigu Rui Tuo Tech Co., Ltd. Noise control method and device
CN111083289A (en) * 2019-12-26 2020-04-28 惠州Tcl移动通信有限公司 Audio playing method and device, storage medium and mobile terminal
CN112333530A (en) * 2020-05-18 2021-02-05 深圳Tcl新技术有限公司 Audio adjusting method, device and computer readable storage medium
CN112415882A (en) * 2020-12-15 2021-02-26 厦门华钰电子科技有限公司 Electronic wall clock with sound intensity measuring device
CN114915886A (en) * 2021-02-08 2022-08-16 苏州佳世达电通有限公司 Dynamic broadcasting method and broadcasting device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005588A (en) * 2006-12-15 2007-07-25 华为技术有限公司 Method and device for automatically regulating device voice volume
US20080019491A1 (en) * 2005-05-03 2008-01-24 Payne Nicholas W P Telephone Ring Activation of a Wireless Transmitter for Remote Control of a Television
CN101741330A (en) * 2008-11-24 2010-06-16 深圳Tcl新技术有限公司 TV volume adjustment method and device
CN102118665A (en) * 2009-12-30 2011-07-06 北京华旗随身数码股份有限公司 Automatic tuning device and method and multimedia player
CN102377965A (en) * 2010-08-18 2012-03-14 纬创资通股份有限公司 Volume control method and electronic device with automatic volume adjustment function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080019491A1 (en) * 2005-05-03 2008-01-24 Payne Nicholas W P Telephone Ring Activation of a Wireless Transmitter for Remote Control of a Television
CN101005588A (en) * 2006-12-15 2007-07-25 华为技术有限公司 Method and device for automatically regulating device voice volume
CN101741330A (en) * 2008-11-24 2010-06-16 深圳Tcl新技术有限公司 TV volume adjustment method and device
CN102118665A (en) * 2009-12-30 2011-07-06 北京华旗随身数码股份有限公司 Automatic tuning device and method and multimedia player
CN102377965A (en) * 2010-08-18 2012-03-14 纬创资通股份有限公司 Volume control method and electronic device with automatic volume adjustment function

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546617B (en) * 2013-10-21 2016-01-27 深圳市金立通信设备有限公司 A kind of method that sound regulates and terminal
CN103546617A (en) * 2013-10-21 2014-01-29 深圳市金立通信设备有限公司 Voice adjusting method and terminal
US9905215B2 (en) 2014-03-10 2018-02-27 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
CN103886857A (en) * 2014-03-10 2014-06-25 北京智谷睿拓技术服务有限公司 Method and device for controlling noise
CN103886731A (en) * 2014-03-10 2014-06-25 北京智谷睿拓技术服务有限公司 Noise control method and equipment
WO2015135365A1 (en) * 2014-03-10 2015-09-17 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
US10733970B2 (en) 2014-03-10 2020-08-04 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
US10657945B2 (en) 2014-03-10 2020-05-19 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
US10290292B2 (en) 2014-03-10 2019-05-14 Beijing Zhigu Rui Tuo Tech Co., Ltd. Noise control method and device
CN103886857B (en) * 2014-03-10 2017-08-01 北京智谷睿拓技术服务有限公司 A kind of noise control method and equipment
US9923535B2 (en) 2014-03-10 2018-03-20 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
CN105406828A (en) * 2014-08-22 2016-03-16 小米科技有限责任公司 Sound equipment adjustment method and device
CN107039047B (en) * 2015-09-11 2021-09-03 黑莓有限公司 Generating adaptive notifications
CN107039047A (en) * 2015-09-11 2017-08-11 黑莓有限公司 Generation is adaptive to be notified
CN105355201A (en) * 2015-11-27 2016-02-24 百度在线网络技术(北京)有限公司 Scene-based voice service processing method and device and terminal device
CN105376674A (en) * 2015-12-10 2016-03-02 广东欧珀移动通信有限公司 Volume control method and device
CN105376674B (en) * 2015-12-10 2019-07-30 Oppo广东移动通信有限公司 A kind of method for controlling volume and device
CN108702364A (en) * 2016-03-22 2018-10-23 英特尔公司 Flow data is adjusted based on the environment at receiver
CN106210342A (en) * 2016-07-27 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Volume control method, volume control device and mobile terminal
CN109214153A (en) * 2017-07-05 2019-01-15 百度在线网络技术(北京)有限公司 information generating method and device
CN107948871A (en) * 2017-12-23 2018-04-20 广州市尊浪电器有限公司 A kind of sound system and its noise-reduction method for eliminating environmental noise
CN108419124A (en) * 2018-05-08 2018-08-17 北京酷我科技有限公司 A kind of audio-frequency processing method
CN108419124B (en) * 2018-05-08 2020-11-17 北京酷我科技有限公司 Audio processing method
CN111083289A (en) * 2019-12-26 2020-04-28 惠州Tcl移动通信有限公司 Audio playing method and device, storage medium and mobile terminal
CN111083289B (en) * 2019-12-26 2021-08-03 惠州Tcl移动通信有限公司 Audio playing method and device, storage medium and mobile terminal
CN112333530A (en) * 2020-05-18 2021-02-05 深圳Tcl新技术有限公司 Audio adjusting method, device and computer readable storage medium
CN112415882A (en) * 2020-12-15 2021-02-26 厦门华钰电子科技有限公司 Electronic wall clock with sound intensity measuring device
CN114915886A (en) * 2021-02-08 2022-08-16 苏州佳世达电通有限公司 Dynamic broadcasting method and broadcasting device

Similar Documents

Publication Publication Date Title
CN102883121A (en) Method and device for regulating volume, and digital terminal
CN110381430B (en) Hearing assistance device control
WO2014175594A1 (en) Method for fitting hearing aid in individual user environment-adapted scheme, and recording medium for same
CN101614584B (en) Noise measuring system based on digital signal processing and method
CN108877770A (en) For testing the methods, devices and systems of intelligent sound equipment
CN105225681A (en) Speech playing method and system
CN106898348A (en) It is a kind of go out acoustic equipment dereverberation control method and device
CN108511000A (en) A kind of test intelligent sound box wakes up the method and system of word discrimination
CN105376386B (en) Call terminal and its volume adaptive regulation method and system
CN107480488B (en) Unlocking control method and related product
CN109979469B (en) Signal processing method, apparatus and storage medium
CN107438130A (en) Method of adjustment, device and the terminal of speech gain
CN111796790B (en) Sound effect adjusting method and device, readable storage medium and terminal equipment
CN112562624A (en) Active noise reduction filter design method, noise reduction method, system and electronic equipment
CN114554384B (en) Bluetooth headset anti-interference performance test system
CN108449495A (en) Voice communication data processing method, device, storage medium and mobile terminal
CN112927705B (en) Frequency response calibration method and related product
CN107168986B (en) Analysis method for news APP application liveness
CN116109017B (en) Short-circuit current zero point fast and accurate prediction method and system
CN113660512B (en) Audio processing method, device, server and computer readable storage medium
CN114979923A (en) Method, device and storage medium for determining hearing loss curve
CN112333534B (en) Noise elimination method and device, intelligent television system and readable storage medium
CN112948763B (en) Piece quantity prediction method and device, electronic equipment and storage medium
CN113849805A (en) Mobile user credibility authentication method and device, electronic equipment and storage medium
CN108399478B (en) Method, device and equipment for determining user perception evaluation standard

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130116