A screen brightness adjusting method, device and electronic equipment

By recording brightness adjustment parameters in electronic devices, learning user habits and building a habit database, the problem of inconsistent screen brightness adjustment needs among different users is solved, enabling personalized screen brightness adjustment and improving user experience.

CN115132149BActive Publication Date: 2026-01-20BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110315566.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-24
Publication Date
2026-01-20
Estimated Expiration
2041-03-24

AI Technical Summary

Technical Problem

In the existing technology, electronic devices cannot meet the personalized needs of different users when adjusting screen brightness, leading to visual fatigue problems.

Method used

By recording brightness adjustment parameters within a preset recording period, the system learns user habits, builds a habit database, and performs personalized screen brightness adjustments during screen-on operations based on this database.

Benefits of technology

It enables differentiated screen brightness adjustment based on user habits, improving adjustment accuracy and enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115132149B_ABST
    Figure CN115132149B_ABST
Patent Text Reader

Abstract

The present disclosure provides a screen brightness adjustment method, device and electronic equipment. The screen brightness adjustment method provided by the present disclosure is applied to an electronic equipment, and the method comprises: recording the value of a brightness adjustment parameter corresponding to a preset recording period within the preset recording period; learning the use habit of a user for a screen based on the value of the brightness adjustment parameter to obtain a habit database; wherein the habit database comprises a habit value of the brightness adjustment parameter corresponding to different specified time points within a preset habit period; and in response to a screen-on operation, performing screen brightness adjustment based on the habit value of the brightness adjustment parameter corresponding to a target time point matched with a current time point in the habit database. The screen brightness adjustment method, device and electronic equipment provided by the present disclosure can perform screen brightness adjustment based on the learned user habit, can meet the differentiated screen brightness adjustment needs of different users, improve the adjustment accuracy, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of electronic devices, and particularly relates to a screen brightness adjustment method and device and an electronic device. BACKGROUND

[0002] At present, electronic devices such as smart phones, tablet computers, and e-book readers have become indispensable tools for users. However, when using electronic devices, users may feel visual fatigue due to excessively bright or dark screen brightness. Therefore, in order to alleviate the visual fatigue of users, it is necessary to adjust the screen brightness of the screen.

[0003] At present, electronic devices all support automatic adjustment of screen brightness. Specifically, the light sensor is used to sense the ambient brightness, and then the screen brightness is determined based on the ambient brightness according to a predetermined rule (for example, based on a predetermined corresponding relationship between the ambient brightness and the screen brightness).

[0004] However, the above scheme adjusts the screen brightness to be the same for different users in the same environment. However, different users have different perceptions of screen brightness. For example, in the same environment, some users prefer to adjust the screen to be brighter, and some users prefer to adjust the screen to be darker. If the above scheme is used for adjustment, the viewing needs of different users cannot be met. SUMMARY

[0005] The present disclosure provides a screen brightness adjustment method, device, and electronic device to solve the problems in the related art.

[0006] According to a first aspect of an embodiment of the present disclosure, a screen brightness adjustment method is provided. The method is applied to an electronic device, and the method comprises:

[0007] In a preset recording period, the value of a brightness adjustment parameter corresponding to the preset recording period is recorded;

[0008] Based on the value of the brightness adjustment parameter, the use habits of a user for the screen are learned to obtain a habit database. The habit database comprises habit values of the brightness adjustment parameter corresponding to different specified time points in a preset habit period.

[0009] In response to a screen-on operation, the screen brightness is adjusted based on the habit value of the brightness adjustment parameter corresponding to a target time point matched with the current time point in the habit database.

[0010] According to a second aspect of an embodiment of the present disclosure, a screen brightness adjustment device is provided. The device is applied to an electronic device, and the device comprises a recording module, a learning module, and a processing module, wherein:

[0011] The recording module is configured to record a value of the luminance adjustment parameter corresponding to the preset recording period within the preset recording period.

[0012] The learning module is configured to learn a use habit of the user for the screen based on the value of the luminance adjustment parameter, and obtain a habit database; the habit database includes habit values of the luminance adjustment parameter corresponding to different specified time points within a preset habit period.

[0013] The processing module is configured to perform screen luminance adjustment based on a habit value of the luminance adjustment parameter corresponding to a target time point matched with a current time point in the habit database in response to a screen-on operation.

[0014] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including:

[0015] a processor;

[0016] a memory for storing processor-executable instructions;

[0017] The processor is configured to implement any of the methods provided in the first aspect of the present disclosure.

[0018] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, and the program is executed by a processor to implement any of the methods provided in the first aspect of the present disclosure.

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

