CN106445214B - Method and device for controlling brightness of terminal key lamp - Google Patents

Method and device for controlling brightness of terminal key lamp Download PDF

Info

Publication number
CN106445214B
CN106445214B CN201510483677.XA CN201510483677A CN106445214B CN 106445214 B CN106445214 B CN 106445214B CN 201510483677 A CN201510483677 A CN 201510483677A CN 106445214 B CN106445214 B CN 106445214B
Authority
CN
China
Prior art keywords
touch screen
brightness
attribute value
terminal
key lamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510483677.XA
Other languages
Chinese (zh)
Other versions
CN106445214A (en
Inventor
张晓亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510483677.XA priority Critical patent/CN106445214B/en
Priority to PCT/CN2015/098736 priority patent/WO2016131340A1/en
Publication of CN106445214A publication Critical patent/CN106445214A/en
Application granted granted Critical
Publication of CN106445214B publication Critical patent/CN106445214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for controlling the brightness of a terminal key lamp. Wherein, the method comprises the following steps: acquiring an attribute value of a terminal touch screen; and controlling the brightness of the key lamp of the terminal according to the attribute value of the terminal touch screen.

Description

Method and device for controlling brightness of terminal key lamp
Technical Field
The invention relates to the field of terminals, in particular to a method and a device for controlling the brightness of a key lamp on a terminal comprising a touch screen.
Background
Various touch screen type terminal devices are widely used in daily life of people, and naked devices produced aiming at the same type of terminals can be generated by matching with the requirements of appearance design of terminal products or the change of supply of touch screen devices, so that the color of a touch screen and the difference of the suppliers of the touch screen or the transmittance of the touch screen can exist. For example, the same mobile phone of a certain manufacturer adopts black and white touch screens according to the requirement of appearance design, wherein the light transmittance of the black and white touch screen key screen silk-screen printing is different, the light transmittance of the black key is only 10%, the light transmittance of the white key is 18%, and the black and white touch screens share the same main board and software, so that when the brightness of the key lamp is the same, the white key lamp can appear brighter and even glaring.
For this situation, the following two approaches are mainly used in the prior art:
one is that the black and white touch screens adopt the same hardware and software to accept the fact that the brightness of the key light is different; adjusting the light transmittance of the key screen printing to be as close as possible;
the other is to use different software for the mobile phone with black and white touch screens, and different currents are configured for the key lamp in the respective software to realize different brightness.
However, both of these solutions have certain problems:
in the first scheme, if the brightness of the key lamp of the black and white touch screen mobile phone is the same as that of the key lamp of the white touch screen mobile phone, but the key lamp of the white touch screen mobile phone is high in brightness and dazzling in use due to different transmittance of the screen printing of the keys on the touch screen, and if the transmittance of the screen printing of the keys is adjusted, the color selection of the screen printing of the keys is limited;
under the second scheme, two software versions corresponding to black and white are required to be developed, if more shipping countries exist, two versions are required to be developed due to different languages in each country, the development workload is large, the software version maintenance workload is large, and the error risk caused by more corresponding versions is large.
Therefore, an intelligent and automatic solution is urgently needed for the same type of terminals in the scheme of controlling the brightness of the key lamp due to the difference of the color, the transmittance or the supply manufacturer of the touch screen, unified terminal software is adopted, the relevant attributes of the terminal touch screen are automatically identified, the brightness of the key lamp matched with the terminal touch screen is configured, and different terminal software versions are not needed to be respectively adopted for adapting to the difference of the attributes of the touch screen.
Disclosure of Invention
In order to solve the problems, the invention provides a method and a device for controlling the brightness of a key lamp, which are suitable for a terminal comprising a touch screen, and the corresponding brightness of the key lamp is determined according to the attribute of the touch screen of the terminal, so that the purpose of using a uniform terminal software version to automatically adapt to various touch screen types is achieved, the brightness of the key lamp of the terminal is correspondingly controlled, perfect product experience is brought to a final user, and the difficulty and the cost of managing and maintaining the software version of a terminal manufacturer are reduced.
The invention provides a brightness control method of a terminal key lamp, which comprises the following steps:
acquiring an attribute value of a terminal touch screen;
and controlling the brightness of the key lamp of the terminal according to the attribute value of the terminal touch screen.
The method for acquiring the attribute value of the terminal touch screen comprises the following steps:
reading from a register of the terminal;
or the method is determined according to the pin connection mode of the touch screen.
Further, the attribute value of the terminal touch screen read from the register of the touch screen comprises at least one of the following items:
touch screen light transmittance, touch screen color and touch screen model.
Further, according to the attribute value of the terminal touch screen, controlling the brightness of the key lamp of the terminal, including:
and searching in the corresponding relation between the preset attribute value range and the key lamp brightness according to the attribute value of the terminal touch screen, and controlling the terminal key lamp brightness after determining the key lamp brightness corresponding to the attribute value.
When the attribute value is determined by the pin connection mode of the touch screen, the corresponding relation between the preset attribute value range and the brightness of the key lamp comprises the following steps: the corresponding relation between the pin connection mode and the brightness of the key lamp.
Further, the control terminal presses key lamp luminance, includes:
controlling the current provided for the key lamp according to the brightness of the key lamp corresponding to the attribute value searched from the preset corresponding relation; the larger the brightness of the corresponding key lamp is, the larger the current provided for the key lamp is;
or controlling the duty ratio of the current supplied to the key lamp according to the brightness of the key lamp corresponding to the attribute value searched from the preset corresponding relation; wherein, the larger the corresponding key lamp brightness, the larger the duty ratio of the current provided to the key lamp.
The invention also provides a device for automatically controlling the brightness of the key lamp, which is applied to a terminal comprising a touch screen and comprises the following components: the device comprises a parameter acquisition module and a brightness control module;
the parameter acquisition module is used for acquiring the attribute value of the touch screen;
and the brightness control module is used for controlling the brightness of the key lamp according to the attribute value of the touch screen acquired by the parameter acquisition module.
Wherein, the parameter acquisition module acquires the attribute value of the touch screen, including:
reading from a register of the terminal;
or the method is determined according to the pin connection mode of the touch screen.
Further, the attribute value of the terminal touch screen read from the register of the terminal includes at least one of the following items:
touch screen light transmittance, touch screen color and touch screen model.
Further, the brightness control module controls the brightness of the key lamp according to the attribute value of the terminal touch screen, and the method comprises the following steps:
searching in a preset corresponding relation between an attribute value range and the brightness of a key lamp according to the attribute value of the touch screen acquired by the parameter acquisition module, and controlling the brightness of the key lamp of the terminal after determining the brightness of the key lamp corresponding to the attribute value;
when the attribute value of the touch screen terminal is determined by the pin connection mode of the touch screen, the corresponding relation between the preset attribute value range and the brightness of the key lamp comprises the following steps: the corresponding relation between the pin connection mode and the brightness of the key lamp.
Further, the brightness control module comprises: the current control submodule is used for controlling the current provided for the key lamp according to the brightness of the key lamp corresponding to the attribute value; wherein the greater the corresponding key light brightness, the greater the current provided to the key light.
Alternatively, the luminance control module includes:
the current duty ratio control submodule is used for controlling the duty ratio of the current supplied to the key lamp according to the brightness of the key lamp corresponding to the attribute value; wherein the greater the corresponding key light brightness, the greater the duty cycle of the current provided to the key light.
Drawings
Fig. 1 is a flowchart of a method for controlling the brightness of a key lamp according to an embodiment of the present invention;
fig. 2 is a structural diagram of a key lamp brightness control device according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The first embodiment is as follows:
fig. 1 is a flowchart of a method for controlling the brightness of a key lamp provided by the present invention, which includes:
step 101, acquiring an attribute value of a terminal touch screen;
and 102, controlling the brightness of a key lamp of the terminal according to the attribute value of the terminal touch screen.
Step 101, acquiring an attribute value of a touch screen, wherein the attribute value indicates that the brightness of a key lamp of a terminal provided with the touch screen is determined according to the attribute value;
the method for acquiring the attribute value of the touch screen can be read from a register of the terminal, wherein the register can be a register of the touch screen or a register at other positions in the terminal;
the method for acquiring the attribute value of the touch screen can also be determined according to the pin connection mode of the touch screen, namely the attribute value is the pin connection mode and represents the type of the touch screen which needs to distinguish and control the brightness of the key lamp. The specific embodiments are described as follows:
different touch screens are connected with the internal circuit of the terminal by using different pins of sensor ID (sensor ID). For example, two pins of a touch screen IC chip are used for identifying a state of a touch screen, each pin may be connected to a high voltage Vdd, a General Purpose Input/Output (GPIO) interface, or a ground GND, and different interfaces are connected to the two pins, so that a plurality of different states of the touch screen may be identified, and a connection mode of the two pins is selected according to a touch screen with different colors or different transmittances selected by terminal hardware. For example, the black touch screen is respectively connected with the high Vdd and the ground GND through two pins, the white touch screen is respectively connected with the high Vdd and the GPIO interface through two pins, and after the terminal is produced, the touch screen of the terminal is determined by which mode to connect, and can be correctly known.
The implementation of the scheme of the present invention is not limited to the specific pins and what kind of signal interfaces are connected in the embodiment, and the technical effects of the present invention can be achieved by selecting a specific connection mode within the range allowed by the touch screen IC chip and on the premise of ensuring the touch screen function.
Further, the touch screen attribute value read from the terminal register includes at least one of the following items:
the light transmittance of the touch screen, the color of the touch screen and the model of the touch screen;
for example: the light transmittance of the touch screen is 80%, 90% or 95%.
The color of the touch screen is black, white, pink, blue and the like; or common red, green and blue RGB color identification values are adopted; alternatively, other color identification values; the manner of representing colors in the present invention is not limited to the manner exemplified in the present embodiment.
The type of the touch screen can be specifically the type of touch screen hardware or the code of a supplier of the touch screen; other numbers can be substituted and modified, and the meaning of the scheme of the invention to the model of the touch screen is not limited to the aspect exemplified by the embodiment.
Further, in step 102, controlling the brightness of the key lamp of the terminal according to the attribute value of the terminal touch screen specifically includes:
and searching in a preset corresponding relation between the attribute value range and the key lamp brightness according to the attribute value of the terminal touch screen, and controlling the terminal key lamp brightness after determining the key lamp brightness corresponding to the attribute value. Specific examples are as follows:
when the attribute value is determined by the pin connection mode of the touch screen, the corresponding relationship between the preset attribute value range and the brightness of the key lamp comprises the following steps: the corresponding relationship between the pin connection mode and the key lamp brightness is shown in table 1:
table 1: correspondence table of pin connection mode and key lamp brightness
Pin connection mode Brightness of light
In a first mode 5
Mode two 8
After the terminal is assembled, the pin connection mode of the touch screen in the terminal is determined, and if the white touch screen is connected in the first mode, the table 1 is searched to determine that the corresponding brightness is 5; and if the black touch screen is connected in the second mode, looking up the table 1 to determine that the corresponding brightness is 8.
The pin connection method is further illustrated as follows:
the first method is as follows: pin 1 is connected with high Vdd, and pin 2 is connected with a GPIO interface;
the second method comprises the following steps: pin 1 is connected with high Vdd, and pin 2 is connected with ground GND;
alternatively, the first and second electrodes may be,
the first method is as follows: pin 1 is connected with a GPIO interface, and pin 2 is connected with high Vdd;
the second method comprises the following steps: pin 1 is connected to high Vdd and pin 2 is connected to ground GND.
If more than two touch screens which need to correspondingly and differentially control the brightness of the key lamp exist, the modes of three, four and the like can be expanded according to the mode shown in the embodiment. Those skilled in the art can easily think of the definition of more connection modes by changing or replacing or expanding the pin connection modes within the exemplary range of the pin connection modes exemplified in the embodiment.
When the attribute value read from the terminal register is the transmittance of the touch screen, the corresponding relationship between the preset attribute value range and the brightness of the key lamp can be shown in table 2:
table 2: corresponding relation between light transmittance and key lamp brightness
Range of light transmittance Brightness of light
<=80 8
>80 and<=90 7
>90 6
after the terminal is assembled, the light transmittance stored in the register is determined, and if the light transmittance stored in the register in the terminal is 70, the table 2 is looked up, and the corresponding brightness is determined to be 8; if the light transmittance stored in the register in the terminal is 88, looking up the table 2, and determining that the corresponding brightness is 7; assuming that the transmittance stored in the register in the terminal is 95, table 2 is looked up to determine that its corresponding brightness is 6.
The method for representing the light transmittance is not limited to the method illustrated in this embodiment, and those skilled in the art may use other methods to represent the light transmittance.
When the attribute value read from the terminal register is the color of the touch screen, the corresponding relationship between the preset attribute value range and the brightness of the key lamp can be shown in table 3:
table 3: correspondence between touch screen color and key lamp brightness
Touch screen color Brightness of light
Black color 8
Pink colour 7
White colour 5
After the terminal is assembled, the color parameters of the touch screen stored in the register of the terminal are determined, and if the color of the touch screen stored in the register of the terminal is black, the table 3 is searched to determine that the corresponding brightness is 8; if the color of the touch screen stored in the register in the terminal is pink, looking up the table 3 and determining that the corresponding brightness is 7; if the color of the touch screen stored in the register in the terminal is white, the table 3 is looked up, and the corresponding brightness is determined to be 5.
Table 3 above may also be replaced by the correspondence between the RGB color identification value range and the key light brightness.
When the attribute value read from the terminal register includes the touch screen model, the corresponding relationship between the preset attribute value range and the key lamp brightness may be as shown in table 4:
table 4: correspondence between touch screen model and key lamp brightness
Touch Screen model Brightness of light
IS2002 8
IS2008 8
IS2009 5
WE0009 7
WE0007 7
After the terminal IS assembled, the touch screen model parameters stored in the register of the terminal are determined, and if the touch screen model stored in the register of the terminal IS IS2002, the table 4 IS searched, and the corresponding brightness IS determined to be 8; if the touch screen model stored in the register in the terminal IS IS2008, looking up the table 4 and determining that the corresponding brightness IS 8; if the touch screen model stored in the register in the terminal is WE0009, looking up the table 4 and determining that the corresponding brightness is 7; if the touch screen model stored in the register in the terminal is WW0031, the table 4 is searched, and if the corresponding brightness is not found, the corresponding brightness is determined to be the default value 7.
When the attribute values read from the terminal register are the color and the model of the touch screen, the corresponding relationship between the preset attribute value range and the brightness of the key lamp can be shown in table 5:
table 5: correspondence relation between color and model of touch screen and brightness of key lamp
Touch screen color Touch Screen model Brightness of light
Black color AAA1 8
Black color AAA2 8
Black color AAA3 9
White colour AAA1 6
White colour AAA1 6
In the table, the model of the touch screen represents the supplier code of the touch screen, and the content in table 5 represents the black touch screen, and the required brightness of the key light is different due to the difference of the suppliers. After the terminal is assembled, the color and model parameters of the touch screen stored in the register are determined, and if the color of the touch screen stored in the register in the terminal is black and the model is AAA1, the table 5 is searched to determine that the corresponding brightness is 8; if the color of the touch screen stored in the register in the terminal is black and the model is AAA2, looking up the table 5 and determining that the corresponding brightness is 8; if the color of the touch screen stored in the register in the terminal is black and the model is AAA3, looking up the table 5 and determining that the corresponding brightness is 9; assuming that the touch screen color stored in the register in the terminal is white and the model is AAA1, look up table 5 and determine that the corresponding brightness is 6.
In the implementation of the solution of the present invention, the definition of the model of the touch screen is not limited to the content exemplified in the embodiment, and those skilled in the art can easily think of changes or substitutions to obtain definitions of other touch screen model meanings according to the model examples exemplified in the embodiment, and different models may have different requirements on the brightness of the key lamp in some cases.
Meanwhile, in the above-mentioned correspondence table between attribute values and key lamp brightness in this embodiment, numerical values are used to represent brightness, and the larger the numerical value is, the larger the brightness of the key lamp that needs to be set is. Or, the smaller the numerical value is, the larger the brightness of the key lamp which is required to be set is; in other implementations of the present invention, the brightness may be expressed in other manners, and those skilled in the art can easily think of changes or substitutions to obtain more brightness expression methods according to the example of the brightness.
Furthermore, after the corresponding key lamp brightness is determined, the key lamp brightness of the terminal is controlled, and the current provided for the key lamp can be controlled according to the corresponding key lamp brightness, so that the purpose of controlling the brightness is achieved, and the larger the corresponding key lamp brightness is, the larger the current provided for the key lamp is.
Or the duty ratio of the current supplied to the key lamp can be controlled according to the corresponding key lamp brightness, so that the purpose of controlling the brightness is achieved, and the duty ratio of the current supplied to the key lamp is larger when the corresponding key lamp brightness is larger. When the voltage and current supplied to the key light are the same but are converted to different currents by different duty cycles, for example, half the time the voltage is supplied, half the time the voltage is not supplied, which is equivalent to half the current supplied, and accordingly, the key light brightness is reduced.
Example two:
the present invention also provides a device for automatically controlling the brightness of a key lamp, which is applied to a terminal including a touch screen, as shown in fig. 2, and comprises: the device comprises a parameter acquisition module and a brightness control module;
the parameter acquisition module is used for acquiring the attribute value of the touch screen;
and the brightness control module is used for controlling the brightness of the key lamp according to the attribute value of the touch screen acquired by the parameter acquisition module.
The acquired attribute value of the touch screen indicates that the brightness of a key lamp of a terminal provided with the touch screen is determined according to the attribute value;
specifically, the acquiring the attribute value of the touch screen by the parameter acquiring module includes:
reading from a register of the terminal;
or, the method is determined according to the pin connection mode of the touch screen.
The attribute value of the terminal touch screen read in the register of the terminal comprises at least one of the following items:
touch screen light transmittance, touch screen color and touch screen model.
Further, the device also comprises:
the preset parameter setting module is used for presetting the corresponding relation between the attribute value range of the touch screen and the brightness of the key lamp; the preset corresponding relationship between the attribute value range of the touch screen and the brightness of the key light refers to the contents exemplified in the first embodiment.
Specifically, the brightness control module controls the brightness of the key lamp of the terminal according to the attribute value of the terminal touch screen, and the method includes the following steps:
and searching in a preset corresponding relation between the attribute value range and the key lamp brightness according to the attribute value of the touch screen acquired by the parameter acquisition module, and controlling the key lamp brightness of the terminal after determining the key lamp brightness corresponding to the attribute value.
When the attribute value of the touch screen terminal is determined by the pin connection mode of the touch screen, the attribute value is the pin connection mode and represents the type of the touch screen which needs to distinguish and control the brightness of the key lamp. The corresponding relation between the preset attribute value range and the brightness of the key lamp comprises the following steps: the corresponding relation between the pin connection mode and the brightness of the key lamp.
The specific pin connection method is as exemplified in the first embodiment.
Further, the brightness control module comprises a current control submodule for controlling the current provided to the key lamp according to the brightness of the key lamp corresponding to the specific attribute value, so as to achieve the purpose of controlling the brightness of the key lamp, wherein the larger the brightness of the corresponding key lamp is, the larger the current provided to the key lamp is;
or the brightness control module comprises a current duty ratio control submodule for controlling the current duty ratio provided for the key lamp according to the key lamp brightness corresponding to the specific attribute value so as to achieve the purpose of controlling the key lamp brightness, wherein the larger the corresponding key lamp brightness is, the larger the duty ratio of the current provided for the key lamp is.
The method embodiment of the invention has the advantages that the corresponding relation between the touch screen attribute value and the key lamp brightness is pre-stored in the terminal, the same version of software is uniformly installed after the terminal hardware of the same type is produced and assembled, after the terminal is started, the corresponding brightness of the key lamp of the terminal is automatically matched and obtained according to the pre-configured corresponding relation by obtaining the touch screen attribute value of the terminal, and the key lamp brightness is controlled accordingly. The method overcomes the defects of the current brightness control scheme of the key lamp, not only brings more perfect product experience to the final user, but also reduces the software version management and maintenance difficulty and cost of the terminal manufacturer.
It will be understood by those of ordinary skill in the art that all or part of the steps of the above embodiments may be implemented using a computer program flow, which may be stored in a computer readable storage medium and executed on a corresponding hardware platform (e.g., system, apparatus, device, etc.), and when executed, includes one or a combination of the steps of the method embodiments.
Alternatively, all or part of the steps of the above embodiments may be implemented by using an integrated circuit, and the steps may be respectively manufactured as an integrated circuit module, or a plurality of the blocks or steps may be manufactured as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The devices/functional modules/functional units in the above embodiments may be implemented by general-purpose computing devices, and they may be centralized on a single computing device or distributed on a network formed by a plurality of computing devices.
Each device/function module/function unit in the above embodiments may be implemented in the form of a software function module and may be stored in a computer-readable storage medium when being sold or used as a separate product. The computer readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A brightness control method for a terminal key lamp is characterized by comprising the following steps:
acquiring an attribute value of a terminal touch screen, wherein the attribute value of the touch screen comprises the color of the touch screen and/or the light transmittance of touch screen key screen printing, and the color of the touch screen comprises black, white, pink and blue;
and controlling the brightness of the key lamp of the terminal according to the attribute value of the terminal touch screen.
2. The method according to claim 1, wherein the obtaining of the attribute value of the terminal touch screen comprises:
reading from a register of the terminal;
or, the method is determined according to the pin connection mode of the touch screen.
3. The method according to claim 2, wherein the attribute value of the terminal touch screen read from the register of the touch screen comprises at least one of:
touch screen light transmittance, touch screen color and touch screen model.
4. The method of claim 1, 2 or 3,
the controlling the brightness of the key lamp of the terminal according to the attribute value of the terminal touch screen comprises the following steps:
and searching in a preset corresponding relation between the attribute value range and the key lamp brightness according to the attribute value of the terminal touch screen, and controlling the key lamp brightness of the terminal after determining the key lamp brightness corresponding to the attribute value.
5. The method of claim 4,
when the attribute value is determined by the pin connection mode of the touch screen, the corresponding relationship between the preset attribute value range and the brightness of the key lamp comprises the following steps: the corresponding relation between the pin connection mode and the brightness of the key lamp.
6. The method of claim 4,
the controlling of the brightness of the key lamp of the terminal comprises: controlling the current provided for the key lamp according to the corresponding key lamp brightness; wherein the greater the corresponding key light brightness, the greater the current provided to the key light;
or, controlling the duty ratio of the current provided to the key lamp according to the corresponding key lamp brightness; wherein the greater the corresponding key light brightness, the greater the duty cycle of the current provided to the key light.
7. The utility model provides an automatic control presses device of key lamp luminance, is applied to the terminal including the touch-sensitive screen, its characterized in that includes: the device comprises a parameter acquisition module and a brightness control module;
the parameter acquisition module is used for acquiring an attribute value of the touch screen, wherein the attribute value of the touch screen comprises the color of the touch screen and/or the light transmittance of the touch screen key screen printing, and the color of the touch screen comprises black, white, pink and blue;
and the brightness control module is used for controlling the brightness of the key lamp according to the attribute value of the touch screen acquired by the parameter acquisition module.
8. The apparatus of claim 7,
the parameter obtaining module obtains the attribute value of the touch screen, and the parameter obtaining module comprises:
reading from a register of the terminal;
or, the method is determined according to the pin connection mode of the touch screen.
9. The apparatus of claim 8,
the attribute value of the terminal touch screen read from the register of the terminal comprises at least one of the following items:
touch screen light transmittance, touch screen color and touch screen model.
10. The apparatus of claim 7, 8 or 9,
the brightness control module controls the brightness of the key lamp according to the attribute value of the terminal touch screen, and the method comprises the following steps:
and searching in a preset corresponding relation between the attribute value range and the key lamp brightness according to the attribute value of the touch screen acquired by the parameter acquisition module, and controlling the key lamp brightness of the terminal after determining the key lamp brightness corresponding to the attribute value.
11. The apparatus of claim 10,
when the attribute value of the touch screen terminal is determined by the pin connection mode of the touch screen, the corresponding relation between the preset attribute value range and the brightness of the key lamp comprises the following steps: the corresponding relation between the pin connection mode and the brightness of the key lamp.
12. The apparatus of claim 10,
the brightness control module includes:
the current control submodule is used for controlling the current provided for the key lamp according to the brightness of the key lamp corresponding to the attribute value; wherein the greater the corresponding key light brightness, the greater the current provided to the key light.
13. The apparatus of claim 10,
the brightness control module includes:
the current duty ratio control submodule is used for controlling the duty ratio of the current supplied to the key lamp according to the brightness of the key lamp corresponding to the attribute value; wherein the greater the corresponding key light brightness, the greater the duty cycle of the current provided to the key light.
CN201510483677.XA 2015-08-07 2015-08-07 Method and device for controlling brightness of terminal key lamp Active CN106445214B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510483677.XA CN106445214B (en) 2015-08-07 2015-08-07 Method and device for controlling brightness of terminal key lamp
PCT/CN2015/098736 WO2016131340A1 (en) 2015-08-07 2015-12-24 Method and apparatus for controlling luminance of terminal button light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510483677.XA CN106445214B (en) 2015-08-07 2015-08-07 Method and device for controlling brightness of terminal key lamp

Publications (2)

Publication Number Publication Date
CN106445214A CN106445214A (en) 2017-02-22
CN106445214B true CN106445214B (en) 2021-06-29

Family

ID=56688701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510483677.XA Active CN106445214B (en) 2015-08-07 2015-08-07 Method and device for controlling brightness of terminal key lamp

Country Status (2)

Country Link
CN (1) CN106445214B (en)
WO (1) WO2016131340A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743084A (en) * 2017-11-17 2018-02-27 普天智能照明研究院有限公司 Panel, system and control method based on event triggering controlled plant

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980135A (en) * 2010-11-08 2011-02-23 广东欧珀移动通信有限公司 Touch key background light control method
CN103309636A (en) * 2012-03-13 2013-09-18 鸿富锦精密工业(深圳)有限公司 Monitor brightness correction device and method
CN203775263U (en) * 2014-01-22 2014-08-13 深圳市嘉明光电有限公司 Mobile phone touch screen with virtual button
CN104754798A (en) * 2013-12-27 2015-07-01 上海博泰悦臻网络技术服务有限公司 Method and device for controlling brightness of key backlight

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201307903Y (en) * 2008-12-02 2009-09-09 天津三星电子显示器有限公司 Discolouring casing television
CN101478847A (en) * 2008-12-25 2009-07-08 旭丽电子(广州)有限公司 Light emission system and method for changing backlight color
CN102736735A (en) * 2011-03-30 2012-10-17 旭丽电子(广州)有限公司 Luminous keyboard capable of switching color
KR20140034615A (en) * 2012-09-12 2014-03-20 주식회사 팬택씨앤아이 Touch screen and control method thereof
CN102984352B (en) * 2012-11-02 2014-12-24 小米科技有限责任公司 Method and device of adjusting of screen luminance of terminal and terminal
CN203036282U (en) * 2012-11-27 2013-07-03 李昊致 Sleep lamp
CN104076898B (en) * 2013-03-27 2018-10-26 腾讯科技(深圳)有限公司 A kind of method and apparatus of control mobile terminal screen brightness
CN103197889B (en) * 2013-04-03 2017-02-08 锤子科技(北京)有限公司 Brightness adjusting method and device and electronic device
CN104113617A (en) * 2013-04-16 2014-10-22 深圳富泰宏精密工业有限公司 Backlight brightness adjusting system and backlight brightness adjusting method
CN103399661A (en) * 2013-06-18 2013-11-20 深圳市创凯电子有限公司 Method and device for adjusting luminance of touch display screen
CN103428966B (en) * 2013-07-11 2016-08-10 华为终端有限公司 Key-press backlight processing method, device and terminal unit
CN203503505U (en) * 2013-08-05 2014-03-26 天津市泛凯科贸有限公司 Switch
CN103685754B (en) * 2013-12-16 2018-04-10 上海斐讯数据通信技术有限公司 A kind of backlight of mobile terminal adjusting method and mobile terminal
CN103903419A (en) * 2014-03-06 2014-07-02 安徽天众电子科技有限公司 Remote controller of light and color remotely regulated power source
CN104123176A (en) * 2014-07-18 2014-10-29 广州市久邦数码科技有限公司 Method and system for automatically regulating game volume and screen brightness of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980135A (en) * 2010-11-08 2011-02-23 广东欧珀移动通信有限公司 Touch key background light control method
CN103309636A (en) * 2012-03-13 2013-09-18 鸿富锦精密工业(深圳)有限公司 Monitor brightness correction device and method
CN104754798A (en) * 2013-12-27 2015-07-01 上海博泰悦臻网络技术服务有限公司 Method and device for controlling brightness of key backlight
CN203775263U (en) * 2014-01-22 2014-08-13 深圳市嘉明光电有限公司 Mobile phone touch screen with virtual button

Also Published As

Publication number Publication date
WO2016131340A1 (en) 2016-08-25
CN106445214A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN207766616U (en) Product category identifying system and illuminator
EP2914942B1 (en) Computer-implemented system and method for color sensing, storage and comparison
CN104361871A (en) Display screen debugging method, device and system
CN104428829A (en) Color control method and communication apparatus
KR20090007341A (en) Pulse width modulation based led dimmer control
CN111800923B (en) Light control method and device, readable storage medium and terminal equipment
CN103730102B (en) A kind of information processing method and electronic equipment
CN105848354B (en) A kind of shading process being used in intelligent illuminating system and system
CN101556787A (en) Method for adjusting image quality
CN112485934B (en) Hot plug detection method and related device for LED display screen
CN112634819A (en) Correction method and related device for LED display screen
US20080112607A1 (en) System and method for testing leds on a motherboard
CN106445214B (en) Method and device for controlling brightness of terminal key lamp
CN104240676A (en) Method for adjusting electronic device and electronic device
CN102800277B (en) A kind of for regulating method and the display device of display device color and brightness
CN103278243A (en) Real color picking method, system and device
CN110618744A (en) Novel GPU Carrier board card
CN103731649A (en) Image color temperature adjusting device and method and smart television
CN113470566A (en) Color temperature adjusting method, device and system for display screen, air conditioner and medium
CN109000886A (en) A kind of light source detection method and device thereof, equipment and storage medium
CN110225625A (en) LED colour mixture calibration method, device and storage medium
CN109451759B (en) Remote controller and remote control method
CN110708794A (en) LED dimming method and device and LED lighting lamp
CN113129813B (en) White balance adjusting method and device and computer equipment
CN105679255A (en) LCD Gamma value burning method and burning device

Legal Events

Date Code Title Description
C06 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