CN114038433A - Screen control method and device, electronic equipment and storage medium - Google Patents

Screen control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114038433A
CN114038433A CN202111396660.2A CN202111396660A CN114038433A CN 114038433 A CN114038433 A CN 114038433A CN 202111396660 A CN202111396660 A CN 202111396660A CN 114038433 A CN114038433 A CN 114038433A
Authority
CN
China
Prior art keywords
screen
brightness
level
target
backlight
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.)
Granted
Application number
CN202111396660.2A
Other languages
Chinese (zh)
Other versions
CN114038433B (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 CN202111396660.2A priority Critical patent/CN114038433B/en
Publication of CN114038433A publication Critical patent/CN114038433A/en
Application granted granted Critical
Publication of CN114038433B publication Critical patent/CN114038433B/en
Active 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
    • G09G3/34Control 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 by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/02Improving the quality of display appearance
    • G09G2320/0247Flicker reduction other than flicker reduction circuits used for single beam cathode-ray tubes
    • 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/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application discloses a screen control method, a screen control device, electronic equipment and a storage medium, wherein the screen control method is applied to the electronic equipment, the electronic equipment comprises a screen, and the screen control method comprises the following steps: responding to a brightness adjusting instruction of the screen, determining a backlight grade to be adjusted to the screen as a target grade, and performing brightness adjusting operation on display content; obtaining the effective delay time of the adjustment when the backlight level of the screen is adjusted; and controlling the backlight level of the screen to be adjusted to the target level, and executing the brightness adjustment operation after the delay time length. The method can expand the brightness level of the screen, avoid the problem of screen flashing during brightness adjustment and improve the display effect of the screen.

Description

Screen control method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of display technologies, and in particular, to a screen control method and apparatus, an electronic device, and a storage medium.
Background
With the rapid progress of the technology level and the living standard, electronic devices (such as mobile phones, tablet computers, etc.) have become one of the most common consumer electronic products in people's daily life. The screen is a portion of the electronic device for displaying a user interface, and when adjusting the brightness of the screen, the brightness adjustment is generally implemented by adjusting the backlight level of the screen. However, the number of backlight levels of the screen is usually small, which results in that the brightness variation of the screen is not smooth enough, and the display effect of the screen is affected.
Disclosure of Invention
In view of the foregoing problems, the present application provides a screen control method, an apparatus, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present application provides a screen control method, which is applied to an electronic device, where the electronic device includes a screen, and the method includes: responding to a brightness adjusting instruction of the screen, determining a backlight grade to be adjusted to the screen as a target grade, and performing brightness adjusting operation on display content; obtaining the effective delay time of the adjustment when the backlight level of the screen is adjusted; and controlling the backlight level of the screen to be adjusted to the target level, and executing the brightness adjustment operation after the delay time length.
In a second aspect, an embodiment of the present application provides a screen control method, which is applied to an electronic device, where the electronic device includes a screen, and the method includes: responding to a brightness adjusting instruction for the screen, and determining a backlight level to which the screen is to be adjusted as a target level; determining target adjustment operation corresponding to the brightness adjustment instruction from the preset number of brightness adjustment operations corresponding to the target level; and controlling the backlight level of the screen to be adjusted to the target level, and performing the target adjustment operation on the display content.
In a third aspect, an embodiment of the present application provides a screen control apparatus, which is applied to an electronic device, where the electronic device includes a screen, and the apparatus includes: the display device comprises a first instruction response module, a time acquisition module and a first brightness adjustment module, wherein the first instruction response module is used for responding to a brightness adjustment instruction of the screen, determining a backlight grade to be adjusted to the screen as a target grade, and performing brightness adjustment operation on display content; the time acquisition module is used for acquiring the effective delay time of the adjustment when the backlight level of the screen is adjusted; the first brightness adjusting module is used for controlling the backlight grade of the screen to be adjusted to the target grade and executing the brightness adjusting operation after the delay time length.
In a fourth aspect, an embodiment of the present application provides a screen control apparatus, which is applied to an electronic device, where the electronic device includes a screen, and the apparatus includes: the display device comprises a second instruction response module, an operation determination module and a second brightness adjustment module, wherein the second instruction response module is used for responding to a brightness adjustment instruction of the screen and determining a backlight grade to which the screen is to be adjusted as a target grade; the operation determining module is used for determining target adjusting operation corresponding to the brightness adjusting instruction from the preset number of brightness adjusting operations corresponding to the target grade; the second brightness adjusting module is used for controlling the backlight grade of the screen to be adjusted to the target grade and carrying out the target adjusting operation on the display content.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the screen control method provided by the first aspect above.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the screen control method provided in the first aspect.
According to the scheme provided by the application, the backlight grade to be adjusted to the screen is determined as the target grade in response to the brightness adjusting instruction for the screen, the effective delay time length is adjusted when the backlight grade of the screen is adjusted through the brightness adjusting operation for the display content, the backlight grade of the screen is controlled to be adjusted to the target grade, and the brightness adjusting operation is executed after the delay time length. Therefore, the adjustment based on the backlight grade and the brightness adjustment of the display content can be realized, the display brightness of the screen is adjusted, and the brightness grade of the screen is effectively expanded; and when the backlight grade is adjusted and the brightness of the display content is adjusted, the adjustment of the backlight grade and the brightness adjustment of the display content are synchronized according to the effective delay time of the backlight grade adjustment, so that the problem of screen flashing during the brightness adjustment of the screen is avoided, and the display effect of the screen is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of a backlight curve provided by an embodiment of the present application.
FIG. 2 shows a flow diagram of a screen control method according to one embodiment of the present application.
Fig. 3 shows a schematic diagram of a Gamma curve provided in the embodiment of the present application.
Fig. 4 shows another schematic diagram of a backlight curve provided by the embodiment of the present application.
FIG. 5 shows a flow diagram of a screen control method according to another embodiment of the present application.
Fig. 6 is a diagram illustrating a designated queue according to another embodiment of the present application.
Fig. 7 is a control diagram of a designated queue according to another embodiment of the present application.
Fig. 8 is a schematic diagram illustrating a screen control method according to another embodiment of the present application.
FIG. 9 shows a flow diagram of a screen control method according to yet another embodiment of the present application.
Fig. 10 shows a flow chart of a screen control method according to yet another embodiment of the present application.
FIG. 11 shows a flow diagram of a screen control method according to yet another embodiment of the present application.
FIG. 12 shows a block diagram of a screen control device according to an embodiment of the present application.
FIG. 13 shows another block diagram of a screen control device according to one embodiment of the present application.
Fig. 14 is a block diagram of an electronic device for executing a screen control method according to an embodiment of the present application.
Fig. 15 is a storage unit for storing or carrying program codes for implementing a screen control method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The screen of most electronic devices on the market is linear backlight, that is, the brightness (in nit value) is proportional to the physical backlight level of the screen, but linear exponential backlight has a problem, and due to weber's law, the brightness jitter problem occurs in a low-brightness area. To solve this problem, some display panels are developed as an index backlight from a technical point of view. Fig. 1 shows a schematic diagram of an exponential backlight, wherein the abscissa is the backlight level and the ordinate is the luminance (nit value), and it can be seen from fig. 1 that the nit value and the backlight level are exponentially changed as a whole, so that the jitter problem at low luminance can be optimized.
Wherein weber's law is a law discovered by german physiologist e.h. weber through research on weight difference sensation, that is, the difference threshold of sensation varies with the change of original stimulation amount and shows a certain regularity, the ratio of stimulation increment (Δ I) and original stimulation value (I) is a constant (K), and the constant is expressed by a formula, that is, K ═ Δ I/I, and is called weber constant, weber score or weber ratio. The screen brightness also conforms to weber's law: the brightness is also a stimulus quantity, the weber constant of the brightness is different for the cone cells and the rod cells, and when the weber constant of the brightness is larger than 0.02, human eyes can feel backlight jitter. While the backlight level of most screens is linear, the weber constant at low brightness levels can be greater than 0.02, and thus jitter problems can arise.
The inventor has studied for a long time and found that although the hardware index backlight can optimize the jitter problem at the time of low luminance to some extent, since the physical backlight level of a general screen does not exceed 4096 levels at the maximum, the luminance level range of the physical backlight is insufficient within the same nit value range, the luminance variation of the screen is not smooth enough, and the display effect of the screen is affected.
In view of the above problems, the inventor proposes a screen control method, an apparatus, an electronic device, and a storage medium provided in the embodiments of the present application, which can implement adjustment based on a backlight level and brightness adjustment of display content, adjust display brightness of a screen, and effectively expand the brightness level of the screen; and when the backlight grade is adjusted and the brightness of the display content is adjusted, the adjustment of the backlight grade and the brightness adjustment of the display content are synchronized according to the effective delay time of the backlight grade adjustment, so that the problem of screen flashing during the brightness adjustment of the screen is avoided, and the display effect of the screen is improved. The specific screen control method is described in detail in the following embodiments.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a screen control method according to an embodiment of the present application. In a specific embodiment, the screen control method is applied to the screen control device 400 as shown in fig. 12 and the electronic apparatus 100 (fig. 14) equipped with the screen control device 400. The following will describe a specific flow of the present embodiment by taking an electronic device as an example. The electronic device includes a screen, which may be a self-luminous screen such as an organic light-emitting diode (OLED) screen, for example, an Active-matrix OLED (AMOLED) screen, a Passive-matrix OLED (PMOLED) screen, and the like, without limitation. Of course, it can be understood that the electronic device applied in the embodiment may be a smart phone, a tablet computer, a smart watch, a notebook computer, and the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 2, the screen control method may specifically include the following steps:
step S110: and responding to a brightness adjusting instruction of the screen, determining a backlight level to which the screen is to be adjusted as a target level, and performing brightness adjusting operation on display content.
In the embodiment of the application, when detecting a brightness adjustment instruction for adjusting the brightness of a screen, an electronic device responds to the brightness adjustment instruction, determines a backlight level to which the screen corresponding to the brightness adjustment instruction is to be adjusted as a target level, and performs brightness adjustment operation for adjusting the brightness of display content corresponding to the brightness adjustment instruction. It can be understood that, when the electronic device adjusts the brightness of the screen, the backlight level and the brightness of the display content may be adjusted at the same time, so that the backlight level of the electronic device and the different brightness of the display content can be combined to form more brightness, and further the brightness level is expanded. The backlight level of the screen may refer to a physical backlight level of the screen, that is, a backlight level defined by a manufacturer before the screen leaves a factory.
In some embodiments, the electronic device may store correspondence between different brightness levels of the screen and backlight levels and brightness adjustment operations, that is, one brightness level corresponds to one backlight level and a brightness adjustment operation on display content; when the electronic equipment determines the backlight level to which the screen is to be adjusted and the brightness adjustment operation of the display content, the electronic equipment can determine the brightness level to which the brightness adjustment instruction is correspondingly adjusted according to the brightness adjustment instruction; according to the corresponding relation between different brightness levels of the screen and the backlight level and the brightness adjustment operation, the backlight level and the brightness adjustment operation corresponding to the screen brightness to be adjusted can be determined, and the determined backlight level is used as the target level. It can be understood that the actual brightness of the screen is determined by the backlight value corresponding to the backlight level and the brightness of the display content, so that the corresponding relationship between different brightness levels of the screen and the backlight level and the brightness adjustment operation can be pre-constructed, and the brightness adjustment operation is used for performing brightness adjustment on the display content, so that different brightness can be presented after the display content is adjusted under different backlight levels, that is, different brightness levels are realized. It should be noted that the brightness level presented after the brightness adjustment operation is performed on the display content at each backlight level is different from the brightness level presented after the brightness adjustment operation is performed at other backlight levels, so that it is ensured that the brightness combination with the display content at different backlight levels can be performed, thereby forming different brightness levels at each backlight level, and further achieving the purpose of expanding the brightness levels.
In one possible embodiment, the brightness adjustment operation on the display content may include a plurality of brightness reduction operations for reducing the display content for each backlight level, and the brightness reduction ratios corresponding to the different brightness reduction operations are different. The brightness of the screen is mainly determined by the backlight level, that is, for the backlight level with a relatively low level, even if the brightness reduction operation is not performed on the display content, the brightness level is lower than the brightness level that can be presented by the backlight level with a higher level. Therefore, originally, each backlight grade is combined with the corresponding different brightness reduction operation, different new brightness grades under each backlight grade can be formed, and the brightness grade is further expanded. For example, as shown in the following table, which shows the luminance levels that can be formed at backlight level 1 and backlight level 2,
Figure BDA0003370561890000061
the brightness levels corresponding to the brightness level 1, the brightness level 2, the brightness level 3, the brightness level 4, the brightness level 5 and the brightness level 6 are sequentially increased, the backlight level 2 is higher than the backlight level 1, and the second proportion is larger than the first proportion. It can be seen that when the brightness reduction operation includes an operation of reducing brightness in two different proportions, each backlight level can be expanded to 3 brightness levels, and the number of levels of the brightness levels can be effectively expanded compared with a mode in which the backlight level corresponds to 1 brightness level in the related art; and when the backlight grade is higher, the achievable brightness grade is relatively higher, and only different brightness grades can be combined with the brightness reduction operation under each backlight grade, so that a basis for determining the backlight grade and the brightness adjustment operation is provided when the brightness of the screen is adjusted. Of course, the luminance levels that can be formed at only two backlight levels are shown in the above table, and there are two luminance reduction operations at each backlight level, and the luminance levels that can be formed at other backlight levels and more luminance reduction operations at each backlight level can also be set with reference to this manner.
Optionally, the brightness adjustment instruction may carry a brightness adjustment amplitude, the brightness level to be adjusted may be determined according to the brightness adjustment amplitude, and after the brightness level to be adjusted is determined according to the brightness level to be adjusted, the corresponding backlight level and the brightness adjustment operation may be determined according to the brightness level to be adjusted.
Of course, the electronic device responds to the brightness adjustment instruction, the backlight grade to be adjusted to the screen and the brightness adjustment operation mode of the display content are determined without limitation, and only the fact that each backlight grade can form different brightness grades with different brightness of the display content is required to be ensured, the determined backlight grade and the brightness adjusted correspondingly by the brightness adjustment operation can be combined, and the brightness required by the brightness adjustment instruction is achieved.
In some embodiments, the brightness adjustment instruction detected by the electronic device may be that the electronic device detects, in a user interface, an adjustment operation of the screen brightness by a user, and then acquires the brightness adjustment instruction. Optionally, when the electronic device displays the screen brightness adjustment interface, when the adjustment operation of the screen brightness by the user is detected, the brightness adjustment instruction corresponding to the adjustment operation may be determined, so as to adjust the brightness level of the screen, and meet the requirement of the user on adjusting the screen brightness; optionally, the electronic device may include different screen brightness modes, where the brightness level corresponding to each screen brightness mode is different, for example, the screen brightness modes may include a standard mode, a vivid mode, an eye protection mode, and the like, and the electronic device may determine, according to a switching operation of a user for the screen brightness mode, a brightness adjustment instruction corresponding to the screen brightness mode to which the electronic device is switched. Of course, the specific manner of determining the brightness adjustment instruction by the electronic device according to the user operation is not limited, and the corresponding brightness adjustment instruction may also be determined according to the adjustment operation performed by the user on the brightness of the screen in other scenes.
In some embodiments, the above brightness adjustment instruction may also be generated when the electronic device actively performs brightness adjustment of the screen. Optionally, the electronic device may be provided with a detection device for detecting ambient light brightness, for example, a brightness sensor for detecting ambient light brightness, and when the detected ambient light brightness changes, the electronic device may generate a corresponding brightness adjustment instruction when controlling the brightness of the screen according to the changed ambient light brightness. Optionally, when the electronic device runs different applications, because the screen brightness required by the applications themselves is different, when the electronic device switches the running applications, the electronic device may also generate the corresponding brightness adjustment instruction according to the screen brightness required by the applications. Of course, the specific manner in which the electronic device actively generates the brightness adjustment instruction may not be limited.
Step S120: and obtaining the effective delay time when the backlight level of the screen is adjusted.
In the embodiment of the present application, it is considered that for most screens, the adjustment of the backlight level of the screen is not immediately effective, but is performed after a certain time, that is, the backlight level adjustment of the screen has a delay time for the adjustment to be effective. However, the adjustment of the brightness of the display content is usually immediately effective, so that when the electronic device performs the adjustment of the backlight level and the brightness of the display content, the delay duration for the adjustment of the backlight level of the screen, which is effective in the adjustment, can be obtained, so as to control the adjustment of the backlight level and the adjustment of the display content according to the delay duration, thereby ensuring that the two adjustments can be synchronously effective and avoiding the problem of screen flashing.
In some embodiments, the electronic device may store a delay time length for enabling adjustment of the backlight level corresponding to the screen to be effective, and when the electronic device needs to adjust the backlight level of the screen and the brightness of the display content at the same time each time the brightness of the screen is adjusted, the delay time length may be read so as to control the adjustment of the backlight level and the adjustment of the display content according to the delay time length.
As a possible implementation manner, the delay duration of the adjustment effect when the backlight level of the screen is adjusted may be stored in the electronic device before the electronic device leaves the factory. Therefore, when different screens are installed in the electronic equipment, accurate delay time is stored in the electronic equipment, so that the adjustment of the backlight level and the adjustment of the display content can be effectively ensured to be synchronously effective.
As another possible implementation, the backlight level of the screen may also be the delay time length detected after the electronic device performs the backlight level adjustment during operation. For example, the electronic device may perform the adjustment of the backlight level after first powering on, and detect a delay period for the adjustment to take effect. After detecting the delay time, the electronic device may store the delay time.
Of course, the source of the delay time may not be limited, and for example, the delay time may also be obtained from a server corresponding to a screen manufacturer of a screen after the electronic device is powered on and networked.
Step S130: and controlling the backlight level of the screen to be adjusted to the target level, and executing the brightness adjustment operation after the delay time length.
In the embodiment of the present application, after determining the backlight level to which the screen is to be adjusted as the target level, the brightness adjustment operation on the display content, and the delay time for the backlight level adjustment to be effective, the electronic device may perform the backlight level adjustment and the brightness adjustment on the display content according to the delay time. The electronic device may first perform adjustment of the backlight level of the screen, control the backlight level of the screen to be adjusted to a target level, and perform the brightness adjustment operation after performing the adjustment of the backlight level and spacing the delay time, that is, adjust the brightness of the display content. Therefore, the backlight grade adjustment and the brightness adjustment of the display content can be ensured to be synchronously effective according to the characteristic of the backlight grade adjustment of the screen, and the problem of screen flashing is avoided.
In some embodiments, the electronic device may perform timing when performing the backlight level adjustment of the control screen to the target level, and perform the brightness adjustment operation when the timing duration reaches the delay duration, thereby ensuring that the backlight level adjustment and the brightness adjustment of the display content can be performed synchronously.
In some embodiments, the electronic device adjusts the brightness of the display content, which may be adjusted by a Polynomial Color Correction (PCC) matrix. Specifically, the electronic device performs a brightness adjustment operation, which may include: and adjusting the content brightness of the display content to the target brightness based on the PCC matrix corresponding to the brightness adjusting operation.
The PCC is a hardware module, and the change of RGB of the display content can be realized by writing the PCC matrix into the hardware module, for example, the eye protection mode in the smart phone is realized by the PCC. A PCC matrix is understood to be a color matrix, a color may be represented by R, G, B, a representing transparency and default 1, R representing a red component, G representing a green component, B representing a blue component. It can be understood that each frame is composed of a series of pixels, each pixel data is composed of RGB, the multiplication of the RGB of the display content and the PCC matrix affects the final output RGB, and the RGB of the self-luminous screen display content affects its luminous intensity, thereby affecting the screen brightness.
For example, the PCC matrix may be as follows:
Figure BDA0003370561890000091
if the RGB value of a certain pixel is (255 ), the multiplication by the PCC matrix becomes:
R:255*0.98=249.9
G:255*0.90=229.5
B:255*0.90=229.5
it can be seen that the PCC matrix may change the RGB values of the output, and the change of one set of RGB may change the gray level of the display content, thereby changing the brightness of the display content. And performing brightness adjustment operation on the display content, namely setting diagonal elements in the PCC matrix according to different brightness adjustment operations, thereby achieving different adjustment effects on the brightness of the display content.
In other embodiments, the electronic device adjusts the brightness of the display content by changing a Gamma (Gamma) value of the screen. Specifically, the electronic device performs a brightness adjustment operation, which may include: and adjusting the gamma value of the screen to a target gamma value corresponding to the brightness adjustment operation so as to adjust the content brightness of the display content to the target brightness.
It is understood that the Gamma curve is a special tone curve, and when the Gamma value is equal to 1, the curve is a straight line forming 45 degrees with the coordinate axis, and at this time, the input and output densities are the same; gamma values above 1 will cause the output to be bright and Gamma values below 1 will cause the output to be dark. Since a gray scale is a combination of a set of RGB, the Gamma curve is a light system of luminance and gray scale, as shown in fig. 3, curve K is a curve with a Gamma value of 1, and curve L is a curve with a Gamma value of 2.2. Therefore, the required adjustment of the brightness of the display content can be realized by adjusting the Gamma value of the screen.
Of course, the manner in which the electronic device adjusts the brightness of the display content may not be limited. For example, the electronic device may also adjust the brightness of the display content through an HSV (Hue, Saturation, brightness) color space model.
Referring to fig. 4, fig. 4 shows a schematic diagram of a backlight curve after brightness level expansion provided in the embodiment of the present application, and it can be seen that the backlight curve after brightness level expansion is exponential, the backlight level of the low-brightness region a1 is relatively gentle, and the ratio of increase or decrease of nit of adjacent brightness is not more than 2%, which greatly optimizes the jitter problem.
The screen control method provided by the embodiment of the application can realize the adjustment of the display brightness of the screen based on the adjustment of the backlight grade and the brightness adjustment of the display content, thereby effectively expanding the brightness grade of the screen; and when the backlight grade is adjusted and the brightness of the display content is adjusted, the adjustment of the backlight grade and the brightness adjustment of the display content are synchronized according to the effective delay time of the backlight grade adjustment, so that the problem of screen flashing during the brightness adjustment of the screen is avoided, and the display effect of the screen is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a screen control method according to another embodiment of the present application. The screen control method is applied to the electronic device, the electronic device includes a screen, and the following will be described in detail with respect to the flow shown in fig. 5, where the screen control method specifically includes the following steps:
step S210: and responding to a brightness adjusting instruction of the screen, determining a backlight level to which the screen is to be adjusted as a target level, and performing brightness adjusting operation on display content.
Step S220: and obtaining the effective delay time when the backlight level of the screen is adjusted.
In the embodiment of the present application, step S210 and step S220 may refer to the contents of other embodiments, and are not described herein again.
Step S230: adjusting the backlight level of the screen to the target level at a time of the current image frame of the display content.
In the embodiment of the present application, the electronic device controls the timing of adjusting the backlight level and the display content to ensure that when the adjustment of the backlight level and the adjustment of the display content take effect synchronously, the adjustment of the backlight level of the screen may be performed at the time of displaying the current image frame on the screen, that is, the current time, so as to adjust the backlight level of the screen to the target level.
Step S240: and executing the brightness adjustment operation at the moment of a target image frame after the current image frame, wherein the duration of an interval between the target image frame and the current image frame is matched with the delay duration.
In this embodiment, after the electronic device performs the adjustment of the backlight level of the screen at the time of the current image frame, the electronic device may perform the brightness adjustment operation at the time of a target image frame after the current image frame to adjust the brightness of the display content. The target image frame may be determined based on the delay time, and the electronic device may determine, according to the time of the current image frame, an image frame that is correspondingly displayed after the interval of the delay time as the target image frame, and perform the brightness adjustment operation at the time of the target image frame, thereby ensuring that the brightness adjustment operation on the display content is performed after the adjustment of the backlight level is controlled and after the interval of the delay time, thereby ensuring that the adjustment of the backlight level and the adjustment of the display content take effect synchronously.
In some embodiments, the electronic device may synchronize the adjustment of the backlight level with the brightness adjustment of the display content based on a First-in-First-out (FIFO) data structure, which refers to a method for processing program work requests issued from a queue or stack, such that the earliest request is processed First. After determining the brightness adjustment operation on the display content, the electronic device may sequentially generate the brightness adjustment operation corresponding to each frame of image frames of the display content to ensure that each frame of image frames after subsequent adjustment is subjected to the brightness adjustment operation, so as to realize the required brightness in combination with the adjusted backlight level; the electronic equipment can buffer the designated adjusting instruction corresponding to each frame of image frame in a designated queue, wherein the designated queue is a first-in first-out (FIFO) queue; the electronic equipment executes brightness adjustment operation corresponding to each frame of image in the designated queue at the current image frame and at the moment of a target image frame after the current image frame. After the electronic equipment determines the brightness adjustment operation on the display content, the brightness adjustment operation corresponding to each frame of image frame is generated, and the brightness adjustment operation of each frame of image frame is buffered in the FIFO queue, so that the brightness adjustment operation can be executed after delaying the delay time relative to the adjustment of the backlight brightness based on the time for delaying the execution of the brightness adjustment operation, and the synchronization of the adjustment of the backlight level and the brightness adjustment of the display content is ensured. The number of brightness adjustment operations buffered in the designated queue may not be limited.
Alternatively, when the brightness of the display content is adjusted by the PCC matrix, a FIFO queue of PCCs may be established, and after determining that the backlight level to which the screen is to be adjusted is a target level and the PCC matrix corresponding to the brightness adjustment operation, the backlight level of the control screen may be adjusted to the target level, and the PCC matrix corresponding to each frame of image frame may be buffered in the FIFO queue of the PCC, for example, as shown in fig. 6, each PCC matrix may be buffered in the FIFO queue of the PCC. Therefore, the PCC matrix corresponding to each frame of image frames in the FIFO queue may be issued after the delay time interval at the time of performing the adjustment of the backlight level relatively, so as to implement the brightness adjustment of each frame of image frames, thereby ensuring the synchronization of the adjustment of the backlight level and the brightness adjustment of the display content.
For example, if the adjustment of the backlight level of the screen is performed every other frame (that is, the current frame performs the adjustment of the backlight level, and the adjusted backlight level is performed in the next frame), the PCC matrix is buffered in the FIFC queue, and the timing for starting to issue the PCC matrix in the FIFC queue is controlled, so that the adjusted backlight level and the PCC matrix can be performed in the same frame, and the adjustment of the backlight level and the brightness adjustment of the display content are synchronized. As shown in FIG. 7, the backlight level a and PCC [1] constitute a brightness level, because the backlight level a needs to be validated every other frame, and therefore, the backlight level a will be validated at frame1, and after the FIFO mechanism, PCC [1] will also be validated at frame1, which ensures the synchronization of the two, and avoids the problem of screen flicker.
In one possible implementation, the adjustment of the backlight level and the timing of the issuing of the matrix may be controlled by a display Hardware processing module (HWC). As shown in fig. 8, the surface flag may issue the obtained backlight level and the PCC matrix to the HWC, and the HWC controls adjustment of the backlight level and issuance timing of the matrix, and the data stream passes through a CRT Controller (CRTC) thread of the display driving kernel, and the physical backlight corresponding to the backlight level is updated to the screen through a register write 51, and the PCC takes effect at the platform end, so as to change the display content, and the two jointly affect the actual display brightness of the screen.
Specifically, the apollo server (apollo service) takes over all the brightness adjustment instructions of the User Interface (UI); the apollo server and the surface flag communicate through a binder, and a 51 backlight value (backlight level) and a PCC value (parameter of a PCC matrix) corresponding to the brightness adjusting instruction are packaged into a structural body and transmitted to the surface flag; a Queue mechanism is established between the apollo server and the SurfaceFlinger to prevent the brightness adjustment request of the UI from being consumed by the SurfaceFlinger immediately; the SurfaceFlinger receives the backlight value and the PCC value and simultaneously issues the backlight value and the PCC value to the HWC in a main thread of the SurfaceFlinger; the HWC controls 51 the sending timing of the backlight value and the PCC value through a FIFO mechanism (buffering the PCC value in a FIFO queue), so that the backlight value and the PCC value take effect in the same frame of image frame according to the characteristics of the screen itself; after the backlight value and the PCC value of the same sequence are obtained by a display driver, the backlight value and the PCC value are normally carried out according to the original frame refreshing frame without being modified, and the adjusted backlight level and the brightness adjustment of the image frame through the PCC value can be ensured to be effective at the same time.
Of course, when the brightness of the display content is adjusted by another method, the above-described method may be referred to. For example, when the brightness of the display content is adjusted by the gamma value, the gamma value corresponding to each frame of image displayed may be buffered in the designated queue, and at the time of adjusting the backlight level, after the delay time interval, the gamma value in the designated queue is issued to adjust the gamma value of the screen, so as to achieve synchronization between the adjustment of the backlight level and the brightness adjustment of the display content.
According to the screen control method provided by the embodiment of the application, when the backlight grade is adjusted and the brightness of the display content is adjusted, the adjustment of the backlight grade and the brightness of the display content are adjusted at different frames according to the effective delay time of the backlight grade adjustment of the screen, so that the adjustment of the backlight grade and the brightness of the display content can be accurately synchronized, the problem of screen flashing during the brightness adjustment of the screen is avoided, and the display effect of the screen is improved.
Referring to fig. 9, fig. 9 is a flowchart illustrating a screen control method according to another embodiment of the present application. The screen control method is applied to the electronic device, the electronic device includes a screen, and the following will be described in detail with respect to the flow shown in fig. 9, where the screen control method specifically includes the following steps:
step S310: and responding to a brightness adjusting instruction of the screen, and determining the backlight level to which the screen is adjusted as a target level.
In the embodiment of the application, when the electronic device responds to a brightness adjustment instruction for the screen, a backlight level to be adjusted of the screen may be determined first, and the backlight level is taken as a target level. The electronic device can determine the backlight level corresponding to the brightness to be adjusted according to the brightness adjusting instruction.
Step S320: and judging whether the target grade is smaller than a preset grade or not.
In the embodiment of the application, after determining the target level to be adjusted, the electronic device may compare the target level with a preset level, where the preset level is used as a basis for determining whether the target level is in a low brightness range. If the target level is less than the preset level, the brightness level to be adjusted is in a low brightness range; and if the target level is not less than the preset level, indicating that the brightness level to be adjusted is not in the low brightness range. The specific grade corresponding to the preset grade may not be limited, for example, the preset grade may be an intermediate grade.
Step S330: and if the target grade is greater than or equal to the preset grade, controlling the backlight grade of the screen to be adjusted to the target grade.
In the embodiment of the application, after the electronic device compares the target level with the preset level, if the target level is greater than or equal to the preset level, it indicates that the brightness level to be adjusted is not in the low brightness range, and when the brightness level is higher, the weber constant is usually smaller, so that the situation of jitter does not occur, and therefore, it is not necessary to divide a plurality of brightness levels under the target level, that is, it is not necessary to combine with different brightness adjustment operations on the display content, so as to implement different brightness levels. Therefore, in the case that the target level is greater than or equal to the preset level, the backlight level of the screen may be directly controlled to be adjusted to the target level.
Step S340: and if the target grade is less than the preset grade, generating brightness adjustment operation on the display content.
In the embodiment of the application, after the target level is compared with the preset level, if the target level is smaller than the preset level, it indicates that the brightness level to be adjusted is in a low brightness range, so that multiple brightness levels can be divided under the target level, that is, the target level is combined with different brightness adjustment operations on display contents, so as to realize different brightness levels, and therefore, under the condition of low brightness, when the screen brightness changes, the brightness change can be smooth, and the situation of shaking does not occur. In this case, the electronic device may determine a corresponding brightness adjustment operation, e.g., generate a corresponding PCC matrix to adjust the brightness of the display content.
Step S350: and obtaining the effective delay time when the backlight level of the screen is adjusted.
Step S360: and controlling the backlight level of the screen to be adjusted to the target level, and executing the brightness adjustment operation after the delay time length.
In the embodiment of the present application, step S350 and step S360 can refer to the contents of the foregoing embodiments, and are not described herein again.
According to the screen control method provided by the embodiment of the application, when the screen brightness adjusting instruction is responded, the backlight grade to be adjusted to the screen is determined, the comparison result between the backlight grade and the preset grade is determined, and whether the brightness of the display content is adjusted or not is determined according to the comparison result. Therefore, the control of the screen brightness under different brightness scenes can be realized, and the display brightness of the screen can be adjusted based on the adjustment of the backlight grade and the brightness adjustment of the display content when the target grade is less than the preset grade, so that the brightness grade of the screen can be effectively expanded.
Referring to fig. 10, fig. 10 is a schematic flow chart illustrating a screen control method according to still another embodiment of the present application. The screen control method is applied to the electronic device, the electronic device includes a screen, and the following will be described in detail with respect to the flow shown in fig. 10, where the screen control method specifically includes the following steps:
step S410: and responding to a brightness adjusting instruction of the screen, and determining the backlight level to which the screen is adjusted as a target level.
In the embodiment of the present application, step S410 may refer to the contents of the foregoing embodiments, and is not described herein again.
Step S420: and determining whether the brightness adjustment operation corresponding to the target grade exists according to the corresponding relation between each backlight grade of the screen and the brightness adjustment operation.
In the embodiment of the present application, a corresponding relationship between each backlight level and the brightness adjustment operation is stored in the electronic device, so that it is determined that the corresponding brightness adjustment operation is combined with the backlight level to realize different brightness levels according to the corresponding relationship. For example, if the brightness adjustment operation for the display content is performed based on the PCC matrix, the electronic device may store a corresponding relationship between each backlight level and a plurality of PCC matrices. In addition, since the weber constant is generally small when the luminance level is high, there is no need to divide a plurality of luminance levels at the target level, and thus a luminance adjustment operation is not required for a part of the backlight levels. Alternatively, if there is no brightness adjustment operation corresponding to a certain backlight level, the brightness adjustment operation corresponding to the backlight level in the correspondence relationship may be set to be null. After determining the target level to be adjusted, the electronic device may determine whether a brightness adjustment operation corresponding to the target level exists in the corresponding relationship according to the corresponding relationship.
Step S430: and if the brightness adjustment operation corresponding to the target level does not exist, controlling the backlight level of the screen to be adjusted to the target level.
In the embodiment of the present application, after determining whether the brightness adjustment operation corresponding to the target level exists in the correspondence relationship, if the brightness adjustment operation corresponding to the target level does not exist, the electronic device indicates that the brightness level to be adjusted is in a range with relatively high brightness, and when the brightness level is high, the weber constant is generally small, so that no jitter occurs, and therefore, it is not necessary to divide a plurality of brightness levels under the target level, that is, there is no corresponding brightness adjustment operation. Therefore, in the absence of a brightness adjustment operation corresponding to a target level, the backlight level of the screen can be directly controlled to be adjusted to the target level.
Step S440: and if the brightness adjusting operation corresponding to the target level exists, determining the brightness adjusting operation corresponding to the target level as the brightness adjusting operation on the display content.
In this embodiment, after determining whether there is a brightness adjustment operation corresponding to the target level in the correspondence relationship, if there is a brightness adjustment operation corresponding to the target level, the electronic device may determine the brightness adjustment operation corresponding to the target level as the brightness adjustment operation for the display content, so that after the brightness adjustment operation is subsequently performed, the electronic device can present the corresponding brightness level in combination with the adjusted backlight level.
In some embodiments, if there are a plurality of brightness adjustment operations corresponding to the target level, the brightness adjustment operation corresponding to the brightness level may be determined according to the brightness level to which the brightness adjustment instruction needs to be adjusted, and the determined brightness adjustment operation may be determined as a subsequent brightness adjustment operation on the display content.
Step S450: and obtaining the effective delay time when the backlight level of the screen is adjusted.
Step S460: and controlling the backlight level of the screen to be adjusted to the target level, and executing the brightness adjustment operation after the delay time length.
In the embodiment of the present application, step S350 and step S360 can refer to the contents of the foregoing embodiments, and are not described herein again.
According to the screen control method provided by the embodiment of the application, when the screen brightness adjustment instruction is responded, after the backlight grade to be adjusted of the screen is determined, whether the brightness adjustment operation corresponding to the backlight grade to be adjusted exists is determined according to the corresponding relation between the backlight grade and the brightness adjustment operation, and whether the brightness of the display content is adjusted is determined according to the determination result. Therefore, the control of the screen brightness under different brightness scenes can be realized, and the display brightness of the screen can be adjusted based on the adjustment of the backlight grade and the brightness adjustment of the display content when the brightness adjustment operation corresponding to the target grade exists, so that the brightness grade of the screen can be effectively expanded.
Referring to fig. 11, fig. 11 is a schematic flowchart illustrating a screen control method according to yet another embodiment of the present application. The screen control method is applied to the electronic device, the electronic device includes a screen, and the following will be described in detail with respect to the flow shown in fig. 11, where the screen control method specifically includes the following steps:
step S510: and responding to a brightness adjusting instruction of the screen, and determining the backlight level to which the screen is adjusted as a target level.
In this embodiment, step S510 may refer to the step of determining, by the electronic device, the backlight level to be adjusted to the screen as the target level in response to the brightness adjustment instruction for the screen in the foregoing embodiment, which is not described herein again.
Step S520: and determining the target adjustment operation corresponding to the brightness adjustment instruction from the preset number of brightness adjustment operations corresponding to the target level.
In the embodiment of the application, the electronic device stores the brightness adjustment operation corresponding to each backlight level of the screen, and the brightness adjustment operation is used for adjusting the brightness of the display content displayed on the screen. The brightness adjustment operation may be to keep the brightness of the display content unchanged, to increase the brightness of the display content, or to decrease the brightness of the display content, and the adjustment ratios of the brightness adjustment operations to adjust the brightness of the display content in the corresponding brightness adjustment operations of each backlight level are different, so that different brightness can be presented after the brightness adjustment is performed on the display content at different backlight levels, that is, different brightness levels are realized. It should be noted that the brightness level presented after the brightness adjustment operation is performed on the display content at each backlight level is different from the brightness level presented after the brightness adjustment operation is performed at other backlight levels, so that it is ensured that the brightness combination with the display content at different backlight levels can be performed, thereby forming different brightness levels at each backlight level, and further achieving the purpose of expanding the brightness levels.
In some embodiments, there may be a plurality of luminance reduction operations for reducing the display content for each backlight level, and the luminance reduction ratio may be different for different luminance reduction operations. The brightness of the screen is mainly determined by the backlight level, that is, for the backlight level with a relatively low level, even if the brightness reduction operation is not performed on the display content, the brightness level is lower than the brightness level that can be presented by the backlight level with a higher level. Therefore, originally, each backlight grade is combined with the corresponding different brightness reduction operation, different new brightness grades under each backlight grade can be formed, and the brightness grade is further expanded.
In the embodiment of the present application, the specific numerical value of the preset number may not be limited. For example, the predetermined number may be 5, and if the original backlight level of the screen is 2048, the backlight level may be expanded to 2048 × 5 — 10240, thereby achieving the effect of ten thousand levels of backlight.
In one possible embodiment, a backlight level lower than a set level among a plurality of backlight levels of the screen is provided with its corresponding brightness adjustment operation, and a brightness adjustment operation not lower than (greater than or equal to) the set level is not provided with the corresponding brightness adjustment operation. If the backlight grade is less than or equal to the set grade, the backlight grade is in a low grade range, and the weber constant is large at the moment and the jitter can occur, so that the corresponding brightness adjustment operation can be set for the backlight grade less than or equal to the set grade; if the backlight level is greater than or equal to the set level, the backlight level is not in a low level range, and the weber constant is usually small at this time, so that the situation of jitter does not occur, and therefore, the corresponding brightness adjustment operation does not need to be set under the backlight level, that is, under the condition that the brightness level is greater than or equal to the set level, the backlight level of the screen can be directly controlled to be adjusted to the corresponding backlight level. In this embodiment, the target level may be a backlight level less than or equal to the set level, and thus a corresponding brightness adjustment operation needs to be determined. For example, the preset number may be 10, if the original backlight level of the screen is 2048 and the set level is 800, for the levels less than or equal to 800, there are 800 × 10 — 8000 brightness levels, and 1248 levels for the backlight level greater than 800, and each level may correspond to one brightness level, so that the brightness level of the screen may reach: 8000+1248 9248 brightness levels, thereby realizing the effect of ten thousand levels of backlight.
Step S530: and controlling the backlight level of the screen to be adjusted to the target level, and performing the target adjustment operation on the display content.
In the embodiment of the application, after determining the backlight level of the screen and the target adjustment operation, the electronic device may control the backlight level of the screen to be adjusted to the target level, and perform the target adjustment operation on the display content to realize brightness adjustment.
According to the screen control method provided by the embodiment of the application, when the brightness of the screen is adjusted, the adjustment based on the backlight level and the brightness adjustment of the display content can be realized, the display brightness of the screen is adjusted, and the brightness level of the screen is effectively expanded. And, a preset number of brightness adjustment operations are set for the backlight level, so that the effect of ten thousand-level backlight can be achieved.
Referring to fig. 12, a block diagram of a screen control device 400 according to an embodiment of the present disclosure is shown. The screen control device 400 applies the above-mentioned electronic device, the electronic device includes a screen, and the screen control device 400 includes: a first command response module 410, a time acquisition module 420 and a first brightness adjustment module 430. The first instruction response module 410 is configured to determine, in response to a brightness adjustment instruction for the screen, a backlight level to which the screen is to be adjusted as a target level, and perform a brightness adjustment operation on display content; the time obtaining module 420 is configured to obtain a delay duration for adjustment to take effect when the backlight level of the screen is adjusted; the first brightness adjustment module 430 is configured to control the backlight level of the screen to be adjusted to the target level, and execute the brightness adjustment operation after the delay time period.
In some embodiments, the first brightness adjustment module 430 may be specifically configured to: adjusting a backlight level of the screen to the target level at a time of the current image frame of the display content; and executing the brightness adjustment operation at the moment of a target image frame after the current image frame, wherein the duration of an interval between the target image frame and the current image frame is matched with the delay duration.
As a possible implementation, the first brightness adjustment module 430 may further be configured to: sequentially generating brightness adjustment operation corresponding to each frame of image frame of display content; and buffering the appointed adjusting instruction corresponding to each frame of image frame in an appointed queue, wherein the appointed queue is a first-in first-out (FIFO) queue. In this way, the first brightness adjustment module 430 may perform the brightness adjustment operation at a time of a target image frame after the current image frame, and may include: and executing the brightness adjustment operation corresponding to each frame of image in the appointed queue at the moment of the target image frame after the current image frame.
In some embodiments, the first instruction response module 410 may be specifically configured to: responding to a brightness adjusting instruction for the screen, and determining a backlight level to which the screen is to be adjusted as a target level; judging whether the target grade is smaller than a preset grade or not; and if the target grade is less than the preset grade, generating brightness adjustment operation on the display content.
As a possible implementation, the first instruction response module 410 may be further configured to: and after judging whether the target grade is smaller than a preset grade, if the target grade is larger than or equal to the preset grade, controlling the backlight grade of the screen to be adjusted to the target grade.
In some embodiments, the first instruction response module 410 may be specifically configured to: responding to a brightness adjusting instruction for the screen, and determining a backlight level to which the screen is to be adjusted as a target level; determining whether brightness adjustment operation corresponding to the target grade exists according to the corresponding relation between each backlight grade of the screen and the brightness adjustment operation; and if the brightness adjusting operation corresponding to the target level exists, determining the brightness adjusting operation corresponding to the target level as the brightness adjusting operation on the display content.
As a possible implementation, the first instruction response module 410 may be further configured to: and after determining whether the brightness adjustment operation corresponding to the target level exists according to the corresponding relation between each backlight level of the screen and the brightness adjustment operation, if the brightness adjustment operation corresponding to the target level does not exist, controlling the backlight level of the screen to be adjusted to the target level.
In some embodiments, the brightness adjustment module 430 may be configured to: and adjusting the content brightness of the display content to be target brightness based on the polynomial color correction PCC matrix corresponding to the brightness adjustment operation.
In some embodiments, the first brightness adjustment module 430 may be configured to: and adjusting the gamma value of the screen to a target gamma value corresponding to the brightness adjustment operation so as to adjust the content brightness of the display content to the target brightness.
Referring to fig. 13, a block diagram of a screen control device 400 according to an embodiment of the present disclosure is shown. The screen control device 500 applies the above-mentioned electronic device, the electronic device includes a screen, and the screen control device 500 includes: a second instruction response module 510, an operation determination module 520, and a second brightness adjustment module 530. The second instruction response module 510 is configured to determine, in response to a brightness adjustment instruction for the screen, a backlight level to which the screen is to be adjusted as a target level; the operation determining module 520 is configured to determine a target adjusting operation corresponding to the brightness adjusting instruction from a preset number of brightness adjusting operations corresponding to the target level; the second brightness adjustment module 530 is configured to control the backlight level of the screen to be adjusted to the target level, and perform the target adjustment operation on the display content.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules 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.
In summary, according to the scheme provided by the application, the backlight grade to be adjusted to the screen is determined as the target grade by responding to the brightness adjustment instruction for the screen, the brightness adjustment operation for the display content is performed, the effective delay time length is adjusted when the backlight grade of the screen is adjusted, the backlight grade of the screen is controlled to be adjusted to the target grade, and the brightness adjustment operation is performed after the delay time length. Therefore, the adjustment based on the backlight grade and the brightness adjustment of the display content can be realized, the display brightness of the screen is adjusted, and the brightness grade of the screen is effectively expanded; and when the backlight grade is adjusted and the brightness of the display content is adjusted, the adjustment of the backlight grade and the brightness adjustment of the display content are synchronized according to the effective delay time of the backlight grade adjustment, so that the problem of screen flashing during the brightness adjustment of the screen is avoided, and the display effect of the screen is improved.
Referring to fig. 14, a block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 100 may be a smart phone, a tablet computer, a smart watch, a notebook computer, or other electronic devices capable of running an application program. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the electronic device 100 during use (e.g., phone book, audio-video data, chat log data), and the like.
Referring to fig. 15, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

1. A screen control method is applied to an electronic device, the electronic device comprises a screen, and the method comprises the following steps:
responding to a brightness adjusting instruction of the screen, determining a backlight grade to be adjusted to the screen as a target grade, and performing brightness adjusting operation on display content;
obtaining the effective delay time of the adjustment when the backlight level of the screen is adjusted;
and controlling the backlight level of the screen to be adjusted to the target level, and executing the brightness adjustment operation after the delay time length.
2. The method of claim 1, wherein the controlling the backlight level of the screen to be adjusted to the target level and performing the brightness adjustment operation after the delay period comprises:
adjusting a backlight level of the screen to the target level at a time of the current image frame of the display content;
and executing the brightness adjustment operation at the moment of a target image frame after the current image frame, wherein the duration of an interval between the target image frame and the current image frame is matched with the delay duration.
3. The method according to claim 2, wherein the controlling the backlight level of the screen to be adjusted to the target level before the performing the brightness adjustment operation at a time of a target image frame subsequent to the current image frame, and the performing the brightness adjustment operation after the delay time period, further comprises:
sequentially generating brightness adjustment operation corresponding to each frame of image frame of display content;
buffering the appointed adjustment instruction corresponding to each frame of image frame in an appointed queue, wherein the appointed queue is a first-in first-out (FIFO) queue;
the performing, at a time of a target image frame subsequent to the current image frame, the brightness adjustment operation includes:
and executing the brightness adjustment operation corresponding to each frame of image in the appointed queue at the moment of the target image frame after the current image frame.
4. The method according to claim 1, wherein the determining, as a target level, a backlight level to which the screen is to be adjusted and the brightness adjustment operation for the display content in response to the brightness adjustment instruction for the screen comprises:
responding to a brightness adjusting instruction for the screen, and determining a backlight level to which the screen is to be adjusted as a target level;
judging whether the target grade is smaller than a preset grade or not;
and if the target grade is less than the preset grade, generating brightness adjustment operation on the display content.
5. The method of claim 4, wherein after said determining whether said target level is less than a preset level, said method further comprises:
and if the target grade is greater than or equal to the preset grade, controlling the backlight grade of the screen to be adjusted to the target grade.
6. The method according to claim 1, wherein the determining, as a target level, a backlight level to which the screen is to be adjusted and the brightness adjustment operation for the display content in response to the brightness adjustment instruction for the screen comprises:
responding to a brightness adjusting instruction for the screen, and determining a backlight level to which the screen is to be adjusted as a target level;
determining whether brightness adjustment operation corresponding to the target grade exists according to the corresponding relation between each backlight grade of the screen and the brightness adjustment operation;
and if the brightness adjusting operation corresponding to the target level exists, determining the brightness adjusting operation corresponding to the target level as the brightness adjusting operation on the display content.
7. The method according to claim 6, wherein after determining whether there is a brightness adjustment operation corresponding to the target level according to a correspondence between each backlight level of the screen and the brightness adjustment operation, the method further comprises:
and if the brightness adjustment operation corresponding to the target level does not exist, controlling the backlight level of the screen to be adjusted to the target level.
8. The method according to any one of claims 1-7, wherein said performing the brightness adjustment operation comprises:
and adjusting the content brightness of the display content to be target brightness based on the polynomial color correction PCC matrix corresponding to the brightness adjustment operation.
9. The method according to any one of claims 1-7, wherein said performing the brightness adjustment operation comprises:
and adjusting the gamma value of the screen to a target gamma value corresponding to the brightness adjustment operation so as to adjust the content brightness of the display content to the target brightness.
10. A screen control method is applied to an electronic device, the electronic device comprises a screen, and the method comprises the following steps:
responding to a brightness adjusting instruction for the screen, and determining a backlight level to which the screen is to be adjusted as a target level;
determining target adjustment operation corresponding to the brightness adjustment instruction from the preset number of brightness adjustment operations corresponding to the target level;
and controlling the backlight level of the screen to be adjusted to the target level, and performing the target adjustment operation on the display content.
11. A screen control apparatus applied to an electronic device including a screen, the apparatus comprising: a first instruction response module, a time acquisition module and a first brightness adjustment module, wherein,
the first instruction response module is used for responding to a brightness adjustment instruction of the screen, determining a backlight grade to which the screen is to be adjusted as a target grade, and performing brightness adjustment operation on display content;
the time acquisition module is used for acquiring the effective delay time of the adjustment when the backlight level of the screen is adjusted;
the first brightness adjusting module is used for controlling the backlight grade of the screen to be adjusted to the target grade and executing the brightness adjusting operation after the delay time length.
12. A screen control apparatus applied to an electronic device including a screen, the apparatus comprising: a second instruction response module, an operation determination module and a second brightness adjustment module, wherein,
the second instruction response module is used for responding to a brightness adjusting instruction of the screen and determining the backlight grade to which the screen is to be adjusted as a target grade;
the operation determining module is used for determining target adjusting operation corresponding to the brightness adjusting instruction from the preset number of brightness adjusting operations corresponding to the target grade;
the second brightness adjusting module is used for controlling the backlight grade of the screen to be adjusted to the target grade and carrying out the target adjusting operation on the display content.
13. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-10.
14. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 10.
CN202111396660.2A 2021-11-23 2021-11-23 Screen control method and device, electronic equipment and storage medium Active CN114038433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111396660.2A CN114038433B (en) 2021-11-23 2021-11-23 Screen control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111396660.2A CN114038433B (en) 2021-11-23 2021-11-23 Screen control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114038433A true CN114038433A (en) 2022-02-11
CN114038433B CN114038433B (en) 2023-10-31

Family

ID=80138476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111396660.2A Active CN114038433B (en) 2021-11-23 2021-11-23 Screen control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114038433B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114639356A (en) * 2022-03-14 2022-06-17 Oppo广东移动通信有限公司 Display brightness adjusting method and device, electronic equipment and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303918A (en) * 2004-04-15 2005-10-27 Funai Electric Co Ltd Liquid crystal television, and liquid crystal display device and method
US20060001641A1 (en) * 2004-06-30 2006-01-05 Degwekar Anil A Method and apparatus to synchronize backlight intensity changes with image luminance changes
US20120013583A1 (en) * 2009-12-11 2012-01-19 Powell John P Brightness level adjustment of a lighted display device
CN106997744A (en) * 2017-03-15 2017-08-01 广东欧珀移动通信有限公司 The control method and control device of screen intensity
CN107134272A (en) * 2017-06-26 2017-09-05 上海斐讯数据通信技术有限公司 A kind of control method of screen display, system and computer-processing equipment
CN110021256A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Display brightness method of adjustment and Related product
CN110021257A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN110428782A (en) * 2019-07-24 2019-11-08 Oppo广东移动通信有限公司 Brightness adjusting method and Related product
CN111899694A (en) * 2019-05-06 2020-11-06 京东方科技集团股份有限公司 Backlight control method and device of backlight module and display device
CN113257162A (en) * 2020-02-12 2021-08-13 北京小米移动软件有限公司 Screen brightness adjusting method and device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005303918A (en) * 2004-04-15 2005-10-27 Funai Electric Co Ltd Liquid crystal television, and liquid crystal display device and method
US20060001641A1 (en) * 2004-06-30 2006-01-05 Degwekar Anil A Method and apparatus to synchronize backlight intensity changes with image luminance changes
US20120013583A1 (en) * 2009-12-11 2012-01-19 Powell John P Brightness level adjustment of a lighted display device
CN102640105A (en) * 2009-12-11 2012-08-15 惠普发展公司,有限责任合伙企业 Brightness level adjustment of a lighted display device
CN106997744A (en) * 2017-03-15 2017-08-01 广东欧珀移动通信有限公司 The control method and control device of screen intensity
CN107134272A (en) * 2017-06-26 2017-09-05 上海斐讯数据通信技术有限公司 A kind of control method of screen display, system and computer-processing equipment
CN110021256A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Display brightness method of adjustment and Related product
CN110021257A (en) * 2019-04-02 2019-07-16 Oppo广东移动通信有限公司 Display brightness method of adjustment and relevant device
CN111899694A (en) * 2019-05-06 2020-11-06 京东方科技集团股份有限公司 Backlight control method and device of backlight module and display device
CN110428782A (en) * 2019-07-24 2019-11-08 Oppo广东移动通信有限公司 Brightness adjusting method and Related product
CN113257162A (en) * 2020-02-12 2021-08-13 北京小米移动软件有限公司 Screen brightness adjusting method and device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114639356A (en) * 2022-03-14 2022-06-17 Oppo广东移动通信有限公司 Display brightness adjusting method and device, electronic equipment and computer readable storage medium
CN114639356B (en) * 2022-03-14 2024-02-06 Oppo广东移动通信有限公司 Display brightness adjusting method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114038433B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN111968582B (en) Display screen frequency conversion method, DDIC chip, display screen module and terminal
US11335277B2 (en) Method, apparatus, and device for adjusting backlight brightness based on human eye characteristics
US7423383B2 (en) Brightness controlling apparatus
US20110069089A1 (en) Power management for organic light-emitting diode (oled) displays
US20140092150A1 (en) System, method, and computer program product for modifying a pixel value as a function of a display duration estimate
EP3373281B1 (en) Method for controlling image display and terminal
TW201243793A (en) Display apparatus and method for adjusting gray-level of screen image depending on environment illumination
US10978027B2 (en) Electronic display partial image frame update systems and methods
JPWO2012017899A1 (en) Display control method, display control device, liquid crystal display device, display control program, and computer-readable recording medium
CN113781949B (en) Image display method, display driving chip, display screen module and terminal
US20140198084A1 (en) Method and system for display brightness and color optimization
CN113608713A (en) Variable frequency display method, DDIC, display screen module and terminal
CN113741848B (en) Image display method, DDIC, display screen module and terminal
WO2019201021A1 (en) Display screen backlight luminance control method for electronic device, and electronic device
WO2023082861A1 (en) Image processing method, image processor, electronic device and storage medium
WO2023103702A1 (en) Display control method and apparatus, electronic device, and storage medium
WO2023065807A1 (en) Screen control method and apparatus, electronic device, and storage medium
CN114119431A (en) Image processing method, image processing device, electronic equipment and storage medium
CN114038433B (en) Screen control method and device, electronic equipment and storage medium
CN106933329B (en) A kind of method, device and mobile terminal of mobile terminal adaptive energy-saving grade
US20210027722A1 (en) Adaptive Low Power Touch and Display Device
WO2024007747A1 (en) Brightness compensation method and apparatus, electronic device, and storage medium
US20200402445A1 (en) Software Based Partial Display Dimming
US11410283B2 (en) Electronic device and control method thereof
TWI804245B (en) Controller circuit and image processing method

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