CN106406808A - Volume processing method, device and terminal - Google Patents
Volume processing method, device and terminal Download PDFInfo
- Publication number
- CN106406808A CN106406808A CN201611076923.0A CN201611076923A CN106406808A CN 106406808 A CN106406808 A CN 106406808A CN 201611076923 A CN201611076923 A CN 201611076923A CN 106406808 A CN106406808 A CN 106406808A
- Authority
- CN
- China
- Prior art keywords
- volume
- channel
- target
- sound channel
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention provides a volume processing method and device and a terminal. According to the embodiment of the method, the device and the terminal, when it is detected that sound channel switching needs to be carried out on the terminal, a volume parameter of a target sound channel to which a current sound channel needs to be switched is detected, and if the volume parameter of the target sound channel exceeds an appointed threshold value, the volume of the target sound channel is turned down. According to the technical scheme provided by the embodiment of the method, the device and the terminal, the effect of protecting the hearing of a user by adjusting the detected volume parameter of the target sound channel can be realized.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of electronic technologies, and in particular, to a volume processing method, device and terminal.
[ background of the invention ]
At present, with the development of electronic technology and communication technology, electronic devices have become inseparable from people's lives. The functions of electronic devices are also becoming more and more powerful, and users often use various functions of electronic devices in life and work, such as listening to music, browsing videos, voice calls, and the like.
In the prior art, a user can use a loudspeaker or an earphone when using an electronic device to listen to music, browse videos and voice calls, so that sometimes there is channel switching, if the user listens to audio by using the loudspeaker, the earphone is inserted in the process of listening to the audio, the audio output by the loudspeaker is directly switched to the audio output by the earphone at present, and if the volume of the switched channel is too large, the user experience is affected.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a volume processing method, a volume processing device, and a terminal, so as to solve the problem in the prior art that no processing is performed on the volume when a channel of the terminal is switched.
In one aspect, an embodiment of the present invention provides a volume processing method, where the method includes:
when detecting that the terminal needs to be switched by sound channels, detecting volume parameters of target sound channels needing to be switched;
and if the volume parameter of the target sound channel exceeds a specified threshold value, reducing the volume of the target sound channel.
The above-mentioned aspects and any possible implementation manners further provide an implementation manner, when it is detected that channel switching is required for the terminal, before detecting a volume parameter of a target channel to be switched, the method further includes:
when detecting that the terminal is connected with an earphone, detecting that the terminal needs to be subjected to sound channel switching; or,
and when the terminal is detected to be connected with the earphone and a sound channel switching instruction of a user is received, detecting that the sound channel switching of the terminal is required.
The above-described aspect and any possible implementation manner further provide an implementation manner that the volume of the target channel is reduced, including: and according to a preset volume adjusting value, reducing the volume of the target sound channel.
The above-described aspect and any possible implementation manner further provide an implementation manner that the volume of the target channel is reduced, including:
acquiring a target volume level from a plurality of preset candidate volume levels according to the volume level corresponding to the current volume of the target sound channel, and adjusting the volume of the target sound channel to the volume corresponding to the target volume level; and the volume corresponding to the target volume level is smaller than the current volume of the target sound channel.
The above-described aspect and any possible implementation manner further provide an implementation manner that the volume of the target channel is reduced, including:
displaying prompt information that the volume of the target sound channel exceeds a specified threshold;
displaying a current volume and a volume adjustment button of the target channel;
and receiving the operation of a user on the volume adjusting button according to the current volume, and if the operation belongs to volume reduction operation, adjusting the volume of the target sound channel according to the operation.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, after turning down the volume of the target channel, further including: and carrying out sound channel switching operation on the terminal so as to switch the current sound channel to the target sound channel.
The above-described aspects and any possible implementations further provide an implementation in which the source channel is a speaker, and the target channel includes a left channel and/or a right channel of a headphone; or,
the source sound channel is a left sound channel of the earphone, and the target sound channel is a right sound channel of the earphone; or,
the source channel is the right channel of the headphone, and the target channel is the left channel of the headphone.
In another aspect, an embodiment of the present invention provides a volume processing apparatus, where the apparatus includes:
the volume detection unit is used for detecting a volume parameter of a target sound channel to be switched when the sound channel switching of the terminal is detected;
and the volume adjusting unit is used for reducing the volume of the target sound channel if the volume parameter of the target sound channel exceeds a specified threshold value.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
the switching detection unit is used for detecting that the terminal needs to be subjected to sound channel switching when the terminal is detected to be connected with the earphone; or when the terminal is detected to be connected with the earphone and a channel switching instruction of the user is received, the channel switching of the terminal is detected to be needed.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the volume adjusting unit is specifically configured to: and according to a preset volume adjusting value, reducing the volume of the target sound channel.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the volume adjusting unit is specifically configured to:
acquiring a target volume level from a plurality of preset candidate volume levels according to the volume level corresponding to the current volume of the target sound channel, and adjusting the volume of the target sound channel to the volume corresponding to the target volume level; and the volume corresponding to the target volume level is smaller than the current volume of the target sound channel.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes: the display unit is used for displaying prompt information that the volume of the target sound channel exceeds a specified threshold; and, current volume and volume adjustment buttons for displaying the target channel;
a receiving unit, configured to receive an operation of a user on the volume adjustment button according to the current volume, and if the operation belongs to a volume down operation,
the volume adjusting unit is specifically configured to: and adjusting the volume of the target sound channel according to the operation.
The above-described aspects and any possible implementations further provide an implementation, where the apparatus further includes:
and the sound channel switching unit is used for carrying out sound channel switching operation on the terminal so as to switch the current sound channel to the target sound channel.
The above-described aspects and any possible implementations further provide an implementation in which the source channel is a speaker, and the target channel includes a left channel and/or a right channel of a headphone; or,
the source sound channel is a left sound channel of the earphone, and the target sound channel is a right sound channel of the earphone; or,
the source channel is the right channel of the headphone, and the target channel is the left channel of the headphone.
In another aspect, an embodiment of the present invention provides a terminal, including any one of the volume processing apparatuses described above.
The technical scheme has the following beneficial effects:
the volume processing method, the device and the terminal provided by the embodiment of the invention can detect the volume parameter of the target sound channel to be switched when detecting that the sound channel of the terminal needs to be switched, for example, an earphone is inserted into the terminal, to determine whether the switched target channel will cause damage to the user's hearing, if the volume parameter of the target channel exceeds a specified threshold, it can be understood that the current volume parameter of the target channel may cause damage to the hearing of the user, and the volume of the target channel needs to be decreased, therefore, the invention realizes the protection of the hearing of the user according to the adjustment of the volume parameter of the detected target sound channel, enhances the functionality and the practicability of the terminal, meets the use requirements of the user, enhances the user experience, the method and the device are used for solving the problem caused by no processing on the volume when the sound channel of the terminal is switched in the prior art.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic flow chart illustrating a volume processing method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a volume processing method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a volume processing method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first volume processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second volume processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a volume processing apparatus according to a third embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
An embodiment of the present invention provides a volume processing method, please refer to fig. 1, which is a schematic flow chart of a first embodiment of the volume processing method provided in the embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
101. when detecting that the terminal needs to be switched by the sound channel, detecting the volume parameter of the target sound channel needing to be switched.
The terminal is usually provided with an earphone interface and a speaker, when a user uses the terminal to play audio, the user can play audio through the speaker, and can also use the earphone to connect with the earphone interface or use other modes to connect with the earphone, and the earphone plays audio. Because the sound of the speaker is very loud when the speaker plays audio, if the same sound directly enters the ear of the user through the earphone and exceeds the volume which can be borne by the ear, the hearing of the user is damaged to a certain extent. For example, if the safe volume value that the user can endure is 75 db, and if the volume in the speaker is 85 db, the user's hearing will be affected when the audio with the same volume enters the user's ear through the earphone.
When the terminal plays audio through the loudspeaker, the user connects the earphone with the earphone interface, and the terminal detects the connection of the earphone and needs to switch the sound channel, so that the audio played by the loudspeaker is converted into the audio played by the earphone. When the terminal detects that the sound channel needs to be switched, the volume parameter of the target sound channel needs to be switched is detected, and it can be understood that the volume parameter of the target sound channel is the volume of the audio played in the earphone. According to whether the volume parameter of the target channel will cause damage to the hearing of the user.
102. And if the volume parameter of the target sound channel exceeds a specified threshold value, the volume of the target sound channel is reduced.
In an embodiment of the present invention, a specific threshold may be set, and the specific threshold is used to indicate a safe value of the volume used when the earphone plays audio. The predetermined threshold may be a value suitable for the user's usage habit set by the user, or may be set in advance.
If the volume parameter of the target channel exceeds the specified threshold, it may be determined that the volume level in the earphone has reached a state that may impair the hearing of the user, and the volume of the target channel needs to be adjusted down. If the volume parameter of the target sound channel does not exceed the specified threshold, the user hearing can be considered not to be damaged by the size of the earphone, and the sound channel switching can be directly carried out on the terminal.
It is to be understood that the action of turning down the volume of the target channel described in the embodiment of the present invention occurs before the channel switching.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
According to the volume processing method provided by the embodiment of the invention, when the fact that the sound channel switching of the terminal is required is detected, for example, an earphone is inserted into the terminal, the volume parameter of the target sound channel required to be switched is detected, so as to determine whether the switched target sound channel can damage the hearing of the user, if the volume parameter of the target sound channel exceeds a specified threshold value, the current volume parameter of the target sound channel can damage the hearing of the user, and the volume of the target sound channel needs to be reduced.
Example two
Referring to fig. 2, another volume processing method is provided in the embodiment of the present invention, which is a schematic flow chart of a second embodiment of the volume processing method provided in the embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
201. when detecting that the terminal is connected with the earphone, detecting that the sound channel switching is required to be carried out on the terminal; or when the terminal is detected to be connected with the earphone and a channel switching instruction of the user is received, the channel switching of the terminal is detected to be needed.
It should be noted that, in the embodiment of the present invention, the headset includes a bluetooth headset, a wired headset, an intelligent headset, and the like.
For example, when a user inserts a wired headset into the headset interface, a coil on the headset contacts a coil in the headset interface to generate a current, so that the connection of the terminal to the headset can be detected.
For another example, after the user binds the bluetooth headset with the terminal, the terminal may detect that the headset is connected.
When the terminal is detected to be connected with the earphone, the sound channel switching of the terminal is detected to be needed, and the sound channel switching can be understood as automatically switching the sound channel without manual operation of a user.
It may also be manually operated by the user to determine whether to immediately switch the sound channels when the terminal is connected to the headset. For example, a corresponding button, switching or not switching, may be displayed in the screen of the terminal, and the user clicks the button on the screen to make a corresponding selection. And when the user selects switching, the terminal switches the sound channels after receiving the sound channel switching instruction of the user. When the user chooses not to switch, the terminal keeps playing the audio by using the loudspeaker continuously.
202. When detecting that the terminal needs to be switched by the sound channel, detecting the volume parameter of the target sound channel needing to be switched.
203. And if the volume parameter of the target sound channel exceeds a specified threshold value, the volume of the target sound channel is reduced.
In the embodiment of the present invention, the volume of the target channel may be reduced in various ways.
In a specific implementation, the volume of the target channel may be adjusted down according to a preset volume adjustment value. For example, the volume adjustment value may be set to be decreased by 10 db each time, which may be specifically set to a corresponding button on a screen of the terminal, where the user clicks the button once to decrease the volume by 10 db, and the user clicks the button three times to decrease the volume by 30 db.
In a specific implementation process, a target volume level can be obtained from a plurality of preset candidate volume levels according to the volume level corresponding to the current volume of the target sound channel, and the volume of the target sound channel is adjusted to the volume corresponding to the target volume level; and the volume corresponding to the target volume level is smaller than the current volume of the target sound channel.
The target channel may be understood as a headphone channel and the current volume may be understood as the volume to be rendered in the headphone channel. The preset candidate volume levels may be preset volume levels, for example, four volume levels, which are level 1 to level 4, may be preset, wherein the volume corresponding to level 1 is 40 db to 50 db, the volume corresponding to level 2 is 50 db to 60 db, the volume corresponding to level 3 is 60 db to 75 db, and the volume corresponding to level 4 is 75 db to 85 db.
After determining the level corresponding to the current volume of the target channel, obtaining the target volume level from a plurality of preset candidate volume levels, which may be understood as obtaining at least one volume level lower than the current volume level. For example, the current volume is 70 db, and the corresponding level is level 3, so that the target volume level can be obtained as level 1 or level 2 according to level 3.
The volume level of the target channel is adjusted to the volume corresponding to the target volume level, and it can be understood that the volume corresponding to the target volume level is in a range, and the volume of the target channel can be adjusted to the volume of any value corresponding to the target volume level. For example, the current volume is adjusted to any value in the volume range corresponding to any one of level 1 or level 2, for example, to 45 db in level 1. It will be appreciated that this process is performed automatically by the terminal, without any action by the user.
In a specific implementation process, a prompt message that the volume of the target channel exceeds a specified threshold value can be displayed; displaying a current volume and a volume adjustment button of the target channel; and receiving the operation of the user on the volume adjusting button according to the current volume, and if the operation belongs to volume reduction operation, adjusting the volume of the target sound channel according to the operation.
The prompt information that the volume of the target channel exceeds the specified threshold may be displayed in the form of text to indicate the possibility that the current volume has impaired hearing, for example: the current volume is displayed in the screen of the terminal, and the current volume of the target sound channel and the volume adjusting button are displayed around the corresponding characters. The volume adjustment button may be a click button or a slide button.
The user operates the volume adjustment button through the current volume value of the target channel displayed in the screen. The terminal determines whether the user operates the volume adjustment button after receiving the user's operation. And if the operation of the user belongs to the down-regulation operation, regulating the volume of the target sound channel according to the operation result of the user. For example, the volume adjustment button is a click button, the current volume of the target channel is 80 db, and the user clicks the volume adjustment button once, so that the volume is decreased by 5 db, and the volume of the target channel is adjusted to 75 db. For another example, the volume adjustment button is a slide button, the current volume of the target channel is 80 db, and the volume of the target channel is adjusted to 50 db according to the volume corresponding to a position where the user slides the button to the position and stops the button, so that the volume is 50 db.
According to the volume processing method provided by the embodiment of the invention, when the fact that the sound channel switching of the terminal is required is detected, for example, an earphone is inserted into the terminal, the volume parameter of the target sound channel required to be switched is detected, so as to determine whether the switched target sound channel can damage the hearing of the user, if the volume parameter of the target sound channel exceeds a specified threshold value, the current volume parameter of the target sound channel can damage the hearing of the user, and the volume of the target sound channel needs to be reduced.
EXAMPLE III
Referring to fig. 3, it is a schematic flow chart of a third embodiment of the volume processing method according to the present invention, as shown in fig. 3, the method includes the following steps:
301. when detecting that the terminal is connected with the earphone, detecting that the sound channel switching is required to be carried out on the terminal; or when the terminal is detected to be connected with the earphone and a channel switching instruction of the user is received, the channel switching of the terminal is detected to be needed.
302. When detecting that the terminal needs to be switched by the sound channel, detecting the volume parameter of the target sound channel needing to be switched.
303. And if the volume parameter of the target sound channel exceeds a specified threshold value, the volume of the target sound channel is reduced.
304. And carrying out sound channel switching operation on the terminal so as to switch the current sound channel to the target sound channel.
And after the volume of the adjusted target sound channel is determined, carrying out sound channel switching operation on the terminal so as to switch the current sound channel to the target sound channel. The operation may be performed automatically by the terminal or manually by the user.
It should be noted that, in the embodiment of the present invention, the source channel is a speaker, and the target channel includes a left channel and/or a right channel of an earphone; or the source sound channel is a left sound channel of the earphone, and the target sound channel is a right sound channel of the earphone; or the source channel is a right channel of the earphone, and the target channel is a left channel of the earphone.
It can be understood that, if the terminal has a stereo channel mode, the volumes of the left channel and the right channel in the headset are different, so that the user can adjust the volumes of the left channel and the right channel in the headset according to the needs of the user.
According to the volume processing method provided by the embodiment of the invention, when the fact that the sound channel switching of the terminal is required is detected, for example, an earphone is inserted into the terminal, the volume parameter of the target sound channel required to be switched is detected, so as to determine whether the switched target sound channel can damage the hearing of the user, if the volume parameter of the target sound channel exceeds a specified threshold value, the current volume parameter of the target sound channel can damage the hearing of the user, and the volume of the target sound channel needs to be reduced.
Example four
An embodiment of the present invention further provides a volume processing apparatus, please refer to fig. 4, which is a schematic structural diagram of a first embodiment of the volume processing apparatus provided in the embodiment of the present invention, as shown in fig. 4, the apparatus includes:
the volume detection unit 11 is configured to detect a volume parameter of a target channel to be switched when it is detected that channel switching is required for the terminal;
and the volume adjusting unit 12 is configured to, if the volume parameter of the target channel detected by the volume detecting unit 11 exceeds a specified threshold, decrease the volume of the target channel.
Since each unit in the present embodiment can execute the method shown in fig. 1, reference may be made to the related description of fig. 1 for a part of the present embodiment that is not described in detail.
EXAMPLE five
An embodiment of the present invention further provides a volume processing apparatus, please refer to fig. 5, which is a schematic structural diagram of a second embodiment of the volume processing apparatus provided in the embodiment of the present invention, as shown in fig. 5, the apparatus further includes, on the basis of the fourth embodiment:
the switching detection unit 13 is configured to detect that channel switching needs to be performed on the terminal when the terminal is detected to be connected to an earphone; or when the terminal is detected to be connected with the earphone and a channel switching instruction of the user is received, the channel switching of the terminal is detected to be needed.
In a specific implementation process, the volume adjusting unit 12 is specifically configured to: and according to a preset volume adjusting value, the volume of the target sound channel is reduced.
In a specific implementation process, the volume adjusting unit 12 is specifically configured to:
acquiring a target volume level from a plurality of preset candidate volume levels according to the volume level corresponding to the current volume of the target sound channel, and adjusting the volume of the target sound channel to the volume corresponding to the target volume level; and the volume corresponding to the target volume level is smaller than the current volume of the target sound channel.
In a specific implementation, the apparatus further comprises: a display unit 14 for displaying a prompt message that the volume of the target channel exceeds a specified threshold; and current volume and volume adjustment buttons for displaying the target channel.
A receiving unit 15, configured to receive an operation of a user on a volume adjustment button according to a current volume, and if the operation belongs to a volume down operation, the volume adjustment unit 12 is specifically configured to: and adjusting the volume of the target sound channel according to the operation.
Since each unit in the present embodiment can execute the method shown in fig. 2, reference may be made to the related description of fig. 2 for a part of the present embodiment that is not described in detail.
EXAMPLE six
An embodiment of the present invention further provides a volume processing apparatus, please refer to fig. 6, which is a schematic structural diagram of a third embodiment of the volume processing apparatus provided in the embodiment of the present invention, as shown in fig. 6, the apparatus further includes, on the basis of the fifth embodiment:
and a channel switching unit 16, configured to perform a channel switching operation on the terminal to switch the current channel to the target channel.
In a specific implementation, the source channel is a speaker, and the target channel includes a left channel and/or a right channel of a headphone; or,
the source sound channel is a left sound channel of the earphone, and the target sound channel is a right sound channel of the earphone; or,
the source channel is the right channel of the headphone, and the target channel is the left channel of the headphone.
Since each unit in the present embodiment can execute the method shown in fig. 2, reference may be made to the related description of fig. 2 for a part of the present embodiment that is not described in detail.
EXAMPLE seven
The embodiment of the invention also provides a terminal which can comprise any one of the volume processing devices in the fourth embodiment and the sixth embodiment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (15)
1. A method of volume processing, the method comprising:
when detecting that the terminal needs to be switched by sound channels, detecting volume parameters of target sound channels needing to be switched;
and if the volume parameter of the target sound channel exceeds a specified threshold value, reducing the volume of the target sound channel.
2. The method of claim 1, wherein when detecting that channel switching is required for the terminal, before detecting a volume parameter of a target channel to be switched, further comprising:
when detecting that the terminal is connected with an earphone, detecting that the terminal needs to be subjected to sound channel switching; or,
and when the terminal is detected to be connected with the earphone and a sound channel switching instruction of a user is received, detecting that the sound channel switching of the terminal is required.
3. The method of claim 1 or 2, wherein turning down the volume of the target channel comprises: and according to a preset volume adjusting value, reducing the volume of the target sound channel.
4. The method of claim 1 or 2, wherein turning down the volume of the target channel comprises:
acquiring a target volume level from a plurality of preset candidate volume levels according to the volume level corresponding to the current volume of the target sound channel, and adjusting the volume of the target sound channel to the volume corresponding to the target volume level; and the volume corresponding to the target volume level is smaller than the current volume of the target sound channel.
5. The method of claim 1 or 2, wherein turning down the volume of the target channel comprises:
displaying prompt information that the volume of the target sound channel exceeds a specified threshold;
displaying a current volume and a volume adjustment button of the target channel;
and receiving the operation of a user on the volume adjusting button according to the current volume, and if the operation belongs to volume reduction operation, adjusting the volume of the target sound channel according to the operation.
6. The method of any one of claims 1 to 5, wherein after turning down the volume of the target channel, further comprising: and carrying out sound channel switching operation on the terminal so as to switch the current sound channel to the target sound channel.
7. The method of any of claims 1 to 6, wherein the source channel is a loudspeaker and the target channel comprises a left channel and/or a right channel of headphones; or,
the source sound channel is a left sound channel of the earphone, and the target sound channel is a right sound channel of the earphone; or,
the source channel is the right channel of the headphone, and the target channel is the left channel of the headphone.
8. A volume processing apparatus, characterized in that the apparatus comprises:
the volume detection unit is used for detecting a volume parameter of a target sound channel to be switched when the sound channel switching of the terminal is detected;
and the volume adjusting unit is used for reducing the volume of the target sound channel if the volume parameter of the target sound channel exceeds a specified threshold value.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the switching detection unit is used for detecting that the terminal needs to be subjected to sound channel switching when the terminal is detected to be connected with the earphone; or when the terminal is detected to be connected with the earphone and a channel switching instruction of the user is received, the channel switching of the terminal is detected to be needed.
10. The apparatus according to claim 8 or 9, wherein the volume adjustment unit is specifically configured to: and according to a preset volume adjusting value, reducing the volume of the target sound channel.
11. The apparatus according to claim 8 or 9, wherein the volume adjustment unit is specifically configured to:
acquiring a target volume level from a plurality of preset candidate volume levels according to the volume level corresponding to the current volume of the target sound channel, and adjusting the volume of the target sound channel to the volume corresponding to the target volume level; and the volume corresponding to the target volume level is smaller than the current volume of the target sound channel.
12. The apparatus of claim 8 or 9,
the device further comprises: the display unit is used for displaying prompt information that the volume of the target sound channel exceeds a specified threshold; and, current volume and volume adjustment buttons for displaying the target channel;
a receiving unit, configured to receive an operation of a user on the volume adjustment button according to the current volume, and if the operation belongs to a volume down operation,
the volume adjusting unit is specifically configured to: and adjusting the volume of the target sound channel according to the operation.
13. The apparatus of any of claims 8 to 12, further comprising:
and the sound channel switching unit is used for carrying out sound channel switching operation on the terminal so as to switch the current sound channel to the target sound channel.
14. The apparatus of any of claims 8 to 13, wherein the source channel is a speaker and the target channel comprises a left channel and/or a right channel of a headphone; or,
the source sound channel is a left sound channel of the earphone, and the target sound channel is a right sound channel of the earphone; or,
the source channel is the right channel of the headphone, and the target channel is the left channel of the headphone.
15. A terminal characterized by comprising the volume processing device of any one of claims 8 to 14.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611076923.0A CN106406808A (en) | 2016-11-30 | 2016-11-30 | Volume processing method, device and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611076923.0A CN106406808A (en) | 2016-11-30 | 2016-11-30 | Volume processing method, device and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106406808A true CN106406808A (en) | 2017-02-15 |
Family
ID=58083503
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611076923.0A Pending CN106406808A (en) | 2016-11-30 | 2016-11-30 | Volume processing method, device and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106406808A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106792370A (en) * | 2017-02-20 | 2017-05-31 | 广州视源电子科技股份有限公司 | Volume control method and device |
| CN107147780A (en) * | 2017-04-26 | 2017-09-08 | 维沃移动通信有限公司 | A kind of method for controlling audio frequency of mobile terminal to export and mobile terminal |
| CN112291664A (en) * | 2020-10-30 | 2021-01-29 | 歌尔光学科技有限公司 | Method, device and system for volume adjustment of head-mounted display device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040151336A1 (en) * | 2003-01-30 | 2004-08-05 | Tom Han | Handheld device having an auto-volume control means for earphone plugging and controlling method thereof |
| CN101018043A (en) * | 2006-02-07 | 2007-08-15 | 环达电脑(上海)有限公司 | Method for automatic detection of volume adjusting during sound switching |
| CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
| CN102033800A (en) * | 2009-10-08 | 2011-04-27 | 捷讯研究有限公司 | Method for indicating volume of audio sink of portable electronic device |
-
2016
- 2016-11-30 CN CN201611076923.0A patent/CN106406808A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040151336A1 (en) * | 2003-01-30 | 2004-08-05 | Tom Han | Handheld device having an auto-volume control means for earphone plugging and controlling method thereof |
| CN101018043A (en) * | 2006-02-07 | 2007-08-15 | 环达电脑(上海)有限公司 | Method for automatic detection of volume adjusting during sound switching |
| CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
| CN102033800A (en) * | 2009-10-08 | 2011-04-27 | 捷讯研究有限公司 | Method for indicating volume of audio sink of portable electronic device |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106792370A (en) * | 2017-02-20 | 2017-05-31 | 广州视源电子科技股份有限公司 | Volume control method and device |
| CN107147780A (en) * | 2017-04-26 | 2017-09-08 | 维沃移动通信有限公司 | A kind of method for controlling audio frequency of mobile terminal to export and mobile terminal |
| CN112291664A (en) * | 2020-10-30 | 2021-01-29 | 歌尔光学科技有限公司 | Method, device and system for volume adjustment of head-mounted display device |
| CN112291664B (en) * | 2020-10-30 | 2022-03-11 | 歌尔光学科技有限公司 | Method, device and system for volume adjustment of head-mounted display device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9402124B2 (en) | Method for controlling terminal device and the smart terminal device thereof | |
| CN103258548B (en) | Audio playback device and control method thereof | |
| US11445285B2 (en) | Interactive control method and device of an earphone case, earphone case and storage medium | |
| CN103078997A (en) | Mobile terminal volume setting method, system and mobile terminal | |
| US8320586B2 (en) | System and method for reducing volume spike in an electronic device | |
| WO2017032030A1 (en) | Volume adjusting method and user terminal | |
| EP3038255B1 (en) | An intelligent volume control interface | |
| CN105120063A (en) | Volume prompting method of input voice and electronic device | |
| CN107517428A (en) | A kind of signal output method and device | |
| CN109005480A (en) | Information processing method and related product | |
| CN107562405A (en) | Audio playing control method and device, storage medium and mobile terminal | |
| CN103929692B (en) | Audio information processing method and electronic equipment | |
| CN105872897A (en) | Tone quality adjusting method and terminal | |
| CN113411707A (en) | Auxiliary listening earphone, control method, device and system thereof, and readable medium | |
| CN106550294A (en) | Monitor method and device based on earphone | |
| CN103985394A (en) | Audio file playing method | |
| CN107220163A (en) | Mobile terminal, management method thereof, and computer-readable storage medium | |
| CN107547732A (en) | A kind of media play volume adjusting method, device, terminal and storage medium | |
| WO2017148270A1 (en) | Volume control method and device, and terminal | |
| CN106406808A (en) | Volume processing method, device and terminal | |
| TW201901411A (en) | Smart earphone device personalization system and using method thereof | |
| CN106095379A (en) | A kind of volume adjusting method and device | |
| KR20050046452A (en) | Audio volume control apparatus and method for mobile communication device | |
| CN104754099A (en) | Conversation volume adjusting method | |
| CN103985400A (en) | Audio file playing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |
|
| RJ01 | Rejection of invention patent application after publication |