WO2021208689A1 - 显示屏幕的调节方法、装置和设备 - Google Patents

显示屏幕的调节方法、装置和设备 Download PDF

Info

Publication number
WO2021208689A1
WO2021208689A1 PCT/CN2021/082734 CN2021082734W WO2021208689A1 WO 2021208689 A1 WO2021208689 A1 WO 2021208689A1 CN 2021082734 W CN2021082734 W CN 2021082734W WO 2021208689 A1 WO2021208689 A1 WO 2021208689A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
brightness
curve
ambient light
gray scale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/082734
Other languages
English (en)
French (fr)
Inventor
贺虎
迟世鹏
付如海
梁朝荣
朱家庆
何仲宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP21788305.7A priority Critical patent/EP4131247A4/en
Priority to US17/919,000 priority patent/US12087201B2/en
Publication of WO2021208689A1 publication Critical patent/WO2021208689A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • 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
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0686Adjustment of display parameters with two or more screen areas displaying information with different brightness or colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • This application relates to the field of terminal technology, and in particular to a method, device and equipment for adjusting a display screen.
  • the area can not only meet the light transmittance requirements of the camera and the under-screen light sensing device, but also can perform normal screen display, effectively increasing the screen-to-body ratio of the terminal screen.
  • the ambient light adaptive adjustment curve is determined by the ambient light adaptive adjustment curve, which indicates the mapping relationship between the ambient light intensity and the pulse width modulation (PWM) ratio or current ratio corresponding to the 255 gray scale of the display area, So that when adjusting the brightness of the several display areas with high light transmittance and the brightness of other display areas with non-high light transmittance according to the ambient light adaptive adjustment curve, although the proportions corresponding to the same environmental illuminance are the same, due to the The brightness of several high light transmittance display areas is different from the brightness of other non-high light transmittance display areas, so that the brightness of the several high light transmittance display areas is always It is lower than the brightness of other display areas on the terminal screen.
  • PWM pulse width modulation
  • the terminal when the user uses the terminal under ambient illumination such as indoors or dark night, that is, the terminal is in a scene with weak ambient light such as indoors or dark night, it will be because the brightness of the several high light transmittance display areas is lower than that of the terminal screen. The brightness of other display areas causes poor display effect on the terminal screen.
  • the embodiments of the present application provide a method, device, and equipment for adjusting a display screen, which improve the display effect of the terminal screen when the screen is displayed.
  • an embodiment of the present application provides a method for adjusting a display screen, which is applied to a terminal.
  • the screen of the terminal includes a first display area and a second display area.
  • a camera assembly is arranged below the first display area, and the first display
  • the light transmittance of the area is higher than the light transmittance of the second display area, and the adjustment method of the display screen may include:
  • the ambient light level is less than the ambient light level threshold, adjust the brightness corresponding to the gray scale of the first display area 255 to the first brightness through the first ambient light adaptive adjustment curve, and adjust the second display area 255 through the second ambient light adaptive adjustment curve
  • the brightness corresponding to the gray scale is the second brightness, and the first brightness and the second brightness are approximately equal.
  • the first ambient light adaptive adjustment curve is used to indicate the mapping relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area;
  • the second ambient light adaptive adjustment curve is used to indicate the ambient light intensity and the second display area The mapping relationship between the brightness corresponding to the 255 gray scale.
  • the first ambient light adaptive adjustment is used to indicate the mapping relationship between the environmental illuminance and the brightness corresponding to the 255 gray scale of the first display area.
  • the curve adjusts the brightness corresponding to the 255 gray scale of the first display area, and adjusts the 255 gray of the second display area through the second ambient light adaptive adjustment curve indicating the mapping relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the second display area
  • the brightness corresponding to the level that is, the brightness corresponding to the 255 gray level in the first display area and the brightness corresponding to the 255 gray level in the second display area are respectively adjusted by setting multiple ambient light adaptive adjustment curves to control the adjusted first display area 255 gray level
  • the brightness corresponding to the gray scale of the second display area is approximately equal to the brightness corresponding to the 255 gray scale of the second display area, which effectively solves the problem of uneven brightness of the first display area and the second display area in the terminal screen, and improves the display effect of the terminal screen.
  • the first ambient light adaptive adjustment curve is the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area
  • the second ambient light adaptive adjustment curve is the ambient light intensity and the first display area.
  • the relationship curve between the brightness corresponding to the 255 gray scale in the display area, and when the ambient light intensity is less than the ambient light intensity threshold, the slope of the first ambient light adaptive adjustment curve and the slope of the second ambient light adaptive adjustment curve are approximately equal, so that The adjusted brightness corresponding to the 255 gray scale of the first display area is consistent with the brightness corresponding to the 255 gray scale of the second display area to solve the problem of uneven brightness of the first display area and the second display area on the terminal screen, thereby improving the terminal The display effect of the screen.
  • the method for adjusting the display screen may further include:
  • the second ambient light adaptive adjustment curve is the environment The relationship curve between the illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area, or the second proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the 255 gray scale of the second display area.
  • the ambient light intensity threshold the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve, the first ambient light self-adjusting curve is obtained.
  • the first ambient light self-adjustment curve is a monotonously changing curve, which can be described by a slope.
  • the relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area when the ambient light intensity is less than the ambient light intensity threshold can be represented by a straight line segment.
  • the second ambient light self-adjustment curve is a monotonously changing curve, which can be described by a slope.
  • the relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the second display area when the ambient light intensity is less than the ambient light intensity threshold can be represented by a straight line.
  • the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve, obtaining the first ambient light self-adjusting curve may include:
  • the first proportional curve is obtained; wherein the slope of the first proportional curve is greater than the slope of the second proportional curve, when the second proportional curve is In the case of the relationship curve between the environmental illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area, the first proportional curve is the relationship curve between the environmental illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the first display area; Or, when the second proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the 255 gray scale of the second display area, the first proportional curve is the relationship between the environmental illuminance and the current ratio corresponding to the 255 gray scale of the first display area The relationship curve.
  • the first ambient light adaptive adjustment curve according to the first proportional curve, thereby obtaining the first ambient light adaptive adjustment curve, so that the brightness corresponding to the 255 gray scale of the first display area can be adjusted according to the first ambient light adaptive adjustment curve,
  • the adjusted first brightness corresponding to the 255 gray scale of the first display area and the second brightness corresponding to the 255 gray scale of the second display area are the same, avoiding the uneven brightness of the first display area and the second display area on the terminal screen.
  • the display effect of the terminal screen is poor, thereby improving the display effect of the terminal screen.
  • the brightness of the first display area can only be adjusted to 255 gray scales in the first display area. Therefore, in the second ambient light adaptive adjustment curve, the corresponding ambient illuminance when the brightness is the maximum brightness corresponding to the 255 gray scale of the first display area can be determined as the ambient illuminance threshold, that is, the ambient illuminance threshold is the first In the second ambient light adaptive adjustment curve, the brightness is the ambient light intensity corresponding to the maximum brightness corresponding to the 255 gray scale of the first display area.
  • the first ambient light adaptive adjustment curve is a first proportional curve
  • the second ambient light adaptive adjustment curve is a second proportional curve
  • the first ratio The slope of the curve is greater than the slope of the second proportional curve
  • the second proportional curve is the pulse width corresponding to the environmental illuminance and the 255 gray scale of the second display area
  • the relationship curve between the modulation ratios or, when the first proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the gray scale of the first display area 255, the second proportional curve is the ambient illuminance and the second display area 255 The relationship curve between the current ratios corresponding to the gray scales.
  • the ambient illuminance at which the terminal is currently located can be collected first; and the collected environmental illuminance and the ambient illuminance Thresholds are compared.
  • the ambient illuminance is less than the ambient illuminance threshold, the brightness corresponding to the 255 gray scale in the first display area is adjusted through the first proportional curve, and the brightness corresponding to the 255 gray scale in the second display area is adjusted through the second proportional curve.
  • the brightness corresponding to each level is approximately equal, which effectively solves the problem of uneven brightness in the first display area and the second display area in the terminal screen, and improves the display effect of the terminal screen.
  • the method for adjusting the display screen may further include:
  • the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve, the first proportional curve is obtained.
  • the brightness corresponding to the 255 gray scale of the first display area can be adjusted according to the first proportional curve, so that the adjustment
  • the obtained first brightness corresponding to the 255 gray scale of the first display area is the same as the second brightness corresponding to the 255 gray scale of the second display area, avoiding the uneven brightness of the first display area and the second display area in the terminal screen.
  • the display effect of the terminal screen is poor, thereby improving the display effect of the terminal screen.
  • the pulse width modulation ratio of the first display area can only be adjusted to the maximum pulse width modulation ratio corresponding to the 255 gray scale of the first display area, that is, the ambient light threshold is the second ratio curve, and the pulse width modulation ratio is The ambient illuminance corresponding to the maximum pulse width modulation ratio corresponding to the 255 gray scale of the first display area; or, when the ratio curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the 255 gray scale of the display area, the value of the first display area
  • the maximum current ratio can only be adjusted to the maximum current ratio corresponding to 255 gray levels in the first display area, that is, the ambient light threshold is the second ratio curve, and the current ratio is the environment corresponding
  • the first brightness when the ambient illuminance is greater than or equal to the ambient illuminance threshold, the first brightness is maintained at the maximum brightness corresponding to the 255 gray scale of the first display area, and will not increase with the increase of the ambient illuminance, and It is to maintain the maximum brightness to avoid breaking the limit of its physical capabilities due to increased brightness, thereby ensuring the safety of the device in the first display area.
  • the current environment of the terminal is in high light, that is, in the environment In a strong light scene with large illuminance
  • the brightness corresponding to the ambient illuminance is the maximum brightness corresponding to the 255 gray scale of the first display area
  • the safety of the first display area device is ensured, and due to the naked eye The ability to perceive different brightness of the screen is weak.
  • the first brightness of the first display area can be controlled to maintain according to the physical capabilities of the first display area device
  • the maximum brightness corresponding to the 255 gray scale in the first display area will not increase with the increase of the ambient illuminance; but for the second display area, the second brightness of the second display area can be adjusted continuously, and the second brightness of the second display area can be adjusted continuously.
  • the second brightness of the second display area increases with the increase of the ambient illuminance, until the brightness of the second display area increases to the maximum brightness corresponding to the 255 gray scale of the second display area. And in the entire adjustment process, the second brightness of the second display area is always greater than the first brightness of the first display area.
  • the brightness corresponding to the gray scale of the first display area 255 is adjusted to the first brightness through the first ambient light adaptive adjustment curve, and the second display area 255 is adjusted through the second ambient light adaptive adjustment curve.
  • the brightness corresponding to the gray scale is the second brightness, which may include:
  • the operation interface includes any one of a black screen operation interface, a bright screen operation interface, or a lock screen operation interface; and adjust the first display area according to the current operation interface of the terminal and the first ambient light adaptive adjustment curve
  • the brightness corresponding to the 255 gray scale is the third brightness
  • the brightness corresponding to the 255 gray scale in the second display area is adjusted to the fourth brightness according to the current operation interface of the terminal and the second ambient light adaptive adjustment curve.
  • the four brightnesses are approximately equal, and the third brightness is greater than or equal to the first brightness.
  • this adjustment method can not only solve the problem of uneven brightness of the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current operation interface of the terminal to improve This improves the flexibility of terminal screen adjustment.
  • the brightness corresponding to the gray scale of the first display area 255 is adjusted to the first brightness through the first ambient light adaptive adjustment curve, and the second display area 255 is adjusted through the second ambient light adaptive adjustment curve.
  • the brightness corresponding to the gray scale is the second brightness, which may include:
  • the working mode is the do not disturb mode or the non-do not disturb mode; and adjust the brightness corresponding to the 255 gray scale of the first display area to the fifth according to the current working mode of the terminal and the first ambient light adaptive adjustment curve Brightness, and adjust the brightness corresponding to the 255 gray scale of the second display area to the sixth brightness according to the current working mode of the terminal and the second ambient light adaptive adjustment curve, where the fifth brightness and the sixth brightness are approximately equal, and the fifth brightness Greater than or equal to the first brightness.
  • this adjustment method can not only solve the problem of uneven brightness in the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current working mode of the terminal to improve This improves the flexibility of terminal screen adjustment.
  • an embodiment of the present application also provides an adjusting device for a display screen, which is applied to a terminal.
  • the screen of the terminal includes a first display area and a second display area.
  • the light transmittance of the area is higher than the light transmittance of the second display area, and the adjusting device for the display screen may include:
  • the collection unit is used to collect the ambient illuminance where the terminal is currently located.
  • the processing unit is configured to adjust the brightness corresponding to the 255 gray scale of the first display area to the first brightness through the first ambient light adaptive adjustment curve when the ambient light is less than the ambient light threshold, and adjust it through the second ambient light adaptive adjustment curve
  • the brightness corresponding to the gray scale of the second display area 255 is the second brightness, and the first brightness and the second brightness are approximately equal.
  • the first ambient light adaptive adjustment curve is used to indicate the mapping relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area;
  • the second ambient light adaptive adjustment curve is used to indicate the ambient light intensity and the second display area The mapping relationship between the brightness corresponding to the 255 gray scale.
  • the first ambient light adaptive adjustment curve is the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area
  • the second ambient light adaptive adjustment curve is the ambient light intensity and the first display area.
  • the relationship curve between the brightness corresponding to the second display area 255 gray scale, and when the ambient light intensity is less than the ambient light intensity threshold, the slope of the first ambient light adaptive adjustment curve and the slope of the second ambient light adaptive adjustment curve are approximately equal.
  • the processing unit is further configured to determine the second ambient light adaptive adjustment curve according to at least two ambient light levels and the brightness corresponding to the respective ambient light levels; and convert the second ambient light adaptive adjustment curve Processing to obtain a second proportional curve; where the second proportional curve is the relationship curve between the ambient light intensity and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area, or the second proportional curve is the ambient light intensity and the second display The relationship curve between the current ratios corresponding to the 255 gray levels in the area; according to the ambient light threshold, the maximum brightness corresponding to the 255 gray levels in the first display area, and the second ratio curve, the first ambient light self-adjusting curve is obtained.
  • the processing unit is specifically configured to obtain the first proportional curve according to the ambient illuminance threshold, the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve; The slope is greater than the slope of the second proportional curve.
  • the first proportional curve is the environmental illuminance and the first display area The relationship curve between the pulse width modulation ratio corresponding to the 255 gray scale; or, when the second proportional curve is the relationship curve between the ambient light intensity and the current ratio corresponding to the 255 gray scale in the second display area, the first proportional curve is the environment The relationship curve between the illuminance and the current ratio corresponding to the 255 gray scale of the first display area; and the first ambient light self-adjusting curve is obtained according to the first ratio curve.
  • the ambient light intensity threshold is the ambient light intensity corresponding to the maximum luminance corresponding to the 255 gray scale of the first display area in the second ambient light adaptive adjustment curve.
  • the first ambient light adaptive adjustment curve is a first proportional curve
  • the second ambient light adaptive adjustment curve is a second proportional curve
  • the first ratio The slope of the curve is greater than the slope of the second proportional curve
  • the second proportional curve is the pulse width corresponding to the environmental illuminance and the 255 gray scale of the second display area
  • the relationship curve between the modulation ratios or, when the first proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the gray scale of the first display area 255, the second proportional curve is the ambient illuminance and the second display area 255 The relationship curve between the current ratios corresponding to the gray scales.
  • the processing unit is further configured to determine the relationship curve between the environmental illuminance and the brightness corresponding to the 255 gray scale of the second display area according to the at least two environmental illuminances and the brightness corresponding to the respective environmental illuminances; and The relationship curve between the environmental illuminance and the brightness corresponding to the 255 gray scale of the second display area is converted to obtain a second proportional curve; according to the environmental illuminance threshold, the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve, Obtain the first proportional curve.
  • the ambient light intensity threshold is in the second proportional curve
  • the pulse width modulation ratio is the ambient light intensity corresponding to the maximum pulse width modulation ratio corresponding to 255 gray scales in the first display area; or, the ambient light intensity threshold is In the second proportional curve, the current ratio is the ambient illuminance corresponding to the maximum current ratio corresponding to 255 gray scales in the first display area.
  • the first brightness is maintained at the maximum brightness corresponding to the 255 gray scale of the first display area, and the second brightness is greater than the first brightness and less than or equal to the first brightness.
  • the maximum brightness corresponding to 255 gray scales in the display area is greater than or equal to the ambient illuminance threshold.
  • the processing unit is specifically used to obtain the current operation interface of the terminal; the operation interface includes any one of a black screen operation interface, a bright screen operation interface, or a lock screen operation interface; and according to the current operation of the terminal
  • the interface and the first ambient light adaptive adjustment curve adjust the brightness corresponding to the 255 gray scale of the first display area to the third brightness, and adjust the 255 gray scale of the second display area according to the current operation interface of the terminal and the second ambient light adaptive adjustment curve
  • the corresponding brightness is the fourth brightness, where the third brightness and the fourth brightness are approximately equal, and the third brightness is greater than or equal to the first brightness.
  • the processing unit is specifically configured to obtain the current working mode of the terminal; the working mode is the do not disturb mode or the non-do not disturb mode; and it is adaptively adjusted according to the current working mode of the terminal and the first ambient light
  • the curve adjusts the brightness corresponding to the 255 gray scale in the first display area to the fifth brightness, and adjusts the brightness corresponding to the 255 gray scale in the second display area to the sixth brightness according to the current working mode of the terminal and the second ambient light adaptive adjustment curve, where , The fifth brightness and the sixth brightness are approximately equal, and the fifth brightness is greater than or equal to the first brightness.
  • an embodiment of the present application further provides an electronic device, the electronic device includes a processor and a memory, the memory stores a computer program, and the processor executes the computer program stored in the memory to enable The electronic device executes the display screen adjustment method described in any one of the possible implementation manners of the first aspect.
  • an embodiment of the present application also provides an electronic device, which may include: a processor and an interface circuit;
  • the interface circuit is used to receive code instructions and transmit them to the processor
  • the processor is configured to run the code instructions to execute the method for adjusting the display screen as described in any one of the possible implementations of the first aspect.
  • the embodiments of the present application also provide a readable storage medium for storing instructions.
  • the instructions When the instructions are executed, the display as described in any one of the possible implementations of the first aspect is displayed.
  • the adjustment method of the screen is realized.
  • an embodiment of the present application also provides a chip on which a computer program is stored.
  • the computer program is executed by a processor, the method for adjusting the display screen described in any one of the possible implementations of the first aspect is .
  • the method, device, and device for adjusting the display screen provided by the embodiments of the present application, when adjusting the brightness of the display area on the terminal screen, when the ambient light intensity is less than the ambient light intensity threshold, by indicating that the ambient light intensity corresponds to the 255 gray scale of the first display area
  • the first ambient light adaptive adjustment curve of the mapping relationship between the brightness adjusts the brightness corresponding to the 255 gray scale of the first display area, by indicating the second mapping relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the second display area
  • the ambient light adaptive adjustment curve adjusts the brightness corresponding to the 255 gray scale of the second display area, that is, the brightness corresponding to the 255 gray scale of the first display area and the 255 gray scale of the second display area are respectively adjusted by setting multiple adaptive adjustment curves of the ambient light. Brightness, to control the brightness of the first display area to be approximately equal to the brightness of the second display area, avoid uneven brightness of the first display area and the second display area, and improve the display effect of the terminal screen.
  • FIG. 1 is a schematic diagram of an applicable terminal provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of another applicable terminal provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of another applicable terminal provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram of the relationship between the display brightness and the gray scale of the display area provided by an embodiment of the application;
  • FIG. 5 is a schematic diagram of the relationship between the brightness corresponding to the 255 gray scale of the display area and the ambient illuminance provided by an embodiment of the application;
  • FIG. 6 is a schematic flowchart of a method for adjusting a display screen provided by an embodiment of the application
  • FIG. 7 is a schematic diagram of a second ambient light self-applicable adjustment curve provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of a first ambient light self-adjusting curve provided by an embodiment of the application.
  • FIG. 9 is a schematic flowchart of another method for adjusting a display screen according to an embodiment of the application.
  • FIG. 10 is a schematic diagram of a second proportional curve corresponding to a second display area according to an embodiment of this application.
  • FIG. 11 is a schematic diagram of a first proportional curve corresponding to a first display area according to an embodiment of the application
  • FIG. 12 is a schematic flowchart of a method for adjusting a display screen according to an embodiment of the application.
  • FIG. 13 is a schematic flowchart of another method for adjusting a display screen according to an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of a display screen adjustment device provided by an embodiment of the application.
  • FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • the method for adjusting the display screen provided by the embodiments of the present application can be applied to a terminal equipped with an organic light-emitting diode (OLED) screen, or other terminals that can control the brightness of the screen in different areas in the future, etc.,
  • OLED organic light-emitting diode
  • a terminal also called a terminal device or a user equipment
  • a terminal device is a device that provides voice and/or data connectivity to users, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
  • Common terminal devices include, for example, mobile phones, tablet computers, notebook computers, handheld computers, mobile internet devices (MID), and wearable devices.
  • wearable devices include, for example, smart watches, smart bracelets, and step counters.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or” describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. A and B can be singular or plural.
  • the character "/" generally indicates that the associated objects before and after are in an "or" relationship.
  • FIG. 1 is a schematic diagram of an applicable terminal provided by an embodiment of the application.
  • the display area can be recorded as the first display area in the terminal screen, and the display area without high light transmittance on the terminal screen is recorded as the second display area.
  • the light transmittance of the first display area is higher than that of the second display area.
  • the configuration of the first display area with several high light transmittances there are usually two issues to be considered.
  • One problem is the configuration of the first display area with several high light transmittances; the other is The setting position of the first display area of light transmittance on the screen.
  • the shape of the first display area may be a rectangle, such as the first display area shown in FIG. 1; the shape of the first display area may also be an ellipse, which can be combined with FIG. 2
  • FIG. 2 is a schematic diagram of another applicable terminal provided by an embodiment of the application, which can be specifically set according to actual needs.
  • the configuration shape of the first display area is not further described in the embodiment of the application. limit.
  • the first display area can be set at the top of the display area on the screen, which can be combined with the first display area shown in FIG. 1; the first display area can also be set at The lower position of the top of the display area on the screen can be shown in conjunction with FIG. 3.
  • FIG. 3 is a schematic diagram of another applicable terminal provided by an embodiment of this application, which can be specifically set according to actual needs. The location of a display area is not further limited in the embodiment of the present application.
  • the brightness of the second display area with higher brightness can be controlled to be fixed at a certain brightness value, and only the brightness of the first display area with lower brightness can be increased, so that the brightness of the first display area and the second display area remain the same.
  • the fixed brightness value of the second display area is higher than the maximum brightness of the first display area, the physical capabilities of the devices in the first display area are limited and cannot break through the limits of their physical capabilities.
  • the higher second display area has the same brightness.
  • the embodiment of the present application provides a method for adjusting the display screen.
  • the screen of the terminal includes a first display area and a second display area.
  • a camera assembly is arranged below the first display area.
  • the light transmittance of the first display area is higher than the light transmittance of the second display area.
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted by the first ambient light adaptive adjustment curve used to indicate the mapping relationship between the environmental illuminance and the brightness corresponding to the 255 gray scale of the first display area, and the brightness corresponding to the 255 gray scale of the first display area is adjusted by indicating the environmental illuminance and the first display area
  • the second ambient light adaptive adjustment curve of the mapping relationship between the brightness corresponding to the second display area 255 gray scale adjusts the brightness corresponding to the 255 gray scale of the second display area, that is, the first display is adjusted separately by setting multiple adaptive adjustment curves of ambient light
  • the brightness corresponding to the 255 gray scale of the area and the brightness corresponding to the 255 gray scale of the second display area are controlled to control the adjusted brightness of the first display area 255 gray scale corresponding to the brightness corresponding to the 255 gray scale of the second display area to be approximately equal, effectively The problem of uneven brightness in the first display area and the second display area on the terminal screen
  • FIG. 4 is a schematic diagram of the relationship between the display brightness and the gray scale of the display area provided by an embodiment of the application. It can be seen that the display area The maximum gray scale is 255.
  • the reason why the brightness corresponding to the 255 gray scale of the display area is emphasized is to limit the specifications and capabilities of the screen panel of the terminal.
  • a terminal with a capable screen panel can adjust the brightness of the display area in this way.
  • the brightness of the display area can be understood as the ratio of the luminous body (light intensity) to the area of the light source "seen" by the human eye, and is defined as the unit brightness of the light source, that is, the luminous intensity per unit projected area.
  • the ambient light intensity is the ambient light intensity, which can be understood as the luminous flux of visible light received per unit area on the surface of the subject.
  • the method for adjusting the display screen is only limited to scenarios where the ambient illuminance is less than the ambient illuminance threshold, that is, in a low-light scene with small ambient illuminance, due to the different brightness of the screen due to the naked eye. Strong perception ability, you can adjust the brightness corresponding to the 255 gray scale in the first display area and the brightness corresponding to the 255 gray scale in the second display area through the set of multiple ambient light adaptive adjustment curves, so that the adjusted first display area is 255 gray
  • the brightness corresponding to the gray scale of the second display area is approximately equal to the brightness corresponding to the 255 gray scale of the second display area.
  • the safety of the first display area device is not considered, in a scene where the ambient light is greater than or equal to the ambient light threshold, that is, in a strong light scene with a large ambient light, it can also be set through the multiple ambient light
  • the adaptive adjustment curve adjusts the brightness corresponding to the 255 gray scale in the first display area and the brightness corresponding to the 255 gray scale in the second display area, so that the adjusted brightness corresponding to the 255 gray scale in the first display area is the same as the 255 gray scale in the second display area.
  • the corresponding brightness is approximately equal.
  • FIG. 5 is a schematic diagram of the relationship between the brightness corresponding to the 255 gray scale of the display area and the ambient illuminance provided by the embodiment of the application. It can be seen that the 255 gray scale of the display area is The corresponding brightness will increase with the increase of the environmental illumination, but when the brightness corresponding to the 255 gray scale of the display area reaches the maximum brightness corresponding to the 255 gray scale of the display area, it will not increase with the increase of the environmental illumination.
  • the first display area can be The physical ability of the first display area device to control the first brightness of the first display area to maintain the maximum brightness corresponding to the 255 gray scale of the first display area, and it will not increase with the increase of the ambient illuminance; but for the second In terms of the display area, the second brightness of the second display area can be adjusted continuously, and the second brightness of the second
  • the present application when adjusting the respective brightness of the first display area and the second display area on the terminal screen, it is precisely because multiple ambient light adaptive adjustment curves are set to adjust the first display area respectively.
  • the brightness corresponding to the 255 gray scale of the display area and the brightness corresponding to the 255 gray scale of the second display area are controlled to control the adjusted brightness corresponding to the 255 gray scale of the first display area and the brightness corresponding to the second display area 255 gray scale to be approximately equal.
  • the problem of uneven brightness in the first display area and the second display area on the terminal screen can be solved, thereby improving the display effect of the terminal screen.
  • the multiple ambient light adaptive adjustment curve may include at least two different
  • the method for adjusting the display screen provided in the embodiment of the present application may include at least two different scenarios.
  • the multiple ambient light adaptive adjustment curve can be defined as the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the display area, that is, the first ambient light adaptive adjustment curve is defined as the ambient light intensity and the first A curve of the relationship between the brightness corresponding to 255 gray scales in a display area, and the second ambient light adaptive adjustment curve is defined as the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the second display area, so that the collected After the current environment illuminance of the terminal, the brightness corresponding to the 255 gray level of the first display area in the terminal can be adjusted according to the relationship curve between the environmental illuminance and the environmental illuminance and the brightness corresponding to the 255 gray level of the first display area, and according to the The curve of the relationship between the environmental illuminance and the environmental illuminance and the brightness corresponding to the 255 gray scale of the second display area adjusts the brightness corresponding to the 255 gray scale of the second display area in the terminal, so that the adjusted
  • the multiple ambient light adaptive adjustment curve can be defined as a proportional curve, that is, the first ambient light adaptive adjustment curve is defined as the first proportional curve, and the second ambient light adaptive adjustment curve is defined as the first A second proportional curve, so that after collecting the ambient illuminance the terminal is currently in, the brightness corresponding to the 255 gray scale of the first display area in the terminal can be adjusted according to the environmental illuminance and the first proportional curve, and according to the environmental illuminance and the second The proportional curve adjusts the brightness corresponding to the 255 gray scale of the second display area in the terminal, and can also make the adjusted brightness corresponding to the 255 gray scale of the first display area and the second display area 255 gray scale consistent, so as to solve the problem of the terminal screen The problem of uneven brightness in the first display area and the second display area improves the display effect of the terminal screen.
  • the second proportional curve is the relationship curve between the ambient light intensity and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area; or, when the first ratio curve is In the case of the relationship curve between the environmental illuminance and the current ratio corresponding to the 255 gray scale of the first display area, the second proportional curve is the relationship curve between the environmental illuminance and the current ratio corresponding to the 255 gray scale of the second display area.
  • the multiple ambient light adaptive adjustment curve is defined as the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the display area
  • the method for adjusting a display screen may include:
  • the ambient illuminance when collecting the ambient illuminance of the terminal currently located, the ambient illuminance can be collected through the ambient light sensor set inside the terminal, or the ambient illuminance of the terminal’s current location can be collected through an external device, and its collection can be obtained through the external device.
  • the ambient illuminance can be specifically set according to actual needs.
  • the embodiment of the application does not specifically limit how to collect the ambient illuminance where the terminal is currently located.
  • the ambient light is collected through the ambient light sensor set inside the terminal.
  • the collected ambient illuminance at the current location can be compared with the ambient illuminance threshold to determine the corresponding brightness adjustment strategy according to the comparison result. If the collected ambient illuminance is greater than or equal to the ambient illuminance threshold, the corresponding brightness adjustment strategy is: control the first brightness of the first display area on the terminal screen to maintain the maximum brightness corresponding to the 255 gray scale of the first display area , And will not increase with the increase of ambient light; for the second display area, you can continue to adjust the second brightness of the second display area, and the second brightness of the second display area will increase with the increase of ambient light Increase until the brightness of the second display area increases to the maximum brightness corresponding to the 255 gray scale of the second display area.
  • the corresponding brightness adjustment strategy is: adjust the first display area through the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the first display area
  • the brightness corresponding to the 255 gray scale is the first brightness
  • the brightness corresponding to the 255 gray scale in the second display area is adjusted by the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the second display area as the second brightness.
  • the brightness and the second brightness are approximately equal.
  • the embodiments of this application will focus on how to adjust the brightness corresponding to the 255 gray scale of the first display area and the second display in a scene where the ambient illuminance is less than the ambient illuminance threshold, that is, in a low-light scene.
  • the brightness corresponding to the gray scale of the area 255 is such that the adjusted brightness corresponding to the 255 gray scale of the first display area is approximately equal to the brightness corresponding to the second display area 255 gray scale.
  • the first ambient light adaptive adjustment curve is the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area
  • the second ambient light adaptive adjustment curve is the ambient light intensity corresponding to the 255 gray scale of the second display area
  • the ambient light intensity corresponding to the maximum brightness corresponding to the 255 gray scale of the first display area may be determined as the ambient light intensity threshold.
  • the brightness corresponding to the 255 gray scale in the first display area can be adjusted through the first ambient light adaptive adjustment curve, and the 255 gray level in the second display area can be adjusted through the second ambient light adaptive adjustment curve The corresponding brightness. It is not difficult to understand that before adjusting the brightness corresponding to the 255 gray scale of the first display area through the first ambient light adaptive adjustment curve, and adjust the brightness corresponding to the 255 gray scale of the second display area through the second ambient light adaptive adjustment curve, it is necessary Firstly, the first ambient light adaptive adjustment curve and the second ambient light adaptive adjustment curve are obtained respectively.
  • the first ambient light adaptive adjustment curve and the second ambient light adaptive adjustment curve are acquired, since the maximum brightness corresponding to the 255 gray scale in the first display area is less than the maximum brightness corresponding to the 255 gray scale in the second display area, pass The first ambient light adaptive adjustment curve corresponding to the first display area cannot describe the second ambient light adaptive adjustment curve corresponding to the second display area to a certain extent. Therefore, the second display area with greater brightness can be obtained first The corresponding second ambient light adaptive adjustment curve.
  • the second ambient light adaptive adjustment curve is the relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the second display area Therefore, it is possible to obtain at least two sets of ambient light intensities of the second display area and their respective brightnesses, and to establish a second ambient light self-adjusting curve according to the at least two sets of ambient light intensities and their respective brightnesses, so as to obtain the first 2.
  • Ambient light self-applicable adjustment curve It is understandable that when establishing the second ambient light self-adjusting curve, the more groups are used, the more second ambient light self-adjusting curves can be established.
  • the second ambient light self-adjustment curve is a monotonously changing curve, which can be described by a slope.
  • the relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the second display area when the ambient light intensity is less than the ambient light intensity threshold can be represented by a straight line segment.
  • Figure 7 is a schematic diagram of a second ambient light self-applicable adjustment curve provided by an embodiment of the application. It can be seen in combination with Figure 7 that when the ambient light is less than the ambient light threshold, the second display area The brightness corresponding to the 255 gray scale increases with the increase of the ambient illuminance.
  • the adjustment function corresponding to the second display area curve can be expressed by Formula 1:
  • B 2 represents the brightness corresponding to the 255 gray scale of the second display area under the current ambient illuminance
  • B MAX2 represents the maximum brightness corresponding to the 255 gray scale of the second display area
  • I represents the current ambient illuminance
  • I Threshold represents the second display
  • f(I) represents the brightness adjustment function corresponding to the 255 gray scale in the second display area when the environmental illuminance is less than I Threshold.
  • the second ambient light self-adjustment curve can be converted to obtain a second proportional curve corresponding to the second ambient light self-adjustment curve, where the second proportional curve Is the relationship curve between the environmental illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area, or the relationship curve between the environmental illuminance and the current ratio corresponding to the 255 gray scale of the second display area; and then according to the environmental illuminance threshold, The maximum brightness corresponding to the 255 gray scale of the first display area and the second proportional curve are obtained to obtain the first proportional curve; and the first ambient light self-adjusting curve is obtained according to the first proportional curve.
  • the slope of the second proportional curve corresponding to the second ambient light self-adjusting curve is smaller than the second ambient light self-adjusting curve. The slope of the first proportional curve corresponding to the applicable adjustment curve.
  • the first proportional curve when the second proportional curve is the relationship curve between the ambient light intensity and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area, the first proportional curve is the ambient light intensity and the first display area The relationship curve between the pulse width modulation ratio corresponding to the 255 gray scale; or, when the second proportional curve is the relationship curve between the ambient light intensity and the current ratio corresponding to the 255 gray scale in the second display area, the first proportional curve is the environment The relationship curve between the illuminance and the current ratio corresponding to the 255 gray scale of the first display area.
  • the first ambient light self-adjustment curve is also a monotonously changing curve, which can be described by a slope.
  • the relationship between the ambient light and the brightness corresponding to the 255 gray scale of the first display area can be represented by a straight line, and the The slope of the first ambient light adaptive adjustment curve is approximately equal to the slope of the second ambient light adaptive adjustment curve.
  • Figure 8 is a schematic diagram of a first ambient light self-adjustment curve provided by an embodiment of the application.
  • the adjustment function corresponding to the curve of the first display area can be expressed by formula 2:
  • B 1 represents the brightness corresponding to the 255 gray scale of the first display area under the current environmental illumination
  • B MAX1 represents the maximum brightness corresponding to the 255 gray scale of the first display area
  • I represents the current environmental illumination
  • I up-limit represents the environment
  • the illuminance threshold can be seen in FIG. 7, f(I) represents the brightness adjustment function corresponding to the 255 gray scale of the first display area when the ambient illuminance is less than the ambient illuminance threshold I up-limit.
  • the ratio curve is defined as the relationship curve between the ambient light intensity and the pulse width modulation ratio corresponding to the 255 gray scale of the display area, or the environmental light intensity corresponds to the 255 gray scale of the display area
  • the relationship curve between the current ratio and the ratio curve is used to determine the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the first display area.
  • the reason is that: under normal circumstances, the brightness of the display area can be adjusted in two ways One way to achieve this is to change the current of the input light emitting diode (LED). Generally, the continuous working current of LED is about 20 mA. Except for the saturation of red LED, the gray scale of other LEDs is basically the same as that of the current.
  • the current is proportional, so the brightness of the display area can be adjusted by the ratio of the current input to the LED.
  • One way is to change the input pulse width modulation ratio. Due to the visual inertia of the human eye, the brightness of the display area can be adjusted by periodically changing the water pulse width modulation ratio (that is, the duty cycle), and during the brightness adjustment process, if The period of repeated lighting is short enough (that is, the refresh rate is high enough), and the human eyes cannot feel the jitter of the light-emitting pixels.
  • the second ambient light adaptive adjustment curve shown in FIG. 6 can be combined It can be seen from the first ambient light adaptive adjustment curve shown in FIG. 7 that when the ambient light intensity is less than the ambient light intensity threshold, the slope of the second ambient light adaptive adjustment curve is the same as the slope of the first ambient light adaptive adjustment curve.
  • the adjusted second The second brightness corresponding to the 255 gray scale in the second display area is the same as the first brightness corresponding to the 255 gray scale in the first display area, which avoids the display of the terminal screen due to uneven brightness of the first display area and the second display area in the terminal screen The effect is poor, which improves the display effect of the terminal screen.
  • the method for adjusting the display screen when adjusting the brightness of the first display area and the second display area on the terminal screen, it can first collect the ambient illuminance where the terminal is currently located; The ambient light level is compared with the ambient light level threshold.
  • the first ambient light adaptive adjustment curve is used to adjust the brightness corresponding to the 255 gray scale of the first display area
  • the second ambient light adaptive adjustment curve is used to adjust the brightness
  • the brightness corresponding to the 255 gray scale in the second display area that is, the brightness corresponding to the 255 gray scale in the first display area and the brightness corresponding to the 255 gray scale in the second display area are respectively adjusted by setting multiple ambient light adaptive adjustment curves to control the adjusted
  • the brightness corresponding to the 255 gray scale in the first display area is approximately equal to the brightness corresponding to the 255 gray scale in the second display area, effectively solving the problem of uneven brightness in the first display area and the second display area in the terminal screen, and improving the terminal screen The display effect.
  • the above embodiment shown in FIG. 6 describes in detail in a scenario, when the multiple ambient light adaptive adjustment curve is defined as the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the display area, how to adjust the first The brightness corresponding to the 255 gray scale in the display area and the brightness corresponding to the 255 gray scale in the second display area, so that the adjusted brightness corresponding to the 255 gray scale in the first display area is approximately equal to the brightness corresponding to the 255 gray scale in the second display area. .
  • the multiple ambient light adaptive adjustment curve is defined as the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the display area, how to adjust the first The brightness corresponding to the 255 gray scale in the display area and the brightness corresponding to the 255 gray scale in the second display area, so that the adjusted brightness corresponding to the 255 gray scale in the first display area is approximately equal to the brightness corresponding to the 255 gray scale in the second display area.
  • the multiple ambient light adaptive adjustment curve is defined as a proportional curve
  • FIG. 9 is a schematic flowchart of another method for adjusting a display screen provided by an embodiment of the application, and the method for adjusting a display screen may include:
  • the ambient illuminance when collecting the ambient illuminance of the terminal currently located, the ambient illuminance can be collected through the ambient light sensor set inside the terminal, or the ambient illuminance of the terminal’s current location can be collected through an external device, and its collection can be obtained through the external device.
  • the ambient illuminance can be specifically set according to actual needs.
  • the embodiment of the application does not specifically limit how to collect the ambient illuminance where the terminal is currently located.
  • the ambient light is collected through the ambient light sensor set inside the terminal.
  • the collected environmental illuminance at the current location can be compared with the environmental illuminance threshold to determine the corresponding brightness adjustment strategy according to the comparison result. If the collected ambient illuminance is greater than or equal to the ambient illuminance threshold, the corresponding brightness adjustment strategy is: controlling the first brightness of the first display area on the terminal screen to maintain the maximum brightness corresponding to the 255 gray scale of the first display area , And will not increase with the increase of ambient light; for the second display area, you can continue to adjust the second brightness of the second display area, and the second brightness of the second display area will increase with the increase of ambient light Increase until the brightness of the second display area increases to the maximum brightness corresponding to the 255 gray scale of the second display area.
  • the corresponding brightness adjustment strategy is: adjust the first display area through the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the first display area
  • the brightness corresponding to the 255 gray scale is the first brightness
  • the brightness corresponding to the 255 gray scale in the second display area is adjusted by the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the second display area as the second brightness.
  • the brightness and the second brightness are approximately equal.
  • the embodiments of this application will focus on how to adjust the brightness corresponding to the 255 gray scale of the first display area and the second display in a scene where the ambient illuminance is less than the ambient illuminance threshold, that is, in a low-light scene.
  • the brightness corresponding to the gray scale of the area 255 is such that the adjusted brightness corresponding to the 255 gray scale of the first display area is approximately equal to the brightness corresponding to the second display area 255 gray scale.
  • the slope of the first proportional curve is greater than the slope of the second proportional curve.
  • the first proportional curve is The relationship curve between the ambient illuminance and the pulse width modulation ratio corresponding to the 255 gray scale in the first display area; or, when the second proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the 255 gray scale in the second display area , The first proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the 255 gray scale of the first display area.
  • the proportional curve is defined as the relationship curve between the ambient illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the display area, or the relationship between the environmental illuminance and the 255 gray scale of the display area
  • the relationship curve between the corresponding current ratios, and the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the first display area is determined by the ratio curve. The reason is that: under normal circumstances, the brightness of the display area can be adjusted through two One way is to change the current of the input light emitting diode (LED). Generally, the continuous working current of LED is about 20 mA.
  • the brightness of the display area can be adjusted by the proportion of the current input to the LED.
  • One way is to change the input pulse width modulation ratio. Due to the visual inertia of the human eye, the brightness of the display area can be adjusted by periodically changing the water pulse width modulation ratio (that is, the duty cycle), and during the brightness adjustment process, if The period of repeated lighting is short enough (that is, the refresh rate is high enough), and the human eyes cannot feel the jitter of the light-emitting pixels.
  • the first The maximum pulse width modulation ratio of a display area can only be adjusted to the maximum pulse width modulation ratio corresponding to the 255 gray scale of the first display area, that is, the ambient light threshold is in the second ratio curve, and the pulse width modulation ratio is 255 gray for the first display area
  • the maximum pulse width modulation ratio corresponding to the corresponding ambient illuminance; or, when the ratio curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the 255 gray scale of the display area, the current ratio of the first display area can only be adjusted at most It is the maximum current ratio corresponding to 255 gray scales in the first display area, that is, the ambient illuminance threshold is the second proportional curve, and the current ratio is the environmental illuminance corresponding to the maximum
  • the brightness corresponding to the 255 gray scale of the first display area can be adjusted by the first proportional curve
  • the brightness corresponding to the 255 gray scale of the second display area can be adjusted by the second proportional curve. It is not difficult to understand that before adjusting the brightness corresponding to the 255 gray scale of the first display area through the first scale curve and adjusting the brightness corresponding to the 255 gray scale of the second display area through the second scale curve, it is necessary to obtain the first scale respectively. Curve and second proportional curve.
  • the first display area corresponds to the first display area.
  • a proportional curve cannot describe the second proportional curve corresponding to the second display area to a certain extent. Therefore, the second proportional curve corresponding to the second display area with higher brightness can be acquired first.
  • at least two sets of ambient illuminance and their respective corresponding brightness may be passed through the second display area, and according to the at least two sets of ambient illuminance and their respective brightness.
  • Corresponding brightness establishes a relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the second display area; and then performs conversion processing on the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the second display area, thereby The second proportional curve corresponding to the second display area is obtained, as shown in FIG. 7. It should be noted that, in the embodiment of the present application, the method of obtaining the relationship curve between the ambient illuminance and the brightness corresponding to the 255 gray scale of the second display area is the same as that in the embodiment shown in FIG. 6 for obtaining the environmental illuminance and the second display.
  • the method of the relationship curve between the brightness corresponding to the 255 gray scale in the area is the same, please refer to the method of obtaining the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale in the second display area in the embodiment shown in FIG. 6 Description, here, the embodiments of the present application will not be repeated here.
  • the relationship curve between the environmental illuminance and the brightness corresponding to the 255 gray scale of the second display area can be converted to obtain the The second proportional curve corresponding to the second display area is obtained, and the first proportional curve is obtained according to the ambient light intensity threshold, the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve.
  • the maximum brightness corresponding to the 255 gray scale of the second display area is greater than the maximum brightness corresponding to the 255 gray scale of the first display area, and in order to pass the second proportional curve and the first proportional curve respectively
  • the adjusted second brightness corresponding to the 255 gray level of the second display area and the first display area corresponding to the 255 gray level are The two brightnesses are approximately equal.
  • the slope of the second proportional curve corresponding to the second display area needs to be smaller than the slope of the first proportional curve corresponding to the first display area, so as to ensure that the second display area corresponds to the 255 gray scale of the second display area after adjustment.
  • the second brightness is approximately equal to the second brightness corresponding to the 255 gray scale of the first display area.
  • the first proportional curve and the second proportional curve are both curves. In an ideal state, in the first proportional curve and the second proportional curve, the first proportional curve and the second proportional curve when the ambient illuminance is less than the ambient illuminance threshold The curve can be represented by a straight line segment.
  • the second display area corresponds to 255 gray levels.
  • the maximum brightness 600 of the first display area is twice the maximum brightness 300 corresponding to the 255 gray scale of the first display area, so that the second brightness corresponding to the 255 gray scale of the second display area after adjustment is similar to the second brightness corresponding to the first display area 255 gray scale.
  • the slope of the first proportional curve corresponding to the second display area may be half of the slope of the first proportional curve corresponding to the first display area.
  • the embodiment provides a schematic diagram of a second proportional curve corresponding to the second display area.
  • FIG. 11 is a schematic diagram of a first proportional curve corresponding to the first display area provided in an embodiment of the application. It can be seen in combination with FIG. 10 that when the ambient illuminance is less than the ambient illuminance threshold, the pulse width modulation ratio or the current ratio corresponding to the 255 gray scale of the second display area increases with the increase of the environmental illuminance.
  • the second proportional curve as the relationship curve between the ambient illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area as an example, since the maximum pulse width modulation ratio corresponding to the 255 gray scale of the second display area is greater than the environmental illuminance
  • the threshold corresponds to the pulse width modulation ratio.
  • the pulse width modulation ratio corresponding to the 255 gray scale of the second display area still increases with the increase of the ambient light.
  • the second display area 255 gray scale When the second display area 255 gray scale, it will be maintained at the maximum pulse width modulation ratio corresponding to 255 gray scales in the second display area, and will not increase with the increase in ambient light. Increase.
  • the adjustment function corresponding to the second proportional curve can be expressed by formula 3:
  • C 2 represents the pulse width modulation ratio corresponding to the 255 gray scale of the second display area under the current ambient illuminance
  • C MAX2 represents the maximum pulse width modulation ratio corresponding to the 255 gray scale of the second display area
  • I represents the current environmental illuminance
  • I Threshold represents the corresponding ambient illuminance when the 255 grayscale pulse width modulation ratio of the second display area reaches the maximum pulse width modulation ratio
  • C(I) represents the second display when the ambient illuminance is less than I Threshold
  • the pulse width modulation ratio adjustment function corresponding to the gray scale of area 255.
  • the pulse width modulation ratio or the current ratio corresponding to the 255 gray scale of the first display area increases with the increase of the environmental illuminance.
  • the first ratio curve as the relationship curve between the ambient light intensity and the pulse width modulation ratio corresponding to the 255 gray scale of the first display area as an example, since the pulse width modulation ratio corresponding to the ambient light intensity threshold is the 255 gray scale of the first display area Corresponding to the maximum pulse width modulation ratio.
  • the pulse width modulation ratio corresponding to 255 gray levels in the second display area will remain at the maximum pulse width modulation ratio corresponding to 255 gray levels in the first display area. Will not increase with the increase of ambient light.
  • the adjustment function corresponding to the first proportional curve can be expressed by formula 4:
  • C 1 represents the pulse width modulation ratio corresponding to the 255 gray scale of the first display area under the current ambient illuminance
  • C MAX1 represents the maximum pulse width modulation ratio corresponding to the 255 gray scale of the first display area
  • I represents the current environmental illuminance
  • I up-limit represents the ambient light intensity threshold
  • G(I) represents the pulse width modulation ratio adjustment function corresponding to the 255 gray scale of the first display area when the ambient light intensity is less than the ambient light intensity threshold I up-limit.
  • the embodiment of the present application only takes the second proportional curve as the relationship curve between the ambient illuminance and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area as an example for description, when the second proportional curve is the ambient illuminance When the relationship curve between the current ratio corresponding to the 255 gray scale of the second display area, its corresponding proportional curve and adjustment function and when the second proportional curve is the pulse width modulation ratio corresponding to the ambient illuminance and the 255 gray scale of the second display area When the relationship curve is between, the corresponding proportional curve is similar to the adjustment function.
  • the description of the embodiment of the present application will not be repeated.
  • the first proportional curve and the second proportional curve respectively adjust the brightness corresponding to the 255 gray scale of the second display area and the brightness corresponding to the 255 gray scale of the first display area
  • the second brightness and the second brightness corresponding to the 255 gray scale of the second display area are adjusted.
  • the first display area 255 gray scale corresponds to the same first brightness, which can also avoid the poor display effect of the terminal screen due to the uneven brightness of the first display area and the second display area in the terminal screen, thereby improving the display of the terminal screen Effect.
  • the method for adjusting the display screen when adjusting the brightness of the first display area and the second display area on the terminal screen, it can first collect the ambient illuminance where the terminal is currently located; The environmental illuminance is compared with the environmental illuminance threshold.
  • the brightness of the first display area corresponding to 255 gray scale is adjusted through the first proportional curve
  • the second display area 255 gray scale corresponding to the second display area is adjusted through the second proportional curve That is, the brightness corresponding to the 255 gray scale in the first display area and the brightness corresponding to the 255 gray scale in the second display area are respectively adjusted by setting multiple proportional curves to control the brightness corresponding to the 255 gray scale in the first display area after adjustment and the first display area.
  • the brightness corresponding to the 255 gray scale of the second display area is approximately equal, which effectively solves the problem of uneven brightness of the first display area and the second display area in the terminal screen, and improves the display effect of the terminal screen.
  • the embodiment shown in FIG. 6 or FIG. 9 described in detail how to adjust the first display area 255 according to the first ambient light adaptive adjustment curve and the second ambient light adaptive adjustment curve when the ambient light intensity is less than the ambient light intensity threshold.
  • the brightness corresponding to the gray scale and the brightness corresponding to the gray scale of the second display area 255 so that the adjusted brightness of the first display area 255 gray scale is approximately equal to the brightness of the second display area 255 gray scale. It can be seen that, in the above solution, when adjusting the brightness corresponding to the 255 gray scale of the first display area and the brightness corresponding to the 255 gray scale of the second display area, only the current environmental illumination is taken into account, and other factors are not considered. Factors that affect the brightness of the area.
  • At least one influencing factor of the current operation interface of the terminal or the current working mode of the terminal For example, at least one influencing factor of the current operation interface of the terminal or the current working mode of the terminal.
  • the brightness and the brightness corresponding to the 255 gray scale of the second display area are such that the adjusted brightness corresponding to the 255 gray scale of the first display area is approximately equal to the brightness corresponding to the second display area 255 gray scale.
  • FIG. 12 is a schematic flowchart of a method for adjusting a display screen according to an embodiment of the application, and the method for adjusting a display screen may include:
  • the operation interface includes any one of a black screen operation interface, a bright screen operation interface, or a lock screen operation interface.
  • the third brightness and the fourth brightness are approximately equal, and the third brightness is greater than or equal to the first brightness.
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted according to the current operation interface of the terminal and the first ambient light adaptive adjustment curve
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted according to the current operation interface of the terminal and the second ambient light adaptive adjustment curve.
  • the first brightness corresponding to the adjusted first display area and the second brightness corresponding to the adjusted first display area are obtained.
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted according to the first ambient light adaptive adjustment curve
  • the 255 gray scale of the second display area is adjusted according to the second ambient light adaptive adjustment curve.
  • the method of brightness corresponding to the first display area is the same as that in the embodiment shown in FIG. 6 or the embodiment shown in FIG. 2.
  • the method for adjusting the brightness corresponding to the 255 gray scale of the second display area by the adaptive adjustment curve of ambient light is similar, please refer to the embodiment shown in FIG. 6 or the embodiment shown in FIG. 9 for adaptive adjustment according to the first ambient light
  • the curve adjusts the brightness corresponding to the 255 gray scale of the first display area, and adjusts the brightness corresponding to the 255 gray scale of the second display area according to the second ambient light adaptive adjustment curve.
  • the brightness corresponding to the 255 gray scale of the first display area according to the first ambient light adaptive adjustment curve and adjust the brightness corresponding to the 255 gray scale of the second display area according to the second ambient light adaptive adjustment curve, to obtain the adjusted first
  • the brightness corresponding to the 255 gray level of the first display area and the second display area 255 gray level can be further adjusted in conjunction with the current operation interface of the terminal.
  • the brightness we will describe in detail how to further adjust the brightness corresponding to the 255 gray level of the first display area and the corresponding 255 gray level of the second display area for the three different operation interfaces of the black screen operation interface, the bright screen operation interface or the lock screen operation interface.
  • the brightness is described in detail how to further adjust the brightness corresponding to the 255 gray level of the first display area and the corresponding 255 gray level of the second display area for the three different operation interfaces of the black screen operation interface, the bright screen operation interface or the lock screen operation interface.
  • the current operation interface of the terminal is a black screen operation interface
  • the first determined based on the intensity of the ambient light can be used only.
  • the first brightness corresponding to the 255 gray scale in a display area and the second brightness corresponding to the 255 gray scale in the second display area are displayed on the screen, so that the user can view new messages at the brightness.
  • you ignore the large power consumption of the terminal due to the large screen brightness in this case, when a new message is generated, in order to make it easy for the user to find the new message, it can also be determined according to the intensity of the ambient light.
  • the brightness corresponding to the 255 gray scale in the first display area is further increased, and the brightness corresponding to the 255 gray scale in the second display area is further increased.
  • Brightness, the third brightness corresponding to the 255 gray scale of the adjusted first display area is approximately equal to the fourth brightness corresponding to the adjusted second display area 255 gray scale, so that the terminal performs screen display based on the adjusted brightness. It can be seen that usually this adjustment method can not only solve the problem of uneven brightness of the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current black screen operation interface of the terminal. Improve the flexibility of terminal screen adjustment.
  • the current operation interface of the terminal is a bright screen operation interface
  • the current bright screen operation interface of the terminal is an application operation interface displayed in full screen
  • the first brightness corresponding to the gray scale of the display area 255 and the second brightness corresponding to the gray scale of the second display area 255 are displayed on the screen, so that the user continues to perform a full-screen operation at the current brightness.
  • the first brightness and the second display corresponding to the 255 gray scale of the first display area determined according to the ambient light intensity can also be used.
  • the brightness corresponding to the 255 gray scale in the first display region and the brightness corresponding to the 255 gray scale in the second display region are further increased.
  • the adjusted first display region 255 gray scale corresponds to the third
  • the brightness is approximately equal to the fourth brightness corresponding to the 255 gray scale of the adjusted second display area, so that the terminal performs screen display based on the adjusted brightness.
  • the current bright screen operation interface of the terminal is an application operation interface that is not displayed in full screen, it means that the user is currently using the terminal to operate some applications that are not displayed in full screen. For example, the user selects a song that he wants to listen to on the music application interface.
  • the first brightness corresponding to the 255 gray level of the first display area and the 255 gray level of the second display area corresponding to the 255 gray level of the first display area can be determined only according to the ambient light intensity.
  • the second brightness performs screen display, so that the user can perform a full-screen operation at the current brightness.
  • the 255 gray scale in the first display area determined according to the ambient light intensity.
  • the brightness corresponding to the 255 gray scale in the first display area and the brightness corresponding to the 255 gray scale in the second display area are further increased.
  • the third brightness corresponding to the gray scale of the display area 255 is approximately equal to the fourth brightness corresponding to the adjusted second display area 255 gray scale, so that the terminal performs screen display based on the adjusted brightness.
  • this adjustment method can not only solve the problem of uneven brightness of the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current bright screen operation interface of the terminal , Improve the flexibility of terminal screen adjustment.
  • the current operation interface of the terminal is the lock screen operation interface
  • the user is not currently using the terminal, and the user may be far away from the terminal.
  • a new message is generated, in order to make the user It is easy to find the new message.
  • the 255 gray scale in the first display area can be further increased.
  • the adjusted third brightness corresponding to the 255 gray scale of the first display area is approximately equal to the fourth brightness corresponding to the 255 gray scale of the second display area, so that the terminal Screen display is performed based on the adjusted brightness.
  • the first brightness corresponding to the gray scale of the first display area 255 and the second brightness corresponding to the gray scale of the second display area 255 determined according to the ambient light intensity can be used for screen display.
  • this adjustment method can not only solve the problem of uneven brightness in the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current lock screen operation interface of the terminal , Improve the flexibility of terminal screen adjustment.
  • the first display area corresponds to the 255 gray scale.
  • the first brightness of the first display area is the maximum brightness corresponding to the 255 gray scale of the first display area
  • the first brightness corresponding to the 255 gray scale of the first display area is the maximum brightness corresponding to the 255 gray scale of the first display area, in order not to break the limit of its physical capability, the safety of the device in the first display area is ensured, and In a strong light scene, the naked eye has a weaker ability to perceive different brightness of the screen. Therefore, the first brightness of the first display area can be controlled to maintain the maximum brightness corresponding to the 255 gray scale of the first display area, and only the second display area can be further increased. The brightness corresponding to the 255 gray scale of the display area is sufficient.
  • FIG. 12 is a schematic flowchart of another method for adjusting a display screen according to an embodiment of the application.
  • the method for adjusting a display screen may include:
  • the current working mode of the terminal is a do not disturb mode or a non-do not disturb mode.
  • S1302 Adjust the brightness corresponding to the 255 gray scale of the first display area to the fifth brightness according to the current working mode of the terminal and the first ambient light adaptive adjustment curve, and adjust according to the current working mode of the terminal and the second ambient light adaptive adjustment curve
  • the brightness corresponding to the 255 gray scale of the second display area is the sixth brightness.
  • the fifth brightness and the sixth brightness are approximately equal, and the fifth brightness is greater than or equal to the first brightness.
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted according to the current working mode of the terminal and the first ambient light adaptive adjustment curve
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted according to the current working mode of the terminal and the second ambient light adaptive adjustment curve.
  • the first brightness corresponding to the adjusted first display area and the second brightness corresponding to the adjusted first display area are obtained.
  • the brightness corresponding to the 255 gray scale of the first display area is adjusted according to the first ambient light adaptive adjustment curve
  • the 255 gray scale of the second display area is adjusted according to the second ambient light adaptive adjustment curve.
  • the method of brightness corresponding to the first display area is the same as that in the embodiment shown in FIG. 6 or the embodiment shown in FIG. 2.
  • the method for adjusting the brightness corresponding to the 255 gray scale of the second display area by the adaptive adjustment curve of ambient light is similar, please refer to the embodiment shown in FIG. 6 or the embodiment shown in FIG. 9 for adaptive adjustment according to the first ambient light
  • the curve adjusts the brightness corresponding to the 255 gray scale of the first display area, and adjusts the brightness corresponding to the 255 gray scale of the second display area according to the second ambient light adaptive adjustment curve.
  • the current working mode of the terminal is the do not disturb mode
  • the first brightness corresponding to the gray scale of the first display area 255 and the second brightness corresponding to the gray scale of the second display area 255 determined by the light intensity are displayed on the screen, so that the user continues to perform a full-screen operation at the current brightness.
  • the first brightness corresponding to the 255 gray scale of the first display area and the second brightness corresponding to the 255 gray scale of the second display area can also be determined according to the ambient light intensity, Further increase the brightness corresponding to the 255 gray scale of the first display area, and the brightness corresponding to the 255 gray scale of the second display area, the adjusted fifth brightness corresponding to the 255 gray scale of the first display area, and the adjusted second display area 255
  • the sixth brightness corresponding to the gray scale is approximately equal, and the fifth brightness and the sixth brightness are both greater than the first brightness, so that the terminal performs screen display based on the adjusted brightness.
  • this adjustment method can not only solve the problem of uneven brightness of the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current do not disturb mode of the terminal. Improve the flexibility of terminal screen adjustment.
  • the current working mode of the terminal is non-do not disturb mode
  • the user currently hopes to receive new messages in time.
  • the brightness corresponding to the 255 gray scale in the area, the adjusted fifth brightness corresponding to the 255 gray scale in the first display area and the sixth brightness corresponding to the 255 gray scale in the second display area are approximately equal, and the fifth brightness and the sixth brightness are both greater than The first brightness, so that the terminal performs screen display based on the adjusted brightness.
  • this adjustment method can not only solve the problem of uneven brightness in the first display area and the second display area on the terminal screen, so as to improve the display effect of the terminal screen; but also can take into account the current non-do not disturb mode of the terminal , Improve the flexibility of terminal screen adjustment.
  • the first display area corresponds to the 255 gray scale.
  • the first brightness of the first display area is the maximum brightness corresponding to the 255 gray scale of the first display area
  • the first brightness corresponding to the 255 gray scale of the first display area is the maximum brightness corresponding to the 255 gray scale of the first display area, in order not to break the limit of its physical capability, the safety of the device in the first display area is ensured, and In a strong light scene, the naked eye has a weaker ability to perceive different brightness of the screen. Therefore, the first brightness of the first display area can be controlled to maintain the maximum brightness corresponding to the 255 gray scale of the first display area, and only the second display area can be further increased. The brightness corresponding to the 255 gray scale of the display area is sufficient.
  • FIG. 14 is a schematic structural diagram of a display screen adjusting device 140 provided by an embodiment of the application, which is applied to a terminal.
  • the screen of the terminal includes a first display area and a second display area, and a camera component is arranged below the first display area.
  • the light transmittance of the first display area is higher than the light transmittance of the second display area.
  • the adjusting device 140 for the display screen may include:
  • the collection unit 1401 is used to collect the ambient light illuminance where the terminal is currently located.
  • the processing unit 1402 is configured to adjust the brightness corresponding to the 255 gray scale of the first display area to the first brightness through the first ambient light adaptive adjustment curve when the ambient light intensity is less than the ambient light threshold value, and adjust the brightness corresponding to the 255 gray scale of the first display area to the first brightness through the second ambient light adaptive adjustment curve
  • the brightness corresponding to the 255 gray scale of the second display area is adjusted to the second brightness, and the first brightness and the second brightness are approximately equal.
  • the first ambient light adaptive adjustment curve is used to indicate the mapping relationship between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area;
  • the second ambient light adaptive adjustment curve is used to indicate the ambient light intensity and the second display area The mapping relationship between the brightness corresponding to the 255 gray scale.
  • the first ambient light adaptive adjustment curve is the relationship curve between the ambient light intensity and the brightness corresponding to the 255 gray scale of the first display area
  • the second ambient light adaptive adjustment curve is the ambient light intensity and the second The relationship curve between the brightness corresponding to the gray scale of the display area 255, and when the environmental illuminance is less than the environmental illuminance threshold, the slope of the first environmental light adaptive adjustment curve and the slope of the second environmental light adaptive adjustment curve are approximately equal.
  • the processing unit 1402 is further configured to determine the second ambient light adaptive adjustment curve according to at least two ambient light levels and the brightness corresponding to the respective ambient light levels; and convert the second ambient light adaptive adjustment curve Processing to obtain a second proportional curve; where the second proportional curve is the relationship curve between the ambient light intensity and the pulse width modulation ratio corresponding to the 255 gray scale of the second display area, or the second proportional curve is the ambient light intensity and the second display The relationship curve between the current ratios corresponding to the 255 gray levels in the area; according to the ambient light threshold, the maximum brightness corresponding to the 255 gray levels in the first display area, and the second ratio curve, the first ambient light self-adjusting curve is obtained.
  • the processing unit 1402 is specifically configured to obtain the first proportional curve according to the ambient illuminance threshold, the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve; The slope is greater than the slope of the second proportional curve.
  • the first proportional curve is the environmental illuminance and the first display area The relationship curve between the pulse width modulation ratio corresponding to the 255 gray scale; or, when the second proportional curve is the relationship curve between the ambient light intensity and the current ratio corresponding to the 255 gray scale in the second display area, the first proportional curve is the environment The relationship curve between the illuminance and the current ratio corresponding to the 255 gray scale of the first display area; and the first ambient light self-adjusting curve is obtained according to the first ratio curve.
  • the ambient light intensity threshold is the ambient light intensity corresponding to the maximum luminance corresponding to the 255 gray scale of the first display area in the second ambient light adaptive adjustment curve.
  • the first ambient light adaptive adjustment curve is a first proportional curve
  • the second ambient light adaptive adjustment curve is a second proportional curve
  • the first proportional curve The slope of is greater than the slope of the second proportional curve
  • the second proportional curve is the pulse width corresponding to the environmental illuminance and the 255 gray scale of the second display area
  • the relationship curve between the modulation ratios or, when the first proportional curve is the relationship curve between the ambient illuminance and the current ratio corresponding to the gray scale of the first display area 255, the second proportional curve is the ambient illuminance and the second display area 255 The relationship curve between the current ratios corresponding to the gray scales.
  • the processing unit 1402 is further configured to determine the relationship curve between the environmental illuminance and the brightness corresponding to the 255 gray scale of the second display area according to the at least two environmental illuminances and the brightness corresponding to the respective environmental illuminances; and The relationship curve between the environmental illuminance and the brightness corresponding to the 255 gray scale of the second display area is converted to obtain a second proportional curve; according to the environmental illuminance threshold, the maximum brightness corresponding to the 255 gray scale of the first display area, and the second proportional curve, Obtain the first proportional curve.
  • the ambient light intensity threshold is the second proportional curve
  • the pulse width modulation ratio is the ambient light intensity corresponding to the maximum pulse width modulation ratio corresponding to 255 gray scales in the first display area; or, the ambient light intensity threshold is the first
  • the current ratio is the ambient illuminance corresponding to the maximum current ratio corresponding to 255 gray scales in the first display area.
  • the first brightness is maintained at the maximum brightness corresponding to the 255 gray scale of the first display area, and the second brightness is greater than the first brightness and less than or equal to the second brightness.
  • the processing unit 1402 is specifically configured to obtain the current operation interface of the terminal; the operation interface includes any one of a black screen operation interface, a bright screen operation interface, or a lock screen operation interface; and according to the current operation of the terminal
  • the interface and the first ambient light adaptive adjustment curve adjust the brightness corresponding to the 255 gray scale of the first display area to the third brightness, and adjust the 255 gray scale of the second display area according to the current operation interface of the terminal and the second ambient light adaptive adjustment curve
  • the corresponding brightness is the fourth brightness, where the third brightness and the fourth brightness are approximately equal, and the third brightness is greater than or equal to the first brightness.
  • the processing unit 1402 is specifically configured to obtain the current working mode of the terminal; the working mode is the do not disturb mode or the non-do not disturb mode; and adjust adaptively according to the current working mode of the terminal and the first ambient light
  • the curve adjusts the brightness corresponding to the 255 gray scale in the first display area to the fifth brightness, and adjusts the brightness corresponding to the 255 gray scale in the second display area to the sixth brightness according to the current working mode of the terminal and the second ambient light adaptive adjustment curve, where , The fifth brightness and the sixth brightness are approximately equal, and the fifth brightness is greater than or equal to the first brightness.
  • the display screen adjustment device 140 shown in the embodiment of the present application can implement the technical solution of the display screen adjustment method shown in any of the above embodiments, its realization principle and beneficial effects and the realization principle and benefits of the display screen adjustment method The effect is similar and will not be repeated here.
  • FIG. 15 is a schematic structural diagram of an electronic device 150 provided by an embodiment of the application.
  • the electronic device 150 includes a processor 1501 and a memory 1502, and the memory 1502 stores a computer
  • the processor 1501 executes the computer program stored in the memory 1502, so that the electronic device 150 executes the technical solution of the display screen adjustment method shown in any of the above-mentioned embodiments, and its implementation principle and beneficial effects are the same as The implementation principle and beneficial effects of the adjustment method of the display screen are similar, and will not be repeated here.
  • the embodiment of the present application also provides an electronic device, which may include a processor and an interface circuit; the interface circuit is used to receive code instructions and transmit them to the processor; the processor is used to run the The code instructions are used to implement the technical solution of the display screen adjustment method shown in any of the above embodiments.
  • the implementation principle and beneficial effects are similar to the implementation principles and beneficial effects of the display screen adjustment method, and will not be repeated here.
  • the embodiment of the present application also provides a computer storage medium for storing instructions.
  • the instructions When the instructions are executed, the method for adjusting the display screen as shown in any of the above embodiments is realized, its implementation principle and beneficial effects It is similar to the implementation principle and beneficial effects of the adjustment method of the display screen, and will not be repeated here.
  • An embodiment of the present application also provides a chip on which a computer program is stored.
  • the computer program is executed by a processor, the technical solution of the method for adjusting the display screen shown in any of the above embodiments is executed, its implementation principle and beneficial effects It is similar to the implementation principle and beneficial effects of the adjustment method of the display screen, and will not be repeated here.
  • the processor in each of the foregoing embodiments may be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), and a field programmable gate array (FPGA). Or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • Other programmable logic devices discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in random access memory (RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. mature in the field Storage medium.
  • RAM random access memory
  • flash memory read-only memory
  • read-only memory read-only memory
  • ROM programmable read-only memory or electrically erasable programmable memory, registers, etc. mature in the field Storage medium.
  • the storage medium is located in the memory, and the processor reads the instructions in the memory and completes the steps of the above method in combination with its hardware.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of El Displays (AREA)
  • Liquid Crystal (AREA)

Abstract

一种显示屏幕的调节方法、装置和设备,显示屏幕包括第一显示区域和第二显示区域,第一显示区域下方设置有相机组件,第一显示区域的透光率高于第二显示区域的透光率。调节方法包括:采集终端当前所处的环境光照度(S601);在环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,第一亮度和第二亮度近似相等(S602);其中,第一环境光自适应调节曲线用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系;第二环境光自适应调节曲线用于指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系。通过设置多重环境光自适应调节曲线分别调节第一显示区域255灰阶和第二显示区域255灰阶各自对应的亮度,以控制第一显示区域的亮度与第二显示区域的亮度近似相等,避免了第一显示区域和第二显示区域亮度不均,提高了终端屏幕的显示效果。

Description

显示屏幕的调节方法、装置和设备
本申请要求于2020年04月15日提交中国专利局、申请号为202010294740.6、申请名称为“显示屏幕的调节方法、装置和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种显示屏幕的调节方法、装置和设备。
背景技术
随着终端全面屏概念的提出,为了不断提高终端屏幕的屏占比,从最初的刘海屏,到水滴屏再到挖孔屏,不断提高终端屏幕的屏占比已经成为业界的趋势。由于相机(camera)及一众屏下光感器件对终端屏幕的透光率要求不一,为了使得设置有屏下光感器件的区域既可以满足相机和屏下光感器件对透光率需求,又可以进行正常的屏幕显示,以提高终端屏幕的屏占比,通常情况下,是在屏幕上设置数个高透光率的显示区域,并将相机和屏下光感器件设置在数个高透光率的显示区域的下方,然后通过降低该数个高透光率的显示区域的分辨率或者其它等同方式,以提升屏幕的透光率,从而使得该多个高透光率的显示区域不仅可以满足相机和屏下光感器件对透光率需求,而且可以进行正常的屏幕显示,有效地提高了终端屏幕的屏占比。
但是,对于设置有数个高透光率的显示区域的终端,在确定该数个高透光率的显示区域的亮度,以及其它非高透光率的显示区域的亮度时,是根据终端中存储的环境光自适应调节曲线确定的,该环境光自适应调节曲线指示的是环境光照度与显示区域255灰阶对应的脉冲宽度调制(pulse width modulation,PWM)比例或者电流比例之间的映射关系,使得在根据该环境光自适应调节曲线调节该数个高透光率的显示区域的亮度,以及其它非高透光率的显示区域的亮度时,虽然同一环境光照度对应的比例相同,但是由于该数个高透光率的显示区域的亮度和其它非高透光率的显示区域的亮度不同,使得无论在什么样的环境光照度场景下,该数个高透光率的显示区域的亮度总是低于终端屏幕中其它显示区域的亮度。
因此,当用户在室内或者黑夜等环境光照度下使用终端时,即终端处于室内或者黑夜等环境光照度较弱的场景下,会因为该数个高透光率的显示区域的亮度低于终端屏幕中其它显示区域的亮度,导致终端屏幕的显示效果较差。
发明内容
本申请实施例提供一种显示屏幕的调节方法、装置和设备,在进行屏幕显示时,提高了终端屏幕的显示效果。
第一方面,本申请实施例提供了一种显示屏幕的调节方法,应用于终端,终端的 屏幕中包括第一显示区域和第二显示区域,第一显示区域下方设置有相机组件,第一显示区域的透光率高于第二显示区域的透光率,该显示屏幕的调节方法可以包括:
采集终端当前所处的环境光照度。
在环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,第一亮度和第二亮度近似相等。
其中,第一环境光自适应调节曲线用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系;第二环境光自适应调节曲线用于指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系。
由此可见,在本申请实施例中,在环境光照度小于环境光照度阈值时,通过用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系的第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并通过指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系的第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,即通过设置多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等,有效地解决了终端屏幕中第一显示区域和第二显示区域亮度不均的问题,提高了终端屏幕的显示效果。
在一种可能的实现方式中,第一环境光自适应调节曲线为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,且在环境光照度小于环境光照度阈值时,第一环境光自适应调节曲线的斜率和第二环境光自适应调节曲线的斜率近似相等,使得调节后的第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度一致,以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,从而提高了终端屏幕的显示效果。
在一种可能的实现方式中,该显示屏幕的调节方法还可以包括:
根据至少两个环境光照度以及各自环境光照度对应的亮度确定第二环境光自适应调节曲线;对第二环境光自适应调节曲线进行转换处理,得到第二比例曲线;其中,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一环境光自适用调节曲线。
通常情况下,第一环境光自适用调节曲线为一条单调变化的曲线,可以用斜率描述。在一种理想状态下,第一环境光自适用调节曲线中,环境光照度小于环境光照度阈值时环境光照度与第一显示区域255灰阶对应的亮度之间的关系可以通过一条直线段表示。类似的,第二环境光自适用调节曲线为一条单调变化的曲线,可以用斜率描述。在一种理想状态下,第二环境光自适用调节曲线中,环境光照度小于环境光照度阈值时环境光照度与第二显示区域255灰阶对应的亮度之间的关系可以通过一条直线 段表示。
在一种可能的实现方式中,根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一环境光自适用调节曲线,可以包括:
根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线;其中,第一比例曲线的斜率大于第二比例曲线的斜率,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线。
根据第一比例曲线得到第一环境光自适用调节曲线,从而得到第一环境光自适应调节曲线,这样就可以根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,使得调节得到的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度和相同,避免了因终端屏幕中第一显示区域和第二显示区域亮度不均而导致终端屏幕的显示效果较差,从而提高了终端屏幕的显示效果。
在一种可能的实现方式中,在确定该环境光照度阈值时,由于不能突破第一显示区域器件的物理能力的极限,使得第一显示区域的亮度最大只能调整为第一显示区域255灰阶对应的最大亮度,因此,可以将第二环境光自适应调节曲线中,亮度为第一显示区域255灰阶对应的最大亮度时对应的环境光照度确定为该环境光照度阈值,即环境光照度阈值是第二环境光自适应调节曲线中,亮度为第一显示区域255灰阶对应的最大亮度时对应的环境光照度。
在一种可能的实现方式中,第一环境光自适应调节曲线为第一比例曲线,第二环境光自适应调节曲线为第二比例曲线,且在环境光照度小于环境光照度阈值时,第一比例曲线的斜率大于第二比例曲线的斜率。
其中,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
由此可见,在本申请实施例中,在调节终端屏幕中第一显示区域和第二显示区域的亮度时,可以先采集终端当前所处的环境光照度;并将采集到的环境光照度与环境光照度阈值进行比较,在环境光照度小于环境光照度阈值时,通过第一比例曲线调节第一显示区域255灰阶对应的亮度,并通过第二比例曲线调节第二显示区域255灰阶对应的亮度,即通过设置多重比例曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等,有效地解决了终端屏幕中第一显示区域和第二显示区域亮度不均的问题,提高了终端屏幕的显示效果。
在一种可能的实现方式中,该显示屏幕的调节方法还可以包括:
根据至少两个环境光照度以及各自环境光照度对应的亮度确定环境光照度与第二 显示区域255灰阶对应的亮度之间的关系曲线;对环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,得到第二比例曲线。
根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线,这样就可以根据第一比例曲线调节第一显示区域255灰阶对应的亮度,使得调节得到的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度和相同,避免了因终端屏幕中第一显示区域和第二显示区域亮度不均而导致终端屏幕的显示效果较差,从而提高了终端屏幕的显示效果。
在一种可能的实现方式中,在确定环境光照度阈值时,由于不能突破第一显示区域器件的物理能力的极限,当比例曲线为环境光照度与显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一显示区域的脉冲宽度调制比例最大只能调整为第一显示区域255灰阶对应的最大脉冲宽度调制比例,即环境光照度阈值是第二比例曲线中,脉冲宽度调制比例为第一显示区域255灰阶对应的最大脉冲宽度调制比例时对应的环境光照度;或者,当比例曲线为环境光照度与显示区域255灰阶对应的电流比例之间的关系曲线时,第一显示区域的电流比例最大只能调整为第一显示区域255灰阶对应的最大电流比例,即环境光照度阈值是第二比例曲线中,电流比例为第一显示区域255灰阶对应的最大电流比例时对应的环境光照度。
在一种可能的实现方式中,在环境光照度大于或者等于环境光照度阈值时,第一亮度维持在第一显示区域255灰阶对应的最大亮度,不会再随着环境光照度的增加而增加,而是维持在该最大亮度,以避免因增加亮度而突破其物理能力的极限,从而保证第一显示区域器件的安全性,基于这种考虑,若终端当前所处的环境光照度较大,即在环境光照度较大的强光场景下,环境光照度对应的亮度为第一显示区域255灰阶对应的最大亮度时,为了不突破其物理能力的极限,保证第一显示区域器件的安全性,且由于肉眼对屏幕不同亮度的感知能力较弱,因此,在环境光照度大于或者等于环境光照度阈值时,对于第一显示区域,可以根据第一显示区域器件的物理能力,控制第一显示区域的第一亮度维持在第一显示区域255灰阶对应的最大亮度,且不会随着环境光照度的增大而增大;但对于第二显示区域而言,可以继续调节第二显示区域的第二亮度,且第二显示区域的第二亮度随着环境光照度的增大而增大,直至该第二显示区域的亮度增大至第二显示区域255灰阶对应的最大亮度。且在整个调整过程中,第二显示区域的第二亮度总是大于第一显示区域的第一亮度。
在一种可能的实现方式中,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,可以包括:
获取终端当前的操作界面;操作界面包括黑屏操作界面、亮屏操作界面或者锁屏操作界面中的任一种;并根据终端当前的操作界面和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第三亮度,并根据终端当前的操作界面和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第四亮度,其中,第三亮度和第四亮度近似相等,且第三亮度大于或者等于第一亮度。
可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的操 作界面,提高了终端屏幕调节的灵活度。
在一种可能的实现方式中,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,可以包括:
获取终端当前的工作模式;工作模式为勿扰模式、或者非勿扰模式;并根据终端当前的工作模式和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第五亮度,并根据终端当前的工作模式和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第六亮度,其中,第五亮度和第六亮度近似相等,且第五亮度大于或者等于第一亮度。
可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的工作模式,提高了终端屏幕调节的灵活度。
第二方面,本申请实施例还提供一种显示屏幕的调节装置,应用于终端,终端的屏幕中包括第一显示区域和第二显示区域,第一显示区域下方设置有相机组件,第一显示区域的透光率高于第二显示区域的透光率,该显示屏幕的调节装置可以包括:
采集单元,用于采集终端当前所处的环境光照度。
处理单元,用于在环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,第一亮度和第二亮度近似相等。
其中,第一环境光自适应调节曲线用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系;第二环境光自适应调节曲线用于指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系。
在一种可能的实现方式中,第一环境光自适应调节曲线为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,且在环境光照度小于环境光照度阈值时,第一环境光自适应调节曲线的斜率和第二环境光自适应调节曲线的斜率近似相等。
在一种可能的实现方式中,处理单元,还用于根据至少两个环境光照度以及各自环境光照度对应的亮度确定第二环境光自适应调节曲线;并对第二环境光自适应调节曲线进行转换处理,得到第二比例曲线;其中,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线;根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一环境光自适用调节曲线。
在一种可能的实现方式中,处理单元,具体用于根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线;其中,第一比例曲线的斜率大于第二比例曲线的斜率,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一比例曲线为环境光照度 与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线;并根据第一比例曲线得到第一环境光自适用调节曲线。
在一种可能的实现方式中,环境光照度阈值是第二环境光自适应调节曲线中,亮度为第一显示区域255灰阶对应的最大亮度时对应的环境光照度。
在一种可能的实现方式中,第一环境光自适应调节曲线为第一比例曲线,第二环境光自适应调节曲线为第二比例曲线,且在环境光照度小于环境光照度阈值时,第一比例曲线的斜率大于第二比例曲线的斜率。
其中,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
在一种可能的实现方式中,处理单元,还用于根据至少两个环境光照度以及各自环境光照度对应的亮度确定环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线;并对环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,得到第二比例曲线;根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线。
在一种可能的实现方式中,环境光照度阈值是第二比例曲线中,脉冲宽度调制比例为第一显示区域255灰阶对应的最大脉冲宽度调制比例时对应的环境光照度;或者,环境光照度阈值是第二比例曲线中,电流比例为第一显示区域255灰阶对应的最大电流比例时对应的环境光照度。
在一种可能的实现方式中,在环境光照度大于或者等于环境光照度阈值时,第一亮度维持在第一显示区域255灰阶对应的最大亮度,第二亮度大于第一亮度,且小于或者等于第二显示区域255灰阶对应的最大亮度。
在一种可能的实现方式中,处理单元,具体用于获取终端当前的操作界面;操作界面包括黑屏操作界面、亮屏操作界面或者锁屏操作界面中的任一种;并根据终端当前的操作界面和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第三亮度,并根据终端当前的操作界面和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第四亮度,其中,第三亮度和第四亮度近似相等,且第三亮度大于或者等于第一亮度。
在一种可能的实现方式中,处理单元,具体用于获取终端当前的工作模式;工作模式为勿扰模式、或者非勿扰模式;并根据终端当前的工作模式和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第五亮度,并根据终端当前的工作模式和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第六亮度,其中,第五亮度和第六亮度近似相等,且第五亮度大于或者等于第一亮度。
第三方面,本申请实施例还提供一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器执行所述存储器中存储的计算机程 序,以使所述电子设备执行上述第一方面任一种可能的实现方式中所述的显示屏幕的调节方法。
第四方面,本申请实施例还提供了一种电子设备,该电子设备可以包括:处理器和接口电路;
所述接口电路,用于接收代码指令并传输至所述处理器;
所述处理器,用于运行所述代码指令以执行如上述第一方面任一种可能的实现方式中所述的显示屏幕的调节方法。
第五方面,本申请实施例还提供了一种可读存储介质,用于存储有指令,当所述指令被执行时,使如上述第一方面任一种可能的实现方式中所述的显示屏幕的调节方法被实现。
第六方面,本申请实施例还提供一种芯片,芯片上存储有计算机程序,在计算机程序被处理器执行时,上述第一方面任一种可能的实现方式中所述的显示屏幕的调节方法。
本申请实施例提供的显示屏幕的调节方法、装置和设备,在调节终端屏幕中显示区域的亮度时,在环境光照度小于环境光照度阈值时,通过指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系的第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,通过指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系的第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,即通过设置多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制第一显示区域的亮度与第二显示区域的亮度近似相等,避免了第一显示区域和第二显示区域亮度不均,提高了终端屏幕的显示效果。
附图说明
图1为本申请实施例提供的一种可应用的终端的示意图;
图2为本申请实施例提供的另一种可应用的终端的示意图;
图3为本申请实施例提供的又一种可应用的终端的示意图;
图4为本申请实施例提供的一种显示亮度与显示区域的灰阶之间的关系示意图;
图5为本申请实施例提供的一种显示区域255灰阶对应的亮度与环境光照度之间的关系示意图;
图6为本申请实施例提供的一种显示屏幕的调节方法的流程示意图;
图7为本申请实施例提供的一种第二环境光自适用调节曲线的示意图;
图8为本申请实施例提供的一种第一环境光自适用调节曲线的示意图;
图9为本申请实施例提供的另一种显示屏幕的调节方法的流程示意图;
图10为本申请实施例提供的一种第二显示区域对应的第二比例曲线的示意图;
图11为本申请实施例提供的一种第一显示区域对应的第一比例曲线的示意图
图12为本申请实施例提供的一种显示屏幕的调节方法的流程示意图;
图13为本申请实施例提供的另一种显示屏幕的调节方法的流程示意图;
图14为本申请实施例提供的一种显示屏幕的调节装置的结构示意图;
图15为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
本申请实施例提供的显示屏幕的调节方法可以应用于设置有有机电激发光显示器(Organic light-emitting diode,OLED)屏的终端,或者未来可能出现的其它可分区域控制屏幕亮度的终端等,本申请实施例对此不作限定。
其中,终端,又称为终端设备、用户设备,是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连功能的手持式设备、车载设备等。常见的终端设备例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,其中,可穿戴设备例如包括:智能手表、智能手环、计步器等。
在本申请的实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”一般表示前后关联对象是一种“或”的关系。
图1为本申请实施例提供的一种可应用的终端的示意图,示例的,请结合图1所示,对于设置有数个高透光率的显示区域的终端,该设置有数个高透光率的显示区域可以记为终端屏幕中的第一显示区域,将终端屏幕中未设置高透光率的显示区域记为第二显示区域,第一显示区域的透光率高于第二显示区域的透光率,在根据终端中存储的环境光自适应调节曲线调节第一显示区域的亮度和第二显示区域的亮度时,虽然同一环境光照度对应的比例相同,但是由于该第一显示区域的亮度和第二显示区域的亮度不同,使得无论在什么样的环境光照度场景下,最终根据环境光自适应调节曲线调节得到第一显示区域的亮度总是低于第二显示区域的亮度,从而导致终端屏幕的显示效果较差。
对于设置有数个高透光率的第一显示区域的终端,通常有两个问题需要考虑,一个问题为设置有数个高透光率的第一显示区域的设置形状;一个问题为设置有数个高透光率的第一显示区域在屏幕中的设置位置。对于第一显示区域的设置形状,示例的,第一显示区域的形状可以为矩形,例如图1中所示的第一显示区域;第一显示区域的形状也可以为椭圆形,可结合图2所示,图2为本申请实施例提供的另一种可应用的终端的示意图,具体可以根据实际需要进行设置,在此,对于第一显示区域的设置形状,本申请实施例不做进一步地限制。对于第一显示区域在屏幕中的设置位置,示例的,第一显示区域可以设置在屏幕中显示区域的顶端,可结合图1中所示的第一显示区域;第一显示区域也可以设置在屏幕中显示区域的顶端偏下的位置,可结合图3所示,图3为本申请实施例提供的又一种可应用的终端的示意图,具体可以根据实际需要进行设置,在此,对于第一显示区域的设置位置,本申请实施例不做进一步地限制。
为了解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,在调节终端屏幕中第一显示区域和第二显示区域各自的亮度时,可以尝试从两个方面进行调节。第一方面,可以控制亮度较高的第二显示区域亮度固定在某一亮度值,只增加亮度较低的第一显示区域的亮度,使得第一显示区域和第二显示区域的亮度保持一致,但是 若第二显示区域亮度固定的亮度值高于第一显示区域的最大亮度,则会由于第一显示区域器件的物理能力有限,不能突破其物理能力的极限,强制将其亮度调节为与亮度较高的第二显示区域的亮度一致,因此,采用该种方式使得第一显示区域和第二显示区域亮度一致显然是不合理的。第二方面,为了不突破其物理能力的极限,以保证第一显示区域器件的安全性,在调节第一显示区域的亮度时,控制该第一显示区域的亮度保持在其可达到的最大亮度,只降低第二显示区域的亮度,使得第一显示区域和第二显示区域的亮度保持一致,但是这样会牺牲掉整个第二显示区域的显示效果,使得该第二显示区域的亮度较差,因此,采用该种方式使得第一显示区域和第二显示区域亮度一致显然也是不合理的。
基于上述论述,为了解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果,经过长期试验,本申请实施例提供了一种显示屏幕的调节方法,应用于终端,终端的屏幕中包括第一显示区域和第二显示区域,第一显示区域下方设置有相机组件,第一显示区域的透光率高于第二显示区域的透光率,在调节终端屏幕中第一显示区域和第二显示区域的亮度时,可以先采集终端当前所处的环境光照度;并将采集到的环境光照度与环境光照度阈值进行比较,在环境光照度小于环境光照度阈值时,通过用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系的第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并通过指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系的第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,即通过设置多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等,有效地解决了终端屏幕中第一显示区域和第二显示区域亮度不均的问题,提高了终端屏幕的显示效果。
在详细描述本申请实施例提供的显示屏幕的调节方法之前,需要先明确几个概念,在充分理解这几个概念之后,再结合具体的实施例对本申请实施例提供的显示屏幕的调节方法进行详细地说明。
可以理解的是,终端在进行屏幕显示时,其显示亮度与显示区域的灰阶之间存在关联关系。通常情况下,显示区域的灰阶越大,对应的显示亮度越大,若结合本申请中第一显示区域和第二显示区域,则在同一灰阶下,第二显示区域的显示亮度总是大于第一显示区域的显示亮度,示例的,请参图4所示,图4为本申请实施例提供的一种显示亮度与显示区域的灰阶之间的关系示意图,可以看出,显示区域的最大灰阶为255。需要说明的是,在本申请实施例中,在调整显示区域的亮度时,之所以强调为显示区域255灰阶对应的亮度,是为了限定终端的屏幕面板的规格和能力,对具有这种规格和能力的屏幕面板的终端才能这样调节显示区域的亮度。其中,显示区域的亮度可以理解为发光体(光强)与人眼所“见到”的光源面积之比,定义为该光源单位的亮度,即单位投影面积上的发光强度。环境光照度即为环境光照强度,可以理解为被摄主体表面单位面积上所接受可见光的光通量。
通过上述描述可以看出,本申请实施例提供的显示屏幕的调节方法仅限定于环境光照度小于环境光照度阈值的场景下,即在环境光照度较小的弱光场景下,由于肉眼 对屏幕不同亮度的感知能力较强,可以通过设置的多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等。值得注意的是,若不考虑第一显示区域器件的安全性,在环境光照度大于或者等于环境光照度阈值的场景下,即在环境光照度较大的强光场景下,也可以通过设置的多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等。通常情况下,在调节终端屏幕中第一显示区域和第二显示区域的亮度时,对于终端屏幕中的任一个显示区域而言,其显示区域255灰阶对应的亮度会随着环境光照度的增加而增加,其关系曲线可以参见图5所示,图5为本申请实施例提供的一种显示区域255灰阶对应的亮度与环境光照度之间的关系示意图,可以看出,显示区域255灰阶对应的亮度会随着环境光照度的增加而增加,但是当显示区域255灰阶对应的亮度达到该显示区域255灰阶对应的最大亮度时,就不会再随着环境光照度的增加而增加,而是维持在该最大亮度,以避免因增加亮度而突破其物理能力的极限,从而保证第一显示区域器件的安全性。基于这种考虑,若终端当前所处的环境光照度较大,即在环境光照度较大的强光场景下,环境光照度对应的亮度为第一显示区域255灰阶对应的最大亮度时,为了不突破其物理能力的极限,保证第一显示区域器件的安全性,且由于肉眼对屏幕不同亮度的感知能力较弱,因此,在环境光照度大于或者等于环境光照度阈值时,对于第一显示区域,可以根据第一显示区域器件的物理能力,控制第一显示区域的第一亮度维持在第一显示区域255灰阶对应的最大亮度,且不会随着环境光照度的增大而增大;但对于第二显示区域而言,可以继续调节第二显示区域的第二亮度,且第二显示区域的第二亮度随着环境光照度的增大而增大,直至该第二显示区域的亮度增大至第二显示区域255灰阶对应的最大亮度。且在整个调整过程中,第二显示区域的第二亮度总是大于第一显示区域的第一亮度。
综上所述可以看出,在本申请实施例中,在调节终端屏幕中第一显示区域和第二显示区域各自的亮度时,正是因为设置了多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等,才可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,从而提高终端屏幕的显示效果。示例的,在根据多重环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度时,该多重环境光自适应调节曲线可以包括至少两种不同的定义,结合该至少两种不同的定义,本申请实施例提供的显示屏幕的调节方法可以包括至少两种不同场景。
在一种场景中,多重环境光自适应调节曲线可以被定义为环境光照度与显示区域255灰阶对应的亮度之间的关系曲线,即第一环境光自适应调节曲线被定义为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,第二环境光自适应调节曲线被定义为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,使得在采集到的终端当前所处的环境光照度之后,可以根据该环境光照度和环境光照度与第 一显示区域255灰阶对应的亮度之间的关系曲线调节终端中第一显示区域255灰阶对应的亮度,并根据该环境光照度和环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线调节终端中第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度一致,以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,从而提高了终端屏幕的显示效果。可以理解的是,在该种场景下,在环境光照度小于环境光照度阈值时,第一环境光自适应调节曲线的斜率和第二环境光自适应调节曲线的斜率近似相等。
在另一种场景中,多重环境光自适应调节曲线可以被定义为比例曲线,即第一环境光自适应调节曲线被定义为第一比例曲线,第二环境光自适应调节曲线被定义为第二比例曲线,使得在采集到的终端当前所处的环境光照度之后,可以根据该环境光照度和第一比例曲线调节终端中第一显示区域255灰阶对应的亮度,并根据该环境光照度和第二比例曲线调节终端中第二显示区域255灰阶对应的亮度,同样可以使得调节后的第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度一致,以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,从而提高了终端屏幕的显示效果。
可以理解的是,在该种场景下,在环境光照度小于环境光照度阈值时,第一比例曲线的斜率大于第二比例曲线的斜率,并且,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
下面,将分别结合上述两种不同的场景,重点针对在环境光照度小于环境光照度阈值的场景下,即应用于弱光的场景下,如何分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案进行详细地描述。可以理解的是,下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
在一种场景中,当多重环境光自适应调节曲线被定义为环境光照度与显示区域255灰阶对应的亮度之间的关系曲线时,示例的,请参见图6所示,图6为本申请实施例提供的一种显示屏幕的调节方法的流程示意图,该显示屏幕的调节方法可以包括:
S601、采集终端当前所处的环境光照度。
示例的,在采集终端当前所处的环境光照度时,可以通过终端内部设置的环境光传感器采集环境光照度,也可以通过外部设备采集终端当前所处的环境光照度,并通过该外部设备获取到其采集的环境光照度,具体可以根据实际需要进行设置,在此,对于如何采集终端当前所处的环境光照度,本申请实施例不做具体限制。通常情况下,是通过终端内部设置的环境光传感器采集环境光照度。
在采集到终端当前所处的环境光照度之后,就可以将采集到的当前所处的环境光照度与环境光照度阈值进行比较,以根据比较结果确定相应的亮度调节策略。若采集到的当前所处的环境光照度大于或者等于环境光照度阈值,其对应的亮度调节策略为: 控制终端屏幕中第一显示区域的第一亮度维持在第一显示区域255灰阶对应的最大亮度,且不会随着环境光照度的增大而增大;对于第二显示区域,可以继续调节第二显示区域的第二亮度,且第二显示区域的第二亮度随着环境光照度的增大而增大,直至该第二显示区域的亮度增大至第二显示区域255灰阶对应的最大亮度。相反的,若采集到的当前所处的环境光照度小于环境光照度阈值,其对应的亮度调节策略为:通过环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线调节第二显示区域255灰阶对应的亮度为第二亮度,且第一亮度和第二亮度近似相等。结合前面的描述可知,本申请实施例将重点针对在环境光照度小于环境光照度阈值的场景下,即应用于弱光的场景下,如何分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案进行详细地描述,可参见下述S602:
S602、在环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,第一亮度和第二亮度近似相等。
其中,第一环境光自适应调节曲线为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,且第一环境光自适应调节曲线的斜率和所述第二环境光自适应调节曲线的斜率近似相等。
示例的,在确定该环境光照度阈值时,由于不能突破第一显示区域器件的物理能力的极限,使得第一显示区域的亮度最大只能调整为第一显示区域255灰阶对应的最大亮度,因此,可以将第二环境光自适应调节曲线中,亮度为第一显示区域255灰阶对应的最大亮度时对应的环境光照度确定为该环境光照度阈值。
在确定环境光照度小于环境光照度阈值后,可以通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度。不难理解,在通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度之前,需要先分别获取到该第一环境光自适应调节曲线和第二环境光自适应调节曲线。示例的,在获取第一环境光自适应调节曲线和第二环境光自适用调节曲线时,由于第一显示区域255灰阶对应的最大亮度小于第二显示区域255灰阶对应的最大亮度,通过该第一显示区域对应的第一环境光自适应调节曲线在一定程度上无法刻画出第二显示区域对应的第二环境光自适应调节曲线,因此,可以先获取亮度较大的第二显示区域对应的第二环境光自适应调节曲线。在获取亮度较大的第二显示区域对应的第二环境光自适应调节曲线时,由于该第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,因此,可以获取第二显示区域的至少两组环境光照度与其各自对应的亮度,并根据该至少两组环境光照度与其各自对应的亮度建立第二环境光自适用调节曲线,从而获取到该第二环境光自适用调节曲线。可以理解的是,在建立第二环境光自适用调节曲线时,采用的组数 越多,建立得到的第二环境光自适用调节曲线越多。通常情况下,第二环境光自适用调节曲线为一条单调变化的曲线,可以用斜率描述。在一种理想状态下,第二环境光自适用调节曲线中,环境光照度小于环境光照度阈值时环境光照度与第二显示区域255灰阶对应的亮度之间的关系可以通过一条直线段表示,示例的,请参见图7所示,图7为本申请实施例提供的一种第二环境光自适用调节曲线的示意图,结合图7可以看出,当环境光照度小于环境光照度阈值时,第二显示区域255灰阶对应的亮度随着环境光照度的增加而增加。此外,由于第二显示区域255灰阶对应的最大亮度大于环境光照度阈值对应的亮度,因此,当环境光照度大于环境光照度阈值时,第二显示区域255灰阶对应的亮度依然随着环境光照度的增加而增加,当第二显示区域255灰阶对应的亮度达到第二显示区域255灰阶对应的最大亮度时,就维持在第二显示区域255灰阶对应的最大亮度,再不会随着环境光照度的增加而增加。其中,第二显示区域曲线对应的调节函数可以通过公式1表示:
Figure PCTCN2021082734-appb-000001
其中,B 2表示当前的环境光照度下,第二显示区域255灰阶对应的亮度,B MAX2表示第二显示区域255灰阶对应的最大亮度,I表示当前的环境光照度,I Threshold表示第二显示区域255灰阶的亮度达到最大亮度时,对应的环境光照度,可参见图7所示,f(I)表示环境光照度小于I Threshold时,第二显示区域255灰阶对应的亮度调节函数。
在获取到第二环境光自适用调节曲线之后,可以对第二环境光自适用调节曲线进行转换处理,得到该第二环境光自适用调节曲线对应的第二比例曲线,其中,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线;再根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线;并根据第一比例曲线得到第一环境光自适用调节曲线。由于第二显示区域255灰阶对应的最大亮度大于第一显示区域255灰阶对应的最大亮度,对应的,第二环境光自适用调节曲线对应的第二比例曲线的斜率小于第二环境光自适用调节曲线对应的第一比例曲线的斜率。并且,在本申请实施例中,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线。
通常情况下,第一环境光自适用调节曲线也为一条单调变化的曲线,可以用斜率描述。在一种理想状态下,第一环境光自适用调节曲线中,环境光照度小于环境光照度阈值时环境光照度与第一显示区域255灰阶对应的亮度之间的关系可以通过一条直线段表示,且该第一环境光自适应调节曲线的斜率与上述第二环境光自适应调节曲线的斜率近似相等。示例的,请参见图8所示,图8为本申请实施例提供的一种第一环境光自适用调节曲线的示意图,结合图8可以看出,当环境光照度小于环境光照度阈值时,第一显示区域255灰阶对应的亮度随着环境光照度的增加而增加。且由于环境 光照度阈值对应的亮度即为第一显示区域255灰阶对应的亮度,因此,当环境光照度大于环境光照度阈值时,第二显示区域255灰阶对应的亮度会维持在第一显示区域255灰阶对应的最大亮度,不会随着环境光照度的增加而增加。其中,第一显示区域曲线对应的调节函数可以通过公式2表示:
Figure PCTCN2021082734-appb-000002
其中,B 1表示当前的环境光照度下,第一显示区域255灰阶对应的亮度,B MAX1表示第一显示区域255灰阶对应的最大亮度,I表示当前的环境光照度,I up-limit表示环境光照度阈值,可参见图7所示,f(I)表示环境光照度小于环境光照度阈值I up-limit时,第一显示区域255灰阶对应的亮度调节函数。
需要说明的是,在本申请实施例中,之所以会将比例曲线定义为环境光照度与显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者环境光照度与显示区域255灰阶对应的电流比例之间的关系曲线,并通过比例曲线确定环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,原因在于:通常情况下,调节显示区域的亮度可以通过两种方式实现,一种方式是改变输入发光二极管(light emitting diode,LED)的电流,一般LED允许连续工作电流在20毫安左右,除了红色LED有饱和现象外,其他LED灰度基本上与流过的电流成比例,因此,可以通过输入至LED的电流比例调节显示区域的亮度。一种方式是改变输入的脉冲宽度调制比例,由于人眼的视觉惰性,可以通过周期性改变水的脉冲宽度调制比例(即占空比)调节显示区域的亮度,且在亮度调节过程中,若重复点亮的周期足够短(即刷新频率足够高),人眼是感觉不到发光象素在抖动。
在分别得到第二显示区域对应的第二环境光自适应调节曲线,和第一显示区域对应的第一环境光自适应调节曲线后,可结合图6所示的第二环境光自适应调节曲线和图7所示的第一环境光自适应调节曲线可以看出,当环境光照度小于环境光照度阈值时,第二环境光自适应调节曲线的斜率与第一环境光自适应调节曲线的斜率相同,因此,在根据第二环境光自适应调节曲线和第一环境光自适应调节曲线分别调节第二显示区域255灰阶对应的亮度和第一显示区域255灰阶对应的亮度时,调节得到的第二显示区域255灰阶对应的第二亮度和第一显示区域255灰阶对应的第一亮度相同,避免了因终端屏幕中第一显示区域和第二显示区域亮度不均而导致终端屏幕的显示效果较差,从而提高了终端屏幕的显示效果。
由此可见,本申请实施例提供的显示屏幕的调节方法,在调节终端屏幕中第一显示区域和第二显示区域的亮度时,可以先采集终端当前所处的环境光照度;并将采集到的环境光照度与环境光照度阈值进行比较,在环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,即通过设置多重环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等,有效地解决了终端屏幕中第一显示区域和第二显示区域亮度不均的问题,提高了终端屏幕的显示效果。
上述图6所示的实施例详细描述在一种场景中,当多重环境光自适应调节曲线被定义为环境光照度与显示区域255灰阶对应的亮度之间的关系曲线时,如何分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案。下面,将详细描述在另一种场景中,当多重环境光自适应调节曲线被定义为比例曲线时,如何分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案。示例的,请参见图9所示,图9为本申请实施例提供的另一种显示屏幕的调节方法的流程示意图,该显示屏幕的调节方法可以包括:
S901、采集终端当前所处的环境光照度。
示例的,在采集终端当前所处的环境光照度时,可以通过终端内部设置的环境光传感器采集环境光照度,也可以通过外部设备采集终端当前所处的环境光照度,并通过该外部设备获取到其采集的环境光照度,具体可以根据实际需要进行设置,在此,对于如何采集终端当前所处的环境光照度,本申请实施例不做具体限制。通常情况下,是通过终端内部设置的环境光传感器采集环境光照度。
在采集到终端当前所处的环境光照度之后,就可以将采集到的当前所处的环境光照度与环境光照度阈值进行比较,以根据比较结果确定相应的亮度调节策略。若采集到的当前所处的环境光照度大于或者等于环境光照度阈值,其对应的亮度调节策略为:控制终端屏幕中第一显示区域的第一亮度维持在第一显示区域255灰阶对应的最大亮度,且不会随着环境光照度的增大而增大;对于第二显示区域,可以继续调节第二显示区域的第二亮度,且第二显示区域的第二亮度随着环境光照度的增大而增大,直至该第二显示区域的亮度增大至第二显示区域255灰阶对应的最大亮度。相反的,若采集到的当前所处的环境光照度小于环境光照度阈值,其对应的亮度调节策略为:通过环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线调节第二显示区域255灰阶对应的亮度为第二亮度,且第一亮度和第二亮度近似相等。结合前面的描述可知,本申请实施例将重点针对在环境光照度小于环境光照度阈值的场景下,即应用于弱光的场景下,如何分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案进行详细地描述,可参见下述S902:
S902、在环境光照度小于环境光照度阈值时,通过第一比例曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二比例曲线调节第二显示区域255灰阶对应的亮度为第二亮度,第一亮度和第二亮度近似相等。
其中,第一比例曲线的斜率大于第二比例曲线的斜率,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之 间的关系曲线。同样需要说明的是,在本申请实施例中,之所以会将比例曲线定义为环境光照度与显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者环境光照度与显示区域255灰阶对应的电流比例之间的关系曲线,并通过比例曲线确定环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,原因在于:通常情况下,调节显示区域的亮度可以通过两种方式实现,一种方式是改变输入发光二极管(light emitting diode,LED)的电流,一般LED允许连续工作电流在20毫安左右,除了红色LED有饱和现象外,其他LED灰度基本上与流过的电流成比例,因此,可以通过输入至LED的电流比例调节显示区域的亮度。一种方式是改变输入的脉冲宽度调制比例,由于人眼的视觉惰性,可以通过周期性改变水的脉冲宽度调制比例(即占空比)调节显示区域的亮度,且在亮度调节过程中,若重复点亮的周期足够短(即刷新频率足够高),人眼是感觉不到发光象素在抖动。
示例的,在确定环境光照度阈值时,由于不能突破第一显示区域器件的物理能力的极限,当比例曲线为环境光照度与显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一显示区域的脉冲宽度调制比例最大只能调整为第一显示区域255灰阶对应的最大脉冲宽度调制比例,即环境光照度阈值是第二比例曲线中,脉冲宽度调制比例为第一显示区域255灰阶对应的最大脉冲宽度调制比例时对应的环境光照度;或者,当比例曲线为环境光照度与显示区域255灰阶对应的电流比例之间的关系曲线时,第一显示区域的电流比例最大只能调整为第一显示区域255灰阶对应的最大电流比例,即环境光照度阈值是第二比例曲线中,电流比例为第一显示区域255灰阶对应的最大电流比例时对应的环境光照度。
在确定环境光照度小于环境光照度阈值后,可以通过第一比例曲线调节第一显示区域255灰阶对应的亮度,并通过第二比例曲线调节第二显示区域255灰阶对应的亮度。不难理解,在通过第一比例曲线调节第一显示区域255灰阶对应的亮度,并通过第二比例曲线调节第二显示区域255灰阶对应的亮度之前,需要先分别获取到该第一比例曲线和第二比例曲线。示例的,在获取第一比例曲线和第二比例曲线时,由于第一显示区域255灰阶对应的最大亮度小于第二显示区域255灰阶对应的最大亮度,通过该第一显示区域对应的第一比例曲线在一定程度上无法刻画出第二显示区域对应的第二比例曲线,因此,可以先获取亮度较大的第二显示区域对应的第二比例曲线。示例的,在获取亮度较大的第二显示区域对应的第二比例曲线时,可以先通过第二显示区域的至少两组环境光照度与其各自对应的亮度,并根据该至少两组环境光照度与其各自对应的亮度建立环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线;再对所述环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,从而得到第二显示区域对应的第二比例曲线,可参见图7所示。需要说明的是,在本申请实施例中,获取环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线的方法与上述图6所示的实施例中获取环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线的方法相同,可参见上述图6所示的实施例中获取环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线的方法的相关描述,在此,本申请实施例不再进行赘述。
在获取到环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线之后, 可以对该环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,得到该第二显示区域对应的第二比例曲线,并根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线。可以理解的是,在本申请实施例中,由于第二显示区域255灰阶对应的最大亮度大于第一显示区域255灰阶对应的最大亮度,且为了通过第二比例曲线和第一比例曲线分别调节第二显示区域255灰阶对应的亮度和第一显示区域255灰阶对应的亮度后,使得调节后第二显示区域255灰阶对应的第二亮度和第一显示区域255灰阶对应的第二亮度近似相等,因此,第二显示区域对应的第二比例曲线的斜率需要小于第一显示区域对应的第一比例曲线的斜率,这样才可以保证调节后第二显示区域255灰阶对应的第二亮度和第一显示区域255灰阶对应的第二亮度近似相等。通常情况下,第一比例曲线和第二比例曲线均为曲线,在一种理想状态下,第一比例曲线和第二比例曲线中,环境光照度小于环境光照度阈值时第一比例曲线和第二比例曲线可以通过直线段表示,以第一显示区域255灰阶对应的最大亮度为300,第二显示区域255灰阶对应的最大亮度为600为例,可以看出,第二显示区域255灰阶对应的最大亮度600为第一显示区域255灰阶对应的最大亮度300的2倍,使得调节后第二显示区域255灰阶对应的第二亮度和第一显示区域255灰阶对应的第二亮度近似相等,则第二显示区域对应的第一比例曲线的斜率可以为第一显示区域对应的第一比例曲线的斜率的一半,示例的,可参见图10和图11所示,图10为本申请实施例提供的一种第二显示区域对应的第二比例曲线的示意图,图11为本申请实施例提供的一种第一显示区域对应的第一比例曲线的示意图。结合图10可以看出,当环境光照度小于环境光照度阈值时,第二显示区域255灰阶对应的脉冲宽度调制比例或者电流比例随着环境光照度的增加而增加。此外,以第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线为例,由于第二显示区域255灰阶对应的最大脉冲宽度调制比例大于环境光照度阈值对应的脉冲宽度调制比例,因此,当环境光照度大于环境光照度阈值时,第二显示区域255灰阶对应的脉冲宽度调制比例依然随着环境光照度的增加而增加,当第二显示区域255灰阶对应的脉冲宽度调制比例达到第二显示区域255灰阶对应的最大脉冲宽度调制比例时,就维持在第二显示区域255灰阶对应的最大脉冲宽度调制比例,再不会随着环境光照度的增加而增加。其中,第二比例曲线对应的调节函数可以通过公式3表示:
Figure PCTCN2021082734-appb-000003
其中,C 2表示当前的环境光照度下,第二显示区域255灰阶对应的脉冲宽度调制比例,C MAX2表示第二显示区域255灰阶对应的最大脉冲宽度调制比例,I表示当前的环境光照度,I Threshold表示第二显示区域255灰阶的脉冲宽度调制比例达到最大脉冲宽度调制比例时,对应的环境光照度,可参见图10所示,C(I)表示环境光照度小于I Threshold时,第二显示区域255灰阶对应的脉冲宽度调制比例调节函数。
结合图11可以看出,当环境光照度小于环境光照度阈值时,第一显示区域255灰阶对应的脉冲宽度调制比例或者电流比例随着环境光照度的增加而增加。同样以第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关 系曲线为例,由于环境光照度阈值对应的脉冲宽度调制比例即为第一显示区域255灰阶对应的最大脉冲宽度调制比例,因此,当环境光照度大于环境光照度阈值时,第二显示区域255灰阶对应的脉冲宽度调制比例会维持在第一显示区域255灰阶对应的最大脉冲宽度调制比例,不会随着环境光照度的增加而增加。其中,第一比例曲线对应的调节函数可以通过公式4表示:
Figure PCTCN2021082734-appb-000004
其中,C 1表示当前的环境光照度下,第一显示区域255灰阶对应的脉冲宽度调制比例,C MAX1表示第一显示区域255灰阶对应的最大脉冲宽度调制比例,I表示当前的环境光照度,I up-limit表示环境光照度阈值,可参见图10所示,G(I)表示环境光照度小于环境光照度阈值I up-limit时,第一显示区域255灰阶对应的脉冲宽度调制比例调节函数。
可以理解的是,本申请实施例只是以第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线为例进行说明,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,其对应的比例曲线和调节函数与当第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,其对应的比例曲线和调节函数类似,在此,本申请实施例不再进行赘述。
需要说明的是,在分别得到第一比例曲线和第二比例曲线之后,至于如何根据该第一比例曲线调节第一显示区域255灰阶对应的亮度,以及如何根据该第二比例曲线调节第二显示区域255灰阶对应的亮度,可参见现有技术中根据比例曲线调节显示区域255灰阶对应的亮度的相关描述,在此,本申请实施例不再进行赘述。
在分别得到第二显示区域对应的第二比例曲线,和第一显示区域对应的第一比例曲线后,可结合图10所示的第二比例曲线和图11所示的第一比例曲线可以看出,当环境光照度小于环境光照度阈值时,虽然第二比例曲线的斜率小于第一比例曲线的斜率,但是由于第二显示区域对应的最大亮度大于第一显示区域对应的最大亮度,因此,在根据第一比例曲线和第二比例曲线分别调节第二显示区域255灰阶对应的亮度和第一显示区域255灰阶对应的亮度时,调节得到的第二显示区域255灰阶对应的第二亮度和第一显示区域255灰阶对应的第一亮度相同,同样可以避免因终端屏幕中第一显示区域和第二显示区域亮度不均而导致终端屏幕的显示效果较差,从而提高了终端屏幕的显示效果。
由此可见,本申请实施例提供的显示屏幕的调节方法,在调节终端屏幕中第一显示区域和第二显示区域的亮度时,可以先采集终端当前所处的环境光照度;并将采集到的环境光照度与环境光照度阈值进行比较,在环境光照度小于环境光照度阈值时,通过第一比例曲线调节第一显示区域255灰阶对应的亮度,并通过第二比例曲线调节第二显示区域255灰阶对应的亮度,即通过设置多重比例曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,以控制调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等,有效地解决了终端屏幕中第一显示区域和第二显示区域亮度不均的问题,提高了终端屏幕的显示 效果。
上述图6或图9所示的实施例详细地描述了在环境光照度小于环境光照度阈值时,如何根据第一环境光自适应调节曲线和第二环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案。可以看出,在上述方案中,在分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度时,只是考虑到了当前所处的环境光照度,而并未考虑其它会影响区域亮度的因素。例如,终端当前的操作界面或者终端当前所处的工作模式中的至少一种影响因素。下面,将分别结合这些影响因素,详细描述在环境光照度小于环境光照度阈值时,如何根据第一环境光自适应调节曲线和第二环境光自适应调节曲线分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的亮度与第二显示区域255灰阶对应的亮度近似相等的技术方案。
在一种可能的场景中,当影响因素为终端当前的操作界面时,可以结合终端当前的操作界面分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度时,示例的,请参见图12所示,图12为本申请实施例提供的一种显示屏幕的调节方法的流程示意图,该显示屏幕的调节方法可以包括:
S1201、获取终端当前的操作界面。
操作界面包括黑屏操作界面、亮屏操作界面或者锁屏操作界面中的任一种。
S1202、在环境光照度小于环境光照度阈值时,根据终端当前的操作界面和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第三亮度,并根据终端当前的操作界面和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第四亮度。
其中,第三亮度和第四亮度近似相等,且所述第三亮度大于或者等于第一亮度。
可以理解的是,在根据终端当前的操作界面和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据终端当前的操作界面和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度时,可以先根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,得到调节后的第一显示区域对应的第一亮度和调节后的第一显示区域对应的第二亮度。需要说明的是,在本申请实施例中,根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度的方法,与上述图6所示的实施例或者上述图9所示的实施例中根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度的方法类似,可参见上述图6所示的实施例或者上述图9所示的实施例中根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度的相关描述,在此,本申请实施例不再进行赘述。
在根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根 据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,得到调节后的第一显示区域对应的第一亮度和调节后的第一显示区域对应的第二亮度后,可以结合终端当前的操作界面进一步调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度。下面,将分别针对黑屏操作界面、亮屏操作界面或者锁屏操作界面这三种不同的操作界面,详细描述如何进一步调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度。
示例的,当终端的当前操作界面为黑屏操作界面时,说明用户当前可能刚使用完手机,且用户当前可能离终端的距离较近,在该种情况下,可以仅根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度进行屏幕显示,以使用户在该亮度下查看新消息。当然,若不考虑由于屏幕亮度较大导致的终端的功耗较大,在该种情况下,在有新消息产生时,为了使得用户容易发现该新消息,也可以在根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度之后,进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,调节后的第一显示区域255灰阶对应的第三亮度,与调节后的第二显示区域255灰阶对应的第四亮度近似相等,以使终端基于调节后的亮度进行屏幕显示。可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的黑屏操作界面,提高了终端屏幕调节的灵活度。
示例的,当终端的当前操作界面为亮屏操作界面时,可以进一步判断当前的亮屏操作界面是否为全屏显示的应用操作界面,当终端当前的亮屏操作界面为全屏显示的应用操作界面时,在该种情况下,即使有新消息产生,考虑到用户当前可能不希望被打扰,例如,用户当前正在全屏操作界面玩游戏或者观看视频,此时,可以仅根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度进行屏幕显示,以使用户继续在当前亮度下进行全屏操作。当然,若不考虑由于屏幕亮度较大导致的终端的功耗较大,在该种情况下,也可以在根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度之后,进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,调节后的第一显示区域255灰阶对应的第三亮度,与调节后的第二显示区域255灰阶对应的第四亮度近似相等,以使终端基于调节后的亮度进行屏幕显示。当终端当前的亮屏操作界面为非全屏显示的应用操作界面时,说明用户当前正在使用终端操作一些非全屏显示的应用,例如,用户在音乐应用界面选择想试听的歌曲,在该种情况下,在有新消息产生时,考虑到当前场景下用户容易看到新消息,可以仅根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度进行屏幕显示,以使用户在当前亮度下进行全屏操作。当然,若不考虑由于屏幕亮度较大导致的终端的功耗较大,在该种情况下,为了使得用户容易发现该新消息,也可以在根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度之后,进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,调节后的第一显示区域255灰阶对应的第三亮度,与调节后的第二显示区域255灰阶对应的第四亮度近似相等,以使终 端基于调节后的亮度进行屏幕显示。可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的亮屏操作界面,提高了终端屏幕调节的灵活度。
示例的,当终端的当前操作界面为锁屏操作界面时,说明用户当前未使用终端,且用户当前可能离终端的距离较远,在该种情况下,在有新消息产生时,为了使得用户容易发现该新消息,可以在根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度之后,进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,调节后的第一显示区域255灰阶对应的第三亮度与第二显示区域255灰阶对应的第四亮度近似相等,以使终端基于调节后的亮度进行屏幕显示。当然,在该种情况下,也可以仅根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度进行屏幕显示。可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的锁屏操作界面,提高了终端屏幕调节的灵活度。
需要说明的是,在该种可能的场景中,在进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度时,可以考虑第一显示区域255灰阶对应的第一亮度是否为第一显示区域255灰阶对应的最大亮度,若第一显示区域255灰阶对应的第一亮度不是第一显示区域255灰阶对应的最大亮度,则可以进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的第三亮度与第二显示区域255灰阶对应的第四亮度近似相等。相反的,若第一显示区域255灰阶对应的第一亮度是第一显示区域255灰阶对应的最大亮度,则为了不突破其物理能力的极限,保证第一显示区域器件的安全性,且由于在强光的场景下,肉眼对屏幕不同亮度的感知能力较弱,因此,可以控制第一显示区域的第一亮度维持在第一显示区域255灰阶对应的最大亮度,只进一步增加第二显示区域255灰阶对应的亮度即可。
上述图12所示的实施例,详细地描述了在一种可能的场景中,当影响因素为终端当前的操作界面时,如何结合终端当前的操作界面分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度的技术方案。下面,将详细描述在另一种可能的场景中,当影响因素为终端当前的工作模式时,如何结合终端当前的工作模式分别调节第一显示区域255灰阶对应的亮度和第二显示区域255灰阶对应的亮度的技术方案。示例的,请参见图13所示,图13为本申请实施例提供的另一种显示屏幕的调节方法的流程示意图,该显示屏幕的调节方法可以包括:
S1301、获取终端当前的工作模式。
其中,终端当前的工作模式为勿扰模式、或者非勿扰模式。
S1302、根据终端当前的工作模式和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第五亮度,并根据终端当前的工作模式和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第六亮度。
其中,第五亮度和第六亮度近似相等,且第五亮度大于或者等于第一亮度。
可以理解的是,在根据终端当前的工作模式和第一环境光自适应调节曲线调节第 一显示区域255灰阶对应的亮度,并根据终端当前的工作模式和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度时,可以先根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度,得到调节后的第一显示区域对应的第一亮度和调节后的第一显示区域对应的第二亮度。需要说明的是,在本申请实施例中,根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度的方法,与上述图6所示的实施例或者上述图9所示的实施例中根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度的方法类似,可参见上述图6所示的实施例或者上述图9所示的实施例中根据第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度,并根据第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度的相关描述,在此,本申请实施例不再进行赘述。
示例的,当终端的当前工作模式为勿扰模式时,说明用户当前不希望被打扰,在该种情况下,即使有新消息产生,考虑到用户当前不希望被打扰,因此,可以仅根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度进行屏幕显示,以使用户继续在当前亮度下进行全屏操作。当然,若不考虑用户体验,在该种情况下,也可以在根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度之后,进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,调节后的第一显示区域255灰阶对应的第五亮度,与调节后的第二显示区域255灰阶对应的第六亮度近似相等,且该第五亮度和第六亮度均大于第一亮度,以使终端基于调节后的亮度进行屏幕显示。可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的勿扰模式,提高了终端屏幕调节的灵活度。
示例的,当终端的当前工作模式为非勿扰模式时,说明用户当前希望能够及时接收到新消息,在该种情况下,有新消息产生时,为了使得用户容易发现该新消息,可以在根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度之后,进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,调节后的第一显示区域255灰阶对应的第五亮度与第二显示区域255灰阶对应的第六亮度近似相等,且该第五亮度和第六亮度均大于第一亮度,以使终端基于调节后的亮度进行屏幕显示。当然,在该种情况下,也可以仅根据环境光强度确定的第一显示区域255灰阶对应的第一亮度和第二显示区域255灰阶对应的第二亮度进行屏幕显示。可以看出,通常该种调节方式,不仅可以解决终端屏幕中第一显示区域和第二显示区域亮度不均的问题,以提高终端屏幕的显示效果;而且可以考虑到终端当前的非勿扰模式,提高了终端屏幕调节的灵活度。
需要说明的是,在该种可能的场景中,在进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度时,可以考虑第一显示区域255灰阶对应的第一亮度是否为第一显示区域255灰阶对应的最大亮度,若第一显示区域255 灰阶对应的第一亮度不是第一显示区域255灰阶对应的最大亮度,则可以进一步增加第一显示区域255灰阶对应的亮度,以及第二显示区域255灰阶对应的亮度,使得调节后的第一显示区域255灰阶对应的第三亮度与第二显示区域255灰阶对应的第四亮度近似相等。相反的,若第一显示区域255灰阶对应的第一亮度是第一显示区域255灰阶对应的最大亮度,则为了不突破其物理能力的极限,保证第一显示区域器件的安全性,且由于在强光的场景下,肉眼对屏幕不同亮度的感知能力较弱,因此,可以控制第一显示区域的第一亮度维持在第一显示区域255灰阶对应的最大亮度,只进一步增加第二显示区域255灰阶对应的亮度即可。
图14为本申请实施例提供的一种显示屏幕的调节装置140的结构示意图,应用于终端,终端的屏幕中包括第一显示区域和第二显示区域,第一显示区域下方设置有相机组件,第一显示区域的透光率高于第二显示区域的透光率,示例的,请参见图14所示,该显示屏幕的调节装置140可以包括:
采集单元1401,用于采集终端当前所处的环境光照度。
处理单元1402,用于在环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第二亮度,第一亮度和第二亮度近似相等。
其中,第一环境光自适应调节曲线用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系;第二环境光自适应调节曲线用于指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系。
在一种可实现方式中,第一环境光自适应调节曲线为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,且在环境光照度小于环境光照度阈值时,第一环境光自适应调节曲线的斜率和第二环境光自适应调节曲线的斜率近似相等。
在一种可实现方式中,处理单元1402,还用于根据至少两个环境光照度以及各自环境光照度对应的亮度确定第二环境光自适应调节曲线;并对第二环境光自适应调节曲线进行转换处理,得到第二比例曲线;其中,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线;根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一环境光自适用调节曲线。
在一种可实现方式中,处理单元1402,具体用于根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线;其中,第一比例曲线的斜率大于第二比例曲线的斜率,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线; 并根据第一比例曲线得到第一环境光自适用调节曲线。
在一种可实现方式中,环境光照度阈值是第二环境光自适应调节曲线中,亮度为第一显示区域255灰阶对应的最大亮度时对应的环境光照度。
在一种可实现方式中,第一环境光自适应调节曲线为第一比例曲线,第二环境光自适应调节曲线为第二比例曲线,且在环境光照度小于环境光照度阈值时,第一比例曲线的斜率大于第二比例曲线的斜率。
其中,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线时,第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
在一种可实现方式中,处理单元1402,还用于根据至少两个环境光照度以及各自环境光照度对应的亮度确定环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线;并对环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,得到第二比例曲线;根据环境光照度阈值、第一显示区域255灰阶对应的最大亮度以及第二比例曲线,得到第一比例曲线。
在一种可实现方式中,环境光照度阈值是第二比例曲线中,脉冲宽度调制比例为第一显示区域255灰阶对应的最大脉冲宽度调制比例时对应的环境光照度;或者,环境光照度阈值是第二比例曲线中,电流比例为第一显示区域255灰阶对应的最大电流比例时对应的环境光照度。
在一种可实现方式中,在环境光照度大于或者等于环境光照度阈值时,第一亮度维持在第一显示区域255灰阶对应的最大亮度,第二亮度大于第一亮度,且小于或者等于第二显示区域255灰阶对应的最大亮度。
在一种可实现方式中,处理单元1402,具体用于获取终端当前的操作界面;操作界面包括黑屏操作界面、亮屏操作界面或者锁屏操作界面中的任一种;并根据终端当前的操作界面和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第三亮度,并根据终端当前的操作界面和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第四亮度,其中,第三亮度和第四亮度近似相等,且第三亮度大于或者等于第一亮度。
在一种可实现方式中,处理单元1402,具体用于获取终端当前的工作模式;工作模式为勿扰模式、或者非勿扰模式;并根据终端当前的工作模式和第一环境光自适应调节曲线调节第一显示区域255灰阶对应的亮度为第五亮度,并根据终端当前的工作模式和第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第六亮度,其中,第五亮度和第六亮度近似相等,且第五亮度大于或者等于第一亮度。
本申请实施例所示的显示屏幕的调节装置140,可以执行上述任一实施例所示的显示屏幕的调节方法的技术方案,其实现原理以及有益效果与显示屏幕的调节方法的实现原理及有益效果类似,此处不再进行赘述。
图15为本申请实施例提供的一种电子设备150的结构示意图,示例的,请参见图15所示,该所述电子设备150包括处理器1501和存储器1502,所述存储器1502中存 储有计算机程序,所述处理器1501执行所述存储器1502中存储的计算机程序,以使所述电子设备150执行上述任一实施例所示的显示屏幕的调节方法的技术方案,其实现原理以及有益效果与显示屏幕的调节方法的实现原理及有益效果类似,此处不再进行赘述。
本申请实施例还提供了一种电子设备,该电子设备可以包括处理器和接口电路;所述接口电路,用于接收代码指令并传输至所述处理器;所述处理器,用于运行所述代码指令以执行上述任一实施例所示的显示屏幕的调节方法的技术方案,其实现原理以及有益效果与显示屏幕的调节方法的实现原理及有益效果类似,此处不再进行赘述。
本申请实施例还提供一种计算机存储介质,用于存储有指令,当所述指令被执行时,使如上述任一实施例所示的显示屏幕的调节方法被实现,其实现原理以及有益效果与显示屏幕的调节方法的实现原理及有益效果类似,此处不再进行赘述。
本申请实施例还提供一种芯片,芯片上存储有计算机程序,在计算机程序被处理器执行时,执行上述任一实施例所示的显示屏幕的调节方法的技术方案,其实现原理以及有益效果与显示屏幕的调节方法的实现原理及有益效果类似,此处不再进行赘述。
上述各个实施例中处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。

Claims (26)

  1. 一种显示屏幕的调节方法,其特征在于,应用于终端,所述终端的屏幕中包括第一显示区域和第二显示区域,所述第一显示区域下方设置有相机组件,所述第一显示区域的透光率高于所述第二显示区域的透光率,所述方法包括:
    采集所述终端当前所处的环境光照度;
    在所述环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节所述第二显示区域255灰阶对应的亮度为第二亮度,所述第一亮度和所述第二亮度近似相等;
    其中,所述第一环境光自适应调节曲线用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系;所述第二环境光自适应调节曲线用于指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系。
  2. 根据权利要求1所述的方法,其特征在于,
    所述第一环境光自适应调节曲线为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,所述第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,且在环境光照度小于环境光照度阈值时,所述第一环境光自适应调节曲线的斜率和所述第二环境光自适应调节曲线的斜率近似相等。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    根据至少两个环境光照度以及各自环境光照度对应的亮度确定所述第二环境光自适应调节曲线;
    对所述第二环境光自适应调节曲线进行转换处理,得到第二比例曲线;其中,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线;
    根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到所述第一环境光自适用调节曲线。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到所述第一环境光自适用调节曲线,包括:
    根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到第一比例曲线;其中,所述第一比例曲线的斜率大于所述第二比例曲线的斜率,当所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线;
    根据所述第一比例曲线得到所述第一环境光自适用调节曲线。
  5. 根据权利要求2-4任一项所述的方法,其特征在于,
    所述环境光照度阈值是所述第二环境光自适应调节曲线中,亮度为所述第一显示 区域255灰阶对应的最大亮度时对应的环境光照度。
  6. 根据权利要求1所述的方法,其特征在于,
    所述第一环境光自适应调节曲线为第一比例曲线,所述第二环境光自适应调节曲线为第二比例曲线,且在环境光照度小于环境光照度阈值时,所述第一比例曲线的斜率大于所述第二比例曲线的斜率;
    其中,当所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线时,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    根据至少两个环境光照度以及各自环境光照度对应的亮度确定环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线;
    对所述环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,得到第二比例曲线;
    根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到所述第一比例曲线。
  8. 根据权利要求6或7所述的方法,其特征在于,
    所述环境光照度阈值是所述第二比例曲线中,脉冲宽度调制比例为所述第一显示区域255灰阶对应的最大脉冲宽度调制比例时对应的环境光照度;或者,所述环境光照度阈值是所述第二比例曲线中,电流比例为所述第一显示区域255灰阶对应的最大电流比例时对应的环境光照度。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,
    在所述环境光照度大于或者等于所述环境光照度阈值时,所述第一亮度维持在第一显示区域255灰阶对应的最大亮度,所述第二亮度大于所述第一亮度,且小于或者等于所述第二显示区域255灰阶对应的最大亮度。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述通过第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节所述第二显示区域255灰阶对应的亮度为第二亮度,包括:
    获取所述终端当前的操作界面;所述操作界面包括黑屏操作界面、亮屏操作界面或者锁屏操作界面中的任一种;
    根据所述终端当前的操作界面和所述第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第三亮度,并根据所述终端当前的操作界面和所述第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第四亮度,其中,所述第三亮度和所述第四亮度近似相等,且所述第三亮度大于或者等于所述第一亮度。
  11. 根据权利要求1-9任一项所述的方法,其特征在于,所述通过第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节所述第二显示区域255灰阶对应的亮度为第二亮度,包括:
    获取所述终端当前的工作模式;所述工作模式为勿扰模式、或者非勿扰模式;
    根据所述终端当前的工作模式和所述第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第五亮度,并根据所述终端当前的工作模式和所述第二环境光自适应调节曲线调节所述第二显示区域255灰阶对应的亮度为第六亮度,其中,所述第五亮度和所述第六亮度近似相等,且所述第五亮度大于或者等于所述第一亮度。
  12. 一种显示屏幕的调节装置,其特征在于,应用于终端,所述终端的屏幕中包括第一显示区域和第二显示区域,所述第一显示区域下方设置有相机组件,所述第一显示区域的透光率高于所述第二显示区域的透光率,所述装置包括:
    采集单元,用于采集所述终端当前所处的环境光照度;
    处理单元,用于在所述环境光照度小于环境光照度阈值时,通过第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第一亮度,并通过第二环境光自适应调节曲线调节所述第二显示区域255灰阶对应的亮度为第二亮度,所述第一亮度和所述第二亮度近似相等;
    其中,所述第一环境光自适应调节曲线用于指示环境光照度与第一显示区域255灰阶对应的亮度之间的映射关系;所述第二环境光自适应调节曲线用于指示环境光照度与第二显示区域255灰阶对应的亮度之间的映射关系。
  13. 根据权利要求12所述的装置,其特征在于,
    所述第一环境光自适应调节曲线为环境光照度与第一显示区域255灰阶对应的亮度之间的关系曲线,所述第二环境光自适应调节曲线为环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线,且在环境光照度小于环境光照度阈值时,所述第一环境光自适应调节曲线的斜率和所述第二环境光自适应调节曲线的斜率近似相等。
  14. 根据权利要求13所述的装置,其特征在于,
    所述处理单元,还用于根据至少两个环境光照度以及各自环境光照度对应的亮度确定所述第二环境光自适应调节曲线;并对所述第二环境光自适应调节曲线进行转换处理,得到第二比例曲线;其中,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线,或者,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线;根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到所述第一环境光自适用调节曲线。
  15. 根据权利要求14所述的装置,其特征在于,
    所述处理单元,具体用于根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到第一比例曲线;其中,所述第一比例曲线的斜率大于所述第二比例曲线的斜率,当所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线时,所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线;并根据所述第一比例曲线得到所述第一环境光自适用调节曲线。
  16. 根据权利要求13-15任一项所述的装置,其特征在于,
    所述环境光照度阈值是所述第二环境光自适应调节曲线中,亮度为所述第一显示 区域255灰阶对应的最大亮度时对应的环境光照度。
  17. 根据权利要求12所述的装置,其特征在于,
    所述第一环境光自适应调节曲线为第一比例曲线,所述第二环境光自适应调节曲线为第二比例曲线,且在环境光照度小于环境光照度阈值时,所述第一比例曲线的斜率大于所述第二比例曲线的斜率;
    其中,当所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线时,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的脉冲宽度调制比例之间的关系曲线;或者,当所述第一比例曲线为环境光照度与第一显示区域255灰阶对应的电流比例之间的关系曲线时,所述第二比例曲线为环境光照度与第二显示区域255灰阶对应的电流比例之间的关系曲线。
  18. 根据权利要求17所述的装置,其特征在于,
    所述处理单元,还用于根据至少两个环境光照度以及各自环境光照度对应的亮度确定环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线;并对所述环境光照度与第二显示区域255灰阶对应的亮度之间的关系曲线进行转换处理,得到第二比例曲线;根据所述环境光照度阈值、所述第一显示区域255灰阶对应的最大亮度以及所述第二比例曲线,得到所述第一比例曲线。
  19. 根据权利要求17或18所述的装置,其特征在于,
    所述环境光照度阈值是所述第二比例曲线中,脉冲宽度调制比例为所述第一显示区域255灰阶对应的最大脉冲宽度调制比例时对应的环境光照度;或者,所述环境光照度阈值是所述第二比例曲线中,电流比例为所述第一显示区域255灰阶对应的最大电流比例时对应的环境光照度。
  20. 根据权利要求12-19任一项所述的装置,其特征在于,
    在所述环境光照度大于或者等于所述环境光照度阈值时,所述第一亮度维持在第一显示区域255灰阶对应的最大亮度,所述第二亮度大于所述第一亮度,且小于或者等于所述第二显示区域255灰阶对应的最大亮度。
  21. 根据权利要求12-20任一项所述的装置,其特征在于,
    所述处理单元,具体用于获取所述终端当前的操作界面;所述操作界面包括黑屏操作界面、亮屏操作界面或者锁屏操作界面中的任一种;并根据所述终端当前的操作界面和所述第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第三亮度,并根据所述终端当前的操作界面和所述第二环境光自适应调节曲线调节第二显示区域255灰阶对应的亮度为第四亮度,其中,所述第三亮度和所述第四亮度近似相等,且所述第三亮度大于或者等于所述第一亮度。
  22. 根据权利要求12-20任一项所述的装置,其特征在于,
    所述处理单元,具体用于获取所述终端当前的工作模式;所述工作模式为勿扰模式、或者非勿扰模式;并根据所述终端当前的工作模式和所述第一环境光自适应调节曲线调节所述第一显示区域255灰阶对应的亮度为第五亮度,并根据所述终端当前的工作模式和所述第二环境光自适应调节曲线调节所述第二显示区域255灰阶对应的亮度为第六亮度,其中,所述第五亮度和所述第六亮度近似相等,且所述第五亮度大于或者等于所述第一亮度。
  23. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器执行所述存储器中存储的计算机程序,以使所述电子设备执行如权利要求1至11任一项所述的显示屏幕的调节方法。
  24. 一种电子设备,其特征在于,包括:处理器和接口电路;
    所述接口电路,用于接收代码指令并传输至所述处理器;
    所述处理器,用于运行所述代码指令以执行如权利要求1至11中任一项所述的显示屏幕的调节方法。
  25. 一种可读存储介质,其特征在于,用于存储有指令,当所述指令被执行时,使如权利要求1至11中任一项所述的显示屏幕的调节方法被实现。
  26. 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-11任意一项所述的方法。
PCT/CN2021/082734 2020-04-15 2021-03-24 显示屏幕的调节方法、装置和设备 Ceased WO2021208689A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21788305.7A EP4131247A4 (en) 2020-04-15 2021-03-24 Method, device and apparatus for adjusting display screen
US17/919,000 US12087201B2 (en) 2020-04-15 2021-03-24 Display screen adjustment method and apparatus, and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010294740.6 2020-04-15
CN202010294740.6A CN113539207B (zh) 2020-04-15 2020-04-15 显示屏幕的调节方法、装置和设备

Publications (1)

Publication Number Publication Date
WO2021208689A1 true WO2021208689A1 (zh) 2021-10-21

Family

ID=78084070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082734 Ceased WO2021208689A1 (zh) 2020-04-15 2021-03-24 显示屏幕的调节方法、装置和设备

Country Status (4)

Country Link
US (1) US12087201B2 (zh)
EP (1) EP4131247A4 (zh)
CN (1) CN113539207B (zh)
WO (1) WO2021208689A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111816112B (zh) * 2020-07-24 2022-04-08 昆山国显光电有限公司 显示面板的补偿参数确定方法及装置
CN113889021A (zh) * 2021-10-26 2022-01-04 福建华佳彩有限公司 一种改善AA hole横向mura的方法
CN116229876B (zh) * 2021-12-03 2024-04-19 荣耀终端有限公司 调节显示组件的驱动电压的方法与终端设备
KR20240094244A (ko) * 2022-12-15 2024-06-25 삼성디스플레이 주식회사 표시 장치 및 이의 구동 방법
CN120014960B (zh) * 2025-04-18 2025-09-19 浙江大学 一种显示屏的舒适亮度调节方法及系统
CN121354511B (zh) * 2025-12-22 2026-03-31 成都雲茂享科技有限公司 一种显示器的亮度调节方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717244A (zh) * 2018-05-18 2018-10-30 京东方科技集团股份有限公司 显示装置及其控制方法、存储介质
CN108810200A (zh) * 2018-06-04 2018-11-13 Oppo广东移动通信有限公司 显示装置
CN110164398A (zh) * 2019-05-24 2019-08-23 京东方科技集团股份有限公司 一种显示亮度调节方法及系统
CN110288946A (zh) * 2019-06-25 2019-09-27 华为技术有限公司 移动终端及其驱动方法、显示模组、驱动芯片
CN110570830A (zh) * 2019-08-28 2019-12-13 Oppo(重庆)智能科技有限公司 设备调节方法、装置、存储介质及电子设备
CN110619836A (zh) * 2019-10-31 2019-12-27 Oppo广东移动通信有限公司 显示屏处理方法、装置、存储介质及电子设备
CN110634434A (zh) * 2019-09-11 2019-12-31 武汉天马微电子有限公司 一种显示面板的驱动方法、其驱动装置及显示装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007003640A (ja) * 2005-06-22 2007-01-11 Tohoku Pioneer Corp 自発光パネル
CN101512630B (zh) * 2006-08-29 2011-06-22 松下电器产业株式会社 图像显示方法及图像显示装置
JP2010072112A (ja) * 2008-09-16 2010-04-02 Casio Computer Co Ltd 表示装置及びその駆動制御方法
JP5293367B2 (ja) * 2009-04-17 2013-09-18 セイコーエプソン株式会社 自発光表示装置および電子機器
CN104916259B (zh) * 2014-03-13 2019-09-17 海信集团有限公司 控制医疗显示器的显示屏亮度的方法、装置及医疗显示器
CN107886040A (zh) * 2016-09-30 2018-04-06 北京小米移动软件有限公司 显示装置及其控制方法和控制组件以及电子设备
CN106484354B (zh) * 2016-10-31 2019-12-20 维沃移动通信有限公司 一种显示亮度调整方法及移动终端
CN109872670B (zh) * 2017-12-05 2021-11-05 京东方科技集团股份有限公司 显示屏、显示装置、显示电路及其亮度补偿方法
CN108766347A (zh) * 2018-06-13 2018-11-06 京东方科技集团股份有限公司 一种显示面板、其显示方法及显示装置
CN110930945A (zh) * 2019-12-20 2020-03-27 西安易朴通讯技术有限公司 显示屏亮度调节的方法、装置及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717244A (zh) * 2018-05-18 2018-10-30 京东方科技集团股份有限公司 显示装置及其控制方法、存储介质
CN108810200A (zh) * 2018-06-04 2018-11-13 Oppo广东移动通信有限公司 显示装置
CN110164398A (zh) * 2019-05-24 2019-08-23 京东方科技集团股份有限公司 一种显示亮度调节方法及系统
CN110288946A (zh) * 2019-06-25 2019-09-27 华为技术有限公司 移动终端及其驱动方法、显示模组、驱动芯片
CN110570830A (zh) * 2019-08-28 2019-12-13 Oppo(重庆)智能科技有限公司 设备调节方法、装置、存储介质及电子设备
CN110634434A (zh) * 2019-09-11 2019-12-31 武汉天马微电子有限公司 一种显示面板的驱动方法、其驱动装置及显示装置
CN110619836A (zh) * 2019-10-31 2019-12-27 Oppo广东移动通信有限公司 显示屏处理方法、装置、存储介质及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4131247A4

Also Published As

Publication number Publication date
EP4131247A1 (en) 2023-02-08
CN113539207A (zh) 2021-10-22
US12087201B2 (en) 2024-09-10
US20230237948A1 (en) 2023-07-27
CN113539207B (zh) 2022-11-25
EP4131247A4 (en) 2023-06-14

Similar Documents

Publication Publication Date Title
WO2021208689A1 (zh) 显示屏幕的调节方法、装置和设备
CN113257208B (zh) 环境亮度检测方法、电子设备、检测装置及存储介质
JP6513648B2 (ja) 照明源として構成されるディスプレイデバイス
WO2021027649A1 (zh) 一种暗模式显示界面处理方法、电子设备与存储介质
CN113963659B (zh) 显示设备的调整方法及显示设备
US11191144B2 (en) Light supplement module, light supplement control method and terminal for light supplement module
CN101676982B (zh) 一种节能显示器和电子设备
WO2020192362A1 (zh) 一种光传感器状态控制方法及电子设备
CN111223432B (zh) 控制屏幕显示的方法及装置
TWI549106B (zh) 影像顯示方法及電子裝置
CN110113536B (zh) 一种屏幕补光方法、装置、存储介质及智能终端
CN118471139B (zh) 显示方法、电子设备及存储介质
US10467734B2 (en) Group management method, terminal, and storage medium
CN114340102B (zh) 灯带控制方法、装置、显示设备、系统以及存储介质
CN104113688A (zh) 一种图像处理方法及其电子设备
EP4460023A1 (en) Image processing method and related device
CN105592254A (zh) 图像显示方法及电子装置
WO2022134008A1 (zh) 图像显示方法、装置、电子设备及存储介质
CN207218885U (zh) 一种用于无线光通信的智能终端自动曝光控制结构
CN115798394A (zh) 亮度调整方法、装置及存储介质
KR102178333B1 (ko) 영상처리방법 및 투명표시장치
CN117692788B (zh) 一种图像处理方法及电子设备
CN115472133A (zh) 显示面板的控制方法及装置、电子设备、存储介质
CN113066452B (zh) 显示控制方法及装置、电子设备、计算机可读存储介质
CN107491161B (zh) 显示器的节能方法及系统

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021788305

Country of ref document: EP

Effective date: 20221027

NENP Non-entry into the national phase

Ref country code: DE