[0020] As can be seen from the above embodiments, the screen luminance adjustment method, device and electronic device provided by the present disclosure record a value of the luminance adjustment parameter corresponding to the preset recording period within the preset recording period, and then learn a use habit of the user for the screen at different specified time points within a preset habit period based on the value of the luminance adjustment parameter, to obtain a habit database, and then perform screen luminance adjustment based on a habit value of the luminance adjustment parameter corresponding to a target time point matched with a current time point in the habit database in response to a screen-on operation. In this way, screen luminance adjustment can be performed based on the learned user habit, different adjustment schemes are provided for different users, the differentiated adjustment needs of different users are met, the adjustment precision is improved, and the user experience is improved.

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

[0022] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles of the present disclosure.

[0023] Figure 1 A flow chart of a screen brightness adjustment method according to an exemplary embodiment of the present disclosure is shown in the following figure.

[0024] Figure 2 A flow chart of another screen brightness adjustment method according to an exemplary embodiment of the present disclosure is shown in the following figure.

[0025] Figure 3 A flow chart of yet another screen brightness adjustment method according to an exemplary embodiment of the present disclosure is shown in the following figure.

[0026] Figure 4 A flow chart of yet another screen brightness adjustment method according to an exemplary embodiment of the present disclosure is shown in the following figure.

[0027] Figure 5 A structural schematic diagram of a screen brightness adjustment device according to an exemplary embodiment of the present disclosure is shown in the following figure.

[0028] Figure 6 A structural schematic diagram of another screen brightness adjustment device according to an exemplary embodiment of the present disclosure is shown in the following figure.

[0029] Figure 7 A structural schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown in the following figure. DETAILED DESCRIPTION

[0030] The exemplary embodiments will be described in detail herein with reference to the attached drawings. When the description below refers to accompanying drawings, unless otherwise noted, the same numbers in different drawings refer to the same or similar elements. The following exemplary embodiments described in the following description are not meant to be limiting of the present disclosure. Rather, they are example means for carrying out aspects of the present disclosure as described in the appended claims.

[0031] The present disclosure provides a screen brightness adjustment method, device and electronic device to meet the different screen brightness adjustment needs of different users.

[0032] The screen brightness adjustment method and device provided by the present disclosure are applied to an electronic device, which can be a mobile phone, a PAD, etc. In the present disclosure, the electronic device is not limited.

[0033] The screen brightness adjustment method, device and electronic device provided by the present disclosure can record the value of the brightness adjustment parameter corresponding to a preset recording period, learn the use habit of the user for the screen at different specified time points in a preset habit period based on the value of the brightness adjustment parameter, obtain a habit database, and adjust the screen brightness based on the habit value of the brightness adjustment parameter corresponding to the target time point matched with the current time point in the habit database in response to a screen-on operation. In this way, the screen brightness can be adjusted based on the learned user habit, different adjustment schemes are provided for different users, the differentiated adjustment needs of different users are met, the adjustment accuracy is improved, and the user experience is improved.

[0034] Figure 1 A flowchart of a screen brightness adjustment method according to an example embodiment of the present disclosure is shown. Please refer to Figure 1 The method provided by the present embodiment can include:

[0035] S101, record the value of the brightness adjustment parameter corresponding to a preset recording period in the preset recording period.

[0036] Specifically, the preset recording period is set according to actual needs, and in the present embodiment, the specific value of the preset recording period is not limited. For example, in an embodiment, the preset recording period can be 1 hour, 0.5 hour, etc. The following takes 1 hour as the preset recording period for example.

[0037] It should be noted that the value of the brightness adjustment parameter corresponding to the preset recording period refers to the brightness adjustment parameter of the electronic device when the electronic device first meets the specified condition in the preset recording period. The specified condition is that the screen-on duration of the electronic device exceeds a preset duration (it should be noted that the preset duration is set according to actual needs, and in the present embodiment, the specific value thereof is not limited. For example, in an embodiment, the preset duration can be 20s).

[0038] In combination with the above example, for example, when 1 hour is taken as the preset recording period, at each whole point time, the preset recording period arrives, at this time, the value of the brightness adjustment parameter corresponding to the preset recording period can be recorded as the brightness adjustment parameter corresponding to each whole point time, and the value of the brightness adjustment parameter corresponding to the preset recording period refers to the brightness adjustment parameter of the electronic device when the screen-on duration of the electronic device first exceeds 20s in 1 hour.

[0039] It should be noted that if the electronic device has not been turned on at all in a preset recording period, the value of the brightness adjustment parameter corresponding to the preset recording period is recorded as 0.

