[go: up one dir, main page]

CN106201311A - A kind of method regulating volume and mobile terminal - Google Patents

A kind of method regulating volume and mobile terminal Download PDF

Info

Publication number
CN106201311A
CN106201311A CN201610512409.0A CN201610512409A CN106201311A CN 106201311 A CN106201311 A CN 106201311A CN 201610512409 A CN201610512409 A CN 201610512409A CN 106201311 A CN106201311 A CN 106201311A
Authority
CN
China
Prior art keywords
preset
volume adjustment
adjustment amount
volume
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610512409.0A
Other languages
Chinese (zh)
Inventor
孙玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610512409.0A priority Critical patent/CN106201311A/en
Publication of CN106201311A publication Critical patent/CN106201311A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供一种调节音量的方法及移动终端,其中,所述调节音量的方法包括:若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节,获取所述用户在预设音量调节区域上输入的滑动轨迹,根据所述滑动轨迹,确定音量调节量,并基于所述音量调节量,对当前音量进行调节。本发明的方案,能够简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,提升用户的使用体验。

The present invention provides a method for adjusting the volume and a mobile terminal, wherein the method for adjusting the volume includes: if it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset value on the touch screen Set the operation to enable volume adjustment, acquire the sliding track input by the user on the preset volume adjustment area, determine the volume adjustment amount according to the sliding track, and adjust the current volume based on the volume adjustment amount. The solution of the present invention can realize the adjustment of the current volume simply and conveniently without visual inspection, even if the mobile terminal is in a pocket or backpack, the adjustment of the current volume can be realized, thereby improving user experience.

Description

一种调节音量的方法及移动终端Method and mobile terminal for adjusting volume

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种调节音量的方法及移动终端。The invention relates to the field of communication technology, in particular to a method for adjusting volume and a mobile terminal.

背景技术Background technique

当前移动终端,例如手机或者pad等,在调节音量时可借助触摸屏上的音量调节条等来实现,以将音量调节到最佳。At present, mobile terminals, such as mobile phones or pads, etc., can adjust the volume by means of the volume adjustment bar on the touch screen, so as to adjust the volume to the best.

但是,这种借助触摸屏调节音量的方式需要用户在激活移动终端的音量调节功能时,目视触摸屏,且在对音量进行调节,也要目视触摸屏,如果不目视触摸屏即盲调,就很难将音量调节到想要的大小。However, this method of adjusting the volume with the help of the touch screen requires the user to look at the touch screen when activating the volume adjustment function of the mobile terminal, and also to look at the touch screen when adjusting the volume. Difficult to adjust the volume to the desired level.

发明内容Contents of the invention

本发明实施例提供一种调节音量的方法及移动终端,以解决现有的借助触摸屏调节音量的方式很难实现盲调的问题。Embodiments of the present invention provide a method for adjusting volume and a mobile terminal, so as to solve the problem that it is difficult to realize blind adjustment in the existing method of adjusting volume by means of a touch screen.

一方面,本发明实施例提供一种调节音量的方法,包括:On the one hand, an embodiment of the present invention provides a method for adjusting volume, including:

若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节;If it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, the volume adjustment is turned on;

获取所述用户在预设音量调节区域上输入的滑动轨迹;Acquiring the sliding track input by the user on the preset volume adjustment area;

根据所述滑动轨迹,确定音量调节量;Determine the volume adjustment amount according to the slide track;

基于所述音量调节量,对当前音量进行调节。Based on the volume adjustment amount, the current volume is adjusted.

另一方面,本发明实施例还提供一种移动终端,包括:On the other hand, an embodiment of the present invention also provides a mobile terminal, including:

开启模块,用于在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作时,开启音量调节;The opening module is used to open the volume adjustment when it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and the user inputs a preset operation on the touch screen;

获取模块,用于获取所述用户在预设音量调节区域上输入的滑动轨迹;An acquisition module, configured to acquire the sliding track input by the user on the preset volume adjustment area;

确定模块,用于根据所述获取模块获取的滑动轨迹,确定音量调节量;A determining module, configured to determine the volume adjustment amount according to the sliding track acquired by the acquiring module;

调节模块,用于基于所述确定模块确定的音量调节量,对当前音量进行调节。An adjustment module, configured to adjust the current volume based on the volume adjustment amount determined by the determination module.

这样,本发明实施例的调节音量的方法,通过若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节,获取所述用户在预设音量调节区域上输入的滑动轨迹,根据所述滑动轨迹,确定音量调节量,并基于所述音量调节量,对当前音量进行调节,能够简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,提升用户的使用体验。In this way, in the method for adjusting the volume in the embodiment of the present invention, if it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, the volume adjustment is turned on, and the described According to the sliding track input by the user on the preset volume adjustment area, the volume adjustment amount is determined according to the sliding track, and the current volume is adjusted based on the volume adjustment amount, which can easily and conveniently realize the adjustment of the current volume without Visually, even if the mobile terminal is in a pocket or a backpack, the current volume can be adjusted to improve the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required in the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1表示本发明第一实施例的调节音量的方法的流程图。FIG. 1 shows a flowchart of a method for adjusting volume according to a first embodiment of the present invention.

图2A表示本发明第二实施例的调节音量的方法的流程图。FIG. 2A shows a flowchart of a method for adjusting volume according to a second embodiment of the present invention.

图2B表示本发明第二实施例的预设圆形触摸区域的示意图。FIG. 2B is a schematic diagram of a preset circular touch area according to the second embodiment of the present invention.

图3表示本发明第三实施例的调节音量的方法的流程图。FIG. 3 shows a flowchart of a method for adjusting volume according to a third embodiment of the present invention.

图4表示本发明第四实施例的调节音量的方法的流程图。FIG. 4 shows a flowchart of a method for adjusting volume according to a fourth embodiment of the present invention.

图5表示本发明第五实施例的移动终端的结构示意图之一。Fig. 5 shows one of the schematic structural diagrams of the mobile terminal according to the fifth embodiment of the present invention.

图6表示本发明第五实施例的移动终端的结构示意图之二。Fig. 6 shows the second structural schematic diagram of the mobile terminal according to the fifth embodiment of the present invention.

图7表示本发明第五实施例的移动终端的结构示意图之三。Fig. 7 shows the third schematic structural diagram of the mobile terminal according to the fifth embodiment of the present invention.

图8表示本发明第五实施例的移动终端的结构示意图之四。FIG. 8 shows the fourth schematic structural diagram of the mobile terminal according to the fifth embodiment of the present invention.

图9表示本发明第六实施例的移动终端的结构示意图。FIG. 9 shows a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention.

具体实施方式detailed description

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required in the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

第一实施例first embodiment

参见图1所示,本发明实施例提供一种调节音量的方法,应用于一移动终端,包括步骤101~步骤104,详述如下。Referring to FIG. 1 , an embodiment of the present invention provides a method for adjusting volume, which is applied to a mobile terminal, and includes steps 101 to 104, which are described in detail as follows.

步骤101:若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节。Step 101: If it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, turn on volume adjustment.

本发明实施例中,为了避免对音量进行误调节也为了实现盲调,可在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作后,再开启移动终端的音量调节功能。In the embodiment of the present invention, in order to avoid misadjustment of the volume and realize blind adjustment, after detecting that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and detecting that the user inputs a preset operation on the touch screen , and then enable the volume adjustment function of the mobile terminal.

其中,所述预设感知区域例如为以移动终端的耳机插口为中心的扇形感知区域,所述预设操作例如为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘,本发明不对其进行限制。Wherein, the preset sensing area is, for example, a fan-shaped sensing area centered on the earphone jack of the mobile terminal, and the preset operation is, for example, sliding from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal. The invention is not limited thereto.

步骤102:获取所述用户在预设音量调节区域上输入的滑动轨迹。Step 102: Obtain the sliding track input by the user on the preset volume adjustment area.

本发明实施例中,所述预设音量调节区域具体是预先设置的用于调节音量的触摸屏区域。当用户要调节音量时,可在所述预设音量调节区域上输入滑动轨迹,以根据终端设置的调节音量的方式,进行音量调节。In the embodiment of the present invention, the preset volume adjustment area is specifically a preset touch screen area for adjusting volume. When the user wants to adjust the volume, he can input a sliding track on the preset volume adjustment area, and adjust the volume according to the volume adjustment mode set by the terminal.

其中,所述预设音量调节区域例如为预设圆形触摸区域,或者移动终端的触摸屏区域等,本发明不对其进行限制。Wherein, the preset volume adjustment area is, for example, a preset circular touch area, or a touch screen area of a mobile terminal, etc., which are not limited in the present invention.

步骤103:根据所述滑动轨迹,确定音量调节量。Step 103: Determine the volume adjustment amount according to the slide track.

本发明实施例中,在获取到用户在所述预设音量调节区域上输入的滑动轨迹后,可根据所述滑动轨迹,确定用于调节音量的所述音量调节量。In the embodiment of the present invention, after the sliding track input by the user on the preset volume adjustment area is acquired, the volume adjustment amount for adjusting the volume may be determined according to the sliding track.

其中,确定所述音量调节量主要是确定所述音量调节量的正负和大小。所述音量调节量的正负与所述滑动轨迹的滑动方向有关,如果所述滑动方向与预设方向一致,所述音量调节量就为正,如果所述滑动方向与所述预设方向不一致,所述音量调节量就为负。所述音量调节量的大小与所述滑动轨迹跨过的范围有关,即跨过的范围越大,所述音量调节量的调节幅度越大。Wherein, determining the volume adjustment amount is mainly to determine the positive, negative, and magnitude of the volume adjustment amount. The positive or negative of the volume adjustment amount is related to the sliding direction of the sliding track, if the sliding direction is consistent with the preset direction, the volume adjustment amount is positive, and if the sliding direction is inconsistent with the preset direction , the volume adjustment amount is negative. The size of the volume adjustment amount is related to the range spanned by the sliding track, that is, the larger the spanned range, the larger the adjustment range of the volume adjustment amount.

步骤104:基于所述音量调节量,对当前音量进行调节。Step 104: Adjust the current volume based on the volume adjustment amount.

具体的,在确定所述音量调节量之后,就可利用所述音量调节量修正当前的音量,使其满足用户的要求。Specifically, after the volume adjustment amount is determined, the volume adjustment amount can be used to modify the current volume to meet the user's requirements.

需要说明的是,如果所述移动终端与可穿戴设备例如手表等连接,则可以将所述步骤101~步骤103放至所述可穿戴设备中执行,仅所述步骤104在所述移动终端中执行,以简化移动终端的处理操作,方便调节。It should be noted that if the mobile terminal is connected to a wearable device such as a watch, the steps 101 to 103 can be implemented in the wearable device, and only the step 104 is performed in the mobile terminal. Execute to simplify the processing operation of the mobile terminal and facilitate the adjustment.

本发明实施例的调节音量的方法,通过若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节,获取所述用户在预设音量调节区域上输入的滑动轨迹,根据所述滑动轨迹,确定音量调节量,并基于所述音量调节量,对当前音量进行调节,能够简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,提升用户的使用体验。In the method for adjusting the volume in the embodiment of the present invention, if it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, the volume adjustment is turned on, and the user’s current status is obtained. The sliding trajectory input on the preset volume adjustment area, according to the sliding trajectory, determines the volume adjustment amount, and adjusts the current volume based on the volume adjustment amount, which can easily and conveniently realize the adjustment of the current volume without visual inspection , even if the mobile terminal is in a pocket or a backpack, the current volume can be adjusted to improve user experience.

第三实施例third embodiment

参见图2A所示,本发明实施例还提供一种调节音量的方法,应用于一移动终端,包括步骤201~步骤208,详述如下。Referring to FIG. 2A , an embodiment of the present invention also provides a method for adjusting volume, which is applied to a mobile terminal, and includes steps 201 to 208 , which are described in detail as follows.

步骤201:若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节。Step 201: If it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, turn on volume adjustment.

本发明实施例中,为了避免对音量进行误调节也为了实现盲调,可在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作后,再开启移动终端的音量调节功能。In the embodiment of the present invention, in order to avoid misadjustment of the volume and realize blind adjustment, after detecting that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and detecting that the user inputs a preset operation on the touch screen , and then enable the volume adjustment function of the mobile terminal.

其中,所述预设感知区域例如为以移动终端的耳机插口为中心的扇形感知区域,所述预设操作例如为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘,本发明不对其进行限制。Wherein, the preset sensing area is, for example, a fan-shaped sensing area centered on the earphone jack of the mobile terminal, and the preset operation is, for example, sliding from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal. The invention is not limited thereto.

步骤202:获取所述用户在预设圆形触摸区域上输入的滑动轨迹。Step 202: Obtain the sliding track input by the user on the preset circular touch area.

本发明实施例中,所述预设圆形触摸区域具体为在移动终端的触摸屏上预设的圆形区域,可以处于移动终端触摸屏的靠中间位置或边缘位置等。In the embodiment of the present invention, the preset circular touch area is specifically a preset circular area on the touch screen of the mobile terminal, which may be located near the middle or edge of the touch screen of the mobile terminal.

例如,参见图2B所示,所述预设圆形触摸区域2正好处于移动终端触摸屏1的靠中间位置。For example, referring to FIG. 2B , the preset circular touch area 2 is just in the middle of the touch screen 1 of the mobile terminal.

步骤203:判断所述滑动轨迹的滑动方向与一预设方向是否一致。Step 203: Determine whether the sliding direction of the sliding track is consistent with a preset direction.

本发明实施例中,所述预设方向例如为顺时针方向。这样,如果所述滑动轨迹的滑动方向为顺时针方向,就与所述预设方向一致,如果所述滑动轨迹的滑动方向为逆时针方向,就与所述预设方向相反,即不一致。In the embodiment of the present invention, the preset direction is, for example, a clockwise direction. In this way, if the sliding direction of the sliding track is clockwise, it is consistent with the preset direction, and if the sliding direction of the sliding track is counterclockwise, it is opposite to the preset direction, that is, inconsistent.

需要说明的是,所述预设方向也可为逆时针方向等,本发明不对其进行限制。It should be noted that the preset direction may also be a counterclockwise direction, which is not limited in the present invention.

步骤204:若所述滑动方向与所述预设方向一致,确定所述音量调节量为正。或者,步骤205:若所述滑动方向与所述预设方向不一致,确定所述音量调节量为负。Step 204: If the sliding direction is consistent with the preset direction, determine that the volume adjustment amount is positive. Alternatively, step 205: If the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative.

具体的,根据终端设置,参见图2B所示,在所述预设方向为顺时针方向的情况下,如果所述滑动方向为顺时针方向,就确定所述音量调节量为正(+),而如果所述滑动方向为逆时针方向,就确定所述音量调节量为负(-)。Specifically, according to terminal settings, as shown in FIG. 2B , in the case where the preset direction is clockwise, if the sliding direction is clockwise, it is determined that the volume adjustment amount is positive (+), And if the sliding direction is counterclockwise, it is determined that the volume adjustment amount is negative (-).

步骤206:确定所述滑动轨迹在所述预设圆形触摸区域中跨过的第一弧度。Step 206: Determine a first arc spanned by the sliding track in the preset circular touch area.

本发明实施例中,在获取到所述滑动轨迹后,根据所述滑动轨迹在所述预设圆形触摸区域中的位置,即可确定所述滑动轨迹在所述预设圆形触摸区域中跨过的弧度。In the embodiment of the present invention, after the sliding track is acquired, it can be determined that the sliding track is in the preset circular touch area according to the position of the sliding track in the preset circular touch area The arc spanned.

其中,弧度是角的度量单位。根据定义,弧长等于半径的弧,其所对应的圆心角为1弧度,即圆形的一周的弧度等于2π。where radians are the unit of measure for angles. According to the definition, the arc whose arc length is equal to the radius corresponds to a central angle of 1 radian, that is, the arc of a circle is equal to 2π.

步骤207:根据所述第一弧度与预设弧度单元的比值,确定所述音量调节量的大小。Step 207: Determine the volume adjustment amount according to the ratio of the first radian to a preset radian unit.

本发明实施例中,所述预设弧度单元具体是每个音量级跨过的弧度,其确定方式为:2π/音量级数。例如,参见图2B所示,所述音量级数是8,这样,所述预设弧度单元就是1/4π。In the embodiment of the present invention, the preset arc unit is specifically the arc spanned by each volume level, and its determination method is: 2π/number of volume levels. For example, referring to FIG. 2B , the volume level is 8, so the preset arc unit is 1/4π.

其中,根据用户需求,所述音量级数是移动终端中预先设置的,每个音量级对应的音量增加量也是预先设置的。所述音量调节量的大小等于所述第一弧度跨过的音量级数乘以每个音量级对应的音量增加量。Wherein, according to user requirements, the volume level is preset in the mobile terminal, and the volume increase corresponding to each volume level is also preset. The magnitude of the volume adjustment amount is equal to the volume level spanned by the first arc multiplied by the volume increase amount corresponding to each volume level.

需要说明的是,步骤207在确定所述音量调节量的大小时,依据的是所述第一弧度与所述预设弧度单元的比值取整。举例来说,所述第一弧度为7/8π,所述预设弧度单元为1/4π,那么,所述第一弧度与所述预设弧度单元的比值就是7/2,相应的比值取整为3,即所述第一弧度跨过3个音量级;在确定对应的音量调节量时,就是3乘以每个音量级对应的音量增加量。It should be noted that, when determining the volume adjustment amount in step 207, the ratio of the first radian to the preset radian unit is rounded to an integer. For example, the first radian is 7/8π, and the preset radian unit is 1/4π, then the ratio of the first radian to the preset radian unit is 7/2, and the corresponding ratio is The whole is 3, that is, the first arc spans 3 volume levels; when determining the corresponding volume adjustment amount, it is 3 multiplied by the volume increase amount corresponding to each volume level.

步骤208:基于所述音量调节量的正负和大小,对所述当前音量进行调节。Step 208: Adjust the current volume based on the sign and magnitude of the volume adjustment amount.

本发明实施例中,在对所述当前音量进行调节时,如果所述音量调节量为正,就增强当前音量,而如果所述音量调节量为负,就减弱当前音量。所述音量调节量的大小指的是对当前音量的调节幅度。In the embodiment of the present invention, when the current volume is adjusted, if the volume adjustment amount is positive, the current volume is increased, and if the volume adjustment amount is negative, the current volume is decreased. The size of the volume adjustment amount refers to the adjustment range of the current volume.

本发明实施例的调节音量的方法,借助用户在预设圆形触摸区域上输入的滑动轨迹,能够快速准确地确定出音量调节量的正负和大小,简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,提升用户的使用体验。The method for adjusting the volume of the embodiment of the present invention can quickly and accurately determine the positive and negative of the volume adjustment amount and the size by means of the sliding track input by the user on the preset circular touch area, and realize the adjustment of the current volume simply and conveniently. Even if the mobile terminal is in your pocket or backpack, you can adjust the current volume without looking at it, improving the user experience.

第三实施例third embodiment

参见图3所示,本发明实施例还提供一种调节音量的方法,应用于一移动终端,包括步骤301~步骤309,详述如下。Referring to FIG. 3 , the embodiment of the present invention also provides a method for adjusting volume, which is applied to a mobile terminal, including steps 301 to 309 , which are described in detail as follows.

步骤301:若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节。Step 301: If it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, turn on volume adjustment.

本发明实施例中,为了避免对音量进行误调节也为了实现盲调,可在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作后,再开启移动终端的音量调节功能。In the embodiment of the present invention, in order to avoid misadjustment of the volume and realize blind adjustment, after detecting that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and detecting that the user inputs a preset operation on the touch screen , and then enable the volume adjustment function of the mobile terminal.

其中,所述预设感知区域例如为以移动终端的耳机插口为中心的扇形感知区域,所述预设操作例如为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘,本发明不对其进行限制。Wherein, the preset sensing area is, for example, a fan-shaped sensing area centered on the earphone jack of the mobile terminal, and the preset operation is, for example, sliding from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal. The invention is not limited thereto.

步骤302:获取所述用户在移动终端的触摸屏区域上输入的滑动轨迹。Step 302: Obtain the sliding track input by the user on the touch screen area of the mobile terminal.

本发明实施例中,步骤302所指的触摸屏区域可以是移动终端的整个触摸屏区域。In the embodiment of the present invention, the touch screen area referred to in step 302 may be the entire touch screen area of the mobile terminal.

步骤303:判断所述滑动轨迹的滑动方向与一预设方向是否一致。Step 303: Determine whether the sliding direction of the sliding track is consistent with a preset direction.

本发明实施例中,所述预设方向例如为顺时针方向。这样,如果所述滑动轨迹的滑动方向为顺时针方向,就与所述预设方向一致,如果所述滑动轨迹的滑动方向为逆时针方向,就与所述预设方向相反,即不一致。In the embodiment of the present invention, the preset direction is, for example, a clockwise direction. In this way, if the sliding direction of the sliding track is clockwise, it is consistent with the preset direction, and if the sliding direction of the sliding track is counterclockwise, it is opposite to the preset direction, that is, inconsistent.

需要说明的是,所述预设方向也可为逆时针方向等,本发明不对其进行限制。It should be noted that the preset direction may also be a counterclockwise direction, which is not limited in the present invention.

步骤304:若所述滑动方向与所述预设方向一致,确定所述音量调节量为正。或者,步骤305:若所述滑动方向与所述预设方向不一致,确定所述音量调节量为负。Step 304: If the sliding direction is consistent with the preset direction, determine that the volume adjustment amount is positive. Alternatively, step 305: If the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative.

具体的,根据终端设置,如果所述滑动方向与所述预设方向一致,就确定所述音量调节量为正,而如果所述滑动方向与所述预设方向不一致,就确定所述音量调节量为负。Specifically, according to terminal settings, if the sliding direction is consistent with the preset direction, it is determined that the volume adjustment amount is positive, and if the sliding direction is inconsistent with the preset direction, it is determined that the volume adjustment amount is positive. Quantity is negative.

步骤306:根据所述滑动轨迹的起始点和结束点,以及一预设直径,确定所述滑动轨迹对应的圆形触摸区域,且确定所述滑动轨迹在所述圆形触摸区域中跨过的第二弧度。Step 306: Determine the circular touch area corresponding to the slide track according to the start point and end point of the slide track, and a preset diameter, and determine the distance spanned by the slide track in the circular touch area Second arc.

本发明实施例中,根据所述滑动轨迹的起始点和结束点,以及一预设直径,确定所述滑动轨迹对应的圆形触摸区域具体是:以所述滑动轨迹的起始点和结束点为两个端点,以移动终端中预先设置的直径为直径,形成所述滑动轨迹对应的圆形触摸区域。在确定所述圆形触摸区域后,就可确定所述滑动轨迹在所形成的圆形触摸区域中跨过的弧度。In the embodiment of the present invention, according to the starting point and the ending point of the sliding track, and a preset diameter, determining the circular touch area corresponding to the sliding track is specifically: taking the starting point and the ending point of the sliding track as The two endpoints use the preset diameter in the mobile terminal as the diameter to form a circular touch area corresponding to the sliding track. After the circular touch area is determined, the arc spanned by the sliding track in the formed circular touch area can be determined.

其中,弧度是角的度量单位。根据定义,弧长等于半径的弧,其所对应的圆心角为1弧度,即圆形的一周的弧度等于2π。where radians are the unit of measure for angles. According to the definition, the arc whose arc length is equal to the radius corresponds to a central angle of 1 radian, that is, the arc of a circle is equal to 2π.

需要说明的是,由于所述滑动轨迹的起始点和结束点是确定的,所述预设直径也是预先确定的,所述,所述步骤306确定的第二弧度是唯一确定的。It should be noted that since the starting point and the ending point of the sliding track are determined, the preset diameter is also predetermined, and the second arc determined in step 306 is uniquely determined.

步骤307:根据所述第二弧度与预设弧度单元的比值,确定所述音量调节量的大小。Step 307: Determine the volume adjustment amount according to the ratio of the second radian to a preset radian unit.

本发明实施例中,所述预设弧度单元具体是每个音量级跨过的弧度,其确定方式为:2π/音量级数。In the embodiment of the present invention, the preset arc unit is specifically the arc spanned by each volume level, and its determination method is: 2π/number of volume levels.

其中,根据用户需求,所述音量级数是移动终端中预先设置的,每个音量级对应的音量增加量也是预先设置的。所述音量调节量的大小等于所述第二弧度跨过的音量级数乘以每个音量级对应的音量增加量。Wherein, according to user requirements, the volume level is preset in the mobile terminal, and the volume increase corresponding to each volume level is also preset. The magnitude of the volume adjustment amount is equal to the volume level spanned by the second arc multiplied by the volume increase amount corresponding to each volume level.

需要说明的是,步骤307在确定所述音量调节量的大小时,依据的是所述第二弧度与所述预设弧度单元的比值取整。举例来说,所述第二弧度为5/8π,所述预设弧度单元为1/4π,那么,所述第二弧度与所述预设弧度单元的比值就是5/2,相应的比值取整为2,即所述第二弧度跨过2个音量级;在确定对应的音量调节量时,就是2乘以每个音量级对应的音量增加量。It should be noted that, when determining the volume adjustment amount in step 307, the ratio of the second radian to the preset radian unit is rounded to an integer. For example, the second radian is 5/8π, and the preset radian unit is 1/4π, then the ratio of the second radian to the preset radian unit is 5/2, and the corresponding ratio is The whole is 2, that is, the second arc spans 2 volume levels; when determining the corresponding volume adjustment amount, it is 2 multiplied by the volume increase amount corresponding to each volume level.

步骤308:基于所述音量调节量的正负和大小,对所述当前音量进行调节。Step 308: Adjust the current volume based on the sign and magnitude of the volume adjustment amount.

本发明实施例中,在对所述当前音量进行调节时,如果所述音量调节量为正,就增强当前音量,而如果所述音量调节量为负,就减弱当前音量。所述音量调节量的大小指的是对当前音量的调节幅度。In the embodiment of the present invention, when the current volume is adjusted, if the volume adjustment amount is positive, the current volume is increased, and if the volume adjustment amount is negative, the current volume is decreased. The size of the volume adjustment amount refers to the adjustment range of the current volume.

步骤309:利用震动提醒所述用户。Step 309: Vibrating to remind the user.

本发明实施例中,在执行所述步骤308时,可同时执行所述步骤309。也就是说,在对当前音量进行调节时,同时以震动方式给予用户反馈。In the embodiment of the present invention, when step 308 is executed, step 309 may be executed simultaneously. That is to say, when the current volume is adjusted, feedback is given to the user in the form of vibration.

并且,以震动反馈的强弱来区分当前音量是增强还是减弱。具体的,所述音量调节量为正时的第一震动强度,比所述音量调节量为负时的第二震动强度大。Moreover, the strength of the vibration feedback is used to distinguish whether the current volume is increased or decreased. Specifically, the first vibration intensity when the volume adjustment amount is positive is greater than the second vibration intensity when the volume adjustment amount is negative.

本发明实施例的调节音量的方法,相比于第二实施例,扩展了音量调节区域,并不限于一个预设圆形触摸区域,而是根据滑动轨迹和预设直径进行动态调整,能够更加方便的实现对当前音量的调节,并以震动反馈提醒用户,更提升了用户的使用体验。Compared with the second embodiment, the volume adjustment method of the embodiment of the present invention expands the volume adjustment area, and is not limited to a preset circular touch area, but dynamically adjusted according to the sliding track and preset diameter, which can be more It is convenient to adjust the current volume, and remind the user with vibration feedback, which further improves the user experience.

第四实施例Fourth embodiment

参见图4所示,本发明实施例提供一种调节音量的方法,应用于一移动终端,包括步骤401~步骤406,详述如下。Referring to FIG. 4 , an embodiment of the present invention provides a method for adjusting volume, which is applied to a mobile terminal, and includes steps 401 to 406 , which are described in detail as follows.

步骤401:若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节。Step 401: If it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, turn on volume adjustment.

本发明实施例中,为了避免对音量进行误调节也为了实现盲调,可在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作后,再开启移动终端的音量调节功能。In the embodiment of the present invention, in order to avoid misadjustment of the volume and realize blind adjustment, after detecting that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and detecting that the user inputs a preset operation on the touch screen , and then enable the volume adjustment function of the mobile terminal.

其中,所述预设感知区域例如为以移动终端的耳机插口为中心的扇形感知区域,所述预设操作例如为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘,本发明不对其进行限制。Wherein, the preset sensing area is, for example, a fan-shaped sensing area centered on the earphone jack of the mobile terminal, and the preset operation is, for example, sliding from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal. The invention is not limited thereto.

步骤402:获取所述用户在预设音量调节区域上输入的滑动轨迹。Step 402: Obtain the sliding track input by the user on the preset volume adjustment area.

本发明实施例中,所述预设音量调节区域具体是预先设置的用于调节音量的触摸屏区域。当用户要调节音量时,可在所述预设音量调节区域上输入滑动轨迹,以根据终端设置的调节音量的方式,进行音量调节。In the embodiment of the present invention, the preset volume adjustment area is specifically a preset touch screen area for adjusting volume. When the user wants to adjust the volume, he can input a sliding track on the preset volume adjustment area, and adjust the volume according to the volume adjustment mode set by the terminal.

步骤403:根据所述滑动轨迹,确定音量调节量。Step 403: Determine the volume adjustment amount according to the slide track.

本发明实施例中,在获取到用户在所述预设音量调节区域上输入的滑动轨迹后,可根据所述滑动轨迹,确定用于调节音量的所述音量调节量。In the embodiment of the present invention, after the sliding track input by the user on the preset volume adjustment area is acquired, the volume adjustment amount for adjusting the volume may be determined according to the sliding track.

其中,确定所述音量调节量主要是确定所述音量调节量的正负和大小。所述音量调节量的正负与所述滑动轨迹的滑动方向有关,如果所述滑动方向与预设方向一致,所述音量调节量就为正,如果所述滑动方向与所述预设方向不一致,所述音量调节量就为负。所述音量调节量的大小与所述滑动轨迹跨过的范围有关,即跨过的范围越大,所述音量调节量的调节幅度越大。Wherein, determining the volume adjustment amount is mainly to determine the positive, negative, and magnitude of the volume adjustment amount. The positive or negative of the volume adjustment amount is related to the sliding direction of the sliding track, if the sliding direction is consistent with the preset direction, the volume adjustment amount is positive, and if the sliding direction is inconsistent with the preset direction , the volume adjustment amount is negative. The size of the volume adjustment amount is related to the range spanned by the sliding track, that is, the larger the spanned range, the larger the adjustment range of the volume adjustment amount.

步骤404:判断所述音量调节量是否小于一预设调节量阈值。Step 404: Determine whether the volume adjustment amount is smaller than a preset adjustment amount threshold.

本发明实施例中,为了避免用户因误操作将音量调节到很大,影响用户体验,可在移动终端中预先设置调节量阈值,以判断所述音量调节量是否小于所述预设调节量阈值。其中,在所述音量调节量小于所述预设调节量阈值时,可直接基于所述音量调节量,对所述当前音量进行调节。In the embodiment of the present invention, in order to prevent the user from adjusting the volume to a high level due to misoperation and affecting user experience, an adjustment threshold can be preset in the mobile terminal to determine whether the volume adjustment is less than the preset adjustment threshold . Wherein, when the volume adjustment amount is less than the preset adjustment amount threshold, the current volume may be adjusted directly based on the volume adjustment amount.

步骤405:若所述音量调节量小于所述预设调节量阈值,基于所述音量调节量,对所述当前音量进行调节。Step 405: If the volume adjustment amount is less than the preset adjustment amount threshold, adjust the current volume based on the volume adjustment amount.

具体的,在所述步骤404判断出所述音量调节量小于所述预设调节量阈值时,可直接基于所述音量调节量,对所述当前音量进行调节。Specifically, when it is determined in step 404 that the volume adjustment amount is less than the preset adjustment amount threshold, the current volume may be adjusted directly based on the volume adjustment amount.

步骤406:若所述音量调节量大于等于所述预设调节量阈值,禁止对所述当前音量进行调节。Step 406: If the volume adjustment amount is greater than or equal to the preset adjustment amount threshold, forbid to adjust the current volume.

具体的,在所述步骤404判断出所述音量调节量大于等于所述预设调节量阈值时,可禁止对所述当前音量进行调节。同时,以长时间震动形式反馈给用户。Specifically, when it is determined in step 404 that the volume adjustment amount is greater than or equal to the preset adjustment amount threshold, adjustment of the current volume may be prohibited. At the same time, feedback to the user in the form of long-term vibration.

需要说明的是,有时候用户确实想大幅度调节音量,不是误操作,这时可根据终端设置,只有连续预定次数确定的所述音量调节量都大于等于所述预设调节量阈值时,才基于所述音量调节量,对所述当前音量进行调节。It should be noted that sometimes the user really wants to adjust the volume greatly, and it is not a misuse. At this time, according to the terminal settings, only when the volume adjustments determined for a predetermined number of times in succession are greater than or equal to the preset adjustment threshold, the volume will be adjusted. The current volume is adjusted based on the volume adjustment amount.

其中,所述预定次数例如为2次,本发明不对其进行限制。Wherein, the predetermined number of times is, for example, 2 times, which is not limited in the present invention.

本发明实施例的调节音量的方法,通过加入对音量调节量的判断,不仅能够简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,还能够避免因误操作而将音量调节到很大,影响用户的使用体验。The method for adjusting the volume of the embodiment of the present invention, by adding the judgment of the volume adjustment, not only can realize the adjustment of the current volume simply and conveniently, without visual inspection, even if the mobile terminal is in a pocket or backpack, it can also realize the adjustment of the current volume. The adjustment of the volume can also prevent the volume from being adjusted to a large volume due to misoperation, which will affect the user experience.

第五实施例fifth embodiment

参见图5所示,本发明实施例提供一种移动终端,与图1所示的调节音量的方法相对应,所述移动终端包括开启模块51、获取模块52、确定模块53和调节模块54,详述如下。Referring to FIG. 5 , an embodiment of the present invention provides a mobile terminal, which corresponds to the volume adjustment method shown in FIG. Details are as follows.

其中,所述开启模块51,用于在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作时,开启音量调节。Wherein, the opening module 51 is configured to enable volume adjustment when it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and the user inputs a preset operation on the touch screen.

所述获取模块52,用于获取所述用户在预设音量调节区域上输入的滑动轨迹。The acquisition module 52 is configured to acquire the sliding track input by the user on the preset volume adjustment area.

所述确定模块53,用于根据所述获取模块52获取的滑动轨迹,确定音量调节量。The determination module 53 is configured to determine the volume adjustment amount according to the sliding track acquired by the acquisition module 52 .

所述调节模块54,用于基于所述确定模块53确定的音量调节量,对当前音量进行调节。The adjustment module 54 is configured to adjust the current volume based on the volume adjustment amount determined by the determination module 53 .

其中,所述预设操作为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘。Wherein, the preset operation is to slide from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal.

本发明实施例中,参见图6所示,所述调节模块54包括第一判断单元541和调节单元542。In the embodiment of the present invention, as shown in FIG. 6 , the adjustment module 54 includes a first judgment unit 541 and an adjustment unit 542 .

其中,所述第一判断单元541,用于判断所述音量调节量是否小于一预设调节量阈值;Wherein, the first judging unit 541 is configured to judge whether the volume adjustment amount is less than a preset adjustment amount threshold;

所述调节单元542,用于当所述第一判断单元541判断出所述音量调节量小于所述预设调节量阈值时,基于所述音量调节量,对所述当前音量进行调节。The adjusting unit 542 is configured to adjust the current volume based on the volume adjustment amount when the first judging unit 541 determines that the volume adjustment amount is less than the preset adjustment amount threshold.

其中,所述预设音量调节区域为预设圆形触摸区域,或者移动终端的触摸屏区域。Wherein, the preset volume adjustment area is a preset circular touch area, or a touch screen area of a mobile terminal.

本发明实施例中,当所述预设音量调节区域为所述预设圆形触摸区域时,参见图7所示,所述确定模块53包括第二判断单元531、第一确定单元532、第二确定单元533和第三确定单元534。In the embodiment of the present invention, when the preset volume adjustment area is the preset circular touch area, as shown in FIG. The second determination unit 533 and the third determination unit 534 .

其中,所述第二判断单元531,用于判断所述滑动轨迹的滑动方向与一预设方向是否一致。Wherein, the second judging unit 531 is configured to judge whether the sliding direction of the sliding track is consistent with a preset direction.

所述第一确定单元532,用于当所述第二判断单元531判断出所述滑动方向与所述预设方向一致时,确定所述音量调节量为正;或者,当所述第二判断单元531判断出所述滑动方向与所述预设方向不一致时,确定所述音量调节量为负。The first determination unit 532 is configured to determine that the volume adjustment amount is positive when the second determination unit 531 determines that the sliding direction is consistent with the preset direction; or, when the second determination unit 531 determines that the sliding direction is consistent with the preset direction; When the unit 531 determines that the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative.

所述第二确定单元533,用于确定所述滑动轨迹在所述预设圆形触摸区域中跨过的第一弧度。The second determining unit 533 is configured to determine a first arc spanned by the sliding track in the preset circular touch area.

所述第三确定单元534,用于根据所述第二确定单元533确定的第一弧度与预设弧度单元的比值,确定所述音量调节量的大小。The third determining unit 534 is configured to determine the volume adjustment amount according to the ratio of the first arc determined by the second determining unit 533 to the preset arc unit.

本发明实施例中,当所述预设音量调节区域为所述触摸屏区域时,参见图8所示,所述确定模块53包括第三判断单元535、第四确定单元536、第五确定单元537和第六确定单元538。In the embodiment of the present invention, when the preset volume adjustment area is the touch screen area, as shown in FIG. 8, the determination module 53 includes a third determination unit 535, a fourth determination unit 536, and a fifth determination unit 537 and the sixth determination unit 538 .

其中,所述第三判断单元535,用于判断所述滑动轨迹的方向与一预设方向是否一致。Wherein, the third judging unit 535 is configured to judge whether the direction of the sliding track is consistent with a preset direction.

所述第四确定单元536,用于当所述第三判断单元535判断出所述滑动方向与所述预设方向一致时,确定所述音量调节量为正;或者,当所述第三判断单元535判断出所述滑动方向与所述预设方向不一致时,确定所述音量调节量为负。The fourth determination unit 536 is configured to determine that the volume adjustment amount is positive when the third determination unit 535 determines that the sliding direction is consistent with the preset direction; or, when the third determination unit 535 determines that the sliding direction is consistent with the preset direction; When the unit 535 determines that the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative.

所述第五确定单元537,用于根据所述滑动轨迹的起始点和结束点,以及一预设直径,确定所述滑动轨迹对应的圆形触摸区域,且确定所述滑动轨迹在所述圆形触摸区域中跨过的第二弧度。The fifth determining unit 537 is configured to determine the circular touch area corresponding to the sliding track according to the starting point and the ending point of the sliding track, and a preset diameter, and determine that the sliding track is within the circle The second arc spanned in the shaped touch area.

所述第六确定单元538,用于根据所述第五确定单元537确定的第二弧度与预设弧度单元的比值,确定所述音量调节量的大小。The sixth determining unit 538 is configured to determine the volume adjustment amount according to the ratio of the second arc determined by the fifth determining unit 537 to the preset arc unit.

其中,所述调节模块54具体用于:基于所述音量调节量的正负和大小,对所述当前音量进行调节。Wherein, the adjustment module 54 is specifically configured to: adjust the current volume based on the positive and negative values and the magnitude of the volume adjustment amount.

本发明实施例中,参见图8所示,所述移动终端还包括提醒模块55。In the embodiment of the present invention, as shown in FIG. 8 , the mobile terminal further includes a reminder module 55 .

