The invention discloses a control method. The control method includes the following steps: controlling the touch screen to enter the near detection state; collecting the output signal of the touch screen; judging whether the touch screen triggers the touch operation according to the output signal; controlling the touch screen to enter the touch detection state if the touch screen triggers the touch operation; and controlling the electronic device to perform the operation corresponding to the touch operation according to the output signal. The touch screen is controlled to return to the near detection state. In the control method according to the embodiment of the present invention, the conventional state of the touch display screen is set to the close detection state, so that the proximity action can be detected at any time. Compared with the conventional state of touch detection, the method of switching the call service to the proximity detection mode saves the time of initialization when switching to the proximity detection state, and speeds up the proximity detection speed of the touch display screen. Degree, improve user experience. The invention also discloses a control device, an electronic device and a storage medium.
【技术实现步骤摘要】
控制方法、控制装置、电子装置和存储介质
本专利技术涉及电子
,特别涉及一种控制方法、控制装置、电子装置和存储介质。
技术介绍
随着全面屏手机的迅速发展,为了提高手机的屏占比,接近传感器被设置在显示屏的下方。然而如此,接近传感器在屏幕点亮时工作可能导致屏幕的闪烁,因而采用触摸显示屏替代接近传感器实现接近熄屏的功能,触摸显示屏在触摸检测切换至接近检测时需要进行初始化动作,影响接近检测的识别速度,用户体验不佳。
技术实现思路
有鉴于此,本专利技术的实施例提供了一种控制方法、控制装置、电子装置和存储介质。本专利技术提供了一种电子装置的控制方法,所述控制方法包括步骤:控制所述触摸显示屏进入接近检测状态;采集所述触摸显示屏的输出信号;根据所述输出信号判断所述触摸显示屏是否触发触控操作;若所述触摸显示屏触发触控操作,控制所述触摸显示屏进入触控检测状态;和在根据所述输出信号控制所述电子装置执行与所述触控操作对应的操作后,控制所述触摸显示屏返回接近检测状态。本专利技术提供了一种电子装置的控制装置,包括:控制模块,用于控制所述触摸显示屏进入接近检测状态;采集模块,用于采集触摸显示屏的输出信号;和处理模块,用于根据所述输出信号判断所述触摸显示屏是否触发触控操作;所述控制模块还用于在所述触摸显示屏触发触控操作时控制所述触摸显示屏进入触控检测状态;以及在根据所述输出信号控制所述电子装置执行与所述触控操作对应的操作后,控制所述触摸显示屏返回接近检测状态。本专利技术提供了一种电子装置,包括触摸显示屏和处理器,所述处理器用于:控制所述触摸显示屏进入接近检测状态;采集所述触摸显示屏的输出 ...
【技术保护点】
1.一种电子装置的控制方法,其特征在于,所述控制方法包括步骤:控制触摸显示屏进入接近检测状态;采集所述触摸显示屏的输出信号;根据所述输出信号判断所述触摸显示屏是否触发触控操作;若所述触摸显示屏触发触控操作,控制所述触摸显示屏进入触控检测状态;和在根据所述输出信号控制所述电子装置执行与所述触控操作对应的操作后,控制所述触摸显示屏返回接近检测状态。
【技术特征摘要】
1.一种电子装置的控制方法,其特征在于,所述控制方法包括步骤:控制触摸显示屏进入接近检测状态;采集所述触摸显示屏的输出信号;根据所述输出信号判断所述触摸显示屏是否触发触控操作;若所述触摸显示屏触发触控操作,控制所述触摸显示屏进入触控检测状态;和在根据所述输出信号控制所述电子装置执行与所述触控操作对应的操作后,控制所述触摸显示屏返回接近检测状态。2.如权利要求1所述的控制方法,其特征在于,所述控制方法还包括步骤:根据所述输出信号判断所述触摸显示屏是否触发接近操作;若所述触摸显示屏触发接近操作,根据所述输出信号控制所述触摸显示屏的显示状态。3.如权利要求2所述的控制方法,其特征在于,所述根据所述输出信号控制所述触摸显示屏的显示状态的步骤包括:根据所述输出信号判断所述触摸显示屏是否被遮挡;和在所述触摸显示屏被遮挡时,控制所述触摸显示屏进入熄灭状态。4.如权利要求3所述的控制方法,其特征在于,所述在所述触摸显示屏被遮挡时控制所述触摸显示屏进入熄灭状态的步骤包括:根据所述输出信号判断所述触摸显示屏与外界物体的距离是否小于预定距离;在所述距离小于所述预定距离时确定所述触摸显示屏被遮挡;和控制所述触摸显示屏进入所述熄灭状态。5.如权利要求3所述的控制方法,其特征在于,所述根据所述控制信号判断所述触摸显示屏是否被遮挡的步骤包括:根据所述触摸显示屏的顶部区域的输出信号判断所述触摸显示屏是否被遮挡。6.如权利要求2所述的控制方法,其特征在于,所述控制方法包括:在根据所述输出信号控制所述触摸显示屏的显示状态后,控制所述触摸显示屏返回接近检测状态。7.一种电子装置的控制装置,其特征在于,包括:控制模块,用于控制所述触摸显示屏进入接近检测状态;采集模块,用于采集触所述摸显示屏的输出信号;和处理模块,用于根据所述输出信号判断所述触摸显示屏是否触发触控操作;所述控制模块还用于在所述触摸显示屏触发触控操作时控制所述触摸显示屏进入触控检测状态;以及在根据所述输出信号控制所述电子装置执行与所述触控...
【专利技术属性】
技术研发人员:刘绍斌,周辉,
申请(专利权)人:OPPO广东移动通信有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。