CN103870171B - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN103870171B CN103870171B CN201210525851.9A CN201210525851A CN103870171B CN 103870171 B CN103870171 B CN 103870171B CN 201210525851 A CN201210525851 A CN 201210525851A CN 103870171 B CN103870171 B CN 103870171B
- Authority
- CN
- China
- Prior art keywords
- slip event
- touch
- touch area
- glide direction
- subregion
- 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.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a kind of data processing method and device, belong to field of terminal equipment.Methods described includes:Monitor the slip event in the touch sensing unit;When the slip event meets the first preparatory condition, the glide direction of the slip event is determined according to first method;When the slip event meets the second preparatory condition, the glide direction of the slip event is determined according to second method, wherein the first method is different with the second method.Using technical scheme provided in an embodiment of the present invention, by being judged according to the first preparatory condition and the second preparatory condition the slip event in touch sensing unit, and then the glide direction of slip event is determined, and False Rate of the terminal device to slip event is reduced, it is convenient for users to use.
Description
Technical field
The present invention relates to field of terminal equipment, more particularly to a kind of data processing method and device.
Background technology
With the development of touch screen technology, touch screen technology is applied in multiple terminal equipment.At present, such as remote control is each
Planting on terminal device has integrated touch panel, is used as touch-control to input a kind of mode with gesture input.User is by touching sense
Answer progress touch operation on unit just can start corresponding function, realize the simplification of mode of operation.
Existing terminal device obtains input information by touch sensing unit, is typically all sentenced by two-point method
It is disconnected, specifically, by obtaining the absolute coordinate of starting point and the absolute coordinate of terminal, calculate terminal relative to starting point slope,
Displacement and glide direction, and then it is upper, lower, left, or right glide direction to judge.
During the present invention is realized, inventor has found that prior art at least has problems with:
Due to the limited area of touch sensing unit, and generally require and operated using finger, finger is relative to touching
Touch for sensing unit than larger, add the influence of some factors of human body process aspect, the track of real income is unsatisfactory,
And the track obtained by right-hand man's operation is also different, is judged using previously described two-point method, result in higher mistake
Sentence rate, especially with person gesture be not unconventional model in the case of, this False Rate further increases, and is unfavorable for user's
Use.
The content of the invention
In order to solve the problem of False Rate in touch control operation is high, the embodiments of the invention provide a kind of data processing method
And device.The technical scheme is as follows:
On the one hand there is provided a kind of data processing method, applied to terminal device, the terminal device includes touch sensible
Unit, methods described includes:
Monitor the slip event in the touch sensing unit;
When the slip event meets the first preparatory condition, the slip side of the slip event is determined according to first method
To;
When the slip event meets the second preparatory condition, the slip side of the slip event is determined according to second method
To wherein the first method is different with the second method.
When the slip event meets the second preparatory condition, the slip side of the slip event is determined according to second method
To, including:
When the slip event is unsatisfactory for the first preparatory condition, judge whether the slip event meets the second default bar
Part, when the slip event meets the second preparatory condition, the glide direction of the slip event is determined according to second method.
The touch sensing unit includes multiple touch areas,
Correspondingly, when the slip event meets the first preparatory condition, the slip event is determined according to first method
Glide direction, including:
When the slip event meets the first preparatory condition, the touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;
Correspondingly, when the slip event meets the second preparatory condition, the slip event is determined according to second method
Glide direction, including:
When the slip event meets the second preparatory condition, according to the track of the slip event, the slip is determined
The glide direction of event.
The multiple touch area includes the first touch area, the second touch area and the 3rd touch area, described first
Touch area, the second touch area and the 3rd touch area laid out in parallel successively, the second touch area bag in a first direction
The first subregion, the second subregion and the 3rd subregion are included, the first subregion, the second subregion and the 3rd subregion are in second party
To laid out in parallel successively,
Correspondingly, when the slip event meets the first preparatory condition, according to the beginning and end of the slip event
Place touch area, determines the glide direction of the slip event, including:
When the beginning and end of the slip event is respectively positioned at the first touch area of the touch sensing unit and the
During three touch areas, according to the arragement direction and the beginning and end of first touch area and the 3rd touch area point
Touch area where not, determines the glide direction of the slip event;
When the beginning and end of the slip event is located at the first subregion and the 3rd of the touch sensing unit respectively
During subregion, according to where first subregion and the arragement direction of the 3rd subregion and beginning and end difference
Subregion, determines the glide direction of the slip event.
When the slip event meets the second preparatory condition, according to the displacement of the slip event, the slip is determined
The glide direction of event, including:
When the absolute coordinate of the starting point according to the slip event and the absolute coordinate of terminal determine the slip event
Displacement is more than threshold values, according to the absolute coordinate of the starting point and the absolute coordinate of terminal, determines the slip side of the slip event
To;Or,
Added up when carrying out displacement from the starting point of the slip event, when the displacement of the slip event is added to the threshold values
When, the absolute coordinate of the contact point according to the absolute coordinate of the starting point and when being added to the threshold values determines the slip thing
The glide direction of part.
Detect before the slip event in the touch sensing unit, methods described also includes:
Detect the laying state and/or grip state of the terminal device;
According to the laying state and/or grip state, the touch sensing unit to the terminal device carries out region stroke
Point.
Detect before the slip event in the touch sensing unit, methods described also includes:
Preserve the area of terminal device laying state when in use and/or grip state and the touch sensing unit
The corresponding relation of domain dividing mode;
When the terminal device be in any laying state and/or grip state when, using with any laying state
And/or the corresponding region division mode of grip state carries out region division to the touch sensing unit.
Preserve the area of terminal device laying state when in use and/or grip state and the touch sensing unit
The corresponding relation of domain dividing mode, including:
The number of times of the same area dividing mode is used when the terminal device is in same laying state and/or grip state
More than preset times, described terminal device laying state and/or grip state and the same area dividing mode are preserved
Corresponding relation.
On the other hand there is provided a kind of data processing equipment, described device includes:
Detection module, for monitoring the slip event in the touch sensing unit;
First determining module, for when the slip event meets the first preparatory condition, institute to be determined according to first method
State the glide direction of slip event;
Second determining module, for when the slip event meets the second preparatory condition, institute to be determined according to second method
The glide direction of slip event is stated, wherein the first method is different with the second method.
Described device also includes:
Judge module, for when the slip event is unsatisfactory for the first preparatory condition, whether judging the slip event
The second preparatory condition is met, when the slip event meets the second preparatory condition, the slip thing is determined according to second method
The glide direction of part.
The touch sensing unit includes multiple touch areas,
Correspondingly, first determining module specifically for:
When the slip event meets the first preparatory condition, the touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;
Correspondingly, second determining module specifically for:
When the slip event meets the second preparatory condition, according to the track of the slip event, the slip is determined
The glide direction of event.
The multiple touch area includes the first touch area, the second touch area and the 3rd touch area, described first
Touch area, the second touch area and the 3rd touch area laid out in parallel successively, the second touch area bag in a first direction
The first subregion, the second subregion and the 3rd subregion are included, the first subregion, the second subregion and the 3rd subregion are in second party
To laid out in parallel successively,
Correspondingly, first determining module specifically for:
When the beginning and end of the slip event is respectively positioned at the first touch area of the touch sensing unit and the
During three touch areas, according to the arragement direction and the beginning and end of first touch area and the 3rd touch area point
Touch area where not, determines the glide direction of the slip event;When the beginning and end of the slip event distinguishes position
When the first subregion of the touch sensing unit and three subregions, according to first subregion and the 3rd subregion
Subregion where arragement direction and beginning and end difference, determines the glide direction of the slip event.
Second determining module specifically for:When the starting point according to the slip event absolute coordinate and terminal it is exhausted
Determine that the displacement of the slip event is more than threshold values to coordinate, according to the absolute coordinate of the starting point and the absolute coordinate of terminal,
Determine the glide direction of the slip event;Or,
Added up when carrying out displacement from the starting point of the slip event, when the displacement of the slip event is added to the threshold values
When, the absolute coordinate of the contact point according to the absolute coordinate of the starting point and when being added to the threshold values determines the slip thing
The glide direction of part.
Described device also includes:
State detection module, laying state and/or grip state for detecting the terminal device;
Region division module, for according to the laying state and/or grip state, the touch sense to the terminal device
Unit is answered to carry out region division.
Described device also includes:
Preserving module, is touched for preserving terminal device laying state when in use and/or grip state with described
Touch the corresponding relation of the region division mode of sensing unit;
The region division module, is additionally operable to when the terminal device is in any laying state and/or grip state,
The touch sensing unit is carried out using the region division mode corresponding with any laying state and/or grip state
Region division.
The preserving module is additionally operable to:
The number of times of the same area dividing mode is used when the terminal device is in same laying state and/or grip state
More than preset times, described terminal device laying state and/or grip state and the same area dividing mode are preserved
Corresponding relation.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The present invention is by monitoring the slip event in the touch sensing unit;When slip event satisfaction first is pre-
If during condition, the glide direction of the slip event is determined according to first method;When the slip event meets the second default bar
During part, the glide direction of the slip event is determined according to second method, wherein the first method and the second method are not
Together.Using technical scheme provided in an embodiment of the present invention, by according to preparatory condition to the slip event in touch sensing unit
Judged, and then glide direction is determined according to the different modes for determining slip event, so as to be touched according to glide direction
The function of sending out terminal device corresponding, reduces False Rate of the terminal device to slip event, convenient for users to use.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 a are a kind of data processing method flow charts provided in the embodiment of the present invention;
Fig. 1 b are that a kind of touch area of the touch sensing unit based on terminal device provided in the embodiment of the present invention shows
It is intended to;
Fig. 1 c are a kind of laying state and/or the grip state signals based on terminal device provided in the embodiment of the present invention
Figure;
Fig. 2 a are a kind of data processing method flow charts provided in the embodiment of the present invention;
Fig. 2 b are that a kind of touch area of the touch sensing unit based on terminal device provided in the embodiment of the present invention shows
It is intended to;
Fig. 2 c are that a kind of touch area of the touch sensing unit based on terminal device provided in the embodiment of the present invention shows
It is intended to;
Fig. 3 is a kind of data processing method flow chart provided in the embodiment of the present invention;
Fig. 4 is a kind of data processing equipment structural representation provided in the embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 a are a kind of data processing method flow charts provided in the embodiment of the present invention, and the terminal device includes touching
Sensing unit, the touch sensing unit includes multiple touch areas.Referring to Fig. 1 a, this method includes:
101:Monitor the slip event in the touch sensing unit;
102:When the slip event meets the first preparatory condition, the cunning of the slip event is determined according to first method
Dynamic direction;
Wherein, the first preparatory condition refers to when the beginning and end of the slip event is located at the touch sensible list respectively
The first touch area and the 3rd touch area of member, or the beginning and end of the slip event are located at the touch sensible respectively
The first subregion and the 3rd subregion of unit.
First method can be following any mode:(One)The touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;(Two)According to the absolute coordinate of the starting point and the absolute coordinate of terminal, really
The glide direction of the fixed slip event;(Three)Contact point according to the absolute coordinate of the starting point and when being added to the threshold values
Absolute coordinate, determine the glide direction of the slip event;(Four)There is the sub- rail of equidirectional in the track of slip event
Mark number, determines the glide direction of the slip event.In addition, the first method can also be other glide direction determination sides
Formula, the embodiment of the present invention is not specifically limited.
It should be noted that in mode(Two)With(Three)Described in absolute coordinate refer to as absolute coordinate system touch
The coordinate in sensing unit is touched, the essential distinction of absolute coordinate and this kind of Relative positioning systems of mouse is that absolute coordinate has
The intuitive of one-time-reach-place.The characteristics of absolute coordinate system is that the elements of a fix and the last elements of a fix are not related each time,
Touch sensing unit is physically independent coordinate positioning, and the data touched every time switch to the seat on screen by calibration
Mark, so, no matter the coordinate of touch sensing unit when, the output data of same point is stable.
103:When the slip event meets the second preparatory condition, the cunning of the slip event is determined according to second method
Dynamic direction, wherein the first method is different with the second method.
Wherein, the second preparatory condition refers to that the displacement of slip event is more than threshold values, or, is clicked through from the slip event
Line position moves cumulative, when the accumulated value of the displacement of the slip event is the threshold values, or, when having in the track of the slip event
The sub-trajectory number for having equidirectional reaches preset ratio, wherein, the distance of each sub-trajectory is equal.
Second method can be following any mode:(One)The touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;(Two)According to the absolute coordinate of the starting point and the absolute coordinate of terminal, really
The glide direction of the fixed slip event;(Three)Contact point according to the absolute coordinate of the starting point and when being added to the threshold values
Absolute coordinate, determine the glide direction of the slip event:(Four)There is the sub- rail of equidirectional in the track of slip event
Mark number, determines the glide direction of the slip event.In addition, the second method can also be other glide direction determination sides
Formula, the embodiment of the present invention is not specifically limited.
It should be noted that second method and first method are unable to simultaneous selection identical processing mode.
The present invention is by monitoring the slip event in the touch sensing unit;When slip event satisfaction first is pre-
If during condition, the glide direction of the slip event is determined according to first method;When the slip event meets the second default bar
During part, the glide direction of the slip event is determined according to second method, wherein the first method and the second method are not
Together.Using technical scheme provided in an embodiment of the present invention, by being felt according to the first preparatory condition and the second preparatory condition to touching
Answer the slip event on unit to be judged, and then determine the glide direction of slip event, reduce terminal device to sliding thing
The False Rate of part, it is convenient for users to use.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiments, step 102 is " when the slip event is met
During the second preparatory condition, the glide direction of the slip event is determined according to second method ", including:When the slip event not
When meeting the first preparatory condition, when judging whether the slip event meets the second preparatory condition, when the slip event is met
During the second preparatory condition, the glide direction of the slip event is determined according to second method.
In embodiments of the present invention, it can be selected by the judgement respectively to the first preparatory condition and the second preparatory condition
For the mode for the glide direction for determining slip event, it can also judge by first to the first preparatory condition, when slip thing
When part meets the first preparatory condition, then it is assumed that the slip event is validity event, and determines the slip thing according to first method
The glide direction of part, and when slip event is unsatisfactory for the first preparatory condition, then judge whether the slip event meets second pre-
If condition, when slip event meets the second preparatory condition, then it is assumed that the slip event is validity event, and according to second method
The glide direction of the slip event is determined, when slip event is unsatisfactory for the second preparatory condition, then it is assumed that the slip event is
Invalid event, it may be possible to what the maloperation of user was caused, therefore the slip event is not handled.
The present invention is by monitoring the slip event in the touch sensing unit;When slip event satisfaction first is pre-
If during condition, the glide direction of the slip event is determined according to first method;When the slip event meets the second default bar
During part, the glide direction of the slip event is determined according to second method, wherein the first method and the second method are not
Together.Using technical scheme provided in an embodiment of the present invention, by being felt according to the first preparatory condition and the second preparatory condition to touching
Answer the slip event on unit to be judged, and then determine the glide direction of slip event, reduce terminal device to sliding thing
The False Rate of part, it is convenient for users to use.Further, by being unsatisfactory in slip event after the first preparatory condition, then
Judge whether slip event meets the second preparatory condition, can preferably reduce the erroneous judgement of slide.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiments, the touch sensing unit includes multiple touch
Control region,
Correspondingly, the step 102 " when the slip event meets the first preparatory condition, institute is determined according to first method
State the glide direction of slip event ", including step 102A:When the slip event meets the first preparatory condition, according to described
Touch area where the beginning and end of slip event, determines the glide direction of the slip event;
In the present embodiment, because touch sensing unit includes multiple touch areas, and each touch area is with default
Position relationship, therefore, the phase where by knowing the beginning and end of slip event between touch area and touch area
To position, the glide direction of the slip event can determine.
Such as, when multiple touch areas are arranged in the touch sensing unit for horizontal direction, then when the starting point of slip event
The leftmost touch area in horizontal direction, and terminal is when being located at the touch area of rightmost in horizontal direction, then can be with
Determine the glide direction of the slip event for from left to right.
Correspondingly, the step 103 " when the slip event meets the second preparatory condition, institute is determined according to second method
State the glide direction of slip event ", including step 103A:When the slip event meets the second preparatory condition, according to described
The track of slip event, determines the glide direction of the slip event.
In the present embodiment, the track of slip event can include the multiple sub-trajectories slided to same direction, may be used also
With including the multiple sub-trajectories slided to different directions, when different, there can be different glide direction determination modes,
Such as, according to the displacement between the beginning and end of slip event, or the process according to slip event distance, determine the slip
The glide direction of event.
Still optionally further, on the basis of the technical scheme of Fig. 1 a illustrated embodiments, the multiple touch area includes
First touch area, the second touch area and the 3rd touch area, first touch area, the second touch area and the 3rd touch
Region laid out in parallel successively in a first direction is controlled, second touch area includes the first subregion, the second subregion and the 3rd
Subregion, the first subregion, the second subregion and the 3rd subregion in second direction successively laid out in parallel,
Wherein, first direction and second direction are mutually orthogonal direction, when first direction is horizontal direction, second party
To can be vertical direction, and when first direction be vertical direction when, second direction can be horizontal direction.
Correspondingly, step 102A is " when the slip event meets the first preparatory condition, according to rising for the slip event
Touch area where point and terminal, determines the glide direction of the slip event ", including following either steps:
102A1:When the beginning and end of the slip event is located at the first Touch Zone of the touch sensing unit respectively
When domain and three touch areas, according to the arragement direction and the starting point of first touch area and the 3rd touch area and
Touch area where terminal difference, determines the glide direction of the slip event;
When first direction be horizontal direction when, second direction can be vertical direction, when the slip event starting point and
When terminal is located at the first touch area and three touch areas of the touch sensing unit respectively, and starting point is located at the first touch-control
Region, terminal is located at the 3rd touch area, because the arragement direction of the first touch area and the 3rd touch area is from left to right
Horizontal arrangement, determines the glide direction of the slip event for from left to right;
When first direction be horizontal direction when, second direction can be vertical direction, when the slip event starting point and
When terminal is located at the first touch area and three touch areas of the touch sensing unit respectively, and starting point is located at the 3rd touch-control
Region, terminal is located at the first touch area, because the arragement direction of the first touch area and the 3rd touch area is from left to right
Horizontal arrangement, determines the glide direction of the slip event for from right to left;
When first direction be vertical direction when, second direction can be horizontal direction, when the slip event starting point and
When terminal is located at the first touch area and three touch areas of the touch sensing unit respectively, and starting point is located at the first touch-control
Region, terminal is located at the 3rd touch area, because the arragement direction of the first touch area and the 3rd touch area is from the top down
Vertical arrangement, determines the glide direction of the slip event for from the top down;
When first direction be vertical direction when, second direction can be horizontal direction, when the slip event starting point and
When terminal is located at the first touch area and three touch areas of the touch sensing unit respectively, and starting point is located at the 3rd touch-control
Region, terminal is located at the first touch area, because the arragement direction of the first touch area and the 3rd touch area is from top to bottom
Vertical arrangement, determines the glide direction of the slip event for from bottom to top.
102A2:When the beginning and end of the slip event is located at the first subregion of the touch sensing unit respectively
During with three subregions, distinguished according to first subregion and the arragement direction of the 3rd subregion and the beginning and end
The subregion at place, determines the glide direction of the slip event.
When first direction be horizontal direction when, second direction can be vertical direction, when the slip event starting point and
When terminal is located at the first subregion and three subregions of the touch sensing unit respectively, and starting point is located at the first subregion,
Terminal is located at the 3rd subregion, because the arragement direction of the first subregion and the 3rd subregion is vertical arrangement from the top down, really
The glide direction of the fixed slip event is from the top down;
When first direction be horizontal direction when, second direction can be vertical direction, when the slip event starting point and
When terminal is located at the first subregion and three subregions of the touch sensing unit respectively, and starting point is located at the 3rd subregion,
Terminal is located at the first subregion, because the arragement direction of the first subregion and the 3rd subregion is vertical arrangement from the top down, really
The glide direction of the fixed slip event is from bottom to top;
When first direction be vertical direction when, second direction can be horizontal direction, when the slip event starting point and
When terminal is located at the first subregion and three subregions of the touch sensing unit respectively, and starting point is located at the first subregion,
Terminal is located at the 3rd subregion, because the arragement direction of the first subregion and the 3rd subregion is horizontal arrangement from left to right, really
The glide direction of the fixed slip event is from left to right;
When first direction be vertical direction when, second direction can be horizontal direction, when the slip event starting point and
When terminal is located at the first subregion and three subregions of the touch sensing unit respectively, and starting point is located at the 3rd subregion,
Terminal is located at the first subregion, because the arragement direction of the first subregion and the 3rd subregion is horizontal arrangement from left to right, really
The glide direction of the fixed slip event is from right to left.
Preferably,, can basis when long side level, short side are vertical when the interface of terminal device is rectangular
First direction is horizontal direction, and second direction is that vertical direction carries out region division to touch sensing unit, and when long side is vertical,
Can be vertical direction according to first direction during short side level, second direction is that horizontal direction carries out area to touch sensing unit
Domain is divided.
Still optionally further, step 103A is " when the slip event meets the second preparatory condition, according to the slip thing
The displacement of part, determines the glide direction of the slip event ", including following either steps:
103A1:When the absolute coordinate of the starting point according to the slip event and the absolute coordinate of terminal determine the slip
The displacement of event is more than threshold values, according to the absolute coordinate of the starting point and the absolute coordinate of terminal, determines the slip event
Glide direction;
In embodiments of the present invention, the second preparatory condition for slip event displacement be more than threshold values, the threshold values can by with
Family is voluntarily set, and can also be given tacit consent to by terminal device, the embodiment of the present invention is not especially limited.Such as, threshold values could be arranged to screen
The 30% of curtain length or width, if displacement is less than threshold values, it is believed that the operation of user belongs to maloperation, now, to terminal device
Operation be invalid operation, if displacement is more than threshold values, it is believed that user wants to carry out certain feature operation, now touches sense
Answer unit according to the absolute coordinate of starting point and the absolute coordinate of terminal, determine the glide direction of the slip event.
Specifically, touch sensing unit determines the slip thing according to the absolute coordinate of starting point and the absolute coordinate of terminal
The glide direction of part.Touch sensing unit carries out radioactivity division according to the starting point of slip event to touch area, i.e., with slip
The starting point of event carries out radioactivity as central point, in 45 degree, 135 degree, 225 degree and 315 degree of direction of touch sensing unit and drawn
Point, touch sensing unit is divided into four regions, the region of the absolute coordinate of the terminal of slip event is judged, according to slip thing
Region where the terminal of part determines the glide direction of the slip event.The determination of glide direction is illustrated by taking Fig. 1 b as an example
Journey, Fig. 1 b are a kind of touch area schematic diagrames of the touch sensing unit based on terminal device provided in the embodiment of the present invention,
In figure, if the displacement L of slip event is more than or equal to threshold values, and the terminal of the displacement of slip event is located in first area, this
When think glide direction for from left to right;If the displacement L of slip event is more than or equal to threshold values, and the terminal of the displacement of slip event
In second area, now think glide direction for from the top down;If the displacement L of slip event is more than or equal to threshold values, and sliding
The terminal of the displacement of dynamic event is located in the 3rd region, now thinks glide direction for from right to left;If the displacement L of slip event
Terminal more than or equal to threshold values, and the displacement of slip event is located in the 4th region, now thinks glide direction for from bottom to top.
The regional divided according to radioactivity, it is determined that glide direction, it is to avoid to failing to judge for effectively operating.
103A2:Added up when carrying out displacement from the starting point of the slip event, when the displacement of the slip event is added to institute
When stating threshold values, the absolute coordinate of the contact point according to the absolute coordinate of the starting point and when being added to the threshold values, it is determined that described
The glide direction of slip event.
In embodiments of the present invention, the second preparatory condition is added to the threshold values for the displacement of slip event, and the threshold values can
Voluntarily to be set by user, it can also be given tacit consent to by terminal device, the embodiment of the present invention is not especially limited.Specifically, sense is touched
Answer unit to carry out displacement from the starting point of the slip event to add up, until the displacement of the slip event is added to the threshold values.
Such as, threshold values could be arranged to the 30% of screen length or width, if being more than threshold values after the displacement of slip event is cumulative, it is believed that
User wants to carry out certain feature operation, and now touch sensing unit is waiting the end slip event of user, according to described
The absolute coordinate of the absolute coordinate of starting point and contact point when being added to the threshold values, determines the slip side of the slip event
To if being less than threshold values after the displacement of slip event is cumulative, touch sensing unit does not trigger any function.
Specifically, contact point of the touch sensing unit according to the absolute coordinate of starting point and when being added to the threshold values, it is determined that
The glide direction of the slip event.Touch sensing unit carries out radioactivity to touch area according to the starting point of slip event and drawn
Point, i.e., using the starting point of slip event as central point, enter in 45 degree, 135 degree, 225 degree and 315 degree of direction of touch sensing unit
Row radioactivity is divided, and touch sensing unit is divided into four regions, and contact point when judging to be added to the threshold values is definitely sat
Target area, the glide direction of the slip event is determined according to the contact point absolute coordinate of slip event.Its specific determination process
With similarly, being repeated no more here shown in Fig. 1 b.
The present invention is by monitoring the slip event in the touch sensing unit;When slip event satisfaction first is pre-
If during condition, the glide direction of the slip event is determined according to first method;When the slip event meets the second default bar
During part, the glide direction of the slip event is determined according to second method, wherein the first method and the second method are not
Together.Using technical scheme provided in an embodiment of the present invention, by being felt according to the first preparatory condition and the second preparatory condition to touching
Answer the slip event on unit to be judged, and then determine the glide direction of slip event, reduce terminal device to sliding thing
The False Rate of part, it is convenient for users to use.Further, by being unsatisfactory in slip event after the first preparatory condition, then
Judge whether slip event meets the second preparatory condition, can preferably reduce the erroneous judgement of slide.Further, pass through
Touch area is divided according to different modes, the glide direction for having refined slip event judges, can improve operation
Validity.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiments, step 101 " the detection touch sensible list
Before slip event in member ", methods described also includes step 100A and step 100B:
100A:Detect the laying state and/or grip state of the terminal device;
Wherein, the laying state of the terminal device includes horizontal positioned and is disposed vertically, and grip state is held including level
Hold and vertically grip, specific state is as illustrated in figure 1 c.
100B:According to the laying state and/or grip state, the touch sensing unit to the terminal device carries out area
Domain is divided.
In the present embodiment, the relation between laying state and/or grip state and region division mode is pre-set, when
When terminal device is in a certain laying state and/or grip state, then the touch sensing unit to the terminal device is carried out accordingly
Division.The embodiment of the present invention is not specifically limited to the area size of division.
As user gets used to that use level is placed or level grips the mode of terminal device, and user is regularly to water
Square to slide is carried out, now user can set first direction to be horizontal direction, then second direction is touch area
Vertical direction.First touch area, the second touch area and the 3rd touch area laid out in parallel successively in the horizontal direction, are used
Family carries out slide to horizontal direction regularly, then the length of first touch area and the 3rd touch area can be fitted
Locality sets larger, such as could be arranged to the 30% of the length of the touch area.Due to the second Touch Zone is not frequently used
Domain, now the second touch area there was only the 40% of whole touch area, then the first subregion, the second subregion and the 3rd subregion
In vertical direction successively laid out in parallel, the length of first subregion and the 3rd subregion is respectively second touch area
Length 25%.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiments, step 101 " the detection touch sensible list
Before slip event in member ", methods described also includes step 100C and 100D:
100C:Preserve the laying state and/or grip state and the touch sensible list of the terminal device when in use
The corresponding relation of the region division mode of member;
The touch area for the touch sensing unit given tacit consent to by terminal device is used every time in user, or is voluntarily set by user
Behind the touch area put, terminal device is according to user in use, the laying state and/or grip state of terminal device and Touch Zone
The dividing mode in domain is corresponded and stored, when being used for next user according to storage information and laying state with/
Or grip state divides the region of touch sensing unit automatically.
100D:When the terminal device be in any laying state and/or grip state when, using with it is described it is any place
State and/or the corresponding region division mode of grip state carry out region division to the touch sensing unit.
Such as, when terminal device is in horizontality, user is that the state is provided with horizontal region division mode, namely
It is that touch sensing unit is divided into horizontal direction the first touch area of laid out in parallel, the second touch area and the 3rd successively
Touch area, and the second touch area is divided into the first subregion, the second subregion in vertical direction successively laid out in parallel
With the 3rd subregion, then when terminal device is again at horizontality, felt using the region division mode of the level to touching
Unit is answered to carry out region division.
Still optionally further, on the basis of the technical scheme of Fig. 1 a illustrated embodiments, step 100C " preserves the terminal
Equipment laying state when in use and/or grip state is corresponding with the region division mode of the touch sensing unit closes
System " includes:The number of times of the same area dividing mode is used when the terminal device is in same laying state and/or grip state
More than preset times, described terminal device laying state and/or grip state and the same area dividing mode are preserved
Corresponding relation.
In the present embodiment, the use habit of user can be learnt, by being in various shapes in terminal device
Used region division mode is counted during state, and the number of times of statistics is judged, to determine laying state and/or hold
The corresponding relation of state and the region division mode of the touch sensing unit is held, when the terminal device is in same laying state
And/or using the number of times of the same area dividing mode exceed preset times during grip state, preserve described terminal device placement
The corresponding relation of state and/or grip state and the same area dividing mode, for being drawn automatically when user uses next time
Divide the region of touch sensing unit.
Such as, when terminal device is in horizontality, user have selected horizontal region division mode, that is to say, will touch
Touch sensing unit and be divided into horizontal direction the first touch area of laid out in parallel, the second touch area and the 3rd Touch Zone successively
Domain, and the second touch area is divided into the first subregion, the second subregion and the 3rd in vertical direction successively laid out in parallel
Subregion, then when terminal device is when in horizontality, repeatedly have selected horizontal region division mode, and number of times reach it is pre-
If number of times, it is determined that the corresponding relation between the horizontality and the region division mode of level, when terminal device is again at
During horizontality, according to the corresponding relation, region division is carried out to touch sensing unit using the region division mode of the level.
The present invention is by monitoring the slip event in the touch sensing unit;When slip event satisfaction first is pre-
If during condition, the glide direction of the slip event is determined according to first method;When the slip event meets the second default bar
During part, the glide direction of the slip event is determined according to second method, wherein the first method and the second method are not
Together.Using technical scheme provided in an embodiment of the present invention, by being felt according to the first preparatory condition and the second preparatory condition to touching
Answer the slip event on unit to be judged, and then determine the glide direction of slip event, reduce terminal device to sliding thing
The False Rate of part, it is convenient for users to use.Further, by being unsatisfactory in slip event after the first preparatory condition, then
Judge whether slip event meets the second preparatory condition, can preferably reduce the erroneous judgement of slip event.Further, pass through
Touch area is divided according to different modes, the glide direction for having refined slip event judges, can improve operation
Validity.Closer, preserved by the division to laying state and/or grip state and touch area, can be with excellent
Change the using effect of terminal device.
Fig. 2 a are a kind of data processing method flow charts provided in the embodiment of the present invention, and the terminal device includes touching
Sensing unit, touch sensing unit includes multiple touch areas.Referring to Fig. 2 a, this method includes:
201:Monitor the slip event in touch sensing unit;
The touch sensing unit includes multiple touch areas, and the plurality of touch area is touched including the first touch area, second
Control region and the 3rd touch area, first touch area, the second touch area and the 3rd touch area are in a first direction successively
Laid out in parallel, second touch area includes the first subregion, the second subregion and the 3rd subregion, the first subregion, second
Subregion and the 3rd subregion are in second direction successively laid out in parallel.Wherein, first direction can be the level side of touch area
To or vertical direction, second direction is then perpendicular to first direction.
When first direction is the horizontal direction of touch area, then second direction is the vertical direction of touch area.This
One touch area, the second touch area and the 3rd touch area laid out in parallel successively in the horizontal direction(As shown in Figure 2 b), this
The length of one touch area and the 3rd touch area is respectively the width of the touch area, it is preferable that first touch area and
The width of 3rd touch area is respectively the 20% of the length of the touch area.First subregion, the second subregion and the 3rd sub-district
Domain is in vertical direction successively laid out in parallel, and the length of first subregion and the 3rd subregion is respectively second touch area
Width, it is preferable that the width of first subregion and the 3rd subregion is respectively the 25% of the length of second touch area.
When first direction is the vertical direction of touch area, then second direction is the horizontal direction of touch area.This
One touch area, the second touch area and the 3rd touch area are in vertical direction successively laid out in parallel(As shown in Figure 2 c), this
The length of one touch area and the 3rd touch area is respectively the length of the touch area, it is preferable that first touch area and
The width of 3rd touch area is respectively the 20% of the width of the touch area.First subregion, the second subregion and the 3rd sub-district
The length of domain laid out in parallel successively in the horizontal direction, first subregion and the 3rd subregion is respectively second touch area
Width, it is preferable that the width of first subregion and the 3rd subregion is respectively the 25% of the length of second touch area.
In order to ensure slip event not to be judged by accident, the accuracy of operation is reached, therefore, according to touch sensing unit
Region division and slip event meet preparatory condition operated.
202:When detecting the slip event of the touch sensing unit, judge whether the slip event meets first and preset
Condition, if it is, step 205 is performed, if not, performing step 203;
Wherein, the first preparatory condition refers to the beginning and end when the slip event respectively positioned at the touch sensing unit
First touch area and the 3rd touch area, or the slip event beginning and end respectively positioned at the of the touch sensing unit
One subregion and the 3rd subregion.
Specifically, the beginning and end of the slip event is located at first touch area and the 3rd touch area and wrapped respectively
Include two kinds of situations:(1)The starting point of slip event is located at the first touch area, and terminal is located at the 3rd touch area;(2)Slide thing
The starting point of part is located at the 3rd touch area, and terminal is located at the first touch area.The beginning and end difference position of the slip event
Include two kinds of situations in first subregion and the 3rd subregion:(1)The starting point of slip event is located at the first subregion, and eventually
Point is located at the 3rd subregion;(2)The starting point of slip event is located at the 3rd subregion, and terminal is located at the first subregion.If meeting
Any of the above-described situation, determines that the slip event meets the first preparatory condition.
203:When the slip event is unsatisfactory for the first preparatory condition, judge whether the slip event meets the second default bar
Part, if it is, step 206 is performed, if not, performing step 204;
Wherein, the second preparatory condition refers to that the displacement of slip event is more than threshold values, or, is clicked through from the slip event
Line position moves cumulative, when the accumulated value of the displacement of the slip event is the threshold values, or, when having in the track of the slip event
The sub-trajectory number for having equidirectional reaches preset ratio, wherein, the distance of each sub-trajectory is equal, and wherein the preset ratio can
To be set to 30%, 40%, 50% etc., the embodiment of the present invention is not specifically limited.
Track such as slip event is an irregular curve, then the displacement of slip event is pointed to for the starting point of the curve
The directed line segment of terminal, the length of the line segment is the displacement of the slip event, when the displacement is more than threshold values, the slip event
Meet the second preparatory condition;Or, the curve, from progress of the starting point with slip event, the displacement that butt contact passes through is tired out
Plus, i.e. the distance of the process of contact point, until the accumulated value of the displacement of the slip event is the threshold values, the slip event expires
The second preparatory condition of foot;Or, the curve between origin-to-destination is divided into x cross-talks track, calculate the side per cross-talk track
To, when the ratio of the sub-trajectory number with equidirectional and the number of total sub-trajectory reaches preset ratio, the slip thing
Part meets the second preparatory condition.
204:Any function of triggering terminal equipment, does not terminate;
205:When the slip event meets the first preparatory condition, the slip side of the slip event is determined according to first method
To execution step 207;
First method can be following any mode:(One)The touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;(Two)According to the absolute coordinate of the starting point and the absolute coordinate of terminal, really
The glide direction of the fixed slip event;(Three)Contact point according to the absolute coordinate of the starting point and when being added to the threshold values
Absolute coordinate, determine the glide direction of the slip event;(Four)There is the sub- rail of equidirectional in the track of slip event
Mark number, determines the glide direction of the slip event.In addition, the first method can also be other glide direction determination sides
Formula, the embodiment of the present invention is not specifically limited.Preferably, first method uses the beginning and end institute according to the slip event
In touch area, the glide direction of the slip event is determined.
Specifically, when the slip event beginning and end respectively positioned at the touch sensing unit the first touch area and
During three touch areas, distinguished according to first touch area and the arragement direction of the 3rd touch area and the beginning and end
The touch area at place, determines the glide direction of the slip event.The present embodiment is only illustrated by taking Fig. 2 b as an example, when the slip
The starting point of event is located at the first touch area, when terminal is located at three touch areas, and square glide direction now is touched from first
Control region and point to the 3rd touch area, glide direction is from left to right;When the slip event starting point be located at the 3rd touch area,
When terminal is located at the first touch area, square glide direction now is to point to the first touch area from the 3rd touch area, that is, is slided
Dynamic direction is from right to left.When the slip event beginning and end respectively positioned at the touch sensing unit the first subregion and
During three subregions, according to where first subregion and the arragement direction of the 3rd subregion and beginning and end difference
Subregion, determines the glide direction of the slip event.Specifically, the present embodiment is only illustrated by taking Fig. 2 b as an example, when the slip
The starting point of event is located at the first subregion, and when terminal is located at three subregions, square glide direction now is from the first subregion
The 3rd subregion, i.e. glide direction are pointed to for from the top down;When the starting point of the slip event is located at the 3rd subregion, terminal is located at
During the first subregion, square glide direction now be from the 3rd subregion point to the first subregion, i.e. glide direction be from it is lower to
On.
206:When the slip event meets the second preparatory condition, the slip side of the slip event is determined according to second method
To wherein the first method is different with the second method;
Second method can be following any mode:(One)The touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;(Two)According to the absolute coordinate of the starting point and the absolute coordinate of terminal, really
The glide direction of the fixed slip event;(Three)Contact point according to the absolute coordinate of the starting point and when being added to the threshold values
Absolute coordinate, determine the glide direction of the slip event:(Four)According in the track of slip event with equidirectional
Sub-trajectory number, determines the glide direction of the slip event.In addition, the second method can also be true for other glide directions
Determine mode, the embodiment of the present invention is not specifically limited.It should be noted that second method and first method are unable to simultaneous selection phase
Same processing mode, so, it have selected in step 205(One)After first method, Ke Yicong(Two)、(Three)、(Four)In
A kind of mode is selected as second method.
Work as use(Two)During as second method, according to the absolute coordinate of the starting point and the absolute coordinate of terminal, it is determined that
The glide direction of the slip event;Specifically, touch sensing unit is put according to the starting point of slip event to touch area
Penetrating property is divided, i.e., using the starting point of slip event as central point, in 45 degree, 135 degree, 225 degree and 315 degree of touch sensing unit
Direction carries out radioactivity division, and touch sensing unit is divided into four regions, the absolute coordinate of the terminal of slip event is judged
Region, the region according to where the terminal of slip event determines the glide direction of the slip event.
Work as use(Three)During as second method, according to the absolute coordinate of the starting point and connecing when being added to the threshold values
The absolute coordinate of contact, determines the glide direction of the slip event.Specifically, touch sensing unit rising according to slip event
Point to touch area carry out radioactivity division, i.e., using the starting point of slip event as central point, 45 degree of touch sensing unit,
135 degree, 225 degree and 315 degree of direction carries out radioactivity division, and touch sensing unit is divided into four regions, judges to slide
The displacement of event is added to the region that the contact point of the threshold values is located at, and the threshold values is added to according to the displacement of slip event
The region that contact point is located at determines the glide direction of the slip event.
Work as use(Four)During as second method, according to the sub-trajectory number in the track of slip event with equidirectional
Mesh, determines the glide direction of the slip event.It is divided into four direction in the direction of touch sensing unit, first direction
Angle is at 315 degree(- 45 degree)To within the scope of 45 degree, it is believed that it is same direction to fall the sub-trajectory within the scope of this, i.e.,
From left to right, the angle in second direction is within the scope of 45 degree to 135 degree, it is believed that falling the sub-trajectory within the scope of this is
Same direction, i.e., from bottom to top, the angle in the 3rd direction is within the scope of 135 degree to 225 degree, it is believed that fall in this scope
Within sub-trajectory be same direction, i.e., from right to left, the angle of four direction is recognized within the scope of 225 degree to 315 degree
It is same direction to fall the sub-trajectory within the scope of this, i.e., from the top down.To having equidirectional in slip event
The quantity of sub-trajectory is counted, and the direction with most sub-trajectories is the glide direction of the slip event.
207:According to the glide direction of slip event, the corresponding function of touch sensing unit triggering terminal equipment.
Touch sensing unit is determined after the glide direction of slip event, according to operation object and the glide direction of determination,
The corresponding function of triggering terminal equipment so that terminal device is handled operation object accordingly according to the operation of user.Example
Such as, when terminal device is TV remote controller, and the TV remote controller possesses touch sensing unit, and the operation object of user's selection is
During volume, the size of volume can be adjusted by the slip of left and right, when user slides from left to right in operation interface, it is determined that
After the glide direction of the slip event, touch sensing unit in TV remote controller will trigger the work(of increase to television sound volume
Can, if when user slides from right to left in operation interface, TV remote controller will trigger function to the reduction of television sound volume;
For another example, when the operation object that user selects is the channel in TV remote controller, the slip above and below can carry out channel
Change, when user slides from the top down in operation interface, TV remote controller will be triggered subtracts one to television channel sequence number, and broadcasts
The function of corresponding television channel is put, if when user slides from bottom to top in operation interface, TV remote controller will triggering pair
Television channel sequence number adds one, and plays the function of corresponding television channel.
Before step 201, this method also includes touching with corresponding for the laying state and/or grip state of terminal device
The processing of the division in region is controlled, Fig. 3 is a kind of data processing method flow chart provided in the embodiment of the present invention, referring to Fig. 3, should
Method includes:
301:Detect the laying state and/or grip state of the terminal device;
Wherein, the laying state of the terminal device includes horizontal positioned and is disposed vertically, and grip state is held including level
Hold and vertically grip.
302:According to the laying state and/or grip state, the touch sensing unit to the terminal device carries out region stroke
Point;
The division of touch area can be automatically generated by terminal device, can also be by user according to use habit and using frequently
Rate is configured to the size and first direction of touch area.Such as, user gets used to being held in a generally horizontal orientation in terminal device, and carries out
The slide of vertical direction is more, now, and user can regard vertical direction as first direction, the first touch area and the 3rd
Touch area can suitably by ratio adjust it is larger, such user when using terminal equipment, terminal device
Operation reaction for user will be more accurate sensitive.
303:Preserve the area of terminal device laying state when in use and/or grip state and the touch sensing unit
The corresponding relation of domain dividing mode;
During each using terminal equipment of user, the laying state and/or grip state of terminal device and the touch sensible list
The corresponding relation of the region division mode of member will be saved, when the laying state and/or grip state that repeat a certain terminal device
During with the corresponding relation of the region division mode of the touch sensing unit, the corresponding relation is added up.
304:When user reuses terminal device, when the terminal device is in any laying state and/or grips shape
During state, the touch sensing unit is entered using the region division mode corresponding with any laying state and/or grip state
Row region division.
User is used for multiple times after the terminal device, and substantial amounts of laying state can be retained in the terminal device and/or shape is gripped
The corresponding relation of the region division mode of state and the touch sensing unit, these corresponding relations it is cumulative to a certain extent after, when with
When family reuses the terminal device, terminal device is by the laying state and/or grip state according to terminal device in preservation
Region division mode corresponding with this laying state and/or grip state is found out in corresponding relation, due to a kind of laying state
And/or grip state likely corresponds to multiple region division modes, terminal device will find out this laying state and/or grip shape
The most region division mode of the corresponding access times of state is used as this region division mode.
The present invention is by monitoring the slip event in the touch sensing unit;When the slip event meets the first default bar
During part, the glide direction of the slip event is determined according to first method;When the slip event meets the second preparatory condition, according to
Second method determines the glide direction of the slip event, and wherein the first method is different with the second method.Using of the invention real
Apply example offer technical scheme, by according to the first preparatory condition and the second preparatory condition to the slip thing in touch sensing unit
Part is judged, and then determines the glide direction of slip event, is reduced False Rate of the terminal device to slip event, is facilitated
The use of user.Further, by being unsatisfactory in slip event after the first preparatory condition, then judge whether slip event is full
The second preparatory condition of foot, can preferably reduce the erroneous judgement of slip event.Further, by touch area according to difference
Mode divided, refined slip event glide direction judge, the validity of operation can be improved.By to placing shape
The division of state and/or grip state and touch area is handled, and can optimize the using effect of terminal device.
Fig. 4 is a kind of data processing equipment structural representation provided in the embodiment of the present invention, and the terminal device includes
Touch sensing unit, the touch sensing unit includes multiple touch areas.Referring to Fig. 4, described device includes:
Detection module 401, for monitoring the slip event in the touch sensing unit;
First determining module 402, for when the slip event meets the first preparatory condition, being determined according to first method
The glide direction of the slip event;
Second determining module 403, for when the slip event meets the second preparatory condition, being determined according to second method
The glide direction of the slip event, wherein the first method is different with the second method.
Described device also includes:
Judge module 404, for when the slip event is unsatisfactory for the first preparatory condition, judging that the slip event is
The second preparatory condition of no satisfaction, when the slip event meets the second preparatory condition, the slip is determined according to second method
The glide direction of event.
The touch sensing unit includes multiple touch areas,
Correspondingly, first determining module 402 specifically for:
When the slip event meets the first preparatory condition, the touch-control according to where the beginning and end of the slip event
Region, determines the glide direction of the slip event;
Correspondingly, second determining module 403 specifically for:
When the slip event meets the second preparatory condition, according to the track of the slip event, the slip is determined
The glide direction of event.
The multiple touch area includes the first touch area, the second touch area and the 3rd touch area, described first
Touch area, the second touch area and the 3rd touch area laid out in parallel successively, the second touch area bag in a first direction
The first subregion, the second subregion and the 3rd subregion are included, the first subregion, the second subregion and the 3rd subregion are in second party
To laid out in parallel successively,
Correspondingly, first determining module 402 specifically for:
When the beginning and end of the slip event is respectively positioned at the first touch area of the touch sensing unit and the
During three touch areas, according to the arragement direction and the beginning and end of first touch area and the 3rd touch area point
Touch area where not, determines the glide direction of the slip event;When the beginning and end of the slip event distinguishes position
When the first subregion of the touch sensing unit and three subregions, according to first subregion and the 3rd subregion
Subregion where arragement direction and beginning and end difference, determines the glide direction of the slip event.
Second determining module 403 specifically for:When the absolute coordinate and terminal of the starting point according to the slip event
Absolute coordinate determine the slip event displacement be more than threshold values, according to the absolute coordinate of the starting point and the absolute seat of terminal
Mark, determines the glide direction of the slip event;Or,
Added up when carrying out displacement from the starting point of the slip event, when the displacement of the slip event is added to the threshold values
When, the absolute coordinate of the contact point according to the absolute coordinate of the starting point and when being added to the threshold values determines the slip thing
The glide direction of part.
Described device also includes:
State detection module 405, laying state and/or grip state for detecting the terminal device;
Region division module 406, for according to the laying state and/or grip state, being touched to the terminal device
Touch sensing unit and carry out region division.
Described device also includes:
Preserving module 407, for preserve terminal device laying state when in use and/or grip state with it is described
The corresponding relation of the region division mode of touch sensing unit;
The region division module 406, is additionally operable to when the terminal device is in any laying state and/or grip state
When, using the region division mode corresponding with any laying state and/or grip state to the touch sensing unit
Carry out region division.
The preserving module 407 is additionally operable to:
The number of times of the same area dividing mode is used when the terminal device is in same laying state and/or grip state
More than preset times, described terminal device laying state and/or grip state and the same area dividing mode are preserved
Corresponding relation.
The present invention is by monitoring the slip event in the touch sensing unit;When the slip event meets the first default bar
During part, the glide direction of the slip event is determined according to first method;When the slip event meets the second preparatory condition, according to
Second method determines the glide direction of the slip event, and wherein the first method is different with the second method.Using of the invention real
Apply example offer technical scheme, by according to the first preparatory condition and the second preparatory condition to the slip thing in touch sensing unit
Part is judged, and then determines the glide direction of slip event, is reduced False Rate of the terminal device to slip event, is facilitated
The use of user.Further, by being unsatisfactory in slip event after the first preparatory condition, then judge whether slip event is full
The second preparatory condition of foot, can preferably reduce the erroneous judgement of slip event.Further, by touch area according to difference
Mode divided, refined slip event glide direction judge, the validity of operation can be improved.By to placing shape
The division of state and/or grip state and touch area is handled, and can optimize the using effect of terminal device.
It should be noted that:Slip event of the data processing equipment that above-described embodiment is provided in processing touch sensing unit
When, only with the division progress of above-mentioned each functional module for example, in practical application, as needed can divide above-mentioned functions
With by different functional module completions, i.e., the internal structure of device is divided into different functional modules, to complete above description
All or part of function.In addition, data processing equipment and data processing method embodiment that above-described embodiment is provided belong to
Same design, it implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (14)
1. a kind of data processing method, applied to terminal device, the terminal device includes touch sensing unit, and its feature exists
In methods described includes:
Detect the laying state and/or grip state of the terminal device;
According to the laying state and/or grip state, the touch sensing unit to the terminal device carries out region division;
Monitor the slip event in the touch sensing unit;
When the slip event meets the first preparatory condition, the glide direction of the slip event is determined according to first method;
When the slip event meets the second preparatory condition, the glide direction of the slip event is determined according to second method,
Wherein described first method is different with the second method, and the first method or the second method are according to the slip thing
Touch area where the beginning and end of part, determines the glide direction of the slip event.
2. according to the method described in claim 1, it is characterised in that when the slip event meets the second preparatory condition, root
The glide direction of the slip event is determined according to second method, including:
When the slip event is unsatisfactory for the first preparatory condition, judge whether the slip event meets the second preparatory condition,
When the slip event meets the second preparatory condition, the glide direction of the slip event is determined according to second method.
3. according to the method described in claim 1, it is characterised in that the touch sensing unit includes multiple touch areas,
Correspondingly, when the slip event meets the first preparatory condition, the cunning of the slip event is determined according to first method
Dynamic direction, including:
When the slip event meets the first preparatory condition, the Touch Zone according to where the beginning and end of the slip event
Domain, determines the glide direction of the slip event;
Correspondingly, when the slip event meets the second preparatory condition, the cunning of the slip event is determined according to second method
Dynamic direction, including:
When the slip event meets the second preparatory condition, according to the track of the slip event, the slip event is determined
Glide direction.
4. method according to claim 3, it is characterised in that the multiple touch area includes the first touch area, the
Two touch areas and the 3rd touch area, first touch area, the second touch area and the 3rd touch area are in first party
To laid out in parallel successively, second touch area includes the first subregion, the second subregion and the 3rd subregion, the first sub-district
Domain, the second subregion and the 3rd subregion in second direction successively laid out in parallel,
Correspondingly, when the slip event meets the first preparatory condition, according to where the beginning and end of the slip event
Touch area, determines the glide direction of the slip event, including:
When the beginning and end of the slip event is touched positioned at the first touch area of the touch sensing unit and the 3rd respectively
When controlling region, institute is distinguished according to first touch area and the arragement direction of the 3rd touch area and the beginning and end
Touch area, determine the glide direction of the slip event;
When the beginning and end of the slip event is respectively positioned at the first subregion and the 3rd sub-district of the touch sensing unit
During domain, the sub-district according to where first subregion and the arragement direction of the 3rd subregion and beginning and end difference
Domain, determines the glide direction of the slip event.
5. method according to claim 3, it is characterised in that when the slip event meets the second preparatory condition, root
According to the displacement of the slip event, the glide direction of the slip event is determined, including:
When the absolute coordinate of the starting point according to the slip event and the absolute coordinate of terminal determine the displacement of the slip event
More than threshold values, according to the absolute coordinate of the starting point and the absolute coordinate of terminal, the glide direction of the slip event is determined;
Or,
Added up when carrying out displacement from the starting point of the slip event, when the displacement of the slip event is added to the threshold values,
The absolute coordinate of contact point according to the absolute coordinate of the starting point and when being added to the threshold values, determines the slip event
Glide direction.
6. according to the method described in claim 1, it is characterised in that slip event in the detection touch sensing unit it
Before, methods described also includes:
Draw in the region for preserving terminal device laying state when in use and/or grip state and the touch sensing unit
The corresponding relation for the mode of dividing;
When the terminal device be in any laying state and/or grip state when, using with any laying state and/or
The corresponding region division mode of grip state carries out region division to the touch sensing unit.
7. method according to claim 6, it is characterised in that preserve the laying state of the terminal device when in use
And/or the corresponding relation of grip state and the region division mode of the touch sensing unit, including:
Exceeded when the terminal device is in same laying state and/or grip state using the number of times of the same area dividing mode
Preset times, preserve described terminal device laying state and/or grip state is corresponding with the same area dividing mode
Relation.
8. a kind of data processing equipment, applied to terminal device, the terminal device includes touch sensing unit, and its feature exists
In described device includes:
State detection module, laying state and/or grip state for detecting the terminal device;
Region division module, for according to the laying state and/or grip state, to the touch sensible list of the terminal device
Member carries out region division;
Detection module, for monitoring the slip event in the touch sensing unit;
First determining module, for when the slip event meets the first preparatory condition, the cunning to be determined according to first method
The glide direction of dynamic event;
Second determining module, for when the slip event meets the second preparatory condition, the cunning to be determined according to second method
The glide direction of dynamic event, wherein the first method is different with the second method, the first method or the second party
Formula is the touch area according to where the beginning and end of the slip event, determines the glide direction of the slip event.
9. device according to claim 8, it is characterised in that described device also includes:
Judge module, for when the slip event is unsatisfactory for the first preparatory condition, judging whether the slip event meets
Second preparatory condition, when the slip event meets the second preparatory condition, the slip event is determined according to second method
Glide direction.
10. device according to claim 8, it is characterised in that the touch sensing unit includes multiple touch areas,
Correspondingly, first determining module specifically for:
When the slip event meets the first preparatory condition, the Touch Zone according to where the beginning and end of the slip event
Domain, determines the glide direction of the slip event;
Correspondingly, second determining module specifically for:
When the slip event meets the second preparatory condition, according to the track of the slip event, the slip event is determined
Glide direction.
11. device according to claim 10, it is characterised in that the multiple touch area include the first touch area,
Second touch area and the 3rd touch area, first touch area, the second touch area and the 3rd touch area are first
Direction laid out in parallel successively, second touch area includes the first subregion, the second subregion and the 3rd subregion, the first son
Region, the second subregion and the 3rd subregion in second direction successively laid out in parallel,
Correspondingly, first determining module specifically for:
When the beginning and end of the slip event is touched positioned at the first touch area of the touch sensing unit and the 3rd respectively
When controlling region, institute is distinguished according to first touch area and the arragement direction of the 3rd touch area and the beginning and end
Touch area, determine the glide direction of the slip event;When the beginning and end of the slip event is located at institute respectively
When stating the first subregion and three subregions of touch sensing unit, according to the arrangement of first subregion and the 3rd subregion
Subregion where direction and beginning and end difference, determines the glide direction of the slip event.
12. device according to claim 10, it is characterised in that second determining module specifically for:When according to institute
The absolute coordinate of the absolute coordinate and terminal of stating the starting point of slip event determines that the displacement of the slip event is more than threshold values, according to
The absolute coordinate of the starting point and the absolute coordinate of terminal, determine the glide direction of the slip event;Or,
Added up when carrying out displacement from the starting point of the slip event, when the displacement of the slip event is added to the threshold values,
The absolute coordinate of contact point according to the absolute coordinate of the starting point and when being added to the threshold values, determines the slip event
Glide direction.
13. device according to claim 8, it is characterised in that described device also includes:
Preserving module, feels for preserving terminal device laying state when in use and/or grip state with described touch
Answer the corresponding relation of the region division mode of unit;
The region division module, is additionally operable to, when the terminal device is in any laying state and/or grip state, use
The region division mode corresponding with any laying state and/or grip state carries out region to the touch sensing unit
Divide.
14. device according to claim 13, it is characterised in that the preserving module is additionally operable to:
Exceeded when the terminal device is in same laying state and/or grip state using the number of times of the same area dividing mode
Preset times, preserve described terminal device laying state and/or grip state is corresponding with the same area dividing mode
Relation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210525851.9A CN103870171B (en) | 2012-12-07 | 2012-12-07 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210525851.9A CN103870171B (en) | 2012-12-07 | 2012-12-07 | Data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870171A CN103870171A (en) | 2014-06-18 |
CN103870171B true CN103870171B (en) | 2017-07-25 |
Family
ID=50908759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210525851.9A Active CN103870171B (en) | 2012-12-07 | 2012-12-07 | Data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870171B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104267902B (en) * | 2014-09-22 | 2017-03-08 | 努比亚技术有限公司 | A kind of application program interaction control method, device and terminal |
JP6304210B2 (en) * | 2015-12-02 | 2018-04-04 | コニカミノルタ株式会社 | Display device, screen display method, screen display program, and image processing device |
DE102016114669A1 (en) * | 2016-08-08 | 2018-02-08 | Volkswagen Aktiengesellschaft | Method and operating device for operating a device |
CN106791020A (en) * | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of audio file broadcast state control method and mobile terminal |
CN106931590B (en) * | 2017-02-14 | 2018-10-16 | 珠海格力电器股份有限公司 | Air conditioner parameter transverse sliding selection method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6104317A (en) * | 1998-02-27 | 2000-08-15 | Motorola, Inc. | Data entry device and method |
CN101408817B (en) * | 2007-10-12 | 2012-08-22 | 集嘉通讯股份有限公司 | Method and apparatus for inputting operating instructions of double-touch panel |
CN101414229B (en) * | 2007-10-19 | 2010-09-08 | 集嘉通讯股份有限公司 | Method and apparatus for controlling switch of handhold electronic device touch control screen |
CN101315593B (en) * | 2008-07-18 | 2010-06-16 | 华硕电脑股份有限公司 | Touch control type mobile operation device and contact-control method used therein |
CN101398732B (en) * | 2008-10-29 | 2011-08-24 | 深圳市中兴移动通信有限公司 | Implementing method of sliding control in terminal human-computer interaction |
CN101819498B (en) * | 2009-02-27 | 2013-06-05 | 瞬联讯通科技(北京)有限公司 | Screen display-controlling method facing to slide body of touch screen |
-
2012
- 2012-12-07 CN CN201210525851.9A patent/CN103870171B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103870171A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870171B (en) | Data processing method and device | |
EP2533145B1 (en) | Apparatus and method for providing a dynamic user interface in consideration of physical characteristics of a user | |
CN104123024B (en) | A kind of terminal device and apparatus control method | |
KR101439855B1 (en) | Touch screen controller and method for controlling thereof | |
KR101535320B1 (en) | Generating gestures tailored to a hand resting on a surface | |
CN103440089B (en) | The interface method of adjustment and user equipment of a kind of user equipment | |
CN103399669B (en) | The mobile terminal and its contactless operation method of contactless operation | |
CN103869947B (en) | The method and electronic equipment of control electronics | |
US20070268269A1 (en) | Apparatus, method, and medium for sensing movement of fingers using multi-touch sensor array | |
CN104123095B (en) | A kind of suspension touch control method and device based on vector calculus | |
CN106354331A (en) | Touch and hover switching | |
CN107122111A (en) | The conversion of touch input | |
CN103188362B (en) | Incoming call sound hangs up management system and method | |
CN106325663B (en) | Mobile terminal and its screenshotss method | |
CN104345999B (en) | touch identification method | |
CN103699326A (en) | Touch processing method and terminal device | |
CN103197885A (en) | Method for controlling mobile terminal and mobile terminal thereof | |
EP3044660A1 (en) | Multi-touch virtual mouse | |
CN103354581A (en) | Method and system for automatically adjusting mobile phone control with left or right hand | |
CN104346000B (en) | touch identification method | |
US20140108999A1 (en) | Method for scroll bar control on a touchpad and touchpad with a scroll bar control function | |
TW201234223A (en) | Moving point gesture determination method, touch control chip, touch control system and computer system | |
CN105094653B (en) | A kind of localization method and device of content of pages | |
CN103500055B (en) | Positioning method and system of display content of touch screen | |
CN104932772B (en) | The application display method and device of smartwatch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |