Key backlight correction method, device, electronic device and readable storage medium

By obtaining the brightness of the key display and the lamp limit parameters, adjusting the brightness of the target lamp beads solves the problem of uneven backlight display caused by the LED lamp bead manufacturing tolerance, and realizes the uniformity and brightness requirements of the key backlight.

CN116033619BActive Publication Date: 2025-08-08GOERTEK INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211555589.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2025-08-08
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

In the prior art, the manufacturing and assembly tolerances of LED lamp beads lead to poor display effects on the button backlight and cannot meet the preset brightness requirements.

Method used

By obtaining the display brightness of the button, the target control parameters are determined based on the lamp limit parameters and display brightness. If the threshold is exceeded, the target lamp bead brightness is adjusted for backlight correction. Taking advantage of the limited color perception ability of the human eye, the brightness of the low-sensitive color is sacrificed to improve the overall backlight effect.

Benefits of technology

Make the key backlight meet the preset brightness requirements to the maximum extent, improving the display effect of the key backlight.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033619B_ABST
    Figure CN116033619B_ABST
Patent Text Reader

Abstract

The present application discloses a key backlight correction method, device, electronic device, and readable storage medium, which are applied to the technical field of backlight correction and are applied to key devices, wherein the key device includes at least one key and a key backlight fixture. The key backlight correction method includes: obtaining the key display brightness of each key; determining the target control parameter corresponding to the key backlight fixture when each key meets the preset brightness requirement based on the fixture limit parameter corresponding to the key backlight fixture and each display brightness; if the target control parameter is greater than the preset parameter threshold, selecting at least one target lamp bead from the key backlight fixture, and performing backlight correction on each key by adjusting the lamp bead display brightness corresponding to the target lamp bead. The present application solves the technical problem of poor key backlight display effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of backlight correction, and in particular to a key backlight correction method, device, electronic device and readable storage medium. Background Art

[0002] The lamps used for key backlighting are usually LED lamp beads. Since the LED silicone, light guide film and other structural components of LED lamp beads are extremely susceptible to engineering capabilities such as product size manufacturing tolerance, assembly tolerance, SMT attachment accuracy, and angle tolerance, it is easy for the actual display brightness of the LED lamp beads to differ significantly from their designed brightness. As a result, the backlight effect of the LED lamp beads on the keys cannot reach the set brightness of the key backlight, resulting in poor display effect of the key backlight. Summary of the Invention

[0003] The main purpose of this application is to provide a key backlight correction method, device, electronic device and readable storage medium, aiming to solve the technical problem of poor display effect of key backlight in the prior art.

[0004] To achieve the above-mentioned object, the present application provides a key backlight calibration method, which is applied to a key device, wherein the key device includes at least one key and a key backlight lamp. The key backlight calibration method includes:

[0005] Obtaining the key display brightness of each key;

[0006] Determining, based on the lamp limitation parameters corresponding to the key backlight lamps and the display brightness, the target control parameters corresponding to the key backlight lamps when each key meets the preset brightness requirement;

[0007] If the target control parameter is greater than a preset parameter threshold, at least one target lamp bead is selected from the key backlight fixture, and backlight correction is performed on each key by adjusting the display brightness of the lamp bead corresponding to the target lamp bead.

[0008] To achieve the above-mentioned objectives, the present application further provides a key backlight calibration device, which is applied to a key device, wherein the key device includes at least one key and a key backlight lamp. The key device includes at least one key and a key backlight lamp, and the key backlight calibration device includes:

[0009] An acquisition module, configured to acquire the key display brightness of each key;

[0010] a determination module, configured to determine, based on the lamp limitation parameters corresponding to the key backlight lamps and the display brightness, the target control parameters corresponding to the key backlight lamps when each key meets the preset brightness requirement;

[0011] The adjustment module is used to select at least one target lamp bead from the key backlight fixture if the target control parameter is greater than a preset parameter threshold, and perform backlight correction on each key by adjusting the lamp bead display brightness corresponding to the target lamp bead.

[0012] The present application also provides an electronic device, which includes: a memory, a processor, and a program of the key backlight correction method stored in the memory and capable of running on the processor. When the program of the key backlight correction method is executed by the processor, the steps of the key backlight correction method as described above can be implemented.

[0013] The present application also provides a computer-readable storage medium, on which is stored a program for implementing the key backlight correction method. When the program of the key backlight correction method is executed by a processor, the steps of the key backlight correction method as described above are implemented.

[0014] The present application also provides a computer program product, comprising a computer program, which implements the steps of the key backlight correction method as described above when executed by a processor.

[0015] The present application provides a key backlight correction method, device, electronic device and readable storage medium. The present application is applied to a key device, which includes at least one key and a key backlight fixture. First, the key display brightness of each key is obtained, and then the target control parameters corresponding to the key backlight fixture when each key meets the preset brightness requirement are determined based on the fixture limitation parameters corresponding to the key backlight fixture and each display brightness. Since a single lamp bead in the key backlight fixture can affect multiple keys, the display brightness of each key under the mutual influence of each lamp bead is obtained, so as to determine the target control parameters corresponding to the key backlight fixture when each key meets the corresponding preset brightness requirement. If the target control parameter is greater than the preset parameter threshold, that is, at this time the key backlight fixture cannot make all keys meet the corresponding preset brightness requirement. If all keys meet the corresponding preset brightness requirements, at least one target lamp bead is selected from the key backlight fixture, and the backlight correction of each key is performed by adjusting the lamp bead display brightness corresponding to the target lamp bead. In actual scenarios, due to the limited color perception ability of the human eye and the different sensitivities of the human eye to different colors, for example, the human eye cannot capture the slight brightness changes of other low-sensitivity colors such as blue, but is more likely to capture the slight brightness changes of other highly sensitive colors such as red. Therefore, the brightness of some target lamp beads used for backlighting keys with low-sensitivity colors can be sacrificed, so that the lamp beads other than the target lamp beads can reach their respective corresponding target key brightness, thereby maximizing the key backlight effect to reach the key backlight preset brightness, thereby improving the display effect of the key backlight. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 This is a flow chart of the first embodiment of the key backlight calibration method of the present application;

[0019] Figure 2 This is a flow chart of the second embodiment of the key backlight calibration method of the present application;

[0020] Figure 3 Schematic diagram of the device structure involved in the key backlight correction method in an embodiment of the present application;

[0021] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the key backlight correction method in the embodiment of the present application.

[0022] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0023] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.

[0024] Example 1

[0025] The present application embodiment provides a key backlight correction method. In the first embodiment of the key backlight correction method of the present application, refer to Figure 1 , applied to a key device, the key device including at least one key and a key backlight lamp, the key backlight correction method comprising:

[0026] Step S10, obtaining the key display brightness of each key;

[0027] In this embodiment, it should be noted that the button device is a terminal device with a button backlight display function. The button device can be a keyboard, a remote control, or other terminal devices with a button backlight display, such as a game controller. The button backlight lamp is a lamp deployed on each of the buttons for button backlighting.

[0028] Exemplarily, step S10 includes: turning on the key backlight lamp, and acquiring the key display brightness of each key when the key backlight lamp is turned on.

[0029] As an example, step S10 includes: sensing the key display brightness of each key when the key backlight is turned on through an image sensor deployed on each key, wherein the image sensor can be a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor.

[0030] Step S20, determining a target control parameter corresponding to the key backlight lamp when each key meets a preset brightness requirement based on the lamp limitation parameter corresponding to the key backlight lamp and each display brightness;

[0031] Step S30: If the target control parameter is greater than a preset parameter threshold, at least one target lamp bead is selected from the key backlight fixture, and backlight correction is performed on each key by adjusting the display brightness of the lamp bead corresponding to the target lamp bead.

[0032] In this embodiment, it should be noted that the lamp beads are semiconductor devices used to emit light and constitute the key backlight fixture. The lamp beads may be LED (Light Emitting Diode) lamp beads, RGB lamp beads, or lamp beads made of other materials. The lamp bead control parameter is a parameter that controls the display brightness of the lamp bead when emitting light. The lamp bead control parameter may be a PWM (Pulse Width Modulation) duty cycle. The PWM duty cycle may be 50, 60, 70, or other values between 0 and 100. The display brightness of each lamp bead in the key backlight fixture may be consistent or inconsistent. The lamp limit parameter is a lamp control parameter threshold value of the key backlight fixture. The lamp limit parameter may be a lamp control parameter threshold value corresponding to each lamp bead constituting the key backlight fixture. The preset parameter threshold value is a preset control parameter threshold value corresponding to the key backlight fixture. The preset parameter threshold value may be the sum of the lamp control parameter threshold values corresponding to all lamp bead constituting the key backlight fixture.

[0033] Exemplarily, steps S20 to S30 include: determining the target control parameters corresponding to the key backlight fixtures when each of the keys meets the preset brightness requirements based on the lamp limitation parameters corresponding to the key backlight fixtures and the display brightness of each of the keys; judging whether the target control parameters are greater than the preset parameter threshold, and if the target control parameters are greater than the preset parameter threshold, selecting at least one target lamp bead from the key backlight fixtures, and performing backlight correction on each of the keys by adjusting the lamp bead display brightness corresponding to the target lamp bead; if the target control parameter is less than or equal to the preset parameter threshold, performing backlight correction on each of the keys by adjusting the lamp control parameters corresponding to the key backlight fixtures to the target control parameters.

[0034] The keys include at least one white key, the key backlight fixture includes at least one first lamp bead for backlighting each of the white keys, the lamp restriction parameter includes a first lamp bead restriction parameter corresponding to the first lamp bead, the target control parameter includes a first control parameter corresponding to each of the first lamp beads, and the display brightness includes a white key display brightness corresponding to each of the white keys. In step S20, the step of determining, based on the lamp restriction parameter corresponding to the key backlight fixture and each of the display brightnesses, the target control parameter corresponding to the key backlight fixture when each of the keys meets the preset brightness requirement includes:

[0035] Step A10, determining the upper limit of the white key brightness and the lower limit of the white key brightness corresponding to each white key according to the preset brightness requirement;

[0036] Step A20: Determine, based on the display brightness of each white button, the upper limit parameter and the lower limit parameter of the first lamp bead corresponding to each white button, wherein the upper limit parameter of the first lamp bead is the upper limit parameter corresponding to the first lamp bead of each white button at the upper limit of the white button brightness, and the lower limit parameter of the first lamp bead is the lower limit parameter corresponding to the first lamp bead of each white button at the lower limit of the white button brightness;

[0037] Step A30: Select the first control parameter from the preset first control parameter corresponding to the preset white button display brightness and the first lamp bead limiting parameter according to the first lamp bead upper limit parameter and the first lamp bead lower limit parameter.

[0038] In this embodiment, it should be noted that the number of the first lamp beads can be one or more. The preset brightness requirement is the preset achievable brightness range corresponding to each of the buttons, the upper limit of the white button brightness is the maximum brightness that the white button can display, and the lower limit of the white button brightness is the minimum brightness that the white button can display. The preset white button display brightness is the preset expected display brightness of the white button, and the preset white button display brightness may or may not fall within the preset brightness requirement. The first lamp bead restriction parameter is the sum of the lamp bead restriction parameters corresponding to all the first lamp beads.

[0039] Exemplarily, steps A10 to A30 include: using the upper limit value of the achievable brightness range corresponding to the white button in the preset brightness requirement as the upper limit of the white button brightness corresponding to each of the white buttons, and using the lower limit value of the achievable brightness range corresponding to the white button in the preset brightness requirement as the lower limit of the white button brightness corresponding to each of the white buttons; integrating the display brightness of each of the white buttons into the total brightness of the white buttons corresponding to each of the white buttons, obtaining the total control parameters of the first lamp beads corresponding to each of the first lamp beads under the total brightness of the white buttons, and generating the average brightness coefficient corresponding to the white buttons according to the total brightness of the white buttons and the total control parameters of the first lamp beads; determining the brightness of each of the white buttons under the upper limit of the white button brightness according to the average brightness coefficient and the upper limit of the white button brightness. The first lamp bead upper limit parameter corresponding to the first lamp bead; determine the first lamp bead lower limit parameter corresponding to each of the white buttons at the white button brightness lower limit according to the average brightness coefficient and the white button brightness lower limit; obtain the white button display control parameters corresponding to the first lamp bead of each of the white buttons at the white button display brightness, and the white button average display control parameters corresponding to each of the white button display control parameters, determine the preset first control parameters corresponding to the first lamp bead of the white button at the preset white button display brightness according to the white button display control parameters and the white button average display control parameters, and select the first control parameter from the preset first control parameters and the first lamp bead limit parameters according to the first lamp bead upper limit parameter and the first lamp bead lower limit parameter.

[0040] Optionally, the step of generating an average brightness coefficient corresponding to the white button according to the total brightness of the white button and the total control parameter of the first lamp bead may specifically be:

[0041]

[0042] Among them, Coef1 is the average brightness coefficient corresponding to the white key, BW1 is the total brightness of the white key, PWM T1 is the total control parameter of the first lamp bead.

[0043] Optionally, the step of determining the first lamp bead upper limit parameter corresponding to the first lamp bead of each white key at the upper limit of the white key brightness according to the average brightness coefficient and the lower limit of the white key brightness may specifically be:

[0044]

[0045] Among them, Coef1 is the average brightness coefficient corresponding to the white button, BW H is the upper limit of the brightness of the white button, and PWM1 is the upper limit parameter of the first lamp bead.

[0046] Optionally, the step of determining, based on the average brightness coefficient and the lower limit of the white key brightness, a first lamp bead lower limit parameter corresponding to the first lamp bead of each white key under the lower limit of the white key brightness includes:

[0047]

[0048] Among them, Coef1 is the average brightness coefficient corresponding to the white button, BW L is the lower limit of the brightness of the white button, and PWM2 is the lower limit parameter of the first lamp bead.

[0049] Optionally, the step of determining a preset first control parameter corresponding to the first lamp bead of the white button at a preset white button display brightness according to the white button display control parameter and the white button average display control parameter includes:

[0050]

[0051] Among them, PWM3 is the preset first control parameter, BW c Display brightness of the preset white button, BW T Display control parameters for the white buttons. The control parameters are displayed averagely for the white buttons.

[0052] It is understandable that in actual scenarios, the first control parameter corresponding to the first lamp bead used to backlight the white key may not meet the expected display brightness of the white key, that is, the first control parameter limit is less than the expected lamp bead control parameter corresponding to the expected display brightness of the white key. Therefore, according to the first lamp bead limit parameter and the first lamp bead upper limit parameter, the first control parameter corresponding to each first lamp bead is determined and adjusted, so that the white key meets the preset white key display brightness while trying not to exceed the lamp bead control parameter limit corresponding to the first lamp bead.

[0053] The step of selecting the first control parameter from the preset first control parameter corresponding to the preset white button display brightness and the first lamp bead limit parameter according to the first lamp bead upper limit parameter and the first lamp bead lower limit parameter includes:

[0054] Step A31: If the first lamp bead limiting parameter is greater than the first lamp bead upper limit parameter, then selecting the preset control parameter corresponding to the preset white button display brightness as the first control parameter;

[0055] Step A32: If the first lamp bead limit parameter is less than or equal to the first lamp bead upper limit parameter, and the first lamp bead limit parameter is greater than or equal to the first lamp bead lower limit parameter, the first lamp bead limit parameter is selected as the first control parameter.

[0056] Exemplarily, steps A31 to A32 include: if the first lamp bead limitation parameter is greater than the first lamp bead upper limit parameter, then selecting the preset control parameter corresponding to the preset white button display brightness as the first control parameter; if the first lamp bead limitation parameter is less than or equal to the first lamp bead upper limit parameter, and the first lamp bead limitation parameter is greater than or equal to the first lamp bead lower limit parameter, then selecting the first lamp bead limitation parameter as the first control parameter; if the first lamp bead limitation parameter is less than the first lamp bead lower limit parameter, then determining that the brightness of the first lamp bead product is unqualified, and replacing the first lamp bead.

[0057] The keys further include at least one color key, the key backlight fixture further includes at least one second lamp bead for backlighting each of the color keys, the lamp restriction parameter further includes an upper limit of a lamp bead restriction parameter corresponding to both the first lamp bead and the second lamp bead for backlighting the white key, the target control parameter further includes a second control parameter corresponding to each of the second lamp beads, and the display brightness further includes a color key display brightness corresponding to each of the color keys. In step S20, the step of determining, based on the lamp restriction parameter corresponding to the key backlight fixture and each of the display brightnesses, the target control parameter corresponding to the key backlight fixture when each of the keys meets the preset brightness requirement further includes:

[0058] Step B10, determining the upper limit of the color key brightness corresponding to each color key and the lower limit of the color key brightness corresponding to each color key according to the preset brightness requirement;

[0059] Step B20: determining a target parameter adjustment multiple corresponding to each second lamp bead according to the color button display brightness, the upper limit value of the lamp bead limit parameter, the upper limit of the color button brightness, and the lower limit of the color button brightness;

[0060] Step B30: Adjust the lamp bead control parameter corresponding to the second lamp bead according to the target parameter adjustment multiple to obtain the second control parameter.

[0061] In this embodiment, it should be noted that the number of second lamp beads can be one or more. The upper limit of the color key brightness is the maximum brightness that the color key can display, and the lower limit of the color key brightness is the minimum brightness that the color key can display. The preset color key display brightness is the preset expected display brightness of the color key. The upper limit of the lamp bead limit parameter is the minimum value of the lamp bead limit parameter corresponding to all the first lamp beads and all the second lamp beads.

[0062] Exemplarily, steps B10 to B30 include: using the upper limit value of the achievable brightness range corresponding to the color key in the preset brightness requirement as the upper limit of the color key brightness corresponding to each color key, and using the lower limit value of the achievable brightness range corresponding to the color key in the preset brightness requirement as the lower limit of the color key brightness corresponding to each color key; determining the target parameter adjustment multiple corresponding to each second lamp bead based on the color key display brightness, the upper limit value of the lamp bead limitation parameter, the upper limit of the color key brightness and the lower limit of the color key brightness; and using the product of the lamp bead control parameter corresponding to the second lamp bead and the target parameter adjustment multiple as the second control parameter.

[0063] Among them, in step B30, the step of determining the target parameter adjustment multiple corresponding to each second lamp bead according to the color button display brightness, the upper limit value of the lamp bead limit parameter, the upper limit of the color button brightness, and the lower limit of the color button brightness includes:

[0064] Step B31: Determine, based on the color key display brightness and the upper limit value of the lamp bead limiting parameter, the first parameter adjustment multiple, the second parameter adjustment multiple, and the third parameter adjustment multiple corresponding to each second lamp bead, wherein the first parameter adjustment multiple is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the preset color key display brightness, the second parameter adjustment multiple is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the color key brightness upper limit, and the third parameter adjustment multiple is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the color key brightness lower limit;

[0065] Step B32: Select the target parameter adjustment multiple from the first parameter adjustment multiple, the second parameter adjustment multiple, and the third parameter adjustment multiple.

[0066] It can be understood that each of the second lamp beads is used to backlight at least one color key. The following takes a single second lamp bead backlighting two color keys as an example.

[0067] As an example, the color key includes a first color key and a second color key, the second lamp bead includes a second backlight lamp bead, the preset color key display brightness is the expected display brightness corresponding to the first color key, the upper limit of the color key brightness is the upper limit of the brightness corresponding to the second color key, the lower limit of the color key brightness is the lower limit of the brightness corresponding to the second color key, the second backlight lamp bead is used to backlight the first color key and the second color key, the color key display brightness includes the first color key display brightness corresponding to the first color key and the second color key display brightness corresponding to the second color key, the first parameter adjustment multiple is used to adjust the second backlight The target parameter adjustment multiple is used to adjust the second backlight lamp bead to adjust the first color key from the first color key display brightness to the preset color key display brightness, the second parameter adjustment multiple is used to adjust the second backlight lamp bead to adjust the second color key from the second color key display brightness to the color key brightness upper limit, the third parameter adjustment multiple is used to adjust the second backlight lamp bead to adjust the second color key from the second color key display brightness to the color key brightness lower limit, the target parameter adjustment multiple is the target parameter adjustment multiple corresponding to the second backlight lamp bead, steps B31 to B32 include: obtaining the current second color key display brightness of the second backlight lamp bead under the first color key display brightness, Backlight control parameters, according to the upper limit value of the lamp bead limit parameter and the current second backlight control parameter, determine the parameter adjustment multiple threshold value corresponding to the second backlight lamp bead; according to the preset color button display brightness and the first color button display brightness, determine the first parameter adjustment multiple corresponding to the second backlight lamp bead to adjust the first color button from the first color button display brightness to the preset color button display brightness, judge whether the first parameter adjustment multiple is greater than or equal to the parameter adjustment multiple threshold value, if the first parameter adjustment multiple is greater than or equal to the parameter adjustment multiple threshold value, then adjust the first parameter adjustment multiple to the parameter adjustment multiple threshold value, if the first parameter adjustment multiple is less than or equal to the parameter adjustment multiple threshold value, then adjust the first parameter adjustment multiple to the parameter adjustment multiple threshold value, if the first parameter adjustment multiple is lower than the parameter adjustment multiple threshold, the first parameter adjustment multiple is not adjusted; according to the color key brightness upper limit and the second color key display brightness, determine the second parameter adjustment multiple corresponding to the second backlight lamp bead for adjusting the second color key from the second color key display brightness to the color key brightness upper limit, and judge whether the second parameter adjustment multiple is greater than or equal to the parameter adjustment multiple threshold. If the second parameter adjustment multiple is greater than or equal to the parameter adjustment multiple threshold, adjust the second parameter adjustment multiple to the parameter adjustment multiple threshold; if the second parameter adjustment multiple is less than the parameter adjustment multiple threshold, do not adjust the second parameter adjustment multiple;According to the lower limit of the color key brightness and the display brightness of the second color key, determine the third parameter adjustment multiple corresponding to the second backlight lamp bead to adjust the second color key from the second color key display brightness to the lower limit of the color key brightness, judge whether the third parameter adjustment multiple is greater than or equal to the parameter adjustment multiple threshold, if the third parameter adjustment multiple is greater than or equal to the parameter adjustment multiple threshold, adjust the third parameter adjustment multiple to the parameter adjustment multiple threshold, if the third parameter adjustment multiple is less than the parameter adjustment multiple threshold, do not adjust the third parameter adjustment multiple; judge whether the first parameter adjustment multiple is less than is greater than or equal to the third parameter adjustment factor, and if the first parameter adjustment factor is less than or equal to the third parameter adjustment factor, the third parameter adjustment factor is used as the target parameter adjustment factor; if the first parameter adjustment factor is greater than the third parameter adjustment factor, it is determined whether the first parameter adjustment factor is less than or equal to the second parameter adjustment factor, and if the first parameter adjustment factor is less than or equal to the second parameter adjustment factor, the second parameter adjustment factor is used as the target parameter adjustment factor; if the first parameter adjustment factor is greater than the second parameter adjustment factor, the first parameter adjustment factor is used as the target parameter adjustment factor.

[0068] Optionally, the step of determining the parameter adjustment multiple threshold corresponding to the second lamp bead that backlights the first color key according to the upper limit value of the lamp bead restriction parameter and the current control parameter of the second lamp bead corresponding to the second lamp bead that backlights the first color key may specifically be:

[0069]

[0070] Among them, R p is the parameter adjustment multiple threshold corresponding to the second backlight lamp bead, PWM5 is the upper limit value of the lamp bead limit parameter, and PWM6 is the current second backlight control parameter.

[0071] Optionally, the step of determining, based on the preset color key display brightness and the first color key display brightness, a first parameter adjustment multiple corresponding to the second backlight lamp bead for adjusting the first color key display brightness from the first color key display brightness to the preset color key display brightness may specifically be:

[0072]

[0073] Among them, R1 is the first parameter adjustment multiple, BC T1 is the preset color key display brightness, and BC1 is the first color key display brightness.

[0074] Optionally, the step of determining, based on the color key brightness upper limit and the second color key display brightness, a second parameter adjustment multiple corresponding to the second backlight lamp bead for adjusting the second color key from the second color key display brightness to the color key brightness upper limit may specifically be:

[0075]

[0076] Among them, R2 is the second parameter adjustment multiple, BC H2 is the upper limit of the color key brightness, and BC2 is the display brightness of the second color key.

[0077] Optionally, the step of determining, based on the color key brightness lower limit and the second color key display brightness, a third parameter adjustment multiple corresponding to the second backlight lamp bead for adjusting the second color key from the second color key display brightness to the color key brightness lower limit may specifically be:

[0078]

[0079] Among them, R3 is the third parameter adjustment multiple, BC L2 is the lower limit of the color key brightness, and BC2 is the display brightness of the second color key.

[0080] An embodiment of the present application provides a key backlight correction method, which is applied to a key device, wherein the key device includes at least one key and a key backlight fixture. First, the key display brightness of each key is obtained, and then the target control parameter corresponding to the key backlight fixture when each key meets the preset brightness requirement is determined according to the fixture limitation parameter corresponding to the key backlight fixture and each display brightness. Since a single lamp bead in the key backlight fixture can affect multiple keys, the display brightness of each key under the mutual influence of each lamp bead is obtained, so as to determine the target control parameter corresponding to the key backlight fixture when each key meets the corresponding preset brightness requirement. If the target control parameter is greater than the preset parameter threshold, that is, at this time, the key backlight fixture cannot make all keys reach the target control parameter. To meet the corresponding preset brightness requirement, at least one target lamp bead is selected from the key backlight lamp fixture, and the backlight correction of each key is performed by adjusting the lamp bead display brightness corresponding to the target lamp bead. In actual scenarios, due to the limited color perception ability of the human eye and the different sensitivities of the human eye to different colors, for example, the human eye cannot capture the slight brightness changes of other low-sensitivity colors such as blue, but is more likely to capture the slight brightness changes of other highly sensitive colors such as red. Therefore, the brightness of some target lamp beads used for backlighting keys with low-sensitivity colors can be sacrificed, so that the other lamp beads except the target lamp beads can reach their respective corresponding target key brightness, thereby maximizing the key backlight effect to reach the key backlight preset brightness, thereby improving the display effect of the key backlight.

[0081] Example 2

[0082] Further, refer to Figure 2 Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned first embodiment can be referred to the above introduction and will not be described in detail later. On this basis, wherein the target lamp bead includes a target first lamp bead selected from the first lamp bead used to backlight the white key, in step S40, adjusting the display brightness of the lamp bead corresponding to the target lamp bead includes:

[0083] Step C10, obtaining the design margin corresponding to the target first lamp bead;

[0084] Step C20, adjusting the display brightness of the lamp bead corresponding to the target first lamp bead by adjusting the first target control parameter corresponding to the target first lamp bead according to the design margin and the lower limit of the white button brightness corresponding to the white button.

[0085] Optionally, the step of adjusting the first target control parameter corresponding to the target first lamp bead according to the design margin and the lower limit of the white button brightness corresponding to the white button may specifically be:

[0086]

[0087] Among them, PWm T2 is the target value after the adjustment of the first control parameter, PWM M1 is the first target control parameter corresponding to the first target lamp bead, BW L is the lower limit of the brightness of the white key, r is the design margin, and the design margin can be 95%.

[0088] Wherein, the target lamp bead includes a target second lamp bead selected from the second lamp bead used for backlighting the color key. In step S40, adjusting the display brightness of the lamp bead corresponding to the target lamp bead also includes:

[0089] Step D10, obtaining a parameter difference between the target control parameter and the preset parameter threshold;

[0090] Step D20: adjusting the second target control parameter corresponding to the target second lamp bead according to the parameter difference.

[0091] Exemplarily, steps D10 to D20 include: obtaining the parameter difference between the target control parameter and the preset parameter threshold and the current total display brightness of the second lamp bead corresponding to the target second lamp bead under the color button display brightness of all color buttons; determining the control parameter adjustment ratio corresponding to the target second lamp bead based on the parameter difference and the current total display brightness of the second lamp bead; adjusting the second target control parameter corresponding to the target second lamp bead according to the control parameter adjustment ratio, specifically, adjusting the second target control parameter corresponding to the target second lamp bead to the product of the second target control parameter and the control parameter adjustment ratio.

[0092] Optionally, the step of obtaining a parameter difference between the target control parameter and the preset parameter threshold may specifically be:

[0093] Δ=PWM T3 -PWM Max

[0094] Wherein, Δ is the parameter difference, PWM T3 is the target control parameter, PWM Max is the preset parameter threshold.

[0095] Optionally, the step of determining the control parameter adjustment ratio corresponding to the target second lamp bead according to the parameter difference and the current total display brightness of the color key may specifically be:

[0096]

[0097] Wherein, s is the control parameter adjustment ratio, PWM T3 is the total display brightness of the current second lamp bead, and Δ is the parameter difference.

[0098] It is understandable that the execution order of the above steps C10 to C20 and the above steps D10 to D20 is not fixed. However, due to the limited color perception ability of the human eye, the human eye is less sensitive to white than to color. Therefore, the first control parameter corresponding to the first lamp bead used to backlight the white key can be adjusted first. After the adjustment, if the target control parameter is still greater than the preset parameter threshold, the second lamp bead control parameter corresponding to the second lamp bead used to backlight the color key can be adjusted. When the user has a color discrimination-related disease such as color blindness or color weakness, the user's sensitivity to all colors is low, or the sensitivity to colors with a higher conventional sensitivity (for example, red) is low. Therefore, in addition to the above order, the second lamp bead control parameter can be adjusted first. After the adjustment, if the target control parameter is still greater than the preset parameter threshold, the first control parameter can be adjusted.

[0099] Optionally, before the step of obtaining the parameter difference between the target control parameter and the preset parameter threshold, the method further includes:

[0100] Obtain the user's color preference for each color key, generate the priority corresponding to each color key according to each color preference degree, select the target color key whose priority is less than a preset priority threshold among the color keys, wherein the preset priority threshold is a pre-set priority critical value for determining a lower priority, and use the second lamp bead corresponding to the target color key as the target second lamp bead.

[0101] As an example, corporate culture information corresponding to the corporate culture is obtained, and the priority corresponding to each color button is generated according to the corporate culture information. For example, if the corporate culture information is a sun symbol, colors such as red and orange are set to a higher priority, and other colors not related to the sun symbol are set to a lower priority.

[0102] By sacrificing the brightness of the keys corresponding to colors that are less preferred by users, the target control parameter corresponding to the key backlight fixture is made less than or equal to the preset parameter threshold, thereby ensuring that the key backlight effect meets user expectations to the greatest extent and improving the display effect of the key backlight.

[0103] Optionally, after the step of adjusting the second target control parameter corresponding to the target second lamp bead according to the parameter difference, the method further includes:

[0104] If the target control parameter is still greater than the preset parameter threshold, lower the preset priority threshold and return to the execution step: select the target color key whose priority is less than the preset priority threshold from each color key until the target control parameter is less than or equal to the preset parameter threshold.

[0105] Optionally, after the step of setting the target control parameter to be less than or equal to a preset parameter threshold, the method further includes:

[0106] Obtain an influence coefficient of the key backlight fixture on each of the white keys, wherein the influence coefficient is used to characterize the degree of influence of the key backlight fixture on the display brightness of each white key; based on each of the influence coefficients, select at least one target white key from each of the white keys; and perform backlight correction on each of the target white keys by adjusting the lamp display brightness of the key backlight fixture based on the preset key display brightness of each target key and each of the influence coefficients.

[0107] It is understandable that since a single lamp bead in the key backlight fixture can affect multiple keys, a small number of target white keys can be used to represent the brightness of all white keys, and then the overall white key backlight display can be performed based on a small number of target white keys and a small number of lamp beads. Therefore, even if the number of keys is large, the overall white key backlight brightness setting expectation can still be achieved through a small number of lamp beads, avoiding the need to set the same number of LED lamp beads when the number of keys is large, thereby reducing the number of hardware interfaces corresponding to the keys, the power consumption of the entire machine, the battery life, and the technical defects of higher costs, thereby reducing the resource loss of the key backlight.

[0108] An embodiment of the present application provides a key backlight correction method, which is applied to a key device, wherein the key device includes at least one key and a key backlight fixture. First, the key display brightness of each key is obtained, and then the target control parameter corresponding to the key backlight fixture when each key meets the preset brightness requirement is determined according to the fixture limitation parameter corresponding to the key backlight fixture and each display brightness. Since a single lamp bead in the key backlight fixture can affect multiple keys, the display brightness of each key under the mutual influence of each lamp bead is obtained, so as to determine the target control parameter corresponding to the key backlight fixture when each key meets the corresponding preset brightness requirement. If the target control parameter is greater than the preset parameter threshold, that is, at this time, the key backlight fixture cannot make all keys reach the target control parameter. To meet the corresponding preset brightness requirement, at least one target lamp bead is selected from the key backlight lamp fixture, and the backlight correction of each key is performed by adjusting the lamp bead display brightness corresponding to the target lamp bead. In actual scenarios, due to the limited color perception ability of the human eye and the different sensitivities of the human eye to different colors, for example, the human eye cannot capture the slight brightness changes of other low-sensitivity colors such as blue, but is more likely to capture the slight brightness changes of other highly sensitive colors such as red. Therefore, the brightness of some target lamp beads used for backlighting keys with low-sensitivity colors can be sacrificed, so that the other lamp beads except the target lamp beads can reach their respective corresponding target key brightness, thereby maximizing the key backlight effect to reach the key backlight preset brightness, thereby improving the display effect of the key backlight.

[0109] Example 3

[0110] The present application also provides a key backlight calibration device, which is applied to a key device, wherein the key device includes at least one key and a key backlight lamp. The key device includes at least one key and a key backlight lamp, and the key backlight calibration device includes:

[0111] An acquisition module, configured to acquire the key display brightness of each key;

[0112] a determination module, configured to determine, based on the lamp limitation parameters corresponding to the key backlight lamps and the display brightness, the target control parameters corresponding to the key backlight lamps when each key meets the preset brightness requirement;

[0113] The adjustment module is used to select at least one target lamp bead from the key backlight fixture if the target control parameter is greater than a preset parameter threshold, and perform backlight correction on each key by adjusting the lamp bead display brightness corresponding to the target lamp bead.

[0114] Optionally, the key includes at least one white key, the key backlight lamp includes at least one first lamp bead for backlighting each of the white keys, the lamp restriction parameter includes a first lamp bead restriction parameter corresponding to the first lamp bead, the target control parameter includes a first control parameter corresponding to each of the first lamp beads, the display brightness includes a white key display brightness corresponding to each of the white keys, and the determination module is further configured to:

[0115] Obtaining the upper limit of the brightness of the white key and the lower limit of the brightness of the white key corresponding to each of the white keys;

[0116] According to the display brightness of each white button, determine the upper limit parameter and the lower limit parameter of the first lamp bead corresponding to each white button, wherein the upper limit parameter of the first lamp bead is the upper limit parameter corresponding to each white button at the upper limit of the white button brightness, and the lower limit parameter of the first lamp bead is the lower limit parameter corresponding to each white button at the lower limit of the white button brightness;

[0117] According to the first lamp bead upper limit parameter and the first lamp bead lower limit parameter, the first control parameter is selected from the preset first control parameter corresponding to the preset white button display brightness and the first lamp bead limit parameter.

[0118] Optionally, the determining module is further configured to:

[0119] If the first lamp bead limiting parameter is greater than the first lamp bead upper limit parameter, the preset control parameter corresponding to the preset white button display brightness is selected as the first control parameter;

[0120] If the first lamp bead limiting parameter is less than or equal to the first lamp bead upper limit parameter, and the first lamp bead limiting parameter is greater than or equal to the first lamp bead lower limit parameter, the first lamp bead limiting parameter is selected as the first control parameter.

[0121] Optionally, the key further includes at least one color key, the key backlight fixture further includes at least one second lamp bead for backlighting each of the color keys, the lamp fixture restriction parameter further includes an upper limit of a lamp bead restriction parameter corresponding to both the first lamp bead and the second lamp bead for backlighting the white key, the target control parameter further includes a second control parameter corresponding to each of the second lamp beads, the display brightness further includes a color key display brightness corresponding to each of the color keys, and the determination module is further configured to:

[0122] Determining the upper limit of the color key brightness corresponding to each of the color keys and the lower limit of the color key brightness corresponding to each of the color keys according to the preset brightness requirement;

[0123] Determine the target parameter adjustment multiple corresponding to each second lamp bead according to the color button display brightness, the upper limit value of the lamp bead limit parameter, the upper limit of the color button brightness, and the lower limit of the color button brightness;

[0124] According to the target parameter adjustment multiple, the lamp bead control parameter corresponding to the second lamp bead is adjusted to obtain the second control parameter.

[0125] Optionally, the determining module is further configured to:

[0126] According to the color key display brightness and the upper limit value of the lamp bead limit parameter, the first parameter adjustment multiplier, the second parameter adjustment multiplier, and the third parameter adjustment multiplier corresponding to each second lamp bead are respectively determined, wherein the first parameter adjustment multiplier is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the preset color key display brightness, the second parameter adjustment multiplier is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the color key brightness upper limit, and the third parameter adjustment multiplier is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the color key brightness lower limit;

[0127] The target parameter adjustment multiple is selected from the first parameter adjustment multiple, the second parameter adjustment multiple, and the third parameter adjustment multiple.

[0128] Optionally, the target lamp bead includes a target first lamp bead selected from the first lamp beads used for backlighting white keys, and the adjustment module is further configured to:

[0129] Obtaining a design margin corresponding to the target first lamp bead;

[0130] According to the design margin and the lower limit of the white button brightness corresponding to the white button, the display brightness of the lamp bead corresponding to the target first lamp bead is adjusted by adjusting the first target control parameter corresponding to the target first lamp bead.

[0131] Optionally, the target lamp bead includes a target second lamp bead selected from second lamp beads used for backlighting color keys, and the adjustment module is further configured to:

[0132] Obtaining a parameter difference between the target control parameter and the preset parameter threshold;

[0133] According to the parameter difference, the display brightness corresponding to the target second lamp bead is adjusted by adjusting the second target control parameter corresponding to the target second lamp bead.

[0134] The key backlight calibration device provided in this application utilizes the key backlight calibration method described in the aforementioned embodiment to resolve the technical issue of poor key backlight display quality. Compared to the prior art, the key backlight calibration device provided in this application's embodiment has the same beneficial effects as the key backlight calibration method described in the aforementioned embodiment. Other technical features of the key backlight calibration device are the same as those disclosed in the aforementioned embodiment and are not further detailed here.

[0135] Example 4

[0136] An embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the key backlight correction method in the above embodiment.

[0137] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0138] like Figure 4 As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0139] Typically, the following systems can be connected to the I / O interface: input devices such as a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices such as a magnetic tape, hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figures show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.

[0140] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0141] The electronic device provided in this application employs the key backlight correction method of the aforementioned embodiment to resolve the technical problem of poor key backlight display effects. Compared to the prior art, the beneficial effects of the electronic device provided in this embodiment are the same as those of the key backlight correction method provided in the aforementioned embodiment, and the other technical features of the electronic device are the same as those disclosed in the aforementioned embodiment, and are not further described here.

[0142] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0143] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0144] Example 5

[0145] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the key backlight correction method in the above embodiment.

[0146] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. A more specific example of a computer-readable storage medium can include, but is not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by an instruction execution system, a system or a device or used in combination therewith. The program code contained in the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: an electric wire, an optical cable, RF (radio frequency), etc., or any suitable combination thereof.

[0147] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0148] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: obtains the key display brightness of each of the keys; determines the target control parameters corresponding to the key backlight fixture when each of the keys meets the preset brightness requirements based on the lamp limitation parameters corresponding to the key backlight fixture and each of the display brightnesses; if the target control parameter is greater than the preset parameter threshold, selects at least one target lamp bead in the key backlight fixture, and performs backlight correction on each of the keys by adjusting the lamp bead display brightness corresponding to the target lamp bead.

[0149] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0150] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0151] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0152] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the aforementioned key backlight correction method, thereby resolving the technical problem of poor key backlight display effects. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment of the application are the same as those of the key backlight correction method provided in the aforementioned embodiment, and are not further elaborated here.

[0153] Example 6

[0154] The present application also provides a computer program product, comprising a computer program, which implements the steps of the key backlight correction method as described above when executed by a processor.

[0155] The computer program product provided in this application solves the technical problem of poor display effect of key backlight. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiment of this application are the same as the beneficial effects of the key backlight correction method provided in the above embodiment, and will not be repeated here.

[0156] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A key backlight correction method, characterized in that: Applied to a key device, the key device includes at least one key and a key backlight lamp, and the key backlight correction method includes: Obtaining the key display brightness of each key; Determining, based on the lamp limit parameters corresponding to the key backlight lamps and the display brightnesses, target control parameters corresponding to the key backlight lamps when each key meets the corresponding preset brightness requirements, wherein the lamp limit parameters are critical values of the lamp limit parameters corresponding to each lamp bead constituting the key backlight lamps; If the target control parameter is greater than a preset parameter threshold, at least one target lamp bead is selected from the key backlight fixture, and backlight correction is performed on each key by adjusting the display brightness of the lamp bead corresponding to the target lamp bead, wherein the preset parameter threshold is the sum of the critical values of the lamp bead limit parameters corresponding to all the lamp beads constituting the key backlight fixture; The key includes at least one white key, the key backlight lamp includes at least one first lamp bead for backlighting each of the white keys, the lamp limit parameter includes a first lamp bead limit parameter corresponding to the first lamp bead, the target control parameter includes a first control parameter corresponding to each of the first lamp beads, and the display brightness includes a white key display brightness corresponding to each of the white keys. The step of determining the target control parameter corresponding to the key backlight lamp when each key meets the preset brightness requirement based on the lamp limit parameter corresponding to the key backlight lamp and each display brightness includes: Determining the upper limit of the white key brightness and the lower limit of the white key brightness corresponding to each of the white keys according to the preset brightness requirement; According to the display brightness of each white button, determine the upper limit parameter and the lower limit parameter of the first lamp bead corresponding to each white button, wherein the upper limit parameter of the first lamp bead is the upper limit parameter corresponding to each white button at the upper limit of the white button brightness, and the lower limit parameter of the first lamp bead is the lower limit parameter corresponding to each white button at the lower limit of the white button brightness; If the first lamp bead limit parameter is greater than the first lamp bead upper limit parameter, the preset control parameter corresponding to the preset white button display brightness is selected as the first control parameter; If the first lamp bead limiting parameter is less than or equal to the first lamp bead upper limit parameter, and the first lamp bead limiting parameter is greater than or equal to the first lamp bead lower limit parameter, the first lamp bead limiting parameter is selected as the first control parameter.

2. The key backlight correction method according to claim 1, wherein: The key further includes at least one color key, the key backlight fixture further includes at least one second lamp bead for backlighting each of the color keys, the lamp fixture restriction parameter further includes an upper limit of the lamp bead restriction parameter corresponding to the first lamp bead and the second lamp bead for backlighting the white key, the upper limit of the lamp bead restriction parameter is the minimum value of the lamp bead restriction parameter corresponding to all the first lamp beads and all the second lamp beads, the target control parameter further includes a second control parameter corresponding to each of the second lamp beads, and the display brightness further includes the color key display brightness corresponding to each of the color keys. The step of determining, based on the lamp restriction parameters corresponding to the key backlight lamps and the display brightness, the target control parameters corresponding to the key backlight lamps when each key meets the preset brightness requirement further includes: Determining the upper limit of the color key brightness corresponding to each of the color keys and the lower limit of the color key brightness corresponding to each of the color keys according to the preset brightness requirement; Determine the target parameter adjustment multiple corresponding to each second lamp bead according to the color button display brightness, the upper limit value of the lamp bead limit parameter, the upper limit of the color button brightness, and the lower limit of the color button brightness; The product of the lamp bead control parameter corresponding to the second lamp bead and the target parameter adjustment multiple is used as the second control parameter.

3. The key backlight correction method according to claim 2, wherein: The step of determining the second control parameter corresponding to each second lamp bead according to the color key display brightness, the upper limit value of the lamp bead limit parameter, the upper limit of the color key brightness, and the lower limit of the color key brightness includes: According to the color key display brightness and the upper limit value of the lamp bead limit parameter, the first parameter adjustment multiplier, the second parameter adjustment multiplier, and the third parameter adjustment multiplier corresponding to each second lamp bead are respectively determined, wherein the first parameter adjustment multiplier is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the preset color key display brightness, the second parameter adjustment multiplier is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the color key brightness upper limit, and the third parameter adjustment multiplier is used to adjust the control parameter corresponding to the second lamp bead to adjust the color key from the color key display brightness to the color key brightness lower limit; Determining whether the first parameter adjustment multiple is less than or equal to the third parameter adjustment multiple; If the first parameter adjustment multiple is less than or equal to the third parameter adjustment multiple, the third parameter adjustment multiple is used as the target parameter adjustment multiple; If the first parameter adjustment multiple is greater than the third parameter adjustment multiple, determining whether the first parameter adjustment multiple is less than or equal to the second parameter adjustment multiple; If the first parameter adjustment multiple is less than or equal to the second parameter adjustment multiple, the second parameter adjustment multiple is used as the target parameter adjustment multiple; If the first parameter adjustment multiple is greater than the second parameter adjustment multiple, the first parameter adjustment multiple is used as the target parameter adjustment multiple.

4. The key backlight correction method according to claim 1, wherein: The target lamp beads include target first lamp beads selected from the first lamp beads used for backlighting white keys, The adjusting the display brightness of the lamp bead corresponding to the target lamp bead includes: Obtaining a design margin corresponding to the target first lamp bead; According to the design margin and the lower limit of the white button brightness corresponding to the white button, the display brightness of the lamp bead corresponding to the target first lamp bead is adjusted by adjusting the first target control parameter corresponding to the target first lamp bead.

5. The key backlight correction method according to claim 1, wherein: The target lamp beads include target second lamp beads selected from the second lamp beads used for backlighting the color keys, The step of adjusting the display brightness of the lamp beads corresponding to the target lamp beads further includes: Obtaining a parameter difference between the target control parameter and the preset parameter threshold; According to the parameter difference, the display brightness corresponding to the target second lamp bead is adjusted by adjusting the second target control parameter corresponding to the target second lamp bead.

6. A key backlight calibration device, characterized in that: Applied to a key device, the key device includes at least one key and a key backlight lamp, and the key backlight correction device includes: An acquisition module, configured to acquire the key display brightness of each key; a determination module, configured to determine, based on a lamp limitation parameter corresponding to the key backlight lamp and each of the display brightnesses, a target control parameter corresponding to the key backlight lamp when each of the keys meets a preset brightness requirement, wherein the lamp limitation parameter is a critical value of a lamp limitation parameter corresponding to each lamp bead constituting the key backlight lamp; an adjustment module, configured to select at least one target lamp bead from the key backlight fixture if the target control parameter is greater than a preset parameter threshold, and perform backlight correction on each key by adjusting the display brightness of the lamp bead corresponding to the target lamp bead, wherein the preset parameter threshold is the sum of the critical values of the lamp bead limit parameters corresponding to all the lamp beads constituting the key backlight fixture; The key includes at least one white key, the key backlight lamp includes at least one first lamp bead for backlighting each of the white keys, the lamp limit parameter includes a first lamp bead limit parameter corresponding to the first lamp bead, the target control parameter includes a first control parameter corresponding to each of the first lamp beads, and the display brightness includes a white key display brightness corresponding to each of the white keys. The adjustment module is further used to: Determining the upper limit of the white key brightness and the lower limit of the white key brightness corresponding to each of the white keys according to the preset brightness requirement; According to the display brightness of each white button, determine the upper limit parameter and the lower limit parameter of the first lamp bead corresponding to each white button, wherein the upper limit parameter of the first lamp bead is the upper limit parameter corresponding to each white button at the upper limit of the white button brightness, and the lower limit parameter of the first lamp bead is the lower limit parameter corresponding to each white button at the lower limit of the white button brightness; If the first lamp bead limiting parameter is greater than the first lamp bead upper limit parameter, the preset control parameter corresponding to the preset white button display brightness is selected as the first control parameter; If the first lamp bead limiting parameter is less than or equal to the first lamp bead upper limit parameter, and the first lamp bead limiting parameter is greater than or equal to the first lamp bead lower limit parameter, the first lamp bead limiting parameter is selected as the first control parameter.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the key backlight correction method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for implementing the key backlight correction method, and the program for implementing the key backlight correction method is executed by a processor to implement the steps of the key backlight correction method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for adjusting brightness of display screen and relevant product

    CN108510955A