Screen brightness control method and device of electronic equipment, electronic equipment and medium
By obtaining and correcting the screen brightness capability parameters of electronic devices, the problem of inconsistent brightness of different devices under the same ambient light is solved and a better visual experience is achieved.
Patent Information
- Application Number
- CN202310265643.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2024-09-20
AI Technical Summary
The brightness consistency of the display screens of different electronic devices under the same ambient light is poor, resulting in poor user visual experience.
By obtaining the screen brightness capability parameters of the electronic device, the standard brightness is corrected to obtain the corrected brightness, and the screen display brightness is controlled based on the corrected brightness to achieve screen brightness consistency of each electronic device.
It improves the brightness consistency of the display screen of electronic devices under the same ambient light and improves the user's visual experience.
Smart Images

Figure CN118675484A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a screen brightness control method and device for an electronic device, an electronic device, and a medium. Background Art
[0002] With the continuous development of computer technology, more and more electronic devices have the function of automatically adjusting the brightness of the display screen, that is, the electronic device can automatically control the change of the screen display brightness according to the change of the ambient light. In the related art, the electronic device detects the ambient light illumination value based on the photosensitive sensor, and then controls the screen display brightness to the screen display brightness corresponding to the ambient light illumination value according to the detected ambient light illumination value. However, due to the limitation of the hardware parameters of the screen, the display brightness of the display screens of different electronic devices may be different under the same ambient light, resulting in poor consistency of the display brightness of the display screens of the electronic devices. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a screen brightness control method and device of an electronic device, an electronic device and a medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a screen brightness control method of an electronic device is provided, the screen brightness control method comprising:
[0005] Obtaining screen brightness capability parameters of the electronic device;
[0006] The standard brightness is corrected by using the screen brightness capability parameter to obtain a corrected brightness; the standard brightness includes the brightness obtained according to the ambient light detected by the photosensitive sensor;
[0007] During the screen lighting process of the electronic device, the screen display brightness is controlled according to the corrected brightness.
[0008] In some embodiments, the method of using the screen brightness capability parameter to correct the standard brightness to obtain the corrected brightness includes:
[0009] Acquire a plurality of standard brightness parameters of standard brightness, each of the standard brightness parameters corresponding to a corresponding interval of the ambient light illumination value detected by the photosensitive sensor;
[0010] Each of the standard brightness parameters is corrected respectively using the screen brightness capability parameter to obtain a plurality of corrected brightness parameters, and the corrected brightness is formed based on the plurality of corrected brightness parameters.
[0011] In some embodiments, the screen brightness control method further includes:
[0012] If the modified brightness parameter corresponding to the standard brightness parameter is less than or equal to the maximum brightness parameter that can be achieved when the screen is lit, the modified brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
[0013] In some embodiments, the screen brightness control method further includes:
[0014] If the modified brightness parameter corresponding to the standard brightness parameter is greater than the maximum brightness parameter that can be achieved when the screen is lit, the maximum brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
[0015] In some embodiments, the use of the screen brightness capability parameter to modify each of the standard brightness parameters respectively to obtain a plurality of modified brightness parameters includes:
[0016] The product of the screen brightness capability parameter and each of the standard brightness parameters is used as the modified brightness parameter after each of the standard brightness parameters is modified.
[0017] In some embodiments, the obtaining of the screen brightness capability parameter of the electronic device includes:
[0018] Obtain the pre-stored reference brightness parameters and the maximum brightness parameters that can be achieved when the screen is lit;
[0019] The ratio of the reference brightness parameter to the maximum brightness parameter is used as the screen brightness capability parameter.
[0020] In some embodiments, the maximum brightness parameter that can be achieved when the screen is lit is pre-stored in the electronic device in the form of first data, and obtaining the maximum brightness parameter that can be achieved when the screen is lit includes:
[0021] Reading a maximum brightness parameter that can be achieved when the screen is lit, and converting the data format of the maximum brightness parameter that can be achieved when the screen is lit from the first data format to a second data format;
[0022] The reference brightness parameter is stored in the electronic device in the second data format.
[0023] According to a second aspect of an embodiment of the present disclosure, a screen brightness control device of an electronic device is provided, the screen brightness control device comprising:
[0024] A parameter acquisition module, configured to acquire a screen brightness capability parameter of the electronic device;
[0025] A brightness correction module is configured to correct the standard brightness using the screen brightness capability parameter to obtain a corrected brightness; the standard brightness includes an ambient light illumination value detected by a photosensitive sensor;
[0026] The brightness control module is configured to control the screen display brightness according to the corrected brightness during the screen lighting process of the electronic device.
[0027] In some embodiments, the brightness correction module is configured as follows:
[0028] Acquire a plurality of standard brightness parameters of standard brightness, each of the standard brightness parameters corresponding to a corresponding interval of the ambient light illumination value detected by the photosensitive sensor;
[0029] Each of the standard brightness parameters is corrected respectively using the screen brightness capability parameter to obtain a plurality of corrected brightness parameters, and the corrected brightness is formed based on the plurality of corrected brightness parameters.
[0030] In some embodiments, the brightness correction module is further configured to:
[0031] If the modified brightness parameter corresponding to the standard brightness parameter is less than or equal to the maximum brightness parameter that can be achieved when the screen is lit, the modified brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
[0032] In some embodiments, the brightness correction module is further configured to:
[0033] If the modified brightness parameter corresponding to the standard brightness parameter is greater than the maximum brightness parameter that can be achieved when the screen is lit, the maximum brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
[0034] In some embodiments, the brightness correction module is further configured to:
[0035] The product of the screen brightness capability parameter and each of the standard brightness parameters is used as the modified brightness parameter after each of the standard brightness parameters is modified.
[0036] In some embodiments, the parameter acquisition module is configured to:
[0037] Obtain the pre-stored reference brightness parameters and the maximum brightness parameters that can be achieved when the screen is lit;
[0038] The ratio of the reference brightness parameter to the maximum brightness parameter is used as the screen brightness capability parameter.
[0039] In some embodiments, the maximum brightness parameter that can be achieved in the screen lighting state is pre-stored in the electronic device in the form of first data, and the parameter acquisition module is configured to:
[0040] Reading a maximum brightness parameter that can be achieved when the screen is lit, and converting the data format of the maximum brightness parameter that can be achieved when the screen is lit from the first data format to a second data format;
[0041] The reference brightness parameter is stored in the electronic device in the second data format.
[0042] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0043] processor;
[0044] a memory for storing processor-executable instructions;
[0045] The processor is configured to execute the screen brightness control method of an electronic device as described in the first aspect of an embodiment of the present disclosure.
[0046] According to the fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the electronic device screen brightness control method as described in the first aspect of the embodiment of the present disclosure.
[0047] The above method of the present disclosure has the following beneficial effects:
[0048] The method provided in the embodiment of the present disclosure obtains the screen brightness capability parameter of the electronic device, uses the screen brightness capability parameter to correct the standard brightness determined according to the ambient light illumination value detected by the photosensitive sensor to obtain the corrected brightness, corrects the standard brightness of the electronic device by using the screen brightness capability parameter, and uses the corrected brightness to adjust the brightness of the screen of the electronic device during the display process. The method in the present disclosure corrects the standard brightness by the screen brightness capability parameter so that the corrected brightness obtained by each electronic device after correction is closer, so that during the screen lighting process of the electronic device, the screen display brightness is controlled according to the corrected brightness, so that the consistency of the screen display brightness of the electronic device is better.
[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0051] Figure 1 is a flow chart of a screen brightness control method according to an exemplary embodiment;
[0052] Figure 2 is a flow chart showing another method for controlling screen brightness according to an exemplary embodiment;
[0053] Figure 3 is a flow chart showing another method for controlling screen brightness according to an exemplary embodiment;
[0054] Figure 4 is a schematic diagram showing a brightness curve according to an exemplary embodiment;
[0055] Figure 5 is a schematic diagram showing another brightness curve according to an exemplary embodiment;
[0056] Figure 6 is a schematic diagram showing another brightness curve according to an exemplary embodiment;
[0057] Figure 7 is a device block diagram of a screen brightness control device according to an exemplary embodiment;
[0058] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0059] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0060] The screen brightness control method of the electronic device provided by the embodiment of the present disclosure can be applied in the following scenarios:
[0061] For example, in the test process before the electronic device leaves the factory, when the electronic device is turned on during the test process, the screen brightness control method of the electronic device provided by the embodiment of the present disclosure is used to correct the standard brightness using the screen brightness capability parameter of the electronic device to obtain the corrected brightness, so that when the user subsequently uses the electronic device, the screen display brightness is controlled according to the corrected brightness during the screen lighting process of the electronic device. The standard brightness includes multiple standard brightness parameters, and the corrected brightness includes a corrected brightness parameter corresponding to each standard brightness parameter.
[0062] For another example, during the use of an electronic device, the screen brightness control method of the electronic device provided by the embodiment of the present disclosure is adopted to obtain the screen brightness capability parameters of the electronic device, and then the corresponding standard brightness is determined according to the ambient light illumination value detected in real time by the photosensitive sensor, and the standard brightness is corrected using the screen brightness capability parameters to obtain the corrected brightness, and then the screen display brightness is controlled according to the corrected brightness.
[0063] The screen brightness control method provided in the embodiment of the present disclosure is executed by an electronic device with a display screen, and the electronic device is a terminal device such as a mobile phone, a tablet computer, a laptop computer, a wearable smart device, etc.
[0064] Figure 1 is a flowchart of a screen brightness control method according to an exemplary embodiment, which is executed by an electronic device, see Figure 1 The method comprises the following steps S101-S103:
[0065] Step S101, obtaining screen brightness capability parameters of the electronic device.
[0066] Among them, the screen brightness capability parameter is used to correct the brightness of the electronic device so that the brightness of the screen after correction of the electronic device is consistent with the brightness of the screens of other electronic devices during the screen brightness adjustment process according to the photosensitive sensor, and the brightness display effects between the various electronic devices will not differ too much. The screen brightness capability parameter is determined based on the maximum brightness parameter of the screen of the electronic device and the pre-stored reference brightness parameter. The maximum brightness parameter of the screen of the electronic device refers to the maximum brightness parameter that the screen of the electronic device can reach when the screen is lit. The screen brightness capability parameter can characterize the gap between the screen display brightness of the electronic device to be adjusted and the optimal screen display brightness, and the gap can be expressed as a proportional relationship between the screen display brightness of the electronic device to be adjusted and the optimal screen display brightness. Among them, the optimal screen display brightness can be, for example, the display brightness of the gold machine (the electronic device with the best performance used as a reference during the test process) during the screen display process.
[0067] It should be noted that, in some embodiments, the brightness parameter may include a brightness value, for example, the maximum brightness parameter may be referred to as a maximum brightness value, and the reference brightness parameter may be referred to as a reference brightness value.
[0068] Step S102, using the screen brightness capability parameter to correct the standard brightness to obtain the corrected brightness; the standard brightness includes the value obtained based on the ambient light illumination value detected by the photosensitive sensor.
[0069] In the disclosed embodiment, the screen brightness capability parameter can explain the degree of difference between the reference brightness parameter and the reference brightness parameter. If the screen brightness capability parameter is greater than 1 or less than 1 when the reference brightness parameter is 1, it means that the maximum brightness parameter is different from the reference brightness parameter, that is, the standard brightness obtained by the electronic device based on the ambient light illumination value detected by the photosensitive sensor is not consistent with the brightness of the screen of other electronic devices. For example, if the screen brightness capability of the device to be adjusted is greater than 1, it means that the screen brightness value of the device to be adjusted under the same ambient light is higher than the reference brightness value under the same ambient light. For another example, if the screen brightness capability of the device to be adjusted is less than 1, it means that the screen brightness value of the device to be adjusted under the same ambient light is lower than the reference brightness value under the same ambient light. This will cause different devices to have different brightness capability parameters of their own display screens, resulting in different brightness of the display screen under the same ambient light during the display process, resulting in poor consistency of display screen brightness between various devices. Therefore, the standard brightness is corrected using the screen brightness capability parameter to obtain the corrected brightness so that the screen brightness of each electronic device remains consistent.
[0070] In some embodiments, the corrected brightness can be determined in two ways:
[0071] The first one:
[0072] Determine the corrected brightness in real time. The standard brightness and the corrected brightness represent a certain brightness parameter of the screen. During the use of the electronic device, each time the standard brightness is obtained based on the ambient light illumination value detected by the light sensor, the standard brightness is corrected using the screen brightness capability parameter to obtain the corrected brightness. For a detailed implementation of determining the corrected brightness, see Figure 2 The embodiments shown will be described in detail later.
[0073] Second type:
[0074] Determine the corrected brightness in advance. The standard brightness is regarded as a set including multiple standard brightness parameters, and the corrected brightness is regarded as a set including multiple corrected brightness parameters. During the test process of the electronic device or a period of time when the user first starts the electronic device, the standard brightness parameters corresponding to all ambient light illumination values detected by the photosensitive sensor are obtained, and then the multiple standard brightness parameters in the standard brightness are corrected using the screen brightness capability parameters to obtain a corrected brightness including multiple corrected brightness parameters. Among them, each corrected brightness corresponds to an ambient light brightness interval detected by the photosensitive sensor, that is, each ambient light brightness interval corresponds to a display brightness value of the display screen, and the display brightness value is the standard brightness parameter. For a detailed implementation method of determining the corrected brightness, see Figure 3 The embodiments shown will be described in detail later.
[0075] Step S103, when the screen of the electronic device is turned on, the screen display brightness is controlled according to the corrected brightness.
[0076] In the disclosed embodiment, during the process of lighting up the screen of the electronic device, at a certain ambient light illumination value detected by the photosensor, the electronic device determines the corrected brightness corresponding to the ambient light illumination value, and controls the screen display brightness according to the corrected brightness, that is, the screen display brightness of the electronic device is adjusted from the current screen display brightness to the screen display brightness corresponding to the corrected brightness, thereby realizing automatic adjustment of the screen display brightness of the electronic device.
[0077] The method provided by the embodiment of the present disclosure obtains the screen brightness capability parameter of the electronic device, and uses the screen brightness capability parameter to correct the standard brightness determined according to the ambient light illumination value detected by the photosensitive sensor to obtain the corrected brightness. Since the screen brightness capability parameter can correct the brightness of the screen so that the brightness of the screens of different electronic devices remains consistent, therefore, using the corrected brightness to adjust the display brightness of the display screen can make the brightness of the display screens of various electronic devices under the same ambient light more consistent than using the standard brightness to adjust the display brightness, thereby improving the user's visual experience.
[0078] Figure 2 is a flowchart of another screen brightness control method according to an exemplary embodiment, which is executed by an electronic device, see Figure 2 The method comprises the following steps S201-S204:
[0079] Step S201, obtaining screen brightness capability parameters of the electronic device.
[0080] The screen brightness capability parameter is used to correct the brightness of the electronic device so that the brightness of the screen of the electronic device after correction is consistent with the brightness of the screens of other electronic devices. The screen brightness capability parameter is determined based on the maximum brightness parameter of the screen of the electronic device and the pre-stored reference brightness parameter. The maximum brightness parameter of the screen of the electronic device refers to the maximum brightness parameter that the screen of the electronic device can reach when the screen is lit.
[0081] In some embodiments, a pre-stored reference brightness parameter and a maximum brightness parameter that can be achieved when the screen is lit are obtained; and the ratio of the reference brightness parameter to the maximum brightness parameter is used as the screen brightness capability parameter. The reference brightness parameter and the maximum brightness parameter can both be pre-stored by the electronic device. Of course, the maximum brightness parameter of the electronic device can also be obtained in real time by detecting the display screen of the electronic device.
[0082] The maximum brightness parameter is set to the brightness value of the light emitted by the screen of the electronic device when the screen of the electronic device displays a white picture and the screen brightness parameter is set to the maximum. The screen brightness parameter can be a backlight level or other information used to indicate the screen display brightness. The larger the screen brightness parameter, the larger the brightness value of the light actually emitted by the screen, that is, the brighter the screen; the smaller the screen brightness parameter, the smaller the brightness value of the light actually emitted by the screen, that is, the darker the screen.
[0083] Among them, when detecting the maximum brightness parameter, the screen of the electronic device can be made to display white and the backlight level of the electronic device can be set to the maximum, that is, the brightness value of the display screen of the electronic device is adjusted to the maximum, and then the brightness of the center point of the display screen can be measured using an optical instrument to obtain the maximum brightness parameter of the display screen.
[0084] For example, the screen brightness capability may be determined in the following manner, and the screen brightness capability parameter is determined using the following formula:
[0085] P=Typ / Nit
[0086] Among them, P represents the screen brightness capability parameter, Typ represents the reference brightness parameter, and Nit represents the maximum brightness parameter.
[0087] In some embodiments, the maximum brightness parameter that can be achieved when the screen is lit is pre-stored in the electronic device in the first data format, and obtaining the maximum brightness parameter that can be achieved when the screen is lit includes: reading the maximum brightness parameter that can be achieved when the screen is lit, and converting the data format of the maximum brightness parameter that can be achieved when the screen is lit from the first data format to the second data format; wherein the reference brightness parameter is stored in the electronic device in the second data format. Then, the ratio between the reference brightness parameter in the second data format and the maximum brightness parameter is used as the screen capacity parameter. The first data format is different from the second data format, for example, the first data format is hexadecimal and the second data format is decimal.
[0088] In some embodiments, the maximum brightness parameter is burned into a register of the electronic device in the form of hexadecimal data, and the electronic device reads the maximum brightness parameter stored in the register through MIPI (Mobile Industry Processor Interface) during the boot process. Then, after reading the maximum brightness parameter, the maximum brightness parameter is converted into a decimal maximum brightness parameter. The register may be a 64-bit register Rxx or other types of registers.
[0089] Regarding the determination of the maximum brightness parameter, in some embodiments, during the production process of the electronic device, the screen image is set to a white image through software settings, and the screen brightness parameter is set to a maximum value. At this time, the brightness value of the light emitted by the screen is the maximum brightness parameter. After obtaining the maximum brightness parameter, it is also necessary to use a burning device to burn the obtained maximum brightness parameter into a register of a DDIC (Display Driver Integrated Circuit) so that the electronic device can read the maximum brightness parameter from the register during use.
[0090] In some embodiments, an optical instrument is used to collect the brightness value of light emitted from any position on the screen of the electronic device as the maximum brightness parameter; or, an optical instrument is used to collect the brightness value of light emitted from the center point of the screen of the electronic device as the maximum brightness parameter. Since the maximum brightness parameter collected by the optical instrument is expressed in decimal, and hexadecimal data needs to be burned into the register, the optical instrument can send the collected maximum brightness parameter to the processing device, and the processing device converts the decimal maximum brightness parameter into a hexadecimal maximum brightness parameter, and then sends the hexadecimal maximum brightness parameter to the burning device; or, the optical instrument converts the decimal maximum brightness parameter into a hexadecimal maximum brightness parameter, and then sends it to the burning device; or, the optical instrument sends the decimal maximum brightness parameter to the burning device, and the burning device converts the decimal maximum brightness parameter into a hexadecimal maximum brightness parameter.
[0091] Regarding the determination of the reference brightness parameter, in some embodiments, the reference brightness parameter is determined based on the sample maximum brightness parameter of the screens of multiple sample devices, for example, the median of the sample maximum brightness parameter of the screens of multiple sample devices is determined as the reference brightness parameter, or the average of the maximum brightness parameter of the screens of multiple sample devices is determined as the reference brightness parameter. Optionally, in order to ensure the applicability of the reference brightness parameter, the multiple electronic devices are electronic devices of the same type as the electronic devices applied in the present disclosure, for example, the multiple electronic devices are mobile phones of the same model as the electronic devices to be applied in the present disclosure.
[0092] In some embodiments, when the relevant hardware of the screen of the electronic device remains unchanged, the corresponding relationship between the ambient illumination value and the brightness of the screen will not change. Therefore, the screen brightness capability parameter can be calculated when the electronic device is turned on for the first time.
[0093] It should be noted that, in some embodiments, the brightness parameter may also be referred to as a brightness value, for example, the maximum brightness parameter may be referred to as a maximum brightness value, and the reference brightness parameter may be referred to as a reference brightness value.
[0094] Step S202: Detect the current ambient light illumination value using a photosensitive sensor, and determine the standard brightness corresponding to the ambient light illumination value.
[0095] In the disclosed embodiment, the photosensitive sensor can detect the ambient light illumination value in real time, and there is a corresponding relationship between the standard brightness parameter and the ambient light illumination value. Therefore, after the photosensitive sensor detects the current ambient light illumination, the standard brightness corresponding to the ambient light illumination value can be determined according to the corresponding relationship between the standard brightness parameter and the ambient light illumination value. At this time, the standard brightness is a certain standard brightness parameter.
[0096] In some embodiments, there is a corresponding relationship between the standard brightness parameters and the ambient light illumination values, including: each standard brightness parameter corresponds to a corresponding interval of the ambient light illumination values detected by the photosensitive sensor, that is, one standard brightness parameter corresponds to an interval of ambient light illumination values, and the interval of ambient light illumination values may include multiple ambient light illumination values.
[0097] Step S203, using the screen brightness capability parameter to correct the standard brightness to obtain a corrected brightness.
[0098] Since the standard brightness is a certain standard brightness parameter, the corrected brightness obtained by correcting the standard brightness is also a certain corrected brightness parameter.
[0099] In some embodiments, since the screen brightness capability parameter can correct the brightness of the screen so that the brightness of the screens of different electronic devices remains consistent, the product of the screen brightness capability parameter and the standard brightness (standard brightness parameter) is used as the corrected brightness (corrected brightness parameter) corresponding to the standard brightness. Since the screen brightness capability parameter can describe the degree of difference between the reference brightness parameter and the maximum brightness parameter, that is, if the current electronic device wants to adjust the brightness of the screen corresponding to a certain ambient light illumination value to be consistent with the brightness of the screens of other electronic devices, the brightness of the screen of the electronic device needs to be corrected. Therefore, the screen brightness capability parameter is multiplied by the standard brightness, and the corrected brightness obtained is consistent with the brightness of the screens of other electronic devices.
[0100] In some embodiments, since when the screen brightness capability parameter is greater than 1, multiplying the screen brightness capability parameter by the standard brightness parameter to obtain a corrected brightness parameter corresponding to the standard brightness parameter may be greater than the maximum brightness parameter of the screen of the electronic device, when the corrected brightness parameter corresponding to the standard brightness parameter is less than or equal to the maximum brightness parameter, the corrected brightness parameter is determined as the corrected screen brightness parameter corresponding to the standard brightness parameter; when the corrected brightness parameter corresponding to the standard brightness parameter is greater than the maximum brightness parameter, the maximum brightness parameter is determined as the corrected screen brightness parameter corresponding to the standard brightness parameter, that is, no matter how the standard brightness parameter is corrected, the obtained corrected screen brightness parameter cannot exceed the maximum brightness parameter of the electronic device.
[0101] In some embodiments, when the screen brightness parameter is expressed by the backlight level, since the backlight level is an integer, the screen brightness capability parameter is multiplied by the standard brightness parameter, and the corrected brightness parameter obtained may not be an integer. When the corrected brightness parameter is not an integer and the corrected brightness parameter is less than or equal to the maximum brightness parameter, the corrected brightness parameter is rounded down, that is, the screen brightness parameter obtained by rounding down is determined as the corrected screen brightness parameter corresponding to the standard brightness parameter. Of course, it is understandable that in the calculation process, the corrected brightness parameter corresponding to the backlight level can also be used directly for calculation, and the following formula can also be used in the calculation process. For example, if the calculated corrected brightness parameter is not an integer, it is rounded down to ensure that the corrected brightness parameter is an integer. It should be noted that there is a one-to-one correspondence between the backlight level and the interval of the ambient light illumination value. For example, the interval of the ambient illumination value includes four intervals from small to large, and each interval corresponds to a backlight level, and each backlight level corresponds to a corrected brightness parameter. When the light sensor detects the current ambient light, it can determine the backlight level based on the current ambient light, and then determine the corrected brightness parameter corresponding to the backlight level, and then use the corrected brightness parameter to adjust the display brightness of the display screen.
[0102] For example, the mapping of screen brightness parameters can be achieved in the following way:
[0103] If (Current_DBV*P)≤Max_DBV)
[0104] New_DBV = Current_DBV*P;
[0105] else
[0106] New_DBV = Max_DBV;
[0107] Among them, P represents the screen brightness capability parameter, Current_DBV represents the standard brightness parameter, Max_DBV represents the maximum brightness parameter, and New_DBV represents the corrected screen brightness parameter corresponding to the standard brightness parameter.
[0108] Step S204: When the screen of the electronic device is turned on, the screen display brightness is controlled according to the corrected brightness.
[0109] In the disclosed embodiment, during the process of lighting up the screen of the electronic device, at a certain ambient light illumination value detected by the photosensor, the electronic device determines the corrected brightness corresponding to the ambient light illumination value, and controls the screen display brightness according to the corrected brightness, that is, the screen display brightness of the electronic device is adjusted from the current screen display brightness to the screen display brightness corresponding to the corrected brightness, thereby realizing automatic adjustment of the screen display brightness of the electronic device.
[0110] In some embodiments, since the screen of the electronic device emits light based on the screen brightness parameter set by the electronic device, adjusting the screen display brightness is essentially adjusting the screen brightness parameter. Therefore, controlling the screen display brightness according to the corrected brightness includes: setting the current screen brightness parameter of the electronic device to the corrected brightness. That is, after the current screen brightness parameter of the electronic device is set to the corrected brightness, the screen can emit light according to the corrected brightness.
[0111] In some embodiments, when adjusting from one screen brightness parameter to another, in order to achieve quick adjustment, you can directly adjust from one screen brightness parameter to another; or, in order to allow the user's eyes to gradually adapt to the changes in the screen display brightness, you can also gradually adjust from one screen brightness parameter to another.
[0112] The method provided by the embodiment of the present disclosure obtains the screen brightness capability parameter of the electronic device during the use of the electronic device, and uses the screen brightness capability parameter to correct the standard brightness determined according to the ambient light illumination value detected by the photosensitive sensor to obtain a corrected brightness. Since the screen brightness capability parameter can correct the brightness of the screen so that the brightness of the screens of different electronic devices remains consistent, the corrected brightness is more consistent with the brightness of the screens of other electronic devices than the standard brightness. Therefore, when the screen of the electronic device is lit, the screen display brightness is controlled according to the corrected brightness, so that the screen display brightness of the electronic device is more consistent with the screen display brightness of other electronic devices.
[0113] Figure 3 is a flowchart of another screen brightness control method according to an exemplary embodiment, which is executed by an electronic device, see Figure 3 The method comprises the following steps S301-S304:
[0114] Step S301, obtaining screen brightness capability parameters of the electronic device.
[0115] The implementation of step S301 is the same as that of the above-mentioned step S201, and will not be described in detail here.
[0116] Step S302, obtaining a plurality of standard brightness parameters of standard brightness.
[0117] The standard brightness includes a plurality of standard brightness parameters, and each standard brightness parameter corresponds to a corresponding interval of the ambient light illumination value detected by the photosensitive sensor.
[0118] In some embodiments, all ambient light illumination values detected by the photosensitive sensor are acquired, and then a standard brightness parameter corresponding to each ambient light illumination value is determined, and the determined multiple standard brightness parameters are determined as the standard brightness parameters included in the standard brightness.
[0119] Step S303: each standard brightness parameter is corrected respectively using the screen brightness capability parameter to obtain a plurality of corrected brightness parameters, and a corrected brightness is formed based on the plurality of corrected brightness parameters.
[0120] The modified brightness includes a plurality of modified brightness parameters. The implementation method of determining the modified brightness parameter corresponding to each standard brightness parameter is the same as the implementation method of the above step S203, which will not be described in detail here.
[0121] Step S304: When the screen of the electronic device is turned on, the screen display brightness is controlled according to the corrected brightness.
[0122] In the embodiment of the present disclosure, when the screen of the electronic device is lit, the current ambient illumination value is detected by the photosensitive sensor, and the standard brightness parameter corresponding to the ambient light illumination value is determined, and then the corrected brightness parameter corresponding to the standard brightness parameter is determined to control the screen display brightness.
[0123] In some embodiments, after obtaining multiple corrected brightness parameters, the electronic device stores the correspondence between multiple standard brightness parameters and multiple corrected brightness parameters, and then determines the corrected brightness parameters according to the stored correspondence during the screen lighting process of the electronic device.
[0124] The method provided by the embodiment of the present disclosure obtains the screen brightness capability parameter of the electronic device, and uses the screen brightness capability parameter to correct the standard brightness determined according to the ambient light illumination value detected by the photosensitive sensor to obtain the corrected brightness. Since the screen brightness capability parameter can correct the brightness of the screen to keep the brightness of the screens of different electronic devices consistent, the corrected brightness is more consistent with the brightness of the screens of other electronic devices compared with the standard brightness. Therefore, during the process of lighting the screen of the electronic device, the screen display brightness is controlled according to the corrected brightness, so that the screen display brightness of the electronic device is more consistent with the screen display brightness of other electronic devices.
[0125] In some embodiments, in the related technology, an electronic device with an automatic display brightness adjustment function will store a target brightness curve inside the electronic device before leaving the factory. The target brightness curve is used to characterize the correspondence between the ambient light illumination value and the screen brightness parameter. In the subsequent screen lighting process of the electronic device, the electronic device automatically adjusts the screen brightness based on the target brightness curve to control the screen display brightness of the electronic device according to the corresponding screen brightness parameters under a certain ambient light illumination value.
[0126] For example, see Figure 4 A schematic diagram of the brightness curve is shown. Figure 4 Curve a in the figure is the target brightness curve. When the ambient light reaches 10,000 lux, the screen brightness parameter reaches the maximum. The maximum brightness parameter in the target brightness curve is 500 nit. However, from the actual application of electronic devices, the actual maximum brightness parameter of electronic devices may not reach 500 nit or may be greater than 500 nit. Figure 4 Curve b in FIG. 1 shows the actual brightness curve of the electronic device. The maximum brightness parameter of the electronic device can only reach 450 nit. By comparing curve a and curve b, it can be seen that since the maximum brightness parameter of the electronic device cannot reach the maximum brightness parameter in the target brightness curve, curve a and curve b are inconsistent. Under the same ambient light illumination, there is a certain deviation between the actual screen brightness parameter of the electronic device and the corresponding screen brightness parameter in the target brightness curve.
[0127] Therefore, in order to reduce or eliminate such deviation, the screen brightness control method provided in the embodiment of the present disclosure obtains the screen brightness capability parameter of the electronic device, and then corrects the standard brightness parameter of the electronic device based on the screen brightness capability parameter to obtain the corrected brightness parameter, and determines the corrected brightness curve based on the correspondence between the corrected brightness parameter and the ambient light illumination value. The corrected brightness curve approaches the target brightness curve, so that when the electronic device controls the screen display brightness of the electronic device based on the corrected brightness curve, the screen display brightness can be adjusted to an appropriate display brightness to improve the visual effect of the screen.
[0128] For example, the modified brightness curve obtained by using any of the above embodiments is as follows: Figure 5 As shown, Figure 5 Curve 1 is the target brightness curve, curve 2 is the original brightness curve of the electronic device, and curve 3 is the corrected brightness curve. Figure 5 It can be seen that the maximum brightness parameter of the electronic device is 450nit, and the reference brightness parameter is 500nit. The corrected brightness is determined based on the method shown in the above embodiment. The corrected brightness curve is determined based on the correspondence between each corrected brightness parameter in the corrected brightness and the ambient light illumination value. The portion of the corrected brightness curve where the screen brightness parameter is less than 450nit coincides with curve 1, while the portion of the curve where the screen brightness parameter is greater than 450nit is different from the portion of the curve where the screen brightness parameter is greater than 450nit in curve 1. This is because when the screen brightness parameter reaches 450nit, even if the ambient light illumination value increases, the screen brightness parameter cannot increase any further and can only be maintained at 450nit.
[0129] For another example, the modified brightness curve obtained by using any of the above implementations is as follows: Figure 6As shown, Figure 6 Curve 1 in the figure is the target brightness curve, curve 4 is the original brightness curve of the electronic device, and curve 5 (the solid line that overlaps with curve 1 represented by the dotted line) is the corrected brightness curve. Figure 6 It can be seen that the maximum brightness parameter of the electronic device is 550nit, which is greater than the maximum screen brightness parameter of 500nit in the target brightness curve. Under the same ambient light illumination, the screen brightness parameter in curve 4 is greater than the screen brightness parameter in curve 1. The corrected brightness is determined based on the method shown in the above implementation mode, and the corrected brightness curve is determined based on the correspondence between each corrected brightness parameter in the corrected brightness and the ambient light illumination value. The maximum screen brightness parameter in curve 5 is 500nit, and curve 5 coincides with curve 1.
[0130] In addition, the above embodiments are all for describing the screen brightness control method of an electronic device. In another embodiment, other electronic devices can control the screen brightness by using the same embodiment as the screen brightness control method provided by the present disclosure. In this case, the corrected brightness curve obtained by other electronic devices in the same manner will also be close to the target brightness curve, so that the corrected brightness curves of different electronic devices will tend to be consistent, and then the automatic brightness adjusted by different electronic devices based on their respective corrected brightness curves will be the same, thereby improving the consistency of the visual effects of different screens under the same ambient light illumination value.
[0131] In the related art, for different electronic devices, in order to improve consistency, the screen brightness will be calibrated first during the production process of the electronic devices. If the maximum brightness parameter of the screen differs from the reference brightness parameter, the screen will be judged as an unqualified product. Although this method can make the visual display effects of the screens of different electronic devices produced in the end have a high consistency, it will sacrifice the pass rate, resulting in a low pass rate of the product. The method provided by the present disclosure only needs to provide a screen brightness capability parameter according to the maximum brightness parameter of the electronic device to make the corrected brightness curve approach the target brightness curve, while improving consistency, there is no need to reduce the pass rate.
[0132] Figure 7 is a device block diagram of a screen brightness control device for an electronic device according to an exemplary embodiment. Figure 7 , the device comprises:
[0133] The parameter acquisition module 701 is configured to acquire the screen brightness capability parameter of the electronic device;
[0134] The brightness correction module 702 is configured to correct the standard brightness using the screen brightness capability parameter to obtain a corrected brightness; the standard brightness includes an ambient light illumination value detected by the photosensitive sensor;
[0135] The brightness control module 703 is configured to control the screen display brightness according to the corrected brightness when the screen of the electronic device is turned on.
[0136] The device provided by the embodiment of the present disclosure obtains the screen brightness capability parameter of the electronic device, and uses the screen brightness capability parameter to correct the standard brightness determined according to the ambient light illumination value detected by the photosensitive sensor to obtain the corrected brightness. Since the screen brightness capability parameter can correct the brightness of the screen so that the brightness of the screens of different electronic devices remains consistent, the corrected brightness is more consistent with the brightness of the screens of other electronic devices compared to the standard brightness. Therefore, during the process of lighting the screen of the electronic device, the screen display brightness is controlled according to the corrected brightness, so that the screen display brightness of the electronic device is more consistent with the screen display brightness of other electronic devices.
[0137] In some embodiments, the brightness correction module 702 is configured to:
[0138] Acquire multiple standard brightness parameters of standard brightness, each standard brightness parameter corresponds to a corresponding interval of the ambient light illumination value detected by the photosensitive sensor;
[0139] Each standard brightness parameter is corrected respectively using the screen brightness capability parameter to obtain a plurality of corrected brightness parameters, and a corrected brightness is formed based on the plurality of corrected brightness parameters.
[0140] In some embodiments, the brightness correction module 702 is further configured to:
[0141] If the modified brightness parameter corresponding to the standard brightness parameter is less than or equal to the maximum brightness parameter that can be achieved when the screen is lit, the modified brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
[0142] In some embodiments, the brightness correction module 702 is further configured to:
[0143] If the modified brightness parameter corresponding to the standard brightness parameter is greater than the maximum brightness parameter that can be achieved when the screen is lit, the maximum brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
[0144] In some embodiments, the brightness correction module 702 is further configured to:
[0145] The product of the screen brightness capability parameter and each standard brightness parameter is respectively used as the corrected brightness parameter of each standard brightness parameter.
[0146] In some embodiments, the parameter acquisition module 701 is configured to:
[0147] Obtain the pre-stored reference brightness parameters and the maximum brightness parameters that can be achieved when the screen is lit;
[0148] The ratio of the reference brightness parameter to the maximum brightness parameter is used as the screen brightness capability parameter.
[0149] In some embodiments, the maximum brightness parameter that can be achieved when the screen is lit is pre-stored in the electronic device in the form of first data, and the parameter acquisition module 701 is configured to:
[0150] Reading a maximum brightness parameter that can be achieved when the screen is lit, and converting the data format of the maximum brightness parameter that can be achieved when the screen is lit from a first data format to a second data format;
[0151] The reference brightness parameter is stored in the electronic device in the form of second data.
[0152] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0153] An embodiment of the present disclosure further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the screen brightness control method of the electronic device in the above embodiment.
[0154] Figure 8 is a block diagram of an electronic device 800 according to an exemplary embodiment.
[0155] Reference Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0156] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0157] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can 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 (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0158] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0159] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0160] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0161] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0162] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0163] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, 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.
[0164] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0165] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0166] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the screen brightness control method of the electronic device in the above embodiment.
[0167] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0168] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A screen brightness control method for an electronic device, characterized in that: The screen brightness control method comprises: Obtaining screen brightness capability parameters of the electronic device; The standard brightness is corrected by using the screen brightness capability parameter to obtain a corrected brightness; the standard brightness includes an ambient light illumination value detected by a photosensitive sensor; During the screen lighting process of the electronic device, the screen display brightness is controlled according to the corrected brightness.
2. The screen brightness control method of an electronic device according to claim 1, characterized in that: The method of using the screen brightness capability parameter to correct the standard brightness to obtain the corrected brightness includes: Acquire a plurality of standard brightness parameters of standard brightness, each of the standard brightness parameters corresponding to a corresponding interval of the ambient light illumination value detected by the photosensitive sensor; Each of the standard brightness parameters is corrected respectively using the screen brightness capability parameter to obtain a plurality of corrected brightness parameters, and the corrected brightness is formed based on the plurality of corrected brightness parameters.
3. The screen brightness control method of an electronic device according to claim 2, characterized in that: The screen brightness control method further includes: If the modified brightness parameter corresponding to the standard brightness parameter is less than or equal to the maximum brightness parameter that can be achieved when the screen is lit, the modified brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
4. The screen brightness control method of an electronic device according to claim 3, characterized in that: The screen brightness control method further includes: If the modified brightness parameter corresponding to the standard brightness parameter is greater than the maximum brightness parameter that can be achieved when the screen is lit, the maximum brightness parameter is used as the modified screen brightness parameter corresponding to the standard brightness parameter.
5. The screen brightness control method of an electronic device according to claim 2, characterized in that: The method of using the screen brightness capability parameter to respectively modify each of the standard brightness parameters to obtain a plurality of modified brightness parameters includes: The product of the screen brightness capability parameter and each of the standard brightness parameters is used as the modified brightness parameter after each of the standard brightness parameters is modified.
6. The screen brightness control method of an electronic device according to claim 1, characterized in that: The obtaining of the screen brightness capability parameter of the electronic device includes: Obtain the pre-stored reference brightness parameters and the maximum brightness parameters that can be achieved when the screen is lit; The ratio of the reference brightness parameter to the maximum brightness parameter is used as the screen brightness capability parameter.
7. The screen brightness control method of an electronic device according to claim 6, characterized in that: The maximum brightness parameter that can be achieved when the screen is lit is pre-stored in the electronic device in the form of first data, and obtaining the maximum brightness parameter that can be achieved when the screen is lit includes: Reading a maximum brightness parameter that can be achieved when the screen is lit, and converting the data format of the maximum brightness parameter that can be achieved when the screen is lit from the first data format to a second data format; The reference brightness parameter is stored in the electronic device in the second data format.
8. A screen brightness control device for an electronic device, characterized in that: The screen brightness control device comprises: A parameter acquisition module, configured to acquire a screen brightness capability parameter of the electronic device; A brightness correction module is configured to correct the standard brightness using the screen brightness capability parameter to obtain a corrected brightness; the standard brightness includes an ambient light illumination value detected by a photosensitive sensor; The brightness control module is configured to control the screen display brightness according to the corrected brightness during the screen lighting process of the electronic device.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the screen brightness control method of an electronic device as described in any one of claims 1-7.
10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the screen brightness control method of an electronic device as described in any one of claims 1 to 7.