所述提醒模块55,用于在所述调节模块54对所述当前音量进行调节的同时,利用震动提醒所述用户,其中,所述音量调节量为正时的第一震动强度,比所述音量调节量为负时的第二震动强度大。The reminder module 55 is configured to remind the user by vibration while the adjustment module 54 is adjusting the current volume, wherein the volume adjustment amount is the first vibration intensity at the timing, which is higher than the The second vibration intensity is large when the volume adjustment amount is negative.

本发明实施例的移动终端,通过在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作时,开启音量调节,获取所述用户在预设音量调节区域上输入的滑动轨迹,根据所述滑动轨迹,确定音量调节量,并基于所述音量调节量,对当前音量进行调节,能够简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,提升用户的使用体验。The mobile terminal according to the embodiment of the present invention obtains the user's preset pressure by turning on the volume adjustment when it detects that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and detects that the user inputs a preset operation on the touch screen. Set the sliding track input on the volume adjustment area, determine the volume adjustment amount according to the sliding track, and adjust the current volume based on the volume adjustment amount, which can easily and conveniently realize the adjustment of the current volume without visual inspection. Even if the mobile terminal is in a pocket or a backpack, the current volume can be adjusted to improve user experience.

第六实施例Sixth embodiment

图9是本发明第六实施例的移动终端的结构示意图。图9所示的移动终端900包括:至少一个处理器901、存储器902、至少一个网络接口904和用户接口903。移动终端900中的各个组件通过总线系统905耦合在一起。可理解,总线系统905用于实现这些组件之间的连接通信。总线系统905除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统905。Fig. 9 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention. The mobile terminal 900 shown in FIG. 9 includes: at least one processor 901 , a memory 902 , at least one network interface 904 and a user interface 903 . Various components in the mobile terminal 900 are coupled together through a bus system 905 . It can be understood that the bus system 905 is used to realize connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 905 in FIG. 9 for clarity of illustration.

其中,用户接口903可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或触摸屏等。Wherein, the user interface 903 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.

可以理解,本发明实施例中的存储器902可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器902旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 902 in this embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 902 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器902存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统9021和应用程序9022。In some implementations, the memory 902 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 9021 and an application program 9022 .

其中,操作系统9021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序9022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序9022中。Among them, the operating system 9021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 9022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 9022 .

在本发明实施例中,通过调用存储器902存储的程序或指令,具体的,可以是应用程序9022中存储的程序或指令,处理器901用于若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节,获取所述用户在预设音量调节区域上输入的滑动轨迹,根据所述滑动轨迹,确定音量调节量,基于所述音量调节量,对当前音量进行调节。In the embodiment of the present invention, by calling the program or instruction stored in the memory 902, specifically, the program or instruction stored in the application program 9022, the processor 901 is configured to detect that the pressure of the user pressing the preset sensing area is greater than one The pressure threshold is preset, and it is detected that the user enters a preset operation on the touch screen, the volume adjustment is turned on, and the sliding track input by the user on the preset volume adjustment area is obtained, and the volume adjustment amount is determined according to the sliding track, and based on the Adjust the volume to adjust the current volume.

上述本发明实施例揭示的方法可以应用于处理器901中,或者由处理器901实现。处理器901可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器901中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器901可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器902,处理器901读取存储器902中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 901 or implemented by the processor 901 . The processor 901 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 901 or instructions in the form of software. The aforementioned processor 901 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

其中,所述预设操作为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘。Wherein, the preset operation is to slide from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal.

可选地,处理器901还用于:判断所述音量调节量是否小于一预设调节量阈值,若所述音量调节量小于所述预设调节量阈值,基于所述音量调节量,对所述当前音量进行调节。Optionally, the processor 901 is further configured to: determine whether the volume adjustment amount is less than a preset adjustment amount threshold, and if the volume adjustment amount is less than the preset adjustment amount threshold, based on the volume adjustment amount, to adjust the current volume.

其中,所述预设音量调节区域为预设圆形触摸区域,或者移动终端的触摸屏区域。Wherein, the preset volume adjustment area is a preset circular touch area, or a touch screen area of a mobile terminal.

可选地,处理器901还用于:判断所述滑动轨迹的滑动方向与一预设方向是否一致,若所述滑动方向与所述预设方向一致,确定所述音量调节量为正,或者,若所述滑动方向与所述预设方向不一致,确定所述音量调节量为负,确定所述滑动轨迹在所述预设圆形触摸区域中跨过的第一弧度,根据所述第一弧度与预设弧度单元的比值,确定所述音量调节量的大小。Optionally, the processor 901 is further configured to: determine whether the sliding direction of the sliding track is consistent with a preset direction, and if the sliding direction is consistent with the preset direction, determine that the volume adjustment amount is positive, or , if the sliding direction is not consistent with the preset direction, determine that the volume adjustment amount is negative, and determine a first arc that the sliding track spans in the preset circular touch area, according to the first The ratio of the radian to the preset radian unit determines the size of the volume adjustment amount.

可选地,处理器901还用于:判断所述滑动轨迹的滑动方向与一预设方向是否一致,若所述滑动方向与所述预设方向一致,确定所述音量调节量为正,或者,若所述滑动方向与所述预设方向不一致,确定所述音量调节量为负,根据所述滑动轨迹的起始点和结束点,以及一预设直径,确定所述滑动轨迹对应的圆形触摸区域,且确定所述滑动轨迹在所述圆形触摸区域中跨过的第二弧度,根据所述第二弧度与预设弧度单元的比值,确定所述音量调节量的大小。Optionally, the processor 901 is further configured to: determine whether the sliding direction of the sliding track is consistent with a preset direction, and if the sliding direction is consistent with the preset direction, determine that the volume adjustment amount is positive, or , if the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative, and determine the circular shape corresponding to the sliding track according to the starting point and the ending point of the sliding track and a preset diameter touch the area, and determine the second arc spanned by the sliding track in the circular touch area, and determine the size of the volume adjustment according to the ratio of the second arc to the preset arc unit.

可选地,处理器901还用于:基于所述音量调节量的正负和大小,对所述当前音量进行调节。Optionally, the processor 901 is further configured to: adjust the current volume based on the sign and magnitude of the volume adjustment amount.

可选地,处理器901还用于:利用震动提醒所述用户,其中,所述音量调节量为正时的第一震动强度,比所述音量调节量为负时的第二震动强度大。Optionally, the processor 901 is further configured to: use vibration to remind the user, wherein the first vibration intensity when the volume adjustment amount is positive is greater than the second vibration intensity when the volume adjustment amount is negative.

移动终端900能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 900 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

本发明实施例的移动终端900,通过若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节,获取所述用户在预设音量调节区域上输入的滑动轨迹,根据所述滑动轨迹,确定音量调节量,并基于所述音量调节量,对当前音量进行调节,能够简单方便的实现对当前音量的调节,无需目视,即使移动终端处于兜里或者背包里,也能实现对当前音量的调节,提升用户的使用体验。The mobile terminal 900 in the embodiment of the present invention detects that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and detects that the user inputs a preset operation on the touch screen, and turns on the volume adjustment to obtain the user's preset Set the sliding track input on the volume adjustment area, determine the volume adjustment amount according to the sliding track, and adjust the current volume based on the volume adjustment amount, which can easily and conveniently realize the adjustment of the current volume without visual inspection. Even if the mobile terminal is in a pocket or a backpack, the current volume can be adjusted to improve user experience.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (16)

