CN113971064B - Screen brightness adjustment method, device and computer readable storage medium - Google Patents
Screen brightness adjustment method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN113971064B CN113971064B CN202111235916.1A CN202111235916A CN113971064B CN 113971064 B CN113971064 B CN 113971064B CN 202111235916 A CN202111235916 A CN 202111235916A CN 113971064 B CN113971064 B CN 113971064B
- Authority
- CN
- China
- Prior art keywords
- screen
- brightness
- compensation
- compensation multiple
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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
- G09G3/22—Control 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 using controlled light sources
- G09G3/30—Control 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 using controlled light sources using electroluminescent panels
- G09G3/32—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
- G09G2320/0646—Modulation of illumination source brightness and image signal correlated to each other
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The disclosure relates to a screen brightness adjustment method, device and computer readable storage medium, wherein the method comprises the steps of obtaining an original compensation multiple for eliminating uneven screen brightness and at least one group of correction compensation multiple corresponding to the original compensation multiple, obtaining current display parameter information of a screen in response to receiving a display parameter switching instruction for the screen, determining a target compensation multiple from the original compensation multiple and the at least one group of correction compensation multiple according to the current display parameter information, and adjusting the brightness of the screen according to the target compensation multiple. Through the technical scheme, the determined target compensation multiple is adaptive to the current display parameter information of the screen, so that the screen adjusting effect can be improved, and the uniformity of the screen brightness can be improved.
Description
Technical Field
The disclosure relates to the field of display technology, and in particular, to a method and a device for adjusting screen brightness, and a computer readable storage medium.
Background
An OLED (Organic Light-Emitting Diode) has been increasingly used as a current-type Light-Emitting device in high-performance display screens, and has advantages of high contrast, ultra-thin and flexible properties compared to LCD (Liquid crystal display) CRYSTAL DISPLAY) display technology due to its self-luminescence property. But the uneven brightness of the screen, i.e., mura phenomenon, is a common bad phenomenon in the OLED display technology, which is mainly caused by each TFT characteristic difference caused by the process immaturity of TFTs (thin film transistors, thin Film Transistor) in the screen.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a screen brightness adjustment method, apparatus, and computer-readable storage medium.
According to a first aspect of an embodiment of the present disclosure, there is provided a screen brightness adjustment method, including:
Acquiring an original compensation multiple for eliminating uneven brightness of a screen and at least one group of correction compensation multiple corresponding to the original compensation multiple;
In response to receiving a display parameter switching instruction for a screen, acquiring current display parameter information of the screen;
determining a target compensation multiple from the original compensation multiple and the at least one set of corrected compensation multiple according to the current display parameter information;
and adjusting the brightness of the screen according to the target compensation multiple.
Optionally, the original compensation factor includes a plurality of byte values, and the at least one set of modified compensation factors is obtained by:
Dividing the original compensation multiple into a plurality of byte groups, wherein each byte group comprises at least one byte value, and each byte group is respectively used for adjusting the brightness of different positions of the screen;
and correcting byte values in each byte group into specified byte values corresponding to the byte groups so as to obtain the correction compensation multiple.
Optionally, the obtaining an original compensation multiple for eliminating the uneven brightness of the screen includes:
and responding to the first power-on of the terminal where the screen is positioned, and acquiring the pre-stored original compensation multiple for eliminating the uneven brightness of the screen.
Optionally, the current display parameter information includes current brightness information and current refresh frequency;
the determining a target compensation multiple from the original compensation multiple and the at least one set of corrected compensation multiple according to the current display parameter information comprises the following steps:
determining whether the current brightness of the screen is in the range of a pulse width modulation interval according to the current brightness information so as to obtain current screen brightness characteristic information;
acquiring a corresponding relation among screen refreshing frequency, screen brightness characteristic information and compensation multiples;
and determining the target compensation multiple according to the corresponding relation, the current refreshing frequency and the current screen brightness characteristic information.
Optionally, before adjusting the brightness of the screen according to the target compensation multiple, the method further includes:
acquiring the current compensation multiple of the screen;
And executing the step of adjusting the brightness of the screen according to the target compensation multiple under the condition that the current compensation multiple is different from the target compensation multiple.
Optionally, the screen is an organic light emitting diode screen.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus including:
The first acquisition module is used for acquiring an original compensation multiple for eliminating uneven brightness of a screen and at least one group of correction compensation multiple corresponding to the original compensation multiple;
The second acquisition module is used for responding to the received display parameter switching instruction aiming at the screen and acquiring the current display parameter information of the screen;
the determining module is used for determining a target compensation multiple from the original compensation multiple and the at least one group of correction compensation multiple according to the current display parameter information;
and the adjusting module is used for adjusting the brightness of the screen according to the target compensation multiple.
Optionally, the determining module includes:
the first determining submodule is used for determining whether the current brightness of the screen is in the range of the pulse width modulation interval according to the current brightness information so as to obtain current screen brightness characteristic information;
the acquisition sub-module is used for acquiring the corresponding relation among the screen refreshing frequency, the screen brightness characteristic information and the compensation multiple;
And the second determining submodule is used for determining the target compensation multiple according to the corresponding relation, the current refreshing frequency and the current screen brightness characteristic information.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus including:
A processor;
a memory for storing processor-executable instructions;
Wherein the processor is configured to perform the steps of the method provided by the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the screen brightness adjustment method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
According to the technical scheme, the original compensation multiple used for eliminating uneven brightness of the screen and at least one group of correction compensation multiple corresponding to the original compensation multiple are obtained, the current display parameter information of the screen is obtained in response to receiving a display parameter switching instruction aiming at the screen, the target compensation multiple is determined from the original compensation multiple and the at least one group of correction compensation multiple according to the current display parameter information, and the brightness of the screen is adjusted according to the target compensation multiple. Therefore, the original compensation multiple and the correction compensation multiple can be used for adjusting the screen, when the uneven brightness of the screen is eliminated, the current display parameter information of the screen is considered, the determined target compensation multiple is adaptive to the current display parameter information, the screen adjusting effect can be improved, and the uniformity of the brightness of the screen is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment.
FIG. 2 is a flowchart illustrating a method of determining at least one set of correction compensation factors, according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a screen brightness adjustment device according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating an apparatus for screen brightness adjustment according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
At present, a method for eliminating uneven brightness of a screen, namely Demura compensation method, is generally adopted, namely a high-resolution and high-precision CCD (Charge-coupled Device) camera is used for shooting a plurality of gray-scale pictures, further, pixel color distribution characteristics in a display picture are analyzed according to data acquired by the camera, mura is identified according to an algorithm, demura data is generated according to the Mura data through a corresponding Demura compensation algorithm for interpolation and calling of hardware (for example, a processor), and finally a compensation table is burnt in storage equipment.
As described in the background art, the uneven brightness of the screen, i.e. Mura phenomenon, is a common bad phenomenon in the OLED display technology, and the problem is generally solved by using a Demura compensation method at present, in the actual Demura compensation process, a bad product may occur, i.e. a screen product with a bad compensation effect of Demura and a problem quality, and at this time, the actually compensated intensity may be adjusted by modifying the gain value (i.e. compensation multiple) compensated by Demura. However, the difference between the screen refresh frequency and the brightness is not considered in the Demura compensation in the related art, the Demura compensation effect is poor, and the uniformity of the screen brightness is not high enough.
In view of this, the present disclosure provides a method, an apparatus and a computer readable storage medium for adjusting screen brightness, so as to improve the screen adjusting effect and improve the uniformity of screen brightness.
Fig. 1 is a flowchart illustrating a screen brightness adjustment method that may be used in a terminal, such as an operating system in the terminal, according to an exemplary embodiment. As shown in fig. 1, the method may include steps 101 through 104.
In step 101, an original compensation multiple for eliminating the uneven brightness of the screen and at least one set of corrected compensation multiples corresponding to the original compensation multiple are acquired.
The terminal screen may be an organic light emitting diode screen (OLED), for example. The original compensation multiple may be stored in the terminal in advance, where the original compensation multiple may be stored in the terminal in advance by a technician, for example, may be burned in a DDIC (display driver chip, DISPLAY DRIVER IC) register of the terminal in advance, and the operating system may obtain the original compensation multiple from the DDIC.
The inventor finds that for the screen, the compensation multiple of Demura compensation is different according to different refresh frequencies and different brightnesses, so that the compensation multiple is adapted to the screen refresh frequency and the screen brightness, the Demura compensation effect can be effectively improved, and the uniformity of the screen brightness is improved. Therefore, the original compensation multiple is corrected in the present disclosure to obtain at least one set of corrected compensation multiple, where both the original compensation multiple and the corrected compensation multiple can be used to adjust the screen, and different refresh frequencies and different brightnesses can be used. In an alternative embodiment, when the terminal is powered on for the first time, the original compensation multiple is corrected to obtain at least one set of corrected compensation multiple, and the at least one set of corrected compensation multiple is stored in a DDIC register of the terminal, where when the screen brightness needs to be adjusted, the at least one set of corrected compensation multiple can be obtained from the DDIC.
In step 102, current display parameter information of a screen is acquired in response to receiving a display parameter switching instruction for the screen.
In step 103, a target compensation factor is determined from the original compensation factor and at least one set of modified compensation factors based on the current display parameter information.
Wherein the display parameter may refer to a parameter for representing screen display performance. For example, the display parameter switching instruction may include a refresh frequency switching instruction, a brightness switching instruction, and the current display parameter information may include current brightness information, a current refresh frequency. The refresh frequency switching instruction and the brightness switching instruction can be triggered by a user in the terminal, and the user can switch the screen refresh frequency and the screen brightness according to the use requirement of the user. The user may issue only the refresh frequency switching instruction, or issue only the brightness switching instruction, or issue both the refresh frequency switching instruction and the brightness switching instruction.
When the user switches the screen refresh frequency, for example, the screen refresh frequency can be switched from 60HZ to 90HZ, or from 90HZ to 60HZ, and when the user switches the screen brightness, the brightness of the screen can be increased or decreased.
When a display parameter switching instruction aiming at a screen is received, the display parameters of the screen are characterized by being switched by a user, and the compensation multiple of Demura compensation is different due to different display parameters, at this time, a target compensation multiple can be determined from the original compensation multiple and at least one correction compensation multiple according to the current display parameter information, so that the target compensation multiple is adapted to the current display parameter information.
In step 104, the brightness of the screen is adjusted according to the target compensation multiple.
The compensation multiple, namely gain value, is used for measuring the intensity of screen brightness compensation, the larger the target compensation multiple is, the higher the screen brightness is, the smaller the target compensation multiple is, the lower the screen brightness is, the screen brightness is adjusted according to the target compensation multiple, and the target compensation multiple is adapted to the screen display parameter, so that the Demura compensation effect can be improved.
According to the technical scheme, the original compensation multiple used for eliminating uneven brightness of the screen and at least one group of correction compensation multiple corresponding to the original compensation multiple are obtained, the current display parameter information of the screen is obtained in response to receiving a display parameter switching instruction aiming at the screen, the target compensation multiple is determined from the original compensation multiple and the at least one group of correction compensation multiple according to the current display parameter information, and the brightness of the screen is adjusted according to the target compensation multiple. Therefore, the original compensation multiple and the correction compensation multiple can be used for adjusting the screen, when the uneven brightness of the screen is eliminated, the current display parameter information of the screen is considered, the determined target compensation multiple is adaptive to the current display parameter information, the screen adjusting effect can be improved, and the uniformity of the brightness of the screen is improved.
FIG. 2 is a flowchart illustrating a method of determining at least one set of correction compensation factors, as shown in FIG. 2, according to an exemplary embodiment, which may include steps 201 through 203.
In step 201, an original compensation multiple is obtained, wherein the original compensation multiple comprises a plurality of byte values.
In one embodiment, the step 201 may include obtaining, in response to the terminal on which the screen is located being powered on for the first time, the original compensation multiple pre-stored for eliminating the uneven brightness of the screen. The terminal can be, for example, a mobile phone, a tablet personal computer, a notebook computer and the like, when the terminal is powered on for the first time, namely, when a user starts to use the terminal, the original compensation multiple can be obtained, at least one group of correction compensation multiple is determined according to the original compensation multiple, the screen is adjusted in response to a display parameter switching instruction, the screen adjusting effect is improved, the uniformity of screen brightness is improved, and the experience of using the terminal by the user is improved.
In step 202, the original compensation multiple is divided into a plurality of tuples, wherein each tuple includes at least one byte value, and each tuple is used for adjusting brightness of different positions of the screen.
In step 203, for each byte group, the byte values in the byte group are corrected to the specified byte value corresponding to the byte group, so as to obtain a correction compensation multiple.
As an example, the original compensation multiple may be an array comprising 50byte values (i.e. 50 bytes), e.g. comprising D0 to D49, i.e. D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14..d 45, D46, D47, D48, D49.
The method of dividing the original compensation multiple into a plurality of tuples may be various, for example, the original compensation multiple may be randomly divided, and the number of bytes in each tuple may be the same or different, or the original compensation multiple may be equally divided into a plurality of tuples, i.e. the number of bytes in each tuple is equal. Each byte group corresponds to different positions in the screen and is used for adjusting the brightness of different positions of the screen, for example, D0, D1, D2, D3 and D4 are one byte group, the byte group is used for adjusting the brightness of the position of N pixels at the upper left corner of the screen, N is greater than 1, a plurality of byte groups correspond to the whole screen, and a plurality of byte groups are commonly used for adjusting the brightness of the whole screen.
Taking the example of dividing the original compensation multiple into multiple tuples on average, the above example is followed, for example, dividing each 5 byte value into one group, i.e. D0, D1, D2, D3, D4 into one group, D5, D6, D7, D8, D9 into one group, and so on.
And then, correcting the byte value in each byte group into a specified byte value corresponding to the byte group so as to obtain a correction compensation multiple. For example, a certain byte value in the byte group can be used as a specified byte value corresponding to the byte group.
Wherein, which byte value is used as the designated byte value can be predetermined according to a plurality of experiments, for example, in the case that the screen refresh frequency is 60HZ and the screen brightness characteristic information indicates that the brightness of the screen is within the preset pulse width modulation (PWM, pulse width modulation) interval range (e.g., [0,110nit ]), the experimental effect characterization corrects the byte values in the byte group to the 5 th byte value in the byte group, the obtained correction compensation multiple is used for adjusting the brightness of the screen, the adjusting effect is best, and the brightness is most uniform, the 5 th byte value in the byte group can be used as the designated byte value, and the 5 th byte value is stored in the terminal as the designated byte value in the form of instructions. The terminal corrects the byte values in the byte group to the 5 th byte value of the byte group, and a group of correction compensation multiples can be obtained. In one embodiment, for example, the 5 th byte value in the byte group is used as the specified byte value corresponding to the byte group, for example, D0, D1, D2, D3, D4 is the 5 th byte value in the byte group, the byte values in the byte group are all corrected to D4, the same is true of the other tuples, obtaining first correction compensation factors, namely D4, D9 d9, D14, D14, D14..d. D49, D49, D49. When the screen refreshing frequency of the terminal is 60HZ and the screen brightness characteristic information indicates that the brightness of the screen is within the range of the pulse width modulation interval, the first correction compensation multiple can be adopted to adjust the screen brightness.
For example, when the screen refresh frequency is 90HZ and the screen brightness characteristic information indicates that the brightness of the screen is within the preset pulse width modulation interval range (e.g., [0,110nit ]), the test effect indicates that the byte values in the byte group are all corrected to the 4 th byte value in the byte group, the obtained correction compensation multiple is used for adjusting the screen brightness, the adjustment effect is best, the brightness is most uniform, the 4 th byte value in the byte group can be used as the designated byte value, and the 4 th byte value can be stored in the terminal as the designated byte value in the form of instructions. The terminal corrects the byte values in the byte group to the 4 th byte value of the byte group, and a group of correction compensation multiples can be obtained. In one embodiment, for example, the 4 th byte value in the byte group is used as the specified byte value corresponding to the byte group, for example, D0, D1, D2, D3, D4 is the 4 th byte value in the byte group, the byte values in the byte group are all corrected to D3, the same is true of the other tuples, obtaining second correction compensation multiples, namely D3, D8 d8, D13, D13, D13..d. D48, D48, D48. When the screen refreshing frequency of the terminal is 90HZ and the screen brightness characteristic information indicates that the brightness of the screen is within the range of the pulse width modulation interval, the second correction compensation multiple can be adopted to adjust the screen brightness.
For example, when the screen refresh frequency is 90HZ and the screen brightness characteristic information indicates that the brightness of the screen is not within the preset pulse width modulation interval range (e.g., [0,110nit ]), the test effect indicates that the byte values in the byte group are all corrected to the 3 rd byte value in the byte group, the obtained correction compensation multiple is used for adjusting the brightness of the screen, the adjustment effect is the best, and the brightness is the most uniform, then the 3 rd byte value in the byte group can be used as the designated byte value, and the 3 rd byte value can be stored in the terminal as the designated byte value in the form of instructions. The terminal corrects the byte values in the byte group to the 3 rd byte value of the byte group, and a group of correction compensation multiples can be obtained. In still another embodiment, for example, the 3 rd byte value in the byte group is used as the specified byte value corresponding to the byte group, for example, D0, D1, D2, D3, D4 is used as the 3 rd byte value in the byte group, the byte values in the byte group are all corrected to D2, the same is true of the other tuples, obtaining third correction compensation multiples, namely D2, D7 d7, D12, D12, D12..d. D47, D47, D47. When the screen refreshing frequency of the terminal is 90HZ and the screen brightness characteristic information indicates that the brightness of the screen is not in the range of the pulse width modulation interval, the third correction compensation multiple can be adopted to adjust the screen brightness.
For example, in the case where the screen refresh frequency is 60HZ and the screen brightness characteristic information indicates that the brightness of the screen is not within the preset pulse width modulation interval range (e.g., [0,110nit ]), the test effect indicates that the original compensation multiple is used to adjust the brightness of the screen, the adjustment effect is the best, and the brightness is the most uniform, and in this case, the original compensation multiple can be used to adjust the brightness of the screen.
The three embodiments for determining the correction compensation multiple described above are merely examples, and do not limit the embodiments of the present disclosure.
Through the technical scheme, the original compensation multiple is corrected to obtain at least one group of corrected compensation multiple, the original compensation multiple and the corrected compensation multiple can be used for adjusting a screen, different refreshing frequencies and different brightnesses can be used, and different compensation multiples can be used.
In the disclosure, after the original compensation multiple is corrected to obtain at least one set of corrected compensation multiple, at least one set of corrected compensation multiple may be stored, and a corresponding relationship among a screen refreshing frequency, screen brightness characteristic information, and compensation multiple is established, where the screen brightness characteristic information is used to characterize whether brightness of a screen is located in a range of a pulse width modulation interval.
The corresponding relation is the corresponding relation among the screen refreshing frequency, the screen brightness characteristic information and the compensation multiple. For example, taking a case that the screen refresh frequency includes a first preset refresh frequency (e.g. 60 HZ) and a second preset refresh frequency (e.g. 90 HZ), and at least one set of correction compensation factors includes a first correction compensation factor, a second correction compensation factor, and a third correction compensation factor as an example, a correspondence relationship may be established, where when the screen refresh frequency is the first preset refresh frequency and the screen brightness characteristic information indicates that the brightness of the screen is not in the pulse width modulation interval, the compensation factor corresponding to the case may be an original compensation factor, when the screen refresh frequency is the first preset refresh frequency and the screen brightness characteristic information indicates that the brightness of the screen is in the pulse width modulation interval, the compensation factor corresponding to the case may be a first correction compensation factor, when the screen refresh frequency is the second preset refresh frequency and the screen brightness characteristic information indicates that the brightness of the screen is in the pulse width modulation interval, the compensation factor corresponding to the case may be a second correction compensation factor, and when the screen refresh frequency is the second preset frequency and the screen brightness characteristic information indicates that the brightness of the screen is in the pulse width modulation interval, the compensation factor corresponding to the case may be a third correction factor.
Wherein the current display parameter information comprises current brightness information and current refresh frequency,
Accordingly, step 103 may include determining, according to the current brightness information, whether the current brightness of the screen is within the range of the pwm interval, so as to obtain the current brightness characteristic information of the screen;
acquiring a corresponding relation among screen refreshing frequency, screen brightness characteristic information and compensation multiples;
and determining target compensation multiples according to the corresponding relation, the current refreshing frequency and the current screen brightness characteristic information.
It can be understood that in the corresponding relationship, compensation multiples corresponding to the same screen refreshing frequency and different screen brightness characteristic information may be different, compensation multiples corresponding to the same screen brightness characteristic information may be different for different screen refreshing frequencies, and compensation multiples corresponding to different screen brightness characteristic information may be different for different screen refreshing frequencies.
Specifically, first, according to the current brightness information, it is determined whether the current brightness of the screen is within the pwm interval range, for example, the preset pwm interval range may be set to [0,110nit ], if the current brightness information is 50nit, the current brightness of the screen is within the pwm interval range, and if the current brightness information is 150nit, the current brightness of the screen is not within the pwm interval range. And inquiring the corresponding relation according to the current screen brightness characteristic information and the current refreshing frequency, thereby determining the target compensation multiple. For example, the original compensation multiple may be determined as the target compensation multiple, for example, where the current refresh frequency is the first preset refresh frequency and the current screen brightness characteristic information characterizes that the brightness of the screen is not within the range of the pwm interval. Therefore, the determined target compensation multiple is adaptive to the current screen refreshing frequency and the current screen brightness, so that the screen adjusting effect can be improved, and the uniformity of the screen brightness can be improved.
In this disclosure, before adjusting the brightness of the screen according to the target compensation multiple in step 104, the method may further include:
acquiring the current compensation multiple of the screen;
and executing the step of adjusting the brightness of the screen according to the target compensation multiple under the condition that the current compensation multiple is different from the target compensation multiple.
For example, the current compensation factor may be represented by a static variable G, which may represent, for example, an original compensation factor when the value is 0, a first correction compensation factor when the value is 1, a second correction compensation factor when the value is 2, and a third correction compensation factor when the value is 3.
The value of the static variable may be first obtained to determine the current compensation factor for the screen before generating the adjustment command based on the target compensation factor. And if the determined target compensation multiple is the same as the current compensation multiple, continuing to adjust the brightness of the screen by adopting the current compensation multiple, and if the determined target compensation multiple is different from the current compensation multiple, executing the step of adjusting the brightness of the screen according to the target compensation multiple so as to adjust the brightness of the screen according to the target compensation multiple, and simultaneously modifying the static variable G.
Based on the same inventive concept, the present disclosure also provides a screen brightness adjusting apparatus, fig. 3 is a block diagram of a screen brightness adjusting apparatus according to an exemplary embodiment, and as shown in fig. 3, the apparatus 300 may include:
A first obtaining module 301, configured to obtain an original compensation multiple for eliminating uneven brightness of a screen and at least one set of correction compensation multiples corresponding to the original compensation multiple;
A second obtaining module 302, configured to obtain current display parameter information of a screen in response to receiving a display parameter switching instruction for the screen;
A determining module 303, configured to determine a target compensation multiple from the original compensation multiple and the at least one set of corrected compensation multiple according to the current display parameter information;
and the adjusting module 304 is configured to adjust the brightness of the screen according to the target compensation multiple.
According to the technical scheme, the original compensation multiple used for eliminating uneven brightness of the screen and at least one group of correction compensation multiple corresponding to the original compensation multiple are obtained, the current display parameter information of the screen is obtained in response to receiving a display parameter switching instruction aiming at the screen, the target compensation multiple is determined from the original compensation multiple and the at least one group of correction compensation multiple according to the current display parameter information, and the brightness of the screen is adjusted according to the target compensation multiple. Therefore, the original compensation multiple and the correction compensation multiple can be used for adjusting the screen, when the uneven brightness of the screen is eliminated, the current display parameter information of the screen is considered, the determined target compensation multiple is adaptive to the current display parameter information, the screen adjusting effect can be improved, and the uniformity of the brightness of the screen is improved.
Optionally, the original compensation multiple includes a plurality of byte values, and the at least one set of corrected compensation multiples is obtained by:
The dividing module is used for dividing the original compensation multiple into a plurality of byte groups, wherein each byte group comprises at least one byte value, and each byte group is respectively used for adjusting the brightness of different positions of the screen;
and the correction module is used for correcting byte values in each byte group into specified byte values corresponding to the byte groups so as to obtain the correction compensation multiple.
Optionally, the first obtaining module is configured to obtain, in response to the first power-on of the terminal where the screen is located, a pre-stored original compensation multiple for eliminating the uneven brightness of the screen.
Optionally, the current display parameter information includes current brightness information and current refresh frequency;
The determining module 303 includes:
the first determining submodule is used for determining whether the current brightness of the screen is in the range of the pulse width modulation interval according to the current brightness information so as to obtain current screen brightness characteristic information;
the acquisition sub-module is used for acquiring the corresponding relation among the screen refreshing frequency, the screen brightness characteristic information and the compensation multiple;
And the second determining submodule is used for determining the target compensation multiple according to the corresponding relation, the current refreshing frequency and the current screen brightness characteristic information.
Optionally, the apparatus 300 further comprises:
The third acquisition module is used for acquiring the current compensation multiple of the screen before the adjustment module adjusts the brightness of the screen according to the target compensation multiple;
the adjusting module 304 is configured to perform the step of adjusting the brightness of the screen according to the target compensation multiple if the current compensation multiple is different from the target compensation multiple.
Optionally, the screen is an organic light emitting diode screen.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the screen brightness adjustment method provided by the present disclosure.
Fig. 4 is a block diagram illustrating an apparatus 800 for screen brightness adjustment according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to FIG. 4, the apparatus 800 may include one or more of a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the screen brightness adjustment method described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, a volume button, an activate button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the screen brightness adjustment methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the screen brightness adjustment method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned screen brightness adjustment method when being executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111235916.1A CN113971064B (en) | 2021-10-22 | 2021-10-22 | Screen brightness adjustment method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111235916.1A CN113971064B (en) | 2021-10-22 | 2021-10-22 | Screen brightness adjustment method, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113971064A CN113971064A (en) | 2022-01-25 |
CN113971064B true CN113971064B (en) | 2025-03-04 |
Family
ID=79588046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111235916.1A Active CN113971064B (en) | 2021-10-22 | 2021-10-22 | Screen brightness adjustment method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113971064B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114577498B (en) * | 2022-02-28 | 2024-05-14 | 北京小米移动软件有限公司 | Method and device for testing torque compensation parameters of air conditioner |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109559682A (en) * | 2017-09-25 | 2019-04-02 | 上海和辉光电有限公司 | A kind of gray level compensation method of organic light emitting display panel, device and system |
CN110148375A (en) * | 2019-06-28 | 2019-08-20 | 云谷(固安)科技有限公司 | The mura compensation method of display panel and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106157926A (en) * | 2015-03-23 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of method and device regulating brightness of display screen |
CN107068114B (en) * | 2017-04-24 | 2019-04-30 | 北京小米移动软件有限公司 | Screen color method of adjustment, device, equipment and storage medium |
US10380975B2 (en) * | 2017-08-25 | 2019-08-13 | HKC Corporation Limited | Optimization method and device for brightness compensation data volume |
-
2021
- 2021-10-22 CN CN202111235916.1A patent/CN113971064B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109559682A (en) * | 2017-09-25 | 2019-04-02 | 上海和辉光电有限公司 | A kind of gray level compensation method of organic light emitting display panel, device and system |
CN110148375A (en) * | 2019-06-28 | 2019-08-20 | 云谷(固安)科技有限公司 | The mura compensation method of display panel and device |
Also Published As
Publication number | Publication date |
---|---|
CN113971064A (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104599642B (en) | Backlight control method and backlight control device | |
US11100872B2 (en) | Method and apparatus for display mode switching based on ambient light | |
CN113257162B (en) | Screen brightness adjusting method and device and storage medium | |
WO2017024728A1 (en) | Method and device for reducing display brightness | |
CN104766574A (en) | Color temperature regulating method and device | |
CN108492767A (en) | Prevent the method, apparatus and storage medium of display burn-in | |
CN106843666B (en) | method and device for adjusting display interface | |
CN113470571B (en) | Brightness compensation method and device, electronic equipment and computer readable storage medium | |
CN113257177B (en) | Brightness control method and device and electronic equipment | |
CN111341254B (en) | Brightness adjusting method and device of display screen | |
CN113971064B (en) | Screen brightness adjustment method, device and computer readable storage medium | |
CN111131596B (en) | Screen brightness adjusting method and device | |
CN111383568B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
CN111383608B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN108538261B (en) | Display control method and device and display equipment | |
WO2016112730A1 (en) | Method and device for adjusting display brightness | |
CN207895835U (en) | Array substrate, electronic equipment | |
CN114822416B (en) | Driving method, driving device, terminal device and storage medium | |
CN111381407A (en) | Display panel, display device, scanning method and device | |
CN115472133A (en) | Display panel control method and device, electronic equipment and storage medium | |
CN107958652A (en) | Array base palte, electronic equipment | |
CN115798394A (en) | Brightness adjustment method, device and storage medium | |
WO2020062456A1 (en) | Oled display method and device | |
CN111833788B (en) | Screen dimming method and device, terminal and storage medium | |
CN114265534B (en) | Display method and device of screen locking interface, electronic equipment 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |