[go: up one dir, main page]

CN103218163B - A kind of method, device and mobile device regulating volume - Google Patents

A kind of method, device and mobile device regulating volume Download PDF

Info

Publication number
CN103218163B
CN103218163B CN201310106053.7A CN201310106053A CN103218163B CN 103218163 B CN103218163 B CN 103218163B CN 201310106053 A CN201310106053 A CN 201310106053A CN 103218163 B CN103218163 B CN 103218163B
Authority
CN
China
Prior art keywords
volume
preset
sliding distance
level
compare threshold
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.)
Expired - Fee Related
Application number
CN201310106053.7A
Other languages
Chinese (zh)
Other versions
CN103218163A (en
Inventor
胡亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310106053.7A priority Critical patent/CN103218163B/en
Publication of CN103218163A publication Critical patent/CN103218163A/en
Application granted granted Critical
Publication of CN103218163B publication Critical patent/CN103218163B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种调节音量的方法、装置及移动设备,方法包括:当触摸屏上接收到滑动触摸事件时,实时获取滑动方向和滑动距离;当滑动方向为预设的音量调节方向,且滑动距离达到预设阈值时,则按照预设的算法实时调节音量,其中预设的音量调节方向包括向左、向右、向上和向下,其中向左或向下表示减小音量,向右或向上表示增大音量。本发明能实现手势滑动自由调节音量,不需要进入任何菜单,使用户可以在触摸屏的任何地方实现音量调节,使操作更加方便,自由度更大。

The invention discloses a method, device and mobile device for adjusting volume. The method includes: when a sliding touch event is received on a touch screen, obtaining the sliding direction and sliding distance in real time; when the sliding direction is the preset volume adjustment direction, and sliding When the distance reaches the preset threshold, the volume will be adjusted in real time according to the preset algorithm. The preset volume adjustment directions include left, right, up and down, where left or down means to reduce the volume, right or Up means to increase the volume. The invention can realize the free adjustment of the volume by gesture sliding without entering any menu, so that the user can adjust the volume at any place on the touch screen, making the operation more convenient and the degree of freedom greater.

Description

一种调节音量的方法、装置及移动设备Method, device and mobile device for adjusting volume

技术领域technical field

本发明涉及便携式移动设备技术领域,尤其涉及一种调节音量的方法、装置及移动设备。The present invention relates to the technical field of portable mobile devices, in particular to a method, device and mobile device for adjusting volume.

背景技术Background technique

大部分手持设备都有音量物理按键,用户通过音量按键来调控当前音量的大小,又或者是在一些音频视频播放器界面通过该播放器界面的滚动条来调节音量大小。Most of the handheld devices have physical volume buttons, and the user can adjust the volume of the current volume through the volume buttons, or adjust the volume through the scroll bar of the player interface on some audio and video player interfaces.

通过物理按键只能一级一级地调节音量,有时候可能一级一级之间的跨度比较大,导致用户调不到自己想要的一个音量值;而通过滚动条调节音量也将用户的操作限制在滚动条范围类,很大程度上限制了用户的操作自由。总之,这两种方法都不能让用户很自由方便的调节音量大小。The volume can only be adjusted level by level through physical buttons, and sometimes the span between levels may be relatively large, resulting in the user not being able to adjust a volume value he wants; and adjusting the volume through the scroll bar will also reduce the user's The operation is limited to the range of the scroll bar, which largely limits the user's freedom of operation. In a word, neither of these two methods can allow the user to adjust the volume freely and conveniently.

发明内容Contents of the invention

本发明的目的在于提出一种调节音量的方法、装置及移动设备,能够使用户可以在触摸屏的任何地方实现音量调节。The purpose of the present invention is to provide a method, device and mobile device for adjusting the volume, enabling the user to adjust the volume anywhere on the touch screen.

为达此目的,本发明采用以下技术方案:For reaching this purpose, the present invention adopts following technical scheme:

一种调节音量的方法,包括:A method of adjusting volume, comprising:

当触摸屏上接收到滑动触摸事件时,实时获取滑动方向和滑动距离;When a sliding touch event is received on the touch screen, obtain the sliding direction and sliding distance in real time;

当滑动方向为预设的音量调节方向,且滑动距离达到预设阈值时,则按照预设的算法实时调节音量。When the sliding direction is the preset volume adjustment direction and the sliding distance reaches the preset threshold, the volume is adjusted in real time according to the preset algorithm.

进一步地,所述预设的音量调节方向包括向上和向下,其中向上表示增大音量,向下表示减小音量。Further, the preset volume adjustment direction includes up and down, where up means increasing the volume, and down means decreasing the volume.

进一步地,所述预设的音量调节方向包括向左和向右,其中向左表示减小音量,向右表示增大音量。Further, the preset volume adjustment direction includes left and right, wherein left means to decrease the volume, and right means to increase the volume.

进一步地,所述预设的音量调节方向包括向左、向右、向上和向下,其中向左或向下表示减小音量,向右或向上表示增大音量。Further, the preset volume adjustment directions include left, right, up and down, where left or down means volume down, and right or up means volume up.

进一步地,所述按照预设的算法实时调节音量具体包括:Further, the real-time volume adjustment according to the preset algorithm specifically includes:

当滑动方向为向右或向上且当前音量级别不为最大级别,若所述滑动距离减去所述预设阈值大于比较阈值,则将音量增加一个级别,同时将所述比较阈值乘以2,所述比较阈值初始为预设值;When the sliding direction is rightward or upward and the current volume level is not the maximum level, if the sliding distance minus the preset threshold is greater than the comparison threshold, the volume is increased by one level, and the comparison threshold is multiplied by 2, The comparison threshold is initially a preset value;

当滑动方向为向左或向下且当前音量级别不为最小级别,若所述滑动距离减去所述预设阈值大于比较阈值,则将音量减小一个级别,同时将所述比较阈值乘以2,所述比较阈值初始为预设值;When the sliding direction is left or downward and the current volume level is not the minimum level, if the sliding distance minus the preset threshold is greater than the comparison threshold, the volume will be reduced by one level, and the comparison threshold will be multiplied by 2. The comparison threshold is initially a preset value;

当所述滑动触摸事件中断时,将所述比较阈值设定为初始的预设值,结束。When the sliding touch event is interrupted, the comparison threshold is set to an initial preset value, and the process ends.

根据本发明的同一构思,本发明还提供了一种调节音量的装置,包括:According to the same idea of the present invention, the present invention also provides a device for adjusting volume, comprising:

方向与距离获取单元,用于当触摸屏上接收到滑动触摸事件时,实时获取滑动方向和滑动距离;The direction and distance acquisition unit is used to obtain the sliding direction and sliding distance in real time when a sliding touch event is received on the touch screen;

音量调节单元,用于当滑动方向为预设的音量调节方向,且滑动距离达到预设阈值时,则按照预设的算法实时调节音量。The volume adjustment unit is configured to adjust the volume in real time according to a preset algorithm when the sliding direction is the preset volume adjustment direction and the sliding distance reaches a preset threshold.

进一步地,所述音量调节单元中所述预设的音量调节方向包括向上和向下,其中向上表示增大音量,向下表示减小音量。Further, the preset volume adjustment direction in the volume adjustment unit includes up and down, wherein up means increasing the volume, and down means decreasing the volume.

进一步地,所述音量调节单元中所述预设的音量调节方向包括向左和向右,其中向左表示减小音量,向右表示增大音量。Further, the preset volume adjustment direction in the volume adjustment unit includes left and right, wherein left means to decrease the volume, and right means to increase the volume.

进一步地,所述音量调节单元中所述预设的音量调节方向包括向左、向右、向上和向下,其中向左或向下表示减小音量,向右或向上表示增大音量。Further, the preset volume adjustment directions in the volume adjustment unit include left, right, up and down, where left or down means volume down, and right or up means volume up.

进一步地,所述音量调节单元中所述按照预设的算法实时调节音量具体包括:Further, the real-time volume adjustment according to the preset algorithm in the volume adjustment unit specifically includes:

音量上调子单元,用于当滑动方向为向右或向上且当前音量级别不为最大级别,若所述滑动距离减去所述预设阈值大于比较阈值,则将音量增加一个级别,同时将所述比较阈值乘以2,所述比较阈值初始为预设值;The volume up subunit is used to increase the volume by one level if the sliding distance minus the preset threshold is greater than the comparison threshold when the sliding direction is right or upward and the current volume level is not the maximum level, and at the same time The comparison threshold is multiplied by 2, and the comparison threshold is initially a preset value;

音量下调子单元,用于当滑动方向为向左或向下且当前音量级别不为最小级别,若所述滑动距离减去所述预设阈值大于比较阈值,则将音量减小一个级别,同时将所述比较阈值乘以2,所述比较阈值初始为预设值;The volume down subunit is used to reduce the volume by one level if the sliding distance minus the preset threshold is greater than the comparison threshold when the sliding direction is left or downward and the current volume level is not the minimum level, and at the same time multiplying the comparison threshold by 2, and the comparison threshold is initially a preset value;

中断处理子单元,用于当所述滑动触摸事件中断时,将所述比较阈值设定为初始的预设值,结束。The interrupt processing subunit is configured to set the comparison threshold as an initial preset value when the sliding touch event is interrupted, and end.

根据本发明的同一构思,本发明还提供了一种移动设备,包括如上所述的调节音量的装置。According to the same idea of the present invention, the present invention also provides a mobile device, including the above-mentioned device for adjusting volume.

本发明能实现手势滑动自由调节音量,不需要进入任何菜单,使用户可以在触摸屏的任何地方实现音量调节,使操作更加方便,自由度更大。进一步地,本发明通过对滑动屏幕时的方向和最短距离进行了限制,能在调节音量时排除误操作,提高了音量调节的精准度。进一步地,结合当前音量大小和级别,调整滑动距离的参考比例,实现每增加或减少一个音量级别后,使滑动距离达到预设阈值之后所需增加的距离成倍数增加,以控制音量调节速度和精度,达到音量调节时先粗后精的效果,滑动距离达到预设阈值之后所需增加的距离成倍数增加也使得操作更加简便和贴近现实。The invention can realize the free adjustment of the volume by gesture sliding without entering any menu, so that the user can adjust the volume at any place on the touch screen, making the operation more convenient and the degree of freedom greater. Furthermore, the present invention limits the direction and the shortest distance when sliding the screen, so that misoperations can be eliminated when adjusting the volume, and the accuracy of volume adjustment can be improved. Further, in combination with the current volume level and level, adjust the reference ratio of the sliding distance, so that after each volume level is increased or decreased, the distance required to increase after the sliding distance reaches the preset threshold is multiplied to control the volume adjustment speed and Accuracy, to achieve the effect of coarse first and then fine when adjusting the volume, and the multiplied increase in the distance required to increase after the sliding distance reaches the preset threshold also makes the operation easier and closer to reality.

附图说明Description of drawings

图1是本发明具体实施例一所述的调节音量的方法流程图;Fig. 1 is a flowchart of a method for adjusting volume according to Embodiment 1 of the present invention;

图2是本发明具体实施例二所述的调节音量的方法流程图;Fig. 2 is a flow chart of the method for adjusting volume described in Embodiment 2 of the present invention;

图3是本发明具体实施例二所述的调节音量的装置结构框图。Fig. 3 is a structural block diagram of a device for adjusting volume according to Embodiment 2 of the present invention.

具体实施方式detailed description

本发明用于对触摸屏移动设备进行音量调节,用于对触摸屏上的滑动触摸事件进行音量调节的判断和响应。The invention is used for adjusting the volume of a mobile device with a touch screen, and is used for judging and responding to a sliding touch event on the touch screen for volume adjustment.

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。The technical solution of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

实施例一Embodiment one

图1是本实施例所述的调节音量的方法流程图,如图1所示,本实施例所述的调节音量的方法包括:Fig. 1 is the flow chart of the method for adjusting volume described in this embodiment, as shown in Fig. 1, the method for adjusting volume described in this embodiment comprises:

S101、判断是否有滑动触摸事件,若是则执行步骤S102,否则结束。S101. Determine whether there is a sliding touch event, if yes, execute step S102, otherwise end.

S102、实时获取滑动方向和滑动距离。S102. Obtain the sliding direction and the sliding distance in real time.

S103、判断滑动方向是否为预设的音量调节方向,若是则执行步骤S104,否则结束。S103. Determine whether the sliding direction is the preset volume adjustment direction, if yes, perform step S104, otherwise end.

在本实施例的一个优选实施方式中,所述预设的音量调节方向包括向上和向下,其中向上表示增大音量,向下表示减小音量。In a preferred implementation of this embodiment, the preset volume adjustment direction includes up and down, where up means volume increase, and down means volume down.

或者,所述预设的音量调节方向包括向左和向右,其中向左表示减小音量,向右表示增大音量。Alternatively, the preset volume adjustment direction includes left and right, where left means to decrease the volume, and right means to increase the volume.

或者,所述预设的音量调节方向包括向左、向右、向上和向下,其中向左或向下表示减小音量,向右或向上表示增大音量。Alternatively, the preset volume adjustment directions include left, right, up and down, where left or down means volume down, and right or up means volume up.

S104、判断滑动距离是否达到预设阈值,若是则执行步骤S105,否则返回步骤S102。S104, judging whether the sliding distance reaches a preset threshold, if yes, execute step S105, otherwise return to step S102.

本步骤用于排除误操作。因为对于触摸屏移动设备进行滑动触摸的响应事件有多种,例如,进行翻页,进行进度条的快进或后退等等。设定一个预设阈值,当滑动方向与预设音量调节方向吻合,滑动距离大于预设阈值,则认为是进行音量调节操作。This step is used to eliminate misuse. Because there are many kinds of response events for the touch screen mobile device, such as turning pages, fast forwarding or rewinding the progress bar, and so on. A preset threshold is set, and when the sliding direction coincides with the preset volume adjustment direction, and the sliding distance is greater than the preset threshold, it is considered that the volume adjustment operation is performed.

S104、按照预设算法实时调整音量。S104. Adjust the volume in real time according to a preset algorithm.

具体的预设算法可依据合适的逻辑进行预先设定,只需满足符合现实生活中的操作逻辑即可。The specific preset algorithm can be pre-set according to the appropriate logic, as long as it meets the operation logic in real life.

实施例二Embodiment two

图2是本实施例所述的调节音量的方法流程图,如图2所示,本实施例所述的调节音量的方法包括:Fig. 2 is the flow chart of the method for adjusting volume described in this embodiment, as shown in Fig. 2, the method for adjusting volume described in this embodiment includes:

S201、触摸屏上接收到滑动触摸事件。S201. A sliding touch event is received on the touch screen.

S202、判断当前滑动方向是否向上或向右,若是则执行步骤S203,否则执行步骤S209。S202. Determine whether the current sliding direction is upward or rightward, if so, execute step S203, otherwise execute step S209.

S203、判断是否达到音量最大级别,若是则执行步骤S215,否则执行步骤S204。S203 , judging whether the volume reaches the maximum level, if so, execute step S215 , otherwise execute step S204 .

S204、获取当前滑动距离。S204. Obtain the current sliding distance.

S205、计算当前滑动距离减去预设阈值后的差值。S205. Calculate the difference between the current sliding distance and the preset threshold.

S206、判断差值是否大于比较阈值,若是则执行步骤S207,否则返回步骤S204。S206 , judging whether the difference is greater than the comparison threshold, if yes, execute step S207 , otherwise return to step S204 .

S207、将音量增大一个级别,将比较阈值乘以2。S207. Increase the volume by one level, and multiply the comparison threshold by 2.

S208、判断操作是否中断,若是则执行步骤S215,否则返回步骤S203。S208, judging whether the operation is interrupted, if so, execute step S215, otherwise return to step S203.

S209、判断是否达到音量最小级别,若是则执行步骤S215,否则执行步骤S210。S209 , judging whether the volume reaches the minimum level, if so, execute step S215 , otherwise execute step S210 .

S210、获取当前滑动距离。S210. Obtain the current sliding distance.

S211、计算当前滑动距离减去预设阈值后的差值。S211. Calculate a difference obtained by subtracting a preset threshold from the current sliding distance.

S212、判断差值是否大于比较阈值,若是则执行步骤S213,否则返回步骤S210。S212. Determine whether the difference is greater than the comparison threshold, if yes, execute step S213, otherwise return to step S210.

S213、将音量增大一个级别,将比较阈值乘以2。S213. Increase the volume by one level, and multiply the comparison threshold by 2.

S214、操作是否中断,若是则执行步骤S215,否则返回步骤S209。S214, whether the operation is interrupted, if yes, execute step S215, otherwise return to step S209.

S215、将比较阈值恢复为初始预设值,结束。S215. Restore the comparison threshold to the initial preset value, and end.

实施例三Embodiment three

根据本发明的同一构思,本发明还提供了一种调节音量的装置,图2是本实施例所述的调节音量的装置结构框图,如图2所示,本实施例所述的调节音量的装置包括:According to the same idea of the present invention, the present invention also provides a device for adjusting the volume. Fig. 2 is a structural block diagram of the device for adjusting the volume described in this embodiment. Devices include:

方向与距离获取单元301,用于当触摸屏上接收到滑动触摸事件时,实时获取滑动方向和滑动距离。The direction and distance acquiring unit 301 is configured to acquire the sliding direction and the sliding distance in real time when a sliding touch event is received on the touch screen.

在本实施例的一个优选实施方式中,所述预设的音量调节方向包括向上和向下,其中向上表示增大音量,向下表示减小音量。In a preferred implementation of this embodiment, the preset volume adjustment direction includes up and down, where up means volume increase, and down means volume down.

或者,所述预设的音量调节方向包括向左和向右,其中向左表示减小音量,向右表示增大音量。Alternatively, the preset volume adjustment direction includes left and right, where left means to decrease the volume, and right means to increase the volume.

或者,所述预设的音量调节方向包括向左、向右、向上和向下,其中向左或向下表示减小音量,向右或向上表示增大音量。Alternatively, the preset volume adjustment directions include left, right, up and down, where left or down means volume down, and right or up means volume up.

音量调节单元302,用于当滑动方向为预设的音量调节方向,且滑动距离达到预设阈值时,则按照预设的算法实时调节音量。The volume adjustment unit 302 is configured to adjust the volume in real time according to a preset algorithm when the sliding direction is a preset volume adjustment direction and the sliding distance reaches a preset threshold.

本单元中所述预设阈值用于排除误操作。因为对于触摸屏移动设备进行滑动触摸的响应事件有多种,例如,进行翻页,进行进度条的快进或后退等等。设定一个预设阈值,当滑动方向与预设音量调节方向吻合,滑动距离大于预设阈值,则认为是进行音量调节操作。The preset thresholds described in this unit are used to rule out misuse. Because there are many kinds of response events for the touch screen mobile device, such as turning pages, fast forwarding or rewinding the progress bar, and so on. A preset threshold is set, and when the sliding direction coincides with the preset volume adjustment direction, and the sliding distance is greater than the preset threshold, it is considered that the volume adjustment operation is performed.

本单元中具体的预设算法可依据合适的逻辑进行预先设定,只需满足符合现实生活中的操作逻辑即可。The specific preset algorithm in this unit can be preset according to the appropriate logic, as long as it meets the operation logic in real life.

本单元中所述按照预设的算法实时调节音量具体包括:The real-time adjustment of the volume according to the preset algorithm described in this unit specifically includes:

音量上调子单元3021,用于当滑动方向为向右或向上且当前音量级别不为最大级别,若所述滑动距离减去所述预设阈值大于比较阈值,则将音量增加一个级别,同时将所述比较阈值乘以2,所述比较阈值初始为预设值。The volume up subunit 3021 is used to increase the volume by one level if the sliding distance minus the preset threshold is greater than the comparison threshold when the sliding direction is rightward or upward and the current volume level is not the maximum level. The comparison threshold is multiplied by 2, and the comparison threshold is initially a preset value.

音量下调子单元3022,用于当滑动方向为向左或向下且当前音量级别不为最小级别,若所述滑动距离减去所述预设阈值大于比较阈值,则将音量减小一个级别,同时将所述比较阈值乘以2,所述比较阈值初始为预设值。The volume down subunit 3022 is configured to decrease the volume by one level if the sliding distance minus the preset threshold is greater than the comparison threshold when the sliding direction is left or downward and the current volume level is not the minimum level, At the same time, the comparison threshold is multiplied by 2, and the comparison threshold is initially a preset value.

中断处理子单元3023,用于当所述滑动触摸事件中断时,将所述比较阈值恢复为初始的预设值,结束。The interrupt processing subunit 3023 is configured to restore the comparison threshold to an initial preset value when the sliding touch event is interrupted, and end.

本发明实施例一和实施例二所述的调节音量的方法以及实施例三所述的调节音量的装置,能实现手势滑动自由调节音量,不需要进入任何菜单,使用户可以在触摸屏的任何地方实现音量调节,使操作更加方便,自由度更大。进一步地,本发明通过对滑动屏幕时的方向和最短距离进行了限制,能在调节音量时排除误操作,提高了音量调节的精准度。进一步地,结合当前音量大小和级别,调整滑动距离的参考比例,实现每增加或减少一个音量级别后,使滑动距离达到预设阈值之后所需增加的距离成倍数增加,以控制音量调节速度和精度,达到音量调节时先粗后精的效果,滑动距离达到预设阈值之后所需增加的距离成倍数增加也使得操作更加简便和贴近现实。The method for adjusting the volume described in Embodiment 1 and Embodiment 2 of the present invention and the device for adjusting volume described in Embodiment 3 can realize the free adjustment of volume by gesture sliding without entering any menu, so that the user can adjust the volume anywhere on the touch screen. Realize the volume adjustment, make the operation more convenient, and the degree of freedom is greater. Furthermore, the present invention limits the direction and the shortest distance when sliding the screen, so that misoperations can be eliminated when adjusting the volume, and the accuracy of volume adjustment can be improved. Further, in combination with the current volume level and level, adjust the reference ratio of the sliding distance, so that after each volume level is increased or decreased, the distance required to increase after the sliding distance reaches the preset threshold is multiplied to control the volume adjustment speed and Accuracy, to achieve the effect of coarse first and then fine when adjusting the volume, and the multiplied increase in the distance required to increase after the sliding distance reaches the preset threshold also makes the operation easier and closer to reality.

以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实现,其软件程序存储在可读取的存储介质中,存储介质例如:计算机中的硬盘、光盘或软盘。All or part of the technical solutions provided by the above embodiments can be realized by software programming, and the software program is stored in a readable storage medium, such as a hard disk, an optical disk or a floppy disk in a computer.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (3)

1. regulate a method for volume, it is characterized in that, comprising:
When touch-screen receiving slip touch event, Real-time Obtaining glide direction and sliding distance;
When the volume adjusting direction that glide direction is default, and when sliding distance reaches predetermined threshold value, then regulate volume in real time according to the algorithm preset;
Described default volume adjusting direction comprises left, up and down, wherein represent reduction volume left or downwards to the right, represents to the right or upwards and increases volume;
The described algorithm according to presetting regulates volume specifically to comprise in real time:
When glide direction is to the right or upwards and current volume level is not maximum level, if described sliding distance deducts described predetermined threshold value be greater than compare threshold, then volume is increased a rank, described compare threshold is multiplied by 2 simultaneously, described compare threshold is initially preset value;
When glide direction is left or downwards and current volume level is not minimal level, if described sliding distance deducts described predetermined threshold value be greater than compare threshold, then volume is reduced a rank, described compare threshold is multiplied by 2 simultaneously, described compare threshold is initially preset value;
When described slip touch event interrupts, described compare threshold is set as initial preset value, terminates.
2. regulate a device for volume, it is characterized in that, comprising:
Direction and distance acquiring unit, for when touch-screen receiving slip touch event, Real-time Obtaining glide direction and sliding distance;
Sound volume regulation unit is default volume adjusting direction for working as glide direction, and when sliding distance reaches predetermined threshold value, then regulates volume in real time according to the algorithm preset;
The volume adjusting direction of presetting described in described sound volume regulation unit comprises left, up and down, wherein represent reduction volume left or downwards to the right, represents to the right or upwards and increases volume;
Volume is regulated specifically to comprise in real time according to the algorithm preset described in described sound volume regulation unit:
Volume UP subelement, for when glide direction be to the right or upwards and current volume level is not maximum level, if described sliding distance deducts described predetermined threshold value be greater than compare threshold, then volume is increased a rank, described compare threshold is multiplied by 2, described compare threshold is initially preset value simultaneously;
Volume down subelement, for when glide direction be left or downwards and current volume level is not minimal level, if described sliding distance deducts described predetermined threshold value be greater than compare threshold, then volume is reduced a rank, described compare threshold is multiplied by 2, described compare threshold is initially preset value simultaneously;
Interrupt processing subelement, for when described slip touch event interrupts, is set as initial preset value by described compare threshold, terminates.
3. a mobile device, is characterized in that, comprises the device regulating volume as claimed in claim 2.
CN201310106053.7A 2013-03-28 2013-03-28 A kind of method, device and mobile device regulating volume Expired - Fee Related CN103218163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310106053.7A CN103218163B (en) 2013-03-28 2013-03-28 A kind of method, device and mobile device regulating volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310106053.7A CN103218163B (en) 2013-03-28 2013-03-28 A kind of method, device and mobile device regulating volume

Publications (2)

Publication Number Publication Date
CN103218163A CN103218163A (en) 2013-07-24
CN103218163B true CN103218163B (en) 2015-12-23

Family

ID=48816018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310106053.7A Expired - Fee Related CN103218163B (en) 2013-03-28 2013-03-28 A kind of method, device and mobile device regulating volume

Country Status (1)

Country Link
CN (1) CN103218163B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571879B (en) * 2013-10-11 2019-03-08 联想(北京)有限公司 A kind of control method and electronic equipment
CN103558980A (en) * 2013-10-21 2014-02-05 广东明创软件科技有限公司 Method for quickly adjusting screen backlight time and mobile terminal thereof
CN103558970A (en) * 2013-10-29 2014-02-05 广东欧珀移动通信有限公司 Volume adjustment method
CN104754078B (en) * 2013-12-27 2019-08-13 中兴通讯股份有限公司 A kind of volume control device and method, the mobile terminal of mobile terminal
CN103902222B (en) * 2014-03-27 2018-05-29 青岛海信移动通信技术股份有限公司 Touch screen sliding adjustment method, adjustment device and touch device
CN105760092B (en) * 2014-12-16 2019-11-08 阿里巴巴集团控股有限公司 A kind of application control method, apparatus and electronic equipment for touch panel device
CN104486712B (en) * 2014-12-29 2018-01-16 广东欧珀移动通信有限公司 The volume adjusting method and device of wireless sound box system
CN104898970A (en) * 2015-04-30 2015-09-09 努比亚技术有限公司 Volume control method and apparatus
CN105100408B (en) * 2015-05-26 2019-07-19 努比亚技术有限公司 A kind of method and apparatus controlling mobile terminal
CN105549829B (en) * 2015-10-31 2018-11-06 东莞酷派软件技术有限公司 A kind of setting project processing method and its device
CN105573648A (en) * 2015-12-15 2016-05-11 深圳市金立通信设备有限公司 Multimedia play control method and terminal
CN107037963A (en) * 2016-02-03 2017-08-11 上海嘉车信息科技有限公司 The system and method for adjustment system sound volume is slided in sidebar region by finger
CN105955696A (en) * 2016-04-25 2016-09-21 烟台友开通信技术有限公司 Rotary touch-based volume adjustment method used for mobile device
CN106791238B (en) * 2016-11-28 2020-02-11 努比亚技术有限公司 Call control method and device of multi-party call conference system
CN106888332A (en) * 2017-03-29 2017-06-23 北京小米移动软件有限公司 mobile terminal and volume adjusting method
CN111556397B (en) * 2017-12-29 2023-04-07 上海传英信息技术有限公司 Earphone touch control method and earphone
CN108089838A (en) * 2018-01-10 2018-05-29 上海展扬通信技术有限公司 Volume adjusting method, mobile terminal and storage medium under screen lock state
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN110442296A (en) * 2019-07-26 2019-11-12 惠州Tcl移动通信有限公司 Functional mode control method, device, mobile terminal and storage medium
CN113115149A (en) * 2021-03-02 2021-07-13 厦门亿联网络技术股份有限公司 Volume adjusting method, device, equipment and earphone
CN114047833A (en) * 2021-11-29 2022-02-15 汇顶科技(成都)有限责任公司 Capacitance fingerprint detection device, volume adjustment method and electronic equipment
CN117687549A (en) * 2023-08-31 2024-03-12 荣耀终端有限公司 Interaction method based on keys and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241414A (en) * 2007-02-05 2008-08-13 三星电子株式会社 User interface method of multimedia player with touch screen
US20090153885A1 (en) * 2007-12-14 2009-06-18 Brother Kogyo Kabushiki Kaisha Output control device, computer readable medium for the same, and output control system
CN101627361A (en) * 2007-01-07 2010-01-13 苹果公司 Portable multifunction device, method, and graphical user interface for interpreting a finger gesture on a touch screen display
CN101931694A (en) * 2010-07-28 2010-12-29 宇龙计算机通信科技(深圳)有限公司 Method and system for controlling call volume in call process and mobile terminal
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Control method of touch electronic device
CN102346651A (en) * 2011-11-14 2012-02-08 华为终端有限公司 Music file processing method and device
CN102426504A (en) * 2010-07-30 2012-04-25 索尼公司 Information processing device, information processing method, and information processing program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130014057A1 (en) * 2011-07-07 2013-01-10 Thermal Matrix USA, Inc. Composite control for a graphical user interface

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627361A (en) * 2007-01-07 2010-01-13 苹果公司 Portable multifunction device, method, and graphical user interface for interpreting a finger gesture on a touch screen display
CN101241414A (en) * 2007-02-05 2008-08-13 三星电子株式会社 User interface method of multimedia player with touch screen
US20090153885A1 (en) * 2007-12-14 2009-06-18 Brother Kogyo Kabushiki Kaisha Output control device, computer readable medium for the same, and output control system
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Control method of touch electronic device
CN101931694A (en) * 2010-07-28 2010-12-29 宇龙计算机通信科技(深圳)有限公司 Method and system for controlling call volume in call process and mobile terminal
CN102426504A (en) * 2010-07-30 2012-04-25 索尼公司 Information processing device, information processing method, and information processing program
CN102346651A (en) * 2011-11-14 2012-02-08 华为终端有限公司 Music file processing method and device

Also Published As

Publication number Publication date
CN103218163A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103218163B (en) A kind of method, device and mobile device regulating volume
WO2017032007A1 (en) Screen brightness adjusting method and mobile terminal
TWI581177B (en) System,method and electronic device for optimizing one-handed operation
CN105159590B (en) Method for controlling screen of user terminal and user terminal
CN105117161B (en) Adjust the method, apparatus and mobile terminal of mobile terminal virtual key
KR101250821B1 (en) Method for processing interface according to input mode and portable electric device thereof
CN105718173B (en) Terminal control method, terminal control device and terminal
CN105814522A (en) Device and method for displaying user interface of virtual input device based on motion recognition
CN105260109A (en) Play speed adjusting method and terminal
CN105183314B (en) A kind of bright screen duration adjusting method and mobile terminal
JP2017144521A5 (en)
CN105183329A (en) Control method for media file playing and mobile terminal
CN105677226B (en) A kind of operating method and mobile terminal to application program
CN104267814A (en) Information processing method and electronic device
CN103544973A (en) Method and device for song control of music player
CN103034411A (en) Text selection method and device for touch screen
CN103607504A (en) Mobile terminal and volume adjustment method and apparatus thereof
CN106786897A (en) Charging method, mobile terminal and charging equipment
CN104423533A (en) Processor frequency control method and electronic equipment
CN103324410A (en) Method and apparatus for detecting touch
CN110083266A (en) Information processing method, device and storage medium
CN105824424A (en) Music control method and terminal
US20170090744A1 (en) Virtual reality headset device with front touch screen
CN105045492B (en) A kind of sleep playing duration setting method and terminal device
WO2015161775A1 (en) Gui display method and apparatus, and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151223

CF01 Termination of patent right due to non-payment of annual fee