[0040] Further, in a possible implementation of the present disclosure, the brightness adjustment parameter can include a calculated screen brightness calculated based on an ambient light brightness of an environment where the device is located and a real screen brightness of the device.

[0041] In another possible implementation of the present disclosure, the brightness adjustment parameter can include an ambient light brightness of an environment where the device is located and a real screen brightness of the device.

[0042] Further, the calculated screen brightness calculated based on the ambient light brightness of the environment where the device is located can be a screen brightness calculated based on the ambient light brightness and a predetermined rule (for example, the predetermined rule can be a corresponding relationship between the ambient light brightness and the screen brightness). In addition, the calculated screen brightness can be obtained from the light sensor.

[0043] S102, based on the value of the brightness adjustment parameter, learning the use habit of the user for the screen to obtain a habit database; wherein the habit database includes the habit value of the brightness adjustment parameter corresponding to different specified time in a preset habit period.

[0044] In a specific implementation, the use habit of the user for the screen at different specified time in a preset habit period can be learned based on a plurality of records to obtain the habit database.

[0045] It should be noted that the preset habit period is set according to actual needs, and in the embodiment, the specific value is not limited. For example, in an embodiment, the preset habit period can be one day or one week. The following takes one week as an example for description.

[0046] In addition, the specified time is set according to actual needs. For example, in an embodiment, the specified time can be each whole point time in the preset habit period.

[0047] In a specific implementation, the use habit of the user for the screen can be learned based on a preset learning period. The preset learning period is set according to actual needs, and in the embodiment, it is not limited. For example, in an embodiment, the preset learning period can be one day. Of course, in another embodiment, the preset learning period can be equal to the preset habit period.

[0048] Specifically, the records in the last preset habit period can be obtained from the previous records, and the records corresponding to each specified time are extracted from the obtained records, so as to construct the habit database based on the extracted records.

[0049] For example, in an embodiment, the preset habit period is one week, the specified time is each hour of the day, and the preset recording period is also one hour. Thus, in the last week, the electronic device records the brightness adjustment parameters corresponding to each hour of the day. At this time, the records of the last week can be directly obtained, and then the habit database is constructed based on the obtained records. For example, refer to Table 1, which is a habit database shown in an exemplary embodiment (wherein L1 in Table 1 refers to the calculated screen brightness, and L2 refers to the actual screen brightness):

[0050] Table 1 Habit database

[0051]

[0052] S103, in response to the screen-on operation, performing screen brightness adjustment based on the habit value of the brightness adjustment parameter corresponding to the target time matching the current time in the habit database.

[0053] It should be noted that the current time can include a date attribute (used to represent which day of the year the time is), a week attribute (used to represent which day of the week the time is), and a clock attribute (used to represent which time of the day the time is). For example, the current time is February 24, 2020, 9:35. At this time, the date attribute corresponding to the time is February 24, 2020, the week attribute is Wednesday, and the clock attribute is 9:35.

[0054] For example, in the above example, when the preset habit period is one day, the specified time includes each hour of the day, that is, the specified time only includes the clock attribute (for example, the specified time is 0:00, 23:00, etc.), and in this step, the target time matching the clock attribute corresponding to the current time is searched from the habit database (it can be understood that the habit database includes 24 records). For example, in the above example, the current time is February 24, 2020, 9:35, and at this time, the target time matching 9:35 is searched from the habit database. For example, the target time can be 9:00.

[0055] Further, when the preset habit period is one week, the specified time includes each hour of the day (it can be understood that at this time, the habit database includes 168 (186 = 24*7) records). Refer to Table 1, the specified time includes the week attribute and the clock attribute (for example, a specified time is Monday 9:00), and at this time, multiple candidate times (24 candidate times) matching the week attribute corresponding to the current time can be searched from the habit database, and then the target time matching the clock attribute corresponding to the current time is searched from the multiple candidate times.

[0056] With the above example, the current time is February 24, 2020, 9:35, at this time, first find a plurality of candidate time points corresponding to Wednesday (24 candidate time points) from the habit database, and then find the target time point matching 9:35. For example, the target time point can be 9:00 on Wednesday.

[0057] It should be noted that when the specified time point is an hour time point, when matching based on the clock attribute, the hour attribute of the clock attribute corresponding to the current time point (one clock attribute includes hour attribute, minute attribute and second attribute, etc. For example, the clock attribute 15:35:20 corresponds to the hour attribute 15, the minute attribute is 35 minutes, and the second attribute is 20 seconds) is determined as the matching hour time point. For example, the hour time point matching 9:15 is 9:00, and the hour time point matching 10:50 is 10:00.

[0058] The specific implementation process of this step will be described in detail in the following specific embodiments, which will not be repeated here.

[0059] The method provided in this embodiment is to record the value of the brightness adjustment parameter corresponding to the preset recording period, and then learn the user's use habit for the screen at different specified time points in a preset habit period based on the value of the brightness adjustment parameter, obtain a habit database, and then respond to the screen-on operation. The habit value of the brightness adjustment parameter corresponding to the target time point matching the current time in the habit database is used for screen brightness adjustment. In this way, the screen brightness can be adjusted based on the learned user habit, different adjustment schemes can be provided for different users, the differentiated adjustment needs of different users can be met, the adjustment accuracy can be improved, and the user experience can be improved.

[0060] Figure 2 Another flowchart of a screen brightness adjustment method according to an example embodiment of the present disclosure is shown. Referring to Figure 2 The method provided in this embodiment is based on the above embodiment, and step S102 can include:

[0061] S201, for each specified time point in the preset habit period, based on the value of the brightness adjustment parameter corresponding to the specified time point in the recent several preset habit periods, calculate the average value of the brightness adjustment parameter corresponding to the specified time point, and take the average value as the habit value of the brightness adjustment parameter corresponding to the specified time point.

[0062] S202, constructing the habit database by using the habit value of the brightness adjustment parameter corresponding to each specified time point.

[0063] In a specific implementation, the average value of the brightness adjustment parameter corresponding to the specified time can be calculated based on the values of the brightness adjustment parameter corresponding to the specified time in the last N preset habit periods, and the average value can be taken as the habit value of the brightness adjustment parameter corresponding to the specified time. The N is a preset value, which is not limited in the present disclosure. For example, in an embodiment, the N can be 5.

[0064] The specific implementation process of the step will be described in detail below by taking a week as the preset habit period and an hour as the specified time.

[0065] Referring to Table 1, for example, for a specified time in a preset habit period, for example, the specified time is 9:00 on Monday, at this time, the average value of the brightness adjustment parameter corresponding to 9:00 on Monday can be calculated based on the values of the brightness adjustment parameter corresponding to 9:00 on Monday in the last 5 weeks, and then the calculated average value can be taken as the habit value of the brightness adjustment parameter corresponding to the specified time.

[0066] The habit value of the calculated screen brightness corresponding to 9:00 on Monday will be described below as an example. For example, the values of the calculated screen brightness corresponding to 9:00 on Monday in the last 5 weeks are as follows: in the first week, the value of the calculated screen brightness corresponding to 9:00 on Monday is 2000; in the second week, the value of the calculated screen brightness corresponding to 9:00 on Monday is 2000; in the third week, the value of the brightness adjustment parameter corresponding to 9:00 on Monday is 2000; in the fourth week, the value of the calculated screen brightness corresponding to 9:00 on Monday is 2000; and in the fifth week, the value of the calculated screen brightness corresponding to 9:00 on Monday is 2000.

[0067] At this time, the average value of the calculated screen brightness corresponding to 9:00 on Monday is 2000, and further, the habit value of the calculated screen brightness corresponding to 9:00 on Monday is determined to be 2000.

[0068] It should be noted that when calculating the average value, data that is more than 20% different from other data (data that is more than 20% different from other data can be caused by user's misadjustment) needs to be removed to accurately determine the habit value.

[0069] As described above, the habit value of the brightness adjustment parameter corresponding to each specified time in a preset habit period can be calculated, and then the habit database can be constructed by using the habit values of the brightness adjustment parameters corresponding to the respective specified times.

[0070] The embodiment provides a method for learning user usage habits, through which the usage habits of a user at different specified moments in a preset habit period can be accurately learned, and then screen brightness adjustment is performed based on the learned habit database, so that a personalized screen brightness adjustment scheme can be provided, different needs of different users can be met, adjustment accuracy is improved, and user experience is improved.

[0071] Figure 3 FIG. 4 is a flowchart of another screen brightness adjustment method according to an example embodiment of the present disclosure. Figure 3 The method provided by the embodiment includes the following steps.

[0072] S301, when the first habit value of the calculated screen brightness corresponding to the target moment is consistent with the second habit value of the real screen brightness corresponding to the target moment, screen brightness adjustment is performed according to the candidate screen brightness, wherein the candidate screen brightness is a screen brightness calculated based on the ambient light brightness at the current moment.

[0073] For example, when the target moment is 9:00 on Wednesday, the first habit value of the calculated screen brightness corresponding to the target moment is 2000, and the second habit value of the real screen brightness corresponding to the target moment is 2000, which are consistent with each other, and the screen brightness calculated based on the ambient light brightness at the current moment is used for adjustment.

[0074] S302, when the first habit value and the second habit value are inconsistent, the candidate screen brightness and the first habit value are compared, and screen brightness adjustment is performed based on the comparison result.

[0075] For example, when the target moment is 22:00 on Monday, the first habit value of the calculated screen brightness corresponding to the target moment is 1000, and the second habit value of the real screen brightness corresponding to the target moment is 500, which are inconsistent with each other, and the candidate screen brightness and the first habit value are compared, and screen brightness adjustment is performed based on the comparison result.

[0076] In a specific implementation, when the deviation between the candidate screen brightness and the first habit value is less than or equal to a first preset threshold, the screen brightness is adjusted according to the second habit value; and when the deviation between the candidate screen brightness and the first habit value is greater than the first preset threshold, the screen brightness is adjusted according to the candidate screen brightness.

[0077] The deviation between the candidate screen brightness and the first habit value can be an absolute value of a difference between the two, or a change rate of the candidate screen brightness relative to the first habit value. In this embodiment, the deviation is not limited.

[0078] Correspondingly, the first preset threshold is set according to actual needs, and the specific value of the first preset threshold is not limited in this embodiment. For example, when the deviation between the candidate screen brightness and the first habit value is a change rate of the candidate screen brightness relative to the first habit value, the first preset threshold can be 10%.

[0079] In combination with the above example, for example, in an embodiment, the candidate screen brightness is 1100, the deviation between the candidate screen brightness and the first habit value (1000) is equal to 10%, and at this time, the screen brightness value is directly adjusted to 500 (the second habit value).

[0080] For another example, in an embodiment, the candidate screen brightness is 2000, the deviation between the candidate screen brightness and the first habit value (1000) is greater than 10%, and at this time, the brightness is adjusted based on the candidate screen brightness, that is, the screen brightness value is adjusted to 2000.

[0081] The method provided in this embodiment considers that, when the first habit value of the calculated screen brightness corresponding to a target moment and the second habit value of the real screen brightness are consistent, the user is satisfied with the screen brightness (that is, the screen brightness calculated based on the ambient light brightness) output by the light sensor at the target moment, and thereafter, at any moment matched with the target moment, the screen brightness is directly adjusted according to the screen brightness calculated based on the ambient light brightness at the current moment.

[0082] Further, when the first habit value and the second habit value corresponding to the target time are inconsistent, it is considered that the user is not satisfied with the screen brightness output by the light sensor at the target time, and manually adjusts the screen brightness. Thereafter, at any time matching the target time, the candidate screen brightness at the current time is compared with the first habit value, and when the deviation between the two is less than or equal to the first preset threshold, it is considered that the environment of the electronic device at the current time and the target time is consistent. At this time, the screen brightness is adjusted based on the second habit value of the real screen brightness corresponding to the target time. When the deviation between the two is not less than the first preset threshold, it is considered that the environment of the electronic device at the current time and the target time is different. At this time, the screen brightness is directly adjusted based on the screen brightness calculated based on the ambient light brightness at the previous time.

[0083] In this way, the brightness can be adjusted based on the user's habits, different needs of different users can be met, and the user experience can be improved. In addition, in the embodiment, the brightness adjustment parameter is set to the calculated screen brightness calculated based on the ambient light brightness of the environment in which the device is located and the real screen brightness of the device. In this way, the learned habit database is not dependent on the ambient light brightness, and further, when the screen brightness is adjusted based on the habit database, it is no longer dependent on the ambient light brightness. The problem that the user needs to manually adjust the brightness due to inaccurate identification of the ambient light brightness by the light sensor can be avoided, and the user experience can be further improved.

[0084] Further, in Figure 3 In the example shown, if the real screen brightness corresponding to the target time is 0, the target screen brightness is calculated based on the ambient light brightness at the current time, and the screen brightness is adjusted based on the target screen brightness.

[0085] Specifically, when the real screen brightness corresponding to the target time is 0, it means that the user does not use the mobile phone at the target time. At this time, the target screen brightness is directly calculated based on the ambient light brightness at the current time, and the screen brightness is adjusted based on the target screen brightness.

[0086] Figure 4 A flowchart of another screen brightness adjustment method according to an exemplary embodiment of the present disclosure is shown. Based on the above-mentioned embodiments, the method provided by the present embodiment, the brightness adjustment parameter includes the ambient light brightness of the environment in which the device is located and the real screen brightness of the device; step S103 can include:

[0087] S401, when the deviation between the ambient light brightness at the current time and the third habit value of the ambient light brightness corresponding to the target time is less than or equal to the second preset threshold, the screen brightness is adjusted based on the fourth habit value of the real screen brightness corresponding to the target time.

[0088] S402. When the deviation between the ambient light brightness at the current moment and the third habitual value is not less than the second preset threshold, calculate the target screen brightness based on the ambient light brightness at the current moment, and adjust the screen brightness according to the target screen brightness.

[0089] The deviation between the current ambient light intensity and the third habitual value of the ambient light intensity corresponding to the target time can be the absolute value of the difference between the two, or it can be the rate of change of the current ambient light intensity relative to the third habitual value. In this embodiment, it is not limited to either.

[0090] Furthermore, the second preset threshold is set according to actual needs, and in this embodiment, the specific value of the second preset threshold is not limited. For example, in one embodiment, when the deviation between the ambient light brightness at the current moment and the third habitual value of the ambient light brightness corresponding to the target moment is the rate of change of the ambient light brightness at the current moment relative to the third habitual value, the second preset threshold can be 15%.

[0091] Furthermore, when calculating the target screen brightness, it can be calculated based on the ambient light brightness at the current moment and according to established rules.

[0092] It should be noted that, in this disclosure, any screen brightness calculated based on ambient light intensity is calculated based on the same established rule. This disclosure does not limit the scope of this established rule. For example, in one embodiment, the established rule can be a preset correspondence between ambient light intensity and screen brightness.

[0093] In this embodiment, when the deviation between the current ambient light brightness and the third habitual value of the ambient light brightness corresponding to the target time is less than or equal to the second preset threshold, it is considered that the environment in which the electronic device is located at the current time is consistent with the environment in which the electronic device is located at the target time. At this time, the screen brightness is directly adjusted according to the fourth habitual value of the actual screen brightness corresponding to the target time. In this way, the screen brightness can be adjusted to the state that best matches the user's habits, which can meet the user's needs and improve the user experience.

[0094] The method provided in this embodiment can adjust brightness based on user habits, meet the different needs of different users, improve adjustment accuracy, and enhance user experience.

[0095] Furthermore, in Figure 4 In the example shown, if the actual screen brightness at the target time is 0, the target screen brightness is calculated based on the ambient light brightness at the current time, and the screen brightness is adjusted according to the target screen brightness.

[0096] Specifically, when the real screen brightness corresponding to the target time is 0, it indicates that the user does not use the mobile phone at the target time, and at this time, the target screen brightness is calculated based on the ambient light brightness at the current time, and the screen brightness is adjusted according to the target screen brightness.

[0097] Corresponding to the foregoing embodiments of the screen brightness adjustment method, the present disclosure also provides embodiments of a screen brightness adjustment device.

[0098] Figure 5 FIG. 1 shows a structural schematic diagram of a screen brightness adjustment device according to an exemplary embodiment of the present disclosure. Please refer to FIG. 1 Figure 5 The device provided in the embodiment can include a recording module 510, a learning module 520, and a processing module 530, wherein

[0099] The recording module 510 is configured to record the value of the brightness adjustment parameter corresponding to the preset recording period within the preset recording period.

[0100] The learning module 520 is configured to learn the user's usage habits for the screen based on the value of the brightness adjustment parameter, and obtain a habit database; wherein the habit database includes habit values of the brightness adjustment parameter corresponding to different specified time within a preset habit period.

[0101] The processing module 530 is configured to perform screen brightness adjustment based on the habit value of the brightness adjustment parameter corresponding to the target time matching the current time in the habit database in response to a screen-on operation.

[0102] The device of the embodiment can be used to execute Figure 1 The technical solutions of the method embodiments shown in the figure are similar in implementation principle and technical effects, and will not be described here.

[0103] Further, the brightness adjustment parameter includes a calculated screen brightness calculated based on the ambient light brightness of the environment in which the device is located and a real screen brightness of the device; wherein

[0104] The processing module 530 is configured to perform screen brightness adjustment according to the candidate screen brightness when the first habit value of the calculated screen brightness corresponding to the target time and the second habit value of the real screen brightness corresponding to the target time are consistent; wherein the candidate screen brightness is a screen brightness calculated based on the ambient light brightness at the current time.

[0105] The processing module 530 is further configured to compare the candidate screen brightness and the first habit value when the first habit value and the second habit value are inconsistent, and perform screen brightness adjustment based on the comparison result.

[0106] Further, the processing module 530 is further configured to, when a deviation between the candidate screen brightness and the first habit value is less than or equal to a first preset threshold, perform screen brightness adjustment according to the second habit value, and when the deviation between the candidate screen brightness and the first habit value is not less than the preset threshold, perform screen brightness adjustment according to the candidate screen brightness.

[0107] Further, the brightness adjustment parameter comprises an ambient light brightness of an environment in which the device is located and a real screen brightness of the device.

[0108] The processing module 530 is configured to, when a deviation between the ambient light brightness at the current time and a third habit value of the ambient light brightness corresponding to the target time is less than or equal to a second preset threshold, perform screen brightness adjustment according to a fourth habit value of the real screen brightness corresponding to the target time.

[0109] The processing module 530 is further configured to, when the deviation between the ambient light brightness at the current time and the third habit value is not less than the second preset threshold, calculate a target screen brightness based on the ambient light brightness at the current time, and perform screen brightness adjustment according to the target screen brightness.

[0110] Further, the processing module 530 is further configured to, when the real screen brightness corresponding to the target time is 0, calculate a target screen brightness based on the ambient light brightness at the current time, and perform screen brightness adjustment according to the target screen brightness.

[0111] Figure 6 FIG. 2 is a structural schematic diagram of another screen brightness adjustment device according to an example embodiment of the present disclosure. Figure 6 Based on the above-mentioned embodiments, the device provided in the present embodiment comprises a learning module 520, which comprises a calculation unit 521 and a construction unit 522.

[0112] The calculation unit 521 is configured to, for each designated time within the preset habit period, calculate an average value of the brightness adjustment parameter corresponding to the designated time based on values of the brightness adjustment parameter corresponding to the designated time within the recent several preset habit periods, and take the average value as a habit value of the brightness adjustment parameter corresponding to the designated time.

[0113] The construction unit 522 is configured to construct the habit database by using the habit values of the brightness adjustment parameters corresponding to the respective designated times.

[0114] As to the device in the above-mentioned embodiments, the specific manners in which the respective modules perform operations have been described in detail in the embodiments of the related methods, and thus will not be described in detail here.

[0115] For the apparatus embodiment, since it basically corresponds to the method embodiment, the relevant part is described in the part of the method embodiment. The apparatus embodiment described above is only illustrative, wherein the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e., can be located in one place or distributed on multiple network modules. Part or all of the modules can be selected to achieve the purpose of the present disclosure according to actual needs. Those skilled in the art can understand and implement it without creative labor.

[0116] Embodiments of the present disclosure also propose an electronic device, comprising:

[0117] a processor;

[0118] a memory for storing processor-executable instructions;

[0119] The processor is configured to implement the method of any of the above embodiments.

[0120] Embodiments of the present disclosure also propose a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the method of any of the above embodiments.

[0121] Figure 7 Fig. 7 shows a structural schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure. For example, the electronic device 700 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0122] Referring to Figure 7 , the electronic device 700 can include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716.

[0123] The processing component 702 usually controls overall operations of the electronic device 700, such as operations associated with displaying, making phone calls, data communications, camera operations and recording operations. The processing component 702 can include one or more processors 720 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 702 can include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.

[0124] The memory 704 is configured to store various types of data to support the operations of the electronic device 700. Examples of these data include instructions for any application programs or methods operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or nonvolatile memory, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disc, or optical disc.

[0125] The power supply component 706 supplies power for various components of the electronic device 700. The power supply component 706 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 700.

[0126] The multimedia component 708 includes a screen providing an output interface between the electronic device 700 and a user. In some embodiments, the screen can 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 a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. The front and rear cameras can receive external multimedia data when the electronic device 700 is in an operating mode, such as a photographing mode or a video mode. Each of the front and rear cameras can be a fixed optical lens system or have a focal length and optical zoom capability.

[0127] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC) configured to receive external audio signals when the electronic device 700 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 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

[0128] The I / O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which can be a keypad, a click wheel, buttons, etc. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0129] The sensor component 714 includes one or more sensors for providing status assessments for various aspects of the electronic device 700. For example, the sensor component 714 can detect an open / closed position of the electronic device 700, relative positioning of components of the electronic device 700, such as a display and a keypad of the electronic device 700, a change in position of the electronic device 700 or a component of the electronic device 700, presence or absence of user contact with the electronic device 700, orientation or acceleration / deceleration / g-force and temperature of the electronic device 700. The sensor component 714 can include an optical sensor for detecting ambient light, a proximity sensor for detecting nearby objects without any physical touch, a CMOS or CCD image sensor for use in imaging applications, or an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor in some embodiments.

[0130] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an example embodiment, the communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 716 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 technology.

[0131] In an example embodiment, the electronic device 700 can be implemented using one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements to perform the methods described in any of the above embodiments.

[0132] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, is also provided, which can be executed by the processor 720 of the electronic device 700 to complete the methods described above. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0133] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

[0134] It should be understood that the present disclosure is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.

Claims

1. A method of adjusting the brightness of a screen, characterized in that, The method is applied to an electronic device, and the method comprises: In a preset recording period, record the value of the brightness adjustment parameter corresponding to the preset recording period; Based on the value of the brightness adjustment parameter, learn the use habit of the user for the screen brightness to obtain a habit database; wherein the habit database comprises a habit value of the brightness adjustment parameter corresponding to different specified time in a preset habit period, and the brightness adjustment parameter comprises a calculated screen brightness calculated based on the ambient light brightness of the environment where the device is located and a real screen brightness of the device; In response to a screen-on operation, adjust the screen brightness based on the habit value of the brightness adjustment parameter corresponding to the target time matching the current time in the habit database; The screen brightness adjustment based on the habit value of the brightness adjustment parameter corresponding to the target time comprises: When the first habit value of the calculated screen brightness corresponding to the target time and the second habit value of the real screen brightness corresponding to the target time are consistent, adjust the screen brightness according to the candidate screen brightness, wherein the candidate screen brightness is the screen brightness calculated based on the ambient light brightness at the current time; When the first habit value and the second habit value are inconsistent, compare the candidate screen brightness and the first habit value, and adjust the screen brightness based on the comparison result.

2. The method of claim 1, wherein, The screen brightness adjustment based on the comparison result comprises: When the deviation between the candidate screen brightness and the first habit value is less than or equal to a first preset threshold, adjust the screen brightness according to the second habit value; When the deviation between the candidate screen brightness and the first habit value is not less than the first preset threshold, adjust the screen brightness according to the candidate screen brightness.

3. The method of claim 1, wherein, The brightness adjustment parameter comprises the ambient light brightness of the environment where the device is located and the real screen brightness of the device; and the screen brightness adjustment based on the habit value of the brightness adjustment parameter corresponding to the target time comprises: When the deviation between the ambient light brightness at the current time and the third habit value of the ambient light brightness corresponding to the target time is less than or equal to a second preset threshold, adjust the screen brightness according to the fourth habit value of the real screen brightness corresponding to the target time; When the deviation between the ambient light brightness at the current time and the third habit value is not less than the second preset threshold, calculate a target screen brightness based on the ambient light brightness at the current time, and adjust the screen brightness according to the target screen brightness.

4. The method according to claim 1 or 3, characterized in that, The method further comprises: When the real screen brightness corresponding to the target time is 0, calculate a target screen brightness based on the ambient light brightness at the current time, and adjust the screen brightness according to the target screen brightness.

5. The method of claim 1, wherein, The learning of the use habit of the user for the screen brightness to obtain the habit database comprises: For each specified time in the preset habit period, calculate the average value of the brightness adjustment parameter corresponding to the specified time based on the value of the brightness adjustment parameter corresponding to the specified time in the recent several preset habit periods, and take the average value as the habit value of the brightness adjustment parameter corresponding to the specified time. The habit database is constructed by using the habit values of the brightness adjustment parameters corresponding to the respective specified time.

6. A screen brightness adjusting apparatus, characterized by comprising: The device is applied to an electronic device, and the device comprises a recording module, a learning module and a processing module, wherein, The recording module is configured to record the value of the brightness adjustment parameter corresponding to a preset recording period in the preset recording period. The learning module is configured to learn the use habit of the user for the screen brightness based on the value of the brightness adjustment parameter, and obtain a habit database; the habit database comprises habit values of the brightness adjustment parameters corresponding to different specified time in a preset habit period, and the brightness adjustment parameter comprises a calculated screen brightness calculated based on the ambient light brightness of the environment in which the device is located and a real screen brightness of the device. The processing module is configured to perform screen brightness adjustment based on the habit value of the brightness adjustment parameter corresponding to a target time matching the current time in the habit database in response to a screen-on operation. The brightness adjustment parameter comprises a calculated screen brightness calculated based on the ambient light brightness of the environment in which the device is located and a real screen brightness of the device; wherein, The processing module is configured to perform screen brightness adjustment according to a candidate screen brightness when the first habit value of the calculated screen brightness corresponding to the target time and the second habit value of the real screen brightness corresponding to the target time are consistent; the candidate screen brightness is a screen brightness calculated based on the ambient light brightness at the current time. The processing module is further configured to compare the candidate screen brightness and the first habit value when the first habit value and the second habit value are inconsistent, and perform screen brightness adjustment based on the comparison result.

7. An electronic device, comprising: comprise: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method of any one of claims 1 to 5.

8. A computer-readable storage medium having stored thereon a computer program, characterized in that The program is executed by the processor to implement the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Display device and method for controlling display brightness thereof

    CN101650931A

  • Facility brightness adjustment method and device

    CN105405427A