1.一种调节音量的方法,其特征在于,包括:1. A method for adjusting volume, characterized in that, comprising: 若检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作,开启音量调节;If it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold, and it is detected that the user inputs a preset operation on the touch screen, the volume adjustment is turned on; 获取所述用户在预设音量调节区域上输入的滑动轨迹;Acquiring the sliding track input by the user on the preset volume adjustment area; 根据所述滑动轨迹,确定音量调节量;Determine the volume adjustment amount according to the slide track; 基于所述音量调节量,对当前音量进行调节。Based on the volume adjustment amount, the current volume is adjusted. 2.根据权利要求1所述的方法,其特征在于,所述预设操作为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘。2. The method according to claim 1, wherein the preset operation is to slide from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal. 3.根据权利要求1所述的方法,其特征在于,所述基于所述音量调节量,对当前音量进行调节的步骤,包括:3. The method according to claim 1, wherein the step of adjusting the current volume based on the volume adjustment amount comprises: 判断所述音量调节量是否小于一预设调节量阈值;judging whether the volume adjustment amount is less than a preset adjustment amount threshold; 若所述音量调节量小于所述预设调节量阈值,基于所述音量调节量,对所述当前音量进行调节。If the volume adjustment amount is less than the preset adjustment amount threshold, the current volume is adjusted based on the volume adjustment amount. 4.根据权利要求1所述的方法,其特征在于,所述预设音量调节区域为预设圆形触摸区域,或者移动终端的触摸屏区域。4. The method according to claim 1, wherein the preset volume adjustment area is a preset circular touch area, or a touch screen area of a mobile terminal. 5.根据权利要求4所述的方法,其特征在于,当所述预设音量调节区域为所述预设圆形触摸区域时,所述根据所述滑动轨迹,确定音量调节量的步骤,包括:5. The method according to claim 4, wherein when the preset volume adjustment area is the preset circular touch area, the step of determining the volume adjustment amount according to the sliding track includes : 判断所述滑动轨迹的滑动方向与一预设方向是否一致;judging whether the sliding direction of the sliding track is consistent with a preset direction; 若所述滑动方向与所述预设方向一致,确定所述音量调节量为正;或者,若所述滑动方向与所述预设方向不一致,确定所述音量调节量为负;If the sliding direction is consistent with the preset direction, determine that the volume adjustment amount is positive; or, if the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative; 确定所述滑动轨迹在所述预设圆形触摸区域中跨过的第一弧度;determining a first arc spanned by the sliding track in the preset circular touch area; 根据所述第一弧度与预设弧度单元的比值,确定所述音量调节量的大小。The size of the volume adjustment amount is determined according to the ratio of the first radian to the preset radian unit. 6.根据权利要求4所述的方法,其特征在于,当所述预设音量调节区域为所述触摸屏区域时,所述根据所述滑动轨迹,确定音量调节量的步骤,包括:6. The method according to claim 4, wherein when the preset volume adjustment area is the touch screen area, the step of determining the volume adjustment amount according to the sliding track comprises: 判断所述滑动轨迹的滑动方向与一预设方向是否一致;judging whether the sliding direction of the sliding track is consistent with a preset direction; 若所述滑动方向与所述预设方向一致,确定所述音量调节量为正;或者,若所述滑动方向与所述预设方向不一致,确定所述音量调节量为负;If the sliding direction is consistent with the preset direction, determine that the volume adjustment amount is positive; or, if the sliding direction is inconsistent with the preset direction, determine that the volume adjustment amount is negative; 根据所述滑动轨迹的起始点和结束点,以及一预设直径,确定所述滑动轨迹对应的圆形触摸区域,且确定所述滑动轨迹在所述圆形触摸区域中跨过的第二弧度;According to the start point and end point of the sliding track, and a preset diameter, determine the circular touch area corresponding to the sliding track, and determine the second arc spanned by the sliding track in the circular touch area ; 根据所述第二弧度与预设弧度单元的比值,确定所述音量调节量的大小。A size of the volume adjustment amount is determined according to a ratio of the second radian to a preset radian unit. 7.根据权利要求5或6所述的方法,其特征在于,所述基于所述音量调节量,对当前音量进行调节的步骤,包括:7. The method according to claim 5 or 6, wherein the step of adjusting the current volume based on the volume adjustment amount comprises: 基于所述音量调节量的正负和大小,对所述当前音量进行调节。The current volume is adjusted based on the sign and magnitude of the volume adjustment amount. 8.根据权利要求7所述的方法,其特征在于,所述基于所述音量调节量,对当前音量进行调节的同时,所述方法还包括:8. The method according to claim 7, characterized in that, while adjusting the current volume based on the volume adjustment amount, the method further comprises: 利用震动提醒所述用户,其中,所述音量调节量为正时的第一震动强度,比所述音量调节量为负时的第二震动强度大。Vibration is used to remind the user, wherein the first vibration intensity when the volume adjustment amount is positive is greater than the second vibration intensity when the volume adjustment amount is negative. 9.一种移动终端,其特征在于,包括:9. A mobile terminal, characterized in that, comprising: 开启模块,用于在检测到用户按压预设感知区域的压力大于一预设压力阈值,且检测到用户在触摸屏上输入预设操作时,开启音量调节;The opening module is used to open the volume adjustment when it is detected that the pressure of the user pressing the preset sensing area is greater than a preset pressure threshold and the user inputs a preset operation on the touch screen; 获取模块,用于获取所述用户在预设音量调节区域上输入的滑动轨迹;An acquisition module, configured to acquire the sliding track input by the user on the preset volume adjustment area; 确定模块,用于根据所述获取模块获取的滑动轨迹,确定音量调节量;A determining module, configured to determine the volume adjustment amount according to the sliding track acquired by the acquiring module; 调节模块,用于基于所述确定模块确定的音量调节量,对当前音量进行调节。An adjustment module, configured to adjust the current volume based on the volume adjustment amount determined by the determination module. 10.根据权利要求9所述的移动终端,其特征在于,所述预设操作为从用户按压预设感知区域的位置滑向耳机插孔至移动终端边缘。10 . The mobile terminal according to claim 9 , wherein the preset operation is to slide from the position where the user presses the preset sensing area to the earphone jack to the edge of the mobile terminal. 11 . 11.根据权利要求9所述的移动终端,其特征在于,所述调节模块包括:11. The mobile terminal according to claim 9, wherein the adjustment module comprises: 第一判断单元,用于判断所述音量调节量是否小于一预设调节量阈值;a first judging unit, configured to judge whether the volume adjustment amount is less than a preset adjustment amount threshold; 调节单元,用于当所述第一判断单元判断出所述音量调节量小于所述预设调节量阈值时,基于所述音量调节量,对所述当前音量进行调节。An adjusting unit, configured to adjust the current volume based on the volume adjustment amount when the first judging unit judges that the volume adjustment amount is less than the preset adjustment amount threshold. 12.根据权利要求9所述的移动终端,其特征在于,所述预设音量调节区域为预设圆形触摸区域,或者移动终端的触摸屏区域。12. The mobile terminal according to claim 9, wherein the preset volume adjustment area is a preset circular touch area, or a touch screen area of the mobile terminal. 13.根据权利要求12所述的移动终端,其特征在于,当所述预设音量调节区域为所述预设圆形触摸区域时,所述确定模块包括:13. The mobile terminal according to claim 12, wherein when the preset volume adjustment area is the preset circular touch area, the determining module comprises: 第二判断单元,用于判断所述滑动轨迹的滑动方向与一预设方向是否一致;a second judging unit, configured to judge whether the sliding direction of the sliding track is consistent with a preset direction; 第一确定单元,用于当所述第二判断单元判断出所述滑动方向与所述预设方向一致时,确定所述音量调节量为正;或者,当所述第二判断单元判断出所述滑动方向与所述预设方向不一致时,确定所述音量调节量为负;A first determining unit, configured to determine that the volume adjustment amount is positive when the second judging unit judges that the sliding direction is consistent with the preset direction; or, when the second judging unit judges that the sliding direction is consistent with the preset direction; When the sliding direction is inconsistent with the preset direction, it is determined that the volume adjustment amount is negative; 第二确定单元,用于确定所述滑动轨迹在所述预设圆形触摸区域中跨过的第一弧度;A second determining unit, configured to determine a first arc spanned by the sliding track in the preset circular touch area; 第三确定单元,用于根据所述第二确定单元确定的第一弧度与预设弧度单元的比值,确定所述音量调节量的大小。The third determining unit is configured to determine the volume adjustment amount according to the ratio of the first arc determined by the second determining unit to the preset arc unit. 14.根据权利要求12所述的移动终端,其特征在于,当所述预设音量调节区域为所述触摸屏区域时,所述确定模块包括:14. The mobile terminal according to claim 12, wherein when the preset volume adjustment area is the touch screen area, the determining module comprises: 第三判断单元,用于判断所述滑动轨迹的方向与一预设方向是否一致;A third judging unit, configured to judge whether the direction of the sliding track is consistent with a preset direction; 第四确定单元,用于当所述第三判断单元判断出所述滑动方向与所述预设方向一致时,确定所述音量调节量为正;或者,当所述第三判断单元判断出所述滑动方向与所述预设方向不一致时,确定所述音量调节量为负;A fourth determination unit, configured to determine that the volume adjustment amount is positive when the third determination unit determines that the sliding direction is consistent with the preset direction; or, when the third determination unit determines that the sliding direction is consistent with the preset direction; When the sliding direction is inconsistent with the preset direction, it is determined that the volume adjustment amount is negative; 第五确定单元,用于根据所述滑动轨迹的起始点和结束点,以及一预设直径,确定所述滑动轨迹对应的圆形触摸区域,且确定所述滑动轨迹在所述圆形触摸区域中跨过的第二弧度;The fifth determining unit is configured to determine the circular touch area corresponding to the sliding track according to the starting point and the ending point of the sliding track, and a preset diameter, and determine that the sliding track is within the circular touch area the second arc spanned by midspan; 第六确定单元,用于根据所述第五确定单元确定的第二弧度与预设弧度单元的比值,确定所述音量调节量的大小。The sixth determining unit is configured to determine the volume adjustment amount according to the ratio of the second arc determined by the fifth determining unit to the preset arc unit. 15.根据权利要求13或14所述的移动终端,其特征在于,所述调节模块具体用于:15. The mobile terminal according to claim 13 or 14, wherein the adjustment module is specifically used for: 基于所述音量调节量的正负和大小,对所述当前音量进行调节。The current volume is adjusted based on the sign and magnitude of the volume adjustment amount. 16.根据权利要求15所述的移动终端,其特征在于,所述移动终端还包括:16. The mobile terminal according to claim 15, further comprising: 提醒模块,用于在所述调节模块对所述当前音量进行调节的同时,利用震动提醒所述用户,其中,所述音量调节量为正时的第一震动强度,比所述音量调节量为负时的第二震动强度大。A reminder module, configured to remind the user by vibration while the adjustment module is adjusting the current volume, wherein the volume adjustment amount is the first vibration intensity at the timing, which is greater than the volume adjustment amount of The second vibration intensity at negative time is large.
CN201610512409.0A 2016-06-30 2016-06-30 A kind of method regulating volume and mobile terminal Pending CN106201311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610512409.0A CN106201311A (en) 2016-06-30 2016-06-30 A kind of method regulating volume and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610512409.0A CN106201311A (en) 2016-06-30 2016-06-30 A kind of method regulating volume and mobile terminal

