CN108833681A - A kind of volume adjusting method and mobile terminal - Google Patents

A kind of volume adjusting method and mobile terminal Download PDF

Info

Publication number
CN108833681A
CN108833681A CN201810516560.0A CN201810516560A CN108833681A CN 108833681 A CN108833681 A CN 108833681A CN 201810516560 A CN201810516560 A CN 201810516560A CN 108833681 A CN108833681 A CN 108833681A
Authority
CN
China
Prior art keywords
mobile terminal
volume
audio signal
audio
time interval
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
CN201810516560.0A
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.)
Shanghai Wind Communication Technologies Co Ltd
Original Assignee
Shanghai Wind Communication Technologies 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 Shanghai Wind Communication Technologies Co Ltd filed Critical Shanghai Wind Communication Technologies Co Ltd
Priority to CN201810516560.0A priority Critical patent/CN108833681A/en
Publication of CN108833681A publication Critical patent/CN108833681A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • H04M9/085Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using digital techniques

Abstract

The present embodiments relate to field of communication technology, a kind of volume adjusting method and mobile terminal are disclosed.In the present invention, in communication process, whether detection mobile terminal is in answering time interval;When mobile terminal is in answering time interval, the environmental volume of mobile terminal is obtained;The volume of the audio player of mobile terminal is adjusted according to the size of the environmental volume of mobile terminal, wherein the volume of audio player increases with the increase of environmental volume;Wherein, whether detection mobile terminal is in answering time interval, specifically includes:If detecting, mobile terminal receives the first audio signal, determines that mobile terminal is in answering time interval.So that can accurately detect environmental noise in communication process, so as to the volume of accurately adjust automatically mobile terminal, while user-friendly, the call experience of user is also improved.

Description

A kind of volume adjusting method and mobile terminal
Technical field
The present embodiments relate to field of communication technology, in particular to a kind of volume adjusting method and mobile terminal.
Background technique
Mobile phone has become the necessity of life as a kind of popular electronic product, and mobility provides for people Very big convenience.Due to the mobility of mobile phone, allow user in various environment using mobile phone, such as more quiet ring Border or more noisy environment.However, environmental noise is to user when user is conversed in different environment using mobile phone Interference it is different.When being conversed in more noisy environment, the In Call of mobile phone may allow user to be difficult to catch;And When being conversed in more quiet environment, the In Call of mobile phone may seem again excessive.
At least there are the following problems in the prior art for inventor's discovery:When mobile phone passes through, the time is long, and environment is outer When boundary's sound is bigger, need people that the system sound volume for increasing mobile phone is gone to need people manual when the peace and quiet that environment becomes manually The system sound volume of reduction mobile phone is removed, sometimes switching frequency is bigger, manually adjusts more troublesome.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of volume adjusting method and mobile terminal, so that in communication process In can accurately detect environmental noise, so as to the volume of accurately adjust automatically mobile terminal, user-friendly Meanwhile also improving the call experience of user.
In order to solve the above technical problems, embodiments of the present invention provide a kind of volume adjusting method, it is applied to movement Terminal, including:
In communication process, whether detection mobile terminal is in answering time interval;
When mobile terminal is in answering time interval, the environmental volume of mobile terminal is obtained;
The volume of the audio player of mobile terminal is adjusted according to the size of the environmental volume of mobile terminal, wherein audio The volume of player increases with the increase of environmental volume;
Wherein, whether detection mobile terminal is in answering time interval, specifically includes:
If detecting, mobile terminal receives the first audio signal, determines that mobile terminal is in answering time interval.
Embodiments of the present invention additionally provide a kind of mobile terminal, including:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
Memory is stored with the instruction that can be executed by least one processor, and instruction is executed by least one processor, with At least one processor is set to be able to carry out above-mentioned volume adjusting method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate Machine program realizes above-mentioned volume adjusting method when being executed by processor.
Embodiment of the present invention is in terms of existing technologies, mobile eventually by judgement in mobile terminal calling process Whether end receives the first audio signal to judge whether mobile terminal is in answering time interval, so as to mobile terminal answering time interval Judgement it is more accurate;In answering time interval, the volume of mobile terminal environment is obtained, since user does not send out within the period Sound, therefore, the environmental volume obtained at this time are more accurate;The audio that mobile terminal is adjusted according to the environmental volume of acquisition is broadcast The volume of device is put, the volume of audio player increases with the increase of environmental volume, so that in communication process, it can basis The volume of external environment carrys out the volume of adjust automatically audio player, allows the volume in mobile terminal calling process timely Accurately adjusted, it is user-friendly simultaneously, also improve user call experience.
In addition, whether detection mobile terminal is in front of answering time interval, further include:Whether detection mobile terminal receives the One audio signal;Whether detection mobile terminal receives the first audio signal, specially:Detect the audio player of mobile terminal It is whether in running order.Since in communication process, the audio player of mobile terminal only can just be located when user answers It is therefore, whether in running order by the audio player of detection mobile terminal to be to detect mobile terminal in working condition It is no to receive the first audio signal, it is more accurate to the judgement of answering time interval.
In addition, further including after whether detection mobile terminal receives the first audio signal:If receiving the first audio Signal then identifies the volume parameters of the first audio signal;The sound of mobile terminal is adjusted according to the volume parameters of the first audio signal The volume of frequency player.By the volume parameters in the first audio signal of the other side received in communication process, further Ground adjusts the volume of the audio player of mobile terminal, further improves the call experience of user.
In addition, further including before the volume of the audio player of adjustment mobile terminal:Judge be in the first audio signal The no audio signal comprising meeting voice feature;If comprising the audio signal for meeting voice feature, then executing adjustment movement eventually The volume of the audio player at end.The first audio signal of the other side received is first judged before the volume of adjustment mobile terminal In whether in include people sound, if comprising then being adjusted, avoiding in the first audio signal received is all noise And the case where adjusting volume, further increase the call experience of user.
In addition, whether detection mobile terminal is in answering time interval, specifically include:If detecting the microphone of mobile terminal not It is collected into the second audio signal, then determines that mobile terminal is in answering time interval.Provide whether another determines mobile terminal Implementation in answering time interval.
In addition, volume adjusting method, further includes:If detecting, the microphone of mobile terminal is collected into the second audio signal, Then first the second audio signal is filtered, retransmits filtered second audio signal.It is collected into mobile terminal transmission Before second audio signal, first the second audio signal is filtered, reduces the noise in the second audio signal, promotes call matter Amount.
In addition, sending filtered second audio signal, specifically include:Filtered second audio signal is loaded onto tune Carrier signal processed is sent.Filtered second audio signal is loaded onto modulation carrier signal to send, is reduced in number According to the noise in transmission process, the quality of call is further promoted.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is a kind of flow diagram of volume adjusting method of first embodiment according to the present invention;
Fig. 2 is a kind of flow diagram of volume adjusting method of second embodiment according to the present invention;
Fig. 3 is a kind of flow diagram of volume adjusting method of third embodiment according to the present invention;
Fig. 4 is the structural schematic diagram of the mobile terminal of the 4th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of volume adjusting methods.The core of present embodiment is conversing Whether Cheng Zhong, detection mobile terminal are in answering time interval;When mobile terminal is in answering time interval, the environment of mobile terminal is obtained Volume;The volume of the audio player of mobile terminal is adjusted according to the size of the environmental volume of mobile terminal, wherein audio plays The volume of device increases with the increase of environmental volume;Wherein, whether detection mobile terminal is in answering time interval, specifically includes: If detecting, mobile terminal receives the first audio signal, determines that mobile terminal is in answering time interval.So that in communication process In can accurately detect environmental noise, so as to the volume of accurately adjust automatically mobile terminal, user-friendly Meanwhile also improving the call experience of user.A kind of realization details of volume adjusting method of present embodiment is carried out below Specific description, the following contents only for convenience of the realization details provided is understood, not implement the necessary of this programme.
The idiographic flow schematic diagram of one of present embodiment volume adjusting method is as shown in Figure 1, specifically include:
Step 101:Whether detection mobile terminal receives the first audio signal.If receiving, enter next step 102;If not receiving, which terminates.
Specifically, in communication process, mobile terminal is generally in two kinds of periods, answering time interval and sounding period.When When mobile terminal is in the sounding period, since user distance microphone is closer, the sound for the user that microphone is collected into Volume is typically larger than the noise volume for the environment that microphone is collected into.But since the volume of noise in environment there may come a time when to be greater than The volume of user's speech, therefore, if the volume for the audio signal being collected by the microphone of mobile terminal, to judge to use It is not very accurate that whether family, which is in the sounding period, therefore the answering time interval that such method obtains also is inaccurate.This embodiment party For formula by detecting whether mobile terminal receives the first audio signal, which is digital audio and video signals, that is, is detected Whether mobile terminal receives the digital audio and video signals from partner.Under normal conditions, when partner speech when, use Family will not talk, therefore, by judging whether mobile terminal receives the first audio signal, whether to judge mobile terminal Mode in answering time interval compared to other modes for, determine result it is more accurate.If mobile terminal receives first Audio signal determines that mobile terminal is in answering time interval, at this point, obtaining the environmental volume of mobile terminal;If mobile terminal does not connect The first audio signal is received, shows that mobile terminal is in the sounding period at this time, which terminates.It is for letter in present embodiment Change statement just when mobile terminal does not receive the first audio signal, end process, but in practical applications, in communication process In, mobile terminal is in real-time detection state always, to carry out different operations according to different detecting states.
Wherein, whether detection mobile terminal is in front of answering time interval, further includes:Whether detection mobile terminal receives the One audio signal;Whether detection mobile terminal receives the first audio signal, specially:Detect the audio player of mobile terminal It is whether in running order.
Specifically, the first audio signal is digital audio and video signals.Whether detection mobile terminal receives from call pair The concrete mode of digital audio and video signals of side can be:Whether the audio player for detecting mobile terminal is in running order.By In in communication process, the audio player of mobile terminal only answers Shi Caihui and is in work in partner speech, user State, since when partner is talked, user will not generally talk.Therefore, pass through the audio player of detection mobile terminal Whether it is in running order detect whether mobile terminal receives the first audio signal, it is to the judgement of answering time interval more quasi- Really.Wherein, whether the audio player for detecting mobile terminal is in running order, can be by detecting whether mobile terminal is in Sounding state judges.Audio player herein refers on mobile terminal for listening to the device of other side's sound when conversing, and such as raises Sound device, earpiece etc..Certainly whether detection mobile terminal, which receives the mode of the first audio signal, to be:It is moved by detection Whether terminal is being converted to analog audio signal for the first audio signal (i.e. digital audio and video signals).It is, of course, also possible to pass through Other modes judge whether mobile terminal receives the first audio signal, and present embodiment do not illustrate excessively herein.
Step 102:Obtain the environmental volume of mobile terminal.
Specifically, when detecting that mobile terminal receives the first audio signal, determine that mobile terminal is in answering time interval When.Partner is talked at this time, user's not sounding.Since user does not talk, obtains in the environmental volume of mobile terminal and only wrap Volume containing environmental noise, therefore the environmental volume obtained is more accurate.Mobile terminal collect sound device include:Main wheat Gram wind and secondary microphone, main microphon are used to collect the sound of user, and secondary microphone then is used to collect the sound of environment.Therefore, The mode of environmental volume for obtaining mobile terminal can be:When mobile terminal is in answering time interval, the pair of mobile terminal is obtained The volume of microphone.
Step 103:The volume of the audio player of mobile terminal is adjusted according to the size of the environmental volume of mobile terminal.
Specifically, when mobile terminal receives the first audio signal (i.e. digital audio and video signals) from partner, shifting Dynamic terminal is in answering time interval, after the environmental volume for obtaining mobile terminal, according to the environmental volume of the mobile terminal got Size adjustment mobile terminal audio player volume.The volume of audio player increases with the increase of environmental volume Greatly, reduce with the reduction of environmental volume, the mode of the volume of the specific audio player for adjusting mobile terminal is herein not It is repeated.In communication process, by detecting whether mobile terminal receives the first audio signal, so as to accurate judgement Whether mobile terminal is in answering time interval so that also more accurate in the environmental volume that the answering time interval obtains, according to this compared with The volume that the audio player of mobile terminal is adjusted for accurate environmental volume improves call of the user in communication process Experience, it is convenient for users to use, while also improving the quality of call.
In addition, further including after whether detection mobile terminal receives the first audio signal:If receiving the first audio Signal then identifies the volume parameters of the first audio signal;The sound of mobile terminal is adjusted according to the volume parameters of the first audio signal The volume of frequency player.
Specifically, a kind of environmental volume according in communication process is provided in above content to adjust mobile terminal The mode of the volume of audio player.In communication process, since the sound size of partner also influences whether the matter of call Amount, and the volume of the audio player of mobile terminal is adjusted in above content according only to the environmental volume in communication process not It is able to solve the above problem.Therefore, here by the volume parameters in the first audio signal of the other side received, further The volume for adjusting the audio player of mobile terminal, provides the volume of the audio player of further adjustment mobile terminal Mode further improves the speech quality of the call experience and mobile terminal of user.
Compared with prior art, present embodiments provide for a kind of volume adjusting methods, in mobile terminal calling process, Judge whether mobile terminal is in answering time interval by judging whether mobile terminal receives the first audio signal, so as to shifting The judgement of dynamic terminal answering time interval is more accurate;In answering time interval, the volume of mobile terminal environment is obtained, since user exists Not sounding in the period, therefore, the environmental volume obtained at this time is more accurate;Shifting is adjusted according to the environmental volume of acquisition The volume of the audio player of dynamic terminal, the volume of audio player increases with the increase of environmental volume, so that conversing It in the process, can be according to the volume of external environment come the volume of adjust automatically audio player, so that mobile terminal calling process In volume can timely and accurately be adjusted, it is user-friendly simultaneously, also improve user call experience.
Second embodiment of the present invention is related to a kind of volume adjusting method.Second embodiment is in first embodiment On the basis of the improvement done, mainly the improvement is that:Before the volume of the audio player of adjustment mobile terminal, further include: Judge in the first audio signal whether to include the audio signal for meeting voice feature;If including the audio letter for meeting voice feature Number, then the volume of the audio player of adjustment mobile terminal is executed again.
The idiographic flow schematic diagram of one of present embodiment volume adjusting method is as shown in Fig. 2, specifically include:
Step 201:Whether detection mobile terminal receives the first audio signal.If receiving, enter next step 202;If not receiving, which terminates.
Step 202:Obtain the environmental volume of mobile terminal.
Above-mentioned steps 201 and step 202 and step 101 in first embodiment and 102 roughly the same, herein no longer into Row repeats.
Step 203:Judge in the first audio signal whether to include the audio signal for meeting voice feature.If comprising, into Enter next step 204;If not including, which terminates.
Specifically, in communication process, if the audio signal from partner received is all noise, if this When mobile terminal environmental volume it is larger, the volume of the audio player of mobile terminal is tuned up, user listens at this time Sound is the noise after volume tunes up, and influences the call experience of user instead.Therefore, in communication process, in mobile terminal After the first audio signal for receiving partner, before the volume of the audio player of adjustment mobile terminal, first judgement is connect In the first audio signal of the other side received whether in comprising meeting the audio signal of voice feature, if comprising then to movement The volume of the audio player of terminal is adjusted, and avoiding in the first audio signal received is all noise and adjusts volume The case where, further increase the call experience of user.If in the first audio signal not including the audio for meeting voice feature Signal is then concluded that partner is not talked at this time, is not adjusted at this time to the volume of the audio player of mobile terminal, is somebody's turn to do Process terminates.
Wherein, judge in the first audio signal whether to include the audio signal for meeting voice feature, especially by with lower section Formula judgement:Judge whether the volume parameters of the first audio signal are greater than preset threshold;Alternatively, according to first audio signal from phase Whether closing property judges in the first audio signal to include the audio signal for meeting voice feature.
Specifically, since partner is during speech, partner distance microphone is closer, therefore, main wheat The volume for the partner that gram wind is collected into is usually larger, and the environmental volume for the partner that secondary microphone is collected into is usual It is smaller, therefore, whether can be greater than preset threshold by judging the volume parameters of the first audio signal that mobile terminal receives, come Judge in first audio signal whether to include the audio signal for meeting voice feature.Wherein, preset threshold is used to indicate that people When speaking, a decibel numerical value of the collected volume of microphone, which can be by user's sets itself.Separately It outside, is a lasting process since people speaks, there are certain rules for audio signal of the people when speaking, and generate noise letter The object of number sounding is different, and the time occurred is indefinite, and noise signal simultaneously irregular is sayed.It therefore, can be according to the of acquisition The power of the autocorrelation of one audio signal is believed to determine to whether there is in first audio signal audio for meeting voice feature Number.Certainly, may determine that in the first audio signal whether include the mode for meeting the audio signal of voice feature there is also other, Details are not described herein.
Step 204:The volume of the audio player of mobile terminal is adjusted according to the size of the environmental volume of mobile terminal.
Above-mentioned steps 204 are roughly the same with the step 103 in first embodiment, no longer repeated herein.
Compared with prior art, present embodiments provide for a kind of volume adjusting methods, in the audio of adjustment mobile terminal Before the volume of player, first judge in the first audio signal of the other side received whether in comprising meeting the sound of voice feature Frequency signal, if comprising, then the volume of the audio player of mobile terminal is adjusted, avoid the first audio received All be noise in signal and the case where adjust volume, further increase the call experience of user.
Third embodiment of the present invention is related to a kind of volume adjusting method.Third embodiment and first embodiment are big It causes identical, is in place of the main distinction:Whether detection mobile terminal is in answering time interval, specifically includes:If detecting mobile whole The microphone at end is not collected into the second audio signal, then determines that mobile terminal is in answering time interval.Provide another judgement Whether mobile terminal is in the implementation of answering time interval.
The idiographic flow schematic diagram of one of present embodiment volume adjusting method is as shown in figure 3, specifically include:
Step 301:Whether the microphone of detection mobile terminal is collected into the second audio signal.If not being collected into, enter Next step 302;If being collected into, which terminates.
Specifically, a kind of mode for judging mobile terminal and whether being in answering time interval is provided in first embodiment: It is from logical to judge whether mobile terminal is in answering time interval by judging whether mobile terminal receives the first audio signal The angle of words other side sets out to be judged.In present embodiment, another is provided judges whether mobile terminal is in and connect The mode for listening the period is mentioned in the first embodiment before from the angle of calling user itself:Due to making an uproar in environment The volume of sound there may come a time when the volume that can be greater than user's speech, therefore, if the audio being collected by the microphone of mobile terminal The volume of signal is not very accurate, therefore answering of obtaining of such method to judge whether user is in the sounding period Period is also inaccurate.Therefore, in present embodiment, whether the microphone by detecting mobile terminal is collected into the second audio letter Number judged, main microphon is used to sound of the collector in speech, therefore, can pass through the main Mike of detection mobile terminal Whether wind is collected into the second audio signal to judge whether mobile terminal is in answering time interval, and such mode can be with the first embodiment party Judgment mode in formula, which combines, to be implemented, and ensure that the accuracy of judging result.If the main microphon of mobile terminal is not collected into Two audio signals determine that mobile terminal is in answering time interval, at this point, obtaining the environmental volume of mobile terminal;If mobile terminal Main microphon is collected into the second audio signal, shows that mobile terminal is in the sounding period at this time, which terminates.Present embodiment In be to terminate process, but in reality to simplify statement just when the main microphon of mobile terminal is collected into the second audio signal In, in communication process, mobile terminal is in real-time detection state always, to be carried out according to different detecting states Different operations.
In addition, volume adjusting method, further includes:If detecting, the microphone of mobile terminal is collected into the second audio signal, Then first the second audio signal is filtered, retransmits filtered second audio signal.Specifically, if detecting mobile whole The main microphon at end is collected into the second audio signal, due to being likely to contain environmental noise in second audio signal, Before second audio signal is sent, according to the lower characteristic of volume decibel of environmental noise, can to the second audio signal into Row filtering, after reducing the noise in the second audio signal, then filtered second audio signal is sent, is further mentioned The quality of call is risen.
In addition, sending filtered second audio signal, specifically include:Filtered second audio signal is loaded onto tune Carrier signal processed is sent.Specifically, carrier signal refers to the waveform for being modulated to transmission signal, generally sine wave. The effect of carrier signal is that source signal (filtered second audio signal i.e. in present embodiment) is modulated to other frequencies (carrying signal) up.Load carrier signal effect include:1, reduce the noise in transmission;2, frequency division multiplexing, i.e., same frequency Same transmission multiple signals are without aliasing between rate;3, farther distance can be propagated, is conducive to receive.In present embodiment, Filtered second audio signal is loaded onto modulation carrier signal to send, reduces the noise in data transmission procedure, And be conducive to long-distance communications, further improve the quality of call.
Step 302:Obtain the environmental volume of mobile terminal.
Step 303:The volume of the audio player of mobile terminal is adjusted according to the size of the environmental volume of mobile terminal.
Above-mentioned steps 302 and step 303 and step 102 in first embodiment and 103 roughly the same, herein no longer into Row repeats.
Compared with prior art, present embodiments provide for a kind of volume adjusting methods, detect whether mobile terminal is in Answering time interval specifically includes:If detecting, the microphone of mobile terminal is not collected into the second audio signal, determines mobile terminal In answering time interval.It provides another and determines whether mobile terminal is in the implementation of answering time interval.By this second Before audio signal is sent, according to the lower characteristic of volume decibel of environmental noise, the second audio signal can be filtered, be dropped After noise in low second audio signal, then filtered second audio signal sent, further improves call Quality.And filtered second audio signal is loaded onto modulation carrier signal and is sent, it reduces in data transmission procedure In noise, be conducive to long-distance communications, further improve the quality of call.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of mobile terminal, as shown in figure 4, including:At least one processor 401; And the memory 402 with the communication connection of at least one processor 401;Wherein, be stored with can be by least one for memory 402 The instruction that processor 401 executes, instruction is executed by least one processor 401, so that at least one processor 401 is able to carry out The volume adjusting method of any of the above-described embodiment.
Wherein, memory 402 is connected with processor 401 using bus mode, and bus may include any number of interconnection Bus and bridge, bus is by one or more processors 401 together with the various circuit connections of memory 402.Bus may be used also With by such as peripheral equipment, voltage-stablizer, together with various other circuit connections of management circuit or the like, these are all It is known in the art, therefore, it will not be further described herein.Bus interface provides between bus and transceiver Interface.Transceiver can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for The unit communicated on transmission medium with various other devices.The data handled through processor 401 pass through antenna on the radio medium It is transmitted, further, antenna also receives data and transfers data to processor 401.
Processor 401 is responsible for management bus and common processing, can also provide various functions, including timing, periphery connects Mouthful, voltage adjusting, power management and other control functions.And memory 402 can be used for storage processor 401 and execute Used data when operation.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application The all or part of the steps of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (10)

1. a kind of volume adjusting method, which is characterized in that it is applied to mobile terminal, including:
In communication process, detect whether the mobile terminal is in answering time interval;
When the mobile terminal is in answering time interval, the environmental volume of the mobile terminal is obtained;
The volume of the audio player of the mobile terminal is adjusted according to the size of the environmental volume of the mobile terminal, wherein The volume of the audio player increases with the increase of the environmental volume;
Wherein, whether the detection mobile terminal is in answering time interval, specifically includes:
If detecting, the mobile terminal receives the first audio signal, determines that the mobile terminal is in answering time interval.
2. volume adjusting method according to claim 1, which is characterized in that whether the detection mobile terminal is in Before answering time interval, further include:
Detect whether the mobile terminal receives first audio signal;
Whether the detection mobile terminal receives first audio signal, specially:Detect the mobile terminal Whether audio player is in running order.
3. volume adjusting method according to claim 2, which is characterized in that whether connect in the detection mobile terminal After receiving first audio signal, further include:
If receiving first audio signal, the volume parameters of first audio signal are identified;
The volume of the audio player of the mobile terminal is adjusted according to the volume parameters of first audio signal.
4. volume adjusting method according to claim 1 or 3, which is characterized in that in the adjustment mobile terminal Before the volume of audio player, further include:
Judge in first audio signal whether to include the audio signal for meeting voice feature;
If comprising the audio signal for meeting voice feature, then executing the audio player of the adjustment mobile terminal Volume.
5. volume adjusting method according to claim 4, which is characterized in that be in judgement first audio signal The no audio signal comprising meeting voice feature, judges especially by following manner:
Judge whether the volume parameters of first audio signal are greater than preset threshold;Alternatively,
Whether judged in first audio signal according to the autocorrelation of first audio signal comprising meeting voice feature Audio signal.
6. volume adjusting method according to claim 1, which is characterized in that whether the detection mobile terminal, which is in, is answered Period specifically includes:
If detecting, the microphone of the mobile terminal is not collected into the second audio signal, determines that the mobile terminal is in institute State answering time interval.
7. volume adjusting method according to claim 6, which is characterized in that the volume adjusting method further includes:
If detecting, the microphone of the mobile terminal is collected into second audio signal, first to second audio signal It is filtered, retransmits filtered second audio signal.
8. volume adjusting method according to claim 7, which is characterized in that described to send filtered second audio letter Number, it specifically includes:
Filtered second audio signal is loaded onto modulation carrier signal to send.
9. a kind of mobile terminal, which is characterized in that including:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the volume adjustment side as described in any in claim 1 to 8 Method.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located Reason device realizes volume adjusting method described in any item of the claim 1 to 8 when executing.
CN201810516560.0A 2018-05-25 2018-05-25 A kind of volume adjusting method and mobile terminal Pending CN108833681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810516560.0A CN108833681A (en) 2018-05-25 2018-05-25 A kind of volume adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810516560.0A CN108833681A (en) 2018-05-25 2018-05-25 A kind of volume adjusting method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108833681A true CN108833681A (en) 2018-11-16

Family

ID=64145612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810516560.0A Pending CN108833681A (en) 2018-05-25 2018-05-25 A kind of volume adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108833681A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510559A (en) * 2020-04-30 2020-08-07 宋彦震 Method for adaptively adjusting sound magnitude of caller according to environment noise amplitude and caller sound frequency
CN115695642A (en) * 2022-09-26 2023-02-03 展讯通信(天津)有限公司 Method and device for adjusting call volume

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098372A (en) * 2010-12-28 2011-06-15 上海恒途信息科技有限公司 Method and device for intelligently adjusting receiver volume of handheld device
CN105704315A (en) * 2016-01-22 2016-06-22 胡月鹏 Method and device for adjusting call volume, and electronic equipment
CN106791067A (en) * 2016-12-14 2017-05-31 广东欧珀移动通信有限公司 A kind of In Call adjusting method, device and mobile terminal
US9781537B2 (en) * 2016-01-12 2017-10-03 Disney Enterprises, Inc. Systems and methods for adjusting audio based on ambient sounds

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098372A (en) * 2010-12-28 2011-06-15 上海恒途信息科技有限公司 Method and device for intelligently adjusting receiver volume of handheld device
US9781537B2 (en) * 2016-01-12 2017-10-03 Disney Enterprises, Inc. Systems and methods for adjusting audio based on ambient sounds
CN105704315A (en) * 2016-01-22 2016-06-22 胡月鹏 Method and device for adjusting call volume, and electronic equipment
CN106791067A (en) * 2016-12-14 2017-05-31 广东欧珀移动通信有限公司 A kind of In Call adjusting method, device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510559A (en) * 2020-04-30 2020-08-07 宋彦震 Method for adaptively adjusting sound magnitude of caller according to environment noise amplitude and caller sound frequency
CN115695642A (en) * 2022-09-26 2023-02-03 展讯通信(天津)有限公司 Method and device for adjusting call volume

Similar Documents

Publication Publication Date Title
EP2453438B1 (en) Speech intelligibility control using ambient noise detection
CN104521247B (en) Bluetooth headset hearing aid and anti-noise method and apparatus
CN102413218B (en) Method, device and communication terminal for automatically adjusting speaking tone
CN107548564A (en) A kind of phonetic entry abnormal determination method, apparatus, terminal and storage medium
CN103259898B (en) The method of Automatic adjusument frequency response and terminal
CN107770683B (en) A kind of detection method and device of echo scene subaudio frequency acquisition state
CN103379231B (en) A kind of wireless session phone and carry out the method for voice signal transmission
US20070263847A1 (en) Environmental noise reduction and cancellation for a cellular telephone communication device
CN106791067B (en) Call volume adjusting method and device and mobile terminal
CN102800324A (en) Audio processing system and method for mobile terminals
CN100508031C (en) Method for identifying and eliminating echo generated by speech at remote end in SCDMA handset
CN105657110B (en) Echo cancellation method and device for voice communication
CN102223428A (en) Noise reducing method and mobile terminal
CN104038610A (en) Adjusting method and apparatus of conversation voice
CN112037810B (en) Echo processing method, device, medium and computing equipment
CN110265056A (en) The control method and loudspeaking unit of source of sound
CN108833681A (en) A kind of volume adjusting method and mobile terminal
CN1051393C (en) Method and apparatus for reducing an undesirable characteristic of a spectral estimate of a noise signal between occurrences of voice signals
CN101883164A (en) Adaptive volume gain device and method
US6347141B1 (en) Method of and apparatus for adaptation of an echo canceller in a system with multitasking
CN107750038B (en) Volume adjusting method, device, equipment and storage medium
CN103002094B (en) Method and device for suppressing environmental noise
CN108605067B (en) Method for playing audio and mobile terminal
CN113497633B (en) Method for improving IP2 index of zero intermediate frequency and low intermediate frequency architecture receiver and architecture thereof
CN108377298A (en) A kind of method, apparatus and computer readable storage medium of switching answer mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181116

WD01 Invention patent application deemed withdrawn after publication