CN106775223A - The control method and terminal device of suspension button - Google Patents
The control method and terminal device of suspension button Download PDFInfo
- Publication number
- CN106775223A CN106775223A CN201611094692.6A CN201611094692A CN106775223A CN 106775223 A CN106775223 A CN 106775223A CN 201611094692 A CN201611094692 A CN 201611094692A CN 106775223 A CN106775223 A CN 106775223A
- Authority
- CN
- China
- Prior art keywords
- touch
- mentioned
- touch operation
- pressure value
- suspension button
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
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)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses the control method and terminal device of a kind of suspension button, the method includes:After the touch operation to touch-screen is detected, the touch location and pressure value of the touch operation are determined;Determine the touch location whether both in the coverage of suspension button or in the coverage of interface manipulation element;If the touch location is both in the coverage of the suspension button or in the coverage of interface manipulation element, according to the pressure value and the comparative result of pressure threshold, starts the suspension button or start the interface manipulation element.Scheme in the embodiment of the present invention can avoid the conflict between suspension button and interface manipulation element, user friendly operation.
Description
Technical field
The present invention relates to computer realm, the control method and terminal device of more particularly to a kind of suspension button.
Background technology
User's operation terminal device, often sets the suspension with certain function and presses for convenience on terminal device interface
Button.Wherein, the control terminal equipment that suspension button can be suspended on terminal device interface returns to the button of homepage, it is also possible to
It is suspended in the button in the video web-pages of browser opening controlling video to switch between full frame/normal mode.By suspending
Button, can aid in user to operate terminal device.Generally, suspension button acquiescence rests on the edge of terminal device, and terminal sets
Often there are the interface manipulation element more than comparing, the various webpage controls that such as desktop icons, certain webpage are included in two standby edges
Part etc..After the position of suspension button has with the position of interface manipulation element to intersect or overlap, both are may result in
Mutually block, and then operating mistake may be caused.For example, original want operation interface manipulation element but maloperation suspension button,
So that returning back to terminal device homepage and causing original tasks interrupt.In order to ensure user to the operation of suspension button not with to boundary
Face manipulation element operation clash, or in order that the position of suspension button do not influence to interface manipulate element operation,
It is frequently necessary to be adjusted the position of suspension button.
At present, it is first using generally avoiding suspension button to be manipulated with lower interface by changing the method for suspension button position
Element produces conflict, i.e., manipulate element by obtaining suspension button location information and all interfaces of mobile terminal screen current page
Whether positional information is Chong Die with other interfaces manipulation element to judge suspension button, if any overlap, then arrives the regulation of suspension button
The position non-overlapping with other elements.
Suspension button during using such scheme probably due to interface manipulation element it is Chong Dies, and be placed to away from user expectation
Position remote position.In addition, when screen current page interface manipulation element is more, suspension button can be adjusted to finger not
Convenient to operate or the position that cannot be touched, or suspension button have to interface manipulation element generation it is Chong Die, this can still cause behaviour
Work conflicts.
The content of the invention
The control method and terminal device of a kind of suspension button are the embodiment of the invention provides, for avoiding suspension button
And the conflict between interface manipulation element, user friendly operation.
On the one hand a kind of control method of suspension button is the embodiment of the invention provides, including:
After the touch operation to touch-screen is detected, the touch location and pressure value of the touch operation are determined;
Determine whether the touch location both manipulated the covering model of element in the coverage of suspension button or at interface
In enclosing;
If the touch location both manipulates the covering of element in the coverage of the suspension button or at the interface
In the range of, then according to the pressure value and the comparative result of pressure threshold, start the suspension button or start the interface
Manipulation element.
In an optional implementation, after the touch operation to touch-screen is detected, methods described also includes:
Determine the duration of the touch operation;
The comparative result according to the pressure value and pressure threshold, starts the suspension button or starts the boundary
Face manipulation element includes:
According to the duration and the comparative result and the pressure value and the comparing knot of pressure threshold of time threshold
Really, start the suspension button or start the interface manipulation element.
In an optional implementation, before touch operation of the detection to touch-screen, methods described also includes:
Display reminding user carries out the information of n times touch operation with customary way to touch-screen, and the N is at least 2;
After the touch operation is received, the average pressure value F1 of the touch operation is determined;
User described in display reminding carries out M times to the touch-screen in the way of more being exerted oneself than the customary way and touches behaviour
The information of work, the M is at least 2;
Receive the user by it is described more exerted oneself than the customary way in the way of the touch-screen is carried out M times
After touch operation, the M touch that the user is carried out in the way of more being exerted oneself than the customary way to the touch-screen is determined
The average pressure value F2, the F2 of operation are more than the F1;
F3 between the F1 and the F2 is set to the pressure threshold.
In an optional implementation, before touch operation of the detection to touch-screen, methods described also includes:
Display reminding user carries out the information of A touch operation with customary way to touch-screen, and the A is at least 2;
After the touch operation is received, the minimum pressure values and maximum pressure value in the touch operation are determined;
Value region between the minimum pressure values and the maximum pressure value is set to pressure threshold;
The comparative result according to the pressure value and pressure threshold, starts the suspension button or starts the boundary
Face manipulation element includes:
If the pressure value is in the range of the pressure threshold, start the suspension button;Otherwise, the boundary is started
Face manipulates element;
Or, if the pressure value is more than the maximum pressure value, start the interface manipulation element;Otherwise, start
The suspension button.
In an optional implementation, display reminding user carries out B touch operation with customary way to touch-screen
Information, the B is at least 2;
After the B touch operation is received, minimum length in time in the touch operation and most long lasting is determined
Time;
Value region between the minimum length in time and the maximum length in time is set to time threshold;
The comparative result and the ratio of the pressure value and pressure threshold according to the duration and time threshold
Relatively result, starting the suspension button or starting the interface manipulation element includes:
After it is determined that the pressure value is differed no more than preset value with the boundary value of the pressure threshold, during by described continuing
Between be compared respectively with two boundary values of the time threshold, described two boundary values are the minimum length in time and institute
State maximum length in time;
If the duration in the range of the time threshold, starts the suspension button;Otherwise, start described
Interface manipulates element;
Or, if the duration is more than the maximum length in time, start the interface manipulation element;Otherwise,
Start the suspension button.
The two aspect embodiment of the present invention additionally provide a kind of terminal device, including:
Detection unit, for detecting touch operation of the user to touch-screen;
First determining unit, touch location and pressure value for determining the touch operation;
Second determining unit, for determining the touch location whether both in the coverage of suspension button or at interface
Manipulate in the coverage of element;
Comparing unit, the size for comparing the pressure value and the boundary value of the pressure threshold, the boundary value is extremely
It is less 1;
Start unit, for the comparative result determined according to the comparing unit, starts the suspension button or startup
The interface manipulates element.
In an optional implementation, first determining unit is additionally operable to determine continuing for the touch operation
Time;
The comparing unit, specifically for relatively more described size of the pressure value with the boundary value of the pressure threshold and institute
State the size of duration and the boundary value of the time threshold;
It is described to enable unit, the comparative result according to the comparing unit is additionally operable to, start the suspension button or open
The dynamic interface manipulation element.
In an optional implementation, the terminal device also includes:
Display unit, the information of n times touch operation is carried out for display reminding user with customary way to touch-screen, described
N is at least 2;
Receiving unit, for receiving the touch operation;
First determining unit, is additionally operable to determine the average pressure value F1 of the touch operation;
The display unit, is additionally operable to user described in display reminding in the way of more being exerted oneself than the customary way to described
Touch-screen carries out the information of M touch operation, and the M is at least 2;
The receiving unit, be additionally operable to receive the user by it is described more exerted oneself than the customary way in the way of to described
The M touch operation that touch-screen is carried out;
First determining unit, is additionally operable to determine the user in the way of more being exerted oneself than the customary way to described
The average pressure value F2, the F2 of the M touch operation that touch-screen is carried out are more than the F1;
Setting unit, for the F3 between the F1 and the F2 to be set into the pressure threshold.
In an optional implementation, the display unit is additionally operable to display reminding user with customary way to touching
Touching screen carries out the information of A touch operation, and the A is at least 2;
The receiving unit, is additionally operable to receive the A touch operation;
First determining unit, is additionally operable to determine minimum pressure values and maximum pressure value in the A touch operation;
The setting unit, is additionally operable to set the value region between the minimum pressure values and the maximum pressure value
It is pressure threshold;
The comparing unit, the size specifically for comparing the pressure value and the maximum pressure value, or, compare institute
Pressure value is stated with the maximum pressure value and the size of the minimum pressure values;
The start unit, specifically for determining scope of the pressure value in the pressure threshold in the comparing unit
After interior, start the suspension button, otherwise, start the interface manipulation element;
Or, the start unit, specifically for determining the pressure value more than the maximum pressure in the comparing unit
After force value, start the interface manipulation element, otherwise, start the suspension button.
In an optional implementation, the display unit is additionally operable to display reminding user with customary way to touching
Touching screen carries out the information of B touch operation, and the B is at least 2;
The receiving unit, is additionally operable to receive the B touch operation;
First determining unit, the minimum length in time for being additionally operable to determine in the B touch operation and most long lasting
Time;
The setting unit, is additionally operable to the value region between the minimum length in time and the maximum length in time
It is set to time threshold;
The comparing unit, specifically for determining the boundary value phase of the pressure value and the pressure threshold by comparing
The duration, with two boundary values of the time threshold be compared respectively, described two by difference no more than after preset value
Individual boundary value is the minimum length in time and the maximum length in time;
The start unit, specifically for determining model of the duration in the time threshold in the comparing unit
Enclose it is interior after, start the suspension button, otherwise, start the interface manipulation element;
Or, specifically for after the comparing unit determines the duration more than the maximum length in time, opening
The dynamic interface manipulation element, otherwise, starts the suspension button.
The three aspect embodiment of the present invention additionally provide a kind of terminal device, including:Processor and memory, wherein, it is described
Processor is used for the method for performing any one provided in an embodiment of the present invention.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:Terminal device is according to user to touching
The size discrimination user for touching the pressure value of the touch operation of screen is the suspension button on the terminal device interface operate also
It is that the interface manipulation element being pointed to below the suspension button is operated, therefore, suspension button deployment in the embodiment of the present invention
The conflict between suspension button and interface manipulation element can be avoided in any position at the terminal device interface, facilitates user
Operation.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 is the control method schematic flow sheet of embodiment of the present invention suspension button;
Fig. 2 is the application interface schematic diagram of embodiment of the present invention terminal device;
Fig. 3 is the control method schematic flow sheet of embodiment of the present invention another kind suspension button;
Fig. 4 is the control method schematic flow sheet of another suspension button of the embodiment of the present invention;
Fig. 5 is the control method schematic flow sheet of another suspension button of the embodiment of the present invention.
Fig. 6 is embodiment of the present invention terminal device structural representation;
Fig. 7 is embodiment of the present invention terminal device structural representation;
Fig. 8 is embodiment of the present invention terminal device structural representation;
Fig. 9 is embodiment of the present invention terminal device structural representation.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step ground is described in detail, it is clear that described embodiment is only some embodiments of the invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
A kind of control method of suspension button is the embodiment of the invention provides, as shown in figure 1, including:
101st, after the touch operation to touch-screen is detected, the touch location and pressure of above-mentioned touch operation are determined
Value;
Above-mentioned touch-screen is the touch-screen with touch function, and above-mentioned touch-screen can be provided with pressure sensor, be used for
Detection user's touch operation carried out to the touch-screen and the touch location and pressure value that determine above-mentioned touch operation.The touch-screen
It is a part for terminal device, the terminal device can be mobile phone, panel computer, wearable device etc..Above-mentioned touch operation can
Being pressing operation, slide etc..
102nd, whether above-mentioned touch location both covering in the coverage of suspension button or in interface manipulation element is determined
In the range of lid;
Above-mentioned suspension button can be the suspension in suspension button, or webpage on the application interface of terminal device
Button is such as suspended in the button in the video web-pages of browser opening controlling video to switch between full frame/normal mode.Pass through
Suspension button can aid in user to operate terminal device.Above-mentioned interface manipulation element can be that desktop icons, certain webpage are included
Each webpage control, etc..Control is a kind of object in graphical user interfaces on screen, and the operable object of user comes
A certain behavior is performed, the control performs corresponding operation after the clicking operation for receiving user.Above-mentioned suspension button with it is above-mentioned
Interface manipulation element may be overlapped or be intersected.The above-mentioned above-mentioned touch location of determination whether both covering in suspension button
Also can be that the terminal device determines whether both can be by above-mentioned touch in the coverage of interface manipulation element in the range of lid
Operation is operation that element is manipulated to the interface when the operation of the paired suspension button can also treat as above-mentioned touch operation.Such as
Shown in Fig. 2, black region is exactly a kind of suspension button, and as can be seen from Figure 2 the suspension button is mutually overlap with the icon on desktop
Folded, the suspension button is covered on an application icon, if above-mentioned touch location is on the capped icon, above-mentioned touch
Position is both in the coverage of suspension button or in the coverage of interface manipulation element.
If the 103, above-mentioned touch location is both in the coverage of above-mentioned suspension button or in above-mentioned interface manipulation element
In coverage, then according to above-mentioned pressure value and the comparative result of pressure threshold, start above-mentioned suspension button or start above-mentioned
Interface manipulates element.
Above-mentioned pressure threshold can be that above-mentioned terminal device sets, or user is carried out according to the need for oneself
Set.The pressure threshold that such as user can open above-mentioned terminal device sets interface, and setting interface in the pressure threshold sets
Put the pressure threshold for meeting oneself demand.The pressure threshold can be a value, such as 1 newton;It can also be a numerical value area
Between, such as 10-20 newton.In above-mentioned terminal device user can according to the custom of oneself be arranged on what situation start it is above-mentioned
When suspension button, start above-mentioned interface manipulation element.For example, when pressure threshold is a numerical value, use
Family can be set when above-mentioned pressure value is more than above-mentioned pressure threshold, start above-mentioned interface manipulation element, otherwise, started above-mentioned outstanding
Floating button.
Terminal device is used the size discrimination of the pressure value of the touch operation of touch-screen according to user in the embodiment of the present invention
Family is the suspension button on the terminal device interface to be operated or is pointed to the interface below the suspension button manipulate unit
Element is operated, therefore, suspension button is deployed in any position at the terminal device interface and can keep away in the embodiment of the present invention
Exempt from the conflict between suspension button and interface manipulation element, user friendly operation.
In the embodiment of the present invention, it is proposed that a kind of suspension button control of duration and pressure value based on touch operation
Method, it is specific as follows:After the touch operation to touch-screen is detected, the above method also includes:
Determine the duration of above-mentioned touch operation;
The above-mentioned comparative result according to above-mentioned pressure value and pressure threshold, starts above-mentioned suspension button or starts above-mentioned boundary
Face manipulation element includes:
According to above-mentioned duration and the comparative result and above-mentioned pressure value and the comparing knot of pressure threshold of time threshold
Really, start above-mentioned suspension button or start above-mentioned interface manipulation element.
Above-mentioned time threshold can be that above-mentioned terminal device sets, or user is carried out according to the need for oneself
Set.The time threshold that such as user can open above-mentioned terminal device sets interface, and setting interface in the time threshold sets
Put the time threshold for meeting oneself demand.The time threshold can be a value, such as 10 milliseconds;It can also be a numerical value area
Between, such as 10-50 milliseconds.
Optionally, the comparative result that terminal device can directly according to above-mentioned duration and above-mentioned time threshold determines to open
Move above-mentioned suspension button or start above-mentioned interface manipulation element.For example when time threshold is such as 20 milliseconds of numerical value, will
Above-mentioned duration and 20 milliseconds are compared.Can be to start above-mentioned interface operation unit more than 20 milliseconds when the above-mentioned duration
Element, it can be to start above-mentioned boundary's suspension button to be not more than 20 milliseconds when the above-mentioned duration.
Optionally, terminal device can be determined in startup first with above-mentioned pressure value and above-mentioned pressure threshold result of the comparison
State suspension button or start above-mentioned interface manipulation element, when above-mentioned pressure value was sufficiently close to so that the end with above-mentioned pressure threshold
When end equipment is difficult to determine that starting above-mentioned suspension button still starts above-mentioned interface manipulation element, recycle the above-mentioned duration with
Above-mentioned time threshold result of the comparison determines to start above-mentioned suspension button or starts above-mentioned interface manipulation element.For example,
When pressure threshold is 1 Newtonian time, if above-mentioned pressure value is 1.02 newton, terminal device is difficult to determine to start above-mentioned suspension button
Or start above-mentioned interface manipulation element.Because the measurement of the presence pressure value of pressure value measurement error may not be very accurate
Really, the value therefore for being sufficiently close to above-mentioned pressure threshold starts above-mentioned suspension button, it is necessary to adopt otherwise determine
Or start above-mentioned interface manipulation element.
In the embodiment of the present invention, realization is combined to suspension button by by the pressure value of touch operation and duration
Control, can solve pressure value with above-mentioned pressure threshold very close in the case of, terminal device be difficult to determine start it is above-mentioned
Suspension button starts the problem that above-mentioned interface manipulates element.
The control method of another suspension button is the embodiment of the invention provides, as shown in figure 3, the method can include one
Lower step:
301st, the pressure threshold study mechanism of activated terminals equipment;
Above-mentioned terminal device can be mobile phone, panel computer, wearable device etc..User can open pressure threshold setting
The pressure threshold study mechanism of interface activated terminals equipment, the pressure threshold needed for user can be set by the mechanism.
302nd, prompting user carries out the information of n times touch operation with customary way to touch-screen, and above-mentioned N is at least 2;
Display reminding user carries out n times touch operation with customary way to touch-screen on the touch-screen of above-mentioned terminal device
Information, for example can be " 5 touch operations are please carried out to touch-screen with customary way ".
303rd, after above-mentioned touch operation is received, the average pressure value F1 of above-mentioned touch operation is determined;
Pressure sensor etc. can be installed, the pressure value for detecting above-mentioned touch operation on above-mentioned touch-screen.Terminal
The pressure value that the processor of equipment can be measured according to above-mentioned pressure sensor, calculates the average pressure value of above-mentioned touch operation
F1。
304th, the above-mentioned user of display reminding above-mentioned touch-screen is carried out in the way of more being exerted oneself than above-mentioned customary way M time it is tactile
The information of operation is touched, above-mentioned M is at least 2;
Above-mentioned M can be identical with above-mentioned N, it is also possible to different.
305th, the M touch that above-mentioned user is carried out in the way of more being exerted oneself than above-mentioned customary way to above-mentioned touch-screen is determined
The average pressure value F2, above-mentioned F2 of operation are more than above-mentioned F1;
306th, the F3 between above-mentioned F1 and above-mentioned F2 is set to above-mentioned pressure threshold;
Above-mentioned terminal device is set to above-mentioned pressure threshold using the F3 between intelligent algorithm just above-mentioned F1 and above-mentioned F2.
307th, activation pressure threshold decision mechanism;
User can set the activation option at interface, activation pressure threshold decision mechanism by clicking on above-mentioned pressure threshold.
After pressure threshold judgment mechanism activation, it is possible to which the pressure value according to user's touch operation determines that starting suspension button still opens
Dynamic interface operation element.
308th, after the touch operation to touch-screen is detected, the touch location and pressure of above-mentioned touch operation are determined
Value;
309th, whether above-mentioned touch location both covering in the coverage of suspension button or in interface manipulation element is determined
In the range of lid, if so, performing 310, otherwise, 313 are performed;
310th, whether above-mentioned pressure value is judged more than pressure threshold, if so, performing 311, otherwise, performs 312;
311st, interface operation element is activated;
The position of above-mentioned interface operation element is identical with above-mentioned touch location.Startup interface operation element it is corresponding application or
Program.
312nd, suspension button is activated;
Start the corresponding application of above-mentioned suspension button or program
313rd, the page elements of touch location are activated.
Above-mentioned page elements can be application icon etc..
In the embodiment of the present invention, the touch operation using pressure threshold study mechanism according to user in different modes determines
Pressure threshold, can meet the demand of different user, improve Consumer's Experience.
The embodiment of the invention provides the control method of another suspension button, as shown in figure 4, the method can include with
Lower step:
401st, display reminding user carries out the information of A touch operation with customary way to touch-screen, and above-mentioned A is at least 2;
402nd, after above-mentioned touch operation is received, the minimum pressure values and maximum pressure in above-mentioned touch operation are determined
Value;
Terminal device is detected and records the pressure value of each touch operation, and determines minimum pressure values therein and maximum pressure
Force value.
403rd, the value region between above-mentioned minimum pressure values and above-mentioned maximum pressure value is set to pressure threshold;
Above-mentioned maximum pressure value is more than above-mentioned minimum pressure values, therefore above-mentioned pressure threshold is a numerical intervals such as 1-20
Newton.
404th, after the touch operation to touch-screen is detected, the touch location and pressure of above-mentioned touch operation are determined
Value;
405th, whether above-mentioned touch location both covering in the coverage of suspension button or in interface manipulation element is determined
In the range of lid;
If the 406, above-mentioned pressure value is in the range of above-mentioned pressure threshold, start above-mentioned suspension button;Otherwise, in startup
State interface manipulation element
Optionally, if above-mentioned pressure value is more than above-mentioned maximum pressure value, above-mentioned interface manipulation element is started;Otherwise, open
Move above-mentioned suspension button.
In the embodiment of the present invention, pressure threshold is set to an interval, by the comparing of pressure value and the pressure threshold
Result determines to start above-mentioned suspension button or startup interface manipulation element, and it is to want that can more accurately distinguish above-mentioned touch operation
Start above-mentioned suspension button or startup interface manipulation element.
The embodiment of the present invention provides the control method of another suspension button on the basis of preceding embodiment, such as Fig. 5 institutes
Show, the method may comprise steps of:
501st, after above-mentioned touch operation is received, minimum length in time in above-mentioned touch operation and most long lasting is determined
Time;
502nd, the value region between above-mentioned minimum length in time and above-mentioned maximum length in time is set to time threshold;
503rd, after the touch operation to touch-screen is detected, determine the touch location of above-mentioned touch operation, pressure value with
And the duration;
504th, after it is determined that above-mentioned pressure value is differed no more than preset value with the boundary value of above-mentioned pressure threshold, held above-mentioned
The continuous time is compared with the boundary value of above-mentioned time threshold;
Above-mentioned preset value can be the value that above-mentioned terminal device pre-sets, for example, can be 0.2 newton etc., it is also possible to
It is configured by user.
If the 505th, the above-mentioned duration in the range of above-mentioned time threshold, start above-mentioned suspension button;Otherwise, start
Above-mentioned interface manipulates element;
Optionally, if the above-mentioned duration is more than above-mentioned maximum length in time, above-mentioned interface manipulation element is started;It is no
Then, above-mentioned suspension button is started.
In the embodiment of the present invention, realization is combined to suspension button by by the pressure value of touch operation and duration
Control, can solve pressure value with above-mentioned pressure threshold very close in the case of, terminal device be difficult to determine start it is above-mentioned
Suspension button starts the problem of above-mentioned interface manipulation element or causes to start the problem of mistake.
The embodiment of the present invention additionally provides a kind of terminal device equipment, as shown in fig. 6, including:
Detection unit 601, for detecting touch operation of the user to touch-screen;
First determining unit 602, touch location and pressure value for determining above-mentioned touch operation;
Second determining unit 603, for determine above-mentioned touch location whether both in the coverage of suspension button and also
In the coverage of interface manipulation element;
Comparing unit 604, the size for comparing above-mentioned pressure value and the boundary value of above-mentioned pressure threshold, above-mentioned boundary value
At least 1;
Start unit 605, for the comparative result determined according to above-mentioned comparing unit, starts above-mentioned suspension button or opens
Dynamic above-mentioned interface manipulation element.
Concrete implementation method is identical with the control method of the suspension button in Fig. 1, repeats no more here.
The embodiment of the present invention also proposed the suspension button control of a kind of duration based on touch operation and pressure value
Method, it is specific as follows:Further, above-mentioned first determining unit 602, is additionally operable to determine the duration of above-mentioned touch operation;
Above-mentioned comparing unit 604, specifically for relatively above-mentioned pressure value and the boundary value of above-mentioned pressure threshold size with
And the size of above-mentioned duration and the boundary value of above-mentioned time threshold;
Above-mentioned start unit 605, specifically for the comparative result according to above-mentioned comparing unit, start above-mentioned suspension button or
Person starts above-mentioned interface manipulation element.
Above-mentioned time threshold can be that above-mentioned terminal device sets, or user is carried out according to the need for oneself
Set.The time threshold that such as user can open above-mentioned terminal device sets interface, and setting interface in the time threshold sets
Put the time threshold for meeting oneself demand.The time threshold can be a value, such as 10 milliseconds;It can also be a numerical value area
Between, such as 10-50 milliseconds.
In the embodiment of the present invention, realization is combined to suspension button by by the pressure value of touch operation and duration
Control, can solve pressure value with above-mentioned pressure threshold very close in the case of, terminal device be difficult to determine start it is above-mentioned
Suspension button starts the problem that above-mentioned interface manipulates element.
The embodiment of the present invention also proposed a kind of method for setting pressure threshold, specific as follows:Further, such as Fig. 7 institutes
Show, above-mentioned terminal device also includes:
Display unit 701, the information of n times touch operation is carried out for display reminding user with customary way to touch-screen,
Above-mentioned N is at least 2;
Receiving unit 702, for receiving above-mentioned touch operation;
Above-mentioned first determining unit 602, is additionally operable to determine the average pressure value F1 of above-mentioned touch operation;
Above-mentioned display unit 701, be additionally operable to the above-mentioned user of display reminding by than above-mentioned customary way more exert oneself in the way of pair
Above-mentioned touch-screen carries out the information of M touch operation, and above-mentioned M is at least 2;
Above-mentioned receiving unit 702, be additionally operable to receive above-mentioned user by it is above-mentioned more exerted oneself than above-mentioned customary way in the way of pair
The M touch operation that above-mentioned touch-screen is carried out;
Above-mentioned first determining unit 602, is additionally operable to determine above-mentioned user in the way of more being exerted oneself than above-mentioned customary way pair
The average pressure value F2, above-mentioned F2 of the M touch operation that above-mentioned touch-screen is carried out are more than above-mentioned F1;
Setting unit 703, for the F3 between above-mentioned F1 and above-mentioned F2 to be set into above-mentioned pressure threshold.
In the embodiment of the present invention, the average pressure of touch operation of the terminal device according to user in different modes sets pressure
Force threshold, can meet the demand of different user.
The embodiment of the present invention proposes another method for setting pressure threshold, specific as follows:Further, above-mentioned display
Unit 701, be additionally operable to display reminding user carries out the information of A touch operation with customary way to touch-screen, and above-mentioned A is at least
2;
Above-mentioned receiving unit 702, is additionally operable to receive above-mentioned A touch operation;
Above-mentioned first determining unit 602, is additionally operable to determine minimum pressure values and maximum pressure in above-mentioned A touch operation
Value;
Above-mentioned setting unit 703, is additionally operable to the value region between above-mentioned minimum pressure values and above-mentioned maximum pressure value
It is set to pressure threshold;
Above-mentioned comparing unit 604, the size specifically for comparing above-mentioned pressure value and above-mentioned maximum pressure value, or, than
More above-mentioned pressure value and above-mentioned maximum pressure value and the size of above-mentioned minimum pressure values;
Above-mentioned start unit 605, specifically for determining above-mentioned pressure value in above-mentioned pressure threshold in above-mentioned comparing unit
In the range of after, start above-mentioned suspension button, otherwise, start above-mentioned interface manipulation element;
Or, specifically for determining above-mentioned pressure value more than after above-mentioned maximum pressure value in above-mentioned comparing unit, in startup
Interface manipulation element is stated, otherwise, starts above-mentioned suspension button.
Display reminding user carries out A touch operation with customary way to touch-screen on the touch-screen of above-mentioned terminal device
Information, for example can be that the detection of " 5 touch operations are please carried out to touch-screen with customary way " terminal device and record are each
The pressure value of touch operation, and determine minimum pressure values therein and maximum pressure value.Above-mentioned maximum pressure value more than it is above-mentioned most
Small pressure value, therefore above-mentioned pressure threshold is a numerical intervals such as 1-20 newton.
In the embodiment of the present invention, pressure threshold is set to an interval, by the comparing of pressure value and the pressure threshold
Result determines to start above-mentioned suspension button or startup interface manipulation element, and it is to want that can more accurately distinguish between above-mentioned touch operation
Start above-mentioned suspension button or startup interface manipulation element.
The embodiment of the present invention provides the control method of another suspension button on the basis of preceding embodiment, specifically such as
Under:Further, above-mentioned display unit 701, be additionally operable to display reminding user carries out B touch behaviour to touch-screen with customary way
The information of work, above-mentioned B is at least 2;
Above-mentioned receiving unit 702, is additionally operable to receive above-mentioned B touch operation;
Above-mentioned first determining unit 602, the minimum length in time for being additionally operable to determine in above-mentioned B touch operation and most long holds
The continuous time;
Above-mentioned setting unit 703, is additionally operable to the numerical value between above-mentioned minimum length in time and above-mentioned maximum length in time
Region is set to time threshold;
Above-mentioned comparing unit 604, specifically for determining the border of the pressure value and the pressure threshold by comparing
The duration, with two boundary values of the time threshold be compared respectively, institute by value difference no more than after preset value
Boundary value is stated for the minimum length in time and the maximum length in time;
Above-mentioned start unit 605, specifically for determining the above-mentioned duration in above-mentioned time threshold in above-mentioned comparing unit
In the range of after, start above-mentioned suspension button, otherwise, start above-mentioned interface manipulation element;
Or, specifically for after above-mentioned comparing unit determines the above-mentioned duration more than above-mentioned maximum length in time, opening
Dynamic above-mentioned interface manipulation element, otherwise, starts above-mentioned suspension button.
In the embodiment of the present invention, realization is combined to suspension button by by the pressure value of touch operation and duration
Control, can solve pressure value with above-mentioned pressure threshold very close in the case of, terminal device be difficult to determine start it is above-mentioned
Suspension button starts the problem of above-mentioned interface manipulation element or causes to start the problem of mistake.
The embodiment of the present invention additionally provides a kind of terminal device, as shown in figure 8, including:Processor 801, memory 802,
Input equipment 803 and output equipment 804;Wherein memory 802 can be used for required for the execution data processing of processor 801
Caching, the storage that can be also used for providing the result data that processor 801 performs the data called of data processing and acquisition is empty
Between;Input equipment 803 is used to receive the touch operation of user;Output equipment 804 is used for the interface of display terminal;
Wherein, above-mentioned processor 801, for after the touch operation to touch-screen is detected, determining above-mentioned touch operation
Touch location and pressure value;Determine above-mentioned touch location whether both in the coverage of suspension button or in interface manipulation
In the coverage of element;If above-mentioned touch location both manipulates unit in the coverage of above-mentioned suspension button or at above-mentioned interface
In the coverage of element, then according to above-mentioned pressure value and the comparative result of pressure threshold, start above-mentioned suspension button or startup
Above-mentioned interface manipulates element.
Concrete implementation method is identical with the control method of the suspension button in Fig. 1, repeats no more here.
The embodiment of the present invention also proposed the suspension button control of a kind of duration based on touch operation and pressure value
Method, it is specific as follows:Further, above-mentioned processor 801, is additionally operable to determine the duration of above-mentioned touch operation;
The above-mentioned comparative result according to above-mentioned pressure value and pressure threshold, starts above-mentioned suspension button or starts above-mentioned boundary
Face manipulation element includes:
According to above-mentioned duration and the comparative result and above-mentioned pressure value and the comparing knot of pressure threshold of time threshold
Really, start above-mentioned suspension button or start above-mentioned interface manipulation element.
Above-mentioned time threshold can be that above-mentioned terminal device sets, or user is carried out according to the need for oneself
Set.The time threshold that such as user can open above-mentioned terminal device sets interface, and setting interface in the time threshold sets
Put the time threshold for meeting oneself demand.The time threshold can be a value, such as 10 milliseconds;It can also be a numerical value area
Between, such as 10-50 milliseconds.
In the embodiment of the present invention, realization is combined to suspension button by by the pressure value of touch operation and duration
Control, can solve pressure value with above-mentioned pressure threshold very close in the case of, terminal device be difficult to determine start it is above-mentioned
Suspension button starts the problem that above-mentioned interface manipulates element.
The embodiment of the present invention also proposed a kind of method for setting pressure threshold, specific as follows:Further, above-mentioned treatment
Device 801, be additionally operable to display reminding user carries out the information of n times touch operation with customary way to touch-screen, and above-mentioned N is at least 2;
After above-mentioned touch operation is received, the average pressure value F1 of above-mentioned touch operation is determined;
The above-mentioned user of display reminding carries out M times to above-mentioned touch-screen in the way of more being exerted oneself than above-mentioned customary way and touches behaviour
The information of work, above-mentioned M is at least 2;
Receive above-mentioned user by it is above-mentioned more exerted oneself than above-mentioned customary way in the way of above-mentioned touch-screen is carried out M times
After touch operation, the M touch that above-mentioned user is carried out in the way of more being exerted oneself than above-mentioned customary way to above-mentioned touch-screen is determined
The average pressure value F2, above-mentioned F2 of operation are more than above-mentioned F1;
F3 between above-mentioned F1 and above-mentioned F2 is set to above-mentioned pressure threshold.
In the embodiment of the present invention, the average pressure of touch operation of the terminal device according to user in different modes sets pressure
Force threshold, can meet the demand of different user.
The embodiment of the present invention proposes another method for setting pressure threshold, specific as follows:Further, above-mentioned treatment
Device 801, be additionally operable to display reminding user carries out the information of A touch operation with customary way to touch-screen, and above-mentioned A is at least 2;
After above-mentioned touch operation is received, the minimum pressure values and maximum pressure value in above-mentioned touch operation are determined;Will
Value region between above-mentioned minimum pressure values and above-mentioned maximum pressure value is set to pressure threshold;
The above-mentioned comparative result according to above-mentioned pressure value and pressure threshold, starts above-mentioned suspension button or starts above-mentioned boundary
Face manipulation element includes:
If above-mentioned pressure value is in the range of above-mentioned pressure threshold, start above-mentioned suspension button;Otherwise, above-mentioned boundary is started
Face manipulates element;
Or, if above-mentioned pressure value is more than above-mentioned maximum pressure value, start above-mentioned interface manipulation element;Otherwise, start
Above-mentioned suspension button.
Display reminding user carries out A touch operation with customary way to touch-screen on the touch-screen of above-mentioned terminal device
Information, for example can be that the detection of " 5 touch operations are please carried out to touch-screen with customary way " terminal device and record are each
The pressure value of touch operation, and determine minimum pressure values therein and maximum pressure value.Above-mentioned maximum pressure value more than it is above-mentioned most
Small pressure value, therefore above-mentioned pressure threshold is a numerical intervals such as 1-20 newton.
In the embodiment of the present invention, pressure threshold is set to an interval, by the comparing of pressure value and the pressure threshold
Result determines to start above-mentioned suspension button or startup interface manipulation element, and it is to want that can more accurately distinguish above-mentioned touch operation
Start above-mentioned suspension button or startup interface manipulation element.
The embodiment of the present invention provides the control method of another suspension button on the basis of preceding embodiment, specifically such as
Under:Further, above-mentioned processor 801, be additionally operable to display reminding user carries out B touch operation with customary way to touch-screen
Information, above-mentioned B is at least 2;Display reminding user carries out the information of B touch operation, the B with customary way to touch-screen
At least 2;After the B touch operation is received, minimum length in time in the touch operation and most long lasting is determined
Time;Value region between the minimum length in time and the maximum length in time is set to time threshold;
The comparative result and the ratio of the pressure value and pressure threshold according to the duration and time threshold
Relatively result, starting the suspension button or starting the interface manipulation element includes:
After it is determined that the pressure value is differed no more than preset value with the boundary value of the pressure threshold, during by described continuing
Between be compared respectively with two boundary values of the time threshold, the boundary value be the minimum length in time and it is described most
Long duration;
If the duration in the range of the time threshold, starts the suspension button;Otherwise, start described
Interface manipulates element;
Or, if the duration is more than the maximum length in time, start the interface manipulation element;Otherwise,
Start the suspension button.
Above-mentioned preset value can be the value that above-mentioned terminal device pre-sets, for example, can be 0.2 newton etc., it is also possible to
It is configured by user.Because the detection of pressure value is it is possible that error, thus some pressure values and pressure threshold comparing
Result is probably mistake.For example, pressure threshold is 1 newton, and user wants to start suspension button, to the same of the user
The pressure value of touch operation is detected that the pressure value for measuring is probably 0.99,0.998,1.005,1.01 newton etc., these values
Difference very little be likely to what error was caused, can but cause opposite different comparative results.
In the embodiment of the present invention, realization is combined to suspension button by by the pressure value of touch operation and duration
Control, can solve pressure value with above-mentioned pressure threshold very close in the case of, terminal device be difficult to determine start it is above-mentioned
Suspension button starts the problem of above-mentioned interface manipulation element or causes to start the problem of mistake.
The embodiment of the present invention additionally provides another terminal device, as shown in figure 9, for convenience of description, illustrate only with
The related part of the embodiment of the present invention, particular technique details is not disclosed, and refer to present invention method part.The terminal
Equipment can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS
Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that terminal device is as mobile phone as an example:
Fig. 9 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal device provided in an embodiment of the present invention.Ginseng
Fig. 9 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit
940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980,
And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 9 is not constituted to mobile phone
Limit, part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 9:
RF circuits 910 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, processed to processor 980;In addition, up data is activation will be designed to base station.Generally, RF circuits 910
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..Additionally, RF circuits 910 can also be communicated by radio communication with network and other equipment.
Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used to store software program and module, and processor 980 is by running storage in memory 920
Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 can mainly include
Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone
Data (such as voice data, phone directory etc.) etc..Additionally, memory 920 can include high-speed random access memory, can be with
Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states
Part.
Input block 930 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with
And the relevant key signals input of function control.Specifically, input block 930 may include that contact panel 931 and other inputs set
Standby 932.Contact panel 931, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses
The operation of any suitable object such as finger, stylus or annex on contact panel 931 or near contact panel 931), and root
Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 931 may include touch detecting apparatus and touch
Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give processor 980, and the order sent of receiving processor 980 and can be performed.Furthermore, it is possible to using electricity
The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input
Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to secondary or physical bond
One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various
Menu.Display unit 940 may include display panel 941, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 941.Further, contact panel 931 can cover display panel 941, when contact panel 931 detect it is thereon or attached
After near touch operation, processor 980 is sent to determine the type of touch event, with preprocessor 980 according to touch event
Type corresponding visual output is provided on display panel 941.Although in fig .9, contact panel 931 and display panel 941
It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control
Panel 931 and display panel 941 be integrated and input that realize mobile phone and output function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 941, proximity transducer can close display panel 941 when mobile phone is moved in one's ear
And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor
Size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data conversion that road 960 will can receive, is transferred to loudspeaker 961, and sound is converted to by loudspeaker 961
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960
It is changed to voice data, then after voice data output processor 980 is processed, through RF circuits 910 to be sent to such as another mobile phone,
Or export to memory 920 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 9 shows
WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform software program of the storage in memory 920 and/or module, and call storage in memory 920
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped
Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe
Reason system is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In previous embodiment, the structure that each step method flow can be based on the terminal device is realized.Wherein sensor 950
Or contact panel 931 can be used as fingerprint collecting equipment.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in above-mentioned each method embodiment
The hardware that program be can be by instruct correlation is completed, and corresponding program can be stored in a kind of computer-readable recording medium
In, storage medium mentioned above can be read-only storage, disk or CD etc..
The present invention preferably specific embodiment is these are only, but protection scope of the present invention is not limited thereto, it is any
Those familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention is disclosed
Change, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim
Enclose and be defined.
Claims (10)
1. a kind of control method of suspension button, it is characterised in that including:
After the touch operation to touch-screen is detected, the touch location and pressure value of the touch operation are determined;
Determine the touch location whether both in the coverage of suspension button or in the coverage of interface manipulation element;
If the touch location both manipulates the coverage of element in the coverage of the suspension button or at the interface
It is interior, then according to the pressure value and the comparative result of pressure threshold, start the suspension button or start the interface manipulation
Element.
2. method according to claim 1, it is characterised in that after the touch operation to touch-screen is detected, methods described
Also include:
Determine the duration of the touch operation;
The comparative result according to the pressure value and pressure threshold, starts the suspension button or starts the interface behaviour
Control element includes:
According to the comparative result and the pressure value and the comparative result of pressure threshold of the duration and time threshold, open
Move the suspension button or start the interface manipulation element.
3. method according to claim 1, it is characterised in that before the touch operation in detection to touch-screen, methods described
Also include:
Display reminding user carries out the information of n times touch operation with customary way to touch-screen, and the N is at least 2;
After the touch operation is received, the average pressure value F1 of the touch operation is determined;
User described in display reminding carries out M touch operation in the way of more being exerted oneself than the customary way to the touch-screen
Information, the M is at least 2;
Receive the user by it is described more exerted oneself than the customary way in the way of touch the touch-screen is carried out M time
After operation, the M touch operation that the user is carried out in the way of more being exerted oneself than the customary way to the touch-screen is determined
Average pressure value F2, the F2 is more than the F1;
F3 between the F1 and the F2 is set to the pressure threshold.
4. method according to claim 1, it is characterised in that before the touch operation in detection to touch-screen, methods described
Also include:
Display reminding user carries out the information of A touch operation with customary way to touch-screen, and the A is at least 2;
After the A touch operation is received, the minimum pressure values and maximum pressure value in the touch operation are determined;
Value region between the minimum pressure values and the maximum pressure value is set to pressure threshold;
The comparative result according to the pressure value and pressure threshold, starts the suspension button or starts the interface behaviour
Control element includes:
If the pressure value is in the range of the pressure threshold, start the suspension button;Otherwise, the interface behaviour is started
Control element;
Or, if the pressure value is more than the maximum pressure value, start the interface manipulation element;Otherwise, start described
Suspension button.
5. method according to claim 2, it is characterised in that before the touch operation in detection to touch-screen, methods described
Also include:
Display reminding user carries out the information of B touch operation with customary way to touch-screen, and the B is at least 2;
After the B touch operation is received, the minimum length in time and maximum length in time in the touch operation are determined;
Value region between the minimum length in time and the maximum length in time is set to time threshold;
The comparing knot of the comparative result and the pressure value according to the duration and time threshold and pressure threshold
Really, starting the suspension button or starting the interface manipulation element includes:
It is determined that the pressure value is differed no more than after preset value with the boundary value of the pressure threshold, by the duration with
Two boundary values of the time threshold are compared respectively, described two boundary values be the minimum length in time and it is described most
Long duration;
If the duration in the range of the time threshold, starts the suspension button;Otherwise, the interface is started
Manipulation element;
Or, if the duration is more than the maximum length in time, start the interface manipulation element;Otherwise, start
The suspension button.
6. a kind of terminal device, it is characterised in that including:
Detection unit, for detecting touch operation of the user to touch-screen;
First determining unit, touch location and pressure value for determining the touch operation;
Second determining unit, for determining the touch location whether both in the coverage of suspension button or in interface manipulation
In the coverage of element;
Comparing unit, the size for comparing the pressure value and the boundary value of the pressure threshold, the boundary value is at least 1
It is individual;
Start unit, for the comparative result determined according to the comparing unit, starts the suspension button or starts described
Interface manipulates element.
7. terminal device according to claim 6, it is characterised in that
First determining unit, is additionally operable to determine the duration of the touch operation;
The comparing unit, size specifically for the relatively pressure value and the boundary value of the pressure threshold and described holds
Continue the size of time and the boundary value of the time threshold;
It is described to enable unit, specifically for the comparative result according to the comparing unit, start the suspension button or startup
The interface manipulates element.
8. terminal device according to claim 6, it is characterised in that the terminal device also includes:
Display unit, the information of n times touch operation is carried out for display reminding user with customary way to touch-screen, and the N is extremely
It is less 2;
Receiving unit, for receiving the touch operation;
First determining unit, is additionally operable to determine the average pressure value F1 of the touch operation;
The display unit, is additionally operable to user described in display reminding in the way of more being exerted oneself than the customary way to the touch
Screen carries out the information of M touch operation, and the M is at least 2;
The receiving unit, be additionally operable to receive the user by it is described more exerted oneself than the customary way in the way of to the touch
The M touch operation that screen is carried out;
First determining unit, is additionally operable to determine the user in the way of more being exerted oneself than the customary way to the touch
The average pressure value F2, the F2 of the M touch operation that screen is carried out are more than the F1;
Setting unit, for the F3 between the F1 and the F2 to be set into the pressure threshold.
9. terminal device according to claim 6, it is characterised in that
The display unit, be additionally operable to display reminding user carries out the information of A touch operation, institute with customary way to touch-screen
State A and be at least 2;
The receiving unit, is additionally operable to receive the A touch operation;
First determining unit, is additionally operable to determine minimum pressure values and maximum pressure value in the A touch operation;
The setting unit, is additionally operable to for the value region between the minimum pressure values and the maximum pressure value to be set to pressure
Force threshold;
The comparing unit, the size specifically for comparing the pressure value and the maximum pressure value, or, relatively more described pressure
Force value and the maximum pressure value and the size of the minimum pressure values;
The start unit, specifically for determining the pressure value in the range of the pressure threshold in the comparing unit
Afterwards, start the suspension button, otherwise, start the interface manipulation element;
Or, specifically for after the comparing unit determines the pressure value more than the maximum pressure value, starting the boundary
Face manipulates element, otherwise, starts the suspension button.
10. terminal device according to claim 7, it is characterised in that
The display unit, be additionally operable to display reminding user carries out the information of B touch operation, institute with customary way to touch-screen
State B and be at least 2;
The receiving unit, is additionally operable to receive the B touch operation;
First determining unit, is additionally operable to determine the minimum length in time and maximum length in time in the B touch operation;
The setting unit, is additionally operable to set the value region between the minimum length in time and the maximum length in time
It is time threshold;
The comparing unit, specifically for being differed not with the boundary value of the pressure threshold by comparing the determination pressure value
After more than preset value, the duration is compared respectively with two boundary values of the time threshold, described two sides
Dividing value is the minimum length in time and the maximum length in time;
The start unit, specifically for determining the duration in the range of the time threshold in the comparing unit
Afterwards, start the suspension button, otherwise, start the interface manipulation element;
Or, specifically for after the comparing unit determines the duration more than the maximum length in time, starting institute
Interface manipulation element is stated, otherwise, starts the suspension button.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611094692.6A CN106775223A (en) | 2016-11-30 | 2016-11-30 | The control method and terminal device of suspension button |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611094692.6A CN106775223A (en) | 2016-11-30 | 2016-11-30 | The control method and terminal device of suspension button |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775223A true CN106775223A (en) | 2017-05-31 |
Family
ID=58883186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611094692.6A Pending CN106775223A (en) | 2016-11-30 | 2016-11-30 | The control method and terminal device of suspension button |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775223A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357564A (en) * | 2017-06-02 | 2017-11-17 | 努比亚技术有限公司 | A kind of method and apparatus of custom application button |
CN107463327A (en) * | 2017-07-20 | 2017-12-12 | 福建网龙计算机网络信息技术有限公司 | A kind of method and terminal for obtaining interface control element position information |
CN107704186A (en) * | 2017-09-01 | 2018-02-16 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
CN108279842A (en) * | 2018-01-10 | 2018-07-13 | 维沃移动通信有限公司 | A kind of function controlling method, function controlling device and terminal device |
WO2019201037A1 (en) * | 2018-04-20 | 2019-10-24 | 中兴通讯股份有限公司 | Element display method and device, and terminal, storage medium, and electronic device |
CN113296655A (en) * | 2021-06-10 | 2021-08-24 | 湖北亿咖通科技有限公司 | Control method, device and equipment for display screen |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123065A (en) * | 2014-07-23 | 2014-10-29 | 北京乐动卓越科技有限公司 | Display method and system of suspended buttons on mobile terminal |
CN104238869A (en) * | 2013-06-19 | 2014-12-24 | 富泰华工业(深圳)有限公司 | Floating icon display system and method |
CN104461287A (en) * | 2014-11-27 | 2015-03-25 | 东莞宇龙通信科技有限公司 | Handling method and device for floating object and terminal |
CN104965647A (en) * | 2015-06-09 | 2015-10-07 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105549851A (en) * | 2016-01-29 | 2016-05-04 | 上海与德通讯技术有限公司 | Pressure grade setting method and module |
-
2016
- 2016-11-30 CN CN201611094692.6A patent/CN106775223A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104238869A (en) * | 2013-06-19 | 2014-12-24 | 富泰华工业(深圳)有限公司 | Floating icon display system and method |
CN104123065A (en) * | 2014-07-23 | 2014-10-29 | 北京乐动卓越科技有限公司 | Display method and system of suspended buttons on mobile terminal |
CN104461287A (en) * | 2014-11-27 | 2015-03-25 | 东莞宇龙通信科技有限公司 | Handling method and device for floating object and terminal |
CN104965647A (en) * | 2015-06-09 | 2015-10-07 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105549851A (en) * | 2016-01-29 | 2016-05-04 | 上海与德通讯技术有限公司 | Pressure grade setting method and module |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357564A (en) * | 2017-06-02 | 2017-11-17 | 努比亚技术有限公司 | A kind of method and apparatus of custom application button |
CN107357564B (en) * | 2017-06-02 | 2020-12-01 | 太仓繁晟电子科技有限公司 | Method and equipment for customizing application program button |
CN107463327A (en) * | 2017-07-20 | 2017-12-12 | 福建网龙计算机网络信息技术有限公司 | A kind of method and terminal for obtaining interface control element position information |
CN107704186A (en) * | 2017-09-01 | 2018-02-16 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
CN108279842A (en) * | 2018-01-10 | 2018-07-13 | 维沃移动通信有限公司 | A kind of function controlling method, function controlling device and terminal device |
WO2019201037A1 (en) * | 2018-04-20 | 2019-10-24 | 中兴通讯股份有限公司 | Element display method and device, and terminal, storage medium, and electronic device |
CN110389799A (en) * | 2018-04-20 | 2019-10-29 | 中兴通讯股份有限公司 | Element display method and device, terminal, storage medium, electronic device |
CN113296655A (en) * | 2021-06-10 | 2021-08-24 | 湖北亿咖通科技有限公司 | Control method, device and equipment for display screen |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104298436B (en) | A kind of quickly revert operating method and terminal | |
CN106775223A (en) | The control method and terminal device of suspension button | |
CN108920926B (en) | Shortcut operation method and mobile terminal | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN103389863B (en) | A kind of display control method and device | |
CN106843730A (en) | A kind of mobile terminal double screen changing method and mobile terminal | |
CN107493389A (en) | Singlehanded mode implementation method, terminal and computer-readable medium | |
WO2014206101A1 (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
CN110618969B (en) | Icon display method and electronic equipment | |
CN109309752B (en) | Mobile terminal and method and device for operating screen with one hand | |
CN108415641B (en) | Icon processing method and mobile terminal | |
CN105912919B (en) | A kind of unlocked by fingerprint method and terminal | |
CN106055237B (en) | One kind slides booster response method and equipment | |
EP3764254B1 (en) | Fingerprint unlocking method, and terminal | |
CN106951143B (en) | Method and device for hiding application icons | |
CN106960146A (en) | Control method and device for the electronic equipment with full frame fingerprint recognition | |
CN106371749A (en) | Method and device for terminal control | |
CN110795189A (en) | Application starting method and electronic equipment | |
CN109683802A (en) | A kind of icon moving method and terminal | |
CN107025022A (en) | The control method and terminal device of terminal device | |
CN109164965A (en) | Mobile terminal and its method, apparatus and readable storage medium storing program for executing for reducing screen interface | |
CN106970726A (en) | Control method and device for the electronic equipment with full frame fingerprint recognition | |
CN108388396A (en) | A kind of interface switching method and mobile terminal | |
CN105808043A (en) | Setting method of terminal application and mobile terminal | |
WO2019153362A1 (en) | Fingerprint input method, and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |