CN104965703A - Method and mobile terminal for controlling screen-on of mobile terminal - Google Patents
Method and mobile terminal for controlling screen-on of mobile terminal Download PDFInfo
- Publication number
- CN104965703A CN104965703A CN201510338572.5A CN201510338572A CN104965703A CN 104965703 A CN104965703 A CN 104965703A CN 201510338572 A CN201510338572 A CN 201510338572A CN 104965703 A CN104965703 A CN 104965703A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- screen
- described mobile
- countdown
- attitudes vibration
- 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.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
Abstract
本发明实施例公开了一种控制移动终端亮屏的方法及移动终端,其中,该方法包括:当移动终端亮屏时,启动熄屏倒计时;在熄屏倒计时完成时,检测移动终端是否发生指定的姿态变化事件;若移动终端发生指定的姿态变化事件,控制移动终端保持亮屏并重新启动熄屏倒计时。实施本发明实施例,能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。
The embodiment of the present invention discloses a method for controlling the bright screen of a mobile terminal and the mobile terminal, wherein the method includes: when the screen of the mobile terminal is bright, start a countdown to turn off the screen; gesture change event; if a specified gesture change event occurs on the mobile terminal, control the mobile terminal to keep the screen on and restart the countdown to turn off the screen. By implementing the embodiments of the present invention, it is possible to conveniently and intelligently control the maintenance time of the bright screen of the mobile terminal, and the intelligent control of the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal and improve user experience.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种控制移动终端亮屏的方法及移动终端。The present invention relates to the field of electronic technology, in particular to a method for controlling the bright screen of a mobile terminal and the mobile terminal.
背景技术Background technique
随着终端技术的飞速发展,终端的功能日益强大,已逐渐成为人们日常生活中不可或缺的组成部分,人们可以利用终端播放音/视频文件、阅读电子书、浏览网页、玩游戏等各项操作。在实践中发现,当用户一段时间不对终端(例如:手机)进行操作时,手机就会自动进入熄屏状态。当用户使用手机阅读电子书或者浏览网页时,如果看得比较慢,就可能会出现正在看的时候手机熄屏的情况,使得用户需要再次点触屏幕使手机亮屏才可以继续观看。目前,为防止手机在使用时自动熄屏,一般将手机自动熄屏的时间设置的更长一些,或者将手机设置成常亮。虽然上述操作可以解决手机在使用时自动熄屏的问题,然而却需要用户手动进行设置,使得操作较为繁琐;此外,当用户不需要使用手机时,长时间的亮屏会增加手机的耗电量。With the rapid development of terminal technology, the functions of the terminal are becoming more and more powerful, and it has gradually become an indispensable part of people's daily life. People can use the terminal to play audio/video files, read e-books, browse the web, play games, etc. operate. It is found in practice that when the user does not operate the terminal (for example: mobile phone) for a period of time, the mobile phone will automatically enter the state of turning off the screen. When a user uses a mobile phone to read an e-book or browse the web, if the reading is slow, the screen of the mobile phone may be turned off during reading, so that the user needs to touch the screen again to turn on the screen of the mobile phone before continuing to watch. At present, in order to prevent the mobile phone from automatically turning off the screen when in use, generally the time for the mobile phone to automatically turn off the screen is set longer, or the mobile phone is set to be always on. Although the above operation can solve the problem of automatically turning off the screen when the mobile phone is in use, it requires the user to manually set the settings, which makes the operation more cumbersome; in addition, when the user does not need to use the mobile phone, the long-term bright screen will increase the power consumption of the mobile phone .
发明内容Contents of the invention
本发明实施例公开了一种控制移动终端亮屏的方法及移动终端,能够便捷、智能地控制移动终端亮屏的维持时间,且有效降低移动终端的耗电量。The embodiment of the present invention discloses a method for controlling the bright screen of a mobile terminal and the mobile terminal, which can conveniently and intelligently control the maintenance time of the bright screen of the mobile terminal, and effectively reduce the power consumption of the mobile terminal.
本发明实施例第一方面公开了一种控制移动终端亮屏的方法,包括:The first aspect of the embodiment of the present invention discloses a method for controlling the bright screen of a mobile terminal, including:
当移动终端亮屏时,启动熄屏倒计时;When the mobile terminal turns on the screen, start the countdown to turn off the screen;
在所述熄屏倒计时完成时,检测所述移动终端是否发生指定的姿态变化事件;When the screen-off countdown is completed, detect whether a specified posture change event occurs on the mobile terminal;
若所述移动终端发生指定的姿态变化事件,控制所述移动终端保持亮屏并重新启动所述熄屏倒计时。If a specified posture change event occurs on the mobile terminal, control the mobile terminal to keep the screen on and restart the screen off countdown.
在一个实施例中,所述在所述熄屏倒计时完成时,检测所述移动终端是否发生指定的姿态变化事件,包括:In one embodiment, when the screen-off countdown is completed, detecting whether a specified gesture change event occurs on the mobile terminal includes:
在所述熄屏倒计时完成时,检测所述移动终端的运动强度是否大于或等于预设目标强度值,若大于或等于,则检测出所述移动终端发生指定的姿态变化事件。When the screen-off countdown is completed, it is detected whether the motion intensity of the mobile terminal is greater than or equal to a preset target intensity value, and if it is greater than or equal to, it is detected that a specified posture change event occurs in the mobile terminal.
在一个实施例中,所述移动终端的运动强度包括:In one embodiment, the exercise intensity of the mobile terminal includes:
所述移动终端的运动加速度大小、所述移动终端的运动幅度大小以及所述移动终端的运动速率大小中的至少一种。At least one of the magnitude of the motion acceleration of the mobile terminal, the magnitude of the motion amplitude of the mobile terminal, and the magnitude of the motion velocity of the mobile terminal.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
当检测所述移动终端未发生指定的姿态变化事件时,控制所述移动终端熄屏。When it is detected that no specified posture change event occurs on the mobile terminal, the screen of the mobile terminal is controlled to turn off.
在一个实施例中,所述在所述熄屏倒计时完成之后,所述检测所述移动终端是否发生指定的姿态变化事件之前,所述方法还包括:In one embodiment, after the screen-off countdown is completed and before detecting whether a specified posture change event occurs on the mobile terminal, the method further includes:
开启状态传感器;open status sensor;
其中,所述检测所述移动终端是否发生指定的姿态变化事件,包括:Wherein, the detecting whether a specified posture change event occurs on the mobile terminal includes:
通过所述状态传感器检测所述移动终端是否发生指定的姿态变化事件。Detecting whether a specified posture change event occurs on the mobile terminal through the state sensor.
本发明实施例第二方面公开了一种移动终端,包括:The second aspect of the embodiment of the present invention discloses a mobile terminal, including:
启动单元,用于当移动终端亮屏时,启动熄屏倒计时;The starting unit is used to start the countdown to turn off the screen when the screen of the mobile terminal is on;
检测单元,用于在所述熄屏倒计时完成时,检测所述移动终端是否发生指定的姿态变化事件;A detection unit, configured to detect whether a specified posture change event occurs on the mobile terminal when the screen-off countdown is completed;
控制单元,用于当所述检测单元检测到所述移动终端发生指定的姿态变化事件时,控制所述移动终端保持亮屏并重新启动所述熄屏倒计时。A control unit, configured to control the mobile terminal to keep the screen on and restart the screen-off countdown when the detection unit detects that a specified posture change event occurs on the mobile terminal.
在一个实施例中,所述检测单元具体用于在所述熄屏倒计时完成时,检测所述移动终端的运动强度是否大于或等于预设目标强度值,若大于或等于,则检测出所述移动终端发生指定的姿态变化事件。In one embodiment, the detection unit is specifically configured to detect whether the motion intensity of the mobile terminal is greater than or equal to a preset target intensity value when the screen-off countdown is completed, and if it is greater than or equal to, detect the The specified attitude change event occurs on the mobile terminal.
在一个实施例中,所述移动终端的运动强度包括:In one embodiment, the exercise intensity of the mobile terminal includes:
所述移动终端的运动加速度大小、所述移动终端的运动幅度大小以及所述移动终端的运动速率大小中的至少一种。At least one of the magnitude of the motion acceleration of the mobile terminal, the magnitude of the motion amplitude of the mobile terminal, and the magnitude of the motion velocity of the mobile terminal.
在一个实施例中,所述控制单元,还用于当所述检测单元检测到所述移动终端未发生指定的姿态变化事件时,控制所述移动终端熄屏。In one embodiment, the control unit is further configured to control the mobile terminal to turn off the screen when the detection unit detects that a specified gesture change event does not occur on the mobile terminal.
在一个实施例中,所述启动单元,还用于在所述熄屏倒计时完成之后,在所述检测单元检测所述移动终端是否发生指定的姿态变化事件之前,开启状态传感器;In one embodiment, the starting unit is further configured to turn on the state sensor after the screen-off countdown is completed and before the detection unit detects whether a specified posture change event occurs on the mobile terminal;
所述检测单元检测所述移动终端是否发生指定的姿态变化事件的方式具体为:The manner in which the detection unit detects whether a specified posture change event occurs on the mobile terminal is specifically as follows:
所述检测单元通过所述状态传感器检测所述移动终端是否发生指定的姿态变化事件。The detection unit detects whether a specified posture change event occurs on the mobile terminal through the state sensor.
本发明实施例中,当移动终端亮屏时,可以启动熄屏倒计时,在熄屏倒计时完成时,可以检测移动终端是否发生指定的姿态变化事件,若发生,则控制移动终端保持亮屏并重新启动熄屏倒计时。实施本发明实施例,在移动终端进入熄屏倒计时时,可以检测移动终端是否发生指定的姿态变化事件,并根据检测结果来控制移动终端是否继续亮屏,从而能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。In the embodiment of the present invention, when the screen of the mobile terminal is turned on, the screen-off countdown can be started, and when the screen-off countdown is completed, it can be detected whether a specified posture change event occurs on the mobile terminal, and if it occurs, the mobile terminal is controlled to keep the screen on and restart Start the screen off countdown. By implementing the embodiment of the present invention, when the mobile terminal enters the countdown to turn off the screen, it can detect whether a specified posture change event occurs in the mobile terminal, and control whether the mobile terminal continues to turn on the screen according to the detection result, so that the mobile terminal can be conveniently and intelligently controlled to turn on the screen. The maintenance time of the screen, and intelligently controlling the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal and improve user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本发明实施例公开的一种控制移动终端亮屏的方法的流程示意图;FIG. 1 is a schematic flow diagram of a method for controlling the bright screen of a mobile terminal disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种控制移动终端亮屏的方法的流程示意图;Fig. 2 is a schematic flow chart of another method for controlling the bright screen of a mobile terminal disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种移动终端的结构示意图;FIG. 3 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的又一种移动终端的结构示意图。Fig. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种控制移动终端亮屏的方法及移动终端,能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。以下分别进行详细说明。The embodiment of the present invention discloses a method for controlling the bright screen of a mobile terminal and the mobile terminal, which can conveniently and intelligently control the maintenance time of the bright screen of the mobile terminal, and intelligently control the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal , and improve user experience. Each will be described in detail below.
请参阅图1,图1是本发明实施例公开的一种控制移动终端亮屏的方法的流程示意图。如图1所示,该控制移动终端亮屏的方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for controlling a mobile terminal to turn on a screen disclosed by an embodiment of the present invention. As shown in Figure 1, the method for controlling the bright screen of the mobile terminal may include the following steps:
S101、当移动终端亮屏时,启动熄屏倒计时。S101. When the screen of the mobile terminal is turned on, start a countdown to turn off the screen.
本发明实施例中,移动终端可以包括手机、平板电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、电子阅读器、多媒体播放器、智能手表等设备,本发明实施例不作限定。In the embodiment of the present invention, the mobile terminal may include mobile phones, tablet computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), electronic readers, multimedia players, smart watches and other devices, which are not limited in the embodiments of the present invention.
本发明实施例中,移动终端上集成有显示屏,以方便用户利用移动终端阅读电子书、浏览网页、看视频等等,此外,显示屏也可以包括触摸屏,用户通过点触触摸屏可以对移动终端进行各项操作。移动终端的显示屏的亮屏时长可以进行调节,可以是用户手动进行调节,也可以是根据移动终端的使用情况自动进行调节。当移动终端的显示屏被点亮时,可以启动移动终端的熄屏倒计时。In the embodiment of the present invention, a display screen is integrated on the mobile terminal to facilitate users to use the mobile terminal to read e-books, browse webpages, watch videos, etc. In addition, the display screen can also include a touch screen, and the user can control the mobile terminal by touching the touch screen. Perform various operations. The screen-on duration of the display screen of the mobile terminal can be adjusted, either manually by the user, or automatically according to the usage of the mobile terminal. When the display screen of the mobile terminal is turned on, the screen-off countdown of the mobile terminal can be started.
作为一种可选的实施方式,点亮移动终端的屏幕的具体实施方式可以包括以下步骤:As an optional implementation, the specific implementation of lighting the screen of the mobile terminal may include the following steps:
11)接收用户操作目标按键所触发的屏幕点亮指令;11) Receive the screen lighting instruction triggered by the user operating the target button;
12)响应该屏幕点亮指令,点亮移动终端的屏幕。12) Light up the screen of the mobile terminal in response to the screen lighting instruction.
在该实施方式中,目标按键可以是移动终端上的物理按键,目标按键可以是一个按键(如电源键),也可以是多个按键的组合,屏幕点亮指令可以是用户短按或长按目标按键所触发的;目标按键也可以是虚拟按键(如HOME键),屏幕点亮指令可以是用户单击或双击移动终端上的虚拟按键所触发的。此外,也可以是接收用户点触移动终端的屏幕所触发的屏幕点亮指令,还可以是接收用户输入的语音或手势等信息所触发的屏幕点亮指令,本发明实施例不作限定。In this embodiment, the target button can be a physical button on the mobile terminal, the target button can be a button (such as a power button), or a combination of multiple buttons, and the screen lighting instruction can be a short press or a long press by the user Triggered by the target button; the target button can also be a virtual button (such as the HOME button), and the screen lighting instruction can be triggered by the user clicking or double-clicking the virtual button on the mobile terminal. In addition, it may also be receiving a screen lighting instruction triggered by the user touching the screen of the mobile terminal, or receiving a screen lighting instruction triggered by receiving information such as voice or gesture input by the user, which is not limited in this embodiment of the present invention.
作为一种可选的实施方式,点亮移动终端的屏幕的具体实施方式也可以包括以下步骤:As an optional implementation, the specific implementation of lighting the screen of the mobile terminal may also include the following steps:
13)检测是否采集到生物特征信息;13) Detect whether biometric information is collected;
14)若采集到生物特征信息,验证该生物特征信息是否与预设特征信息相匹配,若匹配,则点亮移动终端的屏幕。14) If the biometric information is collected, verify whether the biometric information matches the preset characteristic information, and if so, turn on the screen of the mobile terminal.
在该实施方式中,生物特征信息可以包括但不限于人脸特征信息、指纹特征信息、虹膜特征信息、视网膜特征信息以及声纹特征信息中的任意一种或几种的组合。预设特征信息可以包括但不限于预设人脸特征信息、预设指纹特征信息、预设虹膜特征信息、预设视网膜特征信息以及预设声纹特征信息中的任意一种或几种的组合。In this embodiment, the biological feature information may include, but not limited to, any one or a combination of face feature information, fingerprint feature information, iris feature information, retina feature information, and voiceprint feature information. Preset feature information may include, but not limited to, any one or a combination of preset face feature information, preset fingerprint feature information, preset iris feature information, preset retina feature information, and preset voiceprint feature information .
在该实施方式中,验证该生物特征信息是否与预设特征信息相匹配的具体实施方式可以为验证该生物特征信息与预设特征信息的相似度是否大于预设阈值,若大于,则该生物特征信息与预设特征信息相匹配;若不大于,则该生物特征信息与预设特征信息不匹配。In this embodiment, the specific implementation method of verifying whether the biological feature information matches the preset feature information may be to verify whether the similarity between the biological feature information and the preset feature information is greater than a preset threshold, and if it is greater, then the biometric The feature information matches the preset feature information; if it is not greater than, the biological feature information does not match the preset feature information.
本发明实施例中,当移动终端的屏幕被点亮时,可以启动移动终端的熄屏倒计时功能。其中,熄屏倒计时为移动终端在不进行任何操作时从亮屏到熄屏的过程,熄屏倒计时的时长可以由用户根据自身喜好和/或需求自行进行设置,如设置为10秒、30秒、1分钟等等。In the embodiment of the present invention, when the screen of the mobile terminal is turned on, the screen-off countdown function of the mobile terminal can be started. Among them, the screen-off countdown is the process of the mobile terminal from turning on the screen to turning off the screen when no operation is performed. The duration of the screen-off countdown can be set by the user according to his own preferences and/or needs, such as 10 seconds or 30 seconds. , 1 minute and so on.
S102、在熄屏倒计时完成时,检测移动终端是否发生指定的姿态变化事件,若发生,则执行步骤S103。S102. When the screen-off countdown is completed, detect whether a specified posture change event occurs on the mobile terminal, and if so, execute step S103.
本发明实施例中,当熄屏倒计时完成(即设置的熄屏倒计时计时完成)时,可以开始检测移动终端当前是否发生有指定的姿态变化事件,其中,指定的姿态变化事件可以包括用户摇晃移动终端所触发的事件、用户触摸显示屏所触发的事件、用户翻转移动终端所触发的事件,移动终端由静止状态转变为非静止状态所触发的事件等等,本发明实施例不作限定。In the embodiment of the present invention, when the screen-off countdown is completed (that is, the set screen-off countdown is completed), it can start to detect whether the mobile terminal currently has a specified posture change event, wherein the specified posture change event can include the user shaking and moving Events triggered by the terminal, events triggered by the user touching the display screen, events triggered by the user turning over the mobile terminal, events triggered by the mobile terminal changing from a stationary state to a non-stationary state, etc., are not limited in the embodiments of the present invention.
本发明实施例中,检测移动终端是否发生指定的姿态变化事件可以是通过移动终端中集成的状态传感器来检测的,也可以是通过独立于移动终端且与移动终端保持通信连接的外部设备中集成的状态传感器检测的,且将检测的结果传输至移动终端。其中,状态传感器可以包括加速度传感器、重力传感器、角度传感器、陀螺仪等等。In the embodiment of the present invention, detecting whether a specified posture change event occurs on the mobile terminal may be detected by a state sensor integrated in the mobile terminal, or may be detected by an external device that is independent of the mobile terminal and maintains a communication connection with the mobile terminal. The status sensor detects and transmits the detection result to the mobile terminal. Wherein, the state sensor may include an acceleration sensor, a gravity sensor, an angle sensor, a gyroscope, and the like.
S103、控制移动终端保持亮屏并重新启动熄屏倒计时。S103. Control the mobile terminal to keep the screen on and restart the countdown to turn off the screen.
本发明实施例中,当执行步骤S102检测到移动终端发生指定的姿态变化事件时,可以控制移动终端保持亮屏并重新启动熄屏倒计时。其中,重新启动熄屏倒计时可以是指退出当前的熄屏倒计时并重新开始新一轮的熄屏倒计时,即重新开始倒计时。In the embodiment of the present invention, when step S102 is executed to detect that a specified posture change event occurs on the mobile terminal, the mobile terminal may be controlled to keep the screen on and restart the countdown to turn off the screen. Wherein, restarting the screen-off countdown may refer to exiting the current screen-off countdown and restarting a new round of screen-off countdown, that is, restarting the countdown.
在图1所描述的方法中,当移动终端亮屏时,可以启动熄屏倒计时,在熄屏倒计时完成时,可以检测移动终端是否发生指定的姿态变化事件,若发生,则控制移动终端保持亮屏并重新启动熄屏倒计时。通过实施图1所描述的方法,在移动终端进入熄屏倒计时时,可以检测移动终端是否发生指定的姿态变化事件,并根据检测结果来控制移动终端是否继续亮屏,从而能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。In the method described in Fig. 1, when the screen of the mobile terminal is turned on, the screen-off countdown can be started, and when the screen-off countdown is completed, it can be detected whether a specified posture change event occurs in the mobile terminal, and if it occurs, the mobile terminal is controlled to remain on screen and restart the screen-off countdown. By implementing the method described in Figure 1, when the mobile terminal enters the countdown to turn off the screen, it can detect whether a specified posture change event occurs on the mobile terminal, and control whether the mobile terminal continues to turn on the screen according to the detection result, so that it can conveniently and intelligently control The maintenance time of the bright screen of the mobile terminal, and intelligently controlling the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal and improve user experience.
请参阅图2,图2是本发明实施例公开的另一种控制移动终端亮屏的方法的流程示意图。如图2所示,该控制移动终端亮屏的方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for controlling a mobile terminal to turn on the screen disclosed by an embodiment of the present invention. As shown in Figure 2, the method for controlling the bright screen of the mobile terminal may include the following steps:
S201、当移动终端亮屏时,启动熄屏倒计时。S201. When the screen of the mobile terminal is turned on, start a countdown to turn off the screen.
本发明实施例中,移动终端的显示屏被点亮的方法可以是由用户手动点亮的,例如:操作电源键直接点亮显示屏或者双击显示屏来点亮显示屏等等;也可以是移动终端自动点亮的,例如:移动终端内预先设置好点亮时间,当点亮时间到达则点亮移动终端的屏幕;又如:当移动终端检测到人脸时,则点亮显示屏等等。In the embodiment of the present invention, the method of lighting up the display screen of the mobile terminal may be manually lit by the user, for example: operating the power button to directly light up the display screen or double-clicking the display screen to light up the display screen, etc.; it may also be The mobile terminal lights up automatically, for example: the lighting time is preset in the mobile terminal, and when the lighting time arrives, the screen of the mobile terminal is turned on; another example: when the mobile terminal detects a human face, the display screen is turned on, etc. wait.
S202、熄屏倒计时完成。S202, the countdown to turn off the screen is completed.
本发明实施例中,熄屏倒计时的时长可以由用户自行设置或更改,例如熄屏倒计时时长为30秒,则启动熄屏倒计时之后,从30秒开始倒计时,当倒计时至0秒时即一次熄屏倒计时完成。In the embodiment of the present invention, the duration of the screen-off countdown can be set or changed by the user. For example, if the screen-off countdown is 30 seconds, after starting the screen-off countdown, the countdown starts from 30 seconds. The screen countdown is complete.
S203、检测移动终端是否发生指定的姿态变化事件,若是,则执行步骤S204;若否,则执行步骤S205。S203. Detect whether a specified posture change event occurs on the mobile terminal, if yes, perform step S204; if not, perform step S205.
作为一种可选的实施方式,在执行步骤S202熄屏倒计时完成之后,在执行步骤S203检测移动终端是否发生指定的姿态变化事件之前,图2所描述的控制移动终端亮屏的方法还可以包括以下步骤:As an optional implementation, after the countdown to turn off the screen in step S202 is completed, and before step S203 is executed to detect whether a specified posture change event occurs in the mobile terminal, the method for controlling the screen of the mobile terminal described in FIG. 2 may also include The following steps:
21)开启状态传感器;21) Turn on the status sensor;
在该实施方式中,可以是接收用户的操作指令以开启状态传感器,也可以是在检测到移动终端的熄屏倒计时完成后,自动开启状态传感器。需要说明的是,状态传感器默认开启的除外。In this implementation manner, the state sensor may be turned on by receiving an operation instruction from the user, or may be automatically turned on after the countdown of the screen-off of the mobile terminal is detected to be completed. It should be noted that, except for status sensors that are enabled by default.
在该实施方式中,状态传感器可以是集成在移动终端内部的状态传感器,也可以是独立于移动终端且与移动终端保持通信连接的外部设备中集成的状态传感器。其中,状态传感器可以包括但不限于加速度传感器、重力传感器、角度传感器、陀螺仪等等。In this embodiment, the state sensor may be a state sensor integrated inside the mobile terminal, or may be a state sensor integrated in an external device independent of the mobile terminal and maintaining a communication connection with the mobile terminal. Wherein, the state sensor may include but not limited to an acceleration sensor, a gravity sensor, an angle sensor, a gyroscope, and the like.
其中,步骤S203检测移动终端是否发生指定的姿态变化事件的具体实施方式可以为:Wherein, the specific implementation manner of step S203 detecting whether a specified posture change event occurs in the mobile terminal may be as follows:
通过状态传感器检测移动终端是否发生指定的姿态变化事件。The status sensor is used to detect whether a specified posture change event occurs on the mobile terminal.
作为一种可选的实施方式,步骤S203检测移动终端是否发生指定的姿态变化事件的具体实施方式可以包括:As an optional implementation, the specific implementation of step S203 detecting whether a specified posture change event occurs on the mobile terminal may include:
检测移动终端的运动强度是否大于或等于预设目标强度值,若大于或等于,则检测出移动终端发生指定的姿态变化事件,并可以进一步执行步骤S204;若小于,则检测出移动终端未发生指定的姿态变化事件,并可以进一步执行步骤S205。Detect whether the motion intensity of the mobile terminal is greater than or equal to the preset target intensity value. If it is greater than or equal to, it is detected that a specified posture change event has occurred on the mobile terminal, and step S204 can be further performed; if it is less than, it is detected that the mobile terminal has not occurred. specified posture change event, and step S205 may be further executed.
其中,移动终端的运动强度可以包括但不限于移动终端的运动加速度大小、移动终端的运动幅度大小以及移动终端的运动速率大小中的至少一种。Wherein, the motion intensity of the mobile terminal may include but not limited to at least one of the motion acceleration of the mobile terminal, the motion amplitude of the mobile terminal, and the motion rate of the mobile terminal.
在该实施方式中,指定的姿态变化事件可以包括移动终端的运动强度大小情况,可以在移动终端中事先存储预设目标强度值,将获取的移动终端当前的运动强度与预设目标强度值进行比较,当移动终端的运动强度大于或等于预设目标强度值时,则可以确定移动终端发生指定的姿态变化事件。In this embodiment, the specified posture change event may include the movement intensity of the mobile terminal, and the preset target strength value may be stored in the mobile terminal in advance, and the obtained current movement intensity of the mobile terminal may be compared with the preset target strength value. In comparison, when the motion intensity of the mobile terminal is greater than or equal to the preset target intensity value, it can be determined that the specified posture change event occurs on the mobile terminal.
另外,还可以通过获取移动终端的角度变化情况、方位变化情况等来检测移动终端是否发生指定的姿态变化事件。In addition, it is also possible to detect whether a specified posture change event occurs on the mobile terminal by acquiring the angle change, orientation change, etc. of the mobile terminal.
S204、控制移动终端保持亮屏并重新启动熄屏倒计时。S204. Control the mobile terminal to keep the screen on and restart the countdown to turn off the screen.
S205、控制移动终端熄屏。S205. Control the mobile terminal to turn off the screen.
本发明实施例中,当执行步骤S203检测到移动终端未发生指定的姿态变化事件时,则可以控制移动终端熄屏。此时,可以控制状态传感器关闭,用户需要手动再次点亮屏幕或者移动终端再次满足亮屏条件(如设置的亮屏时间到)时才亮屏;也可以不关闭状态传感器,且在熄屏时,状态传感器可以继续检测移动终端的姿态变化情况,当满足指定条件时,又重新自动亮屏。In the embodiment of the present invention, when step S203 is executed and it is detected that no specified posture change event occurs on the mobile terminal, the mobile terminal may be controlled to turn off the screen. At this time, the status sensor can be controlled to be turned off, and the user needs to manually turn on the screen again or the mobile terminal can only turn on the screen when the screen turn-on condition is met again (such as the set turn-on time is up); , the state sensor can continue to detect the posture changes of the mobile terminal, and when the specified conditions are met, the screen will automatically turn on again.
可见,通过实施图2所描述的方法,在移动终端进入熄屏倒计时时,可以检测移动终端是否发生指定的姿态变化事件,并根据检测结果来控制移动终端是否继续亮屏,从而能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。It can be seen that by implementing the method described in Figure 2, when the mobile terminal enters the countdown to turn off the screen, it can detect whether a specified posture change event occurs on the mobile terminal, and control whether the mobile terminal continues to turn on the screen according to the detection result, so that it can be convenient and intelligent. Controlling the maintenance time of the bright screen of the mobile terminal accurately, and intelligently controlling the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal and improve the user's operation experience.
请参阅图3,图3是本发明实施例公开的一种移动终端的结构示意图,用于执行本发明实施例公开的控制移动终端亮屏的方法。如图3所示,该移动终端可以包括:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention, which is used to execute the method for controlling the brightness of the screen of the mobile terminal disclosed in the embodiment of the present invention. As shown in Figure 3, the mobile terminal may include:
启动单元301,用于当移动终端亮屏时,启动熄屏倒计时。The starting unit 301 is configured to start the screen-off countdown when the screen of the mobile terminal is turned on.
本发明实施例中,移动终端上集成有显示屏,以方便用户利用移动终端阅读电子书、浏览网页、看视频等等,此外,显示屏也可以包括触摸屏,用户通过点触触摸屏可以对移动终端进行各项操作。移动终端的显示屏的亮屏时长可以进行调节,可以是用户手动进行调节,也可以是根据移动终端的使用情况自动进行调节。In the embodiment of the present invention, a display screen is integrated on the mobile terminal to facilitate users to use the mobile terminal to read e-books, browse webpages, watch videos, etc. In addition, the display screen can also include a touch screen, and the user can control the mobile terminal by touching the touch screen. Perform various operations. The screen-on duration of the display screen of the mobile terminal can be adjusted, either manually by the user, or automatically according to the usage of the mobile terminal.
本发明实施例中,在启动单元301启动移动终端的熄屏倒计时之前,移动终端需事先点亮屏幕。In the embodiment of the present invention, before the starting unit 301 starts the countdown to turn off the screen of the mobile terminal, the mobile terminal needs to turn on the screen in advance.
作为一种可选的实施方式,图3所示的移动终端还可以包括:As an optional implementation manner, the mobile terminal shown in FIG. 3 may also include:
接收单元30,用于在启动单元301当移动终端亮屏时,启动熄屏倒计时之前,接收用户操作目标按键所触发的屏幕点亮指令;The receiving unit 30 is used to receive the screen lighting instruction triggered by the user operating the target button before the start unit 301 starts the screen off countdown when the mobile terminal is on the screen;
第一亮屏单元31,用于响应该屏幕点亮指令,点亮移动终端的屏幕。The first screen brightening unit 31 is configured to light up the screen of the mobile terminal in response to the screen lighting instruction.
在该实施方式中,目标按键可以是移动终端上的物理按键,目标按键可以是一个按键(如电源键),也可以是多个按键的组合,屏幕点亮指令可以是用户短按或长按目标按键所触发的;目标按键也可以是虚拟按键(如HOME键),屏幕点亮指令可以是用户单击或双击移动终端上的虚拟按键所触发的。此外,接收单元30也可以是接收用户点触移动终端的屏幕所触发的屏幕点亮指令,还可以是接收用户输入的语音或手势等信息所触发的屏幕点亮指令,本发明实施例不作限定。In this embodiment, the target button can be a physical button on the mobile terminal, the target button can be a button (such as a power button), or a combination of multiple buttons, and the screen lighting instruction can be a short press or a long press by the user Triggered by the target button; the target button can also be a virtual button (such as the HOME button), and the screen lighting instruction can be triggered by the user clicking or double-clicking the virtual button on the mobile terminal. In addition, the receiving unit 30 may also receive a screen lighting instruction triggered by the user touching the screen of the mobile terminal, and may also receive a screen lighting instruction triggered by information such as voice or gesture input by the user, which is not limited in this embodiment of the present invention. .
作为一种可选的实施方式,图3所示的移动终端还可以包括:As an optional implementation manner, the mobile terminal shown in FIG. 3 may also include:
特征信息检测单元32,用于在启动单元301当移动终端亮屏时,启动熄屏倒计时之前,检测是否采集到生物特征信息;The feature information detection unit 32 is used to detect whether the biometric feature information is collected before the startup unit 301 starts the screen-off countdown when the mobile terminal is on;
验证单元33,用于当特征信息检测单元32采集到生物特征信息时,验证该生物特征信息是否与预设特征信息相匹配;The verification unit 33 is configured to verify whether the biometric information matches the preset characteristic information when the biometric information is collected by the characteristic information detection unit 32;
第二亮屏单元34,用于当验证单元33验证该生物特征信息与预设特征信息相匹配时,点亮移动终端的屏幕。The second screen brightening unit 34 is configured to light up the screen of the mobile terminal when the verification unit 33 verifies that the biological feature information matches the preset feature information.
在该实施方式中,生物特征信息可以包括但不限于人脸特征信息、指纹特征信息、虹膜特征信息、视网膜特征信息以及声纹特征信息中的任意一种或几种的组合。预设特征信息可以包括但不限于预设人脸特征信息、预设指纹特征信息、预设虹膜特征信息、预设视网膜特征信息以及预设声纹特征信息中的任意一种或几种的组合。In this embodiment, the biological feature information may include, but not limited to, any one or a combination of face feature information, fingerprint feature information, iris feature information, retina feature information, and voiceprint feature information. Preset feature information may include, but not limited to, any one or a combination of preset face feature information, preset fingerprint feature information, preset iris feature information, preset retina feature information, and preset voiceprint feature information .
在该实施方式中,验证单元33验证该生物特征信息是否与预设特征信息相匹配的具体实施方式可以为验证该生物特征信息与预设特征信息的相似度是否大于预设阈值,若大于,则该生物特征信息与预设特征信息相匹配;若不大于,则该生物特征信息与预设特征信息不匹配。In this embodiment, the verification unit 33 verifies whether the biological feature information matches the preset feature information. The specific implementation method may be to verify whether the similarity between the biological feature information and the preset feature information is greater than a preset threshold. If greater, Then the biological feature information matches the preset feature information; if not, the biological feature information does not match the preset feature information.
本发明实施例中,当移动终端的屏幕被点亮时,启动单元301可以启动移动终端的熄屏倒计时功能。其中,熄屏倒计时为移动终端在不进行任何操作时从亮屏到熄屏的过程,熄屏倒计时的时长可以由用户根据自身喜好和/或需求自行进行设置,如设置为10秒、30秒、1分钟等等。In the embodiment of the present invention, when the screen of the mobile terminal is turned on, the starting unit 301 can start the screen-off countdown function of the mobile terminal. Among them, the screen-off countdown is the process of the mobile terminal from turning on the screen to turning off the screen when no operation is performed. The duration of the screen-off countdown can be set by the user according to his own preferences and/or needs, such as 10 seconds or 30 seconds. , 1 minute and so on.
检测单元302,用于在熄屏倒计时完成时,检测移动终端是否发生指定的姿态变化事件。The detection unit 302 is configured to detect whether a specified posture change event occurs on the mobile terminal when the screen-off countdown is completed.
本发明实施例中,当熄屏倒计时完成(即设置的熄屏倒计时计时完成)时,检测单元302可以开始检测移动终端当前是否发生有指定的姿态变化事件,其中,指定的姿态变化事件可以包括用户摇晃移动终端所触发的事件、用户触摸显示屏所触发的事件、用户翻转移动终端所触发的事件,移动终端由静止状态转变为非静止状态所触发的事件等等,本发明实施例不作限定。In the embodiment of the present invention, when the screen-off countdown is completed (that is, the set screen-off countdown is completed), the detection unit 302 can start to detect whether the mobile terminal currently has a specified posture change event, wherein the specified posture change event can include Events triggered by the user shaking the mobile terminal, events triggered by the user touching the display screen, events triggered by the user turning over the mobile terminal, events triggered by the mobile terminal changing from a stationary state to a non-stationary state, etc., are not limited by this embodiment of the present invention. .
本发明实施例中,检测单元302检测移动终端是否发生指定的姿态变化事件可以是通过移动终端中集成的状态传感器来检测的,也可以是通过独立于移动终端且与移动终端保持通信连接的外部设备中集成的状态传感器检测的,且将检测的结果传输至检测单元302。其中,状态传感器可以包括加速度传感器、重力传感器、角度传感器、陀螺仪等等。In the embodiment of the present invention, the detection unit 302 detects whether a specified posture change event occurs on the mobile terminal may be detected by a state sensor integrated in the mobile terminal, or by an external device independent of the mobile terminal and maintaining a communication connection with the mobile terminal. The state sensor integrated in the device is detected, and the detection result is transmitted to the detection unit 302 . Wherein, the state sensor may include an acceleration sensor, a gravity sensor, an angle sensor, a gyroscope, and the like.
控制单元303,用于当检测单元302检测到移动终端发生指定的姿态变化事件时,控制移动终端保持亮屏并重新启动熄屏倒计时。The control unit 303 is configured to control the mobile terminal to keep the screen on and restart the screen-off countdown when the detection unit 302 detects that a specified posture change event occurs in the mobile terminal.
本发明实施例中,当检测单元302检测到移动终端发生指定的姿态变化事件时,控制单元303可以控制移动终端保持亮屏并重新启动熄屏倒计时。其中,重新启动熄屏倒计时可以是指退出当前的熄屏倒计时并重新开始新一轮的熄屏倒计时,即重新开始倒计时。In the embodiment of the present invention, when the detection unit 302 detects that a specified gesture change event occurs on the mobile terminal, the control unit 303 may control the mobile terminal to keep the screen on and restart the countdown to turn off the screen. Wherein, restarting the screen-off countdown may refer to exiting the current screen-off countdown and restarting a new round of screen-off countdown, that is, restarting the countdown.
图3所示的移动终端,当移动终端亮屏时,启动单元301可以启动熄屏倒计时,在熄屏倒计时完成时,检测单元302可以检测移动终端是否发生指定的姿态变化事件,若发生,则控制单元303控制移动终端保持亮屏并重新启动熄屏倒计时。实施图3所示的移动终端,在移动终端进入熄屏倒计时时,可以检测移动终端是否发生指定的姿态变化事件,并根据检测结果来控制移动终端是否继续亮屏,从而能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。For the mobile terminal shown in Figure 3, when the screen of the mobile terminal is turned on, the starting unit 301 can start the countdown to turn off the screen, and when the countdown to turn off the screen is completed, the detection unit 302 can detect whether a specified posture change event occurs in the mobile terminal, and if it occurs, then The control unit 303 controls the mobile terminal to keep the screen on and restart the countdown to turn off the screen. Implement the mobile terminal shown in Figure 3. When the mobile terminal enters the countdown to turn off the screen, it can detect whether the specified posture change event occurs on the mobile terminal, and control whether the mobile terminal continues to turn on the screen according to the detection result, so that it can be conveniently and intelligently controlled. The maintenance time of the bright screen of the mobile terminal, and intelligently controlling the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal and improve user experience.
请参阅图4,图4是本发明实施例公开的另一种移动终端的结构示意图,用于执行本发明实施例公开的控制移动终端亮屏的方法。如图4所示,该移动终端可以包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention, which is used to implement the method for controlling the brightness of the screen of the mobile terminal disclosed in the embodiment of the present invention. As shown in Figure 4, the mobile terminal may include:
启动单元401,用于当移动终端亮屏时,启动熄屏倒计时。The starting unit 401 is configured to start the screen-off countdown when the screen of the mobile terminal is turned on.
检测单元402,用于在熄屏倒计时完成时,检测移动终端是否发生指定的姿态变化事件。The detection unit 402 is configured to detect whether a specified posture change event occurs on the mobile terminal when the screen-off countdown is completed.
作为一种可选的实施方式,检测单元402具体可以用于在熄屏倒计时完成时,检测移动终端的运动强度是否大于或等于预设目标强度值,若大于或等于,则检测出移动终端发生指定的姿态变化事件;若小于,则检测出移动终端未发生指定的姿态变化事件。As an optional implementation, the detection unit 402 can specifically be used to detect whether the motion intensity of the mobile terminal is greater than or equal to the preset target intensity value when the screen-off countdown is completed. The specified attitude change event; if it is less than, it is detected that the specified attitude change event does not occur on the mobile terminal.
其中,移动终端的运动强度可以包括但不限于移动终端的运动加速度大小、移动终端的运动幅度大小以及移动终端的运动速率大小中的至少一种。Wherein, the motion intensity of the mobile terminal may include but not limited to at least one of the motion acceleration of the mobile terminal, the motion amplitude of the mobile terminal, and the motion rate of the mobile terminal.
控制单元403,用于当检测单元402检测到移动终端发生指定的姿态变化事件时,控制移动终端保持亮屏并重新启动熄屏倒计时。The control unit 403 is configured to control the mobile terminal to keep the screen on and restart the screen-off countdown when the detection unit 402 detects that a specified posture change event occurs in the mobile terminal.
作为一种可选的实施方式,控制单元403,还可以用于当检测单元402检测到移动终端未发生指定的姿态变化事件时,控制移动终端熄屏。As an optional implementation manner, the control unit 403 may also be configured to control the mobile terminal to turn off the screen when the detection unit 402 detects that a specified gesture change event does not occur on the mobile terminal.
作为一种可选的实施方式,启动单元401,还可以用于在熄屏倒计时完成之后,在检测单元402检测移动终端是否发生指定的姿态变化事件之前,开启状态传感器。As an optional implementation manner, the starting unit 401 may also be configured to turn on the state sensor after the screen-off countdown is completed and before the detection unit 402 detects whether a specified posture change event occurs on the mobile terminal.
相应地,检测单元402检测移动终端是否发生指定的姿态变化事件的具体实施方式可以为:Correspondingly, the detection unit 402 can detect whether a specified posture change event occurs in the mobile terminal. The specific implementation method can be as follows:
检测单元402通过状态传感器检测移动终端是否发生指定的姿态变化事件。The detection unit 402 detects whether a specified posture change event occurs on the mobile terminal through a state sensor.
可见,实施图4所示的移动终端,在移动终端进入熄屏倒计时时,可以检测移动终端是否发生指定的姿态变化事件,并根据检测结果来控制移动终端是否继续亮屏,从而能够便捷、智能地控制移动终端亮屏的维持时间,且智能地控制亮屏维持时间能够有效降低移动终端的耗电量,并改善用户操作体验。It can be seen that when the mobile terminal shown in Figure 4 is implemented, when the mobile terminal enters the countdown to turn off the screen, it can detect whether a specified posture change event occurs in the mobile terminal, and control whether the mobile terminal continues to turn on the screen according to the detection result, so that it can be convenient and intelligent. Controlling the maintenance time of the bright screen of the mobile terminal accurately, and intelligently controlling the maintenance time of the bright screen can effectively reduce the power consumption of the mobile terminal and improve the user's operation experience.
请参阅图5,图5是本发明实施例公开的又一种移动终端的结构示意图,用于执行本发明实施例公开的控制移动终端亮屏的方法。如图5所示,该移动终端500可以包括:至少一个处理器501,至少一个状态传感器502,至少一个用户接口503,存储器504等组件。其中,这些组件通过一条或多条总线505进行通信连接。本领域技术人员可以理解,图5中示出的移动终端的结构并不构成对本发明实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention, which is used to implement the method for controlling the brightness of the screen of the mobile terminal disclosed in the embodiment of the present invention. As shown in FIG. 5 , the mobile terminal 500 may include: at least one processor 501 , at least one state sensor 502 , at least one user interface 503 , memory 504 and other components. Wherein, these components are connected in communication through one or more buses 505 . Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 5 does not constitute a limitation to the embodiment of the present invention, it can be either a bus-shaped structure or a star-shaped structure, and it can also include more than shown in the figure. or fewer components, or combining certain components, or a different arrangement of components. in:
处理器501为移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器504内的程序和/或模块,以及调用存储在存储器504内的数据,以执行移动终端的各种功能和处理数据。处理器501可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器501可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(digital signal processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及各种控制芯片的组合。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 501 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing programs and/or modules stored in the memory 504, and calling data stored in the memory 504, To perform various functions of the mobile terminal and process data. The processor 501 may be composed of an integrated circuit (Integrated Circuit, IC for short), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 501 may only include a central processing unit (Central Processing Unit, referred to as CPU), and may also be a CPU, a digital signal processor (digital signal processor, referred to as DSP), a graphics processing unit (Graphic Processing Unit, referred to as GPU). ) and a combination of various control chips. In the embodiments of the present invention, the CPU may be a single computing core, or may include multiple computing cores.
状态传感器502可以包括重力传感器、加速度传感器、角度传感器、陀螺仪等,用于感测移动终端的姿态变化情况。The state sensor 502 may include a gravity sensor, an acceleration sensor, an angle sensor, a gyroscope, etc., and is used to sense changes in the attitude of the mobile terminal.
用户接口503可以包括显示屏(Display)、键盘(Keyboard)等,用于方便用户和移动终端进行交互。The user interface 503 may include a display screen (Display), a keyboard (Keyboard), etc., for facilitating interaction between the user and the mobile terminal.
存储器504可用于存储软件程序以及模块,处理器501、状态传感器502以及用户接口503通过调用存储在存储器504中的软件程序以及模块,从而执行移动终端的各项功能应用以及实现数据处理。存储器504主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据移动终端的使用所创建的数据等。在本发明实施例中,操作系统可以是Android系统、iOS系统或Windows操作系统等等。The memory 504 can be used to store software programs and modules. The processor 501, the state sensor 502 and the user interface 503 execute various functional applications of the mobile terminal and implement data processing by calling the software programs and modules stored in the memory 504. The memory 504 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application program required by at least one function, etc.; the data storage area can store data created according to the use of the mobile terminal, etc. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, or a Windows operating system and the like.
具体地,处理器501调用存储在存储器504中的应用程序,用于执行以下操作:Specifically, the processor 501 invokes an application program stored in the memory 504 to perform the following operations:
当移动终端亮屏时,启动熄屏倒计时;When the mobile terminal turns on the screen, start the countdown to turn off the screen;
在熄屏倒计时完成时,检测移动终端是否发生指定的姿态变化事件;When the screen-off countdown is completed, detect whether a specified attitude change event occurs on the mobile terminal;
若移动终端发生指定的姿态变化事件,控制移动终端保持亮屏并重新启动熄屏倒计时。If a specified posture change event occurs on the mobile terminal, control the mobile terminal to keep the screen on and restart the countdown to turn off the screen.
在一个实施例中,处理器501在熄屏倒计时完成时,检测移动终端是否发生指定的姿态变化事件的具体实施方式可以为:In one embodiment, when the screen-off countdown is completed, the processor 501 detects whether a specified posture change event occurs on the mobile terminal. The specific implementation method may be as follows:
在熄屏倒计时完成时,检测移动终端的运动强度是否大于或等于预设目标强度值,若大于或等于,则检测出移动终端发生指定的姿态变化事件。When the screen-off countdown is completed, it is detected whether the motion intensity of the mobile terminal is greater than or equal to the preset target intensity value, and if it is greater than or equal to, it is detected that a specified posture change event occurs on the mobile terminal.
其中,移动终端的运动强度可以包括移动终端的运动加速度大小、移动终端的运动幅度大小以及移动终端的运动速率大小中的至少一种。Wherein, the motion intensity of the mobile terminal may include at least one of the motion acceleration of the mobile terminal, the motion amplitude of the mobile terminal, and the motion rate of the mobile terminal.
在一个实施例中,当处理器501检测到移动终端未发生指定的姿态变化事件时,还可以调用存储在存储器504中的应用程序,并执行以下操作:In one embodiment, when the processor 501 detects that the specified posture change event does not occur in the mobile terminal, it may also invoke an application program stored in the memory 504, and perform the following operations:
控制移动终端熄屏。Control the mobile terminal to turn off the screen.
在一个实施例中,处理器501在熄屏倒计时完成之后,在检测移动终端是否发生指定的姿态变化事件之前,还可以调用存储在存储器504中的应用程序,并执行以下操作:In one embodiment, after the screen-off countdown is completed, and before detecting whether a specified gesture change event occurs on the mobile terminal, the processor 501 may also invoke an application program stored in the memory 504, and perform the following operations:
开启状态传感器502;Open state sensor 502;
其中,处理器501检测移动终端是否发生指定的姿态变化事件的具体实施方式可以为:Wherein, the specific implementation manner for the processor 501 to detect whether a specified posture change event occurs in the mobile terminal may be as follows:
通过状态传感器502检测移动终端是否发生指定的姿态变化事件。The state sensor 502 is used to detect whether a specified posture change event occurs on the mobile terminal.
具体地,本发明实施例中介绍的移动终端可以实施本发明结合图1或图2介绍的控制移动终端亮屏的方法实施例中的部分或全部流程。Specifically, the mobile terminal introduced in the embodiments of the present invention may implement part or all of the procedures in the embodiments of the method for controlling the screen of the mobile terminal described in conjunction with FIG. 1 or 2 in the present invention.
本发明所有实施例中的模块或子模块,可以通过通用集成电路,例如CPU,或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The modules or sub-modules in all the embodiments of the present invention can be implemented by a general-purpose integrated circuit, such as a CPU, or by an ASIC (Application Specific Integrated Circuit, Application Specific Integrated Circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例移动终端中的单元可以根据实际需要进行合并、划分和删减。The units in the mobile terminal in the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).
以上对本发明实施例公开的一种控制移动终端亮屏的方法及移动终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A method for controlling the bright screen of a mobile terminal disclosed in the embodiments of the present invention and the mobile terminal are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as limiting the invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510338572.5A CN104965703A (en) | 2015-06-17 | 2015-06-17 | Method and mobile terminal for controlling screen-on of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510338572.5A CN104965703A (en) | 2015-06-17 | 2015-06-17 | Method and mobile terminal for controlling screen-on of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104965703A true CN104965703A (en) | 2015-10-07 |
Family
ID=54219737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510338572.5A Pending CN104965703A (en) | 2015-06-17 | 2015-06-17 | Method and mobile terminal for controlling screen-on of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104965703A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
CN105872194A (en) * | 2015-12-08 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Image acquisition method and device for terminal |
CN106055942A (en) * | 2016-05-25 | 2016-10-26 | 青岛海信移动通信技术股份有限公司 | Screen-locking method and device |
WO2017219563A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Terminal energy saving method and apparatus thereof |
CN107563168A (en) * | 2017-09-05 | 2018-01-09 | 广东欧珀移动通信有限公司 | Unlocking method and device for mobile terminal and mobile terminal |
CN107688382A (en) * | 2016-08-04 | 2018-02-13 | 天津三星通信技术研究有限公司 | The method and apparatus for controlling the display of terminal |
CN108536380A (en) * | 2018-03-12 | 2018-09-14 | 广东欧珀移动通信有限公司 | Screen control method and device and mobile terminal |
CN108536381A (en) * | 2018-03-26 | 2018-09-14 | 珠海格力电器股份有限公司 | Short-time screen locking method and device |
CN108803896A (en) * | 2018-05-28 | 2018-11-13 | Oppo(重庆)智能科技有限公司 | Control method, apparatus, terminal and the storage medium of screen |
CN109413272A (en) * | 2018-10-29 | 2019-03-01 | 努比亚技术有限公司 | Gravity sensor management method, double-sided screen mobile terminal and storage medium |
CN110174935A (en) * | 2019-05-29 | 2019-08-27 | 努比亚技术有限公司 | Put out screen control method, terminal and computer readable storage medium |
CN112306354A (en) * | 2020-11-04 | 2021-02-02 | 上海闻泰电子科技有限公司 | Screen display control method and device, electronic equipment and readable storage medium |
WO2023016017A1 (en) * | 2021-08-12 | 2023-02-16 | 荣耀终端有限公司 | Control method for display screen, and electronic device |
CN118467091A (en) * | 2024-07-12 | 2024-08-09 | 潍坊众索信息技术有限公司 | Computer screen off control system, method and terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2418560A2 (en) * | 2010-08-09 | 2012-02-15 | Samsung Electronics Co., Ltd. | Computer and power control method thereof |
CN102736853A (en) * | 2012-05-17 | 2012-10-17 | 北京三星通信技术研究有限公司 | Screen unlocking method, screen locking method and terminal |
CN102770904A (en) * | 2010-02-25 | 2012-11-07 | 富士通株式会社 | Mobile terminal, operation interval setting method and program |
CN103150194A (en) * | 2013-04-10 | 2013-06-12 | 天津三星光电子有限公司 | Sleep control method of mobile terminal and mobile terminal thereof |
CN103631494A (en) * | 2013-11-15 | 2014-03-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103677548A (en) * | 2012-09-10 | 2014-03-26 | 中国电信股份有限公司 | Method and system for removing screen-locked state of mobile terminal |
CN103728874A (en) * | 2013-12-27 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | Method for intelligently lighting watch screen and watch |
-
2015
- 2015-06-17 CN CN201510338572.5A patent/CN104965703A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102770904A (en) * | 2010-02-25 | 2012-11-07 | 富士通株式会社 | Mobile terminal, operation interval setting method and program |
EP2418560A2 (en) * | 2010-08-09 | 2012-02-15 | Samsung Electronics Co., Ltd. | Computer and power control method thereof |
CN102736853A (en) * | 2012-05-17 | 2012-10-17 | 北京三星通信技术研究有限公司 | Screen unlocking method, screen locking method and terminal |
CN103677548A (en) * | 2012-09-10 | 2014-03-26 | 中国电信股份有限公司 | Method and system for removing screen-locked state of mobile terminal |
CN103150194A (en) * | 2013-04-10 | 2013-06-12 | 天津三星光电子有限公司 | Sleep control method of mobile terminal and mobile terminal thereof |
CN103631494A (en) * | 2013-11-15 | 2014-03-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103728874A (en) * | 2013-12-27 | 2014-04-16 | 上海斐讯数据通信技术有限公司 | Method for intelligently lighting watch screen and watch |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389011A (en) * | 2015-12-01 | 2016-03-09 | 深圳还是威健康科技有限公司 | Display rotation control method and intelligent wearable device |
CN105872194A (en) * | 2015-12-08 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Image acquisition method and device for terminal |
CN106055942A (en) * | 2016-05-25 | 2016-10-26 | 青岛海信移动通信技术股份有限公司 | Screen-locking method and device |
WO2017219563A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Terminal energy saving method and apparatus thereof |
CN107688382A (en) * | 2016-08-04 | 2018-02-13 | 天津三星通信技术研究有限公司 | The method and apparatus for controlling the display of terminal |
CN107563168A (en) * | 2017-09-05 | 2018-01-09 | 广东欧珀移动通信有限公司 | Unlocking method and device for mobile terminal and mobile terminal |
CN108536380A (en) * | 2018-03-12 | 2018-09-14 | 广东欧珀移动通信有限公司 | Screen control method and device and mobile terminal |
CN108536381B (en) * | 2018-03-26 | 2021-11-09 | 珠海格力电器股份有限公司 | Short-time screen locking method and device |
CN108536381A (en) * | 2018-03-26 | 2018-09-14 | 珠海格力电器股份有限公司 | Short-time screen locking method and device |
CN108803896A (en) * | 2018-05-28 | 2018-11-13 | Oppo(重庆)智能科技有限公司 | Control method, apparatus, terminal and the storage medium of screen |
CN108803896B (en) * | 2018-05-28 | 2021-07-16 | Oppo(重庆)智能科技有限公司 | Method, device, terminal and storage medium for controlling screen |
CN109413272A (en) * | 2018-10-29 | 2019-03-01 | 努比亚技术有限公司 | Gravity sensor management method, double-sided screen mobile terminal and storage medium |
CN110174935A (en) * | 2019-05-29 | 2019-08-27 | 努比亚技术有限公司 | Put out screen control method, terminal and computer readable storage medium |
CN112306354A (en) * | 2020-11-04 | 2021-02-02 | 上海闻泰电子科技有限公司 | Screen display control method and device, electronic equipment and readable storage medium |
WO2023016017A1 (en) * | 2021-08-12 | 2023-02-16 | 荣耀终端有限公司 | Control method for display screen, and electronic device |
CN118467091A (en) * | 2024-07-12 | 2024-08-09 | 潍坊众索信息技术有限公司 | Computer screen off control system, method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104965703A (en) | Method and mobile terminal for controlling screen-on of mobile terminal | |
CN104965667A (en) | Method and mobile terminal for controlling screen-on of mobile terminal | |
US12238167B2 (en) | Synchronization method and electronic device | |
CN103576834B (en) | Electricity-saving control method and the electronic equipment for supporting electricity-saving control method | |
CN104156171B (en) | Method and device for preventing touch key misoperations in landscape screen state of mobile terminal | |
CN106233249B (en) | Apparatus and method for managing graphics buffers of sleep mode processor | |
CN107450837B (en) | Method, device, storage medium and mobile terminal for responding to black screen gesture | |
CN104142728B (en) | Electronic device | |
CN107450838B (en) | Response method and device of black screen gesture, storage medium and mobile terminal | |
CN104246650A (en) | Methods and apparatus for saving power | |
CN103150194A (en) | Sleep control method of mobile terminal and mobile terminal thereof | |
CN105759959A (en) | A method for controlling a user terminal and the user terminal | |
WO2021109875A1 (en) | Method and apparatus for implementing game application, storage medium, and electronic device | |
CN108021321A (en) | Application running state control method and mobile terminal | |
KR102423145B1 (en) | Flexible device and method of operating in the flexible device | |
CN108984089B (en) | Touch operation method, device, storage medium and electronic device | |
WO2017206918A1 (en) | Terminal awakening accelerating method and related product | |
CN105827803A (en) | Incoming call processing method and mobile terminal | |
CN105788565B (en) | Brightness adjusting method and device | |
CN107967418B (en) | Face recognition method and mobile terminal | |
CN107272946B (en) | Screen control method and device | |
CN111443803A (en) | Mode switching method, device, storage medium and mobile terminal | |
CN106886351A (en) | A kind of display methods of terminal time information, device and computer equipment | |
CN105549857A (en) | Control method for electronic terminal and electronic terminal | |
JP7231535B2 (en) | Smart device control method, smart device control device, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151007 |