The embodiment of the invention relates to the field of touch technology, in particular to a touch screen detecting method and a terminal, so as to reduce the probability of misoperation by users. Touch is periodically cases obtained from the distance sensor information indicating the implementation of the present invention; if the touch controller according to the indication information between the obstacle and the touch screen to determine the distance is less than the first threshold, during the instruction information from the current time to the next from the distance sensors, not touch screen operation. Between the obstacle and the touch screen distance is less than the first threshold, the mobile phone is in non normal working state, from the current time period to the next from the distance sensor to obtain information indicating the touch screen operation is due to misoperation, obstacles caused by impact therefore, the obstacles and the distance between the touch screen is smaller than the first threshold. From the current time period to the next from the distance sensor to obtain information indicating, touch controller does not handle this during the touch screen operation. Thus, the misoperation probability caused by the touch screen of an obstacle is reduced.
【技术实现步骤摘要】
一种触摸屏检测方法及终端本申请是2015年1月19日提出的专利技术名称为“一种触摸屏检测方法及终端”的中国专利技术专利申请201510025699.1的分案申请。
本专利技术涉及触摸
,尤其涉及一种触摸屏检测方法及终端。
技术介绍
随着科技的发展,越来越多的手机、平板电脑等电子产品采用电容触摸屏作为其屏幕。电容触摸屏上通常设计有手势识别功能,即人在手机屏幕上划出不同的符号可代表不同的操作命令,例如,在屏幕上划出“Z”表示唤醒屏幕,在屏幕上划出“C”表示打开微信等。电容触摸屏的手势识别功能给人们带来便利,但也带来如下问题。当将带有该电容触摸屏的设备放置于口袋里时,人腿会与触摸屏之间发生摩擦,从而会在触摸屏上划出代表各种命令的符号,手机自动识别该符号后便执行该符号所代表的命令。具体来说,当触摸屏中的单片机检测到有手势操作时,该单片机唤醒CPU并将该信息上报给CPU,CPU接收到该消息后,CPU通知单片机处理该手势操作。上述方案中,单片机检测到手势操作,均需唤醒CPU以进行操作。若此时用户手机放在口袋内,由于走路过程中人的腿与触摸屏的摩擦较为频繁,从而导致单片机频繁的唤醒CPU进行操作,进一步增加了误操作的概率。综上所述,亟需一种触摸屏检测方法及终端,用以减少用户误操作的概率。
技术实现思路
本专利技术实施例提供一种触摸屏检测方法及终端,用以减少用户误操作的概率。本专利技术实施例提供一种触摸屏检测方法,包括以下步骤:触控器周期性从距离传感器获取指示信息;若触控器根据指示信息确定障碍物与触摸屏之间的距离小于第一阈值,则从当前时间至下次从距离传感器获取指示信息期间 ...
【技术保护点】
一种触摸屏检测方法,其特征在于,包括以下步骤:处理器CPU进入深度休眠状态;触控器周期性从距离传感器获取指示信息;若所述触控器根据所述指示信息确定障碍物与触摸屏之间的距离不小于第一阈值,所述触控器检测到所述触摸屏上有触屏操作;则处理所述触屏操作。
【技术特征摘要】
1.一种触摸屏检测方法,其特征在于,包括以下步骤:处理器CPU进入深度休眠状态;触控器周期性从距离传感器获取指示信息;若所述触控器根据所述指示信息确定障碍物与触摸屏之间的距离不小于第一阈值,所述触控器检测到所述触摸屏上有触屏操作;则处理所述触屏操作。2.如权利要求1所述的方法,其特征在于,还包括:所述触控器识别出所述触屏操作是预设手势操作;所述触控器唤醒所述CPU。3.如权利要求1所述的方法,其特征在于,还包括:若所述触控器根据指示信息确定障碍物与触摸屏之间的距离小于第一阈值,则从当前时间至下次从距离传感器获取指示信息期间,不处理触屏操作。4.如权利要求3所述的方法,其特征在于,所述若所述触控器根据所述指示信息确定障碍物与触摸屏之间的距离小于第一阈值,则从当前时间至下次从距离传感器获取指示信息期间,不处理触屏操作,具体包括:若所述触控器根据所述指示信息确定障碍物与触摸屏之间的距离小于第一阈值,则从当前时间至下次从距离传感器获取指示信息期间,进入超低功耗工作状态;在超低耗工作状态下,则不处理触屏操作。5.如权利要求4所述的方法,其特征在于,所述在超低耗工作状态下,则不处理触屏操作,具体包括:在超低耗工作状态下,若所述触控器检测到所述触摸屏上有触屏操作,则不处理触屏操作。6.如权利要求1所述的方法,其特征在于,具体是:所述触控器通过GPIO管脚,周期性从距离传感器获取指示信息,所述指示信息用于...
【专利技术属性】
技术研发人员:张鹏,何琦,龚复生,刘文姝,张斌,张伟,周长生,
申请(专利权)人:青岛海信移动通信技术股份有限公司,
类型:发明
国别省市:山东,37
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。