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
sliding distance
compare threshold
glide direction
predetermined 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

Abstract

The invention discloses a kind of method, device and the mobile device that regulate volume, method comprises: 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 sliding distance is when reaching predetermined threshold value, then regulate volume in real time according to the algorithm preset, the volume adjusting direction of wherein presetting comprises left, to the right, up and down, wherein represent left or downwards and reduce volume, represent to the right or upwards and increase volume.The present invention can realize gesture free sliding and regulate volume, does not need to enter any menu, and make user can realize volume adjusting Anywhere at touch-screen, make more convenient to operate, degree of freedom is larger.

Description

A kind of method, device and mobile device regulating volume
Technical field
The present invention relates to portable mobile apparatus technical field, particularly relate to a kind of method, device and the mobile device that regulate volume.
Background technology
Major part handheld device has volume physical button, and user regulates and controls the size of current volume by volume button, or is regulate volume at some audio/video player interfaces by the scroll bar of this player interface.
Volume can only be regulated one by one by physical button, sometimes may span between one-level one-level larger, the volume value causing user to adjust wanting less than oneself; And by scroll bar regulate volume also by the performance constraint of user in scroll bar scope class, limit the operation of user to a great extent freely.In a word, these two kinds of methods all can not allow user is very free regulates volume easily.
Summary of the invention
The object of the invention is to propose a kind of method, device and the mobile device that regulate volume, user can be made can to realize volume adjusting Anywhere at touch-screen.
For reaching this object, the present invention by the following technical solutions:
Regulate a method for volume, 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.
Further, described default volume adjusting direction comprises up and down, wherein upwards represents and increases volume, represent downwards and reduce volume.
Further, described default volume adjusting direction comprises left and, wherein reduces volume to left representation to the right, represents to the right and increases volume.
Further, 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.
Further, 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.
According to same design of the present invention, present invention also offers a kind of device regulating volume, 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.
Further, the volume adjusting direction of presetting described in described sound volume regulation unit comprises up and down, wherein upwards represents and increases volume, represent downwards and reduce volume.
Further, the volume adjusting direction of presetting described in described sound volume regulation unit comprises left and, wherein reduces volume to left representation to the right, represents to the right and increases volume.
Further, 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.
Further, 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.
According to same design of the present invention, present invention also offers a kind of mobile device, comprise the device regulating volume as above.
The present invention can realize gesture free sliding and regulate volume, does not need to enter any menu, and make user can realize volume adjusting Anywhere at touch-screen, make more convenient to operate, degree of freedom is larger.Further, the present invention, by limiting direction during slip screen and bee-line, get rid of maloperation when regulating volume, improve the precision of volume adjusting.Further, in conjunction with current volume size and rank, the reference ratio of adjustment sliding distance, after realizing often increase or a minimizing volume rank, make sliding distance reach predetermined threshold value after the required distance increased become multiple to increase, to control volume veolcity and precision, reach the effect of first thick rear essence during volume adjusting, the distance of sliding distance required increase after reaching predetermined threshold value becomes multiple increase also to make to operate easier and closer to reality.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the adjustment volume described in the specific embodiment of the invention one;
Fig. 2 is the method flow diagram of the adjustment volume described in the specific embodiment of the invention two;
Fig. 3 is the apparatus structure block diagram of the adjustment volume described in the specific embodiment of the invention two.
Embodiment
The present invention is used for carrying out volume adjusting to touch-screen mobile device, for carrying out judgement and the response of volume adjusting to the slip touch event on touch-screen.
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.
Embodiment one
Fig. 1 is the method flow diagram of the adjustment volume described in the present embodiment, and as shown in Figure 1, the method for the adjustment volume described in the present embodiment comprises:
S101, judge whether slip touch event, if then perform step S102, otherwise terminated.
S102, Real-time Obtaining glide direction and sliding distance.
S103, judge whether glide direction is default volume adjusting direction, if then perform step S104, otherwise terminate.
In a preferred implementation of the present embodiment, described default volume adjusting direction comprises up and down, wherein upwards represents and increases volume, represent downwards and reduce volume.
Or described default volume adjusting direction comprises left and, wherein reduces volume to left representation to the right, represents to the right and increases volume.
Or 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.
S104, judge whether sliding distance reaches predetermined threshold value, if then perform step S105, otherwise return step S102.
This step is for getting rid of maloperation.Because response events touch-screen mobile device being carried out to slip touch has multiple, such as, carry out page turning, carry out the F.F. or retrogressing etc. of progress bar.Set a predetermined threshold value, when glide direction and default volume adjusting direction coincide, sliding distance is greater than predetermined threshold value, then think to carry out volume adjusting operation.
S104, adjust volume in real time according to preset algorithm.
Concrete preset algorithm can preset according to suitable logic, only need meet and meet real-life operation logic.
Embodiment two
Fig. 2 is the method flow diagram of the adjustment volume described in the present embodiment, and as shown in Figure 2, the method for the adjustment volume described in the present embodiment comprises:
S201, touch-screen receive slip touch event.
S202, whether judge current glide direction upwards or to the right, if then perform step S203, otherwise perform step S209.
S203, judge whether to reach volume maximum level, if then perform step S215, otherwise perform step S204.
S204, obtain current sliding distance.
S205, calculate current sliding distance deduct predetermined threshold value after difference.
S206, judge whether difference is greater than compare threshold, if then perform step S207, otherwise return step S204.
S207, volume is increased a rank, compare threshold is multiplied by 2.
S208, judge whether operation is interrupted, if then perform step S215, otherwise return step S203.
S209, judge whether to reach volume minimal level, if then perform step S215, otherwise perform step S210.
S210, obtain current sliding distance.
S211, calculate current sliding distance deduct predetermined threshold value after difference.
S212, judge whether difference is greater than compare threshold, if then perform step S213, otherwise return step S210.
S213, volume is increased a rank, compare threshold is multiplied by 2.
Whether S214, operation are interrupted, if then perform step S215, otherwise return step S209.
S215, compare threshold is reverted to initial preset value, terminate.
Embodiment three
According to same design of the present invention, present invention also offers a kind of device regulating volume, Fig. 2 is the apparatus structure block diagram of the adjustment volume described in the present embodiment, and as shown in Figure 2, the device of the adjustment volume described in the present embodiment comprises:
Direction and distance acquiring unit 301, for when touch-screen receiving slip touch event, Real-time Obtaining glide direction and sliding distance.
In a preferred implementation of the present embodiment, described default volume adjusting direction comprises up and down, wherein upwards represents and increases volume, represent downwards and reduce volume.
Or described default volume adjusting direction comprises left and, wherein reduces volume to left representation to the right, represents to the right and increases volume.
Or 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.
Sound volume regulation unit 302 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.
Predetermined threshold value described in this unit is for getting rid of maloperation.Because response events touch-screen mobile device being carried out to slip touch has multiple, such as, carry out page turning, carry out the F.F. or retrogressing etc. of progress bar.Set a predetermined threshold value, when glide direction and default volume adjusting direction coincide, sliding distance is greater than predetermined threshold value, then think to carry out volume adjusting operation.
Preset algorithm concrete in this unit can preset according to suitable logic, only need meet and meet real-life operation logic.
Volume is regulated specifically to comprise in real time according to the algorithm preset described in this unit:
Volume UP subelement 3021, 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 3022, 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 3023, for when described slip touch event interrupts, reverts to initial preset value by described compare threshold, terminates.
The device of the method for the embodiment of the present invention one and the adjustment volume described in embodiment two and the adjustment volume described in embodiment three, gesture free sliding can be realized and regulate volume, do not need to enter any menu, make user can realize volume adjusting Anywhere at touch-screen, make more convenient to operate, degree of freedom is larger.Further, the present invention, by limiting direction during slip screen and bee-line, get rid of maloperation when regulating volume, improve the precision of volume adjusting.Further, in conjunction with current volume size and rank, the reference ratio of adjustment sliding distance, after realizing often increase or a minimizing volume rank, make sliding distance reach predetermined threshold value after the required distance increased become multiple to increase, to control volume veolcity and precision, reach the effect of first thick rear essence during volume adjusting, the distance of sliding distance required increase after reaching predetermined threshold value becomes multiple increase also to make to operate easier and closer to reality.
All or part of content in the technical scheme that above embodiment provides can be realized by software programming, and its software program is stored in the storage medium that can read, storage medium such as: the hard disk in computing machine, CD or floppy disk.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

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 (20)

