CN106856537B - Volume adjustment method and device - Google Patents

Volume adjustment method and device Download PDF

Info

Publication number
CN106856537B
CN106856537B CN201510894009.6A CN201510894009A CN106856537B CN 106856537 B CN106856537 B CN 106856537B CN 201510894009 A CN201510894009 A CN 201510894009A CN 106856537 B CN106856537 B CN 106856537B
Authority
CN
China
Prior art keywords
volume
terminal
equal
sound
application
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
CN201510894009.6A
Other languages
Chinese (zh)
Other versions
CN106856537A (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.)
Zhongchang (hangzhou) Information Technology Co Ltd
China Mobile Communications Group Co Ltd
Original Assignee
Zhongchang (hangzhou) Information Technology Co Ltd
China Mobile Communications Group 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 Zhongchang (hangzhou) Information Technology Co Ltd, China Mobile Communications Group Co Ltd filed Critical Zhongchang (hangzhou) Information Technology Co Ltd
Priority to CN201510894009.6A priority Critical patent/CN106856537B/en
Publication of CN106856537A publication Critical patent/CN106856537A/en
Application granted granted Critical
Publication of CN106856537B publication Critical patent/CN106856537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a volume adjusting method, which comprises the following steps: determining whether the volume of the external sound is greater than or equal to a preset sound threshold value; when the volume of the external sound is larger than or equal to the preset sound threshold, reducing the volume of the terminal earphone; or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal. Furthermore, the embodiment of the invention also discloses a volume adjusting device.

Description

Volume adjustment method and device
Technical Field
The invention relates to an audio control technology in the field of terminals, in particular to a volume adjusting method and device.
Background
With the development of communication networks, the applications of mobile terminals are becoming more and more extensive, and the mobile terminals have become indispensable tools in daily life of people. Therefore, the user has not only considered the call performance of the mobile phone when purchasing the mobile terminal, but also started to consider other user experiences brought by the mobile phone.
Taking a mobile phone as an example, since a user may be in a noisy environment when using the mobile phone, when using an audio application, the user may not be able to hear sound of the audio application if using an external speaker of the mobile phone. For example, when a user is on a big road and waits, the user may want to open a music application and listen to songs, but the music played by the user through an external speaker is difficult to be heard clearly due to external noisy sound, so that a general mobile phone has a matched earphone for the user to select. Because the earphone can make the sound source more be close to the ear, can weaken the influence of external sound, realize in noisy environment very clear cell-phone audio frequency class sound of using the broadcast.
However, when a user wears the headset, if someone wants to talk with the user, the user may miss the talk information due to the influence of the sound in the headset, causing displeasure of others; or when the user is crossing the road, the user may not hear the whistle sound of the passing car due to the influence of the sound in the earphone, thereby causing a serious traffic accident.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention are expected to provide a volume adjustment method and device, which can adjust the volume of an earphone or suspend a currently running application according to the magnitude of external sound, so as to avoid a user missing information or a traffic accident and improve user experience.
The technical scheme of the invention is realized as follows:
in one aspect, an embodiment of the present invention provides a volume adjustment method, including:
determining whether the volume of the external sound is greater than or equal to a preset sound threshold value;
when the volume of the external sound is larger than or equal to the preset sound threshold, reducing the volume of the terminal earphone;
or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal.
Optionally, before determining whether the volume of the external sound is greater than or equal to a preset sound threshold, the method further includes:
determining the application currently operated by the terminal;
prompting a user to input a preset sound threshold corresponding to the application;
the determining whether the volume of the external sound is greater than or equal to a preset sound threshold value includes:
and determining whether the volume of the external sound is greater than or equal to a preset sound threshold corresponding to the application.
Optionally, before determining whether the volume of the external sound is greater than or equal to a preset sound threshold, the method further includes:
determining whether the terminal has started a volume reduction function;
when the volume of the external sound is greater than or equal to the preset sound threshold, reducing the volume of the terminal earphone comprises:
and when the terminal starts the volume reduction function and the volume of the external sound is greater than or equal to the preset sound threshold value, reducing the volume of the earphone of the terminal.
Optionally, before determining whether the volume of the external sound is greater than or equal to a preset sound threshold, the method further includes:
determining whether a pause function has been started by the terminal;
when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the currently running application of the terminal comprises:
and when the terminal starts the pause function and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the application currently running by the terminal.
Optionally, before determining whether the suspend function is started by the terminal, the method further includes:
determining whether the terminal has been inserted into an earphone;
when the terminal starts the pause function and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the currently running application of the terminal comprises the following steps:
and when the earphone is inserted into the terminal, the pause function is started by the terminal, and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the application currently running by the terminal.
In another aspect, an embodiment of the present invention provides a volume adjustment apparatus, including:
a first determination unit for determining whether the volume of the external sound is greater than or equal to a preset sound threshold;
the processing unit is used for reducing the volume of the terminal earphone when the volume of the external sound is larger than or equal to the preset sound threshold;
or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal.
Optionally, the apparatus further comprises:
a second determining unit, configured to determine an application currently running on the terminal;
the prompting unit is used for prompting a user to input a preset sound threshold corresponding to the application;
the first determining unit is specifically configured to determine whether the volume of the external sound is greater than or equal to a preset sound threshold corresponding to the application.
Optionally, the apparatus further comprises:
a third determining unit for determining whether the terminal has turned on a volume-down function;
the processing unit is specifically configured to reduce the volume of the earphone of the terminal when the terminal has started a volume reduction function and the volume of external sound is greater than or equal to the preset sound threshold.
Optionally, the apparatus further comprises:
a fourth determination unit for determining whether the terminal has started a suspend function;
the processing unit is specifically configured to suspend the currently running application of the terminal when the suspension function is started by the terminal and the volume of the external sound is greater than or equal to the preset sound threshold.
Optionally, the apparatus further comprises:
a fifth determining unit for determining whether the terminal has an earphone inserted;
the processing unit is specifically configured to, when an earphone is inserted into the terminal, the terminal starts the pause function, and the volume of the external sound is greater than or equal to the preset sound threshold, pause the application currently running in the terminal.
The embodiment of the invention provides a volume adjusting method and a device, wherein the volume adjusting method comprises the following steps: determining whether the volume of the external sound is greater than or equal to a preset sound threshold value; when the volume of the external sound is larger than or equal to the preset sound threshold, reducing the volume of the terminal earphone; or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal. Compared with the prior art, when the volume of external sound is higher, the volume of the terminal earphone can be reduced; or, the application currently running in the terminal is suspended, so that the user can acquire external sound, information loss or traffic accidents caused by the influence of the earphone of the user are avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic flow chart diagram 1 of a volume adjustment method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a volume adjustment method according to an embodiment of the present invention 2;
fig. 3 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present invention 1;
fig. 4 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present invention, which is shown in fig. 2;
fig. 5 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present invention, which is shown in fig. 3;
fig. 6 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present invention 4;
fig. 7 is a schematic structural diagram 5 of a volume adjustment device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The embodiment of the invention provides a volume adjusting method, which is applied to a terminal, wherein the terminal can be a mobile phone, a tablet personal computer, a personal computer and other equipment which can be inserted into an earphone to listen to audio. As shown in fig. 1, includes:
step 101, determining whether the volume of the external sound is greater than or equal to a preset sound threshold.
In practical applications, the preset sound threshold may be set according to specific situations, and may be set as a numerical value or a percentage. The unit of the volume is dB (decibel).
For example, assuming that a user is currently listening to music using music software, since the earphone brings the sound source close to the ear, even if the volume of sound played in the earphone is small, for example, 60 db, the user can hear the sound clearly enough, at this time, the preset sound threshold may be set to 90 db, that is, when the volume of the external sound is greater than or equal to 90 db, it indicates that the volume of the external sound is greater than or equal to the preset sound threshold; alternatively, the preset sound threshold may be set to 150%, that is, when the volume of the external sound is greater than or equal to 150% of the sound in the earphone, it indicates that the volume of the external sound is greater than or equal to the preset sound threshold.
Step 102, when the volume of the external sound is larger than or equal to the preset sound threshold, reducing the volume of the terminal earphone; or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal.
For example, when it is determined that the volume of the external sound is greater than or equal to the preset sound threshold, it indicates that the external sound is loud, that other people may be speaking, and want to communicate with the user, and at this time, if the volume of the headset is loud, the user may miss conversation information and cause dissatisfaction of other people, so that when it is determined that the volume of the external sound is greater than or equal to the preset sound threshold, the volume of the headset of the terminal may be reduced, or an application currently running on the terminal may be suspended. In practical applications, a user may set a degree of volume reduction of the terminal earphone, for example, the degree of volume reduction may be reduced by 50%, or may also be reduced to 0 db, which may be set according to specific situations, and this is not limited in the embodiment of the present invention.
Therefore, when the volume of the external sound is higher, the volume of the terminal earphone can be reduced; or, the application currently running in the terminal is suspended, so that the user can acquire external sound, information loss or traffic accidents caused by the influence of the earphone of the user are avoided, and the user experience is improved.
Further, before determining whether the volume of the external sound is greater than or equal to a preset sound threshold, the current running application of the terminal may be determined, the user is prompted to input the preset sound threshold corresponding to the application, and then it is determined whether the volume of the external sound is greater than or equal to the preset sound threshold corresponding to the application.
Because the mobile phone has more audio applications, such as music applications, video applications, online classroom applications and the like, if the user currently uses music applications, the eyes of the user can observe surrounding conditions, and the proportion of missing information or not noticing passing vehicles is low; if the user currently uses a video application, the user cannot hear external sounds with the ears, and cannot notice external changes with the eyes, so that information is easily missed or a passing vehicle cannot be noticed. If the same preset sound threshold value is set for each application, when the preset sound threshold value is set to be larger and a user is using a video application, the situation that other people are communicating with the user but the communication sound is smaller than the preset sound threshold value may occur, and at the moment, the user cannot hear the external sound and cannot observe the external situation, so that the user misses the conversation information; when the preset sound threshold is set to be smaller and the user is using the music application, the situation that the user sees a passing vehicle through the observation of eyes, traffic accidents cannot happen, but the volume of the earphone is still reduced or the application is suspended, so that the listening of the user is discontinuous, and the user experience is influenced may occur. Therefore, in practical applications, different preset sound thresholds can be set for each audio class application.
For example, the application currently used by the user may be determined first, that is, which application is specifically determined, then the user is prompted to input the preset sound threshold corresponding to the application, then the correspondence between the preset sound threshold input by the user and the application may be stored in the memory, when the next user opens the application, the preset sound threshold corresponding to the application may not need to be input again, and the controller may read the previously stored data from the memory. The controller may also give a default value corresponding to the application if the user does not input a preset sound threshold corresponding to the application.
Further, before determining whether the volume of the external sound is greater than or equal to a preset sound threshold, it may be determined whether the terminal has started a volume reduction function, and when the terminal has started the volume reduction function and the volume of the external sound is greater than or equal to the preset sound threshold, the volume of the earphone of the terminal is reduced. Or, before determining whether the volume of the external sound is greater than or equal to the preset sound threshold, it may also be determined whether the terminal has started the pause function. And when the terminal starts the pause function and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the application currently running by the terminal.
For example, when the user uses an audio application, the terminal may continuously and periodically detect the external sound or continuously detect the external sound, which may increase power consumption of the terminal and shorten a battery life of the terminal, so that the volume reduction function or the pause function may be turned off in some scenarios. For example, when the user is in a quiet place such as a study room or a library, the volume-down function or the pause function may be selected to be turned off; when the user is in a noisy place such as a road or a square, the volume-down function or the pause function can be selected to be turned on.
Further, before determining whether the terminal has started the volume reduction function, it may also be determined whether an earphone is inserted into the terminal, and when the earphone is inserted into the terminal, the pause function is started by the terminal, and the volume of the external sound is greater than or equal to the preset sound threshold, the application currently running by the terminal is paused.
For example, if the terminal is not plugged into an earphone currently and only listens with a terminal speaker, since the user can hear external sound, the currently running application of the terminal may not be paused or the volume may not be reduced, so as not to affect the listening quality of the user.
The embodiment of the invention provides a volume adjusting method, which comprises the following steps: determining whether the volume of the external sound is greater than or equal to a preset sound threshold value; when the volume of the external sound is larger than or equal to the preset sound threshold, reducing the volume of the terminal earphone; or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal. Compared with the prior art, when the volume of the external sound is high, the volume of the earphone of the terminal can be reduced, or the application currently running in the terminal is paused, so that the user can obtain the external sound, the information missing or traffic accidents caused by the influence of the earphone of the user are avoided, and the user experience is improved.
The embodiment of the invention provides a volume adjusting method, which is applied to a terminal, wherein the terminal can be a mobile phone, a tablet personal computer, a personal computer and other equipment which can be inserted into an earphone to listen to audio. As shown in fig. 2, the volume adjusting method includes:
step 201, determining whether the mobile phone is currently inserted with an earphone, and executing step 202 when the mobile phone is currently inserted with the earphone; when the handset is not currently plugged into a headset, step 208 is performed.
If the earphone is not inserted into the mobile phone at present, the application currently running by the mobile phone can not be suspended when the mobile phone is only used for listening by a loudspeaker of the mobile phone, so that the listening quality of a user is not influenced.
Step 202, determining whether the mobile phone starts a pause function, and executing step 203 when the mobile phone starts the pause function; when the mobile phone does not start the pause function, step 208 is executed.
When the user is in a quiet place such as a study room or a library, a situation that other people want to communicate with the user or the user needs to pay attention to the surrounding environment is unlikely to occur, so that the pause function can be turned off; when the user is in a noisy place such as a road or a square, the pause function can be selected to be turned on.
For example, when the user opens the audio application, the user may be first prompted whether to turn on the pause function, and the user may select to turn on the pause function or turn off the pause function according to specific situations. Then the mobile phone can determine whether the pause function is started currently according to the input of the user.
Step 203, determining the application currently running by the mobile phone, and executing step 204.
Since the preset sound threshold for each application may be different, it may be determined which application the mobile phone is currently running.
Step 204, obtaining a preset sound threshold corresponding to the application, and executing step 205.
For example, after determining the application currently running on the mobile phone, the user may be prompted to input a preset sound threshold corresponding to the application, at this time, the numerical value input by the user is the preset sound threshold corresponding to the application, and in actual application, the user may also change the preset sound threshold corresponding to the application at any time according to specific situations. Or when the user opens the application for the first time, the user is prompted to input a preset sound threshold corresponding to the application, then the corresponding relation between the application and the preset sound threshold is stored by the mobile phone, and when the user opens the application again next time, the mobile phone can acquire the preset sound threshold corresponding to the application according to the stored corresponding relation. If the user has not set the preset sound threshold for the application, the handset may process according to the default threshold.
Step 205, detecting the volume of the external sound, and executing step 206.
For example, the mobile phone may periodically detect the volume of the external sound, for example, once every 1 minute; however, if the period is too long, it may also cause a situation where the user misses information, and thus the volume of the external sound may be continuously detected. Optionally, the mobile phone may be provided with a sound sensor, and the sound sensor may detect the volume of the external sound.
Step 206, determining whether the volume of the external sound is greater than or equal to a preset sound threshold corresponding to the application, and executing step 207 when the volume of the external sound is greater than or equal to the preset sound threshold corresponding to the application; and when the volume of the external sound is smaller than the preset sound threshold corresponding to the application, executing step 208.
Assuming that the preset sound threshold corresponding to the currently running application is 90 decibels, the mobile phone can periodically detect the volume of the external sound, and when the volume of the external sound is greater than or equal to 90 decibels, it is determined that the volume of the external sound is greater than or equal to the preset sound threshold corresponding to the application. Or assuming that the volume of the sound played in the headset is 60 decibels, the preset sound threshold corresponding to the currently running application is set to 150%, the mobile phone may periodically detect the volume of the sound, and when the volume of the external sound is greater than or equal to (60 × 150%) decibels, determine that the volume of the external sound is greater than or equal to the preset sound threshold corresponding to the application.
And step 207, suspending the currently running application of the mobile phone, and ending the process.
For example, when the mobile phone is plugged into an earphone, the pause function is started, and the volume of the external sound is greater than or equal to the preset sound threshold corresponding to the application, the central processing unit of the mobile phone may send a pause instruction to the application, and the application executes a pause operation after receiving the pause instruction.
And step 208, continuously running the currently running application.
For example, if the handset is not plugged into the earphone, it indicates that the user may be currently playing audio using the speaker, and at this time, the currently running application may be continuously running; or if the mobile phone does not start the pause function, the user may be located in a quiet place at present, and the user does not need to pay attention to the surrounding situation, and the currently running application can be continuously run at the moment; or if the volume of the external sound is smaller than the preset sound threshold corresponding to the application, it is indicated that the external sound is only the environmental noise at this time, and the environmental noise may not be considered, so that the currently running application may be continuously run.
It should be noted that, the order of the steps of the volume adjustment method provided in the embodiment of the present invention may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, and any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the protection scope of the present invention, and therefore, the details are not described again.
Compared with the prior art, when the earphone is inserted into the mobile phone, the pause function is started, and the volume of the external sound is greater than or equal to the preset sound threshold corresponding to the application, the application currently running in the terminal can be paused, so that the user can obtain the external sound, the information loss or traffic accidents caused by the influence of the earphone on the user are avoided, and the user experience is improved.
An embodiment of the present invention provides a volume adjustment apparatus 30, as shown in fig. 3, including:
a first determination unit 301 for determining whether the volume of the external sound is greater than or equal to a preset sound threshold.
The processing unit 302 is configured to reduce the volume of the terminal earphone when the volume of the external sound is greater than or equal to the preset sound threshold; or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal.
Therefore, when the volume of the external sound is high, the application currently running in the terminal can be paused, or the application currently running in the terminal can be paused, so that the user can obtain the external sound, the information missing or traffic accidents caused by the influence of the earphone of the user are avoided, and the user experience is improved.
Optionally, as shown in fig. 4, the apparatus 30 further includes:
a second determining unit 303, configured to determine an application currently running on the terminal;
a prompting unit 304, configured to prompt a user to input a preset sound threshold corresponding to the application;
the first determining unit 301 is specifically configured to determine whether the volume of the external sound is greater than or equal to a preset sound threshold corresponding to the application.
Optionally, as shown in fig. 5, the apparatus 30 further includes:
a third determination unit 305 for determining whether the terminal has turned on the volume-down function;
the processing unit 302 is specifically configured to, when the terminal has started a volume reduction function and the volume of the external sound is greater than or equal to the preset sound threshold, reduce the volume of the terminal earphone.
Optionally, as shown in fig. 6, the apparatus 30 further includes:
a fourth determining unit 306, configured to determine whether the terminal has started the suspend function;
the processing unit 302 is specifically configured to suspend the currently running application of the terminal when the terminal has started the suspension function and the volume of the external sound is greater than or equal to the preset sound threshold.
Optionally, as shown in fig. 7, the apparatus 30 further includes:
a fifth determining unit 307 for determining whether the terminal has inserted an earphone;
the processing unit 302 is specifically configured to suspend the currently running application of the terminal when the terminal is plugged in an earphone, the terminal has started the suspension function, and the volume of the external sound is greater than or equal to the preset sound threshold.
First, in practical applications, the first determining Unit 301, the Processing Unit 302, the second determining Unit 303, the prompting Unit 304, the third determining Unit 305, the fourth determining Unit 306, and the fifth determining Unit 307 may be implemented by a Central Processing Unit (CPU), a MicroProcessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like in the device 30.
Second, it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present invention provides a volume adjustment device, including: a first determination unit for determining whether the volume of the external sound is greater than or equal to a preset sound threshold. The processing unit is used for reducing the volume of the terminal earphone when the volume of the external sound is larger than or equal to the preset sound threshold; or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal. Compared with the prior art, when the volume of the external sound is high, the volume of the earphone of the terminal can be reduced, or the application currently running in the terminal is paused, so that the user can obtain the external sound, the information missing or traffic accidents caused by the influence of the earphone of the user are avoided, and the user experience is improved.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (8)

1. A method of adjusting volume, comprising:
determining whether the volume of the external sound is greater than or equal to a preset sound threshold value;
when the volume of the external sound is larger than or equal to the preset sound threshold, reducing the volume of the terminal earphone;
or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal;
before the determining whether the volume of the external sound is greater than or equal to a preset sound threshold, the method further includes:
determining the application currently operated by the terminal;
prompting a user to input a preset sound threshold corresponding to the application;
the determining whether the volume of the external sound is greater than or equal to a preset sound threshold value includes:
and determining whether the volume of the external sound is greater than or equal to a preset sound threshold corresponding to the application.
2. The method of claim 1, wherein prior to the determining whether the volume of the ambient sound is greater than or equal to a preset sound threshold, the method further comprises:
determining whether the terminal has started a volume reduction function;
when the volume of the external sound is greater than or equal to the preset sound threshold, reducing the volume of the terminal earphone comprises:
and when the terminal starts the volume reduction function and the volume of the external sound is greater than or equal to the preset sound threshold value, reducing the volume of the earphone of the terminal.
3. The method of claim 1, wherein prior to the determining whether the volume of the ambient sound is greater than or equal to a preset sound threshold, the method further comprises:
determining whether a pause function has been started by the terminal;
when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the currently running application of the terminal comprises:
and when the terminal starts the pause function and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the application currently running by the terminal.
4. The method of claim 3, wherein prior to determining whether the suspend function has been turned on by the terminal, the method further comprises:
determining whether the terminal has been inserted into an earphone;
when the terminal starts the pause function and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the currently running application of the terminal comprises the following steps:
and when the earphone is inserted into the terminal, the pause function is started by the terminal, and the volume of the external sound is greater than or equal to the preset sound threshold, pausing the application currently running by the terminal.
5. A volume adjustment device, comprising:
a first determination unit for determining whether the volume of the external sound is greater than or equal to a preset sound threshold;
the processing unit is used for reducing the volume of the terminal earphone when the volume of the external sound is larger than or equal to the preset sound threshold;
or when the volume of the external sound is greater than or equal to the preset sound threshold, suspending the application currently running by the terminal;
a second determining unit, configured to determine an application currently running on the terminal;
the prompting unit is used for prompting a user to input a preset sound threshold corresponding to the application;
the first determining unit is specifically configured to determine whether the volume of the external sound is greater than or equal to a preset sound threshold corresponding to the application.
6. The apparatus of claim 5, further comprising:
a third determining unit for determining whether the terminal has turned on a volume-down function;
the processing unit is specifically configured to reduce the volume of the earphone of the terminal when the terminal has started a volume reduction function and the volume of external sound is greater than or equal to the preset sound threshold.
7. The apparatus of claim 5, further comprising:
a fourth determination unit for determining whether the terminal has started a suspend function;
the processing unit is specifically configured to suspend the currently running application of the terminal when the suspension function is started by the terminal and the volume of the external sound is greater than or equal to the preset sound threshold.
8. The apparatus of claim 7, further comprising:
a fifth determining unit for determining whether the terminal has an earphone inserted;
the processing unit is specifically configured to, when an earphone is inserted into the terminal, the terminal starts the pause function, and the volume of the external sound is greater than or equal to the preset sound threshold, pause the application currently running in the terminal.
CN201510894009.6A 2015-12-08 2015-12-08 Volume adjustment method and device Active CN106856537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510894009.6A CN106856537B (en) 2015-12-08 2015-12-08 Volume adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510894009.6A CN106856537B (en) 2015-12-08 2015-12-08 Volume adjustment method and device

