CN108510964B - Screen brightness adjusting range adjusting method and device, terminal and storage medium - Google Patents

Screen brightness adjusting range adjusting method and device, terminal and storage medium Download PDF

Info

Publication number
CN108510964B
CN108510964B CN201810355431.8A CN201810355431A CN108510964B CN 108510964 B CN108510964 B CN 108510964B CN 201810355431 A CN201810355431 A CN 201810355431A CN 108510964 B CN108510964 B CN 108510964B
Authority
CN
China
Prior art keywords
screen brightness
manually
adjusting
user
brightness value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810355431.8A
Other languages
Chinese (zh)
Other versions
CN108510964A (en
Inventor
候祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810355431.8A priority Critical patent/CN108510964B/en
Publication of CN108510964A publication Critical patent/CN108510964A/en
Application granted granted Critical
Publication of CN108510964B publication Critical patent/CN108510964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Television Receiver Circuits (AREA)

Abstract

The embodiment of the application discloses a method, a device, a terminal and a storage medium for adjusting the screen brightness adjusting range, wherein the method for adjusting the screen brightness adjusting range comprises the following steps: recording the operation and adjustment amount of manually adjusting the screen brightness value each time by a user; determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value; if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time; and adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range. The screen brightness adjusting range adjusting method, the screen brightness adjusting range adjusting device, the terminal and the storage medium are used for avoiding frequent manual adjustment of screen brightness by a user.

Description

Screen brightness adjusting range adjusting method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to a terminal technology, in particular to a method and a device for adjusting a screen brightness adjusting range, a terminal and a storage medium.
Background
Most of the current terminal devices provide an automatic screen brightness adjustment function, and the principle is to use a light sensor to detect the ambient light intensity and configure the screen with a brightness suitable for the light intensity.
However, the automatic screen brightness adjusting functions of the terminal devices are all configured uniformly, and under the condition of the same ambient light intensity, the screen brightness can be adjusted to be uniform, and the adjustment range of the screen brightness is also consistent. However, different people have different requirements on screen brightness, and the uniform automatic brightness adjusting range of the screen cannot meet the individual requirements of different users.
Disclosure of Invention
The application provides a method, a device, a terminal and a storage medium for adjusting a screen brightness adjusting range, which are used for avoiding frequent manual adjustment of screen brightness by a user.
In a first aspect, an embodiment of the present application provides a method for adjusting a screen brightness adjustment range, which is applied to a terminal device, and includes:
recording the operation and adjustment amount of manually adjusting the screen brightness value each time by a user;
determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value;
if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time;
and adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range.
In a possible implementation manner of the first aspect, the manually adjusting the screen brightness value by the user for a number of times exceeding a preset threshold includes:
the times of manually increasing the screen brightness value by the user exceed a preset threshold;
or the number of times the user manually reduces the screen brightness value exceeds a preset threshold.
In a possible implementation manner of the first aspect, the number of times that the screen brightness value is manually adjusted by the user exceeds a preset threshold includes:
if the times of manually increasing the screen brightness value by the user minus the times of manually decreasing the screen brightness value by the user exceeds a preset threshold, determining that the times of manually increasing the screen brightness value by the user exceeds the preset threshold;
or if the times of manually reducing the screen brightness value by the user minus the times of manually increasing the screen brightness value by the user exceeds the preset threshold, determining that the times of manually reducing the screen brightness value by the user exceeds the preset threshold.
In a possible implementation manner of the first aspect, if the number of times that the user manually adjusts the screen brightness value exceeds a preset threshold, determining an adjustment amount of the screen brightness adjustment range according to an adjustment amount of the screen brightness value that is manually adjusted each time by the user, includes:
if the number of times of manually increasing the screen brightness value by the user exceeds a preset threshold value, calculating the average increase amount of manually increasing the screen brightness value by the user; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value, calculating the average reduction amount of manually reducing the screen brightness value by the user;
adjusting the screen brightness adjustment range according to the adjustment amount of the screen brightness adjustment range, comprising:
increasing the screen brightness adjustment range by an average increase amount; or the screen brightness adjustment range is reduced by the average reduction amount.
In a possible implementation manner of the first aspect, if the number of times that the user manually adjusts the screen brightness value exceeds a preset threshold, determining an adjustment amount of the screen brightness adjustment range according to an adjustment amount of the screen brightness value that is manually adjusted each time by the user, includes:
if the number of times of manually increasing the screen brightness value by the user exceeds a preset threshold value, determining the minimum increase amount of manually increasing the screen brightness value by the user; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value, calculating the minimum reduction amount of manually reducing the screen brightness value by the user;
adjusting the screen brightness adjustment range according to the adjustment amount of the screen brightness adjustment range, comprising:
increasing the screen brightness adjustment range by a minimum improvement amount; or to reduce the screen brightness adjustment range by a minimum reduction amount.
In a possible implementation manner of the first aspect, after the adjusting the screen brightness adjustment range according to the adjustment amount of the screen brightness adjustment range, the method further includes:
and clearing the times of manually adjusting the screen brightness value by the user.
In a second aspect, an embodiment of the present application provides a screen brightness adjustment range adjusting apparatus, including:
the recording module is used for recording the operation and adjustment amount of manually adjusting the screen brightness value each time by a user;
the judging module is used for determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value;
the calculation module is used for determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of the screen brightness value manually adjusted by the user each time if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold;
and the adjusting module is used for adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range.
In a possible implementation manner of the second aspect, the calculating module is specifically configured to determine a minimum improvement amount of the screen brightness value manually increased by the user if the number of times that the screen brightness value is manually increased by the user exceeds a preset threshold; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold, calculating the minimum reduction amount of manually reducing the screen brightness value by the user
The adjusting module is specifically used for increasing the screen brightness adjusting range by the minimum improvement amount; or to reduce the screen brightness adjustment range by a minimum reduction amount.
In a third aspect, an embodiment of the present application provides a terminal, including:
a light sensor, a camera, and one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the screen brightness adjustment range adjustment method according to any one of the possible implementations of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the screen brightness adjustment range adjustment method according to any one of the possible implementations of the first aspect.
According to the screen brightness adjusting range adjusting method, the screen brightness adjusting range adjusting device, the terminal and the storage medium, through recording the operation and the adjustment amount of manually adjusting the screen brightness value of each time by a user, when the number of times that the screen brightness value is manually adjusted by the user is determined to exceed the preset threshold value, the adjustment amount of the screen brightness adjusting range is determined according to the adjustment amount of manually adjusting the screen brightness value of each time by the user, and then the screen brightness adjusting range is adjusted according to the adjustment amount of the screen brightness adjusting range, so that the screen brightness can be automatically adjusted to meet individual requirements of different users, and frequent manual adjustment of the screen brightness by the user is avoided.
Drawings
Fig. 1 is a schematic diagram of a terminal device configured with a light sensor;
fig. 2 is a flowchart of a first embodiment of a method for adjusting a screen brightness adjustment range according to an embodiment of the present application;
fig. 3 is a flowchart of a second embodiment of a method for adjusting a screen brightness adjustment range according to the present application;
fig. 4 is a schematic structural diagram of a first embodiment of a screen brightness adjustment range adjustment apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
The principle of automatic screen adjustment of the terminal device is that firstly, the light sensor configured on the terminal device detects the intensity of ambient light, and then the screen brightness is adjusted to the brightness corresponding to the detected intensity of the ambient light according to the corresponding relation between the preset screen brightness and the intensity of the ambient light. Fig. 1 is a schematic diagram of a terminal device equipped with a light sensor, and as shown in fig. 1, the light sensor 11 is generally disposed on the same side of the screen 12 and near the camera 13, so that the ambient light detected by the light sensor 11 is the same as the ambient light of the screen 12. After the light sensor 11 sends the detected ambient light intensity to the processor of the terminal device, the processor of the terminal device automatically adjusts the screen brightness according to the preset corresponding relationship between the screen brightness and the ambient light intensity. However, the current automatic brightness adjustment of the screen of the terminal device has an adjustment range, and the automatic brightness adjustment of the screen can only be performed within the range. For example, if the brightness value of the preset screen brightness adjustment range is (a, B) and the corresponding ambient light intensity is (a, B), the higher the detected ambient light intensity is, the higher the corresponding screen brightness is.
Fig. 2 is a flowchart of a first embodiment of a method for adjusting a screen brightness adjustment range according to an embodiment of the present application, and as shown in fig. 2, the method for adjusting a screen brightness adjustment range according to the present embodiment includes:
step 201, recording the operation and adjustment amount of the user for manually adjusting the screen brightness value each time.
The screen brightness adjusting method provided by the embodiment is applied to a terminal device, and the terminal device may be any terminal device having a screen display function and a screen with an automatic brightness adjusting function, such as a mobile phone, a tablet computer, and the like. The processor or the processing unit of the terminal device can detect the ambient light intensity according to the light sensor or other light sensors capable of detecting the ambient light intensity, and automatically adjust the brightness of the screen according to the corresponding relation between the preset screen brightness and the ambient light intensity.
In the current terminal device, the automatic adjustment ranges of the screen brightness are all preset brightness ranges, but the requirements of different users for the screen brightness are different, some people want to use a more highlighted screen, but some people are used to use a screen with lower brightness. After the screen brightness of the terminal device is automatically adjusted, if the screen brightness is not suitable for the user, the user needs to manually adjust the screen brightness. However, the current screen brightness adjustment ranges are all preset in the terminal device, and the screen brightness adjustment ranges in the same type of terminal device are all consistent, so that the user needs to manually adjust the screen brightness again every time after the screen brightness is automatically adjusted, and the use experience of the user is greatly influenced.
In this embodiment, in order to avoid frequent manual screen brightness adjustment operations by a user, a method for automatically adjusting a screen brightness adjustment range is provided, and by adjusting the screen brightness adjustment range, the automatic adjustment of the screen brightness can be different according to requirements of different users, so that personalized requirements of the users are met.
Firstly, after the terminal device performs automatic screen brightness adjustment, if the user performs manual screen brightness adjustment, recording the operation and adjustment amount of the user for manually adjusting the screen brightness value each time. The manual adjustment of the screen brightness value by the user may be to turn up the brightness value or to turn down the brightness value. The adjustment amount of the screen brightness value is a value for adjusting the screen brightness value each time, and the adjustment amount of the screen brightness value can be a proportional value or an absolute value. For example, the screen brightness may be divided by a ratio from 0% to 100%, and the screen brightness adjustment value may be an adjusted brightness percentage. For another example, the screen brightness is directly expressed in lumens, and the screen brightness adjustment value is an adjusted lumen difference value. The terminal device records and stores each operation of manually adjusting the screen brightness value and the adjustment amount, and performs the judgment in step 102 after each user operation.
Step 202, determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold.
After the user manually adjusts the screen brightness value each time, the terminal device judges whether the number of times of manually adjusting the brightness value by the user exceeds a preset threshold value. The number of times of determination here may be the total number of times of manual adjustment of the brightness value by the user, that is, whether the manual adjustment by the user is to turn up the brightness value or to turn down the brightness value, is involved in the determination here. In addition, the determination here may also be to determine whether only the number of times the brightness value is manually turned up by the user exceeds a preset threshold or whether only the number of times the brightness value is manually turned down by the user exceeds a preset threshold. The preset threshold may be any preset value, for example, 30 times or 50 times, or the preset threshold may be set by the user himself. It is judged that the number of times the user manually adjusts the screen brightness value is because the manual adjustment of the screen brightness by the user is not necessarily a case where the user is accustomed to using a screen of higher brightness or lower brightness, but may require the user to manually adjust the brightness due to a certain use by the user. If the brightness adjustment range is adjusted after the user manually adjusts the screen brightness each time, the brightness adjustment range may be frequently adjusted, and processing resources of the terminal device may be consumed. Only when the user frequently performs manual screen brightness adjustment, it means that the user is dissatisfied with the current automatic screen brightness adjustment range, and at this time, the screen brightness adjustment range needs to be adjusted.
Step 203, if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time.
If the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value, it means that the user is not satisfied with the current screen brightness automatic adjustment, and at this time, the screen brightness adjustment range needs to be adjusted. The adjustment amount for adjusting the screen brightness adjustment range needs to be determined according to the adjustment amount for manually adjusting the screen brightness value by the user each time, the adjustment amount for manually adjusting the screen brightness value by the user each time represents the adjustment requirement of the user on the current screen brightness value, and then the adjustment amounts for manually adjusting the screen brightness value by the user can be combined into a set after the number of times for manually adjusting the screen brightness value by the user exceeds a preset threshold, and the adjustment amount for the screen brightness adjustment range is obtained after the set is processed.
The specific method for determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of the screen brightness value manually adjusted by the user each time can be any method capable of reflecting the manual adjustment will of the user. For example, an average value of the adjustment amounts by which the user manually adjusts the screen luminance value may be calculated as the adjustment amount of the screen luminance adjustment range; for another example, the smallest one of the adjustment values for manually adjusting the screen brightness values by all users may be used as the adjustment amount of the screen brightness adjustment range.
And 204, adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range.
After the adjustment amount of the screen brightness adjustment range is determined, the screen brightness adjustment range can be adjusted according to the adjustment amount of the screen brightness adjustment range. Here, the new screen brightness adjustment range can be obtained by directly adding the screen brightness adjustment range to the determined adjustment amount of the screen brightness adjustment range.
After determining the new screen brightness adjustment range, the ambient light intensity detected by the terminal device corresponds to the new screen brightness adjustment range, and the screen brightness corresponding to each ambient light intensity is equivalent to the adjustment amount for adjusting the screen brightness adjustment range. When the terminal device automatically adjusts the screen brightness again according to the detected ambient light intensity, the automatically adjusted screen brightness is already adjusted correspondingly, and the adjustment is performed according to the manual adjustment operation of the user, so that the automatic adjustment of the screen brightness at this time meets the requirements of the user, and the user is prevented from manually adjusting the screen brightness again.
According to the screen brightness adjusting range adjusting method provided by the embodiment, the operation and the adjustment amount of manually adjusting the screen brightness value of the user each time are recorded, when the number of times that the screen brightness value is manually adjusted by the user is determined to exceed the preset threshold, the adjustment amount of the screen brightness adjusting range is determined according to the adjustment amount of manually adjusting the screen brightness value of the user each time, and then the screen brightness adjusting range is adjusted according to the adjustment amount of the screen brightness adjusting range, so that the screen brightness can be automatically adjusted to meet the individual requirements of different users, and frequent manual adjustment of the screen brightness by the user is avoided.
Fig. 3 is a flowchart of a second embodiment of a method for adjusting a screen brightness adjustment range according to the embodiment of the present application, and as shown in fig. 3, the method for adjusting a screen brightness adjustment range according to the embodiment includes:
step 301, recording the operation and adjustment amount of the user for manually adjusting the screen brightness value each time.
Step 302, determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold.
The user only feels high, low and suitable three kinds of screen brightness values, if the user feels suitable, manual adjustment is not needed, if the user feels high, the user feels high after brightness automatic adjustment is carried out each time, and vice versa. Therefore, when determining the number of times the user manually adjusts the screen brightness value, the number of times the user manually increases and decreases the screen brightness value may be separately counted. If the number of times that the user manually increases the screen brightness value exceeds the preset threshold value, step 303 is executed, and if the number of times that the user manually decreases the screen brightness value exceeds the preset threshold value, step 305 is executed.
Since the user may manually increase the screen brightness value or manually decrease the screen brightness value, if the user does not manually increase or decrease the screen brightness value every time, but sometimes increases the screen brightness value or sometimes decreases the screen brightness value, it may be that a different user uses the terminal device or that the user uses the terminal device in a different specific scene. Therefore, if the manual brightness adjustment operation of the user does not completely increase or decrease the screen brightness value, when it is determined that the number of times the user manually increases the screen brightness value exceeds the preset threshold, it may also be determined that the number of times the user manually increases the screen brightness value minus the number of times the user manually decreases the screen brightness value exceeds the preset threshold. Similarly, when it is determined that the number of times that the screen brightness value is manually decreased by the user exceeds the preset threshold, it may be determined that the number of times that the screen brightness value is manually decreased by the user exceeds the preset threshold, if the number of times that the screen brightness value is manually increased by the user is subtracted from the number of times that the screen brightness value is manually decreased by the user exceeds the preset threshold.
Step 303, if the number of times that the user manually increases the screen brightness value exceeds a preset threshold, determining a minimum increase amount that the user manually increases the screen brightness value.
Since the preset screen brightness adjusting range is determined by the manufacturer of the terminal device after scientific research and experiments, the screen brightness of the terminal device is adjusted within the preset screen brightness adjusting range, so that the screen display effect of the terminal device is optimal. Therefore, although the screen brightness adjustment range adjustment method provided by the present application can adjust the screen brightness adjustment range, it is not suitable to adjust the screen brightness adjustment range in a large range. Therefore, if the number of times that the user manually increases the screen brightness value exceeds a preset threshold, it is determined that the user manually increases the minimum increase amount of the screen brightness value. For example, after the number of times of manual brightness increase of the screen by the user exceeds a preset threshold, and the minimum increase amount of the manual brightness increase is m, it is determined that the brightness value of the screen is manually increased by the user to be m.
Step 304, increase the screen brightness adjustment range by the minimum boost amount.
After the minimum improvement amount of the screen brightness value manually improved by the user is determined, the original screen brightness adjusting range can be increased by the minimum improvement amount. For example, the original screen brightness adjustment range is (a, b), and the adjusted screen brightness adjustment range is (a + m, b + m). The screen brightness range is only adjusted by the minimum improvement amount, so that the screen brightness automatic adjustment can meet the individual requirements of users, and the adjusted screen of the terminal equipment can have a better display effect.
Optionally, if the number of times that the screen brightness value is manually increased by the user exceeds a preset threshold, an average increase amount that the screen brightness value is manually increased by the user may also be calculated; and increases the screen brightness adjustment range by the average improvement amount. The screen brightness adjustment method is characterized in that the screen brightness adjustment range is adjusted according to the average value of the screen brightness values obtained by the screen brightness adjustment method, and the screen brightness adjustment range is adjusted according to the average value.
In step 305, if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold, calculating the minimum reduction amount of manually reducing the screen brightness value by the user.
And if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold, determining the minimum reduction amount of manually reducing the screen brightness value by the user. For example, after the number of times of manual brightness reduction performed on the screen by the user exceeds a preset threshold, and the minimum increase amount of the manual brightness reduction is n, it is determined that the brightness value of the screen manually reduced by the user is n.
Step 306, the screen brightness adjustment range is reduced by the minimum reduction amount.
After the minimum reduction amount of the screen brightness value manually reduced by the user is determined, the original screen brightness adjusting range can be reduced by the minimum reduction amount. For example, the original screen brightness adjustment range is (a, b), and the adjusted screen brightness adjustment range is (a-n, b-n). The screen brightness range is adjusted by the minimum reduction amount, so that the screen brightness can be automatically adjusted to meet the individual requirements of users, and the adjusted screen of the terminal equipment can have a better display effect.
Optionally, if the number of times that the screen brightness value is manually reduced by the user exceeds a preset threshold, an average reduction amount of the screen brightness value manually reduced by the user may also be calculated; and reduces the screen brightness adjustment range by the average reduction amount. The reduction amount of the brightness value may be different when the user performs the operation of manually reducing the brightness value of the screen each time, the average value of the reduction amounts of the brightness values of the screen for a plurality of times is calculated, and the screen brightness adjustment range is adjusted according to the average value, so that the adjusted screen brightness adjustment range can be more matched with the requirement of the user, and the number of times of manually adjusting the screen brightness by the user is reduced to the maximum extent.
According to the screen brightness adjusting range adjusting method provided by the embodiment, the operation and the adjustment amount of manually adjusting the screen brightness value of the user each time are recorded, when the number of times that the screen brightness value is manually adjusted by the user is determined to exceed the preset threshold, the adjustment amount of the screen brightness adjusting range is determined according to the adjustment amount of manually adjusting the screen brightness value of the user each time, and then the screen brightness adjusting range is adjusted according to the adjustment amount of the screen brightness adjusting range, so that the screen brightness can be automatically adjusted to meet the individual requirements of different users, and frequent manual adjustment of the screen brightness by the user is avoided.
Further, in the embodiment shown in fig. 2 or fig. 3, after adjusting the screen brightness adjustment range according to the adjustment amount of the screen brightness adjustment range, the method further includes: and clearing the times of manually adjusting the screen brightness value by the user. That is, each time the screen brightness adjustment range is adjusted according to the manual screen brightness adjustment operation of the user, the number of times of the operation of manually adjusting the screen brightness value is cleared. And after zero clearing, counting the operation of manually adjusting the screen brightness value by the user again, so that the frequent adjustment of the screen brightness adjustment range can be effectively avoided.
Fig. 4 is a schematic structural diagram of a first embodiment of a screen brightness adjustment range adjustment apparatus according to an embodiment of the present application, and as shown in fig. 4, the screen brightness adjustment range adjustment apparatus provided in this embodiment is disposed in a terminal device, and includes:
and the recording module 41 is used for recording the operation and adjustment amount of manually adjusting the screen brightness value each time by the user.
And a judging module 42, configured to determine whether the number of times that the screen brightness value is manually adjusted by the user exceeds a preset threshold.
And a calculating module 43, configured to determine, if the number of times that the user manually adjusts the screen brightness value exceeds a preset threshold, an adjustment amount of the screen brightness adjustment range according to an adjustment amount of the screen brightness value that is manually adjusted each time by the user.
And the adjusting module 44 is configured to adjust the screen brightness adjustment range according to the adjustment amount of the screen brightness adjustment range.
The screen brightness adjustment range adjusting device provided by the embodiment of the application can execute the screen brightness adjustment range adjusting method provided by the embodiment shown in fig. 2 or fig. 3, and has corresponding functional modules and beneficial effects of the executing method.
Further, on the basis of the embodiment shown in fig. 4, the determining module 42 is specifically configured to determine that the number of times that the brightness value of the screen is manually increased by the user exceeds a preset threshold; or judging that the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value.
Further, on the basis of the embodiment shown in fig. 4, the determining module 42 is specifically configured to determine that the number of times that the screen brightness value is manually increased by the user exceeds a preset threshold, if the number of times that the screen brightness value is manually decreased by the user is subtracted from the number of times that the screen brightness value is manually increased by the user exceeds the preset threshold; or if the times of manually reducing the screen brightness value by the user minus the times of manually increasing the screen brightness value by the user exceeds the preset threshold, determining that the times of manually reducing the screen brightness value by the user exceeds the preset threshold.
Further, on the basis of the embodiment shown in fig. 4, the calculating module 43 is specifically configured to calculate an average increase amount of the screen brightness value manually increased by the user if the number of times that the screen brightness value is manually increased by the user exceeds a preset threshold; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value, calculating the average reduction amount of manually reducing the screen brightness value by the user; the adjusting module 44 is specifically configured to increase the screen brightness adjustment range by an average increase amount; or the screen brightness adjustment range is reduced by the average reduction amount.
Further, on the basis of the embodiment shown in fig. 4, the calculating module 43 is specifically configured to determine a minimum increase amount of the screen brightness value manually increased by the user if the number of times that the screen brightness value is manually increased by the user exceeds a preset threshold; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value, calculating the minimum reduction amount of manually reducing the screen brightness value by the user; an adjusting module 44, specifically configured to increase the screen brightness adjustment range by a minimum improvement amount; or to reduce the screen brightness adjustment range by a minimum reduction amount.
Further, on the basis of the embodiment shown in fig. 4, the screen brightness adjustment range adjusting apparatus further includes a clearing module, configured to clear the number of times that the user manually adjusts the screen brightness value after the adjusting module 44 adjusts the screen brightness adjustment range according to the adjustment amount of the screen brightness adjustment range.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application, and as shown in fig. 5, the terminal includes a processor 61 and a memory 62; the number of the processors 61 in the terminal may be one or more, and one processor 51 is taken as an example in fig. 5; the processor 51 and the memory 52 in the terminal may be connected by a bus or other means, as exemplified by the bus connection in fig. 5.
The memory 52 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the screen brightness adjustment range adjustment method in the embodiment of fig. 1 or fig. 2 (for example, the recording module 41, the determining module 42, the calculating module 43, and the adjusting module 44 in the screen brightness adjustment range adjustment). The processor 51 executes software programs, instructions and modules stored in the memory 52, so as to apply various functions of the terminal and process data, that is, to implement the screen brightness adjustment range adjustment method.
The memory 52 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for adjusting a screen brightness adjustment range, the method including:
recording the operation and adjustment amount of manually adjusting the screen brightness value each time by a user;
determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value;
if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time;
and adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the network handover method provided in any embodiment of the present application.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (9)

1. A screen brightness adjusting range adjusting method is applied to terminal equipment and is characterized by comprising the following steps:
recording the operation and adjustment amount of manually adjusting the screen brightness value each time by a user;
determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value;
if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time;
adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range;
wherein, the number of times that the user manually adjusts the screen brightness value exceeds a preset threshold includes:
if the times of manually increasing the screen brightness value by the user minus the times of manually decreasing the screen brightness value by the user exceeds a preset threshold, determining that the times of manually increasing the screen brightness value by the user exceeds the preset threshold;
or if the number of times that the screen brightness value is manually reduced by the user minus the number of times that the screen brightness value is manually increased by the user exceeds a preset threshold, determining that the number of times that the screen brightness value is manually reduced by the user exceeds the preset threshold.
2. The method of claim 1, wherein the number of times the user manually adjusts the screen brightness value exceeds a preset threshold value comprises:
the number of times that the user manually increases the screen brightness value exceeds a preset threshold value;
or the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value.
3. The method according to claim 2, wherein if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time, comprises:
if the number of times of manually increasing the screen brightness value by the user exceeds a preset threshold value, calculating the average increase amount of manually increasing the screen brightness value by the user; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value, calculating the average reduction amount of manually reducing the screen brightness value by the user;
the adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range includes:
increasing the screen brightness adjustment range by the average increase amount; or reducing the screen brightness adjustment range by the average reduction amount.
4. The method according to claim 2, wherein if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold, determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of manually adjusting the screen brightness value by the user each time, comprises:
if the number of times of manually increasing the screen brightness value by the user exceeds a preset threshold value, determining the minimum increase amount of manually increasing the screen brightness value by the user; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold value, calculating the minimum reduction amount of manually reducing the screen brightness value by the user;
the adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range includes:
increasing the screen brightness adjustment range by the minimum boost amount; or reducing the screen brightness adjustment range by the minimum reduction amount.
5. The method according to any one of claims 1 to 2, wherein after the adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range, the method further comprises:
and clearing the times of manually adjusting the screen brightness value by the user.
6. A screen brightness adjustment range adjusting apparatus, comprising:
the recording module is used for recording the operation and adjustment amount of manually adjusting the screen brightness value each time by a user;
the judging module is used for determining whether the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold value, and if the number of times of manually increasing the screen brightness value by the user minus the number of times of manually decreasing the screen brightness value by the user exceeds the preset threshold value, determining that the number of times of manually increasing the screen brightness value by the user exceeds the preset threshold value;
or if the times of manually reducing the screen brightness value by the user minus the times of manually increasing the screen brightness value by the user exceeds a preset threshold, determining that the times of manually reducing the screen brightness value by the user exceeds the preset threshold;
the calculation module is used for determining the adjustment amount of the screen brightness adjustment range according to the adjustment amount of the screen brightness value manually adjusted by the user each time if the number of times of manually adjusting the screen brightness value by the user exceeds a preset threshold;
and the adjusting module is used for adjusting the screen brightness adjusting range according to the adjusting amount of the screen brightness adjusting range.
7. The apparatus according to claim 6, wherein the calculating module is specifically configured to determine a minimum increase amount of the screen brightness value manually increased by the user if the number of times of the screen brightness value manually increased by the user exceeds a preset threshold; or if the number of times of manually reducing the screen brightness value by the user exceeds a preset threshold, calculating the minimum reduction amount of manually reducing the screen brightness value by the user
The adjusting module is specifically configured to increase the screen brightness adjustment range by the minimum improvement amount; or reducing the screen brightness adjustment range by the minimum reduction amount.
8. A terminal, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the screen brightness adjustment range adjustment method of any one of claims 1-5.
9. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the screen brightness adjustment range adjustment method according to any one of claims 1 to 5.
CN201810355431.8A 2018-04-19 2018-04-19 Screen brightness adjusting range adjusting method and device, terminal and storage medium Active CN108510964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810355431.8A CN108510964B (en) 2018-04-19 2018-04-19 Screen brightness adjusting range adjusting method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810355431.8A CN108510964B (en) 2018-04-19 2018-04-19 Screen brightness adjusting range adjusting method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108510964A CN108510964A (en) 2018-09-07
CN108510964B true CN108510964B (en) 2020-01-14

Family

ID=63382901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810355431.8A Active CN108510964B (en) 2018-04-19 2018-04-19 Screen brightness adjusting range adjusting method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108510964B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109272917B (en) * 2018-10-25 2021-09-28 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN110970002B (en) * 2019-12-17 2021-05-04 Oppo广东移动通信有限公司 Display screen brightness adjusting method and related device
CN113270061B (en) * 2021-05-20 2023-03-28 Oppo广东移动通信有限公司 Display brightness adjusting method, device, terminal and storage medium
CN113823247B (en) * 2021-09-29 2023-10-17 展讯通信(深圳)有限公司 Screen brightness adjusting method and related equipment
CN114388001A (en) * 2021-12-31 2022-04-22 北京梧桐车联科技有限责任公司 Multimedia file playing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424914A (en) * 2013-08-27 2015-03-18 联想(北京)有限公司 Method and device for backlight adjustment
CN105551453A (en) * 2015-12-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Screen brightness adjusting method and apparatus
CN105872211A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Screen brightness adjusting method and terminal
CN106997744A (en) * 2017-03-15 2017-08-01 广东欧珀移动通信有限公司 The control method and control device of screen intensity
CN107016952A (en) * 2017-04-19 2017-08-04 深圳市金立通信设备有限公司 A kind of screen luminance adjustment method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277258A1 (en) * 2016-03-28 2017-09-28 Le Holdings (Beijing) Co., Ltd. Method for adjusting screen luminance and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424914A (en) * 2013-08-27 2015-03-18 联想(北京)有限公司 Method and device for backlight adjustment
CN105551453A (en) * 2015-12-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Screen brightness adjusting method and apparatus
CN105872211A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Screen brightness adjusting method and terminal
CN106997744A (en) * 2017-03-15 2017-08-01 广东欧珀移动通信有限公司 The control method and control device of screen intensity
CN107016952A (en) * 2017-04-19 2017-08-04 深圳市金立通信设备有限公司 A kind of screen luminance adjustment method and terminal

Also Published As

Publication number Publication date
CN108510964A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108510964B (en) Screen brightness adjusting range adjusting method and device, terminal and storage medium
EP3554070B1 (en) Photograph-capture method, apparatus and storage medium
US20200244862A1 (en) Image Processing Method and Apparatus, And Device
CN109040231B (en) Data transmission method, device, equipment/terminal/server and computer readable storage medium
CN111491108B (en) Exposure parameter adjusting method and device
US8873850B2 (en) Detecting exposure quality in images
CN108255343B (en) Flash lamp adjusting method, user terminal and medium product
CN111309400A (en) Process control method, device, storage medium and electronic equipment
EP3349325B1 (en) Charging method, charging device and terminal
US10051198B2 (en) Method for creating a high dynamic range image using three groups of exposure brightness adjusted images
CN105243371A (en) Human face beauty degree detection method and system and shooting terminal
EP3125525A1 (en) Method and system for enabling camera of mobile terminal to automatically adapt to scene
CN109326244B (en) Screen brightness adjusting method and device and terminal equipment
CN104952045A (en) Defogging system and defogging method
EP4060491A1 (en) Intelligent analysis algorithm selection method, apparatus and system, and electronic device
CN112036201B (en) Image processing method, device, equipment and medium
CN104754219A (en) Terminal
CN104754220A (en) Shooting method
CN104954699A (en) Shooting parameter setting method and user terminal
CN110618852B (en) View processing method, view processing device and terminal equipment
CN115082350A (en) Stroboscopic image processing method and device, electronic device and readable storage medium
CN111369471A (en) Image processing method, device, equipment and storage medium
US9142223B2 (en) Sound processing to produce target volume level
EP3925413B1 (en) Determining a light effect based on an average color after a detected transition in content
CN113422893B (en) Image acquisition method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant