IP Library Granted Patent US 9,826,591
Granted Patent B2
US 9,826,591 · App. 14/980,424 · Granted Nov 21, 2017

Button backlight processing method and apparatus and terminal device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,826,591
App. No.
14/980,424
Granted
Nov 21, 2017
Kind
B2
Abstract

A button backlight processing method and apparatus and a terminal device. The button backlight processing method includes receiving an instruction for turning on button backlight; obtaining a button backlight parameter according to the instruction, where the button backlight parameter is corresponding to a current theme interface of a terminal device; and turning on the button backlight according to the button backlight parameter. The embodiments of the present disclosure achieve a color diversity of button backlight, and meet individualized requirements of users.

Claims (45)

1. A button backlight processing method, comprising:

receiving an instruction for turning on a button backlight;

obtaining a button backlight parameter according to the instruction, wherein the button backlight parameter is selected from amongst a plurality of button backlight parameters and is selected, by a terminal device, based on the button backlight parameter matching a current interface theme of the terminal device; and

turning on the button backlight according to the button backlight parameter,

wherein obtaining the button backlight parameter comprises obtaining the button backlight parameter that has been stored,

wherein before obtaining the button backlight parameter that has been stored, the method further comprises:

obtaining information indicating that the interface theme of the terminal device is updated;

obtaining configuration information of color components in a color of the updated interface theme, wherein the configuration information of the color components comprises a luminance value of a red component, a luminance value of a green component, and a luminance value of a blue component;

obtaining, according to the configuration information of the color components, a button backlight parameter corresponding to the updated interface theme through calculation by using a preset algorithm; and

storing the button backlight parameter corresponding to the updated interface theme,

wherein obtaining the button backlight parameter that has been stored comprises obtaining the stored button backlight parameter corresponding to the updated interface theme.

2. The method according to claim 1 , wherein the button backlight parameter comprises a first duty cycle of a red component, a second duty cycle of a green component, and a third duty cycle of a blue component in a color of the interface theme, and wherein turning on the button backlight according to the button backlight parameter comprises correspondingly driving, according to the first duty cycle, the second duty cycle, and the third duty cycle, a red backlight, a green backlight, and a blue backlight that are disposed under a button.

3. The method according to claim 1 , wherein obtaining the button backlight parameter comprises:

obtaining configuration information of color components in a color of the interface theme, wherein the configuration information of the color components comprises a luminance value of a red component, a luminance value of a green component, and a luminance value of a blue component; and

obtaining, according to the configuration information of the color components, the button backlight parameter corresponding to the interface theme through calculation using a preset algorithm.

4. The method according to claim 1 , wherein before obtaining the information indicating that the interface theme of the terminal device is updated, the method further comprises monitoring a registration entry that records the interface theme, and wherein obtaining the information indicating that the interface theme of the terminal device comprises obtaining the information indicating the interface theme when the registration entry is modified.

5. The method according to claim 1 , wherein obtaining the button backlight parameter that has been stored comprises:

obtaining information about the current interface theme; and

obtaining the button backlight parameter corresponding to the current interface theme according to a correspondence, prestored in the terminal device, between information about all interface themes and corresponding button backlight parameters.

6. The method according to claim 1 , wherein turning on the button backlight according to the button backlight parameter comprises driving a first current source according to a first duty cycle to turn on a red backlight, driving a second current source according to a second duty cycle to turn on a green backlight, and driving a third current source according to a third duty cycle to turn on a blue backlight.

7. A terminal comprising:

a button backlight;

a display;

a memory; and

a processor coupled with the memory, the display, and the button backlight, wherein the processor is configured to:

receive an instruction for turning on the button backlight;

obtain a button backlight parameter according to the instruction, wherein the button backlight parameter is selected from amongst a plurality of button backlight parameters and is selected, by the terminal, based on the button backlight parameter matching a current interface theme of the terminal;

turn on the button backlight according to the button backlight parameter;

obtain the button backlight parameter that has been stored;

obtain information indicating that the interface theme of the terminal is updated;

obtain configuration information of color components in a color of the updated interface theme, wherein the configuration information of the color components comprises a luminance value of a red component, a luminance value of a green component, and a luminance value of a blue component;

obtain, according to the configuration information of the color components, a button backlight parameter corresponding to the updated interface theme through calculation using a preset algorithm;

store the button backlight parameter corresponding to the updated interface theme; and

obtain the stored button backlight parameter corresponding to the updated interface theme.

8. The terminal according to claim 7 , wherein the button backlight parameter comprises a first duty cycle of a red component, a second duty cycle of a green component, and a third duty cycle of a blue component in a color of the interface theme, and wherein the processor is configured to correspondingly drive, according to the first duty cycle, the second duty cycle, and the third duty cycle, a red backlight, a green backlight, and a blue backlight that are disposed under a button.

9. The terminal according to claim 7 , wherein the processor is configured to:

obtain configuration information of color components in a color of the interface theme, wherein the configuration information of the color components comprises a luminance value of a red component, a luminance value of a green component, and a luminance value of a blue component; and

obtain, according to the configuration information of the color components, the button backlight parameter corresponding to the interface theme through calculation using a preset algorithm.

10. The terminal according to claim 7 , wherein the processor is configured to:

monitor a registration entry that records the interface theme; and

obtain the information indicating the interface theme when the registration entry is modified.

11. The terminal according to claim 7 , wherein the processor is configured to:

obtain information about the current interface theme; and

obtain the button backlight parameter corresponding to the current interface theme according to a correspondence, prestored in the terminal, between information about all interface themes and corresponding button backlight parameters.

12. The terminal according to claim 7 , wherein the processor is configured to drive a first current source according to a first duty cycle to turn on a red backlight, drive a second current source according to a second duty cycle to turn on a green backlight, and drive a third current source according to a third duty cycle to turn on a blue backlight.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI DEVICE CO.,LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 056413/0883 →
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2016
From: LI, ZHIHUA; LIU, CHANGMING; YAN, TAO
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 037525/0068 →