CN108702417B - Terminal control method and terminal - Google Patents
Terminal control method and terminal Download PDFInfo
- Publication number
- CN108702417B CN108702417B CN201780012406.3A CN201780012406A CN108702417B CN 108702417 B CN108702417 B CN 108702417B CN 201780012406 A CN201780012406 A CN 201780012406A CN 108702417 B CN108702417 B CN 108702417B
- Authority
- CN
- China
- Prior art keywords
- light
- terminal
- rule
- intensity value
- light intensity
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及终端技术领域,尤其涉及一种终端控制方法以及终端。The present invention relates to the technical field of terminals, and in particular, to a terminal control method and a terminal.
背景技术Background technique
目前,各种终端,如智能手机、平板电脑等已成为人们生活中必不可少的通信、娱乐、生活工具。终端的附属产品比如保护壳,以其防摔、防刮、美观等功能也被广泛应用于终端。目前,终端的保护壳除了可以保护终端的作用,还具有其他辅助功能,如通过保护壳对终端进行控制。例如,保护壳的锁屏功能:当用户合上终端的保护壳时,终端锁屏;在用户打开皮套,终端唤醒屏幕,进而节约终端功耗,且方便用户操作。At present, various terminals, such as smart phones and tablet computers, have become indispensable communication, entertainment and life tools in people's lives. Auxiliary products of terminals, such as protective cases, are also widely used in terminals for their anti-drop, anti-scratch, and aesthetic functions. At present, in addition to protecting the terminal, the protective shell of the terminal also has other auxiliary functions, such as controlling the terminal through the protective shell. For example, the screen lock function of the protective case: when the user closes the protective case of the terminal, the terminal locks the screen; when the user opens the holster, the terminal wakes up the screen, thereby saving power consumption of the terminal and facilitating user operation.
现有的保护壳对终端的控制原理主要是通过终端内置的霍尔传感器感应皮套的翻转盖的磁铁产生的磁场进而识别保护壳的状态。然而,为减少成本、缩小终端的厚度等,部分终端删减掉霍尔传感器,进而不能实现保护壳对终端的控制。The control principle of the existing protective shell on the terminal is mainly to identify the state of the protective shell by sensing the magnetic field generated by the magnet of the flip cover of the holster through the Hall sensor built in the terminal. However, in order to reduce the cost, reduce the thickness of the terminal, etc., some terminals delete the Hall sensor, so that the control of the terminal by the protective shell cannot be realized.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种终端控制方法以及终端,能够不依靠霍尔传感器实现保护壳对终端的控制。The embodiments of the present invention provide a terminal control method and terminal, which can realize the control of the terminal by the protective shell without relying on the Hall sensor.
第一方面,本发明实施例提供一种终端控制方法,包括:In a first aspect, an embodiment of the present invention provides a terminal control method, including:
在保护壳处于打开状态的情况下,终端以第一规律对发光装置进行开关控制,以及在检测到光传感器接收到的第一光强值的变化规律与第一规律相符合时,终端执行第一操作;When the protective case is in an open state, the terminal switches on and off the light-emitting device according to the first rule, and when it is detected that the change rule of the first light intensity value received by the light sensor is consistent with the first rule, the terminal executes the first rule. an operation;
在保护壳处于闭合状态的情况下,终端以第二规律对发光装置进行开关控制,以及在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,终端执行第二操作;When the protective case is in a closed state, the terminal switches on and off the light-emitting device according to the second law, and when it is detected that the change law of the second light intensity value received by the light sensor does not conform to the second law, the terminal executes the first two operations;
其中,保护壳设置有导光条,且保护壳处于闭合状态时导光条覆盖终端上设置的发光装置以及光传感器。Wherein, the protective shell is provided with a light guide strip, and when the protective shell is in a closed state, the light guide strip covers the light emitting device and the light sensor provided on the terminal.
可见,本发明实施例提供的终端控制方法在保护壳处于打开状态的情况下,终端以第一规律对发光装置进行开关控制,以及在检测到光传感器接收到的第一光强值的变化规律与第一规律相符合时,说明终端检测到保护壳的闭合操作,终端可执行第一操作,比如休眠操作;在保护壳处于闭合状态的情况下,终端以第二规律对发光装置进行开关控制,以及在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,说明终端检测到保护壳的打开操作,终端可执行第二操作,本发明实施例提供的终端控制方法不依赖霍尔传感器,通过发光装置和光传感器即可实现保护壳对终端的控制,避免在用户扣合保护壳后,终端继续运行程序增加能耗。It can be seen that in the terminal control method provided by the embodiment of the present invention, when the protective shell is in an open state, the terminal switches on and off the light-emitting device according to the first rule, and when detecting the change rule of the first light intensity value received by the light sensor When it conforms to the first rule, it means that the terminal detects the closing operation of the protective shell, and the terminal can perform the first operation, such as a sleep operation; when the protective shell is in the closed state, the terminal switches on and off the light-emitting device according to the second rule. , and when it is detected that the change rule of the second light intensity value received by the light sensor does not conform to the second rule, it means that the terminal detects the opening operation of the protective shell, and the terminal can perform the second operation. The terminal provided by the embodiment of the present invention The control method does not rely on the Hall sensor, and the protective shell can control the terminal through the light-emitting device and the light sensor, so as to avoid the terminal continuing to run the program to increase energy consumption after the user buckles the protective shell.
在本发明的一个实施例中,在保护壳处于打开状态的情况下,终端以第一规律对发光装置进行开关控制的一种实施方式可以是:终端通过光传感器获取光强值;在光强值大于第一光强阈值且检测到时刻T1到时刻T0内获取到的光强值的变化大于第二光强阈值时,终端以第一规律对发光装置进行开关控制N个周期;N为正整数;时刻T0为当前时刻,T1为当前时刻之前第一时长的时刻;In an embodiment of the present invention, when the protective case is in an open state, an implementation manner in which the terminal switches on and off the light-emitting device according to the first rule may be: the terminal obtains a light intensity value through a light sensor; When the value is greater than the first light intensity threshold and it is detected that the change of the light intensity value obtained from time T1 to time T0 is greater than the second light intensity threshold, the terminal switches and controls the light-emitting device for N cycles according to the first rule; N is positive Integer; time T0 is the current time, and T1 is the time of the first duration before the current time;
在检测到光传感器接收到的光强值的变化规律与第一规律符合时,终端执行第一操作的一种实施方式可以是:在检测到光传感器接收到的第一光强值的变化规律与第一规律符合时,终端执行第一操作。When detecting that the change rule of the light intensity value received by the light sensor conforms to the first rule, an implementation manner of the terminal performing the first operation may be: after detecting the change rule of the first light intensity value received by the light sensor When conforming to the first rule, the terminal performs the first operation.
可见,本发明实施例中,终端通过检测光强值大于第一光强阈值识别当前保护壳的状态为打开状态,在光强值的变化大于第二光强阈值时才进行发光装置的开关控制,避免发光装置在保护壳处于打开状态时频繁发光,对终端的用户造成干扰,进一步节约终端能耗。It can be seen that, in this embodiment of the present invention, the terminal recognizes that the current state of the protective case is an open state by detecting that the light intensity value is greater than the first light intensity threshold, and only performs on-off control of the light-emitting device when the change in the light intensity value is greater than the second light intensity threshold. , to prevent the light-emitting device from frequently emitting light when the protective shell is in an open state, which would cause interference to the user of the terminal, and further save the energy consumption of the terminal.
在本发明的一个实施例中,该方法还可以包括:In one embodiment of the present invention, the method may further include:
在光强值不大于第一光强阈值时,终端检测在时刻T0到时刻T2内是否接收到用户操作;时刻T0为当前时刻,T2为当前时刻之后第二时长的时刻;When the light intensity value is not greater than the first light intensity threshold, the terminal detects whether a user operation is received from time T0 to time T2; time T0 is the current time, and T2 is the second time after the current time;
当终端在时刻T0到时刻T2内未接收到用户操作时,终端以第一规律对发光装置进行开关控制N个周期;When the terminal does not receive a user operation from time T0 to time T2, the terminal switches and controls the light-emitting device for N periods according to the first rule;
在检测到所示光传感器接收到的第一光强值的变化规律与第一规律符合时,终端执行第一操作。The terminal performs the first operation when it is detected that the change rule of the first light intensity value received by the shown light sensor conforms to the first rule.
可见,本发明实施例提供了一种黑暗环境下保护壳的状态检测方法,当终端处于黑暗环境中,终端通过检测用户操作来识别保护壳的状态,即当终端检测到用户操作时,识别保护壳处于打开状态,当检测到无用户操作时间大于第二时长时,触发终端进行发光装置的开关控制,进而检测是否发生保护壳的闭合操作。It can be seen that an embodiment of the present invention provides a method for detecting the state of a protective shell in a dark environment. When a terminal is in a dark environment, the terminal identifies the state of the protective shell by detecting a user operation, that is, when the terminal detects a user operation, it identifies the protective shell The case is in an open state, and when it is detected that the time without user operation is longer than the second time period, the terminal is triggered to perform on-off control of the light-emitting device, thereby detecting whether a closing operation of the protective case occurs.
在本发明的一个实施例中,终端以第一规律对发光装置进行开关控制N个周期的一种实施方式可以是:终端以第一频率对发光装置进行开关控制N个周期;In an embodiment of the present invention, an implementation manner in which the terminal performs on-off control on the light-emitting device for N periods according to the first rule may be: the terminal performs on-off control on the light-emitting device for N periods with the first frequency;
在检测到光传感器接收到的第一光强值的变化规律与第一规律符合时,终端执行第一操作的一种实施方式可以是:检测光传感器接收到的第一光强值的变化频率是否为第一频率;当光传感器接收到的第一光强值的变化频率为第一频率时,终端执行第一操作。When it is detected that the change rule of the first light intensity value received by the light sensor conforms to the first rule, an implementation manner for the terminal to perform the first operation may be: detecting the change frequency of the first light intensity value received by the light sensor Whether it is the first frequency; when the change frequency of the first light intensity value received by the light sensor is the first frequency, the terminal performs the first operation.
可见,终端通过控制发光装置以一定的频率发送光信号,可避免与光传感器接收到的环境中的光信号混淆,可提高终端对保护壳的状态识别的准确性。It can be seen that by controlling the light-emitting device to transmit the optical signal at a certain frequency, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and can improve the accuracy of the terminal's identification of the state of the protective shell.
在本发明的一个实施例中,在保护壳处于闭合状态的情况下,终端以第二规律对发光装置进行开关控制包括:终端以第二频率对发光装置进行开关控制;In an embodiment of the present invention, when the protective case is in a closed state, the terminal performing on-off control on the light-emitting device according to the second regularity includes: the terminal performs on-off control on the light-emitting device with a second frequency;
在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,终端执行第二操作包括:检测光传感器接收到的第二光强值的变化频率是否为第二频率;当光传感器接收到的第二光强值的变化频率为第二频率时,终端执行第二操作。When detecting that the change rule of the second light intensity value received by the light sensor does not conform to the second rule, the terminal performing the second operation includes: detecting whether the change frequency of the second light intensity value received by the light sensor is the second frequency ; When the change frequency of the second light intensity value received by the light sensor is the second frequency, the terminal performs the second operation.
可见,终端通过控制发光装置以一定的频率发送光信号,可避免与光传感器接收到的环境中的光信号混淆,可提高终端对保护壳的状态识别的准确性。It can be seen that by controlling the light-emitting device to transmit the optical signal at a certain frequency, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and can improve the accuracy of the terminal's identification of the state of the protective shell.
第二方面,本发明实施例还公开了一种终端,所述终端包括功能模块,所述功能模块用于执行本发明实施例第一方面任一方法中所描述的部分或全部步骤。In a second aspect, an embodiment of the present invention further discloses a terminal, where the terminal includes a function module, and the function module is configured to execute some or all of the steps described in any method in the first aspect of the embodiment of the present invention.
第三方面,本发明实施例还公开了一种终端,所述终端包括:处理器、存储器、光传感器、发光装置以及通信总线;所述处理器通过所述通信总线连接到所述存储器、光传感器以及发光装置;In a third aspect, an embodiment of the present invention further discloses a terminal, the terminal includes: a processor, a memory, a light sensor, a light-emitting device, and a communication bus; the processor is connected to the memory, light Sensors and lighting devices;
所述处理器用于调用所述存储器中存储的程序代码和数据,执行第一方面任一方法中所描述的部分或全部步骤。The processor is configured to call the program codes and data stored in the memory to execute part or all of the steps described in any method of the first aspect.
第四方面,本发明实施例还公开了一种种终端控制方法,包括:In a fourth aspect, the embodiments of the present invention further disclose various terminal control methods, including:
终端以第一规律对发光装置进行开关控制;The terminal performs on-off control on the light-emitting device according to the first rule;
在检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,终端执行第一操作;When detecting that the change rule of the light intensity value received by the light sensor changes from not conforming to the first rule to conforming to the first rule, the terminal performs the first operation;
在检测到光传感器接收到的光强值的变化规律从符合第一规律转变为不符合第一规律时,终端执行第二操作;When detecting that the change rule of the light intensity value received by the light sensor changes from conforming to the first rule to not conforming to the first rule, the terminal performs the second operation;
其中,保护壳设置有导光条,且保护壳处于闭合状态时导光条覆盖终端上设置的发光装置以及光传感器。Wherein, the protective shell is provided with a light guide strip, and when the protective shell is in a closed state, the light guide strip covers the light emitting device and the light sensor provided on the terminal.
可见,本发明实施例提供的终端控制方法终端以第一规律对发光装置进行开关控制,在检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,终端执行第一操作;在检测到光传感器接收到的光强值的变化规律从符合第一规律转变为不符合第一规律时,终端执行第二操作。本发明实施例提供的终端控制方法不依赖霍尔传感器,通过发光装置和光传感器即可实现保护壳对终端的控制,避免在用户扣合保护壳后,终端继续运行程序增加能耗。It can be seen that in the terminal control method provided by the embodiment of the present invention, the terminal controls the on-off of the light-emitting device according to the first law, and when it is detected that the change law of the light intensity value received by the light sensor changes from not conforming to the first law to conforming to the first law , the terminal performs the first operation; when it is detected that the change rule of the light intensity value received by the light sensor changes from conforming to the first rule to not conforming to the first rule, the terminal performs the second operation. The terminal control method provided by the embodiment of the present invention does not rely on the Hall sensor, and the protective shell can control the terminal through the light emitting device and the light sensor, so as to avoid the terminal continuing to run the program to increase energy consumption after the user buckles the protective shell.
在本发明的一个实施例中,In one embodiment of the present invention,
终端以第一规律对发光装置进行开关控制的一种实施方式可以是:终端以第一频率对发光装置进行开关控制;An implementation manner in which the terminal performs on-off control on the light-emitting device according to the first rule may be: the terminal performs on-off control on the light-emitting device with a first frequency;
在检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,终端执行第一操作一种实施方式可以是:在检测到光传感器接收到的光强值的频率从非第一频率转变为第一频率时,终端执行第一操作;When it is detected that the change rule of the light intensity value received by the light sensor changes from not conforming to the first law to conforming to the first law, the terminal performs the first operation. When the frequency of the value changes from the non-first frequency to the first frequency, the terminal performs the first operation;
在检测到光传感器接收到的光强值的变化从符合第一规律转变为不符合第一规律时,终端执行第二操作一种实施方式可以是:在检测到光传感器接收到的光强值的频率从第一频率转变为非第一频率时,终端执行第二操作。When it is detected that the change of the light intensity value received by the light sensor changes from conforming to the first law to not conforming to the first law, the terminal performs the second operation. When the frequency of the device changes from the first frequency to a non-first frequency, the terminal performs the second operation.
可见,终端通过控制发光装置以一定的频率发送光信号,可避免与光传感器接收到的环境中的光信号混淆,可提高终端对保护壳的状态识别的准确性。It can be seen that by controlling the light-emitting device to transmit the optical signal at a certain frequency, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and can improve the accuracy of the terminal's identification of the state of the protective shell.
第五方面,本发明实施例还公开了一种终端,所述终端包括功能模块,所述功能模块用于执行本发明实施例第四方面任一方法中所描述的部分或全部步骤。In a fifth aspect, an embodiment of the present invention further discloses a terminal, where the terminal includes a function module, and the function module is configured to execute some or all of the steps described in any method in the fourth aspect of the embodiment of the present invention.
第六方面,本发明实施例还公开了一种终端,所述终端包括:处理器、存储器、光传感器、发光装置以及通信总线;所述处理器通过所述通信总线连接到所述存储器、光传感器以及发光装置;In a sixth aspect, an embodiment of the present invention further discloses a terminal, the terminal includes: a processor, a memory, a light sensor, a light-emitting device, and a communication bus; the processor is connected to the memory, light Sensors and lighting devices;
所述处理器用于调用所述存储器中存储的程序代码和数据,执行第四方面任一方法中所描述的部分或全部步骤。The processor is configured to invoke the program codes and data stored in the memory to execute part or all of the steps described in any of the methods in the fourth aspect.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required in the description of the embodiments or the prior art.
图1是本发明实施例提供的保护壳处于打开状态时终端和保护壳的主视图;1 is a front view of a terminal and a protective case when a protective case provided by an embodiment of the present invention is in an open state;
图2是本发明实施例提供的一种导光条工作原理的示意性剖面图;2 is a schematic cross-sectional view of the working principle of a light guide bar provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种导光条工作原理的示意性剖面图;3 is a schematic cross-sectional view of the working principle of another light guide bar provided by an embodiment of the present invention;
图4是本发明实施例提供的一种导光条的设置方式的结构示意图;4 is a schematic structural diagram of an arrangement mode of a light guide bar provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种导光条的设置方式的结构示意图;5 is a schematic structural diagram of another arrangement of light guide bars provided by an embodiment of the present invention;
图6是本发明实施例提供的一种终端的结构示意图;6 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;
图7是本发明实施例提供的一种终端控制方法;7 is a terminal control method provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种终端控制方法;FIG. 8 is another terminal control method provided by an embodiment of the present invention;
图9是本发明实施例提供的第一光强值的变化规律的检测原理示意图;9 is a schematic diagram of the detection principle of the change law of the first light intensity value provided by an embodiment of the present invention;
图10是本发明实施例提供的又一种终端控制方法的流程示意图;10 is a schematic flowchart of another terminal control method provided by an embodiment of the present invention;
图11是本发明实施例提供的另一种终端结构示意图;FIG. 11 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;
图12是本发明实施例提供的又一种终端结构示意图。FIG. 12 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1是本发明实施例提供的保护壳处于打开状态时终端和保护壳的主视图。本发明终端控制方法的各实施例可以基于终端11与保护壳12组成的系统来实施。其中,终端11可以包括发光装置111以及光传感器112;保护壳12可以包括:用于固定终端的底座板121以及翻转盖122。可选地,底座板121和翻转盖122可以为一体结构。在翻转盖122与发光装置111以及光传感器112对应的位置设有导光条1221。当保护壳处于合上状态时,导光条1221覆盖终端11上的发光装置111以及光传感器112,使得发光装置111发出的光通过该导光条1221传播至光传感器112。发光装置111用于发出可见光、红外光、紫外光等,可以是指示灯、红外发光二极管、激光器等。光传感器112用于接收外界光信号,也可以对接收到的光信号进行处理。FIG. 1 is a front view of a terminal and a protective case when the protective case provided by an embodiment of the present invention is in an open state. The embodiments of the terminal control method of the present invention may be implemented based on a system composed of the terminal 11 and the
本申请的一实施例中,可以通过镜面反射的原理实现通过导光条将发光装置发射的光传输至光传感器。请参阅图2,图2是本发明实施例提供的一种导光条工作原理的示意性剖面图。当保护壳处于闭合状态时,保护壳122覆盖于终端11上方,翻转盖122上的导光条1221覆盖终端11的发光装置111和光传感器112。导光条1221可以由导光材料(例如玻璃、透明树脂材料、透明高分子材料等)组成。导光条1221为台梯形体,导光条1221的第一侧面12211和第二侧面12212包括反射层,该反射层的材料可以是金属薄膜。第一侧面12211和第二侧面12212与导光条的第三侧面12213成45°角度,且在保护壳处于闭合状态下,第一侧面12211和第二侧面12212分别位于发光装置111和光传感器112的上方。可以理解,当保护壳处于闭合状态时,发光装置111发射的光,分别经过第一侧面12211和第二侧面12212的反射后,传送至光传感器112,如图2中虚线所示的光的传播路径。In an embodiment of the present application, the light emitted by the light emitting device can be transmitted to the light sensor through the light guide strip through the principle of specular reflection. Please refer to FIG. 2 , which is a schematic cross-sectional view of a working principle of a light guide bar provided by an embodiment of the present invention. When the protective case is in a closed state, the
本申请的另一实施例中,可以通过漫反射或全反射的原理实现通过导光条将发光装置发射的光传输至光传感器。请参阅图3,图3是本发明实施例提供的另一种导光条工作原理的示意性剖面图。当保护壳处于闭合状态时,保护壳的覆盖122于终端11上方,翻转盖122上的导光条1221覆盖终端11的发光装置111和光传感器112。导光条1221可以是长方体结构或柱体结构,导光条1221可以包括第一材料层12211和第二材料层12212,其中,第二材料层12212部分覆盖第一材料层12211,第二材料层12212相对于发光装置111和光传感器112的位置开设第一贯孔122121和第二贯孔122122。第一材料层12211可以是由导光材料(例如玻璃、透明树脂材料、透明高分子材料等)组成,第二材料层12212可以是由非导光材料构成的涂层,比如金属涂层、高分子涂层等。可以理解,当保护壳处于闭合状态时,发光装置111发射的光,经过第二材料层12212的反射后,传送至光传感器112。In another embodiment of the present application, the light emitted by the light emitting device can be transmitted to the light sensor through the light guide strip through the principle of diffuse reflection or total reflection. Please refer to FIG. 3 , which is a schematic cross-sectional view of another working principle of a light guide bar provided by an embodiment of the present invention. When the protective case is in a closed state, the
可选地,导光条1221可以是光纤,第一材料层12211组成纤芯,第二材料层12212组成包层。可以理解,第一材料层12211的折射率大于第二材料层12212的折射率。可以理解,当保护壳处于闭合状态时,发光装置111发射的光,在第一材料层12211与第二材料层12212的交界面全反射,通过纤芯传送至光传感器112。Optionally, the
其中,d1>0,d2>0,d3>0,d4>0,L>d1+d2+d3+d4。可以理解,在保护壳经过长期使用后,可能会发生磨损、老化等,此时,保护壳的处于合上状态时,翻转盖122覆盖终端时可能会发生轻微的错位,可以通过设置d1、d2、d3、d4的大小来保证,保护壳在处于闭合状态时,第一贯孔122121和第二贯孔122122分别位于发光装置111和光传感器112的上方,使得发光装置111发射的光可以传输至光传感器112。Wherein, d1>0, d2>0, d3>0, d4>0, L>d1+d2+d3+d4. It can be understood that after a long-term use of the protective case, wear, aging, etc. may occur. At this time, when the protective case is in the closed state, a slight dislocation may occur when the
需要说明的是,图2或图3所示的导光条可以嵌入翻转盖或内嵌于翻转盖。请参阅图4和图5。It should be noted that the light guide bar shown in FIG. 2 or FIG. 3 can be embedded in the flip cover or embedded in the flip cover. See Figure 4 and Figure 5.
图4是本发明实施例提供的一种导光条的设置方式的结构示意图。导光条401嵌入在翻转盖402中,导光条可以起到装饰的作用。FIG. 4 is a schematic structural diagram of an arrangement manner of a light guide strip provided by an embodiment of the present invention. The
图5是本发明实施例提供的另一种导光条的设置方式的结构示意图。导光条401内嵌在翻转盖402中。FIG. 5 is a schematic structural diagram of another arrangement manner of a light guide strip provided by an embodiment of the present invention. The
还需要说明的是,终端可以包括至少两个发光装置,比如第一指示灯、第二指示灯,其中第一指示灯用于配合光传感器实现本申请中各个实施例描述的移动终端控制方法。第二指示灯可以用于指示电量、信息、未接来电等。可以理解,当保护壳处于闭合状态时,导光条覆盖第一指示灯,且不覆盖第二指示灯,以使第二指示灯发射的光不影响终端对保护壳的状态的识别。It should also be noted that the terminal may include at least two light-emitting devices, such as a first indicator light and a second indicator light, wherein the first indicator light is used to cooperate with the light sensor to implement the mobile terminal control method described in each embodiment of this application. The second indicator light can be used to indicate power, information, missed calls, and the like. It can be understood that when the protective case is in the closed state, the light guide bar covers the first indicator light and does not cover the second indicator light, so that the light emitted by the second indicator light does not affect the identification of the state of the protective case by the terminal.
还需要说明的是,发光装置可以发射不同的波长的光,通过不同波长的光提示终端的用户不同的提示内容。比如,指示灯显示红色指示终端的剩余电量小于10%;指示灯显示绿色表示终端接收到新消息或具有未接来电;用于本申请中终端控制方法的指示灯的发出的光可以是不同于上述波长的光,例如,非可见光(如红外光),以避免与现有技术中指示灯的功能与用途产生错乱。It should also be noted that the light-emitting device may emit light of different wavelengths, and prompt the user of the terminal with different prompting contents through the light of different wavelengths. For example, the indicator light showing red indicates that the remaining power of the terminal is less than 10%; the indicator light showing green indicates that the terminal has received a new message or has a missed call; the light emitted by the indicator light used in the terminal control method in this application may be different from The above-mentioned wavelengths of light, for example, non-visible light (such as infrared light), are used to avoid confusion with the functions and uses of the indicator lights in the prior art.
请参阅图6,图6是本发明实施例提供的一种终端的结构示意图。该终端包括至少一个处理器610、存储器620、输入设备630、输出设备640以及通信模块650,处理器可以通过通信总线660连接存储器620、输入设备630、输出设备640以及通信模块650。输入设备630包括光传感器6301。输出设备640可以包括发光装置6401。Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal includes at least one
其中,处理器610是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器620内的计算机程序和/或模块,以及调用存储在存储器620内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器610可包括一个或多个处理核心;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The
存储器620可用于存储计算机程序以及模块,处理器610通过运行存储在存储器620的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如本发明实施例中所描述的停车场地图、地理位置等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器620还可以包括存储器控制器,以提供处理器610和输入设备630对存储器620的访问。The
输入设备630可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。输入设备630包括光传感器6301,光传感器6301用于获取环境中的光信号,实现本发明各实施例描述的终端控制方法。输入设备630还可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示面板或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,并能接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入设备630还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
输入设备630还可包括其他传感器或装置,比如陀螺仪传感器、加速度传感器、重力传感器、图像传感器、距离检测装置等中的至少一种,其中,陀螺仪传感器用于检测终端的移动方向的信息;加速度传感器用于检测终端的移动速度的变化信息;距离检测装置可以是激光测距装置、声波测距装置、图像测距装置等,可以用来检测本发明实施例涉及的距离值等;至于终端还可配置的其他传感器,此处不再赘述。The
输出设备640可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户界面(比如本发明实施例中所描述的移动轨迹显示界面置等),这些图形用户界面可以由图形、文本、图标、视频和其任意组合来构成。输出设备640可包括发光装置6401以及显示面板等,发光装置6401可以是指示灯、红外发光二极管、激光器等。可选的,显示面板可以采用液晶显示器(英文:liquid crystal display,LCD)、有机发光二极管(英文:organiclight-emitting diode,OLED)等形式来配置。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板上提供相应的视觉输出。触敏表面与显示面板可以作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The
可选地,终端还可以包括通信模块650,该通信模块650用于建立通信信道,使终端通过所述通信信道以连接至通信对端,并通过所述通信信道与所述通信对端交互数据。通信模块可以包括蓝牙模块、NFC模块、移动通信模块、WiFi模块、定位模块(如GPS模块)等。终端通过通信模块650可以帮助用户收发电子邮件、浏览网页和访问流式媒体等。Optionally, the terminal may further include a
需要说明的是,虽然图6示出了通信模块650,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。It should be noted that although FIG. 6 shows the
具体在本发明实施例中,处理器610用于调用存储器620(非易失性存储器)存储的程序代码执行本发明实施例步骤:Specifically in the embodiment of the present invention, the
上述终端中的处理器610能够耦合至少一个存储器620,并可调用所述至少一个存储器620中的可执行程序代码执行本发明实施例公开的图7、图8以及图10所示的终端处理方法。以下对本发明实施例提供的终端控制方法进行详细论述。The
请参阅图7,图7是本发明实施例提供的一种终端控制方法。Please refer to FIG. 7. FIG. 7 is a terminal control method provided by an embodiment of the present invention.
步骤S100:终端检测保护壳的当前状态。Step S100: The terminal detects the current state of the protective shell.
具体地,保护壳的状态包括打开状态和闭合状态,当终端检测保护壳的当前状态为打开状态时,终端可以执行步骤S200以及步骤S300;当终端检测保护壳的当前状态为闭合状态时,终端可以执行步骤S400以及步骤S500。Specifically, the state of the protective shell includes an open state and a closed state. When the terminal detects that the current state of the protective shell is an open state, the terminal may perform steps S200 and S300; when the terminal detects that the current state of the protective shell is a closed state, the terminal Steps S400 and S500 may be performed.
请参阅图8,图8是本发明实施例提供的另一种终端控制方法。其中,电子检测保护壳的当前状态的一种实施方式可以包括:步骤S101、S102、S103、S104、S105等。Please refer to FIG. 8. FIG. 8 is another terminal control method provided by an embodiment of the present invention. An implementation manner of electronically detecting the current state of the protective case may include steps S101, S102, S103, S104, S105, and the like.
步骤S101:终端通过光传感器获取光强值。Step S101: The terminal acquires the light intensity value through the light sensor.
可以理解,光传感器可以获取环境中的光能,并将光能转化成电信号,以获取光强值。It can be understood that the light sensor can obtain the light energy in the environment and convert the light energy into electrical signals to obtain the light intensity value.
步骤S102:终端判断光强值是否大于第一光强阈值。Step S102: The terminal determines whether the light intensity value is greater than a first light intensity threshold.
具体地,在环境中光充足的情况下,终端在保护壳分别处于打开状态时通过光传感检测到的光强值远远大于在保护壳分别处于闭合状态时通过光传感检测到的光强值。而在环境中光不充足的情况下,终端在保护壳分别处于打开状态和闭合状态时通过光传感检测到的光强值都较小。第一光强阈值不小于在环境光充足时且保护壳处于闭合状态下终端通过光传感器获取光强值。Specifically, in the case of sufficient light in the environment, the light intensity value of the terminal detected by the optical sensor when the protective shells are respectively in the open state is much larger than that detected by the optical sensor when the protective shells are in the closed state respectively. strong value. However, in the case of insufficient light in the environment, the light intensity values detected by the light sensor when the protective case of the terminal is in an open state and a closed state, respectively, are relatively small. The first light intensity threshold is not less than the light intensity value obtained by the terminal through the light sensor when the ambient light is sufficient and the protective case is in a closed state.
当光强值大于第一光强阈值时,则说明保护壳处于打开状态且当前环境中光充足,终端可以执行步骤S103;当光强值不大于第一光强阈值时,则说明保护壳处于闭合状态,或说明保护壳处于打开状态且当前环境中无光源或光不充足,终端可以执行步骤S104。When the light intensity value is greater than the first light intensity threshold, it means that the protective case is in an open state and the light in the current environment is sufficient, and the terminal can perform step S103; when the light intensity value is not greater than the first light intensity threshold, it means that the protective case is in In a closed state, or indicating that the protective case is in an open state and there is no light source or insufficient light in the current environment, the terminal may perform step S104.
步骤S103:终端检测时刻T1到时刻T0内获取到的光强值的变化是否大于第二光强阈值。Step S103: The terminal detects whether the change of the acquired light intensity value from time T1 to time T0 is greater than the second light intensity threshold.
其中,时刻T0为当前时刻,T1为所述当前时刻之前第一时长的时刻。该第一时长可以是0.5s、1s或2s等。Wherein, time T0 is the current time, and T1 is the time of the first duration before the current time. The first duration may be 0.5s, 1s, or 2s, or the like.
在环境中光充足时,保护壳的从打开状态转变为闭合状态时,在保护壳的状态转变时间内终端检测到的光强值会发送强烈的波动,也就是说,该时间段内获取到的光强值的变化大于第二光强阈值。其中,该第二光强阈值可以是在环境中光充足且保护壳处于打开状态时终端获取的最小光强值与在环境中光充足且保护壳处于闭合状态时终端获取的最大光强值之差。When there is sufficient light in the environment, when the protective shell changes from the open state to the closed state, the light intensity value detected by the terminal within the state transition time of the protective shell will send strong fluctuations, that is to say, the obtained light intensity value during this time period The change in the light intensity value is greater than the second light intensity threshold. Wherein, the second light intensity threshold may be the minimum light intensity value obtained by the terminal when there is sufficient light in the environment and the protective case is in an open state and the maximum light intensity value obtained by the terminal when there is sufficient light in the environment and the protective case is in a closed state Difference.
若检测到光强值的变化大于第二光强阈值,则说明有遮挡物遮挡终端的光传感器,或者是环境从光充足转变为光不充足,该遮挡物可能是用户的手,也可能是保护壳的翻转盖,此时,终端可以执行步骤200;若检测到光强值的变化不大于第二光强阈值,保护壳的状态未发生大的变化,终端可以执行步骤S101,重新通过光传感器获取光强值。If it is detected that the change of the light intensity value is greater than the second light intensity threshold, it means that there is an obstruction blocking the light sensor of the terminal, or the environment has changed from sufficient light to insufficient light. The obstruction may be the user's hand, or it may be The flip cover of the protective case, at this time, the terminal can perform
步骤S104:终端检测在时刻T0到时刻T2内是否接收到用户操作。Step S104: The terminal detects whether a user operation is received from time T0 to time T2.
具体地,在终端接收到用户操作的情况下,保护壳处于打开状态;在终端未接收到用户操作时,终端可能处于打开状态也可能处于闭合状态。终端可以实时监控用户操作,当终端检测在时刻T0到时刻T2内是未接收到用户操作时,可以触发终端执行步骤S200。Specifically, when the terminal receives a user operation, the protective shell is in an open state; when the terminal does not receive a user operation, the terminal may be in an open state or a closed state. The terminal may monitor the user operation in real time, and when the terminal detects that the user operation is not received from time T0 to time T2, the terminal may be triggered to perform step S200.
其中,时刻T0为当前时刻,T2为当前时刻之后第二时长的时刻,该第二时长可以是5s、10s、16s等。该第二时长可以小于终端设置的进入自动休眠的无操作响应时长。用户操作可以是用户通过键盘、鼠标、按键、触摸屏、遥控器等输入的操作,例如在终端的触摸屏上针对目标的点击操作。Wherein, the time T0 is the current time, and T2 is the time of the second duration after the current time, and the second duration may be 5s, 10s, 16s, or the like. The second duration may be smaller than the no-operation response duration for entering automatic sleep mode set by the terminal. The user operation may be an operation input by the user through a keyboard, a mouse, a key, a touch screen, a remote control, etc., for example, a click operation on a target on the touch screen of the terminal.
当终端检测在时刻T0到时刻T2内接收到用户操作,则认为用户在使用终端,终端的保护壳处于打开状态,此时,终端可以执行步骤S101,也可以继续执行步骤S104;当终端检测在时刻T0到时刻T2内未接收到用户操作,则认为用户停止对终端的操作,用户可能对保护壳执行闭合操作,此时,终端可以执行步骤S200,进一步验证保护壳是否已闭合。When the terminal detects that a user operation is received from time T0 to time T2, it is considered that the user is using the terminal and the protective shell of the terminal is in an open state. At this time, the terminal can perform step S101 or continue to perform step S104; If no user operation is received from time T0 to time T2, it is considered that the user stops operating the terminal, and the user may perform a closing operation on the protective shell. At this time, the terminal can perform step S200 to further verify whether the protective shell is closed.
可以理解,终端也可以通过其他的装置或方法来识别或辅助识别保护壳的当前状态。例如,终端可以包括压力传感器,当终端的保护壳处于合上状态时,该压力传感器可以检测到保护壳的翻转盖由于覆盖该压力传感器而产生的压力信息,当终端通过压力传感器检测到压力信息大于预设压力阈值时,则识别保护壳处于闭合状态;否则,保护壳处于打开状态。It can be understood that the terminal can also identify or assist in identifying the current state of the protective shell through other devices or methods. For example, the terminal may include a pressure sensor. When the protective case of the terminal is in a closed state, the pressure sensor may detect the pressure information generated by the flip cover of the protective case covering the pressure sensor. When the terminal detects the pressure information through the pressure sensor When it is greater than the preset pressure threshold, it is recognized that the protective shell is in a closed state; otherwise, the protective shell is in an open state.
再例如,终端可以包括设置于终端正面的距离检测装置,可以通过距离检测装置检测到位于终端正上方的物体距离。当保护壳处于合上状态时,翻转盖紧贴距离检测装置,终端检测到的距离值远远小于在保护壳处于打开状态时距离检测装置检测到的距离值。当距离检测装置检测到的距离值小于预设距离阈值,比如1cm时,则识别保护壳处于闭合状态;否则,保护壳处于打开状态。For another example, the terminal may include a distance detection device disposed on the front of the terminal, and the distance of an object directly above the terminal may be detected by the distance detection device. When the protective case is in the closed state, the flip cover is close to the distance detection device, and the distance value detected by the terminal is far smaller than the distance value detected by the distance detection device when the protective case is in the open state. When the distance value detected by the distance detection device is less than a preset distance threshold, such as 1 cm, it is recognized that the protective case is in a closed state; otherwise, the protective case is in an open state.
又例如,终端也可以通过霍尔传感器识别保护壳的当前状态。For another example, the terminal can also identify the current state of the protective case through the Hall sensor.
步骤S200:终端以第一规律对发光装置进行开关控制,以及检测光传感器接收到的第一光强值的变化规律是否与所述第一规律相符合。Step S200: The terminal performs on-off control of the light-emitting device according to the first rule, and detects whether the change rule of the first light intensity value received by the light sensor is consistent with the first rule.
具体地,可以参见图2或图3所示的保护壳内导光条的导光原理,可见,在保护壳处于打开状态时,发光装置发射的光几乎全部扩散至周围环境中,能够被光传感器捕获的光很少,不足以表现出发光装置规律性开启和闭合所携带的信息;只有在保护壳处于闭合状态时,光传感器才会检测到第一光强值的规律性变化或者与第一规律相符合的第一光强值的变化规律。Specifically, referring to the light guide principle of the light guide strip in the protective shell shown in FIG. 2 or FIG. 3 , it can be seen that when the protective shell is in the open state, almost all the light emitted by the light-emitting device diffuses into the surrounding environment, and can be absorbed by the light. The light captured by the sensor is very small, which is not enough to show the information carried by the regular opening and closing of the light-emitting device; only when the protective case is in the closed state, the light sensor will detect the regular change of the first light intensity value or the first light intensity value. A change rule of the first light intensity value that is consistent with a rule.
第一规律可以是终端通过控制发光装置的开启时间和关闭时间形成的规律。该第一规律可是具有周期性的开关控制,比如开启指示灯,经1s后,关闭指示灯,经2s后再开启指示灯,并以此为周期进行发光装置的开关控制。The first rule may be a rule formed by the terminal by controlling the turn-on time and turn-off time of the light-emitting device. The first rule may have periodic switch control, such as turning on the indicator light, turning off the indicator light after 1 s, turning on the indicator light after 2 s, and performing on-off control of the light-emitting device as a cycle.
例如,请参阅图9,图9是本发明实施例提供的第一光强值的变化规律的检测原理示意图,终端可以对发光装置的进行开关控制以呈现如方波901所示的第一规律,其中,高电平表示发光装置处于开启状态,低电平表示发光装置处于关闭状态。可以理解,该方波具有一定的频率、占空比等。For example, please refer to FIG. 9. FIG. 9 is a schematic diagram of the detection principle of the change rule of the first light intensity value provided by the embodiment of the present invention. , wherein a high level indicates that the light-emitting device is in an on state, and a low level indicates that the light-emitting device is in an off state. It can be understood that the square wave has a certain frequency, duty cycle, and the like.
在保护壳处于闭合状态时,光传感器接收到的第一光强值所形成的图像如波形902所示。第一方面,终端可以通过分析波形902是否为规律性变化的波形,比如是否包含特定的频率,当波形902为规律性变化的波形时,则光传感器接收到的第一光强值的变化规律与所述第一规律相符合。第二方面,终端可以通过分析波形902的频率,当波形902的频率与方波901的频率相等或差值小于预设阈值(比如1Hz等)时,则光传感器接收到的第一光强值的变化规律与所述第一规律相符合。第三方面,终端可以计算波形902的占空比以及方波901的占空比,当波形902的占空比以及方波901的占空比之差小于预设阈值,比如0.05时,则光传感器接收到的第一光强值的变化规律与所述第一规律相符合。第四方面,终端可以对波形902进行的滤波处理,如进行比较运算后,形成波形903,通过比对方波901和波形903的频率是否相等,或方波901和波形903的占空比之差是否小于预设阈值,确定传感器接收到的第一光强值的变化规律是否与所述第一规律相符合,可参见上述第二方面和第三方面中相关描述。When the protective case is in a closed state, the image formed by the first light intensity value received by the light sensor is shown as
可以理解,当终端放置在用户口袋,或行驶的车辆中,由于用户的规律性走动或车辆的规律性颠簸,保护壳可能会不断地发生小角度地开合,此时终端也能检测到第一光强值的规律性变化,此时,可以通过进一步判断第一光强值的频率或占空比是否与第一规律相符合,如果是,则光传感器接收到的第一光强值的变化规律与所述第一规律相符合。It can be understood that when the terminal is placed in the user's pocket or in a moving vehicle, due to the regular movement of the user or the regular bumping of the vehicle, the protective case may be opened and closed at a small angle continuously. At this time, the terminal can also detect the first A regular change of the light intensity value, at this time, it can be further judged whether the frequency or duty cycle of the first light intensity value conforms to the first law, if so, the first light intensity value received by the light sensor is The changing law is consistent with the first law.
可以理解,当保护壳处于打开状态时,步骤S200中,终端可以对发光装置进行1个周期的开关控制,也可以进行多个周期的开关控制。It can be understood that when the protective case is in an open state, in step S200, the terminal may perform one-cycle on-off control on the light-emitting device, or can perform multiple-cycle on-off control.
当光传感器接收到的第一光强值的变化规律与所述第一规律相符合时,保护壳进入闭合状态,终端可以执行步骤S300;否者,保护壳处于打开状态,终端可以执行步骤S100、S101或S104,终端也可以在监控到终端的无操作时长超过终端设置的进入自动休眠的无操作响应时长时,控制终端进入休眠状态。When the change rule of the first light intensity value received by the light sensor is consistent with the first rule, the protective case enters the closed state, and the terminal may perform step S300; otherwise, the protective case is in the open state, and the terminal may perform step S100 , S101 or S104, the terminal may also control the terminal to enter the sleep state when the monitored inactivity duration of the terminal exceeds the inactivity response duration set by the terminal to enter automatic sleep.
步骤S300:终端执行第一操作。Step S300: The terminal performs the first operation.
具体地,在检测到光传感器接收到的第一光强值的变化规律与第一规律相符合时,则终端检测到保护壳的闭合操作,终端可以执行第一操作。该第一操作可以是休眠操作或息屏操作,以减少终端的能耗。Specifically, when it is detected that the change rule of the first light intensity value received by the light sensor is consistent with the first rule, the terminal detects the closing operation of the protective case, and the terminal can perform the first operation. The first operation may be a sleep operation or a screen-off operation, so as to reduce the power consumption of the terminal.
步骤S400:终端以第二规律对发光装置进行开关控制,以及检测光传感器接收到的第二光强值的变化规律是否与第二规律相符合。Step S400: The terminal controls the on-off of the light-emitting device according to the second rule, and detects whether the change rule of the second light intensity value received by the light sensor is consistent with the second rule.
具体地,当终端识别保护壳处于闭合状态时,终端可以对发光装置以第二规律进行开关控制,其中,关于第二规律的描述以及第二光强值的变化规律的检测原理,可以分别参见步骤S200中关于第一规律以及第一光强值的变化规律的检测原理的描述,本申请不在赘述。第二规律可以与第一规律相同也可以与第一规律不同,即第二规律所包含的频率、占空比等可以与第一规律所包含的频率、占空比等相同或不同。Specifically, when the terminal recognizes that the protective shell is in a closed state, the terminal can perform on-off control on the light-emitting device according to the second law, wherein, for the description of the second law and the detection principle of the change law of the second light intensity value, please refer to The description about the detection principle of the first law and the change law of the first light intensity value in step S200 will not be repeated in this application. The second law may be the same as the first law or different from the first law, that is, the frequency, duty cycle, etc. included in the second law may be the same or different from those included in the first law.
可以理解,终端不断地以第二规律对发光装置进行开关控制直至终端检测到第二光强值的变化规律不符合第二规律,此时,终端可以执行步骤S500。It can be understood that the terminal continuously controls the switching of the light-emitting device according to the second rule until the terminal detects that the change rule of the second light intensity value does not conform to the second rule. At this time, the terminal may execute step S500.
步骤500:终端执行第二操作。Step 500: The terminal performs the second operation.
具体地,在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,则终端检测到保护壳的打开操作,终端可以执行第二操作。该第二操作可以是唤醒系统,也可以是屏幕唤醒操作。Specifically, when it is detected that the change rule of the second light intensity value received by the light sensor does not conform to the second rule, the terminal detects the opening operation of the protective case, and the terminal can perform the second operation. The second operation may be a wake-up system or a screen wake-up operation.
步骤S600:终端关闭发光装置。Step S600: The terminal turns off the light-emitting device.
可以理解,终端在执行第二操作的同时或之后,终端可以关闭发光装置,并执行步骤S101,避免发光装置发射的光影响对保护壳状态的识别。It can be understood that while or after the terminal performs the second operation, the terminal can turn off the light-emitting device and perform step S101 to prevent the light emitted by the light-emitting device from affecting the identification of the state of the protective case.
本申请实施例中,在保护壳处于打开状态的情况下,终端以第一规律对发光装置进行开关控制,以及在检测到光传感器接收到的第一光强值的变化规律与第一规律相符合时,终端执行第一操作;在保护壳处于闭合状态的情况下,终端以第二规律对发光装置进行开关控制,以及在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,终端执行第二操作,进而实现保护壳对终端的控制。In the embodiment of the present application, when the protective case is in an open state, the terminal switches on and off the light-emitting device according to the first rule, and when it is detected that the change rule of the first light intensity value received by the light sensor is consistent with the first rule When it matches, the terminal performs the first operation; when the protective case is in a closed state, the terminal switches on and off the light-emitting device according to the second law, and detects that the change law of the second light intensity value received by the light sensor is consistent with the first operation. When the second rule is not met, the terminal performs the second operation, thereby realizing the control of the terminal by the protective shell.
而且,终端通过控制发光装置以一定的规律发送光信号,可避免与光传感器接收到的环境中的光信号混淆,且提高终端对保护壳的状态识别的准确性。Moreover, by controlling the light-emitting device to send the optical signal in a certain regularity, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and improve the accuracy of the terminal's identification of the state of the protective shell.
请参阅图10,图10是本发明实施例提供的又一种终端控制方法的流程示意图,该终端控制方法可以包括:Please refer to FIG. 10. FIG. 10 is a schematic flowchart of another terminal control method provided by an embodiment of the present invention. The terminal control method may include:
步骤S1010:终端以第一规律对发光装置进行开关控制。Step S1010: The terminal performs on-off control on the light-emitting device according to the first rule.
具体地,可以参见图2或图3所示的保护壳内导光条的导光原理,可见,在保护壳处于打开状态时,发光装置发射的光几乎全部扩散至周围环境中,能够被光传感器捕获的光很少,不足以表现出发光装置规律性开启和闭合所携带的信息;只有在保护壳处于闭合状态时,光传感器才会检测到第一光强值的规律性变化或者与第一规律相符合的第一光强值的变化规律。Specifically, referring to the light guide principle of the light guide strip in the protective shell shown in FIG. 2 or FIG. 3 , it can be seen that when the protective shell is in the open state, almost all the light emitted by the light-emitting device diffuses into the surrounding environment, and can be absorbed by the light. The light captured by the sensor is very small, which is not enough to show the information carried by the regular opening and closing of the light-emitting device; only when the protective case is in the closed state, the light sensor will detect the regular change of the first light intensity value or the first light intensity value. A change rule of the first light intensity value that is consistent with a rule.
终端可以始终以第一规律对发光装置进行开关控制。关于第一规律的描述可以参见图7所示的方法实施例步骤S200中关于第一规律的描述,本申请不在赘述。The terminal can always perform on-off control on the light-emitting device according to the first law. For the description of the first law, reference may be made to the description of the first law in step S200 of the method embodiment shown in FIG. 7 , which is not repeated in this application.
步骤S1020:在检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,终端执行第一操作。Step S1020: The terminal performs the first operation when it is detected that the change rule of the light intensity value received by the light sensor changes from not conforming to the first rule to conforming to the first rule.
光强值的变化规律的检测原理可以参见图7或图8所示的方法实施例步骤S200中关于第一光强值的变化规律的检测原理的相关描述,本发明不在赘述。For the detection principle of the change law of the light intensity value, reference may be made to the relevant description of the detection principle of the change law of the first light intensity value in step S200 of the method embodiment shown in FIG. 7 or FIG. 8 , which is not repeated in the present invention.
可以理解,终端实时检测光传感器接收到的光强值的变化规律。在光传感器当前接收到的光强值的变化规律不符合第一规律时,则保护壳当前处于打开状态;当光传感器当前接收到的光强值的变化规律符合第一规律时,则保护壳当前处于打开状态。It can be understood that the terminal detects the change law of the light intensity value received by the light sensor in real time. When the change law of the light intensity value currently received by the light sensor does not conform to the first law, the protective case is currently in an open state; when the change law of the light intensity value currently received by the light sensor conforms to the first law, then the protective case Currently open.
当检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,则说明保护壳从打开状态转变为闭合状态,即检测到针对保护壳的闭合操作,此时,终端可以执行第一操作。该第一操作可以是休眠操作,以减少终端的能耗。When it is detected that the change law of the light intensity value received by the light sensor changes from not conforming to the first law to conforming to the first law, it means that the protective case has changed from the open state to the closed state, that is, the closing operation for the protective case is detected. At this time, the terminal can perform the first operation. The first operation may be a sleep operation to reduce power consumption of the terminal.
例如,当终端以第一频率对发光装置进行开关控制时,终端在检测到光传感器接收到的光强值的频率从非第一频率转变为第一频率时,终端可以执行第一操作。For example, when the terminal switches on and off the light-emitting device at the first frequency, the terminal may perform the first operation when the terminal detects that the frequency of the light intensity value received by the light sensor changes from the non-first frequency to the first frequency.
步骤S1030:在检测到光传感器接收到的光强值的变化规律从符合第一规律转变为不符合第一规律时,终端执行第二操作。Step S1030: When detecting that the change rule of the light intensity value received by the light sensor changes from conforming to the first rule to not conforming to the first rule, the terminal performs the second operation.
当检测到光传感器接收到的光强值的变化规律从符合第一规律转变为不符合第一规律时,则说明保护壳从闭合状态转变为打开状态,即检测针对保护壳的打开操作,此时,终端可以执行第二操作。该第二操作可以是唤醒系统。When it is detected that the change law of the light intensity value received by the light sensor changes from conforming to the first law to not conforming to the first law, it means that the protective case has changed from a closed state to an open state, that is, an opening operation for the protective case is detected. , the terminal can perform the second operation. The second operation may be to wake up the system.
例如,当终端以第一频率对发光装置进行开关控制时,终端在检测到光传感器接收到的光强值的频率从第一频率转变为非第一频率时,终端可以执行第二操作。For example, when the terminal switches on and off the light-emitting device at the first frequency, when the terminal detects that the frequency of the light intensity value received by the light sensor changes from the first frequency to a non-first frequency, the terminal can perform the second operation.
本申请实施例中,终端以第一规律对发光装置进行开关控制,在检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,终端执行第一操作;在检测到光传感器接收到的光强值的变化规律从符合第一规律转变为不符合第一规律时,终端执行第二操作,以实现保护壳对终端的控制。In the embodiment of the present application, the terminal performs on-off control on the light-emitting device according to the first rule, and when it is detected that the change rule of the light intensity value received by the light sensor changes from not conforming to the first rule to conforming to the first rule, the terminal executes the first rule. Operation; when it is detected that the change law of the light intensity value received by the light sensor changes from conforming to the first law to not conforming to the first law, the terminal performs the second operation, so as to realize the control of the terminal by the protective shell.
而且,终端通过控制发光装置以一定的规律发送光信号,可避免与光传感器接收到的环境中的光信号混淆,且提高终端对保护壳的状态识别的准确性。Moreover, by controlling the light-emitting device to send the optical signal in a certain regularity, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and improve the accuracy of the terminal's identification of the state of the protective shell.
还需要说明的是,本申请中,图7、图8以及图10所示的方法实施例中,终端可以包括显示屏,第一操作可以是息屏操作,第二操作可以是屏幕唤醒操作;第一操作还可以是锁屏操作,第二操作可以是解锁操作或进入解锁界面的操作等;第一操作也可以是针对指定应用的关闭操作,第二操作可以是针对指定应用的打开操作,例如第一操作为Facebook的退出操作,第二操作为Facebook的登录操作;第一操作也可以是关机操作,第二操作可以是开机操作;当有来电时,第一操作也可以是对当前来电的挂断操作,第二操作可以是对当前来电的接听操作;当前显示界面为视频应用的显示界面时,第一操作可以针对当前显示视频的暂停操作,第二操作可以是针对当前显示视频的播放操作。第一操作和第二操作还可以是其他操作,本申请不再赘述。It should also be noted that, in the present application, in the method embodiments shown in FIG. 7 , FIG. 8 and FIG. 10 , the terminal may include a display screen, the first operation may be a screen-off operation, and the second operation may be a screen wake-up operation; The first operation may also be a screen-locking operation, and the second operation may be an unlocking operation or an operation of entering an unlocking interface; the first operation may also be a closing operation for a specified application, and the second operation may be an opening operation for a specified application, For example, the first operation is a Facebook logout operation, and the second operation is a Facebook login operation; the first operation can also be a shutdown operation, and the second operation can be a power-on operation; when there is an incoming call, the first operation can also be the current incoming call. The second operation may be an answering operation for the current incoming call; when the current display interface is the display interface of a video application, the first operation may be a pause operation for the currently displayed video, and the second operation may be for the currently displayed video. play operation. The first operation and the second operation may also be other operations, which will not be repeated in this application.
请参阅图11,图11是本发明实施例提供的一种终端的结构示意图。该终端可以包括:Please refer to FIG. 11. FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal can include:
检测单元1101,用于检测保护壳的当前状态;The
控制单元1102,用于在所述保护壳处于打开状态的情况下,以第一规律对发光装置进行开关控制;a
处理单元1103,用于在所述保护壳处于打开状态的情况下以及在检测到光传感器接收到的第一光强值的变化规律与所述第一规律相符合时,所述终端执行第一操作;The
所述控制单元1102还用于:在所述保护壳处于闭合状态的情况下,以第二规律对发光装置进行开关控制;The
所述处理单元1103还用于:在所述保护壳处于闭合状态的情况下以及在检测到光传感器接收到的第二光强值的变化规律与所述第二规律不符合时,所述终端执行第二操作;The
其中,保护壳设置有导光条,且保护壳处于闭合状态时导光条覆盖终端上设置的发光装置以及光传感器。Wherein, the protective shell is provided with a light guide strip, and when the protective shell is in a closed state, the light guide strip covers the light emitting device and the light sensor provided on the terminal.
可选地,所述处理单元1103还用于:通过光传感器获取光强值;Optionally, the
所述控制单元1102还用于:在所述光强值大于第一光强阈值且检测到时刻T1到时刻T0内获取到的光强值的变化大于第二光强阈值时,以第一规律对发光装置进行开关控制N个周期;N为正整数;所述时刻T0为当前时刻,所述T1为所述当前时刻之前第一时长的时刻;The
所述处理单元1103还用于:在检测到所述光传感器接收到的第一光强值的变化规律与所述第一规律符合时,执行第一操作。The
可选地,所述处理单元1103还用于:在所述光强值不大于所述第一光强阈值时,检测在时刻T0到时刻T2内是否接收到用户操作;所述时刻T0为当前时刻,所述T2为所述当前时刻之后第二时长的时刻;Optionally, the
当在时刻T0到时刻T2内未接收到用户操作时,触发所述控制单元执行所述以第一规律对发光装置进行开关控制N个周期;When no user operation is received from time T0 to time T2, triggering the control unit to perform the switching control of the light-emitting device according to the first rule for N cycles;
在检测到所示光传感器接收到的第一光强值的变化规律与所述第一规律符合时,执行第一操作。The first operation is performed when it is detected that the variation rule of the first light intensity value received by the shown light sensor conforms to the first rule.
可选地,所述处理单元1103执行所述以第一规律对发光装置进行开关控制N个周期包括:以第一频率对发光装置进行开关控制N个周期;Optionally, the
所述处理单元1103执行所述在检测到所述光传感器接收到的第一光强值的变化规律与所述第一规律符合时,执行第一操作包括:检测所述光传感器接收到的第一光强值的变化频率是否为所述第一频率;当所述光传感器接收到的第一光强值的变化频率为所述第一频率时,执行第一操作。The
可选地,所述处理单元1103执行所述以第二规律对发光装置进行开关控制包括:以第二频率对发光装置进行开关控制;Optionally, the
所述处理单元1103执行所述在检测到光传感器接收到的第二光强值的变化规律与所述第二规律不符合时,执行第二操作包括:检测光传感器接收到的第二光强值的变化频率是否为所述第二频率;当所述光传感器接收到的第二光强值的变化频率为所述第二频率时,执行第二操作。The
本申请实施例中,在保护壳处于打开状态的情况下,终端以第一规律对发光装置进行开关控制,以及在检测到光传感器接收到的第一光强值的变化规律与第一规律相符合时,终端执行第一操作;在保护壳处于闭合状态的情况下,终端以第二规律对发光装置进行开关控制,以及在检测到光传感器接收到的第二光强值的变化规律与第二规律不符合时,终端执行第二操作,进而实现保护壳对终端的控制。In the embodiment of the present application, when the protective case is in an open state, the terminal switches on and off the light-emitting device according to the first rule, and when it is detected that the change rule of the first light intensity value received by the light sensor is consistent with the first rule When it matches, the terminal performs the first operation; when the protective case is in a closed state, the terminal switches on and off the light-emitting device according to the second law, and detects that the change law of the second light intensity value received by the light sensor is consistent with the first operation. When the second rule is not met, the terminal performs the second operation, thereby realizing the control of the terminal by the protective shell.
而且,终端通过控制发光装置以一定的频率发送光信号,可避免与光传感器接收到的环境中的光信号混淆,可提高终端对保护壳的状态识别的准确性。Moreover, by controlling the light-emitting device to transmit the optical signal at a certain frequency, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and can improve the accuracy of the terminal's identification of the state of the protective shell.
请参阅图12,图12是本发明实施例提供的一种终端的结构示意图。该终端可以包括:Please refer to FIG. 12. FIG. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal can include:
控制单元1201,用于以第一规律对发光装置进行开关控制;a
处理单元1202,用于在检测到光传感器接收到的光强值的变化规律从不符合所述第一规律转变为符合所述第一规律时,执行第一操作;以及,The
在检测到光传感器接收到的光强值的变化规律从符合所述第一规律转变为不符合所述第一规律时,执行第二操作;When it is detected that the change law of the light intensity value received by the light sensor changes from conforming to the first law to not conforming to the first law, execute the second operation;
其中,保护壳设置有导光条,且保护壳处于闭合状态时导光条覆盖终端上设置的发光装置以及光传感器。Wherein, the protective shell is provided with a light guide strip, and when the protective shell is in a closed state, the light guide strip covers the light emitting device and the light sensor provided on the terminal.
可选地,Optionally,
所述控制单元1201具体用于:终端以第一频率对发光装置进行开关控制;The
所述处理单元1202执行所述在检测到光传感器接收到的光强值的变化规律从不符合所述第一规律转变为符合所述第一规律时,执行第一操作包括:在检测到光传感器接收到的光强值的频率从非第一频率转变为所述第一频率时,执行第一操作;The
所述处理单元1202执行所述在检测到光传感器接收到的光强值的变化从符合所述第一规律转变为不符合所述第一规律时,所述终端执行第二操作包括:在检测到光传感器接收到的光强值的频率从所述第一频率转变为非第一频率时,执行第二操作。The
本申请实施例中,终端以第一规律对发光装置进行开关控制,在检测到光传感器接收到的光强值的变化规律从不符合第一规律转变为符合第一规律时,终端执行第一操作;在检测到光传感器接收到的光强值的变化规律从符合第一规律转变为不符合第一规律时,终端执行第二操作,以实现保护壳对终端的控制。In the embodiment of the present application, the terminal performs on-off control on the light-emitting device according to the first rule, and when it is detected that the change rule of the light intensity value received by the light sensor changes from not conforming to the first rule to conforming to the first rule, the terminal executes the first rule. Operation; when it is detected that the change law of the light intensity value received by the light sensor changes from conforming to the first law to not conforming to the first law, the terminal performs the second operation, so as to realize the control of the terminal by the protective shell.
而且,终端通过控制发光装置以一定的规律发送光信号,可避免与光传感器接收到的环境中的光信号混淆,且提高终端对保护壳的状态识别的准确性。Moreover, by controlling the light-emitting device to send the optical signal in a certain regularity, the terminal can avoid confusion with the optical signal in the environment received by the optical sensor, and improve the accuracy of the terminal's identification of the state of the protective shell.
本发明实施例中所使用的技术术语仅用于说明特定实施例而并不旨在限定本发明。在本文中,单数形式“一”、“该”及“所述”用于同时包括复数形式,除非上下文中明确另行说明。进一步地,在说明书中所使用的用于“包括”和/或“包含”是指存在所述特征、整体、步骤、操作、元件和/或构件,但是并不排除存在或增加一个或多个其它特征、整体、步骤、操作、元件和/或构件。The technical terms used in the embodiments of the present invention are only used to describe specific embodiments and are not intended to limit the present invention. As used herein, the singular forms "a," "the," and "the" are used to include the plural forms as well, unless the context clearly dictates otherwise. Further, as used in the specification for "comprising" and/or "comprising" refers to the presence of the stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more Other features, integers, steps, operations, elements and/or components.
在所附权利要求中对应结构、材料、动作以及所有装置或者步骤以及功能元件的等同形式(如果存在的话)旨在包括结合其他明确要求的元件用于执行该功能的任何结构、材料或动作。本发明的描述出于实施例和描述的目的被给出,但并不旨在是穷举的或者将被发明限制在所公开的形式。The corresponding structures, materials, acts, and equivalents of all means or step and function elements, if any, in the appended claims are intended to include any structure, material, or act for performing the function in combination with other explicitly claimed elements. The description of the present invention has been presented for purposes of example and description, but is not intended to be exhaustive or to limit the invention to the form disclosed.
Claims (21)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2016111770131 | 2016-12-19 | ||
| CN201611177013 | 2016-12-19 | ||
| PCT/CN2017/077029 WO2018113111A1 (en) | 2016-12-19 | 2017-03-17 | Terminal control method and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108702417A CN108702417A (en) | 2018-10-23 |
| CN108702417B true CN108702417B (en) | 2022-04-12 |
Family
ID=62624271
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780012406.3A Active CN108702417B (en) | 2016-12-19 | 2017-03-17 | Terminal control method and terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108702417B (en) |
| WO (1) | WO2018113111A1 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103067609A (en) * | 2013-01-23 | 2013-04-24 | 广东欧珀移动通信有限公司 | Unlock method and system and device of mobile terminal |
| CN103516902A (en) * | 2013-09-18 | 2014-01-15 | 广东欧珀移动通信有限公司 | Method and device for controlling screen state of electronic equipment through protection cover |
| CN103546645A (en) * | 2013-10-30 | 2014-01-29 | 上海斐讯数据通信技术有限公司 | System, method and mobile terminal for achieving smart cover function of mobile terminal |
| CN204316574U (en) * | 2014-12-31 | 2015-05-06 | 华森科技(深圳)有限公司 | Leather cover for handset |
| CN104834497A (en) * | 2015-05-15 | 2015-08-12 | 北京智膜科技有限公司 | On screen display control method and controller |
| US9122392B2 (en) * | 2010-08-13 | 2015-09-01 | Lg Electronics Inc. | Mobile terminal, display device and controlling method thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201222323A (en) * | 2010-11-30 | 2012-06-01 | Hon Hai Prec Ind Co Ltd | Electronic device having proximity detection function |
| CN103309572A (en) * | 2012-03-16 | 2013-09-18 | 联想(北京)有限公司 | Method and device for state switching |
-
2017
- 2017-03-17 CN CN201780012406.3A patent/CN108702417B/en active Active
- 2017-03-17 WO PCT/CN2017/077029 patent/WO2018113111A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9122392B2 (en) * | 2010-08-13 | 2015-09-01 | Lg Electronics Inc. | Mobile terminal, display device and controlling method thereof |
| CN103067609A (en) * | 2013-01-23 | 2013-04-24 | 广东欧珀移动通信有限公司 | Unlock method and system and device of mobile terminal |
| CN103516902A (en) * | 2013-09-18 | 2014-01-15 | 广东欧珀移动通信有限公司 | Method and device for controlling screen state of electronic equipment through protection cover |
| CN103546645A (en) * | 2013-10-30 | 2014-01-29 | 上海斐讯数据通信技术有限公司 | System, method and mobile terminal for achieving smart cover function of mobile terminal |
| CN204316574U (en) * | 2014-12-31 | 2015-05-06 | 华森科技(深圳)有限公司 | Leather cover for handset |
| CN104834497A (en) * | 2015-05-15 | 2015-08-12 | 北京智膜科技有限公司 | On screen display control method and controller |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108702417A (en) | 2018-10-23 |
| WO2018113111A1 (en) | 2018-06-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10372260B2 (en) | Apparatus and method of adjusting power mode of a display of a device | |
| US20080266083A1 (en) | Method and algorithm for detecting movement of an object | |
| KR101575445B1 (en) | A portable electronic device having interchangeable user interfaces and method thereof | |
| US7957762B2 (en) | Using ambient light sensor to augment proximity sensor output | |
| JP6266833B1 (en) | Electronic device, program, and control method | |
| US20150058651A1 (en) | Method and apparatus for saving battery of portable terminal | |
| US20080134102A1 (en) | Method and system for detecting movement of an object | |
| KR20140140891A (en) | Apparatus and Method for operating a proximity sensor function in an electronic device having touch screen | |
| KR102059825B1 (en) | Mobile electronic apparatus having protective cover and method for controlling the mobile electronic apparatus | |
| JP5555200B2 (en) | Method for waking up an electronic device having a touch panel and electronic device | |
| CN104636065A (en) | Method and device for awakening terminal | |
| CN103841258B (en) | Use the method and mancarried device of humidity sensor control mancarried device | |
| KR20120009851A (en) | Method of executing protected mode in a mobile terminal and using the method | |
| CN106233705B (en) | A terminal control method and terminal | |
| JP2019030000A (en) | Electronic apparatus, program, and control method | |
| CN105242867A (en) | Handset and control method therefor | |
| TW201510772A (en) | Gesture determination method and electronic device | |
| WO2013063249A1 (en) | Infrared reflection based cover detection | |
| CN105138173B (en) | A kind of control method of touching display screen | |
| CN106886351A (en) | A kind of display methods of terminal time information, device and computer equipment | |
| CN108702417B (en) | Terminal control method and terminal | |
| WO2019041192A1 (en) | Method for controlling screen and terminal | |
| CN111651082A (en) | A touch screen unlocking method, device, electronic device and storage medium | |
| JP6295363B1 (en) | Electronic device, program, and control method | |
| WO2018076384A1 (en) | Screen locking method, terminal and screen locking device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |