WO2014169654A1 - 触摸屏触点处理方法、装置及终端 - Google Patents

触摸屏触点处理方法、装置及终端 Download PDF

Info

Publication number
WO2014169654A1
WO2014169654A1 PCT/CN2013/087621 CN2013087621W WO2014169654A1 WO 2014169654 A1 WO2014169654 A1 WO 2014169654A1 CN 2013087621 W CN2013087621 W CN 2013087621W WO 2014169654 A1 WO2014169654 A1 WO 2014169654A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
contacts
predetermined threshold
determining
touch screen
Prior art date
Application number
PCT/CN2013/087621
Other languages
English (en)
French (fr)
Inventor
郝志坚
车磊
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014169654A1 publication Critical patent/WO2014169654A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Definitions

  • the present invention relates to the field of communications, and in particular to a touch screen contact processing method, apparatus, and terminal.
  • a touch screen is a transparent medium attached to the surface of a display.
  • touch screens which are: resistive, surface capacitive and inductive capacitive, surface acoustic wave, infrared, and the like.
  • capacitive touch screen applications are widely used, mainly related to communications and consumer electronics, such as: smart phones, mobile phones, multimedia players, PAD and so on.
  • a capacitive touch screen judges a touch point by sensing a change in capacitance generated by a human touch.
  • the drive line and the sense line It has two sets of signal lines: the drive line and the sense line, the drive line emits a signal, and the sense line detects the change in capacitance value.
  • the finger touches the metal layer due to the presence of the human body electric field, the finger and the surface of the touch screen form a coupling capacitor.
  • the capacitor is a direct conductor, and the finger sucks a small current from the contact point. The coupling between the two electrodes near the touch point is affected, thereby changing the capacitance between the two electrodes.
  • the electrodes in the direction of the driving line sequentially emit excitation signals, and all the electrodes in the direction of the sensing line receive signals at the same time, so that the capacitance values of all the intersections of the lateral and longitudinal electrodes can be obtained, that is, the two-dimensional plane of the entire touch screen.
  • Capacitor size according to the two-dimensional capacitance change data of the touch screen, the coordinates of each touch point can be calculated, so even if there are multiple touch points on the screen, the true coordinates of each touch point can be calculated.
  • the charger liquid crystal display (LCD), etc.
  • the present invention provides a touch screen contact processing method, apparatus, and terminal, to at least solve the problem that the touch screen is susceptible to interference in the related art, the touch on the touch screen is easy to generate jitter, and there is a jump between the contact and the contact. The effect of the touch leads to a low user experience.
  • a touch screen contact processing method comprising: detecting a first contact on a touch screen; determining that an operation on the touch screen is sliding from the first contact to the second contact, Wherein the distance between the second contact and the first contact exceeds a first predetermined threshold; one or more of the first sliding path to the second contact The three contacts are reported, wherein a distance between the third contact and the first contact is less than the first predetermined threshold.
  • determining that the operation of the touch screen is sliding from the first contact to the second contact comprises: sequentially determining one or more contacts after the first contact and the first Whether the distance between the contacts exceeds the first predetermined threshold; when the result of the determination is no, the one or more contacts are sequentially saved until it is determined that the distance from the first contact exceeds Determining a first contact of a first predetermined threshold, determining that the first contact is the second contact, and determining that operation of the touch screen is from the first contact to the second contact slide.
  • reporting the one or more third contacts on the sliding path of the first contact to the second contact comprises: according to the first contact to the second contact a sliding path, the one or more third contacts being determined from the one or more contacts sequentially saved; the determined one or more third contacts are sequentially reported.
  • the method further includes: stopping the contact after the second contact with the first A determination as to whether the distance between the contacts exceeds the first predetermined threshold.
  • the method further comprises: sequentially saving one or more detected after the second contact a contact; determining whether the number of saved contacts reaches a predetermined number N; if the determination result is YES, determining whether the distance between the last one of the saved N contacts and the first contact is less than a predetermined threshold; if less than the second predetermined threshold, determining that the sliding to the saved Nth contact is stopped.
  • the method further includes: updating the saved N contacts, Wherein, the first contact of the saved N contacts is deleted, and then a contact generated after the Nth contact is added to form the updated N contacts; repeating the updated N touches Whether the distance between the Nth contact and the first contact in the point is less than a second predetermined threshold, until it is determined that the second predetermined threshold is smaller, it is determined that the sliding operation is stopped.
  • a touch screen contact processing apparatus comprising: a detecting module configured to detect a first contact on a touch screen; a determining module configured to determine an operation on the touch screen from the Sliding from a contact to a second contact, wherein a distance between the second contact and the first contact exceeds a first a predetermined threshold; the reporting module is configured to report one or more third contacts on a sliding path of the first contact to the second contact, wherein the third contact is The distance of the first contact is less than the first predetermined threshold.
  • the determining module comprises: a determining unit, configured to sequentially determine whether a distance between the one or more contacts behind the first contact and the first contact exceeds the first predetermined threshold a first determining unit, configured to sequentially save the one or more contacts when the result of the determination is negative until it is determined that the distance between the first contact and the first contact exceeds the first predetermined threshold And determining that the first contact is the second contact, and determining that operation of the touch screen is sliding from the first contact to the second contact.
  • the reporting module includes: a second determining unit, configured to determine, according to a sliding path of the first contact to the second contact, from the one or more contacts sequentially saved One or more third contacts; the reporting unit is configured to report the determined one or more third contacts in sequence.
  • the determining module further comprises: a stopping unit configured to stop determining whether a distance between the contact after the second contact and the first contact exceeds the first predetermined threshold.
  • the apparatus further comprises: a saving module configured to sequentially store one or more contacts detected after the second contact; the first determining module is configured to determine whether the number of saved contacts reaches a predetermined number a number N; a second determining module, configured to determine, when the determination result of the first determining module is YES, whether the distance between the last contact of the saved N contacts and the first contact is less than the second a predetermined threshold; the second determining module is configured to determine that the sliding to the saved Nth contact is stopped if the determination result of the second determining module is less than the second predetermined threshold.
  • the apparatus further comprises: an updating module, configured to update if it is determined whether the distance between the last one of the saved N contacts and the first contact is not less than the second predetermined threshold
  • the saved N contacts wherein the first contact of the saved N contacts is deleted, and a contact generated after the Nth contact is added to form the updated N contacts
  • a module configured to repeatedly determine whether a distance between the Nth contact and the first contact of the updated N contacts is less than a second predetermined threshold, until determining that the second predetermined threshold is less than the second predetermined threshold The operation stops.
  • a terminal is provided, comprising the apparatus of any of the above.
  • the first contact on the touch screen is detected; the operation of the touch screen is determined to be sliding from the first contact to the second contact, wherein the second contact and the first touch The distance between the points exceeds a first predetermined threshold; one or more third contacts located on the sliding path of the first contact to the second contact are reported, wherein the third contact a distance from the first contact is less than the first predetermined threshold, not only
  • the jitter point of the non-actual touch can be effectively filtered out, and when the second contact outside the anti-shake range is detected, the contact on the sliding track between the first contact and the second contact is sequentially reported, resulting in non-slip
  • the contacts on the track are no longer reported, achieving a smooth transition from the first contact to the second contact, effectively improving the user experience.
  • FIG. 2 is a block diagram showing a structure of a touch screen contact processing apparatus according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing a preferred configuration of the reporting module 26 in the touch screen contact processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing a preferred configuration of the determining module 24 in the touch screen contact processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a block diagram of a preferred structure of a touch screen contact processing apparatus according to an embodiment of the present invention
  • FIG. 7 is a block diagram of a preferred structure of a touch screen contact processing apparatus according to an embodiment of the present invention
  • FIG. 8 is a diagram of a terminal according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a touch screen terminal device according to a preferred embodiment of the present invention
  • FIG. 10 is a flow chart of a touch screen anti-shake and smooth transition method according to a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a touch screen contact processing method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps: Step S102, detecting a first contact on the touch screen; Step S104, determining that the operation on the touch screen is sliding from the first contact to the second contact, wherein a distance between the second contact and the first contact Exceeding the first predetermined threshold; step S106, reporting one or more third contacts on the sliding path of the first contact to the second contact, wherein the distance between the third contact and the first contact is less than The first predetermined threshold.
  • the anti-shake processing of the touch screen is performed by an anti-shake algorithm in which the distance between the contacts exceeds a predetermined threshold.
  • the touch screen is touched. The touch will be shaken, and the jump between the contact and the contact will affect the touch effect.
  • the above processing not only the jitter point of the non-actual touch can be effectively filtered out, but also when the second contact outside the anti-shake range is detected.
  • the operation of the touch screen can be performed by sliding from the first contact to the second contact.
  • the following simple processing manner can be adopted: sequentially determining one after the first contact Or whether the distance between the plurality of contacts and the first contact exceeds a first predetermined threshold; when the result of the determination is negative, one or more contacts are sequentially saved, that is, the one or more contacts are temporarily determined to be jitter Point, because the contacts produced on the sliding path between the first contact and the non-jitter point may be produced by a true slip.
  • the jitter points within the first predetermined threshold range are reserved, and the number of reservations may be predetermined to be M, and when M is exceeded, the new addition is performed, and the old removal is performed.
  • the first contact ie, the non-jitter point
  • determining that the first contact is the second contact determining that the operation on the touch screen is from Sliding of the first contact to the second contact.
  • the foregoing first predetermined threshold may be different according to actual conditions, for example, the actual situation includes the size of the touch screen, the sensitivity of the touch screen, and the like.
  • the following processing may be adopted when reporting one or more third contacts on the sliding path of the first contact to the second contact: according to the sliding path of the first contact to the second contact, sequentially saved One or more third contacts are determined among the one or more contacts, that is, the contacts on the sliding path of the first contact to the non-jitter point are retained; and the determined one or more third contacts are sequentially reported. That is, the non-jitter point coordinates are reported, and the contact coordinates of the remaining first contact to the non-jitter point sliding path are reported before the non-jitter point (ie, the second contact) coordinates are reported. This makes the sliding on the touch screen not appear as a sudden jump from one point to another, with a noticeable smooth transition.
  • the method further includes: stop A determination as to whether the distance between the contact after the second contact and the first contact exceeds a first predetermined threshold, that is, the anti-shake algorithm is turned off, reduces the application of the terminal, and effectively saves power consumption of the terminal.
  • the method further includes how to determine the end of the sliding operation, and the manner of determining may also be multiple.
  • one or more contacts detected after the second contact are sequentially stored; determining whether the number of saved contacts reaches a predetermined number N; and if the determination result is yes, determining the saved Whether the distance between the last one of the N contacts and the first contact is less than a second predetermined threshold; in the case of less than the second predetermined threshold, it is determined that the sliding to the saved Nth contact is stopped. And if it is determined whether the distance between the last one of the saved N contacts and the first contact is not less than a second predetermined threshold, the method further includes: updating the saved N contacts, where The first contact of the N contacts is deleted, and a contact generated after the Nth contact is added to form the updated N contacts; the first of the updated N contacts is repeatedly determined.
  • Whether the distance between the N contacts and the first contact is less than a second predetermined threshold until it is determined that the second predetermined threshold is less than the second predetermined threshold is determined to stop the sliding operation.
  • the anti-shake algorithm i.e., the above-described judgment processing
  • the effect is turned off when it is not needed, and is activated when necessary.
  • a touch screen contact processing device is also provided, which is used to implement the above embodiments and preferred embodiments, and has not been described again.
  • the term "module" may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 2 is a block diagram showing the structure of a touch screen contact processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a detecting module 22, a determining module 24, and a reporting module 26. The apparatus will be described below.
  • the detecting module 22 is configured to detect the first contact on the touch screen; the determining module 24 is connected to the detecting module 22, and is configured to determine that the operation of the touch screen is sliding from the first contact to the second contact, wherein The distance between the second contact and the first contact exceeds a first predetermined threshold; the reporting module 26 is coupled to the determining module 24, and is configured to be located on a sliding path of the first contact to the second contact Or a plurality of third contacts are reported, wherein a distance between the third contact and the first contact is less than a first predetermined threshold.
  • 3 is a block diagram of a preferred structure of the determining module 24 in the touch screen contact processing apparatus according to an embodiment of the present invention. As shown in FIG.
  • the determining module 24 includes a determining unit 32 and a first determining unit 34. Module 24 is described.
  • the determining unit 32 is configured to sequentially determine whether the distance between the one or more contacts and the first contact after the first contact exceeds a first predetermined threshold; the first determining unit 34 is connected to the determining unit 32, Set to When the result of the determination is no, one or more contacts are sequentially saved until it is determined that the first contact with the distance between the first contact and the first contact exceeds the first predetermined threshold, and the first contact is determined to be the second contact. And determining that the operation of the touch screen is a slip from the first contact to the second contact.
  • 4 is a block diagram showing a preferred structure of the reporting module 26 in the touch screen contact processing apparatus according to the embodiment of the present invention.
  • the reporting module 26 includes a second determining unit 42 and a reporting unit 44, and the reporting module is provided below. 26 for explanation.
  • the second determining unit 42 is configured to determine one or more third contacts from the one or more contacts sequentially saved according to the sliding path of the first contact to the second contact; the reporting unit 44 is connected to the above
  • the second determining unit 42 is configured to report the determined one or more third contacts in sequence.
  • FIG. 5 is a block diagram of a preferred structure of the determining module 24 in the touch screen contact processing apparatus according to the embodiment of the present invention. As shown in FIG. 5, the determining module 24 includes: a stop unit 52 in addition to the unit shown in FIG. The stop unit 52 will be described below.
  • the stop unit 52 is connected to the first determining unit 34 described above and is arranged to stop the determination as to whether the distance between the contact after the second contact and the first contact exceeds a first predetermined threshold.
  • 6 is a block diagram of a preferred structure of a touch screen contact processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes a saving module 62 and a first determining module 64, in addition to all the modules shown in FIG. The second determining module 66 and the second determining module 68 are described below.
  • the saving module 62 is connected to the reporting module 26, and is configured to sequentially store one or more contacts detected after the second contact; the first determining module 64 is connected to the saving module 62, and is configured to determine the saved touch.
  • the second determining module 66 is connected to the first determining module 64, and is configured to determine that the saved N contacts are in the case that the determining result of the first determining module 64 is YES. Whether the distance between the last contact and the first contact is less than a second predetermined threshold; the second determining module 68 is connected to the second determining module 66, and is set to be smaller than the judgment result of the second determining module 66. In the case of the second predetermined threshold, it is determined that the sliding to the saved Nth contact is stopped.
  • the second predetermined threshold it is determined that the sliding to the saved Nth contact is stopped.
  • the apparatus includes an update module 72 and a repeating module 74, in addition to all the modules included in FIG. This preferred structure will be described.
  • the updating module 72 is connected to the second judging module 66, and is configured to update when it is determined whether the distance between the last one of the saved N contacts and the first contact is not less than a second predetermined threshold.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 8, the terminal 80 includes the touch screen contact processing device 82 of any of the above.
  • FIG. 9 is a schematic structural diagram of a touch screen terminal device according to a preferred embodiment of the present invention.
  • the terminal device includes a touch screen.
  • the panel 92, the touch screen control module 94 and the host side processing module 96 are described below.
  • the touch screen control module 94 is connected to the touch screen panel 92, and the touch screen driver and various corresponding algorithms involved are implemented in the module, configured to control the scanning touch screen panel, convert the scanned analog data into a digital signal, and calculate the coordinates of the touch point. And notify the host to read the relevant data.
  • the algorithms involved in this patent are also implemented in the sub-module.
  • the host-side processing module 96 is connected to the touch screen control module 94, and is configured to acquire contact coordinates from the touch screen control module, and further process the data to achieve a certain functional effect.
  • the touch screen anti-shake and smooth transition method generally includes the following steps: Step S1, starting the anti-shake algorithm, setting the anti-shake threshold L1, the number of contacts to be saved M, obtaining the first contact coordinates and respectively Save as pre_x, pre_y. Step S2, continue to detect the coordinates of the next contact, and calculate the distance d between the point and the origin (pre_x, pre_y). If dl is within the threshold L1, it indicates that the point may be caused by jitter, and is temporarily regarded as an invalid point. Save, report the origin coordinates (pre_x, pre_y), and repeat step S2.
  • step S3 if the distance between the detected contact and the origin exceeds the threshold L1, it indicates that the point is non-jitter, and the effective point is the process from the finger to the sliding.
  • the saved points that are temporarily considered invalid are excluded, and the points from the origin to the effective point of the sliding path are reserved, and are reported in the order of the actual touch, and the valid touch point is reported after the report is completed. Coordinates, and turn off the anti-shake algorithm.
  • step S4 the next touch point is continuously detected, the coordinates of the point are saved in buf2, and the coordinates of the point are reported.
  • step S5 step S4 is repeated.
  • step S4 otherwise indicating that the user enters the stop from sliding, the anti-shake algorithm is started, and the process proceeds to step S1.
  • Step S1002 Start an anti-shake algorithm, and start when the finger is still touched for the first time or after sliding. Anti-shake algorithm.
  • step S1004 the coordinates of the first touch point are detected, and the x and y values of the coordinates are respectively assigned to the global variables 6_ and ⁇ _, and the coordinates of the touch point are reported. (pre_x, pre_y) will be used as the origin coordinates to determine whether the subsequent touch point is within the anti-shake range.
  • step S1006 the next touch point is continuously detected, and the distance d1 between the point and the origin (pre_x, pre_y) is calculated.
  • step S1008 it is determined whether the two-point distance d1 is within the range of the threshold L1. Compare the size of dl and L1. If dl ⁇ Ll, it indicates that the point is within the anti-shake range, otherwise it indicates that the point has exceeded the anti-shake range.
  • step S1010 if the contact is within the anti-shake range, the contact coordinates are saved to the bufl. If the number of saved in the bufl exceeds M, the new value is overwritten from the starting position of the bufl and saved.
  • step S1012 if the point is judged to be within the anti-shake range, it is temporarily determined as an invalid point, and the retained original contact coordinates (pre_x, pre_y) are reported, and step SI 006 is repeated.
  • step S1014 if the point has exceeded the anti-shake range, the points with large jitter in the buffer are filtered out, the coordinate of the contact point on the sliding path between the original point and the point is retained, and the report is reported in the order of actual touch. These points that are theoretically reported should be the points produced by the finger slip in the anti-shake range.
  • Step S1016 after reporting a part of the remaining anti-shake range, reporting the currently detected contact coordinates, that is, the first touch point outside the anti-shake range L1.
  • step S1018 the anti-shake algorithm is turned off. At this point, the finger has transitioned from a stationary state to a sliding state.
  • Step S1020 Continue to detect the next touch point, save the coordinates of the point to buf2, and report the coordinates of the point. At this time, the finger is in the process of sliding, and the purpose of saving the coordinates is to determine whether the finger is switched from sliding to stationary. Determine whether the number of coordinates saved to buf2 exceeds N. In step S1022, if the number of points stored in buf2 exceeds N, the distance d2 between the Nth point and the first point in buf2 is calculated. In step S1024, it is determined whether the distance d2 is within the range of the threshold L2. If d2>L2, it means that the finger is still in the sliding state, and step S1020 is repeated.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
  • a touch screen contact processing method, apparatus, and terminal provided by an embodiment of the present invention have the following beneficial effects: not only can effectively filter out jitter points of non-actual touch, but also detect an anti-shake range
  • the contacts on the sliding track between the first contact and the second contact are sequentially reported, and the contact on the non-sliding track generated is no longer reported, and the first contact to the second contact are realized. Smooth transitions that effectively improve the user experience.

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

本发明提供了一种触摸屏触点处理方法、装置及终端,该方法包括:采用检测到触摸屏上的第一触点;确定对触摸屏的操作为从第一触点至第二触点的滑动,其中,第二触点与第一触点之间的距离超过第一预定阈值;将位于第一触点到第二触点的滑动路径上的一个或多个第三触点进行上报,其中,第三触点与第一触点的距离小于第一预定阈值,通过本发明,不仅能够有效地过滤掉非实际触摸的抖动点,而且当检测到防抖范围外的第二触点时,依次上报第一触点和第二触点间滑动轨迹上的触点,产生的非滑动轨迹上的触点不再上报,实现从第一触点到第二触点的平滑过渡,有效地提高了用户体验。

Description

触摸屏触点处理方法、 装置及终端 技术领域 本发明涉及通信领域, 具体而言, 涉及一种触摸屏触点处理方法、 装置及终端。 背景技术 触摸屏是一种附加在显示器表面的透明介质, 目前主要有几种类型的触摸屏, 它 们分别是: 电阻式、 表面电容式和感应电容式、 表面声波式、 红外式等等。 其中, 电 容式触摸屏应用较为广泛, 主要涉及到通信和电子消费品, 如: 智能手机、移动电话、 多媒体播放器、 PAD等。 电容式触摸屏是通过感应人体触摸所产生的电容变化而判断 触摸点的。 它具有两组信号线: 驱动线与感应线, 驱动线发射信号, 感应线侦测电容 值的变化。 当手指触摸在金属层上时, 由于人体电场的存在, 手指和触摸屏表面形成 一个耦合电容, 对于高频电流来说, 电容是直接导体, 于是手指从接触点吸走一个很 小的电流。 影响了触摸点附近两个电极之间的耦合, 从而改变了这两个电极之间的电 容量。 检测互电容大小时, 驱动线方向的电极依次发出激励信号, 感应线方向的所有 电极同时接收信号, 这样可以得到所有横向和纵向电极交汇点的电容值的变化, 即整 个触摸屏的二维平面的电容大小, 根据触摸屏二维电容变化量数据, 可以计算出每一 个触摸点的坐标, 因此屏上即使有多个触摸点, 也能计算出每个触摸点的真实坐标。 近年来, 随着手持式触摸屏移动通讯终端技术的进步, 使用手持式触摸屏移动通 讯终端的用户日益增加。根据触摸屏的工作原理, 充电器、液晶显示器(Liquid Crystal Display, 简称为 LCD)等对其都会有一定的干扰, 另外, 低端的触摸屏本身的抗干扰 能力就较差, 从而造成触摸时较为抖动, 严重影响用户体验。 因此, 在相关技术中存在触摸屏易受干扰, 对触摸屏的触摸易产生抖动, 以及触 点与触点之间存在跳跃, 影响触摸的效果, 导致用户体验低的问题。 发明内容 本发明提供了一种触摸屏触点处理方法、 装置及终端, 以至少解决相关技术中存 在触摸屏易受干扰, 对触摸屏的触摸易产生抖动, 以及触点与触点之间存在跳跃, 影 响触摸的效果, 导致用户体验低的问题。 根据本发明的一方面, 提供了一种触摸屏触点处理方法, 包括: 检测到触摸屏上 的第一触点; 确定对触摸屏的操作为从所述第一触点至第二触点的滑动, 其中, 所述 第二触点与所述第一触点之间的距离超过第一预定阈值; 将位于所述第一触点到所述 第二触点的滑动路径上的一个或多个第三触点进行上报, 其中, 所述第三触点与所述 第一触点的距离小于所述第一预定阈值。 优选地,确定对所述触摸屏的操作为从所述第一触点至所述第二触点的滑动包括: 依次判断在所述第一触点之后的一个或多个触点与所述第一触点之间的距离是否超过 所述第一预定阈值; 在判断的结果为否时, 依次保存所述一个或多个触点, 直到判断 到与所述第一触点之间距离超过所述第一预定阈值的第一个触点, 确定所述第一个触 点为所述第二触点, 以及确定对触摸屏的操作为从所述第一触点到所述第二触点的滑 动。 优选地, 将位于所述第一触点到所述第二触点的滑动路径上的一个或多个第三触 点进行上报包括: 依据所述第一触点到所述第二触点的滑动路径, 从依次保存的所述 一个或多个触点中确定所述一个或多个第三触点; 将确定的所述一个或多个第三触点 依次进行上报。 优选地, 在确定对所述触摸屏的操作为从所述第一触点至所述第二触点的滑动之 后, 还包括: 停止对所述第二触点之后的触点与所述第一触点之间的距离是否超过所 述第一预定阈值进行的判断。 优选地, 在确定对所述触摸屏的操作为从所述第一触点至所述第二触点的滑动之 后, 还包括: 依次保存在所述第二触点之后检测到的一个或多个触点; 判断保存的触 点的数量是否达到预定数目 N; 在判断结果为是的情况下, 判断保存的 N个触点中的 最后一个触点与第一个触点间的距离是否小于第二预定阈值; 在小于所述第二预定阈 值的情况下, 确定所述滑动到保存的所述第 N个触点停止。 优选地, 在判断保存的 N个触点中的最后一个触点与第一个触点间的距离是否不 小于所述第二预定阈值的情况下, 还包括: 更新保存的 N个触点, 其中, 将保存的 N 个触点中的第一个触点删除, 增加接着在第 N个触点之后产生的一个触点, 组成更新 后的 N个触点; 重复判断更新后的 N个触点中的第 N个触点与第一个触点间的距离 是否小于第二预定阈值, 直到判断到小于所述第二预定阈值, 才确定滑动操作停止。 根据本发明的另一方面, 提供了一种触摸屏触点处理装置, 包括: 检测模块, 设 置为检测到触摸屏上的第一触点; 确定模块, 设置为确定对触摸屏的操作为从所述第 一触点至第二触点的滑动, 其中, 所述第二触点与所述第一触点之间的距离超过第一 预定阈值; 上报模块, 设置为将位于所述第一触点到所述第二触点的滑动路径上的一 个或多个第三触点进行上报, 其中, 所述第三触点与所述第一触点的距离小于所述第 一预定阈值。 优选地, 所述确定模块包括: 判断单元, 设置为依次判断在所述第一触点之后的 一个或多个触点与所述第一触点之间的距离是否超过所述第一预定阈值; 第一确定单 元, 设置为在判断的结果为否时, 依次保存所述一个或多个触点, 直到判断到与所述 第一触点之间距离超过所述第一预定阈值的第一个触点, 确定所述第一个触点为所述 第二触点, 以及确定对触摸屏的操作为从所述第一触点到所述第二触点的滑动。 优选地, 所述上报模块包括: 第二确定单元, 设置为依据所述第一触点到所述第 二触点的滑动路径, 从依次保存的所述一个或多个触点中确定所述一个或多个第三触 点; 上报单元, 设置为将确定的所述一个或多个第三触点依次进行上报。 优选地, 所述确定模块还包括: 停止单元, 设置为停止对所述第二触点之后的触 点与所述第一触点之间的距离是否超过所述第一预定阈值进行的判断。 优选地, 该装置还包括: 保存模块, 设置为依次保存在所述第二触点之后检测到 的一个或多个触点; 第一判断模块, 设置为判断保存的触点的数量是否达到预定数目 N; 第二判断模块, 设置为在第一判断模块的判断结果为是的情况下, 判断保存的 N 个触点中的最后一个触点与第一个触点间的距离是否小于第二预定阈值; 第二确定模 块, 设置为在所述第二判断模块的判断结果为在小于所述第二预定阈值的情况下, 确 定所述滑动到保存的所述第 N个触点停止。 优选地, 该装置还包括: 更新模块, 设置为在判断保存的 N个触点中的最后一个 触点与第一个触点间的距离是否不小于所述第二预定阈值的情况下, 更新保存的 N个 触点, 其中, 将保存的 N个触点中的第一个触点删除, 增加接着在第 N个触点之后产 生的一个触点, 组成更新后的 N个触点; 重复模块, 设置为重复判断更新后的 N个触 点中的第 N个触点与第一个触点间的距离是否小于第二预定阈值, 直到判断到小于所 述第二预定阈值, 才确定滑动操作停止。 根据本发明的还一方面, 提供了一种终端, 包括上述任一项所述的装置。 通过本发明, 采用检测到触摸屏上的第一触点; 确定对触摸屏的操作为从所述第 一触点至第二触点的滑动, 其中, 所述第二触点与所述第一触点之间的距离超过第一 预定阈值; 将位于所述第一触点到所述第二触点的滑动路径上的一个或多个第三触点 进行上报, 其中, 所述第三触点与所述第一触点的距离小于所述第一预定阈值, 不仅 能够有效地过滤掉非实际触摸的抖动点, 而且当检测到防抖范围外的第二触点时, 依 次上报第一触点和第二触点间滑动轨迹上的触点, 产生的非滑动轨迹上的触点不再上 报, 实现从第一触点到第二触点的平滑过渡, 有效地提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的触摸屏触点处理方法的流程图; 图 2是根据本发明实施例的触摸屏触点处理装置的结构框图; 图 3是根据本发明实施例的触摸屏触点处理装置中确定模块 24的优选结构框图
图 4是根据本发明实施例的触摸屏触点处理装置中上报模块 26的优选结构框图; 图 5是根据本发明实施例的触摸屏触点处理装置中确定模块 24的优选结构框图
图 6是根据本发明实施例的触摸屏触点处理装置的优选结构框图一; 图 7是根据本发明实施例的触摸屏触点处理装置的优选结构框图二; 图 8是根据本发明实施例的终端的结构示意图; 图 9是根据本发明优选实施方式的触摸屏终端设备的结构示意图; 图 10是根据本发明优选实施方式的触摸屏防抖及平滑过渡方法流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种触摸屏触点处理方法, 图 1是根据本发明实施例的触摸 屏触点处理方法的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 检测到触摸屏上的第一触点; 步骤 S104, 确定对触摸屏的操作为从第一触点至第二触点的滑动, 其中, 第二触 点与第一触点之间的距离超过第一预定阈值; 步骤 S106,将位于第一触点到第二触点的滑动路径上的一个或多个第三触点进行 上报, 其中, 第三触点与第一触点的距离小于第一预定阈值。 通过上述步骤, 通过触点之间的距离是否超过预定阈值的防抖算法对触摸屏进行 防抖处理,考虑到相关技术中类似充电器、液晶显示等终端应用对触摸屏触摸的干扰, 使对触摸屏的触摸会抖动, 以及触点与触点之间跳跃, 影响触摸的效果, 采用上述处 理, 不仅能够有效地过滤掉非实际触摸的抖动点, 而且当检测到防抖范围外的第二触 点时, 依次上报第一触点和第二触点间滑动轨迹上的触点, 产生的非滑动轨迹上的触 点不再上报, 实现从第一触点到第二触点的平滑过渡, 有效地提高了用户体验。 优选地, 确定对触摸屏的操作为从第一触点至第二触点的滑动时可以采用多种处 理方式, 例如, 可以采用以下较为简单的处理方式: 依次判断在第一触点之后的一个 或多个触点与第一触点之间的距离是否超过第一预定阈值; 在判断的结果为否时, 依 次保存一个或多个触点, 即暂时确定该一个或多个触点为抖动点, 因为在第一触点和 非抖动点之间滑动路径上产生的触点可能是真正滑动产生的。 对这些在第一预定阈值 范围内的抖动点进行保留, 保留的个数预定可以为 M, 在超过 M个时, 新的增加, 旧 的去除。 直到判断到与第一触点之间距离超过第一预定阈值的第一个触点 (即为非抖 动点),确定第一个触点为第二触点, 以及确定对触摸屏的操作为从第一触点到第二触 点的滑动。 需要说明的是, 上述第一预定阈值可以根据实际情况的不同而不同, 例如, 该实际情况包括触摸屏的大小, 以及触摸屏的灵敏度等。 将位于第一触点到第二触点的滑动路径上的一个或多个第三触点进行上报时可以 采用以下处理: 依据第一触点到第二触点的滑动路径, 从依次保存的一个或多个触点 中确定一个或多个第三触点, 即保留第一触点到非抖动点的滑动路径上的触点; 将确 定的一个或多个第三触点依次进行上报。 即上报非抖动点坐标, 并在该非抖动点 (即 第二触点) 坐标上报前, 上报保留的第一触点到非抖动点滑动路径上的触点坐标。 使 得在触摸屏上的滑动不表现为突然由一个点到另一个点的跳跃, 有一个明显的平滑过 渡。 为了时时降低终端的功耗, 即在不必要损耗的情况下, 尽量减少终端的应用, 例 如, 可以在确定对触摸屏的操作为从第一触点至第二触点的滑动之后, 还包括: 停止 对第二触点之后的触点与第一触点之间的距离是否超过第一预定阈值进行的判断, 即 关闭防抖算法, 减少了终端的应用, 有效地节省终端的功耗。 另外, 在确定对触摸屏的操作为从第一触点至第二触点的滑动之后, 还包括如何 确定该滑动操作的结束, 确定的方式也可以多种, 在此接续上述思路, 提供一种较为 简单的实现方式, 先依次保存在第二触点之后检测到的一个或多个触点; 判断保存的 触点的数量是否达到预定数目 N; 在判断结果为是的情况下, 判断保存的 N个触点中 的最后一个触点与第一个触点间的距离是否小于第二预定阈值; 在小于第二预定阈值 的情况下, 确定滑动到保存的第 N个触点停止。 而在判断保存的 N个触点中的最后一个触点与第一个触点间的距离是否不小于第 二预定阈值的情况下, 还包括: 更新保存的 N个触点, 其中, 将保存的 N个触点中的 第一个触点删除, 增加接着在第 N个触点之后产生的一个触点, 组成更新后的 N个触 点;重复判断更新后的 N个触点中的第 N个触点与第一个触点间的距离是否小于第二 预定阈值, 直到判断到小于第二预定阈值, 才确定滑动操作停止。在判断滑动停止后, 再次启动防抖算法 (即上述的判断处理), 起到不需要时关闭, 需要时启动的效果。 在本实施例中还提供了一种触摸屏触点处理装置, 该装置用于实现上述实施例及 优选实施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语"模块"可以实现 预定功能的软件和 /或硬件的组合。 尽管以下实施例所描述的装置较佳地以软件来实 现, 但是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。 图 2是根据本发明实施例的触摸屏触点处理装置的结构框图, 如图 2所示, 该装 置包括检测模块 22、 确定模块 24和上报模块 26, 下面对该装置进行说明。 检测模块 22, 设置为在检测到触摸屏上的第一触点; 确定模块 24, 连接至上述检 测模块 22, 设置为确定对触摸屏的操作为从第一触点至第二触点的滑动, 其中, 第二 触点与第一触点之间的距离超过第一预定阈值;上报模块 26,连接至上述确定模块 24, 设置为将位于第一触点到第二触点的滑动路径上的一个或多个第三触点进行上报, 其 中, 第三触点与第一触点的距离小于第一预定阈值。 图 3是根据本发明实施例的触摸屏触点处理装置中确定模块 24的优选结构框图 一, 如图 3所示, 该确定模块 24包括判断单元 32、 第一确定单元 34, 下面对该确定 模块 24进行说明。 判断单元 32, 设置为依次判断在第一触点之后的一个或多个触点与第一触点之间 的距离是否超过第一预定阈值; 第一确定单元 34, 连接至上述判断单元 32, 设置为在 判断的结果为否时, 依次保存一个或多个触点, 直到判断到与第一触点之间距离超过 第一预定阈值的第一个触点, 确定第一个触点为第二触点, 以及确定对触摸屏的操作 为从第一触点到第二触点的滑动。 图 4是根据本发明实施例的触摸屏触点处理装置中上报模块 26的优选结构框图, 如图 4所示, 该上报模块 26包括第二确定单元 42和上报单元 44, 下面对该上报模块 26进行说明。 第二确定单元 42, 设置为依据第一触点到第二触点的滑动路径, 从依次保存的一 个或多个触点中确定一个或多个第三触点;上报单元 44,连接至上述第二确定单元 42, 设置为将确定的一个或多个第三触点依次进行上报。 图 5是根据本发明实施例的触摸屏触点处理装置中确定模块 24的优选结构框图 二, 如图 5所示, 该确定模块 24除包括图 3所示的单元外, 还包括: 停止单元 52, 下面对该停止单元 52进行说明。 停止单元 52,连接至上述第一确定单元 34, 设置为停止对第二触点之后的触点与 第一触点之间的距离是否超过第一预定阈值进行的判断。 图 6是根据本发明实施例的触摸屏触点处理装置的优选结构框图一,如图 6所示, 该装置除包括图 2所示的所有模块外, 还包括保存模块 62、第一判断模块 64、第二判 断模块 66和第二确定模块 68, 下面对该装置进行说明。 保存模块 62,连接至上述上报模块 26, 设置为依次保存在第二触点之后检测到的 一个或多个触点; 第一判断模块 64, 连接至上述保存模块 62, 设置为判断保存的触点 的数量是否达到预定数目 N; 第二判断模块 66, 连接至上述第一判断模块 64, 设置为 在该第一判断模块 64的判断结果为是的情况下, 判断保存的 N个触点中的最后一个 触点与第一个触点间的距离是否小于第二预定阈值; 第二确定模块 68, 连接至上述第 二判断模块 66, 设置为在第二判断模块 66的判断结果为在小于第二预定阈值的情况 下, 确定滑动到保存的第 N个触点停止。 图 7是根据本发明实施例的触摸屏触点处理装置的优选结构框图二,如图 7所示, 该装置除包括图 6所包括所有模块外, 还包括更新模块 72和重复模块 74, 下面对该 优选结构进行说明。 更新模块 72, 连接至上述第二判断模块 66, 设置为在判断保存的 N个触点中的 最后一个触点与第一个触点间的距离是否不小于第二预定阈值的情况下, 更新保存的 N个触点, 其中, 将保存的 N个触点中的第一个触点删除, 增加接着在第 N个触点之 后产生的一个触点, 组成更新后的 N个触点; 重复模块 74, 连接至上述更新模块 72 和第二确定模块 68, 设置为重复判断更新后的 N个触点中的第 N个触点与第一个触 点间的距离是否小于第二预定阈值, 直到判断到小于第二预定阈值, 才确定滑动操作 停止。 在本实施例中, 还提供了一种终端, 图 8是根据本发明实施例的终端的结构示意 图, 如图 8所示, 该终端 80包括上述任一项的触摸屏触点处理装置 82。 针对相关技术中终端设备触摸屏抖动, 在本实施例中提供了一种触摸屏防抖及手 指从静止到滑动过程中平滑过渡的方法。 为实现上述防抖及滑动过程的平滑过渡, 该 方法通过以下几个架构来实现, 图 9是根据本发明优选实施方式的触摸屏终端设备的 结构示意图, 如图 9所示, 该终端设备包括触摸屏面板 92、 触摸屏控制模块 94和主 机端处理模块 96, 下面对该终端设备进行说明。 触摸屏面板 92: 该面板启动后可以对手指等导体产生感应。 触摸屏控制模块 94: 连接至上述触摸屏面板 92,触摸屏驱动及涉及的各种相应的 算法在模块实现, 设置为控制扫描触摸屏面板、将扫描到的模拟数据转换成数字信号、 计算触摸点的坐标, 并通知主机来读取相关数据。 本专利涉及的算法也在次模块中进 行实现。 主机端处理模块 96: 连接至上述触摸屏控制模块 94, 设置为从触摸屏控制模块获 取触点坐标, 并对该数据做进一步的处理, 以实现一定的功能效果。 基于上述模块, 触摸屏防抖及平滑过渡的方法, 大致包括如下步骤: 步骤 Sl, 启动防抖算法, 设置防抖的阈值 Ll, 需保存的触点个数 M, 获得首个 触点坐标并分别保存为 pre_x, pre_y。 步骤 S2, 继续侦测下一触点坐标, 并计算该点与原点 (pre_x, pre_y) 的间距 dl, 如果 dl在阈值 L1内, 说明该点有可能是抖动产生的, 暂视为无效点并保存, 上报原 点坐标 (pre_x, pre_y), 重复步骤 S2。 步骤 S3, 如果此次侦测到的触点与原点间距超过阈值 Ll, 说明该点是非抖动产 生的, 为有效点, 是手指从静止点击到滑动的过程。 首先将保存的暂视为无效的点中 抖动较大的点排除, 将原点至该有效点滑动路径内的点保留, 并按实际触摸的先后顺 序上报, 上报完后再上报这个有效的触摸点坐标, 并关闭防抖算法。 步骤 S4, 继续侦测下一触摸点, 将该点坐标保存到 buf2中, 并上报该点坐标。 步骤 S5, 重复步骤 S4, 如果保存在 buf2中的坐标个数超过 N个, 则计算保留的 第 N个触点和第一个触点间的间距是否在阈值 L2内, 如果不在则继续重复步骤 S4, 否则说明用户从滑动进入停止, 则启动防抖算法, 进入步骤 Sl。 通过上述实施例及优选实施方式, 不仅可以有效实现触摸屏防抖效果, 而且在手 指从静止到滑动过程中实现平滑的过渡, 没有跳点的感觉, 很好的提高了用户体验。 下面结合附图对本发明优选实施方式进行说明。 图 10是根据本发明优选实施方式的触摸屏防抖及平滑过渡方法流程图, 如图 10 所示, 该方法包括如下步骤: 步骤 S1002, 启动防抖算法, 首次触摸或滑动后手指静止时都会启动防抖算法。 步骤 S1004, 侦测首个触摸点坐标, 分别将该坐标的 x, y值分别赋值给全局变量 6_ 和 ^_ , 并上报该触摸点坐标。 (pre_x, pre_y)将作为原点坐标, 用于判断后续 触摸点是否在防抖范围内。 步骤 S1006, 继续侦测下一触摸点, 计算该点与原点 (pre_x, pre_y) 间的距离 dl。 步骤 S1008, 判断两点距离 dl是否在阈值 L1的范围内。 比较 dl和 L1的大小, 如果 dl<Ll, 说明该点在防抖范围内, 否则说明该点已超过防抖范围。 步骤 S1010, 如果该触点在防抖范围内, 则保存该触点坐标到 bufl中。 如果 bufl 中保存的个数超过 M个时, 从 bufl的起始位置依次让新值覆盖掉旧值进行保存。 步骤 S1012, 如果该点被判断在防抖范围内, 则暂时认定为无效点, 上报保留的 原触点坐标 (pre_x, pre_y ), 重复步骤 SI 006。 步骤 S1014, 如果该点已超过防抖范围, 则将 bufl中那些抖动较大的点过滤掉, 将原点至该点间滑动路径上的触点坐标保留, 并按实际触摸的先后顺序进行上报。 理 论上上报的这些点应该是在防抖范围内手指滑动产生的点。 步骤 S1016, 当上报完保留的防抖范围内的部分点后, 上报当前侦测到的触点坐 标, 即在防抖范围 L1外的第一个触摸点。 步骤 S1018, 关闭防抖算法。 此时手指已经从静止状态过渡到滑动状态。 步骤 S1020, 继续侦测下一触摸点, 将该点坐标保存到 buf2中, 并上报该点坐标。 此时手指处于滑动过程中, 保存坐标的目的是用于判断手指是否由滑动转换为静止状 态。 判断保存到 buf2的坐标个数是否超过 N个。 步骤 S1022, 如果 buf2中保存的点的个数超过 N个, 则计算 buf2中第 N个点与 第一个点之间的距离 d2。 步骤 S1024, 判断距离 d2是否在阈值 L2的范围内。 如果 d2>L2, 则说明手指仍 处于滑动状态, 重复步骤 S1020, 如果 d2<L2, 则说明手指从滑动状态转换到了静止 状态, 则重新启动防抖算法。 通过上述实施例及优选实施方式, 不仅可以起到很好的防抖效果, 而且在用户从 手指静止到滑动的过程中可以平滑的过渡, 给用户更流畅的感觉, 提高用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 如上所述, 本发明实施例提供的一种触摸屏触点处理方法、 装置及终端具有 以下有益效果: 不仅能够有效地过滤掉非实际触摸的抖动点, 而且当检测到防抖范 围外的第二触点时, 依次上报第一触点和第二触点间滑动轨迹上的触点, 产生的非 滑动轨迹上的触点不再上报, 实现从第一触点到第二触点的平滑过渡, 有效地提高 了用户体验。

Claims

权 利 要 求 书
1. 一种触摸屏触点处理方法, 包括:
检测到触摸屏上的第一触点;
确定对触摸屏的操作为从所述第一触点至第二触点的滑动, 其中, 所述第 二触点与所述第一触点之间的距离超过第一预定阈值;
将位于所述第一触点到所述第二触点的滑动路径上的一个或多个第三触点 进行上报,其中,所述第三触点与所述第一触点的距离小于所述第一预定阈值。
2. 根据权利要求 1所述的方法, 其中, 确定对所述触摸屏的操作为从所述第一触 点至第二触点的滑动包括:
依次判断在所述第一触点之后的一个或多个触点与所述第一触点之间的距 离是否超过所述第一预定阈值;
在判断的结果为否时, 保存所述一个或多个触点, 直到判断到与所述第一 触点之间距离超过所述第一预定阈值的第一个触点, 确定所述第一个触点为所 述第二触点, 以及确定对触摸屏的操作为从所述第一触点到所述第二触点的滑 动。
3. 根据权利要求 2所述的方法, 其中, 将位于所述第一触点到所述第二触点的滑 动路径上的一个或多个第三触点进行上报包括- 依据所述第一触点到所述第二触点的滑动路径, 从依次保存的所述一个或 多个触点中确定所述一个或多个第三触点;
将确定的所述一个或多个第三触点依次进行上报。
4. 根据权利要求 2所述的方法, 其中, 在确定对所述触摸屏的操作为从所述第一 触点至所述第二触点的滑动之后, 还包括:
停止对所述第二触点之后的触点与所述第一触点之间的距离是否超过所述 第一预定阈值进行的判断。
5. 根据权利要求 1所述的方法, 其中, 在确定对所述触摸屏的操作为从所述第一 触点至所述第二触点的滑动之后, 还包括:
依次保存在所述第二触点之后检测到的一个或多个触点; 判断保存的触点的数量是否达到预定数目 N;
在判断结果为是的情况下,判断保存的 N个触点中的最后一个触点与第一 个触点间的距离是否小于第二预定阈值;
在小于所述第二预定阈值的情况下,确定所述滑动到保存的第 N个触点停 止。
6. 根据权利要求 5所述的方法, 其中, 在判断保存的 N个触点中的最后一个触点 与第一个触点间的距离是否不小于所述第二预定阈值的情况下, 还包括:
更新保存的 N个触点, 其中, 将保存的 N个触点中的第一个触点删除, 增 加接着在第 N个触点之后产生的一个触点, 组成更新后的 N个触点;
重复判断更新后的 N个触点中的第 N个触点与第一个触点间的距离是否小 于第二预定阈值, 直到判断到小于所述第二预定阈值, 才确定所述滑动操作停 止。
7. 一种触摸屏触点处理装置, 包括:
检测模块, 设置为检测到触摸屏上的第一触点;
确定模块, 设置为确定对触摸屏的操作为从所述第一触点至第二触点的滑 动, 其中, 所述第二触点与所述第一触点之间的距离超过第一预定阈值;
上报模块, 设置为将位于所述第一触点到所述第二触点的滑动路径上的一 个或多个第三触点进行上报, 其中, 所述第三触点与所述第一触点的距离小于 所述第一预定阈值。
8. 根据权利要求 7所述的装置, 其中, 所述确定模块包括:
判断单元, 设置为依次判断在所述第一触点之后的一个或多个触点与所述 第一触点之间的距离是否超过所述第一预定阈值;
第一确定单元, 设置为在判断的结果为否时, 依次保存所述一个或多个触 点,直到判断到与所述第一触点之间距离超过所述第一预定阈值的第一个触点, 确定所述第一个触点为所述第二触点, 以及确定对触摸屏的操作为从所述第一 触点到所述第二触点的滑动。
9. 根据权利要求 8所述的装置, 其中, 所述上报模块包括: 第二确定单元, 设置为依据所述第一触点到所述第二触点的滑动路径, 从 依次保存的所述一个或多个触点中确定所述一个或多个第三触点; 上报单元, 设置为将确定的所述一个或多个第三触点依次进行上报。
10. 根据权利要求 8所述的装置, 其中, 所述确定模块还包括:
停止单元, 设置为停止对所述第二触点之后的触点与所述第一触点之间的 距离是否超过所述第一预定阈值进行的判断。
11. 根据权利要求 7所述的装置, 其中, 还包括: 保存模块,设置为依次保存在所述第二触点之后检测到的一个或多个触点; 第一判断模块, 设置为判断保存的触点的数量是否达到预定数目 N;
第二判断模块, 设置为在第一判断模块的判断结果为是的情况下, 判断保 存的 N 个触点中的最后一个触点与第一个触点间的距离是否小于第二预定阈 值;
第二确定模块, 设置为在所述第二判断模块的判断结果为小于所述第二预 定阈值的情况下, 确定所述滑动到保存的所述第 N个触点停止。
12. 根据权利要求 11所述的装置, 其中, 还包括:
更新模块, 设置为在判断保存的 N个触点中的最后一个触点与第一个触点 间的距离是否不小于所述第二预定阈值的情况下,更新保存的 N个触点,其中, 将保存的 N个触点中的第一个触点删除,增加接着在第 N个触点之后产生的一 个触点, 组成更新后的 N个触点;
重复模块,设置为重复判断更新后的 N个触点中的第 N个触点与第一个触 点间的距离是否小于第二预定阈值, 直到判断到小于所述第二预定阈值, 才确 定滑动操作停止。
13. 一种终端, 包括权利要求 7至 12中任一项所述的装置。
PCT/CN2013/087621 2013-09-29 2013-11-21 触摸屏触点处理方法、装置及终端 WO2014169654A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310456014 2013-09-29
CN201310456014.X 2013-09-29

Publications (1)

Publication Number Publication Date
WO2014169654A1 true WO2014169654A1 (zh) 2014-10-23

Family

ID=51730770

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2013/087621 WO2014169654A1 (zh) 2013-09-29 2013-11-21 触摸屏触点处理方法、装置及终端
PCT/CN2014/084566 WO2015154362A1 (zh) 2013-09-29 2014-08-15 触摸屏触点处理方法、装置及终端

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084566 WO2015154362A1 (zh) 2013-09-29 2014-08-15 触摸屏触点处理方法、装置及终端

Country Status (3)

Country Link
KR (1) KR20170028957A (zh)
CN (2) CN104516578B (zh)
WO (2) WO2014169654A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183341B (zh) * 2015-08-07 2018-12-18 广州汽车集团股份有限公司 触摸屏的笔迹校正方法和***
CN106484181A (zh) * 2016-09-20 2017-03-08 青岛海信电器股份有限公司 红外触摸屏的触摸响应方法及装置
CN106547400B (zh) * 2016-10-31 2020-04-10 Oppo广东移动通信有限公司 上报信息的方法、装置及终端
CN108287621B (zh) * 2017-01-10 2021-01-29 南宁富桂精密工业有限公司 触摸屏校准方法及***
US10444899B2 (en) * 2017-01-23 2019-10-15 Stmicroelectronics Asia Pacific Pte Ltd Multiple threshold motion tolerance to filter coordinate jitter in touch sensing
CN109614015B (zh) * 2018-12-27 2022-03-01 北京集创北方科技股份有限公司 触控方法及触控装置
CN113360015A (zh) * 2020-03-06 2021-09-07 北京小米移动软件有限公司 鬼点检测方法及装置、存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201006417A (en) * 2008-08-08 2010-02-16 Hon Hai Prec Ind Co Ltd Method of transforming media on digital photo frame
US20130014057A1 (en) * 2011-07-07 2013-01-10 Thermal Matrix USA, Inc. Composite control for a graphical user interface
CN103279295A (zh) * 2013-05-03 2013-09-04 广东欧珀移动通信有限公司 一种终端桌面图标切换方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8334849B2 (en) * 2009-08-25 2012-12-18 Pixart Imaging Inc. Firmware methods and devices for a mutual capacitance touch sensing device
CN101807130B (zh) * 2010-05-17 2012-03-28 友达光电股份有限公司 触控位置修正方法
CN101859219B (zh) * 2010-06-22 2012-08-22 北京握奇数据***有限公司 触摸屏触点坐标去抖动的方法及装置
CN101963862A (zh) * 2010-09-26 2011-02-02 苏州瀚瑞微电子有限公司 触摸屏上坐标防抖的方法
CN103631441B (zh) * 2013-12-03 2016-08-17 福建联迪商用设备有限公司 电子签字设备上触摸屏防干扰的方法及装置
CN103677416B (zh) * 2013-12-13 2016-09-07 广东欧珀移动通信有限公司 一种滑动过程中防止界面抖动的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201006417A (en) * 2008-08-08 2010-02-16 Hon Hai Prec Ind Co Ltd Method of transforming media on digital photo frame
US20130014057A1 (en) * 2011-07-07 2013-01-10 Thermal Matrix USA, Inc. Composite control for a graphical user interface
CN103279295A (zh) * 2013-05-03 2013-09-04 广东欧珀移动通信有限公司 一种终端桌面图标切换方法及装置

Also Published As

Publication number Publication date
KR20170028957A (ko) 2017-03-14
CN104516601A (zh) 2015-04-15
CN104516578A (zh) 2015-04-15
WO2015154362A1 (zh) 2015-10-15
CN104516578B (zh) 2019-04-23

Similar Documents

Publication Publication Date Title
WO2014169654A1 (zh) 触摸屏触点处理方法、装置及终端
CN102023772B (zh) 电容式触摸屏信号处理方法及装置
US10747357B2 (en) Coordinate measuring apparatus for measuring input position of a touch and a coordinate indicating apparatus and driving method thereof
US9910541B2 (en) Mis-touch recognition method and device
KR102209910B1 (ko) 위치 표시 장치의 입력 위치를 측정하는 위치 측정 장치 및 그 제어 방법
JP2012034157A (ja) 通信装置並びに通信システム
WO2015067016A1 (zh) 一种采用耳机线对终端进行控制的方法、装置和设备
WO2014067421A1 (zh) 选择文件的方法和终端
KR101895883B1 (ko) 터치스크린패널의 터치 감도 개선 방법 및 장치
JP2013069270A (ja) デュアルモードタブレットとその信号検出方法及び切換方法
CN107092369A (zh) 有线触控笔、触控电子装置、触控电子***与触控处理方法
CN103116417A (zh) 一种触摸条及移动终端装置
WO2014180444A1 (zh) 灵敏度调整的方法及装置
WO2018081939A1 (zh) 一种确定触控笔目标工作频率的方法以及触控屏、触控笔
WO2015043188A1 (zh) 一种用于耳机插头的连接部件、耳机插孔及终端
CN111078108A (zh) 一种屏幕显示方法、装置、存储介质及移动终端
WO2015032245A1 (en) Method and device for managing progress indicator display
CN104252254A (zh) 触碰输入来源的选择方法与电子装置
WO2018157348A1 (zh) 触控检测误报点的确定方法、电容触控装置及电子装置
CN202019377U (zh) 一种带触摸条的手机
EP3165999A1 (en) Touch screen contact processing method and device, and terminal
CN103106021B (zh) 手持装置及其控制方法
CN108027682B (zh) 坐标测量装置及其控制方法
JP6096293B2 (ja) タッチパネルシステム、電子機器
WO2014183559A1 (zh) 一种触摸屏及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13882132

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13882132

Country of ref document: EP

Kind code of ref document: A1