CN108491121B - Backlight brightness adjusting method and system of terminal screen - Google Patents

Backlight brightness adjusting method and system of terminal screen Download PDF

Info

Publication number
CN108491121B
CN108491121B CN201810120340.6A CN201810120340A CN108491121B CN 108491121 B CN108491121 B CN 108491121B CN 201810120340 A CN201810120340 A CN 201810120340A CN 108491121 B CN108491121 B CN 108491121B
Authority
CN
China
Prior art keywords
value
brightness
current
adjusting
sliding bar
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.)
Expired - Fee Related
Application number
CN201810120340.6A
Other languages
Chinese (zh)
Other versions
CN108491121A (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201810120340.6A priority Critical patent/CN108491121B/en
Publication of CN108491121A publication Critical patent/CN108491121A/en
Application granted granted Critical
Publication of CN108491121B publication Critical patent/CN108491121B/en
Expired - Fee Related 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention relates to a backlight brightness adjusting method of a terminal screen, which comprises the following steps: acquiring a current numerical value of the first sliding bar; generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar; determining a second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value according to the current numerical value of the first sliding bar and the current first brightness adjustment value; acquiring the current numerical value of the second sliding bar; generating a current brightness fine-tuning value according to the second mapping relation and the current numerical value of the second sliding bar; adding the current brightness fine adjustment value and the current first brightness adjustment value to obtain a current second brightness adjustment value; and adjusting the backlight brightness of the terminal screen according to the current second brightness adjusting value. The invention improves the backlight brightness adjusting effect and improves the adjusting efficiency, and meanwhile, the invention also provides a backlight brightness adjusting system of the terminal screen.

Description

Backlight brightness adjusting method and system of terminal screen
Technical Field
The invention relates to the technical field of electronics, in particular to a backlight brightness adjusting method and system for a terminal screen.
Background
Currently, when a user adjusts the backlight brightness of a terminal screen, the backlight is adjusted by sliding a first slider displayed on the screen. For example, in a mainstream 5.5-inch smart phone, the screen width is about 75mm, and the width of the sliding bar is about 55 mm. Assuming that the screen brightness is adjusted by the PWM duty ratio adjusting range of 0-100% at the bottom layer of the CPU, the sensitivity of manual adjustment is 1.8%/mm, namely the sliding bar slides for 1mm, and the brightness change is 1.8% of the maximum brightness.
The inventor finds that the prior art at least has the following technical problems in the process of implementing the invention:
since the minimum distance that the user slides on the sliding bar is limited, even if the user slides on the sliding bar for a relatively small distance, the backlight brightness fed back by the terminal still has a relatively large variation, and therefore, the user needs to repeatedly slide on the sliding bar in order to adjust to the proper backlight brightness, and thus, the adjustment efficiency of the prior art is low and takes a long time.
Disclosure of Invention
The invention provides a backlight brightness adjusting method and system for a terminal screen, which can improve the backlight brightness adjusting effect, improve the adjusting efficiency and improve the user experience.
The invention provides a backlight brightness adjusting method of a terminal screen, which comprises the following steps:
acquiring a current numerical value of the first sliding bar;
generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar;
determining a second mapping relation between the numerical value of a second sliding bar and the brightness fine adjustment value according to the current numerical value of the first sliding bar and the current first brightness adjustment value; in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the current first brightness adjustment value is greater than or equal to-1; the ratio of the maximum value of the brightness fine adjustment value to the current first brightness adjustment value is less than or equal to 1;
acquiring the current numerical value of the second sliding bar;
generating a current brightness fine-tuning value according to the second mapping relation and the current numerical value of the second sliding bar;
adding the current brightness fine adjustment value and the current first brightness adjustment value to obtain a current second brightness adjustment value;
and adjusting the backlight brightness of the terminal screen according to the current second brightness adjusting value.
In an alternative embodiment, in the second mapping relationship, the ratio of the minimum value of the brightness trimming value to the maximum value of the brightness trimming value is equal to-1; and the second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value is a linear function relation.
In an alternative embodiment, the second mapping relationship between the numerical value of the second slider and the brightness fine-tuning value is:
f(x)=kx+b;x∈[0,255];v1∈[0,255];g(v1)∈[0,1023];
wherein the content of the first and second substances,
Figure GDA0002356379800000021
b=(0.0035v1-1)×g(v1);
x is the value of the second slider; (x) is the brightness trim value; v. of1The current value of the first sliding bar is obtained; g (v)1) Is the current first brightness adjustment value.
In an alternative embodiment, the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value.
In an optional implementation, the adjusting the backlight brightness of the terminal screen according to the current second brightness adjustment value includes:
judging whether the current second brightness adjusting value is larger than a first preset value and smaller than a second preset value;
when the current second brightness adjusting value is judged to be smaller than or equal to the first preset value, adjusting the duty ratio of a PWM signal for driving the backlight of the terminal screen according to the first preset value;
when the current second brightness adjusting value is judged to be larger than the second preset value, adjusting the duty ratio according to the second preset value;
and when the current second brightness adjusting value is judged to be larger than the first preset value and smaller than the second preset value, adjusting the duty ratio according to the current second brightness adjusting value.
In another aspect of the present invention, a system for adjusting backlight brightness of a terminal screen is further provided, where the system includes:
the first acquisition module is used for acquiring the current numerical value of the first sliding bar;
the first generation module is used for generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar;
the determining module is used for determining a second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value according to the current numerical value of the first sliding bar and the current first brightness adjustment value; in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the current first brightness adjustment value is greater than or equal to-1; the ratio of the maximum value of the brightness fine adjustment value to the current first brightness adjustment value is less than or equal to 1;
the second acquisition module is used for acquiring the current numerical value of the second sliding bar;
a second generating module, configured to generate a current brightness fine-tuning value according to the second mapping relationship and the current numerical value of the second slider
The adding module is used for adding the current brightness fine adjustment value and the current first brightness adjustment value to obtain a current second brightness adjustment value;
and the first adjusting module is used for adjusting the backlight brightness of the terminal screen according to the current second brightness adjusting value.
In an alternative embodiment, in the second mapping relationship, the ratio of the minimum value of the brightness trimming value to the maximum value of the brightness trimming value is equal to-1; and the second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value is a linear function relation.
In an alternative embodiment, the second mapping relationship between the numerical value of the second slider and the brightness fine-tuning value is:
f(x)=kx+b;x∈[0,255];v1∈[0,255];g(v1)∈[0,1023];
wherein the content of the first and second substances,
Figure GDA0002356379800000041
b=(0.0035v1-1)×g(v1);
x is the value of the second slider; (x) is the brightness trim value; v. of1The current value of the first sliding bar is obtained; g (v)1) Is the current first brightness adjustment value.
In an alternative embodiment, the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value.
In an alternative embodiment, the first adjustment module comprises:
the first judging unit is used for judging whether the current second brightness adjusting value is larger than a first preset value and smaller than a second preset value;
a first determination unit for adjusting a duty ratio of a PWM signal for driving a backlight of the terminal screen according to the first preset value when it is determined that the current second brightness adjustment value is less than or equal to the first preset value;
a second determining unit, configured to adjust the duty ratio according to the second preset value when it is determined that the current second brightness adjustment value is greater than the second preset value;
and the third judging unit is used for regulating the duty ratio according to the current second brightness regulating value when the current second brightness regulating value is judged to be larger than the first preset value and smaller than the second preset value.
Compared with the prior art, the invention has the following outstanding beneficial effects: the invention provides a backlight brightness adjusting method and a backlight brightness adjusting system of a terminal screen, wherein the method realizes the mapping of numerical values of a first sliding bar and a second sliding bar to the adjustment of backlight brightness through a first mapping relation and a second mapping relation, a user obtains a current brightness fine adjustment value through the second sliding bar, and the current brightness fine adjustment value is added with the current first brightness adjustment value, so that fine adjustment is realized, and the adjustment efficiency of the backlight brightness is improved; ensuring that the current second brightness adjusting value is greater than or equal to 0 through the numerical relationship between the minimum value of the brightness fine adjusting value and the current first brightness adjusting value; through the numerical relation between the maximum value of the brightness fine adjustment value and the current first brightness adjustment value, the maximum value of the brightness fine adjustment value is limited when the numerical value of the current first brightness adjustment value is small, so that the sensitivity of the second sliding strip is lower than that of the first sliding strip under the low brightness condition, a user can adjust the brightness of the backlight to be proper more easily under the low brightness condition, and the adjustment effect is improved.
Drawings
Fig. 1 is a schematic flowchart of a backlight brightness adjusting method for a terminal screen according to a first embodiment of the present invention;
fig. 2 shows a functional relationship of y ═ int (0.0146(v +9) according to one embodiment of the present invention2+6) curve diagram;
fig. 3 is a block diagram of a backlight brightness adjusting system of a terminal screen according to a first embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, it is a schematic flow chart of a first embodiment of a backlight brightness adjusting method of a terminal screen according to the present invention; as shown in fig. 1, the method includes:
s101, acquiring a current numerical value of a first sliding bar;
s102, generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar;
s103, determining a second mapping relation between the numerical value of a second sliding bar and the brightness fine adjustment value according to the current numerical value of the first sliding bar and the current first brightness adjustment value; in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the current first brightness adjustment value is greater than or equal to-1; the ratio of the maximum value of the brightness fine adjustment value to the current first brightness adjustment value is less than or equal to 1;
s104, acquiring the current numerical value of the second sliding bar;
s105, generating a current brightness fine adjustment value according to the second mapping relation and the current numerical value of the second sliding bar;
s106, adding the current brightness fine adjustment value and the current first brightness adjustment value to obtain a current second brightness adjustment value;
and S107, adjusting the backlight brightness of the terminal screen according to the current second brightness adjusting value.
It should be noted that the terminal may be a mobile terminal or a fixed terminal; the mobile terminal comprises a mobile terminal with a display screen, such as a mobile phone, a tablet personal computer or wearable equipment; the fixed terminal comprises a desktop computer, a digital television, a refrigerator with a display screen and other fixed terminals with display screens.
The adjustment of mapping the numerical values of the first sliding bar and the second sliding bar to the backlight brightness is realized through the first mapping relation and the second mapping relation, a user obtains a current brightness fine adjustment value through the second sliding bar, and the current brightness fine adjustment value is added with the current first brightness adjustment value, so that fine adjustment is realized, and the adjustment efficiency of the backlight brightness is improved; ensuring that the current second brightness adjusting value is greater than or equal to 0 through the numerical relationship between the minimum value of the brightness fine adjusting value and the current first brightness adjusting value; through the numerical relation between the maximum value of the brightness fine adjustment value and the current first brightness adjustment value, the maximum value of the brightness fine adjustment value is limited when the numerical value of the current first brightness adjustment value is small, so that the sensitivity of the second sliding strip is lower than that of the first sliding strip under the low brightness condition, a user can adjust the brightness of the backlight to be proper more easily under the low brightness condition, and the adjustment effect is improved.
In an optional implementation, the obtaining a current value of the first slider includes:
and responding to the change of the position of the sliding block in the first sliding bar, and acquiring the current numerical value of the first sliding bar according to the current position of the sliding block in the first sliding bar.
The obtaining of the current value of the second slider is similar to this, and is not described herein again.
In an optional implementation manner, the generating a current first brightness adjustment value according to a preset first mapping relationship between the numerical value of the first slider and the first brightness adjustment value and a current numerical value of the first slider includes:
inquiring a numerical value comparison table corresponding to the first mapping relation according to the current numerical value of the first sliding bar to obtain the current first brightness adjusting value; wherein the numerical value comparison table stores the numerical value of the first slider and the first brightness adjustment value in correspondence.
For example, if a system composed of 100 small screens is to be controlled, the current first brightness adjustment value of each small screen can be obtained in the same query, and compared with a method of obtaining the current first brightness adjustment value of each small screen by performing calculation by substituting a functional relation for a plurality of times, obtaining a plurality of current first brightness adjustment values according to the current values of a plurality of first sliding bars in the same query through a value comparison table improves the processing efficiency, and ensures that the processor pressure is reduced while the consumed hardware resources are not too much.
In an optional implementation, the generating a current brightness fine-tuning value according to the second mapping relationship and the current value of the second slider includes:
inquiring a numerical value comparison table corresponding to the second mapping relation according to the current numerical value of the second first sliding bar to obtain the current brightness fine adjustment value; wherein the numerical value comparison table stores the numerical value of the second slider and the brightness trimming value in correspondence.
In an optional embodiment, the method further comprises:
in response to an acquisition instruction of the numerical value comparison table, performing rounding operation on an original functional relation corresponding to the first mapping relation to obtain a functional relation corresponding to the preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjustment value;
and generating the numerical value comparison table according to the functional relation corresponding to the first mapping relation.
For example, the original functional relation corresponding to the preset mapping relation between the value v of the first slider and the first brightness adjustment value y is as follows: y ═ g (v) ═ av2+ bv + c, wherein a is not equal to 0; the function relation corresponding to the preset mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value is as follows: y ═ h (g (v)) ═ h (av)2+ bv + c), wherein a ≠ 0; h (g (v)) represents an operation of rounding up or rounding down g (v), for example, y (int) (g (v)) or int (av)2+ bv + c) denotes the rounding down of g (v) so that y is equal to the largest integer not exceeding g (v).
Namely, the calculation efficiency is improved by carrying out the rounding operation, and the response speed of adjusting the backlight brightness is further improved.
In an optional implementation manner, the generating a current first brightness adjustment value according to a preset first mapping relationship between the numerical value of the first slider and the first brightness adjustment value and a current numerical value of the first slider includes:
and substituting the current numerical value of the first sliding bar into a functional relation corresponding to the first mapping relation for calculation so as to obtain the current first brightness adjusting value.
The current value of the first sliding bar is substituted into the functional relation formula to be calculated to generate the current first brightness adjusting value, so that the storage space is reduced, and the hardware resource is saved.
In an optional embodiment, the method further comprises:
and in response to the obtaining instruction of the functional relation of the first mapping relation, performing rounding operation on the original functional relation corresponding to the first mapping relation to obtain the functional relation corresponding to the first mapping relation.
For example, the original functional relation corresponding to the preset mapping relation between the value v of the first slider and the first brightness adjustment value y is as follows: y ═ g (v) ═ av2+ bv + c, wherein a is not equal to 0; the function relation corresponding to the preset mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value is as follows: y ═ h (g (v)) ═ h (av)2+ bv + c), wherein a ≠ 0; h (g (v)) represents an operation of rounding up or rounding down g (v), for example, y (int) (g (v)) or int (av)2+ bv + c) denotes the rounding down of g (v) so that y is equal to the largest integer not exceeding g (v).
In an optional implementation, the generating a current brightness fine-tuning value according to the second mapping relationship and the current value of the second slider includes:
and substituting the current numerical value of the second sliding bar into a functional relation corresponding to the second mapping relation for calculation so as to obtain the current brightness fine adjustment value.
In an alternative embodiment, the first slide bar has a value ranging from 0 to 255; the first brightness adjustment value ranges from 0 to 1023.
In an alternative embodiment, the first mapping relationship between v of the first slider and the first brightness adjustment value y is:
Figure GDA0002356379800000081
in an optional embodiment, the method further comprises: in response to the obtaining instruction of the functional relation of the first mapping relation, carrying out rounding operation on the original functional relation corresponding to the first mapping relation to obtain an original functional relationTo a functional relation corresponding to the first mapping relation. For example, the original function relation corresponding to the preset mapping relation between the numerical value of the first sliding bar and the first brightness adjustment value
Figure GDA0002356379800000091
And performing rounding-down operation, wherein the function relation corresponding to the preset mapping relation between the numerical value of the first sliding bar and the brightness adjusting value is as follows:
Figure GDA0002356379800000092
that is, the first mapping relationship can avoid the occurrence of dead zone, for example, if the minimum value d of the value x of the first slider is required1Equal to 1, minimum value s of said brightness adjustment value y1When the value is equal to 7, the functional relation corresponding to the first mapping relation is as follows:
Figure GDA0002356379800000093
fig. 2 shows that the functional relationship corresponding to the first mapping relationship is y ═ (int) (0.0146(v +9)2+6) curve diagram. By y ═ (int) (0.0146(v +9)2+6) passing coordinates (1,7), (2,7), (3,8), (4,8), (5,9), (6,10) and (7,10) show that when the current numerical value of the first sliding bar is within the numerical value range of 1-7, the corresponding first brightness adjustment value changes, that is, a long dead zone is avoided when the first brightness adjustment value is adjusted by using the first sliding bar, and user experience is improved.
In an optional implementation, the adjusting the backlight brightness of the terminal screen according to the current second brightness adjustment value includes:
rounding the current second brightness adjusting value downwards to obtain a rounded current second brightness adjusting value;
and adjusting the backlight brightness of the terminal screen according to the rounded current second brightness adjustment value.
In an optional implementation, the adjusting the backlight brightness of the terminal screen according to the current second brightness adjustment value includes:
and adjusting the duty ratio of a PWM signal for driving the backlight of the terminal screen according to the current second brightness adjustment value.
The duty ratio of the PWM signal is changed by adjusting the current second brightness adjusting value, so that the backlight brightness of the terminal screen is adjusted, parameters applied by an upper layer are conveniently and quickly transmitted to a bottom layer, and the efficiency of backlight brightness adjustment is improved.
In an alternative embodiment, the adjusting the duty ratio of the PWM signal for driving the backlight of the terminal screen according to the current second brightness adjustment value includes:
calculating the difference between the current second brightness adjusting value and the minimum value of the first brightness adjusting value to obtain the numerical length of the current brightness adjusting value;
acquiring the total numerical length of the first brightness adjusting value according to the maximum value of the first brightness adjusting value and the minimum value of the first brightness adjusting value;
and calculating the ratio of the numerical length to the numerical total length as the duty ratio of the PWM signal.
In an alternative embodiment, the adjusting the duty ratio of the PWM signal for driving the backlight of the terminal screen according to the current second brightness adjustment value includes:
and modifying a PWM register by using the current second brightness adjusting value to modify the duty ratio of the PWM signal.
The current second brightness adjusting value is directly written into the register, so that the PWM signal for driving the backlight of the terminal screen is changed, the backlight brightness is adjusted, the parameters applied by the upper layer are transmitted to the bottom layer more quickly, and the efficiency of adjusting the backlight brightness is further improved.
The invention also provides a second embodiment of the backlight brightness adjusting method of the terminal screen, which comprises the steps of S101 to S107 in the first embodiment of the backlight brightness adjusting method of the terminal screen, and further defines: in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the maximum value of the brightness fine adjustment value is equal to-1; and the second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value is a linear function relation.
The continuity of the adjusting effect is guaranteed through the linear function relation, and the ratio of the minimum value of the brightness fine adjustment value to the maximum value of the brightness fine adjustment value is equal to-1, the numerical values of the brightness fine adjustment value are symmetrically distributed by taking the middle point of the second sliding strip as a zero point, so that the current first brightness adjustment value can be adjusted up and down conveniently through the second sliding strip, particularly when the current first brightness adjustment value is low, the target brightness can be adjusted more quickly through the up and down adjustment of the second sliding strip, the adjusting efficiency is further improved, and the user experience is improved.
The present invention further provides a third embodiment of a backlight brightness adjusting method for a terminal screen, where the method includes steps S101 to S107 in the second embodiment of the backlight brightness adjusting method for a terminal screen, and further defines: the second mapping relation between the numerical value of the second slider and the brightness fine adjustment value is as follows:
f(x)=kx+b;x∈[0,255];v1∈[0,255];g(v1)∈[0,1023];
wherein the content of the first and second substances,
Figure GDA0002356379800000111
b=(0.0035v1-1)×g(v1);
x is the value of the second slider; (x) is the brightness trim value; v. of1The current value of the first sliding bar is obtained; g (v)1) Is the current first brightness adjustment value.
To illustrate the technical effect, assume the current value v of the first slider1Is 2, the current first brightness adjustment value g (v)1) 17, k is 0.1329, b is-16.881, and the brightness trim value satisfies f (x) 0.1329x-16.881, defined by x e [0,255]It can be seen that f (x) e [ -16.881,17.0085]Second brightness adjustmentThe minimum value of the values is 17-16.881 ≈ 0 and the maximum value is 17+17.0085 ≈ 34, i.e., the ratio of the minimum value of the brightness trimming value to the current first brightness adjustment value is close to-1 and the ratio of the maximum value of the brightness trimming value to the current first brightness adjustment value is close to 1. Similarly, assume the current value v of the first slider1180, the current first brightness adjustment value g (v)1) To 725, the luminance trim value satisfies f (x) 2.1122x-268.25 defined by x e [0,255 ∈]It can be seen that f (x) e [ -268.25,270.36]The minimum value of the second brightness adjustment value is 456 and the maximum value is 994, that is, the ratio of the minimum value of the brightness adjustment value to the current first brightness adjustment value is close to-0.37, and the ratio of the maximum value of the brightness adjustment value to the current first brightness adjustment value is close to 0.37, so that the higher the current first brightness adjustment value is, the smaller the absolute value of the ratio of the minimum value (or the maximum value) of the brightness adjustment value to the current first brightness adjustment value is.
For a method in which the absolute value of the ratio of the minimum value (or the maximum value) of the brightness fine adjustment value to the current first brightness adjustment value is kept constant when the current first brightness adjustment value changes, for example, for a method in which the ratio is constant to a lower value, by using the present embodiment, when the current first brightness adjustment value is lower (hereinafter referred to as a "low brightness condition"), the ratio is larger, that is, it is avoided that the adjustment sensitivity of the second sliding bar is too low due to too small adjustable range of the brightness fine adjustment value under the low brightness condition, and it is avoided that a longer dead zone occurs in the brightness fine adjustment value when the number of the second sliding bar changes, thereby improving the fine adjustment effect of the user under the low brightness condition; for the way that the ratio is invariable to be higher value, adopt this embodiment for when present first luminance regulating value is higher (hereinafter "high brightness condition"), the ratio is less, because of avoiding the adjustable range of luminance fine-tuning value under the high brightness condition too big and lead to the adjusting sensitivity of second slide bar too high promptly, prevent that present second luminance regulating value from taking place great sudden change, thereby guarantee the continuity of luminance regulation in a poor light, improve user experience.
On the basis of ensuring that the adjustment sensitivity of the second sliding strip is reduced as a whole relative to the adjustment sensitivity of the first sliding strip, the method provided by the embodiment avoids that the adjustment sensitivity of the second sliding strip is too high under the high brightness condition because the adjustment sensitivity of the second sliding strip is not too low under the low brightness condition, and also avoids that the adjustment sensitivity of the second sliding strip is too low under the low brightness condition because the adjustment sensitivity of the second sliding strip is not too high under the high brightness condition.
The invention provides a fourth embodiment of a backlight brightness adjusting method of a terminal screen, the method includes steps S101 to S107 in any of the above embodiments of the backlight brightness adjusting method of the terminal screen, and further defines: the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value
For linear adjustment promptly, through the first mapping relation that this embodiment provided, accord with people's eye gamma curve, realize the non-linear adjustment to first brightness adjustment value, make the regulation of the first brightness adjustment value in the weak backlight within range more meticulous, the user of being convenient for carries out meticulous regulation to weak backlight, the regulation of the first brightness adjustment value in the strong backlight within range is then more sensitive, first brightness adjustment value change is too dull when avoiding sliding first slide bar in the strong backlight within range, be favorable to improving the user experience of adjusting in a poor light.
The present invention further provides a fifth embodiment of a method for adjusting backlight brightness of a terminal screen, where the method includes steps S101 to S107 of any one of the first to third embodiments of the method for adjusting backlight brightness of a terminal screen, and further defines: the adjusting the backlight brightness of the terminal screen according to the current second brightness adjustment value comprises:
judging whether the current second brightness adjusting value is larger than a first preset value and smaller than a second preset value;
when the current second brightness adjusting value is judged to be smaller than or equal to the first preset value, adjusting the duty ratio of a PWM signal for driving the backlight of the terminal screen according to the first preset value;
when the current second brightness adjusting value is judged to be larger than the second preset value, adjusting the duty ratio according to the second preset value;
and when the current second brightness adjusting value is judged to be larger than the first preset value and smaller than the second preset value, adjusting the duty ratio according to the current second brightness adjusting value.
The minimum brightness of the screen is kept conveniently in the backlight brightness adjusting process through the setting of the first preset value, the screen is prevented from being blacked, and the user experience is improved; through the setting of the second preset value, the maximum brightness of the screen is limited, and the user experience is improved.
In an alternative embodiment, the first preset value is 10; the second preset value is 1023.
In an optional embodiment, when it is determined that the current second brightness adjustment value is less than or equal to the first preset value, adjusting a duty ratio of a PWM signal for driving a backlight of the terminal screen according to the first preset value includes:
and when the current second brightness adjusting value is judged to be less than or equal to the first preset value, modifying a PWM register by using the first preset value so as to modify the duty ratio of the PWM signal.
In an optional embodiment, when it is determined that the current second brightness adjustment value is greater than the second preset value, adjusting the duty ratio according to the second preset value includes:
and when the current second brightness adjusting value is judged to be larger than the second preset value, modifying a PWM register by using the second preset value so as to modify the duty ratio of the PWM signal.
In an optional embodiment, when it is determined that the current second brightness adjustment value is greater than the first preset value and less than the second preset value, adjusting the duty ratio according to the current second brightness adjustment value includes:
when the current second brightness adjusting value is judged to be larger than the first preset value and smaller than the second preset value, calculating the difference between the current second brightness adjusting value and the minimum value of the first brightness adjusting value to obtain the numerical length of the current second brightness adjusting value;
acquiring the total numerical length of the first brightness adjusting value according to the maximum value of the first brightness adjusting value and the minimum value of the first brightness adjusting value;
and calculating the ratio of the numerical length to the numerical total length as the duty ratio of the PWM signal.
The invention also provides a sixth embodiment of a backlight brightness adjusting method of a terminal screen, which comprises the following steps:
responding to a starting instruction of a coarse adjustment mode, and switching from a current working mode to the coarse adjustment mode;
under the rough adjustment mode, acquiring the current numerical value of the first sliding bar;
generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar;
adjusting the backlight brightness of the terminal screen according to the current first brightness adjusting value;
switching from the coarse tuning mode to the fine tuning mode in response to an on instruction of the fine tuning mode;
in the fine adjustment mode, steps S101 to S107 of any one of the first to third embodiments of the backlight luminance adjusting method are performed.
It should be noted that the current operation mode refers to one of the fine adjustment mode and the coarse adjustment mode, and is only used for expressing the mode in which the controller is currently operating, and is not different from the other operation modes of the two operation modes, which will be understood by those skilled in the art. For example, if the controller is currently operating in the fine tuning mode, the current operating mode is the fine tuning mode; and when the system is switched to the coarse tuning mode, the current working mode is the coarse tuning mode.
Namely, by setting the rough adjusting mode and the fine adjusting mode, the backlight adjusting mode is convenient to adjust according to the actual requirement of a user, and the flexibility of backlight brightness adjustment is improved.
In an optional implementation, the obtaining a current value of the second slider includes:
responding to the change of the position of the sliding block in the second sliding bar, and acquiring the current numerical value of the second sliding bar according to the current position of the sliding block in the second sliding bar; wherein the initial position of the slider at the second slider is the midpoint of the second slider.
Namely, the initial position of the slider in the second sliding bar is set as the midpoint of the second sliding bar, so that the feeling of sudden brightness change is prevented from being brought to a user when the second sliding bar is used for fine adjustment, and the user experience is improved.
In an alternative embodiment, the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value.
For linear adjustment promptly, accord with people's eye gamma curve through the first mapping relation that this embodiment provided, realize the non-linear regulation to first brightness adjustment value for the regulation of being shaded in the weak backlight within range is more meticulous, and the user of being convenient for carries out meticulous regulation to weak backlight, and the regulation of being shaded in the strong backlight within range is then more sensitive, and the luminance change under the regulation of avoiding strong backlight is too dull.
It should be noted that the flowchart shown in fig. 1 is only for illustrating the flow steps of an embodiment of the present invention, but the flow steps of the present invention are not limited to be executed in the exact order of S101 to S107. In an alternative embodiment, S103 and S104 may be executed in parallel.
Referring to fig. 3, which is a schematic block diagram of a backlight brightness adjusting system of a terminal screen according to a first embodiment of the present invention, as shown in fig. 3, the system includes:
a first obtaining module 201, configured to obtain a current numerical value of the first slider;
a first generating module 202, configured to generate a current first brightness adjustment value according to a preset first mapping relationship between a numerical value of the first sliding bar and a first brightness adjustment value, and a current numerical value of the first sliding bar;
a determining module 203, configured to determine a second mapping relationship between a numerical value of a second slider and a brightness fine-tuning value according to the current numerical value of the first slider and the current first brightness adjusting value; in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the current first brightness adjustment value is greater than or equal to-1; the ratio of the maximum value of the brightness fine adjustment value to the current first brightness adjustment value is less than or equal to 1;
a second obtaining module 204, configured to obtain a current numerical value of the second slider;
a second generating module 205, configured to generate a current brightness fine-tuning value according to the second mapping relationship and the current numerical value of the second slider
An adding module 206, configured to add the current brightness fine-tuning value and the current first brightness adjusting value to obtain a current second brightness adjusting value;
and the first adjusting module 207 is configured to adjust the backlight brightness of the terminal screen according to the current second brightness adjusting value.
In an optional implementation, the first obtaining module includes:
and the first acquisition unit is used for responding to the change of the position of the sliding block in the first sliding bar and acquiring the current numerical value of the first sliding bar according to the current position of the sliding block in the first sliding bar.
The second obtaining module obtains the current value of the second slider similarly, and details are not repeated here.
In an alternative embodiment, the first generating module comprises:
a first query unit, configured to query, according to a current value of the first slider, a value comparison table corresponding to the first mapping relationship, so as to obtain the current first brightness adjustment value; wherein the numerical value comparison table stores the numerical value of the first slider and the first brightness adjustment value in correspondence.
In an optional implementation, the second generating module includes:
a second query unit, configured to query, according to the current value of the second first slider, a value comparison table corresponding to the second mapping relationship, so as to obtain the current brightness fine-tuning value; wherein the numerical value comparison table stores the numerical value of the second slider and the brightness trimming value in correspondence.
In an alternative embodiment, the system further comprises:
a first rounding unit, configured to perform rounding operation on an original function relation corresponding to the first mapping relation in response to an acquisition instruction of the value comparison table, so as to obtain a function relation corresponding to a first mapping relation between the preset value of the first slider and the first brightness adjustment value;
and the first generating unit is used for generating the numerical comparison table according to the functional relation corresponding to the first mapping relation.
In an alternative embodiment, the first generating module comprises:
and the first calculation unit is used for substituting the current numerical value of the first sliding bar into a functional relation corresponding to the first mapping relation to calculate so as to obtain the current first brightness adjusting value.
In an alternative embodiment, the system further comprises:
and the second rounding unit is used for responding to an acquisition instruction of the functional relation of the first mapping relation, and rounding the original functional relation corresponding to the first mapping relation to obtain the functional relation corresponding to the first mapping relation.
In an optional implementation, the second generating module includes:
and the second calculation unit is used for substituting the current numerical value of the second sliding bar into the functional relation corresponding to the second mapping relation for calculation so as to obtain the current brightness fine adjustment value.
In an alternative embodiment, the first slide bar has a value ranging from 0 to 255; the first brightness adjustment value ranges from 0 to 1023.
In an alternative embodiment, the first mapping relationship between v of the first slider and the first brightness adjustment value y is:
Figure GDA0002356379800000171
x∈[d1,255];y∈[s1,1023]。
in an alternative embodiment, the system further comprises: and the third rounding unit is used for responding to an acquisition instruction of the functional relation of the first mapping relation, and rounding the original functional relation corresponding to the first mapping relation to obtain the functional relation corresponding to the first mapping relation. For example, the original function relation corresponding to the preset mapping relation between the numerical value of the first sliding bar and the first brightness adjustment value
Figure GDA0002356379800000172
And performing rounding-down operation, wherein the function relation corresponding to the preset mapping relation between the numerical value of the first sliding bar and the brightness adjusting value is as follows:
Figure GDA0002356379800000173
in an alternative embodiment, the first adjustment module comprises:
a fourth rounding unit, configured to round the current second brightness adjustment value downwards to obtain a rounded current second brightness adjustment value;
and the first adjusting unit is used for adjusting the backlight brightness of the terminal screen according to the rounded current second brightness adjusting value.
In an alternative embodiment, the first adjustment module comprises:
and the second adjusting unit is used for adjusting the duty ratio of a PWM signal for driving the backlight of the terminal screen according to the current second brightness adjusting value.
In an alternative embodiment, the second adjusting unit comprises:
the third calculating unit is used for calculating the difference between the current second brightness adjusting value and the minimum value of the first brightness adjusting value so as to obtain the numerical length of the current brightness adjusting value;
the second acquisition unit is used for acquiring the total numerical length of the first brightness adjusting value according to the maximum value of the first brightness adjusting value and the minimum value of the first brightness adjusting value;
and the fourth calculating unit is used for calculating the ratio of the numerical length to the numerical total length as the duty ratio of the PWM signal.
In an alternative embodiment, the second adjusting unit comprises:
a first modifying unit for modifying the PWM register using the current second brightness adjustment value to modify the duty ratio of the PWM signal.
The present invention further provides a second embodiment of a backlight brightness adjusting system of a terminal screen, which includes the first obtaining module 201, the first generating module 202, the determining module 203, the second obtaining module 204, the second generating module 205, the adding module 206, and the first adjusting module 207 of the first embodiment of the backlight brightness adjusting system of the terminal screen, and further defines: in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the maximum value of the brightness fine adjustment value is equal to-1; and the second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value is a linear function relation.
The present invention further provides a third embodiment of a backlight brightness adjusting system of a terminal screen, which includes the first obtaining module 201, the first generating module 202, the determining module 203, the second obtaining module 204, the second generating module 205, the adding module 206 and the first adjusting module 207 of the second embodiment of the backlight brightness adjusting system of the terminal screen, and further defines:
the second mapping relation between the numerical value of the second slider and the brightness fine adjustment value is as follows:
f(x)=kx+b;x∈[0,255];
wherein the content of the first and second substances,
Figure GDA0002356379800000191
b=(0.0035v1-1)×g(v1);
x is the value of the second slider; (x) is the brightness trim value; v. of1The current value of the first sliding bar is obtained; g (v)1) Is the current first brightness adjustment value.
The present invention further provides a fourth embodiment of the backlight brightness adjusting system of the terminal screen, which includes the first obtaining module 201, the first generating module 202, the determining module 203, the second obtaining module 204, the second generating module 205, the adding module 206 and the first adjusting module 207 of any of the above embodiments of the backlight brightness adjusting system of the terminal screen, and further defines:
the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);
wherein v is the value of the first slider; v has a value in the range of [0,255 ]; g (v) is a first brightness adjustment value.
The present invention further provides a fifth embodiment of a backlight brightness adjusting system of a terminal screen, which includes the first obtaining module 201, the first generating module 202, the determining module 203, the second obtaining module 204, the second generating module 205, the adding module 206, and the first adjusting module 207 of any one of the first to third embodiments of the backlight brightness adjusting system of the terminal screen, and further defines: the first conditioning module includes:
the first judging unit is used for judging whether the current second brightness adjusting value is larger than a first preset value and smaller than a second preset value;
a first determination unit for adjusting a duty ratio of a PWM signal for driving a backlight of the terminal screen according to the first preset value when it is determined that the current second brightness adjustment value is less than or equal to the first preset value;
a second determining unit, configured to adjust the duty ratio according to the second preset value when it is determined that the current second brightness adjustment value is greater than the second preset value;
and the third judging unit is used for regulating the duty ratio according to the current second brightness regulating value when the current second brightness regulating value is judged to be larger than the first preset value and smaller than the second preset value.
In an alternative embodiment, the first preset value is 10; the second preset value is 1023.
In an alternative embodiment, the first determination unit includes:
and the second modifying unit is used for modifying the PWM register by using the first preset value to modify the duty ratio of the PWM signal when the current second brightness adjusting value is judged to be less than or equal to the first preset value.
In an alternative embodiment, the second determination unit includes:
and the third modifying unit is used for modifying the PWM register by using the second preset value so as to modify the duty ratio of the PWM signal when the current second brightness adjusting value is judged to be larger than the second preset value.
In an alternative embodiment, the third determination unit includes:
a fifth calculating unit, configured to calculate a difference between the current second brightness adjustment value and the minimum value of the first brightness adjustment value when it is determined that the current second brightness adjustment value is greater than the first preset value and smaller than the second preset value, so as to obtain a numerical length of the current second brightness adjustment value;
a third obtaining unit, configured to obtain a total length of the first brightness adjustment value according to a maximum value of the first brightness adjustment value and a minimum value of the first brightness adjustment value;
and the sixth calculating unit is used for calculating the ratio of the numerical length to the numerical total length as the duty ratio of the PWM signal.
The present invention also provides a sixth embodiment of a backlight brightness adjusting system of a terminal screen, the system comprising:
the first switching module is used for responding to a starting instruction of the coarse tuning mode and switching from the current working mode to the coarse tuning mode;
a third obtaining module, configured to obtain a current numerical value of the first slider in the coarse adjustment mode;
a third generating module, configured to generate a current first brightness adjustment value according to a preset first mapping relationship between the numerical value of the first slider and the first brightness adjustment value, and a current numerical value of the first slider;
the second adjusting module is used for adjusting the backlight brightness of the terminal screen according to the current first brightness adjusting value;
the second switching module is used for responding to the starting instruction of the fine tuning mode and switching from the coarse tuning mode to the fine tuning mode;
an executing module, configured to execute, in the fine-tuning mode, steps S101 to S107 of any one of the first embodiment to the third embodiment of the backlight brightness adjusting method.
In an optional implementation, the second obtaining module includes:
the fourth acquiring unit is used for responding to the change of the position of the sliding block in the second sliding bar and acquiring the current numerical value of the second sliding bar according to the current position of the sliding block in the second sliding bar; wherein the initial position of the slider at the second slider is the midpoint of the second slider.
In an alternative embodiment, the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (6)

1. A backlight brightness adjusting method of a terminal screen is characterized by comprising the following steps:
acquiring a current numerical value of the first sliding bar;
generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar;
determining a second mapping relation between the numerical value of a second sliding bar and the brightness fine adjustment value according to the current numerical value of the first sliding bar and the current first brightness adjustment value; in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the current first brightness adjustment value is greater than or equal to-1; the ratio of the maximum value of the brightness fine adjustment value to the current first brightness adjustment value is less than or equal to 1;
acquiring the current numerical value of the second sliding bar;
generating a current brightness fine-tuning value according to the second mapping relation and the current numerical value of the second sliding bar;
adding the current brightness fine adjustment value and the current first brightness adjustment value to obtain a current second brightness adjustment value;
adjusting the backlight brightness of the terminal screen according to the current second brightness adjusting value;
in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the maximum value of the brightness fine adjustment value is equal to-1; the second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value is a linear function relation;
the second mapping relation between the numerical value of the second slider and the brightness fine adjustment value is as follows:
f(x)=kx+b;x∈[0,255];v1∈[0,255];g(v1)∈[0,1023];
wherein the content of the first and second substances,
Figure FDA0002356379790000011
b=(0.0035v1-1)×g(v1);
x is the value of the second slider; (x) is the brightness trim value; v. of1The current value of the first sliding bar is obtained; g (v)1) Is the current first brightness adjustment value.
2. The backlight brightness adjustment method of a terminal screen according to claim 1, wherein the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value.
3. The backlight brightness adjusting method of the terminal screen according to claim 1, wherein the adjusting the backlight brightness of the terminal screen according to the current second brightness adjustment value comprises:
judging whether the current second brightness adjusting value is larger than a first preset value and smaller than a second preset value;
when the current second brightness adjusting value is judged to be smaller than or equal to the first preset value, adjusting the duty ratio of a PWM signal for driving the backlight of the terminal screen according to the first preset value;
when the current second brightness adjusting value is judged to be larger than the second preset value, adjusting the duty ratio according to the second preset value;
and when the current second brightness adjusting value is judged to be larger than the first preset value and smaller than the second preset value, adjusting the duty ratio according to the current second brightness adjusting value.
4. A backlight brightness adjustment system for a terminal screen, the system comprising:
the first acquisition module is used for acquiring the current numerical value of the first sliding bar;
the first generation module is used for generating a current first brightness adjusting value according to a preset first mapping relation between the numerical value of the first sliding bar and the first brightness adjusting value and the current numerical value of the first sliding bar;
the determining module is used for determining a second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value according to the current numerical value of the first sliding bar and the current first brightness adjustment value; in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the current first brightness adjustment value is greater than or equal to-1; the ratio of the maximum value of the brightness fine adjustment value to the current first brightness adjustment value is less than or equal to 1;
the second acquisition module is used for acquiring the current numerical value of the second sliding bar;
a second generating module, configured to generate a current brightness fine-tuning value according to the second mapping relationship and the current numerical value of the second slider
The adding module is used for adding the current brightness fine adjustment value and the current first brightness adjustment value to obtain a current second brightness adjustment value;
the first adjusting module is used for adjusting the backlight brightness of the terminal screen according to the current second brightness adjusting value;
in the second mapping relation, the ratio of the minimum value of the brightness fine adjustment value to the maximum value of the brightness fine adjustment value is equal to-1; the second mapping relation between the numerical value of the second sliding bar and the brightness fine adjustment value is a linear function relation;
the second mapping relation between the numerical value of the second slider and the brightness fine adjustment value is as follows:
f(x)=kx+b;x∈[0,255];v1∈[0,255];g(v1)∈[0,1023];
wherein the content of the first and second substances,
Figure FDA0002356379790000031
b=(0.0035v1-1)×g(v1);
x is the value of the second slider; (x) is the brightness trim value; v. of1The current value of the first sliding bar is obtained; g (v)1) Is the current first brightness adjustment value.
5. The backlight brightness adjustment system of the terminal screen according to claim 4, wherein the first mapping relationship between the value of the first slider and the first brightness adjustment value is:
g(v)=int(e0.02714v-1);v∈[0,255]
wherein v is the value of the first slider; g (v) is a first brightness adjustment value.
6. The backlight brightness adjusting system of a terminal screen according to claim 4, wherein the first adjusting module comprises:
the first judging unit is used for judging whether the current second brightness adjusting value is larger than a first preset value and smaller than a second preset value;
a first determination unit for adjusting a duty ratio of a PWM signal for driving a backlight of the terminal screen according to the first preset value when it is determined that the current second brightness adjustment value is less than or equal to the first preset value;
a second determining unit, configured to adjust the duty ratio according to the second preset value when it is determined that the current second brightness adjustment value is greater than the second preset value;
and the third judging unit is used for regulating the duty ratio according to the current second brightness regulating value when the current second brightness regulating value is judged to be larger than the first preset value and smaller than the second preset value.
CN201810120340.6A 2018-02-02 2018-02-02 Backlight brightness adjusting method and system of terminal screen Expired - Fee Related CN108491121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810120340.6A CN108491121B (en) 2018-02-02 2018-02-02 Backlight brightness adjusting method and system of terminal screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810120340.6A CN108491121B (en) 2018-02-02 2018-02-02 Backlight brightness adjusting method and system of terminal screen

Publications (2)

Publication Number Publication Date
CN108491121A CN108491121A (en) 2018-09-04
CN108491121B true CN108491121B (en) 2020-05-15

Family

ID=63344627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810120340.6A Expired - Fee Related CN108491121B (en) 2018-02-02 2018-02-02 Backlight brightness adjusting method and system of terminal screen

Country Status (1)

Country Link
CN (1) CN108491121B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113990260B (en) * 2019-06-25 2022-12-02 荣耀终端有限公司 Mobile terminal, driving method thereof and driving chip
CN112433658B (en) * 2019-08-26 2023-07-04 北京小米移动软件有限公司 Brightness adjustment method, device, apparatus and storage medium
CN115883810A (en) * 2020-04-30 2023-03-31 华为技术有限公司 Method and device for acquiring mapping curve parameters

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009295147A (en) * 2008-05-07 2009-12-17 Hoya Corp Information processing apparatus capable of conducting scroll-display
CN102257463A (en) * 2008-12-18 2011-11-23 日本电气株式会社 Slide bar display control apparatus and slide bar display control method
CN103809843A (en) * 2012-11-08 2014-05-21 腾讯科技(深圳)有限公司 Method and device for adjusting brightness of display screen in browser
CN104182143A (en) * 2014-08-22 2014-12-03 惠州Tcl移动通信有限公司 Backlight brightness adjustment method and system for mobile terminals
CN105869606A (en) * 2015-12-14 2016-08-17 乐视移动智能信息技术(北京)有限公司 Screen brightness regulating method and device
CN106997744A (en) * 2017-03-15 2017-08-01 广东欧珀移动通信有限公司 The control method and control device of screen intensity

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009295147A (en) * 2008-05-07 2009-12-17 Hoya Corp Information processing apparatus capable of conducting scroll-display
CN102257463A (en) * 2008-12-18 2011-11-23 日本电气株式会社 Slide bar display control apparatus and slide bar display control method
CN103809843A (en) * 2012-11-08 2014-05-21 腾讯科技(深圳)有限公司 Method and device for adjusting brightness of display screen in browser
CN104182143A (en) * 2014-08-22 2014-12-03 惠州Tcl移动通信有限公司 Backlight brightness adjustment method and system for mobile terminals
CN105869606A (en) * 2015-12-14 2016-08-17 乐视移动智能信息技术(北京)有限公司 Screen brightness regulating method and device
CN106997744A (en) * 2017-03-15 2017-08-01 广东欧珀移动通信有限公司 The control method and control device of screen intensity

Also Published As

Publication number Publication date
CN108491121A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108491121B (en) Backlight brightness adjusting method and system of terminal screen
KR100573323B1 (en) Liquid crystal display
CN107170424B (en) Display control method, display method and electronic equipment
CN109064979B (en) Image display processing method and device, display device and storage medium
CN106997744B (en) Screen brightness control method and control device
CN112201209B (en) Backlight brightness adjusting method and device of display screen, storage medium and terminal
CN101383139B (en) Luminance control method for display screen
WO2020038124A1 (en) Image contrast enhancement method and apparatus, and device and storage medium
US20120075353A1 (en) System and Method for Providing Control Data for Dynamically Adjusting Lighting and Adjusting Video Pixel Data for a Display to Substantially Maintain Image Display Quality While Reducing Power Consumption
CN105719611A (en) Display uniformity adjusting method and device for liquid crystal display equipment
TWI483235B (en) Methods and apparatus of adjusting image intensity
JP5338019B2 (en) Image display device
CN105118474A (en) LCD brightness control method and device as well as LCD equipment
CN105185353A (en) Liquid crystal display brightness control method and device, and liquid crystal display equipment
CN105869579B (en) Backlight brightness regulation method, device and display terminal
CN107644607B (en) Color temperature adjusting method of display panel and display device
JP2007298693A (en) Video display device and semiconductor circuit
WO2018218938A1 (en) Method for adjusting transparency of live broadcast interface, storage medium, electronic device, and system
US10163408B1 (en) LCD image compensation for LED backlighting
CN105336297A (en) Backlight control method and apparatus, and liquid crystal display apparatus
CN105427815A (en) Method and apparatus for adjusting backlight brightness
CN105979192A (en) Video display method and device
CN109410813B (en) Adjusting method and device of touch whiteboard
CN108447455A (en) The back light brightness regulating method and system of terminal screen
CN113727083B (en) Projector brightness adjusting method, projector brightness adjusting device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200515