WO2021098790A1 - Procédé de compensation et dispositif électronique - Google Patents

Procédé de compensation et dispositif électronique Download PDF

Info

Publication number
WO2021098790A1
WO2021098790A1 PCT/CN2020/130168 CN2020130168W WO2021098790A1 WO 2021098790 A1 WO2021098790 A1 WO 2021098790A1 CN 2020130168 W CN2020130168 W CN 2020130168W WO 2021098790 A1 WO2021098790 A1 WO 2021098790A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen area
screen
mask layer
brightness
transparency
Prior art date
Application number
PCT/CN2020/130168
Other languages
English (en)
Chinese (zh)
Inventor
谭威
李煜
王亮
王欣
王耀峰
蒋铭辉
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021098790A1 publication Critical patent/WO2021098790A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • 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/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • 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/36Control 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 using liquid crystals

Definitions

  • This application relates to the field of terminal technology, and in particular to a compensation method and electronic equipment.
  • OLEDs organic light emitting diodes
  • OLED uses the electroluminescence characteristics of organic materials to emit light, and organic materials have a life limit. Therefore, as the use time of the display screen increases, there will be problems of material exhaustion and aging. For example, when a fixed position of the display screen displays the same and still image for a long time, the organic material corresponding to the sub-pixels in these positions will be more depleted than the organic material corresponding to the sub-pixels in other positions.
  • the attenuation speed of the organic materials corresponding to the pixels is inconsistent, or the use and duration of each area on the screen is inconsistent, which will cause uneven aging on the display, especially the blue color in it.
  • the material decay period of the sub-pixel is shorter, and the aging is more serious.
  • LCD may also have the problem of inconsistency in the degree of aging.
  • the present application provides a compensation method and an electronic device, which are used to reduce the difference in brightness between various screen areas of the electronic device, so that the display effects of different screen areas are consistent.
  • an embodiment of the present application provides a compensation method, which is applied to an electronic device with a display screen.
  • the display screen includes a first screen area, a second screen area, and a third screen area, wherein the second screen area
  • the brightness of the third screen area is controlled by the same gamma parameter.
  • the method includes: the electronic device determines the brightness of the first screen area, the second screen area, and the third screen area at the first moment; the electronic device determines that the first screen area is The first gamma parameter corresponding to the brightness at the first moment, and the second gamma parameter of the second screen area and the third screen area are set as the first gamma parameter.
  • the electronic The device adds a mask layer to the third screen area, and then the electronic device adjusts the transparency of the mask layer to the first transparency according to the brightness difference between the second screen area and the third screen area at the first moment.
  • adjusting the same gamma parameter can reduce the brightness of the second screen area and the third screen area, and the first screen area is used.
  • the first gamma parameter corresponding to the area replaces the second gamma parameter of the second screen area, and the brightness of the second screen area can be adjusted to be consistent with the brightness of the first screen area, and the adjustment amount of the brightness of the third screen area
  • the adjustment amount of the brightness of the second screen area is the same, so there is still a brightness difference between the third screen area and the first screen area.
  • a mask layer is added to the third screen area, according to the second screen area and the third screen area.
  • the difference in brightness between the two makes the display effect of different screen areas consistent.
  • respectively determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment includes: according to the first screen area, the second screen area, and the The initial brightness of the third screen area, the total duration of the on-screen state, and the manufacturing process parameters determine the brightness of the first screen area, the second screen area, and the third screen area at the first moment. In this way, it is convenient to determine the brightness of the three screen areas at the first moment in real time, so that the brightness difference of the three screen areas can be adjusted in real time.
  • the following formula is used to determine the brightness of any one of the first screen area, the second screen area, and the third screen area at the first moment:
  • the Lum is the screen brightness of the screen area from the factory time to the first time
  • the Lum_init is the maximum brightness of the screen area at the factory time
  • t is the screen area from the factory time to the The total time in the bright screen state at the first moment
  • t 0 is the theoretical maximum light-emitting duration of the screen area
  • Lev is the brightness of the light-emitting unit with the largest brightness at the first moment among the light-emitting units included in the screen area
  • Lev_max is Among the light-emitting units included in the screen area, the light-emitting unit with the largest brightness at the time of delivery
  • the ⁇ is the first manufacturing process parameter
  • k is the second manufacturing process parameter
  • is the third manufacturing process parameter.
  • the first screen area corresponding to the brightness of the first screen area at the first moment is determined.
  • it further includes: determining that the brightness of the second screen area is greater than the brightness of the first screen area and less than the brightness of the third screen area.
  • the brightness of the second screen area and the third screen area with greater brightness can be adjusted separately to reduce the difference between the brightness of the second screen area and the third screen area and the brightness of the first screen area. The difference.
  • the first gamma parameter corresponding to the brightness of the first screen area at the first moment may be determined according to the grayscale value corresponding to the brightness of the first screen area at the first moment and the first corresponding Relationship, determining the first gamma parameter corresponding to the brightness of the first screen area at the first moment, where the first corresponding relationship includes the corresponding relationship between the gamma parameter and the grayscale value. In this way, the gamma parameter of the first screen area can be easily determined.
  • setting the second gamma parameter of the second screen area and the third screen area as the first gamma parameter may include: reading the second screen area and the third screen area from the configuration file in the internal memory. The storage location of the second gamma parameter in the screen area; delete the second gamma parameter in the storage location of the second gamma parameter, and write the first gamma parameter into the storage location of the second gamma parameter.
  • the method may further include: determining that the third screen area supports the characteristics of the mask layer. In other words, when the third screen area supports the mask layer feature, add a mask layer; when the third screen area does not support the mask layer feature, no operation is performed.
  • the electronic device adjusts the transparency of the mask layer to the first transparency according to the brightness difference between the second screen area and the third screen area at the first moment, which may include: the electronic device according to the second screen area Determine the percentage of the initial brightness of the third screen area from the brightness difference with the third screen area at the first moment; use the percentage as the first transparency; adjust the transparency of the mask layer to the first transparency.
  • the transparency of the mask layer can be a value of 0-100. When the transparency value is 0, it means completely transparent, and the transparency value is 100, which means completely opaque.
  • the brightness difference of the third screen area accounts for the percentage of the initial brightness of the third screen area.
  • the brightness of the third screen area can be reduced by this brightness difference, so as to reduce the brightness of the third screen area to the first screen area. Unanimous.
  • the method may further include: obtaining display information of the third screen area; and determining the image of the mask layer according to the display information of the third screen area.
  • Layer parameters include one or more of resolution, direction, size, and transparency; after the mask layer is added to the third screen area, the method may further include: setting the layer parameters of the mask layer.
  • the above method further includes: when determining that the layer parameters of the mask layer change, determining the layer parameters after the change; and setting the layer parameters of the mask layer according to the layer parameters after the change. In this way, when the layer parameters of the mask layer change, the layer parameters of the mask layer can be updated in time.
  • the above method further includes: when the screen orientation of the electronic device changes or the screen resolution changes, determining the first mask attribute corresponding to the changed direction or the changed resolution; the first mask The version attributes include the height and width of the display screen, the coordinates of the mask layer, and the height and width of the mask layer; adjust the mask attribute of the mask layer to the first mask attribute.
  • the mask properties of the mask layer are adaptively adjusted, so that the mask layer adapts to the change of the third screen area.
  • the method may further include: when it is determined that the brightness difference between the third screen area and the second screen area changes, determining the percentage of the changed brightness difference to the initial brightness of the third screen area, as Second transparency; adjust the transparency of the mask layer to the second transparency.
  • Second transparency when it is determined that the brightness difference between the third screen area and the second screen area changes, the transparency of the mask layer can be updated in time, and the brightness difference between the screen areas can be reduced in time to make the display effect of different screen areas Unanimous.
  • the mask layer is deleted when the display of the third screen area is turned off. In this way, the mask layer is deleted when the third screen area is not displayed, which can save system overhead.
  • the resolution of the mask layer is adjusted according to the changed direction or the changed resolution. In this way, the mask layer can be adapted to the change of the third screen area, avoiding the problem that the actual display area of the third screen area does not match the screen resolution.
  • the electronic device when the electronic device enables the screen capture or screen recording function, if it is determined that the content to be captured includes a mask layer, the mask layer is deleted from the content to be captured, and the content to be captured from the deleted mask layer is deleted Perform screen capture or screen recording function.
  • the electronic device needs to share the displayed content with the external display, if it is determined that the content to be shared includes a mask layer, the mask layer is deleted from the content to be shared, and the deleted mask is shared with the external display.
  • the content to be shared of the layer if it is determined that the content to be shared includes a mask layer, the mask layer is deleted from the content to be shared, and the deleted mask is shared with the external display. The content to be shared of the layer.
  • an embodiment of the present application provides a compensation method, which is applied to an electronic device with a display screen.
  • the display screen includes a first screen area, a second screen area, and a third screen area.
  • the method includes: the electronic devices respectively Determine the brightness of the first screen area, the second screen area, and the third screen area at the first moment; when the second screen area needs to display content, add the first mask layer to the second screen area, and based on the first screen area The first brightness difference with the second screen area at the first moment, adjust the transparency of the first mask layer to the second transparency; when the third screen area needs to display content, add a second mask image to the third screen area According to the second brightness difference between the first screen area and the third screen area at the first moment, the transparency of the second mask layer is adjusted to the third transparency.
  • the electronic device can adjust the transparency of the mask layer corresponding to the second screen area and the third screen area by adding a mask layer to the second screen area and the third screen area respectively, so that the second screen area
  • the brightness of the area is adjusted to be consistent with the brightness of the first screen area
  • the brightness of the third screen area is also adjusted to be the same as the brightness of the first screen area, so as to reduce the difference in brightness between the screen areas of the electronic device.
  • the display effect of the screen area is the same.
  • respectively determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment includes: according to the first screen area, the second screen area, and the The initial brightness of the third screen area, the total duration of the on-screen state, and the manufacturing process parameters determine the brightness of the first screen area, the second screen area, and the third screen area at the first moment. In this way, it is convenient to determine the brightness of the three screen areas at the first moment in real time, so that the brightness difference of the three screen areas can be adjusted in real time.
  • the following formula is used to determine the brightness of any one of the first screen area, the second screen area, and the third screen area at the first moment:
  • the Lum is the screen brightness of the screen area from the factory time to the first time
  • the Lum_init is the maximum brightness of the screen area at the factory time
  • t is the screen area from the factory time to the The total time in the bright screen state at the first moment
  • t 0 is the theoretical maximum light-emitting duration of the screen area
  • Lev is the brightness of the light-emitting unit with the largest brightness at the first moment among the light-emitting units included in the screen area
  • Lev_max is Among the light-emitting units included in the screen area, the light-emitting unit with the largest brightness at the time of delivery
  • the ⁇ is the first manufacturing process parameter
  • k is the second manufacturing process parameter
  • is the third manufacturing process parameter.
  • the second screen area, and the third screen area at the first moment after separately determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment, it further includes: determining that the brightness of the second screen area is greater than the brightness of the first screen area, And less than the brightness of the third screen area.
  • the brightness of the second screen area and the third screen area with greater brightness can be adjusted separately to reduce the difference between the brightness of the second screen area and the third screen area and the brightness of the first screen area. The difference.
  • the method may further include: determining that the second screen area supports the characteristics of the mask layer. In other words, when the third screen area supports the mask layer feature, the first mask layer is added; when the third screen area does not support the mask layer feature, no operation is performed.
  • the method may further include: determining that the third screen area supports the characteristics of the mask layer. In other words, when the third screen area supports the mask layer feature, add a second mask layer; when the third screen area does not support the mask layer feature, no operation is performed.
  • adjusting the transparency of the first mask layer to the second transparency according to the first brightness difference between the first screen area and the second screen area at the first moment includes: according to the first screen area and The first brightness difference of the second screen area at the first moment is determined, and the first brightness difference accounts for the first percentage of the initial brightness of the second screen area; the first percentage is regarded as the second transparency; the first The transparency of the mask layer is adjusted to the second transparency.
  • the method before adding the first mask layer to the second screen area, may further include: obtaining display information of the second screen area; and determining the first mask layer according to the display information of the second screen area
  • the layer parameters of the layer; the layer parameters include one or more of the resolution, direction, size, and transparency of the first mask layer; after the first mask layer is added to the third screen area, the method can also include: Set the layer parameters of the first mask layer.
  • the above method further includes: when it is determined that the layer parameters of the first mask layer are changed, determining the layer parameters after the first change; and setting the first mask according to the layer parameters after the first change.
  • the first layer parameter of the plate layer In this way, when the layer parameters of the first mask layer change, the layer parameters of the first mask layer can be updated in time.
  • the above method further includes: when the screen orientation of the electronic device changes or the screen resolution changes, determining the first mask attribute corresponding to the changed direction or the changed resolution; the first mask The version attributes include the height and width of the display screen, the coordinates of the first mask layer, and the height and width of a mask layer; the mask attribute of the first mask layer is adjusted to the first mask attribute.
  • the mask attributes of the first mask layer are adaptively adjusted, so that the first mask layer adapts to the change of the second screen area.
  • the method may further include: when it is determined that the brightness difference between the second screen area and the first screen area changes, determining the percentage of the changed brightness difference to the initial brightness of the second screen area, As the fourth transparency; adjust the transparency of the first mask layer to the fourth transparency.
  • the transparency of the first mask layer in the second screen area can be updated in time to reduce the brightness difference between the screen areas in time, Make the display effect of different screen areas consistent.
  • adjusting the transparency of the second mask layer to the third transparency according to the second brightness difference between the first screen area and the third screen area at the first moment includes: according to the first screen area and The second brightness difference of the third screen area at the first moment is determined, and the second brightness difference accounts for the second percentage of the initial brightness of the third screen area; the second percentage is regarded as the third transparency; the second The transparency of the mask layer is adjusted to the third transparency.
  • the brightness of the third screen area can be reduced by the second percentage. Two brightness differences, so as to reduce the brightness of the third screen area to be consistent with the first screen area.
  • the method before adding the second mask layer to the third screen area, may further include: obtaining display information of the third screen area; and determining the second mask layer according to the display information of the third screen area
  • the layer parameters of the layer include one or more of the resolution, direction, size, and transparency of the second mask layer
  • after adding the second mask layer in the third screen area it also includes: setting the second mask layer The layer parameters of the mask layer.
  • the above method further includes: when it is determined that the layer parameters of the first mask layer have changed, determining the layer parameters after the second change; and setting the second mask according to the layer parameters after the second change.
  • the layer parameters of the plate layer In this way, when the layer parameters of the second mask layer change, the layer parameters of the second mask layer can be updated in time.
  • the above method further includes: when the screen orientation of the electronic device changes or the screen resolution changes, determining the second mask attribute corresponding to the changed direction or the changed resolution; the second mask
  • the mask attributes include the height and width of the display screen, the coordinates of the second mask layer, and the height and width of the second mask layer.
  • the electronic device adjusts the mask attributes of the second mask layer to the second mask attributes. In this way, when the screen orientation of the electronic device changes or the screen resolution changes, the mask properties of the second mask layer are adaptively adjusted, so that the second mask layer adapts to the changes in the third screen area.
  • the method may further include: when it is determined that the brightness difference between the third screen area and the first screen area changes, determining the percentage of the changed brightness difference to the initial brightness of the third screen area, As the fifth transparency; adjust the transparency of the second mask layer to the fifth transparency.
  • the transparency of the second mask layer in the third screen area can be updated in time to reduce the brightness difference between the screen areas in time, Make the display effect of different screen areas consistent.
  • the first mask layer is deleted; when the display of the third screen area is closed, the second mask layer is deleted. In this way, when any one of the second screen area and the third screen area is not displayed, the mask layer corresponding to the corresponding screen area is deleted, which can save system overhead.
  • the resolutions of the first mask layer and the second mask layer are respectively adjusted according to the changed direction or the changed resolution.
  • the mask layer can adapt to the resolution change of the corresponding screen area, avoiding the problem that the actual display area of the screen area does not match the screen resolution.
  • the electronic device when the electronic device enables the screen capture or screen recording function, if it is determined that the content to be captured includes the first mask layer, the first mask layer is deleted from the content to be captured, and the first mask layer is deleted. Perform screen capture or screen recording on the content to be captured of the version layer; if it is determined that the content to be captured includes the second mask layer, delete the second mask layer from the content to be captured, and delete the second mask layer to be captured.
  • the content performs screen capture or screen recording function.
  • the electronic device needs to share the display content with the external display, if it is determined that the content to be shared includes the first mask layer, the first mask layer is deleted from the content to be shared and the display is sent to the external display Share the content to be shared of the deleted first mask layer; if it is determined that the content to be shared includes the second mask layer, delete the second mask layer from the content to be shared, and share the deleted second mask image to the external display Layer of content to be shared.
  • an embodiment of the present application also provides an electronic device.
  • the electronic device includes a display screen, the display screen includes a first screen area, a second screen area, and a third screen area having the same drive circuit structure as the second screen area, one or more processors, and a memory;
  • One or more programs wherein the one or more programs are stored in the memory, and the one or more programs include instructions, which when executed by the electronic device, cause the electronic device to execute.
  • an embodiment of the present application also provides an electronic device.
  • the electronic device includes modules/units that execute the above-mentioned first aspect or any one of the possible design methods of the first aspect; these modules/units can be implemented through hardware Realization can also be realized by hardware executing corresponding software.
  • an embodiment of the present application also provides a chip, which is coupled with a memory in an electronic device, and is used to call a computer program stored in the memory and execute the first aspect of the embodiments of the present application and any one of the first aspects thereof.
  • a possible designed technical solution, or implementation of the above-mentioned second aspect and any possible designed technical solution of the second aspect; “coupled” in the embodiments of the present application refers to the direct or indirect combination of two components with each other.
  • an embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute the first On the one hand and any possible design technical solution of the first aspect, or implement any possible design technical solution of the above second aspect and the second aspect.
  • one of the program products in the embodiments of the present application includes program instructions.
  • the program instructions run on an electronic device, the electronic device executes the first aspect of the embodiments of the present application and any of the first aspects thereof.
  • FIG. 1a is a schematic diagram of the shape of a mobile phone provided in an embodiment of the application when it is fully unfolded;
  • FIG. 1b is a schematic diagram of a partially folded shape of a mobile phone according to an embodiment of the application
  • FIG. 1c is a schematic diagram of the shape of a mobile phone provided by an embodiment of the application when it is completely folded;
  • FIG. 1d is a schematic diagram of the brightness difference between a main screen, a side screen, and a secondary screen of a mobile phone according to an embodiment of the application;
  • FIG. 1e is a schematic diagram of the software structure of the mobile phone 100 provided by an embodiment of the application.
  • FIG. 2 is a schematic diagram of the hardware structure of the mobile phone 100 according to an embodiment of the application
  • FIG. 3a is a schematic diagram of a software structure of the mobile phone 100 according to an embodiment of the application.
  • FIG. 3b is a schematic diagram of another software structure of the mobile phone 100 according to an embodiment of the application.
  • FIG. 4 is a sequence diagram of a process of creating a mask layer provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a process of changing the transparency of a mask layer provided by an embodiment of the application
  • FIG. 6 is a schematic diagram of the screen resolution of the mobile phone 100 according to an embodiment of the application.
  • FIG. 7 is a schematic diagram of changing the resolution of a mask layer provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of the resolution change of the mobile phone when the folding state of the mobile phone changes according to an embodiment of the application
  • FIG. 9 is a schematic diagram of a screenshot scenario provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of a screen recording or multi-display scenario provided by an embodiment of the application.
  • FIG. 11 is a schematic flowchart of a compensation method provided by an embodiment of the application.
  • FIG. 12 is a schematic flowchart of another compensation method provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • the display screen may include multiple screen areas. For example, taking the display screen including a first screen area, a second screen area, and a third screen area as an example, the second screen area and the second screen area
  • the brightness of the three screen areas can be controlled by the same gamma parameter, and the brightness of the same gamma parameter can also be controlled by the same driving circuit of the second screen area and the third screen area. Since the brightness of the second screen area and the third screen area is controlled by the same gamma parameter, the adjustment amount of the second screen area is the same as the adjustment amount of the third screen area. Therefore, if the second screen area is different from the third screen area There is a brightness difference between the two.
  • This way of controlling the brightness through the same gamma parameter can reduce the brightness difference between the second screen area and the first screen area, and reduce the brightness difference between the third screen area and the first screen area. It cannot reduce the brightness difference between the second screen area and the third screen area.
  • the following embodiments provide a compensation method to reduce the brightness difference between the screen areas of the electronic device, so that the display effects of different screen areas are consistent. .
  • the brightness of each screen area in the embodiment of the present application refers to the actual brightness of the screen area.
  • the difference in brightness between the main screen and the secondary screen as an example. That is, when the brightness of the primary screen and the secondary screen are inconsistent, even if the same brightness parameters are set for the primary screen and the secondary screen (for example, the brightness parameter of the primary screen refers to the brightness of the primary screen).
  • the actual brightness is the percentage of the maximum brightness of the main screen at the factory (also called the initial brightness), which can be referred to as the brightness percentage)
  • the brightness of the main screen and the brightness of the secondary screen are not necessarily the same.
  • the maximum brightness is 500nit and the maximum brightness of the secondary screen is 400nit as an example.
  • the user sets the brightness parameters of the main screen and the secondary screen to 50%.
  • the brightness of the main screen is 250nit and the brightness of the secondary screen is 200nit.
  • the brightness and the brightness display effect of the secondary screen are not consistent.
  • the initial maximum brightness of the main screen, the secondary screen, and the side screen are consistent as an example.
  • the brightness of the main screen, the secondary screen, and the side screen can be expressed by the brightness parameter. , That is, use the brightness percentage to illustrate.
  • the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer (pad), a notebook computer, etc.
  • the electronic device can be an electronic device with different screen areas (or display areas), and different screen areas can be folded, stretched, or partially displayed.
  • the folding screen of the mobile phone may adopt an integrated flexible display screen, or a display screen composed of at least two rigid screens and a flexible screen located between the two rigid screens.
  • the folding screen provided by the embodiment of the present application includes three parts as an example. As shown in FIGS. 1a, 1b and 1c, the folding screen may include a first screen 111, a second screen 112, and a connection between the first screen 111 and the second screen 113.
  • Figure 1a shows a schematic diagram of the shape of the mobile phone when it is fully unfolded.
  • the folding screen 110 may include a first screen 111, a bendable area 112, and a second screen 113.
  • the first screen 111, the bendable area 112, and the second screen 113 are connected.
  • the gravity sensor can detect that the angle a between the first screen 111 and the second screen 113 is 180° (the actual folding angle may not reach 180°, and the actual folding angle reported shall prevail. ).
  • the folding screen 110 when the first screen 111 or the second screen 113 is rotated, the folding screen 110 can be folded through the bendable area 112.
  • Figure 1b When the folding screen of the mobile phone is partially folded, see Figure 1b, which is completely folded The final shape can be seen in Figure 1c.
  • FIGS. 1b and 1c when the mobile phone is folded, the housing 120 of the mobile phone is also folded; at the same time, the folding screen 110 is also folded.
  • Figures 1b and 1c exemplarily show that the folding screen 110 is located on the exposed side when the mobile phone is folded. It should be understood that the housing 120 can also be exposed when the mobile phone is folded, and the folding screen 110 is located on the inner side, and the folding screen 110 can also be Exposed part.
  • the angle a between the first screen 111 and the second screen 113 becomes smaller and smaller.
  • the angle between the first screen 111 and the second screen 113 is 180°.
  • the gravity sensor 180E can detect that the angle between the first screen 111 and the second screen 113 is 40°.
  • the sensor detects that the included angle between the first screen 111 and the second screen 113 is 0 degrees (the actual folding angle may not reach 0°, so that it is actually reported
  • the first screen 111 and the second screen 113 are located on the exposed side.
  • the second screen 113 facing the user is called the main screen
  • the first screen 111 is called the secondary screen on the back
  • the bendable area 112 can be called the side screen.
  • the mobile phone is folded, due to different usage scenarios and user habits of the primary and secondary screens, for example, users are used to using the primary screen when the mobile phone is folded, and the secondary screen is in the off-screen state. You will find out after using the mobile phone for a period of time. The use time of the main screen, side screen, and secondary screen is different, which will cause the problem of inconsistent aging of the main screen, side screen, and secondary screen.
  • the main screen is used for the longest time, and the luminous efficiency of the pixels is affected due to the loss of display materials, which makes the luminescent material of the main screen aging fastest.
  • the use time of the secondary screen is lower than that of the main screen.
  • the side screen is the folding area. lowest. For example, take the initial brightness of the three screens as 100% as an example. After a period of use, as shown in Figure 1d, the brightness of the main screen is 94.8%, the brightness of the secondary screen is 98.2%, and the brightness of the side screen is 100. %.
  • the main screen, side screen, and secondary screen form a screen. The user faces the entire screen. When the entire screen is displayed, the user will find that the display brightness of different areas of the entire screen is inconsistent.
  • gamma calibration can be used to compensate for the brightness difference of the main screen, side screen, and secondary screen.
  • electronic devices with folding screens are adjusted by gamma calibration.
  • the side screen can only be adjusted together with the main screen, or the side screen can only be adjusted together with the secondary screen. If the side screen rotates with the main screen when the electronic device is folded, the driving circuit of each pixel in the side screen and the main screen can be controlled together, that is, the brightness of the main screen and the side screen can be adjusted at the same time by controlling the driving circuit.
  • the driving circuit of each pixel in the side screen and the side screen can be controlled together, that is, the brightness of the side screen and the side screen can be adjusted at the same time by controlling the driving circuit.
  • the side screen and the secondary screen are adjusted together as an example for description.
  • the brightness of the side screen and secondary screen is adjusted by gamma calibration.
  • the brightness of the side screen and the secondary screen are reduced by 3.4%, as shown in Figure 1e, the brightness of the side screen is 96.6%, and the brightness of the secondary screen is 94.8%. That is to say, after the gamma calibration, the brightness of the secondary screen and the main screen Same, but the brightness of the side screen still cannot be consistent with the brightness of the main screen and the secondary screen.
  • the process of reducing the brightness of the side screen and the secondary screen by 3.4% by using the gamma calibration method is as follows:
  • the general gamma parameter value is 2.1 ⁇ 2.3, There is a corresponding relationship with the gray scale (0 to 255), and the gray scale represents the level of brightness.
  • the initial brightness of the main screen is 500nit (corresponding to a grayscale value of 255), and the initial brightness of the secondary screen is 400nit as an example.
  • the brightness of the main screen is reduced to 400nit, and the corresponding grayscale value is 204.
  • the gamma parameter (2.1 ⁇ 2.3) and the grayscale (0 ⁇ 255) it can be determined that the gamma parameter of the main screen is 2.26; the brightness of the secondary screen is reduced to 300nit, and the corresponding grayscale value is 191. According to the gamma
  • the corresponding relationship between the parameters (2.1 ⁇ 2.3) and the grayscale (0 ⁇ 255) can determine that the gamma parameter of the main screen is 2.25.
  • the size of the grayscale value of each screen is related to the initial brightness of the screen, and two screens with different initial brightness may have different grayscale values corresponding to the brightness at a certain moment.
  • the secondary screen and the side screen use the same gamma parameter to control the brightness.
  • the adjustment of the gamma parameter of the secondary screen is generally used as a reference.
  • the adjustment amount of the brightness of the secondary screen and the side screen is the same.
  • the brightness of the secondary screen is 95%
  • the brightness of the side screen is 98%.
  • the corresponding gamma parameter is 2.29.
  • the gamma parameter of the secondary screen is adjusted to 2.28
  • the brightness of the secondary screen is reduced to 92%, and the brightness is reduced by 3% in total
  • the brightness of the side screen is also reduced by 3%, that is, the brightness of the side screen at this time is 95%.
  • the configuration file of the internal memory stores the gamma parameters corresponding to the current brightness of the main screen and the sub screen. According to the gray scale value corresponding to the current brightness of the main screen and the corresponding relationship between the gamma parameter and the gray scale value, the current brightness of the main screen can be determined ( 94.8%) corresponding to the first gamma parameter, and then read the storage location of the second gamma parameter corresponding to the current brightness (96.6%) of the secondary screen from the configuration file in the internal memory, and write the first gamma parameter to the configuration file.
  • the storage location of the second gamma parameter in the middle that is, replace the second gamma parameter with the first gamma parameter, so that the brightness of the secondary screen is reduced to the same as that of the main screen, that is, reduced to 94.8%, so that the brightness of the secondary screen is reduced by 3.4 %, then the brightness of the side screen is also reduced by 3.4%.
  • the embodiment of the present application provides a compensation method, which is used when there is a difference in the degree of aging among multiple screens (such as the main screen, the side screen, and the secondary screen) included in the electronic device, such as the main screen, the secondary screen, and the side screen.
  • multiple screens such as the main screen, the side screen, and the secondary screen
  • the brightness of the screen with lower brightness attenuation can be compensated to make the brightness display effect of each screen consistent.
  • the embodiment of the present application has many possible ways to implement brightness compensation for a screen with a low brightness attenuation, which may include but not limited to the following Several:
  • Method 1 Gamma calibration can be performed on the side screen and the secondary screen together, which can reduce the brightness of the side screen and the secondary screen by the same brightness value.
  • the brightness of the secondary screen is reduced to the same brightness as the main screen, but the brightness of the side screen is still Higher than the brightness of the main screen, the brightness of the side screen can be adjusted in conjunction with the mask layer.
  • the mask layer is used to continue to reduce the brightness of the side screen to be consistent with the brightness of the main screen.
  • the layer used to adjust the brightness is called a mask layer. In other possible embodiments, it may have other names, which are not specifically limited.
  • gamma calibration on the side screen and the secondary screen can reduce the brightness of both the side screen and the secondary screen by 3.4%, that is, the brightness of the side screen is reduced to 96.6%, and the brightness of the secondary screen The reduction is 94.8%.
  • the combination of gamma calibration and mask layer can reduce the brightness difference between the three screens, so that the display effects of the three screens are consistent.
  • Method 2 Create a mask layer for the secondary screen and the side screen respectively.
  • the brightness of the side screen can be reduced to the same as that of the main screen.
  • the transparency of the mask layer of the secondary screen By adjusting the transparency of the mask layer of the secondary screen, the brightness of the side screen can be reduced.
  • the brightness of the secondary screen is reduced to the same as that of the main screen.
  • the brightness of the main screen is 94.8%
  • the brightness of the side screen is 100%
  • the brightness of the secondary screen is 98.2%.
  • Adjusting the transparency through the mask layer can reduce the brightness of the two screens with higher brightness, thereby reducing the brightness difference between the three screens, so that the display effects of the three screens are consistent.
  • the above-mentioned mask layer is overlaid on the initial layer of the display screen, that is, on the upper layer of the initial layer, brightness compensation is achieved by setting the transparency of the mask layer.
  • the transparency value is set to 0%, which means that the mask layer is completely transparent. Yes, the transparency value is set to 100%, which means that it is completely opaque, and the transparency value is set between 0% and 100%. The larger the value, the lower the transparency.
  • the mask layer involved in the embodiments of this application mainly adjusts the brightness of the screen by changing the transparency.
  • the mask layer can be superimposed on layers with other functions. For layers with other functions The function does not have an impact. If the mask layer is superimposed on other layers, and the transparency value of the mask layer is greater than 0, it will only affect the brightness of the area where the mask layer exists.
  • the electronic device may be a portable terminal including a display screen, such as a mobile phone, a tablet computer, and the like.
  • portable electronic devices include, but are not limited to, carrying Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a digital camera.
  • the above-mentioned electronic device may not be a portable electronic device, but a desktop computer with a display screen or the like.
  • FIG. 2 shows a schematic diagram of the hardware structure of the mobile phone 100.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and user Identification module (subscriber identification module, SIM) card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 19
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 100 can run the software code of the compensation algorithm provided in the embodiment of the present application to realize the process of compensating for the brightness difference of each screen of the electronic device.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices.
  • the charging management module 140 is used to receive charging input from the charger.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the mobile phone 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the mobile phone 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the wireless communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna
  • the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the camera 193 is used to capture still images or videos.
  • the camera 193 may include a front camera and a rear camera.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area. Wherein, the storage program area can store an operating system, and software code of at least one application program, etc.
  • the data storage area can store data (such as images, videos, etc.) generated during the use of the mobile phone 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the internal memory 121 may also store the software code of the compensation method provided in the embodiment of the present application.
  • the processor 110 runs the software code, the process steps of the compensation method are executed to realize the process of compensating the brightness of each screen of the electronic device.
  • the internal memory 121 may also store usage statistics corresponding to the brightness of each screen, calculated compensation values, transparency, and the like.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function.
  • the software code of the compensation method provided in the embodiments of the present application can also be stored in an external memory, and the processor 110 can run the software code through the external memory interface 120, execute the process steps of the compensation method, and realize the control of each screen of the electronic device.
  • the process of compensating for the brightness The usage statistics corresponding to the brightness of each screen obtained by the mobile phone 100, the calculated compensation value, the aging model, various corresponding relationships, etc. may also be stored in an external memory.
  • the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the gyro sensor 180B may be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the air pressure sensor 180C is used to measure air pressure.
  • the mobile phone 100 uses the air pressure value measured by the air pressure sensor 180C to calculate the altitude to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the mobile phone 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • the mobile phone 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the mobile phone 100 emits infrared light to the outside through the light emitting diode.
  • the mobile phone 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the mobile phone 100. When insufficient reflected light is detected, the mobile phone 100 can determine that there is no object near the mobile phone 100.
  • the mobile phone 100 can use the proximity light sensor 180G to detect that the user holds the mobile phone 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the mobile phone 100 can adaptively adjust the brightness of the display 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the mobile phone 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the mobile phone 100 performs a reduction in the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the mobile phone 100 when the temperature is lower than another threshold, the mobile phone 100 heats the battery 142 to avoid abnormal shutdown of the mobile phone 100 due to low temperature.
  • the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the mobile phone 100 can receive key input, and generate key signal input related to user settings and function control of the mobile phone 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the mobile phone 100.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100.
  • the mobile phone 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the embodiment of the present application also provides a software architecture.
  • the software architecture of the mobile phone 100 can divide the software into several layers, each with a clear role and division of labor. Communication between layers through software interface.
  • the Android system can be divided into four layers, from top to bottom are the application layer (referred to as application layer), application framework layer (referred to as framework layer), Android runtime and system library. , And the kernel layer (also known as the driver layer).
  • the application layer can include a series of application packages. As shown in Figure 3a, the application layer can include system applications and third-party applications.
  • the system applications can include settings, screenshots, screen recording, user interface (UI), short messages, etc.
  • third-party applications Programs can include maps, navigation, music, videos, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions. As shown in Figure 3a, the application framework layer may include a window manager, a content provider, a phone manager, a resource manager, a notification manager, a view system, a screen loss modeling module, and a mask layer drawing module.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the mobile phone 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • the screen loss modeling module is used to calculate the position, compensation value, and transparency (Alpha value) of the area to be compensated in each screen.
  • the mask layer drawing module is used to draw the mask layer for the screen that needs brightness compensation, and set the Alpha value for the mask layer.
  • the screen loss modeling module can periodically read the usage data and aging formula of each screen in the Flash in the hardware layer.
  • the aging formula can be expressed as:
  • Lum is the screen brightness after time t
  • Lum_init is the maximum brightness of the screen
  • t is the cumulative value of the historical use time (that is, the time the screen is in the bright screen state)
  • t 0 is the theoretical maximum light-emitting duration of the screen area
  • Lev is the brightness of the light-emitting unit with the maximum brightness at the current moment in the OLED material of the screen
  • Lev_max is the maximum brightness of the light-emitting unit in the OLED material of the screen
  • each brightness-related parameter in the formula (1) is the actual brightness.
  • ⁇ , k, and ⁇ are collectively referred to as manufacturing process parameters.
  • is a parameter related to the maximum brightness
  • k is a constant determined by the OLED process
  • is a parameter related to the OLED material and manufacturing process.
  • the brightness of the light-emitting unit in the screen is stored in a register.
  • the use time of the screen that is, the time when the screen is on
  • the brightness of each light-emitting unit stored in the register is also attenuated and can be read from the register at any time Take the brightness of each light-emitting unit.
  • the brightness of each light-emitting unit can be read from the register at the time of delivery (that is, at any time before the main screen is turned on for the first time), and a maximum value can be determined from it.
  • the brightness is taken as Lev_max in formula (1); the brightness of each light-emitting unit included in the main screen can be read at the first moment, and then a maximum brightness is determined from each light-emitting unit as the value of Lev in formula (1), ⁇ , k, ⁇ , t 0 , Lum_init are known constants at the factory and are stored in the register; t is the total time that the screen area is in the on-screen state from the factory moment to the first moment; then according to formula (1) Calculate the brightness Lum of the main screen.
  • time t is to calculate the brightness by counting the time the screen is in the bright state, regardless of brightness and display color. In some other examples, it is also possible to count the usage time of the screen in different brightness or different colors. , To determine the brightness of the screen after t is used for a long time and attenuated.
  • the screen loss modeling module can also calculate the actual brightness of each screen after the attenuation of the time t according to the usage data of each screen and the aging formula.
  • Taking the screen with the lowest actual brightness as a reference calculate the brightness difference between the main screen, the auxiliary screen and the side screen respectively, so as to adjust the brightness of the auxiliary screen and the side screen to make the brightness of the side screen and the auxiliary screen consistent.
  • calculate the brightness difference between the main screen, the auxiliary screen and the side screen respectively so as to adjust the brightness of the auxiliary screen and the side screen to make the brightness of the side screen and the auxiliary screen consistent.
  • the mask layer drawing module is used to draw the mask layer and set the Alpha value of the mask layer, and then pass the mask layer to surfaceFlinger so that surfaceFlinger will receive the mask layer and the initial layer from the mask layer drawing module
  • the synthesized data is sent to the LCD through the frame buffer for display. After that, the synthesized data can be displayed on the display screen, and the human eye can see that the display brightness of the entire screen is consistent.
  • the mask layer drawing module may include a resolution adaptive module, a screen-turning direction adaptive module, a screenshot adaptive module, a screen recording adaptive module, and an external display adaptive module.
  • the resolution adaptive module can adjust the resolution of the mask layer when the system resolution changes to ensure that the area displayed on the physical position of the mask layer on the entire display screen remains unchanged.
  • the screen rotation direction adaptive module can be used to adjust the direction of the mask layer when the screen is rotated, so that the physical position of the compensated area remains unchanged in the entire display screen.
  • the screen capture adaptive module is used to traverse all layers and capture the interface formed by layers other than the mask layer when a screen capture event is received.
  • the screen recording adaptive module is used to traverse all the layers and intercept the interface formed by the layers except the mask layer when the screen recording event is received.
  • the external display adaptive module is used to send the data corresponding to the layers other than the mask layer to the external display device for display when the content to be displayed is sent to the external display device.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: Surface flinger, Media Libraries, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a frame buffer (framebuffer), a display driver, a sensor driver, an audio driver, a camera driver, a display subsystem (display subsystem, DSS) driver, etc., which are not limited in the embodiment of the present application.
  • the brightness of the side screen and the secondary screen are reduced by 3.4%, that is, the side screen and the secondary screen are reduced by 3.4%.
  • the brightness of the screen is reduced to 96.6%, and the brightness of the secondary screen is reduced to 94.8%.
  • create a mask layer for the side screen By adjusting the transparency of the mask layer, the brightness of the side screen can be further reduced by 1.8%, that is, the brightness of the side screen can be reduced to 94.8%.
  • FIG. 4 is a sequence diagram of a process of creating a mask layer provided by an embodiment of this application. As shown in Figure 4, it mainly includes the following steps:
  • step 401 the surface manager (Surfaceflinger, SF) initializes the screen display state of the side screen.
  • the screen display state can be displayed or closed.
  • Step 402 Create a mask layer display thread (MettaLayer Display: Thread) through the SF decoupling function (surfaceflingerEx).
  • the mask layer display thread notifies the display engine manager process to create an object, and the object includes relevant information for determining whether to support the characteristics of the mask layer.
  • step 404 the mask layer display thread acquires the object.
  • step 405 the mask layer display thread determines the result of whether the side screen supports the characteristics of the mask layer according to the acquired object.
  • the mask layer display thread returns the result (whether the side screen supports the mask layer characteristics) to the SF decoupling function. If the result received by the SF decoupling function is that the side screen supports the mask layer feature, then the mask thread is started after receiving the completion of the main thread start.
  • step 407 the surface manager notifies the SF decoupling function that the main thread is started up.
  • Step 408 the SF decoupling function starts the mask thread.
  • step 409 the mask layer display thread starts and runs.
  • the mask layer display thread obtains mask graphic display information from the SF.
  • step 411 the mask layer display thread obtains the display information.
  • the mask layer display thread determines layer parameters according to the display information.
  • the mask layer display thread creates an SF client (surface composer client), which can serve as a proxy object for communicating with the surface manager.
  • SF client surface composer client
  • step 414 the SF client returns the SF client ID to the mask layer display thread.
  • Step 415 the mask layer display thread creates a mask layer in the SF client.
  • step 416 the SF client returns a handle to the mask layer display thread.
  • Step 417 the mask layer display thread sets the layer parameters of the mask layer on the SF client through the handle.
  • the layer parameters can be the resolution, direction, size, transparency, etc. of the mask layer.
  • step 418 the SF client returns the setting result of the layer parameters to the mask layer display thread.
  • Step 419 the mask layer display thread creates a callback function.
  • step 420 the callback function is created.
  • the mask layer display thread registers a callback function with the display engine manager process.
  • the mask layer display thread obtains the layer parameters of the side screen from the display engine manager process by registering a callback function.
  • the mask layer display thread waits for the signal to be triggered.
  • the mask layer display thread may receive a signal triggered by an event such as a screen orientation change or a resolution change, and trigger the resetting of the layer parameters of the mask layer.
  • Step 501 The display engine manager (display engine manager) process calls the callback function (display engine callback).
  • Step 502 the display engine manager process notifies the mask layer display thread (metta layer display: thread) by calling the onevent class in the callback function: layer parameters of the mask layer.
  • the mask layer display thread checks whether the transparency in the layer parameters of the mask layer changes according to the obtained layer parameters of the mask layer.
  • the mask layer display thread sends the changed transparency to the SF client when the transparency changes.
  • the transparency of the mask layer before the change is 0%, and the transparency after the change is 1.8%.
  • Step 505 the SF client updates the transparency of the mask layer.
  • the size or size of the mask layer also needs to be changed in order to adapt to the size of the screen, so that the entire screen is covered by the mask layer, and the overall brightness of the screen can be consistent.
  • Sex As shown in Table 1 below, the mask attributes (wd, hd, x, y, w, h) of the side screen corresponding to different resolutions and orientations, where wd is the width of the entire screen of the phone, and hd is the entire screen of the phone The height of (x,y) is the coordinates of the mask layer, w is the width of the mask layer, and h is the height of the mask layer.
  • Table 1 shows the mask properties of the side screen corresponding to different resolutions and directions
  • Table 1 shows the mask properties of the mask layers corresponding to the mobile phone screen in each direction when the mobile phone screen resolution is 1100*1240, 1650*1860, 2200*2480, and the mobile phone screen resolution is 2200 *2480 is an example for description.
  • the mask properties of the mask layer will also change.
  • the screen direction of the mobile phone is direction 1.
  • the screen direction of the mobile phone is direction 0
  • the screen direction of the mobile phone is direction 3
  • the phone screen continues to rotate 90° to the left the screen direction of the phone is direction 2.
  • the screen direction of the phone is direction 1.
  • the screen direction of the mobile phone is direction 1 as an example.
  • the width of the mobile phone screen is 2200 and the height is 2480, and the coordinate position (x, y) of the mask layer of the corresponding side screen is (1148, 0). ), the width of the mask layer is 160 and the height is 2480.
  • Step 701 The application/other SF client sends an event that the screen orientation/resolution changes to the SF decoupling function (surface flinger Ex).
  • the SF decoupling function informs the mask layer display thread (metta layer display: thread) of the occurrence of the event by setting the transaction status function.
  • step 703 the mask layer display thread checks whether the resolution and direction of the screen are changed, and obtains the check result.
  • step 704 the mask layer display thread sends the check result to the SF decoupling function.
  • step 705 the SF decoupling function sends the inspection result to the surface flinger.
  • step 706 if the surface manager determines that the check result is that the resolution and/or screen orientation has changed, it updates the resolution and/or size of the mask layer. Of course, if the surface manager determines that the check result is that the resolution and/or screen orientation has not changed, the resolution and/or size of the mask layer will not be updated.
  • the following takes the change of the orientation of the mobile phone screen from the expanded state to the folded state as an example to illustrate the process of layer resolution caused by changes in the physical state of the mobile phone screen. As shown in Figure 8, it mainly includes the following steps:
  • step 801 the mobile phone is in a full-screen display state.
  • step 802 the sensor detects that the mobile phone is changed from the unfolded state to the folded state, and sends a notification that the folded state of the mobile phone has changed to the sensor state manager/state service. After that, step 803 and step 808 are performed respectively.
  • Step 803 The sensor state manager notifies the surface manager (surfaceflinger) to set the switching screen state.
  • step 804 the surface manager notifies the DSS driver to set the switching screen state.
  • step 805 the DSS driver delays for a few frames and switches to full-screen display through the DSC.
  • step 806 the surface manager notifies the mask layer display thread (metta layer display: thread) to check the folding state.
  • step 807 the mask layer display thread waits for the window manager (WMS) processing to be completed.
  • WMS window manager
  • step 808 the sensor state manager notifies the display manager service to set the switching screen state.
  • Step 809 The display manager notifies the window manager of the new display resolution.
  • step 810 the window manager freezes the screen/notifies the application to switch to a new display resolution.
  • "/" means or.
  • step 811 the window manager notifies the display manager to apply the new display resolution to the layer/unfreeze screen drawn in the new size.
  • step 812 the display manager notifies the surface manager to set a new display position.
  • step 813 the surface manager notifies the mask layer display thread WMS to complete the inspection.
  • the mask layer display thread creates/deletes the layer. For example, take the mask layer set on the side screen as an example.
  • the mask layer corresponding to the side screen needs to be deleted.
  • a mask layer needs to be created for the side screen.
  • step 815 the surface manager notifies the new display position of the hardware composer (HWC) layer.
  • HWC hardware composer
  • Step 901 the surface manager (surfaceflinger) receives the triggering screen capture event.
  • step 902 the surface manager traverses all the layers to be captured, and sends all the layers to the renderer.
  • step 903 the surface manager sends a snapshot of the layer to be captured to the SF decoupling function (surfaceflingerEx).
  • step 904 the SF decoupling function notifies the mask layer display thread (metta layer display: thread) to determine whether there is a mask layer.
  • step 905 the mask layer display thread determines whether there is a mask layer.
  • step 906 the mask layer display thread sends the determined result to the SF decoupling function.
  • Step 907 When the SF decoupling function notifies the surface manager to draw the layer to be captured, the mask layer is skipped and no painting processing is performed.
  • the content after recording the screen of the mobile phone 100 may be used to play in electronic devices with consistent screen brightness. If the mask layer of the side screen of the mobile phone 100 is also recorded, it will be recorded When the content of is played on an electronic device with consistent screen brightness, the brightness of the area where the mask layer is located is darker, while the brightness of other places is brighter.
  • the screen of the mobile phone 100 is used as the main display, and the screens of other mobile phones are used as the non-main display.
  • the mask layer of the screen is sent to a non-main display for display, the brightness of the area where the mask layer is located is darker, while the brightness of other places is brighter.
  • Step 1001 the application notifies the surface manager (surfaceflinger) to enter the screen recording or multi-display scene.
  • step 1002 the surface manager calculates the visible area of each layer.
  • step 1003 the surface manager traverses all the layers, and adds the layers whose visible area of each layer and the current display area are intersected to the layer set of the corresponding display.
  • step 1004 the surface manager notifies the SF decoupling function (surfaceflingerEx) to determine whether there is a mask layer in the layer set corresponding to each display.
  • step 1005 the SF decoupling function notifies the mask layer display thread (metta layer display: thread) to determine whether there is a mask layer in the layer set corresponding to each display.
  • Step 1006 the mask layer display thread determines whether there is a mask layer.
  • Step 1007 the mask layer display thread sends the determined result to the SF decoupling function.
  • step 1008 the SF decoupling function notifies the surface manager to determine the layer set of all displays, and skip the mask layer in the layer set of any non-main display (peripheral display, screen recording, etc.).
  • FIG. 11 it exemplarily shows the flow of a compensation method provided by an embodiment of the present application.
  • the method is executed by an electronic device with a display screen.
  • the display screen includes a first screen area, a second screen area, and a second screen area.
  • the second screen area has a third screen area with the same drive circuit structure, and the method includes the following steps:
  • Step 1101 The electronic device respectively determines the brightness of the first screen area, the second screen area, and the third screen area at the first moment.
  • Step 1102 The electronic device determines the first gamma parameter corresponding to the brightness of the first screen area at the first moment.
  • Step 1103 The electronic device sets the second gamma parameter of the second screen area and the third screen area as the first gamma parameter.
  • Step 1104 When content needs to be displayed in the third screen area, the electronic device adds a mask layer to the third screen area.
  • Step 1105 The electronic device adjusts the transparency of the mask layer to the first transparency according to the brightness difference between the second screen area and the third screen area at the first moment.
  • the brightness difference between the second screen area and the third screen area at the first moment is the same as the brightness difference between the second screen area and the third screen area after being adjusted to the first gamma parameter. That is to say, the above step 1105 can also be replaced by: adjusting the transparency of the mask layer to the first transparency according to the brightness difference between the second screen area and the third screen area after being set as the first gamma parameter.
  • adjusting the same gamma parameter can reduce the brightness of the second screen area and the third screen area, and the first screen area is used.
  • the first gamma parameter corresponding to the area replaces the second gamma parameter of the second screen area, and the brightness of the second screen area can be adjusted to be consistent with the brightness of the first screen area, and the adjustment amount of the brightness of the third screen area
  • the adjustment amount of the brightness of the second screen area is the same, so there is still a brightness difference between the third screen area and the first screen area.
  • a mask layer is added to the third screen area, according to the second screen area and the third screen area.
  • the difference in brightness between the two makes the display effect of different screen areas consistent.
  • respectively determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment includes: according to the first screen area, the second screen area, and the The initial brightness of the third screen area, the total duration of the on-screen state, and the manufacturing process parameters determine the brightness of the first screen area, the second screen area, and the third screen area at the first moment. In this way, it is convenient to determine the brightness of the three screen areas at the first moment in real time, so that the brightness difference of the three screen areas can be adjusted in real time.
  • the following formula is used to determine the brightness of any one of the first screen area, the second screen area, and the third screen area at the first moment:
  • the Lum is the screen brightness of the screen area from the factory time to the first time
  • the Lum_init is the maximum brightness of the screen area at the factory time
  • t is the screen area from the factory time to the The total time in the bright screen state at the first moment
  • t 0 is the theoretical maximum light-emitting duration of the screen area
  • Lev is the brightness of the light-emitting unit with the largest brightness at the first moment among the light-emitting units included in the screen area
  • Lev_max is Among the light-emitting units included in the screen area, the light-emitting unit with the largest brightness at the time of delivery
  • the ⁇ is the first manufacturing process parameter
  • k is the second manufacturing process parameter
  • is the third manufacturing process parameter.
  • the specific manner of determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment may refer to the above formula (1).
  • the first screen area corresponding to the brightness of the first screen area at the first moment is determined.
  • it further includes: determining that the brightness of the second screen area is greater than the brightness of the first screen area and less than the brightness of the third screen area.
  • the brightness of the second screen area and the third screen area with greater brightness can be adjusted separately to reduce the difference between the brightness of the second screen area and the third screen area and the brightness of the first screen area. The difference.
  • the first gamma parameter corresponding to the brightness of the first screen area at the first moment may be determined according to the grayscale value corresponding to the brightness of the first screen area at the first moment and the first corresponding Relationship, determining the first gamma parameter corresponding to the brightness of the first screen area at the first moment, where the first corresponding relationship includes the corresponding relationship between the gamma parameter and the grayscale value. In this way, the gamma parameter of the first screen area can be easily determined.
  • setting the second gamma parameter of the second screen area and the third screen area as the first gamma parameter may include: reading the second gamma parameter from a configuration file in an internal memory. The storage location of the second gamma parameter in the second screen area and the third screen area; delete the second gamma parameter in the storage location of the second gamma parameter, and write the first gamma parameter into the second gamma parameter In the storage location.
  • the method may further include: determining that the third screen area supports the characteristics of the mask layer. In other words, when the third screen area supports the mask layer feature, add a mask layer; when the third screen area does not support the mask layer feature, no operation is performed.
  • the electronic device adjusts the transparency of the mask layer to the first transparency according to the brightness difference between the second screen area and the third screen area at the first moment, which may include: the electronic device according to the second screen area Determine the percentage of the initial brightness of the third screen area from the brightness difference with the third screen area at the first moment; use the percentage as the first transparency; adjust the transparency of the mask layer to the first transparency.
  • the transparency of the mask layer can be a value of 0-100. When the transparency value is 0, it means completely transparent, and the transparency value is 100, which means completely opaque.
  • the brightness difference of the third screen area accounts for the percentage of the initial brightness of the third screen area.
  • the brightness of the third screen area can be reduced by this brightness difference, so as to reduce the brightness of the third screen area to the first screen area. Unanimous.
  • the method may further include: obtaining display information of the third screen area; and determining the image of the mask layer according to the display information of the third screen area.
  • Layer parameters include one or more of resolution, direction, size, and transparency; after the mask layer is added to the third screen area, the method may further include: setting the layer parameters of the mask layer.
  • the above method further includes: when determining that the layer parameters of the mask layer change, determining the layer parameters after the change; and setting the layer parameters of the mask layer according to the layer parameters after the change. In this way, when the layer parameters of the mask layer change, the layer parameters of the mask layer can be updated in time.
  • the above method further includes: when the screen orientation of the electronic device changes or the screen resolution changes, determining the first mask attribute corresponding to the changed direction or the changed resolution; the first mask The version attributes include the height and width of the display screen, the coordinates of the mask layer, and the height and width of the mask layer; adjust the mask attribute of the mask layer to the first mask attribute.
  • the mask properties of the mask layer are adaptively adjusted, so that the mask layer adapts to the change of the third screen area.
  • the method may further include: when it is determined that the brightness difference between the third screen area and the second screen area changes, determining the percentage of the changed brightness difference to the initial brightness of the third screen area, as Second transparency; adjust the transparency of the mask layer to the second transparency.
  • Second transparency when it is determined that the brightness difference between the third screen area and the second screen area changes, the transparency of the mask layer can be updated in time, and the brightness difference between the screen areas can be reduced in time to make the display effect of different screen areas Unanimous.
  • the mask layer is deleted when the display of the third screen area is turned off. In this way, the mask layer is deleted when the third screen area is not displayed, which can save system overhead.
  • the resolution of the mask layer is adjusted according to the changed direction or the changed resolution. In this way, the mask layer can be adapted to the change of the third screen area, avoiding the problem that the actual display area of the third screen area does not match the screen resolution.
  • the electronic device when the electronic device enables the screen capture or screen recording function, if it is determined that the content to be captured includes a mask layer, the mask layer is deleted from the content to be captured, and the content to be captured from the deleted mask layer is deleted Perform screen capture or screen recording function.
  • the content after screen capture or recording is played in an electronic device with consistent screen brightness, it can avoid the situation that the brightness of the area where the mask layer is located is dark, and the brightness of other places is brighter.
  • the electronic device needs to share the displayed content with the external display, if it is determined that the content to be shared includes a mask layer, the mask layer is deleted from the content to be shared, and the deleted mask is shared with the external display.
  • the content to be shared of the layer In this way, it is possible to avoid the situation that the brightness of the area where the mask layer is located is dark when the external display with consistent screen brightness is playing the shared content, while the brightness of other places is brighter.
  • the method is executed by an electronic device with a display screen.
  • the display screen includes a first screen area, a second screen area, and a second screen area. Three screen areas, wherein the brightness of the second screen area and the third screen area are controlled by the same gamma parameter, and the method includes the following steps:
  • Step 1201 The electronic device respectively determines the brightness of the first screen area, the second screen area, and the third screen area at the first moment.
  • Step 1202 When the second screen area needs to display content, a first mask layer is added to the second screen area, and according to the first brightness difference between the first screen area and the second screen area at the first moment, the first The transparency of the mask layer is adjusted to the second transparency.
  • Step 1203 When the third screen area needs to display content, a second mask layer is added to the third screen area, and according to the second brightness difference between the first screen area and the third screen area at the first moment, the second The transparency of the mask layer is adjusted to the third transparency.
  • the electronic device can adjust the transparency of the mask layer corresponding to the second screen area and the third screen area by adding a mask layer to the second screen area and the third screen area respectively, so that the second screen area
  • the brightness of the area is adjusted to be consistent with the brightness of the first screen area
  • the brightness of the third screen area is also adjusted to be the same as the brightness of the first screen area, so as to reduce the difference in brightness between the screen areas of the electronic device.
  • the display effect of the screen area is the same.
  • respectively determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment includes: according to the first screen area, the second screen area, and the The initial brightness of the third screen area, the total duration of the on-screen state, and the manufacturing process parameters determine the brightness of the first screen area, the second screen area, and the third screen area at the first moment. In this way, it is convenient to determine the brightness of the three screen areas at the first moment in real time, so that the brightness difference of the three screen areas can be adjusted in real time.
  • the following formula is used to determine the brightness of any one of the first screen area, the second screen area, and the third screen area at the first moment:
  • the Lum is the screen brightness of the screen area from the factory time to the first time
  • the Lum_init is the maximum brightness of the screen area at the factory time
  • t is the screen area from the factory time to the The total time in the bright screen state at the first moment
  • t 0 is the theoretical maximum light-emitting duration of the screen area
  • Lev is the brightness of the light-emitting unit with the largest brightness at the first moment among the light-emitting units included in the screen area
  • Lev_max is Among the light-emitting units included in the screen area, the light-emitting unit with the largest brightness at the time of delivery
  • the ⁇ is the first manufacturing process parameter
  • k is the second manufacturing process parameter
  • is the third manufacturing process parameter.
  • the specific method for determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment may refer to the above formula (1) and related content, which will not be repeated here.
  • the second screen area, and the third screen area at the first moment after separately determining the brightness of the first screen area, the second screen area, and the third screen area at the first moment, it further includes: determining that the brightness of the second screen area is greater than the brightness of the first screen area, And less than the brightness of the third screen area.
  • the brightness of the second screen area and the third screen area with greater brightness can be adjusted separately to reduce the difference between the brightness of the second screen area and the third screen area and the brightness of the first screen area. The difference.
  • the method may further include: determining that the second screen area supports the characteristics of the mask layer. In other words, when the third screen area supports the mask layer feature, the first mask layer is added; when the third screen area does not support the mask layer feature, no operation is performed.
  • the method may further include: determining that the third screen area supports the characteristics of the mask layer. In other words, when the third screen area supports the mask layer feature, add a second mask layer; when the third screen area does not support the mask layer feature, no operation is performed.
  • adjusting the transparency of the first mask layer to the second transparency according to the first brightness difference between the first screen area and the second screen area at the first moment includes: according to the first screen area and The first brightness difference of the second screen area at the first moment is determined, and the first brightness difference accounts for the first percentage of the initial brightness of the second screen area; the first percentage is regarded as the second transparency; the first The transparency of the mask layer is adjusted to the second transparency.
  • the method before adding the first mask layer to the second screen area, may further include: obtaining display information of the second screen area; and determining the first mask layer according to the display information of the second screen area
  • the layer parameters of the layer; the layer parameters include one or more of the resolution, direction, size, and transparency of the first mask layer; after the first mask layer is added to the third screen area, the method can also include: Set the layer parameters of the first mask layer.
  • the above method further includes: when it is determined that the layer parameters of the first mask layer are changed, determining the layer parameters after the first change; and setting the first mask according to the layer parameters after the first change.
  • the first layer parameter of the plate layer In this way, when the layer parameters of the first mask layer change, the layer parameters of the first mask layer can be updated in time.
  • the above method further includes: when the screen orientation of the electronic device changes or the screen resolution changes, determining the first mask attribute corresponding to the changed direction or the changed resolution; the first mask The version attributes include the height and width of the display screen, the coordinates of the first mask layer, and the height and width of a mask layer; the mask attribute of the first mask layer is adjusted to the first mask attribute.
  • the mask attributes of the first mask layer are adaptively adjusted, so that the first mask layer adapts to the change of the second screen area.
  • the method may further include: when it is determined that the brightness difference between the second screen area and the first screen area changes, determining the percentage of the changed brightness difference to the initial brightness of the second screen area, As the fourth transparency; adjust the transparency of the first mask layer to the fourth transparency.
  • the transparency of the first mask layer in the second screen area can be updated in time to reduce the brightness difference between the screen areas in time, Make the display effect of different screen areas consistent.
  • adjusting the transparency of the second mask layer to the third transparency according to the second brightness difference between the first screen area and the third screen area at the first moment includes: according to the first screen area and The second brightness difference of the third screen area at the first moment is determined, and the second brightness difference accounts for the second percentage of the initial brightness of the third screen area; the second percentage is used as the third transparency; the mask image The transparency of the layer is adjusted to the third transparency.
  • the second brightness difference between the first screen area and the third screen area to account for the second percentage of the initial brightness of the third screen area as the third transparency
  • the brightness of the third screen area can be reduced by the second percentage. Two brightness differences, so as to reduce the brightness of the third screen area to be consistent with the first screen area.
  • the method before adding the second mask layer to the third screen area, may further include: obtaining display information of the third screen area; and determining the second mask layer according to the display information of the third screen area
  • the layer parameters of the layer include one or more of the resolution, direction, size, and transparency of the second mask layer
  • after adding the second mask layer in the third screen area it also includes: setting the second mask layer The layer parameters of the mask layer.
  • the above method further includes: when it is determined that the layer parameters of the first mask layer have changed, determining the layer parameters after the second change; and setting the second mask according to the layer parameters after the second change.
  • the layer parameters of the plate layer In this way, when the layer parameters of the second mask layer change, the layer parameters of the second mask layer can be updated in time.
  • the above method further includes: when the screen orientation of the electronic device changes or the screen resolution changes, determining the second mask attribute corresponding to the changed direction or the changed resolution; the second mask
  • the mask attributes include the height and width of the display screen, the coordinates of the second mask layer, and the height and width of the second mask layer.
  • the electronic device adjusts the mask attributes of the second mask layer to the second mask attributes. In this way, when the screen orientation of the electronic device changes or the screen resolution changes, the mask properties of the second mask layer are adaptively adjusted, so that the second mask layer adapts to the changes in the third screen area.
  • the method may further include: when it is determined that the brightness difference between the third screen area and the first screen area changes, determining the percentage of the changed brightness difference to the initial brightness of the third screen area, As the fifth transparency; adjust the transparency of the second mask layer to the fifth transparency.
  • the transparency of the second mask layer in the third screen area can be updated in time to reduce the brightness difference between the screen areas in time, Make the display effect of different screen areas consistent.
  • the first mask layer is deleted; when the display of the third screen area is closed, the second mask layer is deleted. In this way, when any one of the second screen area and the third screen area is not displayed, the mask layer corresponding to the corresponding screen area is deleted, which can save system overhead.
  • the resolution of the first mask layer and the second mask layer are adjusted according to the changed direction or the changed resolution, so as to It can realize that the mask layer adapts to the resolution change of the corresponding screen area, avoiding the problem that the actual display area of the screen area does not match the screen resolution.
  • the electronic device when the electronic device enables the screen capture or screen recording function, if it is determined that the content to be captured includes the first mask layer, the first mask layer is deleted from the content to be captured, and the first mask layer is deleted. Perform screen capture or screen recording on the content to be captured of the version layer; if it is determined that the content to be captured includes the second mask layer, delete the second mask layer from the content to be captured, and delete the second mask layer to be captured.
  • the content performs screen capture or screen recording function. In this way, when the content after the screenshot or recording is played on an electronic device with consistent screen brightness, it can avoid the situation that the brightness of the area where the mask layer is located is dark, while the brightness of other places is brighter.
  • the electronic device needs to share the display content with the external display, if it is determined that the content to be shared includes the first mask layer, the first mask layer is deleted from the content to be shared and the display is sent to the external display Share the content to be shared of the deleted first mask layer; if it is determined that the content to be shared includes the second mask layer, delete the second mask layer from the content to be shared, and share the deleted second mask image to the external display Layer of content to be shared.
  • the brightness of the area where the mask layer is located is dark when the external display with consistent screen brightness is playing the shared content, while the brightness of other places is brighter.
  • the method provided in the embodiments of the present application is introduced from the perspective of the electronic device (mobile phone 100) as the execution subject.
  • the terminal device may include a hardware structure and/or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain function of the above-mentioned functions is executed by a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraint conditions of the technical solution.
  • an electronic device may include: a display screen 1301; one or more processors 1302; a memory 1303; one or more applications Programs (not shown); and one or more computer programs 1304, and the above-mentioned devices may be connected through one or more communication buses 1305.
  • the one or more computer programs 1304 are stored in the aforementioned memory 1303 and configured to be executed by the one or more processors 1302, and the one or more computer programs 1304 include instructions, and the aforementioned instructions can be used to execute the aforementioned implementations. The method in the example.
  • the embodiments of the present application also provide a computer storage medium that stores computer instructions, and when the computer instructions run on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the touch screen method in the foregoing method embodiments.
  • the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • the term “when” can be interpreted as meaning “if" or “after” or “in response to determining" or “in response to detecting".
  • the phrase “when determining" or “if detected (statement or event)” can be interpreted as meaning “if determined" or “in response to determining" or “when detected (Condition or event stated)” or “in response to detection of (condition or event stated)”.
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state hard disk).

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

