CN105827852B - A kind of method and terminal adjusting volume - Google Patents

A kind of method and terminal adjusting volume Download PDF

Info

Publication number
CN105827852B
CN105827852B CN201610280429.XA CN201610280429A CN105827852B CN 105827852 B CN105827852 B CN 105827852B CN 201610280429 A CN201610280429 A CN 201610280429A CN 105827852 B CN105827852 B CN 105827852B
Authority
CN
China
Prior art keywords
volume
terminal
gain
call
ambient 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.)
Active
Application number
CN201610280429.XA
Other languages
Chinese (zh)
Other versions
CN105827852A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610280429.XA priority Critical patent/CN105827852B/en
Publication of CN105827852A publication Critical patent/CN105827852A/en
Application granted granted Critical
Publication of CN105827852B publication Critical patent/CN105827852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The present invention provides a kind of method and terminal for adjusting volume, is affected user experience with solving the problem of that the volume of the existing method adjusting for adjusting volume is not usually able to satisfy user demand;Wherein, the method for adjusting volume includes: acquisition ambient noise volume, compare the ambient noise volume and a noise ration threshold value, obtain a comparison result, according to the comparison result, the volume gain for determining the terminal is adjusted the In Call of the terminal according to the volume gain of the determination.The solution of the present invention, the case where can determine out current talking environment, and the size that In Call is adjusted to adapt to current talking environment enhances user experience to meet user demand.

Description

