CN105320316A - Method and device for debouncing of touch screen and terminal - Google Patents
Method and device for debouncing of touch screen and terminal Download PDFInfo
- Publication number
- CN105320316A CN105320316A CN201410271171.8A CN201410271171A CN105320316A CN 105320316 A CN105320316 A CN 105320316A CN 201410271171 A CN201410271171 A CN 201410271171A CN 105320316 A CN105320316 A CN 105320316A
- Authority
- CN
- China
- Prior art keywords
- current contact
- contact region
- length
- distance threshold
- described current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention provides a method and device for debouncing of a touch screen and a terminal and relates to the technical field of touch screens. The method comprises the steps of acquiring a current contact area of the touch screen and current contact coordinates corresponding to the current contact area; determining a distance threshold according to the current contact area; if the distance between the current contact coordinates and the last contact coordinates is smaller than or equal to the distance threshold, determining that the current contact coordinates are subjected to bouncing, and discarding the current contact coordinates. According to the scheme, the debouncing effect of the touch screen can be improved by utilizing a detected touch graph, and users' touch experience is improved.
Description
Technical field
The present invention relates to touch screen technology field, particularly a kind of de-jittering method of touch-screen, device and terminal.
Background technology
Along with the development of electronics and information industry, intelligent terminal becomes the important channel of people's obtaining information gradually.Current intelligent terminal mainly contains smart mobile phone and panel computer these two, and these two kinds of equipment common ground are the touch-screens with human-computer interaction function.When finger contact touch-screen, touch-screen can be made to produce jitter problem.When particularly one hand holds the touch-screen operating narrow limit, finger unavoidably can at boundary slip.Therefore touch-screen edge is more easily shaken.
Jitter problem very affects Consumer's Experience, therefore must manage the generation reducing jitter phenomenon.Existing de-jittering method judges whether the distance of current contact coordinate contact coordinate previous with it is less than or equal to a threshold value, judges whether current contact coordinate is shaken whereby, just abandoned by current contact coordinate if there is shake.But there is two problems in this method:
1, directly judge whether to shake by the distance of current contact coordinate contact coordinate previous with it, judgment mode is more single, easily produces erroneous judgement;
If 2 judge to shake, just abandoned by current contact coordinate, this being only applicable to shakes less situation.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of de-jittering method of touch-screen, device and terminal, can determine different stabilization effect according to the touch scope of user, thus improves user and touch experience.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of de-jittering method of touch-screen, comprising:
Obtain current contact coordinate corresponding to the current contact region of touch-screen and described current contact region;
A distance threshold is determined according to described current contact region;
If the distance of described current contact coordinate contact coordinate previous with it is less than or equal to described distance threshold, then determines that described current contact coordinate is shaken, and abandon described current contact coordinate.
Wherein, determine that the step of a distance threshold comprises according to described current contact region:
Length breadth ratio according to described current contact region determines a distance threshold.
Wherein, determine that the step of a distance threshold comprises according to the length breadth ratio in described current contact region:
Determine length and the width in described current contact region;
If the described length in current contact region and the ratio of width are less than preset ratio, then determine the first distance threshold, otherwise determine second distance threshold value;
Wherein, described first distance threshold is less than described second distance threshold value.
Wherein, determine that the described length in current contact region and the step of width comprise:
The first length is determined according to described current contact region maximum point on the horizontal scale and smallest point;
The second length is determined according to described current contact region maximum point on the vertical scale and smallest point;
Length and the width in described current contact region is determined according to described first length and the second length.
In addition, embodiments of the invention also provide a kind of Key dithering device of touch-screen, comprising:
Acquisition module, the current contact coordinate that current contact region and described current contact region for obtaining touch-screen are corresponding;
Determination module, for determining a distance threshold according to described current contact region;
Processing module, if be less than or equal to described distance threshold for the distance of described current contact coordinate contact coordinate previous with it, then determine that described current contact coordinate is shaken, and abandons described current contact coordinate.
Wherein, described determination module specifically determines a distance threshold according to the length breadth ratio in described current contact region.
Wherein, described determination module comprises:
First determines submodule, for determining length and the width in described current contact region;
Second determines submodule, if be less than preset ratio for the described length in current contact region and the ratio of width, then determines the first distance threshold, otherwise determines second distance threshold value;
Wherein, described first distance threshold is less than described second distance threshold value.
Wherein, described first determines that submodule comprises:
First determining unit, for determining the first length according to described current contact region maximum point on the horizontal scale and smallest point;
Second determining unit, for determining the second length according to described current contact region maximum point on the vertical scale and smallest point;
3rd determining unit, for determining length and the width in described current contact region according to described first length and the second length.
In addition, embodiments of the invention also provide a kind of terminal, have touch-screen, comprise the Key dithering device as preceding claim.
The beneficial effect of technique scheme of the present invention is as follows:
The solution of the present invention can determine distance threshold according to contact region (namely finger contact is to the region of touch-screen), thus the touch-control situation different according to user can make different Key dithering effects.Particularly for there is larger shake scene, the solution of the present invention also can eliminate jitter phenomenon.
Accompanying drawing explanation
Fig. 1 is the step schematic diagram of the de-jittering method of touch-screen of the present invention;
Fig. 2 is a kind of operational scenarios of touch-screen;
Fig. 3 is the block diagram of the de-jittering method implementing touch-screen of the present invention;
Fig. 4 is the structural representation of the Key dithering device of touch-screen of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, the invention provides a kind of de-jittering method of touch-screen, comprising:
Step 11, obtains current contact coordinate corresponding to the current contact region of touch-screen and described current contact region;
Step 12, determines a distance threshold according to described current contact region;
Step 13, if the distance of described current contact coordinate contact coordinate previous with it is less than or equal to described distance threshold, then determines that described current contact coordinate is shaken, and abandons described current contact coordinate.
Can be known by foregoing description, de-jittering method of the present invention can determine distance threshold according to contact region (namely finger contact is to the region of touch-screen), thus the touch-control situation different according to user can make different Key dithering effects.Particularly for there is larger shake scene, method of the present invention also can eliminate jitter phenomenon.
Shown in Fig. 2 is a kind of common touch-control sight, and when user operates in the mode holding touch-screen, finger often needs enough to touch region far away, therefore larger jitter phenomenon can occur.Because prior art only uses the fixed range threshold value pre-set to judge whether current contact coordinate is shaken, therefore distance threshold can be relatively little, and cannot remove the jitter phenomenon shown in Fig. 2.For this reason, in step 12 of the present invention, the length breadth ratio according to described current contact region determines a distance threshold.That is, the situation of finger touch screen can be determined by length breadth ratio, thus determine the size of rational distance threshold.
Particularly, step 12 comprises:
Step 121, determines length and the width in described current contact region;
Step 122, if the described length in current contact region and the ratio of width are less than preset ratio, then determines the first distance threshold, otherwise determines second distance threshold value;
Wherein, described first distance threshold is less than described second distance threshold value.
Specific explanations is carried out to step 121 and step 122 below.
In normal operation, user's finger should be an isolated point to the contact region of touch-screen, the length of its contact region and the ratio of width relatively little (leveling off to 1), therefore arrange the first less distance threshold of numerical value owing to can not produce larger shake.And when user with finger reach on the touchscreen time after, finger is strip to the contact region of touch-screen, the length of its contact region and the ratio of width relatively large, the larger shake due to now bad student, therefore the second distance threshold value that numerical value is larger is set, thus adds the scope judging shake.
Particularly, in step 121, determine that the described length in current contact region and the step of width comprise:
Step 1211, determines the first length according to described current contact region maximum point on the horizontal scale and smallest point;
Step 1212, determines the second length according to described current contact region maximum point on the vertical scale and smallest point;
Step 1213, determines length and the width in described current contact region according to described first length and the second length.Namely when the first length is greater than the second length, then using the length of the first length as described current contact region, using the width of the second length as described current contact region.When the first length is less than the second length, then using the width of the first length as described current contact region, using the length of the second length as described current contact region.
Below enforcement de-jittering method of the present invention is described in detail.
Step S301, touch-screen power-up initializing enters normal mode of operation;
Step S302, when there being new contact coordinate to produce, being then assigned to last contact coordinate value contact coordinate value and preserving;
Step S303, detects whether current contact scope is strip; Then carry out step S305; No, then carry out step S304;
Step S304, determines the first distance threshold;
Step S305, the first distance threshold strengthens, and obtains second distance threshold value;
Step S306, judges whether the range difference of current contact coordinate figure and last contact coordinate value is greater than the first distance threshold or second distance threshold value; Then carry out step 308; No, then carry out step 307;
Step S307, reports current contact coordinate, and application software captures report point event, carries out subsequent treatment;
Step S308, abandons current contact coordinate.
Certainly, de-jittering method of the present invention also can be combined with existing de-jittering method, in above-mentioned steps, existingly determines that distance threshold is the first distance threshold of the present invention.In above-mentioned steps S303, when detecting that current contact scope is strip, step S305 can strengthen the first distance threshold, obtains second distance threshold value of the present invention.
In sum, de-jittering method of the present invention utilizes the finger touch figure detected to improve touch-screen stabilization effect, and then the touch improving user is experienced.
In addition, embodiments of the invention also provide a kind of Key dithering device of touch-screen, comprising:
Acquisition module, the current contact coordinate that current contact region and described current contact region for obtaining touch-screen are corresponding;
Determination module, for determining a distance threshold according to described current contact region;
Processing module, if be less than or equal to described distance threshold for the distance of described current contact coordinate contact coordinate previous with it, then determine that described current contact coordinate is shaken, and abandons described current contact coordinate.
Can be known by foregoing description, Key dithering device of the present invention can determine distance threshold according to contact region (namely finger contact is to the region of touch-screen), thus the touch-control situation different according to user can make different Key dithering effects.Particularly for there is larger shake scene, device of the present invention also can eliminate jitter phenomenon.
Particularly, described determination module specifically determines a distance threshold according to the length breadth ratio in described current contact region.
Wherein, on the basis of above-described embodiment, described determination module comprises:
First determines submodule, for determining length and the width in described current contact region;
Second determines submodule, if be less than preset ratio for the described length in current contact region and the ratio of width, then determines the first distance threshold, otherwise determines second distance threshold value;
Wherein, described first distance threshold is less than described second distance threshold value.
Particularly, described first determines that submodule comprises:
First determining unit, for determining the first length according to described current contact region maximum point on the horizontal scale and smallest point;
Second determining unit, for determining the second length according to described current contact region maximum point on the vertical scale and smallest point;
3rd determining unit, for determining length and the width in described current contact region according to described first length and the second length.
Obviously, the Key dithering device of the present embodiment is corresponding with de-jittering method of the present invention, the technique effect that the method can reach, and this device can reach equally.
In addition, embodiments of the invention also provide a kind of terminal, have touch-screen, comprise above-mentioned Key dithering device.Wherein, the present embodiment terminal can be the equipment such as mobile phone, pad, automobile middle control, and the touch figure detected can be utilized to improve touch-screen stabilization effect, and then the touch improving user is experienced.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (9)
1. a de-jittering method for touch-screen, is characterized in that, comprising:
Obtain current contact coordinate corresponding to the current contact region of touch-screen and described current contact region;
A distance threshold is determined according to described current contact region;
If the distance of described current contact coordinate contact coordinate previous with it is less than or equal to described distance threshold, then determines that described current contact coordinate is shaken, and abandon described current contact coordinate.
2. de-jittering method according to claim 1, is characterized in that, determines that the step of a distance threshold comprises according to described current contact region:
Length breadth ratio according to described current contact region determines a distance threshold.
3. de-jittering method according to claim 2, is characterized in that, determines that the step of a distance threshold comprises according to the length breadth ratio in described current contact region:
Determine length and the width in described current contact region;
If the described length in current contact region and the ratio of width are less than preset ratio, then determine the first distance threshold, otherwise determine second distance threshold value;
Wherein, described first distance threshold is less than described second distance threshold value.
4. de-jittering method according to claim 3, is characterized in that, determines that the described length in current contact region and the step of width comprise:
The first length is determined according to described current contact region maximum point on the horizontal scale and smallest point;
The second length is determined according to described current contact region maximum point on the vertical scale and smallest point;
Length and the width in described current contact region is determined according to described first length and the second length.
5. a Key dithering device for touch-screen, is characterized in that, comprising:
Acquisition module, the current contact coordinate that current contact region and described current contact region for obtaining touch-screen are corresponding;
Determination module, for determining a distance threshold according to described current contact region;
Processing module, if be less than or equal to described distance threshold for the distance of described current contact coordinate contact coordinate previous with it, then determine that described current contact coordinate is shaken, and abandons described current contact coordinate.
6. Key dithering device according to claim 5, is characterized in that, described determination module specifically determines a distance threshold according to the length breadth ratio in described current contact region.
7. Key dithering device according to claim 6, is characterized in that, described determination module comprises:
First determines submodule, for determining length and the width in described current contact region;
Second determines submodule, if be less than preset ratio for the described length in current contact region and the ratio of width, then determines the first distance threshold, otherwise determines second distance threshold value;
Wherein, described first distance threshold is less than described second distance threshold value.
8. Key dithering device according to claim 7, is characterized in that, described first determines that submodule comprises:
First determining unit, for determining the first length according to described current contact region maximum point on the horizontal scale and smallest point;
Second determining unit, for determining the second length according to described current contact region maximum point on the vertical scale and smallest point;
3rd determining unit, for determining length and the width in described current contact region according to described first length and the second length.
9. a terminal, has touch-screen, it is characterized in that, comprises the Key dithering device as described in any one of claim 5-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410271171.8A CN105320316B (en) | 2014-06-17 | 2014-06-17 | Method and device for removing jitter of touch screen and terminal |
PCT/CN2014/086247 WO2015192490A1 (en) | 2014-06-17 | 2014-09-10 | Method, device, and terminal for removing jittering on touchscreen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410271171.8A CN105320316B (en) | 2014-06-17 | 2014-06-17 | Method and device for removing jitter of touch screen and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105320316A true CN105320316A (en) | 2016-02-10 |
CN105320316B CN105320316B (en) | 2020-12-11 |
Family
ID=54934766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410271171.8A Active CN105320316B (en) | 2014-06-17 | 2014-06-17 | Method and device for removing jitter of touch screen and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105320316B (en) |
WO (1) | WO2015192490A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484181A (en) * | 2016-09-20 | 2017-03-08 | 青岛海信电器股份有限公司 | The touch-responsive method and device of infrared touch panel |
CN112965653A (en) * | 2019-12-13 | 2021-06-15 | 北京小米移动软件有限公司 | Touch position reporting method and device and electronic equipment |
WO2023045139A1 (en) * | 2021-09-27 | 2023-03-30 | 歌尔科技有限公司 | Force feedback control method and apparatus for trigger button, electronic product, and medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114237419B (en) * | 2021-03-31 | 2023-10-27 | 青岛海信商用显示股份有限公司 | Display device and touch event identification method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101963862A (en) * | 2010-09-26 | 2011-02-02 | 苏州瀚瑞微电子有限公司 | Coordinate anti-trembling method on touch screen |
US20110242032A1 (en) * | 2010-04-02 | 2011-10-06 | Samsung Electronics Co. Ltd. | Apparatus and method for touch input in portable terminal |
CN102331872A (en) * | 2011-05-30 | 2012-01-25 | 广州视睿电子科技有限公司 | Method and device for realizing mouse middle key effect on touch screen |
CN102736769A (en) * | 2011-03-31 | 2012-10-17 | 比亚迪股份有限公司 | Method and device for identifying multi-point zooming operation |
EP2523083A1 (en) * | 2011-05-13 | 2012-11-14 | Harman Becker Automotive Systems GmbH | System and method for operating a touchscreen and a processing unit |
CN103064548A (en) * | 2011-10-24 | 2013-04-24 | 联咏科技股份有限公司 | Gesture judgment method capable of filtering mistouched panel out |
CN103105963A (en) * | 2011-11-11 | 2013-05-15 | 义隆电子股份有限公司 | Touch control device and method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI484380B (en) * | 2009-07-31 | 2015-05-11 | Mstar Semiconductor Inc | Determinative method and device of touch point movement |
US20110074694A1 (en) * | 2009-09-25 | 2011-03-31 | Peter William Rapp | Device and Method for Jitter Reduction on Touch-Sensitive Surfaces and Displays |
CN101859219B (en) * | 2010-06-22 | 2012-08-22 | 北京握奇数据系统有限公司 | Method and device for debouncing of touch spot coordinates of touch screen |
US8810529B2 (en) * | 2011-02-11 | 2014-08-19 | Blackberry Limited | Electronic device and method of controlling same |
CN103412698B (en) * | 2013-07-30 | 2016-05-11 | 深圳市汇顶科技股份有限公司 | Touch panel coordinates de-jittering method, system and touch screen terminal |
CN103677416B (en) * | 2013-12-13 | 2016-09-07 | 广东欧珀移动通信有限公司 | A kind of sliding process prevents the method and apparatus that interface is shaken |
-
2014
- 2014-06-17 CN CN201410271171.8A patent/CN105320316B/en active Active
- 2014-09-10 WO PCT/CN2014/086247 patent/WO2015192490A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110242032A1 (en) * | 2010-04-02 | 2011-10-06 | Samsung Electronics Co. Ltd. | Apparatus and method for touch input in portable terminal |
CN101963862A (en) * | 2010-09-26 | 2011-02-02 | 苏州瀚瑞微电子有限公司 | Coordinate anti-trembling method on touch screen |
CN102736769A (en) * | 2011-03-31 | 2012-10-17 | 比亚迪股份有限公司 | Method and device for identifying multi-point zooming operation |
EP2523083A1 (en) * | 2011-05-13 | 2012-11-14 | Harman Becker Automotive Systems GmbH | System and method for operating a touchscreen and a processing unit |
CN102331872A (en) * | 2011-05-30 | 2012-01-25 | 广州视睿电子科技有限公司 | Method and device for realizing mouse middle key effect on touch screen |
CN103064548A (en) * | 2011-10-24 | 2013-04-24 | 联咏科技股份有限公司 | Gesture judgment method capable of filtering mistouched panel out |
CN103105963A (en) * | 2011-11-11 | 2013-05-15 | 义隆电子股份有限公司 | Touch control device and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484181A (en) * | 2016-09-20 | 2017-03-08 | 青岛海信电器股份有限公司 | The touch-responsive method and device of infrared touch panel |
CN112965653A (en) * | 2019-12-13 | 2021-06-15 | 北京小米移动软件有限公司 | Touch position reporting method and device and electronic equipment |
CN112965653B (en) * | 2019-12-13 | 2022-08-12 | 北京小米移动软件有限公司 | Touch position reporting method and device and electronic equipment |
WO2023045139A1 (en) * | 2021-09-27 | 2023-03-30 | 歌尔科技有限公司 | Force feedback control method and apparatus for trigger button, electronic product, and medium |
Also Published As
Publication number | Publication date |
---|---|
CN105320316B (en) | 2020-12-11 |
WO2015192490A1 (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775084B (en) | A kind of false-touch prevention method, device and mobile terminal of touch screen | |
CN103135818B (en) | Quick operation response method and electronic equipment | |
CN102736854B (en) | Communication terminal and the screen adjustment method based on this communication terminal | |
CN107957812B (en) | Touch device and touch device identification method | |
US9514311B2 (en) | System and method for unlocking screen | |
CN103699318A (en) | Touch response method and touch response device of electronic device | |
US20150242115A1 (en) | Systems and methods for improved signal to noise ratio in touch systems | |
US20160154526A1 (en) | Mis-touch Recognition Method and Device | |
CN104615303A (en) | Mistaken touch prevention method of mobile terminal and mobile terminal | |
CN103324325B (en) | The detection method of multi-point touch misoperation and terminal | |
CN105607853B (en) | A kind of information processing method and electronic equipment | |
CN106775087A (en) | A kind of touch-screen control method of mobile terminal, device and mobile terminal | |
CN105320316A (en) | Method and device for debouncing of touch screen and terminal | |
CN106708520A (en) | Touch screen control method and device of mobile terminal and mobile terminal | |
CN103809853A (en) | Information processing method and electronic device | |
CN105824465A (en) | Touch determination method and device, and display device | |
CN105204690A (en) | Method and device for starting up Android platform application | |
CN107040657B (en) | Method and device for preventing touch screen from being triggered mistakenly | |
CN103645835A (en) | Information processing method and electronic equipment | |
CN104641341A (en) | Identification circuit for power sourcing equipment, and powered device | |
JP5639487B2 (en) | Input device | |
CN106877854B (en) | Detection method and detection device for touch keys and electrical equipment | |
CN103543933A (en) | Method for selecting files and touch terminal | |
CN104423615B (en) | A kind of auxiliary input method, device and apply its electronic equipment | |
CN106909272B (en) | Display control method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |