终端控制方法以及终端技术

技术编号:19248401 阅读:30 留言:0更新日期:2018-10-24 10:05
本发明专利技术提供了一种终端控制方法以及终端。该方法包括:在保护壳处于打开状态的情况下,终端以第一规律对发光装置进行开关控制,以及在检测到光传感器接收到的第一光强值的变化规律与第一规律相符合时,终端执行第一操作;在保护壳处于闭合状态的情况下,终端以第二规律对发光装置进行开关控制,以及在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,终端执行第二操作,其中,保护壳设置有导光条,且保护壳处于闭合状态时导光条覆盖终端上设置的发光装置以及光传感器。本发明专利技术还提供了一种终端控制方法以及终端。通过本发明专利技术实施例提供的方法,终端可不依靠霍尔传感器,通过发光装置和光传感器即可实现保护壳对终端的控制。

Terminal control method and terminal

The invention provides a terminal control method and a terminal. The method comprises the following steps: when the protective case is in an open state, the terminal switches the light emitting device with the first law, and when the change law of the first light intensity value received by the optical sensor conforms to the first law, the terminal performs the first operation; when the protective case is in a closed state, the terminal finally performs the first operation. The terminal controls the light emitting device with the second law and performs the second operation when it detects that the change law of the second light intensity value received by the light sensor does not conform to the second law. The protection case is provided with a light guiding bar, and the light guiding bar covers the light emitting device arranged on the terminal when the protection case is in a closed state. And optical sensors. The invention also provides a terminal control method and a terminal. By the method provided by the embodiment of the invention, the terminal can realize the control of the protective case to the terminal without relying on the Hall sensor through the luminous device and the light sensor.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】2016.12....

【专利技术属性】
技术研发人员:陈思龙朱小进何光席佩涛张正金
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1