CN109271014B - Method and equipment for adjusting screen brightness - Google Patents

Method and equipment for adjusting screen brightness Download PDF

Info

Publication number
CN109271014B
CN109271014B CN201710586434.8A CN201710586434A CN109271014B CN 109271014 B CN109271014 B CN 109271014B CN 201710586434 A CN201710586434 A CN 201710586434A CN 109271014 B CN109271014 B CN 109271014B
Authority
CN
China
Prior art keywords
brightness
application
scene
adjusting
adjustment
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
CN201710586434.8A
Other languages
Chinese (zh)
Other versions
CN109271014A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201710586434.8A priority Critical patent/CN109271014B/en
Priority to PCT/CN2018/095924 priority patent/WO2019015569A1/en
Publication of CN109271014A publication Critical patent/CN109271014A/en
Application granted granted Critical
Publication of CN109271014B publication Critical patent/CN109271014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • 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

Abstract

The embodiment of the invention discloses a method and equipment for adjusting screen brightness, relates to the field of terminal equipment, and can adjust the screen brightness by adopting different adjustment curves aiming at different application scenes to further reduce the power consumption of the terminal equipment so as to prolong the endurance time of the terminal equipment. The specific scheme is as follows: determining an application scene according to the type of the first application; determining an adjustment curve corresponding to the application scene according to the application scene and a corresponding relation between a preset application scene and the adjustment curve; and adjusting the screen brightness by adopting an adjusting curve corresponding to the application scene. The embodiment of the invention is used for the terminal equipment to adjust the brightness of different screens according to different application scenes.

Description

Method and equipment for adjusting screen brightness
Technical Field
The embodiment of the invention relates to the field of terminal equipment, in particular to a method and equipment for adjusting screen brightness.
Background
With the increasing powerful functions of the terminal equipment, more and more applications are installed by users. In order to meet the requirement of a user on using an installed application for a long time, the power consumption of the terminal equipment can be reduced by reducing the screen brightness of the terminal equipment, so that the aim of prolonging the endurance time of the terminal equipment is fulfilled.
In the process of reducing the screen brightness of the terminal device, two key problems must be solved: (1) the process of brightness change must be linear, guarantee the course of the brightness adjustment will not appear the question of the jump of the luminance and screen flicker; (2) the process of brightness adjustment must be completed within a certain limited time, and if the brightness adjustment duration is too long, the user perception is improved, and the user experience is deteriorated.
In the prior art, the screen brightness of the terminal device is adjusted by using an automatic brightness adjustment scheme, which is adjusted based on the change of ambient light. Specifically, the terminal device can automatically sense the light intensity of different environments, so that the screen brightness can be automatically adjusted.
However, the existing brightness adjustment scheme cannot perform different screen brightness adjustments for different application scenes of the terminal device.
Disclosure of Invention
The application provides a method and equipment for adjusting screen brightness, which can adjust the screen brightness by adopting different adjustment curves according to different application scenes, and further reduce the power consumption of terminal equipment, thereby prolonging the endurance time of the terminal equipment.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect of the present application, a method for adjusting screen brightness is provided, including: determining an application scene according to the type of the first application; determining an adjustment curve corresponding to the application scene according to the application scene and a corresponding relation between a preset application scene and the adjustment curve; and adjusting the screen brightness by adopting an adjusting curve corresponding to the application scene. The first application is the application to which the current display interface belongs. In the application, the terminal device may adjust the screen brightness by using the adjustment curve corresponding to the application scene according to the determined application scene. Because each application scene has different requirements on the screen brightness, if the screen brightness of the terminal device is reduced only according to the change of the ambient light, and the application scene with smaller requirement on the screen brightness can cause the waste of power consumption, the terminal device in the application adjusts the screen brightness by adopting the adjusting curve aiming at different application scenes, so that the waste of the power consumption of the terminal device can be avoided, the power consumption of the terminal device is further reduced, and the endurance time of the terminal device is prolonged.
With reference to the first aspect, in a possible implementation manner of the present application, the method for determining an adjustment curve corresponding to an application scenario according to the application scenario and a correspondence between a preset application scenario and the adjustment curve specifically includes: determining a brightness adjustment coefficient according to the application scene and the corresponding relation between the application scene and the brightness adjustment coefficient; and determining an adjusting curve corresponding to the application scene according to the brightness adjusting coefficient and a preset reference adjusting curve. Wherein, due to B0A second target brightness and T0The experimental values ensure that the perception of the user is small in the brightness adjustment process; and the brightness adjustment duration T is determined by the terminal deviceAccording to the determined slope of the first order function
Figure BDA0001353644370000023
Determined when equal; therefore, when the terminal device adjusts the screen brightness by adopting the adjusting function determined according to the current brightness of the first application, the first target brightness and the brightness adjusting duration, the perception of the user on the screen brightness change is not obvious in the screen brightness adjusting process, and the user experience is improved.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the method for determining an adjustment curve corresponding to an application scene according to a brightness adjustment coefficient and a preset reference adjustment curve specifically includes: determining a first target brightness according to the current brightness of the first application and the brightness adjustment coefficient; determining the brightness adjustment duration according to the current brightness of the first application, the first target brightness and a preset reference adjustment curve; and determining an adjusting curve corresponding to the application scene according to the current brightness of the first application, the first target brightness and the brightness adjusting duration. When the terminal device adjusts the screen brightness by adopting the adjusting function determined according to the current brightness of the first application, the first target brightness and the brightness adjusting duration, the perception of the user on the screen brightness change is not obvious in the screen brightness adjusting process, and the user experience is improved.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the application scenario may include at least one of the following: a browser scene, a game scene, a video scene, an instant messaging scene, a photographic scene, and an e-book scene.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, a brightness adjustment coefficient corresponding to the browser scene is 0.65, a brightness adjustment coefficient corresponding to the game scene is 0.9, a brightness adjustment coefficient corresponding to the video scene is 0.85, a brightness adjustment coefficient corresponding to the instant message scene is 0.8, a brightness adjustment coefficient corresponding to the photo scene is 0.85, and a brightness adjustment coefficient corresponding to the e-book scene is 0.7.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the method of the present application may further include: and acquiring a preset reference adjusting curve. Correspondingly, the method for obtaining the preset reference adjustment curve may specifically include: determining a brightness adjustment time period T from the initial brightness adjustment to the second target brightness0(ii) a According to the starting brightness, the second target brightness and T0Determining a preset reference adjustment curve
Figure BDA0001353644370000021
Where y is the screen brightness, x is the brightness adjustment time, Δ x0Is the absolute value of the difference between the initial brightness and the second target brightness, B0The initial brightness.
With reference to the first aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the method for "determining the brightness adjustment duration according to the current brightness of the first application, the first target brightness, and the preset reference adjustment curve" may specifically include: adjusting the curve according to the current brightness of the first application, the first target brightness and a preset reference
Figure BDA0001353644370000022
And calculating to obtain the brightness adjustment duration.
In a second aspect of the present application, there is provided a terminal device, which may include: a determining unit and an adjusting unit. The determining unit is used for determining an application scene according to the type of a first application, wherein the first application is an application to which the current display interface belongs. And the determining unit is further used for determining an adjusting curve corresponding to the application scene according to the application scene and the corresponding relation between the preset application scene and the adjusting curve. And the adjusting unit is used for adjusting the screen brightness by adopting the adjusting curve corresponding to the application scene.
With reference to the second aspect, in a possible implementation manner of the present application, the determining unit may be specifically configured to: determining a brightness adjustment coefficient according to the application scene and the corresponding relation between the application scene and the brightness adjustment coefficient; and determining an adjusting curve corresponding to the application scene according to the brightness adjusting coefficient and a preset reference adjusting curve.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the determining unit may specifically be configured to: determining a first target brightness according to the current brightness of the first application and the brightness adjustment coefficient; determining brightness adjustment duration according to the current brightness of the first application, the first target brightness and a preset reference adjustment curve; and determining an adjusting curve corresponding to the application scene according to the current brightness of the first application, the first target brightness and the brightness adjusting duration.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the application scenario may include at least one of the following: a browser scene, a game scene, a video scene, an instant messaging scene, a photographic scene, and an e-book scene.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, a brightness adjustment coefficient corresponding to the browser scene is 0.65, a brightness adjustment coefficient corresponding to the game scene is 0.9, a brightness adjustment coefficient corresponding to the video scene is 0.85, a brightness adjustment coefficient corresponding to the instant message scene is 0.8, a brightness adjustment coefficient corresponding to the photo scene is 0.85, and a brightness adjustment coefficient corresponding to the e-book scene is 0.7.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the terminal device in the present application may further include: an acquisition unit. The acquisition unit is used for acquiring a preset reference adjustment curve. Correspondingly, the obtaining unit may specifically be configured to: determining a brightness adjustment time period T from the initial brightness adjustment to the second target brightness0(ii) a According to the starting brightness, the second target brightness and T0Determining a preset reference adjustment curve
Figure BDA0001353644370000031
Wherein y is a screenBrightness, x is the brightness adjustment time, Δ x0Is the absolute value of the difference between the initial brightness and the second target brightness, B0The initial brightness.
With reference to the second aspect and the foregoing possible implementation manners, in another possible implementation manner of the present application, the determining unit may specifically be configured to: adjusting the curve according to the current brightness of the first application, the first target brightness and a preset reference
Figure BDA0001353644370000032
And calculating to obtain the brightness adjustment duration.
It should be noted that each functional unit of the second aspect and various possible implementations of the second aspect of the embodiment of the present invention is a logical division performed on the terminal device in order to execute the method for adjusting the screen brightness in the first aspect and the various optional manners of the first aspect. For a detailed description and a beneficial effect analysis of each functional unit of the second aspect and various possible implementations thereof, reference may be made to the corresponding description and technical effects in the first aspect and various possible implementations thereof, which are not described herein again.
In a third aspect of the present application, a terminal device is provided, which may include: a processor, a memory, and a communication interface. The memory is used for storing computer execution instructions, the processor and the communication interface are connected with the memory through a bus, and when the terminal device runs, the processor executes the computer execution instructions stored in the memory, so that the terminal device executes the method for adjusting the screen brightness according to the first aspect and the various alternatives of the first aspect.
In a fourth aspect of the present application, a computer-readable storage medium is provided, in which one or more program codes are stored, and when the program codes are executed by a processor of the terminal device in the third aspect, the terminal device executes the method for adjusting the screen brightness according to the first aspect and the various alternatives of the first aspect.
In a fifth aspect of the present application, a computer program product is provided, which, when run on a computer, causes the computer to perform the method for adjusting screen brightness according to the first aspect and the various alternatives of the first aspect.
For detailed description and corresponding analysis of technical effects of each module of the terminal device in the third aspect, reference may be made to the detailed description of the first aspect and various possible implementation manners thereof, and details are not described here in the embodiments of the present invention.
Drawings
Fig. 1 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for adjusting screen brightness according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of an adjustment curve according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another exemplary adjustment curve according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another exemplary adjustment curve according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for adjusting screen brightness according to an embodiment of the present invention;
fig. 7 is a first schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 9 is a third schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first target brightness, the second target brightness, and the like are used to distinguish different target brightnesses, and are not used to describe a specific order of the target brightnesses. In the description of the embodiments of the present invention, "a plurality" means two or more unless otherwise specified.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In order to reduce power consumption of a terminal device and prolong a duration of the terminal device, in the prior art, a method for reducing screen brightness of the terminal device is provided, the terminal device adjusts the screen brightness of the terminal device according to changes of ambient light, and the reduction amplitude of the screen brightness of the terminal device is the same for each application scene. However, as the terminal device has increasingly powerful functions, more applications are installed by the user, and the application scene corresponding to each application has different requirements on the screen brightness, if the screen brightness of the terminal device is reduced only according to the change of the ambient light, the application scene with a smaller requirement on the screen brightness will cause waste of power consumption. In order to further reduce the power consumption of the terminal device and prolong the endurance time of the terminal device, the embodiment of the invention provides a method for adjusting the screen brightness, which can be applied to the terminal device. Specifically, the method can be applied to the process of adjusting the screen brightness of the terminal device according to different application scenes.
For example, the terminal device in the embodiment of the present invention may be a mobile phone, a wearable device, an Augmented Reality (AR)/Virtual Reality (VR) device, a tablet Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, which is not limited in this respect.
For convenience of understanding, in the embodiment of the present invention, only the terminal device is taken as an example, and a hardware structure of the terminal device is described. The following describes each component of the mobile phone provided by the embodiment of the present invention with reference to fig. 1.
Fig. 1 is a schematic structural diagram of a mobile phone provided in an embodiment of the present invention. As shown in fig. 1, the mobile phone 01 may include: a Radio Frequency (RF) circuit 11, an input unit 12, a processor 13, a memory 14, a display unit 15, and a power supply 16. Those skilled in the art will appreciate that the handset configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the mobile phone 01 of fig. 1:
the RF circuit 11 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 13; in addition, the uplink data is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 11 can also communicate with a network and other devices through wireless communication. The wireless Communication may use any Communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The input unit 12 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 01. Specifically, the input unit 12 may include a touch screen 121 and other input devices 122. The touch screen 121, also referred to as a touch panel, may collect a touch operation performed by a user on or near the touch screen 121 (e.g., an operation performed by the user on or near the touch screen 121 using any suitable object or accessory such as a finger or a stylus), and drive the corresponding connection device according to a preset program.
Alternatively, the touch screen 121 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 13, and can receive and execute commands sent by the processor 13. In addition, the touch screen 121 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. Other input devices 122 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power switch keys, etc.), a trackball, a mouse, and a joystick.
The processor 13 is a control center of the mobile phone 01, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 13 is a Central Processing Unit (CPU), or may be an Application Specific Integrated Circuit (ASIC), or may be one or more Integrated circuits configured to implement embodiments of the present invention, such as: one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
The processor 13 may connect various parts of the whole mobile phone by using various interfaces and lines, and perform various functions and process data of the mobile phone 01 by running or executing software programs and/or modules stored in the memory 14 and calling data stored in the memory 14, thereby performing overall monitoring of the mobile phone.
Optionally, in a specific implementation, the processor 13 may include one or more CPUs as an embodiment.
Optionally, in a specific implementation, as an embodiment, the mobile phone 01 may include a plurality of processors, that is, the mobile phone 01 may include a multi-core processor. Each of these processors may be a Single-core processor (Single-CPU) or a Multi-core processor (Multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 14 may be used to store software programs and modules, and the processor 13 executes various functional applications and data processing of the mobile phone 01 by operating the software programs and modules stored in the memory 14. The memory 14 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, image data, a phonebook, etc.) created according to the use of the cellular phone 01, and the like. Further, the Memory 14 may be a Read-Only Memory (ROM) or other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to.
The display unit 15 may be used to display information input by the user or information provided to the user, and various menus of the cellular phone 01. The display unit 15 may include a display panel 151. Alternatively, the Display panel 151 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch screen 121 may cover the display panel 151, and when the touch screen 121 detects a touch operation thereon or nearby, the touch screen is transmitted to the processor 13 to determine the type of the touch event, and then the processor 13 provides a corresponding visual output on the display panel 151 according to the type of the touch event. Although the touch screen 121 and the display panel 151 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch screen 121 and the display panel 151 may be integrated to implement the input and output functions of the mobile phone.
In some other embodiments, the touch screen 121 may further include a pressure sensing sensor, so that when a user performs a touch operation on the touch screen 121, the touch screen 121 can also detect a pressure of the touch operation, and the mobile phone 01 can detect the touch operation more accurately.
Further, the mobile phone 01 may further include at least one sensor, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor and a proximity light sensor. The ambient light sensor can adjust the brightness of the display panel 151 according to the brightness of ambient light; the proximity light sensor can detect whether an object is near or touching the mobile phone, and can turn off the display panel 151 and/or the backlight when the mobile phone 01 moves to the ear, so that the mobile phone 01 can further save the power. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like. The mobile phone 01 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
The handset 01 further includes a power supply 16 (e.g., a battery) for supplying power to various components, and preferably, the power supply 16 may be logically connected to the processor 13 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone 01 may further include a Wireless Fidelity (WiFi) module, a bluetooth module, a Global Positioning System (GPS) module, and the like, which will not be described herein.
The methods in the following embodiments can be implemented in the mobile phone 01 having the above hardware structure. Based on each module or component of the mobile phone 01 shown in fig. 1, an embodiment of the present invention provides a method for adjusting screen brightness, which introduces different screen brightness adjustment processes for different application scenes in detail. Specifically, as shown in fig. 2, the method for adjusting the screen brightness may include S201 to S203:
s201, the terminal device determines an application scene according to the type of the first application.
The first application is the application to which the current display interface belongs.
When a user touches the touch screen of the terminal device, the touch screen of the terminal device can detect the touch operation of the user on the touch screen, and sends related parameters generated according to the touch operation to the processor of the terminal device. And after receiving the parameters, the processor determines the object in the area corresponding to the touch operation as the touch object according to the parameters.
Illustratively, when a user presses an icon of a first application in the display interface of the mobile phone 01, the touch screen 121 of the mobile phone 01 may detect the pressing operation and send parameters generated according to the pressing operation to the processor 13 of the mobile phone 01. After receiving the parameter, the processor 13 may determine, according to the parameter, that the object of the pressing operation performed by the user is the icon of the first application; the processor 13 then controls the display panel 151 to display the first application so that the user can see the first application on the current display interface; the processor 13 determines the type of the first application and determines the application scenario according to the type of the first application.
For example, after the user presses the "WeChat" icon in the display interface of the mobile phone 01, the processor 13 of the mobile phone 01 determines that the object of the pressing operation by the user is the "WeChat" and determines that the type of the "WeChat" is the instant message application, and then the processor 13 determines that the application scene is the instant message scene according to the type of the "WeChat".
Illustratively, the application scenario in the embodiment of the present invention may include at least one of the following: a browser scene, a game scene, a video scene, an instant messaging scene, a photographic scene, and an e-book scene. The application scenarios in the embodiments of the present invention include, but are not limited to, the above application scenarios, which are not listed here.
For example, when the first application is ". times.browser", the corresponding application scene is a browser scene; when the first application is the video, the corresponding application scene is a video scene; when the first application is "QQ" or "WeChat" or the like, the corresponding application scenario is an instant message scenario.
S202, the terminal device determines an adjustment curve corresponding to the application scene according to the application scene and a corresponding relation between a preset application scene and the adjustment curve.
The application scenes correspond to the adjustment curves one by one, namely one application scene corresponds to one adjustment curve.
For example, the processor of the terminal device may preset a corresponding relationship between each application scenario and the adjustment curve, and store the corresponding relationship in the memory. After a user starts a first application, a processor of the terminal device determines an application scene, searches a corresponding relation between the application scene and an adjustment curve in a memory according to the application scene, and then searches the adjustment curve corresponding to the application scene from the adjustment curve according to the application scene and the corresponding relation between the application scene and the adjustment curve.
Since human eyes are more sensitive to brightness change under the condition of low screen brightness, when the screen brightness is low, the time for gradual change of the screen brightness is longer, and the step length of jump is smaller, and when the screen brightness is high, the time for gradual change of the screen is shorter, and the step length of jump is longer. For example, assuming that the screen brightness has a variation value of 20, the user may not perceive it as noticeable when the screen brightness is reduced from 200 to 180; however, when the screen brightness is reduced from 60 to 40, the user may clearly perceive that the screen brightness is getting darker. Based on such characteristics, the adjustment curve employed should have the following characteristics: when the screen brightness is bright, the slope of the curve should be large, and the change rate of the screen brightness is high; when the screen brightness is low, the slope of the curve should be low, and the rate of change of the screen brightness is low. In order to ensure that the change of the screen brightness is gradual in the process of adjusting the screen brightness, the screen brightness is realizedIn the embodiment of the invention, the screen brightness is adjusted in a linear mode. Therefore, the adjustment curve adopted in the embodiment of the present invention is the quadratic function y ═ ax2+ bx + c, where y is the screen brightness, x is the brightness adjustment time, and a, b, and c are the basic parameters of the above quadratic function.
For example, assume that the processor 13 of the handset 01 presets the browser scene and the adjustment curve 1 (i.e., y)1=a1x1 2+b1x1+c1) Correspondingly, the video scene corresponds to the adjustment curve 2 (i.e., y)2=a2x2 2+b2x2+c2) Correspondingly, the instant message scene and adjustment curve 3 (i.e., y)3=a3x3 2+b3x3+c3) And (7) corresponding. After the user starts the first application and the first application is 'WeChat', the processor 13 of the mobile phone 01 determines that the application scene is an instant message scene, and the processor 13 determines that an adjustment curve corresponding to the instant message scene is y according to the determined instant message scene and the preset corresponding relationship between the instant message scene and the adjustment curve3=a3x3 2+b3x3+c3
And S203, the terminal equipment adjusts the screen brightness by adopting the adjusting curve corresponding to the application scene.
For example, the embodiment of the present invention may use a quadratic function y ═ ax2+ bx + c adjusts the screen brightness, and the domain of the quadratic function is [0, T]Value range of [ Bmin,Bmax]. Wherein y is the screen brightness, x is the brightness adjustment time, T is the brightness adjustment duration, BminIs a first target brightness, BmaxIs the current brightness of the first application. And, for different application scenarios, the quadratic function y ═ ax adopted by the terminal equipment2The + bx + c is different, that is, the parameters (a, b, and c) of the quadratic function are different for different application scenarios.
Specifically, the processor of the terminal device may use a quadratic function y ═ ax2+ bx + c, B for screen brightness from the beginning (time 0)maxB adjusted to time TminThe second orderThe function passes through two special points, namely (0, B)max) And (T, B)min). From the above quadratic function, the following two equations can be obtained through two special points:
Bmax=a*02+b*0+c(1)
Bmin=a*T2+b*T+c(2)
from equations (1) and (2), the equation can be derived: c is Bmax(3)。
Since the above-described quadratic function has monotonicity in the definition domain, the quadratic function monotonically decreases as the screen brightness decreases and monotonically increases as the screen brightness increases. From the monotonic decrease of the quadratic function in the defined domain, it can be obtained that the symmetry axis of the quadratic function is on the right of or coincides with the straight line x-T, i.e. the axis of symmetry of the quadratic function is on the right of or coincides with the straight line x-T
Figure BDA0001353644370000081
Suppose to get
Figure BDA0001353644370000082
The following equation can be obtained: b is-2 aT (4). Substituting equations (3) and (4) into equation (2) can yield
Figure BDA0001353644370000083
Fig. 3 is a schematic diagram of an example of the adjustment curve being a quadratic function according to the embodiment of the present invention.
This can result in: when the current brightness, the first target brightness and the brightness adjustment duration of the first application are determined, the basic parameters a, b and c of the quadratic function can be determined, so as to obtain a gradual adjustment function (i.e. quadratic function).
For example, if the application scene is a browser scene, the current brightness of the first application is 180, the first target brightness is 90, and the brightness adjustment time length is 10s, the gradual change adjustment function corresponding to the browser scene is as follows: y is 0.9x2-18x + 180. As shown in fig. 4, it is assumed that the current brightness of the browser scene, the video scene, the instant message scene, and the game scene is 180, 120, 90, and 70, respectively, the first target brightness is 90, 60, 45, and 35,the brightness adjustment duration is 10s, and then the gradual change adjustment functions corresponding to the application scenes are respectively y-0.9 x2-18x+180、y=0.6x2-12x+120、y=0.45x2-9x +90 and y 0.35x27x +70, corresponding to curves (a), (b), (c) and (d) shown in FIG. 4, respectively.
The adjustment curve adopted by the terminal equipment has monotonicity in the definition domain, so that the phenomenon that the screen brightness is dim and dim can not occur in the process of adjusting the screen brightness of the terminal equipment.
Of course, the method for adjusting the screen brightness provided by the embodiment of the invention can also restore the screen brightness for different application scenes. For example, the processor of the terminal device may use a quadratic function y ═ ax2+ bx + c, B for screen brightness from the beginning (time 0)minAdjusting B to restore to T timemaxThe quadratic function passes through two special points, namely (0, B)min) And (T, B)max). From the monotonic increase of the quadratic function in the defined domain, it can be obtained that the symmetry axis of the quadratic function is left of or coincides with the straight line x equal to 0, i.e. the line x is equal to 0
Figure BDA0001353644370000091
This gives:
Figure BDA0001353644370000092
b=0,c=Bmin
for example, assuming the application scene is a browser scene, the screen brightness recovery fade adjustment function that recovers from the first target brightness 90 to the first application's current brightness 180 is: y is 0.9x2+90. As shown in fig. 5, assuming that the first target luminances of the browser scene, the video scene, the instant message scene, and the game scene are 90, 60, 45, and 35, the current luminances are 180, 120, 90, and 70, and the luminance adjustment time periods are all 10s, the screen luminance recovery gradual change adjustment functions corresponding to the application scenes are y-0.9 ×, respectively2+90、y=0.6x2+60、y=0.45x2+45 and y-0.35 x2+35, corresponding to curves (e), (f), (g) and (h) shown in fig. 5, respectively.
For example, assume that the current brightness of the browser scene and the video scene in the environment in which the terminal device is located is 180 and 120, respectively, and the requirements for screen brightness are 90 and 60, respectively.
In the prior art, when a first application is a browser scene, a terminal device adjusts the screen brightness in the browser scene to 90 according to the brightness of ambient light; when the first application is a video scene, the terminal device adjusts the screen brightness in the video scene to 90 according to the brightness of the ambient light. However, since the demand of the video scene for the screen brightness is 60 and the terminal device adjusts the screen brightness in the video scene to 90, a waste of power consumption of the terminal device is caused.
In the embodiment of the invention, when the first application is a browser scene, the terminal device adjusts the screen brightness to 90 by using the adjustment curve corresponding to the browser scene; when the first application is a video scene, the terminal device adjusts the screen brightness to 60 according to the adjustment curve corresponding to the video scene. It can thus be seen that: the terminal equipment in the embodiment of the invention can further reduce the power consumption of the terminal equipment.
The embodiment of the invention provides a method for adjusting screen brightness, and terminal equipment can adjust the screen brightness by adopting an adjusting curve corresponding to a determined application scene according to the application scene. Because each application scene has different requirements on the screen brightness, if the screen brightness of the terminal device is reduced only according to the change of the ambient light, and the application scene with smaller requirement on the screen brightness can cause the waste of power consumption, the terminal device in the application adjusts the screen brightness by adopting the adjusting curve aiming at different application scenes, so that the waste of the power consumption of the terminal device can be avoided, the power consumption of the terminal device is further reduced, and the endurance time of the terminal device is prolonged.
It can be seen from the above embodiments that, after the current brightness of the first application, the first target brightness, and the brightness adjustment duration are determined, the parameters a, b, and c of the quadratic function may be determined, so as to obtain an adjustment curve adopted by the terminal device. In the embodiment of the present invention, the terminal device may preset a corresponding relationship between the application scene and the brightness adjustment coefficient and a reference adjustment curve, so as to determine the first target brightness and the brightness adjustment duration.
Specifically, as shown in fig. 6, another method for adjusting screen brightness according to an embodiment of the present invention is shown, and compared with the method for adjusting screen brightness shown in fig. 2, S202 is mainly replaced with S202a and S202b, and only different places are described in detail herein, referring to fig. 6, the method for adjusting screen brightness includes:
s201, the terminal device determines an application scene according to the type of the first application.
S202a, the terminal device determines the brightness adjustment coefficient according to the application scene and the corresponding relation between the application scene and the brightness adjustment coefficient.
The brightness adjustment coefficient is used for the terminal equipment to determine the first target brightness. The application scenes correspond to the brightness adjustment coefficients one to one, that is, one application scene corresponds to one brightness adjustment coefficient. The processor of the terminal device may preset a correspondence between each application scene and the brightness adjustment coefficient, and store the correspondence in the memory.
For example, the processor of the terminal device may search for a corresponding relationship between the application scene and the brightness adjustment coefficient in the memory according to the determined application scene, and then search for the brightness adjustment coefficient corresponding to the application scene from the brightness adjustment coefficient according to the application scene and the corresponding relationship between the application scene and the brightness adjustment coefficient.
For example, the brightness adjustment coefficient in the embodiment of the present invention may be a "discount rate" of the screen brightness, the brightness adjustment coefficient corresponding to the browser scene is 0.65 (that is, the discount rate is 0.65), the brightness adjustment coefficient corresponding to the game scene is 0.9, the brightness adjustment coefficient corresponding to the video scene is 0.85, the brightness adjustment coefficient corresponding to the instant messaging scene is 0.8, the brightness adjustment coefficient corresponding to the photo scene is 0.85, and the brightness adjustment coefficient corresponding to the e-book scene is 0.7. In the embodiment of the present invention, the correspondence between each application scene and the brightness adjustment coefficient is not limited to the above correspondence, and is not listed here.
For example, the brightness adjustment coefficient in the embodiment of the present invention may be a "discount rate" of the screen brightness, and it is assumed that the processor 13 of the mobile phone 01 sets the browser scene corresponding to the brightness adjustment coefficient 1, the video scene corresponding to the second brightness adjustment coefficient 2, and the game scene corresponding to the brightness adjustment coefficient 3 in advance. After determining that the application scene is the browser scene, the processor 13 may determine that the brightness adjustment coefficient corresponding to the browser scene is 0.65 according to a preset correspondence relationship between the browser scene and the brightness adjustment coefficient (i.e., the browser scene corresponds to the brightness adjustment coefficient 3).
S202b, the terminal device determines an adjusting curve corresponding to the application scene according to the brightness adjusting coefficient and a preset reference adjusting curve.
The preset reference adjustment curve is used for the terminal equipment to determine the brightness adjustment duration.
For example, the method for determining the adjustment curve corresponding to the application scene according to the brightness adjustment coefficient and the preset reference adjustment curve by the processor of the terminal device may specifically include steps S202c, S202d, and S202 e:
s202c, the processor of the terminal device may determine the first target brightness according to the current brightness of the first application and the brightness adjustment coefficient.
Specifically, the processor of the terminal device may adopt a formula
Figure BDA0001353644370000101
A first target brightness is calculated, wherein,
Figure BDA0001353644370000102
as a brightness adjustment factor, BminIs a first target brightness, BmaxIs the current brightness of the first application. The processor of the terminal device may obtain the current brightness of the first application after determining the application scene.
For example, the processor 13 of the mobile phone 01 may acquire that the current brightness of the browser application is 200, and determine that the brightness adjustment coefficient corresponding to the browser scene is 0.65, and then the processor 13 may calculate that the first target brightness is 200 × 0.65 — 130.
S202d, the processor of the terminal device may determine the brightness adjustment duration according to the current brightness of the first application, the first target brightness, and a preset reference adjustment curve.
The terminal device may obtain a preset reference adjustment curve in advance. Specifically, the processor of the terminal device may determine a brightness adjustment time period T from the initial brightness adjustment to the second target brightness0And based on the starting brightness, the second target brightness and T0Determining a preset reference adjustment curve
Figure BDA0001353644370000103
Where y is the screen brightness, x is the brightness adjustment time, Δ x0Is the absolute value of the difference between the initial brightness and the second target brightness, B0The initial brightness.
Wherein, B0A second target brightness and T0All the values are experimental values which ensure that the perception of the user is small in the process of brightness adjustment, namely, under each application scene, a processor of the terminal equipment is at T0Completing screen brightness from B within time length0Adjusted to a second target brightness (e.g. B)1) The perception of the user is small.
Therefore, in order to ensure that the perception of the user is small, when the processor of the terminal device determines the brightness adjustment duration corresponding to any application scene, only the current brightness B according to the first application is ensuredmaxFirst target brightness BminAnd the slope of the linear function determined by the brightness adjustment time length T
Figure BDA0001353644370000111
And the brightness adjustment time length T can be calculated. Specifically, the linear function y ═ k × x + B crosses two special points, namely (0, B)max) And (T, B)min) Can obtain
Figure BDA0001353644370000112
Wherein the content of the first and second substances,
Figure BDA0001353644370000113
this gives:
Figure BDA0001353644370000114
s202e, the processor of the terminal device may determine an adjustment curve corresponding to the application scene according to the current brightness of the first application, the first target brightness, and the brightness adjustment duration.
After the current brightness, the first target brightness and the brightness adjustment duration of the first application are determined, parameters a, b and c of the quadratic function can be determined.
As can be seen from the foregoing embodiments, the adjustment curve adopted by the processor of the terminal device is the quadratic function y ═ ax2+ bx + c, and
Figure BDA0001353644370000115
b=-2aT,c=Bmax(ii) a Brightness adjustment duration determined by processor of terminal equipment
Figure BDA0001353644370000116
Accordingly, the processor of the terminal device may determine an adjustment curve corresponding to the application scenario as
Figure BDA0001353644370000117
And S203, the terminal equipment adjusts the screen brightness by adopting the adjusting curve corresponding to the application scene.
Wherein, in the embodiment of the invention, B0A second target brightness and T0The experimental values ensure that the perception of the user is small in the brightness adjustment process; and the brightness adjustment duration T is determined by the terminal device according to the slope of the determined linear function
Figure BDA0001353644370000118
Determined when equal; therefore, when the terminal equipment adjusts the screen brightness by adopting the adjusting function determined according to the current brightness of the first application, the first target brightness and the brightness adjusting duration, the screen brightness adjusting process can be ensuredIn addition, the perception of the user on the screen brightness change is not obvious, and the user experience is improved.
The above description mainly introduces the scheme provided by the embodiment of the present invention from the perspective of the terminal device. It is understood that the terminal device includes hardware structures and/or software modules for performing the respective functions in order to implement the functions. Those skilled in the art will readily appreciate that the present invention can be implemented in hardware, or a combination of hardware and computer software, with the exemplary terminal devices and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. 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 invention.
In the embodiment of the present invention, the terminal device may be divided into the functional modules or the functional units according to the above method examples, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiments of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 7 shows a schematic diagram of a possible structure of the terminal device involved in the above embodiment. The terminal device 700 may include: a determination unit 701 and an adjustment unit 702.
Wherein the determination unit 701 is configured to support S201, S202a, S202b, S202c, S202d, and S202e in the above-described embodiments, and/or other processes for the techniques described herein. The adjustment unit 702 is used to support S203 in the above embodiments, and/or other processes for the techniques described herein.
Further, as shown in fig. 8, the terminal device 700 shown in fig. 7 may further include: an acquisition unit 703. The obtaining unit 703 is configured to obtain a preset reference adjustment curve.
Of course, the terminal device 700 provided in the embodiment of the present invention includes, but is not limited to, the above-mentioned unit modules, for example, the terminal device 700 may further include a receiving unit for receiving data or signals sent by other devices, a sending unit for sending data or signals to other devices, a storage unit, and the like. For example, the storage unit may be configured to store a corresponding relationship between a preset application scenario and an adjustment curve in the embodiment of the present invention.
In the case of an integrated unit, the determining unit 701, the adjusting unit 702, the obtaining unit 703, and the like may be integrated into a processing module, and the processing module may be a processor or a controller, for example, a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processing unit may also be a combination that performs computing functions, e.g., a combination of one or more microprocessors, a DSP and a microprocessor, etc. The receiving unit and the transmitting unit may be implemented integrally in one communication module, which may be a communication interface. The storage unit may be a memory.
When the processing module is a processor, the storage unit is a memory, and the communication module is a transceiver, the terminal device 700 according to the embodiment of the present invention may be the terminal device 900 shown in fig. 9. As shown in fig. 9, the terminal apparatus 900 includes: a processor 901, a memory 902, and a communication interface 903. Wherein the processor 901, the memory 902 and the communication interface 903 are connected to each other by a bus 904.
The bus 904 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 904 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
Terminal device 900 may include one or more processors 901, i.e., terminal device 900 may include a multicore processor.
Embodiments of the present invention also provide a computer storage medium, in which one or more program codes are stored, and when the processor 901 of the terminal device 900 executes the program codes, the terminal device 900 executes the relevant method steps in any of fig. 2 and 6.
The detailed description of each module in the terminal device 900 and the technical effects brought by each module or unit after executing the steps of the related method in any one of fig. 2 and fig. 6 provided by the embodiment of the present invention may refer to the related description in the embodiment of the method of the present invention, and are not repeated herein.
Embodiments of the present invention also provide a computer program product for causing a computer to perform the associated method steps of any of fig. 2 and 6 when the computer program product runs on the computer.
The terminal device 700, the terminal device 900, the computer storage medium or the computer program product provided in the embodiments of the present invention are all configured to execute the corresponding methods provided above, and therefore, the beneficial effects achieved by the present invention can refer to the beneficial effects in the corresponding methods provided above, which are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, 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 be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. 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 invention 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 unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be essentially or partially contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. A method for adjusting screen brightness is applied to a terminal device, and comprises the following steps:
determining an application scene according to the type of the first application; the first application is an application to which a current display interface belongs; the application scenario includes at least one of: a browser scene, a game scene, a video scene, an instant message scene, a photographic scene, and an electronic book scene;
determining a brightness adjustment coefficient according to the application scene and the corresponding relation between the application scene and the brightness adjustment coefficient;
determining an adjusting curve corresponding to the application scene according to the brightness adjusting coefficient and a preset reference adjusting curve;
and adjusting the screen brightness by adopting the adjusting curve corresponding to the application scene.
2. The method according to claim 1, wherein the determining an adjustment curve corresponding to the application scene according to the brightness adjustment coefficient and a preset reference adjustment curve comprises:
determining a first target brightness according to the current brightness of the first application and the brightness adjustment coefficient;
determining brightness adjustment duration according to the current brightness of the first application, the first target brightness and the preset reference adjustment curve;
and determining the adjusting curve corresponding to the application scene according to the current brightness of the first application, the first target brightness and the brightness adjusting duration.
3. The method of claim 1, wherein the browser scene corresponds to a brightness adjustment factor of 0.65, the game scene corresponds to a brightness adjustment factor of 0.9, the video scene corresponds to a brightness adjustment factor of 0.85, the instant messaging scene corresponds to a brightness adjustment factor of 0.8, the camera scene corresponds to a brightness adjustment factor of 0.85, and the electronic book scene corresponds to a brightness adjustment factor of 0.7.
4. The method of claim 2, further comprising:
acquiring the preset reference adjustment curve;
correspondingly, the obtaining the preset reference adjustment curve includes:
determining a brightness adjustment time period T from the initial brightness adjustment to the second target brightness0
According to the starting brightness, the second target brightness and the T0Determining the preset reference adjustment curve
Figure FDA0003479659020000011
Where y is the screen brightness, x is the brightness adjustment time, Δ x0Is the absolute value of the difference between the starting brightness and the second target brightness, B0Is the starting brightness.
5. The method according to claim 4, wherein the determining a brightness adjustment duration according to the current brightness of the first application, the first target brightness and the preset reference adjustment curve comprises:
adjusting the brightness of the first application according to the current brightness of the first application, the first target brightness and the preset reference adjustment curve
Figure FDA0003479659020000012
And calculating to obtain the brightness adjustment duration.
6. A terminal device, comprising: a determining unit and an adjusting unit;
the determining unit is used for determining an application scene according to the type of the first application; the first application is an application to which a current display interface belongs; the application scenario includes at least one of: a browser scene, a game scene, a video scene, an instant message scene, a photographic scene, and an electronic book scene;
the determining unit is further configured to determine a brightness adjustment coefficient according to the application scene and a correspondence between the application scene and the brightness adjustment coefficient;
determining an adjusting curve corresponding to the application scene according to the brightness adjusting coefficient and a preset reference adjusting curve;
and the adjusting unit is used for adjusting the screen brightness by adopting the adjusting curve corresponding to the application scene.
7. The terminal device according to claim 6, wherein the determining unit is specifically configured to:
determining a first target brightness according to the current brightness of the first application and the brightness adjustment coefficient;
determining brightness adjustment duration according to the current brightness of the first application, the first target brightness and the preset reference adjustment curve;
and determining the adjusting curve corresponding to the application scene according to the current brightness of the first application, the first target brightness and the brightness adjusting duration.
8. The terminal device according to claim 6, wherein the brightness adjustment coefficient corresponding to the browser scene is 0.65, the brightness adjustment coefficient corresponding to the game scene is 0.9, the brightness adjustment coefficient corresponding to the video scene is 0.85, the brightness adjustment coefficient corresponding to the instant messaging scene is 0.8, the brightness adjustment coefficient corresponding to the camera scene is 0.85, and the brightness adjustment coefficient corresponding to the e-book scene is 0.7.
9. The terminal device according to claim 7, wherein the terminal device further comprises: an acquisition unit;
the acquiring unit is used for acquiring the preset reference adjusting curve;
correspondingly, the obtaining unit is specifically configured to:
determining a brightness adjustment time period T from the initial brightness adjustment to the second target brightness0
According to the starting brightness, the second target brightness and the T0Determining the preset reference adjustment curve
Figure FDA0003479659020000021
Where y is the screen brightness, x is the brightness adjustment time, Δ x0Is the absolute value of the difference between the starting brightness and the second target brightness, B0Is the starting brightness.
10. The terminal device according to claim 9, wherein the determining unit is specifically configured to:
adjusting the brightness of the first application according to the current brightness of the first application, the first target brightness and the preset reference adjustment curve
Figure FDA0003479659020000022
And calculating to obtain the brightness adjustment duration.
11. A terminal device, characterized in that the terminal device comprises: a processor, a memory, and a communication interface;
the memory is used for storing computer execution instructions, the processor and the communication interface are connected with the memory through a bus, and when the terminal device runs, the processor executes the computer execution instructions stored in the memory, so that the terminal device executes the method for adjusting the screen brightness according to any one of claims 1-5.
12. A computer-readable storage medium comprising computer instructions which, when run on a terminal device, cause the terminal device to perform the method of adjusting screen brightness according to any one of claims 1-5.
CN201710586434.8A 2017-07-18 2017-07-18 Method and equipment for adjusting screen brightness Active CN109271014B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710586434.8A CN109271014B (en) 2017-07-18 2017-07-18 Method and equipment for adjusting screen brightness
PCT/CN2018/095924 WO2019015569A1 (en) 2017-07-18 2018-07-17 Method and device for adjusting screen brightness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710586434.8A CN109271014B (en) 2017-07-18 2017-07-18 Method and equipment for adjusting screen brightness

