CN108401078B - Backlight brightness adjusting method and device, mobile terminal and readable storage medium - Google Patents

Backlight brightness adjusting method and device, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN108401078B
CN108401078B CN201810555546.1A CN201810555546A CN108401078B CN 108401078 B CN108401078 B CN 108401078B CN 201810555546 A CN201810555546 A CN 201810555546A CN 108401078 B CN108401078 B CN 108401078B
Authority
CN
China
Prior art keywords
brightness value
screen
environment
backlight
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.)
Expired - Fee Related
Application number
CN201810555546.1A
Other languages
Chinese (zh)
Other versions
CN108401078A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810555546.1A priority Critical patent/CN108401078B/en
Publication of CN108401078A publication Critical patent/CN108401078A/en
Application granted granted Critical
Publication of CN108401078B publication Critical patent/CN108401078B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a backlight brightness adjusting method, a backlight brightness adjusting device, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: when receiving a screen lightening operation instruction for starting the mobile terminal in a screen off state, detecting whether a backlight adjusting mode is a manual adjusting mode; if the backlight adjusting mode of the mobile terminal is a manual adjusting mode, then: acquiring a current first environment brightness value and a second environment brightness value stored when the screen is turned off; if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is greater than a preset threshold value, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value. In the application, the problem that in the prior art, when the backlight is manually adjusted, the screen is not clearly seen or the screen is dazzled due to the backlight brightness problem can be solved.

Description

Backlight brightness adjusting method and device, mobile terminal and readable storage medium
Technical Field
The present application belongs to the technical field of mobile terminal control, and in particular, to a backlight brightness adjusting method, a backlight brightness adjusting apparatus, a mobile terminal, and a computer-readable storage medium.
Background
Currently, most mobile terminals (for example, smart phones) in the market support automatic backlight brightness adjustment, so that the screen backlight brightness of the mobile terminal can be automatically adjusted according to the brightness of the current environment. However, due to the difference in user habits, many users still choose to manually adjust the backlight brightness.
In the prior art, if the backlight adjustment mode is manual adjustment, when the user turns on the screen, the backlight brightness defaults to the backlight brightness when the screen is turned off last time, and according to this logic, the following technical problems can occur:
if the user turns off the screen in a dark environment and turns on the screen in a bright environment, the user cannot see the terminal interface clearly due to too dark backlight brightness in the bright screen, and the mobile terminal can be operated only after the user needs to adapt to screen brightness for a period of time; if the user turns off the screen in a bright environment and turns on the screen in a dark environment, the screen is very dazzling due to the fact that the backlight brightness is too bright in the bright environment, and the eyesight of the user is affected.
Disclosure of Invention
In view of the above, the present application provides a backlight brightness adjusting method, a backlight brightness adjusting apparatus, a mobile terminal and a computer readable storage medium, which can solve the problem in the prior art that when the backlight is manually adjusted, the screen is not clearly seen or the screen is dazzled due to the backlight brightness problem.
The application provides a backlight brightness adjusting method, which comprises the following steps:
when receiving a screen lightening operation instruction for starting the mobile terminal in a screen off state, detecting whether a backlight adjusting mode is a manual adjusting mode;
if the backlight adjusting mode of the mobile terminal is a manual adjusting mode, then:
acquiring a current first environment brightness value and a second environment brightness value stored when the screen is turned off;
if the absolute value of the difference between the first environment brightness value and the second environment brightness value is greater than a preset threshold, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value.
A second aspect of the present application provides a backlight luminance adjusting apparatus, including:
the backlight mode detection module is used for detecting whether the backlight adjustment mode is a manual adjustment mode or not when receiving an instruction for starting a screen lightening operation of the mobile terminal in a screen off state;
the environment brightness obtaining module is used for obtaining a current first environment brightness value and a second environment brightness value stored in the screen-off state if the backlight adjusting mode of the mobile terminal is a manual adjusting mode;
the first backlight adjusting module is configured to adjust the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value if an absolute value of a difference between the first environment brightness value and the second environment brightness value is greater than a preset threshold.
A third aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as described above.
A fifth aspect of the application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method as described above.
In summary, the present application provides a backlight brightness adjusting method, which includes detecting whether a backlight adjusting mode is a manual adjusting mode when receiving a screen-on operation instruction for starting a mobile terminal in a screen-off state; secondly, if the backlight adjustment mode of the mobile terminal is a manual adjustment mode, acquiring a current first environment brightness value and a second environment brightness value when the mobile terminal is turned off, and if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is greater than a preset threshold value, adjusting the backlight brightness of the current screen to be a first backlight brightness value corresponding to the current first environment brightness value. Therefore, when the technical scheme that this application provided can realize the manual regulation back light, if current ambient brightness with the last time put out the ambient brightness difference when the screen too big (for example the user gets into darker environment or gets into brighter environment by darker environment by brighter environment), can be automatically with current screen brightness adjustment for with current ambient brightness assorted screen brightness, thereby, avoided the user by the dazzling problem of the screen when brighter environment gets into darker environment and the user by the problem of the unable clear screen of seeing when darker environment gets into brighter environment, can improve user experience to a certain extent.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a backlight brightness adjusting method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of another backlight brightness adjusting method according to the second embodiment of the present application;
FIG. 3 is a schematic diagram of backlight brightness adjustment from a darker environment to a lighter environment according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of backlight brightness adjustment from a brighter environment to a darker environment according to the second embodiment of the present application;
fig. 5 is a schematic structural diagram of a backlight brightness adjusting device according to a third embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The backlight brightness adjusting method provided by the embodiment of the application can be applied to a mobile terminal, and for example, the mobile terminal includes but is not limited to: smart phones, tablet computers, learning machines, intelligent wearable devices, and the like.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, a method for adjusting backlight brightness provided in an embodiment of the present application is described below, where the method for adjusting backlight brightness in the embodiment of the present application includes:
in step S101, when receiving an instruction to start a screen-up operation of the mobile terminal in a screen-off state, detecting whether the backlight adjustment mode is a manual adjustment mode;
in general, if the backlight adjustment mode is manual adjustment, when the user turns on the screen, the backlight brightness defaults to the backlight brightness when the screen is turned off last time. If the user turns off the screen in a dark environment and turns on the screen in a bright environment, the problem that the user cannot see the terminal interface clearly due to the fact that the backlight brightness is too dark when the screen is turned on occurs; if the user turns off the screen in a bright environment, when the screen is bright in a dark environment, the problem that the screen is very dazzling due to the fact that the backlight brightness is too bright when the screen is bright can occur. In order to solve the technical problem in the manual dimming mode, when receiving an instruction for starting a screen-on operation of the mobile terminal in a screen-off state, it is first determined whether a current backlight adjustment mode of the mobile terminal is a manual adjustment mode, if so, the subsequent steps of the embodiment of the present application are executed, and if not, for example, the current backlight adjustment mode is an automatic dimming mode, the screen brightness can be automatically adjusted according to an automatic dimming method disclosed in the prior art.
In step S102, if the backlight adjustment mode of the mobile terminal is a manual adjustment mode, acquiring a current first environment brightness value and a second environment brightness value stored when the screen is turned off;
in this embodiment, if the backlight adjustment mode of the mobile terminal is the manual adjustment mode, the current first environment brightness value may be obtained according to the light sensor, and the second environment brightness value stored when the screen is turned off last time is obtained, so that the current screen brightness may be determined according to the first environment brightness value and the second environment brightness value in the following.
In step S103, if the absolute value of the difference between the first environment brightness value and the second environment brightness value is greater than a preset threshold, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value;
in the embodiment of the application, if the difference between the current first environment brightness value and the second environment brightness value when the screen is turned off last time is too large, the backlight brightness of the current screen is adjusted to be the first backlight brightness value matched with the first environment brightness value; if the current first environment brightness value is not much different from the second environment brightness value when the screen is turned off last time (for example, smaller than or equal to the preset threshold), the backlight brightness of the current screen is directly set to the second backlight brightness value stored when the screen is turned off last time.
The preset threshold in this step may be obtained through a large number of tests in advance, for example, a test environment brightness value is selected to be L1, so that the volunteer adjusts the screen brightness value to make the volunteer feel comfortable when observing the screen, assuming that the adjusted screen brightness value of the volunteer is N1; then, the screen brightness value N1 is kept unchanged, the test environment brightness value L1 is continuously increased (or decreased), how little the test environment brightness value changes is recorded, the volunteer cannot see the screen clearly (or thinks the screen is dazzling), and the change value of the test environment brightness when the volunteer cannot see the screen clearly (thinks the screen is dazzling) is determined as the preset threshold value. Generally, a plurality of volunteers are selected, a plurality of test environment brightness values are set, and the measured preset thresholds are averaged, so as to obtain a more accurate preset threshold.
Under a general condition, the screen brightness value is kept unchanged, and when the environment brightness value is increased, the size of the change of the environment brightness that human eyes can bear is decreased from the environment brightness value, and the size of the change of the environment brightness that human eyes can bear is often greatly different, therefore, in the embodiment of the present application, two preset thresholds may be set, that is, a first preset threshold and a second preset threshold, where the first preset threshold is the size of the change of the environment brightness that human eyes can bear when the environment brightness value is increased, and the second preset threshold is the size of the change of the environment brightness that human eyes can bear when the environment brightness value is decreased, in this case, the step S103 specifically is:
if the first environment brightness value is greater than the second environment brightness value and the difference between the first environment brightness value and the second environment brightness value is greater than the first preset threshold, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value;
if the first environment brightness value is smaller than the second environment brightness value and the difference between the second environment brightness value and the first environment brightness value is greater than the second preset threshold, the backlight brightness of the current screen is adjusted to the first backlight brightness value corresponding to the first environment brightness value.
In addition, the first backlight brightness value may be determined according to a correspondence table pre-stored in the mobile terminal. The corresponding relation table contains corresponding relation information of each environment brightness value and the corresponding backlight brightness value, wherein each environment brightness value corresponds to one backlight brightness value. The correspondence table may be obtained through a large number of tests in advance, for example, the correspondence table is obtained by testing a comfortable screen brightness value of a volunteer under different ambient brightness conditions.
In this embodiment, the first backlight brightness value corresponding to the current first environment brightness value may be determined according to the corresponding relationship table, for example, an environment brightness value closest to the first environment brightness value may be searched in the corresponding relationship table, and a screen brightness value corresponding to the environment brightness value is taken as the first backlight brightness value; or, a relationship curve between the environment brightness value and the screen brightness value may be determined according to each environment brightness value and the screen brightness value in the correspondence table, and then the first backlight brightness value corresponding to the first environment brightness value may be calculated according to the relationship curve. In the embodiment of the present application, how to determine the first backlight brightness value according to the correspondence table is not limited.
In addition, in the embodiment of the present application, since the sensitivities of different users to the external environment light are different, and the sensitivities of the same user to the external environment light are different in different time periods (such as during eye diseases), the correspondence table stored in the system memory may not be suitable for the current user of the mobile terminal. Therefore, the corresponding relation table in the memory can be corrected according to the ambient brightness and the screen brightness in the using process when the current user uses the mobile terminal. A method for updating the correspondence table is given below:
firstly, determining a relation curve of a screen brightness value and an environment brightness value according to a pre-stored corresponding relation table, for example, the screen brightness value and the environment brightness value are in a linear relation; secondly, predicting the screen brightness value under the current environment brightness value according to the relation curve, and automatically adjusting the screen brightness according to the screen brightness value; then, acquiring a correction value of the screen brightness value by a user; finally, according to the correction value of the screen brightness by the user, adjusting each parameter of the relation curve to obtain a correction relation curve, and updating the corresponding relation table according to the correction relation curve to obtain a new corresponding relation table.
In addition, the method provided by the first embodiment of the present application may further include the following steps:
and when receiving a screen-off operation instruction of the mobile terminal in a screen-on state, updating the second environment brightness value to an environment brightness value when the screen is off, and updating the second backlight brightness value to a backlight brightness value when the screen is off.
It is from top to bottom visible, the technical scheme that this application embodiment one provided can realize when the manual regulation back light, if current ambient brightness with put out the ambient brightness difference when shielding last time too big (for example the user gets into darker environment or gets into brighter environment by darker environment by brighter environment), can be automatically with current screen brightness adjustment for with current ambient brightness assorted screen brightness, thereby, avoided the problem that the user can't see the screen clearly when getting into brighter environment by brighter environment's the dazzling problem of screen and the user by darker environment when getting into brighter environment, can improve user experience to a certain extent.
Example two
Referring to fig. 2, a further method for adjusting backlight brightness provided in the second embodiment of the present application is described below, where the method for adjusting backlight brightness in the second embodiment of the present application includes:
in step S201, when receiving an instruction to start a screen-up operation of the mobile terminal in a screen-off state, detecting whether the backlight adjustment mode is a manual adjustment mode;
in step S202, if the backlight adjustment mode of the mobile terminal is the manual adjustment mode, acquiring a current first environment brightness value and a second environment brightness value stored when the screen is turned off;
in the second embodiment of the present application, the execution manners of the steps S201 to S202 are the same as those of the steps S101 to S102 in the first embodiment, and reference may be specifically made to the description of the first embodiment, which is not repeated herein.
In step S203, determining whether the first environment brightness value is greater than the second environment brightness value, if so, performing step S204, otherwise, performing step S205;
in the second embodiment of the present application, two preset thresholds are set, which are a first preset threshold and a second preset threshold, respectively. When the first environment brightness value is greater than the second environment brightness value, it is necessary to further determine a relationship between a difference between the first environment brightness value and the second environment brightness value and the first preset threshold, and when the first environment brightness value is less than the second environment brightness value, it is necessary to further determine a relationship between a difference between the second environment brightness value and the first environment brightness value and the second preset threshold, which may be specifically described in step S103 in the first embodiment, and details thereof are not repeated herein.
In step S204, if the difference between the first environment brightness value and the second environment brightness value is greater than a first preset threshold, the backlight brightness of the current screen is adjusted to a first preset brightness value, and the first preset brightness value is reduced to a first backlight brightness value corresponding to the first environment brightness value according to a first preset step length within a first preset time period.
In this embodiment of the application, if the current first environment brightness value is greater than the second environment brightness value when the screen is turned off last time, and a difference between the current first environment brightness value and the second environment brightness value is greater than the first preset threshold, the screen may be first adjusted to a brighter brightness, and then the screen brightness is slowly reduced to the first backlight brightness value matched with the current first environment brightness value. For example, as shown in fig. 3, the user a is initially located in a dark room, and the screen backlight brightness value is X at this time; then, when the user a turns on the screen again outdoors with bright light, the screen brightness may be first adjusted to a preset larger brightness value, and then the screen brightness value is reduced to a first backlight brightness value matched with the current environment within a certain time, for example, 100ms as shown in fig. 3, so that the user can adapt to the screen brightness more quickly at the moment of turning on the screen, and the screen cannot be seen clearly because the screen is too dark. In addition, in the embodiment of the present application, the first preset brightness value may be calculated according to the first backlight brightness value, for example, the first preset brightness value is 1.2 times or twice of the first backlight brightness, and specifically, the first preset brightness value, the first preset time period, and the first preset step may be obtained through a large number of experiments in advance.
In this embodiment of the application, if a difference between the current first environment brightness value and the second environment brightness value when the screen is turned off last time is less than or equal to the first preset threshold, the current screen brightness may be directly set as the screen brightness when the screen is turned off last time.
In step S205, if the difference between the second environment brightness value and the first environment brightness value is greater than a second preset threshold, adjusting the backlight brightness of the current screen to a second preset brightness value, and increasing the second preset brightness value to a first backlight brightness value corresponding to the first environment brightness value according to a second preset step length within a second preset time period;
in this embodiment of the application, if the current first environment luminance value is smaller than the second environment luminance value when the screen is turned off last time, and a difference between the current first environment luminance value and the second environment luminance value is larger than the second preset threshold, the backlight luminance of the current screen may be adjusted to a second preset luminance value, and the second preset luminance value is slowly increased to the first backlight luminance value corresponding to the first environment luminance value within a second preset time period.
As shown in fig. 4, user B is initially located in a room with bright light, and the screen backlight brightness value is W; then, when the user B turns on the screen again during sleep (the light is turned off during sleep, and therefore the ambient brightness value at this time is very small), the screen brightness may be first adjusted to a preset small brightness value, and then the screen brightness value is increased to the first backlight brightness value matched with the current environment within a certain time, for example, 200ms as shown in fig. 4, so that the user can adapt to the screen brightness quickly at the moment of turning on the screen, and the vision is not affected by the screen being too bright. In addition, in the embodiment of the present application, the second preset brightness value may be calculated according to the first backlight brightness value, for example, the second preset brightness value is 0.8 times or 0.5 times of the first backlight brightness, and specifically, the second preset brightness value, the second preset time period, and the second preset step may be obtained through a large number of experiments in advance.
In this embodiment of the application, if the difference between the second environment brightness value when the screen is turned off last time and the current first environment brightness value is less than or equal to the second preset threshold, the current screen brightness may be directly set as the screen brightness when the screen is turned off last time.
Furthermore, in the second embodiment of the present application, only one preset threshold may be set, and in this case, after the above-mentioned S201 and step S202, the following steps may be performed:
if the first environment brightness value is greater than the second environment brightness value and the absolute value of the difference between the first environment brightness value and the second environment brightness value is greater than the preset threshold, the backlight brightness of the current screen may be adjusted to a first brightness value, and then the first brightness value is reduced to a first backlight brightness value matched with the first environment brightness value within a first time period;
if the first environment brightness value is smaller than the second environment brightness value and the absolute value of the difference between the first environment brightness value and the second environment brightness value is greater than the preset threshold, the backlight brightness of the current screen may be adjusted to a second brightness value, and then the second brightness value is increased to the first backlight brightness value matched with the first environment brightness value within a second time period.
Compared with the technical scheme provided by the first embodiment, the technical scheme provided by the second embodiment of the application specifically defines how to adjust the screen brightness to the screen brightness matched with the current environment brightness when the current environment brightness is greatly different from the environment brightness when the screen is turned off last time. In addition, the technical scheme that this application embodiment two provided also can realize when manual regulation back, avoids the problem that the user is dazzling by the screen when brighter environment gets into darker environment and the problem that the user can't see the screen clearly when getting into brighter environment by darker environment.
It should be understood that, the size of the serial number of each step in the foregoing method embodiments does not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE III
In the third embodiment of the present application, a backlight brightness adjusting device is provided, and for convenience of description, only the relevant portions of the present application are shown, and as shown in fig. 5, the backlight brightness adjusting device 300 includes,
the backlight mode detection module 301 is configured to detect whether a backlight adjustment mode is a manual adjustment mode when receiving an instruction to start a screen-up operation of the mobile terminal in a screen-off state;
an environment brightness obtaining module 302, configured to obtain a current first environment brightness value and a second environment brightness value stored when the mobile terminal is turned off if the backlight adjustment mode of the mobile terminal is a manual adjustment mode;
the first backlight adjusting module 303 is configured to adjust the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value if an absolute value of a difference between the first environment brightness value and the second environment brightness value is greater than a preset threshold.
Optionally, the mobile terminal stores a correspondence table, where the correspondence table includes a correspondence between environment brightness values and backlight brightness values, and each environment brightness value corresponds to one backlight brightness value;
accordingly, the first backlight adjusting module 303 is specifically configured to:
if the absolute value of the difference between the first environment brightness value and the second environment brightness value is greater than a preset threshold, determining a first backlight brightness value corresponding to the first environment brightness value according to the corresponding relation table, and adjusting the backlight brightness of the current screen to the first backlight brightness value.
Optionally, the preset threshold includes a first preset threshold and a second preset threshold;
accordingly, the first backlight adjusting module 303 includes:
a first adjusting unit, configured to adjust a backlight brightness of a current screen to a first backlight brightness value corresponding to the first environment brightness value if the first environment brightness value is greater than the second environment brightness value and a difference between the first environment brightness value and the second environment brightness value is greater than the first preset threshold;
a second adjusting unit, configured to adjust the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value if the first environment brightness value is smaller than the second environment brightness value and a difference between the second environment brightness value and the first environment brightness value is greater than the second preset threshold.
Optionally, the first adjusting unit is specifically configured to:
if the first environment brightness value is greater than the second environment brightness value and the difference between the first environment brightness value and the second environment brightness value is greater than the first preset threshold, adjusting the backlight brightness of the current screen to a first preset brightness value, and decreasing the first preset brightness value to a first backlight brightness value corresponding to the first environment brightness value according to a first preset step length within a first preset time period.
Optionally, the second adjusting unit is specifically configured to:
if the first environment brightness value is smaller than the second environment brightness value and the difference between the second environment brightness value and the first environment brightness value is greater than the second preset threshold, adjusting the backlight brightness of the current screen to a second preset brightness value, and increasing the second preset brightness value to a first backlight brightness value corresponding to the first environment brightness value according to a second preset step length within a second preset time period.
Optionally, the backlight brightness adjusting apparatus 300 further includes:
and the second backlight adjusting module is used for setting the backlight brightness of the current screen as a second backlight brightness value stored when the screen is turned off if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is less than or equal to the preset threshold value.
Optionally, the backlight brightness adjusting apparatus 300 further includes:
and the updating module is used for updating the second environment brightness value to the environment brightness value when the mobile terminal is turned off in the screen bright state when receiving the screen-off operation instruction of the mobile terminal in the screen bright state, and updating the second backlight brightness value to the backlight brightness value when the mobile terminal is turned off.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Example four
Fig. 6 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present application. As shown in fig. 6, the mobile terminal 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40 executes the computer program 42 to implement the steps of the backlight brightness adjusting method embodiments, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the device embodiments, such as the functions of the modules 301 to 303 shown in fig. 5.
Illustratively, the computer program 42 may be divided into one or more modules/units, which are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the mobile terminal 4. For example, the computer program 42 may be divided into a backlight mode detection module, an ambient brightness obtaining module and a first backlight adjusting module, and each module has the following specific functions:
when receiving a screen lightening operation instruction for starting the mobile terminal in a screen off state, detecting whether a backlight adjusting mode is a manual adjusting mode;
if the backlight adjusting mode of the mobile terminal is a manual adjusting mode, then:
acquiring a current first environment brightness value and a second environment brightness value stored when the screen is turned off;
if the absolute value of the difference between the first environment brightness value and the second environment brightness value is greater than a preset threshold, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value.
The mobile terminal 4 may be a computing device such as a smart phone, a tablet computer, a learning machine, and an intelligent wearable device. The mobile terminal may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that fig. 6 is merely an example of a mobile terminal 4 and is not intended to be limiting of the mobile terminal 4 and may include more or fewer components than those shown, or some of the components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the mobile terminal 4, such as a hard disk or a memory of the mobile terminal 4. The memory 41 may be an external storage device of the mobile terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided in the mobile terminal 4. Further, the memory 41 may include both an internal storage unit and an external storage device of the mobile terminal 4. The memory 41 is used for storing the computer program and other programs and data required by the mobile terminal. The above-mentioned memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/mobile terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A backlight brightness adjusting method is characterized by comprising the following steps:
when receiving a screen lightening operation instruction for starting the mobile terminal in a screen off state, detecting whether a backlight adjusting mode is a manual adjusting mode;
if the backlight adjusting mode of the mobile terminal is a manual adjusting mode, then:
acquiring a current first environment brightness value and a second environment brightness value stored when the screen is turned off;
if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is greater than a preset threshold value, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value;
the mobile terminal stores a corresponding relation table, wherein the corresponding relation table comprises corresponding relations between environment brightness values and backlight brightness values, and each environment brightness value corresponds to one backlight brightness value;
the updating method of the corresponding relation table comprises the following steps: determining a relation curve between the screen brightness value and the environment brightness value according to a pre-stored corresponding relation table; predicting the screen brightness value under the current environment brightness value according to the relation curve, and automatically adjusting the screen brightness according to the screen brightness value; acquiring a correction value of the screen brightness value by a user; adjusting each parameter of the relation curve according to the correction value of the screen brightness by the user to obtain a correction relation curve, and updating the corresponding relation table according to the correction relation curve to obtain a new corresponding relation table; the preset threshold comprises a first preset threshold and a second preset threshold;
if the first environment brightness value is greater than the second environment brightness value and the difference between the first environment brightness value and the second environment brightness value is greater than the first preset threshold value, adjusting the screen to a first preset brightness value, and gradually reducing the screen brightness to a first backlight brightness value matched with the current first environment brightness value after a first preset time period;
if the first environment brightness value is smaller than the second environment brightness value and the difference between the second environment brightness value and the first environment brightness value is larger than the second preset threshold, adjusting the current backlight brightness to a second preset brightness value, and increasing the second preset brightness value to the first backlight brightness value corresponding to the first environment brightness value within a second preset time period.
2. The method of claim 1, wherein if an absolute value of a difference between the first ambient brightness value and the second ambient brightness value is greater than a predetermined threshold, adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first ambient brightness value comprises:
if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is greater than a preset threshold value, determining a first backlight brightness value corresponding to the first environment brightness value according to the corresponding relation table, and adjusting the backlight brightness of the current screen to the first backlight brightness value.
3. The method as claimed in claim 1, wherein if the first environment brightness value is greater than the second environment brightness value and the difference between the first environment brightness value and the second environment brightness value is greater than the first preset threshold, adjusting the backlight brightness of the current screen to the first backlight brightness value corresponding to the first environment brightness value comprises:
if the first environment brightness value is greater than the second environment brightness value, and the difference between the first environment brightness value and the second environment brightness value is greater than the first preset threshold, adjusting the backlight brightness of the current screen to a first preset brightness value, and reducing the first preset brightness value to a first backlight brightness value corresponding to the first environment brightness value according to a first preset step length within a first preset time period.
4. The method as claimed in claim 1, wherein if the first environment brightness value is smaller than the second environment brightness value and the difference between the second environment brightness value and the first environment brightness value is greater than the second preset threshold, adjusting the backlight brightness of the current screen to the first backlight brightness value corresponding to the first environment brightness value comprises:
if the first environment brightness value is smaller than the second environment brightness value and the difference between the second environment brightness value and the first environment brightness value is larger than the second preset threshold, adjusting the backlight brightness of the current screen to a second preset brightness value, and increasing the second preset brightness value to the first backlight brightness value corresponding to the first environment brightness value according to a second preset step length within a second preset time period.
5. The backlight luminance adjustment method according to any one of claims 1 to 4, wherein the method further comprises:
and if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is smaller than or equal to the preset threshold value, setting the backlight brightness of the current screen as a second backlight brightness value stored when the screen is turned off.
6. The backlight luminance adjusting method according to claim 5, further comprising:
and when receiving a screen-off operation instruction of the mobile terminal in a screen-on state, updating the second environment brightness value to an environment brightness value when the screen is off, and updating the second backlight brightness value to a backlight brightness value when the screen is off.
7. A backlight luminance adjusting apparatus, comprising:
the backlight mode detection module is used for detecting whether the backlight adjustment mode is a manual adjustment mode or not when receiving an instruction for starting a screen lightening operation of the mobile terminal in a screen off state;
the environment brightness obtaining module is used for obtaining a current first environment brightness value and a second environment brightness value stored in the screen-off state if the backlight adjusting mode of the mobile terminal is a manual adjusting mode;
the first backlight adjusting module is used for adjusting the backlight brightness of the current screen to a first backlight brightness value corresponding to the first environment brightness value if the absolute value of the difference value between the first environment brightness value and the second environment brightness value is greater than a preset threshold value;
the mobile terminal stores a corresponding relation table, wherein the corresponding relation table comprises corresponding relations between environment brightness values and backlight brightness values, and each environment brightness value corresponds to one backlight brightness value;
the updating method of the corresponding relation table comprises the following steps: determining a relation curve between the screen brightness value and the environment brightness value according to a pre-stored corresponding relation table; predicting the screen brightness value under the current environment brightness value according to the relation curve, and automatically adjusting the screen brightness according to the screen brightness value; acquiring a correction value of the screen brightness value by a user; adjusting each parameter of the relation curve according to the correction value of the screen brightness by the user to obtain a correction relation curve, and updating the corresponding relation table according to the correction relation curve to obtain a new corresponding relation table; if the first environment brightness value is greater than the second environment brightness value and the difference between the first environment brightness value and the second environment brightness value is greater than a first preset threshold value, adjusting the screen to a first preset brightness value, and gradually reducing the screen brightness to a first backlight brightness value matched with the current first environment brightness value after a first preset time period;
if the first environment brightness value is smaller than the second environment brightness value and the difference between the second environment brightness value and the first environment brightness value is larger than a second preset threshold value, adjusting the current backlight brightness to a second preset brightness value, and increasing the second preset brightness value to a first backlight brightness value corresponding to the first environment brightness value within a second preset time period.
8. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810555546.1A 2018-06-01 2018-06-01 Backlight brightness adjusting method and device, mobile terminal and readable storage medium Expired - Fee Related CN108401078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810555546.1A CN108401078B (en) 2018-06-01 2018-06-01 Backlight brightness adjusting method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810555546.1A CN108401078B (en) 2018-06-01 2018-06-01 Backlight brightness adjusting method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN108401078A CN108401078A (en) 2018-08-14
CN108401078B true CN108401078B (en) 2021-03-12

Family

ID=63102660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810555546.1A Expired - Fee Related CN108401078B (en) 2018-06-01 2018-06-01 Backlight brightness adjusting method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN108401078B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288952B (en) * 2019-06-24 2021-07-16 湖北亿咖通科技有限公司 Method and device for setting backlight brightness of vehicle-mounted system during startup
CN110971761B (en) * 2019-12-09 2021-04-06 Oppo广东移动通信有限公司 Method and device for generating display parameter curve, mobile terminal and storage medium
CN111343321B (en) * 2020-02-28 2021-08-10 Oppo广东移动通信有限公司 Backlight brightness adjusting method and related product
CN111883040B (en) * 2020-07-31 2023-10-13 北京小米移动软件有限公司 Display effect adjusting method and device of display screen, terminal equipment and medium
CN112992100A (en) * 2021-04-19 2021-06-18 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, electronic equipment and storage medium
CN114333715B (en) * 2022-01-05 2023-08-18 一汽解放汽车有限公司 Vehicle backlight brightness adjusting method, device, computer equipment and storage medium
CN116704927B (en) * 2022-02-28 2024-07-02 荣耀终端有限公司 Display screen brightness adjustment method, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325791A (en) * 2015-07-06 2017-01-11 联想(北京)有限公司 Display parameter adjustment method and electronic device
CN105788536B (en) * 2016-03-24 2018-03-23 广东欧珀移动通信有限公司 Back light brightness regulating method, device and terminal device
CN106713654A (en) * 2017-01-11 2017-05-24 维沃移动通信有限公司 Mobile terminal display adjustment method and mobile terminal

Also Published As

Publication number Publication date
CN108401078A (en) 2018-08-14

Similar Documents

Publication Publication Date Title
CN108401078B (en) Backlight brightness adjusting method and device, mobile terminal and readable storage medium
US11289053B2 (en) Method for correcting brightness of display panel and apparatus for correcting brightness of display panel
CN107945769B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
US10607570B2 (en) Brightness control method, apparatus and program product
CN110146161B (en) Method and device for detecting ambient illumination intensity and terminal
CN109118447B (en) Picture processing method, picture processing device and terminal equipment
US10783835B2 (en) Automatic control of display brightness
CN104618588A (en) Method for regulating terminal screen brightness
CN105632447A (en) Display brightness adjustment method and device of liquid crystal display
CN106257581A (en) User terminal apparatus and the method being used for adjusting brightness thereof
CN109326266B (en) Method, system, display and storage medium for improving screen flicker
CN107018230A (en) A kind of back light brightness regulating method and terminal
CN110618852B (en) View processing method, view processing device and terminal equipment
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN106898332B (en) Method and system for adjusting screen brightness
CN110556080B (en) Method, device, terminal and storage medium for adjusting backlight
CN108845779B (en) Electronic device for adjusting brightness based on image gray scale and brightness adjusting method thereof
CN112333900A (en) Method and system for intelligently supplementing light and eliminating shadow
CN103577181A (en) Method for regulating skin brightness of input method and terminal
CN106550135B (en) Display screen backlight brightness control method and system based on mobile terminal
CN108810412A (en) Method for processing video frequency, video process apparatus and terminal device
JP2000310983A (en) Information processing device and display environment changing method and recording medium recording the method
CN115691387A (en) Method for adjusting refresh frequency of display screen and electronic equipment
CN112885311A (en) Display screen brightness control method and system, storage medium and terminal equipment
KR20150033786A (en) Method and apparatus for improving readability of contents

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210312