WO2017032031A1 - Volume adjustment method and user terminal - Google Patents

Volume adjustment method and user terminal Download PDF

Info

Publication number
WO2017032031A1
WO2017032031A1 PCT/CN2016/080575 CN2016080575W WO2017032031A1 WO 2017032031 A1 WO2017032031 A1 WO 2017032031A1 CN 2016080575 W CN2016080575 W CN 2016080575W WO 2017032031 A1 WO2017032031 A1 WO 2017032031A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
preset
touch
adjustment amount
volume adjustment
Prior art date
Application number
PCT/CN2016/080575
Other languages
French (fr)
Chinese (zh)
Inventor
李建林
汤星星
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017032031A1 publication Critical patent/WO2017032031A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a volume adjustment method and a user terminal.
  • the embodiment of the invention discloses a volume adjustment method and a user terminal, which can adjust the volume quickly and conveniently.
  • a first aspect of the embodiments of the present invention discloses a volume adjustment method, where the method includes:
  • the touch parameter including a touch area and a touch duration
  • the current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
  • the touch parameter is further included
  • the method further includes: after determining a position of the center point of the touch area of the touch area, after determining that the moving direction of the center point of the touch area matches the preset direction, the method further includes:
  • the corresponding relationship between the preset time length and the volume adjustment amount is performed, and the volume corresponding to the touch duration is acquired.
  • the step of adjusting the amount is performed.
  • the preset direction includes a first preset direction and a second preset direction, the first preset direction and the second preset The direction is different, and when the moving direction of the center point of the touch area matches the first preset direction, the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration includes:
  • the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration includes:
  • the current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  • the moving direction of the center point of the touch area is determined After the second preset directions are matched, the method further includes:
  • the step of acquiring the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount is performed.
  • the method further includes:
  • the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
  • the method further includes:
  • the current volume is adjusted according to the synchronized volume adjustment amount.
  • a second aspect of the embodiment of the present invention discloses a user terminal, where the user terminal includes:
  • a first detecting module configured to detect a touch parameter that performs a touch input on the touch screen, where the touch parameter includes a touch area and a touch duration;
  • a first determining module configured to determine whether a moving direction of a center point of the touch area matches a preset direction
  • a first acquiring module configured to: when the first determining module determines that a moving direction of a center point of the touch area matches the preset direction, according to a correspondence between a preset duration and a volume adjustment amount, acquiring a volume adjustment amount corresponding to the touch duration;
  • the first adjustment module is configured to adjust the current volume according to the volume adjustment amount corresponding to the touch duration.
  • the touch parameter further includes a location of a force center point of the touch area
  • the user terminal further includes:
  • a second determining module configured to determine, after the first determining module determines that a moving direction of a center point of the touch area matches the preset direction, determine a moving direction of a position of the force center point of the touch area Whether it matches the preset direction;
  • the second determining module determines that the moving direction of the position of the force receiving center point of the touch area matches the preset direction
  • the preset direction includes a first preset direction and a second preset direction, the first preset direction and the second preset Different directions,
  • the first adjusting module is specifically configured to:
  • the first adjusting module is specifically configured to:
  • the current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  • the user terminal further includes:
  • the second detecting module is configured to detect, after the first determining module determines that the moving direction of the center point of the touch area matches the second preset direction, whether the current power value exceeds a preset power value;
  • the first acquiring module is triggered to acquire a correspondence corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount. Volume adjustment amount.
  • the user terminal further includes:
  • a third detecting module configured to detect, after the first adjusting module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, whether the adjusted volume is greater than the first preset volume value
  • a fourth detecting module configured to detect whether a headset is accessed when the third detecting module detects that the adjusted volume is greater than the first preset volume value
  • a second adjustment module configured to adjust a current volume value to a second preset volume value when the fourth detection module detects that the earphone is accessed, where the second preset volume value is smaller than the first preset Volume value.
  • the user terminal further includes:
  • a second acquiring module configured to acquire a first noise volume of the current environment after the first adjusting module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration
  • a fifth detecting module configured to detect a multi-point sliding operation performed by the user on the touch screen to the target direction
  • a third determining module configured to determine whether the pressure value of each touch point of the multi-point sliding operation is average Greater than the preset pressure value
  • a third acquiring module configured to: when the third determining module determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, acquire a second noise volume of the current environment, and An absolute value of the difference between the second noise volume and the first noise volume is used as a synchronous volume adjustment amount;
  • the third adjustment module is configured to adjust the current volume according to the synchronous volume adjustment amount.
  • a third aspect of the embodiments of the present invention discloses a user terminal, where the user terminal includes: a processor, and a memory connected to the processor, wherein the memory stores a set of program codes,
  • the processor is configured to call the program code stored in the memory, and performs the following operations:
  • the touch parameter including a touch area and a touch duration
  • the current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
  • the touch parameter further includes a location of a force center point of the touch area, and the processor determines a center point of the touch area. After the moving direction matches the preset direction, you can also do the following:
  • the processor acquires a correspondence corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount. Volume adjustment amount.
  • the preset direction includes a first preset direction and a second preset direction, the first preset direction and the second preset
  • the manner in which the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
  • the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. for:
  • the current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  • the processor determines the movement of the center point of the touch area. After the direction matches the second preset direction, the following operations can also be performed:
  • the processor acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  • the processor is configured according to the touch duration After the volume adjustment adjusts the current volume, you can also perform the following operations:
  • the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
  • the processor is configured according to the touch duration After the volume adjustment adjusts the current volume, you can also perform the following operations:
  • the current volume is adjusted according to the synchronized volume adjustment amount.
  • the user terminal after detecting the touch parameter of the touch input on the touch screen, determines whether the moving direction of the center point of the touch area in the touch parameter matches the preset direction; when the center point of the touch area moves When the direction is matched with the preset direction, the user terminal acquires the volume adjustment amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume adjustment amount; The end adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
  • FIG. 1 is a schematic flow chart of a volume adjustment method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another volume adjustment method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of another volume adjustment method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another volume adjustment method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the embodiment of the invention discloses a volume adjustment method and a user terminal, which can adjust the volume quickly and conveniently. The details are described below separately.
  • FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention. As shown in FIG. 1, the volume adjustment method may include the following steps.
  • the user terminal detects a touch parameter that performs a touch input on the touch screen.
  • the user terminal may include, but is not limited to, a user terminal with a touch screen such as a smart phone, a palmtop computer, a notebook computer, and a desktop computer.
  • the operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows Phone 8 operating system, and the like.
  • the touch parameter includes a touch area and a touch duration.
  • the user terminal detects a touch operation performed by the user on the touch screen; when the user terminal detects that the user performs a touch operation on the touch screen, the user terminal detects the touch area of the touch operation, and detects the touch duration of the touch operation.
  • the touch area is a touch screen area that is touched by a user's finger.
  • the user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
  • the user when the user performs a touch operation, the user can change the touch area of the touch operation.
  • the user terminal detects the touch area, the coordinate position of the center point of the touch area is recorded.
  • the user terminal determines the moving direction of the center point of the touch area according to the change in the coordinate position of the center point of the touch area.
  • the direction in which the origin extends to the right is the positive direction of the X axis; the direction in which the origin extends downward is the positive direction of the Y axis; if the coordinate position of the center point of the touch region at the first time point is ( 1, 2), the coordinate position of the center point of the touch area at the second time point is (2, 2), wherein the first time point is before the second time point, and the moving direction of the center point of the touch area is moved to the right .
  • the user terminal determines whether the moving direction of the center point of the touch area matches the preset direction.
  • step S103 is performed; when the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
  • the user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  • the user terminal presets a correspondence relationship between the length of time and the volume adjustment amount.
  • the volume adjustment amount may be a volume increase amount or a volume decrease amount, which is not limited in the embodiment of the present invention. For example, you can set the corresponding volume increase by 5 decibels in 2 seconds, and you can set the corresponding volume increase by 3 seconds. The amount is 6 decibels and so on.
  • the user terminal may acquire the volume increase amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume increase amount, or the user terminal may be according to the preset duration and the volume decrease amount. Corresponding relationship, the volume reduction amount corresponding to the touch duration is acquired.
  • the user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
  • the volume of the user terminal is adjusted according to the volume adjustment amount corresponding to the touch duration.
  • the user terminal may increase the volume of the user terminal according to the volume increase amount corresponding to the touch duration; or the user terminal may decrease the volume of the user terminal according to the volume decrease amount corresponding to the touch duration.
  • the user terminal after detecting the touch parameter of the touch input on the touch screen, the user terminal determines whether the moving direction of the center point of the touch area in the touch parameter matches the preset direction; when the center point of the touch area When the moving direction is matched with the preset direction, the user terminal acquires the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount; the user terminal performs the current volume according to the volume adjustment amount corresponding to the touch duration. Adjustment. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
  • FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 2, the volume adjustment method may include the following steps.
  • the user terminal detects a touch parameter that performs a touch input on the touch screen.
  • the touch parameter includes a touch area, a position of the force center point of the touch area, and a touch duration.
  • the user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
  • the user terminal determines whether the moving direction of the center point of the touch area matches the preset direction.
  • step S203 is performed; when the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
  • the user terminal determines whether the moving direction of the position of the force receiving center point of the touch area matches the preset direction.
  • the position of the force receiving center point of the touch area is the center position of the area of the touch area that is under pressure.
  • the user terminal can detect the pressure value of the touch area by the user through the pressure sensor, determine the position of the force center point of the touch area, and detect the moving direction of the position of the force center point. After detecting the moving direction of the position of the force receiving center point of the touch area, the user terminal determines whether the moving direction of the position of the force receiving center point of the touch area matches the preset direction. When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, step S204 is performed; when the moving direction of the position of the force center point of the touch area does not match the preset direction, the optional , end this process.
  • the user terminal after the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, the user terminal continues to match the moving direction of the position of the force center point of the touch area with the preset direction.
  • the user terminal performs volume adjustment. It can be seen that by implementing the embodiments of the present invention, the user's erroneous operation can be reduced.
  • the user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  • the user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
  • the user terminal determines whether the moving direction of the center point of the touch area in the touch parameter matches the preset direction; when the center point of the touch area When the moving direction matches the preset direction, the user terminal determines whether the moving direction of the position of the force center point of the touch area matches the preset direction; when the moving direction of the force center point of the touch area moves and presets When the directions are matched, the user terminal acquires the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount; the user terminal adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
  • FIG. 3 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 3, the volume adjustment method may include the following steps.
  • the user terminal detects a touch parameter that performs a touch input on the touch screen.
  • the touch parameter includes a touch area and a touch duration.
  • the user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
  • the preset direction includes a first preset direction and a second preset direction, where the first preset direction and the second preset direction are different.
  • step S303 when the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, step S303 is performed.
  • the process ends.
  • the following steps may also be performed:
  • the user terminal detects whether the current power value exceeds the preset power value.
  • step S303 when the user terminal detects that the current power value exceeds the preset power value, step S303 is performed.
  • the process ends, or the inquiry information for asking whether the current power is too low or not continues to increase the volume is output.
  • the volume when the user wants to increase the volume, by detecting whether the current power value is low, the volume is increased when the current power value is not low, which is beneficial to extending the standby time and improving the user experience.
  • the user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  • the user terminal decreases the current volume according to the volume adjustment amount corresponding to the touch duration.
  • the user terminal when the moving direction of the center point of the touch area matches the first preset direction, after the user terminal acquires the volume adjustment amount corresponding to the touch duration, the user terminal adjusts the volume according to the touch duration. The current volume is reduced.
  • the user terminal increases the current volume according to the volume adjustment amount corresponding to the touch duration.
  • the user terminal when the moving direction of the center point of the touch area matches the second preset direction, after the user terminal acquires the volume adjustment amount corresponding to the touch duration, the user terminal adjusts the volume according to the touch duration.
  • the current volume is increased.
  • the volume of the user terminal can be adjusted conveniently and quickly.
  • FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 4, the volume adjustment method may include the following steps.
  • the user terminal detects a touch parameter that performs a touch input on the touch screen.
  • the touch parameter includes a touch area and a touch duration.
  • the user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
  • step S403 when the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, step S403 is performed.
  • the process ends.
  • the user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  • the user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
  • the user terminal detects whether the adjusted volume is greater than the first preset volume value.
  • the user terminal after the user terminal adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, the user terminal detects whether the volume after the adjustment is greater than the first preset volume value. If the user terminal detects that the adjusted volume is greater than the first preset volume value, step S406 is performed; if the user terminal detects that the volume of the adjusted user terminal is less than the first preset volume value, optionally, the process ends.
  • the user terminal detects whether there is a headset access.
  • the user terminal detects whether there is a headset access.
  • the headset may be a wired headset or a wireless Bluetooth headset, which is not limited in the embodiment of the present invention.
  • step S407 is performed; when no earphone access is detected, optionally, whether to detect earphone access is continued until the current volume value is less than the first preset volume value.
  • the user terminal adjusts the current volume value to a second preset volume value.
  • the current volume value is adjusted to the first And a second preset volume value, wherein the second preset volume value is smaller than the first preset volume value.
  • the damage to the user's hearing can be reduced, which is beneficial to improving the user experience.
  • FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 5, the volume adjustment method may include the following steps.
  • the user terminal detects a touch parameter for performing touch input on the touch screen.
  • the touch parameter includes a touch area and a touch duration.
  • the user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
  • step S503 when the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, step S503 is performed.
  • the process ends.
  • the user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  • the user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
  • the user terminal acquires a first noise volume of the current environment.
  • the sound acquiring device is started to acquire the sound signal of the current environment; after the sound signal is acquired, the user terminal analyzes the strength of the sound signal. To get the first noise level of the current environment.
  • the sound acquiring device may be a device such as a microphone.
  • the user terminal detects a multi-point sliding operation performed by the user on the touch screen in a target direction.
  • the multi-point sliding operation of the user on the touch screen to the target direction is detected.
  • the multi-point sliding operation may be a two-point sliding operation, a three-point sliding operation, a four-point sliding operation, or the like, which is not limited in the embodiment of the present invention.
  • the multi-point sliding operation to the target direction may be a multi-point sliding operation to the left, a multi-point sliding operation to the right, an upward multi-point sliding operation, or a downward multi-point sliding operation, etc., which are not limited in the embodiment of the present invention. .
  • the user terminal determines whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset. Pressure value.
  • the user terminal when the user terminal detects a multi-point sliding operation to the target direction by the user on the touch screen, the user terminal detects the pressure value of each touch point of the multi-point sliding operation, and determines the multi-point sliding. Whether the pressure value of each touch point of the operation is greater than the preset pressure value.
  • step S508 is performed; if the user terminal determines that the pressure value of any touch point of the multi-point sliding operation is less than the preset pressure Value, optionally, the user terminal continues to detect the pressure value of each touch point of the multi-point sliding operation, and determines whether each touch point of the multi-point sliding operation is greater than a preset pressure value.
  • the user terminal acquires a second noise volume of the current environment, and uses an absolute value of a difference between the second noise volume and the first noise volume as a synchronous volume adjustment amount.
  • the user terminal when the user terminal determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, the user terminal acquires the sound signal of the current environment again through the sound acquiring device, to the sound signal. Analyze to get the second noise level of the current environment.
  • the difference between the second noise volume and the first noise volume is calculated, and the absolute value of the difference is used as the synchronous volume adjustment amount.
  • the synchronized volume adjustment amount is 5 decibels. If the second noise volume is 6 decibels and the first noise volume is 7 decibels, the synchronized volume adjustment amount is 1 decibel.
  • the user terminal adjusts the current volume according to the synchronized volume adjustment amount.
  • the current volume is adjusted according to the synchronized volume adjustment amount.
  • the user terminal when the first noise volume is less than the second noise volume, the user terminal increases the current volume according to the synchronous volume adjustment amount.
  • the user terminal decreases the current volume according to the synchronized volume adjustment amount.
  • the synchronization volume adjustment amount is 1 decibel
  • the user terminal is currently The volume is adjusted to 16 decibels.
  • the synchronization volume adjustment amount is 1 decibel, and the user terminal acquires the synchronized volume adjustment. After the amount, the current volume of the user terminal is adjusted to 14 decibels.
  • FIG. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • the user terminal shown in FIG. 6 may include a first detecting module 601, a first determining module 602, a first obtaining module 603, and a first adjusting module 604. among them:
  • the first detecting module 601 is configured to detect a touch parameter that performs a touch input on the touch screen.
  • the user terminal may include, but is not limited to, a user terminal with a touch screen such as a smart phone, a palmtop computer, a notebook computer, and a desktop computer.
  • the operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows Phone 8 operating system, and the like.
  • the touch parameter includes a touch area and a touch duration.
  • the first detecting module 601 detects a touch operation performed by the user on the touch screen; when the first detecting module 601 detects that the user touches the touch screen, the first detecting module 601 detects the touch area of the touch operation. And detect the touch duration of the touch operation.
  • the touch area is a touch screen area that is touched by a user's finger.
  • the first determining module 602 is configured to determine whether the moving direction of the center point of the touch area matches the preset direction.
  • the user when the user performs a touch operation, the user can change the touch area of the touch operation.
  • the first determining module 602 will record the coordinate position of the center point of the touch area.
  • the first determining module 602 determines the moving direction of the center point of the touch area according to the change of the coordinate position of the center point of the touch area. For example, if the upper left corner of the touch screen is the origin, the direction in which the origin extends to the right is the positive direction of the X-axis; the direction in which the origin extends downward is the square of the Y-axis.
  • the coordinate position of the center point of the touch area is (1, 2) at the first time point
  • the coordinate position of the center point of the touch area of the second time point is (2, 2), wherein the first time point is at the second Before the time point, the moving direction of the center point of the touch area is to the right.
  • the first determining module 602 determines whether the moving direction of the center point of the touch area matches the preset direction.
  • the first obtaining module 603 is configured to: when the first determining module 602 determines that the moving direction of the center point of the touch area matches the preset direction, obtain the corresponding time length according to the corresponding relationship between the preset time length and the volume adjustment amount. Volume adjustment amount.
  • the user terminal presets a correspondence relationship between the length of time and the volume adjustment amount.
  • the volume adjustment amount may be a volume increase amount or a volume decrease amount, which is not limited in the embodiment of the present invention. For example, it is possible to set a volume increase amount of 5 decibels for 2 seconds in advance, and it is possible to set a volume increase amount of 6 decibels for 3 seconds in advance.
  • the first obtaining module 603 may obtain the volume increase amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume increase amount, or the first obtaining module 603 may be configured according to the preset duration.
  • a volume reduction amount corresponding to the touch duration is acquired in correspondence with the volume reduction amount.
  • the first adjustment module 604 is configured to adjust the current volume according to the volume adjustment amount corresponding to the touch duration.
  • the first adjustment module 604 adjusts the volume of the user terminal according to the volume adjustment amount corresponding to the touch duration. Specifically, the first adjustment module 604 can increase the volume of the user terminal according to the volume increase amount corresponding to the touch duration; or the first adjustment module 604 can reduce the volume of the user terminal according to the volume decrease amount corresponding to the touch duration. .
  • the preset direction includes a first preset direction and a second preset direction, where the first preset direction and the second preset direction are different, when the moving direction of the center point of the touch area is the first
  • the first adjustment module 604 is specifically configured to:
  • the first adjustment module is when the moving direction of the center point of the touch area matches the second preset direction 604 is specifically used to:
  • the current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  • the user terminal further includes: a second detection module.
  • the second detecting module is configured to detect, after the first determining module 602 determines that the moving direction of the center point of the touch area matches the second preset direction, whether the current power value exceeds the preset power value.
  • the first acquisition module 603 when the second detection module detects that the current power value exceeds the preset power value, the first acquisition module 603 triggers the volume adjustment amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume adjustment amount. .
  • the volume when the user wants to increase the volume, by detecting whether the current power value is low, the volume is increased when the current power value is not low, which is beneficial to extending the standby time and improving the user experience.
  • FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal shown in FIG. 7 is optimized by the user terminal shown in FIG. 6.
  • the user terminal shown in FIG. 7 may include a second judging module 605 in addition to all the modules of the user terminal shown in FIG. 6. among them:
  • the second determining module 605 is configured to determine, after the first determining module 602 determines that the moving direction of the center point of the touch area matches the preset direction, whether the moving direction of the position of the force receiving center point of the touch area is opposite to the preset direction. match.
  • the touch parameters detected by the first detecting module 601 include a touch area, a position of the force center point of the touch area, and a touch duration.
  • the position of the force receiving center point of the touch area is the center position of the area of the touch area that is under pressure.
  • the second determining module 605 can detect the pressure value of the touch area by the user through the pressure sensor, determine the position of the force center point of the touch area, and detect the moving direction of the position of the force center point. After the second determining module 605 detects the moving direction of the position of the force receiving center point of the touch area, the second determining module 605 determines whether the moving direction of the position of the force receiving center point of the touch area matches the preset direction.
  • the first acquiring mode 603 is triggered to acquire the volume adjusting amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume adjustment amount.
  • the second determining module 605 continues the moving direction of the position of the force receiving center point of the touch area.
  • the direction is matched, and when the moving direction of the position of the force center point of the touch area matches the preset direction, the user terminal performs volume adjustment. It can be seen that by implementing the embodiments of the present invention, the user's erroneous operation can be reduced.
  • FIG. 8 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal shown in FIG. 8 is optimized by the user terminal shown in FIG. 6.
  • the user terminal shown in FIG. 8 may further include a third detecting module 606, a fourth detecting module 607, and a second, in addition to all the modules of the user terminal shown in FIG. Adjustment module 608. among them:
  • the third detecting module 606 is configured to detect, after the first adjusting module 604 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, whether the adjusted volume is greater than the first preset volume value.
  • the fourth detecting module 607 is configured to detect whether there is earphone access when the third detecting module 606 detects that the adjusted volume is greater than the first preset volume value.
  • the second adjustment module 608 is configured to adjust the current volume value to a second preset volume value when the fourth detection module 607 detects that the earphone is accessed, and the second preset volume value is smaller than the first preset volume value.
  • the damage to the user's hearing can be reduced, which is beneficial to improving the user experience.
  • FIG. 9 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal shown in FIG. 9 is optimized by the user terminal shown in FIG. 6.
  • the user terminal shown in FIG. 9 may further include a second acquiring module 609, a fifth detecting module 610, and a third, in addition to all the modules of the user terminal shown in FIG.
  • the judging module 611, the third obtaining module 612, and the third adjusting module 613 among them:
  • the second obtaining module 609 is configured to adjust, according to the volume of the touch duration, the first adjustment module 604 After the throttle adjusts the current volume, the first noise level of the current environment is acquired.
  • the second acquisition module 609 starts the sound acquisition device to acquire the sound signal of the current environment; After the sound signal, the second acquisition module 609 will analyze the intensity of the sound signal to obtain the first noise level of the current environment.
  • the sound acquiring device may be a device such as a microphone.
  • the fifth detecting module 610 is configured to detect a multi-point sliding operation performed by the user on the touch screen in a target direction.
  • the fifth detecting module 610 detects a multi-point sliding operation performed by the user on the touch screen in the target direction.
  • the multi-point sliding operation may be a two-point sliding operation, a three-point sliding operation, a four-point sliding operation, or the like, which is not limited in the embodiment of the present invention.
  • the multi-point sliding operation to the target direction may be a multi-point sliding operation to the left, a multi-point sliding operation to the right, an upward multi-point sliding operation, or a downward multi-point sliding operation, etc., which are not limited in the embodiment of the present invention. .
  • the third determining module 611 is configured to determine whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value.
  • the third obtaining module 612 is configured to: when the third determining module 611 determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, acquire the second noise volume of the current environment, and the second noise volume The absolute value of the difference from the first noise volume is used as the synchronized volume adjustment amount.
  • the third obtaining module 612 acquires the sound signal of the current environment again through the sound acquiring device.
  • the sound signal is parsed to obtain a second noise level of the current environment.
  • the difference between the second noise volume and the first noise volume is calculated, and the absolute value of the difference is used as the synchronization volume adjustment amount.
  • the synchronized volume adjustment amount is 5 decibels. If the second noise volume is 6 decibels and the first noise volume is 7 decibels, the synchronized volume adjustment amount is 1 decibel.
  • the third adjustment module 613 is configured to adjust the current volume according to the synchronized volume adjustment amount.
  • the third adjusting module 613 adjusts the current volume according to the synchronized volume adjustment amount.
  • the third adjustment module 613 when the first noise volume is less than the second noise volume, the third adjustment module 613 increases the current volume according to the synchronized volume adjustment amount. When the first noise volume is greater than the second noise volume, the third adjustment module 613 decreases the current volume according to the synchronized volume adjustment amount.
  • the synchronization volume adjustment amount is 1 decibel
  • the third acquisition module 612 acquires the synchronized volume adjustment amount
  • the third The three adjustment module 613 adjusts the current volume of the user terminal to 16 decibels.
  • the synchronization volume adjustment amount is 1 decibel
  • the third acquisition module 612 obtains the synchronization volume adjustment amount
  • the third adjustment module 613 adjusts the current volume of the user terminal to 14 decibels.
  • the first determining module determines whether the moving direction of the center point of the touch area in the touch parameter is preset. The direction is matched; when the moving direction of the center point of the touch area matches the preset direction, the first acquiring module acquires the volume adjustment amount corresponding to the touch duration according to the correspondence between the preset duration and the volume adjustment amount; The adjustment module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
  • FIG. 10 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal includes a processor 1001, and a processor 1001 through a bus 1002.
  • the memory 1003 stores a set of program codes, and the processor 1001 is configured to call the program code stored in the memory 1003 to perform the following operations:
  • the touch parameters including a touch area and a touch duration
  • the volume adjustment amount corresponding to the touch duration is acquired according to the correspondence between the preset duration and the volume adjustment amount;
  • the current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
  • the touch parameter further includes a position of the force center point of the touch area
  • the processor 1001 calls the program code stored in the memory 1003 to determine the moving direction of the center point of the touch area and the preset direction. Once matched, you can also do the following:
  • the processor 1001 acquires the volume adjustment amount corresponding to the touch duration according to the corresponding relationship between the preset time length and the volume adjustment amount.
  • the preset direction includes a first preset direction and a second preset direction, where the first preset direction and the second preset direction are different, when the moving direction of the center point of the touch area is the first
  • the manner in which the processor 1001 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
  • the manner in which the processor 1001 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
  • the current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  • the processor 1001 calls the program code stored in the memory 1003, and after determining that the moving direction of the center point of the touch area matches the second preset direction, the following operations may also be performed:
  • the processor 1001 acquires the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount.
  • the processor 1001 calls the program code stored in the memory 1003, and after adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the following operations may also be performed:
  • the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
  • the processor 1001 calls the program code stored in the memory 1003, and after adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the following operations may also be performed:
  • the current volume is adjusted according to the amount of synchronized volume adjustment.
  • the modules in the user terminal of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.

Abstract

Disclosed in the embodiments of the present invention are a volume adjustment method and a user terminal, said method comprising: detecting touch parameters inputted by touching a touch screen, said touch parameters comprising touch region and touch duration; determining whether the direction of motion of the center point of said touch region matches a preset direction; if the direction of motion of the center point of the touch region matches the preset direction, then according to a correlation between the preset duration and the magnitude of the volume adjustment, obtaining the volume adjustment magnitude corresponding to said touch duration; adjusting the current volume according to the volume adjustment magnitude corresponding to the touch duration. Hence, by means of the embodiments of the present invention, it is possible to rapidly and conveniently adjust volume.

Description

一种音量调节方法及用户终端Volume adjustment method and user terminal
本发明要求2015年08月27日递交的发明名称为“一种音量调节方法及用户终端”的申请号为201510541544.3的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application filed on Aug. 27, 2015, entitled "A Volume Adjustment Method and User Terminal", No. 201510541544.3, the contents of which are incorporated herein by reference. in.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种音量调节方法及用户终端。The present invention relates to the field of communications technologies, and in particular, to a volume adjustment method and a user terminal.
背景技术Background technique
随着智能终端(如智能手机、PAD等)的发展,智能终端已成为人们生活中必不可少的物品。在日常生活中,人们经常使用智能终端播放音乐或观看视频。在用户使用智能终端播放音乐或观看视频的过程中,经常会对智能终端的播放音量进行调节。在现有技术中,用户可通过拖动音量控制滑动条上的滑标至音量控制滑动条上不同的位置,来增大或减小音量。在实践中发现,由于音量控制滑动条中的滑标太小,用户并不容易拖动滑标在音量控制滑动条上进行滑动,往往用户需要几次拖动滑标才能将音量调节至用户想要的音量。With the development of smart terminals (such as smart phones, PAD, etc.), smart terminals have become an indispensable item in people's lives. In daily life, people often use smart terminals to play music or watch videos. In the process of the user playing the music or watching the video using the smart terminal, the playback volume of the smart terminal is often adjusted. In the prior art, the user can increase or decrease the volume by dragging the slider on the volume control slider to a different position on the volume control slider. In practice, it is found that since the slider in the volume control slider is too small, the user does not easily drag the slider to slide on the volume control slider, and often the user needs to drag the slider several times to adjust the volume to the user's desire. The volume you want.
发明内容Summary of the invention
本发明实施例公开了一种音量调节方法及用户终端,能够快速地、便捷地对音量进行调节。The embodiment of the invention discloses a volume adjustment method and a user terminal, which can adjust the volume quickly and conveniently.
本发明实施例第一方面公开了一种音量调节方法,所述方法包括:A first aspect of the embodiments of the present invention discloses a volume adjustment method, where the method includes:
检测对触摸屏进行触摸输入的触摸参数,所述触摸参数包括触摸区域以及触摸时长;Detecting a touch parameter of a touch input to the touch screen, the touch parameter including a touch area and a touch duration;
判断所述触摸区域的中心点的移动方向是否与预设方向相匹配;Determining whether a moving direction of a center point of the touch area matches a preset direction;
当所述触摸区域的中心点的移动方向与所述预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量;Obtaining a volume adjustment amount corresponding to the touch duration according to a correspondence between a preset duration and a volume adjustment amount, when a moving direction of the center point of the touch area matches the preset direction;
根据所述触摸时长对应的音量调节量对当前音量进行调节。The current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
在本发明实施例第一方面的第一种可能的实现方式中,所述触摸参数还包 括所述触摸区域的受力中心点的位置,在判断所述触摸区域的中心点的移动方向与预设方向相匹配之后,所述方法还包括:In a first possible implementation manner of the first aspect of the embodiment, the touch parameter is further included The method further includes: after determining a position of the center point of the touch area of the touch area, after determining that the moving direction of the center point of the touch area matches the preset direction, the method further includes:
判断所述触摸区域的受力中心点的位置的移动方向是否与所述预设方向相匹配;Determining whether a moving direction of a position of the force receiving center point of the touch area matches the preset direction;
当所述触摸区域的受力中心点的位置的移动方向与所述预设方向相匹配时,执行所述根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量的步骤。When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, the corresponding relationship between the preset time length and the volume adjustment amount is performed, and the volume corresponding to the touch duration is acquired. The step of adjusting the amount.
在本发明实施例第一方面的第二种可能的实现方式中,所述预设方向包括第一预设方向和第二预设方向,所述第一预设方向和所述第二预设方向不同,当所述触摸区域的中心点的移动方向与所述第一预设方向相匹配时,所述根据所述触摸时长对应的音量调节量对当前音量进行调节包括:In a second possible implementation manner of the first aspect of the embodiment, the preset direction includes a first preset direction and a second preset direction, the first preset direction and the second preset The direction is different, and when the moving direction of the center point of the touch area matches the first preset direction, the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration includes:
根据所述触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
当所述触摸区域的中心点的移动方向与所述第二预设方向相匹配时,所述根据所述触摸时长对应的音量调节量对当前音量进行调节包括:When the moving direction of the center point of the touch area matches the second preset direction, the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration includes:
根据所述触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,在判断所述触摸区域的中心点的移动方向与所述第二预设方向相匹配之后,所述方法还包括:With reference to the second possible implementation manner of the first aspect of the embodiment of the present invention, in a third possible implementation manner of the first aspect of the embodiment, the moving direction of the center point of the touch area is determined After the second preset directions are matched, the method further includes:
检测当前电量值是否超过预设电量值;Check if the current power value exceeds the preset power value;
当所述当前电量值超过所述预设电量值时,执行所述根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量的步骤。When the current power value exceeds the preset power value, the step of acquiring the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount is performed.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述根据所述触摸时长对应的音量调节量对当前音量进行调节之后,所述方法还包括:With reference to the first aspect of the embodiment of the present invention or the first possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect of the embodiment, the volume adjustment corresponding to the touch duration After the amount is adjusted for the current volume, the method further includes:
检测调节后的音量是否大于第一预设音量值;Detecting whether the adjusted volume is greater than the first preset volume value;
当所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;When the adjusted volume is greater than the first preset volume value, detecting whether there is a headset access;
当检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。When it is detected that there is a headset access, the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式,在本发 明实施例第一方面的第五种可能的实现方式中,所述根据所述触摸时长对应的音量调节量对当前音量进行调节之后,所述方法还包括:In conjunction with the first aspect of the embodiments of the present invention or the first possible implementation of the first aspect, in the present invention In a fifth possible implementation manner of the first aspect of the present disclosure, after the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the method further includes:
获取当前环境的第一噪声音量;Obtaining the first noise level of the current environment;
检测用户在触摸屏进行的向目标方向的多点滑动操作;Detecting a multi-point sliding operation of the user on the touch screen to the target direction;
判断所述多点滑动操作的每一触摸点的压力值是否均大于预设压力值;Determining whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
当所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;Obtaining a second noise volume of the current environment when the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, and the second noise volume and the first noise volume The absolute value of the difference is used as the synchronous volume adjustment amount;
根据所述同步音量调节量对当前音量进行调节。The current volume is adjusted according to the synchronized volume adjustment amount.
本发明实施例第二方面公开了一种用户终端,所述用户终端包括:A second aspect of the embodiment of the present invention discloses a user terminal, where the user terminal includes:
第一检测模块,用于检测对触摸屏进行触摸输入的触摸参数,所述触摸参数包括触摸区域以及触摸时长;a first detecting module, configured to detect a touch parameter that performs a touch input on the touch screen, where the touch parameter includes a touch area and a touch duration;
第一判断模块,用于判断所述触摸区域的中心点的移动方向是否与预设方向相匹配;a first determining module, configured to determine whether a moving direction of a center point of the touch area matches a preset direction;
第一获取模块,用于当所述第一判断模块判断所述触摸区域的中心点的移动方向与所述预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量;a first acquiring module, configured to: when the first determining module determines that a moving direction of a center point of the touch area matches the preset direction, according to a correspondence between a preset duration and a volume adjustment amount, acquiring a volume adjustment amount corresponding to the touch duration;
第一调节模块,用于根据所述触摸时长对应的音量调节量对当前音量进行调节。The first adjustment module is configured to adjust the current volume according to the volume adjustment amount corresponding to the touch duration.
在本发明实施例第二方面的第一种可能的实现方式中,所述触摸参数还包括所述触摸区域的受力中心点的位置,所述用户终端还包括:In a first possible implementation manner of the second aspect of the embodiment, the touch parameter further includes a location of a force center point of the touch area, where the user terminal further includes:
第二判断模块,用于在所述第一判断模块判断所述触摸区域的中心点的移动方向与所述预设方向相匹配之后,判断所述触摸区域的受力中心点的位置的移动方向是否与所述预设方向相匹配;a second determining module, configured to determine, after the first determining module determines that a moving direction of a center point of the touch area matches the preset direction, determine a moving direction of a position of the force center point of the touch area Whether it matches the preset direction;
当所述第二判断模块判断所述触摸区域的受力中心点的位置的移动方向与所述预设方向相匹配时,触发所述第一获取模块根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。When the second determining module determines that the moving direction of the position of the force receiving center point of the touch area matches the preset direction, triggering the first acquiring module to respond according to the preset time length and the volume adjusting amount Relationship: acquires a volume adjustment amount corresponding to the touch duration.
在本发明实施例第二方面的第二种可能的实现方式中,所述预设方向包括第一预设方向和第二预设方向,所述第一预设方向和所述第二预设方向不同, 当所述触摸区域的中心点的移动方向与所述第一预设方向相匹配时,所述第一调节模块具体用于:In a second possible implementation manner of the second aspect of the embodiment, the preset direction includes a first preset direction and a second preset direction, the first preset direction and the second preset Different directions, When the moving direction of the center point of the touch area matches the first preset direction, the first adjusting module is specifically configured to:
根据所述触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
当所述触摸区域的中心点的移动方向与所述第二预设方向相匹配时,所述第一调节模块具体用于:When the moving direction of the center point of the touch area matches the second preset direction, the first adjusting module is specifically configured to:
根据所述触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
结合本发明实施例第二方面的第二种可能的实现方式,在本发明实施例第二方面的第三种可能的实现方式中,所述用户终端还包括:With reference to the second possible implementation manner of the second aspect of the embodiment of the present invention, in a third possible implementation manner of the second aspect of the embodiment, the user terminal further includes:
第二检测模块,用于在所述第一判断模块判断所述触摸区域的中心点的移动方向与所述第二预设方向相匹配之后,检测当前电量值是否超过预设电量值;The second detecting module is configured to detect, after the first determining module determines that the moving direction of the center point of the touch area matches the second preset direction, whether the current power value exceeds a preset power value;
当所述第二检测模块检测所述当前电量值超过所述预设电量值时,触发所述第一获取模块根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。When the second detection module detects that the current power value exceeds the preset power value, the first acquiring module is triggered to acquire a correspondence corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount. Volume adjustment amount.
结合本发明实施例第二方面或第二方面的第一种可能的实现方式,在本发明实施例第二方面的第四种可能的实现方式中,所述用户终端还包括:With reference to the second aspect of the embodiment of the present invention or the first possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect of the embodiment, the user terminal further includes:
第三检测模块,用于在所述第一调节模块根据所述触摸时长对应的音量调节量对当前音量进行调节之后,检测调节后的音量是否大于第一预设音量值;a third detecting module, configured to detect, after the first adjusting module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, whether the adjusted volume is greater than the first preset volume value;
第四检测模块,用于当所述第三检测模块检测所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;a fourth detecting module, configured to detect whether a headset is accessed when the third detecting module detects that the adjusted volume is greater than the first preset volume value;
第二调节模块,用于当所述第四检测模块检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。a second adjustment module, configured to adjust a current volume value to a second preset volume value when the fourth detection module detects that the earphone is accessed, where the second preset volume value is smaller than the first preset Volume value.
结合本发明实施例第二方面或第二方面的第一种可能的实现方式,在本发明实施例第二方面的第五种可能的实现方式中,所述用户终端还包括:With reference to the second aspect of the embodiment of the present invention or the first possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect of the embodiment, the user terminal further includes:
第二获取模块,用于在所述第一调节模块根据所述触摸时长对应的音量调节量对当前音量进行调节之后,获取当前环境的第一噪声音量;a second acquiring module, configured to acquire a first noise volume of the current environment after the first adjusting module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration;
第五检测模块,用于检测用户在触摸屏进行的向目标方向的多点滑动操作;a fifth detecting module, configured to detect a multi-point sliding operation performed by the user on the touch screen to the target direction;
第三判断模块,用于判断所述多点滑动操作的每一触摸点的压力值是否均 大于预设压力值;a third determining module, configured to determine whether the pressure value of each touch point of the multi-point sliding operation is average Greater than the preset pressure value;
第三获取模块,用于当所述第三判断模块判断所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;a third acquiring module, configured to: when the third determining module determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, acquire a second noise volume of the current environment, and An absolute value of the difference between the second noise volume and the first noise volume is used as a synchronous volume adjustment amount;
第三调节模块,用于根据所述同步音量调节量对当前音量进行调节。The third adjustment module is configured to adjust the current volume according to the synchronous volume adjustment amount.
本发明实施例第三方面公开了一种用户终端,所述用户终端包括:处理器,以及与所述处理器相连接的存储器,其特征在于,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:A third aspect of the embodiments of the present invention discloses a user terminal, where the user terminal includes: a processor, and a memory connected to the processor, wherein the memory stores a set of program codes, The processor is configured to call the program code stored in the memory, and performs the following operations:
检测对触摸屏进行触摸输入的触摸参数,所述触摸参数包括触摸区域以及触摸时长;Detecting a touch parameter of a touch input to the touch screen, the touch parameter including a touch area and a touch duration;
判断所述触摸区域的中心点的移动方向是否与预设方向相匹配;Determining whether a moving direction of a center point of the touch area matches a preset direction;
当所述触摸区域的中心点的移动方向与所述预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量;Obtaining a volume adjustment amount corresponding to the touch duration according to a correspondence between a preset duration and a volume adjustment amount, when a moving direction of the center point of the touch area matches the preset direction;
根据所述触摸时长对应的音量调节量对当前音量进行调节。The current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
在本发明实施例第三方面的第一种可能的实现方式中,所述触摸参数还包括所述触摸区域的受力中心点的位置,所述处理器在判断所述触摸区域的中心点的移动方向与预设方向相匹配之后,还可执行以下操作:In a first possible implementation manner of the third aspect of the embodiment, the touch parameter further includes a location of a force center point of the touch area, and the processor determines a center point of the touch area. After the moving direction matches the preset direction, you can also do the following:
判断所述触摸区域的受力中心点的位置的移动方向是否与所述预设方向相匹配;Determining whether a moving direction of a position of the force receiving center point of the touch area matches the preset direction;
当所述触摸区域的受力中心点的位置的移动方向与所述预设方向相匹配时,所述处理器根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, the processor acquires a correspondence corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount. Volume adjustment amount.
在本发明实施例第三方面的第二种可能的实现方式中,所述预设方向包括第一预设方向和第二预设方向,所述第一预设方向和所述第二预设方向不同,当所述触摸区域的中心点的移动方向与所述第一预设方向相匹配时,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节的方式具体为:In a second possible implementation manner of the third aspect of the embodiment, the preset direction includes a first preset direction and a second preset direction, the first preset direction and the second preset When the direction of the movement of the center point of the touch area is matched with the first preset direction, the manner in which the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
根据所述触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
当所述触摸区域的中心点的移动方向与所述第二预设方向相匹配时,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节的方式具体 为:When the moving direction of the center point of the touch area matches the second preset direction, the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. for:
根据所述触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
结合本发明实施例第三方面的第二种可能的实现方式,在本发明实施例第三方面的第三种可能的实现方式中,所述处理器在判断所述触摸区域的中心点的移动方向与所述第二预设方向相匹配之后,还可执行以下操作:With reference to the second possible implementation manner of the third aspect of the embodiment of the present invention, in a third possible implementation manner of the third aspect of the embodiment, the processor determines the movement of the center point of the touch area. After the direction matches the second preset direction, the following operations can also be performed:
检测当前电量值是否超过预设电量值;Check if the current power value exceeds the preset power value;
当所述当前电量值超过所述预设电量值时,所述处理器根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。When the current power value exceeds the preset power value, the processor acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
结合本发明实施例第三方面或第三方面的第一种可能的实现方式,在本发明实施例第三方面的第四种可能的实现方式中,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节之后,还可执行以下操作:With reference to the third aspect of the embodiments of the present invention or the first possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect of the embodiments, the processor is configured according to the touch duration After the volume adjustment adjusts the current volume, you can also perform the following operations:
检测调节后的音量是否大于第一预设音量值;Detecting whether the adjusted volume is greater than the first preset volume value;
当所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;When the adjusted volume is greater than the first preset volume value, detecting whether there is a headset access;
当检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。When it is detected that there is a headset access, the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
结合本发明实施例第三方面或第三方面的第一种可能的实现方式,在本发明实施例第三方面的第五种可能的实现方式中,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节之后,还可执行以下操作:With reference to the third aspect of the embodiment of the present invention or the first possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect of the embodiments, the processor is configured according to the touch duration After the volume adjustment adjusts the current volume, you can also perform the following operations:
获取当前环境的第一噪声音量;Obtaining the first noise level of the current environment;
检测用户在触摸屏进行的向目标方向的多点滑动操作;Detecting a multi-point sliding operation of the user on the touch screen to the target direction;
判断所述多点滑动操作的每一触摸点的压力值是否均大于预设压力值;Determining whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
当所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;Obtaining a second noise volume of the current environment when the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, and the second noise volume and the first noise volume The absolute value of the difference is used as the synchronous volume adjustment amount;
根据所述同步音量调节量对当前音量进行调节。The current volume is adjusted according to the synchronized volume adjustment amount.
在本发明实施例中,用户终端检测对触摸屏进行触摸输入的触摸参数之后,将判断触摸参数中的触摸区域的中心点的移动方向是否与预设方向相匹配;当触摸区域的中心点的移动方向与预设方向相匹配时,用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量;用户终 端根据触摸时长对应的音量调节量对当前音量进行调节。可见,通过实施本发明实施例,能够快速地、便捷地对音量进行调节。In the embodiment of the present invention, after detecting the touch parameter of the touch input on the touch screen, the user terminal determines whether the moving direction of the center point of the touch area in the touch parameter matches the preset direction; when the center point of the touch area moves When the direction is matched with the preset direction, the user terminal acquires the volume adjustment amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume adjustment amount; The end adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种音量调节方法的流程示意图;1 is a schematic flow chart of a volume adjustment method according to an embodiment of the present invention;
图2是本发明实施例公开的另一种音量调节方法的流程示意图;2 is a schematic flow chart of another volume adjustment method according to an embodiment of the present invention;
图3是本发明实施例公开的另一种音量调节方法的流程示意图;3 is a schematic flow chart of another volume adjustment method according to an embodiment of the present invention;
图4是本发明实施例公开的另一种音量调节方法的流程示意图;4 is a schematic flow chart of another volume adjustment method according to an embodiment of the present invention;
图5是本发明实施例公开的另一种音量调节方法的流程示意图;FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention; FIG.
图6是本发明实施例公开的一种用户终端的结构示意图;FIG. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present disclosure;
图7是本发明实施例公开的另一种用户终端的结构示意图;FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure;
图8是本发明实施例公开的另一种用户终端的结构示意图;FIG. 8 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure;
图9是本发明实施例公开的另一种用户终端的结构示意图;FIG. 9 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure;
图10是本发明实施例公开的另一种用户终端的结构示意图。FIG. 10 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种音量调节方法及用户终端,能够快速地、便捷地对音量进行调节。以下分别进行详细说明。The embodiment of the invention discloses a volume adjustment method and a user terminal, which can adjust the volume quickly and conveniently. The details are described below separately.
请参见图1,图1为本发明实施例公开的一种音量调节方法的流程示意图。如图1所示,该音量调节方法可以包括以下步骤。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a volume adjustment method according to an embodiment of the present invention. As shown in FIG. 1, the volume adjustment method may include the following steps.
S101、用户终端检测对触摸屏进行触摸输入的触摸参数。 S101. The user terminal detects a touch parameter that performs a touch input on the touch screen.
本发明实施例中,该用户终端可包括但不限于智能手机、掌上电脑、笔记本电脑和台式电脑等具有触摸屏的用户终端。该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone8操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the user terminal may include, but is not limited to, a user terminal with a touch screen such as a smart phone, a palmtop computer, a notebook computer, and a desktop computer. The operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows Phone 8 operating system, and the like.
本发明实施例中,该触摸参数包括触摸区域以及触摸时长。In the embodiment of the present invention, the touch parameter includes a touch area and a touch duration.
本发明实施例中,用户终端将检测用户对触摸屏进行的触摸操作;当用户终端检测到用户对触摸屏进行触摸操作时,用户终端将检测该触摸操作的触摸区域,并检测该触摸操作的触摸时长。其中,该触摸区域为用户手指接触的触摸屏区域。In the embodiment of the present invention, the user terminal detects a touch operation performed by the user on the touch screen; when the user terminal detects that the user performs a touch operation on the touch screen, the user terminal detects the touch area of the touch operation, and detects the touch duration of the touch operation. . The touch area is a touch screen area that is touched by a user's finger.
S102、用户终端判断触摸区域的中心点的移动方向是否与预设方向相匹配。S102. The user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
本发明实施例中,在用户进行触摸操作时,用户可以改变触摸操作的触摸区域。用户终端检测到触摸区域时,将记录触摸区域的中心点的坐标位置。用户终端根据触摸区域的中心点的坐标位置的变化,来确定触摸区域的中心点的移动方向。例如,若以触摸屏的左上角为原点,原点向右延伸的方向为X轴正方向;原点向下延伸的方向为Y轴正方向;若第一时间点触摸区域的中心点的坐标位置为(1,2),第二时间点触摸区域的中心点的坐标位置为(2,2),其中,第一时间点在第二时间点之前,则触摸区域的中心点的移动方向为向右移动。In the embodiment of the present invention, when the user performs a touch operation, the user can change the touch area of the touch operation. When the user terminal detects the touch area, the coordinate position of the center point of the touch area is recorded. The user terminal determines the moving direction of the center point of the touch area according to the change in the coordinate position of the center point of the touch area. For example, if the upper left corner of the touch screen is the origin, the direction in which the origin extends to the right is the positive direction of the X axis; the direction in which the origin extends downward is the positive direction of the Y axis; if the coordinate position of the center point of the touch region at the first time point is ( 1, 2), the coordinate position of the center point of the touch area at the second time point is (2, 2), wherein the first time point is before the second time point, and the moving direction of the center point of the touch area is moved to the right .
本发明实施例中,用户终端确定触摸区域的中心点的移动方向之后,将判断触摸区域的中心点的移动方向是否与预设方向相匹配。当触摸区域的中心点的移动方向与预设方向相匹配时,执行步骤S103;当触摸区域的中心点的移动方向与预设方向不相匹配时,可选的,结束本流程。In the embodiment of the present invention, after determining the moving direction of the center point of the touch area, the user terminal determines whether the moving direction of the center point of the touch area matches the preset direction. When the moving direction of the center point of the touch area matches the preset direction, step S103 is performed; when the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
S103、用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。S103. The user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
本发明实施例中,用户终端预先设置有时长与音量调节量的对应关系。可选的,该音量调节量可以为音量增加量或音量减小量,本发明实施例不做限定。例如,可预先设置2秒对应音量增加量5分贝,可预先设置3秒对应音量增加 量6分贝等。In the embodiment of the present invention, the user terminal presets a correspondence relationship between the length of time and the volume adjustment amount. Optionally, the volume adjustment amount may be a volume increase amount or a volume decrease amount, which is not limited in the embodiment of the present invention. For example, you can set the corresponding volume increase by 5 decibels in 2 seconds, and you can set the corresponding volume increase by 3 seconds. The amount is 6 decibels and so on.
本发明实施例中,具体地,用户终端可根据预先设置的时长与音量增加量的对应关系,获取与触摸时长对应的音量增加量,或用户终端可根据预先设置的时长与音量减小量的对应关系,获取与触摸时长对应的音量减小量。In the embodiment of the present invention, the user terminal may acquire the volume increase amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume increase amount, or the user terminal may be according to the preset duration and the volume decrease amount. Corresponding relationship, the volume reduction amount corresponding to the touch duration is acquired.
S104、用户终端根据触摸时长对应的音量调节量对当前音量进行调节。S104. The user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
本发明实施例中,用户终端获取与触摸时长对应的音量调节量之后,将根据触摸时长对应的音量调节量对用户终端的音量进行调节。具体地,用户终端可根据触摸时长对应的音量增加量对用户终端的音量进行增大;或用户终端可根据触摸时长对应的音量减小量对用户终端的音量进行减小。In the embodiment of the present invention, after the user terminal acquires the volume adjustment amount corresponding to the touch duration, the volume of the user terminal is adjusted according to the volume adjustment amount corresponding to the touch duration. Specifically, the user terminal may increase the volume of the user terminal according to the volume increase amount corresponding to the touch duration; or the user terminal may decrease the volume of the user terminal according to the volume decrease amount corresponding to the touch duration.
在图1所描述的方法中,用户终端检测对触摸屏进行触摸输入的触摸参数之后,将判断触摸参数中的触摸区域的中心点的移动方向是否与预设方向相匹配;当触摸区域的中心点的移动方向与预设方向相匹配时,用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量;用户终端根据触摸时长对应的音量调节量对当前音量进行调节。可见,通过实施本发明实施例,能够快速地、便捷地对音量进行调节。In the method described in FIG. 1 , after detecting the touch parameter of the touch input on the touch screen, the user terminal determines whether the moving direction of the center point of the touch area in the touch parameter matches the preset direction; when the center point of the touch area When the moving direction is matched with the preset direction, the user terminal acquires the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount; the user terminal performs the current volume according to the volume adjustment amount corresponding to the touch duration. Adjustment. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
请参见图2,图2为本发明实施例公开的另一种音量调节方法的流程示意图。如图2所示,该音量调节方法可以包括以下步骤。Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 2, the volume adjustment method may include the following steps.
S201、用户终端检测对触摸屏进行触摸输入的触摸参数。S201. The user terminal detects a touch parameter that performs a touch input on the touch screen.
本发明实施例中,该触摸参数包括触摸区域、触摸区域的受力中心点的位置以及触摸时长。In the embodiment of the invention, the touch parameter includes a touch area, a position of the force center point of the touch area, and a touch duration.
S202、用户终端判断触摸区域的中心点的移动方向是否与预设方向相匹配。S202. The user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
本发明实施例中,用户终端确定触摸区域的中心点的移动方向之后,将判断触摸区域的中心点的移动方向是否与预设方向相匹配。当触摸区域的中心点的移动方向与预设方向相匹配时,执行步骤S203;当触摸区域的中心点的移动方向与预设方向不相匹配时,可选的,结束本流程。In the embodiment of the present invention, after determining the moving direction of the center point of the touch area, the user terminal determines whether the moving direction of the center point of the touch area matches the preset direction. When the moving direction of the center point of the touch area matches the preset direction, step S203 is performed; when the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
S203、用户终端判断触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配。 S203. The user terminal determines whether the moving direction of the position of the force receiving center point of the touch area matches the preset direction.
本发明实施例中,触摸区域的受力中心点的位置为触摸区域中受到压力的区域的中心位置。In the embodiment of the invention, the position of the force receiving center point of the touch area is the center position of the area of the touch area that is under pressure.
本发明实施例中,用户终端可通过压力传感器来检测用户对触摸区域的压力值,进而确定触摸区域的受力中心点的位置,并检测受力中心点的位置的移动方向。在检测到触摸区域的受力中心点的位置的移动方向之后,用户终端将判断触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配。当触摸区域的受力中心点的位置的移动方向与预设方向相匹配时,执行步骤S204;当触摸区域的受力中心点的位置的移动方向与预设方向不相匹配时,可选的,结束本流程。In the embodiment of the present invention, the user terminal can detect the pressure value of the touch area by the user through the pressure sensor, determine the position of the force center point of the touch area, and detect the moving direction of the position of the force center point. After detecting the moving direction of the position of the force receiving center point of the touch area, the user terminal determines whether the moving direction of the position of the force receiving center point of the touch area matches the preset direction. When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, step S204 is performed; when the moving direction of the position of the force center point of the touch area does not match the preset direction, the optional , end this process.
本发明实施例中,在用户终端判断触摸区域的中心点的移动方向与预设方向相匹配之后,用户终端继续触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配,当触摸区域的受力中心点的位置的移动方向与预设方向相匹配时,用户终端才进行音量调节。可见,通过实施本发明实施例,能够减少用户的误操作。In the embodiment of the present invention, after the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, the user terminal continues to match the moving direction of the position of the force center point of the touch area with the preset direction. When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, the user terminal performs volume adjustment. It can be seen that by implementing the embodiments of the present invention, the user's erroneous operation can be reduced.
S204、用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。S204. The user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
S205、用户终端根据触摸时长对应的音量调节量对当前音量进行调节。S205. The user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
在图2所描述的方法中,用户终端检测对触摸屏进行触摸输入的触摸参数之后,将判断触摸参数中的触摸区域的中心点的移动方向是否与预设方向相匹配;当触摸区域的中心点的移动方向与预设方向相匹配时,用户终端判断触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配;当触摸区域的受力中心点的位置的移动方向与预设方向相匹配时,用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量;用户终端根据触摸时长对应的音量调节量对当前音量进行调节。可见,通过实施本发明实施例,能够快速地、便捷地对音量进行调节。In the method described in FIG. 2, after detecting the touch parameter of the touch input on the touch screen, the user terminal determines whether the moving direction of the center point of the touch area in the touch parameter matches the preset direction; when the center point of the touch area When the moving direction matches the preset direction, the user terminal determines whether the moving direction of the position of the force center point of the touch area matches the preset direction; when the moving direction of the force center point of the touch area moves and presets When the directions are matched, the user terminal acquires the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount; the user terminal adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
请参见图3,图3为本发明实施例公开的另一种音量调节方法的流程示意图。如图3所示,该音量调节方法可以包括以下步骤。Referring to FIG. 3, FIG. 3 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 3, the volume adjustment method may include the following steps.
S301、用户终端检测对触摸屏进行触摸输入的触摸参数。 S301. The user terminal detects a touch parameter that performs a touch input on the touch screen.
本发明实施例中,该触摸参数包括触摸区域以及触摸时长。In the embodiment of the present invention, the touch parameter includes a touch area and a touch duration.
S302、用户终端判断触摸区域的中心点的移动方向是否与预设方向相匹配。S302. The user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
本发明实施例中,该预设方向包括第一预设方向和第二预设方向,第一预设方向和第二预设方向不同。In the embodiment of the present invention, the preset direction includes a first preset direction and a second preset direction, where the first preset direction and the second preset direction are different.
本发明实施例中,当用户终端判断触摸区域的中心点的移动方向与预设方向相匹配时,执行步骤S303。当用户终端判断触摸区域的中心点的移动方向与预设方向不相匹配时,可选的,结束本流程。In the embodiment of the present invention, when the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, step S303 is performed. When the user terminal determines that the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
作为一种可选的实施方式,当用户终端判断触摸区域的中心点的移动方向与第二预设方向相匹配时,还可执行以下步骤:As an optional implementation manner, when the user terminal determines that the moving direction of the center point of the touch area matches the second preset direction, the following steps may also be performed:
11)用户终端检测当前电量值是否超过预设电量值。11) The user terminal detects whether the current power value exceeds the preset power value.
本发明实施例中,当用户终端检测当前电量值超过预设电量值时,执行步骤S303。当用户终端检测当前电量值未超过预设电量值时,则结束本流程,或输出用于询问当前电量过低是否继续增大音量的询问信息。In the embodiment of the present invention, when the user terminal detects that the current power value exceeds the preset power value, step S303 is performed. When the user terminal detects that the current power value does not exceed the preset power value, the process ends, or the inquiry information for asking whether the current power is too low or not continues to increase the volume is output.
本发明实施例中,在用户想要增大音量时,通过检测当前电量值是否为低电量,当当前电量值不为低电量时才增大音量,有利于延长待机时间,提高了用户体验。In the embodiment of the present invention, when the user wants to increase the volume, by detecting whether the current power value is low, the volume is increased when the current power value is not low, which is beneficial to extending the standby time and improving the user experience.
S303、用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。S303. The user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
S304、当触摸区域的中心点的移动方向与第一预设方向相匹配时,用户终端根据触摸时长对应的音量调节量对当前音量进行减小。S304. When the moving direction of the center point of the touch area matches the first preset direction, the user terminal decreases the current volume according to the volume adjustment amount corresponding to the touch duration.
本发明实施例中,当触摸区域的中心点的移动方向与第一预设方向相匹配时,在用户终端获取与触摸时长对应的音量调节量之后,用户终端根据触摸时长对应的音量调节量对当前音量进行减小。In the embodiment of the present invention, when the moving direction of the center point of the touch area matches the first preset direction, after the user terminal acquires the volume adjustment amount corresponding to the touch duration, the user terminal adjusts the volume according to the touch duration. The current volume is reduced.
S305、当触摸区域的中心点的移动方向与第二预设方向相匹配时,用户终端根据触摸时长对应的音量调节量对当前音量进行增大。S305. When the moving direction of the center point of the touch area matches the second preset direction, the user terminal increases the current volume according to the volume adjustment amount corresponding to the touch duration.
本发明实施例中,当触摸区域的中心点的移动方向与第二预设方向相匹配时,在用户终端获取与触摸时长对应的音量调节量之后,用户终端根据触摸时长对应的音量调节量对当前音量进行增大。 In the embodiment of the present invention, when the moving direction of the center point of the touch area matches the second preset direction, after the user terminal acquires the volume adjustment amount corresponding to the touch duration, the user terminal adjusts the volume according to the touch duration. The current volume is increased.
可见,通过实施图3所示的实施例,能够便捷地、快速地对用户终端的音量进行调节。It can be seen that by implementing the embodiment shown in FIG. 3, the volume of the user terminal can be adjusted conveniently and quickly.
请参见图4,图4为本发明实施例公开的另一种音量调节方法的流程示意图。如图4所示,该音量调节方法可以包括以下步骤。Referring to FIG. 4, FIG. 4 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 4, the volume adjustment method may include the following steps.
S401、用户终端检测对触摸屏进行触摸输入的触摸参数。S401. The user terminal detects a touch parameter that performs a touch input on the touch screen.
本发明实施例中,该触摸参数包括触摸区域以及触摸时长。In the embodiment of the present invention, the touch parameter includes a touch area and a touch duration.
S402、用户终端判断触摸区域的中心点的移动方向是否与预设方向相匹配。S402. The user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
本发明实施例中,当用户终端判断触摸区域的中心点的移动方向与预设方向相匹配时,执行步骤S403。当用户终端判断触摸区域的中心点的移动方向与预设方向不相匹配时,可选的,结束本流程。In the embodiment of the present invention, when the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, step S403 is performed. When the user terminal determines that the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
S403、用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。S403. The user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
S404、用户终端根据触摸时长对应的音量调节量对当前音量进行调节。S404. The user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
S405、用户终端检测调节后的音量是否大于第一预设音量值。S405. The user terminal detects whether the adjusted volume is greater than the first preset volume value.
本发明实施例中,在用户终端根据触摸时长对应的音量调节量对当前音量进行调节之后,用户终端将检测调节之后的音量是否大于第一预设音量值。若用户终端检测到调节后的音量大于第一预设音量值,则执行步骤S406;若用户终端检测到调节后的用户终端的音量小于第一预设音量值,可选的,结束本流程。In the embodiment of the present invention, after the user terminal adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, the user terminal detects whether the volume after the adjustment is greater than the first preset volume value. If the user terminal detects that the adjusted volume is greater than the first preset volume value, step S406 is performed; if the user terminal detects that the volume of the adjusted user terminal is less than the first preset volume value, optionally, the process ends.
S406、用户终端检测是否有耳机接入。S406. The user terminal detects whether there is a headset access.
本发明实施例中,若用户终端检测到调节后的音量大于第一预设音量值,则用户终端检测是否有耳机接入。该耳机可以为有线耳机或无线蓝牙耳机,本发明实施例不做限定。当检测到有耳机接入时,执行步骤S407;当未检测到耳机接入时,可选的,继续检测是否有耳机接入,直到当前音量值小于第一预设音量值。In the embodiment of the present invention, if the user terminal detects that the adjusted volume is greater than the first preset volume value, the user terminal detects whether there is a headset access. The headset may be a wired headset or a wireless Bluetooth headset, which is not limited in the embodiment of the present invention. When it is detected that there is earphone access, step S407 is performed; when no earphone access is detected, optionally, whether to detect earphone access is continued until the current volume value is less than the first preset volume value.
S407、用户终端将当前音量值调节为第二预设音量值。S407. The user terminal adjusts the current volume value to a second preset volume value.
本发明实施例中,用户终端检测到有耳机接入时,将当前音量值调节为第 二预设音量值,其中,该第二预设音量值小于第一预设音量值。In the embodiment of the present invention, when the user terminal detects that there is a headset access, the current volume value is adjusted to the first And a second preset volume value, wherein the second preset volume value is smaller than the first preset volume value.
在实际应用中,当用户将终端的音量设置得过大时,若用户使用耳机进行内容收听,将给用户的听力造成较大的伤害。因此,通过本发明实施例,可减小对用户的听力的伤害,有利于提高用户体验。In practical applications, when the user sets the volume of the terminal too large, if the user listens to the content using the earphone, it will cause greater damage to the user's hearing. Therefore, with the embodiment of the invention, the damage to the user's hearing can be reduced, which is beneficial to improving the user experience.
请参见图5,图5为本发明实施例公开的另一种音量调节方法的流程示意图。如图5所示,该音量调节方法可以包括以下步骤。Referring to FIG. 5, FIG. 5 is a schematic flowchart diagram of another volume adjustment method according to an embodiment of the present invention. As shown in FIG. 5, the volume adjustment method may include the following steps.
S501、用户终端检测对触摸屏进行触摸输入的触摸参数。S501. The user terminal detects a touch parameter for performing touch input on the touch screen.
本发明实施例中,该触摸参数包括触摸区域以及触摸时长。In the embodiment of the present invention, the touch parameter includes a touch area and a touch duration.
S502、用户终端判断触摸区域的中心点的移动方向是否与预设方向相匹配。S502. The user terminal determines whether a moving direction of a center point of the touch area matches a preset direction.
本发明实施例中,当用户终端判断触摸区域的中心点的移动方向与预设方向相匹配时,执行步骤S503。当用户终端判断触摸区域的中心点的移动方向与预设方向不相匹配时,可选的,结束本流程。In the embodiment of the present invention, when the user terminal determines that the moving direction of the center point of the touch area matches the preset direction, step S503 is performed. When the user terminal determines that the moving direction of the center point of the touch area does not match the preset direction, optionally, the process ends.
S503、用户终端根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。S503. The user terminal acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
S504、用户终端根据触摸时长对应的音量调节量对当前音量进行调节。S504. The user terminal adjusts the current volume according to a volume adjustment amount corresponding to the touch duration.
S505、用户终端获取当前环境的第一噪声音量。S505. The user terminal acquires a first noise volume of the current environment.
本发明实施例中,用户终端根据触摸时长对应的音量调节量对当前音量进行调节之后,将启动声音获取装置获取当前环境的声音信号;在获取声音信号之后,用户终端将解析声音信号的强度,以得到当前环境的第一噪声音量。其中,该声音获取装置可以为麦克风等装置。In the embodiment of the present invention, after the user terminal adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, the sound acquiring device is started to acquire the sound signal of the current environment; after the sound signal is acquired, the user terminal analyzes the strength of the sound signal. To get the first noise level of the current environment. The sound acquiring device may be a device such as a microphone.
S506、用户终端检测用户在触摸屏进行的向目标方向的多点滑动操作。S506. The user terminal detects a multi-point sliding operation performed by the user on the touch screen in a target direction.
本发明实施例中,用户终端获取第一噪声音量之后,将检测用户在触摸屏进行的向目标方向的多点滑动操作。该多点滑动操作可以为两点滑动操作、三点滑动操作或四点滑动操作等等,本发明实施例不做限定。向目标方向的多点滑动操作可以为向左的多点滑动操作、向右的多点滑动操作、向上的多点滑动操作或向下的多点滑动操作等等,本发明实施例不做限定。In the embodiment of the present invention, after the user terminal acquires the first noise volume, the multi-point sliding operation of the user on the touch screen to the target direction is detected. The multi-point sliding operation may be a two-point sliding operation, a three-point sliding operation, a four-point sliding operation, or the like, which is not limited in the embodiment of the present invention. The multi-point sliding operation to the target direction may be a multi-point sliding operation to the left, a multi-point sliding operation to the right, an upward multi-point sliding operation, or a downward multi-point sliding operation, etc., which are not limited in the embodiment of the present invention. .
S507、用户终端判断多点滑动操作的每一触摸点的压力值是否均大于预设 压力值。S507. The user terminal determines whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset. Pressure value.
本发明实施例中,当用户终端检测到用户在触摸屏进行的向目标方向的多点滑动操作时,用户终端将检测该多点滑动操作的每一触摸点的压力值,并判断该多点滑动操作的每一触摸点的压力值是否均大于预设压力值。若用户终端判断该多点滑动操作的每一触摸点的压力值均大于预设压力值,则执行步骤S508;若用户终端判断该多点滑动操作的任一触摸点的压力值小于预设压力值,可选的,则用户终端继续检测该多点滑动操作的每一触摸点的压力值,并判断该多点滑动操作的每一触摸点是否均大于预设压力值。In the embodiment of the present invention, when the user terminal detects a multi-point sliding operation to the target direction by the user on the touch screen, the user terminal detects the pressure value of each touch point of the multi-point sliding operation, and determines the multi-point sliding. Whether the pressure value of each touch point of the operation is greater than the preset pressure value. If the user terminal determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, step S508 is performed; if the user terminal determines that the pressure value of any touch point of the multi-point sliding operation is less than the preset pressure Value, optionally, the user terminal continues to detect the pressure value of each touch point of the multi-point sliding operation, and determines whether each touch point of the multi-point sliding operation is greater than a preset pressure value.
S508、用户终端获取当前环境的第二噪声音量,并将第二噪声音量与第一噪声音量的差值的绝对值作为同步音量调节量。S508. The user terminal acquires a second noise volume of the current environment, and uses an absolute value of a difference between the second noise volume and the first noise volume as a synchronous volume adjustment amount.
本发明实施例中,当用户终端判断该多点滑动操作的每一触摸点的压力值均大于预设压力值时,用户终端通过声音获取装置再次获取当前环境的声音信号,以对该声音信号进行解析,得到当前环境的第二噪声音量。In the embodiment of the present invention, when the user terminal determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, the user terminal acquires the sound signal of the current environment again through the sound acquiring device, to the sound signal. Analyze to get the second noise level of the current environment.
本发明实施例中,用户终端获取第二噪声音量之后,将计算第二噪声音量与第一噪声音量之间的差值,并将差值的绝对值作为同步音量调节量。In the embodiment of the present invention, after the user terminal acquires the second noise volume, the difference between the second noise volume and the first noise volume is calculated, and the absolute value of the difference is used as the synchronous volume adjustment amount.
举例来说,若第二噪声音量为10分贝,第一噪声音量为5分贝,则同步音量调节量为5分贝。若第二噪声音量为6分贝,第一噪声音量为7分贝,则同步音量调节量为1分贝。For example, if the second noise volume is 10 decibels and the first noise volume is 5 decibels, the synchronized volume adjustment amount is 5 decibels. If the second noise volume is 6 decibels and the first noise volume is 7 decibels, the synchronized volume adjustment amount is 1 decibel.
S509、用户终端根据同步音量调节量对当前音量进行调节。S509. The user terminal adjusts the current volume according to the synchronized volume adjustment amount.
本发明实施例中,用户终端获取同步音量调节量之后,将根据同步音量调节量对当前音量进行调节。In the embodiment of the present invention, after the user terminal acquires the synchronized volume adjustment amount, the current volume is adjusted according to the synchronized volume adjustment amount.
本发明实施例中,当第一噪声音量小于第二噪声音量时,用户终端根据同步音量调节量对当前音量进行增加。当第一噪声音量大于第二噪声音量时,用户终端根据同步音量调节量对当前音量进行减小。In the embodiment of the present invention, when the first noise volume is less than the second noise volume, the user terminal increases the current volume according to the synchronous volume adjustment amount. When the first noise volume is greater than the second noise volume, the user terminal decreases the current volume according to the synchronized volume adjustment amount.
例如,若用户终端当前音量为15分贝,第一噪声音量为5分贝,第二噪声音量为6分贝,则同步音量调节量为1分贝,则用户终端获取同步音量调节量之后,将用户终端当前的音量调节为16分贝。For example, if the current volume of the user terminal is 15 decibels, the first noise volume is 5 decibels, and the second noise volume is 6 decibels, the synchronization volume adjustment amount is 1 decibel, and after the user terminal acquires the synchronized volume adjustment amount, the user terminal is currently The volume is adjusted to 16 decibels.
再如,若用户终端当前音量为15分贝,第一噪声音量为7分贝,第二噪声音量为6分贝,则同步音量调节量为1分贝,则用户终端获取同步音量调节 量之后,将用户终端当前的音量调节为14分贝。For another example, if the current volume of the user terminal is 15 decibels, the first noise volume is 7 decibels, and the second noise volume is 6 decibels, the synchronization volume adjustment amount is 1 decibel, and the user terminal acquires the synchronized volume adjustment. After the amount, the current volume of the user terminal is adjusted to 14 decibels.
在实际应用中,外界的噪音将影响用户的收听效果。在用户对用户终端的音量进行设置之后,若外界噪音变大,则用户可能不能清楚地听到播放的声音;若外界噪音变小,则用户可能会觉得听到的播放声音较大。因此,通过实施本发明实施例,在用户将用户终端的音量设置为一合适的音量之后,若外界的噪音对用户的收听造成了影响,则用户可通过在触摸屏进行滑动操作,来同步地增加或减小用户终端当前的音量,以减小外界噪音对用户收听造成的影响。In practical applications, external noise will affect the user's listening experience. After the user sets the volume of the user terminal, if the external noise becomes large, the user may not clearly hear the played sound; if the external noise becomes smaller, the user may feel that the played sound is louder. Therefore, by implementing the embodiment of the present invention, after the user sets the volume of the user terminal to a suitable volume, if the external noise affects the user's listening, the user can synchronously increase the sliding operation on the touch screen. Or reduce the current volume of the user terminal to reduce the impact of external noise on the user's listening.
请参阅图6,图6是本发明实施例公开的一种用户终端的结构示意图。其中,图6所示的用户终端可以包括第一检测模块601、第一判断模块602、第一获取模块603和第一调节模块604。其中:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a user terminal according to an embodiment of the present invention. The user terminal shown in FIG. 6 may include a first detecting module 601, a first determining module 602, a first obtaining module 603, and a first adjusting module 604. among them:
第一检测模块601,用于检测对触摸屏进行触摸输入的触摸参数。The first detecting module 601 is configured to detect a touch parameter that performs a touch input on the touch screen.
本发明实施例中,该用户终端可包括但不限于智能手机、掌上电脑、笔记本电脑和台式电脑等具有触摸屏的用户终端。该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone8操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the user terminal may include, but is not limited to, a user terminal with a touch screen such as a smart phone, a palmtop computer, a notebook computer, and a desktop computer. The operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows Phone 8 operating system, and the like.
本发明实施例中,该触摸参数包括触摸区域以及触摸时长。In the embodiment of the present invention, the touch parameter includes a touch area and a touch duration.
本发明实施例中,第一检测模块601将检测用户对触摸屏进行的触摸操作;当第一检测模块601检测到用户对触摸屏进行触摸操作时,第一检测模块601将检测该触摸操作的触摸区域,并检测该触摸操作的触摸时长。其中,该触摸区域为用户手指接触的触摸屏区域。In the embodiment of the present invention, the first detecting module 601 detects a touch operation performed by the user on the touch screen; when the first detecting module 601 detects that the user touches the touch screen, the first detecting module 601 detects the touch area of the touch operation. And detect the touch duration of the touch operation. The touch area is a touch screen area that is touched by a user's finger.
第一判断模块602,用于判断触摸区域的中心点的移动方向是否与预设方向相匹配。The first determining module 602 is configured to determine whether the moving direction of the center point of the touch area matches the preset direction.
本发明实施例中,在用户进行触摸操作时,用户可以改变触摸操作的触摸区域。第一检测模块601检测到触摸区域时,第一判断模块602将记录触摸区域的中心点的坐标位置。第一判断模块602根据触摸区域的中心点的坐标位置的变化,来确定触摸区域的中心点的移动方向。例如,若以触摸屏的左上角为原点,原点向右延伸的方向为X轴正方向;原点向下延伸的方向为Y轴正方 向;若第一时间点触摸区域的中心点的坐标位置为(1,2),第二时间点触摸区域的中心点的坐标位置为(2,2),其中,第一时间点在第二时间点之前,则触摸区域的中心点的移动方向为向右移动。In the embodiment of the present invention, when the user performs a touch operation, the user can change the touch area of the touch operation. When the first detecting module 601 detects the touch area, the first determining module 602 will record the coordinate position of the center point of the touch area. The first determining module 602 determines the moving direction of the center point of the touch area according to the change of the coordinate position of the center point of the touch area. For example, if the upper left corner of the touch screen is the origin, the direction in which the origin extends to the right is the positive direction of the X-axis; the direction in which the origin extends downward is the square of the Y-axis. If the coordinate position of the center point of the touch area is (1, 2) at the first time point, the coordinate position of the center point of the touch area of the second time point is (2, 2), wherein the first time point is at the second Before the time point, the moving direction of the center point of the touch area is to the right.
本发明实施例中,第一判断模块602确定触摸区域的中心点的移动方向之后,第一判断模块602将判断触摸区域的中心点的移动方向是否与预设方向相匹配。In the embodiment of the present invention, after the first determining module 602 determines the moving direction of the center point of the touch area, the first determining module 602 determines whether the moving direction of the center point of the touch area matches the preset direction.
第一获取模块603,用于当第一判断模块602判断触摸区域的中心点的移动方向与预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。The first obtaining module 603 is configured to: when the first determining module 602 determines that the moving direction of the center point of the touch area matches the preset direction, obtain the corresponding time length according to the corresponding relationship between the preset time length and the volume adjustment amount. Volume adjustment amount.
本发明实施例中,用户终端预先设置有时长与音量调节量的对应关系。可选的,该音量调节量可以为音量增加量或音量减小量,本发明实施例不做限定。例如,可预先设置2秒对应音量增加量5分贝,可预先设置3秒对应音量增加量6分贝等。In the embodiment of the present invention, the user terminal presets a correspondence relationship between the length of time and the volume adjustment amount. Optionally, the volume adjustment amount may be a volume increase amount or a volume decrease amount, which is not limited in the embodiment of the present invention. For example, it is possible to set a volume increase amount of 5 decibels for 2 seconds in advance, and it is possible to set a volume increase amount of 6 decibels for 3 seconds in advance.
本发明实施例中,具体地,第一获取模块603可根据预先设置的时长与音量增加量的对应关系,获取与触摸时长对应的音量增加量,或第一获取模块603可根据预先设置的时长与音量减小量的对应关系,获取与触摸时长对应的音量减小量。In the embodiment of the present invention, the first obtaining module 603 may obtain the volume increase amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume increase amount, or the first obtaining module 603 may be configured according to the preset duration. A volume reduction amount corresponding to the touch duration is acquired in correspondence with the volume reduction amount.
第一调节模块604,用于根据触摸时长对应的音量调节量对当前音量进行调节。The first adjustment module 604 is configured to adjust the current volume according to the volume adjustment amount corresponding to the touch duration.
本发明实施例中,第一获取模块603获取与触摸时长对应的音量调节量之后,第一调节模块604将根据触摸时长对应的音量调节量对用户终端的音量进行调节。具体地,第一调节模块604可根据触摸时长对应的音量增加量对用户终端的音量进行增大;或第一调节模块604可根据触摸时长对应的音量减小量对用户终端的音量进行减小。In the embodiment of the present invention, after the first acquisition module 603 acquires the volume adjustment amount corresponding to the touch duration, the first adjustment module 604 adjusts the volume of the user terminal according to the volume adjustment amount corresponding to the touch duration. Specifically, the first adjustment module 604 can increase the volume of the user terminal according to the volume increase amount corresponding to the touch duration; or the first adjustment module 604 can reduce the volume of the user terminal according to the volume decrease amount corresponding to the touch duration. .
作为一种可选的实施方式,预设方向包括第一预设方向和第二预设方向,第一预设方向和第二预设方向不同,当触摸区域的中心点的移动方向与第一预设方向相匹配时,第一调节模块604具体用于:As an optional implementation manner, the preset direction includes a first preset direction and a second preset direction, where the first preset direction and the second preset direction are different, when the moving direction of the center point of the touch area is the first When the preset directions match, the first adjustment module 604 is specifically configured to:
根据触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
当触摸区域的中心点的移动方向与第二预设方向相匹配时,第一调节模块 604具体用于:The first adjustment module is when the moving direction of the center point of the touch area matches the second preset direction 604 is specifically used to:
根据触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
作为一种可选的实施方式,用户终端还包括:第二检测模块。As an optional implementation manner, the user terminal further includes: a second detection module.
第二检测模块,用于在第一判断模块602判断触摸区域的中心点的移动方向与第二预设方向相匹配之后,检测当前电量值是否超过预设电量值。The second detecting module is configured to detect, after the first determining module 602 determines that the moving direction of the center point of the touch area matches the second preset direction, whether the current power value exceeds the preset power value.
在该实施方式中,当第二检测模块检测当前电量值超过预设电量值时,触发第一获取模块603根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。In this embodiment, when the second detection module detects that the current power value exceeds the preset power value, the first acquisition module 603 triggers the volume adjustment amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume adjustment amount. .
在该实施方式中,在用户想要增大音量时,通过检测当前电量值是否为低电量,当当前电量值不为低电量时才增大音量,有利于延长待机时间,提高了用户体验。In this embodiment, when the user wants to increase the volume, by detecting whether the current power value is low, the volume is increased when the current power value is not low, which is beneficial to extending the standby time and improving the user experience.
请一并参阅图7,图7是本发明实施例公开的另一种用户终端的结构示意图。其中,图7所示的用户终端是由图6所示的用户终端进行优化得到的。与图6所示的用户终端相比较,图7所示的用户终端除包括图6所示的用户终端的所有模块之外,还可包括第二判断模块605。其中:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. The user terminal shown in FIG. 7 is optimized by the user terminal shown in FIG. 6. Compared with the user terminal shown in FIG. 6, the user terminal shown in FIG. 7 may include a second judging module 605 in addition to all the modules of the user terminal shown in FIG. 6. among them:
第二判断模块605,用于在第一判断模块602判断触摸区域的中心点的移动方向与预设方向相匹配之后,判断触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配。The second determining module 605 is configured to determine, after the first determining module 602 determines that the moving direction of the center point of the touch area matches the preset direction, whether the moving direction of the position of the force receiving center point of the touch area is opposite to the preset direction. match.
本发明实施例中,第一检测模块601检测的触摸参数包括触摸区域、触摸区域的受力中心点的位置以及触摸时长。In the embodiment of the present invention, the touch parameters detected by the first detecting module 601 include a touch area, a position of the force center point of the touch area, and a touch duration.
本发明实施例中,触摸区域的受力中心点的位置为触摸区域中受到压力的区域的中心位置。In the embodiment of the invention, the position of the force receiving center point of the touch area is the center position of the area of the touch area that is under pressure.
本发明实施例中,第二判断模块605可通过压力传感器来检测用户对触摸区域的压力值,进而确定触摸区域的受力中心点的位置,并检测受力中心点的位置的移动方向。在第二判断模块605检测到触摸区域的受力中心点的位置的移动方向之后,第二判断模块605将判断触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配。In the embodiment of the present invention, the second determining module 605 can detect the pressure value of the touch area by the user through the pressure sensor, determine the position of the force center point of the touch area, and detect the moving direction of the position of the force center point. After the second determining module 605 detects the moving direction of the position of the force receiving center point of the touch area, the second determining module 605 determines whether the moving direction of the position of the force receiving center point of the touch area matches the preset direction.
本发明实施例中,当第二判断模块605判断触摸区域的受力中心点的位置 的移动方向与预设方向相匹配时,触发第一获取模603块根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。In the embodiment of the present invention, when the second determining module 605 determines the position of the force center point of the touch area When the moving direction is matched with the preset direction, the first acquiring mode 603 is triggered to acquire the volume adjusting amount corresponding to the touch duration according to the corresponding relationship between the preset duration and the volume adjustment amount.
本发明实施例中,在第一判断模块602判断触摸区域的中心点的移动方向与预设方向相匹配之后,第二判断模块605继续触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配,当触摸区域的受力中心点的位置的移动方向与预设方向相匹配时,用户终端才进行音量调节。可见,通过实施本发明实施例,能够减少用户的误操作。In the embodiment of the present invention, after the first determining module 602 determines that the moving direction of the center point of the touch area matches the preset direction, the second determining module 605 continues the moving direction of the position of the force receiving center point of the touch area. The direction is matched, and when the moving direction of the position of the force center point of the touch area matches the preset direction, the user terminal performs volume adjustment. It can be seen that by implementing the embodiments of the present invention, the user's erroneous operation can be reduced.
请一并参阅图8,图8是本发明实施例公开的另一种用户终端的结构示意图。其中,图8所示的用户终端是由图6所示的用户终端进行优化得到的。与图6所示的用户终端相比较,图8所示的用户终端除包括图6所示的用户终端的所有模块之外,还可包括第三检测模块606、第四检测模块607和第二调节模块608。其中:Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. The user terminal shown in FIG. 8 is optimized by the user terminal shown in FIG. 6. Compared with the user terminal shown in FIG. 6, the user terminal shown in FIG. 8 may further include a third detecting module 606, a fourth detecting module 607, and a second, in addition to all the modules of the user terminal shown in FIG. Adjustment module 608. among them:
第三检测模块606,用于在第一调节模块604根据触摸时长对应的音量调节量对当前音量进行调节之后,检测调节后的音量是否大于第一预设音量值。The third detecting module 606 is configured to detect, after the first adjusting module 604 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, whether the adjusted volume is greater than the first preset volume value.
第四检测模块607,用于当第三检测模块606检测调节后的音量大于第一预设音量值时,检测是否有耳机接入。The fourth detecting module 607 is configured to detect whether there is earphone access when the third detecting module 606 detects that the adjusted volume is greater than the first preset volume value.
第二调节模块608,用于当第四检测模块607检测到有耳机接入时,将当前音量值调节为第二预设音量值,第二预设音量值小于第一预设音量值。The second adjustment module 608 is configured to adjust the current volume value to a second preset volume value when the fourth detection module 607 detects that the earphone is accessed, and the second preset volume value is smaller than the first preset volume value.
在实际应用中,当用户将终端的音量设置得过大时,若用户使用耳机进行内容收听,将给用户的听力造成较大的伤害。因此,通过本发明实施例,可减小对用户的听力的伤害,有利于提高用户体验。In practical applications, when the user sets the volume of the terminal too large, if the user listens to the content using the earphone, it will cause greater damage to the user's hearing. Therefore, with the embodiment of the invention, the damage to the user's hearing can be reduced, which is beneficial to improving the user experience.
请一并参阅图9,图9是本发明实施例公开的另一种用户终端的结构示意图。其中,图9所示的用户终端是由图6所示的用户终端进行优化得到的。与图6所示的用户终端相比较,图9所示的用户终端除包括图6所示的用户终端的所有模块之外,还可包括第二获取模块609、第五检测模块610、第三判断模块611、第三获取模块612和第三调节模块613。其中:Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. The user terminal shown in FIG. 9 is optimized by the user terminal shown in FIG. 6. Compared with the user terminal shown in FIG. 6, the user terminal shown in FIG. 9 may further include a second acquiring module 609, a fifth detecting module 610, and a third, in addition to all the modules of the user terminal shown in FIG. The judging module 611, the third obtaining module 612, and the third adjusting module 613. among them:
第二获取模块609,用于在第一调节模块604根据触摸时长对应的音量调 节量对当前音量进行调节之后,获取当前环境的第一噪声音量。The second obtaining module 609 is configured to adjust, according to the volume of the touch duration, the first adjustment module 604 After the throttle adjusts the current volume, the first noise level of the current environment is acquired.
本发明实施例中,第一调节模块604根据触摸时长对应的音量调节量对当前音量进行调节之后,第二获取模块609将启动声音获取装置获取当前环境的声音信号;在第二获取模块609获取声音信号之后,第二获取模块609将解析声音信号的强度,以得到当前环境的第一噪声音量。其中,该声音获取装置可以为麦克风等装置。In the embodiment of the present invention, after the first adjustment module 604 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, the second acquisition module 609 starts the sound acquisition device to acquire the sound signal of the current environment; After the sound signal, the second acquisition module 609 will analyze the intensity of the sound signal to obtain the first noise level of the current environment. The sound acquiring device may be a device such as a microphone.
第五检测模块610,用于检测用户在触摸屏进行的向目标方向的多点滑动操作。The fifth detecting module 610 is configured to detect a multi-point sliding operation performed by the user on the touch screen in a target direction.
本发明实施例中,第二获取模块609获取第一噪声音量之后,第五检测模块610将检测用户在触摸屏进行的向目标方向的多点滑动操作。该多点滑动操作可以为两点滑动操作、三点滑动操作或四点滑动操作等等,本发明实施例不做限定。向目标方向的多点滑动操作可以为向左的多点滑动操作、向右的多点滑动操作、向上的多点滑动操作或向下的多点滑动操作等等,本发明实施例不做限定。In the embodiment of the present invention, after the second acquiring module 609 acquires the first noise volume, the fifth detecting module 610 detects a multi-point sliding operation performed by the user on the touch screen in the target direction. The multi-point sliding operation may be a two-point sliding operation, a three-point sliding operation, a four-point sliding operation, or the like, which is not limited in the embodiment of the present invention. The multi-point sliding operation to the target direction may be a multi-point sliding operation to the left, a multi-point sliding operation to the right, an upward multi-point sliding operation, or a downward multi-point sliding operation, etc., which are not limited in the embodiment of the present invention. .
第三判断模块611,用于判断多点滑动操作的每一触摸点的压力值是否均大于预设压力值。The third determining module 611 is configured to determine whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value.
第三获取模块612,用于当第三判断模块611判断多点滑动操作的每一触摸点的压力值均大于预设压力值时,获取当前环境的第二噪声音量,并将第二噪声音量与第一噪声音量的差值的绝对值作为同步音量调节量。The third obtaining module 612 is configured to: when the third determining module 611 determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, acquire the second noise volume of the current environment, and the second noise volume The absolute value of the difference from the first noise volume is used as the synchronized volume adjustment amount.
本发明实施例中,当第三判断模块611判断该多点滑动操作的每一触摸点的压力值均大于预设压力值时,第三获取模块612通过声音获取装置再次获取当前环境的声音信号,以对该声音信号进行解析,得到当前环境的第二噪声音量。In the embodiment of the present invention, when the third determining module 611 determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, the third obtaining module 612 acquires the sound signal of the current environment again through the sound acquiring device. The sound signal is parsed to obtain a second noise level of the current environment.
本发明实施例中,第三获取模块612获取第二噪声音量之后,将计算第二噪声音量与第一噪声音量之间的差值,并将差值的绝对值作为同步音量调节量。In the embodiment of the present invention, after the third acquisition module 612 acquires the second noise volume, the difference between the second noise volume and the first noise volume is calculated, and the absolute value of the difference is used as the synchronization volume adjustment amount.
举例来说,若第二噪声音量为10分贝,第一噪声音量为5分贝,则同步音量调节量为5分贝。若第二噪声音量为6分贝,第一噪声音量为7分贝,则同步音量调节量为1分贝。 For example, if the second noise volume is 10 decibels and the first noise volume is 5 decibels, the synchronized volume adjustment amount is 5 decibels. If the second noise volume is 6 decibels and the first noise volume is 7 decibels, the synchronized volume adjustment amount is 1 decibel.
第三调节模块613,用于根据同步音量调节量对当前音量进行调节。The third adjustment module 613 is configured to adjust the current volume according to the synchronized volume adjustment amount.
本发明实施例中,第三获取模块612获取同步音量调节量之后,第三调节模块613将根据同步音量调节量对当前音量进行调节。In the embodiment of the present invention, after the third obtaining module 612 acquires the synchronized volume adjustment amount, the third adjusting module 613 adjusts the current volume according to the synchronized volume adjustment amount.
本发明实施例中,当第一噪声音量小于第二噪声音量时,第三调节模块613根据同步音量调节量对当前音量进行增加。当第一噪声音量大于第二噪声音量时,第三调节模块613根据同步音量调节量对当前音量进行减小。In the embodiment of the present invention, when the first noise volume is less than the second noise volume, the third adjustment module 613 increases the current volume according to the synchronized volume adjustment amount. When the first noise volume is greater than the second noise volume, the third adjustment module 613 decreases the current volume according to the synchronized volume adjustment amount.
例如,若用户终端当前音量为15分贝,第一噪声音量为5分贝,第二噪声音量为6分贝,则同步音量调节量为1分贝,则第三获取模块612获取同步音量调节量之后,第三调节模块613将用户终端当前的音量调节为16分贝。For example, if the current volume of the user terminal is 15 decibels, the first noise volume is 5 decibels, and the second noise volume is 6 decibels, the synchronization volume adjustment amount is 1 decibel, and after the third acquisition module 612 acquires the synchronized volume adjustment amount, the third The three adjustment module 613 adjusts the current volume of the user terminal to 16 decibels.
再如,若用户终端当前音量为15分贝,第一噪声音量为7分贝,第二噪声音量为6分贝,则同步音量调节量为1分贝,则第三获取模块612获取同步音量调节量之后,第三调节模块613将用户终端当前的音量调节为14分贝。For example, if the current volume of the user terminal is 15 decibels, the first noise volume is 7 decibels, and the second noise volume is 6 decibels, the synchronization volume adjustment amount is 1 decibel, and after the third acquisition module 612 obtains the synchronization volume adjustment amount, The third adjustment module 613 adjusts the current volume of the user terminal to 14 decibels.
在实际应用中,外界的噪音将影响用户的收听效果。在用户对用户终端的音量进行设置之后,若外界噪音变大,则用户可能不能清楚地听到播放的声音;若外界噪音变小,则用户可能会觉得听到的播放声音较大。因此,通过实施本发明实施例,在用户将用户终端的音量设置为一合适的音量之后,若外界的噪音对用户的收听造成了影响,则用户可通过在触摸屏进行滑动操作,来同步地增加或减小用户终端当前的音量,以减小外界噪音对用户收听造成的影响。In practical applications, external noise will affect the user's listening experience. After the user sets the volume of the user terminal, if the external noise becomes large, the user may not clearly hear the played sound; if the external noise becomes smaller, the user may feel that the played sound is louder. Therefore, by implementing the embodiment of the present invention, after the user sets the volume of the user terminal to a suitable volume, if the external noise affects the user's listening, the user can synchronously increase the sliding operation on the touch screen. Or reduce the current volume of the user terminal to reduce the impact of external noise on the user's listening.
在图6~图9所描述的用户终端中,第一检测模块检测对触摸屏进行触摸输入的触摸参数之后,第一判断模块将判断触摸参数中的触摸区域的中心点的移动方向是否与预设方向相匹配;当触摸区域的中心点的移动方向与预设方向相匹配时,第一获取模块根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量;第一调节模块根据触摸时长对应的音量调节量对当前音量进行调节。可见,通过实施本发明实施例,能够快速地、便捷地对音量进行调节。In the user terminal described in FIG. 6 to FIG. 9 , after the first detecting module detects the touch parameter of the touch input on the touch screen, the first determining module determines whether the moving direction of the center point of the touch area in the touch parameter is preset. The direction is matched; when the moving direction of the center point of the touch area matches the preset direction, the first acquiring module acquires the volume adjustment amount corresponding to the touch duration according to the correspondence between the preset duration and the volume adjustment amount; The adjustment module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration. It can be seen that by implementing the embodiments of the present invention, the volume can be adjusted quickly and conveniently.
请参阅图10,图10是本发明实施例公开的另一种用户终端的结构示意图。如图10所示,该用户终端包括处理器1001,以及通过总线1002与处理器1001 相连接的存储器1003。其中,存储器1003中存储有一组程序代码,处理器1001用于调用存储器1003中存储的程序代码,执行以下操作:Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. As shown in FIG. 10, the user terminal includes a processor 1001, and a processor 1001 through a bus 1002. Connected memory 1003. The memory 1003 stores a set of program codes, and the processor 1001 is configured to call the program code stored in the memory 1003 to perform the following operations:
检测对触摸屏进行触摸输入的触摸参数,触摸参数包括触摸区域以及触摸时长;Detecting touch parameters for performing touch input on the touch screen, the touch parameters including a touch area and a touch duration;
判断触摸区域的中心点的移动方向是否与预设方向相匹配;Determining whether the moving direction of the center point of the touch area matches the preset direction;
当触摸区域的中心点的移动方向与预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量;When the moving direction of the center point of the touch area matches the preset direction, the volume adjustment amount corresponding to the touch duration is acquired according to the correspondence between the preset duration and the volume adjustment amount;
根据触摸时长对应的音量调节量对当前音量进行调节。The current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
作为一种可选的实施方式,触摸参数还包括触摸区域的受力中心点的位置,处理器1001调用存储器1003中存储的程序代码,在判断触摸区域的中心点的移动方向与预设方向相匹配之后,还可执行以下操作:As an optional implementation manner, the touch parameter further includes a position of the force center point of the touch area, and the processor 1001 calls the program code stored in the memory 1003 to determine the moving direction of the center point of the touch area and the preset direction. Once matched, you can also do the following:
判断触摸区域的受力中心点的位置的移动方向是否与预设方向相匹配;Determining whether the moving direction of the position of the force center point of the touch area matches the preset direction;
当触摸区域的受力中心点的位置的移动方向与预设方向相匹配时,处理器1001根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, the processor 1001 acquires the volume adjustment amount corresponding to the touch duration according to the corresponding relationship between the preset time length and the volume adjustment amount.
作为一种可选的实施方式,预设方向包括第一预设方向和第二预设方向,第一预设方向和第二预设方向不同,当触摸区域的中心点的移动方向与第一预设方向相匹配时,处理器1001根据触摸时长对应的音量调节量对当前音量进行调节的方式具体为:As an optional implementation manner, the preset direction includes a first preset direction and a second preset direction, where the first preset direction and the second preset direction are different, when the moving direction of the center point of the touch area is the first When the preset directions are matched, the manner in which the processor 1001 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
根据触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
当触摸区域的中心点的移动方向与第二预设方向相匹配时,处理器1001根据触摸时长对应的音量调节量对当前音量进行调节的方式具体为:When the moving direction of the center point of the touch area matches the second preset direction, the manner in which the processor 1001 adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
根据触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
作为一种可选的实施方式,处理器1001调用存储器1003中存储的程序代码,在判断触摸区域的中心点的移动方向与第二预设方向相匹配之后,还可执行以下操作:As an optional implementation manner, the processor 1001 calls the program code stored in the memory 1003, and after determining that the moving direction of the center point of the touch area matches the second preset direction, the following operations may also be performed:
检测当前电量值是否超过预设电量值;Check if the current power value exceeds the preset power value;
当当前电量值超过预设电量值时,处理器1001根据预设的时长与音量调节量的对应关系,获取与触摸时长对应的音量调节量。 When the current power value exceeds the preset power value, the processor 1001 acquires the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount.
作为一种可选的实施方式,处理器1001调用存储器1003中存储的程序代码,根据触摸时长对应的音量调节量对当前音量进行调节之后,还可执行以下操作:As an optional implementation manner, the processor 1001 calls the program code stored in the memory 1003, and after adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the following operations may also be performed:
检测调节后的音量是否大于第一预设音量值;Detecting whether the adjusted volume is greater than the first preset volume value;
当调节后的音量大于第一预设音量值时,检测是否有耳机接入;When the adjusted volume is greater than the first preset volume value, detecting whether there is a headset access;
当检测到有耳机接入时,将当前音量值调节为第二预设音量值,第二预设音量值小于第一预设音量值。When it is detected that there is a headset access, the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
作为一种可选的实施方式,处理器1001调用存储器1003中存储的程序代码,根据触摸时长对应的音量调节量对当前音量进行调节之后,还可执行以下操作:As an optional implementation manner, the processor 1001 calls the program code stored in the memory 1003, and after adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the following operations may also be performed:
获取当前环境的第一噪声音量;Obtaining the first noise level of the current environment;
检测用户在触摸屏进行的向目标方向的多点滑动操作;Detecting a multi-point sliding operation of the user on the touch screen to the target direction;
判断多点滑动操作的每一触摸点的压力值是否均大于预设压力值;Determining whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
当多点滑动操作的每一触摸点的压力值均大于预设压力值时,获取当前环境的第二噪声音量,并将第二噪声音量与第一噪声音量的差值的绝对值作为同步音量调节量;When the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, the second noise volume of the current environment is acquired, and the absolute value of the difference between the second noise volume and the first noise volume is used as the synchronization volume. Adjustment amount
根据同步音量调节量对当前音量进行调节。The current volume is adjusted according to the amount of synchronized volume adjustment.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment may be referred to the related descriptions of other embodiments. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例的用户终端中的模块可以根据实际需要进行合并、划分和删减。The modules in the user terminal of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘 等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct terminal device related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Including: flash drive, read-only memory (ROM), random access memory (RAM), disk or disc Wait.
以上对本发明实施例公开的一种音量调节方法及用户终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The volume adjustment method and the user terminal disclosed in the embodiments of the present invention are described in detail. The principles and implementations of the present invention are described in the following. The description of the above embodiments is only used to help understand the present invention. The method and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of the specification should not be understood as Limitations of the invention.

Claims (20)

  1. 一种音量调节方法,其特征在于,所述方法包括:A volume adjustment method, characterized in that the method comprises:
    检测对触摸屏进行触摸输入的触摸参数,所述触摸参数包括触摸区域以及触摸时长;Detecting a touch parameter of a touch input to the touch screen, the touch parameter including a touch area and a touch duration;
    判断所述触摸区域的中心点的移动方向是否与预设方向相匹配;Determining whether a moving direction of a center point of the touch area matches a preset direction;
    当所述触摸区域的中心点的移动方向与所述预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量;Obtaining a volume adjustment amount corresponding to the touch duration according to a correspondence between a preset duration and a volume adjustment amount, when a moving direction of the center point of the touch area matches the preset direction;
    根据所述触摸时长对应的音量调节量对当前音量进行调节。The current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
  2. 根据权利要求1所述的方法,其特征在于,所述触摸参数还包括所述触摸区域的受力中心点的位置,在判断所述触摸区域的中心点的移动方向与预设方向相匹配之后,所述方法还包括:The method according to claim 1, wherein the touch parameter further comprises a position of a force center point of the touch area, after determining that a moving direction of a center point of the touch area matches a preset direction The method further includes:
    判断所述触摸区域的受力中心点的位置的移动方向是否与所述预设方向相匹配;Determining whether a moving direction of a position of the force receiving center point of the touch area matches the preset direction;
    当所述触摸区域的受力中心点的位置的移动方向与所述预设方向相匹配时,执行所述根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量的步骤。When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, the corresponding relationship between the preset time length and the volume adjustment amount is performed, and the volume corresponding to the touch duration is acquired. The step of adjusting the amount.
  3. 根据权利要求1所述的方法,其特征在于,所述预设方向包括第一预设方向和第二预设方向,所述第一预设方向和所述第二预设方向不同,当所述触摸区域的中心点的移动方向与所述第一预设方向相匹配时,所述根据所述触摸时长对应的音量调节量对当前音量进行调节包括:The method according to claim 1, wherein the preset direction comprises a first preset direction and a second preset direction, and the first preset direction and the second preset direction are different. When the moving direction of the center point of the touch area matches the first preset direction, the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration includes:
    根据所述触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
    当所述触摸区域的中心点的移动方向与所述第二预设方向相匹配时,所述根据所述触摸时长对应的音量调节量对当前音量进行调节包括:When the moving direction of the center point of the touch area matches the second preset direction, the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration includes:
    根据所述触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  4. 根据权利要求3所述的方法,其特征在于,在判断所述触摸区域的中心点的移动方向与所述第二预设方向相匹配之后,所述方法还包括: The method according to claim 3, wherein after determining that the moving direction of the center point of the touch area matches the second preset direction, the method further includes:
    检测当前电量值是否超过预设电量值;Check if the current power value exceeds the preset power value;
    当所述当前电量值超过所述预设电量值时,执行所述根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量的步骤。When the current power value exceeds the preset power value, the step of acquiring the volume adjustment amount corresponding to the touch duration according to the preset relationship between the preset duration and the volume adjustment amount is performed.
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述触摸时长对应的音量调节量对当前音量进行调节之后,所述方法还包括:The method according to claim 1, wherein after the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the method further comprises:
    检测调节后的音量是否大于第一预设音量值;Detecting whether the adjusted volume is greater than the first preset volume value;
    当所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;When the adjusted volume is greater than the first preset volume value, detecting whether there is a headset access;
    当检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。When it is detected that there is a headset access, the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述触摸时长对应的音量调节量对当前音量进行调节之后,所述方法还包括:The method according to claim 1, wherein after the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the method further comprises:
    获取当前环境的第一噪声音量;Obtaining the first noise level of the current environment;
    检测用户在触摸屏进行的向目标方向的多点滑动操作;Detecting a multi-point sliding operation of the user on the touch screen to the target direction;
    判断所述多点滑动操作的每一触摸点的压力值是否均大于预设压力值;Determining whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
    当所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;Obtaining a second noise volume of the current environment when the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, and the second noise volume and the first noise volume The absolute value of the difference is used as the synchronous volume adjustment amount;
    根据所述同步音量调节量对当前音量进行调节。The current volume is adjusted according to the synchronized volume adjustment amount.
  7. 根据权利要求2所述的方法,其特征在于,所述根据所述触摸时长对应的音量调节量对当前音量进行调节之后,所述方法还包括:The method according to claim 2, wherein after the adjusting the current volume according to the volume adjustment amount corresponding to the touch duration, the method further comprises:
    检测调节后的音量是否大于第一预设音量值;Detecting whether the adjusted volume is greater than the first preset volume value;
    当所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;When the adjusted volume is greater than the first preset volume value, detecting whether there is a headset access;
    当检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。When it is detected that there is a headset access, the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
  8. 根据权利要求2所述的方法,其特征在于,所述根据所述触摸时长对 应的音量调节量对当前音量进行调节之后,所述方法还包括:The method according to claim 2, wherein said step of touching said duration After the volume adjustment amount is adjusted to the current volume, the method further includes:
    获取当前环境的第一噪声音量;Obtaining the first noise level of the current environment;
    检测用户在触摸屏进行的向目标方向的多点滑动操作;Detecting a multi-point sliding operation of the user on the touch screen to the target direction;
    判断所述多点滑动操作的每一触摸点的压力值是否均大于预设压力值;Determining whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
    当所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;Obtaining a second noise volume of the current environment when the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, and the second noise volume and the first noise volume The absolute value of the difference is used as the synchronous volume adjustment amount;
    根据所述同步音量调节量对当前音量进行调节。The current volume is adjusted according to the synchronized volume adjustment amount.
  9. 一种用户终端,其特征在于,所述用户终端包括:A user terminal, the user terminal comprising:
    第一检测模块,用于检测对触摸屏进行触摸输入的触摸参数,所述触摸参数包括触摸区域以及触摸时长;a first detecting module, configured to detect a touch parameter that performs a touch input on the touch screen, where the touch parameter includes a touch area and a touch duration;
    第一判断模块,用于判断所述触摸区域的中心点的移动方向是否与预设方向相匹配;a first determining module, configured to determine whether a moving direction of a center point of the touch area matches a preset direction;
    第一获取模块,用于当所述第一判断模块判断所述触摸区域的中心点的移动方向与所述预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量;a first acquiring module, configured to: when the first determining module determines that a moving direction of a center point of the touch area matches the preset direction, according to a correspondence between a preset duration and a volume adjustment amount, acquiring a volume adjustment amount corresponding to the touch duration;
    第一调节模块,用于根据所述触摸时长对应的音量调节量对当前音量进行调节。The first adjustment module is configured to adjust the current volume according to the volume adjustment amount corresponding to the touch duration.
  10. 根据权利要求9所述的用户终端,其特征在于,所述触摸参数还包括所述触摸区域的受力中心点的位置,所述用户终端还包括:The user terminal according to claim 9, wherein the touch parameter further comprises a location of a force center point of the touch area, the user terminal further comprising:
    第二判断模块,用于在所述第一判断模块判断所述触摸区域的中心点的移动方向与所述预设方向相匹配之后,判断所述触摸区域的受力中心点的位置的移动方向是否与所述预设方向相匹配;a second determining module, configured to determine, after the first determining module determines that a moving direction of a center point of the touch area matches the preset direction, determine a moving direction of a position of the force center point of the touch area Whether it matches the preset direction;
    当所述第二判断模块判断所述触摸区域的受力中心点的位置的移动方向与所述预设方向相匹配时,触发所述第一获取模块根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。 When the second determining module determines that the moving direction of the position of the force receiving center point of the touch area matches the preset direction, triggering the first acquiring module to respond according to the preset time length and the volume adjusting amount Relationship: acquires a volume adjustment amount corresponding to the touch duration.
  11. 根据权利要求9所述的用户终端,其特征在于,所述预设方向包括第一预设方向和第二预设方向,所述第一预设方向和所述第二预设方向不同,当所述触摸区域的中心点的移动方向与所述第一预设方向相匹配时,所述第一调节模块具体用于:The user terminal according to claim 9, wherein the preset direction comprises a first preset direction and a second preset direction, and the first preset direction and the second preset direction are different, when When the moving direction of the center point of the touch area matches the first preset direction, the first adjusting module is specifically configured to:
    根据所述触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
    当所述触摸区域的中心点的移动方向与所述第二预设方向相匹配时,所述第一调节模块具体用于:When the moving direction of the center point of the touch area matches the second preset direction, the first adjusting module is specifically configured to:
    根据所述触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  12. 根据权利要求11所述的用户终端,其特征在于,所述用户终端还包括:The user terminal according to claim 11, wherein the user terminal further comprises:
    第二检测模块,用于在所述第一判断模块判断所述触摸区域的中心点的移动方向与所述第二预设方向相匹配之后,检测当前电量值是否超过预设电量值;The second detecting module is configured to detect, after the first determining module determines that the moving direction of the center point of the touch area matches the second preset direction, whether the current power value exceeds a preset power value;
    当所述第二检测模块检测所述当前电量值超过所述预设电量值时,触发所述第一获取模块根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。When the second detection module detects that the current power value exceeds the preset power value, the first acquiring module is triggered to acquire a correspondence corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount. Volume adjustment amount.
  13. 根据权利要求9或10所述的用户终端,其特征在于,所述用户终端还包括:The user terminal according to claim 9 or 10, wherein the user terminal further comprises:
    第三检测模块,用于在所述第一调节模块根据所述触摸时长对应的音量调节量对当前音量进行调节之后,检测调节后的音量是否大于第一预设音量值;a third detecting module, configured to detect, after the first adjusting module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, whether the adjusted volume is greater than the first preset volume value;
    第四检测模块,用于当所述第三检测模块检测所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;a fourth detecting module, configured to detect whether a headset is accessed when the third detecting module detects that the adjusted volume is greater than the first preset volume value;
    第二调节模块,用于当所述第四检测模块检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。a second adjustment module, configured to adjust a current volume value to a second preset volume value when the fourth detection module detects that the earphone is accessed, where the second preset volume value is smaller than the first preset Volume value.
  14. 根据权利要求9或10所述的用户终端,其特征在于,所述用户终端还包括: The user terminal according to claim 9 or 10, wherein the user terminal further comprises:
    第二获取模块,用于在所述第一调节模块根据所述触摸时长对应的音量调节量对当前音量进行调节之后,获取当前环境的第一噪声音量;a second acquiring module, configured to acquire a first noise volume of the current environment after the first adjusting module adjusts the current volume according to the volume adjustment amount corresponding to the touch duration;
    第五检测模块,用于检测用户在触摸屏进行的向目标方向的多点滑动操作;a fifth detecting module, configured to detect a multi-point sliding operation performed by the user on the touch screen to the target direction;
    第三判断模块,用于判断所述多点滑动操作的每一触摸点的压力值是否均大于预设压力值;a third determining module, configured to determine whether a pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
    第三获取模块,用于当所述第三判断模块判断所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;a third acquiring module, configured to: when the third determining module determines that the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, acquire a second noise volume of the current environment, and An absolute value of the difference between the second noise volume and the first noise volume is used as a synchronous volume adjustment amount;
    第三调节模块,用于根据所述同步音量调节量对当前音量进行调节。The third adjustment module is configured to adjust the current volume according to the synchronous volume adjustment amount.
  15. 一种用户终端,包括处理器,以及与所述处理器相连接的存储器,其特征在于,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:A user terminal, comprising a processor, and a memory connected to the processor, wherein the memory stores a set of program codes, the processor is configured to invoke program code stored in the memory, and execute The following operations:
    检测对触摸屏进行触摸输入的触摸参数,所述触摸参数包括触摸区域以及触摸时长;Detecting a touch parameter of a touch input to the touch screen, the touch parameter including a touch area and a touch duration;
    判断所述触摸区域的中心点的移动方向是否与预设方向相匹配;Determining whether a moving direction of a center point of the touch area matches a preset direction;
    当所述触摸区域的中心点的移动方向与所述预设方向相匹配时,根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量;Obtaining a volume adjustment amount corresponding to the touch duration according to a correspondence between a preset duration and a volume adjustment amount, when a moving direction of the center point of the touch area matches the preset direction;
    根据所述触摸时长对应的音量调节量对当前音量进行调节。The current volume is adjusted according to the volume adjustment amount corresponding to the touch duration.
  16. 根据权利要求15所述的用户终端,其特征在于,所述触摸参数还包括所述触摸区域的受力中心点的位置,所述处理器在判断所述触摸区域的中心点的移动方向与预设方向相匹配之后,还可执行以下操作:The user terminal according to claim 15, wherein the touch parameter further comprises a position of a force center point of the touch area, and the processor determines a moving direction of the center point of the touch area and a pre- After setting the directions to match, you can also do the following:
    判断所述触摸区域的受力中心点的位置的移动方向是否与所述预设方向相匹配;Determining whether a moving direction of a position of the force receiving center point of the touch area matches the preset direction;
    当所述触摸区域的受力中心点的位置的移动方向与所述预设方向相匹配时,所述处理器根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。 When the moving direction of the position of the force receiving center point of the touch area matches the preset direction, the processor acquires a correspondence corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount. Volume adjustment amount.
  17. 根据权利要求15所述的用户终端,其特征在于,所述预设方向包括第一预设方向和第二预设方向,所述第一预设方向和所述第二预设方向不同,当所述触摸区域的中心点的移动方向与所述第一预设方向相匹配时,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节的方式具体为:The user terminal according to claim 15, wherein the preset direction comprises a first preset direction and a second preset direction, and the first preset direction and the second preset direction are different, when When the moving direction of the center point of the touch area matches the first preset direction, the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration:
    根据所述触摸时长对应的音量调节量对当前音量进行减小;Decrease the current volume according to the volume adjustment amount corresponding to the touch duration;
    当所述触摸区域的中心点的移动方向与所述第二预设方向相匹配时,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节的方式具体为:When the moving direction of the center point of the touch area matches the second preset direction, the manner in which the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration is specifically:
    根据所述触摸时长对应的音量调节量对当前音量进行增大。The current volume is increased according to the volume adjustment amount corresponding to the touch duration.
  18. 根据权利要求17所述的用户终端,其特征在于,所述处理器在判断所述触摸区域的中心点的移动方向与所述第二预设方向相匹配之后,还可执行以下操作:The user terminal according to claim 17, wherein after the processor determines that the moving direction of the center point of the touch area matches the second preset direction, the processor may further perform the following operations:
    检测当前电量值是否超过预设电量值;Check if the current power value exceeds the preset power value;
    当所述当前电量值超过所述预设电量值时,所述处理器根据预设的时长与音量调节量的对应关系,获取与所述触摸时长对应的音量调节量。When the current power value exceeds the preset power value, the processor acquires a volume adjustment amount corresponding to the touch duration according to a preset relationship between the preset duration and the volume adjustment amount.
  19. 根据权利要求15或16所述的用户终端,其特征在于,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节之后,还可执行以下操作:The user terminal according to claim 15 or 16, wherein after the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, the following operations may also be performed:
    检测调节后的音量是否大于第一预设音量值;Detecting whether the adjusted volume is greater than the first preset volume value;
    当所述调节后的音量大于所述第一预设音量值时,检测是否有耳机接入;When the adjusted volume is greater than the first preset volume value, detecting whether there is a headset access;
    当检测到有耳机接入时,将当前音量值调节为第二预设音量值,所述第二预设音量值小于所述第一预设音量值。When it is detected that there is a headset access, the current volume value is adjusted to a second preset volume value, and the second preset volume value is smaller than the first preset volume value.
  20. 根据权利要求15或16所述的用户终端,其特征在于,所述处理器根据所述触摸时长对应的音量调节量对当前音量进行调节之后,还可执行以下操作: The user terminal according to claim 15 or 16, wherein after the processor adjusts the current volume according to the volume adjustment amount corresponding to the touch duration, the following operations may also be performed:
    获取当前环境的第一噪声音量;Obtaining the first noise level of the current environment;
    检测用户在触摸屏进行的向目标方向的多点滑动操作;Detecting a multi-point sliding operation of the user on the touch screen to the target direction;
    判断所述多点滑动操作的每一触摸点的压力值是否均大于预设压力值;Determining whether the pressure value of each touch point of the multi-point sliding operation is greater than a preset pressure value;
    当所述多点滑动操作的每一触摸点的压力值均大于所述预设压力值时,获取当前环境的第二噪声音量,并将所述第二噪声音量与所述第一噪声音量的差值的绝对值作为同步音量调节量;Obtaining a second noise volume of the current environment when the pressure value of each touch point of the multi-point sliding operation is greater than the preset pressure value, and the second noise volume and the first noise volume The absolute value of the difference is used as the synchronous volume adjustment amount;
    根据所述同步音量调节量对当前音量进行调节。 The current volume is adjusted according to the synchronized volume adjustment amount.
PCT/CN2016/080575 2015-08-27 2016-04-28 Volume adjustment method and user terminal WO2017032031A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510541544.3 2015-08-27
CN201510541544.3A CN105242866B (en) 2015-08-27 2015-08-27 A kind of volume adjusting method and user terminal

Publications (1)

Publication Number Publication Date
WO2017032031A1 true WO2017032031A1 (en) 2017-03-02

Family

ID=55040531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080575 WO2017032031A1 (en) 2015-08-27 2016-04-28 Volume adjustment method and user terminal

Country Status (2)

Country Link
CN (1) CN105242866B (en)
WO (1) WO2017032031A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111820710A (en) * 2019-04-22 2020-10-27 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance and function state setting method thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242866B (en) * 2015-08-27 2018-03-27 广东欧珀移动通信有限公司 A kind of volume adjusting method and user terminal
CN105786380A (en) * 2016-02-22 2016-07-20 钟林 Method and device for operating technical parameter adjustment of intelligent television through orientation gestures
CN105955658A (en) * 2016-05-23 2016-09-21 广东欧珀移动通信有限公司 Method and apparatus for interaction by curved surface screen and mobile terminal
CN113727231B (en) * 2020-05-25 2023-03-03 华为技术有限公司 Earphone volume adjusting method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860584A (en) * 2009-04-09 2010-10-13 宏达国际电子股份有限公司 Mobile communication device and method for deciding output thereof
CN103984499A (en) * 2014-05-19 2014-08-13 联想(北京)有限公司 Action command control method and electronic equipment
CN104102441A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Menuitem executing method and device
CN105242866A (en) * 2015-08-27 2016-01-13 广东欧珀移动通信有限公司 Volume adjustment method and user terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915751A (en) * 2012-09-26 2013-02-06 广东欧珀移动通信有限公司 Method for automatically regulating sound volume and terminal equipment thereof
CN104571650A (en) * 2013-10-09 2015-04-29 鸿富锦精密工业(深圳)有限公司 Backlight brightness and volume adjusting system and method
CN104869218A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Information processing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860584A (en) * 2009-04-09 2010-10-13 宏达国际电子股份有限公司 Mobile communication device and method for deciding output thereof
CN104102441A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Menuitem executing method and device
CN103984499A (en) * 2014-05-19 2014-08-13 联想(北京)有限公司 Action command control method and electronic equipment
CN105242866A (en) * 2015-08-27 2016-01-13 广东欧珀移动通信有限公司 Volume adjustment method and user terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111820710A (en) * 2019-04-22 2020-10-27 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance and function state setting method thereof

Also Published As

Publication number Publication date
CN105242866B (en) 2018-03-27
CN105242866A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
WO2017032030A1 (en) Volume adjusting method and user terminal
WO2017032031A1 (en) Volume adjustment method and user terminal
KR102217641B1 (en) Electronic device and method for controlling audio input/output
US9596333B2 (en) Speakerphone control for mobile device
KR102127640B1 (en) Portable teriminal and sound output apparatus and method for providing locations of sound sources in the portable teriminal
WO2017032032A1 (en) Screen brightness adjusting method and user terminal
CN107105367B (en) Audio signal processing method and terminal
CN105657125B (en) A kind of method and apparatus for adjusting In Call
US10461712B1 (en) Automatic volume leveling
WO2017032012A1 (en) Volume adjusting method and user terminal
WO2017215657A1 (en) Sound effect processing method, and terminal device
US10027299B2 (en) Volume control
WO2017181365A1 (en) Earphone channel control method, related apparatus, and system
CN107122161B (en) Audio data playing control method and terminal
CN107613146B (en) Volume adjustment method and device and mobile terminal
US9398130B2 (en) Mobile terminal and method for controlling answer mode of the mobile terminal and non-transitory computer-readable storage medium
WO2017032158A1 (en) Method and device for adjusting call volume and terminal
WO2021008458A1 (en) Method for voice recognition via earphone and earphone
CN110691300B (en) Audio playing device and method for providing information
TW201944251A (en) Volume adjustment method and apparatus, electronic device and storage medium
US20160259419A1 (en) Techniques for controlling devices based on user proximity
CN106603801B (en) Call recording method and device
CN111131957A (en) Volume control method, terminal and readable storage medium
CN104134440A (en) Voice detection method and device used for portable terminal
CN106126179B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16838293

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16838293

Country of ref document: EP

Kind code of ref document: A1