CN107203315A - Processing method, device and the terminal of click event - Google Patents
Processing method, device and the terminal of click event Download PDFInfo
- Publication number
- CN107203315A CN107203315A CN201710380994.8A CN201710380994A CN107203315A CN 107203315 A CN107203315 A CN 107203315A CN 201710380994 A CN201710380994 A CN 201710380994A CN 107203315 A CN107203315 A CN 107203315A
- Authority
- CN
- China
- Prior art keywords
- terminal
- click event
- sensitivity coefficient
- determined
- event
- 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.)
- Granted
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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- 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
Abstract
The disclosure is directed to a kind of processing method, device and the terminal of click event, wherein, this method includes:The touch point of the click event on terminal screen is obtained, and determines the distance between touch point and terminal frame information;According to range information, it is determined that the sensitivity coefficient of the event of click;The reduction for the value that the value of the sensitivity coefficient of click event is characterized with range information and reduce;According to the sensitivity coefficient of the event of click, it is determined whether response click event.The current touch point for clicking on event is nearer apart from the edge of terminal screen, and the current susceptibility for clicking on event is lower;Terminal is according to sensitivity coefficient, when identifying that current click event is located on the edge of the terminal screen of terminal, and terminal does not go to respond current click event.User is avoided when using screen frame narrower terminal, it is produced overdue to hit situation when the edge for the terminal screen for encountering terminal;Improve user and use Consumer's Experience when screen frame narrower terminal.
Description
Technical field
This disclosure relates to field of terminal technology, more particularly to click on processing method, device and the terminal of event.
Background technology
With the development of terminal technology, terminal has become the important tool in people's life, work, and terminal for example has intelligence
Energy mobile phone, tablet personal computer etc..With the development of the Manufacturing Techniques of terminal, the screen frame of terminal becomes more and more narrow.
In correlation technique, user when user's hand held terminal, is held very much when using screen frame narrower terminal
The screen edge of terminal can be easily touched, and then produces click event.Terminal can get the click event, and then terminal can ring
Event should be clicked on.
But in correlation technique, when user's hand held terminal, the hand of user touches the screen edge of terminal, this when
Terminal need not go response in the click event fact of time, but terminal, which can ring, can respond the click event of this when.
And then occurring false touch event, Consumer's Experience is poor.
The content of the invention
To overcome presence in correlation technique to occur false touch event, the problem of Consumer's Experience is poor, the disclosure provides a kind of
Processing method, device and the terminal of click event.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of processing method of click event, including:
The touch point of the click event on terminal screen is obtained, and determines the distance between the touch point and terminal frame
Information;
According to the range information, the sensitivity coefficient of the click event is determined;Wherein, the sensitivity of the click event
The reduction of value that the value of degree coefficient is characterized with the range information and reduce;
According to the sensitivity coefficient of the click event, it is determined whether the response click event.
Further, it is described to obtain the touch point of the click event on terminal screen, and determine the touch point and terminal
The distance between frame information, including:
The touch point of the click event on terminal screen is obtained, and determines the coordinate letter of each pixel of the touch point
Breath;
According to the coordinate information of each pixel, each distance letter between each pixel and terminal frame is determined
Breath.
Further, it is described according to the range information, the sensitivity coefficient of the click event is determined, including:
According to each range information between each pixel and terminal frame, the susceptibility system of each pixel is determined
Number;
The sensitivity coefficient of the intermediary image vegetarian refreshments of each pixel is determined, is the sensitivity coefficient of the click event;
Or, the average of the sensitivity coefficient of each pixel is determined, is the sensitivity coefficient of the click event.
Further, the sensitivity coefficient according to the click event, it is determined whether the response click event, bag
Include:
Judge the sensitivity coefficient of the click event, if more than or equal to default susceptibility threshold;
If it is determined that being more than or equal to, it is determined that the response click event;
If it is determined that being less than, it is determined that be not responding to the click event.
Further, it is described according to the range information, the sensitivity coefficient of the click event is determined, including:
According to the distance between each pixel and terminal frame information, the susceptibility system of each pixel is determined
Number;
The sensitivity coefficient of each pixel is determined, the sensitivity coefficient of the click event is used as.
Further, the sensitivity coefficient according to the click event, it is determined whether the response click event, bag
Include:
Judge the sensitivity coefficient of the pixel of predetermined number in each pixel, if both greater than equal to default
Susceptibility threshold;
If it is determined that being both greater than equal to, it is determined that the response click event;
If it is determined that being not all more than or equal to, it is determined that be not responding to the click event.
Further, each described pixel, the sensitivity coefficient y=e of a pixel are directed tox-d;
Wherein, e is the truth of a matter;D is default critical distance threshold value;X is between a pixel and terminal frame
Range information, and x ∈ (0, d];y∈(0,1].
Further, before the touch point of the click event on the acquisition terminal screen, in addition to:
The first history for obtaining the screen edge for being directed to present terminal clicks on event;
Event is clicked on according to first history, the critical distance threshold value is determined.
Further, before the touch point of the click event on the acquisition terminal screen, in addition to:
The second history for obtaining the user for being directed to present terminal clicks on event;
Event is clicked on according to second history, the invalid operation number of times of user is determined;
According to the invalid operation number of times, the susceptibility threshold is determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:By obtaining on terminal screen
The touch point of click event, and determine the distance between touch point and terminal frame information;According to range information, it is determined that clicking on thing
The sensitivity coefficient of part;Wherein, click on the reduction of value that the value of the sensitivity coefficient of event characterized with range information and subtract
It is small;According to the sensitivity coefficient of the event of click, it is determined whether response click event.So as to narrower using screen frame in user
When terminal, terminal can be calculated according to the distance between the touch point of current click event and terminal frame information
The sensitivity coefficient of click event, also, click on subtracting for the value that the value of the sensitivity coefficient of event is characterized with range information
It is small and reduce, and then the current touch point for clicking on event is nearer apart from the edge of terminal screen, the current susceptibility for clicking on event
It is lower;Then terminal can identify whether current click event is located at the terminal screen of terminal according to sensitivity coefficient
On edge, when terminal determines that current click event is located on the edge of the terminal screen of terminal, terminal does not go response
Current click event.And then avoid user when using screen frame narrower terminal, encounter the terminal screen of terminal
Edge when, it is produced overdue to hit situation;Improve user and use user's body when screen frame narrower terminal
Test.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of processing unit of click event, including:
Acquisition module, be configured as obtain terminal screen on clicks event touch point, and determine the touch point and
The distance between terminal frame information;
Computing module, is configured as according to the range information, determines the sensitivity coefficient of the click event;Wherein,
The reduction for the value that the value of the sensitivity coefficient of the click event is characterized with the range information and reduce;
Determining module, is configured as the sensitivity coefficient according to the click event, it is determined whether the response click thing
Part.
Further, the acquisition module, including:
Acquisition submodule, is configured as obtaining the touch point of the click event on terminal screen, and determines the touch point
Each pixel coordinate information;
Determination sub-module, is configured as the coordinate information according to each pixel, determines each pixel and terminal
Each range information between frame.
Further, the computing module, including:
First calculating sub module, is configured as according to each range information between each pixel and terminal frame, really
The sensitivity coefficient of fixed each pixel;
First analysis submodule, is configured to determine that the sensitivity coefficient of the intermediary image vegetarian refreshments of each pixel, is institute
State the sensitivity coefficient of click event;Or, the average of the sensitivity coefficient of each pixel is determined, is the click event
Sensitivity coefficient.
Further, the determining module, is specifically configured to:
Judge the sensitivity coefficient of the click event, if more than or equal to default susceptibility threshold;
If it is determined that being more than or equal to, it is determined that the response click event;
If it is determined that being less than, it is determined that be not responding to the click event.
Further, the computing module, including:
Second calculating sub module, is configured as according to the distance between each pixel and terminal frame information, it is determined that
The sensitivity coefficient of each pixel;
Second analysis submodule, is configured to determine that the sensitivity coefficient of each pixel, is used as the click event
Sensitivity coefficient.
Further, the determining module, is specifically configured to:
Judge the sensitivity coefficient of the pixel of predetermined number in each pixel, if both greater than equal to default
Susceptibility threshold;
If it is determined that being both greater than equal to, it is determined that the response click event;
If it is determined that being not all more than or equal to, it is determined that be not responding to the click event.
Further, each described pixel, the sensitivity coefficient y=e of a pixel are directed tox-d;
Wherein, e is the truth of a matter;D is default critical distance threshold value;X is between a pixel and terminal frame
Range information, and x ∈ (0, d];y∈(0,1].
Further, described device, in addition to:
First analysis module, be configured as the acquisition module obtain click event on terminal screen touch point it
Before, the first history for obtaining the screen edge for being directed to present terminal clicks on event;Event is clicked on according to first history, really
The fixed critical distance threshold value.
Further, described device, in addition to:
Second analysis module, be configured as the acquisition module obtain click event on terminal screen touch point it
Before, the second history for obtaining the user for being directed to present terminal clicks on event;Event is clicked on according to second history, it is determined that with
The invalid operation number of times at family;According to the invalid operation number of times, the susceptibility threshold is determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:By obtaining on terminal screen
The touch point of click event, and determine the distance between touch point and terminal frame information;According to range information, it is determined that clicking on thing
The sensitivity coefficient of part;Wherein, click on the reduction of value that the value of the sensitivity coefficient of event characterized with range information and subtract
It is small;According to the sensitivity coefficient of the event of click, it is determined whether response click event.So as to narrower using screen frame in user
When terminal, terminal can be calculated according to the distance between the touch point of current click event and terminal frame information
The sensitivity coefficient of click event, also, click on subtracting for the value that the value of the sensitivity coefficient of event is characterized with range information
It is small and reduce, and then the current touch point for clicking on event is nearer apart from the edge of terminal screen, the current susceptibility for clicking on event
It is lower;Then terminal can identify whether current click event is located at the terminal screen of terminal according to sensitivity coefficient
On edge, when terminal determines that current click event is located on the edge of the terminal screen of terminal, terminal does not go response
Current click event.And then avoid user when using screen frame narrower terminal, encounter the terminal screen of terminal
Edge when, it is produced overdue to hit situation;Improve user and use user's body when screen frame narrower terminal
Test.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of terminal, including:
Processor, and for storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The touch point of the click event on terminal screen is obtained, and determines described touch
Touch a little with the distance between terminal frame information;According to the range information, the sensitivity coefficient of the click event is determined;Its
In, the reduction for the value that the value of the sensitivity coefficient of the click event is characterized with the range information and reduce;According to institute
State the sensitivity coefficient of click event, it is determined whether the response click event.
The technical scheme provided by this disclosed embodiment can include the following benefits:By obtaining on terminal screen
The touch point of click event, and determine the distance between touch point and terminal frame information;According to range information, it is determined that clicking on thing
The sensitivity coefficient of part;Wherein, click on the reduction of value that the value of the sensitivity coefficient of event characterized with range information and subtract
It is small;According to the sensitivity coefficient of the event of click, it is determined whether response click event.So as to narrower using screen frame in user
When terminal, terminal can be calculated according to the distance between the touch point of current click event and terminal frame information
The sensitivity coefficient of click event, also, click on subtracting for the value that the value of the sensitivity coefficient of event is characterized with range information
It is small and reduce, and then the current touch point for clicking on event is nearer apart from the edge of terminal screen, the current susceptibility for clicking on event
It is lower;Then terminal can identify whether current click event is located at the terminal screen of terminal according to sensitivity coefficient
On edge, when terminal determines that current click event is located on the edge of the terminal screen of terminal, terminal does not go response
Current click event.And then avoid user when using screen frame narrower terminal, encounter the terminal screen of terminal
Edge when, it is produced overdue to hit situation;Improve user and use user's body when screen frame narrower terminal
Test.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention
Example, and for explaining principle of the invention together with specification.
Fig. 1 is a kind of flow chart of the processing method embodiment one of click event according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the processing method embodiment two of click event according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the processing method embodiment three of click event according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the processing unit example IV of click event according to an exemplary embodiment;
Fig. 5 is a kind of block diagram one of the processing unit embodiment five of click event according to an exemplary embodiment;
Fig. 6 is a kind of block diagram two of the processing unit embodiment five of click event according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of the entity of terminal according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of terminal device 800 according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Fig. 1 is a kind of flow chart of the processing method embodiment one of click event according to an exemplary embodiment,
As shown in figure 1, the processing method of the event of click is used in terminal, the terminal includes mobile terminal, personal terminal etc., for example, touch
Screen mobile phone, tablet personal computer, PC etc., this method comprises the following steps.
In step s 11, the touch point of the click event on terminal screen is obtained, and determines the touch point and terminal edge
The distance between frame information.
In this step, the present embodiment is illustrated by executive agent of terminal.When user's touch terminal screen,
And then generate the click event for being directed to screen terminal.And then terminal can get the click event on terminal screen;By
It is to be directed to the touch with terminal screen and then point, so that terminal can be got when user is in touch terminal screen
The touch point of the click event.Then terminal calculates the distance between the terminal frame of current touch point and terminal information,
The range information characterizes a value.
For example, terminal can calculate the distance between the central point and terminal frame of touch point information;Or, terminal
Each range information between each pixel of touch point and terminal frame can be calculated, then terminal is by each pixel and terminal edge
The average of each range information between frame, is used as the distance between touch point and terminal frame information.
In step s 12, according to the range information, the sensitivity coefficient of the click event is determined;Wherein, the point
Hit the reduction for the value that the value of the sensitivity coefficient of event is characterized with the range information and reduce.
In this step, when user's touch terminal screen is clicked on, in the displaying control of terminal or at end
In the interactive interface that click event can be responded at end, in fact, whole terminal screen can all respond click event, i.e.,
Click event can be all responded from the right edge of leftmost edge to the terminal screen of terminal screen.But it is directed to screen
The narrower terminal of frame, the most click event operated consciously of user, user is click in terminal screen
Between in scope;And when user holds screen frame narrower terminal, user also can touch or click terminal screen
Edge, can also produce click event this when, but in fact user is to be not intended to terminal for this in this case
The click event of sample carries out corresponding.
And then, as long as when user touches or clicks on terminal screen, terminal can be according to touch point and terminal frame
The distance between information, calculate the sensitivity coefficient for being directed to current click event.Herein, the susceptibility of event is clicked on
The reduction for the value that the value of coefficient is characterized with range information and reduce, and then click on event susceptibility can with distance believe
Cease the reduction of characterized value and reduce, i.e., the current touch point for clicking on event is nearer apart from the edge of terminal screen, current point
The susceptibility for hitting event is lower.
In step s 13, according to the sensitivity coefficient of the click event, it is determined whether the response click event.
In this step, the value that terminal is characterized according to the sensitivity coefficient of current click event, goes to judge whether to ring
Should before click event.
For example, when terminal can determine that the sensitivity coefficient of click event is less than some value, determine that and work as
Then the touch point of preceding click event determines that at the edge of terminal screen and is not responding to current click event;And terminal exists
It is determined that when the sensitivity coefficient of the event of click is more than or equal to some value, determining that the touch point of current click event is remote
From the edge of terminal screen, then determine that and respond current click event.
Again for example, terminal can determine the sensitivity coefficient of click event within some number range when
Wait, determine that the touch point of current click event, at the edge of terminal screen, then determines that and is not responding to current click thing
Part.
By above way of example, terminal can identify whether current click event is located at the terminal screen of terminal
Edge on, when terminal determines that current clicks event is located on the edge of the terminal screen of terminal, terminal does not remove sound
Should before click event.And then avoid user when using screen frame narrower terminal, encounter the end panel of terminal
It is produced overdue to hit situation when the edge of curtain.
The present embodiment by obtaining the touch point of the click event on terminal screen, and determine touch point and terminal frame it
Between range information;According to range information, it is determined that the sensitivity coefficient of the event of click;Wherein, the sensitivity coefficient of event is clicked on
The reduction of value that is characterized with range information of value and reduce;According to the sensitivity coefficient of the event of click, it is determined whether response
Click event.So as to which when user is using screen frame narrower terminal, terminal can be according to current click event
The distance between touch point and terminal frame information, calculate the sensitivity coefficient of click event, also, click on the sensitivity of event
The reduction of value that the value of degree coefficient is characterized with range information and reduce, and then the current touch point for clicking on event is apart from terminal
The edge of screen is nearer, and the current susceptibility for clicking on event is lower;Then terminal can be identified current according to sensitivity coefficient
Click event whether be located on the edge of the terminal screen of terminal, determine end of current the clicks event positioned at terminal in terminal
When end on the edge of screen, terminal does not go to respond current click event.And then avoid user using screen frame compared with
It is produced overdue to hit situation when the edge for the terminal screen for encountering terminal when narrow terminal;User is improved to use
Consumer's Experience when screen frame narrower terminal.
Fig. 2 is a kind of flow chart of the processing method embodiment two of click event according to an exemplary embodiment,
As shown in Fig. 2 this method comprises the following steps.
In the step s 21, the first history for obtaining the screen edge for being directed to present terminal clicks on event;According to described
One history clicks on event, determines the critical distance threshold value.
In this step, user can handheld terminal, different application scene bag when different different application scenes
Include and received calls, seen full frame books, browsed webpage, played full frame game etc., and then terminal can get user and be answered in difference
Event is clicked on each first history at the edge for the terminal screen that terminal is touched or clicked under scene.Then, terminal is according to each
One history clicks on event, calculates a critical distance threshold value, the critical distance threshold value is the sensitivity for calculating click event
Spend coefficient.
In step S22, the second history for obtaining the user for being directed to present terminal clicks on event;Gone through according to described second
History clicks on event, determines the invalid operation number of times of user;According to the invalid operation number of times, the susceptibility threshold is determined.
In this step, user can handheld terminal, different application scene bag when different different application scenes
Include and received calls, seen full frame books, browsed webpage, played full frame game etc., and then terminal can get user and be answered in difference
Terminal is touched or clicked under different application scene with the edge and user of the terminal screen that terminal is touched or clicked under scene
Terminal screen other positions each second history click on event.In these each second history click events, terminal all can
These click events are responded, but some click events can be cancelled by user, and then terminal can determine that these are cancelled by user
Each second history click on event be user invalid operation, then, terminal can count invalid operation number of times.Then, eventually
End calculates susceptibility threshold according to these invalid operation number of times;The susceptibility threshold is to be used to define sensitivity coefficient, and then
Judge whether to respond click event.
In step S23, the touch point of the click event on terminal screen is obtained, and determines each pixel of the touch point
The coordinate information of point;According to the coordinate information of each pixel, determine between each pixel and terminal frame it is each away from
From information.
In this step, after terminal gets the touch point of the click event on terminal screen, due to a touch point
It is made up of multiple pixels, and then terminal can determine the coordinate information of each pixel on touch point.Then it is directed to
For each pixel, terminal calculates each pixel and terminal edge according to the coordinate information of each pixel
The distance between frame information.
In step s 24, according to each range information between each pixel and terminal frame, each pixel is determined
The sensitivity coefficient of point.
Wherein, each described pixel, the sensitivity coefficient y=e of a pixel are directed tox-d;E is the truth of a matter;
D is default critical distance threshold value;X is pixel and the distance between terminal frame information, and x ∈ (0, d];y
∈(0,1]。
In this step, terminal is directed to each pixel, and terminal is according between each pixel and terminal frame
Range information x, calculate the sensitivity coefficient y of each pixel;, wherein it is desired to set the susceptibility of each pixel
Coefficient y, reduces with the reduction of the distance between each pixel and terminal frame information x values characterized.
The sensitivity coefficient y of each pixel is being calculated, an exponential function y=e using e the bottom of as can be usedx-dEnter
Row is calculated, wherein, d is the critical distance threshold value determined in step S21, also, and x ∈ (0, d], y ∈ (0,1].Understand, when
When x=d, that is, the distance between each pixel and terminal frame information x are when reach critical distance, each
The sensitivity coefficient of individual pixel be 1, no longer carry out click event susceptibility be provided with.
In step s 25, the sensitivity coefficient of the intermediary image vegetarian refreshments of each pixel is determined, is the click event
Sensitivity coefficient;Or, the average of the sensitivity coefficient of each pixel is determined, is the susceptibility system of the click event
Number.
In this step, terminal can determine the sensitivity coefficient y of the intermediary image vegetarian refreshments of each pixel of touch point, will
The sensitivity coefficient y of the intermediary image vegetarian refreshments, is used as the sensitivity coefficient of current click event.
Or, terminal can calculate the sensitivity coefficient y of each pixel of touch point average, using the average as work as
The sensitivity coefficient of preceding click event.
In step S26, the sensitivity coefficient of the click event is judged, if more than or equal to default susceptibility threshold
Value.
In this step, terminal judges the sensitivity coefficient of current click event, if true more than or equal in step S22
The susceptibility threshold made.
In step s 27, however, it is determined that be more than or equal to, it is determined that the response click event.
In this step, terminal is if it is determined that the sensitivity coefficient of current click event, is determined more than or equal in step S22
The susceptibility threshold gone out, then terminal determine edge of the touch point away from terminal screen of current click event, then terminal is just
It is determined that the current click event of response.
In step S28, however, it is determined that be less than, it is determined that be not responding to the click event.
In this step, terminal is if it is determined that the sensitivity coefficient of current click event, less than what is determined in step S22
Susceptibility threshold, then terminal determine the touch point of current click event at the edge of terminal screen, then terminal is determined that not
The current click event of response.
The present embodiment determines each pixel of touch point by obtaining the touch point of the click event on terminal screen
Coordinate information;According to the coordinate information of each pixel, each range information between each pixel and terminal frame is determined;According to each
Each range information between pixel and terminal frame, determines the sensitivity coefficient of each pixel;Determine the centre of each pixel
The sensitivity coefficient of pixel, for click on event sensitivity coefficient, or, determine each pixel sensitivity coefficient it is equal
Value, to click on the sensitivity coefficient of event;Judge the sensitivity coefficient of click event, if more than or equal to default susceptibility threshold
Value;If it is determined that being more than or equal to, it is determined that response click event;If it is determined that being less than, it is determined that be not responding to click event.So as to
When family is using screen frame narrower terminal, terminal can according to the touch point of current clicks event and terminal frame it
Between range information, calculate the sensitivity coefficient of click event, also, click on event sensitivity coefficient value with distance
The reduction for the value that information is characterized and reduce, and then the current touch point for clicking on event is nearer apart from the edge of terminal screen, when
The susceptibility of preceding click event is lower;Then terminal can according to sensitivity coefficient, identify current click event whether position
In on the edge of the terminal screen of terminal, determine that current click event is located on the edge of the terminal screen of terminal in terminal
When, terminal does not go to respond current click event.And then avoid user when using screen frame narrower terminal, touch
To the terminal screen of terminal edge when, it is produced overdue to hit situation;Improve user and use screen frame narrower end
Consumer's Experience when end.
Fig. 3 is a kind of flow chart of the processing method embodiment three of click event according to an exemplary embodiment,
As shown in figure 3, this method comprises the following steps.
In step S31, the first history for obtaining the screen edge for being directed to present terminal clicks on event;According to described
One history clicks on event, determines the critical distance threshold value.
In this step, this step can perform the step S21 that Fig. 2 provides embodiment, and here is omitted.
In step s 32, the second history for obtaining the user for being directed to present terminal clicks on event;Gone through according to described second
History clicks on event, determines the invalid operation number of times of user;According to the invalid operation number of times, the susceptibility threshold is determined.
In this step, this step can perform the step S22 that Fig. 2 provides embodiment, and here is omitted.
In step S33, the touch point of the click event on terminal screen is obtained, and determines each pixel of the touch point
The coordinate information of point;According to the coordinate information of each pixel, determine between each pixel and terminal frame it is each away from
From information.
In this step, this step can perform the step S23 that Fig. 2 provides embodiment, and here is omitted.
In step S34, according to the distance between each pixel and terminal frame information, each pixel is determined
Sensitivity coefficient.
Wherein, each described pixel, the sensitivity coefficient y=e of a pixel are directed tox-d;E is the truth of a matter;
D is default critical distance threshold value;X is pixel and the distance between terminal frame information, and x ∈ (0, d];y
∈(0,1]。
In this step, this step can perform the step S24 that Fig. 2 provides embodiment, and here is omitted.
In step s 35, the sensitivity coefficient of each pixel is determined, the susceptibility system of the click event is used as
Number.
In this step, terminal can be by the sensitivity coefficient of each pixel of touch point, collectively as current click
The sensitivity coefficient of event.
In step S36, the sensitivity coefficient of the pixel of predetermined number in each pixel is judged, if all big
In equal to default susceptibility threshold.
In this step, terminal judges the sensitivity coefficient of the N number of pixel of predetermined number in each pixel of touch point, is
It is no to be both greater than equal to the susceptibility threshold determined in step S32.
In step S37, however, it is determined that be both greater than equal to, it is determined that the response click event.
In this step, terminal is if it is determined that the sensitivity coefficient of N number of pixel in each pixel, both greater than equal to step
Edge of the touch point away from terminal screen of the susceptibility threshold determined in S32, the then current click event of terminal determination, so
Terminal, which is determined that, afterwards responds current click event.
In step S38, however, it is determined that be not all more than or equal to, it is determined that be not responding to the click event.
In this step, terminal is if it is determined that the sensitivity coefficient of N number of pixel in each pixel, is not necessarily all more than or equal to
The susceptibility threshold determined in step S32, then terminal determine the touch point of current click event at the edge of terminal screen,
Then terminal, which is determined that, is not responding to current click event.
For example, there are 40 pixels on the touch point of current click event, then terminal is if it is determined that therein
The sensitivity coefficient of 30 pixels is both greater than equal to susceptibility threshold, then terminal, which is determined that, responds current click event;Eventually
End is if it is determined that the sensitivity coefficient of 30 pixels therein is not necessarily all more than or equal to susceptibility threshold, then terminal is determined that and do not rung
Should before click event.
The present embodiment determines each pixel of touch point by obtaining the touch point of the click event on terminal screen
Coordinate information;According to the coordinate information of each pixel, each range information between each pixel and terminal frame is determined;According to each
Each range information between pixel and terminal frame, determines the sensitivity coefficient of each pixel;Determine the sensitivity of each pixel
Coefficient is spent, the sensitivity coefficient of the event of click is used as;Judge the sensitivity coefficient of the pixel of predetermined number in each pixel,
Whether default susceptibility threshold is both greater than equal to;If it is determined that being both greater than equal to, it is determined that response click event;If it is determined that not all
It is more than or equal to, it is determined that be not responding to click event.So as to when user is using screen frame narrower terminal, terminal can be with
According to the distance between the touch point of current click event and terminal frame information, the susceptibility system of click event is calculated
Number, also, click on the reduction for the value that the value of the sensitivity coefficient of event is characterized with range information and reduce, and then current point
The touch point for hitting event is nearer apart from the edge of terminal screen, and the current susceptibility for clicking on event is lower;Then terminal can root
According to sensitivity coefficient, identify whether current click event is located on the edge of the terminal screen of terminal, determine to work as in terminal
When preceding click event is located on the edge of the terminal screen of terminal, terminal does not go to respond current click event.And then
User is avoided when using screen frame narrower terminal, it is produced when the edge for the terminal screen for encountering terminal
Overdue hit situation;Improve user and use Consumer's Experience when screen frame narrower terminal.
Fig. 4 is a kind of block diagram of the processing unit example IV of click event according to an exemplary embodiment.Ginseng
According to Fig. 4, the device includes:
Acquisition module 41, is configured as obtaining the touch point of the click event on terminal screen, and determines the touch point
With the distance between terminal frame information;
Computing module 42, is configured as according to the range information, determines the sensitivity coefficient of the click event;Its
In, the reduction for the value that the value of the sensitivity coefficient of the click event is characterized with the range information and reduce;
Determining module 43, is configured as the sensitivity coefficient according to the click event, it is determined whether response is described to be clicked on
Event.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
The present embodiment by obtaining the touch point of the click event on terminal screen, and determine touch point and terminal frame it
Between range information;According to range information, it is determined that the sensitivity coefficient of the event of click;Wherein, the sensitivity coefficient of event is clicked on
The reduction of value that is characterized with range information of value and reduce;According to the sensitivity coefficient of the event of click, it is determined whether response
Click event.So as to which when user is using screen frame narrower terminal, terminal can be according to current click event
The distance between touch point and terminal frame information, calculate the sensitivity coefficient of click event, also, click on the sensitivity of event
The reduction of value that the value of degree coefficient is characterized with range information and reduce, and then the current touch point for clicking on event is apart from terminal
The edge of screen is nearer, and the current susceptibility for clicking on event is lower;Then terminal can be identified current according to sensitivity coefficient
Click event whether be located on the edge of the terminal screen of terminal, determine end of current the clicks event positioned at terminal in terminal
When end on the edge of screen, terminal does not go to respond current click event.And then avoid user using screen frame compared with
It is produced overdue to hit situation when the edge for the terminal screen for encountering terminal when narrow terminal;User is improved to use
Consumer's Experience when screen frame narrower terminal.
On the basis of the embodiment shown in above-mentioned Fig. 4, Fig. 5 is a kind of click thing according to an exemplary embodiment
The block diagram one of the processing unit embodiment five of part, Fig. 6 is a kind of processing of click event according to an exemplary embodiment
The block diagram two of device embodiment five.Reference picture 5 and Fig. 6, the acquisition module 41, including:
Acquisition submodule 411, is configured as obtaining the touch point of the click event on terminal screen, and determines the touch
The coordinate information of each pixel of point;
Determination sub-module 412, is configured as the coordinate information according to each pixel, determines each pixel and end
Each range information between end edge frame.
As shown in figure 5, the computing module 42, including:
First calculating sub module 421, is configured as according to each range information between each pixel and terminal frame,
Determine the sensitivity coefficient of each pixel;
First analysis submodule 422, is configured to determine that the sensitivity coefficient of the intermediary image vegetarian refreshments of each pixel, is
The sensitivity coefficient of the click event;Or, the average of the sensitivity coefficient of each pixel is determined, is the click thing
The sensitivity coefficient of part.
Accordingly, the determining module 43, is specifically configured to:
Judge the sensitivity coefficient of the click event, if more than or equal to default susceptibility threshold;If it is determined that being more than
It is equal to, it is determined that the response click event;If it is determined that being less than, it is determined that be not responding to the click event.
Or, as shown in fig. 6, the computing module 42, including:
Second calculating sub module 423, is configured as according to the distance between each pixel and terminal frame information, really
The sensitivity coefficient of fixed each pixel;
Second analysis submodule 424, is configured to determine that the sensitivity coefficient of each pixel, is used as the click thing
The sensitivity coefficient of part.
Accordingly, the determining module 43, is specifically configured to:
Judge the sensitivity coefficient of the pixel of predetermined number in each pixel, if both greater than equal to default
Susceptibility threshold;If it is determined that being both greater than equal to, it is determined that the response click event;If it is determined that being not all more than or equal to, it is determined that
It is not responding to the click event.
Wherein, each described pixel, the sensitivity coefficient y=e of a pixel are directed tox-d;E is the truth of a matter;
D is default critical distance threshold value;X is pixel and the distance between terminal frame information, and x ∈ (0, d];y
∈(0,1]。
The device that the present embodiment is provided, in addition to:
First analysis module 51, is configured as the touch point that the acquisition module 41 obtains the click event on terminal screen
Before, the first history for obtaining the screen edge for being directed to present terminal clicks on event;Event is clicked on according to first history,
Determine the critical distance threshold value.
Second analysis module 52, is configured as the touch point that the acquisition module 41 obtains the click event on terminal screen
Before, the second history for obtaining the user for being directed to present terminal clicks on event;Event is clicked on according to second history, it is determined that
The invalid operation number of times of user;According to the invalid operation number of times, the susceptibility threshold is determined.
The present embodiment determines each pixel of touch point by obtaining the touch point of the click event on terminal screen
Coordinate information;According to the coordinate information of each pixel, each range information between each pixel and terminal frame is determined;According to each
Each range information between pixel and terminal frame, determines the sensitivity coefficient of each pixel.Determine the centre of each pixel
The sensitivity coefficient of pixel, for click on event sensitivity coefficient, or, determine each pixel sensitivity coefficient it is equal
Value, to click on the sensitivity coefficient of event;Judge the sensitivity coefficient of click event, if more than or equal to default susceptibility threshold
Value;If it is determined that being more than or equal to, it is determined that response click event;If it is determined that being less than, it is determined that be not responding to click event.Or, really
The sensitivity coefficient of fixed each pixel, is used as the sensitivity coefficient of the event of click;Judge the picture of the predetermined number in each pixel
The sensitivity coefficient of vegetarian refreshments, if both greater than equal to default susceptibility threshold;If it is determined that being both greater than equal to, it is determined that response point
Hit event;If it is determined that being not all more than or equal to, it is determined that be not responding to click event.So as to use screen frame narrower end in user
When end, terminal can be calculated a little according to the distance between the touch point of current click event and terminal frame information
The sensitivity coefficient of event is hit, also, clicks on the reduction for the value that the value of the sensitivity coefficient of event is characterized with range information
And reduce, and then the current touch point for clicking on event is nearer apart from the edge of terminal screen, the current susceptibility for clicking on event is got over
It is low;Then terminal can identify whether current click event is located at the side of the terminal screen of terminal according to sensitivity coefficient
On edge, when terminal determines that current click event is located on the edge of the terminal screen of terminal, terminal does not go response to work as
Preceding click event.And then avoid user when using screen frame narrower terminal, encounter the terminal screen of terminal
It is produced overdue to hit situation when edge;Improve user and use Consumer's Experience when screen frame narrower terminal.
Fig. 7 is a kind of block diagram of the entity of terminal according to an exemplary embodiment.Reference picture 7, the terminal can be with
It is implemented as:Processor 61, and it is configured as storing the memory 62 of processor-executable instruction;
Wherein, the processor 61 is configured as:The touch point of the click event on terminal screen is obtained, and is determined described
The distance between touch point and terminal frame information;According to the range information, the sensitivity coefficient of the click event is determined;
Wherein, the reduction for the value that the value of the sensitivity coefficient of the click event is characterized with the range information and reduce;According to
The sensitivity coefficient of the click event, it is determined whether the response click event.
In the above-described embodiments, it should be appreciated that the processor can be CPU (English:Central
Processing Unit, referred to as:CPU), it can also be other general processors, digital signal processor (English:Digital
Signal Processor, referred to as:DSP), application specific integrated circuit (English:Application Specific Integrated
Circuit, referred to as:ASIC) etc..General processor can be microprocessor or the processor can also be any conventional place
Device etc. is managed, and foregoing memory can be read-only storage (English:Read-only memory, abbreviation:ROM), deposit at random
Access to memory (English:Random access memory, referred to as:RAM), flash memory, hard disk or solid state hard disc.SIM
Card is also referred to as subscriber identification card, smart card, and digital mobile telephone must load onto this card and can use.I.e. in computer chip
On store the information of digital mobile phone client, the content such as the key of encryption and the telephone directory of user.With reference to of the invention real
The step of applying the method disclosed in example can be embodied directly in hardware processor and perform completion, or with the hardware in processor and
Software module combination performs completion.
On the terminal in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
It is described in detail with the embodiment of device, explanation will be not set forth in detail herein.
The present embodiment by obtaining the touch point of the click event on terminal screen, and determine touch point and terminal frame it
Between range information;According to range information, it is determined that the sensitivity coefficient of the event of click;Wherein, the sensitivity coefficient of event is clicked on
The reduction of value that is characterized with range information of value and reduce;According to the sensitivity coefficient of the event of click, it is determined whether response
Click event.So as to which when user is using screen frame narrower terminal, terminal can be according to current click event
The distance between touch point and terminal frame information, calculate the sensitivity coefficient of click event, also, click on the sensitivity of event
The reduction of value that the value of degree coefficient is characterized with range information and reduce, and then the current touch point for clicking on event is apart from terminal
The edge of screen is nearer, and the current susceptibility for clicking on event is lower;Then terminal can be identified current according to sensitivity coefficient
Click event whether be located on the edge of the terminal screen of terminal, determine end of current the clicks event positioned at terminal in terminal
When end on the edge of screen, terminal does not go to respond current click event.And then avoid user using screen frame compared with
It is produced overdue to hit situation when the edge for the terminal screen for encountering terminal when narrow terminal;User is improved to use
Consumer's Experience when screen frame narrower terminal.
Fig. 8 is a kind of block diagram of terminal device 800 according to an exemplary embodiment.For example, terminal device 800 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
Reference picture 8, terminal device 800 can include following one or more assemblies:Processing assembly 802, memory 804,
Power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814,
And communication component 816.
The integrated operation of the usual control terminal equipment 800 of processing assembly 802, such as with display, call, data are led to
Letter, the camera operation operation associated with record operation.Processing assembly 802 can include one or more processors 820 to hold
Row instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more moulds
Block, is easy to the interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, with
Facilitate the interaction between multimedia groupware 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in terminal device 800.These data
Example include the instruction of any application program or method for being used to operate on terminal device 800, contact data, telephone directory
Data, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or it
Combination realize that such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable
Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, soon
Flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of terminal device 800.Power supply module 806 can include power supply pipe
Reason system, one or more power supplys, and other components associated with generating, managing and distributing electric power for terminal device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the terminal device 800 and user.
In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface
Plate, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch
Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip
The border of action, but also the detection duration related to the touch or slide and pressure.In certain embodiments,
Multimedia groupware 808 includes a front camera and/or rear camera.When terminal device 800 is in operator scheme, such as clap
When taking the photograph pattern or video mode, front camera and/or rear camera can receive the multi-medium data of outside.It is each preposition
Camera and rear camera can be a fixed optical lens systems or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind (MIC), when terminal device 800 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone
It is configured as receiving external audio signal.The audio signal received can be further stored in memory 804 or via logical
Letter component 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, the state for providing various aspects for terminal device 800
Assess.For example, sensor cluster 814 can detect opening/closed mode of terminal device 800, the relative positioning of component, example
As described component be terminal device 800 display and keypad, sensor cluster 814 can also detect terminal device 800 or
The position of 800 1 components of terminal device changes, the existence or non-existence that user contacts with terminal device 800, terminal device 800
The temperature change of orientation or acceleration/deceleration and terminal device 800.Sensor cluster 814 can include proximity transducer, be configured
For the presence of object near being detected in not any physical contact.Sensor cluster 814 can also include optical sensor,
Such as CMOS or ccd image sensor, for being used in imaging applications.In certain embodiments, the sensor cluster 814 may be used also
With including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal device 800 and other equipment.
Terminal device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one
In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel
Relevant information.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, short to promote
Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal device 800 can be by one or more application specific integrated circuits (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of terminal device 800.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device is performed so that mobile terminal is able to carry out a kind of processing method of click event, and methods described includes:
The touch point of the click event on terminal screen is obtained, and determines the distance between the touch point and terminal frame
Information;
According to the range information, the sensitivity coefficient of the click event is determined;Wherein, the sensitivity of the click event
The reduction of value that the value of degree coefficient is characterized with the range information and reduce;
According to the sensitivity coefficient of the click event, it is determined whether the response click event.
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein
Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (19)
1. a kind of processing method of click event, it is characterised in that including:
The touch point of the click event on terminal screen is obtained, and determines the distance between the touch point and terminal frame letter
Breath;
According to the range information, the sensitivity coefficient of the click event is determined;Wherein, the susceptibility system of the click event
The reduction for the value that several values is characterized with the range information and reduce;
According to the sensitivity coefficient of the click event, it is determined whether the response click event.
2. according to the method described in claim 1, it is characterised in that the touch for obtaining the click event on terminal screen
Point, and the distance between the touch point and terminal frame information is determined, including:
The touch point of the click event on terminal screen is obtained, and determines the coordinate information of each pixel of the touch point;
According to the coordinate information of each pixel, each range information between each pixel and terminal frame is determined.
3. method according to claim 2, it is characterised in that described according to the range information, determines the click thing
The sensitivity coefficient of part, including:
According to each range information between each pixel and terminal frame, the sensitivity coefficient of each pixel is determined;
The sensitivity coefficient of the intermediary image vegetarian refreshments of each pixel is determined, is the sensitivity coefficient of the click event;Or,
The average of the sensitivity coefficient of each pixel is determined, is the sensitivity coefficient of the click event.
4. method according to claim 3, it is characterised in that the sensitivity coefficient according to the click event, really
It is fixed whether to respond the click event, including:
Judge the sensitivity coefficient of the click event, if more than or equal to default susceptibility threshold;
If it is determined that being more than or equal to, it is determined that the response click event;
If it is determined that being less than, it is determined that be not responding to the click event.
5. method according to claim 2, it is characterised in that described according to the range information, determines the click thing
The sensitivity coefficient of part, including:
According to the distance between each pixel and terminal frame information, the sensitivity coefficient of each pixel is determined;
The sensitivity coefficient of each pixel is determined, the sensitivity coefficient of the click event is used as.
6. method according to claim 5, it is characterised in that the sensitivity coefficient according to the click event, really
It is fixed whether to respond the click event, including:
Judge the sensitivity coefficient of the pixel of predetermined number in each pixel, if both greater than equal to default sensitivity
Spend threshold value;
If it is determined that being both greater than equal to, it is determined that the response click event;
If it is determined that being not all more than or equal to, it is determined that be not responding to the click event.
7. the method according to claim 3 or 5, it is characterised in that be directed to each described pixel, a picture
The sensitivity coefficient y=e of vegetarian refreshmentsx-d;
Wherein, e is the truth of a matter;D is default critical distance threshold value;X is the distance between a pixel and terminal frame
Information, and x ∈ (0, d];y∈(0,1].
8. method according to claim 7, it is characterised in that the touch of the click event on the acquisition terminal screen
Before point, in addition to:
The first history for obtaining the screen edge for being directed to present terminal clicks on event;
Event is clicked on according to first history, the critical distance threshold value is determined.
9. the method according to claim 4 or 6, it is characterised in that click event on the acquisition terminal screen
Before touch point, in addition to:
The second history for obtaining the user for being directed to present terminal clicks on event;
Event is clicked on according to second history, the invalid operation number of times of user is determined;
According to the invalid operation number of times, the susceptibility threshold is determined.
10. a kind of processing unit of click event, it is characterised in that including:
Acquisition module, is configured as obtaining the touch point of the click event on terminal screen, and determines the touch point and terminal
The distance between frame information;
Computing module, is configured as according to the range information, determines the sensitivity coefficient of the click event;Wherein, it is described
The reduction for the value that the value of the sensitivity coefficient of click event is characterized with the range information and reduce;
Determining module, is configured as the sensitivity coefficient according to the click event, it is determined whether the response click event.
11. device according to claim 10, it is characterised in that the acquisition module, including:
Acquisition submodule, is configured as obtaining the touch point of the click event on terminal screen, and determines each of the touch point
The coordinate information of pixel;
Determination sub-module, is configured as the coordinate information according to each pixel, determines each pixel and terminal frame
Between each range information.
12. device according to claim 11, it is characterised in that the computing module, including:
First calculating sub module, is configured as according to each range information between each pixel and terminal frame, it is determined that respectively
The sensitivity coefficient of the pixel;
First analysis submodule, is configured to determine that the sensitivity coefficient of the intermediary image vegetarian refreshments of each pixel, is the point
Hit the sensitivity coefficient of event;Or, the average of the sensitivity coefficient of each pixel is determined, is the quick of the click event
Sensitivity coefficient.
13. device according to claim 12, it is characterised in that the determining module, is specifically configured to:
Judge the sensitivity coefficient of the click event, if more than or equal to default susceptibility threshold;
If it is determined that being more than or equal to, it is determined that the response click event;
If it is determined that being less than, it is determined that be not responding to the click event.
14. device according to claim 11, it is characterised in that the computing module, including:
Second calculating sub module, is configured as, according to the distance between each pixel and terminal frame information, determining each institute
State the sensitivity coefficient of pixel;
Second analysis submodule, is configured to determine that the sensitivity coefficient of each pixel, is used as the quick of the click event
Sensitivity coefficient.
15. device according to claim 14, it is characterised in that the determining module, is specifically configured to:
Judge the sensitivity coefficient of the pixel of predetermined number in each pixel, if both greater than equal to default sensitivity
Spend threshold value;
If it is determined that being both greater than equal to, it is determined that the response click event;
If it is determined that being not all more than or equal to, it is determined that be not responding to the click event.
16. the device according to claim 12 or 14, it is characterised in that be directed to each described pixel, an institute
State the sensitivity coefficient y=e of pixelx-d;
Wherein, e is the truth of a matter;D is default critical distance threshold value;X is the distance between a pixel and terminal frame
Information, and x ∈ (0, d];y∈(0,1].
17. device according to claim 16, it is characterised in that described device, in addition to:
Before first analysis module, the touch point for the click event being configured as on the acquisition module acquisition terminal screen, obtain
The first history of the screen edge for being directed to present terminal is taken to click on event;Event is clicked on according to first history, institute is determined
State critical distance threshold value.
18. the device according to claim 13 or 15, it is characterised in that described device, in addition to:
Before second analysis module, the touch point for the click event being configured as on the acquisition module acquisition terminal screen, obtain
The second history for the user for being directed to present terminal is taken to click on event;Event is clicked on according to second history, determines user's
Invalid operation number of times;According to the invalid operation number of times, the susceptibility threshold is determined.
19. a kind of terminal, it is characterised in that including:
Processor, and for storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The touch point of the click event on terminal screen is obtained, and determines the touch point
With the distance between terminal frame information;According to the range information, the sensitivity coefficient of the click event is determined;Wherein,
The reduction for the value that the value of the sensitivity coefficient of the click event is characterized with the range information and reduce;According to the point
Hit the sensitivity coefficient of event, it is determined whether the response click event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380994.8A CN107203315B (en) | 2017-05-25 | 2017-05-25 | Click event processing method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710380994.8A CN107203315B (en) | 2017-05-25 | 2017-05-25 | Click event processing method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107203315A true CN107203315A (en) | 2017-09-26 |
CN107203315B CN107203315B (en) | 2020-02-07 |
Family
ID=59906144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710380994.8A Active CN107203315B (en) | 2017-05-25 | 2017-05-25 | Click event processing method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107203315B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388393A (en) * | 2018-01-02 | 2018-08-10 | 阿里巴巴集团控股有限公司 | Mobile terminal clicks recognition methods and the device of event |
CN111435284A (en) * | 2019-01-15 | 2020-07-21 | 腾讯科技(深圳)有限公司 | Method and device for detecting mistaken clicking of media content display position and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101626246A (en) * | 2009-07-31 | 2010-01-13 | 青岛海信电器股份有限公司 | Touch-control method and touch-control device |
US20140240363A1 (en) * | 2013-02-22 | 2014-08-28 | Samsung Electronics Co., Ltd. | Context awareness-based screen scroll method, machine-readable storage medium and terminal therefor |
CN104615302A (en) * | 2015-01-30 | 2015-05-13 | 深圳市中兴移动通信有限公司 | Mistaken touch prevention method and device of mobile terminal and mobile terminal |
CN105468278A (en) * | 2015-11-06 | 2016-04-06 | 网易(杭州)网络有限公司 | Touch screen operation identification and response method and apparatus based on virtual key, and game manipulation method and apparatus |
CN105677104A (en) * | 2016-01-07 | 2016-06-15 | 广东欧珀移动通信有限公司 | User terminal control method and user terminal |
CN106201304A (en) * | 2016-06-23 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of method and device of false-touch prevention operation |
CN106708321A (en) * | 2016-12-28 | 2017-05-24 | 努比亚技术有限公司 | Touch screen touch method and device and terminal |
-
2017
- 2017-05-25 CN CN201710380994.8A patent/CN107203315B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101626246A (en) * | 2009-07-31 | 2010-01-13 | 青岛海信电器股份有限公司 | Touch-control method and touch-control device |
US20140240363A1 (en) * | 2013-02-22 | 2014-08-28 | Samsung Electronics Co., Ltd. | Context awareness-based screen scroll method, machine-readable storage medium and terminal therefor |
CN104615302A (en) * | 2015-01-30 | 2015-05-13 | 深圳市中兴移动通信有限公司 | Mistaken touch prevention method and device of mobile terminal and mobile terminal |
CN105468278A (en) * | 2015-11-06 | 2016-04-06 | 网易(杭州)网络有限公司 | Touch screen operation identification and response method and apparatus based on virtual key, and game manipulation method and apparatus |
CN105677104A (en) * | 2016-01-07 | 2016-06-15 | 广东欧珀移动通信有限公司 | User terminal control method and user terminal |
CN106201304A (en) * | 2016-06-23 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of method and device of false-touch prevention operation |
CN106708321A (en) * | 2016-12-28 | 2017-05-24 | 努比亚技术有限公司 | Touch screen touch method and device and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388393A (en) * | 2018-01-02 | 2018-08-10 | 阿里巴巴集团控股有限公司 | Mobile terminal clicks recognition methods and the device of event |
CN108388393B (en) * | 2018-01-02 | 2020-08-28 | 阿里巴巴集团控股有限公司 | Identification method and device for mobile terminal click event |
US10852943B2 (en) | 2018-01-02 | 2020-12-01 | Advanced New Technologies Co., Ltd. | Mobile terminal click event recognition method and apparatus |
CN111435284A (en) * | 2019-01-15 | 2020-07-21 | 腾讯科技(深圳)有限公司 | Method and device for detecting mistaken clicking of media content display position and storage medium |
CN111435284B (en) * | 2019-01-15 | 2023-09-22 | 腾讯科技(深圳)有限公司 | Method, device and storage medium for detecting false click of media content display bit |
Also Published As
Publication number | Publication date |
---|---|
CN107203315B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951884A (en) | Gather method, device and the electronic equipment of fingerprint | |
EP3453794A1 (en) | Foreign matter recognition method and device | |
EP3179397A1 (en) | Methods and devices for managing automatic parallel login and logout in several applications | |
EP3043246A1 (en) | Apparatus and method for implementing functions of touch button and fingerprint identification, and terminal device | |
CN105472303A (en) | Privacy protection method and apparatus for video chatting | |
WO2018133387A1 (en) | Fingerprint identification method and device | |
CN109117874A (en) | Operation behavior prediction technique and device | |
CN103916468B (en) | Method for upgrading system, terminal, server and upgrade-system | |
CN111338910B (en) | Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium | |
CN107092359A (en) | Virtual reality visual angle method for relocating, device and terminal | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN107102801A (en) | Terminal screen spinning solution and device | |
CN109039877A (en) | A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity | |
CN110717399A (en) | Face recognition method and electronic terminal equipment | |
CN106919283A (en) | The touch event processing method of terminal, device and terminal | |
CN108476379A (en) | Information recording method and information record carrier | |
CN107368280A (en) | Method for controlling volume, device and the interactive voice equipment of interactive voice | |
CN104461366A (en) | Method and device for activating operation state of mobile terminal | |
CN104836721A (en) | Group session message reminding method and group session message reminding device | |
CN106774802A (en) | The reminding method of terminal power, device and terminal | |
CN107203315A (en) | Processing method, device and the terminal of click event | |
CN106339452B (en) | Event response method and device | |
CN106412481A (en) | Prompt method and device, and terminals based on VoLTE video call | |
CN106789554A (en) | The method and device of short message treatment | |
CN106406587A (en) | Terminal touch control identification method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |