WO2023221051A1 - 背光调整方法、装置、设备及存储介质 - Google Patents

背光调整方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2023221051A1
WO2023221051A1 PCT/CN2022/093927 CN2022093927W WO2023221051A1 WO 2023221051 A1 WO2023221051 A1 WO 2023221051A1 CN 2022093927 W CN2022093927 W CN 2022093927W WO 2023221051 A1 WO2023221051 A1 WO 2023221051A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
adjustment
backlight brightness
backlight
target
Prior art date
Application number
PCT/CN2022/093927
Other languages
English (en)
French (fr)
Inventor
曾双耀
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN202280004377.7A priority Critical patent/CN115668349A/zh
Priority to PCT/CN2022/093927 priority patent/WO2023221051A1/zh
Publication of WO2023221051A1 publication Critical patent/WO2023221051A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/047Vibrating means for incoming calls
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present disclosure relates to the field of display technology, and in particular, to a backlight adjustment method, device, equipment and storage medium.
  • embodiments of the present disclosure provide a backlight adjustment method, device, equipment and storage medium to solve the defects in the related technology.
  • a backlight adjustment method is provided, applied to a terminal device, and the method includes:
  • the terminal device In response to detecting that the terminal device satisfies the backlight adjustment condition, obtain the current backlight brightness of the terminal device screen, where the current backlight brightness includes the current brightness of the backlight module of the terminal device screen;
  • the current backlight brightness is adjusted to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • the terminal device meets backlight adjustment conditions, including:
  • the automatic adjustment function of the screen color temperature of the terminal device is turned on.
  • the method further includes determining the target adjustment brightness in advance based on:
  • the first initial backlight brightness includes the backlight brightness when the automatic color temperature adjustment function of the terminal device screen is turned off;
  • the target adjustment brightness is determined based on the backlight adjustment parameter and the first initial backlight brightness.
  • the target adjusted brightness is higher than the current backlight brightness
  • Adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size includes:
  • the first preset process includes: in response to detecting that the first target difference is greater than the backlight brightness Adjust the step size to increase the current backlight brightness by the backlight brightness adjustment step size, and the first target difference is the difference between the target adjustment brightness and the current backlight brightness;
  • the current backlight brightness is adjusted upward to the target adjustment brightness.
  • the terminal device meets backlight adjustment conditions, including:
  • the terminal equipment screen color temperature automatic adjustment function is switched from the on state to the off state.
  • the method further includes determining the target adjustment brightness in advance based on:
  • the second initial backlight brightness includes the backlight brightness when the automatic color temperature adjustment function of the terminal device screen is turned off;
  • the second initial backlight brightness is determined as the target adjusted brightness.
  • the target adjusted brightness is lower than the current backlight brightness
  • Adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size includes:
  • the second preset process includes: in response to detecting that the second target difference is greater than the backlight brightness. Adjust the step size to lower the current backlight brightness by the backlight brightness adjustment step size, and the second target difference is the difference between the current backlight brightness and the target adjustment brightness;
  • the current backlight brightness is lowered to the target adjustment brightness.
  • a backlight adjustment device applied to terminal equipment, and the device includes:
  • a current backlight acquisition module configured to acquire the current backlight brightness of the terminal device screen in response to detecting that the terminal device satisfies the backlight adjustment condition, where the current backlight brightness includes the current brightness of the backlight module of the terminal device screen;
  • an adjustment step size determination module configured to determine the backlight brightness adjustment step size according to the current backlight brightness
  • a backlight brightness adjustment module configured to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • the terminal device meets backlight adjustment conditions, including:
  • the automatic adjustment function of the screen color temperature of the terminal device is turned on.
  • the device further includes a first brightness determination module
  • the first brightness determination module includes:
  • a first brightness acquisition unit configured to acquire the first initial backlight brightness of the terminal device screen, where the first initial backlight brightness includes the backlight brightness when the color temperature automatic adjustment function of the terminal device screen is turned off;
  • an adjustment parameter determination unit configured to determine the backlight adjustment parameter of the terminal device based on the current color temperature of the terminal device screen
  • a first brightness determination unit configured to determine the target adjustment brightness based on the backlight adjustment parameter and the first initial backlight brightness.
  • the target adjusted brightness is higher than the current backlight brightness
  • the backlight brightness adjustment module includes:
  • a first loop unit configured to loop through a first preset process until the first target difference is less than or equal to the backlight brightness adjustment step.
  • the first preset process includes: in response to detecting the first target If the difference is greater than the backlight brightness adjustment step, the current backlight brightness is increased by the backlight brightness adjustment step, and the first target difference is the difference between the target adjustment brightness and the current backlight brightness;
  • a brightness upward adjustment unit configured to increase the current backlight brightness to the target adjustment brightness in response to detecting that the first target difference is less than or equal to the backlight brightness adjustment step.
  • the terminal device meets backlight adjustment conditions, including:
  • the terminal equipment screen color temperature automatic adjustment function is switched from the on state to the off state.
  • the device further includes a second brightness determination module
  • the second brightness determination module includes:
  • the second brightness acquisition unit acquires the second initial backlight brightness of the terminal device screen, where the second initial backlight brightness includes the backlight brightness when the automatic color temperature adjustment function of the terminal device screen is turned off;
  • a second brightness determination unit is configured to determine the second initial backlight brightness as the target adjustment brightness.
  • the target adjusted brightness is lower than the current backlight brightness
  • the backlight brightness adjustment module includes:
  • a second loop unit configured to loop through a second preset process until the second target difference is less than or equal to the backlight brightness adjustment step.
  • the second preset process includes: in response to detecting the second target If the difference is greater than the backlight brightness adjustment step, the current backlight brightness is adjusted downward by the backlight brightness adjustment step, and the second target difference is the difference between the current backlight brightness and the target adjustment brightness;
  • a brightness down-adjustment unit configured to lower the current backlight brightness to the target adjustment brightness in response to detecting that the second target difference is less than or equal to the backlight brightness adjustment step.
  • a terminal device where the device includes:
  • the processor is configured to, when executing the computer program, implement:
  • the terminal device In response to detecting that the terminal device satisfies the backlight adjustment condition, obtain the current backlight brightness of the terminal device screen, where the current backlight brightness includes the current brightness of the backlight module of the terminal device screen;
  • the current backlight brightness is adjusted to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • a computer-readable storage medium is provided, a computer program is stored thereon, and when executed by a processor, the program implements:
  • the terminal device In response to detecting that the terminal device meets the backlight adjustment condition, obtain the current backlight brightness of the terminal device screen, where the current backlight brightness includes the current brightness of the backlight module of the terminal device screen;
  • the current backlight brightness is adjusted to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • the present disclosure obtains the current backlight brightness of the terminal device screen in response to detecting that the terminal device satisfies the backlight adjustment condition, and determines the backlight brightness adjustment step size based on the current backlight brightness, and then based on the backlight brightness adjustment step size Adjusting the current backlight brightness to a predetermined target adjustment brightness can realize gradual adjustment of the backlight brightness, avoid sudden changes in screen brightness, and thereby avoid discomfort to the user's eyes, thereby improving the user's visual experience.
  • Figure 1 is a flow chart of a backlight adjustment method according to an exemplary embodiment of the present disclosure
  • Figure 2 is a flowchart showing how to determine the target adjustment brightness according to an exemplary embodiment of the present disclosure
  • FIG. 3 is a flowchart showing how to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step according to an exemplary embodiment of the present disclosure
  • Figure 4 is a flowchart showing how to determine the target adjustment brightness according to yet another exemplary embodiment of the present disclosure
  • Figure 5 is a flowchart showing how to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size according to yet another exemplary embodiment of the present disclosure
  • Figure 6 is a flow chart of a backlight adjustment method according to yet another exemplary embodiment of the present disclosure.
  • Figure 7 is a block diagram of a backlight adjustment device according to an exemplary embodiment of the present disclosure.
  • Figure 8 is a block diagram of a backlight adjustment device according to yet another exemplary embodiment of the present disclosure.
  • Figure 9 is a block diagram of a terminal device according to an exemplary embodiment of the present disclosure.
  • terminal devices can support automatic color temperature adjustment function. For example, when the ambient color temperature is too cold (too white), the terminal device screen can automatically adjust to the same white temperature; when the environment is too warm (too yellow), the terminal device screen can automatically adjust to the same yellowish temperature.
  • the inventor found that when the color temperature is automatically adjusted, the brightness of the screen will be reduced, so the backlight of the screen needs to be adjusted.
  • the backlight brightness of the screen is usually directly adjusted to the target adjustment brightness (i.e., the adjusted backlight value), which will cause a sudden change in screen brightness, causing discomfort to the user's eyes, and thus affecting the user's visual experience.
  • the present disclosure proposes the following backlight adjustment methods, devices, equipment and storage media to solve the above problems in related technologies.
  • Figure 1 is a flow chart of a backlight adjustment method according to an exemplary embodiment; the method of this embodiment can be applied to terminal devices with screens (such as smart phones, tablets, laptops, desktop computers, etc.).
  • terminal devices with screens such as smart phones, tablets, laptops, desktop computers, etc.
  • the method includes the following steps S101-S103:
  • step S101 in response to detecting that the terminal device satisfies the backlight adjustment condition, obtain the current backlight brightness of the screen of the terminal device.
  • the current backlight brightness of the screen of the terminal device can be obtained.
  • the current backlight brightness includes the current brightness of the backlight module of the terminal device screen.
  • the above situation where the terminal device meets the backlight adjustment conditions may include:
  • the terminal device screen color temperature automatic adjustment function (such as true color display function) is turned on; or,
  • the automatic adjustment function of the screen color temperature of the terminal device is switched from the on state to the off state.
  • step S102 the backlight brightness adjustment step is determined according to the current backlight brightness.
  • the backlight brightness adjustment step may be determined based on the current backlight brightness.
  • the backlight brightness adjustment step can be set smaller, and when the current backlight brightness is high, the backlight brightness adjustment step can be set larger, that is, the backlight brightness adjustment step is the same as the current backlight brightness adjustment step.
  • Backlight brightness is positively related.
  • the backlight brightness can be adjusted quickly and delicately.
  • the calculation method of the backlight brightness adjustment step can be as shown in the following formula (1-1):
  • step b/k+c; (1-1)
  • k and c are adjustable coefficients, which can be obtained by developers such as visual effects based on actual measured values debugged by terminal equipment. It can be seen from the formula (1-1) that the backlight brightness adjustment step step has a linear function relationship with the current backlight brightness b, and 1/k is the slope of the linear function, and c is the intercept of the linear function on the y-axis. .
  • the current backlight adjustment mode is the automatic adjustment mode or the manual adjustment mode. If the current backlight adjustment mode is the automatic adjustment mode, the backlight brightness adjustment step is determined based on the current backlight brightness; if the current backlight adjustment mode is the manual adjustment mode, the current backlight brightness is directly adjusted to the target adjustment brightness.
  • step S103 the current backlight brightness is adjusted to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • the current backlight brightness can be adjusted to a predetermined target adjustment brightness based on the backlight brightness adjustment step.
  • the current backlight brightness can be gradually increased to the target adjustment brightness based on the backlight brightness adjustment step; and when the target adjustment brightness is lower than the current backlight brightness, the current backlight brightness can be gradually adjusted to the target adjustment brightness.
  • the current backlight brightness is gradually adjusted downward to the target adjustment brightness based on the backlight brightness adjustment step size.
  • the number of adjustments is calculated, and it is determined whether the number of adjustments is greater than a preset number threshold. It can be understood that every time the current backlight brightness is adjusted according to the backlight brightness adjustment step, the number of adjustments is increased by 1. If the number of adjustments is greater than the number threshold, the operation of adjusting the current backlight brightness to the predetermined target adjustment brightness based on the backlight brightness adjustment step is stopped, that is, the current backlight brightness is no longer adjusted based on the backlight brightness adjustment step, even if the current backlight brightness has not been adjusted yet.
  • Adjust to the target adjustment brightness if the number of adjustments is less than or equal to the number threshold, continue to adjust the current backlight brightness based on the backlight brightness adjustment step until the current backlight brightness is adjusted to the target adjustment brightness.
  • the number threshold is determined based on the backlight adjustable range of the terminal device screen, and can also be set according to specific needs. This embodiment does not impose specific restrictions on the setting method of the number threshold.
  • the method of adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step can be seen in FIG. 3 or FIG. 5 below, and will not be described in detail here.
  • the method of this embodiment obtains the current backlight brightness of the terminal device screen in response to detecting that the terminal device satisfies the backlight adjustment condition, and determines the backlight brightness adjustment step according to the current backlight brightness, and then Adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step can realize gradual adjustment of the backlight brightness, avoid sudden changes in screen brightness, and thereby avoid discomfort to the user's eyes, thereby improving user visual experience.
  • FIG. 2 is a flow chart illustrating how to determine the target adjustment brightness according to an exemplary embodiment of the present disclosure; this embodiment uses how to determine the target adjustment brightness as an example to illustrate based on the above embodiment.
  • the methods for determining the target adjustment brightness are different.
  • the terminal device meets the backlight adjustment conditions, including the automatic adjustment function of the screen color temperature of the terminal device being turned on.
  • the backlight adjustment method of this embodiment also includes determining the target adjustment brightness based on the following steps S201-S203 in advance:
  • step S201 the first initial backlight brightness of the terminal device screen is obtained.
  • the first initial backlight brightness of the terminal device screen can be recorded before the automatic color temperature adjustment function is turned on, that is, the backlight brightness of the terminal device screen when the automatic color temperature adjustment function is turned off.
  • step S202 the backlight adjustment parameter of the terminal device is determined based on the current color temperature of the screen of the terminal device.
  • the brightness loss of the screen needs to be adjusted through backlight adjustment.
  • the current color temperature of the screen of the terminal device can be obtained, and then the backlight adjustment parameters of the terminal device are determined based on the current color temperature.
  • determining the backlight adjustment parameters of the terminal device based on the current color temperature can be as shown in the following formula (2-1):
  • MCCTBLC k1*cct 2 +k2*cct+k3; (2-1)
  • MCCTBLC is the backlight adjustment parameter, and its value is less than 1; cct is the current color temperature of the terminal device screen.
  • step S203 the target adjustment brightness is determined based on the backlight adjustment parameter and the first initial backlight brightness.
  • the target adjustment brightness may be determined based on the backlight adjustment parameter and the first initial backlight brightness.
  • the target adjustment brightness can be determined based on the ratio of the first initial backlight brightness and the backlight adjustment parameter, that is, the target adjustment brightness can be determined based on the following formula (2-2):
  • v1 is the target adjustment brightness when the terminal device screen color temperature automatic adjustment function is turned on
  • v is the first initial backlight brightness
  • this embodiment obtains the first initial backlight brightness of the terminal device screen and determines the backlight adjustment parameter of the terminal device based on the current color temperature of the terminal device screen, and then based on the backlight adjustment parameter and The first initial backlight brightness determines the target adjustment brightness, which can accurately determine the target adjustment brightness based on the first initial backlight brightness of the terminal device screen and the current color temperature of the terminal device screen.
  • Figure 3 is a flow chart showing how to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size according to an exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment.
  • An exemplary explanation is given as an example of how to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • the current backlight brightness is adjusted in different ways.
  • the terminal device meets the backlight adjustment conditions, including that the terminal device screen color temperature automatic adjustment function is turned on, so the target adjustment brightness is higher than the current backlight brightness.
  • the automatic color temperature adjustment function is turned on, the color temperature of the screen will be automatically adjusted, which will cause the brightness of the screen to decrease. Therefore, the backlight of the screen needs to be adjusted upward at this time, so the target adjustment brightness is higher than the current Backlight brightness.
  • the above-mentioned step S103 of adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step includes the following steps S301-S303:
  • step S301 determine whether the first target difference is greater than the backlight brightness adjustment step: if it is greater than the backlight brightness adjustment step, execute step S302; if less than or equal to the backlight brightness adjustment step, execute step S303;
  • step S302 increase the current backlight brightness by the backlight brightness adjustment step
  • step S303 the current backlight brightness is adjusted upward to the target adjustment brightness.
  • the first target difference value that is, the difference between the target adjustment brightness and the current backlight brightness
  • the first target difference value can be calculated, and then it is determined whether the first target difference value is greater than the backlight brightness adjustment step size.
  • step S302 determines whether the first target difference (that is, the difference between the target adjustment brightness and the current backlight brightness b' after adjustment) is greater than the backlight brightness adjustment step long step; if it is still greater than the backlight brightness adjustment step, execute step S302 again; execute steps S301-S302 in a loop until the first target difference is less than or equal to the backlight brightness adjustment step, and then execute step S303, that is, increase the current backlight brightness. Adjust the brightness to the target.
  • FIG. 4 is a flowchart showing how to determine the target adjustment brightness according to yet another exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment and takes how to determine the target adjustment brightness as an example to illustrate.
  • the methods for determining the target adjustment brightness are different.
  • the terminal device satisfies the backlight adjustment condition, which includes switching the screen color temperature automatic adjustment function of the terminal device from an on state to an off state.
  • the backlight adjustment method of this embodiment also includes determining the target adjustment brightness in advance based on the following steps S401-S402:
  • step S401 obtain the second initial backlight brightness of the terminal device screen.
  • the second initial backlight brightness of the terminal device screen can be recorded before the automatic color temperature adjustment function is turned on, that is, the backlight brightness of the terminal device screen when the automatic color temperature adjustment function is turned off.
  • step S402 the second initial backlight brightness is determined as the target adjustment brightness.
  • the second initial backlight brightness may be determined as the target adjustment brightness.
  • this embodiment can achieve the second initial backlight based on the terminal device screen by obtaining the second initial backlight brightness of the terminal device screen and determining the second initial backlight brightness as the target adjustment brightness. Brightness Accurately determines the target adjustment brightness.
  • Figure 5 is a flow chart showing how to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size according to another exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment.
  • the above takes an example of how to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size as an example.
  • the current backlight brightness is adjusted in different ways.
  • the terminal device meets the backlight adjustment conditions, including the automatic adjustment function of the screen color temperature of the terminal device being switched from the on state to the off state, so the target adjustment brightness is lower than the current backlight brightness.
  • the automatic color temperature adjustment function when the automatic color temperature adjustment function is turned on, the color temperature of the screen will automatically adjust, which will cause the brightness of the screen to decrease, so the backlight of the screen will be adjusted upward. Therefore, when the automatic color temperature adjustment function is switched from the on state to the off state, in order to prevent the screen from being too bright, the backlight of the screen needs to be adjusted downward, so the target adjustment brightness is lower than the current backlight brightness.
  • the target adjustment brightness i.e., the adjusted backlight value
  • the gradient adjustment method described below is also used.
  • the above-mentioned step S103 of adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step includes the following steps S501-S503:
  • step S501 determine whether the second target difference is greater than the backlight brightness adjustment step: if it is greater than the backlight brightness adjustment step, execute step S502; if less than or equal to the backlight brightness adjustment step, execute step S503;
  • step S502 lower the current backlight brightness by the backlight brightness adjustment step
  • step S503 the current backlight brightness is lowered to the target adjustment brightness.
  • the second target difference value that is, the difference between the current backlight brightness and the target adjustment brightness
  • the second target difference value can be calculated, and then it is determined whether the second target difference value is greater than the backlight brightness adjustment step size.
  • step S502 determines whether the second target difference (that is, the difference between the current backlight brightness b' and the target adjustment brightness) is greater than the backlight brightness adjustment step; If it is still greater than the backlight brightness adjustment step, then step S502 is executed again; steps S501-S502 are executed in a loop until the second target difference is less than or equal to the backlight brightness adjustment step, and then step S503 is executed, that is, the current backlight brightness is lowered to the Target adjusts brightness.
  • Figure 6 is a flow chart of a backlight adjustment method according to another exemplary embodiment of the present disclosure; as shown in Figure 6, in this embodiment, in order to perform backlight adjustment, the following steps can be performed:
  • the current backlight brightness is the current brightness of the backlight module of the terminal device screen
  • the initial backlight brightness is the backlight brightness when the color temperature automatic adjustment function of the terminal device screen is turned off (for example, the initial backlight brightness can be when the color temperature automatic adjustment function is turned off).
  • the target adjustment brightness v1 is determined based on the backlight adjustment parameter MCCTBLC and the initial backlight brightness v;
  • the target adjustment brightness can be determined based on the ratio of the initial backlight brightness and the backlight adjustment parameter, that is, the target adjustment brightness can be determined based on the following formula (6-1):
  • the backlight adjustment parameter MCCTBLC can be calculated based on the current color temperature cct of the terminal device screen, specifically as shown in the following formula (6-2):
  • MCCTBLC k1*cct 2 +k2*cct+k3; (6-2)
  • the value of MCCTBLC is less than 1, and k1, k2, and k3 can be obtained by visual effects developers based on actual measured values debugged by terminal equipment.
  • the automatic adjustment mode means that the terminal device turns on the automatic brightness adjustment mode
  • the manual adjustment mode means that the user manually triggers the backlight adjustment, such as manually sliding the backlight bar, etc.
  • the backlight adjustment mode is the automatic adjustment mode, determine the appropriate backlight brightness adjustment step step according to the current screen backlight brightness b;
  • the calculation method of the backlight brightness adjustment step can be shown in the following formula (6-3):
  • k and c are adjustable coefficients, which can be obtained by developers such as visual effects based on actual measured values debugged by terminal equipment. It can be seen from formula (6-3) that the backlight brightness adjustment step step has a linear function relationship with the current backlight brightness b, and 1/k is the slope of the linear function, and c is the intercept of the linear function on the y-axis. .
  • the target adjustment brightness is determined as v (that is, the value recorded before the automatic color temperature adjustment function is turned on). backlight brightness);
  • the backlight adjustment mode is the automatic adjustment mode, determine the appropriate backlight brightness adjustment step step according to the current screen backlight brightness b;
  • step 5 For the process of adjusting the backlight brightness step, please refer to step 5) above, and will not be described in detail here.
  • the backlight adjustment mode is manual adjustment mode, there is no need to use gradual backlight adjustment, and the target brightness b1 of the current step is directly set to v;
  • the times threshold N may be determined based on the backlight adjustable range of the terminal device screen. For example, if the maximum backlight value of the terminal device is 16383, and MCCTBLC can calculate its minimum value according to the formula, step also has a minimum value, such as 3, so the maximum value of N can be determined based on the following formula (6-4)
  • the current backlight brightness is quickly and smoothly adjusted by determining the appropriate backlight brightness adjustment step based on different current backlight brightness, and the screen brightness can be adjusted almost imperceptibly. , reducing the irritation to the user's eyes caused by changes in screen brightness, which can improve the user's visual experience.
  • Figure 7 is a block diagram of a backlight adjustment device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be applied to terminal devices with screens (such as smart phones, tablets, laptops, desktop computers, etc.).
  • the device includes: a current backlight acquisition module 110, an adjustment step determination module 120, and a backlight brightness adjustment module 130, where:
  • the current backlight acquisition module 110 is configured to acquire the current backlight brightness of the terminal device screen in response to detecting that the terminal device satisfies the backlight adjustment condition.
  • the current backlight brightness includes the current brightness of the backlight module of the terminal device screen. ;
  • the adjustment step size determination module 120 is used to determine the backlight brightness adjustment step size according to the current backlight brightness
  • the backlight brightness adjustment module 130 is configured to adjust the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step size.
  • the device of this embodiment obtains the current backlight brightness of the terminal device screen in response to detecting that the terminal device satisfies the backlight adjustment condition, and determines the backlight brightness adjustment step according to the current backlight brightness, and then Adjusting the current backlight brightness to a predetermined target adjustment brightness based on the backlight brightness adjustment step can realize gradual adjustment of the backlight brightness, avoid sudden changes in screen brightness, and thereby avoid discomfort to the user's eyes, thereby improving user visual experience.
  • FIG 8 is a block diagram of a backlight adjustment device according to another exemplary embodiment of the present disclosure; the device of this embodiment can be applied to terminal devices with screens (such as smart phones, tablet computers, notebook computers, desktop computers, etc. .
  • the current backlight acquisition module 210, the adjustment step determination module 220 and the backlight brightness adjustment module 230 have the same functions as the current backlight acquisition module 110, the adjustment step determination module 120 and the backlight brightness adjustment module 130 of the embodiment shown in Figure 7 are the same and will not be described in detail here.
  • the above terminal equipment meets the backlight adjustment conditions, including:
  • the automatic adjustment function of the screen color temperature of the terminal device is turned on.
  • the above device may further include a first brightness determination module 240;
  • the first brightness determination module 240 may include:
  • the first brightness acquisition unit 241 is used to acquire the first initial backlight brightness of the terminal device screen, where the first initial backlight brightness includes the backlight brightness when the automatic color temperature adjustment function of the terminal device screen is turned off;
  • the adjustment parameter determination unit 242 is configured to determine the backlight adjustment parameter of the terminal device based on the current color temperature of the terminal device screen;
  • the first brightness determination unit 243 is configured to determine the target adjustment brightness based on the backlight adjustment parameter and the first initial backlight brightness.
  • the target adjusted brightness is higher than the current backlight brightness
  • the backlight brightness adjustment module 230 may include:
  • the first loop unit 231 is configured to loop the first preset process until the first target difference is less than or equal to the backlight brightness adjustment step.
  • the first preset process includes: in response to detecting the first If the target difference is greater than the backlight brightness adjustment step, the current backlight brightness is increased by the backlight brightness adjustment step, and the first target difference is the difference between the target adjustment brightness and the current backlight brightness;
  • the brightness upward adjustment unit 232 is configured to increase the current backlight brightness to the target adjustment brightness in response to detecting that the first target difference is less than or equal to the backlight brightness adjustment step.
  • the above terminal device meets the backlight adjustment conditions, which may include:
  • the terminal equipment screen color temperature automatic adjustment function is switched from the on state to the off state.
  • the above device may further include a second brightness determination module 250;
  • the second brightness determination module 250 may include:
  • the second brightness acquisition unit 251 acquires the second initial backlight brightness of the terminal device screen, where the second initial backlight brightness includes the backlight brightness when the automatic color temperature adjustment function of the terminal device screen is turned off;
  • the second brightness determination unit 252 is configured to determine the second initial backlight brightness as the target adjustment brightness.
  • the target adjusted brightness is lower than the current backlight brightness
  • the backlight brightness adjustment module 230 may include:
  • the second loop unit 233 is configured to loop through a second preset process until the second target difference is less than or equal to the backlight brightness adjustment step.
  • the second preset process includes: in response to detecting the second If the target difference is greater than the backlight brightness adjustment step, the current backlight brightness is adjusted downward by the backlight brightness adjustment step, and the second target difference is the difference between the current backlight brightness and the target adjustment brightness;
  • the brightness down-adjustment unit 234 is configured to lower the current backlight brightness to the target adjustment brightness in response to detecting that the second target difference is less than or equal to the backlight brightness adjustment step.
  • Figure 9 is a block diagram of a terminal device according to an exemplary embodiment.
  • the device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and communications component 916.
  • a processing component 902 a memory 904
  • a power supply component 906 a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and communications component 916.
  • I/O input/output
  • Processing component 902 generally controls the overall operations of device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above method.
  • processing component 902 may include one or more modules that facilitate interaction between processing component 902 and other components.
  • processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
  • Memory 904 is configured to store various types of data to support operations at device 900 . Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 904 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 906 provides power to the various components of device 900 .
  • Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 900 .
  • Multimedia component 908 includes a screen that provides an output interface between the device 900 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 908 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 910 is configured to output and/or input audio signals.
  • audio component 910 includes a microphone (MIC) configured to receive external audio signals when device 900 is in operating modes, such as call mode, recording mode, and speech recognition mode. The received audio signals may be further stored in memory 904 or sent via communications component 916 .
  • audio component 910 also includes a speaker for outputting audio signals.
  • the I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 914 includes one or more sensors that provide various aspects of status assessment for device 900 .
  • the sensor component 914 can detect the open/closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900, and the sensor component 914 can also detect a change in position of the device 900 or a component of the device 900. , the presence or absence of user contact with device 900 , device 900 orientation or acceleration/deceleration and temperature changes of device 900 .
  • Sensor assembly 914 may also include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 916 is configured to facilitate wired or wireless communications between device 900 and other devices.
  • the device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof.
  • the communication component 916 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 916 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 900 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 904 including instructions, which are executable by the processor 920 of the device 900 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

本公开是关于一种背光调整方法、装置、设备及存储介质,该方法包括:响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度;根据所述当前背光亮度确定背光亮度调整步长;基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。本公开可以实现对终端设备屏幕的背光亮度的渐变式调整,可以避免屏幕亮度突变,进而可以避免用户眼睛的不适,从而提升用户的视觉体验。

Description

背光调整方法、装置、设备及存储介质 技术领域
本公开涉及显示技术领域,尤其涉及一种背光调整方法、装置、设备及存储介质。
背景技术
随着终端技术的发展,越来越多的终端设备可以支持色温自动调整功能。在进行色温自动调整后,会导致终端设备屏幕的亮度有所降低,因此需要对屏幕进行背光调整。然而在进行背光调整时,如果将屏幕的背光亮度直接调整为目标调整亮度(即,预先确定的调整后的背光值),会导致屏幕亮度突变,引起用户眼睛的不适,进而会影响用户的视觉体验。
发明内容
为克服相关技术中存在的问题,本公开实施例提供一种背光调整方法、装置、设备及存储介质,用以解决相关技术中的缺陷。
根据本公开实施例的第一方面,提供一种背光调整方法,应用于终端设备,所述方法包括:
响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度;
根据所述当前背光亮度确定背光亮度调整步长;
基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
在一些实施例中,所述终端设备满足背光调整条件,包括:
所述终端设备屏幕色温自动调整功能处于开启状态。
在一些实施例中,所述方法还包括预先基于以下方式确定所述目标调整亮度:
获取所述终端设备屏幕的第一初始背光亮度,所述第一初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数;
基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
在一些实施例中,所述目标调整亮度高于所述当前背光亮度;
所述基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,包括:
循环执行第一预设过程,直至第一目标差值小于或等于所述背光亮度调整步长,所述第一预设过程包括:响应于检测到所述第一目标差值大于所述背光亮度调整步长,将当前背光亮度上调所述背光亮度调整步长,所述第一目标差值为所述目 标调整亮度与当前背光亮度的差值;
响应于检测到所述第一目标差值小于或等于所述背光亮度调整步长,将当前背光亮度上调至所述目标调整亮度。
在一些实施例中,所述终端设备满足背光调整条件,包括:
所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。
在一些实施例中,所述方法还包括预先基于以下方式确定所述目标调整亮度:
获取所述终端设备屏幕的第二初始背光亮度,所述第二初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
将所述第二初始背光亮度确定为所述目标调整亮度。
在一些实施例中,所述目标调整亮度低于所述当前背光亮度;
所述基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,包括:
循环执行第二预设过程,直至第二目标差值小于或等于所述背光亮度调整步长,所述第二预设过程包括:响应于检测到所述第二目标差值大于所述背光亮度调整步长,将当前背光亮度下调所述背光亮度调整步长,所述第二目标差值为当前背光亮度与所述目标调整亮度的差值;
响应于检测到所述第二目标差值小于或等于所述背光亮度调整步长,将当前背光亮度下调至所述目标调整亮度。
根据本公开实施例的第二方面,提供一种背光调整装置,应用于终端设备,所述装置包括:
当前背光获取模块,用于响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度;
调整步长确定模块,用于根据所述当前背光亮度确定背光亮度调整步长;
背光亮度调整模块,用于基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
在一些实施例中,所述终端设备满足背光调整条件,包括:
所述终端设备屏幕色温自动调整功能处于开启状态。
在一些实施例中,所述装置还包括第一亮度确定模块;
所述第一亮度确定模块包括:
第一亮度获取单元,用于获取所述终端设备屏幕的第一初始背光亮度,所述第一初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
调整参数确定单元,用于基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数;
第一亮度确定单元,用于基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
在一些实施例中,所述目标调整亮度高于所述当前背光亮度;
所述背光亮度调整模块,包括:
第一循环单元,用于循环执行第一预设过程,直至第一目标差值小于或等于所述背光亮度调整步长,所述第一预设过程包括:响应于检测到所述第一目标差值大于所述背光亮度调整步长,将当前背光亮度上调所述背光亮度调整步长,所述第一目标差值为所述目标调整亮度与当前背光亮度的差值;
亮度上调单元,用于响应于检测到所述第一目标差值小于或等于所述背光亮度调整步长,将当前背光亮度上调至所述目标调整亮度。
在一些实施例中,所述终端设备满足背光调整条件,包括:
所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。
在一些实施例中,所述装置还包括第二亮度确定模块;
所述第二亮度确定模块包括:
第二亮度获取单元,获取所述终端设备屏幕的第二初始背光亮度,所述第二初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
第二亮度确定单元,用于将所述第二初始背光亮度确定为所述目标调整亮度。
在一些实施例中,所述目标调整亮度低于所述当前背光亮度;
所述背光亮度调整模块,包括:
第二循环单元,用于循环执行第二预设过程,直至第二目标差值小于或等于所述背光亮度调整步长,所述第二预设过程包括:响应于检测到所述第二目标差值大于所述背光亮度调整步长,将当前背光亮度下调所述背光亮度调整步长,所述第二目标差值为当前背光亮度与所述目标调整亮度的差值;
亮度下调单元,用于响应于检测到所述第二目标差值小于或等于所述背光亮度调整步长,将当前背光亮度下调至所述目标调整亮度。
根据本公开实施例的第三方面,提供一种终端设备,所述设备包括:
处理器以及用于存储计算机程序的存储器;
其中,所述处理器被配置为在执行所述计算机程序时,实现:
响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度;
根据所述当前背光亮度确定背光亮度调整步长;
基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现:
响应于检测到终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度;
根据所述当前背光亮度确定背光亮度调整步长;
基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
本公开的实施例提供的技术方案可以包括以下有益效果:
本公开通过响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,并根据所述当前背光亮度确定背光亮度调整步长,进而基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,可以实现对背光亮度的渐变式调整,可以避免屏幕亮度突变,进而避免用户眼睛的不适,从而可以提升用户的视觉体验。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据本公开一示例性实施例示出的一种背光调整方法的流程图;
图2是根据本公开一示例性实施例示出的如何确定所述目标调整亮度的流程图;
图3是根据本公开一示例性实施例示出的如何基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度的流程图;
图4是根据本公开又一示例性实施例示出的如何确定所述目标调整亮度的流程图;
图5是根据本公开又一示例性实施例示出的如何基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度的流程图;
图6是根据本公开又一示例性实施例示出的一种背光调整方法的流程图;
图7是根据本公开一示例性实施例示出的一种背光调整装置的框图;
图8是根据本公开又一示例性实施例示出的一种背光调整装置的框图;
图9是根据本公开一示例性实施例示出的一种终端设备的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示 例性实施例中所描述的实施例并不代表与本公开相一致的所有实施例。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
随着终端技术的发展,越来越多的终端设备可以支持色温自动调整功能。例如,当环境色温过冷(过白)时,终端设备屏幕可以自动调节成相同的偏白色温;当环境过暖(过黄)时,终端设备屏幕可以自动调节成相同的偏黄色温。
发明人在实施例本公开实施例过程中发现,当进行色温自动调整后,会导致屏幕的亮度有所降低,因此还需要对屏幕进行背光调整。然而如果在进行背光调整时,通常是将屏幕的背光亮度直接调整为目标调整亮度(即,调整后的背光值),会导致屏幕亮度突变,引起用户眼睛的不适,进而会影响用户的视觉体验。有鉴于此,本公开提出以下背光调整方法、装置、设备及存储介质,以解决相关技术中的上述问题。
图1是根据一示例性实施例示出的一种背光调整方法的流程图;本实施例的方法可以应用于具有屏幕的终端设备(如,智能手机、平板电脑、笔记本电脑、台式计算机等。
如图1所示,该方法包括以下步骤S101-S103:
在步骤S101中,响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度。
本实施例中,当检测到所述终端设备满足背光调整条件后,可以获取所述终端设备屏幕的当前背光亮度。其中,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度。
在一些实施例中,上述终端设备满足背光调整条件的情况可以包括:
终端设备屏幕色温自动调整功能(如,真彩显示功能)处于开启状态;或者,
终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。
在步骤S102中,根据所述当前背光亮度确定背光亮度调整步长。
本实施例中,当获取所述终端设备屏幕的当前背光亮度后,可以根据所述当前背光亮度确定背光亮度调整步长。
考虑到人眼对暗光的变化感知明显,而对强光的变化感知较弱。因此在当前背光亮度较低时,可以将背光亮度调整步长设置的小一点,而在当前背光亮度较高时,可以将背光亮度调整步长设置的大一点,即背光亮度调整步长与当前背光亮度成正相关。通过动态地设置背光亮度调整步长,达到快速而细腻地调节背光亮度的目的。举例来说,背光亮度调整步长step的计算方式可以如下式(1-1)所示:
step=b/k+c;        (1-1)
其中,k、c均为可调系数,可以由视觉效果等开发人员根据终端设备调试的实测值得到。由式子(1-1)可知,背光亮度调整步长step与当前背光亮度b成线性函 数的关系,且1/k为该线性函数的斜率,c为该线性函数在y轴上的截距。
示例性地,step=0.05b-40(即,1/k=0.05,c=-40),在当前背光亮度b为1000时,step=10。
在本申请的其它实施例中,在获取到当前背光亮度后,检测当前背光调节模式为自动调节模式还是手动调节模式。若当前背光调节模式为自动调节模式,则根据当前背光亮度确定背光亮度调整步长;若当前背光调节模式为手动调节模式,则直接将当前背光亮度调整为目标调整亮度。
在步骤S103中,基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
本实施例中,当根据所述当前背光亮度确定背光亮度调整步长后,可以基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
举例来说,若目标调整亮度高于所述当前背光亮度,可以将当前背光亮度基于所述背光亮度调整步长逐渐上调至目标调整亮度;而当目标调整亮度低于所述当前背光亮度,可以将当前背光亮度基于所述背光亮度调整步长逐渐下调至目标调整亮度。
在另一实施例中,在基于背光亮度调整步长将当前背光亮度调整至预先确定的目标调整亮度过程中,计算调整次数,并判断调整次数是否大于预设次数阈值。可以理解的是,当每根据背光亮度调整步长调整一次当前背光亮度时,调整次数加1。若调整次数大于次数阈值,则停止基于背光亮度调整步长将当前背光亮度调整至预先确定的目标调整亮度的操作,即不再基于背光亮度调整步长调整当前背光亮度,即使当前背光亮度还未调整至目标调整亮度;若调整次数小于或者等于次数阈值,则继续基于背光亮度调整步长调节当前背光亮度,直至将当前背光亮度调整为目标调整亮度。其中,次数阈值基于终端设备屏幕的背光可调范围确定,也可以根据具体需要而设置,本实施例对次数阈值的设置方法不做具体限制。
在另一实施例中,上述基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度的方式可以参见下述图3或图5,在此先不进行详述。
由上述描述可知,本实施例的方法通过响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,并根据所述当前背光亮度确定背光亮度调整步长,进而基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,可以实现对背光亮度的渐变式调整,可以避免屏幕亮度突变,进而避免用户眼睛的不适,从而可以提升用户的视觉体验。
图2是根据本公开一示例性实施例示出的如何确定所述目标调整亮度的流程图;本实施例在上述实施例的基础上以如何确定所述目标调整亮度为例进行示例性说明。
值得说明的是,在终端设备的不同背光调整条件下,确定目标调整亮度的方式不同。本实施例中,终端设备满足背光调整条件,包括所述终端设备屏幕色温自动调整功能处于开启状态。在此基础上,如图2所示,本实施例的背光调整方法还 包括预先基于以下步骤S201-S203确定所述目标调整亮度:
在步骤S201中,获取所述终端设备屏幕的第一初始背光亮度。
本实施例中,为了确定目标调整亮度,可以在色温自动调整功能开启前记录下终端设备屏幕的第一初始背光亮度,即终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度。
在步骤S202中,基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数。
由于在基于色温自动调整功能进行屏幕色温调节后,屏幕亮度会有所降低,因此需要通过背光调整来调整屏幕的亮度损失。本实施例中,可以获取终端设备屏幕的当前色温,进而基于当前色温确定所述终端设备的背光调整参数。
在一些实施例中,基于当前色温确定所述终端设备的背光调整参数可以如下式(2-1)所示:
MCCTBLC=k1*cct 2+k2*cct+k3;     (2-1)
其中,MCCTBLC为背光调整参数,其值小于1;cct为终端设备屏幕的当前色温。k1、k2以及k3可以由视觉效果等开发人员根据终端设备调试的实测值拟合得到。示例性地,k1=-5e,k2=0.002,k3=0.1,或者k1=-4e-8,k2=0.0003,k3=0.12等。
在步骤S203中,基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
本实施例中,当基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数后,可以基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
举例来说,可以基于所述第一初始背光亮度与所述背光调整参数的比值确定目标调整亮度,即可以基于下式(2-2)确定目标调整亮度:
v1=v/MCCTBLC;        (2-2)
其中,v1为终端设备屏幕色温自动调整功能处于开启状态下的目标调整亮度,v为第一初始背光亮度。
由上述描述可知,本实施例通过获取所述终端设备屏幕的第一初始背光亮度,并基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数,进而基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度,可以实现基于终端设备屏幕的第一初始背光亮度以及终端设备屏幕的当前色温准确地确定目标调整亮度。
图3是根据本公开一示例性实施例示出的如何基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度的流程图;本实施例在上述实施例的基础上以如何基于所述背光亮度调整步长将所述当前背光亮度调整至预先确 定的目标调整亮度为例进行示例性说明。
值得说明的是,在终端设备的不同背光调整条件下,对当前背光亮度进行调整的方式不同。本实施例中,终端设备满足背光调整条件,包括所述终端设备屏幕色温自动调整功能处于开启状态,因而目标调整亮度高于所述当前背光亮度。具体来说,当色温自动调整功能处于开启状态时,屏幕的色温会自动调整,进而会导致屏幕的亮度有所降低,因而此时需要对屏幕的背光进行上调,因而目标调整亮度是高于当前背光亮度的。
如图3所示,上述步骤S103中所述的基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,包括以下步骤S301-S303:
在步骤S301中,判断第一目标差值是否大于背光亮度调整步长:若大于背光亮度调整步长,则执行步骤S302;若小于或等于背光亮度调整步长,则执行步骤S303;
在步骤S302中,将当前背光亮度上调所述背光亮度调整步长;
在步骤S303中,将当前背光亮度上调至所述目标调整亮度。
本实施例中,当需要调整当前背光亮度时,可以计算第一目标差值,即所述目标调整亮度与当前背光亮度的差值,进而判断该第一目标差值是否大于背光亮度调整步长;若第一目标差值大于背光亮度调整步长,则将当前背光亮度上调所述背光亮度调整步长,即令b’=b+step(其中,b’为调整后的当前背光亮度,b为调整前的当前背光亮度,step为背光亮度调整步长);进而,再判断第一目标差值(即,目标调整亮度与调整后的当前背光亮度b’的差值)是否大于背光亮度调整步长step;如果仍大于背光亮度调整步长,则再执行步骤S302;循环执行步骤S301-S302,直至第一目标差值小于或等于背光亮度调整步长,然后执行步骤S303,即将当前背光亮度上调至所述目标调整亮度。
由上述描述可知,本实施例通过将所述当前背光亮度基于所述背光亮度调整步长逐渐上调至目标调整亮度,可以实现对背光亮度的渐变式上调,可以避免屏幕突然变亮,进而可以避免用户眼睛的不适,可以提升用户的视觉体验。
图4是根据本公开又一示例性实施例示出的如何确定所述目标调整亮度的流程图;本实施例在上述实施例的基础上以如何确定所述目标调整亮度为例进行示例性说明。
值得说明的是,在终端设备的不同背光调整条件下,确定目标调整亮度的方式不同。本实施例中,终端设备满足背光调整条件,包括所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。在此基础上,如图4所示,本实施例的背光调整方法还包括预先基于以下步骤S401-S402确定所述目标调整亮度:
在步骤S401中,获取所述终端设备屏幕的第二初始背光亮度。
本实施例中,为了确定目标调整亮度,可以在色温自动调整功能开启前记录下终端设备屏幕的第二初始背光亮度,即终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度。
在步骤S402中,将所述第二初始背光亮度确定为所述目标调整亮度。
本实施例中,当获取所述终端设备屏幕的第二初始背光亮度后,可以将所述第二初始背光亮度确定为所述目标调整亮度。
由上述描述可知,本实施例通过获取所述终端设备屏幕的第二初始背光亮度,并将所述第二初始背光亮度确定为所述目标调整亮度,可以实现基于终端设备屏幕的第二初始背光亮度准确地确定目标调整亮度。
图5是根据本公开又一示例性实施例示出的如何基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度的流程图;本实施例在上述实施例的基础上以如何基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度为例进行示例性说明。
值得说明的是,在终端设备的不同背光调整条件下,对当前背光亮度进行调整的方式不同。本实施例中,终端设备满足背光调整条件,包括所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态,因而目标调整亮度低于所述当前背光亮度。具体来说,当色温自动调整功能处于开启状态时,屏幕的色温会自动调整,进而会导致屏幕的亮度有所降低,所以会对屏幕的背光进行上调。因此,当色温自动调整功能由开启状态切换至关闭状态时,为了避免屏幕的亮度过亮,需要对屏幕的背光进行下调,故目标调整亮度是低于当前背光亮度的。而为了避免将屏幕的背光亮度直接下调为目标调整亮度(即,调整后的背光值),会导致屏幕亮度突变,引起用户眼睛的不适,因而也采用以下所述的渐变式调整方式。
如图5所示,上述步骤S103中所述的基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,包括以下步骤S501-S503:
在步骤S501中,判断第二目标差值是否大于背光亮度调整步长:若大于背光亮度调整步长,则执行步骤S502;若小于或等于背光亮度调整步长,则执行步骤S503;
在步骤S502中,将当前背光亮度下调所述背光亮度调整步长;
在步骤S503中,将当前背光亮度下调至所述目标调整亮度。
本实施例中,当需要调整当前背光亮度时,可以计算第二目标差值,即当前背光亮度与所述目标调整亮度的差值,进而判断该第二目标差值是否大于背光亮度调整步长;若第二目标差值大于背光亮度调整步长,则将当前背光亮度下调所述背光亮度调整步长,即令b’=b-step(其中,b’为调整后的当前背光亮度,b为调整前的当前背光亮度,step为背光亮度调整步长);进而,再判断第二目标差值(即,当前背光亮度b’与目标调整亮度的差值)是否大于背光亮度调整步长step;如果仍大于背光亮度调整步长,则再执行步骤S502;循环执行步骤S501-S502,直至第二目标差值小于或等于背光亮度调整步长,然后执行步骤S503,即将当前背光亮度下调至所述目标调整亮度。
由上述描述可知,本实施例通过将所述当前背光亮度基于所述背光亮度调整步长逐渐下调至目标调整亮度,可以实现对背光亮度的渐变式下调,可以避免屏幕突然变暗,进而可以避免用户眼睛的不适,可以提升用户的视觉体验。
图6是根据本公开又一示例性实施例示出的一种背光调整方法的流程图;如图6所示,本实施例中为了进行背光调整,可以执行以下步骤:
1)、获取当前屏幕背光亮度b和初始背光亮度v;
其中,当前背光亮度为终端设备屏幕的背光模组的当前亮度,初始背光亮度为终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度(示例性地,该初始背光亮度可以为在色温自动调整功能开启前记录下的背光亮度)。
2)、检测色温自动调整功能(如,真彩显示功能)是否开启;
3)、若色温自动调整功能为开启状态,则根据背光调整参数MCCTBLC以及初始背光亮度v确定目标调整亮度v1;
示例性地,可以基于所述初始背光亮度与所述背光调整参数的比值确定目标调整亮度,即可以基于下式(6-1)确定目标调整亮度:
v1=v/MCCTBLC;       (6-1)
其中,背光调整参数MCCTBLC可以基于终端设备屏幕的当前色温cct进行计算,具体可以如下式(6-2)所示:
MCCTBLC=k1*cct 2+k2*cct+k3;        (6-2)
其中,MCCTBLC的数值小于1,k1、k2以及k3可以由视觉效果等开发人员根据终端设备调试的实测值拟合得到。
4)、检测当前背光调节模式为自动调节模式还是手动调节模式;
可以理解的是,自动调节模式即终端设备开启了自动亮度调节模式,手动调节模式即用户手动触发背光调整,如手动滑动背光条等。
5)、若背光调节模式为自动调节模式,则根据当前屏幕背光亮度b确定合适的背光亮度调整步长step;
举例来说,背光亮度调整步长step的计算方式可以如下式(6-3)所示:
step=b/k+c;       (6-3)
其中,k、c均为可调系数,可以由视觉效果等开发人员根据终端设备调试的实测值得到。由式子(6-3)可知,背光亮度调整步长step与当前背光亮度b成线性函数的关系,且1/k为该线性函数的斜率,c为该线性函数在y轴上的截距。
示例性地,step=0.05b-40(即,1/k=0.05,c=-40),在当前背光亮度b为1000时,step=10。
6)、检测第一目标差值v1-b是否大于背光亮度调整步长step;
7)、若v1-b大于step,则令当前步骤的目标亮度b1=b+step;
8)、若v1-b小于或等于step,则令当前步骤的目标亮度b1=v1;
9)、若背光调节模式为手动调节模式,则无需采用渐变式的背光调整,直接令 当前步骤的目标亮度b1=v1;
10)、若检测到色温自动调整功能由开启状态切换至关闭状态(如,在色温自动调整功能关闭的瞬间),则将目标调整亮度确定为v(即,色温自动调整功能开启前记录下的背光亮度);
11)、检测当前背光调节模式为自动调节模式还是手动调节模式;
12)、若背光调节模式为自动调节模式,则根据当前屏幕背光亮度b确定合适的背光亮度调整步长step;
其中,背光亮度调整步长step的过程可以参见上述步骤5),在此不进行赘述。
13)、检测第二目标差值b-v是否大于背光亮度调整步长step;
14)、若b-v大于step,则令当前步骤的目标亮度b1=b-step;
15)、若b-v小于或等于step,则令当前步骤的目标亮度b1=v;
16)、若背光调节模式为手动调节模式,则无需采用渐变式的背光调整,直接令当前步骤的目标亮度b1=v;
17)、在每次确定目标亮度b1后,基于当前确定的b1调整当前背光亮度b(如,向屏幕的背光驱动单元写入背光值b1),以使b=b1;
18)、检测当前回调次数(即调整次数)是否大于预设的次数阈值N;若大于N,则结束当前流程;若小于或等于N,则循环上述步骤。
其中,次数阈值N可以基于终端设备屏幕的背光可调范围确定。举例来说,若终端设备的最大背光值为16383,而MCCTBLC可根据公式计算其最小值,step也是有最小值的,如为3,因此N的最大值可以基于下式(6-4)确定
N=16383*MCCTBLC/3;          (6-4)
由上述描述可知,本实施例当需要进行背光调整时,通过基于不同的当前背光亮度确定合适的背光亮度调整步长,实现快速、平滑地调整当前背光亮度,可以实现近乎无感地调节屏幕亮度,减少屏幕亮度变化对用户眼睛的刺激,可以提升用户的视觉体验。
图7是根据本公开一示例性实施例示出的一种背光调整装置的框图;本实施例的装置可以应用于具有屏幕的终端设备(如,智能手机、平板电脑、笔记本电脑、台式计算机等。如图7所示,该装置包括:当前背光获取模块110、调整步长确定模块120以及背光亮度调整模块130,其中:
当前背光获取模块110,用于响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,所述当前背光亮度包括所述终端设备屏幕的背光模组的当前亮度;
调整步长确定模块120,用于根据所述当前背光亮度确定背光亮度调整步长;
背光亮度调整模块130,用于基于所述背光亮度调整步长将所述当前背光亮度调 整至预先确定的目标调整亮度。
由上述描述可知,本实施例的装置通过响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度,并根据所述当前背光亮度确定背光亮度调整步长,进而基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,可以实现对背光亮度的渐变式调整,可以避免屏幕亮度突变,进而避免用户眼睛的不适,从而可以提升用户的视觉体验。
图8是根据本公开又一示例性实施例示出的一种背光调整装置的框图;本实施例的装置可以应用于具有屏幕的终端设备(如,智能手机、平板电脑、笔记本电脑、台式计算机等。其中,当前背光获取模块210、调整步长确定模块220以及背光亮度调整模块230与前述图7所示实施例的当前背光获取模块110、调整步长确定模块120以及背光亮度调整模块130的功能相同,在此不进行赘述。
如图8所示,上述终端设备满足背光调整条件,包括:
所述终端设备屏幕色温自动调整功能处于开启状态。
在一些实施例中,上述装置还可以包括第一亮度确定模块240;
第一亮度确定模块240可以包括:
第一亮度获取单元241,用于获取所述终端设备屏幕的第一初始背光亮度,所述第一初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
调整参数确定单元242,用于基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数;
第一亮度确定单元243,用于基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
在一些实施例中,目标调整亮度高于所述当前背光亮度;
背光亮度调整模块230,可以包括:
第一循环单元231,用于循环执行第一预设过程,直至第一目标差值小于或等于所述背光亮度调整步长,所述第一预设过程包括:响应于检测到所述第一目标差值大于所述背光亮度调整步长,将当前背光亮度上调所述背光亮度调整步长,所述第一目标差值为所述目标调整亮度与当前背光亮度的差值;
亮度上调单元232,用于响应于检测到所述第一目标差值小于或等于所述背光亮度调整步长,将当前背光亮度上调至所述目标调整亮度。
在一些实施例中,上述终端设备满足背光调整条件,可以包括:
所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。
在一些实施例中,上述装置还可以包括第二亮度确定模块250;
第二亮度确定模块250可以包括:
第二亮度获取单元251,获取所述终端设备屏幕的第二初始背光亮度,所述第二初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
第二亮度确定单元252,用于将所述第二初始背光亮度确定为所述目标调整亮度。
在一些实施例中,目标调整亮度低于所述当前背光亮度;
背光亮度调整模块,230可以包括:
第二循环单元233,用于循环执行第二预设过程,直至第二目标差值小于或等于所述背光亮度调整步长,所述第二预设过程包括:响应于检测到所述第二目标差值大于所述背光亮度调整步长,将当前背光亮度下调所述背光亮度调整步长,所述第二目标差值为当前背光亮度与所述目标调整亮度的差值;
亮度下调单元234,用于响应于检测到所述第二目标差值小于或等于所述背光亮度调整步长,将当前背光亮度下调至所述目标调整亮度。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图9是根据一示例性实施例示出的一种终端设备的框图。例如,设备900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图9,设备900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。
处理组件902通常控制设备900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持在设备900的操作。这些数据的示例包括用于在设备900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件906为设备900的各种组件提供电力。电源组件906可以包括电源管理***,一个或多个电源,及其他与为设备900生成、管理和分配电力相关联的组件。
多媒体组件908包括在所述设备900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜***或具有焦距和光学变焦能力。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当设备900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。
I/O接口912为处理组件902和***接口模块之间提供接口,上述***接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为设备900提供各个方面的状态评估。例如,传感器组件914可以检测到设备900的打开/关闭状态,组件的相对定位,例如所述组件为设备900的显示器和小键盘,传感器组件914还可以检测设备900或设备900一个组件的位置改变,用户与设备900接触的存在或不存在,设备900方位或加速/减速和设备900的温度变化。传感器组件914还可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件916被配置为便于设备900和其他设备之间有线或无线方式的通信。设备900可以接入基于通信标准的无线网络,如WiFi,2G或3G,4G或5G或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,设备900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子组件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质, 例如包括指令的存储器904,上述指令可由设备900的处理器920执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (16)

  1. 一种背光调整方法,其特征在于,应用于终端设备,所述方法包括:
    响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度;
    根据所述当前背光亮度确定背光亮度调整步长;
    基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
  2. 根据权利要求1所述的方法,其特征在于,所述终端设备满足背光调整条件,包括:
    所述终端设备屏幕色温自动调整功能处于开启状态。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括预先基于以下方式确定所述目标调整亮度:
    获取所述终端设备屏幕的第一初始背光亮度,所述第一初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
    基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数;
    基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
  4. 根据权利要求2所述的方法,其特征在于,所述目标调整亮度高于所述当前背光亮度;
    所述基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,包括:
    循环执行第一预设过程,直至第一目标差值小于或等于所述背光亮度调整步长,所述第一预设过程包括:响应于检测到所述第一目标差值大于所述背光亮度调整步长,将当前背光亮度上调所述背光亮度调整步长,所述第一目标差值为所述目标调整亮度与当前背光亮度的差值;
    响应于检测到所述第一目标差值小于或等于所述背光亮度调整步长,将当前背光亮度上调至所述目标调整亮度。
  5. 根据权利要求1所述的方法,其特征在于,所述终端设备满足背光调整条件,包括:
    所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括预先基于以下方式确定所述目标调整亮度:
    获取所述终端设备屏幕的第二初始背光亮度,所述第二初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
    将所述第二初始背光亮度确定为所述目标调整亮度。
  7. 根据权利要求5所述的方法,其特征在于,所述目标调整亮度低于所述当前背光亮度;
    所述基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度,包括:
    循环执行第二预设过程,直至第二目标差值小于或等于所述背光亮度调整步长,所述第二预设过程包括:响应于检测到所述第二目标差值大于所述背光亮度调整步长,将当前背光亮度下调所述背光亮度调整步长,所述第二目标差值为当前背光亮度与所述目 标调整亮度的差值;
    响应于检测到所述第二目标差值小于或等于所述背光亮度调整步长,将当前背光亮度下调至所述目标调整亮度。
  8. 一种背光调整装置,其特征在于,应用于终端设备,所述装置包括:
    当前背光获取模块,用于响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度;
    调整步长确定模块,用于根据所述当前背光亮度确定背光亮度调整步长;
    背光亮度调整模块,用于基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
  9. 根据权利要求8所述的装置,其特征在于,所述终端设备满足背光调整条件,包括:
    所述终端设备屏幕色温自动调整功能处于开启状态。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括第一亮度确定模块;
    所述第一亮度确定模块包括:
    第一亮度获取单元,用于获取所述终端设备屏幕的第一初始背光亮度,所述第一初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
    调整参数确定单元,用于基于所述终端设备屏幕的当前色温确定所述终端设备的背光调整参数;
    第一亮度确定单元,用于基于所述背光调整参数以及所述第一初始背光亮度确定所述目标调整亮度。
  11. 根据权利要求9所述的装置,其特征在于,所述目标调整亮度高于所述当前背光亮度;
    所述背光亮度调整模块,包括:
    第一循环单元,用于循环执行第一预设过程,直至第一目标差值小于或等于所述背光亮度调整步长,所述第一预设过程包括:响应于检测到所述第一目标差值大于所述背光亮度调整步长,将当前背光亮度上调所述背光亮度调整步长,所述第一目标差值为所述目标调整亮度与当前背光亮度的差值;
    亮度上调单元,用于响应于检测到所述第一目标差值小于或等于所述背光亮度调整步长,将当前背光亮度上调至所述目标调整亮度。
  12. 根据权利要求8所述的装置,其特征在于,所述终端设备满足背光调整条件,包括:
    所述终端设备屏幕色温自动调整功能由开启状态切换至关闭状态。
  13. 根据权利要求12所述的装置,其特征在于,所述装置还包括第二亮度确定模块;
    所述第二亮度确定模块包括:
    第二亮度获取单元,获取所述终端设备屏幕的第二初始背光亮度,所述第二初始背光亮度包括所述终端设备屏幕色温自动调整功能处于关闭状态下的背光亮度;
    第二亮度确定单元,用于将所述第二初始背光亮度确定为所述目标调整亮度。
  14. 根据权利要求12所述的装置,其特征在于,所述目标调整亮度低于所述当前背光亮度;
    所述背光亮度调整模块,包括:
    第二循环单元,用于循环执行第二预设过程,直至第二目标差值小于或等于所述背光亮度调整步长,所述第二预设过程包括:响应于检测到所述第二目标差值大于所述背光亮度调整步长,将当前背光亮度下调所述背光亮度调整步长,所述第二目标差值为当前背光亮度与所述目标调整亮度的差值;
    亮度下调单元,用于响应于检测到所述第二目标差值小于或等于所述背光亮度调整步长,将当前背光亮度下调至所述目标调整亮度。
  15. 一种终端设备,其特征在于,所述设备包括:
    处理器以及用于存储计算机程序的存储器;
    其中,所述处理器被配置为在执行所述计算机程序时,实现:
    响应于检测到所述终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度;
    根据所述当前背光亮度确定背光亮度调整步长;
    基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
  16. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现:
    响应于检测到终端设备满足背光调整条件,获取所述终端设备屏幕的当前背光亮度;
    根据所述当前背光亮度确定背光亮度调整步长;
    基于所述背光亮度调整步长将所述当前背光亮度调整至预先确定的目标调整亮度。
PCT/CN2022/093927 2022-05-19 2022-05-19 背光调整方法、装置、设备及存储介质 WO2023221051A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280004377.7A CN115668349A (zh) 2022-05-19 2022-05-19 背光调整方法、装置、设备及存储介质
PCT/CN2022/093927 WO2023221051A1 (zh) 2022-05-19 2022-05-19 背光调整方法、装置、设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/093927 WO2023221051A1 (zh) 2022-05-19 2022-05-19 背光调整方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023221051A1 true WO2023221051A1 (zh) 2023-11-23

Family

ID=85022896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093927 WO2023221051A1 (zh) 2022-05-19 2022-05-19 背光调整方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN115668349A (zh)
WO (1) WO2023221051A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050156949A1 (en) * 2003-12-24 2005-07-21 Tatung Co., Ltd. Method of brightness adjustment for a display device
CN102404440A (zh) * 2010-09-17 2012-04-04 联芯科技有限公司 自动调节背光亮度的方法及装置
CN103247281A (zh) * 2012-02-13 2013-08-14 联想(北京)有限公司 一种调整显示亮度的方法及电子设备
CN104168371A (zh) * 2014-08-08 2014-11-26 Tcl通讯(宁波)有限公司 一种移动终端背光亮度调整方法及移动终端
CN107180615A (zh) * 2017-07-06 2017-09-19 青岛海信电器股份有限公司 电子设备开屏时的背光控制方法及装置
CN108574768A (zh) * 2017-03-09 2018-09-25 上海传英信息技术有限公司 一种基于环境光检测调整背光亮度的方法、***及移动终端
CN113612882A (zh) * 2021-08-17 2021-11-05 RealMe重庆移动通信有限公司 屏幕亮度调节方法、装置、存储介质以及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050156949A1 (en) * 2003-12-24 2005-07-21 Tatung Co., Ltd. Method of brightness adjustment for a display device
CN102404440A (zh) * 2010-09-17 2012-04-04 联芯科技有限公司 自动调节背光亮度的方法及装置
CN103247281A (zh) * 2012-02-13 2013-08-14 联想(北京)有限公司 一种调整显示亮度的方法及电子设备
CN104168371A (zh) * 2014-08-08 2014-11-26 Tcl通讯(宁波)有限公司 一种移动终端背光亮度调整方法及移动终端
CN108574768A (zh) * 2017-03-09 2018-09-25 上海传英信息技术有限公司 一种基于环境光检测调整背光亮度的方法、***及移动终端
CN107180615A (zh) * 2017-07-06 2017-09-19 青岛海信电器股份有限公司 电子设备开屏时的背光控制方法及装置
CN113612882A (zh) * 2021-08-17 2021-11-05 RealMe重庆移动通信有限公司 屏幕亮度调节方法、装置、存储介质以及终端

Also Published As

Publication number Publication date
CN115668349A (zh) 2023-01-31

Similar Documents

Publication Publication Date Title
CN110796988B (zh) 背光调节方法及装置
JP6526814B2 (ja) モード切り替え方法及び装置
CN105242893B (zh) 刷新率调整方法及装置
US9691332B2 (en) Method and device for adjusting backlight brightness
KR20170067674A (ko) 액정 디스플레이 방법 및 장치
CN108200279B (zh) 背光调节方法、装置和设备
WO2016101478A1 (zh) 液晶显示器调整方法及装置
CN108922479B (zh) 管理液晶显示模组的方法和装置
CN108597456B (zh) 背光亮度调节方法及装置
WO2023221051A1 (zh) 背光调整方法、装置、设备及存储介质
CN113241044B (zh) 屏幕亮度调整方法、装置、设备及存储介质
CN106775246B (zh) 屏幕亮度调节方法及装置
CN106775541B (zh) 电子设备及画面显示方法
CN112086075B (zh) 屏幕显示参数调节方法、装置及存储介质
CN112689047B (zh) 显示控制方法及装置、电子设备
CN112037719B (zh) 屏幕亮度调节方法和装置
CN111383568A (zh) 显示控制方法和装置、电子设备以及计算机可读存储介质
WO2023245334A1 (zh) 屏幕亮度的调节方法、装置、设备及存储介质
US11798516B2 (en) Method and device for adjusting display brightness, mobile terminal and storage medium
CN114078458B (zh) 亮度调节方法、亮度调节装置及计算机可读存储介质
WO2023221052A1 (zh) 显示屏控制方法、装置、电子设备及可读储存介质
CN111443759B (zh) 显示控制方法、装置、电子设备和计算机可读存储介质
CN106910472B (zh) 调整背光的控制方法及装置
CN115550539A (zh) 功能控制方法、功能控制装置及存储介质
CN116954773A (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: 22942091

Country of ref document: EP

Kind code of ref document: A1