Publications (2)

Publication Number Publication Date
CN109271014A CN109271014A (en) 2019-01-25
CN109271014B true CN109271014B (en) 2022-04-22

Family

ID=65014965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710586434.8A Active CN109271014B (en) 2017-07-18 2017-07-18 Method and equipment for adjusting screen brightness

Country Status (2)

Country Link
CN (1) CN109271014B (en)
WO (1) WO2019015569A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109637463B (en) * 2019-01-28 2020-11-06 京东方科技集团股份有限公司 Backlight black insertion optimization method and device, medium and electronic equipment
CN109887474B (en) * 2019-02-27 2022-09-30 百度在线网络技术(北京)有限公司 Control method and device for equipment with screen and computer readable medium
CN110381202B (en) * 2019-07-11 2021-11-16 努比亚技术有限公司 Display adjustment method, mobile terminal and computer-readable storage medium
CN110572867A (en) * 2019-09-06 2019-12-13 广东虹勤通讯技术有限公司 method and device for reducing power consumption of electronic equipment
CN112530372A (en) * 2019-09-19 2021-03-19 Oppo(重庆)智能科技有限公司 Method for adjusting backlight, terminal and storage medium
CN112365860B (en) * 2020-10-27 2023-01-20 深圳Tcl新技术有限公司 Terminal screen brightness adjusting method, terminal screen brightness adjusting equipment and storage medium
CN112817821B (en) * 2021-02-01 2022-12-20 网易(杭州)网络有限公司 Data processing method, device, equipment and storage medium
CN117132428A (en) * 2022-05-19 2023-11-28 广州视源电子科技股份有限公司 Eye protection method, device, equipment and storage medium
CN117616496A (en) * 2022-06-21 2024-02-27 北京小米移动软件有限公司 Screen brightness adjusting method and device, electronic equipment and medium
CN116111551B (en) * 2023-04-10 2023-07-11 深圳核心医疗科技股份有限公司 Antistatic parameter determination method and device
CN117877444A (en) * 2024-03-12 2024-04-12 广东嘀嗒酷显柔性显示技术股份有限公司 Adaptive adjustment method and system for color tone of display equipment in conference scene

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0911799A2 (en) * 1997-10-20 1999-04-28 Fujitsu Limited Display control method and information processing apparatus
CN102667899A (en) * 2009-11-27 2012-09-12 佳能株式会社 Image display apparatus
CN103051777A (en) * 2012-12-04 2013-04-17 北京百度网讯科技有限公司 Method and device for controlling mobile terminal screen brightness and mobile terminal
CN103390395A (en) * 2012-05-09 2013-11-13 厦门毅想通信研发中心有限公司 Method and electronic equipment for adjusting brightness of display
CN104240678A (en) * 2013-06-17 2014-12-24 华为终端有限公司 Method, device and terminal for adjusting screen backlight brightness
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI393114B (en) * 2007-09-05 2013-04-11 Htc Corp Mehtod for gradually adjusting screen brightness when switching operating system
US9607575B2 (en) * 2013-05-13 2017-03-28 Asustek Computer Inc. Display mode adjusting method of display device and display mode adjusting module thereof
TWI549116B (en) * 2014-01-24 2016-09-11 宏碁股份有限公司 Image processing circuit and method thereof
CN105895051A (en) * 2015-11-27 2016-08-24 乐视致新电子科技(天津)有限公司 Screen brightness adjustment method and device
CN105632447B (en) * 2016-03-31 2018-05-18 青岛海信移动通信技术股份有限公司 The display brightness method of adjustment and device of a kind of liquid crystal display
CN105976760B (en) * 2016-06-30 2018-12-04 维沃移动通信有限公司 A kind of brightness adjusting method and mobile terminal of terminal screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0911799A2 (en) * 1997-10-20 1999-04-28 Fujitsu Limited Display control method and information processing apparatus
CN102667899A (en) * 2009-11-27 2012-09-12 佳能株式会社 Image display apparatus
CN103390395A (en) * 2012-05-09 2013-11-13 厦门毅想通信研发中心有限公司 Method and electronic equipment for adjusting brightness of display
CN103051777A (en) * 2012-12-04 2013-04-17 北京百度网讯科技有限公司 Method and device for controlling mobile terminal screen brightness and mobile terminal
CN104240678A (en) * 2013-06-17 2014-12-24 华为终端有限公司 Method, device and terminal for adjusting screen backlight brightness
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal

Also Published As

Publication number Publication date
CN109271014A (en) 2019-01-25
WO2019015569A1 (en) 2019-01-24

Similar Documents

Publication Publication Date Title
CN109271014B (en) Method and equipment for adjusting screen brightness
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
US20170078561A1 (en) Method for controlling cameras, storage medium and terminal
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
CN108595000B (en) Screen brightness adjusting method and device
CN106911848B (en) Method for outputting prompt message and terminal equipment
WO2018166204A1 (en) Method for controlling fingerprint recognition module, and mobile terminal and storage medium
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
WO2020007114A1 (en) Method and apparatus for switching split-screen application, storage medium, and electronic device
CN112229507A (en) Ambient light detection method and device, storage medium and mobile terminal
WO2014194759A1 (en) A method, apparatus, and system for controlling voice data transmission
CN111651030B (en) Sensor detection method and device, storage medium and mobile terminal
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN108564539B (en) Method and device for displaying image
WO2015135457A1 (en) Method, apparatus, and system for sending and playing multimedia information
CN110827785B (en) Brightness adjusting method and related product
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN110767950B (en) Charging method, charging device, terminal equipment and computer readable storage medium
CN110908586A (en) Keyboard display method and device and terminal equipment
US10110720B2 (en) Dialing method for user terminal and user terminal
CN114648498A (en) Virtual image content measurement method and device, electronic equipment and storage medium
CN113296664A (en) Screen resolution adjusting method and device, terminal equipment and storage medium
CN107346347B (en) Webpage table display method and device
CN111629263A (en) Display picture compensation method and device, electronic equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: HUAWEI terminal (Dongguan) Co., Ltd.

GR01 Patent grant
GR01 Patent grant