CN104090681B - The method and system of touch-screen stabilization - Google Patents

The method and system of touch-screen stabilization Download PDF

Info

Publication number
CN104090681B
CN104090681B CN201410358060.0A CN201410358060A CN104090681B CN 104090681 B CN104090681 B CN 104090681B CN 201410358060 A CN201410358060 A CN 201410358060A CN 104090681 B CN104090681 B CN 104090681B
Authority
CN
China
Prior art keywords
point
touch
spacing
module
point set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410358060.0A
Other languages
Chinese (zh)
Other versions
CN104090681A (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.)
Shandong Qianshuda Medical Technology Co ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410358060.0A priority Critical patent/CN104090681B/en
Publication of CN104090681A publication Critical patent/CN104090681A/en
Application granted granted Critical
Publication of CN104090681B publication Critical patent/CN104090681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses the method and system of touch-screen stabilization, the point spacing between any two points is calculated according to the point coordinates of touch point, point is smaller than into default threshold value 2 points are placed on same point set, continuous touch point can be so placed in a point set, then the characteristic point of point set is obtained, the characteristic point of acquisition is reported into current application program, the characteristic point is the touch point minimum with the average value of the point spacing of other touch points in point set, reflect the touch operation of user, can effectively avoid the influence that maloperation is brought.

Description

The method and system of touch-screen stabilization
Technical field
The present invention relates to the method and system in touch-screen applications field, more particularly to touch-screen stabilization.
Background technology
At present, almost all of mobile terminal all wears touch-screen, and touch-screen can realize the direct control to display content, Inputted especially by touch-screen, button can be saved, make screen bigger.
However, developing rapidly with touch screen technology, touch-screen resolution ratio more and more higher, touch-screen is detected also increasingly It is sensitive;User can be caused because the reasons such as finger shake cause maloperation, to influence Consumer's Experience in use.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide the method and system of touch-screen stabilization, purport Judge touch operation characteristic point in offer, improve the precision of touch operation.
For up to above-mentioned purpose, the invention provides following technical scheme:
The method of touch-screen stabilization, comprises the following steps:
A, when detecting touch operation, obtain specify touched in the period point coordinates a little;
B, the point spacing according to any two touch point of point coordinates calculating, and two touches for being smaller than default threshold value will be put Point is placed in same point set;
C, the characteristic point for obtaining point set, the characteristic point are the average value minimum with the point spacing of other touch points in point set Touch point;
D, the characteristic point reported into current application program.
The method of described touch-screen stabilization, wherein, the specified period is 100 milliseconds.
The method of described touch-screen stabilization, wherein, the step B is specifically included:
B100, one point set of establishment, and a touch point is placed in point set;
B200, judge outside point set whether there is touch point, if so, perform step B300, if it is not, then terminating;
B300, the point spacing for calculating each touch point outside each touch point and point set in point set, and whether judge described spacing Less than default threshold value, if so, step 400 is then performed, if it is not, then performing step 100;
B400, the corresponding touch point of point spacing less than threshold value is placed in point set, and returns to B200.Described touch-screen The method of stabilization, wherein, the step C is specifically included:
Point spacing in C100, calculating point set between each touch point and other touch points, and each touch point calculated Point spacing average value;
C200, the point spacing average value of each touch point compared, obtain minimum point spacing average value, and obtain minimum Point spacing evaluation of estimate performs step C300 behind corresponding touch point;
The method of described touch-screen stabilization, wherein, also include after the step C200:
C300, determine whether that other point sets are present, if so, then performing step C100;If it is not, then terminating.
It is corresponding with the above method, present invention also offers the system of touch-screen stabilization, including:
Coordinate obtaining module, for when detecting touch operation, obtain specify touched in the period a little Point coordinates;
Touch point division module, for calculating the point spacing of any two touch point according to point coordinates, and point is smaller than Two touch points of default threshold value are placed in same point set;
Characteristic point acquisition module, the characteristic point for obtaining point set, the characteristic point be and other touch points in point set The touch point of the average value minimum of point spacing;
Reporting module, for the characteristic point to be reported into current application program.
The system of described touch-screen stabilization, wherein, the specified period is 100 milliseconds.
The system of described touch-screen stabilization, wherein, the touch point division module is specifically included:
Point set creation module, is placed in point set for creating a point set, and by a touch point;
Judge module, for judging to whether there is touch point outside point set, is calculated and judge module if so, then starting, if it is not, Then start-stop module, the termination module is used for terminator;
Calculate and judge module, for calculating the point spacing of each touch point and each touch point outside point set in point set, and judge Whether described spacing is less than default threshold value, if so, then starting division module, if it is not, then starting point set creation module;
Division module, for the corresponding touch point of point spacing less than threshold value to be placed in point set, and starts judge module.
The system of described touch-screen stabilization, wherein, the calculating and judge module are specifically included:
Average value acquisition module, for calculating the point spacing in point set between each touch point and other touch points, and is calculated The point spacing average value of each touch point gone out;
Average value comparison module, for the point spacing average value of each touch point to be compared, obtains minimum point spacing and is averaged Value, and obtain the corresponding touch point of point spacing evaluation of estimate of minimum.
The system of described touch-screen stabilization, wherein, in addition to:
Point set judge module, for determining whether that other point sets are present, if so, then starting average value acquisition module;If It is no, then terminate.
The method and system of touch-screen stabilization provided by the present invention, any two points are calculated according to the point coordinates of touch point Between point spacing, will put and be smaller than 2 points of default threshold value and be placed on same point set, so can be by continuous touch point It is placed in a point set, then obtains the characteristic point of point set, the characteristic point of acquisition is reported into current application program, the spy It is a little the touch point minimum with the average value of the point spacing of other touch points in point set to levy, and reflects the touch operation of user, can Effectively avoid the influence that maloperation is brought.
Brief description of the drawings
Fig. 1 is the method flow diagram of touch-screen stabilization of the present invention.
Fig. 2 is the system construction drawing of touch-screen stabilization of the present invention.
Fig. 3 is the refined flow chart of step 102.
Fig. 4 is the concrete structure diagram of touch point division module 202.
Embodiment
The invention provides the method and system of touch-screen stabilization, to make the purpose of the present invention, technical scheme and effect more Plus it is clear, clear and definite, referring to the drawings and give an actual example that the present invention is described in more detail.It should be appreciated that described herein Specific embodiment only to explain the present invention, is not intended to limit the present invention.
Fig. 1 is referred to, Fig. 1 is the method flow diagram of touch-screen stabilization of the present invention.As shown in figure 1, institute of the present invention The method for the touch-screen stabilization stated, including:
Step 101, when detecting touch operation, obtain specify touched in the period point coordinates a little. When detecting user to the touch operation of touch-screen, obtain specify touched in the period point coordinates a little, these points Coordinate had both included the point coordinates of the point of user's Active touch, also included the point coordinates that user is not intended to the point of touch, it is not intended to touch Touch the touch such as carried out due to shake.The specified period is 100 milliseconds.
Step 102, the point spacing according to any two touch point of point coordinates calculating, and point is smaller than default threshold value Two touch points are placed in same point set.The point spacing for calculating any two touch point according to point coordinates is to calculate each touch according to point coordinates The point spacing a little between other touch points is touched, two touch points that point is smaller than into default threshold value, which are placed in same point set, is A finger main points are smaller than default threshold value and just corresponding two touch point of the spacing are put into same point set, and point set is advance Create.The step 102, specifically refers to Fig. 3, and Fig. 3 is the refined flow chart of step 102.As shown in figure 3, the step 102 specifically include:
Step T10, one point set of establishment, and a touch point is placed in point set;
Step T20, judge outside point set whether there is touch point, if so, perform step T30, if it is not, then step T50 terminate;
Step T30, the point spacing for calculating each touch point outside each touch point and point set in point set, and judge that described spacing is It is no to be less than default threshold value, if so, step T40 is then performed, if it is not, then performing step T10;
Step T40, the corresponding touch point of point spacing less than threshold value is placed in point set, and returns to T20.
Step 102 specific steps as described above, create a point set first, any one touch point are placed in point set, root Strong point coordinate obtains the point and the point spacing of the outer touch point of point set, and the touch point that point is smaller than into default threshold value is placed in described Point set in, each point spacing touched with each touch point outside point set in point set is obtained again, point is smaller than default threshold value Touch point be placed in described point set,
In above-mentioned deterministic process, if in the absence of the touch point less than default threshold value, a point set is created again, And touch point is placed in the point set one by one by point set local official ... ... the like, untill touch point is not present outside point set.
Step 103, the characteristic point for obtaining point set, the characteristic point are to be averaged with the point spacing of other touch points in point set It is worth minimum touch point.The characteristic point for obtaining point set specifically includes three below step:
Point spacing in first step, calculating point set between each touch point and other touch points, and each touch calculated The point spacing average value of point;
Second step, the point spacing average value of each touch point compared, obtain minimum point spacing average value, and obtain most Third step is performed behind the small corresponding touch point of point spacing evaluation of estimate;
Third step, determine whether other point sets exist, if so, then performing first step;If it is not, then terminating.
In order that above three step is clearer, first it is exemplified below:
Feature point set C1Including 4 touch points:P1(550,515)、P2(550,516)、P3(572,536) 、P7(577, 527);If Q1=P1、Q2=P2、Q3=P3、Q4=P7
Step S202-1, setting variable a=d, b=d, k=0,(D=50 in the present embodiment), calculate Q1With Q2、Q3、Q4It Between distance be respectively:1、30.4、29.5;Arithmetic mean of instantaneous value is asked to be assigned to a, i.e. a=20.3 these distance values, because a is (now A=20.3) be less than b(Now b=50), therefore b=a is b=20.3, k=1;
Step S202-2, calculating Q2With Q1、Q3、Q4The distance between be respectively:1、29.7、29.2 ;By these distances Value asks arithmetic mean of instantaneous value to be assigned to a, i.e. a=20, because a (now a=20) is less than b(Now b=20.3), therefore b=a be b=20, k= 2;
Step S202-3, calculating Q3With Q1、Q2、Q4The distance between be respectively:30.4、29.7、10.3 ;By these away from Arithmetic mean of instantaneous value is asked to be assigned to a, i.e. a=23.5 from value, because a (now a=23.5) is more than b(Now b=20), therefore do not change b with K value, i.e. b=20, k=2;
Step S202-4, calculating Q4With Q1、Q2、Q3The distance between be respectively:29.5、29.2、10.3 ;By these away from Arithmetic mean of instantaneous value is asked to be assigned to a, i.e. a=23 from value, because a (now a=23) is more than b(Now b=20), therefore do not change b's and k Value, i.e. b=20, k=2;
Step S202-5, the characteristic point of this feature point set are QkThat is, Q2, i.e. P2(550,516) 。
The characteristic point of other point sets can be obtained according to above-mentioned same method.
Step 104, the characteristic point reported into current application program.I.e. the correspondence of current application program touch operation Program, current application program is reported by the characteristic point, and the current application program carries out phase according to the characteristic point information of reception The operation answered.
Fig. 2 is referred to, Fig. 2 is the system construction drawing of touch-screen stabilization of the present invention.As shown in Fig. 2 institute of the present invention The system for the touch-screen stabilization stated, including:
Coordinate obtaining module 201, the institute touched in the period is specified a little for when detecting touch operation, obtaining Point coordinates, as detailed above;
Touch point division module 202, the point spacing for calculating any two touch point according to point coordinates, and it is small to put spacing It is placed in two touch points of default threshold value in same point set, as detailed above;
Characteristic point acquisition module 203, the characteristic point for obtaining point set, the characteristic point be and other touch points in point set Point spacing the minimum touch point of average value, as detailed above;
Reporting module 204, for the characteristic point to be reported into current application program, as detailed above.
The system of described touch-screen stabilization, it is preferred that the specified period is 100 milliseconds, as detailed above.
The system of described touch-screen stabilization, it is preferred that the touch point division module is specifically included:
Point set creation module 401, is placed in point set, as detailed above for creating a point set, and by a touch point;
Judge module 403, for judging to whether there is touch point outside point set, is calculated and judge module if so, then starting 404, if it is not, then start-stop module 402, the termination module 402 is used for terminator, as detailed above;
Calculate and judge module 404, for calculating the point spacing of each touch point and each touch point outside point set in point set, and sentence Whether fixed described spacing is less than default threshold value, if so, then starting division module 405, if it is not, then starting point set creation module 401, as detailed above;
Division module 405, for the corresponding touch point of point spacing less than threshold value to be placed in point set, and starts judgement mould Block, as detailed above.
The system of described touch-screen stabilization, wherein, the calculating and judge module are specifically included:
Average value acquisition module, for calculating the point spacing in point set between each touch point and other touch points, and is calculated The point spacing average value of each touch point gone out, as detailed above;
Average value comparison module, for the point spacing average value of each touch point to be compared, obtains minimum point spacing and is averaged Value, and the corresponding touch point of point spacing evaluation of estimate of minimum is obtained, as detailed above.
The system of described touch-screen stabilization, wherein, in addition to:
Point set judge module, for determining whether that other point sets are present, if so, then starting average value acquisition module;If It is no, then terminate, as detailed above.
In summary, the method and system of touch-screen stabilization provided by the present invention, are calculated according to the point coordinates of touch point Go out the point spacing of any point-to-point transmission, point is smaller than into default threshold value 2 points are placed on same point set, will can so connect Continuous touch point is placed in a point set, then obtains the characteristic point of point set, the characteristic point of acquisition is reported into current application Program, the characteristic point is the touch point minimum with the average value of the point spacing of other touch points in point set, and reflection user's touches Operation is touched, the influence that maloperation is brought can be effectively avoided.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (2)

1. the method for touch-screen stabilization, it is characterised in that comprise the following steps:
A, when detecting touch operation, obtain specify touched in the period point coordinates a little;
B, the point spacing for calculating according to point coordinates any two touch point, and two touch points that are smaller than default threshold value will be put put In same point set;
C, the characteristic point for obtaining point set, the characteristic point are touched for the average value with the point spacing of other touch points in point set is minimum Touch a little;
D, the characteristic point reported into current application program;
The coordinate of the point had both included the point coordinates of the point of user's Active touch, and user due to the point seat of the point of shake touch Mark;
The specified period is 100 milliseconds;
The step B is specifically included:
B100, one point set of establishment, and a touch point is placed in point set;
B200, judge outside point set whether there is touch point, if so, perform step B300, if it is not, then terminating;
B300, the point spacing for calculating each touch point outside each touch point and point set in point set, and judge whether described spacing is less than Default threshold value, if so, step B 400 is then performed, if it is not, then performing step B 100;
B400, the corresponding touch point of point spacing less than threshold value is placed in point set, and returns to B200;
The step C is specifically included:
Point spacing in C100, calculating point set between each touch point and other touch points, and between the point of each touch point calculated Anomaly average;
C200, the point spacing average value of each touch point compared, obtain minimum point spacing average value, and obtained between the point of minimum Away from the corresponding touch point of evaluation of estimate;
Also include after the step C200:
C300, determine whether that other point sets are present, if so, then performing step C100;If it is not, then terminating.
2. the system of touch-screen stabilization, it is characterised in that including:
Coordinate obtaining module, for when detecting touch operation, obtains and specifies the point seat of the institute touched in the period a little Mark;
Touch point division module, for calculating the point spacing of any two touch point according to point coordinates, and point is smaller than presetting Two touch points of threshold value be placed in same point set;
Characteristic point acquisition module, the characteristic point for obtaining point set, the characteristic point is between the point of other touch points in point set Away from the minimum touch point of average value;
Reporting module, for the characteristic point to be reported into current application program;
The coordinate of the point had both included the point coordinates of the point of user's Active touch, and user due to the point seat of the point of shake touch Mark;
The specified period is 100 milliseconds;
The touch point division module is specifically included:
Point set creation module, is placed in point set for creating a point set, and by a touch point;
Judge module, for judging to whether there is touch point outside point set, is calculated and judge module if so, then starting, if it is not, then eventually Only;
Calculate and judge module, the point spacing for calculating each touch point and each touch point outside point set in point set, and judge described Whether point spacing is less than default threshold value, if so, then starting division module, if it is not, then starting point set creation module;
Division module, for the corresponding touch point of point spacing less than threshold value to be placed in point set, and starts judge module;
The calculating and judge module are specifically included:
Average value acquisition module, for calculating the point spacing in point set between each touch point and other touch points, and calculate The point spacing average value of each touch point;
Average value comparison module, for the point spacing average value of each touch point to be compared, obtains minimum point spacing average value, and Obtain the minimum corresponding touch point of point spacing evaluation of estimate;
Also include:
Point set judge module, for determining whether that other point sets are present, if so, then starting average value acquisition module;If it is not, then Terminate.
CN201410358060.0A 2014-07-25 2014-07-25 The method and system of touch-screen stabilization Active CN104090681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410358060.0A CN104090681B (en) 2014-07-25 2014-07-25 The method and system of touch-screen stabilization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410358060.0A CN104090681B (en) 2014-07-25 2014-07-25 The method and system of touch-screen stabilization

Publications (2)

Publication Number Publication Date
CN104090681A CN104090681A (en) 2014-10-08
CN104090681B true CN104090681B (en) 2017-10-24

Family

ID=51638401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410358060.0A Active CN104090681B (en) 2014-07-25 2014-07-25 The method and system of touch-screen stabilization

Country Status (1)

Country Link
CN (1) CN104090681B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094440B (en) * 2015-08-18 2018-10-26 惠州Tcl移动通信有限公司 A kind of touch screen anti-fluttering method, system and mobile terminal based on mobile terminal
CN106297049B (en) * 2016-07-29 2020-02-21 广州麦海企业管理有限公司 False touch prevention method based on contact number detection and intelligent express cabinet thereof
CN106547400B (en) * 2016-10-31 2020-04-10 Oppo广东移动通信有限公司 Method, device and terminal for reporting information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859219A (en) * 2010-06-22 2010-10-13 北京握奇数据系统有限公司 Method and device for debouncing of touch spot coordinates of touch screen
CN103186304A (en) * 2013-01-21 2013-07-03 敦泰科技有限公司 Single-layered self-capacitance touch screen for realizing multi-point touch identification and data processing method thereof
CN103605441A (en) * 2013-11-26 2014-02-26 厦门雅迅网络股份有限公司 Touch screen sampling optimization method based on dual circular domain
KR20140037666A (en) * 2012-09-19 2014-03-27 엘지디스플레이 주식회사 Touch sensing method and apparatus having jitter cancel function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859219A (en) * 2010-06-22 2010-10-13 北京握奇数据系统有限公司 Method and device for debouncing of touch spot coordinates of touch screen
KR20140037666A (en) * 2012-09-19 2014-03-27 엘지디스플레이 주식회사 Touch sensing method and apparatus having jitter cancel function
CN103186304A (en) * 2013-01-21 2013-07-03 敦泰科技有限公司 Single-layered self-capacitance touch screen for realizing multi-point touch identification and data processing method thereof
CN103605441A (en) * 2013-11-26 2014-02-26 厦门雅迅网络股份有限公司 Touch screen sampling optimization method based on dual circular domain

Also Published As

Publication number Publication date
CN104090681A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
JP6128363B2 (en) Data reporting method and apparatus, and terminal device
CN107466077B (en) Network switching method and mobile terminal
US10423322B2 (en) Method for viewing message and terminal
CN105511789B (en) A kind of icon processing method and terminal
WO2011079749A1 (en) Method for touch processing and mobile terminal
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
JP2014519666A (en) Mobile terminal and method for realizing cursor movement thereof
US9823773B2 (en) Handheld device and method for implementing input area position adjustment on handheld device
WO2013189227A1 (en) Method for reporting coordinate point of touch screen and mobile terminal
US10095277B2 (en) Electronic apparatus and display control method thereof
JP2015535639A5 (en)
CN104090681B (en) The method and system of touch-screen stabilization
CN103809853A (en) Information processing method and electronic device
TW201435710A (en) Electronic device capable of correcting touch position, touch position correcting system and method
CN105807965A (en) False trigger prevention method and apparatus
WO2016082668A1 (en) Method for automatically control screen rotation mode of mobile terminal based on taps of user
WO2015032245A1 (en) Method and device for managing progress indicator display
CN104182154A (en) Method and device for avoiding faulty operation of handheld touch screen and mobile equipment
CN104636068B (en) The operating method and touch control terminal of application icon
CN104063142B (en) Information processing method, device and electronic equipment
US20160313849A1 (en) Method for Controlling Display of Touchscreen, and Mobile Device
WO2014075540A1 (en) Touchscreen scroll control system and method
WO2015161775A1 (en) Gui display method and apparatus, and terminal device
US10908735B2 (en) Anti-interference method and apparatus for touch panel
WO2021092806A1 (en) Screen parameter adjustment method and apparatus, and terminal device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211202

Address after: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee after: Weihai Regional Innovation Center Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240509

Address after: 3-4/F, Building F3, National New Industrialization Industrial Base of Medical Instruments, Shanhai Road West, Chucun Town, Gaoqu District, Weihai City, Shandong Province 264200

Patentee after: Shandong qianshuda Medical Technology Co.,Ltd.

Country or region after: China

Address before: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee before: Weihai Regional Innovation Center Co.,Ltd.

Country or region before: China