La présente invention concerne un procédé de compensation et un dispositif électronique, le procédé comprenant les étapes suivantes : le dispositif électronique détermine respectivement la luminosité d'une première zone d'écran, d'une deuxième zone d'écran et d'une troisième zone d'écran à un premier moment (1101) ; un premier paramètre gamma correspondant à la luminosité de la première zone d'écran au premier moment est déterminé (1102) ; le premier paramètre gamma est utilisé pour remplacer un second paramètre gamma de la deuxième zone d'écran et de la troisième zone d'écran (1103) ; la luminosité de la deuxième zone d'écran et de la troisième zone d'écran peut être réduite par la même quantité, la luminosité de la deuxième zone d'écran est réduite de façon à être cohérente avec celle de la première zone d'écran, puis une couche de masque est ajoutée à la troisième zone d'écran (1104) ; et en fonction de la différence de luminosité entre la deuxième zone d'écran et la troisième zone d'écran au premier moment, la transparence de la couche de masque est réglée à une première transparence (1105), ce qui permet de réduire la différence de luminosité entre diverses zones d'écran, de telle sorte que l'effet d'affichage de différentes zones d'écran est cohérent.
PCT/CN2020/130168 2019-11-20 2020-11-19 Procédé de compensation et dispositif électronique WO2021098790A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911144228.7 2019-11-20
CN201911144228.7A CN112825232B (zh) 2019-11-20 2019-11-20 一种补偿方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021098790A1 true WO2021098790A1 (fr) 2021-05-27

Family

ID=75906375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/130168 WO2021098790A1 (fr) 2019-11-20 2020-11-19 Procédé de compensation et dispositif électronique

Country Status (2)

Country Link
CN (1) CN112825232B (fr)
WO (1) WO2021098790A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114446217A (zh) * 2022-03-09 2022-05-06 京东方科技集团股份有限公司 显示补偿方法、补偿装置、显示装置及存储介质
CN115943448A (zh) * 2021-07-29 2023-04-07 荣耀终端有限公司 光斑显示方法、电子设备及计算机可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694618B (zh) * 2022-03-03 2023-06-27 武汉华星光电半导体显示技术有限公司 显示面板的亮度调节方法及其装置
WO2023240624A1 (fr) * 2022-06-17 2023-12-21 北京小米移动软件有限公司 Procédé de réglage de luminosité, appareil et support d'enregistrement
CN117130511A (zh) * 2023-02-24 2023-11-28 荣耀终端有限公司 亮度控制方法及其相关设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089941A (zh) * 2006-06-12 2007-12-19 三星电子株式会社 显示装置及其控制方法
JP2008263586A (ja) * 2007-04-12 2008-10-30 Samsung Electronics Co Ltd ディスプレイ装置およびその輝度調整方法
CN101937644A (zh) * 2009-06-30 2011-01-05 奇晶光电股份有限公司 影像补偿模块、有机发光二极管显示面板及影像补偿方法
WO2015178698A1 (fr) * 2014-05-21 2015-11-26 Samsung Electronics Co., Ltd. Appareil d'affichage, dispositif électronique le comprenant et procédé d'exploitation associé
CN106448612A (zh) * 2015-08-06 2017-02-22 联发科技股份有限公司 电子装置、处理器及色彩补偿方法
EP3316239A1 (fr) * 2016-10-25 2018-05-02 LG Display Co., Ltd. Dispositif d'affichage et son procédé de commande
CN108230406A (zh) * 2018-01-02 2018-06-29 联想(北京)有限公司 数据处理方法及电子设备
CN109862172A (zh) * 2018-11-30 2019-06-07 维沃移动通信有限公司 一种屏幕参数的调节方法及终端
CN109859689A (zh) * 2019-04-09 2019-06-07 Oppo广东移动通信有限公司 屏幕亮度调节方法及相关产品

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104078028A (zh) * 2014-06-27 2014-10-01 联想(北京)有限公司 一种屏幕亮度调节方法及电子设备
CN104347051A (zh) * 2014-06-30 2015-02-11 腾讯科技(深圳)有限公司 屏幕亮度调节的方法和系统
TWI539433B (zh) * 2014-08-13 2016-06-21 友達光電股份有限公司 曲面顯示裝置及其伽馬校正方法
US10878771B2 (en) * 2016-07-13 2020-12-29 Motorola Mobility Llc Deformable electronic device and methods and systems for display remediation to compensate performance degradation
CN109471631A (zh) * 2018-11-21 2019-03-15 北京京东尚科信息技术有限公司 蒙版素材的生成方法和装置
CN109976450B (zh) * 2019-03-15 2020-12-22 Oppo广东移动通信有限公司 屏幕校准方法、装置、电子设备及存储介质
CN110119295B (zh) * 2019-04-16 2022-05-17 华为技术有限公司 一种显示控制方法及相关装置

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089941A (zh) * 2006-06-12 2007-12-19 三星电子株式会社 显示装置及其控制方法
JP2008263586A (ja) * 2007-04-12 2008-10-30 Samsung Electronics Co Ltd ディスプレイ装置およびその輝度調整方法
CN101937644A (zh) * 2009-06-30 2011-01-05 奇晶光电股份有限公司 影像补偿模块、有机发光二极管显示面板及影像补偿方法
WO2015178698A1 (fr) * 2014-05-21 2015-11-26 Samsung Electronics Co., Ltd. Appareil d'affichage, dispositif électronique le comprenant et procédé d'exploitation associé
CN106448612A (zh) * 2015-08-06 2017-02-22 联发科技股份有限公司 电子装置、处理器及色彩补偿方法
EP3316239A1 (fr) * 2016-10-25 2018-05-02 LG Display Co., Ltd. Dispositif d'affichage et son procédé de commande
CN108230406A (zh) * 2018-01-02 2018-06-29 联想(北京)有限公司 数据处理方法及电子设备
CN109862172A (zh) * 2018-11-30 2019-06-07 维沃移动通信有限公司 一种屏幕参数的调节方法及终端
CN109859689A (zh) * 2019-04-09 2019-06-07 Oppo广东移动通信有限公司 屏幕亮度调节方法及相关产品

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115943448A (zh) * 2021-07-29 2023-04-07 荣耀终端有限公司 光斑显示方法、电子设备及计算机可读存储介质
CN114446217A (zh) * 2022-03-09 2022-05-06 京东方科技集团股份有限公司 显示补偿方法、补偿装置、显示装置及存储介质
CN114446217B (zh) * 2022-03-09 2023-12-22 京东方科技集团股份有限公司 显示补偿方法、补偿装置、显示装置及存储介质

Also Published As

Publication number Publication date
CN112825232A (zh) 2021-05-21
CN112825232B (zh) 2023-01-06

Similar Documents

Publication Publication Date Title
WO2021098790A1 (fr) Procédé de compensation et dispositif électronique
US11361734B2 (en) Display driving method and electronic device including the display driver integrated circuit for supporting the same
WO2021027747A1 (fr) Procédé et dispositif d'affichage d'interface
WO2020259452A1 (fr) Procédé d'affichage plein écran pour terminal mobile et appareil
WO2021013134A1 (fr) Procédé de commande de levage de caméra et dispositif électronique
WO2021063097A1 (fr) Procédé d'affichage et équipement électronique
US20230419570A1 (en) Image Processing Method and Electronic Device
WO2021169337A1 (fr) Procédé d'affichage d'empreintes digitales sur écran et dispositif électronique
WO2021036628A1 (fr) Procédé de commande tactile pour dispositif à écran pliable et dispositif à écran pliable
WO2021052016A1 (fr) Procédé de détection de posture de corps et dispositif électronique
WO2021043280A1 (fr) Procédé de compensation et dispositif électronique
WO2021037149A1 (fr) Procédé d'affichage d'icône d'application et appareil électronique
WO2020000448A1 (fr) Procédé et terminal d'affichage d'écran flexible
WO2021147396A1 (fr) Procédé de gestion d'icônes et terminal intelligent
WO2022002205A1 (fr) Procédé d'affichage et dispositif électronique
WO2022057512A1 (fr) Procédé et appareil à écran divisé et dispositif électronique
WO2021051982A1 (fr) Procédé d'appel d'interface matérielle et dispositif électronique
WO2023103951A1 (fr) Procédé d'affichage pour écran pliable et appareil associé
WO2021057472A1 (fr) Procédé de commande d'affichage et dispositif électronique
WO2022001258A1 (fr) Procédé et appareil d'affichage à écrans multiples, dispositif terminal et support de stockage
WO2023179428A1 (fr) Procédé d'affichage adaptatif d'interface et dispositif terminal
CN117079596B (zh) 屏幕亮度调节方法、终端设备及存储介质
WO2022089216A1 (fr) Procédé d'affichage d'interface et dispositif électronique
WO2021018248A1 (fr) Procédé d'affichage d'interface et dispositif électronique
WO2023207828A1 (fr) Procédé de réduction de consommation d'énergie, et dispositif électronique

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20891279

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20891279

Country of ref document: EP

Kind code of ref document: A1