CN108510963A - Screen brightness adjusting method and device, storage medium and intelligent terminal - Google Patents
Screen brightness adjusting method and device, storage medium and intelligent terminal Download PDFInfo
- Publication number
- CN108510963A CN108510963A CN201810343273.4A CN201810343273A CN108510963A CN 108510963 A CN108510963 A CN 108510963A CN 201810343273 A CN201810343273 A CN 201810343273A CN 108510963 A CN108510963 A CN 108510963A
- Authority
- CN
- China
- Prior art keywords
- brightness
- screen
- brightness value
- time window
- light intensity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及电子设备技术,尤其涉及一种屏幕亮度的调整方法、装置、存储介质及智能终端。The embodiments of the present application relate to electronic equipment technologies, and in particular, to a screen brightness adjustment method, device, storage medium, and smart terminal.
背景技术Background technique
当用户使用智能终端时,如果从光线较暗的环境进入到光线较强的环境,或者由光线较强的环境进入到环境较暗的环境,需要对智能终端的屏幕亮度进行调节以适应新的环境光强度,否则会对用户视力产生负面影响。When a user uses a smart terminal, if he enters from a dark environment to a strong light environment, or enters a dark environment from a strong light environment, he needs to adjust the screen brightness of the smart terminal to adapt to the new environment. Ambient light intensity that would otherwise negatively affect the user's vision.
相关技术中,通过光线传感器检测智能终端周围的环境光强度,根据环境光强度配置适合该环境光强度的屏幕亮度。然而,相关技术的方案中,若用户手动调整屏幕亮度,则以用户输入的亮度对屏幕亮度进行调整。若用户输入的亮度不是适应该环境光强度的屏幕亮度,则在用户长时间盯着屏幕的场景下,容易导致视疲劳,会对用户视力造成负面影响。In the related technology, the ambient light intensity around the smart terminal is detected by a light sensor, and the screen brightness suitable for the ambient light intensity is configured according to the ambient light intensity. However, in the solution of the related art, if the user manually adjusts the brightness of the screen, the brightness of the screen is adjusted according to the brightness input by the user. If the brightness input by the user is not the screen brightness suitable for the ambient light intensity, it is easy to cause visual fatigue and negatively affect the user's vision in a scene where the user stares at the screen for a long time.
发明内容Contents of the invention
本申请实施例提供一种屏幕亮度的调整方法、装置、存储介质及智能终端,可以优化相关技术中的屏幕亮度调整方案。Embodiments of the present application provide a screen brightness adjustment method, device, storage medium, and smart terminal, which can optimize the screen brightness adjustment scheme in the related art.
第一方面,本申请实施例提供了一种屏幕亮度的调整方法,包括:In the first aspect, the embodiment of the present application provides a method for adjusting screen brightness, including:
根据环境光强度调整智能终端的屏幕亮度至第一亮度值;Adjusting the screen brightness of the smart terminal to the first brightness value according to the ambient light intensity;
在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值;When detecting a user-input setting operation for screen brightness, acquire a second brightness value corresponding to the setting operation;
比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制;comparing the second brightness value with the first brightness value, and determining whether to enable a preset time window mechanism according to the comparison result;
若启用所述时间窗机制,则执行所述时间窗机制对应的调整策略。If the time window mechanism is enabled, an adjustment policy corresponding to the time window mechanism is executed.
第二方面,本申请实施例还提供了一种屏幕亮度的调整装置,该装置包括:In the second aspect, the embodiment of the present application also provides a device for adjusting screen brightness, the device comprising:
第一调整模块,用于根据环境光强度调整智能终端的屏幕亮度至第一亮度值;The first adjustment module is used to adjust the screen brightness of the smart terminal to the first brightness value according to the ambient light intensity;
模式切换模块,用于在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值;A mode switching module, configured to obtain a second brightness value corresponding to the setting operation when a setting operation for screen brightness input by the user is detected;
亮度比较模块,用于比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制;A brightness comparison module, configured to compare the second brightness value with the first brightness value, and determine whether to enable a preset time window mechanism according to the comparison result;
策略执行模块,用于若启用所述时间窗机制,则执行所述时间窗机制对应的调整策略。A policy execution module, configured to execute an adjustment policy corresponding to the time window mechanism if the time window mechanism is enabled.
第三方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方面所述的屏幕亮度的调整方法。In a third aspect, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for adjusting screen brightness as described in the first aspect above is realized.
第四方面,本申请实施例还提供了一种智能终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面所述的屏幕亮度的调整方法。In the fourth aspect, the embodiment of the present application also provides an intelligent terminal, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the above-mentioned first In one aspect, the method for adjusting screen brightness.
本申请提供一种屏幕亮度的调整方案,通过根据环境光强度调整智能终端的屏幕亮度至第一亮度值;在检测到用户输入的针对屏幕亮度的设置操作时,获取该设置操作对应的第二亮度值;比较第二亮度值与第一亮度值,根据比较结果确定是否启用预设时间窗机制,执行该时间窗机制对应的调整策略,可以在出现屏幕亮度与当前环境光强度不匹配的情况后,通过该调整策略对屏幕亮度进行调整,避免屏幕亮度的调节操作不够智能的情况发生,从而,解决用户长时间盯着不适应当前环境光强度的屏幕,容易产生疲劳的问题。The present application provides a screen brightness adjustment scheme, by adjusting the screen brightness of the smart terminal to the first brightness value according to the ambient light intensity; Brightness value; compare the second brightness value with the first brightness value, determine whether to enable the preset time window mechanism according to the comparison result, and execute the adjustment strategy corresponding to the time window mechanism, which can be used when the screen brightness does not match the current ambient light intensity. Finally, the adjustment strategy is used to adjust the screen brightness to avoid the situation that the adjustment operation of the screen brightness is not intelligent enough, thereby solving the problem that the user is prone to fatigue when staring at the screen that is not suitable for the current ambient light intensity for a long time.
附图说明Description of drawings
图1是本申请实施例提供的一种屏幕亮度的调整方法的流程图;FIG. 1 is a flow chart of a method for adjusting screen brightness provided by an embodiment of the present application;
图2是本申请实施例提供的另一种屏幕亮度的调整方法的流程图;FIG. 2 is a flow chart of another method for adjusting screen brightness provided by an embodiment of the present application;
图3是本申请实施例提供的又一种屏幕亮度的调整方法;Fig. 3 is another screen brightness adjustment method provided by the embodiment of the present application;
图4是本申请实施例提供的一种屏幕亮度的调整装置的结构示意图;FIG. 4 is a schematic structural diagram of a device for adjusting screen brightness provided in an embodiment of the present application;
图5是本申请实施例提供的一种智能终端的结构示意图;FIG. 5 is a schematic structural diagram of a smart terminal provided by an embodiment of the present application;
图6是本申请实施例提供的一种智能手机的结构框图。Fig. 6 is a structural block diagram of a smart phone provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
图1为本申请实施例提供的一种屏幕亮度的调整方法的流程图,该方法可以由屏幕亮度的调整装置来执行,其中,该装置可由软件和/或硬件实现,一般可集成在智能终端中。如图1所示,该方法包括:Fig. 1 is a flow chart of a screen brightness adjustment method provided by an embodiment of the present application, the method can be executed by a screen brightness adjustment device, wherein the device can be implemented by software and/or hardware, and can generally be integrated into a smart terminal middle. As shown in Figure 1, the method includes:
步骤110、根据环境光强度调整智能终端的屏幕亮度至第一亮度值。Step 110, adjust the screen brightness of the smart terminal to the first brightness value according to the ambient light intensity.
需要说明的是,智能终端,包括但不限于智能手机、平板电脑、电子书或掌上游戏机,其屏幕亮度调节模式通常包括:自动调节模式和手动调节模式。其中,自动调节模式,通过智能终端内置的光线传感器采集周围环境的环境光强度,并根据该环境光强度自动调整终端屏幕(可以是触摸显示屏,或者显示屏)的亮度值。手动调节模式,通过检测用户输入的针对屏幕亮度的设置操作,包括在触摸显示屏上的滑动操作,或数值输入操作等,根据该设置操作对应的亮度值调整终端屏幕的亮度值。例如,检测亮度调整条的状态,若检测到亮度调整条的滑动动作,则确定滑动动作终止时,该亮度调整条对应的亮度值,根据该亮度值更新终端屏幕的亮度值。It should be noted that the screen brightness adjustment modes of smart terminals, including but not limited to smartphones, tablet computers, e-books or handheld game consoles, generally include: automatic adjustment mode and manual adjustment mode. Among them, the automatic adjustment mode collects the ambient light intensity of the surrounding environment through the built-in light sensor of the smart terminal, and automatically adjusts the brightness value of the terminal screen (which can be a touch display screen or a display screen) according to the ambient light intensity. In the manual adjustment mode, by detecting the setting operation of the screen brightness input by the user, including the sliding operation on the touch screen, or the numerical input operation, etc., the brightness value of the terminal screen is adjusted according to the brightness value corresponding to the setting operation. For example, the state of the brightness adjustment bar is detected, and if a sliding action of the brightness adjustment bar is detected, the brightness value corresponding to the brightness adjustment bar is determined when the sliding action ends, and the brightness value of the terminal screen is updated according to the brightness value.
需要说明的是,智能终端通常采用自动调节模式自适应的调整屏幕亮度。然而,在检测到用户输入的针对屏幕亮度的设置操作后,智能终端响应该设置操作对智能终端的屏幕亮度进行调整,并且,调整后的屏幕亮度会维持在该设置操作对应的亮度值,并不会由于其与当前环境的环境光强度不匹配而自适应地进行调整。可以理解为屏幕亮度调节模式由自动调节模式切换至手动调节模式。即CPU按照设定的周期由光线传感器获取环境光强度,但是不会根据该环境光强度自动调整屏幕亮度。为了降低此种场景下的终端功耗,可以延长CPU由光线传感器获取环境光强度的周期。It should be noted that the smart terminal usually adopts an automatic adjustment mode to adaptively adjust the brightness of the screen. However, after detecting the setting operation of the screen brightness input by the user, the smart terminal adjusts the screen brightness of the smart terminal in response to the setting operation, and the adjusted screen brightness will remain at the brightness value corresponding to the setting operation, and Does not adaptively adjust due to its mismatch with the current environment's ambient light intensity. It can be understood that the screen brightness adjustment mode is switched from the automatic adjustment mode to the manual adjustment mode. That is, the CPU obtains the ambient light intensity from the light sensor according to the set cycle, but does not automatically adjust the screen brightness according to the ambient light intensity. In order to reduce the power consumption of the terminal in this scenario, the period for the CPU to obtain the ambient light intensity by the light sensor may be extended.
需要说明的是,若智能终端检测到触发自动调节模式启动的预设事件,则控制屏幕调节模式切换至自动调节模式,在此模式下,智能终端可以根据环境光强度调整屏幕亮度。It should be noted that if the smart terminal detects a preset event that triggers the start of the automatic adjustment mode, it will control the screen adjustment mode to switch to the automatic adjustment mode. In this mode, the smart terminal can adjust the screen brightness according to the ambient light intensity.
按照设定周期由光线传感器获取周围环境的环境光强度,根据该环境光强度值确定与当前环境匹配的终端屏幕的目标亮度等级。获取当前终端屏幕的第一亮度值。若该第一亮度值与目标亮度等级不匹配,则根据目标亮度等级对应的亮度值更新当前的第一亮度值。若该第一亮度值与目标亮度等级匹配,则维持当前屏幕的亮度值不变。The light sensor acquires the ambient light intensity of the surrounding environment according to the set period, and determines the target brightness level of the terminal screen matching the current environment according to the ambient light intensity value. Get the first brightness value of the current terminal screen. If the first brightness value does not match the target brightness level, the current first brightness value is updated according to the brightness value corresponding to the target brightness level. If the first brightness value matches the target brightness level, the brightness value of the current screen remains unchanged.
需要说明的是,设定周期可以是系统默认周期,还可以由用户根据实际情况设置。其中,可以通过向预设数量的用户群体发放实验用智能终端,该智能终端被预先禁用了屏幕亮度的自动调节模式,对用户群体的屏幕亮度调节行为进行采集,根据该屏幕亮度调节行为分析用户通常在屏幕亮度与当前环境光强度不匹配后多长时间会手动调整屏幕亮度,从而,根据分析结果确定设定周期。It should be noted that the set period may be the default period of the system, or may be set by the user according to actual conditions. Among them, the experimental smart terminal can be distributed to a preset number of user groups, and the automatic adjustment mode of the screen brightness has been disabled in advance for the smart terminal, so as to collect the screen brightness adjustment behavior of the user group, and analyze the user's behavior according to the screen brightness adjustment behavior. Usually, how long does it take to manually adjust the screen brightness after the screen brightness does not match the current ambient light intensity, so that the setting period is determined according to the analysis result.
需要说明的是,屏幕亮度可调节范围可以是0~255,可以根据用户使用习惯将该调节范围划分为预设数量的亮度等级,例如,可以将该调节范围划分为5个亮度等级:30、70、150、220、255。其中,亮度等级越高,屏幕亮度越大。预先设置智能终端的亮度等级与环境光强度的关联关系。例如,假设亮度等级为30等级(屏幕亮度不超过30),设置与该等级匹配的环境光强度范围为10~30lux;假设亮度等级为70等级(屏幕亮度不超过70),设置与该等级匹配的环境光强度范围为31~61lux等。It should be noted that the adjustable range of screen brightness can be from 0 to 255, and the adjustment range can be divided into a preset number of brightness levels according to the user's usage habits. For example, the adjustment range can be divided into five brightness levels: 30, 70, 150, 220, 255. Wherein, the higher the brightness level is, the brighter the screen is. The correlation between the brightness level of the smart terminal and the ambient light intensity is set in advance. For example, suppose the brightness level is 30 (the brightness of the screen does not exceed 30), and the range of ambient light intensity matching this level is set to 10~30lux; assuming the brightness level is 70 (the brightness of the screen does not exceed 70), the setting matches this level The range of ambient light intensity is 31~61lux and so on.
步骤120、在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值。Step 120 , when detecting a setting operation of screen brightness input by a user, acquire a second brightness value corresponding to the setting operation.
需要说明的是,设置操作可以是针对亮度调整条的滑动操作,还可以是亮度值输入操作,包括但不限于语音输入操作及手动输入操作。It should be noted that the setting operation may be a sliding operation on the brightness adjustment bar, or an input operation of a brightness value, including but not limited to a voice input operation and a manual input operation.
示例性的,在检测到屏幕亮度调整接口被调用时,判断调用该屏幕亮度调节接口的执行主体。若该执行主体为触摸屏,则确定检测到用户输入的针对屏幕亮度的设置操作。例如,若通过亮度调整条调整屏幕亮度,则记录设置操作停止时的位置。根据位置与亮度值的对应关系,确定亮度调整条所处位置对应的亮度值,作为第二亮度值。Exemplarily, when it is detected that the screen brightness adjustment interface is called, the execution subject that calls the screen brightness adjustment interface is determined. If the execution subject is a touch screen, it is determined that a setting operation for screen brightness input by a user is detected. For example, if the brightness of the screen is adjusted through the brightness adjustment bar, the position at which the setting operation stops is recorded. According to the corresponding relationship between the position and the brightness value, the brightness value corresponding to the position of the brightness adjustment bar is determined as the second brightness value.
可选的,若执行主体为麦克风,则确定检测到用户输入的针对屏幕亮度的设置操作。若通过语音设置屏幕亮度,则可以获取用户通过语音输入的亮度值,将该亮度值作为第二亮度值。Optionally, if the execution subject is a microphone, it is determined that a user-input setting operation for screen brightness is detected. If the brightness of the screen is set by voice, the brightness value input by the user by voice may be obtained, and the brightness value may be used as the second brightness value.
步骤130、比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制。Step 130: Compare the second brightness value with the first brightness value, and determine whether to enable a preset time window mechanism according to the comparison result.
需要说明的是,时间窗机制包括:根据第二亮度值更新屏幕亮度,若屏幕亮度维持第二亮度的时间超过预设时间阈值,则提示用户调整屏幕亮度。It should be noted that the time window mechanism includes: updating the screen brightness according to the second brightness value, and prompting the user to adjust the screen brightness if the time for which the screen brightness maintains the second brightness exceeds a preset time threshold.
示例性的,比较第二亮度值与第一亮度值的大小。若环境光强度低于预设光强阈值,即当前环境为暗环境,且第二亮度值大于第一亮度值,则控制屏幕亮度调节模式由自动调节模式切换至手动调节模式;此外,还触发时间窗机制的启用事件,确定该智能终端处于亮度异常状态。需要说明的是,若环境光强度低于预设光强阈值,即当前环境为暗环境,且第二亮度值大于第一亮度值,则启用预设的时间窗机制,且在该启用事件被触发后,执行启用预设时间窗机制的操作。Exemplarily, the magnitudes of the second brightness value and the first brightness value are compared. If the ambient light intensity is lower than the preset light intensity threshold, that is, the current environment is a dark environment, and the second brightness value is greater than the first brightness value, the control screen brightness adjustment mode is switched from automatic adjustment mode to manual adjustment mode; in addition, trigger The activation event of the time window mechanism determines that the smart terminal is in an abnormal state of brightness. It should be noted that if the ambient light intensity is lower than the preset light intensity threshold, that is, the current environment is a dark environment, and the second brightness value is greater than the first brightness value, the preset time window mechanism is enabled, and when the enabled event is When triggered, perform an action that enables the preset time window mechanism.
需要说明的是,若当前环境为暗环境,且第二亮度值低于第一亮度值,则不启用预设时间窗机制,判定该智能终端处于亮度正常状态。It should be noted that if the current environment is a dark environment and the second brightness value is lower than the first brightness value, the preset time window mechanism is not enabled, and it is determined that the smart terminal is in a normal brightness state.
可替换的,假设当前环境为暗环境,计算第二亮度值与第一亮度值的差值的绝对值,将该绝对值与预设数据阈值进行比较。若该绝对值超过预设数据阈值,则控制屏幕亮度调节模式由自动调节模式切换至手动调节模式;此外,还触发时间窗机制的启用事件,确定该智能终端处于亮度异常状态。为了避免对用户视力造成较大的伤害,可以将该预设数据阈值设置的比较小,即可以允许用户稍微调节屏幕亮度,使屏幕亮度与第一亮度值产生小范围的偏移,此时,由于用户调整后的第二亮度值接近第一亮度值,不会对用户视力造成较大伤害,可以不触发预设时间窗机制的启用事件。Alternatively, assuming that the current environment is a dark environment, the absolute value of the difference between the second brightness value and the first brightness value is calculated, and the absolute value is compared with a preset data threshold. If the absolute value exceeds the preset data threshold, the control screen brightness adjustment mode is switched from automatic adjustment mode to manual adjustment mode; in addition, an activation event of the time window mechanism is also triggered to determine that the smart terminal is in an abnormal brightness state. In order to avoid causing greater damage to the user's eyesight, the preset data threshold can be set relatively small, that is, the user can be allowed to slightly adjust the screen brightness, so that the screen brightness and the first brightness value have a small deviation. At this time, Since the second brightness value adjusted by the user is close to the first brightness value, the user's eyesight will not be greatly damaged, and the enabling event of the preset time window mechanism may not be triggered.
示例性的,若环境光强度高于预设光强阈值,即当前环境为亮环境,且第二亮度值小于第一亮度值,则控制屏幕亮度调节模式由自动调节模式切换至手动调节模式;此外,还触发时间窗机制的启用事件,确定该智能终端处于亮度异常状态。需要说明的是,若环境光强度高于预设光强阈值,即当前环境为亮环境,且第二亮度值小于第一亮度值,则启用预设的时间窗机制,且在该启用事件被触发后,执行启用预设时间窗机制的操作。Exemplarily, if the ambient light intensity is higher than the preset light intensity threshold, that is, the current environment is a bright environment, and the second brightness value is smaller than the first brightness value, the control screen brightness adjustment mode is switched from the automatic adjustment mode to the manual adjustment mode; In addition, an enabling event of the time window mechanism is also triggered to determine that the smart terminal is in an abnormal state of brightness. It should be noted that if the ambient light intensity is higher than the preset light intensity threshold, that is, the current environment is a bright environment, and the second brightness value is smaller than the first brightness value, the preset time window mechanism is enabled, and when the enabled event is When triggered, perform an action that enables the preset time window mechanism.
可替换的,假设当前环境为亮环境,计算第二亮度值与第一亮度值的差值的绝对值,将该绝对值与预设数据阈值进行比较。若该绝对值超过预设数据阈值,则控制屏幕亮度调节模式由自动调节模式切换至手动调节模式;此外,还触发时间窗机制的启用事件,确定该智能终端处于亮度异常状态。Alternatively, assuming that the current environment is a bright environment, the absolute value of the difference between the second brightness value and the first brightness value is calculated, and the absolute value is compared with a preset data threshold. If the absolute value exceeds the preset data threshold, the control screen brightness adjustment mode is switched from automatic adjustment mode to manual adjustment mode; in addition, an activation event of the time window mechanism is also triggered to determine that the smart terminal is in an abnormal brightness state.
步骤140、若启用所述时间窗机制,则执行所述时间窗机制对应的调整策略。Step 140, if the time window mechanism is enabled, execute an adjustment policy corresponding to the time window mechanism.
需要说明的是,调整策略包括:在亮度异常状态的持续存在时间大于或等于预设阈值时,输出对当前的屏幕亮度进行调整的提示信息;在亮度异常状态的持续存在时间小于预设阈值时,禁用时间窗机制。It should be noted that the adjustment strategy includes: when the duration of the abnormal brightness state is greater than or equal to a preset threshold, output a prompt message for adjusting the current screen brightness; when the duration of the abnormal brightness state is less than the preset threshold , to disable the time window mechanism.
其中,该预设阈值可以是系统默认值,还可以根据用户的使用习惯进行调整。例如,采集设定时间段(例如,可以是一个月)内用户针对该提示信息的历史操作数据。采用数据分析方式对该历史操作数据进行分类、提取特征等处理,确定该用户针对该提示信息的输入操作通常是什么。如果用户针对该提示信息的输入操作通常是肯定指示,即调整屏幕亮度,则维持该系统默认值不变。若用户针对该提示信息的输入操作通常是否定指示,即放弃调整屏幕亮度,则调高该预设阈值,例如,假设原预设阈值为30分钟,可以调整该预设阈值为1小时。Wherein, the preset threshold may be a default value of the system, and may also be adjusted according to the usage habits of the user. For example, the user's historical operation data on the prompt information within a set period of time (for example, one month) is collected. The data analysis method is used to classify the historical operation data, extract features, etc., and determine what the user's input operation for the prompt information is usually. If the user's input operation for the prompt information is usually a positive indication, that is, to adjust the brightness of the screen, the system default value remains unchanged. If the user's input operation for the prompt information is usually a negative instruction, that is, to give up adjusting the screen brightness, then increase the preset threshold. For example, assuming that the original preset threshold is 30 minutes, the preset threshold can be adjusted to 1 hour.
示例性的,若检测到该时间窗机制的启用事件,则启用该时间窗机制,即记录该智能终端处于亮度异常状态的持续时间。其中,亮度异常状态包括:若当前环境为暗环境,且第二亮度值大于第一亮度值,则确定该智能终端处于亮度异常状态;或者,假设当前环境为暗环境,计算第二亮度值与第一亮度值的差值的绝对值,若该绝对值超过预设数据阈值,则确定该智能终端处于亮度异常状态;或者,若当前环境为亮环境,且第二亮度值小于第一亮度值,则确定该智能终端处于亮度异常状态;或者,假设当前环境为亮环境,计算第二亮度值与第一亮度值的差值的绝对值,若该绝对值超过预设数据阈值,则确定该智能终端处于亮度异常状态。Exemplarily, if an activation event of the time window mechanism is detected, the time window mechanism is enabled, that is, the duration of the smart terminal being in the abnormal brightness state is recorded. Wherein, the abnormal brightness state includes: if the current environment is a dark environment, and the second brightness value is greater than the first brightness value, then determine that the smart terminal is in an abnormal brightness state; or, assuming that the current environment is a dark environment, calculate the second brightness value and The absolute value of the difference of the first brightness value, if the absolute value exceeds the preset data threshold, it is determined that the smart terminal is in an abnormal brightness state; or, if the current environment is a bright environment, and the second brightness value is less than the first brightness value , it is determined that the smart terminal is in an abnormal brightness state; or, assuming that the current environment is a bright environment, calculate the absolute value of the difference between the second brightness value and the first brightness value, and if the absolute value exceeds the preset data threshold, then determine the The smart terminal is in an abnormal state of brightness.
需要说明的是,持续时间为亮度异常状态连续存在的时间。It should be noted that the duration is the time during which the abnormal brightness state continuously exists.
在该持续时间大于或等于预设阈值时,输出对当前的屏幕亮度进行调整的提示信息。例如,若当前环境为暗环境,记录第二亮度值大于第一亮度值的持续时间,若在计时过程中,检测到用户将屏幕亮度调整为第一亮度值,或者,调整为低于第一亮度值的第三亮度值,则停止计时。获取第二亮度值大于第一亮度值的持续时间,将该持续时间与预设阈值进行比较。若第二亮度值大于第一亮度值的持续时间大于预设阈值,则输出“您当前屏幕较亮,建议恢复为默认亮度”。其中,该默认亮度为当前环境光强度对应的屏幕亮度,即可以认为是第一亮度值。When the duration is greater than or equal to the preset threshold, a prompt message for adjusting the current screen brightness is output. For example, if the current environment is a dark environment, record the duration for which the second brightness value is greater than the first brightness value, and if it is detected that the user adjusts the screen brightness to the first brightness value or lower than the first the third brightness value of the brightness value, stop timing. The duration time during which the second brightness value is greater than the first brightness value is acquired, and the duration time is compared with a preset threshold. If the duration of the second brightness value greater than the first brightness value is greater than the preset threshold, output "Your current screen is bright, it is recommended to restore to the default brightness". Wherein, the default brightness is the screen brightness corresponding to the current ambient light intensity, that is, it can be regarded as the first brightness value.
在所述持续时间小于预设阈值时,禁用所述时间窗机制。例如,若当前环境为暗环境,且第二亮度值大于第一亮度值的持续时间小于预设阈值,则禁用时间窗机制,即时间窗机制消失,将该持续时间置零,以便于在下一次第二亮度值大于第一亮度值的亮度异常状态出现时,准确地记录该状态的持续时间。When the duration is less than a preset threshold, the time window mechanism is disabled. For example, if the current environment is a dark environment, and the duration of the second brightness value greater than the first brightness value is less than the preset threshold, the time window mechanism is disabled, that is, the time window mechanism disappears, and the duration is set to zero, so that the next time When an abnormal state of brightness in which the second brightness value is greater than the first brightness value occurs, the duration of the state is accurately recorded.
本实施例的技术方案,通过根据环境光强度调整智能终端的屏幕亮度至第一亮度值;在检测到用户输入的针对屏幕亮度的设置操作时,获取该设置操作对应的第二亮度值;比较第二亮度值与第一亮度值,根据比较结果确定是否启用预设时间窗机制,执行该时间窗机制对应的调整策略,可以在出现屏幕亮度与当前环境光强度不匹配的情况后,通过该调整策略对屏幕亮度进行调整,避免屏幕亮度的调节操作不够智能的情况发生,从而,解决用户长时间盯着不适应当前环境光强度的屏幕,容易产生疲劳的问题。In the technical solution of this embodiment, the screen brightness of the smart terminal is adjusted to the first brightness value according to the ambient light intensity; when the setting operation for the screen brightness input by the user is detected, the second brightness value corresponding to the setting operation is obtained; comparison The second brightness value and the first brightness value determine whether to enable the preset time window mechanism according to the comparison result, and execute the adjustment strategy corresponding to the time window mechanism. After the situation that the screen brightness does not match the current ambient light intensity occurs, through this The adjustment strategy adjusts the brightness of the screen to avoid the situation that the adjustment operation of the screen brightness is not intelligent enough, thereby solving the problem that the user is prone to fatigue when staring at the screen that is not suitable for the current ambient light intensity for a long time.
图2是本申请实施例提供的另一种屏幕亮度的调整方法的流程图。如图2所示,该方法包括:FIG. 2 is a flow chart of another method for adjusting screen brightness provided by an embodiment of the present application. As shown in Figure 2, the method includes:
步骤201、根据环境光强度调整智能终端的屏幕亮度至第一亮度值。Step 201. Adjust the screen brightness of the smart terminal to a first brightness value according to the ambient light intensity.
步骤202、在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值。Step 202 , when detecting a setting operation of screen brightness input by a user, acquire a second brightness value corresponding to the setting operation.
步骤203、比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制,若是,则执行步骤204,否则,执行步骤212。Step 203 , compare the second brightness value with the first brightness value, determine whether to enable the preset time window mechanism according to the comparison result, if yes, execute step 204 , otherwise, execute step 212 .
步骤204、判断当前的环境光强度值与相邻的上一个环境光强度值的差值是否小于设定光强阈值,若是,则执行步骤205,否则,执行步骤212。Step 204 , judging whether the difference between the current ambient light intensity value and the previous adjacent ambient light intensity value is smaller than the set light intensity threshold, if yes, execute step 205 , otherwise, execute step 212 .
示例性的,在启用所述时间窗机制之后,检测周围环境的环境光强度是否发生较大变化,若是,则未发生较大变化,则执行步骤205。相反的,若发生较大变化,则可能导致时间窗机制不再适用,相应的执行步骤212。Exemplarily, after the time window mechanism is enabled, it is detected whether the ambient light intensity of the surrounding environment changes greatly, if yes, no significant change occurs, and step 205 is performed. On the contrary, if a large change occurs, the time window mechanism may no longer be applicable, and step 212 is executed accordingly.
需要说明的是,本步骤并不是必须执行的步骤,在某些示例中可以不执行本步骤,直接执行步骤205。It should be noted that this step is not a mandatory step, and in some examples, this step may not be performed, and step 205 may be directly performed.
步骤205、记录所述智能终端处于亮度异常状态的持续时间。Step 205. Record the duration of the smart terminal being in the abnormal brightness state.
若当前环境的环境光强度低于预设光强阈值,即为暗环境,则在该第二亮度值大于第一亮度值时,启动计时器,并在检测到该第二亮度值小于第一亮度值时,停止计时器,读取该计时器的数值作为亮度异常状态的持续时间。If the ambient light intensity of the current environment is lower than the preset light intensity threshold, it is a dark environment, then when the second brightness value is greater than the first brightness value, start the timer, and when it is detected that the second brightness value is lower than the first brightness value When the brightness value is reached, the timer is stopped, and the value of the timer is read as the duration of the abnormal brightness state.
可替换的,若当前环境的环境光强度高于预设光强阈值,即为亮环境,则在该第二亮度值小于第一亮度值时,启动计时器,并在检测到该第二亮度值大于第一亮度值时,停止计时,读取该计时器的数值作为亮度异常状态的持续时间。Alternatively, if the ambient light intensity of the current environment is higher than the preset light intensity threshold, which is a bright environment, then when the second brightness value is less than the first brightness value, start the timer, and when the second brightness is detected When the value is greater than the first brightness value, stop timing, and read the value of the timer as the duration of the abnormal brightness state.
可替换的,计算第二亮度值与第一亮度值的差值的绝对值。在该绝对值大于预设数据阈值时,启动计时器,并在该绝对值小于预设数据阈值时,停止计时器,读取该计时器的数值作为亮度异常状态的持续时间。Alternatively, the absolute value of the difference between the second brightness value and the first brightness value is calculated. When the absolute value is greater than the preset data threshold, the timer is started, and when the absolute value is smaller than the preset data threshold, the timer is stopped, and the value of the timer is read as the duration of the abnormal brightness state.
步骤206、判断所述持续时间是否不小于预设阈值,若是,则执行步骤207,否则,执行步骤212。Step 206 , judging whether the duration is not less than a preset threshold, if yes, execute step 207 , otherwise, execute step 212 .
其中,该预设阈值可以是系统默认值,还可以根据用户的使用习惯进行调整,还可以根据当前环境的环境光强度确定所述智能终端的应用环境,获取与所述智能终端的应用环境对应的预设阈值。例如,可以预先设置场景与预设阈值的对应关系,也就是说可以区别夜晚未开灯场景、夜晚开灯场景、白天室内场景及白天室外场景等,为不同场景设置不同的预设阈值。Wherein, the preset threshold value may be a default value of the system, and may also be adjusted according to the user's usage habits. The application environment of the smart terminal may also be determined according to the ambient light intensity of the current environment, and the threshold corresponding to the application environment of the smart terminal may be obtained. preset threshold. For example, the corresponding relationship between scenes and preset thresholds can be set in advance, that is to say, scenes without lights at night, scenes with lights on at night, indoor scenes during the day, and outdoor scenes during the day can be distinguished, and different preset thresholds can be set for different scenes.
比较该持续时间与预设阈值的大小关系。若该持续时间不小于预设阈值,则执行步骤207。The relationship between the duration and the preset threshold is compared. If the duration is not less than the preset threshold, step 207 is executed.
步骤207、输出对当前的屏幕亮度进行调整的提示信息。Step 207 , outputting prompt information for adjusting the current screen brightness.
在持续时间大于或等于预设阈值时,输出对当前的屏幕亮度进行调整的提示信息。例如,在持续时间大于预设阈值时,弹窗提醒用户“您当前屏幕较亮,建议恢复为默认亮度”。When the duration is greater than or equal to the preset threshold, a prompt message for adjusting the current screen brightness is output. For example, when the duration is greater than the preset threshold, a pop-up window reminds the user "Your current screen is bright, it is recommended to restore to the default brightness".
步骤208、获取用户操作指示。Step 208, acquiring a user operation instruction.
其中,用户操作指示包括肯定指示及否定指示,该肯定指示用于表示允许智能终端响应该提示信息进行屏幕亮度的自动调整,该否定指示用于表示不允许智能终端响应该提示信息进行屏幕亮度的自动调整。Wherein, the user operation instruction includes an affirmative instruction and a negative instruction, the affirmative instruction is used to indicate that the smart terminal is allowed to automatically adjust the screen brightness in response to the prompt information, and the negative instruction is used to indicate that the smart terminal is not allowed to respond to the prompt information to perform screen brightness adjustment. auto-adjust.
步骤209、判断该用户操作指示是否为肯定指示,若是,则执行步骤210,否则执行步骤211。Step 209 , judging whether the user operation instruction is an affirmative instruction, if yes, execute step 210 , otherwise execute step 211 .
判断该用户操作指示是否为调整屏幕亮度,若是,则执行步骤210。It is determined whether the user operation instruction is to adjust screen brightness, and if yes, step 210 is performed.
步骤210、调整所述屏幕亮度至所述第一亮度值,并控制屏幕亮度调节模式由手动调节模式切换至自动调节模式。Step 210, adjust the screen brightness to the first brightness value, and control the screen brightness adjustment mode to switch from the manual adjustment mode to the automatic adjustment mode.
若用户操作指示为调整屏幕亮度,则获取第一亮度值,据此更新屏幕亮度。此外,控制屏幕亮度调节模式由手动调节模式切换至自动调节模式,以根据光线传感器采集的环境光强度验证当前的屏幕亮度是否与当前环境光强度相适应。若检测到屏幕亮度与当前环境光强度不匹配,则自动根据当前环境光强度匹配的亮度等级更新屏幕亮度。If the user operation instruction is to adjust screen brightness, the first brightness value is obtained, and the screen brightness is updated accordingly. In addition, the control screen brightness adjustment mode is switched from the manual adjustment mode to the automatic adjustment mode, so as to verify whether the current screen brightness is compatible with the current ambient light intensity according to the ambient light intensity collected by the light sensor. If it is detected that the screen brightness does not match the current ambient light intensity, the screen brightness is automatically updated according to the brightness level matched by the current ambient light intensity.
步骤211、维持所述屏幕亮度的取值不变。Step 211. Keep the value of the screen brightness unchanged.
若用户操作指示为放弃调整屏幕亮度,则维持屏幕亮度为第二亮度值不变。此外,还可以维持屏幕亮度调节模式为手动调节模式不变。If the user operation instruction is to give up adjusting the screen brightness, then keep the screen brightness unchanged at the second brightness value. In addition, the screen brightness adjustment mode can also be maintained as the manual adjustment mode.
步骤212、禁用所述时间窗机制。Step 212, disable the time window mechanism.
在持续时间小于预设阈值时,控制时间窗机制消失,即禁用该时间窗机制。可选的,在禁用该时间窗机制之后,若当前的屏幕亮度调整模式为手动模式,还可以将屏幕亮度调整模式自动切换至自动调整模式。When the duration is less than the preset threshold, the control time window mechanism disappears, that is, the time window mechanism is disabled. Optionally, after the time window mechanism is disabled, if the current screen brightness adjustment mode is the manual mode, the screen brightness adjustment mode can also be automatically switched to the automatic adjustment mode.
本实施例的技术方案,通过在启用所述时间窗机制之后,附加检测周围环境的环境光强度是否发生较大变化,根据检测结果确定时间窗机制是否还适用,从而,避免出现时间窗机制不适用情况下的屏幕亮度的误调整,提高了调整准确度。另外,在输出对当前的屏幕亮度进行调整的提示信息之后,附加获取用户操作指示的操作,从而,根据该用户操作指示对屏幕亮度执行相应的调整,可以在出现屏幕亮度与当前环境光强度不匹配的情况后,智能的对屏幕亮度进行调整,避免屏幕亮度的调节操作不够智能的情况发生,从而,解决用户长时间盯着不适应当前环境光强度的屏幕,容易产生疲劳的问题。In the technical solution of this embodiment, after the time window mechanism is enabled, it is additionally detected whether the ambient light intensity of the surrounding environment has changed greatly, and it is determined whether the time window mechanism is still applicable according to the detection result, thereby avoiding the occurrence of an inappropriate time window mechanism. Misadjustment of screen brightness where applicable improves adjustment accuracy. In addition, after outputting the prompt information for adjusting the current screen brightness, the operation of obtaining the user operation instruction is added, so that the screen brightness is adjusted accordingly according to the user operation instruction, and when the screen brightness is different from the current ambient light intensity, After matching the situation, the screen brightness is adjusted intelligently to avoid the situation that the adjustment operation of the screen brightness is not intelligent enough, thereby solving the problem that the user is prone to fatigue when staring at the screen that is not suitable for the current ambient light intensity for a long time.
图3是本申请实施例提供的又一种屏幕亮度的调整方法。如图3所示,该方法包括:FIG. 3 is another screen brightness adjustment method provided by the embodiment of the present application. As shown in Figure 3, the method includes:
步骤301、根据环境光强度调整智能终端的屏幕亮度至第一亮度值。Step 301. Adjust the screen brightness of the smart terminal to a first brightness value according to the ambient light intensity.
步骤302、在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值。Step 302 , when a setting operation input by a user for screen brightness is detected, acquire a second brightness value corresponding to the setting operation.
步骤303、比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制,若是,则执行步骤304,否则,执行步骤318。Step 303 , compare the second brightness value with the first brightness value, determine whether to enable the preset time window mechanism according to the comparison result, if yes, execute step 304 , otherwise, execute step 318 .
步骤304、判断当前的环境光强度值与相邻的上一个环境光强度值的差值是否小于设定光强阈值,若是,则执行步骤305,否则,执行步骤318。Step 304 , judging whether the difference between the current ambient light intensity value and the previous adjacent ambient light intensity value is smaller than the set light intensity threshold, if yes, execute step 305 , otherwise, execute step 318 .
步骤305、由光线传感器获取当前的环境光强度,将所述环境光强度与预设光强阈值进行比较,根据比较结果确定计时器的启动时机。Step 305 , the light sensor acquires the current ambient light intensity, compares the ambient light intensity with a preset light intensity threshold, and determines the timing of starting the timer according to the comparison result.
示例性的,由光线传感器获取当前的环境光强度。若所述环境光强度低于预设光强阈值,则可以在所述第二亮度值大于所述第一亮度值时,启动计时器;若所述环境光强度高于预设光强阈值,则可以在所述第二亮度值小于所述第一亮度值时,启动计时器。Exemplarily, the current ambient light intensity is acquired by a light sensor. If the ambient light intensity is lower than the preset light intensity threshold, a timer may be started when the second brightness value is greater than the first brightness value; if the ambient light intensity is higher than the preset light intensity threshold, Then a timer may be started when the second brightness value is smaller than the first brightness value.
步骤306、通过计时器进行计时。Step 306, timing by a timer.
步骤307、在启动计时器后,检测到用户输入的针对屏幕亮度的设置操作,获取所述设置操作对应的第三亮度值。Step 307. After the timer is started, a setting operation for screen brightness input by the user is detected, and a third brightness value corresponding to the setting operation is acquired.
在计时器启动后,即在计时期间,若检测到用户又输入了针对屏幕亮度的设置操作,则可以在设置操作结束时,将亮度调整条所处位置对应的亮度值作为第三亮度值。可选的,还可以获取用户输入的亮度值等等。After the timer is started, that is, during the timing period, if it is detected that the user has input another setting operation for screen brightness, the brightness value corresponding to the position of the brightness adjustment bar may be used as the third brightness value when the setting operation ends. Optionally, the brightness value input by the user and so on can also be obtained.
步骤308、根据环境光强度与预设光强阈值的关系确定周围环境为暗环境或亮环境。Step 308: Determine whether the surrounding environment is a dark environment or a bright environment according to the relationship between the ambient light intensity and the preset light intensity threshold.
需要说明的是,可以由光线传感器获取环境光强度。It should be noted that the ambient light intensity may be acquired by a light sensor.
将环境光强度与预设光强阈值进行比较,以确定当前环境为暗环境还是亮环境。The ambient light intensity is compared with a preset light intensity threshold to determine whether the current environment is a dark environment or a bright environment.
需要说明的是,本步骤不是必须执行的步骤,也可以直接执行步骤309。It should be noted that this step is not required to be performed, and step 309 may also be performed directly.
步骤309、若环境光强度低于预设光强阈值,则判断所述第三亮度值是否小于所述第一亮度值,若是,则执行步骤310,否则,执行步骤306。Step 309 , if the ambient light intensity is lower than the preset light intensity threshold, judge whether the third brightness value is smaller than the first brightness value, if yes, execute step 310 , otherwise, execute step 306 .
需要说明的,若环境光强度高于预设光强阈值,则此步骤可以替换为判断所述第三亮度值是否大于所述第一亮度值。It should be noted that if the ambient light intensity is higher than the preset light intensity threshold, this step may be replaced by judging whether the third brightness value is greater than the first brightness value.
或者,无论环境光强度低于或高于预设光强度,此步骤可以替换为计算所述第三亮度与第一亮度值的差值,将该差值的绝对值与预设数据阈值进行比较。若该差值的绝对值小于预设数据阈值,则执行步骤310。Or, regardless of whether the ambient light intensity is lower or higher than the preset light intensity, this step can be replaced by calculating the difference between the third brightness and the first brightness value, and comparing the absolute value of the difference with the preset data threshold . If the absolute value of the difference is smaller than the preset data threshold, step 310 is executed.
步骤310、停止计时器。Step 310, stop the timer.
需要说明的是,计时方式有很多种,并不限于本实施例中列举的采用计时器的方式。例如,还可以是在满足计时开始的条件时,读取一次系统时间,在满足计时终止的条件时,再读取一次系统时间,根据两次读取系统时间的时间差确定持续时间等。It should be noted that there are many ways of timing, and are not limited to the way of using a timer listed in this embodiment. For example, it is also possible to read the system time once when the condition for timing start is satisfied, and read the system time again when the condition for timing termination is satisfied, and determine the duration according to the time difference between the two readings of the system time.
步骤311、读取所述计时器的数值作为亮度异常状态的持续时间。Step 311, read the value of the timer as the duration of the abnormal brightness state.
步骤312、判断所述持续时间是否不小于预设阈值,若是,则执行步骤313,否则,执行步骤318。Step 312 , judging whether the duration is not less than a preset threshold, if yes, execute step 313 , otherwise, execute step 318 .
步骤313、输出对当前的屏幕亮度进行调整的提示信息。Step 313 , outputting prompt information for adjusting the current screen brightness.
步骤314、获取用户操作指示。Step 314, acquire user operation instructions.
步骤315、判断该用户操作指示是否为肯定指示,若是,则执行步骤316,否则执行步骤317。Step 315 , judging whether the user operation instruction is an affirmative instruction, if yes, execute step 316 , otherwise execute step 317 .
步骤316、调整所述屏幕亮度至所述第一亮度值,并控制屏幕亮度调节模式由手动调节模式切换至自动调节模式。Step 316 , adjust the screen brightness to the first brightness value, and control the screen brightness adjustment mode to switch from the manual adjustment mode to the automatic adjustment mode.
步骤317、维持所述屏幕亮度的取值不变。Step 317 , keeping the value of the brightness of the screen unchanged.
步骤318、禁用所述时间窗机制。Step 318, disable the time window mechanism.
本实施例的技术方案,通过在用户手动调整屏幕亮度后,若再次输入调整屏幕亮度操作,则获取该调整屏幕亮度操作对应的第三亮度值,将第三亮度值与第一亮度值进行比较,若该第三亮度值高于第一亮度值,则继续计时,若该第三亮度值低于第一亮度值,则停止计时,也就是说在计时期间,无论用户手动调整了多少次屏幕亮度,只要调整后的屏幕亮度值大于第一亮度值,则继续计时,根据计时值得到屏幕亮度异常的持续时间;并在该持续时间满足调整条件时,提醒用户将屏幕亮度恢复至默认设置,避免发生用户长时间盯着不适应当前环境光强度的屏幕,容易产生疲劳的情况发生。In the technical solution of this embodiment, after the user manually adjusts the screen brightness, if the screen brightness adjustment operation is input again, the third brightness value corresponding to the screen brightness adjustment operation is obtained, and the third brightness value is compared with the first brightness value , if the third brightness value is higher than the first brightness value, continue timing, if the third brightness value is lower than the first brightness value, then stop timing, that is to say, during timing, no matter how many times the user manually adjusts the screen Brightness, as long as the adjusted screen brightness value is greater than the first brightness value, continue timing, and get the duration of abnormal screen brightness according to the timing value; and when the duration meets the adjustment conditions, remind the user to restore the screen brightness to the default setting, Avoid situations where users stare at a screen that is not suitable for the current ambient light intensity for a long time and are prone to fatigue.
图4是本申请实施例提供的一种屏幕亮度的调整装置的结构示意图。该装置可以通过软件和/或硬件实现,可被集成于智能终端内,用于执行本申请实施例提供的屏幕亮度的调整方法。如图4所示,该装置包括:FIG. 4 is a schematic structural diagram of an apparatus for adjusting screen brightness provided by an embodiment of the present application. The device can be implemented by software and/or hardware, and can be integrated into a smart terminal to execute the method for adjusting screen brightness provided in the embodiment of the present application. As shown in Figure 4, the device includes:
第一调整模块410,用于根据环境光强度调整智能终端的屏幕亮度至第一亮度值;The first adjustment module 410 is configured to adjust the screen brightness of the smart terminal to a first brightness value according to the ambient light intensity;
模式切换模块420,用于在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值;The mode switching module 420 is configured to obtain a second brightness value corresponding to the setting operation when a setting operation input by the user for screen brightness is detected;
亮度比较模块430,用于比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制;A brightness comparison module 430, configured to compare the second brightness value with the first brightness value, and determine whether to enable a preset time window mechanism according to the comparison result;
策略执行模块440,用于若启用所述时间窗机制,则执行所述时间窗机制对应的调整策略。The policy execution module 440 is configured to execute an adjustment policy corresponding to the time window mechanism if the time window mechanism is enabled.
本实施例的技术方案提供一种屏幕亮度的调整装置,可以在出现屏幕亮度与当前环境光强度不匹配的情况后,通过该调整策略对屏幕亮度进行调整,避免屏幕亮度的调节操作不够智能的情况发生,从而,解决用户长时间盯着不适应当前环境光强度的屏幕,容易产生疲劳的问题。The technical solution of this embodiment provides a screen brightness adjustment device, which can adjust the screen brightness through the adjustment strategy after the screen brightness does not match the current ambient light intensity, so as to avoid the insufficient intelligence of the screen brightness adjustment operation. The situation occurs, thereby solving the problem that the user is prone to fatigue due to staring at a screen that is not suitable for the current ambient light intensity for a long time.
可选的,亮度比较模块430具体用于:Optionally, the brightness comparison module 430 is specifically used for:
若所述环境光强度低于预设光强阈值,且比较结果为所述第二亮度值大于所述第一亮度值,则触发时间窗机制的启用事件,并确定所述智能终端处于亮度异常状态;可选的,还可以执行将屏幕亮度调节模式由自动调节模式切换至手动调节模式;If the ambient light intensity is lower than the preset light intensity threshold, and the comparison result is that the second brightness value is greater than the first brightness value, trigger an activation event of the time window mechanism, and determine that the smart terminal is in abnormal brightness status; optionally, switching the screen brightness adjustment mode from automatic adjustment mode to manual adjustment mode can also be performed;
或者,or,
若所述环境光强度高于预设光强阈值,且比较结果为所述第二亮度值小于所述第一亮度值,则触发时间窗机制的启用事件,确定所述智能终端处于亮度异常状态;可选的,还可以执行使屏幕亮度调节模式由自动调节模式切换至手动调节模式。If the ambient light intensity is higher than the preset light intensity threshold, and the comparison result is that the second brightness value is smaller than the first brightness value, trigger an activation event of the time window mechanism, and determine that the smart terminal is in an abnormal brightness state ; Optionally, switch the screen brightness adjustment mode from the automatic adjustment mode to the manual adjustment mode.
可选的,策略执行模块440包括:Optionally, the policy execution module 440 includes:
持续时间记录子模块,用于若检测到所述时间窗机制的启用事件,则记录所述智能终端处于亮度异常状态的持续时间;The duration recording submodule is used to record the duration of the smart terminal being in an abnormal state of brightness if an enabling event of the time window mechanism is detected;
信息输出子模块,用于在所述持续时间大于或等于预设阈值时,输出对当前的屏幕亮度进行调整的提示信息;An information output submodule, configured to output prompt information for adjusting the current screen brightness when the duration is greater than or equal to a preset threshold;
机制禁用子模块,用于在所述持续时间小于预设阈值时,禁用所述时间窗机制。The mechanism disabling submodule is configured to disable the time window mechanism when the duration is less than a preset threshold.
可选的,还包括:Optionally, also include:
亮度调整模块,用于在输出对当前的屏幕亮度进行调整的提示信息之后,获取用户操作指示;若所述用户操作指示为调整屏幕亮度,则调整所述屏幕亮度至所述第一亮度值,并控制屏幕亮度调节模式由手动调节模式切换至自动调节模式;若所述用户操作指示为放弃调整屏幕亮度,则维持所述屏幕亮度的取值不变。A brightness adjustment module, configured to obtain a user operation instruction after outputting prompt information for adjusting the current screen brightness; if the user operation instruction is to adjust the screen brightness, then adjust the screen brightness to the first brightness value, And control the screen brightness adjustment mode to switch from the manual adjustment mode to the automatic adjustment mode; if the user operation instruction is to give up adjusting the screen brightness, then keep the value of the screen brightness unchanged.
可选的,持续时间记录子模块具体用于:Optionally, the duration recording submodule is specifically used for:
若所述环境光强度低于预设光强阈值,则在所述第二亮度值大于所述第一亮度值时,启动计时器,并在检测到所述第二亮度值小于所述第一亮度值时,停止计时器,读取所述计时器的数值作为亮度异常状态的持续时间;If the ambient light intensity is lower than the preset light intensity threshold, when the second brightness value is greater than the first brightness value, start a timer, and when it is detected that the second brightness value is smaller than the first When the brightness value is reached, the timer is stopped, and the value of the timer is read as the duration of the brightness abnormal state;
或者,or,
若所述环境光强度高于预设光强阈值,则在所述第二亮度值小于所述第一亮度值时,启动计时器,并在检测到所述第二亮度值大于所述第一亮度值时,停止计时,读取所述计时器的数值作为亮度异常状态的持续时间。If the ambient light intensity is higher than the preset light intensity threshold, when the second brightness value is less than the first brightness value, start a timer, and when it is detected that the second brightness value is greater than the first When the brightness value is reached, the timing is stopped, and the value of the timer is read as the duration of the abnormal state of brightness.
可选的,还包括:Optionally, also include:
场景确定模块,用于在记录所述智能终端处于亮度异常状态的持续时间之后,根据所述环境光强度确定所述智能终端的应用环境;A scene determination module, configured to determine the application environment of the smart terminal according to the ambient light intensity after recording the duration of the smart terminal being in an abnormal brightness state;
时间判断模块,用于判断所述持续时间是否超过所述应用环境对应的预设阈值。A time judging module, configured to judge whether the duration exceeds a preset threshold corresponding to the application environment.
可选的,机制禁用模块还用于:Optionally, the mechanism disabling module is also used to:
在启用所述时间窗机制之后,若当前的环境光强度值与相邻的上一个环境光强度值的差值超过设定光强阈值,则禁用所述时间窗机制。After the time window mechanism is enabled, if the difference between the current ambient light intensity value and the previous adjacent ambient light intensity value exceeds the set light intensity threshold, the time window mechanism is disabled.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行屏幕亮度的调整方法,该方法包括:An embodiment of the present application also provides a storage medium containing computer-executable instructions, the computer-executable instructions are used to perform a method for adjusting screen brightness when executed by a computer processor, the method comprising:
根据环境光强度调整智能终端的屏幕亮度至第一亮度值;Adjusting the screen brightness of the smart terminal to the first brightness value according to the ambient light intensity;
在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值;When detecting a user-input setting operation for screen brightness, acquire a second brightness value corresponding to the setting operation;
比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制;comparing the second brightness value with the first brightness value, and determining whether to enable a preset time window mechanism according to the comparison result;
若启用所述时间窗机制,则执行所述时间窗机制对应的调整策略。If the time window mechanism is enabled, an adjustment policy corresponding to the time window mechanism is executed.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. Also, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems connected by a network. The storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的屏幕亮度的调整操作,还可以执行本申请任意实施例所提供的屏幕亮度的调整方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present application is not limited to the above-mentioned screen brightness adjustment operation, and the screen brightness adjustment provided by any embodiment of the present application can also be performed. Related operations in the adjustment method of .
本申请实施例提供了一种智能终端,该智能终端内具有操作系统,该智能终端中可集成本申请实施例提供的屏幕亮度的调整装置。其中,智能终端可以为智能手机、PAD(平板电脑)、掌上游戏机及智能穿戴设备等。图5是本申请实施例提供的一种智能终端的结构示意图。如图5所示,该智能终端包括存储器510及处理器520。所述存储器510,用于存储计算机程序、环境光强度与屏幕亮度的关联关系及时间窗机制对应的调整策略等;所述处理器520读取并执行所述存储器510中存储的计算机程序。所述处理器520在执行所述计算机程序时实现以下步骤:根据环境光强度调整智能终端的屏幕亮度至第一亮度值;在检测到用户输入的针对屏幕亮度的设置操作时,获取所述设置操作对应的第二亮度值;比较所述第二亮度值与所述第一亮度值,根据比较结果确定是否启用预设的时间窗机制;若启用所述时间窗机制,则执行所述时间窗机制对应的调整策略。An embodiment of the present application provides a smart terminal, which has an operating system inside, and the device for adjusting screen brightness provided by the embodiment of the present application can be integrated in the smart terminal. Wherein, the smart terminal may be a smart phone, a PAD (tablet computer), a handheld game console, a smart wearable device, and the like. FIG. 5 is a schematic structural diagram of a smart terminal provided by an embodiment of the present application. As shown in FIG. 5 , the smart terminal includes a memory 510 and a processor 520 . The memory 510 is used to store computer programs, correlations between ambient light intensity and screen brightness, adjustment strategies corresponding to time window mechanisms, etc.; the processor 520 reads and executes the computer programs stored in the memory 510 . The processor 520 implements the following steps when executing the computer program: adjusting the screen brightness of the smart terminal to a first brightness value according to the ambient light intensity; Operate the corresponding second brightness value; compare the second brightness value with the first brightness value, and determine whether to enable the preset time window mechanism according to the comparison result; if the time window mechanism is enabled, execute the time window The adjustment strategy corresponding to the mechanism.
上述示例中列举的存储器及处理器均为智能终端的部分元器件,所述智能终端还可以包括其它元器件。以智能手机为例,说明上述智能终端可能的结构。图6是本申请实施例提供的一种智能手机的结构框图。如图6所示,该智能手机可以包括:存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、触摸屏612、电源管理芯片608、输入/输出(I/O)子系统609、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The memories and processors listed in the above examples are all components of the smart terminal, and the smart terminal may also include other components. Taking a smart phone as an example, a possible structure of the above-mentioned smart terminal is described. Fig. 6 is a structural block diagram of a smart phone provided by an embodiment of the present application. As shown in FIG. 6, the smart phone may include: a memory 601, a central processing unit (Central Processing Unit, CPU) 602 (also known as a processor, hereinafter referred to as CPU), a peripheral interface 603, and an RF (Radio Frequency, radio frequency) circuit 605, audio circuitry 606, speaker 611, touch screen 612, power management chip 608, input/output (I/O) subsystem 609, other input/control devices 610, and external ports 604, which are communicated via one or more communication buses or Signal line 607 for communication.
应该理解的是,图示智能手机600仅仅是智能终端的一个范例,并且智能手机600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated smart phone 600 is only an example of a smart terminal, and the smart phone 600 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的集成有屏幕亮度的调整装置的智能手机进行详细的描述。The smart phone integrated with the device for adjusting screen brightness provided in this embodiment will be described in detail below.
存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。在存储器601中存储计算机程序,还可以存储环境光强度与屏幕亮度的关联关系及时间窗机制对应的调整策略等。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices. The computer program is stored in the memory 601, and the relationship between the ambient light intensity and the screen brightness and the adjustment strategy corresponding to the time window mechanism can also be stored.
外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 602 and memory 601 .
I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touchscreen.
RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.
音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .
扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.
电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface.
本申请实施例提供的智能终端,可以在出现屏幕亮度与当前环境光强度不匹配的情况后,通过该调整策略对屏幕亮度进行调整,避免屏幕亮度的调节操作不够智能的情况发生,从而,解决用户长时间盯着不适应当前环境光强度的屏幕,容易产生疲劳的问题。The intelligent terminal provided by the embodiment of the present application can adjust the screen brightness through the adjustment strategy after the screen brightness does not match the current ambient light intensity, so as to avoid the situation that the screen brightness adjustment operation is not intelligent enough, thereby solving the problem of Users stare at a screen that is not suitable for the current ambient light intensity for a long time, which is prone to fatigue.
上述实施例中提供的屏幕亮度的调整装置、存储介质及智能终端可执行本申请任意实施例所提供的屏幕亮度的调整方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的屏幕亮度的调整方法。The screen brightness adjustment device, storage medium, and smart terminal provided in the above embodiments can execute the screen brightness adjustment method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in the foregoing embodiments, reference may be made to the method for adjusting screen brightness provided in any embodiment of the present application.
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and technical principles used in this application. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810343273.4A CN108510963B (en) | 2018-04-17 | 2018-04-17 | Screen brightness adjusting method and device, storage medium and intelligent terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810343273.4A CN108510963B (en) | 2018-04-17 | 2018-04-17 | Screen brightness adjusting method and device, storage medium and intelligent terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108510963A true CN108510963A (en) | 2018-09-07 |
| CN108510963B CN108510963B (en) | 2020-01-14 |
Family
ID=63382297
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810343273.4A Expired - Fee Related CN108510963B (en) | 2018-04-17 | 2018-04-17 | Screen brightness adjusting method and device, storage medium and intelligent terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108510963B (en) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109326244A (en) * | 2018-10-15 | 2019-02-12 | 深圳市泰衡诺科技有限公司 | Screen luminance adjustment method, device and terminal device |
| CN110244465A (en) * | 2019-06-25 | 2019-09-17 | 中国第一汽车股份有限公司 | A kind of automobile head-up display brightness control method and system |
| CN110399082A (en) * | 2019-07-05 | 2019-11-01 | 北京达佳互联信息技术有限公司 | A kind of terminal attribute control method, device, electronic equipment and medium |
| CN110689861A (en) * | 2019-09-29 | 2020-01-14 | 联想(北京)有限公司 | Brightness adjusting method and device and electronic equipment |
| CN111344777A (en) * | 2017-09-14 | 2020-06-26 | 深圳传音通讯有限公司 | Method and system for adjusting screen brightness of intelligent terminal |
| CN111479015A (en) * | 2020-04-07 | 2020-07-31 | Oppo广东移动通信有限公司 | Display brightness control method, terminal and computer-readable storage medium |
| CN111506181A (en) * | 2019-01-31 | 2020-08-07 | 上海欧菲智能车联科技有限公司 | Automatic equipment brightness adjusting method, device, equipment and storage medium |
| CN112992100A (en) * | 2021-04-19 | 2021-06-18 | Oppo广东移动通信有限公司 | Screen brightness adjusting method and device, electronic equipment and storage medium |
| CN113093514A (en) * | 2021-04-08 | 2021-07-09 | 读书郎教育科技有限公司 | Method and system for automatically adjusting dial plate of intelligent watch |
| CN113823247A (en) * | 2021-09-29 | 2021-12-21 | 展讯通信(深圳)有限公司 | Screen brightness adjusting method and related equipment |
| CN114783391A (en) * | 2022-03-30 | 2022-07-22 | 冠捷电子科技(福建)有限公司 | Medical display terminal for intelligent night display management and management method thereof |
| CN119292149A (en) * | 2024-10-16 | 2025-01-10 | 和辉(深圳)液晶显示技术有限公司 | A day-night compatible airborne display screen control method and device |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120162110A1 (en) * | 2010-12-24 | 2012-06-28 | Kyocera Corporation | Mobile electronic device |
| CN104992692A (en) * | 2015-08-05 | 2015-10-21 | 广东欧珀移动通信有限公司 | Method and device for adjusting screen brightness of intelligent terminal and intelligent terminal |
| CN103327177B (en) * | 2013-05-23 | 2016-08-17 | 惠州Tcl移动通信有限公司 | Mobile terminal and display parameter of display screen control method thereof |
| CN106128415A (en) * | 2016-08-02 | 2016-11-16 | 北京小米移动软件有限公司 | Screen luminance adjustment method and device |
| CN106303039A (en) * | 2016-08-16 | 2017-01-04 | 珠海格力电器股份有限公司 | Screen control method and device and mobile terminal |
| CN106357925A (en) * | 2016-10-31 | 2017-01-25 | 广东欧珀移动通信有限公司 | Method, device and terminal for switching screen brightness adjusting modes |
| CN106412313A (en) * | 2016-10-20 | 2017-02-15 | 乐视控股(北京)有限公司 | Method and system for automatically adjusting screen display parameters, and intelligent terminal |
| CN107529699A (en) * | 2017-08-29 | 2018-01-02 | 北京小米移动软件有限公司 | Control method of electronic device and device |
-
2018
- 2018-04-17 CN CN201810343273.4A patent/CN108510963B/en not_active Expired - Fee Related
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120162110A1 (en) * | 2010-12-24 | 2012-06-28 | Kyocera Corporation | Mobile electronic device |
| CN103327177B (en) * | 2013-05-23 | 2016-08-17 | 惠州Tcl移动通信有限公司 | Mobile terminal and display parameter of display screen control method thereof |
| CN104992692A (en) * | 2015-08-05 | 2015-10-21 | 广东欧珀移动通信有限公司 | Method and device for adjusting screen brightness of intelligent terminal and intelligent terminal |
| CN106128415A (en) * | 2016-08-02 | 2016-11-16 | 北京小米移动软件有限公司 | Screen luminance adjustment method and device |
| CN106303039A (en) * | 2016-08-16 | 2017-01-04 | 珠海格力电器股份有限公司 | Screen control method and device and mobile terminal |
| CN106412313A (en) * | 2016-10-20 | 2017-02-15 | 乐视控股(北京)有限公司 | Method and system for automatically adjusting screen display parameters, and intelligent terminal |
| CN106357925A (en) * | 2016-10-31 | 2017-01-25 | 广东欧珀移动通信有限公司 | Method, device and terminal for switching screen brightness adjusting modes |
| CN107529699A (en) * | 2017-08-29 | 2018-01-02 | 北京小米移动软件有限公司 | Control method of electronic device and device |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111344777A (en) * | 2017-09-14 | 2020-06-26 | 深圳传音通讯有限公司 | Method and system for adjusting screen brightness of intelligent terminal |
| CN109326244A (en) * | 2018-10-15 | 2019-02-12 | 深圳市泰衡诺科技有限公司 | Screen luminance adjustment method, device and terminal device |
| CN111506181A (en) * | 2019-01-31 | 2020-08-07 | 上海欧菲智能车联科技有限公司 | Automatic equipment brightness adjusting method, device, equipment and storage medium |
| CN111506181B (en) * | 2019-01-31 | 2022-05-17 | 上海欧菲智能车联科技有限公司 | Automatic equipment brightness adjusting method, device, equipment and storage medium |
| CN110244465A (en) * | 2019-06-25 | 2019-09-17 | 中国第一汽车股份有限公司 | A kind of automobile head-up display brightness control method and system |
| CN110399082A (en) * | 2019-07-05 | 2019-11-01 | 北京达佳互联信息技术有限公司 | A kind of terminal attribute control method, device, electronic equipment and medium |
| CN110689861A (en) * | 2019-09-29 | 2020-01-14 | 联想(北京)有限公司 | Brightness adjusting method and device and electronic equipment |
| CN111479015B (en) * | 2020-04-07 | 2021-03-23 | Oppo广东移动通信有限公司 | Display brightness control method, terminal and computer readable storage medium |
| CN111479015A (en) * | 2020-04-07 | 2020-07-31 | Oppo广东移动通信有限公司 | Display brightness control method, terminal and computer-readable storage medium |
| CN113093514A (en) * | 2021-04-08 | 2021-07-09 | 读书郎教育科技有限公司 | Method and system for automatically adjusting dial plate of intelligent watch |
| CN112992100A (en) * | 2021-04-19 | 2021-06-18 | Oppo广东移动通信有限公司 | Screen brightness adjusting method and device, electronic equipment and storage medium |
| CN113823247A (en) * | 2021-09-29 | 2021-12-21 | 展讯通信(深圳)有限公司 | Screen brightness adjusting method and related equipment |
| CN113823247B (en) * | 2021-09-29 | 2023-10-17 | 展讯通信(深圳)有限公司 | Screen brightness adjusting method and related equipment |
| CN114783391A (en) * | 2022-03-30 | 2022-07-22 | 冠捷电子科技(福建)有限公司 | Medical display terminal for intelligent night display management and management method thereof |
| CN119292149A (en) * | 2024-10-16 | 2025-01-10 | 和辉(深圳)液晶显示技术有限公司 | A day-night compatible airborne display screen control method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108510963B (en) | 2020-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108510963B (en) | Screen brightness adjusting method and device, storage medium and intelligent terminal | |
| CN106782431B (en) | Screen backlight brightness adjusting method and device and mobile terminal | |
| CN105159590B (en) | Method for controlling screen of user terminal and user terminal | |
| EP3435199B1 (en) | Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen | |
| CN105204730B (en) | A kind of screen control method and user terminal | |
| CN106357925B (en) | Switching method, device and terminal for screen brightness adjustment mode | |
| US11159672B2 (en) | Method for controlling proximity sensor, device, and mobile terminal | |
| CN106060285A (en) | Method, device and mobile terminal for backlight control | |
| CN105847535B (en) | A kind of display screen brightness adjustment method and mobile terminal | |
| CN107257415B (en) | Control method and device of proximity sensor, storage medium and mobile terminal | |
| KR20200100404A (en) | Electronic device for adaptive power management | |
| CN106201417A (en) | Method, device and mobile terminal for adjusting screen display brightness | |
| CN107526569B (en) | Volume adjusting method and device, storage medium and mobile terminal | |
| CN106097984A (en) | Method, device and mobile terminal for turning on proximity sensor during backlight adjustment | |
| US20170280393A1 (en) | Method and mobile device for controlling | |
| US11443701B2 (en) | Screen state control method, device, and mobile terminal | |
| CN107277906A (en) | Mode Selection Method, Device, Terminal, and Computer-Readable Storage Medium | |
| CN106598521B (en) | Screen state control method, device and mobile terminal of mobile terminal | |
| CN106060274B (en) | Method and device for reporting ambient light sensor data and mobile terminal | |
| CN107404575A (en) | Method, device, storage medium and mobile terminal for optimizing screen control | |
| CN108874272A (en) | Brightness display control method, computer readable storage medium and the intelligent terminal of intelligent terminal | |
| CN115273769A (en) | Screen brightness adjustment method and device, device, and storage medium | |
| CN106843440A (en) | Method and device for restart control of mobile terminal and mobile terminal | |
| US20200028957A1 (en) | Control method and device for sensors of mobile terminal, storage medium and mobile terminal | |
| HK1246562B (en) | Screen parameter adjustment method and apparatus, terminal and computer readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200114 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |