CN103870171A - Method and device for processing data - Google Patents

Method and device for processing data Download PDF

Info

Publication number
CN103870171A
CN103870171A CN201210525851.9A CN201210525851A CN103870171A CN 103870171 A CN103870171 A CN 103870171A CN 201210525851 A CN201210525851 A CN 201210525851A CN 103870171 A CN103870171 A CN 103870171A
Authority
CN
China
Prior art keywords
slip event
touch area
described slip
subregion
sensing unit
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
Application number
CN201210525851.9A
Other languages
Chinese (zh)
Other versions
CN103870171B (en
Inventor
郑启忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210525851.9A priority Critical patent/CN103870171B/en
Publication of CN103870171A publication Critical patent/CN103870171A/en
Application granted granted Critical
Publication of CN103870171B publication Critical patent/CN103870171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for processing data and belongs to the terminal equipment field. The method comprises the steps of monitoring a sliding event on a touch sensing unit, determining a sliding direction of the sliding event in a first pattern when the sliding event satisfies a first preset condition, and determining a sliding direction of the sliding event in a second pattern when the sliding event satisfies a second preset condition, wherein the first pattern is different from the second pattern. The method determines the sliding direction of the sliding event by determining the sliding event on the touching sensing unit based on the first preset condition and the second preset condition and thus reduces the misjudgment rate of the terminal equipment on the sliding events, and also facilitates the use of a user.

Description

Data processing method and device
Technical field
The present invention relates to terminal device field, particularly a kind of data processing method and device.
Background technology
Along with the development of touch screen technology, touch screen technology has been applied on multiple terminal equipment.At present, as there being integrated touch panel on the various terminal devices such as telepilot, as a kind of mode of touch-control input and gesture input.User just can start corresponding function by touch operation in touch sensing unit, has realized the simplification of mode of operation.
Existing terminal device obtains input message by touch sensing unit, all generally to judge by two-point method, particularly, by obtaining the absolute coordinates of starting point and the absolute coordinates of terminal, calculate slope, displacement and the glide direction of terminal with respect to starting point, and then judgement is glide direction upper and lower, left or right.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Because the area of touch sensing unit is limited, and generally need to use finger to operate, point larger with respect to touch sensing unit, add the impact of some factors of human body process aspect, the track of real income is unsatisfactory, and it is also different that right-hand man operates the track of gained, adopt the two-point method of introducing to judge above, cause higher False Rate, particularly user's gesture is not in the situation of unconventional model, this False Rate further increases, and is unfavorable for user's use.
Summary of the invention
In order to solve the high problem of False Rate in touch control operation, the embodiment of the present invention provides a kind of data processing method and device.Described technical scheme is as follows:
On the one hand, provide a kind of data processing method, be applied to terminal device, described terminal device comprises touch sensing unit, and described method comprises:
The slip event of monitoring in described touch sensing unit;
When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method;
When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.
When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, comprising:
When described slip event does not meet first when pre-conditioned, judge whether described slip event meets second pre-conditioned, when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method.
Described touch sensing unit comprises multiple touch areas,
Correspondingly, when described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method, comprising:
When described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event;
Correspondingly, when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, comprising:
When described slip event meets second when pre-conditioned, according to the track of described slip event, determine the glide direction of described slip event.
Described multiple touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in described the first touch area, the second touch area and the 3rd touch area, described the second touch area comprises the first subregion, the second subregion and the 3rd subregion, the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction
Correspondingly, when described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event, comprising:
In the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, according to the arragement direction of described the first touch area and the 3rd touch area and described starting point and the terminal touch area at place respectively, determine the glide direction of described slip event;
In the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, according to the arragement direction of described the first subregion and the 3rd subregion and described starting point and the terminal subregion at place respectively, determine the glide direction of described slip event.
When described slip event meets second when pre-conditioned, according to the displacement of described slip event, determine the glide direction of described slip event, comprising:
When determining that according to the absolute coordinates of the absolute coordinates of the starting point of described slip event and terminal the displacement of described slip event is greater than threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; Or,
When the starting point from described slip event, to carry out displacement cumulative, and in the time that the displacement of described slip event is added to described threshold values, the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values, determines the glide direction of described slip event.
Before detecting the slip event in described touch sensing unit, described method also comprises:
Detect laying state and/or the gripping state of described terminal device;
According to described laying state and/or gripping state, the touch sensing unit of described terminal device is carried out to region division.
Before detecting the slip event in described touch sensing unit, described method also comprises:
Preserve the corresponding relation of the region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit;
When described terminal device is in arbitrary laying state and/or grip when state, adopt the region dividing mode corresponding with described arbitrary laying state and/or gripping state to carry out region division to described touch sensing unit.
The corresponding relation of preserving the region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit, comprising:
When described terminal device is at same laying state and/or grip when state and use the number of times of the same area dividing mode to exceed preset times, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode.
On the other hand, provide a kind of data processing equipment, described device comprises:
Detection module, for monitoring the slip event in described touch sensing unit;
The first determination module, for meeting first when pre-conditioned when described slip event, determines the glide direction of described slip event according to first method;
The second determination module, for meeting second when pre-conditioned when described slip event, determines the glide direction of described slip event according to second method, wherein said first method is different with described second method.
Described device also comprises:
Judge module, for not meeting first when pre-conditioned when described slip event, judges whether described slip event meets second pre-conditioned, when described slip event meets second when pre-conditioned, determines the glide direction of described slip event according to second method.
Described touch sensing unit comprises multiple touch areas,
Correspondingly, described the first determination module specifically for:
When described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event;
Correspondingly, described the second determination module specifically for:
When described slip event meets second when pre-conditioned, according to the track of described slip event, determine the glide direction of described slip event.
Described multiple touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in described the first touch area, the second touch area and the 3rd touch area, described the second touch area comprises the first subregion, the second subregion and the 3rd subregion, the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction
Correspondingly, described the first determination module specifically for:
In the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, according to the arragement direction of described the first touch area and the 3rd touch area and described starting point and the terminal touch area at place respectively, determine the glide direction of described slip event; In the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, according to the arragement direction of described the first subregion and the 3rd subregion and described starting point and the terminal subregion at place respectively, determine the glide direction of described slip event.
Described the second determination module specifically for: when determining that according to the absolute coordinates of the absolute coordinates of the starting point of described slip event and terminal the displacement of described slip event is greater than threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; Or,
When the starting point from described slip event, to carry out displacement cumulative, and in the time that the displacement of described slip event is added to described threshold values, the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values, determines the glide direction of described slip event.
Described device also comprises:
State detection module, for detection of laying state and/or the gripping state of described terminal device;
Module is divided in region, for according to described laying state and/or gripping state, the touch sensing unit of described terminal device is carried out to region division.
Described device also comprises:
Preserve module, for preserving the corresponding relation of region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit;
Module is divided in described region, and also for when described terminal device is during in arbitrary laying state and/or the state of gripping, the employing region dividing mode corresponding with described arbitrary laying state and/or gripping state carried out region division to described touch sensing unit.
Described preservation module also for:
When described terminal device is at same laying state and/or grip when state and use the number of times of the same area dividing mode to exceed preset times, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The present invention is the slip event in described touch sensing unit by monitoring; When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method; When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.The technical scheme that adopts the embodiment of the present invention to provide, by slip event in touch sensing unit being judged according to pre-conditioned, and then determine glide direction according to the different mode of determining slip event, thereby can trigger according to glide direction the function of corresponding terminal device, reduce the False Rate of terminal device to slip event, convenient for users to use.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 a is a kind of data processing method process flow diagram providing in the embodiment of the present invention;
Fig. 1 b is the touch area schematic diagram of a kind of touch sensing unit based on terminal device of providing in the embodiment of the present invention;
Fig. 1 c is a kind of laying state and/or the gripping view based on terminal device providing in the embodiment of the present invention;
Fig. 2 a is a kind of data processing method process flow diagram providing in the embodiment of the present invention;
Fig. 2 b is the touch area schematic diagram of a kind of touch sensing unit based on terminal device of providing in the embodiment of the present invention;
Fig. 2 c is the touch area schematic diagram of a kind of touch sensing unit based on terminal device of providing in the embodiment of the present invention;
Fig. 3 is a kind of data processing method process flow diagram providing in the embodiment of the present invention;
Fig. 4 is a kind of data processing equipment structural representation providing in the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 a is a kind of data processing method process flow diagram providing in the embodiment of the present invention, and described terminal device comprises touch sensing unit, and described touch sensing unit comprises multiple touch areas.Referring to Fig. 1 a, the method comprises:
101: the slip event of monitoring in described touch sensing unit;
102: when described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method;
Wherein, first pre-conditionedly refers to the first touch area and the 3rd touch area that lay respectively at described touch sensing unit when the starting point of described slip event and terminal, or the starting point of described slip event and terminal lay respectively at the first subregion and the 3rd subregion of described touch sensing unit.
First method can be following any mode: (one), according to the starting point of described slip event and touch area, terminal place, determines the glide direction of described slip event; (2), according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; (3), according to the absolute coordinates of the absolute coordinates of described starting point and the contact point while being added to described threshold values, determine the glide direction of described slip event; (4) in the track of slip event, there is the sub-trajectory number of equidirectional, determine the glide direction of described slip event.In addition, this first method can also be determined mode for other glide direction, and the embodiment of the present invention is not specifically limited.
It should be noted that, refer to as the coordinate in the touch sensing unit of absolute coordinate system at the absolute coordinates described in mode (two) and (three), the essential distinction of this class relative positioning system of absolute coordinates and mouse is, absolute coordinates has the intuitive of one-time-reach-place.The feature of absolute coordinate system is, it doesn't matter for the elements of a fix and the last elements of a fix each time, touch sensing unit is coordinate positioning independently physically, each data that touch transfer the coordinate on screen to by calibration, like this, the coordinate of touch sensing unit is no matter when, and the output data of same point are stable.
103: when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.
Wherein, the second pre-conditioned displacement that refers to slip event is greater than threshold values, or, carry out displacement from the starting point of described slip event cumulative, when the accumulated value of the displacement of described slip event is described threshold values, or, when the sub-trajectory number in the track of described slip event with equidirectional reaches preset ratio, wherein, the distance of each sub-trajectory equates.
Second method can be following any mode: (one), according to the starting point of described slip event and touch area, terminal place, determines the glide direction of described slip event; (2), according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; (3) according to the absolute coordinates of the absolute coordinates of described starting point and the contact point while being added to described threshold values, determine the glide direction of described slip event: in the track of (four) slip event, there is the sub-trajectory number of equidirectional, determine the glide direction of described slip event.In addition, this second method can also be determined mode for other glide direction, and the embodiment of the present invention is not specifically limited.
It should be noted that, second method and first method can not be selected identical processing mode simultaneously.
The present invention is the slip event in described touch sensing unit by monitoring; When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method; When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.The technical scheme that adopts the embodiment of the present invention to provide, by pre-conditioned and second pre-conditioned slip event in touch sensing unit is judged according to first, and then the glide direction of definite slip event, reduce the False Rate of terminal device to slip event, convenient for users to use.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiment, step 102 " when described slip event meets second when pre-conditioned; determine the glide direction of described slip event according to second method ", comprise: when described slip event does not meet first when pre-conditioned, judge that whether described slip event meets second when pre-conditioned, when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method.
In embodiments of the present invention, can pass through first pre-conditioned and the second pre-conditioned judgement respectively, select the mode of the glide direction for determining slip event, can also be by first pre-conditionedly judging first, when slip event meets first when pre-conditioned, think that this slip event is validity event, and determine the glide direction of described slip event according to first method, and do not meet first when pre-conditioned when slip event, judge that whether this slip event meets second pre-conditioned, when slip event meets second when pre-conditioned, think that this slip event is validity event, and determine the glide direction of described slip event according to second method, when slip event does not meet second when pre-conditioned, think that this slip event is invalid event, the maloperation that may be user causes, therefore this slip event is not processed.
The present invention is the slip event in described touch sensing unit by monitoring; When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method; When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.The technical scheme that adopts the embodiment of the present invention to provide, by pre-conditioned and second pre-conditioned slip event in touch sensing unit is judged according to first, and then the glide direction of definite slip event, reduce the False Rate of terminal device to slip event, convenient for users to use.Further, by do not meet in slip event first pre-conditioned after, then it is second pre-conditioned to judge that whether slip event meets, and can reduce better the erroneous judgement of slide.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiment, described touch sensing unit comprises multiple touch areas,
Correspondingly, this step 102 " when described slip event meets first when pre-conditioned; determine the glide direction of described slip event according to first method ", comprise step 102A: when described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event;
In the present embodiment, because touch sensing unit comprises multiple touch areas, and each touch area has default position relationship, therefore, by knowing the relative position between starting point and touch area, terminal place and the touch area of slip event, can determine the glide direction of this slip event.
As, when multiple touch areas in this touch sensing unit for horizontal direction is arranged, when the starting point of slip event is positioned at leftmost touch area in horizontal direction, and terminal is while being positioned in horizontal direction rightmost touch area, can determine that the glide direction of this slip event is for from left to right.
Correspondingly, this step 103 " when described slip event meets second when pre-conditioned; determine the glide direction of described slip event according to second method ", comprise step 103A: when described slip event meets second when pre-conditioned, according to the track of described slip event, determine the glide direction of described slip event.
In the present embodiment, the track of slip event can comprise the multiple sub-trajectories that slide to same direction, can also comprise the multiple sub-trajectories that slide to different directions, for different situations, can there is different glide directions to determine mode, as, according to the displacement between the starting point of slip event and terminal, or according to the distance of the process of slip event, determine the glide direction of described slip event.
Further alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiment, described multiple touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in described the first touch area, the second touch area and the 3rd touch area, described the second touch area comprises the first subregion, the second subregion and the 3rd subregion, the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction
Wherein, first direction and second direction are orthogonal direction, and in the time that first direction is horizontal direction, second direction can be vertical direction, and in the time that first direction is vertical direction, second direction can be horizontal direction.
Correspondingly, step 102A " when described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determines the glide direction of described slip event ", comprises following arbitrary step:
102A1: in the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, according to the arragement direction of described the first touch area and the 3rd touch area and described starting point and the terminal touch area at place respectively, determine the glide direction of described slip event;
In the time that first direction is horizontal direction, second direction can be vertical direction, in the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, and starting point is positioned at the first touch area, terminal is positioned at the 3rd touch area, because the arragement direction of the first touch area and the 3rd touch area is arranged for level from left to right, determine that the glide direction of described slip event is for from left to right;
In the time that first direction is horizontal direction, second direction can be vertical direction, in the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, and starting point is positioned at the 3rd touch area, terminal is positioned at the first touch area, because the arragement direction of the first touch area and the 3rd touch area is arranged for level from left to right, determine that the glide direction of described slip event is for from right to left;
In the time that first direction is vertical direction, second direction can be horizontal direction, in the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, and starting point is positioned at the first touch area, terminal is positioned at the 3rd touch area, because the arragement direction of the first touch area and the 3rd touch area is vertical arrangement from the top down, the glide direction of determining described slip event is for from the top down;
In the time that first direction is vertical direction, second direction can be horizontal direction, in the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, and starting point is positioned at the 3rd touch area, terminal is positioned at the first touch area, because the arragement direction of the first touch area and the 3rd touch area is vertical arrangement from top to bottom, determine that the glide direction of described slip event is for from bottom to top.
102A2: in the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, according to the arragement direction of described the first subregion and the 3rd subregion and described starting point and the terminal subregion at place respectively, determine the glide direction of described slip event.
In the time that first direction is horizontal direction, second direction can be vertical direction, in the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, and starting point is positioned at the first subregion, terminal is positioned at the 3rd subregion, because the arragement direction of the first subregion and the 3rd subregion is vertical arrangement from the top down, the glide direction of determining described slip event is for from the top down;
In the time that first direction is horizontal direction, second direction can be vertical direction, in the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, and starting point is positioned at the 3rd subregion, terminal is positioned at the first subregion, because the arragement direction of the first subregion and the 3rd subregion is vertical arrangement from the top down, determine that the glide direction of described slip event is for from bottom to top;
In the time that first direction is vertical direction, second direction can be horizontal direction, in the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, and starting point is positioned at the first subregion, terminal is positioned at the 3rd subregion, because the arragement direction of the first subregion and the 3rd subregion is arranged for level from left to right, determine that the glide direction of described slip event is for from left to right;
In the time that first direction is vertical direction, second direction can be horizontal direction, in the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, and starting point is positioned at the 3rd subregion, terminal is positioned at the first subregion, because the arragement direction of the first subregion and the 3rd subregion is arranged for level from left to right, determine that the glide direction of described slip event is for from right to left.
Preferably, when the interface of terminal device is when being rectangular, in the time that long limit level, minor face are vertical, can be horizontal direction according to first direction, second direction is that vertical direction is carried out region division to touch sensing unit, and when long limit is vertical, when minor face level, can be vertical direction according to first direction, second direction is that horizontal direction is carried out region division to touch sensing unit.
Further alternatively, step 103A " when described slip event meets second when pre-conditioned, according to the displacement of described slip event, determines the glide direction of described slip event ", comprises following arbitrary step:
103A1: when determining that according to the absolute coordinates of the absolute coordinates of the starting point of described slip event and terminal the displacement of described slip event is greater than threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event;
In embodiments of the present invention, the second pre-conditioned displacement for slip event is greater than threshold values, and this threshold values can be arranged voluntarily by user, also can be given tacit consent to by terminal device, and the embodiment of the present invention is not done concrete restriction.As, threshold values can be set to 30% of screen length or width, if displacement is less than threshold values, can think that user's operation belongs to maloperation, now, be invalid operation to the operation of terminal device, if displacement is greater than threshold values, can think that user wants to carry out certain feature operation, now touch sensing unit, according to the absolute coordinates of the absolute coordinates of starting point and terminal, is determined the glide direction of described slip event.
Particularly, touch sensing unit, according to the absolute coordinates of the absolute coordinates of starting point and terminal, is determined the glide direction of described slip event.Touch sensing unit is carried out radioactivity division according to the starting point of slip event to touch area, using the starting point of slip event as central point, spend in touch sensing unit 45,135 degree, 225 degree and 315 degree directions carry out radioactivity division, touch sensing unit is divided into four regions, judge the region of the absolute coordinates of the terminal of slip event, determine the glide direction of this slip event according to the region at the terminal place of slip event.Describe the deterministic process of glide direction as an example of Fig. 1 b example, Fig. 1 b is the touch area schematic diagram of a kind of touch sensing unit based on terminal device of providing in the embodiment of the present invention, in the drawings, 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 arranged in first area, now think that glide direction is 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 is arranged in second area, now thinks that glide direction is for from the top down; 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 arranged in the 3rd region, now thinks that glide direction is for from right to left; 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 arranged in the 4th region, now thinks that glide direction is for from bottom to top.The regional of dividing according to radioactivity, has determined glide direction, has avoided failing to judge to valid function.
103A2: carry out displacement when the starting point from described slip event and add up, in the time that the displacement of described slip event is added to described threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and the contact point while being added to described threshold values, determine the glide direction of described slip event.
In embodiments of the present invention, the second pre-conditioned displacement for slip event is added to described threshold values, and this threshold values can be arranged voluntarily by user, also can be given tacit consent to by terminal device, and the embodiment of the present invention is not done concrete restriction.Particularly, it is cumulative that touch sensing unit is carried out displacement from the starting point of described slip event, until the displacement of described slip event is added to described threshold values.As, threshold values can be set to 30% of screen length or width, if be greater than threshold values after the displacement of slip event is cumulative, can think that user wants to carry out certain feature operation, now touch sensing unit is being waited for user's end slip event, and the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values is determined the glide direction of described slip event, if be less than threshold values after the displacement of slip event is cumulative, touch sensing unit does not trigger any function.
Particularly, touch sensing unit, according to the absolute coordinates of starting point and the contact point while being added to described threshold values, is determined the glide direction of described slip event.Touch sensing unit is carried out radioactivity division according to the starting point of slip event to touch area, using the starting point of slip event as central point, spend in touch sensing unit 45,135 degree, 225 degree and 315 degree directions carry out radioactivity division, touch sensing unit is divided into four regions, judge the region of the contact point absolute coordinates while being added to described threshold values, determine the glide direction of this slip event according to the contact point absolute coordinates of slip event.Shown in its concrete deterministic process and Fig. 1 b, in like manner, repeat no more herein.
The present invention is the slip event in described touch sensing unit by monitoring; When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method; When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.The technical scheme that adopts the embodiment of the present invention to provide, by pre-conditioned and second pre-conditioned slip event in touch sensing unit is judged according to first, and then the glide direction of definite slip event, reduce the False Rate of terminal device to slip event, convenient for users to use.Further, by do not meet in slip event first pre-conditioned after, then it is second pre-conditioned to judge that whether slip event meets, and can reduce better the erroneous judgement of slide.Further, by touch area is divided according to different modes, refinement the glide direction judgement of slip event, can improve the validity of operation.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiment, step 101 " detects the slip event in described touch sensing unit " before, and described method also comprises step 100A and step 100B:
100A: the laying state and/or the gripping state that detect described terminal device;
Wherein, the laying state of described terminal device comprises horizontal positioned and vertical placement, and gripping state comprises that level grips and vertical gripping, and concrete state is as shown in Fig. 1 c.
100B: according to described laying state and/or gripping state, the touch sensing unit of described terminal device is carried out to region division.
In the present embodiment, set in advance the relation between laying state and/or gripping state and region dividing mode, when terminal device is in a certain laying state and/or grip when state, the touch sensing unit of this terminal device is divided accordingly.The embodiment of the present invention is not specifically limited the area size of dividing.
As user habit is placed or level grips the mode of terminal device in usage level, and user carries out slide to horizontal direction regularly, now user first direction can be set is horizontal direction, the vertical direction that second direction is touch area.Arrange in the horizontal direction successively side by side in described the first touch area, the second touch area and the 3rd touch area, user carries out slide to horizontal direction regularly, the length of described the first touch area and the 3rd touch area can suitably arrange larger, as 30% of the length of touch area as described in can being set to.Owing to often not using the second touch area, now the second touch area only has 40% of whole touch area, the first subregion, the second subregion and the 3rd subregion are arranged in the vertical direction successively side by side, the length of described the first subregion and the 3rd subregion be respectively described the second touch area length 25%.
Alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiment, step 101 " detects the slip event in described touch sensing unit " before, and described method also comprises step 100C and 100D:
100C: the corresponding relation of preserving the region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit;
In the each touch area that uses the touch sensing unit of being given tacit consent to by terminal device of user, or behind the touch area being arranged voluntarily by user, when terminal device uses according to user, dividing mode corresponding storage the one by one of the laying state of terminal device and/or gripping state and touch area, according to storage information and laying state and/or gripping state automatically divides the region of touch sensing unit while use for next user.
100D: when described terminal device is in arbitrary laying state and/or grip when state, adopt the region dividing mode corresponding with described arbitrary laying state and/or gripping state to carry out region division to described touch sensing unit.
As, when terminal device is during in horizontality, user is provided with the region dividing mode of level for this state, that is to say, touch sensing unit is divided into the first touch area, the second touch area and the 3rd touch area that horizontal direction is arranged successively side by side, and the second touch area is divided into the first subregion, the second subregion and the 3rd subregion of arranging side by side successively in the vertical direction,, when terminal device is during again in horizontality, adopt the region dividing mode of this level to carry out region division to touch sensing unit.
Further alternatively, on the basis of the technical scheme of Fig. 1 a illustrated embodiment, step 100C " preserves the corresponding relation of the region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit " and comprising: when described terminal device uses the number of times of the same area dividing mode to exceed preset times during at same laying state and/or the state of gripping, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode.
In the present embodiment, can learn user's use habit, by the region dividing mode using during in various state at terminal device is added up, and the number of times of statistics is judged, to determine the corresponding relation of region dividing mode of laying state and/or gripping state and described touch sensing unit, when described terminal device is at same laying state and/or grip when state and use the number of times of the same area dividing mode to exceed preset times, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode, for automatically divide the region of touch sensing unit in the time that user uses next time.
As, when terminal device is during in horizontality, user has selected the region dividing mode of level, that is to say, touch sensing unit is divided into the first touch area that horizontal direction is arranged successively side by side, the second touch area and the 3rd touch area, and the second touch area is divided into first subregion of arranging side by side successively in the vertical direction, the second subregion and the 3rd subregion, when terminal device is when in horizontality, repeatedly select the region dividing mode of level, and number of times reaches preset times, determine the corresponding relation between this horizontality and the region dividing mode of level, when terminal device is during again in horizontality, according to this corresponding relation, adopt the region dividing mode of this level to carry out region division to touch sensing unit.
The present invention is the slip event in described touch sensing unit by monitoring; When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method; When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.The technical scheme that adopts the embodiment of the present invention to provide, by pre-conditioned and second pre-conditioned slip event in touch sensing unit is judged according to first, and then the glide direction of definite slip event, reduce the False Rate of terminal device to slip event, convenient for users to use.Further, by do not meet in slip event first pre-conditioned after, then it is second pre-conditioned to judge that whether slip event meets, and can reduce better the erroneous judgement of slip event.Further, by touch area is divided according to different modes, refinement the glide direction judgement of slip event, can improve the validity of operation.Closer, by the division of laying state and/or gripping state and touch area is preserved, can optimize the result of use of terminal device.
Fig. 2 a is a kind of data processing method process flow diagram providing in the embodiment of the present invention, and described terminal device comprises touch sensing unit, and touch sensing unit comprises multiple touch areas.Referring to Fig. 2 a, the method comprises:
201: the slip event of monitoring in touch sensing unit;
This touch sensing unit comprises multiple touch areas, the plurality of touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in this first touch area, the second touch area and the 3rd touch area, this second touch area comprises the first subregion, the second subregion and the 3rd subregion, and the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction.Wherein, first direction can be horizontal direction or the vertical direction of touch area, and second direction is perpendicular to first direction.
In the time of horizontal direction that first direction is touch area, the vertical direction that second direction is touch area.Arrange (as shown in Figure 2 b) in the horizontal direction successively side by side in this first touch area, the second touch area and the 3rd touch area, the length of this first touch area and the 3rd touch area is respectively the width of this touch area, preferably, the width of this first touch area and the 3rd touch area be respectively this touch area length 20%.The first subregion, the second subregion and the 3rd subregion are arranged in the vertical direction successively side by side, the length of this first subregion and the 3rd subregion is respectively the width of this second touch area, preferably, the width of this first subregion and the 3rd subregion be respectively this second touch area length 25%.
In the time of vertical direction that first direction is touch area, the horizontal direction that second direction is touch area.Arrange (as shown in Figure 2 c) in the vertical direction successively side by side in this first touch area, the second touch area and the 3rd touch area, the length of this first touch area and the 3rd touch area is respectively the length of this touch area, preferably, the width of this first touch area and the 3rd touch area be respectively this touch area width 20%.The first subregion, the second subregion and the 3rd subregion are arranged in the horizontal direction successively side by side, the length of this first subregion and the 3rd subregion is respectively the width of this second touch area, preferably, the width of this first subregion and the 3rd subregion be respectively this second touch area length 25%.
In order to guarantee slip event not to be judged by accident, reach the accuracy of operation, therefore, according to pre-conditioned operation that the region to touch sensing unit is divided and slip event meets.
202: in the time the slip event of this touch sensing unit being detected, judge that whether this slip event meets first pre-conditioned, if so, execution step 205, if not, execution step 203;
Wherein, first pre-conditionedly refers to the first touch area and the 3rd touch area that lay respectively at this touch sensing unit when the starting point of this slip event and terminal, or the starting point of this slip event and terminal lay respectively at the first subregion and the 3rd subregion of this touch sensing unit.
Particularly, the starting point of this slip event and terminal lay respectively at this first touch area and the 3rd touch area and comprise two kinds of situations: the starting point of (1) slip event is positioned at the first touch area, and terminal is positioned at the 3rd touch area; (2) starting point of slip event is positioned at the 3rd touch area, and terminal is positioned at the first touch area.The starting point of this slip event and terminal lay respectively at this first subregion and the 3rd subregion comprises two kinds of situations: the starting point of (1) slip event is positioned at the first subregion, and terminal is positioned at the 3rd subregion; (2) starting point of slip event is positioned at the 3rd subregion, and terminal is positioned at the first subregion.If meet above-mentioned arbitrary situation, determine that this slip event meets first pre-conditioned.
203: when this slip event does not meet first when pre-conditioned, judge whether this slip event meets second pre-conditioned, if so, execution step 206, if not, execution step 204;
Wherein, the second pre-conditioned displacement that refers to slip event is greater than threshold values, or, carry out displacement from the starting point of described slip event cumulative, when the accumulated value of the displacement of described slip event is described threshold values, or, when the sub-trajectory number in the track of described slip event with equidirectional reaches preset ratio, wherein, the distance of each sub-trajectory equates, wherein this preset ratio can be set to 30%, 40%, 50% etc., and the embodiment of the present invention is not specifically limited.
If the track of slip event is an irregular curve, the starting point that displacement of slip event is this curve is pointed to the directed line segment of terminal, the length of this line segment is the displacement of this slip event, and in the time that this displacement is greater than threshold values, this slip event meets second pre-conditioned; Or this curve is the carrying out along with slip event from starting point, the displacement of butt contact process adds up, i.e. the distance of the process of contact point, until the accumulated value of the displacement of described slip event is described threshold values, this slip event meets second pre-conditioned; Or, the curve between origin-to-destination is divided into x cross-talk track, calculate the direction of every cross-talk track, in the time having the ratio of the sub-trajectory number of equidirectional and the number of total sub-trajectory and reach preset ratio, it is second pre-conditioned that this slip event meets.
204: not any function of triggering terminal equipment, finishes;
205: when this slip event meets first when pre-conditioned, determine the glide direction of this slip event according to first method, execution step 207;
First method can be following any mode: (one), according to the starting point of described slip event and touch area, terminal place, determines the glide direction of described slip event; (2), according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; (3), according to the absolute coordinates of the absolute coordinates of described starting point and the contact point while being added to described threshold values, determine the glide direction of described slip event; (4) in the track of slip event, there is the sub-trajectory number of equidirectional, determine the glide direction of described slip event.In addition, this first method can also be determined mode for other glide direction, and the embodiment of the present invention is not specifically limited.Preferably, first method adopts according to the starting point of described slip event and touch area, terminal place, determines the glide direction of described slip event.
Particularly, in the time that the starting point of this slip event and terminal lay respectively at the first touch area of this touch sensing unit and the 3rd touch area, according to the arragement direction of this first touch area and the 3rd touch area and this starting point and the terminal touch area at place respectively, determine the glide direction of this slip event.The present embodiment only describes as an example of Fig. 2 b example, and when the starting point of this slip event is positioned at the first touch area, when terminal is positioned at the 3rd touch area, square glide direction is now to point to the 3rd touch area from the first touch area, and glide direction is from left to right; When the starting point of this slip event is positioned at the 3rd touch area, when terminal is positioned at the first touch area, square glide direction is now to point to the first touch area from the 3rd touch area, and glide direction is from right to left.In the time that the starting point of this slip event and terminal lay respectively at the first subregion of this touch sensing unit and the 3rd subregion, according to the arragement direction of this first subregion and the 3rd subregion and this starting point and the terminal subregion at place respectively, determine the glide direction of this slip event.Particularly, the present embodiment only describes as an example of Fig. 2 b example, and when the starting point of this slip event is positioned at the first subregion, when terminal is positioned at the 3rd subregion, square glide direction is now to point to the 3rd subregion from the first subregion, and glide direction is for from the top down; When the starting point of this slip event is positioned at the 3rd subregion, when terminal is positioned at the first subregion, square glide direction is now to point to the first subregion from the 3rd subregion, and glide direction is for from bottom to top.
206: when this slip event meets second when pre-conditioned, determine the glide direction of this slip event according to second method, wherein this first method is different with this second method;
Second method can be following any mode: (one), according to the starting point of described slip event and touch area, terminal place, determines the glide direction of described slip event; (2), according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; (3) according to the absolute coordinates of the absolute coordinates of described starting point and the contact point while being added to described threshold values, determine the glide direction of described slip event: (four), according to the sub-trajectory number in the track of slip event with equidirectional, determine the glide direction of described slip event.In addition, this second method can also be determined mode for other glide direction, and the embodiment of the present invention is not specifically limited.It should be noted that, second method and first method can not be selected identical processing mode simultaneously, so, in step 205, select (one) as after first method, can from (two), (three), (four), select a kind of mode as second method.
In the time adopting (two) as second method, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; Particularly, touch sensing unit is carried out radioactivity division according to the starting point of slip event to touch area, using the starting point of slip event as central point, spend in touch sensing unit 45,135 degree, 225 degree and 315 degree directions carry out radioactivity division, touch sensing unit is divided into four regions, judge the region of the absolute coordinates of the terminal of slip event, determine the glide direction of this slip event according to the region at the terminal place of slip event.
When adopting (three) during as second method, the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values, determines the glide direction of described slip event.Particularly, touch sensing unit is carried out radioactivity division according to the starting point of slip event to touch area, using the starting point of slip event as central point, spend in touch sensing unit 45,135 degree, 225 degree and 315 degree directions carry out radioactivity division, touch sensing unit is divided into four regions, the displacement that judges slip event is added to the region that the contact point of described threshold values is positioned at, and is added to region that the contact point of described threshold values is positioned at and determines the glide direction of this slip event according to the displacement of slip event.
In the time adopting (four) as second method, according to the sub-trajectory number in the track of slip event with equidirectional, determine the glide direction of described slip event.Direction in touch sensing unit is divided into four direction, the angle of first direction at 315 degree (45 degree) within 45 degree scopes, think that the sub-trajectory dropping within this scope is same direction, from left to right, the angle of second direction at 45 degree within 135 degree scopes, think that the sub-trajectory dropping within this scope is same direction, from bottom to top, the angle of the 3rd direction at 135 degree within 225 degree scopes, think that the sub-trajectory dropping within this scope is same direction, from right to left, the angle of four direction at 225 degree within 315 degree scopes, think that the sub-trajectory dropping within this scope is same direction, from the top down.Quantity to the sub-trajectory in slip event with equidirectional is added up, and the direction with maximum sub-trajectories is the glide direction of described slip event.
207: according to the glide direction of slip event, the corresponding function of touch sensing unit triggering terminal equipment.
Touch sensing unit determines after the glide direction of slip event, and according to operand and definite glide direction, the corresponding function of triggering terminal equipment, makes terminal device process accordingly operand according to user's operation.For example, when terminal device is TV remote controller, and this TV remote controller possesses touch sensing unit, when the operand that user selects is volume, can regulate the size of volume by the slip of left and right, in the time that user slides from left to right on operation interface, determine after the glide direction of this slip event, touch sensing unit in TV remote controller will trigger the function of the increase to television sound volume, if in the time that user slides from right to left on operation interface, TV remote controller is by the function reducing triggering television sound volume; For another example, in the time that the operand of user's selection is the channel in TV remote controller, can carry out the replacing of channel by upper and lower slip, in the time that user slides from the top down on operation interface, TV remote controller subtracts one by triggering to television channel sequence number, and plays the function of corresponding television channel, if in the time that user slides from bottom to top on operation interface, TV remote controller adds one by triggering to television channel sequence number, and plays the function of corresponding television channel.
Before step 201, the method also comprises the processing with the division of corresponding touch area for the laying state of terminal device and/or gripping state, and Fig. 3 is a kind of data processing method process flow diagram providing in the embodiment of the present invention, and referring to Fig. 3, the method comprises:
301: the laying state and/or the gripping state that detect this terminal device;
Wherein, the laying state of described terminal device comprises horizontal positioned and vertical placement, and gripping state comprises that level grips and vertical gripping.
302: according to this laying state and/or gripping state, the touch sensing unit of this terminal device is carried out to region division;
The division of touch area can be generated automatically by terminal device, also can by user, according to use habit and frequency of utilization, size and the first direction to touch area arranges.As, user habit grips terminal device in horizontal direction, and the slide that carries out vertical direction is more, now, user can be using vertical direction as first direction, it is larger that the first touch area and the 3rd touch area can suitably be adjusted ratio, and user is in using terminal device like this, and the operant response for user of terminal device will be more accurately sensitive.
303: the corresponding relation of preserving the region dividing mode of laying state in use of this terminal device and/or gripping state and this touch sensing unit;
When user uses terminal device at every turn, the corresponding relation of the region dividing mode of the laying state of terminal device and/or gripping state and this touch sensing unit will be saved, in the time repeating the corresponding relation of the laying state of a certain terminal device and/or the region dividing mode of gripping state and this touch sensing unit, this corresponding relation is added up.
304: in the time that user reuses terminal device, when this terminal device is in arbitrary laying state and/or grip when state, adopt the region dividing mode corresponding with this arbitrary laying state and/or gripping state to carry out region division to this touch sensing unit.
User repeatedly uses after this terminal device, in this terminal device, can retain the corresponding relation of the region dividing mode of a large amount of laying states and/or gripping state and this touch sensing unit, after these corresponding relations are added to a certain degree, in the time that user reuses this terminal device, terminal device will be found out the region dividing mode corresponding with this laying state and/or gripping state according to the laying state of terminal device and/or gripping state in the corresponding relation of preserving, because a kind of laying state and/or gripping state may be corresponding to multiple regions dividing mode, terminal device will be found out region dividing mode that access times that this laying state and/or gripping state are corresponding the are maximum region dividing mode as this.
The present invention is the slip event in this touch sensing unit by monitoring; When this slip event meets first when pre-conditioned, determine the glide direction of this slip event according to first method; When this slip event meets second when pre-conditioned, determine the glide direction of this slip event according to second method, wherein this first method is different with this second method.The technical scheme that adopts the embodiment of the present invention to provide, by pre-conditioned and second pre-conditioned slip event in touch sensing unit is judged according to first, and then the glide direction of definite slip event, reduce the False Rate of terminal device to slip event, convenient for users to use.Further, by do not meet in slip event first pre-conditioned after, then it is second pre-conditioned to judge that whether slip event meets, and can reduce better the erroneous judgement of slip event.Further, by touch area is divided according to different modes, refinement the glide direction judgement of slip event, can improve the validity of operation.By the division of laying state and/or gripping state and touch area is processed, can optimize the result of use of terminal device.
Fig. 4 is a kind of data processing equipment structural representation providing in the embodiment of the present invention, and described terminal device comprises touch sensing unit, and described touch sensing unit comprises multiple touch areas.Referring to Fig. 4, described device comprises:
Detection module 401, for monitoring the slip event in described touch sensing unit;
The first determination module 402, for meeting first when pre-conditioned when described slip event, determines the glide direction of described slip event according to first method;
The second determination module 403, for meeting second when pre-conditioned when described slip event, determines the glide direction of described slip event according to second method, wherein said first method is different with described second method.
Described device also comprises:
Judge module 404, for when described slip event satisfied first is when pre-conditioned, judge that whether described slip event meets second pre-conditioned, when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method.
Described touch sensing unit comprises multiple touch areas,
Correspondingly, described the first determination module 402 specifically for:
When described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event;
Correspondingly, described the second determination module 403 specifically for:
When described slip event meets second when pre-conditioned, according to the track of described slip event, determine the glide direction of described slip event.
Described multiple touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in described the first touch area, the second touch area and the 3rd touch area, described the second touch area comprises the first subregion, the second subregion and the 3rd subregion, the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction
Correspondingly, described the first determination module 402 specifically for:
In the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, according to the arragement direction of described the first touch area and the 3rd touch area and described starting point and the terminal touch area at place respectively, determine the glide direction of described slip event; In the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, according to the arragement direction of described the first subregion and the 3rd subregion and described starting point and the terminal subregion at place respectively, determine the glide direction of described slip event.
Described the second determination module 403 specifically for: when determining that according to the absolute coordinates of the absolute coordinates of the starting point of described slip event and terminal the displacement of described slip event is greater than threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; Or,
When the starting point from described slip event, to carry out displacement cumulative, and in the time that the displacement of described slip event is added to described threshold values, the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values, determines the glide direction of described slip event.
Described device also comprises:
State detection module 405, for detection of laying state and/or the gripping state of described terminal device;
Module 406 is divided in region, for according to described laying state and/or gripping state, the touch sensing unit of described terminal device is carried out to region division.
Described device also comprises:
Preserve module 407, for preserving the corresponding relation of region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit;
Module 406 is divided in described region, and also for when described terminal device is during in arbitrary laying state and/or the state of gripping, the employing region dividing mode corresponding with described arbitrary laying state and/or gripping state carried out region division to described touch sensing unit.
Described preservation module 407 also for:
When described terminal device is at same laying state and/or grip when state and use the number of times of the same area dividing mode to exceed preset times, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode.
The present invention is the slip event in this touch sensing unit by monitoring; When this slip event meets first when pre-conditioned, determine the glide direction of this slip event according to first method; When this slip event meets second when pre-conditioned, determine the glide direction of this slip event according to second method, wherein this first method is different with this second method.The technical scheme that adopts the embodiment of the present invention to provide, by pre-conditioned and second pre-conditioned slip event in touch sensing unit is judged according to first, and then the glide direction of definite slip event, reduce the False Rate of terminal device to slip event, convenient for users to use.Further, by do not meet in slip event first pre-conditioned after, then it is second pre-conditioned to judge that whether slip event meets, and can reduce better the erroneous judgement of slip event.Further, by touch area is divided according to different modes, refinement the glide direction judgement of slip event, can improve the validity of operation.By the division of laying state and/or gripping state and touch area is processed, can optimize the result of use of terminal device.
It should be noted that: the data processing equipment that above-described embodiment provides is in the time processing the slip event of touch sensing unit, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the inner structure of device, to complete all or part of function described above.In addition, the data processing equipment that above-described embodiment provides and data processing method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (16)

1. a data processing method, is applied to terminal device, and described terminal device comprises touch sensing unit, it is characterized in that, described method comprises:
The slip event of monitoring in described touch sensing unit;
When described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method;
When described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, wherein said first method is different with described second method.
2. method according to claim 1, is characterized in that, when described slip event meets second when pre-conditioned, determines the glide direction of described slip event according to second method, comprising:
When described slip event does not meet first when pre-conditioned, judge whether described slip event meets second pre-conditioned, when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method.
3. method according to claim 1, is characterized in that, described touch sensing unit comprises multiple touch areas,
Correspondingly, when described slip event meets first when pre-conditioned, determine the glide direction of described slip event according to first method, comprising:
When described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event;
Correspondingly, when described slip event meets second when pre-conditioned, determine the glide direction of described slip event according to second method, comprising:
When described slip event meets second when pre-conditioned, according to the track of described slip event, determine the glide direction of described slip event.
4. method according to claim 3, it is characterized in that, described multiple touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in described the first touch area, the second touch area and the 3rd touch area, described the second touch area comprises the first subregion, the second subregion and the 3rd subregion, the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction
Correspondingly, when described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event, comprising:
In the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, according to the arragement direction of described the first touch area and the 3rd touch area and described starting point and the terminal touch area at place respectively, determine the glide direction of described slip event;
In the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, according to the arragement direction of described the first subregion and the 3rd subregion and described starting point and the terminal subregion at place respectively, determine the glide direction of described slip event.
5. method according to claim 3, is characterized in that, when described slip event meets second when pre-conditioned, according to the displacement of described slip event, determines the glide direction of described slip event, comprising:
When determining that according to the absolute coordinates of the absolute coordinates of the starting point of described slip event and terminal the displacement of described slip event is greater than threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; Or,
When the starting point from described slip event, to carry out displacement cumulative, and in the time that the displacement of described slip event is added to described threshold values, the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values, determines the glide direction of described slip event.
6. method according to claim 1, is characterized in that, before detecting the slip event in described touch sensing unit, described method also comprises:
Detect laying state and/or the gripping state of described terminal device;
According to described laying state and/or gripping state, the touch sensing unit of described terminal device is carried out to region division.
7. method according to claim 1, is characterized in that, before detecting the slip event in described touch sensing unit, described method also comprises:
Preserve the corresponding relation of the region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit;
When described terminal device is in arbitrary laying state and/or grip when state, adopt the region dividing mode corresponding with described arbitrary laying state and/or gripping state to carry out region division to described touch sensing unit.
8. method according to claim 7, is characterized in that, preserves the corresponding relation of the region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit, comprising:
When described terminal device is at same laying state and/or grip when state and use the number of times of the same area dividing mode to exceed preset times, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode.
9. a data processing equipment, is applied to terminal device, and described terminal device comprises touch sensing unit, it is characterized in that, described device comprises:
Detection module, for monitoring the slip event in described touch sensing unit;
The first determination module, for meeting first when pre-conditioned when described slip event, determines the glide direction of described slip event according to first method;
The second determination module, for meeting second when pre-conditioned when described slip event, determines the glide direction of described slip event according to second method, wherein said first method is different with described second method.
10. device according to claim 9, is characterized in that, described device also comprises:
Judge module, for not meeting first when pre-conditioned when described slip event, judges whether described slip event meets second pre-conditioned, when described slip event meets second when pre-conditioned, determines the glide direction of described slip event according to second method.
11. devices according to claim 9, is characterized in that, described touch sensing unit comprises multiple touch areas,
Correspondingly, described the first determination module specifically for:
When described slip event meets first when pre-conditioned, according to the starting point of described slip event and touch area, terminal place, determine the glide direction of described slip event;
Correspondingly, described the second determination module specifically for:
When described slip event meets second when pre-conditioned, according to the track of described slip event, determine the glide direction of described slip event.
12. devices according to claim 11, it is characterized in that, described multiple touch area comprises the first touch area, the second touch area and the 3rd touch area, arrange successively side by side at first direction in described the first touch area, the second touch area and the 3rd touch area, described the second touch area comprises the first subregion, the second subregion and the 3rd subregion, the first subregion, the second subregion and the 3rd subregion are arranged successively side by side in second direction
Correspondingly, described the first determination module specifically for:
In the time that the starting point of described slip event and terminal lay respectively at the first touch area of described touch sensing unit and the 3rd touch area, according to the arragement direction of described the first touch area and the 3rd touch area and described starting point and the terminal touch area at place respectively, determine the glide direction of described slip event; In the time that the starting point of described slip event and terminal lay respectively at the first subregion of described touch sensing unit and the 3rd subregion, according to the arragement direction of described the first subregion and the 3rd subregion and described starting point and the terminal subregion at place respectively, determine the glide direction of described slip event.
13. devices according to claim 11, it is characterized in that, described the second determination module specifically for: when determining that according to the absolute coordinates of the absolute coordinates of the starting point of described slip event and terminal the displacement of described slip event is greater than threshold values, according to the absolute coordinates of the absolute coordinates of described starting point and terminal, determine the glide direction of described slip event; Or,
When the starting point from described slip event, to carry out displacement cumulative, and in the time that the displacement of described slip event is added to described threshold values, the absolute coordinates of the contact point according to the absolute coordinates of described starting point and while being added to described threshold values, determines the glide direction of described slip event.
14. devices according to claim 9, is characterized in that, described device also comprises:
State detection module, for detection of laying state and/or the gripping state of described terminal device;
Module is divided in region, for according to described laying state and/or gripping state, the touch sensing unit of described terminal device is carried out to region division.
15. devices according to claim 9, is characterized in that, described device also comprises:
Preserve module, for preserving the corresponding relation of region dividing mode of laying state in use of described terminal device and/or gripping state and described touch sensing unit;
Module is divided in described region, and also for when described terminal device is during in arbitrary laying state and/or the state of gripping, the employing region dividing mode corresponding with described arbitrary laying state and/or gripping state carried out region division to described touch sensing unit.
16. devices according to claim 15, is characterized in that, described preservation module also for:
When described terminal device is at same laying state and/or grip when state and use the number of times of the same area dividing mode to exceed preset times, preserve the corresponding relation of this laying state of described terminal device and/or gripping state and described the same area dividing mode.
CN201210525851.9A 2012-12-07 2012-12-07 Data processing method and device Active CN103870171B (en)

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 true CN103870171A (en) 2014-06-18
CN103870171B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016045579A1 (en) * 2014-09-22 2016-03-31 努比亚技术有限公司 Application interaction control method and apparatus, and terminal
CN106791020A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of audio file broadcast state control method and mobile terminal
CN106817507A (en) * 2015-12-02 2017-06-09 柯尼卡美能达株式会社 Display device, picture display process and image processing apparatus
CN107704184A (en) * 2016-08-08 2018-02-16 大众汽车有限公司 Method and operation equipment for operation device
WO2018149169A1 (en) * 2017-02-14 2018-08-23 珠海格力电器股份有限公司 Air-conditioning parameter lateral sliding selection method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104317A (en) * 1998-02-27 2000-08-15 Motorola, Inc. Data entry device and method
CN101315593A (en) * 2008-07-18 2008-12-03 华硕电脑股份有限公司 Touch control type mobile operation device and display method used on the same
CN101398732A (en) * 2008-10-29 2009-04-01 深圳市中兴移动通信有限公司 Implementing method of sliding control in terminal human-computer interaction
CN101408817A (en) * 2007-10-12 2009-04-15 集嘉通讯股份有限公司 Method and apparatus for inputting operating instructions of double-touch panel
CN101414229A (en) * 2007-10-19 2009-04-22 集嘉通讯股份有限公司 Method and apparatus for controlling switch of handhold electronic device touch control screen
CN101819498A (en) * 2009-02-27 2010-09-01 瞬联讯通科技(北京)有限公司 Screen display-controlling method facing to slide body of touch screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104317A (en) * 1998-02-27 2000-08-15 Motorola, Inc. Data entry device and method
CN101408817A (en) * 2007-10-12 2009-04-15 集嘉通讯股份有限公司 Method and apparatus for inputting operating instructions of double-touch panel
CN101414229A (en) * 2007-10-19 2009-04-22 集嘉通讯股份有限公司 Method and apparatus for controlling switch of handhold electronic device touch control screen
CN101315593A (en) * 2008-07-18 2008-12-03 华硕电脑股份有限公司 Touch control type mobile operation device and display method used on the same
CN101398732A (en) * 2008-10-29 2009-04-01 深圳市中兴移动通信有限公司 Implementing method of sliding control in terminal human-computer interaction
CN101819498A (en) * 2009-02-27 2010-09-01 瞬联讯通科技(北京)有限公司 Screen display-controlling method facing to slide body of touch screen

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016045579A1 (en) * 2014-09-22 2016-03-31 努比亚技术有限公司 Application interaction control method and apparatus, and terminal
CN106817507A (en) * 2015-12-02 2017-06-09 柯尼卡美能达株式会社 Display device, picture display process and image processing apparatus
CN106817507B (en) * 2015-12-02 2019-05-07 柯尼卡美能达株式会社 Display device, picture display process and image processing apparatus
CN107704184A (en) * 2016-08-08 2018-02-16 大众汽车有限公司 Method and operation equipment for operation device
CN106791020A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of audio file broadcast state control method and mobile terminal
WO2018149169A1 (en) * 2017-02-14 2018-08-23 珠海格力电器股份有限公司 Air-conditioning parameter lateral sliding selection method and system

Also Published As

Publication number Publication date
CN103870171B (en) 2017-07-25

Similar Documents

Publication Publication Date Title
US8669960B2 (en) Firmware methods and devices for a mutual capacitance touch sensing device
US9588621B2 (en) Touch screen controller and method for controlling thereof
CN103440089B (en) The interface method of adjustment and user equipment of a kind of user equipment
US20110291944A1 (en) Systems and methods for improved touch screen response
US9213426B2 (en) Reenable delay of a touchpad or touch screen to prevent erroneous input when typing
KR101718893B1 (en) Method and apparatus for providing touch interface
CN103870171A (en) Method and device for processing data
CN103294401A (en) Icon processing method and device for electronic instrument with touch screen
KR20160149262A (en) Touch point recognition method and device
CN105807997A (en) Touch screen sensitivity adjustment method and device
CN104281340A (en) Touch screen touch recognition method
WO2012129973A1 (en) Method of identifying multi-touch scaling gesture and device using the same
CN103869947A (en) Method for controlling electronic device and electronic device
CN104345999A (en) Touch identification method
CN106293432A (en) A kind of page display processing method and device
CN104346000A (en) Touch identification method
CN105549894A (en) Touch information processing method and apparatus, touch information acquisition method and apparatus and touch information processing system
US9811229B2 (en) Capacitive touch sensing
CN103543933A (en) Method for selecting files and touch terminal
CN105159555B (en) A kind of customer equipment controlling method and user equipment
CN103761015A (en) Scanning method and system for capacitive touch screen control chip
CN107980116B (en) Floating touch sensing method, floating touch sensing system and floating touch electronic equipment
US20120188175A1 (en) Single Finger Gesture Determination Method, Touch Control Chip, Touch Control System and Computer System
CN104007850B (en) A kind of signal processing method and electronic equipment
CN103092491B (en) Method and device for generating control commands and electronic equipment

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