Publications (1)

Publication Number Publication Date
CN106201311A true CN106201311A (en) 2016-12-07

Family

ID=57463237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610512409.0A Pending CN106201311A (en) 2016-06-30 2016-06-30 A kind of method regulating volume and mobile terminal

Country Status (1)

Country Link
CN (1) CN106201311A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920068A (en) * 2018-05-29 2018-11-30 努比亚技术有限公司 A kind of edge interaction regulation method, equipment and computer readable storage medium
CN109547596A (en) * 2018-11-26 2019-03-29 广东小天才科技有限公司 Volume adjusting method, device, equipment and storage medium
CN110727411A (en) * 2019-09-20 2020-01-24 Tcl移动通信科技(宁波)有限公司 An audio signal processing method, device, storage medium and terminal
CN111949191A (en) * 2020-07-03 2020-11-17 瑞声科技(新加坡)有限公司 Double-finger touch interaction method, terminal and medium
CN112600961A (en) * 2019-09-19 2021-04-02 华为技术有限公司 Volume adjusting method and electronic equipment
WO2022001305A1 (en) * 2020-06-29 2022-01-06 深圳市欢太科技有限公司 Volume adjustment method and device, and computer-readable storage medium
WO2022121637A1 (en) * 2020-12-09 2022-06-16 歌尔股份有限公司 Circular screen touch-control method, terminal device, and storage medium
CN114780051A (en) * 2022-04-27 2022-07-22 维沃移动通信有限公司 Parameter adjusting method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182147A (en) * 2014-08-29 2014-12-03 乐视网信息技术(北京)股份有限公司 Volume adjusting method and device
CN104378484A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Volume control method and electronic device
CN105117131A (en) * 2015-08-27 2015-12-02 广东欧珀移动通信有限公司 Progress bar control method and apparatus
CN105183329A (en) * 2015-09-07 2015-12-23 广东欧珀移动通信有限公司 Control method for media file playing and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378484A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Volume control method and electronic device
CN104182147A (en) * 2014-08-29 2014-12-03 乐视网信息技术(北京)股份有限公司 Volume adjusting method and device
CN105117131A (en) * 2015-08-27 2015-12-02 广东欧珀移动通信有限公司 Progress bar control method and apparatus
CN105183329A (en) * 2015-09-07 2015-12-23 广东欧珀移动通信有限公司 Control method for media file playing and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920068A (en) * 2018-05-29 2018-11-30 努比亚技术有限公司 A kind of edge interaction regulation method, equipment and computer readable storage medium
CN109547596A (en) * 2018-11-26 2019-03-29 广东小天才科技有限公司 Volume adjusting method, device, equipment and storage medium
CN112600961A (en) * 2019-09-19 2021-04-02 华为技术有限公司 Volume adjusting method and electronic equipment
EP4024829A4 (en) * 2019-09-19 2022-11-23 Huawei Technologies Co., Ltd. VOLUME ADJUSTMENT METHOD AND ELECTRONIC DEVICE
CN110727411A (en) * 2019-09-20 2020-01-24 Tcl移动通信科技(宁波)有限公司 An audio signal processing method, device, storage medium and terminal
WO2022001305A1 (en) * 2020-06-29 2022-01-06 深圳市欢太科技有限公司 Volume adjustment method and device, and computer-readable storage medium
CN111949191A (en) * 2020-07-03 2020-11-17 瑞声科技(新加坡)有限公司 Double-finger touch interaction method, terminal and medium
WO2022121637A1 (en) * 2020-12-09 2022-06-16 歌尔股份有限公司 Circular screen touch-control method, terminal device, and storage medium
CN114780051A (en) * 2022-04-27 2022-07-22 维沃移动通信有限公司 Parameter adjusting method and device

Similar Documents

Publication Publication Date Title
CN106201311A (en) A kind of method regulating volume and mobile terminal
KR102030950B1 (en) Mechanism to avoid unintentional user interaction with a convertible mobile device during conversion
CN105045517B (en) A flash light adjustment method and user terminal
CN105827852B (en) A method and terminal for adjusting volume
WO2013101220A1 (en) Mobile device operation using grip intensity
CN106101430B (en) Method for setting screen state of mobile terminal and mobile terminal thereof
CN104536643B (en) A kind of icon drag method and terminal
CN107450778A (en) A kind of false touch recognition methods and mobile terminal
CN105824557B (en) A kind of method and mobile terminal for playing voice messaging
CN107103304A (en) The display methods and mobile terminal in a kind of fingerprint recognition region
CN105718173B (en) Terminal control method, terminal control device and terminal
CN106384039A (en) Application quick startup method and mobile terminal
CN106484354B (en) Display brightness adjusting method and mobile terminal
CN106407950A (en) Facial information identification method and mobile terminal
CN105183314B (en) A kind of bright screen duration adjusting method and mobile terminal
CN105739863A (en) Method for mobile terminal to start application, and mobile terminal
CN106210343A (en) The method of adjustment of a kind of mobile terminal screen brightness and mobile terminal
CN106469059A (en) A kind of method of operation interface display pattern of adjustment mobile terminal and mobile terminal
CN106559570A (en) A kind of volume adjusting method and mobile terminal
CN106453949A (en) Schedule creating method and mobile terminal
CN106208206A (en) A kind of wireless charging method and mobile terminal
CN107515670A (en) A kind of method and mobile terminal for realizing automatic page turning
CN106445299A (en) Control method and mobile terminal
CN107273017A (en) A kind of display control method and mobile terminal
CN107025024A (en) It is a kind of to prevent the method and mobile terminal of mobile terminal maloperation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication