Screen brightness adjusting method and device, intelligent terminal and storage medium

Through the front and rear cameras of the smart terminal, images are collected and exposure calculations are performed, the ambient light intensity is determined and the screen brightness is adjusted, which solves the problems of high cost, high complexity and limited perception range of traditional lighting sensors, and high-precision automatic screen brightness adjustment is achieved, improving the user experience.

CN119520674APending Publication Date: 2025-02-25SHENZHEN SUPER PIXEL INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411413891.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

When implementing adaptive adjustment of screen brightness, traditional lighting sensors have problems such as high cost, high complexity, limited perception range, and design difficulty and reliability risks, which affect the user experience.

Method used

The front and rear cameras of the smart terminal respectively collect images of the environment, perform exposure calculations, combine the preset environmental brightness determination strategy, determine the lighting intensity of the current environment, and adjust the screen brightness according to the lighting intensity.

Benefits of technology

It realizes accurate and automatic adjustment of screen brightness, reduces the R&D and manufacturing costs of the entire machine, and improves the accuracy of brightness adjustment and the comfort of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520674A_ABST
    Figure CN119520674A_ABST
Patent Text Reader

Abstract

The invention is applicable to the technical field of intelligent terminals, and provides a screen brightness adjusting method, which comprises the following steps of: simultaneously starting a front camera and a rear camera of an intelligent terminal to respectively carry out image acquisition on a current environment according to a preset time interval to obtain a corresponding first image and a corresponding second image, respectively performing exposure calculation on the first image and the second image to obtain a corresponding first exposure quantity and a corresponding second exposure quantity, determining the current illumination intensity of the current environment by adopting a preset environment brightness determination strategy based on the first exposure quantity and the second exposure quantity, and when the current screen brightness of the intelligent terminal is not matched with the current illumination intensity, determining the current screen brightness of the intelligent terminal. The screen brightness of the intelligent terminal is adjusted according to the current illumination intensity, so that automatic adjustment of the screen brightness is realized by utilizing a front camera and a rear camera of the intelligent terminal, the research, development and manufacturing cost of the whole machine is saved, the precision, accuracy and adjustment effect of screen brightness adjustment are improved, and the user experience is improved. And thus, the comfort and satisfaction of user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent terminals, and in particular, relates to a screen brightness adjustment method, device, intelligent terminal and storage medium. Background Art

[0002] With the rapid development of smart terminal (such as smartphone) technology, consumers have increasing requirements for device screen display effects, especially the ability to adaptively adjust screen brightness in different lighting environments. Traditionally, this function is mainly achieved through an independent light sensor integrated on the device, which can sense the light intensity of the device's surrounding environment and automatically adjust the screen brightness accordingly to ensure that users can get a comfortable visual experience in various lighting environments. However, the application of traditional light sensors has a series of significant limitations, specifically, including:

[0003] Increased cost and complexity: In order to achieve accurate light perception, the device needs to be equipped with a separate light sensor and calibrated separately from the camera module. This independent device design not only increases the material cost, but also makes the R&D and production process of the whole device more complicated, including additional calibration steps and quality control links, thereby increasing the overall R&D and manufacturing costs;

[0004] Limited sensing range: Traditional light sensors are usually installed on the front of the device or near the frame, which limits the range and accuracy of their sensing of ambient light. Especially in certain scenarios, such as when the user's face or hand is close to the sensor, the sensor may not be able to accurately judge the actual ambient light intensity due to the interference of reflected light, resulting in improper screen brightness adjustment and affecting the user experience. For example, in a dark environment, the light reflected by the user's face may mislead the sensor into thinking that the environment is brighter, thereby increasing the screen brightness and causing glare and discomfort; when holding the phone in reverse, the screen brightness may suddenly dim or brighten due to the hand blocking the light sensor and the hand reflecting the screen light, further reducing the user experience;

[0005] Design difficulty and reliability risk: With the increasing degree of integration of hardware products, cost reduction and efficiency improvement have become important trends in the development of the industry. The existence of traditional light sensors increases the complexity of design and the risk of later reliability. This is because each additional independent device means more circuit board space, more complex circuit design and higher risk of failure rate. This is undoubtedly a huge challenge for the smartphone market that pursues thinness, high reliability and low cost.

[0006] In view of the above pain points, the industry has begun to explore more efficient and economical solutions. With the continuous maturity and popularization of smart terminal camera technology, especially the high-precision exposure calibration technology of front and rear cameras, it has provided new possibilities for using cameras to realize ambient light perception. Summary of the invention

[0007] The purpose of the present invention is to provide a screen brightness adjustment method, device, terminal and storage medium, aiming to solve the problems of inaccurate screen brightness adjustment and poor user experience caused by the prior art.

[0008] In one aspect, the present invention provides a method for adjusting screen brightness, the method comprising the following steps:

[0009] According to a preset time interval, the front and rear cameras of the smart terminal are simultaneously started to collect images of the current environment respectively, to obtain corresponding first and second images;

[0010] Performing exposure calculation on the first image and the second image respectively to obtain corresponding first exposure value and second exposure value;

[0011] Based on the first and second exposure amounts, a preset environment brightness determination strategy is used to determine a current light intensity of the current environment;

[0012] When the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity.

[0013] Preferably, based on the first and second exposure amounts, the step of determining the current illumination intensity of the current environment by using a preset environment brightness determination strategy comprises:

[0014] Obtaining the current state of the smart terminal;

[0015] Determine, according to the current state, a first exposure weight for the front camera and a second exposure weight for the rear camera, wherein a sum of the first exposure weight and the second exposure weight is 1;

[0016] Calculate a third exposure amount according to the first and second exposure amounts and the corresponding first and second exposure weights;

[0017] The current illumination intensity is determined according to the third exposure amount.

[0018] Preferably, the step of determining the current illumination intensity according to the third exposure comprises:

[0019] The ambient brightness matching the third exposure value is searched in a preset brightness matching table, and the searched ambient brightness is determined as the current illumination intensity.

[0020] Preferably, the step of performing exposure calculation on the first image and the second image respectively includes:

[0021] The platform 3A algorithm is used to perform exposure calculation on the first image and the second image respectively.

[0022] Preferably, when the current screen brightness of the smart terminal does not match the current light intensity, before the step of adjusting the screen brightness of the smart terminal according to the current light intensity, the method further includes:

[0023] Searching for an ambient brightness that matches the current screen brightness from a preset brightness matching table;

[0024] The found ambient brightness is compared with the current light intensity, and whether the current screen brightness matches the current light intensity is determined according to the comparison result.

[0025] In another aspect, the present invention provides a device for adjusting screen brightness, the device comprising:

[0026] An image acquisition unit is used to simultaneously start the front and rear cameras of the smart terminal to respectively acquire images of the current environment according to a preset time interval, and obtain a corresponding first image and a second image;

[0027] an exposure calculation unit, configured to perform exposure calculation on the first image and the second image respectively to obtain corresponding first exposure and second exposure;

[0028] a brightness determination unit, configured to determine the current illumination intensity of the current environment by adopting a preset environment brightness determination strategy based on the first and second exposure amounts;

[0029] A brightness adjustment unit is used to adjust the screen brightness of the smart terminal according to the current light intensity when the current screen brightness of the smart terminal does not match the current light intensity.

[0030] Preferably, the brightness determination unit comprises:

[0031] A terminal status acquisition unit, used to acquire the current status of the smart terminal;

[0032] an exposure weight determination unit, configured to determine a first exposure weight for the front camera and a second exposure weight for the rear camera according to the current state, wherein the sum of the first exposure weight and the second exposure weight is 1;

[0033] a comprehensive exposure calculation unit, configured to calculate a third exposure amount according to the first and second exposure amounts and the corresponding first and second exposure weights;

[0034] The illumination intensity determining unit is used to determine the current illumination intensity according to the third exposure amount.

[0035] Preferably, the light intensity determination unit comprises:

[0036] The environment brightness search unit is used to search for the environment brightness matching the third exposure value from a preset brightness matching table, and determine the searched environment brightness as the current light intensity.

[0037] On the other hand, the present invention also provides an intelligent terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps described in the above-mentioned screen brightness adjustment method when executing the computer program.

[0038] On the other hand, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps described in the above-mentioned method for adjusting screen brightness are implemented.

[0039] The present invention starts the front and rear cameras of the smart terminal at the same time according to a preset time interval to respectively capture images of the current environment to obtain corresponding first images and second images, performs exposure calculations on the first image and the second image respectively to obtain corresponding first exposure amounts and second exposure amounts, and based on the first and second exposure amounts, adopts a preset environment brightness determination strategy to determine the current light intensity of the current environment; when the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity, thereby utilizing the front and rear cameras of the smart terminal to realize automatic adjustment of the screen brightness, saving the R&D and manufacturing costs of the entire machine, and improving the precision, accuracy and adjustment effect of the screen brightness adjustment, thereby improving the comfort and satisfaction of the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a flow chart of the implementation of the screen brightness adjustment method provided in the first embodiment of the present invention;

[0041] Figure 2 is a structural schematic diagram of a screen brightness adjustment device provided in Embodiment 2 of the present invention;

[0042] Figure 3 This is a schematic diagram of a preferred structure of a screen brightness adjustment device provided in Embodiment 2 of the present invention;

[0043] Figure 4 It is a schematic diagram of the structure of the intelligent terminal provided in the third embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0045] It should be understood that the terms "first", "second", etc. in the present invention are used to distinguish between identical items or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order, unless otherwise specified.

[0046] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments:

[0047] Embodiment 1:

[0048] Figure 1 The implementation process of the screen brightness adjustment method provided in the first embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:

[0049] In step S101, according to a preset time interval, the front and rear cameras of the smart terminal are simultaneously started to respectively capture images of the current environment to obtain corresponding first and second images.

[0050] The embodiment of the present invention is applicable to a smart terminal with a front camera and a rear camera, such as a smart phone, a tablet computer, etc. In the embodiment of the present invention, the smart terminal has a screen brightness automatic adjustment function. When the function is set to be turned on and the screen of the smart terminal is lit, the light sensing system of the smart terminal starts to run. Here, the smart terminal performs screen brightness detection once every period of time (such as 3 seconds, 5 seconds, 7 seconds or 10 seconds, etc., and the specific frequency is optimized and determined according to the response speed of the smart terminal and the system power consumption). Specifically, in each set time interval (such as 3s, 5s, etc.), the front and rear cameras of the smart terminal are simultaneously started to collect images of the current environment, and a frame of the current picture captured by each is cached respectively. For the convenience of description and distinction, the current picture captured by the front camera and cached in the running memory (RAM, Random Access Memory) is used as the first image, and the current picture captured by the rear camera and cached in the RAM is used as the second image. In addition, in the process of image acquisition by the front camera and the rear camera, the preview picture is not opened, that is, the video stream captured by the camera is not displayed in real time on the screen of the smart terminal.

[0051] In a feasible embodiment, the front and rear cameras of the smart terminal are started simultaneously to respectively capture images of the current environment, and obtain corresponding first and second images that meet the preset image sizes, wherein the preset image size can be determined based on the lens resolution of the smart terminal, storage space limitations, etc. Here, in order to save power consumption of the smart terminal, a smaller image size can be set.

[0052] In step S102, exposure calculations are performed on the first image and the second image respectively to obtain corresponding first exposure values ​​and second exposure values.

[0053] In the embodiment of the present invention, the exposure value (Brightness Value, BV) is a measure of the amount of light received by the camera's photosensitive element. In photography, the exposure value directly affects the brightness of the image. Here, the exposure value of the first image is calculated to obtain the first exposure value, and the exposure value of the second image is calculated to obtain the second exposure value.

[0054] In a feasible embodiment, the platform 3A algorithm (i.e., Auto Exposure (AE), Auto Focus (AF), Auto White Balance (AWB)) is used to perform exposure calculation on the first image and the second image respectively. Specifically, in the process of acquiring the first image and the second image, the current aperture f value, exposure time (expt) and sensitivity (i.e., digital gain) of the front camera and the rear camera are read respectively, and a simplified exposure calculation model is used. to estimate the exposure of each of the first image and the second image, where N is the aperture f-number, t is the exposure time (in seconds), and ISO is the sensitivity.

[0055] In step S103, based on the first and second exposure amounts, a preset environment brightness determination strategy is adopted to determine the current light intensity of the current environment.

[0056] In an embodiment of the present invention, the ambient brightness is generally related to the ambient light intensity. The stronger the light intensity, the brighter the ambient brightness will generally be. Based on this, based on the first and second exposure amounts, a preset ambient brightness determination strategy is adopted to determine the current light intensity of the current environment. Here, the brightness of the ambient brightness is reflected by the strength of the current light intensity.

[0057] In a feasible embodiment, the current light intensity is determined by the following steps:

[0058] (1) Obtain the current status of the smart terminal;

[0059] In an embodiment of the present invention, the current state of the smart terminal includes a rear-camera blocked static state, a front-camera blocked static state, a held unobstructed state, and a held with obstruction state, wherein the rear-camera blocked static state refers to a placement mode in which the screen of the smart terminal is facing upward and the back side where the rear camera is located is facing downward, the front-camera blocked static state refers to a placement mode in which the screen of the smart terminal is facing downward and the back side where the rear camera is located is facing upward, the held unobstructed state refers to the smart terminal being held and both the front and rear cameras are unobstructed, and the held with obstruction state refers to the smart terminal being held and the front camera and / or the rear camera are partially or completely obstructed. Here, a number of status data of the smart terminal are collected in real time through the sensors built into the smart terminal, and these data can reflect the motion state, direction, ambient light conditions, etc. of the smart terminal. Then, the current state of the smart terminal is determined according to the status data.

[0060] In a feasible embodiment, the sensors built into the smart terminal include but are not limited to an acceleration sensor, a gyroscope, a light sensor and a grip sensor. The acceleration of the smart terminal is detected in real time by the acceleration sensor to determine whether the smart terminal is stationary. The rotation and angular velocity of the smart terminal are detected in real time by the gyroscope to determine the direction of the smart terminal (such as horizontal screen). The intensity of the ambient light of the front and rear cameras is detected in real time by the light sensor to determine whether the front and rear cameras are blocked. The grip sensor is used to detect whether the smart terminal is gripped. Here, the data collected by each sensor is combined for comprehensive analysis to determine the current state of the smart terminal. For example, when the data collected by the acceleration sensor or the gyroscope is basically stable and unchanged, and the light sensor confirms that the front camera is in a medium-to-high brightness environment and the rear camera has a low exposure, the current state of the smart terminal is set to the rear camera blocked and stationary state.

[0061] (2) determining a first exposure weight for the front camera and a second exposure weight for the rear camera according to the current state, wherein the sum of the first exposure weight and the second exposure weight is 1;

[0062] In an embodiment of the present invention, exposure weights of the front camera and the rear camera are allocated based on the current state, and a first exposure weight for the front camera and a second exposure weight for the rear camera are determined, and the sum of the first exposure weight and the second exposure weight is 1, so as to reflect the relative importance of the front camera and the rear camera in the perception of ambient brightness according to the exposure weights. For example, the rear camera may be blocked when the mobile phone is placed flat. At this time, the weight of the rear camera should be reduced, or even completely ignored, while the weight of the front camera is increased.

[0063] In a feasible embodiment, when the current state is the rear camera occluded and static state, the first exposure weight is assigned to 100% and the second exposure weight is assigned to 0%; when the current state is the front camera occluded and static state, the first exposure weight is assigned to 0% and the second exposure weight is assigned to 100%; when the current state is the held and unobstructed state, the first exposure weight is assigned to 60% and the second exposure weight is assigned to 40%; when the current state is the held and obstructed state, the first exposure weight is assigned to 90% and the second exposure weight is assigned to 10%.

[0064] (3) calculating a third exposure amount according to the first and second exposure amounts and the corresponding first and second exposure weights;

[0065] In an embodiment of the present invention, the first and second exposures are multiplied by their respective exposure weights, and then the results are added to obtain a weighted exposure (i.e., a third exposure). The calculation process of the third exposure can be expressed as BV3=BV1×W1+BV2×W2, wherein W1+W2=1, BV1 and BV2 are the first and second exposures, respectively, W1 and W2 are the first and second exposure weights, respectively, and BV3 is the third exposure.

[0066] (4) Determine the current light intensity according to the third exposure amount.

[0067] In the embodiment of the present invention, the third exposure amount obtained after weighted calculation can more accurately reflect the light intensity of the current environment (also referred to as ambient brightness). Here, the current light intensity is determined based on the third exposure amount.

[0068] In a feasible embodiment, the ambient brightness matching the third exposure value is searched from a preset brightness matching table, and the found ambient brightness is determined as the current illumination intensity.

[0069] In an embodiment of the present invention, the third exposure is used as an index to search for the corresponding light intensity value in the brightness matching table, that is, to determine in which interval of the brightness matching table the third exposure falls, and to read the light intensity corresponding to the interval. In addition, before searching for the ambient brightness matching the third exposure from the preset brightness matching table, a series of images are taken using a standard light box or in a laboratory environment with controlled light intensity using different exposure settings, and the exposure and corresponding light intensity under each setting are collected, and the collected data are calibrated (such as using an illuminance meter to perform reference calibration on the light intensity collected by the scheme), and the calibrated data is used to generate a brightness matching table, each row or column of the brightness matching table corresponds to a specific exposure range, and the corresponding interval is the average value of the light intensity within the range or a certain form of best estimate, as an example, a brightness matching table as shown in Table 1 is generated, wherein the first column is the exposure, and the rows in the column correspond to a certain exposure or exposure range, and the second column is the ambient brightness, and the rows in the column are the light intensity corresponding to the exposure.

[0070] Table 1

[0071] Exposure Volume (BV) Ambient brightness (unit: lux) Screen brightness (unit: nit) 0 0 2 1~5 10 20 6~20 20 50 ... ... ... 70 300 400 ... ... ... 255 15000 Max

[0072] Through the above steps (1) to (4), the current illumination intensity of the current environment is determined based on the first and second exposure amounts by using a preset environment brightness determination strategy, thereby improving the accuracy of the current illumination intensity.

[0073] In step S104, when the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity.

[0074] In an embodiment of the present invention, the current screen brightness of the smart terminal is first obtained, and then it is determined whether the obtained current screen brightness matches the current light intensity. When it does not match, the screen brightness of the smart terminal is adjusted to a brightness value that matches the current light intensity. Thereafter, the front and rear cameras are turned off, and the cached first and second images are deleted. When it matches, the current screen brightness is maintained. Similarly, the front and rear cameras are turned off, and the cached first and second images are deleted.

[0075] In a feasible embodiment, when the current screen brightness of the smart terminal does not match the current light intensity, before adjusting the screen brightness of the smart terminal according to the current light intensity, the ambient brightness that matches the current screen brightness is searched from a preset brightness matching table, the found ambient brightness is compared with the current light intensity, and whether the current screen brightness matches the current light intensity is determined based on the comparison result.

[0076] In an embodiment of the present invention, when establishing a matching relationship between exposure and ambient brightness to generate a brightness matching table, actual measurement and debugging can be performed simultaneously with the screen brightness to establish a matching relationship between ambient brightness and screen brightness, and generate a brightness matching table of exposure → ambient brightness → screen brightness. According to the generated brightness matching table, the ambient brightness that matches the current screen brightness is searched therefrom, and the found ambient brightness is compared with the current light intensity. When the comparison result is that the two are equal, it is determined that the current screen brightness matches the current light intensity. When the comparison result is that the two are not equal, it is determined that the current screen brightness does not match the current light intensity. As an example, in the brightness matching table shown in Table 1 above, the current screen brightness is 20nit, the current light intensity is 20lux, and the ambient brightness that matches the current screen brightness found in Table 1 is 10lux, which is not equal to the current light intensity, so it is determined that the current screen brightness does not match the current light intensity.

[0077] In a feasible embodiment, when the screen brightness of the smart terminal is adjusted according to the current light intensity, the screen brightness value that matches the current light intensity is found from the brightness matching table, and the screen brightness of the smart terminal is adjusted to the matching screen brightness value, thereby achieving a more accurate light sensing function, allowing the user to obtain a more comfortable visual experience when viewing the screen in different lighting environments.

[0078] In an embodiment of the present invention, according to a preset time interval, the front and rear cameras of the smart terminal are started simultaneously to respectively capture images of the current environment to obtain corresponding first and second images, and exposure calculations are performed on the first and second images to obtain corresponding first exposure amounts and second exposure amounts. Based on the first and second exposure amounts, a preset environment brightness determination strategy is used to determine the current light intensity of the current environment. When the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity. This not only reduces the use of independent light sensors and saves the research and development and manufacturing costs of the entire machine, but also utilizes the front and rear cameras of the smart terminal to capture broader and more accurate ambient light information, thereby realizing automatic adjustment of the screen brightness, improving the precision, accuracy and adjustment effect of the screen brightness adjustment, and thereby improving the comfort and satisfaction of the user experience.

[0079] Embodiment 2:

[0080] Figure 2 The structure of the screen brightness adjustment device provided by the second embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, including:

[0081] The image acquisition unit 21 is used to simultaneously start the front and rear cameras of the smart terminal to respectively acquire images of the current environment according to a preset time interval to obtain corresponding first and second images;

[0082] An exposure calculation unit 22, used to perform exposure calculation on the first image and the second image respectively to obtain corresponding first exposure and second exposure;

[0083] A brightness determination unit 23, configured to determine the current illumination intensity of the current environment by adopting a preset environment brightness determination strategy based on the first and second exposure amounts;

[0084] The brightness adjustment unit 24 is used to adjust the screen brightness of the smart terminal according to the current light intensity when the current screen brightness of the smart terminal does not match the current light intensity.

[0085] Preferably, if Figure 3 As shown, the brightness determination unit 23 includes:

[0086] The terminal status acquisition unit 231 is used to acquire the current status of the intelligent terminal;

[0087] an exposure weight determination unit 232, configured to determine a first exposure weight for the front camera and a second exposure weight for the rear camera according to a current state, wherein the sum of the first exposure weight and the second exposure weight is 1;

[0088] A comprehensive exposure calculation unit 233, configured to calculate a third exposure amount according to the first and second exposure amounts and the corresponding first and second exposure weights;

[0089] The illumination intensity determination unit 234 is configured to determine the current illumination intensity according to the third exposure value.

[0090] Preferably, the illumination intensity determination unit 234 includes:

[0091] The environment brightness search unit is used to search for the environment brightness matching the third exposure value from a preset brightness matching table, and determine the found environment brightness as the current illumination intensity.

[0092] Preferably, the exposure calculation unit 22 includes:

[0093] The exposure calculation subunit is used to perform exposure calculation on the first image and the second image respectively using the platform 3A algorithm.

[0094] Preferably, the screen brightness adjustment device of the embodiment of the present invention further includes:

[0095] A brightness search unit, used to search for an ambient brightness that matches the current screen brightness from a preset brightness matching table;

[0096] The brightness comparison unit is used to compare the found ambient brightness with the current light intensity, and determine whether the current screen brightness matches the current light intensity based on the comparison result.

[0097] In the embodiment of the present invention, each unit of the screen brightness adjustment device can be implemented by a corresponding hardware or software unit, and each unit can be an independent software or hardware unit, or can be integrated into a software or hardware unit, which is not intended to limit the present invention. Specifically, the implementation of each unit can refer to the description of the aforementioned embodiment 1, which will not be repeated here.

[0098] Embodiment three:

[0099] Figure 4 The structure of the intelligent terminal provided by the third embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown.

[0100] The intelligent terminal 4 of the embodiment of the present invention includes a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned screen brightness adjustment method embodiment are implemented, for example Figure 1 Alternatively, when the processor 40 executes the computer program 42, the functions of each unit in the above-mentioned device embodiments are realized, for example Figure 2 Function of the unit shown.

[0101] In an embodiment of the present invention, according to a preset time interval, the front and rear cameras of the smart terminal are started simultaneously to respectively capture images of the current environment to obtain corresponding first and second images, and exposure calculations are performed on the first and second images to obtain corresponding first exposure amounts and second exposure amounts. Based on the first and second exposure amounts, a preset environment brightness determination strategy is used to determine the current light intensity of the current environment. When the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity, thereby utilizing the front and rear cameras of the smart terminal to realize automatic adjustment of the screen brightness, saving the R&D and manufacturing costs of the entire machine, and improving the precision, accuracy and adjustment effect of the screen brightness adjustment, thereby improving the comfort and satisfaction of the user experience.

[0102] The smart terminal of the embodiment of the present invention may be a smart phone. The steps implemented when the processor 40 in the smart terminal 4 executes the computer program 42 to implement a method for adjusting screen brightness can refer to the description of the above method embodiment, which will not be repeated here.

[0103] Embodiment 4:

[0104] In an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned screen brightness adjustment method embodiment are implemented. For example, Figure 1 Alternatively, when the computer program is executed by a processor, the functions of each unit in the above-mentioned device embodiments are realized, for example Figure 2 Function of the unit shown.

[0105] In an embodiment of the present invention, according to a preset time interval, the front and rear cameras of the smart terminal are started simultaneously to respectively capture images of the current environment to obtain corresponding first and second images, and exposure calculations are performed on the first and second images to obtain corresponding first exposure amounts and second exposure amounts. Based on the first and second exposure amounts, a preset environment brightness determination strategy is used to determine the current light intensity of the current environment. When the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity, thereby utilizing the front and rear cameras of the smart terminal to realize automatic adjustment of the screen brightness, saving the R&D and manufacturing costs of the entire machine, and improving the precision, accuracy and adjustment effect of the screen brightness adjustment, thereby improving the comfort and satisfaction of the user experience.

[0106] The computer-readable storage medium of the embodiment of the present invention may include any entity or device or recording medium capable of carrying computer program code, for example, ROM / RAM, magnetic disk, optical disk, flash memory and other memories.

[0107] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A screen brightness adjustment method, characterized in that: The method comprises the following steps: According to a preset time interval, the front and rear cameras of the smart terminal are simultaneously started to collect images of the current environment respectively, to obtain corresponding first and second images; Performing exposure calculation on the first image and the second image respectively to obtain corresponding first exposure value and second exposure value; Based on the first and second exposure amounts, a preset environment brightness determination strategy is used to determine a current light intensity of the current environment; When the current screen brightness of the smart terminal does not match the current light intensity, the screen brightness of the smart terminal is adjusted according to the current light intensity.

2. The method according to claim 1, characterized in that The step of determining the current illumination intensity of the current environment by using a preset environment brightness determination strategy based on the first and second exposures includes: Obtaining the current state of the smart terminal; Determine, according to the current state, a first exposure weight for the front camera and a second exposure weight for the rear camera, wherein a sum of the first exposure weight and the second exposure weight is 1; Calculate a third exposure amount according to the first and second exposure amounts and the corresponding first and second exposure weights; The current illumination intensity is determined according to the third exposure amount.

3. The method according to claim 2, characterized in that The step of determining the current illumination intensity according to the third exposure comprises: The ambient brightness matching the third exposure value is searched in a preset brightness matching table, and the searched ambient brightness is determined as the current illumination intensity.

4. The method according to claim 1, characterized in that The step of performing exposure calculation on the first image and the second image respectively comprises: The platform 3A algorithm is used to perform exposure calculation on the first image and the second image respectively.

5. The method according to any one of claims 1 to 4, characterized in that: When the current screen brightness of the smart terminal does not match the current light intensity, before the step of adjusting the screen brightness of the smart terminal according to the current light intensity, the method further includes: Searching for an ambient brightness that matches the current screen brightness from a preset brightness matching table; The found ambient brightness is compared with the current light intensity, and whether the current screen brightness matches the current light intensity is determined according to the comparison result.

6. A screen brightness adjustment device, characterized in that: The device comprises: An image acquisition unit is used to simultaneously start the front and rear cameras of the smart terminal to respectively acquire images of the current environment according to a preset time interval, and obtain a corresponding first image and a second image; an exposure calculation unit, configured to perform exposure calculation on the first image and the second image respectively to obtain corresponding first exposure and second exposure; a brightness determination unit, configured to determine the current illumination intensity of the current environment by adopting a preset environment brightness determination strategy based on the first and second exposure amounts; A brightness adjustment unit is used to adjust the screen brightness of the smart terminal according to the current light intensity when the current screen brightness of the smart terminal does not match the current light intensity.

7. The device according to claim 6, characterized in that The brightness determination unit comprises: A terminal status acquisition unit, used to acquire the current status of the smart terminal; an exposure weight determination unit, configured to determine a first exposure weight for the front camera and a second exposure weight for the rear camera according to the current state, wherein the sum of the first exposure weight and the second exposure weight is 1; a comprehensive exposure calculation unit, configured to calculate a third exposure amount according to the first and second exposure amounts and the corresponding first and second exposure weights; The illumination intensity determining unit is used to determine the current illumination intensity according to the third exposure amount.

8. The device according to claim 6, characterized in that The light intensity determination unit comprises: The environment brightness search unit is used to search for the environment brightness matching the third exposure value from a preset brightness matching table, and determine the searched environment brightness as the current light intensity.

9. An intelligent terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.