一种亮屏控制方法及装置、终端Bright screen control method and device, terminal
技术领域Technical field
本发明实施例涉及但不限于通信领域,尤其是一种亮屏控制方法及装置、终端。Embodiments of the present invention relate to, but are not limited to, the field of communications, and in particular, to a bright screen control method and apparatus, and a terminal.
背景技术Background technique
手机作为必备的移动通讯设备,做得越来越智能化和人性化,但也存在着一定的不足,例如待机时间短、功耗大一直是手机的难题所在。As a necessary mobile communication device, mobile phones are becoming more and more intelligent and user-friendly, but there are certain deficiencies. For example, short standby time and high power consumption have always been the problem of mobile phones.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
LCD(Liquid Crystal Display,液晶显示器)的功耗占手机总功耗的一大部分,在不失用户体验的同时,降低LCD的功耗是降低手机总功耗的最好方式。The power consumption of LCD (Liquid Crystal Display) accounts for a large part of the total power consumption of mobile phones. Without losing the user experience, reducing the power consumption of the LCD is the best way to reduce the total power consumption of the mobile phone.
本发明实施例提供了一种亮屏控制方法及装置、终端,能够在达到来电或新消息提醒效果的同时,降低显示屏功耗。The embodiment of the invention provides a bright screen control method and device, and a terminal, which can reduce the power consumption of the display while achieving the effect of the incoming call or the new message reminder.
本发明实施例提供了一种亮屏控制方法,该方法包括:The embodiment of the invention provides a bright screen control method, the method comprising:
有来电或新消息时,启动传感器,所述传感器包括加速度传感器和接近传感器;When there is an incoming call or a new message, the sensor is activated, and the sensor includes an acceleration sensor and a proximity sensor;
根据所述加速度传感器采集的数据判断终端当前是否处于静止状态,或根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡,或者根据所述加速度传感器采集的数据判断终端当前是否处于静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡;Determining whether the terminal is currently in a static state according to the data collected by the acceleration sensor, or determining whether an object is occluded in front of the current display screen according to the data collected by the proximity sensor, or determining whether the terminal is currently located according to the data collected by the acceleration sensor. a state of quiescence and determining whether there is an object occlusion in front of the current display screen of the terminal according to the data collected by the proximity sensor;
判断所述终端当前显示屏前方有物体遮挡、或者判断终端当前处于运动状态、或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,保持息屏状态并采用亮屏之外的其他方式进行提醒。Determining that the terminal has an object occlusion in front of the current display screen, or determining that the terminal is currently in a motion state, or determining that the terminal is occluded in front of the current display screen of the terminal and the terminal is currently in a motion state, maintaining the information state and using a bright screen The other way to make a reminder.
在示例性的实施方式中,所述根据所述加速度传感器采集的数据判断终端当前是否处于静止状态、或者根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡、或者根据所述加速度传感器采集的数据判断终端当前是否处于静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡之后,亮屏控制方法还包括:In an exemplary embodiment, the determining, according to the data collected by the acceleration sensor, whether the terminal is currently in a stationary state, or determining, according to data collected by the proximity sensor, whether an object is occluded in front of the current display screen of the terminal, or according to the The data collected by the acceleration sensor determines whether the terminal is currently in a stationary state and determines whether there is an object in front of the current display screen according to the data collected by the proximity sensor. The bright screen control method further includes:
判断所述终端当前处于静止状态且判断终端当前显示屏前方无物体遮挡时,点亮终端显示屏至第一亮度值或保持息屏状态,并进行提醒;Determining that the terminal is currently in a static state and determining that there is no object obstruction in front of the current display screen of the terminal, lighting the terminal display screen to the first brightness value or maintaining the information state, and reminding;
其中,所述第一亮度值为低于正常水平的亮度值。Wherein, the first brightness value is a brightness value lower than a normal level.
在示例性的实施方式中,亮屏控制方法还包括:根据所述加速度传感器采集的数据判断所述终端是否从静止状态变为运动状态;判断所述终端从静止状态变为运动状态时,终止所述提醒,点亮终端显示屏至第二亮度值;其中,所述第二亮度值为正常水平的亮度值。In an exemplary embodiment, the bright screen control method further includes: determining, according to data collected by the acceleration sensor, whether the terminal changes from a stationary state to a motion state; and determining that the terminal changes from a stationary state to a motion state, terminating The reminding, lighting the terminal display screen to the second brightness value; wherein the second brightness value is a normal level brightness value.
在示例性的实施方式中,所述传感器还包括:光传感器;所述点亮终端显示屏至第一亮度值,包括:根据所述光传感器采集的光感数据点亮终端显示屏至第一亮度值。In an exemplary embodiment, the sensor further includes: a light sensor; the lighting the display screen to the first brightness value, comprising: lighting the terminal display to the first according to the light sensing data collected by the light sensor Brightness value.
在示例性的实施方式中,在启动传感器之前,亮屏控制方法还包括:检测终端当前是否处于亮屏状态;所述启动传感器,包括:在终端当前为息屏状态时,启动传感器。In an exemplary embodiment, before the sensor is activated, the bright screen control method further includes: detecting whether the terminal is currently in a bright screen state; and the starting the sensor, comprising: starting the sensor when the terminal is currently in a state of interest screen.
在示例性的实施方式中,所述检测终端当前是否处于亮屏状态之后,亮屏控制方法还包括:在终端当前为亮屏状态时,通过弹窗的方式进行提醒,同时取消除弹窗之外的其他所有提醒。In an exemplary embodiment, after the detecting terminal is currently in a bright screen state, the bright screen control method further includes: when the terminal is currently in a bright screen state, reminding by popping the window, and removing the pop-up window All other reminders outside.
在示例性的实施方式中,所述进行提醒之后,亮屏控制方法还包括:在所述提醒结束时,根据加速度传感器采集的数据判断所述终端仍为静止状态,则启动计时器进行计时;所述计时达到预定时长之前,继续根据加速度传感器采集的数据判断所述终端的静止状态是否改变,如果所述终端的静止状态发生改变,则点亮终端显示屏至对应正常水平的第二亮度值。In an exemplary embodiment, after the reminding is performed, the bright screen control method further includes: when the reminder ends, determining, according to data collected by the acceleration sensor, that the terminal is still in a stationary state, starting a timer to perform timing; Before the timing reaches a predetermined duration, it is determined whether the static state of the terminal is changed according to the data collected by the acceleration sensor, and if the static state of the terminal changes, the terminal display screen is illuminated to a second brightness value corresponding to the normal level. .
在示例性的实施方式中,所述亮屏之外的其他方式至少包括如下之一:In an exemplary embodiment, the manner other than the bright screen includes at least one of the following:
振动;vibration;
响铃;Bell
闪灯。Flashing lights.
一种亮屏控制装置,包括:A bright screen control device comprising:
启动模块,设置成在有来电或新消息时启动传感器,所述传感器包括加速度传感器和接近传感器;Activating a module configured to activate a sensor when there is an incoming call or a new message, the sensor including an acceleration sensor and a proximity sensor;
判断模块,设置成根据所述加速度传感器采集的数据判断终端当前是否处于静止状态,或者根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡,或者根据所述加速度传感器采集的数据判断终端当前是否处于静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡;The judging module is configured to determine whether the terminal is currently in a static state according to the data collected by the acceleration sensor, or determine whether there is an object occlusion in front of the current display screen of the terminal according to the data collected by the proximity sensor, or according to the data collected by the acceleration sensor Determining whether the terminal is currently in a stationary state and determining whether there is an object occlusion in front of the current display screen of the terminal according to the data collected by the proximity sensor;
亮屏模块,设置成:在所述判断模块判断所述终端当前显示屏前方有物体遮挡、或者判断终端当前处于运动状态或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,保持息屏状态;a brightness screen module, configured to: when the determining module determines that an object in front of the current display screen of the terminal is occluded, or determines that the terminal is currently in a motion state or determines that an object is occluded in front of the current display screen of the terminal, and the terminal is currently in a motion state , maintaining the state of the screen;
提醒模块,设置成:在所述判断模块判断所述终端当前显示屏前方有物体遮挡、或者判断终端当前处于运动状态或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,采用亮屏之外的其他方式进行提醒。The reminding module is configured to: when the determining module determines that an object in front of the current display screen of the terminal is occluded, or determines that the terminal is currently in a motion state or determines that an object is blocked in front of the current display screen of the terminal, and the terminal is currently in a motion state, Remind by other means than bright screen.
在示例性的实施方式中,所述亮屏模块,还设置成在所述判断模块判断所述终端当前处于静止状态且判断终端当前显示屏前方无物体遮挡时,点亮终端显示屏至第一亮度值或保持息屏状态;其中,所述第一亮度值为低于正常水平的亮度值;In an exemplary embodiment, the bright screen module is further configured to illuminate the terminal display to the first when the determining module determines that the terminal is currently in a stationary state and determines that there is no object occlusion in front of the current display screen of the terminal. a brightness value or a state of maintaining a polyscreen; wherein the first brightness value is a brightness value lower than a normal level;
提醒模块,设置成:在所述判断模块判断所述终端当前处于静止状态且判断终端当前显示屏前方无物体遮挡时进行提醒。The reminding module is configured to: when the determining module determines that the terminal is currently in a static state and determines that there is no object occlusion in front of the current display screen of the terminal.
在示例性的实施方式中,所述判断模块,还设置成:在所述提醒模块进行提醒的过程中,根据所述加速度传感器采集的数据判断所述终端是否从静止状态变为运动状态;所述提醒模块,还设置成:在所述判断模块判断所述终端从静止状态变为运动状态时,终止所述提醒;所述亮屏模块,还设置成:在所述判断模块判断所述终端从静止状态变为运动状态时,点亮终端显示屏 至第二亮度值;其中,所述第二亮度值为正常水平的亮度值。In an exemplary embodiment, the determining module is further configured to: determine, according to data collected by the acceleration sensor, whether the terminal changes from a stationary state to a motion state during the reminding process by the reminding module; The reminding module is further configured to: terminate the reminder when the determining module determines that the terminal changes from a static state to a motion state; the bright screen module is further configured to: determine, in the determining module, the terminal When changing from the stationary state to the motion state, the terminal display screen is illuminated to the second brightness value; wherein the second brightness value is a normal level brightness value.
在示例性的实施方式中,所述传感器还包括:光传感器;所述亮屏模块,是设置成:根据所述光传感器采集的光感数据点亮终端显示屏至第一亮度值。In an exemplary embodiment, the sensor further includes: a light sensor; the bright screen module is configured to illuminate the terminal display screen to the first brightness value according to the light sensing data collected by the light sensor.
在示例性的实施方式中,亮屏控制装置还包括:检测模块,设置成在有来电或新消息时,检测终端当前是否处于亮屏状态;所述启动模块是设置成:在所述检测模块检测到终端当前为息屏状态时,启动传感器。In an exemplary embodiment, the bright screen control apparatus further includes: a detecting module configured to detect whether the terminal is currently in a bright screen state when there is an incoming call or a new message; the startup module is configured to: in the detecting module The sensor is activated when it detects that the terminal is currently in the interest screen state.
在示例性的实施方式中,所述提醒模块,还设置成:在所述检测模块检测到终端当前为亮屏状态时,通过弹窗的方式进行提醒,同时取消除弹窗之外的其他所有提醒。In an exemplary embodiment, the reminding module is further configured to: when the detecting module detects that the terminal is currently in a bright screen state, reminding by popping up the window, and taking all but the pop-up window remind.
在示例性的实施方式中,所述判断模块,还设置成:在所述提醒模块的提醒结束时,根据加速度传感器采集的数据判断所述终端的静止状态是否改变;以及,还设置成:在计时达到预定时长之前,继续根据加速度传感器采集的数据判断所述终端的静止状态是否改变;亮屏控制装置还包括:计时模块,设置成:在所述提醒结束且所述判断模块判断所述终端仍为静止状态时,启动计时器进行计时;所述亮屏模块,还设置成:所述计时达到预定时长之前,所述判断模块判断所述终端的静止状态发生改变时,则点亮终端显示屏至对应正常水平的第二亮度值。In an exemplary embodiment, the determining module is further configured to: determine, according to data collected by the acceleration sensor, whether the stationary state of the terminal is changed when the reminding of the reminding module ends; and, further, set Before the timing reaches the predetermined time period, it is determined whether the static state of the terminal is changed according to the data collected by the acceleration sensor; the bright screen control device further includes: a timing module, configured to: after the reminder ends, the determining module determines the terminal When the state is still, the timer is started; the bright screen module is further configured to: when the timing module reaches a predetermined length of time, the determining module determines that the stationary state of the terminal changes, then the terminal displays The screen is to a second brightness value corresponding to a normal level.
一种终端,包括:A terminal comprising:
配置为采集数据的传感器,所述传感器包括:接近传感器和加速度传感器;a sensor configured to collect data, the sensor comprising: a proximity sensor and an acceleration sensor;
显示屏;Display screen
存储有亮屏控制程序的存储器;a memory storing a bright screen control program;
处理器,配置为执行所述亮屏控制程序以执行下述操作:有来电或新消息时,启动所述传感器;根据所述加速度传感器采集的数据判断终端当前是否处于静止状态,或者根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡,或者根据所述加速度传感器采集的数据判断终端当前是否处于静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡;判断所述终端当前显示屏前方有物体遮挡、或者判断 终端当前处于运动状态、或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,保持息屏状态并采用亮屏之外的其他方式进行提醒。a processor configured to execute the bright screen control program to perform the following operations: when there is an incoming call or a new message, start the sensor; determine, according to data collected by the acceleration sensor, whether the terminal is currently in a stationary state, or according to the The data collected by the proximity sensor determines whether there is an object occlusion in front of the current display screen of the terminal, or determines whether the terminal is currently in a stationary state according to the data collected by the acceleration sensor, and determines whether there is an object in front of the current display screen of the terminal according to the data collected by the proximity sensor. Blocking; determining that the terminal has an object occlusion in front of the current display screen, or determining that the terminal is currently in motion, or determining that the terminal is occluding the object in front of the current display screen and the terminal is currently in motion, maintaining the information state and using a bright screen Other ways to remind you.
一种计算机可读存储介质,所述计算机可读存储介质上存储有亮屏控制程序,所述亮屏控制程序被处理器执行时实现上述亮屏控制方法的步骤。A computer readable storage medium having a bright screen control program stored thereon, the step of implementing the bright screen control method when the bright screen control program is executed by a processor.
本发明实施例中,接收到来电或新消息后,通过检测用户当前是否会查看新消息或来电控制亮屏的频率和亮度,没必要时不亮屏或以低亮度值亮屏,从而在达到提醒效果的同时降低显示屏功耗。此外,在用户需要查看触碰或拿起终端时又可以及时亮屏,从而在降低显示屏功耗的同时提升用户体验。In the embodiment of the present invention, after receiving an incoming call or a new message, by detecting whether the user currently checks the new message or the incoming call to control the frequency and brightness of the bright screen, if not, the screen is not brightened or the screen is illuminated with a low brightness value, thereby achieving Remind the effect while reducing the power consumption of the display. In addition, when the user needs to view the touch or pick up the terminal, the screen can be illuminated in time, thereby reducing the power consumption of the display while improving the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例亮屏控制方法的流程示意图;1 is a schematic flow chart of a bright screen control method according to an embodiment of the present invention;
图2为本发明实施例亮屏控制过程的流程示意图;2 is a schematic flowchart of a bright screen control process according to an embodiment of the present invention;
图3为本发明实施例亮屏控制装置的组成结构示意图;3 is a schematic structural diagram of a composition of a bright screen control device according to an embodiment of the present invention;
图4为本发明实施例终端的结构示意图;4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图5为本发明实施例终端一示例的硬件结构示意图。FIG. 5 is a schematic structural diagram of hardware of an example of a terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
实施例一Embodiment 1
如图1所示,一种亮屏控制方法,可以包括步骤101-步骤103。As shown in FIG. 1, a bright screen control method may include steps 101-103.
步骤101,有来电或新消息时,启动传感器,所述传感器包括加速度传感器和接近传感器。Step 101: When there is an incoming call or a new message, the sensor is activated, and the sensor includes an acceleration sensor and a proximity sensor.
步骤102,根据所述加速度传感器采集的数据判断终端当前是否处于静止状态,或者根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡,或者根据所述加速度传感器采集的数据判断终端当前是否处于 静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡。Step 102: Determine, according to the data collected by the acceleration sensor, whether the terminal is currently in a static state, or determine whether an object is occluded in front of the current display screen according to the data collected by the proximity sensor, or judge the terminal according to the data collected by the acceleration sensor. Whether it is currently at a standstill state and determining whether there is an object occlusion in front of the current display screen of the terminal according to the data collected by the proximity sensor.
步骤103,判断所述终端当前显示屏前方有物体遮挡、或者判断终端当前处于运动状态、或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,保持息屏状态并采用亮屏之外的其他方式进行提醒。Step 103: Determine that the terminal has an object occlusion in front of the current display screen, or determines that the terminal is currently in a motion state, or determines that the terminal is occluded in front of the current display screen of the terminal, and the terminal is currently in a motion state, and the image is maintained and illuminated. Remind other ways than the screen.
在示例性的实施方式中,在步骤102之后,亮屏控制方法还可以包括:判断所述终端当前处于静止状态且判断终端当前显示屏前方无物体遮挡时,点亮终端显示屏至第一亮度值或保持息屏状态,并进行提醒;其中,所述第一亮度值为低于正常水平的亮度值。In an exemplary embodiment, after step 102, the bright screen control method may further include: determining that the terminal is currently in a stationary state and determining that the terminal is occluded in front of the current display screen, and lighting the terminal display to the first brightness. The value is maintained or maintained, and the reminder is displayed; wherein the first brightness value is a brightness value lower than a normal level.
在示例性的实施方式中,亮屏控制方法还可以包括:根据所述加速度传感器采集的数据判断所述终端是否从静止状态变为运动状态;判断所述终端从静止状态变为运动状态时,终止所述提醒,点亮终端显示屏至第二亮度值;其中,所述第二亮度值为正常水平的亮度值,高于所述第一亮度值。实际应用中,点亮终端显示屏至第二亮度值时调整显示屏亮度的方式可以有多种。例如,可以采用直接调整至第二亮度值的方式;再例如,可以采用逐渐过渡到第二亮度值的方式。对此,本文不作限制。In an exemplary embodiment, the bright screen control method may further include: determining, according to data collected by the acceleration sensor, whether the terminal changes from a stationary state to a motion state; and determining that the terminal changes from a stationary state to a motion state, Terminating the reminder to illuminate the terminal display to the second brightness value; wherein the second brightness value is a normal level brightness value, higher than the first brightness value. In practical applications, there are various ways to adjust the brightness of the display when the terminal display is illuminated to the second brightness value. For example, a method of directly adjusting to the second brightness value may be employed; for example, a method of gradually transitioning to the second brightness value may be employed. In this regard, this article does not limit.
在示例性的实施方式中,该正常水平可以通过光传感器采集的光感数据来确定。一般来说,正常水平表示不低于所述光感数据指示的当前环境亮度的亮度值。In an exemplary embodiment, the normal level may be determined by light perception data acquired by the light sensor. In general, the normal level represents a brightness value that is not lower than the current ambient brightness indicated by the light perception data.
本实施例的亮屏控制方法,接收到来电或新消息后,通过检测用户当前是否会查看新消息或来电控制亮屏的频率和亮度,没必要时不亮屏或以低亮度值亮屏,从而在达到提醒效果的同时降低显示屏功耗。此外,在用户需要查看触碰或拿起终端时又可以及时亮屏,从而在降低显示屏功耗的同时提升用户体验。The bright screen control method of the embodiment controls the frequency and brightness of the bright screen by detecting whether the user currently views a new message or an incoming call after receiving an incoming call or a new message, and does not light up or lighten the screen with a low brightness value when not necessary. Thereby reducing the power consumption of the display while achieving the reminder effect. In addition, when the user needs to view the touch or pick up the terminal, the screen can be illuminated in time, thereby reducing the power consumption of the display while improving the user experience.
在示例性的实施方式中,来电或来信息后根据接近传感器采集的数据判断终端前方是否有物体遮挡,如果判断为有物体遮挡则不亮屏,其它提醒方式(如闪灯、振动、响铃等)仍然执行,如此,终端被放在包里、口袋里、或朝下放置在桌子上或被其它物体遮盖住显示屏时可以不亮屏,进而在达到来电或新消息提醒效果的同时,降低了显示屏功耗。In an exemplary embodiment, after the incoming call or the incoming message, it is determined whether there is an object in front of the terminal according to the data collected by the proximity sensor, and if it is determined that there is an object blocking, the screen is not illuminated, and other reminding methods (such as flashing, vibrating, ringing) Etc.) Still executing, so that when the terminal is placed in a bag, in a pocket, or down on a table or covered by other objects, the screen may not be illuminated, and the call or new message reminder effect is achieved. Reduced display power consumption.
在示例性的实施方式中,根据加速度传感器采集的数据判断终端是否处于静止状态,如果判断终端不是静止状态则不亮屏,采用其它方式(如闪灯、振动、响铃等)进行提醒,如此,终端处于运动状态(例如,用户走路时)可以不亮屏,进而在达到来电或新消息提醒效果的同时,降低了显示屏功耗。In an exemplary embodiment, whether the terminal is in a stationary state is determined according to data collected by the acceleration sensor, and if the terminal is not in a stationary state, the screen is not illuminated, and the reminder is performed by other means (such as flashing, vibrating, ringing, etc.). When the terminal is in a motion state (for example, when the user walks), the screen may not be illuminated, thereby reducing the power consumption of the display while achieving the effect of the incoming call or the new message reminder.
在示例性的实施方式中,如果终端前方无遮挡且处于静止状态,可以根据当前光传感器采集的数据以低于正常亮度的第一亮度值点亮显示屏或者可以不亮屏。In an exemplary embodiment, if the terminal is unobstructed in front and is in a stationary state, the display may be illuminated at a first brightness value lower than the normal brightness according to data collected by the current light sensor or may not be illuminated.
在示例性的实施方式中,通过加速度传感器实时监测终端的静止状态是否被改变,如果有监测到终端从静止状态改为运动状态,则逐渐提高显示屏亮度到正常水平或直接点亮显示屏至正常亮度。如此,可以在终端被触碰或被拿起时,点亮显示屏至正常亮度,方便用户查看新消息或来电。In an exemplary embodiment, the acceleration sensor is used to monitor whether the static state of the terminal is changed in real time. If the terminal is detected to change from the stationary state to the motion state, the display brightness is gradually increased to a normal level or the display screen is directly illuminated. Normal brightness. In this way, the display can be illuminated to normal brightness when the terminal is touched or picked up, so that the user can view new messages or incoming calls.
在示例性的实施方式中,亮屏控制方法还可以包括:在所述提醒结束时,根据加速度传感器采集的数据判断所述终端仍为静止状态,则启动计时器进行计时;所述计时达到预定时长之前,继续根据加速度传感器采集的数据判断所述终端的静止状态是否改变,所述终端的静止状态发生改变则点亮终端显示屏至对应正常水平的第二亮度值。也就是说,本实施例在有未接来电或未读信息的情况下开启定时器,在预定时长之前,实时监测终端的静止状态是否被改变,如果有监测到终端从静止状态改为运动,则逐渐提高显示屏亮度到正常水平。如此,可在一定时长内检测到终端被触碰或被拿起时,点亮显示屏至正常亮度,方便用户查看新消息或来电。In an exemplary embodiment, the bright screen control method may further include: when the reminder ends, determining that the terminal is still in a stationary state according to data collected by the acceleration sensor, starting a timer to perform timing; Before the duration, it is determined whether the stationary state of the terminal is changed according to the data collected by the acceleration sensor, and the static state of the terminal changes to illuminate the terminal display screen to the second brightness value corresponding to the normal level. That is to say, in this embodiment, the timer is turned on in the case of missed call or unread information, and the static state of the terminal is monitored in real time before the predetermined time period, and if the terminal is monitored to change from the stationary state to the motion, Then gradually increase the brightness of the display to a normal level. In this way, when the terminal is detected to be touched or picked up within a certain length of time, the display screen is illuminated to normal brightness, so that the user can view new messages or incoming calls.
在示例性的实施方式中,启动传感器之前,亮屏控制方法还可以包括:检测终端当前是否处于亮屏状态;如此,可以在终端当前为息屏状态时启动传感器。在示例性的实施方式中,如果检测到终端当前为亮屏状态,则很可能表明用户当前正在观看显示屏,此时可以通过弹窗的方式进行提醒,同时取消除弹窗之外的其他所有提醒,以便以最有效的方式进行提醒,同时降低因多种方式同时提醒带来的功耗。In an exemplary embodiment, before the sensor is activated, the bright screen control method may further include: detecting whether the terminal is currently in a bright screen state; thus, the sensor may be activated when the terminal is currently in the interest screen state. In an exemplary embodiment, if it is detected that the terminal is currently in a bright screen state, it is likely to indicate that the user is currently viewing the display screen, and at this time, the reminder can be performed by popping up the window, and all other than the pop-up window is removed. Reminders to alert in the most efficient way while reducing power consumption due to multiple ways of simultaneously alerting.
图2本实施例中亮屏控制过程的流程图,主要步骤如下:FIG. 2 is a flow chart of the bright screen control process in this embodiment. The main steps are as follows:
步骤201、终端接收到电话、短信息或其它通知消息。Step 201: The terminal receives a call, a short message or other notification message.
步骤202、终端在收到上述信息后,首先判断当前是否处于亮屏状态?Step 202: After receiving the above information, the terminal first determines whether the current state is in a bright state.
步骤203、如果终端已处于亮屏状态,说明用户应该正在观看显示屏,只需弹框提醒有来电或有新消息即可实现提醒的效果,所以除弹框外,取消其它形式的提醒(如振动、响铃、闪灯等)。Step 203: If the terminal is already in a bright state, the user should be watching the display screen, and only need to prompt the box to remind the caller or have a new message to achieve the effect of the reminder, so in addition to the bullet box, cancel other forms of reminder (such as Vibration, ringing, flashing lights, etc.).
步骤204、如果终端处于息屏状态,则开启加速度传感器、接近传感器和光传感器,加速度传感器、接近传感器以及光传感器实时采集数据。Step 204: If the terminal is in the state of the interest screen, the acceleration sensor, the proximity sensor, and the light sensor are turned on, and the acceleration sensor, the proximity sensor, and the light sensor collect data in real time.
步骤205、根据加速度传感器采集的数据判断当前终端是否处于静止状态?Step 205: Determine, according to the data collected by the acceleration sensor, whether the current terminal is in a static state.
步骤206、如果终端处于运动状态,有可能终端被放到包里和手里,而用户处于运动状态,或者显示屏朝下终端被反扣在桌子上,此时,只需要铃声和振动提醒有来电或有新消息即可起到提醒用户的效果,无需亮屏,故在这种情况下,不亮屏,提醒方式不变,关闭已打开的传感器。Step 206: If the terminal is in a motion state, it is possible that the terminal is placed in the bag and the hand, and the user is in a motion state, or the display terminal is reversed on the table, and at this time, only the ringtone and the vibration reminder are needed. Calls or new messages can be used to remind the user of the effect, no need to brighten the screen, so in this case, no bright screen, the reminder mode does not change, close the open sensor.
步骤207、如果终端处于静止状态,则根据接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡?如果有遮挡,则返回步骤206,如没有遮挡则继续步骤208。Step 207: If the terminal is in a static state, determine whether there is an object occlusion in front of the current display screen of the terminal according to the data collected by the proximity sensor. If there is occlusion, return to step 206, and if there is no occlusion, proceed to step 208.
步骤208、若已判断出终端的显示屏没有被遮挡,则关闭接近传感器,在用户拿起终端观察前,无需很高的亮度,则根据光传感器采集的光感数据将显示屏调整为低于正常水平的第一值,或者也可以不亮屏。Step 208: If it is determined that the display screen of the terminal is not blocked, the proximity sensor is turned off, and the display screen is adjusted to be lower than the light sensing data collected by the light sensor before the user picks up the terminal to observe, without requiring high brightness. The first value of the normal level, or it may not be bright.
步骤209、在提醒的动作结束前,根据加速度传感器采集的数据,判断终端的静止状态是否被改变?实际是用来判断用户是否有触摸或拿起终端的动作。Step 209: Before the end of the reminding action, judge whether the static state of the terminal is changed according to the data collected by the acceleration sensor. Actually, it is used to determine whether the user has touched or picked up the terminal.
步骤210、如果监测到终端从静止状态变为运动状态,即可视为用户有触碰或拿起终端,则终止所有形式(如铃声、振动等)的提醒并逐渐提高显示屏亮度到正常水平,以便于用户查看来电或新消息。Step 210: If the terminal is detected to change from the stationary state to the motion state, it can be regarded as the user touches or picks up the terminal, then terminates all forms (such as ringing, vibration, etc.) and gradually increases the brightness of the display to a normal level. In order to allow users to view incoming calls or new messages.
步骤211、关闭加速度传感器、光传感器。Step 211: Turn off the acceleration sensor and the light sensor.
步骤212、提醒的动作结束时,终端仍处于静止状态,即有未接来电或未看信息的情况下,开启计时器计时。Step 212: When the action of the reminder ends, the terminal is still in a static state, that is, if there is a missed call or no information, the timer is turned on.
步骤213、在计时达到预定时长T前,继续根据加速度传感器采集的数据判断终端的静止状态是否改变,如果有改变则返回执行步骤210,以提高 用户体验。Step 213: Before the timing reaches the predetermined time length T, continue to determine whether the static state of the terminal changes according to the data collected by the acceleration sensor, and if there is a change, return to step 210 to improve the user experience.
实际应用中,预定时长T可以设置为默认值或用户自行设置,预定时长T不宜过长,以防止用户是要拿走而不是观看终端时而不必要亮屏。In practical applications, the predetermined duration T can be set to a default value or set by the user, and the predetermined duration T should not be too long to prevent the user from having to take away instead of viewing the terminal without having to brighten the screen.
步骤214、关闭计时器。 Step 214, turning off the timer.
实施例二Embodiment 2
一种亮屏控制装置,如图3所示,包括:A bright screen control device, as shown in FIG. 3, includes:
启动模块31,设置成在有来电或新消息时启动传感器,所述传感器包括加速度传感器和/或接近传感器;The activation module 31 is configured to activate a sensor when there is an incoming call or a new message, the sensor comprising an acceleration sensor and/or a proximity sensor;
判断模块32,设置成根据所述加速度传感器采集的数据判断终端当前是否处于静止状态,或者根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡,或者根据所述加速度传感器采集的数据判断终端当前是否处于静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡;The determining module 32 is configured to determine, according to the data collected by the acceleration sensor, whether the terminal is currently in a stationary state, or determine, according to the data collected by the proximity sensor, whether there is an object occlusion in front of the current display screen of the terminal, or according to the acceleration sensor. The data determines whether the terminal is currently in a stationary state and determines whether there is an object occlusion in front of the current display screen of the terminal according to the data collected by the proximity sensor;
亮屏模块33,设置成:在所述判断模块32判断所述终端当前显示屏前方有物体遮挡、或者判断终端当前处于运动状态、或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,保持息屏状态;The brightness screen module 33 is configured to: determine, by the determining module 32, that an object in front of the current display screen of the terminal is occluded, or that the terminal is currently in a motion state, or that an object in front of the current display screen is blocked by the terminal and the terminal is currently in the Maintain the state of the screen when in motion;
提醒模块34,设置成在所述判断模块32判断所述终端当前显示屏前方有物体遮挡、或者判断终端当前处于运动状态或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,采用亮屏之外的其他方式进行提醒。The reminding module 34 is configured to: when the determining module 32 determines that an object in front of the current display screen of the terminal is occluded, or determines that the terminal is currently in a motion state or determines that the current display screen of the terminal is occluded and the terminal is currently in motion , use other means than the bright screen to remind.
在示例性的实施方式中,所述亮屏模块33,还可设置成:在所述判断模块32判断所述终端当前处于静止状态且判断终端当前显示屏前方无物体遮挡时,点亮终端显示屏至第一亮度值或保持息屏状态;其中,所述第一亮度值为低于正常水平的亮度值;提醒模块34,还可设置成:在所述判断模块32判断所述终端当前处于静止状态且判断终端当前显示屏前方无物体遮挡时进行提醒。In an exemplary embodiment, the bright screen module 33 may be further configured to: when the determining module 32 determines that the terminal is currently in a stationary state and determines that there is no object occlusion in front of the current display screen of the terminal, the terminal displays The screen is to the first brightness value or the state of the hold screen; wherein the first brightness value is a brightness value lower than the normal level; the reminding module 34 is further configured to: determine, at the determining module 32, that the terminal is currently in the Remind when the camera is in a stationary state and it is judged that there is no object in front of the current display screen.
在示例性的实施方式中,所述判断模块32,还可设置成在所述提醒模块进行提醒的过程中,根据所述加速度传感器采集的数据判断所述终端是否从 静止状态变为运动状态;所述提醒模块34,还可设置成:在所述判断模块判断所述终端从静止状态变为运动状态时,终止所述提醒;所述亮屏模块33,还可设置成在所述判断模块判断所述终端从静止状态变为运动状态时,点亮终端显示屏至第二亮度值;其中,所述第二亮度值为正常水平的亮度值。In an exemplary embodiment, the determining module 32 may be further configured to determine, according to data collected by the acceleration sensor, whether the terminal changes from a stationary state to a motion state during a reminder by the reminding module; The reminding module 34 may be further configured to: terminate the reminder when the determining module determines that the terminal changes from a static state to a motion state; the bright screen module 33 may also be configured to be in the determining module When the terminal is determined to change from the stationary state to the motion state, the terminal display screen is illuminated to the second brightness value; wherein the second brightness value is a normal level brightness value.
在示例性的实施方式中,所述传感器还可以包括:光传感器;所述亮屏模块33是设置成根据所述光传感器采集的光感数据点亮终端显示屏至第一亮度值。In an exemplary embodiment, the sensor may further include: a light sensor; the bright screen module 33 is configured to illuminate the terminal display screen to the first brightness value according to the light sensing data collected by the light sensor.
在示例性的实施方式中,上述亮屏控制装置还可以包括:检测模块35,可设置成在有来电或新消息时,检测终端当前是否处于亮屏状态;所述启动模块31,可设置成在所述检测模块35检测到终端当前为息屏状态时启动传感器。在示例性的实施方式中,所述提醒模块34,还可设置成在所述检测模块检测到终端当前为亮屏状态时,通过弹窗的方式进行提醒,同时取消除弹窗之外的其他所有提醒。In an exemplary embodiment, the brightness control device may further include: a detecting module 35, configured to detect whether the terminal is currently in a bright state when there is an incoming call or a new message; and the starting module 31 can be configured to The sensor is activated when the detecting module 35 detects that the terminal is currently in the state of the interest screen. In an exemplary embodiment, the reminding module 34 may be further configured to: when the detecting module detects that the terminal is currently in a bright screen state, reminding by popping up the window, and taking other than the pop-up window All reminders.
在示例性的实施方式中,上述亮屏控制装置还可以包括:计时模块36,可设置成在所述提醒模块34提醒结束且所述判断模块判断所述终端仍为静止状态时,启动计时器进行计时;所述判断模块32,还可设置成在所述提醒模块34的提醒结束时,根据加速度传感器采集的数据判断所述终端的静止状态是否改变;以及,还设置成在计时达到预定时长之前,继续根据加速度传感器采集的数据判断所述终端的静止状态是否改变;所述亮屏模块33,还可设置成所述计时达到预定时长之前,所述判断模块判断所述终端的静止状态发生改变时,则点亮终端显示屏至对应正常水平的第二亮度值。In an exemplary embodiment, the bright screen control apparatus may further include: a timing module 36, configured to start the timer when the reminder module 34 is reminded to end and the determining module determines that the terminal is still in a stationary state The judging module 32 may be further configured to determine, according to the data collected by the acceleration sensor, whether the stationary state of the terminal is changed when the reminding of the reminding module 34 ends, and also set the timing to reach a predetermined duration. And determining, by the data collected by the acceleration sensor, whether the stationary state of the terminal is changed. The brightnessing module 33 is further configured to determine that the static state of the terminal occurs before the timing reaches a predetermined duration. When changing, the terminal display is illuminated to a second brightness value corresponding to the normal level.
本实施例中亮屏控制装置可以实现实施例一所述方法的所有细节,可参照方法的相关说明。实际应用中,本实施例中亮屏控制装置可以通过设置于终端(如手机等)来实现上述功能以及实施例一的方法,或者本实施例中的亮屏控制装置可以直接作为终端来实现。The bright screen control device in this embodiment can implement all the details of the method described in Embodiment 1, and can refer to the related description of the method. In a practical application, the bright screen control device in the embodiment can implement the above functions and the method in the first embodiment by being disposed in a terminal (such as a mobile phone), or the bright screen control device in this embodiment can be directly implemented as a terminal.
实际应用中,启动模块31、判断模块32、亮屏模块33、提醒模块34、检测模块35、计时模块36分别可以通过软件、硬件或两者结合的方式实现。例如,启动模块31、判断模块32、亮屏模块33、提醒模块34、检测模块35、计时模块36可以通过终端的处理器通过执行相应的亮屏控制程序来实现。对 此本文不作限制。In an actual application, the startup module 31, the determination module 32, the bright screen module 33, the reminder module 34, the detection module 35, and the timing module 36 can be implemented by software, hardware, or a combination of the two. For example, the startup module 31, the determination module 32, the bright screen module 33, the reminder module 34, the detection module 35, and the timing module 36 can be implemented by the processor of the terminal by executing a corresponding bright screen control program. There are no restrictions on this article.
实施例三Embodiment 3
一种终端,包括:A terminal comprising:
配置为采集数据的传感器41,所述传感器包括:接近传感器和加速度传感器;a sensor 41 configured to collect data, the sensor comprising: a proximity sensor and an acceleration sensor;
显示屏42; Display 42;
存储有亮屏控制程序的存储器43;a memory 43 storing a bright screen control program;
处理器44,配置为执行所述亮屏控制程序以执行下述操作:有来电或新消息时,启动所述传感器41;根据所述加速度传感器采集的数据判断终端当前是否处于静止状态,或者根据所述接近传感器采集的数据判断终端当前显示屏42前方是否有物体遮挡,或者根据所述加速度传感器采集的数据判断终端当前是否处于静止状态并且根据所述接近传感器采集的数据判断终端当前显示屏前方是否有物体遮挡;判断所述终端当前显示屏42前方有物体遮挡、或者判断终端当前处于运动状态、或者判断所述终端当前显示屏前方有物体遮挡并且终端当前处于运动状态时,保持息屏状态并采用亮屏之外的其他方式进行提醒。The processor 44 is configured to execute the bright screen control program to perform the following operations: when there is an incoming call or a new message, the sensor 41 is activated; and according to the data collected by the acceleration sensor, whether the terminal is currently in a stationary state, or according to The data collected by the proximity sensor determines whether there is an object occlusion in front of the display screen 42 of the terminal, or determines whether the terminal is currently in a stationary state according to the data collected by the acceleration sensor and determines the front of the current display screen of the terminal according to the data collected by the proximity sensor. Whether there is an object occlusion; determining that the terminal currently has an object occlusion in front of the display screen 42, or determining that the terminal is currently in a motion state, or determining that the terminal is occluded in front of the current display screen and the terminal is currently in motion state, maintaining the interest screen state And use other means than the bright screen to remind.
实际应用中,显示屏作为用户交互组件,还可配置为在亮屏时显示来电或新消息。上述终端还可包含提醒组件45,该提醒组件45可以包括马达、LED灯、喇叭等,配置为在处理器44的控制下采用亮屏指纹的其他方式进行提醒。所述处理器44中设置有计时器46,该计时器46可配置为在处理器44的控制下(即在提醒动作结束且判断所述终端仍为静止状态时)启动并进行计时;在计时器46的计时达到预定时长之前,加速度传感器持续采集数据,处理器继续根据加速度传感器采集的数据判断所述终端的静止状态是否改变,在计时器46的计时达到预定时长之前判断所述终端的静止状态发生改变时处理器点亮所述显示屏42至对应正常水平的第二亮度值。In practical applications, the display acts as a user interaction component and can also be configured to display incoming calls or new messages when the screen is bright. The terminal may further include a reminder component 45, which may include a motor, an LED light, a horn, etc., configured to be alerted by other means of using a bright-screen fingerprint under the control of the processor 44. The processor 44 is provided with a timer 46, which can be configured to be started and timed under the control of the processor 44 (ie, when the reminder action ends and the terminal is still in a stationary state); Before the timing of the device 46 reaches the predetermined time period, the acceleration sensor continuously collects data, and the processor continues to determine whether the stationary state of the terminal changes according to the data collected by the acceleration sensor, and determines the stationary state of the terminal before the timing of the timer 46 reaches a predetermined length of time. The processor illuminates the display screen 42 to a second brightness value corresponding to a normal level when the state changes.
此外,上述终端还可以包括:天线47,配置为通过通信网络传送(包括:接收或发送)来电或新消息。电源组件48(如电池、外接电源连接端等),配置为为终端的其他部分(如显示屏、传感器、处理器、天线、提醒组件等) 供电。传感器41除了可以包括加速度传感器和接近传感器指纹,还可包含光传感器等。其中,加速度传感器采集的数据可用于判断终端当前是静止状态还是运动状态、以及终端的静止状态是否改变等,接近传感器采集的数据可用于判断当前终端的显示屏42前是否有物体遮挡。光传感器采集的光感数据用于判断当前终端的显示屏42正常水平时的亮度,从而基于此在需要时将终端的显示屏42以低于正常水平的第一亮度值点亮。In addition, the above terminal may further include an antenna 47 configured to transmit (including: receive or transmit) an incoming call or a new message through the communication network. Power components 48 (such as batteries, external power connections, etc.) are configured to power other parts of the terminal (such as display screens, sensors, processors, antennas, reminder components, etc.). The sensor 41 may include an optical sensor or the like in addition to the acceleration sensor and the proximity sensor fingerprint. The data collected by the acceleration sensor can be used to determine whether the terminal is currently in a static state or a motion state, and whether the terminal is in a static state. The data collected by the proximity sensor can be used to determine whether an object is blocked in front of the display screen 42 of the current terminal. The light-sensing data collected by the light sensor is used to judge the brightness of the current display screen 42 of the terminal, so that the display screen 42 of the terminal is illuminated at a lower brightness level than the normal level.
实际应用中,本申请中各实施例所述终端可以以各种形式来实施。例如,所述终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端。In practical applications, the terminals described in the embodiments in this application may be implemented in various forms. For example, the terminal may include, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a personal digital assistant (PDA), a portable media player (PMP), a navigation device, a wearable device, Mobile terminals such as smart bracelets and pedometers.
请参阅图5,其为实现本申请上述各实施例中终端的硬件结构示意图,该终端500可以包括:RF(Radio Frequency,射频)单元501、WiFi模块502、音频输出单元503、A/V(Audio/Video,音频/视频)输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器550、以及电源511等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Referring to FIG. 5, which is a schematic diagram of a hardware structure of a terminal in the foregoing embodiments of the present application, the terminal 500 may include an RF (Radio Frequency) unit 501, a WiFi module 502, an audio output unit 503, and an A/V ( Audio/Video, audio/video input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 550, and power supply 511. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 1 does not constitute a limitation on a mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
下面结合图5对移动终端的各个部件进行具体的介绍:The following describes the various components of the mobile terminal in conjunction with FIG. 5:
射频单元501可设置成收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器550处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯***)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code Division Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址)、FDD-LTE(Frequency Division Duplexing-Long Term Evolution,频分 双工长期演进)和TDD-LTE(Time Division Duplexing-Long Term Evolution,分时双工长期演进)等。这里,射频单元501相当于图4所示终端的天线47。The radio frequency unit 501 can be configured to receive and transmit information during the transmission or reception of information or during the call. Specifically, after receiving the downlink information of the base station, the radio frequency unit 501 processes the data to the processor 550. In addition, the uplink data is sent to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 501 can also communicate with the network and other devices through wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000). , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division) Duplexing-Long Term Evolution, and TDD-LTE (Time Division Duplexing-Long Term Evolution). Here, the radio frequency unit 501 is equivalent to the antenna 47 of the terminal shown in FIG.
WiFi属于短距离无线传输技术,移动终端通过WiFi模块502可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块502,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变本申请的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile terminal can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 502, which provides wireless broadband Internet access for users. Although FIG. 5 shows the WiFi module 502, it can be understood that it does not belong to the essential configuration of the mobile terminal, and may be omitted as needed within the scope of not changing the essence of the present application.
音频输出单元503可以在移动终端500处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元501或WiFi模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503可以包括扬声器、蜂鸣器等等,可以作为图4所示终端的提醒组件45的一部分。The audio output unit 503 may receive the radio unit 501 or the WiFi module 502 or store in the memory 509 when the mobile terminal 500 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. The audio data is converted into an audio signal and output as sound. Moreover, the audio output unit 503 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 500. The audio output unit 503 may include a speaker, a buzzer, etc., which may be part of the reminder component 45 of the terminal shown in FIG.
A/V输入单元504设置成接收音频或视频信号。A/V输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或WiFi模块502进行发送。麦克风5042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风5042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。麦克风5042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 504 is arranged to receive an audio or video signal. The A/V input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 may be a still picture obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode or The image data of the video is processed. The processed image frame can be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio unit 501 or the WiFi module 502. The microphone 5042 can receive sound (audio data) via the microphone 5042 in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data. The processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 501 in the case of a telephone call mode. The microphone 5042 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
移动终端500还包括至少一种传感器505(相当于图4所示传感器41),比如光传感器、运动传感器(如加速度传感器)以及其他传感器(如接近传感器)。在示例性的实施方式中,光传感器包括环境光传感器,其中,环境 光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal 500 also includes at least one type of sensor 505 (equivalent to the sensor 41 shown in FIG. 4), such as a light sensor, a motion sensor (such as an acceleration sensor), and other sensors (such as a proximity sensor). In an exemplary embodiment, the light sensor includes an ambient light sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can close the display panel when the mobile terminal 500 moves to the ear 5061 and / or backlight. As a kind of motion sensor, the acceleration sensor can detect the acceleration of each direction (usually three axes). When it is still, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as well as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers Other sensors such as infrared sensors will not be described here.
显示单元506设置成显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。这里,显示单元506相当于图4所示终端的显示屏42。The display unit 506 is arranged to display information input by the user or information provided to the user. The display unit 506 can include a display panel 5061. The display panel 5061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Here, the display unit 506 is equivalent to the display screen 42 of the terminal shown in FIG.
用户输入单元507可设置成接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。在示例性的实施方式中,用户输入单元507可包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器550,并能接收处理器550发来的命令并加以执行。在示例性的实施方式中,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 507 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In an exemplary embodiment, the user input unit 507 may include a touch panel 5071 and other input devices 5072. The touch panel 5071, also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 5071 or near the touch panel 5071. Operation), and drive the corresponding connecting device according to a preset program. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 550 is provided and can receive commands from the processor 550 and execute them. In an exemplary embodiment, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5071, the user input unit 507 may also include other input devices 5072. Specifically, the other input device 5072 may include, but is not limited to, one or more of a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. .
在示例性的实施方式中,触控面板5071可覆盖显示面板5061,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器550以确定触摸 事件的类型,随后处理器550根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图1中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。In an exemplary embodiment, the touch panel 5071 can cover the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, the touch panel 5071 transmits to the processor 550 to determine the type of the touch event, and then the processor. The 550 provides a corresponding visual output on the display panel 5061 based on the type of touch event. Although in FIG. 1 , the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
接口单元508用作至少一个外部装置与移动终端500连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 serves as an interface through which at least one external device can connect with the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The interface unit 508 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 500 or can be used at the mobile terminal 500 and externally Data is transferred between devices.
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。这里,存储器509相当于图4所示终端的存储器43,存储有亮屏控制程序。 Memory 509 can be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Further, the memory 509 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Here, the memory 509 corresponds to the memory 43 of the terminal shown in Fig. 4, and a bright screen control program is stored.
处理器550是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器550可包括一个或多个处理单元;优选的,处理器550可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器550中。这里,处理器550相当于图4所示终端的处理器44,可执行存储器509中存储的亮屏控制程序以执行实施例一所述方法的操作,不再赘述。The processor 550 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 509, and recalling data stored in the memory 509. The mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal. The processor 550 can include one or more processing units; preferably, the processor 550 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and performs modulation and demodulation. The processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 550. Here, the processor 550 is equivalent to the processor 44 of the terminal shown in FIG. 4, and the brightness control program stored in the memory 509 can be executed to perform the operations of the method described in the first embodiment, and details are not described herein.
移动终端500还可以包括给各个部件供电的电源511(比如电池),优 选的,电源511可以通过电源管理***与处理器550逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The mobile terminal 500 may further include a power source 511 (such as a battery) for supplying power to various components. Preferably, the power source 511 may be logically connected to the processor 550 through a power management system to manage charging, discharging, and power management through the power management system. And other functions.
尽管图5未示出,移动终端500还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 5, the mobile terminal 500 may further include a Bluetooth module and the like, and details are not described herein again.
此外,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有亮屏控制程序,所述亮屏控制程序被处理器执行时实现上述亮屏控制方法的步骤。In addition, the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a bright screen control program, and the step of implementing the bright screen control method when the bright screen control program is executed by the processor .
在示例性的实施方式中,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In an exemplary embodiment, in the embodiment, the foregoing storage medium may include, but not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
在示例性的实施方式中,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。In an exemplary embodiment, in the present embodiment, the processor performs the method steps of the above-described embodiments in accordance with program code already stored in the storage medium.
在示例性的实施方式中,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。In the exemplary embodiment, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、***、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、电可擦除只读存储器(EEPROM,Electrically Erasable Programmable Read-only Memory)、闪存或其他存储器技术、光盘只读存储器(CD-ROM,Compact Disc Read-Only Memory)、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read-only Memory (EEPROM). Flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
本领域的普通技术人员可以理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。A person skilled in the art can understand that the technical solutions of the present application can be modified or equivalent, without departing from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
工业实用性Industrial applicability
通过本申请提供的亮屏控制方法、装置和终端,能够在达到提醒效果的同时降低显示屏功耗。Through the bright screen control method, device and terminal provided by the present application, the display power consumption can be reduced while achieving the reminding effect.