* 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 广东明创软件科技有限公司 Rapid screen backlight time adjusting method and mobile terminal
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
CN108920066B (en) * 2014-03-27 2021-05-18 青岛海信移动通信技术股份有限公司 Touch screen sliding adjustment method and device and touch equipment
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
CN108200494B (en) * 2017-12-29 2020-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

Citations (6)

* 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 for a multimedia playing device having a touch screen
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 英业达股份有限公司 Method for controlling 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468450B2 (en) * 2007-12-14 2013-06-18 Brother Kogyo Kabushiki Kaisha Output control device, computer readable medium for the same, and output control system
US20130014057A1 (en) * 2011-07-07 2013-01-10 Thermal Matrix USA, Inc. Composite control for a graphical user interface

Patent Citations (6)

* 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 for a multimedia playing device having a touch screen
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Method for controlling 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
US20190391658A1 (en) Device, Method, and Graphical User Interface for Forgoing Generation of Tactile Output for a Multi-Contact Gesture
US9830072B2 (en) Method, apparatus and mobile terminal for controlling an application interface by means of a gesture
US20140344765A1 (en) Touch Sensitive UI Pinch and Flick Techniques for Managing Active Applications
WO2017032007A1 (en) Screen brightness adjusting method and mobile terminal
US20140098142A1 (en) System and method for generation and manipulation of a curve in a dynamic graph based on user input
CN104252301A (en) System and method for optimizing one-hand operation and electronic device
CN104932788B (en) A kind of adaptive touch screen control method and equipment
JP2014102850A (en) User interface methods providing continuous zoom functionality
KR20160009344A (en) Method and apparatus for recognizing whispered voice
CN103076979A (en) Method and system for regulating sound volume in video playing interface as well as mobile terminal
AU2013368443A1 (en) Device, method, and graphical user interface for transitioning between touch input to display output relationships
CN104035562B (en) Method and system for mapping three-dimensional desktop touch events
CN105677226B (en) A kind of operating method and mobile terminal to application program
CN104423533A (en) Processor frequency control method and electronic equipment
KR20140047515A (en) Electronic device for inputting data and operating method thereof
US10514802B2 (en) Method for controlling display of touchscreen, and mobile device
CN103473013B (en) The method of a kind of application interface regulation and mobile terminal
CN103902183A (en) Information processing method and electronic device
TW201928608A (en) Information input method and device
CN104898880A (en) Control method and electronic equipment
CN104571814B (en) Projection method and electronic equipment
CN105302459B (en) Single-hand control method and device for terminal
US9710124B2 (en) Augmenting user interface elements based on timing information
KR20210025005A (en) Mobile terminal system interface setting method, apparatus, medium and 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
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.

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

Granted publication date: 20151223