CN106997744B - Screen brightness control method and control device - Google Patents

Screen brightness control method and control device Download PDF

Info

Publication number
CN106997744B
CN106997744B CN201710154885.4A CN201710154885A CN106997744B CN 106997744 B CN106997744 B CN 106997744B CN 201710154885 A CN201710154885 A CN 201710154885A CN 106997744 B CN106997744 B CN 106997744B
Authority
CN
China
Prior art keywords
brightness
value
scale value
input
input scale
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
CN201710154885.4A
Other languages
Chinese (zh)
Other versions
CN106997744A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710154885.4A priority Critical patent/CN106997744B/en
Publication of CN106997744A publication Critical patent/CN106997744A/en
Application granted granted Critical
Publication of CN106997744B publication Critical patent/CN106997744B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Picture Signal Circuits (AREA)

Abstract

The invention discloses a control method for controlling display of a display of an electronic device. The electronic device stores the corresponding relation between the input scale value and the brightness grade value. The corresponding relation comprises a gamma mapping relation, and the control method comprises the following steps: processing the user input to determine a current input scale value; determining a current brightness grade value corresponding to the input scale value according to the corresponding relation; and adjusting the screen brightness of the electronic device according to the current brightness grade value. In addition, the invention also discloses a control device. The control method and the control device of the embodiment of the invention utilize the gamma mapping relation to regulate the screen brightness, and improve the brightness regulation mode according to the curve characteristic of the gamma mapping relation, so that the regulation of the screen brightness is more accurate, and comfortable brightness is easy to obtain.

Description

Screen brightness control method and control device
Technical Field
The present invention relates to consumer electronics technologies, and in particular, to a method and an apparatus for controlling screen brightness.
Background
The brightness adjusting mode of the existing screen brightness bar has an improved space, and the visual experience is not ideal.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the present invention needs to provide a method and a device for controlling screen brightness.
The control method of the embodiment of the invention is used for controlling the screen brightness of an electronic device, the electronic device stores the corresponding relation between an input scale value and a brightness grade value, the corresponding relation comprises a gamma mapping relation, and the control method comprises the following steps:
processing the user input to determine a current input scale value;
determining a current brightness grade value corresponding to the input scale value according to the corresponding relation; and
and adjusting the screen brightness of the electronic device according to the current brightness grade value.
In some embodiments, the input scale value comprises a first number of scales, the brightness level value comprises a second number of levels, and a ratio of the second number to the first number is greater than 1.
In some embodiments, the gamma mapping relationship includes a plurality of selectable gamma coefficients, and the control method includes the steps of:
the gamma coefficient is set according to a user input.
In some embodiments, the electronic device includes a display, and the step of processing the user input to determine the current input scale value includes the steps of:
controlling the display to display a brightness progress bar according to user input; and
processing user input of the progress bar to determine the current input scale value.
In some embodiments, the correspondence further includes a linear mapping, and the control method includes the steps of:
establishing the gamma mapping relationship between the input scale value and the brightness level value, and comprising the following steps:
acquiring a first brightness grade value corresponding to the input scale value according to the linear mapping relation;
normalizing the first brightness grade value according to the number of the brightness grade values of the electronic device;
calculating a compensation value for the first brightness level value according to a gamma mapping function;
and performing inverse normalization processing on the first brightness grade value according to the compensation value to obtain the brightness grade value corresponding to the input scale value according to the gamma mapping relation.
The control device of the embodiment of the invention is used for controlling the screen brightness of an electronic device, the electronic device stores the corresponding relation between an input scale value and a brightness grade value, the corresponding relation comprises a gamma mapping relation, and the control device comprises:
a processing module for processing a user input to determine a current input scale value;
the determining module is used for determining the current brightness grade value corresponding to the input scale value according to the corresponding relation;
and the adjusting module is used for adjusting the screen brightness of the electronic device according to the current brightness grade value.
In some embodiments, the input scale value comprises a first number of scales, the brightness level value comprises a second number of levels, and a ratio of the second number to the first number is greater than 1.
In some embodiments, the gamma mapping relationship comprises a plurality of selectable gamma coefficients, and the control device comprises:
and the setting module is used for setting the gamma coefficient according to the input of a user.
In some embodiments, the electronic device includes a display, and the processing module includes:
the control unit is used for controlling the display to display the brightness progress bar according to the input of a user; and
a processing unit for processing a user input of the progress bar to determine the current input scale value.
In some embodiments, the correspondence further includes a linear mapping, the control device includes an establishing module for establishing the gamma mapping between the input scale value and the brightness level value, the establishing module includes:
the acquisition unit is used for acquiring a first brightness grade value corresponding to the input scale value according to the linear mapping relation;
the first processing unit is used for carrying out normalization processing on the first brightness grade value according to the number of the brightness grade values of the electronic device;
a calculating unit for calculating a compensation value of the first brightness level value according to a gamma mapping function;
and the second processing unit is used for performing inverse normalization processing on the first brightness grade value according to the compensation value to obtain the brightness grade value corresponding to the input scale value according to the gamma mapping relation.
According to the control method and the control device provided by the embodiment of the invention, the gamma mapping relation is utilized to adjust the screen brightness, and the brightness adjusting mode is improved according to the curve characteristic of the gamma mapping relation, so that the adjustment of the screen brightness is more accurate, and comfortable brightness is easy to obtain.
Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a control method according to an embodiment of the present invention.
Fig. 2 is a functional block diagram of a control device of an electronic device according to an embodiment of the present invention.
Fig. 3 is a state diagram of a control method according to an embodiment of the present invention.
Fig. 4 is a flow chart illustrating a control method according to some embodiments of the present invention.
FIG. 5 is a functional block diagram of a control device of an electronic device according to some embodiments of the present invention
Fig. 6 is a state diagram of a control method according to some embodiments of the invention.
FIG. 7 is a flow chart illustrating a control method according to some embodiments of the present invention.
Fig. 8 is a flow chart illustrating a control method according to some embodiments of the present invention.
Fig. 9 is a functional block diagram of a control device of an electronic device according to some embodiments of the present invention.
Fig. 10 is a state diagram of a control method according to some embodiments of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for the purpose of illustrating the embodiments of the present invention and are not to be construed as limiting the embodiments of the present invention.
Referring to fig. 1, a method for controlling screen brightness according to an embodiment of the invention is used for controlling an electronic device. The electronic device stores the corresponding relation between the input scale value and the brightness grade value, and the corresponding relation comprises a gamma mapping relation. The control method comprises the following steps:
s10: processing the user input to determine a current input scale value;
s20: determining a current brightness grade value corresponding to the input scale value according to the corresponding relation; and
s30: and adjusting the screen brightness of the electronic device according to the current brightness grade value.
Referring to fig. 2, a control apparatus 100 according to an embodiment of the present invention includes a processing module 10, a determining module 20, and an adjusting module 30. As an example, the control method according to the embodiment of the present invention may be implemented by the control device 100 according to the embodiment of the present invention, and may be applied to the electronic device 1000 and used to control the screen brightness of the electronic device 1000.
Wherein, the step S10 of the control method according to the embodiment of the present invention may be implemented by the processing module 10, the step S20 may be implemented by the determining module 20, and the step S30 may be implemented by the adjusting module 30. That is, the processing module 10 is configured to process the user input to determine the current input scale value. The determining module 20 is configured to determine a current brightness level value corresponding to the input scale value according to the corresponding relationship. The adjusting module 30 is configured to adjust the screen brightness of the electronic device 1000 according to the current brightness level value.
Referring to fig. 3, when the user uses the electronic device 1000, the user may need to adjust the screen brightness based on personal experience requirements or light environment changes. The screen brightness refers to the backlight brightness, such as the brightness of a backlight module of an LED display screen. The screen brightness adjustment method generally includes manual adjustment and automatic adjustment. The manual adjustment is that the user performs related operations on the electronic device 1000 according to personal experience, such as dragging a brightness adjustment control, so as to complete screen brightness adjustment. The automatic adjustment is to calculate the matched screen brightness according to the current environment brightness detected by the electronic device 1000, and then adjust the screen brightness. Particularly, in the process of manually adjusting the brightness, usually, a user drags an adjustment control, such as a progress bar, and an input scale value of the progress bar is in a linear relationship with a brightness level value corresponding to the progress bar, for example, the progress bar includes 256 input scales, and the brightness level value includes 256 levels, where a change of an input scale unit of the progress bar corresponds to a change of a brightness level value. As the user demand increases, the brightness level value needs to be expanded. However, the length of the luminance progress bar is limited, and under the condition that the input scale of the progress bar is not changed, the backlight level change corresponding to each scale unit change becomes larger, that is, the change range of the luminance becomes wider every time one input scale unit is adjusted, for example, when the luminance level is expanded from 256 levels to 1024 levels, the change of one progress bar input scale unit corresponds to the change of four luminance level values, and for a user, it is difficult to perform precise adjustment to obtain the luminance level value desired by the user.
On the other hand, the human eye has different sensitivity to the screen brightness change in different brightness environments, for example, in a certain darker brightness environment with a brightness of L1, the screen brightness change △ L1 is adjusted, and in another lighter brightness environment with a brightness of L2(L2 > L1), if the user has the same change feeling, according to weber's law, the screen brightness change △ L2 is △ L1L 2/L1 > △ L1.
The gamma mapping relation is used as a power function and accords with the sensitivity characteristic of human eyes to the perception of brightness change under different lighting environment conditions.
In the embodiment of the present invention, the corresponding relationship between the input scale value and the brightness level value may be established in advance according to the gamma mapping relationship before the electronic device 1000 leaves the factory, and during the adjustment process of the screen brightness, the current brightness level value is directly determined according to the input scale value and the corresponding relationship, and the screen brightness of the electronic device is adjusted according to the brightness level value.
It can be understood that, because the gamma mapping relationship is adopted between the input scale values and the brightness level values, compared with the linear mapping relationship, the input scale values corresponding to the low brightness level values in the gamma mapping relationship have a wider range, so that the brightness level change corresponding to each input scale value change is smaller, that is, in the two mapping relationships, for the input scale values corresponding to the same brightness level value, the progress bar which can be slid by a user is longer, the adjustment of the screen brightness is more accurate, and the user can easily obtain comfortable brightness during the adjustment of the low brightness level value interval.
Accordingly, in the continuous adjustment process, or in the process of adjusting from a low brightness level value to a high brightness level value, the higher the interval in which the brightness level value changes, the smaller the corresponding input scale value change interval. For example, when the brightness level value changes from 0 to 100, the corresponding input scale value change interval is 0-150, and when the brightness level value changes from 100 to 200, the corresponding input scale value change interval is 150-170.
Of course, the numerical values of the input scale value and the brightness level value are only illustrative and not limiting to the present invention.
In summary, the control method and the control apparatus 100 according to the embodiments of the present invention improve the brightness adjustment manner according to the curve characteristic of the gamma mapping relationship for the user to manually adjust the screen brightness, so that the adjustment of the screen brightness is more accurate and the comfortable brightness is easily obtained.
In some embodiments, the electronic device 1000 may be a mobile phone or a tablet computer.
It is understood that the electronic device 1000 includes but is not limited to the example of the present embodiment.
In some embodiments, the input scale value comprises a first number of scales, the brightness level value comprises a second number of levels, and a ratio of the second number to the first number is greater than 1.
Generally, when the ratio of the second number to the first number is equal to 1, a change in each input scale value corresponds to a change in the brightness level value. When the ratio of the second number to the first number is greater than 1, the change of each input scale value corresponds to the change of the plurality of brightness level values. So that the adjustment precision is difficult to control in the brightness adjustment process. In this embodiment, a gamma mapping relationship is adopted to establish a corresponding relationship between an input scale value and a brightness level value, so that in a low brightness level value part, under the condition that the input scale value is not changed, the change of each plurality of input scale values corresponds to the change of a plurality of brightness level values, and thus, the brightness adjustment of the low brightness level value part becomes more gentle, if the brightness adjustment is presented in a progress bar form, the range of the progress bar which can be dragged by the low brightness level value part is larger, the distance is longer, and the user can more easily control to adjust and obtain the desired brightness.
Taking the ratio of the second number to the first number equal to 8 as an example, for example, the input scale level is 256, the brightness level value is 2048, and each input scale level value corresponds to 8 brightness level values, it can be understood that in actual operation, each time the user drags the progress bar, an increase of one input scale level will generate a change of 8 brightness levels, so that the change range is too large, and the user often has difficulty in determining comfortable brightness from two adjacent brightness changes, for example, at the brightness level value corresponding to the previous input scale value, the user feels too dark, and at the next adjacent brightness level value, the screen brightness is too bright.
It will be appreciated that as the ratio of the second number to the first number continues to increase, the difficulty of adjustment will be exacerbated.
In some embodiments, the gamma mapping relationship includes a plurality of selectable gamma coefficients, and the control method includes the steps of:
the gamma coefficient is set according to a user input.
In certain embodiments, the control device 100 includes a setting module. The step of setting the gamma coefficient according to the user input may be implemented by a setting module, or the setting module is configured to set the gamma coefficient according to the user input.
Preferably, in some examples, the gamma coefficient is 2.2, and the gamma coefficient used for gamma correction of the display is 2.2, so that the gamma coefficient 2.2 is more suitable for human eyes and general regulation habits when establishing the corresponding relationship. Of course, the value of the gamma coefficient may be changed according to the number of levels of the brightness level value and according to the property of the power function, thereby controlling the graphic style of the gamma mapping relationship.
In addition, in some examples, the gamma coefficients of the same number of brightness level values may also be adjusted according to user input, for example, the user may set the value of the gamma coefficient to 2.2 on a basis, if the user wishes to continue to increase the adjustment range, the value of the gamma coefficient may be increased to 2.5, for example, and if the user wishes to decrease the adjustment range, the value of the gamma coefficient may be decreased to 1.8, for example, without limitation.
Therefore, more authorities can be provided for the user, and the control of brightness adjustment is further changed by changing the gamma coefficient of the gamma mapping relation, so that the user can conveniently obtain the expected screen brightness.
Referring to fig. 4, in some embodiments, the electronic device includes a display, and the step S10 includes the steps of:
s12: controlling a display to display a brightness progress bar according to user input; and
s14: the user input of the progress bar is processed to determine a current input scale value.
Referring to fig. 5 and 6, in some embodiments, the electronic device 1000 includes a display 200, and the processing module 10 includes a control unit 12 and a processing unit 14. Step S12 may be implemented by the control unit 12 and step S14 may be implemented by the processing unit 14. In other words, the control unit 12 is configured to control the display 200 to display the luminance progress bar according to the user input, and the processing unit 14 is configured to process the user input of the progress bar to determine the current input scale value.
In operation, when the user selects to manually adjust the screen brightness or the like, the display 200 will display a brightness progress bar, which may be in the form of a bar, a ring, etc., without limitation. The progress bar facilitates user input, such as by sliding, dragging, etc., to determine the current input scale value.
Referring to fig. 7 and 8, in some embodiments, the correspondence relationship further includes a linear mapping relationship, and the control method includes the following steps:
s00, establishing a gamma mapping relation between the input scale value and the brightness grade value, wherein the step S01 comprises the following steps:
s01, acquiring a first brightness grade value corresponding to the input scale value according to the linear mapping relation;
s02, normalizing the first brightness gradation value according to the number of brightness gradation values of the electronic device;
s03, calculating a compensation value of the first brightness level value according to the gamma mapping function; and
and S04, performing inverse normalization processing on the first brightness grade value according to the compensation value to obtain a brightness grade value corresponding to the input scale value according to the gamma mapping relation.
Referring to fig. 9, in some embodiments, the corresponding relationship further includes a linear mapping relationship, and the control apparatus 100 includes an establishing module 40. The building block 40 comprises an acquisition unit 41, a first processing unit 42, a calculation unit 43 and a second processing unit 44. Step S00 may be implemented by the establishing module 40, step S01 may be implemented by the obtaining unit 41, step S02 may be implemented by the first processing unit 42, step S03 may be implemented by the calculating unit 43, and step S04 may be implemented by the second processing unit 44. Alternatively, the establishing module 40 is configured to establish a gamma mapping relationship between the input scale value and the brightness level value. The obtaining unit 41 is configured to obtain a first brightness level value corresponding to the input scale value according to a linear mapping relationship. The first processing unit 42 is configured to perform normalization processing on the first brightness level value according to the number of brightness level values of the electronic device 1000. The calculating unit 43 is configured to calculate a compensation value for the first luminance level value according to a gamma mapping function. The second processing unit 44 is configured to perform inverse normalization processing on the first brightness level value according to the compensation value to obtain a brightness level value corresponding to the input scale value according to the gamma mapping relationship.
Referring to fig. 10, a gamma mapping relationship between an input scale value and a brightness level value is described as an example.
The gamma coefficient is 2.2, the number of brightness levels is 2048, and the number of input scales is 256. When the scale value input by the user is 125, the first brightness level value corresponding to the linear mapping relationship is 1000.
The first luminance level value 1000 is normalized according to the number of luminance levels, and preferably, the normalization process further considers an offset coefficient, so that the normalized value is (1000+ 0.5)/2048-0.4885.
According to a gamma mapping function Lout=Lin gammaThe compensation value for the normalized first brightness level value 1000 is 0.48852.2=0.2068。
The compensation values are denormalized to inverse transform the compensation values to luminance level values between luminance levels, resulting in an denormalized value of 0.2068 × 2048+0.5 — 424, where 0.5 is the offset coefficient. 424 is the corresponding brightness level value of the input scale value 125 in the gamma mapping relationship.
It can be seen that the input scale value 125 corresponds to a brightness value of 1000 compared to the linear mapping, and in the gamma mapping, the brightness is reduced to 424, that is, the brightness adjustment is more gradual, on the other hand, if the brightness is adjusted to 1000, the input scale value is greater than 125, so that it is easier for the user to adjust to the desired brightness.
The mobile terminal of the embodiment of the invention comprises a shell, a processor, a memory, a circuit board and a power circuit. The circuit board is arranged in a space enclosed by the shell, the processor and the memory are arranged on the circuit board, and the power supply circuit is used for supplying power to each circuit or device of the mobile terminal. The memory is for storing executable program code. The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for executing the control method of the above-described aspect.
The computer readable storage medium of the embodiments of the present invention has instructions stored therein, and when the processor of the mobile terminal executes the instructions, the mobile terminal executes the control method of the embodiments of the present invention.
In the description of the embodiments of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of describing the embodiments of the present invention and simplifying the description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the embodiments of the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present invention, "a plurality" means two or more unless specifically limited otherwise.
In the description of the embodiments of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as being fixedly connected, detachably connected, or integrally connected; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. Specific meanings of the above terms in the embodiments of the present invention can be understood by those of ordinary skill in the art according to specific situations.
In embodiments of the invention, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise the first and second features being in direct contact, or the first and second features being in contact, not directly, but via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The above disclosure provides many different embodiments or examples for implementing different configurations of embodiments of the invention. In order to simplify the disclosure of embodiments of the invention, specific example components and arrangements are described above. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, embodiments of the invention may repeat reference numerals and/or reference letters in the various examples, which have been repeated for purposes of simplicity and clarity and do not in themselves dictate a relationship between the various embodiments and/or arrangements discussed. In addition, embodiments of the present invention provide examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of embodiments of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A control method of screen brightness is used for controlling an electronic device, wherein the electronic device stores a corresponding relationship between an input scale value and a brightness level value, the corresponding relationship comprises a gamma mapping relationship, the corresponding relationship further comprises a linear mapping relationship, and the control method comprises the following steps:
establishing the gamma mapping relationship between the input scale value and the brightness level value, and comprising the following steps:
acquiring a first brightness grade value corresponding to the input scale value according to the linear mapping relation;
normalizing the first brightness grade value according to the number of the brightness grade values of the electronic device;
calculating a compensation value for the first brightness level value according to a gamma mapping function; and
performing inverse normalization processing on the first brightness grade value according to the compensation value to obtain the brightness grade value corresponding to the input scale value according to the gamma mapping relation;
processing the user input to determine a current input scale value;
determining a current brightness grade value corresponding to the input scale value according to the corresponding relation; and
and adjusting the screen brightness of the electronic device according to the current brightness grade value.
2. The control method of claim 1, wherein said input scale value comprises a first number of scales, said brightness level value comprises a second number of levels, and a ratio of said second number to said first number is greater than 1.
3. The control method of claim 1, wherein the gamma mapping relationship includes a plurality of selectable gamma coefficients, the control method comprising the steps of:
the gamma coefficient is set according to a user input.
4. The control method of claim 1, wherein the electronic device includes a display, and wherein the step of processing the user input to determine the current input scale value includes the steps of:
controlling the display to display a brightness progress bar according to user input; and
processing user input of the progress bar to determine the current input scale value.
5. A control device for controlling screen brightness of an electronic device, wherein the electronic device stores a correspondence between an input scale value and a brightness level value, the correspondence includes a gamma mapping, and the correspondence further includes a linear mapping, the control device comprising:
an establishing module, configured to establish the gamma mapping relationship between the input scale value and the brightness level value, where the establishing module includes:
the acquisition unit is used for acquiring a first brightness grade value corresponding to the input scale value according to the linear mapping relation;
the first processing unit is used for carrying out normalization processing on the first brightness grade value according to the number of the brightness grade values of the electronic device;
a calculating unit for calculating a compensation value of the first brightness level value according to a gamma mapping function; and
the second processing unit is used for performing inverse normalization processing on the first brightness grade value according to the compensation value to obtain the brightness grade value corresponding to the input scale value according to the gamma mapping relation;
a processing module for processing a user input to determine a current input scale value;
the determining module is used for determining the current brightness grade value corresponding to the input scale value according to the corresponding relation;
and the adjusting module is used for adjusting the screen brightness of the electronic device according to the current brightness grade value.
6. The control apparatus of claim 5, wherein said input scale value comprises a first number of scales, said brightness level value comprises a second number of levels, and a ratio of said second number to said first number is greater than 1.
7. The control apparatus of claim 5, wherein the gamma mapping relationship includes a plurality of selectable gamma coefficients, the control apparatus comprising:
and the setting module is used for setting the gamma coefficient according to the input of a user.
8. The control device of claim 5, wherein the electronic device includes a display, the processing module comprising:
the control unit is used for controlling the display to display the brightness progress bar according to the input of a user; and
a processing unit for processing a user input of the progress bar to determine the current input scale value.
CN201710154885.4A 2017-03-15 2017-03-15 Screen brightness control method and control device Expired - Fee Related CN106997744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710154885.4A CN106997744B (en) 2017-03-15 2017-03-15 Screen brightness control method and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710154885.4A CN106997744B (en) 2017-03-15 2017-03-15 Screen brightness control method and control device

Publications (2)

Publication Number Publication Date
CN106997744A CN106997744A (en) 2017-08-01
CN106997744B true CN106997744B (en) 2020-06-05

Family

ID=59431628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710154885.4A Expired - Fee Related CN106997744B (en) 2017-03-15 2017-03-15 Screen brightness control method and control device

Country Status (1)

Country Link
CN (1) CN106997744B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102330866B1 (en) * 2017-08-23 2021-11-24 엘지디스플레이 주식회사 Luminance Compensation System of Display Device and Its Luminance Compensation Method
CN108491121B (en) * 2018-02-02 2020-05-15 普联技术有限公司 Backlight brightness adjusting method and system of terminal screen
CN108510964B (en) * 2018-04-19 2020-01-14 Oppo广东移动通信有限公司 Screen brightness adjusting range adjusting method and device, terminal and storage medium
CN110021256B (en) * 2019-04-02 2021-11-23 Oppo广东移动通信有限公司 Display brightness adjusting method and related product
CN110675838B (en) * 2019-09-27 2022-03-25 Tcl移动通信科技(宁波)有限公司 Brightness adjusting method and device, computer readable storage medium and terminal
CN111105748B (en) * 2020-01-10 2021-05-25 富满微电子集团股份有限公司 LED display method and device based on gamma table
CN113257162B (en) * 2020-02-12 2022-12-27 北京小米移动软件有限公司 Screen brightness adjusting method and device and storage medium
CN111818712A (en) * 2020-07-06 2020-10-23 浙江华诺康科技有限公司 Brightness adjusting method and device, computer equipment and storage medium
CN114078459B (en) 2020-08-21 2023-03-14 北京小米移动软件有限公司 Brightness adjusting method and device and storage medium
CN112201209B (en) * 2020-10-23 2022-02-01 展讯半导体(南京)有限公司 Backlight brightness adjusting method and device of display screen, storage medium and terminal
CN114694600A (en) * 2020-12-31 2022-07-01 华显光电技术(惠州)有限公司 Screen brightness adjusting method and device, computer equipment and storage medium
CN114860183A (en) * 2021-02-04 2022-08-05 深圳Tcl数字技术有限公司 Display brightness control method, device, terminal and computer readable storage medium
CN112863424A (en) * 2021-03-11 2021-05-28 芯颖科技有限公司 Display screen brightness adjusting method and device and electronic equipment
CN113393804B (en) * 2021-06-21 2022-08-05 深圳市华星光电半导体显示技术有限公司 High-brightness display device and brightness adjusting method thereof
CN114038433B (en) * 2021-11-23 2023-10-31 Oppo广东移动通信有限公司 Screen control method and device, electronic equipment and storage medium
CN114019688B (en) * 2021-11-29 2024-04-12 重庆利龙中宝智能技术有限公司 Self-adaptive backlight adjusting method and system
CN114898722A (en) * 2022-05-25 2022-08-12 深圳创维-Rgb电子有限公司 Picture display method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014235209A (en) * 2013-05-31 2014-12-15 シャープ株式会社 Gamma adjustment method, and display device
CN104380370A (en) * 2012-06-27 2015-02-25 夏普株式会社 Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same
CN106464892A (en) * 2014-05-28 2017-02-22 皇家飞利浦有限公司 Methods and apparatuses for encoding HDR images, and methods and apparatuses for use of such encoded images

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7592996B2 (en) * 2006-06-02 2009-09-22 Samsung Electronics Co., Ltd. Multiprimary color display with dynamic gamut mapping
US7956847B2 (en) * 2007-01-05 2011-06-07 Apple Inc. Gestures for controlling, manipulating, and editing of media files using touch sensitive devices
CN101600120B (en) * 2008-06-04 2012-12-26 深圳市绎立锐光科技开发有限公司 Method and device for displaying image by reducing power consumption
KR101604482B1 (en) * 2008-08-14 2016-03-25 엘지디스플레이 주식회사 Liquid Crystal Display and Driving Method Thereof
WO2015098669A1 (en) * 2013-12-26 2015-07-02 Canon Kabushiki Kaisha Image processing apparatus and imaging apparatus
CN106327443A (en) * 2016-08-24 2017-01-11 电子科技大学 Night image enhancement method based on improved genetic algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104380370A (en) * 2012-06-27 2015-02-25 夏普株式会社 Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same
JP2014235209A (en) * 2013-05-31 2014-12-15 シャープ株式会社 Gamma adjustment method, and display device
CN106464892A (en) * 2014-05-28 2017-02-22 皇家飞利浦有限公司 Methods and apparatuses for encoding HDR images, and methods and apparatuses for use of such encoded images

Also Published As

Publication number Publication date
CN106997744A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
CN106997744B (en) Screen brightness control method and control device
CN109166559B (en) Gamma value debugging method and device for display panel
US8063871B2 (en) Low-power driving apparatus and method
EP1968040A2 (en) Methods and systems for surround-specific display modeling
CN107146581A (en) Adjust method, mobile terminal and the storage medium of backlight illumination grade
US20120274809A1 (en) Electronic device and luminance adjusting method thereof
CN102667899A (en) Image display apparatus
JP4151643B2 (en) Color conversion matrix creation device, color conversion matrix creation program, and image display device
EP3010009A1 (en) Multi-monitor system, and computer program and display device used in multi-monitor system
CN114333724B (en) Display brightness and color correction method, device, electronic equipment and storage medium
CN101546509B (en) Method for generating target Gamma curve of display
US20150054805A1 (en) Display device
CN115552506A (en) Display screen brightness adjusting method and device
EP2153639B1 (en) Method and system for prediction of gamma characteristics for a display
CN106935178B (en) Color temperature adjusting method and color temperature adjusting device
CN110021268B (en) Display control method and device of OLED
CN112506338A (en) Equipment control method, device and equipment based on full vision
CN109410892B (en) Image processing method and display device
JP5939765B2 (en) CALIBRATION DEVICE, ITS CONTROL METHOD, IMAGE DISPLAY DEVICE, AND IMAGE DISPLAY SYSTEM
CN106157899B (en) Control method, adjusting method, electronic equipment and backlight chip
CN114327339B (en) LED display screen simulation correction display method and device and electronic equipment
JP2008537799A (en) Device with mobile phone and LCD display module
CN112102787A (en) Backlight brightness control method applied to liquid crystal display screen and related product
CN113301694B (en) Display lamp respiration control method, storage medium and electronic equipment
CN114822432B (en) Display panel brightness adjusting method and device, display device and 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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: 20200605