Screen brightness adjusting method and device, electronic equipment and medium

By obtaining the brightness and environment information of users in different environments, using weighted average and brightness adjustment curves or tables, automatically adjusting the screen brightness, solving the problem of user personalized needs and improving the display effect and user experience.

CN120340436APending Publication Date: 2025-07-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410070040.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-17
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, electronic devices cannot meet the personalized needs of different users when automatically adjusting the screen brightness, resulting in poor display effects and poor user experience.

Method used

By obtaining the brightness information and environmental information set by the user in different environments, determining the brightness adjustment information, and using weighted average and brightness adjustment curves or tables to automatically adjust the screen brightness to reflect the user's habits and needs.

Benefits of technology

Improve the display effect of the screen, users feel more comfortable, reduce the need for manual adjustment, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120340436A_ABST
    Figure CN120340436A_ABST
Patent Text Reader

Abstract

The invention relates to a screen brightness adjusting method and device, electronic equipment and a medium. The screen brightness adjusting method comprises the following steps: acquiring first brightness information set by a user in different environments and first environment information corresponding to the first brightness information; according to the first brightness information and the first environment information, first brightness adjustment information is determined, and the first brightness adjustment information is used for adjusting the brightness of the screen. Since the first brightness adjustment information is determined based on the setting of the screen brightness by the user in the first environment, the user can feel comfortable by automatically adjusting the brightness of the screen through the first brightness adjustment information, and the display effect of the screen is improved. Meanwhile, due to the fact that the brightness of the screen enables the user to feel comfortable, the user does not need to change the brightness after automatic adjustment, and therefore the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display technologies, and in particular, to a method, apparatus, electronic device, and medium for adjusting screen brightness. Background Art

[0002] Currently, based on the detected ambient light intensity information, an electronic device can automatically adjust the brightness of the screen to avoid the user from setting the brightness. However, during the process of automatically adjusting the brightness of the screen, there is a problem of poor display effect. Summary of the Invention

[0003] To overcome the problems in the related art, the present disclosure provides a method, apparatus, electronic device, and medium for adjusting screen brightness.

[0004] According to a first aspect of the embodiments of the present disclosure, a method for adjusting screen brightness is provided. The method for adjusting screen brightness includes:

[0005] Obtaining first brightness information set by a user in different environments and first environment information corresponding to each of the first brightness information;

[0006] Determining first brightness adjustment information according to the first brightness information and the first environment information, where the first brightness adjustment information is used to adjust the brightness of the screen.

[0007] In some embodiments of the present disclosure, the first environment information includes time information; and determining the first brightness adjustment information according to the first brightness information and the first environment information includes:

[0008] Determining a preset relationship between preset time difference information and preset weight information;

[0009] Determining the first brightness adjustment information according to the first brightness information, the time information, and the preset relationship.

[0010] In some embodiments of the present disclosure, determining the first brightness adjustment information according to the first brightness information, the time information, and the preset relationship includes:

[0011] Determining time difference information between each of the time information and target time information;

[0012] Determining respective weight information corresponding to each of the time difference information according to the preset relationship;

[0013] Performing weighted averaging on the corresponding first brightness information with the respective weight information to obtain the first brightness adjustment information.

[0014] In some embodiments of the present disclosure, the first environmental information further includes an application category; the determining the time difference information between each of the time information and the target time information includes:

[0015] Determining the target application category to which the application running at the target time information belongs;

[0016] Determining the time difference information between each of the time information in the target application category and the target time information;

[0017] The weighted averaging of the corresponding first brightness information with each of the weight information to obtain the first brightness adjustment information includes:

[0018] Weighted averaging the corresponding first brightness information in the target application category with each of the weight information to obtain the first brightness adjustment information.

[0019] In some embodiments of the present disclosure, the determining the first brightness adjustment information according to the first brightness information and the first environmental information includes:

[0020] When the quantity of the first brightness information in each application category within different time ranges is greater than or equal to a first preset quantity, determining the first brightness adjustment information according to the first brightness information and the first environmental information.

[0021] In some embodiments of the present disclosure, after the determining the first brightness adjustment information according to the first brightness information and the first environmental information, the screen brightness adjustment method further includes:

[0022] Adjusting the brightness of the screen according to the first brightness adjustment information.

[0023] In some embodiments of the present disclosure, before the obtaining the first brightness information set by the user in different environments and the first environmental information corresponding to each of the first brightness information, the screen brightness adjustment method further includes:

[0024] If the automatic brightness adjustment function is turned off, sending a prompt message to the user, the prompt message being used to prompt the user whether to turn on the automatic brightness adjustment function;

[0025] The obtaining the first brightness information set by the user in different environments and the first environmental information corresponding to each of the first brightness information includes:

[0026] In response to a first operation of the user on the prompt message, obtaining the first brightness information set by the user in different environments and the first environmental information corresponding to each of the first brightness information.

[0027] In some embodiments of the present disclosure, before sending the prompt message to the user, the screen brightness adjustment method further includes:

[0028] Obtaining second brightness information set by the user in different environments and second environment information corresponding to each of the second brightness information, where the second environment information is different from the first environment information;

[0029] Determining second brightness adjustment information according to the second brightness information and the second environment information, where the second brightness adjustment information is used to adjust the brightness of the screen.

[0030] In some embodiments of the present disclosure, the second environment information includes environmental light intensity information; and determining the second brightness adjustment information according to the second brightness information and the second environment information includes:

[0031] Generating a second brightness adjustment curve as the second brightness adjustment information according to each of the second brightness information and each of the environmental light intensity information; or,

[0032] Generating a second brightness adjustment table as the second brightness adjustment information according to each of the second brightness information and each of the environmental light intensity information, where the second brightness adjustment table is used to characterize the relationship between the environmental light intensity range and the brightness.

[0033] In some embodiments of the present disclosure, after sending the prompt message to the user, the screen brightness adjustment method further includes:

[0034] Responding to a second operation of the user on the prompt message, enabling the automatic brightness adjustment function, and automatically adjusting the brightness of the screen with the second brightness adjustment information.

[0035] In some embodiments of the present disclosure, determining the second brightness adjustment information according to the second brightness information and the second environment information includes:

[0036] When the number of the second brightness information is greater than or equal to a second preset number, determining the second brightness adjustment information according to the second brightness information and the second environment information.

[0037] In some embodiments of the present disclosure, obtaining the second brightness information set by the user in different environments and the second environment information corresponding to each of the second brightness information includes:

[0038] When the automatic brightness adjustment function is turned off, obtaining the second brightness information set by the user in different environments and the second environment information corresponding to each of the second brightness information.

[0039] According to a second aspect of the embodiments of the present disclosure, a screen brightness adjustment device is provided. The screen brightness adjustment device includes:

[0040] A first acquisition module configured to acquire first brightness information set by a user in different environments and first environment information corresponding to each of the first brightness information;

[0041] A first determination module configured to determine first brightness adjustment information according to the first brightness information and the first environment information, where the first brightness adjustment information is used to adjust the brightness of the screen.

[0042] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including: at least one processor, at least one memory, and computer program instructions stored in the memory, where when the computer program instructions are executed by the processor, the above-described method is implemented.

[0043] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, where when the computer program instructions are executed by a processor, the above-described method is implemented.

[0044] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0045] Acquire first brightness information set by a user in different environments and first environment information corresponding to the first brightness information to determine the user's brightness requirement in the first environment. According to the first brightness information and the first environment information, determine first brightness adjustment information to automatically adjust the brightness of the screen through the first brightness adjustment information. Since the first brightness adjustment information is determined based on the user's setting of the screen brightness in the first environment, automatically adjusting the brightness of the screen with the first brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen. At the same time, since the brightness of the screen can make the user feel comfortable, the user does not need to change the automatically adjusted brightness, thereby improving the user experience.

[0046] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.

[0048] Figure 1 is a flowchart showing a screen brightness adjustment method according to an exemplary embodiment;

[0049] Figure 2 is a schematic flowchart of a screen brightness adjustment method shown according to another exemplary embodiment;

[0050] Figure 3 is a schematic curve diagram of a preset relationship between preset time difference information and preset weight information shown according to an exemplary embodiment;

[0051] Figure 4 is a schematic flowchart of a screen brightness adjustment method shown according to another exemplary embodiment;

[0052] Figure 5 is a schematic flowchart of a screen brightness adjustment method shown according to another exemplary embodiment;

[0053] Figure 6 is a schematic flowchart of a screen brightness adjustment method shown according to another exemplary embodiment;

[0054] Figure 7 is a schematic flowchart of a screen brightness adjustment method shown according to another exemplary embodiment;

[0055] Figure 8 is a schematic flowchart of a screen brightness adjustment method shown according to another exemplary embodiment;

[0056] Figure 9 is a block diagram of a screen brightness adjustment device shown according to an exemplary embodiment;

[0057] Figure 10 is a block diagram of an electronic device shown according to an exemplary embodiment.

[0058] In the figure:

[0059] 100 - First acquisition module; 200 - First determination module; 400 - Electronic device; 402 - Processing component; 404 - Memory; 406 - Power supply component; 408 - Multimedia component; 410 - Audio component; 412 - Input / output interface; 414 - Sensor component; 416 - Communication component; 420 - Processor. Detailed implementation manners

[0060] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0061] Currently, due to different users' different requirements for brightness, during the use of electronic devices, users will manually set the brightness of the screen according to the environment where the electronic device is located. With the development of electronic devices, in order to avoid users' frequent manual setting of the screen brightness, an automatic brightness adjustment function has been added to the electronic devices. When the user turns on the automatic brightness adjustment function, the electronic device will automatically adjust the brightness of the screen according to the detected environmental light intensity information to avoid manual setting by the user.

[0062] In the related art, a screen brightness adjustment method is provided. A corresponding relationship between preset environmental light intensity information and preset brightness information is set in the electronic device, and the brightness information is determined according to the detected environmental light intensity information and the corresponding relationship to automatically adjust the brightness of the screen. However, due to different users' different requirements for brightness, under the same environmental light intensity, the requirements for the screen brightness are different. Therefore, after the electronic device automatically adjusts the brightness of the screen, the user will still feel uncomfortable, resulting in a poor display effect of the screen. At the same time, after the user feels uncomfortable, the user will manually set the brightness of the screen, affecting the user experience.

[0063] To solve the above technical problems, the present disclosure provides a screen brightness adjustment method. By obtaining the first brightness information set by the user in different environments and the first environmental information corresponding to the first brightness information, the first brightness adjustment information is determined to automatically adjust the brightness of the screen through the first brightness adjustment information. Since the first brightness adjustment information is determined based on the user's settings, automatically adjusting the brightness of the screen with the first brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen. At the same time, since the brightness of the screen can make the user feel comfortable, the user will not manually set the brightness of the screen again, thereby improving the user experience.

[0064] An embodiment of the present disclosure provides a screen brightness adjustment method, as Figure 1 shown, the method includes:

[0065] S100. Obtain the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information.

[0066] S200. Determine first brightness adjustment information according to the first brightness information and the first environmental information, where the first brightness adjustment information is used to adjust the brightness of the screen.

[0067] In this embodiment, obtain the first brightness information set by the user in different environments and the first environmental information corresponding to the first brightness information to determine the user's brightness requirement in the first environment. Determine the first brightness adjustment information according to the first brightness information and the first environmental information, and automatically adjust the brightness of the screen through the first brightness adjustment information. Since the first brightness adjustment information is determined based on the user's setting of the screen brightness in the first environment, automatically adjusting the brightness of the screen with the first brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen. At the same time, since the brightness of the screen can make the user feel comfortable, the user does not need to change the automatically adjusted brightness, thereby improving the user experience.

[0068] Exemplarily, the first brightness information refers to the brightness information set on the screen when the user manually adjusts the brightness of the screen.

[0069] In one embodiment, the obtaining of the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information in step S100 can be determined in the following manner:

[0070] When the automatic brightness adjustment function is turned off, obtain the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information.

[0071] In this embodiment, since the habits of different users are different, some users turn off the automatic brightness adjustment function when they are used to manually adjusting the screen brightness. When the automatic brightness adjustment function is turned off, if the first brightness information set by the user is not obtained, it is impossible to determine the first brightness adjustment information according to the user's requirement to automatically adjust the brightness of the screen. By obtaining the first brightness information set by the user when the automatic brightness adjustment function is turned off, the first brightness information that conforms to the user's habit can be obtained to determine the first brightness adjustment information, thereby improving the reliability of the screen brightness adjustment.

[0072] It can be understood that the obtaining of the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information in step S100 can also be obtained when the automatic brightness adjustment function is turned on, which is not limited here.

[0073] In one embodiment, the determining of the first brightness adjustment information according to the first brightness information and the first environmental information in step S200 can be determined in the following manner:

[0074] When the number of the first luminance information is greater than or equal to a preset number, determine first luminance adjustment information according to the first luminance information and the first environmental information.

[0075] In this embodiment, before determining the first luminance adjustment information, first determine the number of the first luminance information to determine whether the number of the first luminance information is sufficient to determine the first luminance adjustment information. When the number of the first luminance information is greater than or equal to the preset number, the number of the first luminance information is sufficient, and determine the first luminance adjustment information according to the first luminance information and the first environmental information. By determining the first luminance adjustment information when the number of the first luminance information is sufficient, it is avoided that the deviation of the first luminance adjustment information is large due to the small number of the first luminance information, thereby improving the reliability of the screen luminance adjustment.

[0076] Exemplarily, the value range of the preset number can be 100 to 5000. The value of the preset number can be 500, 1000, 2000, etc.

[0077] In one embodiment, the first environmental information includes time information. As Figure 2 shown, the step of determining the first luminance adjustment information according to the first luminance information and the first environmental information in step S200 can also be determined in the following manner:

[0078] S210. Determine a preset relationship between the preset time difference information and the preset weight information.

[0079] S220. Determine the first luminance adjustment information according to the first luminance information, the time information, and the preset relationship.

[0080] In this embodiment, since the user's requirements for the screen luminance are different at different times, use the time information as the first environmental information to determine the first luminance adjustment information. Determine the preset relationship between the preset time difference information and the preset weight information to determine the weight information corresponding to each luminance information under different time difference information. According to the first luminance information, the time information, and the preset relationship, process the first luminance information with the weight information determined by the time information to determine the first luminance adjustment information. By determining the first luminance adjustment information by processing the first luminance information according to the preset relationship, when adjusting the screen luminance with the first luminance adjustment information, the user will feel more comfortable, thereby improving the display effect of the screen.

[0081] Exemplarily, the preset relationship between the preset time difference information and the preset weight information can be as Figure 3 shown. Among the time information, the smaller the difference from the target time information, the greater the corresponding weight information. The greater the difference from the target time information, the smaller the corresponding weight information. Wherein, the abscissa is the time difference information and the ordinate is the weight information.

[0082] In one embodiment, asFigure 4 As shown, according to the first brightness information, time information, and preset relationship in step S220, the first brightness adjustment information can be determined in the following manner:

[0083] S221. Determine the time difference information between each time information and the target time information.

[0084] S222. According to the preset relationship, determine the respective weight information corresponding to each time difference information.

[0085] S223. Weight and average the respective first brightness information with the respective weight information to obtain the first brightness adjustment information.

[0086] In this embodiment, the time difference information between each time information and the target time information is determined to determine the degree of difference between each time information and the target time information. According to the preset relationship between the preset time difference information and the preset weight information, the respective weight information corresponding to each time difference information is determined. The respective first brightness information is weighted and averaged with the respective weight information, the respective first brightness information is distributed with the corresponding weight information, the first brightness adjustment information is obtained, and the brightness of the screen is adjusted with the first brightness adjustment information. Since the first brightness adjustment information includes the first brightness information set by the user at different times, and the respective first brightness information is weighted according to the distance from the target time information, the first brightness adjustment information can reflect the user's habit and reduce the error of brightness adjustment to improve the display effect of the screen.

[0087] Exemplarily, steps S221 to S223 are described. Each time information is respectively t1, t2, t3,..., tn, and the respective corresponding first brightness information is respectively b1, b2, b3,..., bn. The target time information is tm, and the respective determined time difference information is t1 - tm, t2 - tm, t3 - tm,..., tn - tm, denoted as Δt1, Δt2, Δt3,..., Δtn. According to the preset relationship, the respective corresponding weight information is determined to be w1, w2, w3,..., wn. The respective first brightness information b1, b2, b3,..., bn is weighted and averaged with the respective weight information w1, w2, w3,..., wn, and the obtained first brightness adjustment information is (w1 * b1 + w2 * b2 + w3 * b3 +... + wn * bn) / (w1 + w2 + w3 +... + wn).

[0088] In one embodiment, the first environmental information further includes the application category. The time difference information between each time information and the target time information in step S221 is determined in the following manner:

[0089] Determine the target application category to which the application running at the target time information belongs.

[0090] Determine the time difference information between each piece of time information in the target application category and the target time information.

[0091] The weighted average of the corresponding first brightness information with each weight information in step S223 to obtain the first brightness adjustment information is determined as follows:

[0092] Perform a weighted average of the corresponding first brightness information in the target application category with each weight information to obtain the first brightness adjustment information.

[0093] In this embodiment, since under different applications, the user's requirements for the screen brightness are different, the time information and the application information are used as the first environmental information to determine the first brightness adjustment information. Determine the target application category where the application running at the target time information is located, and perform a weighted average of the first brightness information in the target application category to obtain the first brightness adjustment information that can reflect the user's requirements at the target time and in the target application category. By performing a weighted average of the first brightness information in the target application category to obtain the first brightness adjustment information, adjusting the screen brightness with the first brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen.

[0094] Exemplarily, when adjusting the screen brightness with the first brightness adjustment information, it can be executed when the automatic brightness adjustment function is turned on, or it can be executed when the automatic brightness adjustment function is turned off, which is not limited here.

[0095] Exemplarily, for the application category, for example, it can be divided into game application categories, video application categories, social application categories, map application categories, photography application categories, default categories, etc.

[0096] In one embodiment, determining the first brightness adjustment information according to the first brightness information and the first environmental information in step S200 can also be determined as follows:

[0097] When the number of first brightness information in each application category within different time ranges is greater than or equal to the first preset number, determine the first brightness adjustment information according to the first brightness information and the first environmental information.

[0098] In this embodiment, before determining the first brightness adjustment information, first determine the number of first brightness information in different time ranges for each application category to determine whether the number of first brightness information is sufficient to determine the first brightness adjustment information. When the number of first brightness information is greater than or equal to the first preset number, the number of first brightness information is sufficient, and the first brightness adjustment information is determined according to the first brightness information and the first environmental information. By determining the first brightness adjustment information when the number of first brightness information is sufficient, it is avoided that the deviation of the first brightness adjustment information is large due to the small number of first brightness information, thereby improving the reliability of the screen brightness adjustment.

[0099] Exemplarily, the value range of the first preset quantity can be 50 to 1000. The value of the first preset quantity can be 100, 300, 500, etc.

[0100] Exemplarily, the time range can be a division of 24 hours, and the number and method of division can be set by the user or can be preset. For example, the time range can be from 0:00 to 8:00, from 8:00 to 12:00, from 12:00 to 19:00, from 19:00 to 0:00.

[0101] Exemplarily, the first environmental information can also only include the application category. Determining the first brightness adjustment information according to the first brightness information and the first environmental information in step S200 can also be determined by the following method:

[0102] Determine the target application category where the running application is located.

[0103] Take the average value of each first brightness information in the target application category as the first brightness adjustment information.

[0104] In one embodiment, the first environmental information includes environmental light intensity information. Determining the first brightness adjustment information according to the first brightness information and the first environmental information in step S200 can also be determined by the following method:

[0105] Generate a first brightness adjustment curve as the first brightness adjustment information according to each first brightness information and each environmental light intensity information.

[0106] In this embodiment, after obtaining a plurality of first brightness information and corresponding plurality of environmental light intensity information, generate a first brightness adjustment curve as the first brightness adjustment information. By automatically adjusting the screen brightness with the first brightness adjustment curve, there is a corresponding brightness to smoothly adjust the screen brightness under different environmental light intensities, thereby improving the effect of screen brightness adjustment.

[0107] Exemplarily, generating a first brightness adjustment curve as the first brightness adjustment information according to each first brightness information and each environmental light intensity information in the above steps can use the environmental light intensity information as the independent variable and the first brightness information as the dependent variable, and adopt a linear regression method to fit the first brightness adjustment curve.

[0108] In one embodiment, the first environmental information includes environmental light intensity information. Determining the first brightness adjustment information according to the first brightness information and the first environmental information in step S200 can also be determined by the following method:

[0109] Based on each first brightness information and each ambient light intensity information, a first brightness adjustment table is generated as first brightness adjustment information, and the first brightness adjustment table is used to characterize the relationship between the ambient light intensity range and the brightness.

[0110] In this embodiment, after obtaining a plurality of first brightness information and corresponding plurality of ambient light intensity information, based on each first brightness information and each ambient light intensity information, a first brightness adjustment table is generated as first brightness adjustment information. By automatically adjusting the brightness of the screen with the first brightness adjustment table, only the corresponding information in the table needs to be looked up to adjust the brightness of the screen, thereby reducing the complexity of screen brightness adjustment.

[0111] Exemplarily, in the above step, generating the first brightness adjustment table as the first brightness adjustment information based on each first brightness information and each ambient light intensity information may be taking each two adjacent ambient light intensity information as the ambient light intensity range, and taking the average value of the corresponding two first brightness information as the first brightness information in this ambient light intensity range.

[0112] In one embodiment, after determining the first brightness adjustment information according to the first brightness information and the first environment information in step S200, the screen brightness adjustment method further includes:

[0113] Adjust the brightness of the screen according to the first brightness adjustment information.

[0114] In this embodiment, when the brightness of the screen needs to be adjusted, the brightness of the screen is adjusted according to the first brightness adjustment information determined according to the user's habit. Since the first brightness adjustment information is determined based on the user's setting of the screen brightness in the first environment, adjusting the brightness of the screen with the first brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen. At the same time, since the brightness of the screen can make the user feel comfortable, the user does not need to change the automatically adjusted brightness, thereby improving the user experience.

[0115] Exemplarily, when the first environment information includes time information and / or application category, in the above step of adjusting the brightness of the screen according to the first brightness adjustment information, the brightness of the screen can be set to the first brightness adjustment information determined according to the time information and / or application category. For example, when the first environment information includes time information, at the target time information, determine the first brightness adjustment information according to the above formula and set the brightness of the screen to the first brightness adjustment information. When the first environment information includes the application category, at the target application category, determine the first brightness adjustment information according to the above method and set the brightness of the screen to the first brightness adjustment information. When the first environment information includes time information and application category, at the target time information and target application category, determine the first brightness adjustment information according to the above formula and set the brightness of the screen to the first brightness adjustment information.

[0116] Exemplarily, when the first environmental information includes environmental light intensity information, for adjusting the brightness of the screen according to the first brightness adjustment information in the above steps, the target environmental light intensity information of the environment where the device is located can be detected, the first target brightness information can be determined according to the target environmental light intensity information and the first brightness adjustment information, and the brightness of the screen can be set to the first target brightness information. When determining the first target brightness information according to the target environmental light intensity information and the first brightness adjustment information, the first target brightness information corresponding to the target environmental light intensity information can be determined in the first brightness adjustment curve or the first brightness adjustment table.

[0117] In one embodiment, before obtaining the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information in step S100, the screen brightness adjustment method further includes:

[0118] If the automatic brightness adjustment function is turned off, a prompt message is sent to the user, and the prompt message is used to prompt the user whether to turn on the automatic brightness adjustment function.

[0119] The obtaining of the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information in step S100 can also be determined in the following manner:

[0120] In response to the user's first operation on the prompt message, the first brightness information set by the user in different environments and the first environmental information corresponding to each first brightness information are obtained.

[0121] In this embodiment, when the automatic brightness adjustment function is turned off, the electronic device will send a prompt message to the user to prompt the user whether to turn on the automatic brightness adjustment function. In response to the user's first operation on the prompt message, the effect of automatic brightness adjustment cannot satisfy the user, and the user determines to cancel the automatic brightness adjustment function and cannot automatically adjust the brightness of the screen. The first brightness information set by the user in different environments and the first environmental information corresponding to the first brightness information are obtained to determine the user's brightness requirement in the first environment. By obtaining the first brightness information and the first environmental information when the effect of automatic brightness adjustment is poor, the first brightness adjustment information is determined to automatically adjust the brightness of the screen to conform to the user's habit, thereby improving the display effect of the screen.

[0122] Exemplarily, the prompt message can be to display on the screen whether to turn on the automatic brightness adjustment function, and display a consent button and a cancel button. Taking the user clicking the cancel button as the first operation and taking the user clicking the consent button as the second operation. The prompt message can also be to play a voice message through the voice module. Taking the user's response of cancel as the first operation and taking the user's response of consent as the second operation.

[0123] In one embodiment, if Figure 5 As shown, before sending the prompt information to the user in the above step, the screen brightness adjustment method also includes:

[0124] S300: Acquire second brightness information set by the user in different environments and second environment information corresponding to each second brightness information, where the second environment information is different from the first environment information.

[0125] S400: Determine second brightness adjustment information according to second brightness information and second environment information, where the second brightness adjustment information is used to adjust the brightness of the screen.

[0126] In this embodiment, before the prompt information is issued to the user, the second brightness information set by the user in different environments and the second environment information corresponding to the second brightness information are obtained to determine the user's demand for brightness in the second environment. According to the second brightness information and the second environment information, the second brightness adjustment information is determined to automatically adjust the brightness of the screen through the second brightness adjustment information. Since the second brightness adjustment information is determined based on the user's setting of the screen brightness in the second environment, it can be determined whether the automatic adjustment of the screen brightness by the second brightness adjustment information makes the user feel comfortable, thereby improving the effect of screen display. At the same time, since the second brightness adjustment information is determined before the prompt information is issued to the user, when the user feels uncomfortable with the automatic adjustment of the screen brightness by the second brightness information, the first operation is performed to avoid directly determining the first brightness adjustment information, thereby reducing the complexity of screen brightness adjustment. In addition, since the first environment information and the second environment information are different, the first brightness adjustment information and the second brightness adjustment information can adjust the brightness of the screen in different ways to meet the user's needs as much as possible, thereby improving the user's use experience.

[0127] Exemplarily, the second brightness information refers to the brightness information set on the screen when the user manually adjusts the brightness of the screen.

[0128] Exemplarily, in response to the user's first operation on the prompt information, the second brightness information, the second environmental information and the second brightness adjustment information are cleared to reduce the storage space of the electronic device occupied by the second brightness information, the second environmental information and the second brightness adjustment information, and to avoid interference with the first brightness adjustment information.

[0129] In one embodiment, the second brightness information set by the user in different environments and the second environment information corresponding to each second brightness information in step S300 may be determined in the following manner:

[0130] When the automatic brightness adjustment function is turned off, the second brightness information set by the user in different environments and the second environment information corresponding to each second brightness information are obtained.

[0131] In this embodiment, due to different habits of different users, some users turn off the automatic brightness adjustment function when they are used to manually adjusting the screen brightness. When the automatic brightness adjustment function is turned off, if the second brightness information set by the user on the screen is not obtained, it is impossible to determine the second brightness adjustment information according to the user's needs to automatically adjust the screen brightness. By obtaining the second brightness information set by the user when the automatic brightness adjustment function is turned off, it is possible to obtain the second brightness information that conforms to the user's habits to determine the second brightness adjustment information, thereby improving the reliability of screen brightness adjustment.

[0132] It can be understood that obtaining the second brightness information set by the user in different environments and the second environment information corresponding to each second brightness information in step S300 can also be performed when the automatic brightness adjustment function is turned on, which is not limited herein.

[0133] In one embodiment, the determining the second brightness adjustment information according to the second brightness information and the second environment information in step S400 can be determined by the following method:

[0134] When the number of second brightness information is greater than or equal to the second preset number, determine the second brightness adjustment information according to the second brightness information and the second environment information.

[0135] In this embodiment, before determining the second brightness adjustment information, first determine the number of second brightness information to determine whether the number of second brightness information is sufficient to determine the second brightness adjustment information. When the number of second brightness information is greater than or equal to the second preset number, the number of second brightness information is sufficient, and the second brightness adjustment information is determined according to the second brightness information and the second environment information. By determining the second brightness adjustment information when the number of second brightness information is sufficient, it is possible to avoid large deviations in the second brightness adjustment information due to a small number of second brightness information, thereby improving the reliability of screen brightness adjustment.

[0136] Exemplarily, the value range of the second preset number can be 100 - 5000. The value of the second preset number can be 500, 1000, 2000, etc.

[0137] In one embodiment, the second environment information includes environmental light intensity information. The determining the second brightness adjustment information according to the second brightness information and the second environment information in step S400 can also be determined by the following method:

[0138] Generate a second brightness adjustment curve as the second brightness adjustment information according to each second brightness information and each environmental light intensity information.

[0139] In this embodiment, after obtaining a plurality of second brightness information and corresponding plurality of ambient light intensity information, a second brightness adjustment curve is generated as second brightness adjustment information according to each second brightness information and each ambient light intensity information. By automatically adjusting the brightness of the screen with the second brightness adjustment curve, there is a corresponding brightness to smoothly adjust the brightness of the screen under different ambient light intensities, thereby improving the effect of screen brightness adjustment.

[0140] Exemplarily, in the above steps, generating a second brightness adjustment curve as second brightness adjustment information according to each second brightness information and each ambient light intensity information may be using the ambient light intensity information as the independent variable and the second brightness information as the dependent variable, and fitting the second brightness adjustment curve using a linear regression method.

[0141] In one embodiment, the second environmental information includes ambient light intensity information. Determining the second brightness adjustment information according to the second brightness information and the second environmental information in step S400 can also be determined in the following manner:

[0142] Generate a second brightness adjustment table as second brightness adjustment information according to each second brightness information and each ambient light intensity information, and the second brightness adjustment table is used to characterize the relationship between the ambient light intensity range and the brightness.

[0143] In this embodiment, after obtaining a plurality of second brightness information and corresponding plurality of ambient light intensity information, a second brightness adjustment table is generated as second brightness adjustment information according to each second brightness information and each ambient light intensity information. By automatically adjusting the brightness of the screen with the second brightness adjustment table, only the corresponding information in the table needs to be looked up to adjust the brightness of the screen, thereby reducing the complexity of screen brightness adjustment.

[0144] Exemplarily, in the above steps, generating a second brightness adjustment table as second brightness adjustment information according to each second brightness information and each ambient light intensity information may be taking each two adjacent ambient light intensity information as the ambient light intensity range, and taking the average value of the corresponding two second brightness information as the second brightness information in this ambient light intensity range.

[0145] In one embodiment, after sending a prompt message to the user in the above steps, the screen brightness adjustment method further includes:

[0146] In response to a second operation of the user on the prompt message, the automatic brightness adjustment function is enabled, and the brightness of the screen is automatically adjusted with the second brightness adjustment information.

[0147] In this embodiment, after determining the second brightness adjustment information, the electronic device will send a prompt message to notify the user that the second brightness adjustment information has been determined and ask whether to turn on the automatic brightness adjustment function. In response to the user's second operation on the prompt message, the user determines to turn on the automatic brightness adjustment function, and automatically adjusts the brightness of the screen according to the second brightness adjustment information. By sending a prompt message after the second adjustment information is determined, the user can be sure that the electronic device can automatically adjust the brightness of the screen according to their habits, thus improving the reliability of screen brightness adjustment. At the same time, by sending a prompt message to the user, it is avoided that the automatic brightness adjustment is forced and affects the user's use, thus improving the user experience.

[0148] In one embodiment, the second environmental information includes time information. For example Figure 6 As shown, according to the second brightness information and the second environmental information in step S400, determining the second brightness adjustment information can also be determined in the following manner:

[0149] S410. Determine the preset relationship between the preset time difference information and the preset weight information.

[0150] S420. Determine the second brightness adjustment information according to the second brightness information, the time information, and the preset relationship.

[0151] In this embodiment, since the user's requirements for the screen brightness are different at different times, the time information is used as the second environmental information to determine the second brightness adjustment information. Determine the preset relationship between the preset time difference information and the preset weight information to determine the weight information corresponding to each brightness information under different time difference information. According to the second brightness information, the time information, and the preset relationship, process the second brightness information with the weight information determined by the time information to determine the second brightness adjustment information. By processing the second brightness information according to the preset relationship to determine the second brightness adjustment information, the user will feel more comfortable when adjusting the brightness of the screen with the second brightness adjustment information, thus improving the display effect of the screen.

[0152] In one embodiment, for example Figure 7 As shown, according to the second brightness information, the time information, and the preset relationship in step S420, determining the second brightness adjustment information can be determined in the following manner:

[0153] S421. Determine the time difference information between each time information and the target time information.

[0154] S422. Determine each weight information corresponding to each time difference information according to the preset relationship.

[0155] S423. Weight and average the corresponding second brightness information with each weight information to obtain the second brightness adjustment information.

[0156] In this embodiment, the time difference information between each time information and the target time information is determined to determine the degree of difference between each time information and the target time information. According to the preset relationship between the preset time difference information and the preset weight information, the respective weight information corresponding to each time difference information is determined. The respective second brightness information is weighted and averaged with each weight information, and the respective second brightness information is allocated with the corresponding weight information to obtain the second brightness adjustment information, and the brightness of the screen is adjusted with the second brightness adjustment information. Since the second brightness adjustment information includes the second brightness information set by the user at different times, and the respective second brightness information is weighted according to the distance from the target time information, the second brightness adjustment information can reflect the user's habits and reduce the error of brightness adjustment to improve the display effect of the screen.

[0157] Exemplarily, steps S421 to S423 can be implemented in the same manner as steps S221 to S223, and only the first brightness information needs to be replaced with the second brightness information, which will not be elaborated here.

[0158] In one embodiment, the second environmental information further includes the application category. The time difference information between each time information and the target time information in step S421 is determined by the following method:

[0159] Determine the target application category to which the application running at the target time information belongs.

[0160] Determine the time difference information between each time information in the target application category and the target time information.

[0161] The weighted average of the respective second brightness information with each weight information in step S423 to obtain the second brightness adjustment information is determined by the following method:

[0162] The respective second brightness information corresponding in the target application category is weighted and averaged with each weight information to obtain the second brightness adjustment information.

[0163] In this embodiment, since the user's requirements for the screen brightness are different under different applications, the time information and the application information are used as the second environmental information to determine the second brightness adjustment information. Determine the target application category to which the application running at the target time belongs, and perform a weighted average on the respective second brightness information in the target application category. The obtained second brightness adjustment information can reflect the user's requirements at the target time and in the target application category. By performing a weighted average on the respective second brightness information in the target application category to obtain the second brightness adjustment information, and adjusting the brightness of the screen with the second brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen.

[0164] Exemplarily, determining the second brightness adjustment information according to the second brightness information and the second environmental information in step S400 can also be determined in the following manner:

[0165] When the number of second brightness information of each application category within different time ranges is greater than or equal to a third preset number, determine the second brightness adjustment information according to the second brightness information and the second environmental information.

[0166] In this embodiment, before determining the second brightness adjustment information, first determine the number of second brightness information within different time ranges for each application category to determine whether the number of second brightness information is sufficient to determine the second brightness adjustment information. When the number of second brightness information is greater than or equal to the third preset number, the number of second brightness information is sufficient, and the second brightness adjustment information is determined according to the second brightness information and the second environmental information. By determining the second brightness adjustment information when the number of second brightness information is sufficient, it is possible to avoid large deviations in the second brightness adjustment information caused by a small number of second brightness information, thereby improving the reliability of screen brightness adjustment.

[0167] Exemplarily, the value range of the third preset number can be 50 to 1000. The value of the third preset number can be 100, 300, 500, etc.

[0168] Exemplarily, the second environmental information can also only include the application category. Determining the second brightness adjustment information according to the second brightness information and the second environmental information in step S400 can also be determined in the following manner:

[0169] Determine the target application category where the running application is located.

[0170] Take the average value of each second brightness information in the target application category as the second brightness adjustment information.

[0171] Exemplarily, when the second environmental information includes environmental light intensity information, for the automatic adjustment of the screen brightness with the second brightness adjustment information in the above steps, the target environmental light intensity information of the current environment can be detected, and the second target brightness information is determined according to the target environmental light intensity information and the second brightness adjustment information, and the brightness of the screen is set to the second target brightness information. When determining the second target brightness information according to the target environmental light intensity information and the second brightness adjustment information, the second target brightness information corresponding to the target environmental light intensity information can be determined in the second brightness adjustment curve or the second brightness adjustment table.

[0172] Exemplarily, when the second environmental information includes time information and / or application category, automatically adjusting the brightness of the screen with the second brightness adjustment information in the above steps can set the brightness of the screen to the second brightness adjustment information determined according to the time information and / or application category. For example, when the second environmental information includes time information, at the target time information, determine the second brightness adjustment information according to the above formula and set the brightness of the screen to the second brightness adjustment information. When the second environmental information includes application category, at the target application category, determine the second brightness adjustment information according to the above method and set the brightness of the screen to the second brightness adjustment information. When the second environmental information includes time information and application category, at the target time information and target application category, determine the second brightness adjustment information according to the above formula and set the brightness of the screen to the second brightness adjustment information.

[0173] Embodiments of the present disclosure provide a method for adjusting the brightness of a screen, as Figure 8 shown, the method includes:

[0174] S500. When the automatic brightness adjustment function is turned off, obtain the second brightness information set by the user in different environments and the environmental light intensity information corresponding to each second brightness information.

[0175] S510. Generate a second brightness adjustment curve as the second brightness adjustment information according to each second brightness information and each environmental light intensity information.

[0176] S520. Send a prompt message to the user.

[0177] S530. In response to the second operation of the user for the prompt message, turn on the automatic brightness adjustment function and automatically adjust the brightness of the screen with the second brightness adjustment information.

[0178] S540. In response to the first operation of the user for the prompt message, obtain the first brightness information set by the user in different environments and the time information and application category corresponding to each first brightness information.

[0179] S550. Determine the preset relationship between the preset time difference information and the preset weight information.

[0180] S560. Determine the target application category to which the application running at the target time information belongs.

[0181] S570. Determine the time difference information between each time information in the target application category and the target time information.

[0182] S580. Determine the respective weight information corresponding to each time difference information according to the preset relationship.

[0183] S590. Weight-average each corresponding first brightness information in the target application category with each weight information to obtain first brightness adjustment information.

[0184] S600. Adjust the brightness of the screen with the first brightness adjustment information.

[0185] In this embodiment, the second brightness information set by the user in different environments and the second environment information corresponding to the second brightness information are obtained, and a corresponding second brightness adjustment curve is generated to automatically adjust the brightness of the screen smoothly. A prompt message is sent to the user to prompt whether to turn on the automatic brightness adjustment function. In response to the second operation of the user for the prompt message, the automatic brightness adjustment function is turned on, and the brightness of the screen is automatically adjusted with the second brightness adjustment information. In response to the first operation of the user for the prompt message, the first brightness information set by the user in different environments and the time information and application category corresponding to the first brightness information are obtained. According to the target time information, each time information, and the preset relationship, each weight information corresponding to each time difference information is determined. Weight-average each first brightness information under the target application category with each weight information to obtain first brightness adjustment information, and adjust the brightness of the screen with the first brightness adjustment information. Since the first brightness adjustment information is determined based on the user's setting of the screen brightness in the first environment, automatically adjusting the brightness of the screen with the first brightness adjustment information can make the user feel comfortable, thereby improving the display effect of the screen. At the same time, since the first brightness adjustment information is obtained by weight-averaging each first brightness information under the target application category, adjusting the brightness of the screen with the first brightness adjustment information can make the user feel more comfortable, thereby improving the display effect of the screen.

[0186] In an exemplary embodiment, a screen brightness adjustment device is provided, and this screen brightness adjustment device is used to implement the above method. Refer to Figure 9 As shown, this screen brightness adjustment device may include a first acquisition module 100 and a first determination module 200. Among them, in the process of implementing the above method,

[0187] The first acquisition module 100 is configured to obtain the first brightness information set by the user in different environments and the first environment information corresponding to each first brightness information.

[0188] The first determination module 200 is configured to determine the first brightness adjustment information according to the first brightness information and the first environment information.

[0189] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the first acquisition module 100 is configured to:

[0190] When the automatic brightness adjustment function is turned off, obtain the first brightness information set by the user in different environments and the first environment information corresponding to each first brightness information.

[0191] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the first determination module 200 is configured to:

[0192] Determine a preset relationship between the preset time difference information and the preset weight information.

[0193] Determine the first brightness adjustment information according to the first brightness information, the time information, and the preset relationship.

[0194] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the first determination module 200 is configured to:

[0195] Determine the time difference information between each time information and the target time information.

[0196] Determine the respective weight information corresponding to each time difference information according to the preset relationship.

[0197] Perform weighted averaging on the corresponding first brightness information with each weight information to obtain the first brightness adjustment information.

[0198] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the first determination module 200 is configured to:

[0199] Determine the target application category to which the application running at the target time information belongs.

[0200] Determine the time difference information between each time information in the target application category and the target time information.

[0201] Perform weighted averaging on the corresponding first brightness information in the target application category with each weight information to obtain the first brightness adjustment information.

[0202] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the first determination module 200 is configured to:

[0203] When the number of first brightness information in each application category within different time ranges is greater than or equal to the first preset number, determine the first brightness adjustment information according to the first brightness information and the first environment information.

[0204] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the first determination module 200 is configured to:

[0205] Generate a first brightness adjustment curve as first brightness adjustment information according to each piece of first brightness information and each piece of ambient light intensity information.

[0206] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a first determination module 200 is configured to:

[0207] Generate a first brightness adjustment table as first brightness adjustment information according to each piece of first brightness information and each piece of ambient light intensity information.

[0208] In an exemplary embodiment, a screen brightness adjustment device is provided, and the device further includes:

[0209] An adjustment module configured to adjust the brightness of the screen according to the first brightness adjustment information.

[0210] In an exemplary embodiment, a screen brightness adjustment device is provided, and the device further includes:

[0211] A prompt module configured to send a prompt message to the user if the automatic brightness adjustment function is turned off.

[0212] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a first acquisition module 100 is configured to:

[0213] In response to a first operation of the user on the prompt message, acquire the first brightness information set by the user in different environments and the first environment information corresponding to each piece of first brightness information.

[0214] In an exemplary embodiment, a screen brightness adjustment device is provided, and the device further includes:

[0215] A second acquisition module configured to acquire the second brightness information set by the user in different environments and the second environment information corresponding to each piece of second brightness information.

[0216] A second determination module configured to determine second brightness adjustment information according to the second brightness information and the second environment information.

[0217] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the second determination module is configured to:

[0218] When the automatic brightness adjustment function is turned off, acquire the second brightness information set by the user in different environments and the second environment information corresponding to each piece of second brightness information.

[0219] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, the second determination module is configured to:

[0220] When the number of pieces of second brightness information is greater than or equal to a second preset number, determine second brightness adjustment information according to the second brightness information and second environmental information.

[0221] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a second determination module is configured to:

[0222] Generate a second brightness adjustment curve as the second brightness adjustment information according to each piece of second brightness information and each environmental light intensity information.

[0223] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a second determination module is configured to:

[0224] Generate a second brightness adjustment table as the second brightness adjustment information according to each piece of second brightness information and each environmental light intensity information.

[0225] In an exemplary embodiment, a screen brightness adjustment device is provided, and the device further includes:

[0226] An activation module is configured to, in response to a second operation of the user on the prompt information, activate the automatic brightness adjustment function and automatically adjust the brightness of the screen with the second brightness adjustment information.

[0227] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a second determination module is configured to:

[0228] Determine a preset relationship between preset time difference information and preset weight information.

[0229] Determine the second brightness adjustment information according to the second brightness information, time information, and the preset relationship.

[0230] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a second determination module is configured to:

[0231] Determine the time difference information between each piece of time information and target time information.

[0232] Determine each weight information corresponding to each time difference information according to the preset relationship.

[0233] Perform weighted averaging on the corresponding pieces of second brightness information with each weight information to obtain the second brightness adjustment information.

[0234] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a second determination module is configured to:

[0235] Determine the target application category to which the application running under the target time information belongs.

[0236] Determine the time difference information between each time information in the target application category and the target time information.

[0237] Perform weighted averaging on the corresponding second brightness information in the target application category with each weight information to obtain the second brightness adjustment information.

[0238] In an exemplary embodiment, a screen brightness adjustment device is provided. In this device, a second determination module is configured to:

[0239] When the number of second brightness information of each application category within different time ranges is greater than or equal to a third preset number, determine the second brightness adjustment information according to the second brightness information and the second environmental information.

[0240] In an exemplary embodiment, an electronic device is provided. The electronic device can be, for example, a mobile phone, a laptop computer, a tablet computer, a wearable device, etc.

[0241] Reference Figure 10 As shown, the electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.

[0242] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0243] The memory 404 is configured to store various types of data to support the operation of the electronic device 400. Examples of these data include instructions for any application program or method for operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage terminal 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, a magnetic disk, or an optical disc.

[0244] The power supply component 406 provides power for various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 400.

[0245] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 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 can 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 sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module can receive external multimedia data. Each of the front camera module and the rear camera module can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0246] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 further includes a speaker for outputting audio signals.

[0247] The I / O interface 412 provides an interface between the processing component 402 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a start button, and a lock button.

[0248] The sensor assembly 414 includes one or more sensors for providing a status assessment of various aspects of the electronic device 400. For example, the sensor assembly 414 can detect the on / off state of the electronic device 400, the relative positioning of components, such as components for the display and keypad of the electronic device 400. The sensor assembly 414 can also detect a change in the position of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and a change in the temperature of the electronic device 400. The sensor assembly 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0249] The communication component 416 is configured to facilitate communication between the electronic device 400 and other terminals in a wired or wireless manner. The electronic device 400 can access a wireless network based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 416 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 416 further 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.

[0250] In an exemplary embodiment, the electronic device 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described methods.

[0251] In an exemplary embodiment, a computer-readable storage medium including instructions, such as the memory 404 including instructions, is also provided. The above instructions can be executed by the processor 420 of the electronic device 400 to complete the above methods. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage terminal, etc. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to execute the methods shown in the above embodiments.

[0252] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.

[0253] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0254] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A method for adjusting screen brightness, characterized in that, The screen brightness adjustment method includes: Obtaining first brightness information set by a user in different environments and first environment information corresponding to each of the first brightness information; Determining first brightness adjustment information according to the first brightness information and the first environment information, where the first brightness adjustment information is used to adjust the brightness of the screen.

2. The screen brightness adjustment method according to claim 1, wherein The first environment information includes time information; determining the first brightness adjustment information according to the first brightness information and the first environment information includes: Determining a preset relationship between preset time difference information and preset weight information; Determining the first brightness adjustment information according to the first brightness information, the time information, and the preset relationship.

3. The screen brightness adjustment method according to claim 2, wherein Determining the first brightness adjustment information according to the first brightness information, the time information, and the preset relationship includes: Determining time difference information between each of the time information and target time information; Determining respective weight information corresponding to each of the time difference information according to the preset relationship; Performing weighted averaging on the corresponding first brightness information with each of the weight information to obtain the first brightness adjustment information.

4. The screen brightness adjustment method according to claim 3, wherein The first environment information further includes an application category; determining the time difference information between each of the time information and the target time information includes: Determining a target application category to which an application running at the target time information belongs; Determining time difference information between each of the time information in the target application category and the target time information; Performing weighted averaging on the corresponding first brightness information with each of the weight information to obtain the first brightness adjustment information includes: Performing weighted averaging on the corresponding first brightness information in the target application category with each of the weight information to obtain the first brightness adjustment information.

5. The screen brightness adjustment method according to claim 4, wherein Determining the first brightness adjustment information according to the first brightness information and the first environment information includes: When the number of first brightness information in each application category within different time ranges is greater than or equal to a first preset number, determining the first brightness adjustment information according to the first brightness information and the first environment information.

6. The screen brightness adjustment method according to claim 1, wherein After determining the first brightness adjustment information according to the first brightness information and the first environment information, the screen brightness adjustment method further includes: Adjusting the brightness of the screen according to the first brightness adjustment information.

7. The screen brightness adjustment method according to any one of claims 1 to 6, characterized in that, Before obtaining the first brightness information set by the user in different environments and the first environment information corresponding to each of the first brightness information, the screen brightness adjustment method further includes: If the automatic brightness adjustment function is turned off, sending a prompt message to the user, where the prompt message is used to prompt the user whether to turn on the automatic brightness adjustment function; Obtaining the first brightness information set by the user in different environments and the first environment information corresponding to each of the first brightness information includes: In response to a first operation of the user on the prompt message, obtaining the first brightness information set by the user in different environments and the first environment information corresponding to each of the first brightness information.

8. The screen brightness adjustment method according to claim 7, wherein Before sending the prompt message to the user, the screen brightness adjustment method further includes: Obtain the second brightness information set by the user in different environments and the second environment information corresponding to each of the second brightness information, where the second environment information is different from the first environment information; Determine second brightness adjustment information according to the second brightness information and the second environment information, where the second brightness adjustment information is used to adjust the brightness of the screen.

9. The screen brightness adjustment method according to claim 8, wherein The second environment information includes environmental light intensity information; the determining the second brightness adjustment information according to the second brightness information and the second environment information includes: Generate a second brightness adjustment curve as the second brightness adjustment information according to each of the second brightness information and each of the environmental light intensity information; or, Generate a second brightness adjustment table as the second brightness adjustment information according to each of the second brightness information and each of the environmental light intensity information, where the second brightness adjustment table is used to characterize the relationship between the environmental light intensity range and the brightness.

10. The screen brightness adjustment method according to claim 8, characterized in that, After sending the prompt information to the user, the screen brightness adjustment method further includes: In response to a second operation of the user on the prompt information, turn on the automatic brightness adjustment function and automatically adjust the brightness of the screen with the second brightness adjustment information.

11. The screen brightness adjustment method according to claim 8, characterized in that, The determining the second brightness adjustment information according to the second brightness information and the second environment information includes: When the number of the second brightness information is greater than or equal to a second preset number, determine the second brightness adjustment information according to the second brightness information and the second environment information.

12. The screen brightness adjustment method according to claim 8, wherein The obtaining the second brightness information set by the user in different environments and the second environment information corresponding to each of the second brightness information includes: When the automatic brightness adjustment function is turned off, obtain the second brightness information set by the user in different environments and the second environment information corresponding to each of the second brightness information.

13. A screen brightness adjustment device, characterized in that, The screen brightness adjustment device includes: A first obtaining module configured to obtain first brightness information set by the user in different environments and first environment information corresponding to each of the first brightness information; A first determining module configured to determine first brightness adjustment information according to the first brightness information and the first environment information, where the first brightness adjustment information is used to adjust the brightness of the screen.

14. An electronic device, characterized in that, Includes: At least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method described in any one of claims 1-12 is implemented.

15. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, the method described in any one of claims 1-12 is implemented.