A kind of method and terminal adjusting volume
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of method and terminal for adjusting volume.
Background technique
Currently, the method for adjusting In Call are as follows: using the scheme of stationary tone magnitude, different volume levels correspond to different sounds Flow gain realizes the adjustment to volume by adjusting volume level.Meanwhile sound quality, the selection of max volume need in order to balance Certain tradeoff is done, i.e., in the case where max volume, there can be no noises and distorsion.So, it is generally the case that it conversed The volume of journey is difficult to be transferred to very big.
But when being conversed in the noisy environment such as some special environment, such as subway, station, road, currently The max volume that can be chosen usually is not able to satisfy the demand that user catches dialog context, and in order to catch dialog context, no Hands-free mode must not be switched to, this extreme influence user experience.
Summary of the invention
The purpose of the present invention is to provide a kind of methods and terminal for adjusting volume, for solving existing adjusting volume The problem of volume that method is adjusted usually is not able to satisfy user demand, affects user experience.
In order to achieve the above purpose, on the one hand, the present invention provides a kind of method for adjusting volume, is used for a terminal, packet It includes:
Obtain ambient noise volume;
Compare the ambient noise volume and a noise ration threshold value, obtains a comparison result;
According to the comparison result, the volume gain of the terminal is determined;
According to the volume gain of the determination, the In Call of the terminal is adjusted.
On the other hand, the present invention also provides a kind of terminals, comprising:
Module is obtained, for obtaining ambient noise volume;
Comparison module is used for the ambient noise volume and a noise ration threshold value, obtains a comparison result;
Determining module, for determining the volume gain of the terminal according to the comparison result;
Adjustment module is adjusted the In Call of the terminal for the volume gain according to the determination.
Above-mentioned technical proposal through the invention, the beneficial effects of the present invention are:
The method of adjusting volume of the invention, by obtaining ambient noise volume, the ambient noise volume and one Noise ration threshold value obtains a comparison result, according to the comparison result, determines the volume gain of the terminal, and according to institute The case where stating determining volume gain, the In Call of the terminal be adjusted, can determine out current talking environment, and In Call is adjusted to the size adapted to current talking environment, to meet user demand, enhances user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the flow charts of the method for the adjusting volume of first embodiment of the invention.
Fig. 2 indicates the flow chart of the method for the adjusting volume of second embodiment of the invention.
Fig. 3 indicates the flow chart of the method for the adjusting volume of third embodiment of the invention.
Fig. 4 indicates the structural schematic diagram of the terminal of fourth embodiment of the invention.
Fig. 5 indicates the structural schematic diagram of another terminal of fourth embodiment of the invention.
Fig. 6 indicates the structural schematic diagram of the terminal of fifth embodiment of the invention.
Specific embodiment
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
First embodiment
Shown in Figure 1, the embodiment of the present invention provides a kind of method for adjusting volume, is used for a terminal, including step 101 ~step 104, details are as follows.
Step 101: obtaining ambient noise volume.
In the embodiment of the present invention, the ambient noise volume is mainly used for determining current talking environment, to logical Speech amount is adaptively adjusted.Wherein, when the ambient noise volume is bigger, expression current talking environment is noisy ring Border;When the ambient noise volume is smaller, expression current talking environment is quiet environment.
Specifically, when obtaining the ambient noise volume, it can are as follows: every a preset time, obtain the ambient noise Volume.Depending on the preset time is arranged according to terminal, the present invention is not limited.
Step 102: the ambient noise volume and a noise ration threshold value obtain a comparison result.
In the embodiment of the present invention, the noise ration threshold value can be preset in the terminal, and pass through the ambient noise volume With the comparison of the noise ration threshold value, to realize the accurate judgement to call environment.
Wherein, the comparison result is broadly divided into two kinds: the ambient noise volume is less than or equal to the noise sound It measures threshold value and the ambient noise volume is greater than the noise ration threshold value.
Step 103: according to the comparison result, determining the volume gain of the terminal.
In the embodiment of the present invention, when the comparison result is that the ambient noise volume is less than or equal to the noise sound When measuring threshold value, expression current talking environment is quiet environment;When the comparison result is described in the ambient noise volume is greater than When noise ration threshold value, expression current talking environment is noisy environment.
It is arranged according to terminal, after obtaining the comparison result, it will be able to according to the comparison result, determine current talking The case where environment, and the determining volume gain adapted to current talking environment.
Step 104: according to the volume gain of the determination, the In Call of the terminal being adjusted.
Specifically, after the volume gain for determining the terminal, it will be able to the In Call of the terminal is adjusted, It is the volume gain of the determination by the gain adjustment of the In Call of the terminal.
The method of the adjusting volume of the embodiment of the present invention, by obtaining ambient noise volume, the ambient noise sound Amount and a noise ration threshold value, obtain a comparison result, according to the comparison result, determine the volume gain of the terminal, and According to the volume gain of the determination, the In Call of the terminal is adjusted, can determine out current talking environment Situation, and the size that In Call is adjusted to adapt to current talking environment enhances user and uses body to meet user demand It tests.
Second embodiment
Shown in Figure 2, the embodiment of the present invention also provides a kind of method for adjusting volume, is used for a terminal, including step 201~step 206, details are as follows.
Step 201: obtaining ambient noise volume.
In the embodiment of the present invention, the ambient noise volume is mainly used for determining current talking environment, to logical Speech amount is adaptively adjusted.Wherein, when the ambient noise volume is bigger, expression current talking environment is noisy ring Border;When the ambient noise volume is smaller, expression current talking environment is quiet environment.
Specifically, when obtaining the ambient noise volume, it can are as follows: every a preset time, obtain the ambient noise Volume.Depending on the preset time is arranged according to terminal, the present invention is not limited.
Step 202: the ambient noise volume and a noise ration threshold value obtain a comparison result.
In the embodiment of the present invention, the noise ration threshold value can be preset in the terminal, and pass through the ambient noise volume With the comparison of the noise ration threshold value, to realize the accurate judgement to call environment.
Wherein, the comparison result is broadly divided into two kinds: the ambient noise volume is less than or equal to the noise sound It measures threshold value and the ambient noise volume is greater than the noise ration threshold value.
Step 203: when the comparison result is that the ambient noise volume is less than or equal to the noise ration threshold value When, determine that the volume gain of the terminal is the first volume gain.
It, can be preparatory in terminal in order to avoid noise occurs in big In Call under quiet environment in the embodiment of the present invention The volume threshold of default is set, i.e., default volume threshold.Also, when current talking environment is quiet environment, In Call is not It can exceed that the default volume threshold;When current talking environment is noisy environment, in order to catch dialog context, In Call It can be more than the default volume threshold.
Specifically, when the comparison result is that the ambient noise volume is less than or equal to the noise ration threshold value When, expression current talking environment is quiet environment, at this moment, so that it may the determining volume gain adapted to quiet environment, it will be described The In Call of terminal is adjusted to the volume less than or equal to the default volume threshold.
Wherein, first volume gain is used to be adjusted to the In Call of the terminal to be less than or equal to one and presets First volume of volume threshold is that user is customized preset in the terminal.
Step 204: according to first volume gain, the In Call of the terminal being adjusted to be less than or equal to institute State the first volume of default volume threshold.
Since first volume gain is used to for the In Call of the terminal being adjusted to less than or equal to described pre- If the first volume of volume threshold, so, after determining first volume gain, so that it may by the In Call tune of the terminal Section is the first volume less than or equal to the default volume threshold.
Step 205: when the comparison result is that the ambient noise volume is greater than the noise ration threshold value, determining institute The volume gain for stating terminal is the second volume gain.
Specifically, indicating to work as when the comparison result is that the ambient noise volume is greater than the noise ration threshold value Preceding call environment is noisy environment, at this moment, so that it may the determining volume gain adapted to noisy environment, by the call of the terminal Volume adjustment is the volume greater than the default volume threshold.
Wherein, second volume gain is used to for the In Call of the terminal being adjusted to be greater than the default volume threshold Second volume of value, is that user is customized preset in the terminal.
Step 206: according to second volume gain, the In Call of the terminal being adjusted to be greater than the default sound Measure the second volume of threshold value.
Since second volume gain is used to for the In Call of the terminal being adjusted to be greater than the default volume threshold Second volume of value, so, after determining second volume gain, so that it may be adjusted to be greater than by the In Call of the terminal Second volume of the default volume threshold.
The method of the adjusting volume of the embodiment of the present invention, by obtaining ambient noise volume, the ambient noise sound Amount and a noise ration threshold value, obtain a comparison result, when the comparison result is less than or waits for the ambient noise volume When the noise ration threshold value, determine that the volume gain of the terminal is the first volume gain, and according to first volume The In Call of the terminal is adjusted to the first volume less than or equal to the default volume threshold, when described by gain When comparison result is that the ambient noise volume is greater than the noise ration threshold value, determine that the volume gain of the terminal is second Volume gain, and according to second volume gain, the In Call of the terminal is adjusted to be greater than the default volume threshold Second volume of value, the case where can determine out current talking environment, and according to the customized volume gain of user, by conversation voice Amount is adjusted to the size adapted to current talking environment, to meet user demand, enhances user experience.
3rd embodiment
Shown in Figure 3, the embodiment of the present invention also provides a kind of method for adjusting volume, is used for a terminal, including step 301~step 304, details are as follows.
Step 301: obtaining ambient noise volume.
In the embodiment of the present invention, the ambient noise volume is mainly used for determining current talking environment, to logical Speech amount is adaptively adjusted.Wherein, when the ambient noise volume is bigger, expression current talking environment is noisy ring Border;When the ambient noise volume is smaller, expression current talking environment is quiet environment.
Specifically, when obtaining the ambient noise volume, it can are as follows: every a preset time, obtain the ambient noise Volume.Depending on the preset time is arranged according to terminal, the present invention is not limited.
Step 302: the ambient noise volume and a noise ration threshold value obtain a comparison result.
In the embodiment of the present invention, the noise ration threshold value can be preset in the terminal, and pass through the ambient noise volume With the comparison of the noise ration threshold value, to realize the accurate judgement to call environment.
Wherein, the comparison result is broadly divided into two kinds: the ambient noise volume is less than or equal to the noise sound It measures threshold value and the ambient noise volume is greater than the noise ration threshold value.
Step 303: when the comparison result is that the ambient noise volume is greater than the noise ration threshold value, obtaining sound Amount adjusts request.
During automatically adjusting In Call according to current talking environment, it can be potentially encountered because obtaining ambient noise The problem of precision problem or call environment variation of volume, caused by the suddenly big or suddenly small situation of In Call, to influence The usage experience of user.
To avoid the occurrence of the suddenly big or suddenly small situation of above-mentioned In Call, it can be arranged according to terminal, be in current talking environment When noisy environment, that is, comparison result is that the ambient noise volume is greater than the noise ration threshold value, institute cannot be directly determined It states the volume gain corresponding with current talking environment of terminal and In Call is adjusted, it is necessary to first obtain user's input Volume adjustment request just can determine that corresponding volume gain only after getting the volume adjustment request.
It should be noted that be the i.e. described comparison result of quiet environment in current talking environment being the ambient noise volume When less than or equal to the noise ration threshold value, corresponding volume gain can be directly determined and In Call is adjusted, Corresponding volume gain can also be determined again after getting volume adjustment request, the present invention is not limited.
Step 304: after getting the volume adjustment request, determining the volume gain of the terminal for the increasing of the second volume Benefit.
Specifically, second volume gain is used to for the In Call of the terminal being adjusted to be greater than the default volume Second volume of threshold value.When the comparison result is that the ambient noise volume is greater than the noise ration threshold value, indicate to work as Preceding call environment is noisy environment, at this moment, so that it may the determining volume gain adapted to noisy environment, by the call of the terminal Volume adjustment is the volume greater than the default volume threshold.
Step 305: according to second volume gain, the In Call of the terminal being adjusted to be greater than the default sound Measure the second volume of threshold value.
Since second volume gain is used to for the In Call of the terminal being adjusted to be greater than the default volume threshold Second volume of value, so, after determining second volume gain, so that it may be adjusted to be greater than by the In Call of the terminal Second volume of the default volume threshold.
The method of the adjusting volume of the embodiment of the present invention, by obtaining ambient noise volume, the ambient noise sound Amount and a noise ration threshold value, obtain a comparison result, when the comparison result is that the ambient noise volume is greater than described make an uproar When amount of sound threshold value, volume adjustment request is obtained, after getting the volume adjustment request, determines that the volume of the terminal increases Benefit is the second volume gain, and according to second volume gain, the In Call of the terminal is adjusted to be greater than described pre- If the second volume of volume threshold, the case where current talking environment can not only be determined, and In Call is adjusted to and is worked as The size that preceding call environment adapts to enhances user experience, additionally it is possible to avoid the occurrence of In Call and neglect to meet user demand Small situation is neglected greatly.
Fourth embodiment
Shown in Figure 4, the embodiment of the present invention also provides a kind of terminal, opposite with the adjusting method of volume shown in FIG. 1 It answers, the terminal includes obtaining module 41, comparison module 42, determining module 43 and adjustment module 44, and details are as follows.
Wherein, the acquisition module 41, for obtaining ambient noise volume.
The comparison module 42 is used for the ambient noise volume and a noise ration threshold value, obtains one and compare knot Fruit.
The determining module 43, for determining the volume gain of the terminal according to the comparison result.
The adjustment module 44 adjusts the In Call of the terminal for the volume gain according to the determination Section.
Specifically, the acquisition module 41 is specifically used for: every a preset time, obtaining the ambient noise volume.
On the basis of fig. 4, it is preferred that shown in Figure 5, the determining module 43 includes 431 He of the first determination unit Second determination unit 432, details are as follows.
Wherein, first determination unit 431, for when the comparison result be the ambient noise volume be less than or When equal to the noise ration threshold value, determine that the volume gain of the terminal is the first volume gain, first volume gain For the In Call of the terminal to be adjusted to the first volume less than or equal to a default volume threshold.
Second determination unit 432, for being that the ambient noise volume is greater than the noise when the comparison result When volume threshold, determine that the volume gain of the terminal is the second volume gain, second volume gain was used for the end The In Call at end is adjusted to the second volume greater than the default volume threshold.
Specifically, shown in Figure 5, the adjustment module 44 includes that the first adjusting unit 441 and second adjust unit 442, details are as follows.
Wherein, described first unit 441 is adjusted, be used for according to first volume gain, by the conversation voice of the terminal Amount is adjusted to the first volume less than or equal to the default volume threshold.
Described second adjusts unit 442, for according to second volume gain, the In Call of the terminal to be adjusted For the second volume greater than the default volume threshold.
Specifically, shown in Figure 5, second determination unit 432 includes obtaining subelement 4321 and determining subelement 4322, details are as follows.
Wherein, the acquisition subelement 4321, for being described in the ambient noise volume is greater than when the comparison result When noise ration threshold value, volume adjustment request is obtained.
The determining subelement 4322, for determining the volume of the terminal after getting the volume adjustment request Gain is second volume gain.
The terminal of the embodiment of the present invention can be realized each process that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, To avoid repeating, which is not described herein again.The terminal of the embodiment of the present invention, by obtaining ambient noise volume, the environment Noise ration and a noise ration threshold value, obtain a comparison result, according to the comparison result, determine that the volume of the terminal increases Benefit, and according to the volume gain of the determination, the In Call of the terminal is adjusted, can determine out current talking ring The case where border, and In Call is adjusted to the size with the adaptation of current talking environment, to meet user demand, enhancing user makes With experience.
5th embodiment
Fig. 6 is the structural schematic diagram of the terminal of fifth embodiment of the invention.Terminal 600 shown in fig. 6 includes: at least one Processor 601, memory 602, at least one network interface 604 and user interface 603.Various components in terminal 600 pass through Bus system 605 is coupled.It is understood that bus system 605 is for realizing the connection communication between these components.Total linear system System 605 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But for clear theory For the sake of bright, various buses are all designated as bus system 605 in Fig. 6.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 602 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application The program or instruction stored in program 6022, processor 601 is for obtaining ambient noise volume, the ambient noise volume With a noise ration threshold value, a comparison result is obtained, according to the comparison result, determines the volume gain of the terminal, according to The In Call of the terminal is adjusted in the volume gain of the determination.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 602, processor 601 reads the information in memory 602, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 601 is also used to: when the comparison result is less than or equal to institute for the ambient noise volume When stating noise ration threshold value, determine that the volume gain of the terminal is the second volume gain, second volume gain is used for will The In Call of the terminal is adjusted to the first volume less than or equal to a default volume threshold;When the comparison result is When the ambient noise volume is greater than the noise ration threshold value, determine that the volume gain of the terminal is the second volume gain, Second volume gain is used to for the In Call of the terminal to be adjusted to the second volume greater than the default volume threshold.
Optionally, processor 601 is also used to: according to first volume gain, the In Call of the terminal being adjusted For the first volume less than or equal to the default volume threshold;According to second volume gain, by the logical of the terminal Speech amount is adjusted to the second volume greater than the default volume threshold.
Optionally, processor 601 is also used to: when the comparison result is that the ambient noise volume is greater than the noise sound When measuring threshold value, volume adjustment request is obtained by user interface 603, after getting volume adjustment request, determine described in The volume gain of terminal is the second volume gain, and second volume gain is for the In Call of the terminal to be adjusted to greatly In the second volume of the default volume threshold.
Optionally, as another embodiment, processor 601 is also used to: every a preset time, being obtained the environment and is made an uproar Amount of sound.
Terminal 600 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.The terminal 600 of the embodiment of the present invention, by obtaining ambient noise volume, the ambient noise volume and a noise sound Threshold value is measured, a comparison result is obtained, according to the comparison result, determines the volume gain of the terminal, and according to the determination Volume gain, the case where being adjusted to the In Call of the terminal, can determine out current talking environment, and will call Volume adjustment is the size adapted to current talking environment, to meet user demand, enhances user experience.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of method for adjusting volume, is used for a terminal characterized by comprising
Obtain ambient noise volume;
Compare the ambient noise volume and a noise ration threshold value, obtains a comparison result;
According to the comparison result, the volume gain of the terminal is determined;
According to the volume gain of the determination, the In Call of the terminal is adjusted;
Wherein, described according to the comparison result, the step of determining the volume gain of the terminal, includes:
When the comparison result is that the ambient noise volume is greater than the noise ration threshold value, volume adjustment request is obtained;
After getting volume adjustment request, determine that the volume gain of the terminal is the second volume gain, described second Volume gain is used to be adjusted to the In Call of the terminal to be greater than the second volume of default volume threshold;
The step of acquisition ambient noise volume includes:
Every a preset time, the ambient noise volume is obtained.
2. determining the terminal the method according to claim 1, wherein described according to the comparison result The step of volume gain further include:
When the comparison result is that the ambient noise volume is less than or equal to the noise ration threshold value, the end is determined The volume gain at end is the first volume gain, and first volume gain is for the In Call of the terminal to be adjusted to be less than Or the first volume equal to a default volume threshold.
3. according to the method described in claim 2, it is characterized in that, the volume gain according to the determination, to the end The step of In Call at end is adjusted include:
According to first volume gain, the In Call of the terminal is adjusted to be less than or equal to the default volume threshold First volume of value.
4. the method according to claim 1, wherein the volume gain according to the determination, to the end The step of In Call at end is adjusted include:
According to second volume gain, the In Call of the terminal is adjusted to second greater than the default volume threshold Volume.
5. a kind of terminal characterized by comprising
Module is obtained, for obtaining ambient noise volume;
Comparison module is used for the ambient noise volume and a noise ration threshold value, obtains a comparison result;
Determining module, for determining the volume gain of the terminal according to the comparison result;
Adjustment module is adjusted the In Call of the terminal for the volume gain according to the determination;
Wherein, the determining module includes the second determination unit;Second determination unit includes:
Subelement is obtained, for obtaining when the comparison result is that the ambient noise volume is greater than the noise ration threshold value Volume adjustment is taken to request;
Subelement is determined, for after getting the volume adjustment request, determining that the volume gain of the terminal is the second sound Flow gain;
The acquisition module is specifically used for: every a preset time, obtaining the ambient noise volume.
6. terminal according to claim 5, which is characterized in that the determining module further include:
First determination unit, for being that the ambient noise volume is less than or equal to the noise ration when the comparison result When threshold value, determine that the volume gain of the terminal is the first volume gain, first volume gain is used for the terminal In Call is adjusted to the first volume less than or equal to a default volume threshold.
7. terminal according to claim 6, which is characterized in that the adjustment module includes:
First adjusts unit, for according to first volume gain, the In Call of the terminal is adjusted to be less than or Equal to the first volume of the default volume threshold.
8. terminal according to claim 5, which is characterized in that the adjustment module includes:
Second adjusts unit, for the In Call of the terminal being adjusted to be greater than described according to second volume gain Second volume of default volume threshold.
CN201610280429.XA 2016-04-29 2016-04-29 A kind of method and terminal adjusting volume Active CN105827852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610280429.XA CN105827852B (en) 2016-04-29 2016-04-29 A kind of method and terminal adjusting volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610280429.XA CN105827852B (en) 2016-04-29 2016-04-29 A kind of method and terminal adjusting volume

Publications (2)

Publication Number Publication Date
CN105827852A CN105827852A (en) 2016-08-03
CN105827852B true CN105827852B (en) 2019-11-19

Family

ID=56529035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610280429.XA Active CN105827852B (en) 2016-04-29 2016-04-29 A kind of method and terminal adjusting volume

Country Status (1)

Country Link
CN (1) CN105827852B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231569A (en) * 2016-09-18 2016-12-14 珠海格力电器股份有限公司 A kind of method that mobile terminal is controlled and mobile terminal
CN107124149B (en) * 2017-05-05 2020-12-01 北京小鱼在家科技有限公司 Volume adjustment method, device and equipment
CN108076230B (en) * 2017-12-28 2021-01-26 努比亚技术有限公司 Call volume adjusting method, mobile terminal and computer readable storage medium
CN108806710B (en) * 2018-06-15 2020-07-24 会听声学科技(北京)有限公司 Voice enhancement gain adjustment method, system and earphone
CN110012386B (en) * 2019-03-29 2021-05-11 维沃移动通信有限公司 Volume adjusting method of terminal and terminal
CN112306448A (en) * 2020-01-15 2021-02-02 北京字节跳动网络技术有限公司 Method, apparatus, device and medium for adjusting output audio according to environmental noise
CN113835668A (en) * 2020-06-08 2021-12-24 成都鼎桥通信技术有限公司 Terminal volume adjusting method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378423A (en) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN102436821A (en) * 2011-12-02 2012-05-02 海能达通信股份有限公司 Method for adaptively adjusting sound effect and equipment thereof
CN102883024A (en) * 2012-09-20 2013-01-16 深圳市金立通信设备有限公司 System and method for adjusting mobile phone call volume based on environmental noise
CN103929522A (en) * 2013-01-10 2014-07-16 联想(北京)有限公司 Control method and control apparatus of electronic device, and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013157924A (en) * 2012-01-31 2013-08-15 Fujitsu Ltd Communication apparatus, communication program, and communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378423A (en) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN102436821A (en) * 2011-12-02 2012-05-02 海能达通信股份有限公司 Method for adaptively adjusting sound effect and equipment thereof
CN102883024A (en) * 2012-09-20 2013-01-16 深圳市金立通信设备有限公司 System and method for adjusting mobile phone call volume based on environmental noise
CN103929522A (en) * 2013-01-10 2014-07-16 联想(北京)有限公司 Control method and control apparatus of electronic device, and electronic device

