Background technology
Be an information computerization now, and the world that every industry development is advanced fast, because information flow is quick, people to the demand of information with exchange more and more big, therefore, the Internet (Internet) just is widely used in all trades and professions, and a kind of device for mobile communication (as: mobile phone) is widely used especially, and become already many people live the custom in indispensable some.
Along with this device for mobile communication; especially mobile phone popularizes; and be subjected to doting on of numerous users; and it is well known; though this mobile phone is very convenient in the use; but owing to be subjected to this mobile phone under environment for use complicated and changeable; cause being under the noisy environment when this mobile phone; user's sound that earphone sent on regular meeting takes place via this mobile phone; not can not hear clearly; be exactly to be covered by the noisy sound in the external world fully, and have to improve user's voice, perhaps repeat same language simultaneously; make the user go up in public relatively; seem extremely awkward in the extreme and indecency, especially be on important occasion, especially disgrace and rude.
For this reason, although this mobile phone itself promptly has the operating key of regulating volume, but when the user receives calls, common people's branch of having no time usually removes to adjust blindly the operating key of this adjusting volume celestially again, thus, not only cause user's very big puzzlement, relatively also have influence on the service speed of user, cause great inconvenience this mobile phone.
So, if can design a kind of intelligent method of regulating the device for mobile communication earpiece volume, to make the user under environment for use complicated and changeable, need not remove to adjust the operating key of this adjusting volume again via the user, can be according to actual environment, intelligent volume of regulating earphone and microphone believes that this will the person of opinion that the person of being to use finds pleasure in.
Summary of the invention
Because the aforementioned conventional user is under environment complicated and changeable, when using this mobile phone to receive calls, the inconvenience that is caused and every shortcoming such as indecency, the inventor is practical experience and the research experience through for many years, and development and Design goes out a kind of intelligent method of regulating the device for mobile communication earpiece volume of the present invention finally.
Purpose of the present invention, be to provide a kind of method of regulating earpiece volume, this method is to allow the user utilize a device for mobile communication (as: mobile phone) when conversing in an environment, can see through a central processing unit of this device for mobile communication, after making a sampled voice module obtain the input data of inhuman acoustic environment noise in this environment and voice voice, see through relevant different volume control die set, with the earphone on this device for mobile communication of realization automatic control and adjustment and the transformation of a microphone volume; So, when the user is in the noisy environment, when utilizing this device for mobile communication to converse, need not the user start to regulate the operating key of volume, can be by respectively this volume control die set in this device for mobile communication, automatically regulate the volume transition of earphone and microphone on it, to reach the purpose of showing consideration for the user more.
For enabling to purpose of the present invention, steps characteristic and effect thereof, make further understanding and understanding, for the embodiment conjunction with figs., be described in detail as follows now:
Embodiment
Because, popularizing of mobile phone, and be subjected to doting on of numerous users, but, cause being under the noisy environment as the user owing to be subjected to this mobile phone under environment for use complicated and changeable, the sound that is sent on this mobile phone earphone, not can not hear clearly, is exactly to be covered by the noisy sound in the external world fully, cause the user use and external bearing on, be subjected to many inconvenience and rude, and disgrace.
The present invention is promptly at this problem, invent out a kind of intelligent method of regulating the device for mobile communication earpiece volume, this method is in a device for mobile communication 10 (as: mobile phone), set up a sampled voice module 102 respectively, one sound I/O module 103, one volume is regulated regular module 104, one volume parameters calculates a module 105 and a volume control die set 106, when allowing the user in an environment, utilize this device for mobile communication 10 to converse, can see through a central processing unit 101 of this device for mobile communication 10, make this sampled voice module 102, via this sound I/O module 103, after the input data that obtain inhuman acoustic environment noise in this environment and voice voice, see through this volume and regulate the processing of comparing of regular module 104, regulate parameter value to obtain volume actual required in this environment, calculate module 105 by this volume parameters again and regulate parameter value to calculate this volume, obtain final required volume-leveling value, and through this volume control die set 106, via this sound I/O module 103, with the earphone on this device for mobile communication 10 of realization automatic control and adjustment and the transformation of a microphone volume.
So, even if the user is in the noisy environment, utilize this device for mobile communication 10 to converse, also can not be subjected to the interference of ambient noise, and the volume that can regulate earphone and microphone on it is automatically used the inconvenience of this device for mobile communication 10 on conversing and indecency with the traditional user of effective solution in noisy environment.
In the present invention, see also shown in Figure 1ly, this device for mobile communication 10 is to include this central processing unit 101 respectively, and it is the whole respectively processing between this module action of control, and is processing center with it; This sampled voice module 102, in order to obtain the input data of inhuman acoustic environment noise and voice voice, wherein this sampled voice module 102 still includes a buffering area, in order to do by the quick a spot of data storage method of the utilization of this buffering area, to strengthen its real-time; This sound I/O module 103 then is in order to realize the transformation of volume output, also to bear the task of external sound sampling simultaneously; And this volume is regulated regular module 104, then according to the environmental noise intensity of non-voice, reach input intensity according to the voice voice, the prediction environmental noise, and respectively via testing resultant one suitable earphone and microphone, the functional relation of two data and volume, and comprehensive actual required volume is regulated parameter value; This volume parameters calculates module 105, then according to the data of this sampled voice module 102, regulates parameter value by the meter volume, to obtain final required volume-leveling value; And this volume control die set 106, it regulates regular module 104 according to this volume, to realize controlling automatically the earphone on this device for mobile communication 10 and the adjusting of microphone volume.
Be that the present invention can realize controlling automatically earphone on this device for mobile communication 10 and microphone volume with next
The specific implementation method:
Converse when the user utilizes this device for mobile communication 10 in an environment, and after starting this program function simultaneously, the central processing unit 101 of this device for mobile communication 10 will be controlled processing according to the following step, see also shown in Figure 2:
(201) at first, make this sampled voice module 102, via this sound I/O module 103, to obtain the inhuman acoustic environment noise in this environment and the input data of voice voice, and these data are deposited in the buffering area of this sampled voice module 102, to strengthen its real-time;
(202) average of sampling of the data in this buffering area is handled, to obtain inhuman acoustic environment noise intensity in this environment, with the mean intensity of voice phonetic entry;
(203) see through with this volume and regulate processings of comparing of regular module 104, to obtain volume adjusting parameter value actual required in this environment;
(204) calculate module 105 by this volume parameters again and regulate parameter value to calculate this volume, obtain final required volume-leveling value, and see through this volume control die set 106, via the earphone on these sound I/O module 103 these device for mobile communication 10 of realization automatic control and adjustment and the transformation of microphone volume;
(205) then, judge whether this conversation finishes, if end of conversation, promptly the program function of while this volume transition of finishing control if conversation finishes, then continues next step (206);
(206) start a timer, and when this timer timing arrives, return step (201) reprocessing, and then finish the program function of once controlling volume transition.
The above only is a best specific embodiment of the present invention, and feature of the present invention is not limited thereto, and anyly is familiar with this technical field person in field of the present invention, can think easily and variation or modification, all should be encompassed in the following claim of the present invention.