Publications (2)

Publication Number Publication Date
CN106856537A CN106856537A (en) 2017-06-16
CN106856537B true CN106856537B (en) 2019-12-20

Family

ID=59131763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510894009.6A Active CN106856537B (en) 2015-12-08 2015-12-08 Volume adjustment method and device

Country Status (1)

Country Link
CN (1) CN106856537B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112509597A (en) * 2020-11-19 2021-03-16 珠海格力电器股份有限公司 Recording data identification method and device and recording equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001236090A (en) * 2000-02-22 2001-08-31 Alpine Electronics Inc Voice input device
CN104158506A (en) * 2014-07-29 2014-11-19 腾讯科技(深圳)有限公司 Method, device and terminal for adjusting volume
CN104954555A (en) * 2015-05-18 2015-09-30 百度在线网络技术(北京)有限公司 Volume adjusting method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001236090A (en) * 2000-02-22 2001-08-31 Alpine Electronics Inc Voice input device
CN104158506A (en) * 2014-07-29 2014-11-19 腾讯科技(深圳)有限公司 Method, device and terminal for adjusting volume
CN104954555A (en) * 2015-05-18 2015-09-30 百度在线网络技术(北京)有限公司 Volume adjusting method and system

Also Published As

Publication number Publication date
CN106856537A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
EP3512185B1 (en) Volume adjustment method and terminal
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN102172044B (en) Control method and apparatus for audio output
US9491542B2 (en) Automatic sound pass-through method and system for earphones
KR102513461B1 (en) Headphone system
CN106231088B (en) Voice call method, device and terminal
US20080158000A1 (en) Autodetect of user presence using a sensor
CN108551604B (en) Noise reduction method, noise reduction device and noise reduction earphone
CN104978166A (en) Volume adjusting method and device
WO2017215657A1 (en) Sound effect processing method, and terminal device
CN103078997A (en) Method and system for setting volume of mobile terminal and mobile terminal
US20180150276A1 (en) System and method for enabling communication of ambient sound as an audio stream
WO2009063413A1 (en) Portable hands-free device with sensor
WO2020019820A1 (en) Microphone hole blockage detection method and related product
CN105049977A (en) Automatic earphone volume adjusting method and device
WO2017045453A1 (en) Monitoring method and device based on earphone
CN112822585B (en) Audio playing method, device and system of in-ear earphone
CN107621933B (en) Audio playing method and device and related medium product
CN105262887B (en) Mobile terminal and audio setting method thereof
WO2022227655A1 (en) Sound playing method and apparatus, and electronic device and readable storage medium
EP3328090A1 (en) System and method for enabling communication of ambient sound as an audio stream
CN107681993B (en) Method for adjusting audio parameters and mobile terminal
CN106856537B (en) Volume adjustment method and device
CN104754099A (en) Conversation volume adjusting method
WO2018035868A1 (en) Method for outputting audio, electronic device, and storage medium

Legal Events

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