Also Published As

Publication number Publication date
CN105827852A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105827852B (en) A kind of method and terminal adjusting volume
CN106303804B (en) A kind of control method and mobile terminal of microphone
CN106686238B (en) A kind of setting method and terminal of terminal antenna transmission power
US8250001B2 (en) Increasing user input accuracy on a multifunctional electronic device
CN106533988A (en) Control method for network speed of application and mobile terminal
CN109274309B (en) Motor control method, motor control device, electronic device and storage medium
CN106331371A (en) Volume adjustment method and mobile terminal
CN105827849A (en) Method for adjusting sound effect and mobile terminal
CN106851486B (en) A kind of switching method and mobile terminal of earphone sound channel
US9444423B2 (en) Method for adjusting volume and electronic device thereof
CN105022687B (en) The implementation method and device of slide in automatic test scheme
US10211666B2 (en) Electronic device and method of wireless power transfer therefor
US11783106B2 (en) Circuit testing and manufacture using multiple timing libraries
CN103501327B (en) Method for down loading and device based on mobile terminal application
US20140321655A1 (en) Sensitivity Calibration Method and Audio Device
CN106791067A (en) A kind of In Call adjusting method, device and mobile terminal
CN106714038B (en) A kind of control method and mobile terminal of sound intensity
CN105847592A (en) Method for starting vibration mode and mobile terminal
CN108509177A (en) A kind of volume adjusting method, device, electronic equipment and storage medium
CN106385489B (en) A kind of method and mobile terminal of determining upstream voice data
CN109324780A (en) Promote the method and electronic equipment of sound output effect
CN110782884B (en) Far-field pickup noise processing method, device, equipment and storage medium
CN106453951B (en) A kind of sound control method and mobile terminal of call
CN107463051A (en) A kind of exposure method and device
CN109150125B (en) Electronic circuit and electronic device for performing gain control and gain compression

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant