CN110970001B - Screen brightness adjusting method and device, electronic equipment and computer storage medium - Google Patents

Screen brightness adjusting method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN110970001B
CN110970001B CN201911222375.1A CN201911222375A CN110970001B CN 110970001 B CN110970001 B CN 110970001B CN 201911222375 A CN201911222375 A CN 201911222375A CN 110970001 B CN110970001 B CN 110970001B
Authority
CN
China
Prior art keywords
brightness
change rate
data
difference value
screen
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
CN201911222375.1A
Other languages
Chinese (zh)
Other versions
CN110970001A (en
Inventor
陆天洋
帅朝春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911222375.1A priority Critical patent/CN110970001B/en
Publication of CN110970001A publication Critical patent/CN110970001A/en
Application granted granted Critical
Publication of CN110970001B publication Critical patent/CN110970001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a screen brightness adjusting method, a screen brightness adjusting device, electronic equipment and a computer storage medium, firstly, brightness expected data is determined according to current illumination data, and the brightness expected data represents adaptive brightness under the illumination data; then, acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range; then, determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data; and finally. And finishing the brightness adjustment of the screen according to the brightness adjustment change rate. Can be according to the dynamic change brightness control rate of change, when electronic equipment frequently switches under the illumination environment of difference or illumination sensor device problem itself leads to the light sense value frequent change that reports, the speed that can both guarantee screen brightness control is the most suitable speed, prevents the screen scintillation phenomenon that the user can the perception from appearing, has promoted user's use greatly and has experienced.

Description

Screen brightness adjusting method and device, electronic equipment and computer storage medium
Technical Field
The present application relates to the field of brightness adjustment technologies, and in particular, to a method and an apparatus for adjusting screen brightness, an electronic device, and a computer storage medium.
Background
With the progress of the technology, an illumination Sensor (L-Sensor) built in the existing electronic device can automatically adjust the display brightness of a screen according to the illumination intensity of the environment, that is, a brightness change interval value to be changed is calculated when the ambient Light changes, and then the brightness is adjusted according to a fixed brightness adjustment change rate, wherein the brightness adjustment rate indicates the speed of adjusting the brightness. However, when the ambient light changes frequently in a short time, such as passing through a tunnel, the brightness of the screen is adjusted at a fixed brightness adjustment rate by the user, a display effect that the brightness of the screen flickers greatly occurs, and the use experience of the user is greatly reduced.
Disclosure of Invention
Based on the above problems, the application provides a screen brightness adjusting method, a screen brightness adjusting device, an electronic device and a computer storage medium, which can determine different brightness adjusting change rates according to different scenes, prevent the problem of flickering of an adjusting screen in a specific scene, and greatly improve the use experience of a user.
A first aspect of an embodiment of the present application provides a method for adjusting screen brightness, including:
determining brightness expectation data according to current illumination data, wherein the brightness expectation data represents adaptive brightness under the illumination data;
acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range;
determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data;
and finishing the brightness adjustment of the screen according to the brightness adjustment change rate.
A second aspect of the embodiments of the present application provides a screen brightness adjusting apparatus, which includes a processing unit and a communication unit, wherein,
the processing unit is used for determining brightness expectation data according to the current illumination data, and the brightness expectation data represents adaptive brightness under the illumination data;
acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range;
determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data;
and finishing the brightness adjustment of the screen according to the brightness adjustment change rate.
A third aspect of embodiments of the present application provides an electronic device, including an application processor, a communication interface, and a memory, where the application processor, the communication interface, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the application processor is configured to call the program instructions to execute all or part of the steps of the method described in the first aspect of embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform all or part of the steps of a method as described in the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of embodiments of the present application. The computer program product may be a software installation package.
By implementing the embodiment of the application, the following beneficial effects can be obtained:
according to the screen brightness adjusting method, the screen brightness adjusting device, the electronic equipment and the computer storage medium, firstly, brightness expected data are determined according to current illumination data, and the brightness expected data represent adaptive brightness under the illumination data; then, acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range; then, determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data; and finally. And finishing the brightness adjustment of the screen according to the brightness adjustment change rate. Can be according to the dynamic change brightness control rate of change, when electronic equipment frequently switches under the illumination environment of difference or illumination sensor device problem itself leads to the light sense value frequent change that reports, the speed that can both guarantee screen brightness control is the most suitable speed, prevents the screen scintillation phenomenon that the user can the perception from appearing, has promoted user's use greatly and has experienced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a system architecture diagram of a screen brightness adjusting method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for adjusting screen brightness according to an embodiment of the present disclosure;
fig. 3 is a schematic overall flowchart of a screen brightness adjusting method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating functional units of a screen brightness adjusting apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiments of the present application may be an electronic device with communication capability, and the electronic device may include various handheld devices with wireless communication function, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on.
It should be noted that the "brightness adjustment change rate" mentioned in the embodiment of the present application indicates the speed of the brightness change, for example, the duration of the screen brightness adjusted from 500 nit (nit) to 800 nit is 1 second, and the brightness adjustment change rate at this time is 300 nit per second.
The system architecture of the screen brightness adjusting method in the embodiment of the present application is described below with reference to fig. 1, where fig. 1 is a system architecture diagram of the screen brightness adjusting method provided in the embodiment of the present application, and is applied to an electronic device, the system architecture includes an ambient light obtaining unit 110 disposed on a physical layer of the electronic device, a preprocessing unit 120 disposed on a driving layer of the electronic device, and a brightness adjusting unit 130 disposed on a framework layer of the electronic device, where the ambient light obtaining unit 110 may be an illumination sensor matrix and is configured to obtain current ambient light data, the ambient light obtaining unit 110 is connected to the preprocessing unit 120, the preprocessing unit 120 may receive and process the ambient light data, and then send the processed ambient light data to the brightness adjusting unit 130, and the brightness adjusting unit may obtain brightness adjusting data according to a related algorithm, including the brightness adjustment amplitude, the brightness adjustment change rate and the like, and the brightness adjustment of the screen of the electronic equipment is completed.
Through the system architecture, different brightness adjustment change rates can be determined according to different scenes, the problem that the adjustment screen flickers in a specific scene is prevented, and the use experience of a user is greatly improved.
Fig. 2 is a schematic flow chart of a screen brightness adjusting method provided in the embodiment of the present application, and specifically includes the following steps:
step 201, determining the brightness expected data according to the current illumination data.
The brightness expectation data indicates adapted brightness under the illumination data, that is, the current screen brightness should be changed to the adapted brightness, and the illumination data may be ambient light that can be received by the screen.
Specifically, the illumination data may be obtained by an illumination sensor, the illumination sensor may be an array formed by a plurality of photosensitive elements, and may generally use a thermoelectric effect principle, the photosensitive elements are wire-wound electroplated multi-contact thermopiles, and the surfaces of the photosensitive elements are coated with a black coating with high absorptivity. The hot junction is on the sensing surface, and the cold junction is in the machine body, and the cold junction and the hot junction generate a temperature difference potential. In the linear range, the output signal is proportional to solar irradiance. In order to reduce the influence of temperature, a temperature compensation circuit is provided, in order to prevent the influence of environment on the performance of the quartz glass, two layers of quartz glass covers are used, and the covers are formed by precise optical cold machining and grinding;
secondly, processing the current illumination data to obtain the ambient illumination; the ambient light illuminance is lux, and represents a luminous flux received per unit area of the surface of the subject. 1 lux is equivalent to 1 lumen per square meter, namely, the luminous flux of a light source which is at a distance of one meter and has the luminous intensity of 1 candle and vertically irradiates on the area of a shot main body per square meter. The processing step may include removing interference factors, where the interference factors may include problems of the illumination sensor itself or interference factors in the illumination data, and the ambient light level may be obtained through the interference removal processing.
Finally, the ambient light level may be input to a brightness adjustment algorithm, and the desired brightness data may be determined based on an output of the brightness adjustment algorithm. The brightness adjustment algorithm may output the brightness expectation data according to the ambient light illuminance, and the brightness adjustment algorithm is not specifically limited in the present application.
Therefore, the brightness expected data is determined according to the current illumination data, the brightness value to be adjusted can be determined, and accurate brightness adjustment information is provided for the subsequent steps.
Step 202, acquiring brightness data of a screen.
The brightness data includes current display brightness and a brightness display range, the current display brightness is display brightness of a current screen, and the brightness display range includes maximum brightness which can be displayed by the screen and minimum brightness which can be displayed by the screen, and can be generally obtained by querying basic information of the electronic device.
Through the luminance data who obtains the screen, can carry out corresponding brightness control according to the different luminance data of different screens, show unusually when preventing luminance automatically regulated, promoted user's use greatly and experienced.
And step 203, determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data.
Specifically, a first luminance difference value between the luminance expectation data and the current display luminance may be obtained first, and a second luminance difference value between the maximum luminance and the minimum luminance may be obtained; and then determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value.
The target first brightness difference may be an absolute value, the brightness expected data is greater than the current display brightness and is brightness-adjusted, the brightness expected data is less than the current display brightness and is brightness-adjusted, the concept of positive and negative is not required to be substituted into the first brightness difference, the second brightness difference is a fixed value, each electronic device only corresponds to one type of second brightness difference, and the second brightness difference is a value obtained by subtracting a minimum brightness from a maximum brightness.
Further, as to how to determine the brightness adjustment change rate based on the first brightness difference value and the second brightness difference value, the following may be mentioned:
firstly, acquiring a preset change rate parameter; and then, inputting the first brightness difference value, the second brightness difference value and the change rate parameter into a preset change rate formula, and determining the brightness adjustment change rate according to the output of the preset change rate formula.
Specifically, when the first luminance difference value is represented by Δ L, the second luminance difference value is represented by Δ D, the change rate parameter is represented by K, and the luminance adjustment change rate is represented by V, the preset change rate formula is:
Figure BDA0002301196790000061
therefore, in an electronic device, the variable in the formula is Δ L, the brightness adjustment change rate is in direct proportion to the first brightness difference value, so that different brightness adjustment change rates can be determined according to different scenes, the problem of flickering of an adjustment screen in a specific scene is prevented, and the use experience of a user is greatly improved.
Optionally, the preset change rate parameter may be different according to different scenes, where the "scene" refers to content currently displayed by the electronic device, such as video, pictures, games, music, communication, reading, and the like, and the current display content of the electronic device may be detected by calling a program, and different scenes may need different brightness adjustment change rates to perform brightness adjustment to achieve an optimal brightness adjustment effect. It should be noted that, the determining of the preset change rate parameter may be determined by a trained neural network model, and the trained neural network model may be trained in various scenes to determine a value of the preset change rate parameter that best meets the current scene; optionally, the preset change rate value corresponding to the current scene may also be determined by querying a preset change rate database, which is not specifically limited herein.
And step 204, finishing the brightness adjustment of the screen according to the brightness adjustment change rate.
The brightness adjustment change rate may be input to a brightness driving unit so that the brightness driving unit adjusts the brightness of the screen to a brightness according with the brightness expected data, and the brightness driving may adjust the brightness according to the brightness adjustment change rate.
By the method, the brightness adjustment change rate can be changed according to the dynamic state, when the electronic equipment is frequently switched under different illumination environments or the reported light sensation value is frequently changed due to the device problem of the illumination sensor, the speed of adjusting the screen brightness can be guaranteed to be the most appropriate speed, the screen flicker phenomenon which can be perceived by a user is prevented, and the use experience of the user is greatly improved.
To describe the method in fig. 2 in more detail, a screen brightness adjusting method in the embodiment of the present invention is described in detail with reference to fig. 3, and fig. 3 is a schematic overall flowchart of the screen brightness adjusting method provided in the embodiment of the present invention, and is applied to an electronic device, where the electronic device may be divided into a physical layer, a driving layer, and a frame layer, the physical layer is connected to the driving layer, and the driving layer is connected to the frame layer.
Wherein, the physical layer includes a screen of an electronic device and a light Sensor L-Sensor, the screen may be a Liquid Crystal Display (LCD), the L-Sensor of the physical layer reports received illumination data to a driving layer, the driving layer may remove interference according to the hardware layer, that is, process the illumination data to obtain non-interference ambient illumination, the driving layer includes a buffer register, the buffer register may include an input register and an output register, the input register may store the ambient illumination, the frame layer may monitor the driving layer through a multiplexing mechanism, obtain the ambient illumination from the input register, the frame layer includes a brightness adjustment algorithm and a preset change rate formula, the brightness adjustment algorithm may obtain expected brightness data according to the ambient illumination, the preset change rate formula may obtain a brightness adjustment change rate according to the first brightness difference value, the second brightness difference value, and the change rate parameter, and then the frame layer may generate a brightness adjustment instruction according to the brightness expected data and the brightness adjustment change rate, and send the brightness adjustment instruction to the output register of the driving layer, and the driving layer may execute the brightness adjustment instruction to adjust the brightness of the LCD screen of the physical layer.
Optionally, the frame layer may set the preset change rate parameter when determining the brightness adjustment change rate, where the preset change rate parameter may be different according to different scenes, where the "scene" refers to content currently displayed by the electronic device, such as video, pictures, games, music, communication, reading, and the like, and may detect the current display content of the electronic device through a calling program, and different scenes may need different brightness adjustment change rates to perform brightness adjustment to achieve an optimal brightness adjustment effect. It should be noted that, the determining of the preset change rate parameter may be determined by a trained neural network model, and the trained neural network model may be trained in various scenes to determine a value of the preset change rate parameter that best meets the current scene; optionally, the preset change rate value corresponding to the current scene may also be determined by querying a preset change rate database, which is not specifically limited herein.
Through the method, the brightness adjustment change rate can be changed according to the dynamic state, when the electronic equipment is frequently switched under different illumination environments or the reported light sensation value is frequently changed due to the device problem of the illumination sensor, the speed of adjusting the screen brightness can be ensured to be the most appropriate speed, the screen flicker phenomenon which can be perceived by a user is prevented, and the use experience of the user is greatly improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present disclosure, which is similar to the embodiments shown in fig. 2 and fig. 3. As shown in fig. 4, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for performing any of the steps of the above method embodiments.
In one possible embodiment, the program 421 includes instructions for performing the following steps:
determining brightness expectation data according to current illumination data, wherein the brightness expectation data represents adaptive brightness under the illumination data;
acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range;
determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data;
and finishing the brightness adjustment of the screen according to the brightness adjustment change rate.
It can be seen that, firstly, brightness expectation data is determined according to the current illumination data, and the brightness expectation data represents the adaptive brightness under the illumination data; then, acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range; then, determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data; and finally. And finishing the brightness adjustment of the screen according to the brightness adjustment change rate. Can be according to the dynamic change brightness control rate of change, when electronic equipment frequently switches under the illumination environment of difference or illumination sensor device problem itself leads to the light sense value frequent change that reports, the speed that can both guarantee screen brightness control is the most suitable speed, prevents the screen scintillation phenomenon that the user can the perception from appearing, has promoted user's use greatly and has experienced.
In one possible embodiment, the brightness display range includes a maximum brightness and a minimum brightness, and in the determining the brightness adjustment change rate according to the current display brightness, the brightness display range, and the brightness expectation data, the instructions in the program 421 are specifically configured to:
acquiring a first brightness difference value between the brightness expected data and the current display brightness;
acquiring a second brightness difference value between the maximum brightness and the minimum brightness;
and determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value.
In one possible embodiment, in the determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value, the instructions in the program 421 are specifically configured to:
acquiring a preset change rate parameter;
and inputting the first brightness difference value, the second brightness difference value and the change rate parameter into a preset change rate formula, and determining the brightness adjustment change rate according to the output of the preset change rate formula.
In one possible embodiment, in terms of obtaining the preset rate of change parameter, the instructions in the program 421 are specifically configured to perform the following operations:
acquiring display content data of a current screen, wherein the display content data comprises any one or any combination of video, pictures, games, music, communication and reading;
and determining the corresponding preset change rate parameter according to the display content.
In one possible embodiment, in inputting the first luminance difference value, the second luminance difference value and the change rate parameter into a preset change rate formula, and determining the luminance adjustment change rate according to an output of the preset change rate formula, the first luminance difference value is Δ L, the second luminance difference value is Δ D, the change rate parameter is K, the luminance adjustment change rate is V, and the preset change rate formula is:
Figure BDA0002301196790000101
in one possible embodiment, in said determining the luminance expectation data from the current illumination data, the instructions in the program 421 are specifically configured to perform the following operations:
acquiring the current illumination data through a light sensor;
processing the current illumination data to obtain ambient illumination;
and inputting the ambient light illumination into a brightness adjusting algorithm, and determining the expected brightness data according to the output of the brightness adjusting algorithm.
In one possible embodiment, in terms of the brightness adjustment of the screen according to the brightness adjustment change rate, the instructions in the program 421 are specifically configured to perform the following operations:
and inputting the brightness adjustment change rate into a brightness driving unit so that the brightness driving unit adjusts the brightness of the screen to the brightness according with the brightness expected data.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided 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 application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing 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. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5, fig. 5 is a block diagram illustrating functional units of a screen brightness adjusting apparatus 500 according to an embodiment of the present application. The screen brightness adjusting device 500 is applied to an electronic device, and includes a processing unit 501, a communication unit 502 and a storage unit 503, where the processing unit 501 is configured to execute any step in the above method embodiments, and when data transmission such as sending is performed, the communication unit 502 is optionally called to complete corresponding operations. The details will be described below.
In a possible embodiment, the processing unit 501 is configured to:
determining brightness expectation data according to current illumination data, wherein the brightness expectation data represents adaptive brightness under the illumination data;
acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range;
determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data;
and finishing the brightness adjustment of the screen according to the brightness adjustment change rate.
It can be seen that, firstly, brightness expectation data is determined according to the current illumination data, and the brightness expectation data represents the adaptive brightness under the illumination data; then, acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range; then, determining the brightness adjustment change rate according to the current display brightness, the brightness display range and the brightness expected data; and finally. And finishing the brightness adjustment of the screen according to the brightness adjustment change rate. Can be according to the dynamic change brightness control rate of change, when electronic equipment frequently switches under the illumination environment of difference or illumination sensor device problem itself leads to the light sense value frequent change that reports, the speed that can both guarantee screen brightness control is the most suitable speed, prevents the screen scintillation phenomenon that the user can the perception from appearing, has promoted user's use greatly and has experienced.
In a possible embodiment, in the aspect that the brightness display range includes a maximum brightness and a minimum brightness, and the brightness adjustment change rate is determined according to the current display brightness, the brightness display range, and the brightness expectation data, the processing unit 501 is specifically configured to:
acquiring a first brightness difference value between the brightness expected data and the current display brightness;
acquiring a second brightness difference value between the maximum brightness and the minimum brightness;
and determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value.
In a possible embodiment, in the aspect of determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value, the processing unit 501 is specifically configured to:
acquiring a preset change rate parameter;
and inputting the first brightness difference value, the second brightness difference value and the change rate parameter into a preset change rate formula, and determining the brightness adjustment change rate according to the output of the preset change rate formula.
In a possible embodiment, in terms of obtaining the preset change rate parameter, the processing unit 501 is specifically configured to:
acquiring display content data of a current screen, wherein the display content data comprises any one or any combination of video, pictures, games, music, communication and reading;
and determining the corresponding preset change rate parameter according to the display content.
In one possible embodiment, in inputting the first luminance difference value, the second luminance difference value and the change rate parameter into a preset change rate formula, and determining the luminance adjustment change rate according to an output of the preset change rate formula, the first luminance difference value is Δ L, the second luminance difference value is Δ D, the change rate parameter is K, the luminance adjustment change rate is V, and the preset change rate formula is:
Figure BDA0002301196790000121
in a possible embodiment, in the aspect of determining the brightness expected data according to the current illumination data, the processing unit 501 is specifically configured to:
acquiring the current illumination data through a light sensor;
processing the current illumination data to obtain ambient illumination;
and inputting the ambient light illumination into a brightness adjusting algorithm, and determining the expected brightness data according to the output of the brightness adjusting algorithm.
In a possible embodiment, in the aspect of completing the brightness adjustment of the screen according to the brightness adjustment change rate, the processing unit 501 is specifically configured to:
and inputting the brightness adjustment change rate into a brightness driving unit so that the brightness driving unit adjusts the brightness of the screen to the brightness according with the brightness expected data.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, 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 of some interfaces, devices or units, and may be an electric 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 unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (7)

1. A method for adjusting screen brightness, the method comprising:
determining brightness expectation data according to current illumination data, wherein the brightness expectation data represents adaptive brightness under the illumination data;
acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range, and the brightness display range comprises maximum brightness and minimum brightness;
acquiring a first brightness difference value between the brightness expected data and the current display brightness;
acquiring a second brightness difference value between the maximum brightness and the minimum brightness;
determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value;
finishing the brightness adjustment of the screen according to the brightness adjustment change rate;
the determining a brightness adjustment change rate according to the first brightness difference value and the second brightness difference value includes:
acquiring a preset change rate parameter; inputting the first brightness difference value, the second brightness difference value and the change rate parameter into a preset change rate formula, and determining the brightness adjustment change rate according to the output of the preset change rate formula;
the first brightness difference value is Δ L, the second brightness difference value is Δ D, the change rate parameter is K, the brightness adjustment change rate is V, and the preset change rate formula is:
Figure FDA0003052179680000011
2. the method of claim 1, wherein obtaining the preset rate of change parameter comprises:
acquiring display content data of a current screen, wherein the display content data comprises any one or any combination of video, pictures, games, music, communication and reading;
and determining the corresponding preset change rate parameter according to the display content.
3. The method of claim 1, wherein determining brightness expectation data from the current illumination data comprises:
acquiring the current illumination data through a light sensor;
processing the current illumination data to obtain ambient illumination;
and inputting the ambient light illumination into a brightness adjusting algorithm, and determining the expected brightness data according to the output of the brightness adjusting algorithm.
4. The method of claim 1, wherein said performing brightness adjustment of said screen based on said brightness adjustment rate of change comprises:
and inputting the brightness adjustment change rate into a brightness driving unit so that the brightness driving unit adjusts the brightness of the screen to the brightness according with the brightness expected data.
5. A screen brightness adjustment device, characterized in that the device comprises a processing unit and a communication unit, wherein,
the processing unit is used for determining brightness expectation data according to the current illumination data, and the brightness expectation data represents adaptive brightness under the illumination data;
acquiring brightness data of a screen, wherein the brightness data comprises current display brightness and a brightness display range, and the brightness display range comprises maximum brightness and minimum brightness;
acquiring a first brightness difference value between the brightness expected data and the current display brightness;
acquiring a second brightness difference value between the maximum brightness and the minimum brightness;
determining the brightness adjustment change rate according to the first brightness difference value and the second brightness difference value;
finishing the brightness adjustment of the screen according to the brightness adjustment change rate;
the determining a brightness adjustment change rate according to the first brightness difference value and the second brightness difference value includes:
acquiring a preset change rate parameter; inputting the first brightness difference value, the second brightness difference value and the change rate parameter into a preset change rate formula, and determining the brightness adjustment change rate according to the output of the preset change rate formula; the first brightness difference value is Δ L, the second brightness difference value is Δ D, the change rate parameter is K, the brightness adjustment change rate is V, and the preset change rate formula is:
Figure FDA0003052179680000021
6. an electronic device comprising an application processor, a communication interface and a memory, the application processor, the communication interface and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the application processor being configured to invoke the program instructions to perform the method of any of claims 1 to 4.
7. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 4.
CN201911222375.1A 2019-12-03 2019-12-03 Screen brightness adjusting method and device, electronic equipment and computer storage medium Active CN110970001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911222375.1A CN110970001B (en) 2019-12-03 2019-12-03 Screen brightness adjusting method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911222375.1A CN110970001B (en) 2019-12-03 2019-12-03 Screen brightness adjusting method and device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN110970001A CN110970001A (en) 2020-04-07
CN110970001B true CN110970001B (en) 2021-07-20

Family

ID=70032768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911222375.1A Active CN110970001B (en) 2019-12-03 2019-12-03 Screen brightness adjusting method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN110970001B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798812B (en) * 2020-06-22 2022-05-31 联想(北京)有限公司 Information processing method and information processing device
CN112201209B (en) * 2020-10-23 2022-02-01 展讯半导体(南京)有限公司 Backlight brightness adjusting method and device of display screen, storage medium and terminal
CN114038443B (en) * 2021-11-23 2023-02-14 杭州逗酷软件科技有限公司 Brightness adjusting method and related device
CN116451338A (en) * 2023-02-10 2023-07-18 重庆蓝鲸智联科技有限公司 MCU-based integrated architecture design method
CN116170747A (en) * 2023-02-13 2023-05-26 重庆蓝鲸智联科技有限公司 Method for testing interconnection of vehicle-mounted multimedia and mobile phone

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105575366B (en) * 2016-02-26 2017-10-24 广东欧珀移动通信有限公司 Switch the method and system of backlight governing speed
CN107316622A (en) * 2016-04-26 2017-11-03 深圳市蓝魔数码科技有限公司 Automatically adjust the method and its system of backlight of mobile terminal
CN105788540B (en) * 2016-05-20 2018-09-21 广东欧珀移动通信有限公司 A kind of backlight adjusting method and terminal device
CN106128416B (en) * 2016-08-16 2020-03-13 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal
CN107945733B (en) * 2017-11-22 2019-10-25 Oppo广东移动通信有限公司 Brightness of display screen method of adjustment, device, storage medium and electronic equipment
CN110390911B (en) * 2018-04-19 2022-03-25 中兴通讯股份有限公司 Display screen backlight brightness control method of electronic equipment and electronic equipment
CN110534073A (en) * 2019-07-30 2019-12-03 华为技术有限公司 A kind of screen luminance adjustment method and device

Also Published As

Publication number Publication date
CN110970001A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN110970001B (en) Screen brightness adjusting method and device, electronic equipment and computer storage medium
CN103391404B (en) Automatic explosion method, device, camera installation and mobile terminal
US10694291B2 (en) Directional propagation method and apparatus for audio signal, a terminal device and a storage medium
CN105632447B (en) The display brightness method of adjustment and device of a kind of liquid crystal display
JP5875732B2 (en) Liquid crystal display
CN104301624B (en) A kind of image taking brightness control method and device
CN109240572B (en) Method for obtaining picture, method and device for processing picture
CN107993616B (en) Image display method and device
CN110930335B (en) Image processing method and electronic equipment
US11030728B2 (en) Tone mapping techniques for increased dynamic range
CN107993604A (en) The adjusting method and equipment of a kind of display screen
CN105323466B (en) A kind of image pickup method and terminal based on scene
CN109243383B (en) Backlight brightness adjusting method of display screen and display screen device
CN111830746A (en) Display with adjustable direct-lit backlight unit
CN109741288A (en) Image processing method, device, storage medium and electronic equipment
CN109493831B (en) Image signal processing method and device
CN112312035B (en) Exposure parameter adjusting method, exposure parameter adjusting device and electronic equipment
CN110971761B (en) Method and device for generating display parameter curve, mobile terminal and storage medium
JP2022027436A (en) Image processing method and device, terminal, and storage medium
CN107465811B (en) Method for reducing temperature rise, computer readable storage medium and electronic equipment
US11258954B2 (en) Image processing method and apparatus, and electronic device and storage medium
US20160055619A1 (en) Display method and display device
CN106847150A (en) Adjust the device and method of brightness of display screen
WO2022083081A1 (en) Image rendering method and apparatus, and device and storage medium
US10469766B2 (en) Image processing apparatus, surveillance camera system, and image processing method to improve contrast of a moving object

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