WO2016165342A1 - Method and terminal for controlling indicator lamp brightness - Google Patents

Method and terminal for controlling indicator lamp brightness Download PDF

Info

Publication number
WO2016165342A1
WO2016165342A1 PCT/CN2015/095768 CN2015095768W WO2016165342A1 WO 2016165342 A1 WO2016165342 A1 WO 2016165342A1 CN 2015095768 W CN2015095768 W CN 2015095768W WO 2016165342 A1 WO2016165342 A1 WO 2016165342A1
Authority
WO
WIPO (PCT)
Prior art keywords
indicator light
current
current value
display screen
designated
Prior art date
Application number
PCT/CN2015/095768
Other languages
French (fr)
Chinese (zh)
Inventor
张晓亮
刘辉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016165342A1 publication Critical patent/WO2016165342A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source

Definitions

  • This application relates to, but is not limited to, the field of communications.
  • buttons on the mobile phone including touch screen button indicators and charging indicators. These indicators are different in different environments. For example, when the button indicator is in dim light, the indicator light is more obvious. When the light is bright, the indicator light is not obvious. This is because the brightness of the indicator light is the same when it is darker and brighter. However, due to different environments, the user feels different, especially many mobile phone buttons are designed to be hidden. When it is in a brighter environment, it is even less obvious. If the display is more obvious in a brighter environment, the brightness of the indicator light will be more dazzling in a darker environment.
  • the charging indicator also has a similar situation, especially when charging at night, the brightness of the charging indicator is too high, which will affect people's sleep.
  • the brightness of the related art mobile phone indicator lights is fixed and does not change according to the surrounding brightness environment. Since the brightness of the indicator light does not change with the brightness of the environment, the indicator light may be glaring or invisible in a dark or bright environment, so the user experience is not good.
  • This document provides a method and terminal for controlling the brightness of the indicator light to automatically adjust the brightness of the indicator light.
  • a method of controlling the brightness of an indicator light comprising:
  • the terminal After receiving the instruction to illuminate the designated indicator light, the terminal reads the current value of the display screen;
  • a current is supplied to the designated indicator light according to the current parameter.
  • the above method also has the following features:
  • the current parameter of the corresponding designated indicator light is searched from the preset mapping relationship table according to the current value as the maximum current value of the designated indicator light.
  • the method further has the following feature: after reading the current value of the display screen, the method further includes:
  • the current value of the display screen is stored.
  • the above method further has the following feature: after receiving the instruction to illuminate the designated indicator light, reading the current value of the display screen, including:
  • the display screen After receiving the instruction to illuminate the designated indicator light, if the display screen is in the off state, the stored current value of the display screen is read, and if the current value of the display screen is not stored, the preset current is read. value.
  • the above method also has the following features:
  • the designated indicator light includes: a charging indicator light or a button indicator light.
  • a terminal including a display screen, further comprising:
  • Reading the module set to: after receiving the instruction to light the specified indicator, read the current value of the display;
  • the searching module is configured to: search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
  • the control module is configured to: supply current to the designated indicator light according to the current parameter.
  • the foregoing terminal further has the following features:
  • the searching module is configured to: if the specified indicator light adopts a breathing light mode, search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value as the specified indication The maximum current value of the lamp.
  • the foregoing terminal further has the following features:
  • the storage module is configured to: store a current value of the display screen read by the reading module.
  • the foregoing terminal further has the following features:
  • the reading module is configured to: after receiving the instruction to light the designated indicator light, if the display screen is in the off state, read the stored current value of the display screen, if the display screen is not stored The current value reads the preset current value.
  • the foregoing terminal further has the following features:
  • the designated indicator light includes: a charging indicator light or a button indicator light.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiments of the present invention provide a method and a terminal for controlling the brightness of an indicator light, which can automatically adjust the brightness of the indicator light to improve the user experience.
  • FIG. 1 is a flowchart of a method for controlling brightness of an indicator light according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a terminal according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of a terminal according to Embodiment 2 of the present invention.
  • FIG. 1 is a flowchart of a method for controlling brightness of an indicator light according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes:
  • Step 11 after receiving the instruction to illuminate the designated indicator light, reading the current value of the display screen;
  • Step 12 Find a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value
  • Step 13 Provide current to the designated indicator light according to the current parameter.
  • the method for controlling the brightness of the indicator light of the embodiment enables the mobile terminal to configure the brightness of the indicator light (for example, the button indicator light and the charging indicator light) according to the brightness of the display screen.
  • FIG. 2 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 2, the terminal in this embodiment includes:
  • the reading module 21 is configured to: after receiving the instruction to illuminate the designated indicator light, read the current value of the display screen;
  • the searching module 22 is configured to: search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
  • the control module 23 is configured to: supply current to the designated indicator light according to the current parameter.
  • the searching module 22 is configured to: if the specified indicator light adopts a breathing light manner, search for a corresponding specified indicator light from the preset mapping relationship table according to the current value.
  • the current parameter is the maximum current value of the specified indicator light.
  • the terminal may further include:
  • the storage module 24 is configured to: store a current value of the display screen read by the reading module.
  • the reading module 21 is configured to: after receiving the instruction to illuminate the designated indicator light, if the display screen is in the off state, read the stored current value of the display screen, if If the current value of the display screen is not stored, the preset current value is read.
  • Embodiment 1 Embodiment of the button indicator light automatically adjusting brightness according to the brightness of the display screen
  • the terminal of the embodiment includes a display current control module 31, a display current reading module 32, a current configuration module 33, a button lamp current control module 34, and a main control chip 35.
  • the display current control module 31 supplies current to the display screen to control the backlight backlight current level
  • the display current reading module 32 reads the current display current size data from the display current control module 31, and saves the data when the screen is off. When the screen is bright, the current display is re-read.
  • the screen current size data is provided to the main control chip 35; if the current value of the display screen is not stored when the screen is off, the preset current value can be read.
  • the main control chip 35 provides the display backlight current parameter to the current configuration module 33.
  • the backlight current value is divided into several groups of different intervals, and each different backlight current interval corresponds to a fixed current value.
  • the current configuration module 33 provides this parameter to the button lamp current control module 34;
  • Display backlight current Indicator current Less than or equal to 20ma 1.5ma Less than or equal to 40ma 2.5ma Less than or equal to 60ma 3.5ma Less than or equal to 80ma 4.5ma
  • the button lamp current control module 34 uses the current parameter provided by the current configuration module 33 to output a current of this value, which is the current supplied by the button lamp, and is illuminated after the button lamp is turned on.
  • the button indicator current control module 34 receives a command to light the indicator light from the autonomous control chip 35;
  • the main control chip 35 obtains the display backlight current data from the display current reading module 32, and supplies it to the current configuration module 33;
  • the current configuration module 33 adapts the current value required by the indicator light according to the data, and supplies the current to the button lamp current control module 34;
  • the button lamp current control module 34 outputs the current of this value, and the button lamp is lit.
  • Embodiment 2 Embodiment in which the charging indicator automatically adjusts the brightness according to the brightness of the display screen
  • the terminal of the embodiment includes a display current control module 31, a display current reading module 32, a current configuration module 33, a charging indicator current control module 41, and a main control chip 35.
  • the display current control module 31 supplies current to the display screen to control the backlight backlight current level
  • the display current reading module 32 reads the current display current size data from the display current control module 31, and saves the data when the screen is off. When the screen is bright, the current display current size data is re-read, and Supply current data to the main control chip 35;
  • the main control chip 35 provides the display backlight current parameter to the current configuration module 33.
  • the backlight current value is divided into several groups of different intervals, and each different backlight current interval corresponds to a fixed current value.
  • the current configuration module 33 provides this parameter to the charging indicator current control module 41;
  • the charging indicator current control module 41 uses the current parameter provided by the current configuration module 33 to output a current of this value, which is the current supplied by the charging indicator, and is turned on after the charging indicator is turned on.
  • the current value of the indicator light mapped by the above method is the maximum current value of the indicator light, that is, the maximum brightness of the indicator light can be adjusted according to the brightness of the display screen, and the current of the indicator light is at the maximum value. Repeatedly with the minimum value to form a breathing light effect.
  • the flow of this embodiment is as follows:
  • the charging indicator current control module 41 receives a command to light the indicator light from the autonomous control chip 35;
  • the main control chip 35 obtains the display backlight current data from the display current reading module 32, and supplies it to the current configuration module 33;
  • the current configuration module 33 adapts the current value required by the indicator light according to the data, and supplies the current to the charging indicator current control module 41;
  • the charging indicator current control module 41 outputs a current of this value, and the charging indicator lights up.
  • all or part of the steps of the above embodiments may also be implemented using an integrated circuit.
  • the steps may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps may be fabricated into a single integrated circuit module.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the invention provides a method for controlling the brightness of the indicator light and the terminal, the brightness of the display screen, automatically adjusting the brightness of the indicator light, and improving the user experience.

Landscapes

  • Illuminated Signs And Luminous Advertising (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are a method and terminal for controlling indicator lamp brightness, said method comprising: a terminal receiving an instruction to illuminate a designated indicator lamp, then reading the value of the current of a display screen; according to said current value, searching in a preset mapping table for a current parameter corresponding to the designated indicator lamp; according to said current parameter, providing a current to the designated indicator lamp.

Description

一种控制指示灯亮度的方法及终端Method and terminal for controlling brightness of indicator light 技术领域Technical field
本申请涉及但不限于通信领域。This application relates to, but is not limited to, the field of communications.
背景技术Background technique
手机上有很多指示灯,包括触摸屏按键指示灯,充电指示灯,这些指示灯在不同的使用环境下,用户的体验是不同的,例如按键指示灯在光线较暗时,指示灯比较明显,当光线较亮时,指示灯不明显,这是由于指示灯的亮度在较暗和较亮时亮度是一样的,但是由于环境的不同,给用户的感觉不一样,尤其很多手机按键设计成隐藏效果,当在较亮的环境时,就更加不明显了。如果在较亮环境下也要显示的比较明显,那么在较暗的环境时,指示灯亮度就会比较刺眼。充电指示灯也有类似的情况,尤其是夜间充电时,充电指示灯亮度太高会比较亮,影响人的睡眠。There are many indicators on the mobile phone, including touch screen button indicators and charging indicators. These indicators are different in different environments. For example, when the button indicator is in dim light, the indicator light is more obvious. When the light is bright, the indicator light is not obvious. This is because the brightness of the indicator light is the same when it is darker and brighter. However, due to different environments, the user feels different, especially many mobile phone buttons are designed to be hidden. When it is in a brighter environment, it is even less obvious. If the display is more obvious in a brighter environment, the brightness of the indicator light will be more dazzling in a darker environment. The charging indicator also has a similar situation, especially when charging at night, the brightness of the charging indicator is too high, which will affect people's sleep.
发明内容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.
相关技术的手机指示灯的亮度都是固定的,不会根据周围亮度环境而变化。由于指示灯的亮度不会随着环境亮度的变化而变化,所以指示灯在较暗或者较亮的环境就会出现刺眼或者看不到的情况,因此用户体验不佳。The brightness of the related art mobile phone indicator lights is fixed and does not change according to the surrounding brightness environment. Since the brightness of the indicator light does not change with the brightness of the environment, the indicator light may be glaring or invisible in a dark or bright environment, so the user experience is not good.
本文提供一种控制指示灯亮度的方法及终端,以自动调节指示灯的亮度。This document provides a method and terminal for controlling the brightness of the indicator light to automatically adjust the brightness of the indicator light.
一种控制指示灯亮度的方法,包括:A method of controlling the brightness of an indicator light, comprising:
终端接收点亮指定指示灯的指令后,读取显示屏的电流值;After receiving the instruction to illuminate the designated indicator light, the terminal reads the current value of the display screen;
根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数; Finding a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
根据所述电流参数为所述指定指示灯提供电流。A current is supplied to the designated indicator light according to the current parameter.
可选地,上述方法还具有下面特点:Optionally, the above method also has the following features:
若所述指定指示灯采用呼吸灯的方式,则根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数为所述指定指示灯的最大电流值。If the designated indicator light is in the form of a breathing light, the current parameter of the corresponding designated indicator light is searched from the preset mapping relationship table according to the current value as the maximum current value of the designated indicator light.
可选地,上述方法还具有下面特点:所述读取显示屏的电流值之后,还包括:Optionally, the method further has the following feature: after reading the current value of the display screen, the method further includes:
存储所述显示屏的电流值。The current value of the display screen is stored.
可选地,上述方法还具有下面特点:所述接收点亮指定指示灯的指令后,读取显示屏的电流值,包括:Optionally, the above method further has the following feature: after receiving the instruction to illuminate the designated indicator light, reading the current value of the display screen, including:
接收点亮指定指示灯的指令后,若所述显示屏处于关闭状态,则读取存储的所述显示屏的电流值,若没有存储所述显示屏的电流值,则读取预设的电流值。After receiving the instruction to illuminate the designated indicator light, if the display screen is in the off state, the stored current value of the display screen is read, and if the current value of the display screen is not stored, the preset current is read. value.
可选地,上述方法还具有下面特点:Optionally, the above method also has the following features:
所述指定指示灯包括:充电指示灯或按键指示灯。The designated indicator light includes: a charging indicator light or a button indicator light.
一种终端,包括显示屏,还包括:A terminal, including a display screen, further comprising:
读取模块,设置为:接收点亮指定指示灯的指令后,读取显示屏的电流值;Reading the module, set to: after receiving the instruction to light the specified indicator, read the current value of the display;
查找模块,设置为:根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数;The searching module is configured to: search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
控制模块,设置为:根据所述电流参数为所述指定指示灯提供电流。The control module is configured to: supply current to the designated indicator light according to the current parameter.
可选地,上述终端还具有下面特点:Optionally, the foregoing terminal further has the following features:
所述查找模块,是设置为:若所述指定指示灯采用呼吸灯的方式,则根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数为所述指定指示灯的最大电流值。The searching module is configured to: if the specified indicator light adopts a breathing light mode, search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value as the specified indication The maximum current value of the lamp.
可选地,上述终端还具有下面特点:还包括:Optionally, the foregoing terminal further has the following features:
存储模块,设置为:存储所述读取模块读取的显示屏的电流值。 The storage module is configured to: store a current value of the display screen read by the reading module.
可选地,上述终端还具有下面特点:Optionally, the foregoing terminal further has the following features:
所述读取模块,是设置为:接收点亮指定指示灯的指令后,若所述显示屏处于关闭状态,则读取存储的所述显示屏的电流值,若没有存储所述显示屏的电流值,则读取预设的电流值。The reading module is configured to: after receiving the instruction to light the designated indicator light, if the display screen is in the off state, read the stored current value of the display screen, if the display screen is not stored The current value reads the preset current value.
可选地,上述终端还具有下面特点:Optionally, the foregoing terminal further has the following features:
所述指定指示灯包括:充电指示灯或按键指示灯。The designated indicator light includes: a charging indicator light or a button indicator light.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
综上,本发明实施例提供一种控制指示灯亮度的方法及终端,可以自动调节指示灯的亮度,提高用户体验。In summary, the embodiments of the present invention provide a method and a terminal for controlling the brightness of an indicator light, which can automatically adjust the brightness of the indicator light to improve the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例的一种控制指示灯亮度的方法的流程图;FIG. 1 is a flowchart of a method for controlling brightness of an indicator light according to an embodiment of the present invention;
图2为本发明实施例的终端的示意图;2 is a schematic diagram of a terminal according to an embodiment of the present invention;
图3为本发明实施例一的终端的示意图;3 is a schematic diagram of a terminal according to Embodiment 1 of the present invention;
图4为本发明实施例二的终端的示意图。4 is a schematic diagram of a terminal according to Embodiment 2 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. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例的一种控制指示灯亮度的方法的流程图,如图1所示,本实施例的方法包括:FIG. 1 is a flowchart of a method for controlling brightness of an indicator light according to an embodiment of the present invention. As shown in FIG. 1 , the method in this embodiment includes:
步骤11、接收点亮指定指示灯的指令后,读取显示屏的电流值; Step 11, after receiving the instruction to illuminate the designated indicator light, reading the current value of the display screen;
步骤12、根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数; Step 12: Find a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
步骤13、根据所述电流参数为所述指定指示灯提供电流。Step 13. Provide current to the designated indicator light according to the current parameter.
本实施例的控制指示灯亮度的方法能够使移动终端根据显示屏亮度的不同自行配置指示灯(例如,按键指示灯和充电指示灯)的亮度。The method for controlling the brightness of the indicator light of the embodiment enables the mobile terminal to configure the brightness of the indicator light (for example, the button indicator light and the charging indicator light) according to the brightness of the display screen.
图2为本发明实施例的终端的示意图,如图2所示,本实施例的终端包括:FIG. 2 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 2, the terminal in this embodiment includes:
读取模块21,设置为:接收点亮指定指示灯的指令后,读取显示屏的电流值;The reading module 21 is configured to: after receiving the instruction to illuminate the designated indicator light, read the current value of the display screen;
查找模块22,设置为:根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数;The searching module 22 is configured to: search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
控制模块23,设置为:根据所述电流参数为所述指定指示灯提供电流。The control module 23 is configured to: supply current to the designated indicator light according to the current parameter.
在一实施例中,所述查找模块22,是设置为:若所述指定指示灯采用呼吸灯的方式,则根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数为所述指定指示灯的最大电流值。In an embodiment, the searching module 22 is configured to: if the specified indicator light adopts a breathing light manner, search for a corresponding specified indicator light from the preset mapping relationship table according to the current value. The current parameter is the maximum current value of the specified indicator light.
在一实施例中,所述终端还可以包括:In an embodiment, the terminal may further include:
存储模块24,设置为:存储所述读取模块读取的显示屏的电流值。The storage module 24 is configured to: store a current value of the display screen read by the reading module.
在一实施例中,所述读取模块21,是设置为:接收点亮指定指示灯的指令后,若所述显示屏处于关闭状态,则读取存储的所述显示屏的电流值,若没有存储所述显示屏的电流值,则读取预设的电流值。In an embodiment, the reading module 21 is configured to: after receiving the instruction to illuminate the designated indicator light, if the display screen is in the off state, read the stored current value of the display screen, if If the current value of the display screen is not stored, the preset current value is read.
实施例一、按键指示灯根据显示屏亮度自动调整亮度的实施例Embodiment 1 Embodiment of the button indicator light automatically adjusting brightness according to the brightness of the display screen
如图3所示,本实施例的终端包括:显示屏电流控制模块31,显示屏电流读取模块32,电流配置模块33,按键灯电流控制模块34和主控芯片35。As shown in FIG. 3, the terminal of the embodiment includes a display current control module 31, a display current reading module 32, a current configuration module 33, a button lamp current control module 34, and a main control chip 35.
显示屏电流控制模块31为显示屏提供电流,控制显示屏背光灯电流大小;The display current control module 31 supplies current to the display screen to control the backlight backlight current level;
显示屏电流读取模块32,从显示屏电流控制模块31读取当前显示屏电流大小数据,当屏幕灭屏时将此数据保存,当亮屏后,重新读取当前显示 屏电流大小数据,并将电流数据提供给主控芯片35;若屏幕灭屏时没有存储显示屏的电流值,可以读取预设的电流值。The display current reading module 32 reads the current display current size data from the display current control module 31, and saves the data when the screen is off. When the screen is bright, the current display is re-read. The screen current size data is provided to the main control chip 35; if the current value of the display screen is not stored when the screen is off, the preset current value can be read.
主控芯片35将显示屏背光电流参数提供给电流配置模块33,在电流配置模块33中,将背光电流值分作几组不同的区间,每个不同的背光电流区间对应一个固定的电流值,电流配置模块33将此参数提供给按键灯电流控制模块34;The main control chip 35 provides the display backlight current parameter to the current configuration module 33. In the current configuration module 33, the backlight current value is divided into several groups of different intervals, and each different backlight current interval corresponds to a fixed current value. The current configuration module 33 provides this parameter to the button lamp current control module 34;
显示屏电流与指示灯电流映射关系如下为例:The relationship between the display current and the indicator current is as follows:
显示屏背光灯电流Display backlight current 指示灯电流Indicator current
小于等于20maLess than or equal to 20ma 1.5ma1.5ma
小于等于40maLess than or equal to 40ma 2.5ma2.5ma
小于等于60maLess than or equal to 60ma 3.5ma3.5ma
小于等于80maLess than or equal to 80ma 4.5ma4.5ma
按键灯电流控制模块34利用电流配置模块33提供的电流参数,输出此数值的电流,为按键灯提供的电流,按键灯导通后点亮。The button lamp current control module 34 uses the current parameter provided by the current configuration module 33 to output a current of this value, which is the current supplied by the button lamp, and is illuminated after the button lamp is turned on.
本实施例的流程如下:The flow of this embodiment is as follows:
按键指示灯电流控制模块34接收到来自主控芯片35点亮指示灯的命令;The button indicator current control module 34 receives a command to light the indicator light from the autonomous control chip 35;
主控芯片35从显示屏电流读取模块32中获得显示屏背光电流数据,提供给电流配置模块33;The main control chip 35 obtains the display backlight current data from the display current reading module 32, and supplies it to the current configuration module 33;
电流配置模块33根据数据适配指示灯需要的电流值,并将此电流提供给按键灯电流控制模块34;The current configuration module 33 adapts the current value required by the indicator light according to the data, and supplies the current to the button lamp current control module 34;
按键灯电流控制模块34输出此值的电流,按键灯点亮。The button lamp current control module 34 outputs the current of this value, and the button lamp is lit.
实施例二、充电指示灯根据显示屏亮度自动调整亮度的实施例Embodiment 2: Embodiment in which the charging indicator automatically adjusts the brightness according to the brightness of the display screen
如图4所示,本实施例的终端包括:显示屏电流控制模块31,显示屏电流读取模块32,电流配置模块33,充电指示灯电流控制模块41和主控芯片35。 As shown in FIG. 4, the terminal of the embodiment includes a display current control module 31, a display current reading module 32, a current configuration module 33, a charging indicator current control module 41, and a main control chip 35.
显示屏电流控制模块31为显示屏提供电流,控制显示屏背光灯电流大小;The display current control module 31 supplies current to the display screen to control the backlight backlight current level;
显示屏电流读取模块32,从显示屏电流控制模块31读取当前显示屏电流大小数据,当屏幕灭屏时将此数据保存,当亮屏后,重新读取当前显示屏电流大小数据,并将电流数据提供给主控芯片35;The display current reading module 32 reads the current display current size data from the display current control module 31, and saves the data when the screen is off. When the screen is bright, the current display current size data is re-read, and Supply current data to the main control chip 35;
主控芯片35将显示屏背光电流参数提供给电流配置模块33,在电流配置模块33中,将背光电流值分作几组不同的区间,每个不同的背光电流区间对应一个固定的电流值,电流配置模块33将此参数提供给充电指示灯电流控制模块41;The main control chip 35 provides the display backlight current parameter to the current configuration module 33. In the current configuration module 33, the backlight current value is divided into several groups of different intervals, and each different backlight current interval corresponds to a fixed current value. The current configuration module 33 provides this parameter to the charging indicator current control module 41;
充电指示灯电流控制模块41利用电流配置模块33提供的电流参数,输出此数值的电流,为充电指示灯提供的电流,充电指示灯导通后点亮。The charging indicator current control module 41 uses the current parameter provided by the current configuration module 33 to output a current of this value, which is the current supplied by the charging indicator, and is turned on after the charging indicator is turned on.
当充电指示灯采用呼吸灯方式时,上述方法映射出来的指示灯电流值为指示灯的最大值电流值,即可以根据显示屏的亮度来调节指示灯的最大亮度,指示灯的电流在最大值与最小值之间不断反复,形成呼吸灯效果。本实施例的流程如下:When the charging indicator adopts the breathing lamp mode, the current value of the indicator light mapped by the above method is the maximum current value of the indicator light, that is, the maximum brightness of the indicator light can be adjusted according to the brightness of the display screen, and the current of the indicator light is at the maximum value. Repeatedly with the minimum value to form a breathing light effect. The flow of this embodiment is as follows:
充电指示灯电流控制模块41接收到来自主控芯片35点亮指示灯的命令;The charging indicator current control module 41 receives a command to light the indicator light from the autonomous control chip 35;
主控芯片35从显示屏电流读取模块32中获得显示屏背光电流数据,提供给电流配置模块33;The main control chip 35 obtains the display backlight current data from the display current reading module 32, and supplies it to the current configuration module 33;
电流配置模块33根据数据适配指示灯需要的电流值,并将此电流提供给充电指示灯电流控制模块41;The current configuration module 33 adapts the current value required by the indicator light according to the data, and supplies the current to the charging indicator current control module 41;
充电指示灯电流控制模块41输出此值的电流,充电指示灯点亮。The charging indicator current control module 41 outputs a current of this value, and the charging indicator lights up.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这 些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented using an integrated circuit. The steps may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps may be fabricated into a single integrated circuit module.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例提供一种控制指示灯亮度的方法及终端,显示屏亮度亮度,自动调节指示灯的亮度,提高了用户体验。 The embodiment of the invention provides a method for controlling the brightness of the indicator light and the terminal, the brightness of the display screen, automatically adjusting the brightness of the indicator light, and improving the user experience.

Claims (11)

  1. 一种控制指示灯亮度的方法,包括:A method of controlling the brightness of an indicator light, comprising:
    终端接收点亮指定指示灯的指令后,读取显示屏的电流值;After receiving the instruction to illuminate the designated indicator light, the terminal reads the current value of the display screen;
    根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数;Finding a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
    根据所述电流参数为所述指定指示灯提供电流。A current is supplied to the designated indicator light according to the current parameter.
  2. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    若所述指定指示灯采用呼吸灯的方式,则根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数为所述指定指示灯的最大电流值。If the designated indicator light is in the form of a breathing light, the current parameter of the corresponding designated indicator light is searched from the preset mapping relationship table according to the current value as the maximum current value of the designated indicator light.
  3. 如权利要求1所述的方法,其中:所述读取显示屏的电流值之后,还包括:The method of claim 1 wherein after said reading the current value of the display screen, further comprising:
    存储所述显示屏的电流值。The current value of the display screen is stored.
  4. 如权利要求3所述的方法,其中:所述接收点亮指定指示灯的指令后,读取显示屏的电流值,包括:The method of claim 3, wherein: after receiving the instruction to illuminate the designated indicator light, reading the current value of the display screen comprises:
    接收点亮指定指示灯的指令后,若所述显示屏处于关闭状态,则读取存储的所述显示屏的电流值,若没有存储所述显示屏的电流值,则读取预设的电流值。After receiving the instruction to illuminate the designated indicator light, if the display screen is in the off state, the stored current value of the display screen is read, and if the current value of the display screen is not stored, the preset current is read. value.
  5. 如权利要求1-4任一项所述的方法,其中:A method according to any one of claims 1 to 4, wherein:
    所述指定指示灯包括:充电指示灯或按键指示灯。The designated indicator light includes: a charging indicator light or a button indicator light.
  6. 一种终端,包括显示屏,还包括:A terminal, including a display screen, further comprising:
    读取模块,设置为:接收点亮指定指示灯的指令后,读取显示屏的电流值;Reading the module, set to: after receiving the instruction to light the specified indicator, read the current value of the display;
    查找模块,设置为:根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数;The searching module is configured to: search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value;
    控制模块,设置为:根据所述电流参数为所述指定指示灯提供电流。 The control module is configured to: supply current to the designated indicator light according to the current parameter.
  7. 如权利要求6所述的终端,其中:The terminal of claim 6 wherein:
    所述查找模块,是设置为:若所述指定指示灯采用呼吸灯的方式,则根据所述电流值从预置的映射关系表中查找相对应的指定指示灯的电流参数为所述指定指示灯的最大电流值。The searching module is configured to: if the specified indicator light adopts a breathing light mode, search for a current parameter of the corresponding specified indicator light from the preset mapping relationship table according to the current value as the specified indication The maximum current value of the lamp.
  8. 如权利要求6所述的终端,还包括:The terminal of claim 6, further comprising:
    存储模块,设置为:存储所述读取模块读取的显示屏的电流值。The storage module is configured to: store a current value of the display screen read by the reading module.
  9. 如权利要求8所述的终端,其中:The terminal of claim 8 wherein:
    所述读取模块,是设置为:接收点亮指定指示灯的指令后,若所述显示屏处于关闭状态,则读取存储的所述显示屏的电流值,若没有存储所述显示屏的电流值,则读取预设的电流值。The reading module is configured to: after receiving the instruction to light the designated indicator light, if the display screen is in the off state, read the stored current value of the display screen, if the display screen is not stored The current value reads the preset current value.
  10. 如权利要求6-9任一项所述的终端,其中:A terminal according to any of claims 6-9, wherein:
    所述指定指示灯包括:充电指示灯或按键指示灯。The designated indicator light includes: a charging indicator light or a button indicator light.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
PCT/CN2015/095768 2015-09-18 2015-11-27 Method and terminal for controlling indicator lamp brightness WO2016165342A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510601380.9 2015-09-18
CN201510601380.9A CN106550517A (en) 2015-09-18 2015-09-18 A kind of method and terminal of control indicator lamp brightness

Publications (1)

Publication Number Publication Date
WO2016165342A1 true WO2016165342A1 (en) 2016-10-20

Family

ID=57125671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095768 WO2016165342A1 (en) 2015-09-18 2015-11-27 Method and terminal for controlling indicator lamp brightness

Country Status (2)

Country Link
CN (1) CN106550517A (en)
WO (1) WO2016165342A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277995A (en) * 2017-07-05 2017-10-20 环球智达科技(北京)有限公司 The adjusting method of indicator lamp brightness
CN109842978A (en) * 2017-11-24 2019-06-04 神讯电脑(昆山)有限公司 Adjust the circuit of breath light brightness
WO2023160087A1 (en) * 2022-02-28 2023-08-31 海信视像科技股份有限公司 Prompting method for response state of voice instruction and display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060097658A1 (en) * 2004-10-29 2006-05-11 Vicent Chiang Apparatus for adjusting brightness of indicator light on panel
CN101778504A (en) * 2009-01-09 2010-07-14 浪潮乐金数字移动通信有限公司 System and method for automatically adjusting brightness of backlight lamps of screen and keys
CN104812127A (en) * 2015-03-25 2015-07-29 小米科技有限责任公司 Light emission control method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060097658A1 (en) * 2004-10-29 2006-05-11 Vicent Chiang Apparatus for adjusting brightness of indicator light on panel
CN101778504A (en) * 2009-01-09 2010-07-14 浪潮乐金数字移动通信有限公司 System and method for automatically adjusting brightness of backlight lamps of screen and keys
CN104812127A (en) * 2015-03-25 2015-07-29 小米科技有限责任公司 Light emission control method and device

Also Published As

Publication number Publication date
CN106550517A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106605447B (en) Method, system, and medium for predictive lighting from a screen based on a user profile
TWI357285B (en) Automatic lighting control system and method
US7800625B2 (en) Automatic parameters adjusting system and method for a display device
CN108012389B (en) Light adjusting method, terminal device and computer readable storage medium
US8786206B2 (en) Intelligent lamp and control method thereof
US20120019492A1 (en) Display brightness control based on ambient light levels
US9832848B2 (en) Lighting system and method for controlling lighting system
US10201058B2 (en) Method determining the suitable lighting for an activity
CN105469773B (en) Brightness of display screen adjusting method and system
US20190297700A1 (en) Device, system and method for controlling operation of lighting units
US10037745B2 (en) Applying an application-specific ambient light setting configuration
CN111869330B (en) Rendering dynamic light scenes based on one or more light settings
US8929679B1 (en) Systems and methods for changing contrast based on brightness of an output for presentation on a display
CN103050097B (en) Method and device for regulating brightness of backlight lamp
US20130147855A1 (en) Electronic device having display and method for adjusting brightness of display
CN110235525B (en) Recommendation engine for lighting systems
CN104412319B (en) Brightness control method and equipment
CN103857126A (en) Adjusting system and method for light-emitting unit
US20160234906A1 (en) Lighting system and method for controlling lighting system
WO2016165342A1 (en) Method and terminal for controlling indicator lamp brightness
JP2011222429A (en) Light control system of illumination
US20170285594A1 (en) Systems and methods for control of output from light output apparatus
CN104464687A (en) Method and device for adjusting backlight value of mobile terminal
CN105895050B (en) A kind of information processing method and electronic equipment
CN110870387A (en) Voice control

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15889038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15889038

Country of ref document: EP

Kind code of ref document: A1