CN103761004A - 一种改善触控屏触控灵敏度的方法、触控屏及触控终端 - Google Patents
一种改善触控屏触控灵敏度的方法、触控屏及触控终端 Download PDFInfo
- Publication number
- CN103761004A CN103761004A CN201410010482.9A CN201410010482A CN103761004A CN 103761004 A CN103761004 A CN 103761004A CN 201410010482 A CN201410010482 A CN 201410010482A CN 103761004 A CN103761004 A CN 103761004A
- Authority
- CN
- China
- Prior art keywords
- touch
- buffer queue
- touch event
- event
- speed
- 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
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000035945 sensitivity Effects 0.000 title claims abstract description 16
- 230000007423 decrease Effects 0.000 claims description 4
- 230000003139 buffering effect Effects 0.000 abstract 5
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 230000001934 delay Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种改善触控屏触控灵敏度的方法,所述方法包括:S1、在touch事件接收与touch事件派发之间增加一缓冲队列,S2、在所述缓冲队列的入口端处与出口端处各增加一事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况;S3、若检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则降低触控屏的报点率;若检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。将本发明的方法应用于触控屏中,可有效改善触控屏的灵敏度,解决在对触控屏进行较长时间的滑动操作后,触控屏对滑动操作有明显延迟处理的问题。
Description
技术领域
本发明涉及触控屏领域,特别涉及一种改善触控屏触控灵敏度的方法、触控屏及触控终端。
背景技术
目前,Android(安卓)系统在处理事件派发时,是队列式先派发先处理,处理完一个再接着处理下一个。现有采用Android系统的触控终端,如智能手机,在长时间处理大量touch事件时,当有一个事件处理有延迟时,下一个事件就明显延迟,如此积累下去造成的延迟就非常明显了。例如在玩需要在触控屏上进行较长时间的滑动操作的游戏时,一旦滑动操作的时间长了,触控屏的灵敏度会明显降低,即在游戏过程中触控屏对滑动操作有明显延迟处理的现象。
发明内容
基于此,有必要针对现有触控终端在对触控屏较长时间的滑动操作后,触控屏的灵敏度会降低的问题,提供一种改善触控屏触控灵敏度的方法、触控屏及触控终端。
一种改善触控屏触控灵敏度的方法,应用于具有触控屏的触控终端中,所述方法包括:
S1、在touch事件接收与touch事件派发之间增加一缓冲队列,所述缓冲队列的入口端用于touch事件接收,所述缓冲队列的出口端用于touch事件派发;
S2、在所述缓冲队列的入口端处与出口端处各增加一事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况;
S3、若检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则降低触控屏的报点率;若检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。
具体地,所述步骤S3包括:
S31、比较所述缓冲队列内列接收touch事件的速率与派发touch事件的速率;
S32、若所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则驱动层上报touch事件速率下降,降低触控屏的报点率;若所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则驱动层上报touch事件速率上升,提高触控屏的报点率。
优选地,所述缓冲队列的touch事件派发原则为先入者先出;所述触控终端采用安卓系统。
本发明还提供了基于上述发明构思的触控屏,所述触控屏包括:
缓冲队列,缓冲队列的入口端用于touch事件接收,缓冲队列的出口端用于touch事件派发;优选地,所述缓冲队列的touch事件派发原则为先入者先出;
事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况,设置于所述缓冲队列的入口端处与出口端处;
处理模块,用于当事件流量监控器检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率时,则降低触控屏的报点率;当事件流量监控器检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。
本发明还提供了一种触控终端,所述触控终端包括有如上所述的触控屏;较佳地,所述触控终端采用安卓系统。
现有触控终端在对触控屏进行较长时间的滑动操作后,触控屏对滑动操作有明显延迟处理的现象,即触控屏的灵敏度会明显降低;而本发明通过在触控屏内增加缓冲队列以及事件流量监控器,根据接收touch事件的速率与派发touch事件的速率关系来降低或提高触控屏的报点率,从而可大大改善触控屏的灵敏度,可解决在对触控屏进行较长时间的滑动操作后,触控屏对滑动操作有明显延迟处理的问题。
附图说明
附图1为本发明的方法流程示意图;
附图2为本发明实施例中触控屏的信号流向示意简图。
具体实施方式
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述。
如附图1所示,一种改善触控屏触控灵敏度的方法,应用于具有触控屏的触控终端中,所述方法包括:
S1、在touch事件接收与touch事件派发之间增加一缓冲队列,所述缓冲队列的入口端用于touch事件接收,所述缓冲队列的出口端用于touch事件派发;
S2、在所述缓冲队列的入口端处与出口端处各增加一事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况;
S3、若检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则降低触控屏的报点率;若检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。
其中,所述步骤S3具体包括:
S31、比较所述缓冲队列内列接收touch事件的速率与派发touch事件的速率;
S32、若所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则驱动层上报touch事件速率下降,降低触控屏的报点率;若所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则驱动层上报touch事件速率上升,提高触控屏的报点率。
在本实施例中,所述缓冲队列的touch事件派发原则为先入者先出;所述触控终端优选为采用安卓系统的智能手机。通过上述方法,可有效改善触控屏的灵敏度。
基于上述发明构思,本发明还提供了一种触控屏,所述触控屏包括:
缓冲队列,缓冲队列的入口端用于touch事件接收,缓冲队列的出口端用于touch事件派发;优选地,所述缓冲队列的touch事件派发原则为先入者先出;
事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况,设置于所述缓冲队列的入口端处与出口端处;
处理模块,用于当事件流量监控器检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率时,则降低触控屏的报点率;当事件流量监控器检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。
如附图2所示,为本实施例中触控屏的信号流向示意图。通过在触控屏内touch事件接收与touch事件派发之间增加一缓冲队列,并在缓冲队列的入口端处与出口端处各增加一事件流量监控器,事件流量监控器每间隔一定的时间便去检测缓冲队列touch事件的出入情况,并比较缓冲队列内接收touch事件的速率与派发touch事件的速率大小,若所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则驱动层上报touch事件速率下降,降低触控屏的报点率;若所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则驱动层上报touch事件速率上升,提高触控屏的报点率。
将以上所述的触控屏应用于触控终端时,如应用于采用安卓系统的智能手机中,便可有效解决当长时间对触控屏进行滑动操作后,触控屏对滑动操作出现明显延迟处理,触控屏的灵敏度会明显降低的问题。通过将上述触控屏应用于智能手机中,可有效改善触控屏的灵敏度,提升用户的触控操作体验。当然,上述的触控屏还可应用到更多的终端设备中,这里不再一一举例说明。
上述实施例中提到的内容为本发明较佳的实施方式,并非是对本发明的限定,在不脱离本发明构思的前提下,任何显而易见的替换均在本发明的保护范围之内。
Claims (8)
1. 一种改善触控屏触控灵敏度的方法,应用于具有触控屏的触控终端中,所述方法包括:
S1、在touch事件接收与touch事件派发之间增加一缓冲队列,所述缓冲队列的入口端用于touch事件接收,所述缓冲队列的出口端用于touch事件派发;
S2、在所述缓冲队列的入口端处与出口端处各增加一事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况;
S3、若检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则降低触控屏的报点率;若检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。
2. 根据权利要求1所述的方法,其特征在于:所述缓冲队列的touch事件派发原则为先入者先出。
3. 根据权利要求1或2所述的方法,其特征在于,所述步骤S3具体包括:
S31、比较所述缓冲队列内列接收touch事件的速率与派发touch事件的速率;
S32、若所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率,则驱动层上报touch事件速率下降,降低触控屏的报点率;若所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则驱动层上报touch事件速率上升,提高触控屏的报点率。
4. 根据权利要求1或2所述的方法,其特征在于:所述触控终端采用安卓系统。
5. 一种触控屏,其特征在于,包括:
缓冲队列,缓冲队列的入口端用于touch事件接收,缓冲队列的出口端用于touch事件派发;
事件流量监控器,用于每间隔一定时间检测所述缓冲队列内touch事件出入的情况,设置于所述缓冲队列的入口端处与出口端处;
处理模块,用于当事件流量监控器检测到所述缓冲队列接收touch事件的速率大于或等于派发touch事件的速率时,则降低触控屏的报点率;当事件流量监控器检测到所述缓冲队列接收touch事件的速率小于派发touch事件的速率,则提高触控屏的报点率。
6. 根据权利要求5所述的触控屏,其特征在于:所述缓冲队列的touch事件派发原则为先入者先出。
7. 一种触控终端,其特征在于,所述触控终端包括有如权利要求5或6所述的触控屏。
8. 根据权利要求7所述的触控终端,其特征在于:所述触控终端采用安卓系统。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410010482.9A CN103761004B (zh) | 2014-01-10 | 2014-01-10 | 一种改善触控屏触控灵敏度的方法、触控屏及触控终端 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410010482.9A CN103761004B (zh) | 2014-01-10 | 2014-01-10 | 一种改善触控屏触控灵敏度的方法、触控屏及触控终端 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103761004A true CN103761004A (zh) | 2014-04-30 |
CN103761004B CN103761004B (zh) | 2016-10-05 |
Family
ID=50528253
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410010482.9A Expired - Fee Related CN103761004B (zh) | 2014-01-10 | 2014-01-10 | 一种改善触控屏触控灵敏度的方法、触控屏及触控终端 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103761004B (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991673A (zh) * | 2015-07-10 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | 一种触摸屏上报数据速率自匹配方法及系统 |
CN107562260A (zh) * | 2017-08-04 | 2018-01-09 | 中兴通讯股份有限公司 | 一种触摸控制的方法及装置 |
CN109117019A (zh) * | 2018-07-13 | 2019-01-01 | 青岛罗博数码科技有限公司 | 可变报点率手写板及其报点率调节方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1811679A (zh) * | 2005-01-24 | 2006-08-02 | 乐金电子(惠州)有限公司 | 触控屏幕的触摸响应速度控制方法 |
CN102004578A (zh) * | 2010-11-04 | 2011-04-06 | 中兴通讯股份有限公司 | 一种识别触摸屏不规则点的方法及装置 |
CN102789336A (zh) * | 2012-07-04 | 2012-11-21 | 广东威创视讯科技股份有限公司 | 多屏拼接触控方法和系统 |
CN103116418A (zh) * | 2013-02-04 | 2013-05-22 | Tcl通讯(宁波)有限公司 | 一种动态调整触摸屏输入检测速率的方法及移动终端 |
US20130257793A1 (en) * | 2012-03-27 | 2013-10-03 | Adonit Co., Ltd. | Method and system of data input for an electronic device equipped with a touch screen |
-
2014
- 2014-01-10 CN CN201410010482.9A patent/CN103761004B/zh not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1811679A (zh) * | 2005-01-24 | 2006-08-02 | 乐金电子(惠州)有限公司 | 触控屏幕的触摸响应速度控制方法 |
CN102004578A (zh) * | 2010-11-04 | 2011-04-06 | 中兴通讯股份有限公司 | 一种识别触摸屏不规则点的方法及装置 |
US20130257793A1 (en) * | 2012-03-27 | 2013-10-03 | Adonit Co., Ltd. | Method and system of data input for an electronic device equipped with a touch screen |
CN102789336A (zh) * | 2012-07-04 | 2012-11-21 | 广东威创视讯科技股份有限公司 | 多屏拼接触控方法和系统 |
CN103116418A (zh) * | 2013-02-04 | 2013-05-22 | Tcl通讯(宁波)有限公司 | 一种动态调整触摸屏输入检测速率的方法及移动终端 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991673A (zh) * | 2015-07-10 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | 一种触摸屏上报数据速率自匹配方法及系统 |
CN107562260A (zh) * | 2017-08-04 | 2018-01-09 | 中兴通讯股份有限公司 | 一种触摸控制的方法及装置 |
WO2019024507A1 (zh) * | 2017-08-04 | 2019-02-07 | 中兴通讯股份有限公司 | 一种触摸控制方法、装置及终端 |
CN107562260B (zh) * | 2017-08-04 | 2019-11-05 | 南京中兴新软件有限责任公司 | 一种触摸控制的方法及装置 |
CN109117019A (zh) * | 2018-07-13 | 2019-01-01 | 青岛罗博数码科技有限公司 | 可变报点率手写板及其报点率调节方法 |
Also Published As
Publication number | Publication date |
---|---|
CN103761004B (zh) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103024446A (zh) | 网络视频的加载缓冲方法和系统 | |
EP2650755A3 (en) | Content transfer via skin input | |
WO2016171349A3 (ko) | 당사자간 블록체인을 갖는 디지털 가상화폐의 거래시스템 및 방법 | |
WO2011127084A3 (en) | Systems, methods, and computer readable media for performing multiple transactions through a single near field communication (nfc) tap | |
MY188881A (en) | Resources dispensing device and resources dispensing method | |
MX2012008012A (es) | Adaptacion de tasa basada en notificacion de congestion explicita utilizando marcacion binaria en sistemas de comunicacion. | |
WO2011120019A3 (en) | Fine grain performance resource management of computer systems | |
WO2009040143A3 (en) | Controlling quality of video data by a user | |
WO2011100630A3 (en) | Methods, systems, and computer readable media for diameter application loop prevention | |
WO2012071384A3 (en) | Optimization of resource polling intervals to satisfy mobile device requests | |
WO2014081870A3 (en) | System and method for managing digital content items | |
GB201307573D0 (en) | Mobile traffic categorization and policy for network use optimization while preserving user experience | |
WO2013133881A3 (en) | Methods and systems for performing a financial transaction using a mobile communication device | |
EP2466844A3 (en) | Intelligent system and method for mitigating cyber attacks in critical systems through controlling latency of messages in a communications network | |
EP2587358A3 (en) | Scroll control device, terminal device, and scroll control method | |
EP2698712A3 (en) | Computer program, method, and information processing apparatus for analyzing performance of computer system | |
WO2012125571A3 (en) | Apparatus and method for male stimulation | |
WO2013046125A3 (en) | Methods, apparatuses, and computer program products for improving device behavior based on user interaction | |
WO2012172430A3 (en) | Method of and apparatus for providing an indication of data consumption | |
CN103761004A (zh) | 一种改善触控屏触控灵敏度的方法、触控屏及触控终端 | |
WO2014209413A3 (en) | Crowdsourcing e-mail filtering | |
EP2390787A3 (en) | Information processing device, content display method, and computer program | |
EP2284819A3 (en) | Specific user field entry | |
WO2013184493A3 (en) | Oscillating mobile device position determination | |
WO2011021867A3 (en) | Method of processing epg metadata in network device and network device for controlling the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161005 |