CN105573617B - A kind of volume adjusting method and user terminal - Google Patents

A kind of volume adjusting method and user terminal Download PDF

Info

Publication number
CN105573617B
CN105573617B CN201510916883.5A CN201510916883A CN105573617B CN 105573617 B CN105573617 B CN 105573617B CN 201510916883 A CN201510916883 A CN 201510916883A CN 105573617 B CN105573617 B CN 105573617B
Authority
CN
China
Prior art keywords
touch point
point
volume
mobile
distance
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
CN201510916883.5A
Other languages
Chinese (zh)
Other versions
CN105573617A (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 CN201510916883.5A priority Critical patent/CN105573617B/en
Publication of CN105573617A publication Critical patent/CN105573617A/en
Application granted granted Critical
Publication of CN105573617B publication Critical patent/CN105573617B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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)
  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of volume adjusting method and user terminal, wherein method includes:Whether detection user carries out multiple point touching operation in touch-screen;If detecting, user carries out multiple point touching operation in touch-screen, judges in the touch point of the multiple point touching operation with the presence or absence of mobile touch point;If the mobile touch point be present, the adjacent touch point of the mobile touch point and the change of the distance between the mobile touch point are detected;According to the change of the distance between the adjacent touch point and the mobile touch point, volume is adjusted.It can be seen that by implementing the embodiment of the present invention, rapidly, easily volume can be adjusted.

Description

A kind of volume adjusting method and user terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of volume adjusting method and user terminal.
Background technology
With the development of intelligent terminal (such as smart mobile phone, PAD user terminals), intelligent terminal has turned into people's life Essential article.In daily life, people play music or viewing video commonly using intelligent terminal.Used in user During intelligent terminal plays music or viewing video, often the broadcast sound volume of intelligent terminal is adjusted.Existing In technology, position that user can be different to volume control slide bar by dragging the slide sign on volume control slide bar, to increase Big or reduction volume.In practice, it has been found that because the slide sign in volume control slide bar is too small, user is not easy to drag slide sign In the enterprising line slip of volume control slide bar, often user needs to drag what slide sign could want volume adjusting to user several times Volume.
The content of the invention
The embodiment of the invention discloses a kind of volume adjusting method and user terminal, can rapidly, easily to volume It is adjusted.
First aspect of the embodiment of the present invention discloses a kind of volume adjusting method, including:
Whether detection user carries out multiple point touching operation in touch-screen;
If detecting, user carries out multiple point touching operation in touch-screen, in the touch point for judging the multiple point touching operation With the presence or absence of mobile touch point;
If the mobile touch point be present, the adjacent touch point of the mobile touch point and the mobile touch point are detected The distance between change;
According to the change of the distance between the adjacent touch point and the mobile touch point, volume is adjusted.
It is described according to the adjacent touch point in the first possible implementation of first aspect of the embodiment of the present invention The change of the distance between the mobile touch point, volume is adjusted, including:
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and institute State the distance between mobile touch point gradually increase when, volume is increased;
Or
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and institute When stating the distance between mobile touch point and being gradually reduced, volume is reduced.
It is described according to the adjacent touch point in second of possible implementation of first aspect of the embodiment of the present invention The change of the distance between the mobile touch point, volume is adjusted, including:
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and institute State the distance between mobile touch point gradually increase when, judge whether the quantity of the mobile touch point is less than predetermined number, The predetermined number is less than or equal to the total quantity of the touch point of multiple point touching operation;
If the quantity of the mobile touch point is less than the predetermined number, the first default volume incrementss are obtained, and make Volume is increased with the described first default volume incrementss;
If the quantity of the mobile touch point is more than or equal to the predetermined number, the second default volume increase is obtained Amount, and volume is increased using the described second default volume incrementss, the described second default volume incrementss are more than described First default volume incrementss.
It is described according to the adjacent touch point in the third possible implementation of first aspect of the embodiment of the present invention The change of the distance between the mobile touch point, volume is adjusted, including:
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and institute When stating the distance between mobile touch point and being gradually reduced, judge whether the quantity of the mobile touch point is less than predetermined number, The predetermined number is less than or equal to the total quantity of the touch point of multiple point touching operation;
If the quantity of the mobile touch point is less than the predetermined number, the default volume down of acquisition first is a small amount of, and makes Volume is reduced in a small amount with the described first default volume down;
If the quantity of the mobile touch point is more than or equal to the predetermined number, obtains the second default volume and reduce Amount, and volume is reduced in a small amount using the described second default volume down, the described second default volume down is more than described in a small amount First default volume down is a small amount of.
It is described according to the adjacent touch point in the 4th kind of possible implementation of first aspect of the embodiment of the present invention The change of the distance between the mobile touch point, after volume is adjusted, methods described also includes:
Obtain the first noise ration of current environment;
The single-point slide to target direction that detection user is carried out in touch-screen;
Judge whether the pressure value of the touch point of the single-point slide is more than preset pressure value;
When the pressure value of the touch point is more than the preset pressure value, the second noise ration of current environment is obtained, And using second noise ration with the absolute value of the difference of first noise ration as synchronous volume regulated quantity;
Current volume is adjusted according to the synchronous volume regulated quantity.
With reference to the possible implementation of the first of first aspect of the embodiment of the present invention or first aspect or first aspect The 4th kind of the third possible implementation or first aspect of second possible implementation or first aspect is possible Implementation, in the 5th kind of possible implementation of first aspect of the embodiment of the present invention, the detection mobile touch The adjacent touch point of point and the change of the distance between the mobile touch point, including:
Judge finger print information corresponding to the mobile touch point whether with preset fingerprint information match;
If finger print information corresponding to the mobile touch point and the preset fingerprint information match, detect the movement The adjacent touch point of touch point and the change of the distance between the mobile touch point.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, including:
First detection module, for detecting whether user carries out multiple point touching operation in touch-screen;
Judge module, for when the first detection module detect user touch-screen carry out multiple point touching operation when, Judge in the touch point of the multiple point touching operation with the presence or absence of mobile touch point;
Second detection module, for judge multiple point touching operation when the judge module touch point in exist it is described During mobile touch point, the adjacent touch point of the mobile touch point and the change of the distance between the mobile touch point are detected;
Adjustment module, for the change according to the distance between the adjacent touch point and the mobile touch point, to sound Amount is adjusted.
In the first possible implementation of second aspect of the embodiment of the present invention, the adjustment module is specifically used for:
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and institute State the distance between mobile touch point gradually increase when, volume is increased;
Or
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and institute When stating the distance between mobile touch point and being gradually reduced, volume is reduced.
In second of possible implementation of second aspect of the embodiment of the present invention, the adjustment module includes:
First judging unit, for detecting the adjacent touch point and the mobile touch when second detection module Point the distance between change turn to the distance between the adjacent touch point and the mobile touch point gradually increase when, judgement Whether the quantity of the mobile touch point is less than predetermined number, and the predetermined number is less than or equal to multiple point touching operation The total quantity of touch point;
First adjustment unit, the quantity for judging the mobile touch point when first judging unit are less than described pre- If during quantity, the first default volume incrementss are obtained, and volume is increased using the described first default volume incrementss;
First adjustment unit, it is additionally operable to when first judging unit judges that the quantity of the mobile touch point is more than Or during equal to the predetermined number, the second default volume incrementss are obtained, and using the described second default volume incrementss to sound Amount is increased, and the described second default volume incrementss are more than the described first default volume incrementss.
In the third possible implementation of second aspect of the embodiment of the present invention, the adjustment module includes:
Second judging unit, for detecting the adjacent touch point and the mobile touch when second detection module When the change of the distance between point turns to the distance between the adjacent touch point and the mobile touch point and is gradually reduced, judgement Whether the quantity of the mobile touch point is less than predetermined number, and the predetermined number is less than or equal to multiple point touching operation The total quantity of touch point;
Second adjustment unit, the quantity for judging the mobile touch point when second judging unit are less than described pre- If during quantity, the default volume down of acquisition first is a small amount of, and volume is reduced in a small amount using the described first default volume down;
Second adjustment unit, for judging that the quantity of the mobile touch point is more than or equal to when second judging unit During the predetermined number, the default volume down of acquisition second is a small amount of, and volume is carried out in a small amount using the described second default volume down Reduce, it is a small amount of that the described second default volume down is more than the described first default volume down in a small amount.
In the 4th kind of possible implementation of second aspect of the embodiment of the present invention, the user terminal also includes:
Acquisition module, for the adjustment module according between the adjacent touch point and the mobile touch point away from From change, after volume is adjusted, obtain the first noise ration of current environment;
The first detection module, it is additionally operable to detect the single-point slip behaviour to target direction that user is carried out in touch-screen Make;
The judge module, is additionally operable to judge whether the pressure value of the touch point of the single-point slide is more than default pressure Force value;
The acquisition module, it is additionally operable to when the judge module judges that the pressure value of the touch point is more than the default pressure During force value, the second noise ration of current environment is obtained, and by the difference of second noise ration and first noise ration The absolute value of value is as synchronous volume regulated quantity;
The adjustment module, it is additionally operable to that current volume is adjusted according to the synchronous volume regulated quantity.
With reference to the possible implementation of the first of second aspect of the embodiment of the present invention or second aspect or second aspect The 4th kind of the third possible implementation or second aspect of second possible implementation or second aspect is possible Implementation, in the 5th kind of possible implementation of second aspect of the embodiment of the present invention, second detection module includes:
Judging unit, for judge finger print information corresponding to the mobile touch point whether with preset fingerprint information phase Match somebody with somebody;
Detection unit, for judging that finger print information corresponding to the mobile touch point is preset with described when the judging unit When finger print information matches, the adjacent touch point of the mobile touch point and the change of the distance between the mobile touch point are detected Change.
In embodiments of the present invention, user terminal detects that user after touch-screen carries out multiple point touching operation, will sentence With the presence or absence of mobile touch point in the touch point of disconnected multiple point touching operation;If mobile touch point be present, user terminal detection moves The adjacent touch point of dynamic touch point and the change of the distance between mobile touch point, and touched according to the adjacent touch point with mobile The change of the distance between point, volume is adjusted.It can be seen that by implementing the embodiment of the present invention, can rapidly, easily Volume is adjusted.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of volume adjusting method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another volume adjusting method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another user terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another user terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of volume adjusting method and user terminal, can rapidly, easily to volume It is adjusted.It is described in detail individually below.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of volume adjusting method disclosed in the embodiment of the present invention.Such as Fig. 1 institutes Show, the volume adjusting method may comprise steps of.
101st, whether user terminal detection user carries out multiple point touching operation in touch-screen.
In the embodiment of the present invention, the user terminal may include but be not limited to smart mobile phone, palm PC, notebook computer etc. User terminal with touch-screen.The operating system of the user terminal may include but be not limited to Android operation system, IOS behaviour Make system, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems Etc., the embodiment of the present invention does not limit.
In the embodiment of the present invention, multiple point touching operation is to be more than the touch operation of two in the touch point of touch-screen.User Whether terminal detection user, which carries out the embodiment of multiple point touching operation in touch-screen, to be:User terminal detection touches Whether the touch point on screen is multiple;When user terminal detect touch point on the touchscreen for it is multiple when, user terminal is sentenced Determine user and carry out multiple point touching operation in touch-screen;When user terminal detects that touch point on the touchscreen is less than one, User terminal judges that user does not carry out multiple point touching operation in touch-screen.When user terminal judges that user is more in touch-screen progress When touch operates, step 102 is performed;When user terminal judges that user does not carry out multiple point touching operation in touch-screen, user Whether terminal continues to detect user in touch-screen progress multiple point touching operation.
102nd, user terminal judges to whether there is mobile touch point in the touch point of multiple point touching operation.
In the embodiment of the present invention, when user terminal judges that user carries out multiple point touching operation in touch-screen, user terminal Judge in the touch point of multiple point touching operation with the presence or absence of mobile touch point.Wherein, mobile touch point is on the touchscreen Touch location is in the touch point continuously changed.
When mobile touch point in the touch point that user terminal judges multiple point touching operation be present, step 103 is performed;When User terminal judges that user terminal continues to detect the multiple spot when mobile touch point is not present in the touch point of multiple point touching operation With the presence or absence of mobile touch point in the touch point of touch operation, until multiple point touching operation terminates (touch i.e. on the touchscreen Point is less than two).
103rd, the adjacent touch point of the mobile touch point of user terminal detection and the change of the distance between mobile touch point.
In the embodiment of the present invention, touch point is moved when existing in the touch point that user terminal judges multiple point touching operation When, user terminal detects adjacent touch point and the change of the distance between mobile touch point of mobile touch point.Wherein, it is mobile to touch Adjacent touch point a little is touched, what is determined for user terminal when detecting mobile touch point is closest with mobile touch point The touch point of multiple point touching operation.For example, if the touch point of multiple point touching operation includes touch point 1, touch point 2 and touched A little 3 are touched, if user terminal detects that touch point 1 is mobile touch point, at this moment user terminal will calculate touch point 2 and touch point 1 Distance on the touchscreen, and touch point 3 and the distance of touch point 1 on the touchscreen are calculated, if touch point 2 exists with touch point 1 Distance on touch-screen is most short, then touch point 2 is defined as the adjacent touch point of touch point 1 by user terminal.
, will detection be mobile touches after user terminal detects the adjacent touch point that touch point is moved in mobile touch point and determining Touch adjacent touch point a little and the change of the distance between mobile touch point.Wherein, the adjacent touch point of mobile touch point is with moving Moving the change of the distance between touch point can be:The adjacent touch point of mobile touch point and the distance between mobile touch point are equal Gradually increase, or the distance between the adjacent touch point of mobile touch point and mobile touch point are gradually reduced, or when mobile tactile Touch a little for it is multiple when, the gradually increase of the distance between the adjacent touch point of the mobile touch point of a part and mobile touch point, one The adjacent touch point for moving touch point is divided to be gradually reduced with moving the distance between touch point.
As an alternative embodiment, the adjacent touch point of the mobile touch point of user terminal detection and mobile touch point The distance between the embodiment of change may include following steps:
11) user terminal judge finger print information corresponding to mobile touch point whether with preset fingerprint information match;
If 12) finger print information and preset fingerprint information match corresponding to mobile touch point, user terminal detection movement The adjacent touch point of touch point and the change of the distance between mobile touch point.
By performing step 11) and step 12), it can prevent unauthorized person from carrying out illegal operation, and energy to user terminal It is enough effectively to prevent the situation that volume is adjusted user terminal caused by the maloperation of user from occurring.
104th, user terminal is adjusted according to the adjacent touch point and the change of the distance between mobile touch point to volume Section.
In the embodiment of the present invention, user terminal is detected between the adjacent touch point of mobile touch point and mobile touch point After the change of distance, by according to the adjacent touch point and the change of the distance between mobile touch point, volume is increased Or reduce.
As an alternative embodiment, user terminal is according to the distance between the adjacent touch point and mobile touch point Change, the embodiment that volume is adjusted may comprise steps of:
21) when the change of the adjacent touch point and the distance between mobile touch point turns to adjacent touch point and mobile touch point The distance between gradually increase when, user terminal increases volume.
In this embodiment, if for example, mobile touch point 1 and mobile touch point 2 be present, mobile touch point 1 it is adjacent Touch point is adjacent touch point 1, and the adjacent touch point of mobile touch point 2 is adjacent touch point 2, then when mobile touch point 1 and phase The distance between adjacent touch point 1 gradually increases, and when mobile touch point 2 gradually increases with adjacent touch point the distance between 2, User terminal increases volume.
In this embodiment, when the gradually increase of the distance between adjacent touch point and mobile touch point, user is whole End just increases volume, it is seen then that can effectively prevent the maloperation of user by implementing the embodiment.
As an alternative embodiment, user terminal is according to the distance between the adjacent touch point and mobile touch point Change, the embodiment that volume is adjusted may comprise steps of:
31) when the change of the adjacent touch point and the distance between mobile touch point turns to adjacent touch point and mobile touch point The distance between when being gradually reduced, user terminal reduces to volume.
In this embodiment, when the distance between adjacent touch point and mobile touch point are gradually reduced, user is whole End just reduces to volume, it is seen then that can effectively prevent the maloperation of user by implementing the embodiment.
As an alternative embodiment, user terminal is according to the distance between the adjacent touch point and mobile touch point Change, the embodiment that volume is adjusted may comprise steps of:
41) when the change of adjacent touch point and the distance between mobile touch point turn to adjacent touch point and mobile touch point it Between distance when gradually increasing, user terminal judges whether the quantity of mobile touch point is less than predetermined number, wherein, this is preset Quantity is less than or equal to the total quantity of the touch point of multiple point touching operation.
If 42) quantity of mobile touch point is less than predetermined number, user terminal obtains the first default volume incrementss, and Volume is increased using the first default volume incrementss.
If 43) quantity of mobile touch point is more than or equal to predetermined number, user terminal obtains the second default volume and increased Dosage, and volume is increased using the second default volume incrementss, wherein, it is pre- that the second default volume incrementss are more than first If volume incrementss.
In this embodiment, for example, if predetermined number is 2, first presets volume incrementss as 10 decibels, second Default volume incrementss are 15 decibels, if then the quantity of mobile touch point is 1, current volume is increased by 10 points by user terminal Shellfish;If the quantity of mobile touch point is 3, current volume is increased by 15 decibels by user terminal.
By implementation steps 41)~step 43), when may be implemented in the touch-screen small number of finger of movement, volume is entered Row fine setting, when touch-screen moves greater number of finger, volume is significantly adjusted.The different volume of user can be met Regulatory demand.
As an alternative embodiment, user terminal is according to the distance between the adjacent touch point and mobile touch point Change, the embodiment that volume is adjusted may comprise steps of:
51) when the change of adjacent touch point and the distance between mobile touch point turn to adjacent touch point and mobile touch point it Between distance when being gradually reduced, judge whether the quantity for moving touch point is less than predetermined number, wherein, the predetermined number is less than Or the total quantity of the touch point equal to multiple point touching operation.
If 52) quantity of mobile touch point is less than predetermined number, the default volume down of acquisition first is a small amount of, and uses first Default volume down reduces to volume in a small amount.
If 53) quantity of mobile touch point is more than or equal to predetermined number, the default volume down of acquisition second is a small amount of, and makes Volume is reduced in a small amount with the second default volume down, wherein, the second default volume down is more than the first default volume down in a small amount In a small amount.
In this embodiment, for example, if predetermined number is 2, the first default volume down is in a small amount 10 decibels, second Default volume down is 15 decibels in a small amount, if then the quantity of mobile touch point is 1, current volume is reduced 10 points by user terminal Shellfish;If the quantity of mobile touch point is 3, current volume is reduced 15 decibels by user terminal.
By implementation steps 51)~step 53), when may be implemented in the touch-screen small number of finger of movement, volume is entered Row fine setting, when touch-screen moves greater number of finger, volume is significantly adjusted.The different volume of user can be met Regulatory demand.
In the method described by Fig. 1, user terminal detects user after touch-screen carries out multiple point touching operation, will Judge in the touch point of multiple point touching operation with the presence or absence of mobile touch point;If mobile touch point be present, user terminal detection The adjacent touch point of mobile touch point and the change of the distance between mobile touch point, and touched according to the adjacent touch point with mobile Change the distance between a little is touched, volume is adjusted.It can be seen that by implementing the embodiment of the present invention, can rapidly, it is convenient Volume is adjusted on ground.
Fig. 2 is referred to, Fig. 2 is the schematic flow sheet of another volume adjusting method disclosed in the embodiment of the present invention.Such as Fig. 2 Shown, the volume adjusting method may comprise steps of.
201st, whether user terminal detection user carries out multiple point touching operation in touch-screen.
In the embodiment of the present invention, when user terminal judges that user carries out multiple point touching operation in touch-screen, step is performed S202;When user terminal judges that user does not carry out multiple point touching operation in touch-screen, user terminal continues whether to detect user Multiple point touching operation is carried out in touch-screen.
202nd, user terminal judges to whether there is mobile touch point in the touch point of multiple point touching operation.
In the embodiment of the present invention, touch point is moved when existing in the touch point that user terminal judges multiple point touching operation When, perform step 203;When mobile touch point is not present in the touch point that user terminal judges multiple point touching operation, user Terminal continues to detect with the presence or absence of mobile touch point in the touch point that the multiple point touching operates, until multiple point touching operation terminates (touch point i.e. on the touchscreen is less than two).
203rd, the adjacent touch point of the mobile touch point of user terminal detection and the change of the distance between mobile touch point.
204th, user terminal is adjusted according to adjacent touch point and the change of the distance between mobile touch point to volume Section.
205th, user terminal obtains the first noise ration of current environment.
In the embodiment of the present invention, user terminal is right according to adjacent touch point and the change of the distance between mobile touch point After volume is adjusted, the voice signal of sound capturing unit acquisition current environment will be started;After voice signal is obtained, User terminal will parse the intensity of voice signal, to obtain the first noise ration of current environment.Wherein, the sound capturing unit Can be the devices such as microphone.
206th, the single-point slide to target direction that user terminal detection user is carried out in touch-screen.
In the embodiment of the present invention, the target direction can be any direction, and the embodiment of the present invention does not limit.
207th, user terminal judges whether the pressure value of the touch point of the single-point slide is more than preset pressure value.
In the embodiment of the present invention, user terminal can detect the touch point of the single-point slide by pressure sensor Pressure value.After the pressure value of touch point of the single-point slide is detected, user terminal judges the single-point slide The pressure value of touch point whether be more than preset pressure value.If user terminal judges the pressure of the touch point of the single-point slide Value is more than preset pressure value, then performs step 208;If user terminal judges that the pressure value of the touch point of the single-point slide is small In or equal to preset pressure value, then user terminal continues to detect the pressure value of the touch point of the single-point slide, until the list Point slide terminates (i.e. user's finger leaves touch-screen).
208th, user terminal obtains the second noise ration of current environment, and by the second noise ration and the first noise ration Difference absolute value as synchronous volume regulated quantity.
In the embodiment of the present invention, when user terminal judges that the pressure value of the touch point of the single-point slide is more than default pressure During force value, user terminal obtains the voice signal of current environment by sound capturing unit again, to be carried out to the voice signal Parsing, obtains the second noise ration of current environment.
In the embodiment of the present invention, after user terminal obtains the second noise ration, the second noise ration and first will be calculated Difference between noise ration, and using the absolute value of difference as synchronous volume regulated quantity.
For example, if the second noise ration is 10 decibels, the first noise ration is 5 decibels, then synchronous volume regulated quantity For 5 decibels.If the second noise ration is 6 decibels, the first noise ration is 7 decibels, then synchronous volume regulated quantity is 1 decibel.
209th, current volume is adjusted according to the synchronous volume regulated quantity for user terminal.
, will be according to synchronous volume regulated quantity pair after user terminal obtains synchronous volume regulated quantity in the embodiment of the present invention Current volume is adjusted.
In the embodiment of the present invention, when the first noise ration is less than the second noise ration, user terminal is according to synchronous volume Regulated quantity increases current volume.When the first noise ration is more than the second noise ration, user terminal is according to sync tone Amount regulated quantity reduces to current volume.
For example, if user terminal current volume is 15 decibels, the first noise ration is 5 decibels, and the second noise ration is 6 points Shellfish, then synchronous volume regulated quantity is 1 decibel, then after user terminal obtains synchronous volume regulated quantity, user terminal is current Volume adjusting is 16 decibels.
For another example, if user terminal current volume is 15 decibels, the first noise ration is 7 decibels, and the second noise ration is 6 points Shellfish, then synchronous volume regulated quantity is 1 decibel, then after user terminal obtains synchronous volume regulated quantity, user terminal is current Volume adjusting is 14 decibels.
In actual applications, extraneous noise will influence the audibility of user.Enter in the volume of user to user terminal After row is set, if ambient noise becomes big, user may not clearly hear the sound of broadcasting;If ambient noise diminishes, Then user may think that the broadcasting sound heard is larger.Therefore, by implementing the embodiment of the present invention, in user by user terminal Volume be arranged to after a suitable volume, if extraneous noise causes influence to listening to for user, user can pass through Slide is carried out in touch area, synchronously to increased or decrease the current volume of user terminal, to reduce ambient noise pair User influences caused by listening to.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention.Wherein, Fig. 3 institutes The user terminal shown can include first detection module 301, judge module 302, the second detection module 303 and adjustment module 304. Wherein:
First detection module 301, for detecting whether user carries out multiple point touching operation in touch-screen.
Judge module 302, for detecting that user carries out multiple point touching operation in touch-screen when first detection module 301 When, judge in the touch point of multiple point touching operation with the presence or absence of mobile touch point.
Second detection module 303, for when judge module 302 judge the multiple point touching operation touch point in exist movement During touch point, the adjacent touch point of the movement touch point and the change of the distance between the movement touch point are detected.
Adjustment module 304, for the adjacent touch point and the movement touch point detected according to the second detection module 303 The distance between change, volume is adjusted.
As an alternative embodiment, the adjustment module 304 is specifically used for:
Touched when the change of the adjacent touch point and the distance between the movement touch point turns to the adjacent touch point with the movement Touch the distance between a little gradually increase when, volume is increased;
Or
Touched when the change of the adjacent touch point and the distance between the movement touch point turns to the adjacent touch point with the movement Touch when the distance between being a little gradually reduced, volume is reduced.
Also referring to Fig. 4, Fig. 4 is the structural representation of another user terminal disclosed in the embodiment of the present invention.Wherein, User terminal shown in Fig. 4 is that user terminal as shown in Figure 3 optimizes what is obtained.Compared with the user terminal shown in Fig. 3 Compared with the user terminal shown in Fig. 4 includes all modules of the user terminal shown in Fig. 3, the regulation mould of the user terminal shown in Fig. 4 Block 304 can include the first judging unit 3041 and the first adjustment unit 3042.Wherein:
First judging unit 3041, for detecting that the adjacent touch point touches with the movement when the second detection module 303 Point the distance between change turn to the distance between the adjacent touch point and the movement touch point gradually increase when, judge the shifting Whether the quantity of dynamic touch point is less than predetermined number, and predetermined number is less than or equal to the sum of the touch point of multiple point touching operation Amount.
First adjustment unit 3042, the quantity for judging the movement touch point when the first judging unit 3041 are less than default During quantity, the first default volume incrementss are obtained, and volume is increased using the first default volume incrementss.
First adjustment unit 3042, be additionally operable to when the first judging unit 3041 judge the quantity of the movement touch point be more than or During equal to predetermined number, the second default volume incrementss are obtained, and volume is increased using the second default volume incrementss, Second default volume incrementss are more than the first default volume incrementss.
Please refer to fig. 5, Fig. 5 is the structural representation of another user terminal disclosed in the embodiment of the present invention.Wherein, User terminal shown in Fig. 5 is that user terminal as shown in Figure 3 optimizes what is obtained.Compared with the user terminal shown in Fig. 3 Compared with the user terminal shown in Fig. 5 includes all modules of the user terminal shown in Fig. 3, the regulation mould of the user terminal shown in Fig. 5 Block 304 can include the second judging unit 3043 and the second adjustment unit 3044.Wherein:
Second judging unit 3043, for detecting that the adjacent touch point touches with the movement when the second detection module 303 When the change of the distance between point turns to the distance between adjacent touch point and mobile touch point and is gradually reduced, judge that the movement is touched Whether the quantity touched a little is less than predetermined number, and predetermined number is less than or equal to the total quantity of the touch point of multiple point touching operation.
Second adjustment unit 3044, the quantity for judging the movement touch point when the second judging unit 3043 are less than default During quantity, the default volume down of acquisition first is a small amount of, and volume is reduced in a small amount using the first default volume down.
Second adjustment unit 3044, for judging that the quantity of the movement touch point is more than or waited when the second judging unit 3043 When predetermined number, the default volume down of acquisition second is a small amount of, and volume is reduced in a small amount using the second default volume down, the It is a small amount of that two default volume downs are more than the first default volume down in a small amount.
Also referring to Fig. 6, Fig. 6 is the structural representation of another user terminal disclosed in the embodiment of the present invention.Wherein, User terminal shown in Fig. 6 is that user terminal as shown in Figure 3 optimizes what is obtained.Compared with the user terminal shown in Fig. 3 Compared with the user terminal shown in Fig. 6 includes all modules of the user terminal shown in Fig. 3, the second inspection of the user terminal shown in Fig. 6 Judging unit 3031 and detection unit 3032 can be included by surveying module 303, and the user terminal shown in Fig. 6 may also include acquisition module 305.Wherein:
Judging unit 3031, for judge multiple point touching operation when judge module 302 touch point in mobile touch be present Point when, judge to move finger print information corresponding to touch point whether with preset fingerprint information match.
Detection unit 3032, for judging finger print information and preset fingerprint corresponding to mobile touch point when judging unit 3031 During information match, adjacent touch point and the change of the distance between mobile touch point of mobile touch point are detected.
Acquisition module 305, for the change in adjustment module 304 according to the distance between adjacent touch point and mobile touch point Change, after volume is adjusted, obtain the first noise ration of current environment.
In the embodiment of the present invention, adjustment module 304 according to adjacent touch point and the change of the distance between mobile touch point, After volume is adjusted, triggering acquisition module 305 obtains the first noise ration of current environment.
First detection module 301, it is additionally operable to detect the single-point slide to target direction that user is carried out in touch-screen.
In the embodiment of the present invention, after acquisition module 305 obtains the first noise ration of current environment, the detection of triggering first Module 301 detects the single-point slide to target direction that user is carried out in touch-screen.
Judge module 302, is additionally operable to judge whether the pressure value of the touch point of the single-point slide is more than preset pressure Value.
Acquisition module 305, it is additionally operable to, when judge module 302 judges that the pressure value of touch point is more than preset pressure value, obtain The second noise ration of current environment is taken, and using the second noise ration with the absolute value of the difference of the first noise ration as synchronous Volume adjusting amount.
Adjustment module 304, it is additionally operable to that current volume is adjusted according to the synchronous volume regulated quantity.
In the user terminal described by Fig. 3~Fig. 6, first detection module detects that user carries out multiple spot in touch-screen and touched After touching operation, judge module, which will determine that, whether there is mobile touch point in the touch point of multiple point touching operation;If movement be present Touch point, then the adjacent touch point of the mobile touch point of the second detection module detection and the change of the distance between mobile touch point, And volume is adjusted by according to the adjacent touch point and the change of the distance between mobile touch point for adjustment module.Can See, by implementing the embodiment of the present invention, rapidly, easily volume can be adjusted.
It should be noted that in the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in some embodiment The part being not described in, it may refer to the associated description of other embodiment.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module in the user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come command terminal device-dependent hardware, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of volume adjusting method and user terminal disclosed in the embodiment of the present invention are described in detail above, herein In apply specific case to the present invention principle and embodiment be set forth, the explanation of above example is only intended to help Assistant solves the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, the think of according to the present invention Think, in specific embodiments and applications there will be changes, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (6)

1. a kind of volume adjusting method, it is characterised in that methods described includes:
Whether detection user carries out multiple point touching operation in touch-screen;
If detecting, user carries out multiple point touching operation in touch-screen, judge in the touch point of multiple point touching operation whether In the presence of mobile touch point;
If the mobile touch point be present, detect between the adjacent touch point of the mobile touch point and the mobile touch point Distance change, the adjacent touch point is in the closest multiple point touching operation with the mobile touch point Touch point;
According to the change of the distance between the adjacent touch point and the mobile touch point, volume is adjusted;
According to the change of the distance between the adjacent touch point and the mobile touch point, volume is adjusted, including:When The change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and mobile touched with described When the distance between point gradually increases, judge whether the quantity of the mobile touch point is less than predetermined number, the present count Amount is less than or equal to the total quantity of the touch point of multiple point touching operation;
If the quantity of the mobile touch point is less than the predetermined number, the first default volume incrementss are obtained, and use institute The first default volume incrementss are stated to increase volume;
If the quantity of the mobile touch point is more than or equal to the predetermined number, the second default volume incrementss are obtained, and Volume is increased using the described second default volume incrementss, it is pre- that the described second default volume incrementss are more than described first If volume incrementss;
Or
According to the change of the distance between the adjacent touch point and the mobile touch point, volume is adjusted, including:
When the change of the distance between the adjacent touch point and the mobile touch point turns to the adjacent touch point and the shifting When the distance between dynamic touch point is gradually reduced, judge whether the quantity of the mobile touch point is less than predetermined number, it is described Predetermined number is less than or equal to the total quantity of the touch point of multiple point touching operation;
If the quantity of the mobile touch point is less than the predetermined number, the default volume down of acquisition first is a small amount of, and uses institute The first default volume down is stated in a small amount to reduce volume;
If the quantity of the mobile touch point is more than or equal to the predetermined number, the default volume down of acquisition second is a small amount of, and Volume is reduced in a small amount using the described second default volume down, it is pre- that the described second default volume down is more than described first in a small amount If volume down is a small amount of.
2. according to the method for claim 1, it is characterised in that described according to the adjacent touch point and the mobile touch The change of the distance between point, after volume is adjusted, methods described also includes:
Obtain the first noise ration of current environment;
The single-point slide to target direction that detection user is carried out in touch-screen;
Judge whether the pressure value of the touch point of the single-point slide is more than preset pressure value;
When the pressure value of the touch point is more than the preset pressure value, the second noise ration of current environment is obtained, and will Second noise ration is with the absolute value of the difference of first noise ration as synchronous volume regulated quantity;
Current volume is adjusted according to the synchronous volume regulated quantity.
3. method according to claim 1 or 2, it is characterised in that the adjacent touch of the detection mobile touch point Point and the change of the distance between the mobile touch point, including:
Judge finger print information corresponding to the mobile touch point whether with preset fingerprint information match;
If finger print information corresponding to the mobile touch point and the preset fingerprint information match, the mobile touch is detected The adjacent touch point of point and the change of the distance between the mobile touch point.
4. a kind of user terminal, it is characterised in that the user terminal includes:
First detection module, for detecting whether user carries out multiple point touching operation in touch-screen;
Judge module, for when the first detection module detects that user carries out multiple point touching operation in touch-screen, judging With the presence or absence of mobile touch point in the touch point of the multiple point touching operation;
Second detection module, for judge multiple point touching operation when the judge module touch point in the movement be present During touch point, the adjacent touch point of the mobile touch point and the change of the distance between the mobile touch point are detected, it is described Adjacent touch point is the touch point in the closest multiple point touching operation with the mobile touch point;
Adjustment module, for the change according to the distance between the adjacent touch point and the mobile touch point, volume is entered Row regulation;
The adjustment module includes:
First judging unit, for when second detection module detect the adjacent touch point and the mobile touch point it Between distance change turn to the distance between the adjacent touch point and the mobile touch point gradually increase when, described in judgement Whether the quantity of mobile touch point is less than predetermined number, and the predetermined number is less than or equal to the touch of multiple point touching operation The total quantity of point;
First adjustment unit, for judging that the quantity of the mobile touch point is less than the present count when first judging unit During amount, the first default volume incrementss are obtained, and volume is increased using the described first default volume incrementss;
First adjustment unit, it is additionally operable to when first judging unit judges that the quantity of the mobile touch point is more than or waited When the predetermined number, the second default volume incrementss are obtained, and volume is entered using the described second default volume incrementss Row increase, the described second default volume incrementss are more than the described first default volume incrementss;
Or the adjustment module includes:
Second judging unit, for when second detection module detect the adjacent touch point and the mobile touch point it Between the change of distance when turning to the distance between the adjacent touch point and the mobile touch point and being gradually reduced, described in judgement Whether the quantity of mobile touch point is less than predetermined number, and the predetermined number is less than or equal to the touch of multiple point touching operation The total quantity of point;
Second adjustment unit, for judging that the quantity of the mobile touch point is less than the present count when second judging unit During amount, the default volume down of acquisition first is a small amount of, and volume is reduced in a small amount using the described first default volume down;
Second adjustment unit, the quantity for judging the mobile touch point when second judging unit are more than or equal to described During predetermined number, the default volume down of acquisition second is a small amount of, and volume is reduced in a small amount using the described second default volume down, It is a small amount of that described second default volume down is more than the described first default volume down in a small amount.
5. user terminal according to claim 4, it is characterised in that the user terminal also includes:
Acquisition module, in the adjustment module according to the distance between the adjacent touch point and the mobile touch point Change, after volume is adjusted, obtains the first noise ration of current environment;
The first detection module, it is additionally operable to detect the single-point slide to target direction that user is carried out in touch-screen;
The judge module, is additionally operable to judge whether the pressure value of the touch point of the single-point slide is more than preset pressure Value;
The acquisition module, it is additionally operable to when the judge module judges that the pressure value of the touch point is more than the preset pressure value When, obtain the second noise ration of current environment, and by the difference of second noise ration and first noise ration Absolute value is as synchronous volume regulated quantity;
The adjustment module, it is additionally operable to that current volume is adjusted according to the synchronous volume regulated quantity.
6. the user terminal according to claim 4 or 5, it is characterised in that second detection module includes:
Judging unit, for judge finger print information corresponding to the mobile touch point whether with preset fingerprint information match;
Detection unit, for judging finger print information corresponding to the mobile touch point and the preset fingerprint when the judging unit During information match, the adjacent touch point of the mobile touch point and the change of the distance between the mobile touch point are detected.
CN201510916883.5A 2015-12-10 2015-12-10 A kind of volume adjusting method and user terminal Expired - Fee Related CN105573617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510916883.5A CN105573617B (en) 2015-12-10 2015-12-10 A kind of volume adjusting method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510916883.5A CN105573617B (en) 2015-12-10 2015-12-10 A kind of volume adjusting method and user terminal

Publications (2)

Publication Number Publication Date
CN105573617A CN105573617A (en) 2016-05-11
CN105573617B true CN105573617B (en) 2017-11-14

Family

ID=55883820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510916883.5A Expired - Fee Related CN105573617B (en) 2015-12-10 2015-12-10 A kind of volume adjusting method and user terminal

Country Status (1)

Country Link
CN (1) CN105573617B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239255A (en) * 2017-06-08 2017-10-10 广东虹勤通讯技术有限公司 Volume automatic regulating method and system
JP2020175818A (en) * 2019-04-19 2020-10-29 マツダ株式会社 Vehicular operation input device and vehicular operation input method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640092A (en) * 2009-12-14 2012-08-15 惠普发展公司,有限责任合伙企业 Touch input based adjustment of audio device settings
CN103116467A (en) * 2013-03-07 2013-05-22 东蓝数码股份有限公司 Video progress and volume control method based on multi-point touch control
CN104571650A (en) * 2013-10-09 2015-04-29 鸿富锦精密工业(深圳)有限公司 Backlight brightness and volume adjusting system and method
CN105068692A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Volume adjustment method and user terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294381A (en) * 2012-03-02 2013-09-11 富泰华工业(深圳)有限公司 Electronic device and volume adjustment method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640092A (en) * 2009-12-14 2012-08-15 惠普发展公司,有限责任合伙企业 Touch input based adjustment of audio device settings
CN103116467A (en) * 2013-03-07 2013-05-22 东蓝数码股份有限公司 Video progress and volume control method based on multi-point touch control
CN104571650A (en) * 2013-10-09 2015-04-29 鸿富锦精密工业(深圳)有限公司 Backlight brightness and volume adjusting system and method
CN105068692A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Volume adjustment method and user terminal

Also Published As

Publication number Publication date
CN105573617A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105068692B (en) A kind of volume adjusting method and user terminal
KR102127640B1 (en) Portable teriminal and sound output apparatus and method for providing locations of sound sources in the portable teriminal
KR101948645B1 (en) Method and apparatus for controlling contents using graphic object
AU2013221915B2 (en) Earphone connection interface, terminal including the same, and method of operating the terminal
CN102830898B (en) Tourelle and method in equipment with touch-screen
US20170010705A1 (en) Electronic device with a touch sensor and method for operating the same
US9965086B2 (en) Method for enabling function module of terminal, and terminal device
CN105117162B (en) A kind of application program page switching method and user terminal
US9134832B2 (en) Portable electronic device and method of controlling a portable electronic device having a proximity-sensing user interface
CN103853439B (en) terminal and page turning method
CN104636065A (en) Method and device for awakening terminal
CN102906682A (en) Electronic device and method using touch-detecting surface
CN107613146B (en) Volume adjustment method and device and mobile terminal
CN105242866B (en) A kind of volume adjusting method and user terminal
CN109032447B (en) Icon processing method and mobile terminal
CN106681612A (en) Adjusting method applied to mobile terminal and mobile terminal
CN104898836B (en) A kind of rotating camera adjusting method and user terminal
CN111899545B (en) Driving reminding method and device, storage medium and mobile terminal
CN105573617B (en) A kind of volume adjusting method and user terminal
CN105630241A (en) Scaling method and system for screen displayed content
CN104536675B (en) A kind of screening-mode processing method and terminal
CN106873889A (en) A kind of fingerprint operating method, device and electronic equipment
CN106293608B (en) Volume control method and system based on mobile terminal touch screen
CN107340996A (en) Screen lights method and device
CN105760084A (en) Voice input control method 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
GR01 Patent grant
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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171114