Screen dimming methods, devices, electronic equipment and storage media

By acquiring real-time location and light intensity information in electronic devices, calculating light source power and compensating light intensity, the problem of poor screen dimming effect is solved, achieving more accurate screen brightness adjustment and avoiding the problem of perception due to the photosensitive field of view being inversely related to the human eye's field of view.

CN115035834BActive Publication Date: 2025-10-28VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210636535.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2025-10-28
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

Existing screen dimming methods have poor dimming effects in vehicle mode due to the problem of the photosensitive field of view and the human eye field of view being perceived from opposite directions. In particular, when passing through local point light sources, the front photosensitive sensor cannot accurately adjust the screen brightness, which can irritate the human eye.

Method used

By acquiring the real-time position information and light intensity of the electronic device relative to the forward light source during its movement, the target light source power and dimming compensation light intensity of the forward light source are calculated. Optical compensation is then performed using a rear camera, accelerometer, and angular velocity sensor to simulate the amount of light entering the human eye and adjust the screen brightness.

Benefits of technology

It effectively avoids screen dimming abnormalities caused by the opposite angle of view of the photosensitive field and the angle of view of the human eye, improves the screen dimming effect, and makes the screen brightness more in line with the ambient light intensity perceived by the human eye.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115035834B_ABST
    Figure CN115035834B_ABST
Patent Text Reader

Abstract

This application discloses a screen dimming method, apparatus, electronic device, and storage medium, belonging to the field of electronic device technology. The method includes: acquiring real-time position information of the electronic device relative to a forward light source during movement, and acquiring the real-time light intensity of the forward light source under each real-time position information through a front-mounted photosensitive sensor; before the electronic device enters the dimming failure range of the forward light source, determining the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity acquired before entering the dimming failure range; after the electronic device enters the dimming failure range, for each second real-time position information acquired after entering the dimming failure range, determining the dimming compensation light intensity corresponding to the second real-time position information based on the target light source power and the second real-time position information; and dimming the screen of the electronic device under the second real-time position information based on the real-time light intensity and the dimming compensation light intensity corresponding to the second real-time position information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic equipment technology, specifically relating to a screen dimming method, device, electronic equipment, and storage medium. Background Technology

[0002] With the iteration and changes of electronic devices, users have increasingly higher requirements for screen dimming. In existing optical receiving solutions, a front-facing photosensitive sensor is usually used to detect external light sources, and screen dimming is achieved based on the detected ambient light intensity.

[0003] While existing screen dimming methods can achieve screen dimming to some extent, they also have some problems, such as the issue of the photosensitive field of view and the human eye's field of view being perceived from opposite directions. This problem often occurs in nighttime in-vehicle modes, such as... Figures 1 to 3 As shown, when a vehicle passes a localized point light source (such as a street lamp or car headlight), the human eye cannot perceive the point light source when it is behind the vehicle's field of view because the photosensitive field of view is opposite to the human eye's field of view vector. This results in a lower perception of ambient light, and the screen brightness should be lowered accordingly. However, for the front-facing photosensitive sensor, the point light source is still within its field of view, and the sensor receives the strongest light at the moment of passing the source. Therefore, the electronic device will ultimately increase the screen brightness. This high brightness stimulates the human eye, contradicts the user's perceived behavior, and results in poor screen dimming. Summary of the Invention

[0004] The purpose of this application is to provide a screen dimming method, apparatus, electronic device, and storage medium that can solve the problem of poor screen dimming effect in the prior art.

[0005] In a first aspect, embodiments of this application provide a screen dimming method applied to an electronic device, the electronic device including: a front-facing photosensor, the method including:

[0006] The system acquires the real-time position information of the electronic device relative to the forward light source during its movement, and acquires the real-time light intensity of the forward light source under each real-time position information through the front photosensitive sensor.

[0007] Before the electronic device enters the dimming failure range of the forward light source, the target light source power of the forward light source is determined based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range, wherein whether the electronic device enters the dimming failure range is determined based on the real-time position information;

[0008] After the electronic device enters the dimming failure range, for each second real-time position information obtained after entering the dimming failure range, the dimming compensation light intensity corresponding to the second real-time position information is determined according to the target light source power and the second real-time position information.

[0009] Based on the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information, the screen dimming of the electronic device under the second real-time location information is performed.

[0010] Secondly, embodiments of this application provide a screen dimming device applied to an electronic device, the electronic device including: a front-facing photosensor, and the device including:

[0011] The acquisition module is used to acquire the real-time position information of the electronic device relative to the forward light source during the movement, and to acquire the real-time light intensity of the forward light source under each real-time position information through the front photosensitive sensor.

[0012] The first determining module is used to determine the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity obtained before the electronic device enters the dimming failure range of the forward light source, wherein whether the electronic device enters the dimming failure range is determined based on the real-time position information.

[0013] The second determining module is used to determine the dimming compensation light intensity corresponding to each second real-time position information obtained after the electronic device enters the dimming failure range, based on the target light source power and the second real-time position information.

[0014] The dimming module is used to dim the screen of the electronic device under the second real-time location information according to the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information.

[0015] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0016] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0017] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0018] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0019] In this embodiment, the real-time position information of the electronic device relative to the forward light source during movement can be obtained. The real-time light intensity of the forward light source under each real-time position information is obtained through a front-facing photosensor. Before the electronic device enters the dimming failure range of the forward light source, the target light source power of the forward light source is determined based on the obtained real-time position information and the corresponding real-time light intensity. After entering the dimming failure range, for each second real-time position information obtained after entering the dimming failure range, the dimming compensation light intensity corresponding to the second real-time position information is determined based on the target light source power and the second real-time position information. The screen dimming of the electronic device under the second real-time position information is performed based on the real-time light intensity corresponding to the second real-time position information and the dimming compensation light intensity.

[0020] Compared with existing technologies, in this embodiment, the power of the forward light source can be calculated before the electronic device moves into the dimming failure range. After the electronic device moves into the dimming failure range, a compensation light intensity is calculated based on the real-time position information of the electronic device and the power of the forward light source. The calculated compensation light intensity is used to compensate for the light intensity collected by the front-facing photosensor of the electronic device, simulating the amount of light entering the human eye. The screen brightness is then adjusted based on the compensated light intensity. Since the compensated light intensity is close to the ambient light intensity perceived by the human eye, this optical compensation can avoid the screen dimming abnormality caused by the opposite angle of view of the photosensitive field and the angle of view of the human eye when the electronic device moves to a local point light source (such as a street lamp, car headlight, or other high-brightness scene), thus improving the screen dimming effect. Attached Figure Description

[0021] Figure 1 This is the first example image of screen dimming in the current in-vehicle mode;

[0022] Figure 2 This is the second example image of screen dimming in existing in-vehicle mode.

[0023] Figure 3 This is an example diagram showing the human eye perception curve and the photosensitivity curve of the front-facing photosensitizer in vehicle mode.

[0024] Figure 4 This is a flowchart of a screen dimming method provided in an embodiment of this application;

[0025] Figure 5 This is a flowchart of one implementation of step 401 provided in the embodiments of this application;

[0026] Figure 6 This is a design example diagram of the optical centroid calculation algorithm provided in the embodiments of this application;

[0027] Figure 7 This is an example diagram of the optical ranging algorithm design provided in the embodiments of this application;

[0028] Figure 8 This is a design example diagram of the real-time location information calculation algorithm provided in the embodiments of this application;

[0029] Figure 9 This is the first example diagram of the dimming failure range provided in the embodiments of this application;

[0030] Figure 10 This is a second example diagram of the dimming failure range provided in the embodiments of this application;

[0031] Figure 11 This is a structural block diagram of a screen dimming device provided in an embodiment of this application;

[0032] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0033] Figure 13 This is a schematic diagram of the hardware structure of an electronic device that implements the various embodiments of this application. Detailed Implementation

[0034] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0035] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0036] This application provides a screen dimming method, apparatus, electronic device, and storage medium.

[0037] The screen dimming method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0038] It should be noted that the screen dimming method provided in this application embodiment is applicable to electronic devices, which include a front-facing photosensor. In practical applications, the electronic device may include mobile terminals such as smartphones, tablets, and personal digital assistants. This application embodiment does not limit this.

[0039] Figure 4 This is a flowchart of a screen dimming method provided in an embodiment of this application, such as... Figure 4 As shown, the method may include the following steps: step 401, step 402, step 403, and step 404, wherein,

[0040] In step 401, the real-time position information of the electronic device relative to the forward light source during its movement is obtained, and the real-time light intensity of the forward light source under each real-time position information is obtained through the front photosensitive sensor.

[0041] In this application embodiment, the movement of the electronic device may include any of the following: movement of the electronic device held by the user, movement of the electronic device following the vehicle in a vehicle-mounted scenario, and movement of the electronic device following the flying equipment in an aerial photography scenario.

[0042] In this embodiment of the application, the screen dimming of the electronic device can be manually turned on by the user, or the screen dimming of the electronic device can be turned on automatically by the electronic device.

[0043] When the screen dimming of the electronic device is manually turned on by the user, the electronic device is triggered to execute the above step 401 according to the user's turning on behavior; when the electronic device is turned on automatically, the trigger conditions for turning on the screen dimming can be preset. When the movement state of the electronic device is detected to meet the trigger conditions, the electronic device is triggered to execute the above step 401. Specifically, it can be detected whether the electronic device has a translational behavior in a specific direction and the translational distance within a preset time period is greater than a preset length. If so, the real-time position information of the electronic device relative to the forward light source during the movement is obtained.

[0044] In one example, in a vehicle-mounted scenario, the trigger condition is that, under the premise of user authorization, the electronic device maintains a stable posture in the vehicle. The electronic device follows the vehicle and performs translational behavior in a specific direction, and the translational distance meets the preset threshold requirements.

[0045] In this embodiment of the application, the forward light source may include any of the following: streetlights, vehicle lights, and indoor lighting, etc.

[0046] In this embodiment, real-time position information refers to real-time relative position information, that is, the real-time relative position information of the electronic device relative to the forward light source. Real-time position information may include the straight-line distance and projected distance between the electronic device and the forward light source at each moment of motion. Multiple consecutive real-time position information can constitute the motion trajectory of the electronic device relative to the forward light source, and the motion trajectory may include the direction of motion and the displacement.

[0047] In some embodiments, hardware such as depth sensors, infrared sensors, and depth cameras can be added to the back of the electronic device to obtain real-time position information of the electronic device relative to a forward light source during movement.

[0048] Alternatively, considering that adding hardware to the back of the device may increase manufacturing costs, in order to avoid increasing manufacturing costs, common components found in electronic devices within the existing mature device stack can be reused, such as rear cameras, accelerometers, and angular velocity sensors, to obtain real-time position information of the electronic device relative to the forward light source during movement. The rear camera can be used to receive the light from the forward light source.

[0049] Accordingly, in some embodiments, such as Figure 5 As shown, step 401 above may specifically include the following steps: step 4011, step 4012, and step 4013, wherein,

[0050] In step 4011, an image of the forward light source is acquired by the rear camera, and the initial optical center position information of the forward light source relative to the electronic device is determined based on the image of the forward light source.

[0051] In this embodiment of the application, the initial optical center position information may include: the initial projection distance and height of the forward light source relative to the electronic device.

[0052] Considering that dual cameras capture more comprehensive information and contain richer content during image acquisition compared to a single camera, exemplarily, in this embodiment, the rear camera can be a dual rear camera, which may include a main rear camera and a wide-angle rear camera. Accordingly, step 4011 above may include the following steps:

[0053] Two images of the forward-facing light source are acquired using the dual rear cameras, and the optical center coordinates of the forward-facing light source in the two images are calculated. Based on the optical center coordinates of the forward-facing light source in the two images and the difference in viewing angles between the dual rear cameras, the initial projection distance and height of the forward-facing light source relative to the electronic device are calculated.

[0054] Specifically, when calculating the optical center coordinates of the forward light source in the image, the image region where the forward light source is located can be determined first, for example... Figure 6 The black area shown represents the image region where the forward light source is located. Then, the position coordinates (x, y) of each pixel in the image region are obtained. i ,y i According to the following formula:

[0055] Calculate the optical center coordinates (x) of the forward light source avg ,y avg ).

[0056] For the two images captured by the rear camera of the forward-facing light source, the coordinates of the optical center of the forward-facing light source in these two images are calculated, respectively (x... avg_CCM1 ,y avg_CCM1 ) and (x avg_CCM2 ,y avg_CCM2 ).

[0057] Specifically, when calculating the initial projection distance and height, it can be based on, for example... Figure 7 The geometric relationships shown, and the following formula: Δd=x avg_CCM1 -x avg_CCM2 and Calculate the initial projection distance and height H, where S focal S represents the focal length of the two cameras. baseline This refers to the distance between the two cameras.

[0058] In step 4012, starting from the moment the initial optical center position information is determined, the real-time acceleration information of the electronic device during its motion is obtained through the accelerometer and the real-time angular velocity information of the electronic device during its motion is obtained through the angular velocity sensor.

[0059] In step 4013, the real-time position information of the electronic device relative to the forward light source during its movement is determined based on the initial optical center position information, real-time acceleration information, and real-time angular velocity information.

[0060] In some embodiments, after obtaining the initial optical center position information, transient acceleration is collected using the accelerometer built into the electronic device, and instantaneous angular velocity is collected using the angular velocity sensor. The user's relative trajectory is obtained by integrating the transient acceleration and angular velocity over time. That is, the displacement information of the electronic device is calculated using the accelerometer, and the angle information is calculated using the angular velocity sensor. Combining the calculated displacement and angle information, real-time position information is calculated. The real-time position information can be a mapping function of the distance of the electronic device changing over time. Specifically, step 4013 may include the following steps (not shown in the figure): steps 40131, 40132, and 40133, wherein...

[0061] In step 40131, a three-dimensional rectangular coordinate system is constructed by taking the projection point of the forward light source as the origin, the projection distance direction of the forward light source relative to the electronic device as one coordinate axis direction, and the height direction of the forward light source relative to the electronic device as another coordinate axis direction.

[0062] In step 40132, the real-time displacement information of the electronic device is calculated based on the real-time acceleration information, and the real-time angle information of the electronic device is calculated based on the real-time angular velocity information.

[0063] In step 40133, the real-time position information of the electronic device in the three-dimensional Cartesian coordinate system is calculated based on the real-time displacement information, real-time angle information, initial projection distance and height of the electronic device.

[0064] In one example, the projection point of the forward light source is taken as the origin o, the projection distance direction of the forward light source relative to the electronic device is taken as the Z-axis direction, and the height direction of the forward light source relative to the electronic device is taken as the X-axis direction. Figure 8 The diagram shows a three-dimensional rectangular coordinate system. Then, within this coordinate system, the following formula is used:

[0065]

[0066] Computing electronic devices in t n+1 The straight-line distance S(t) between the light source and the forward light source at time t n+1 -t n );in, For electronic devices in t n The projection distance between the object and the forward light source at any given time. The calculation method and the initial projection distance The calculation methods are similar; both can be calculated using images captured by the rear camera. For example, the calculation can be performed using images captured by dual rear cameras. α is acceleration, ω is angular velocity, and H is the height of the forward light source.

[0067] As can be seen, in this embodiment, the accelerometer, angular velocity sensor, and rear camera, all integrated within the device stack, can be reused in conjunction with the front-facing photosensitive sensor for optical compensation. This design avoids adding extra hardware to the back of the device, reducing costs, and simultaneously solves the problem of abnormal backlight adjustment of the front-facing photosensitive sensor in dark environments. Furthermore, it imposes fewer constraints on hardware stacking, offering good portability within a mature device stacking environment. It does not rely on hardware environment configuration and can be flexibly applied to various photosensitive stacking environments (such as micro-slit photosensitive sensors, under-display photosensitive sensors, etc.).

[0068] In step 402, before the electronic device enters the dimming failure range of the forward light source, the target light source power of the forward light source is determined based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range; wherein, whether the electronic device enters the dimming failure range is determined based on the real-time position information.

[0069] In this embodiment, the dimming failure range of the forward light source refers to the location range where there is a problem of back-to-back perception between the photosensitive field view and the human eye field view, which is usually the rear section of the forward light source in the direction of movement of the electronic device.

[0070] In one example, in an in-vehicle scenario, such as Figure 9 As shown, the optical compensation period is the dimming failure range, and the optical parameter learning period is the position range before the dimming failure range.

[0071] In this embodiment of the application, in order to improve the accuracy of light source power detection, the target light source power of the forward light source can be determined based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters. Specifically, in the direction of movement of the electronic device, the effective measurement range of optical parameters is before and adjacent to the dimming failure range. That is, for the... Figure 9 The effective measurement range of optical parameters refers to the range of positions close to the optical compensation period during the optical parameter learning period.

[0072] In this embodiment, the optical power under each first real-time position information can be calculated based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters; and the target light source power of the forward light source can be calculated based on the optical power under multiple first real-time position information and corresponding preset weight parameters.

[0073] Specifically, when calculating the power of the target light source, the power information of the light source is mainly fitted by the straight-line distance S between the electronic device and the forward light source and the light intensity E(lux) collected by the front-mounted photosensor at that straight-line distance: E(lux) = I / S 2 .

[0074] Since the luminous power of the forward light source remains constant, the real-time light intensity at different straight-line distances will be collected under multiple first real-time position information, thus obtaining the light power values ​​at different straight-line distances, as follows:

[0075] E1(lux)*S1 2 =I1,E2(lux)*S2 2 =I2, ...,E m (lux)*S m 2 =I m ;

[0076] Furthermore, since theoretically the optical power remains essentially constant for different straight-line distances, i.e.: I1≈I2≈......≈I m Therefore, a corresponding weighting coefficient can be assigned to the optical power value at different straight-line distances, such as weighting coefficients α, β, ..., η. A weighted summation operation is then performed on the optical power values ​​at different straight-line distances to obtain the target light source power I. M In practical applications, the weighting coefficients can be parameters pre-calculated based on certain experimental scenarios, and the sum of the weighting coefficients can be a constant.

[0077] In scenarios where commonly found components in stacked electronic devices, such as rear cameras, accelerometers, and angular velocity sensors, are reused to obtain real-time position information of the electronic device relative to a forward light source during movement, the real-time position information of the electronic device can be verified using the rear camera to ensure the correctness of subsequent dimming effects. Only after successful verification can the subsequent optical compensation process proceed. In this case, the following steps can be added before step 402:

[0078] The image of the forward light source is captured in real time by the rear camera. Based on the real-time captured image, the real-time optical center position information of the forward light source relative to the electronic device is determined. The rear camera can be a dual rear camera. The calculation method of the real-time optical center position information is similar to the calculation method of the initial optical center position, and will not be described in detail here.

[0079] Based on the real-time optical center position information, the real-time position information of the electronic device relative to the forward light source during the movement is verified; if the verification result is within the tolerance range, then step 402 above is executed.

[0080] For example, if Then the verification result is determined to be within the tolerance range, where, For electronic devices in t n+1 The projection distance between the object and the forward light source at any given time. The calculation method and the initial projection distance The calculation methods are similar, and both can be calculated by collecting images from the rear camera. For example, it can be calculated by collecting images from the rear dual cameras, where ΔD is the maximum tolerance value.

[0081] In this case, such as Figure 10 As shown, in the vehicle scenario, the optical compensation period is the dimming failure range, the optical parameter learning period is the position range used to calculate the target light source power, and the distance verification period is the position range used to verify the real-time position information of the electronic device.

[0082] In step 403, after the electronic device enters the dimming failure range, for each second real-time position information obtained after entering the dimming failure range, the dimming compensation light intensity corresponding to the second real-time position information is determined according to the target light source power and the second real-time position information.

[0083] In this embodiment, the straight-line distance between the electronic device and the forward light source can be determined based on the second real-time location information; the dimming compensation light intensity can be calculated based on the target light source power and the straight-line distance between the electronic device and the forward light source, wherein the dimming compensation light intensity = target light source power / (straight-line distance between the electronic device and the forward light source). 2 .

[0084] In step 404, the screen dimming of the electronic device under the second real-time location information is performed according to the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information.

[0085] In this embodiment of the application, the difference between the real-time light intensity corresponding to the second real-time location information and the dimming compensation light intensity can be calculated to obtain the compensated light intensity; based on the compensated light intensity, the screen dimming of the electronic device under the second real-time location information can be performed.

[0086] For example, in vehicle mode, when the vehicle travels to the rear of the forward light source, the electronic device uses the vehicle compensation parameters of that forward light source, i.e., the target light source power, to calculate the dimming compensation light intensity E(Compensation). The final key light intensity parameter E(Final) participating in screen dimming is equivalent to the light intensity E(lux) detected by the front-facing photosensor minus the light intensity compensation value E(Compensation), that is:

[0087] E(Final) = E(lux) - E(Compensation), where the compensated light intensity parameter E(Final) is close to the ambient light intensity perceived by the human eye.

[0088] As can be seen from the above embodiments, in this embodiment, the power of the forward light source can be calculated before the electronic device moves into the dimming failure range. After the electronic device moves into the dimming failure range, the compensation light intensity is calculated based on the real-time position information of the electronic device and the power of the forward light source. The calculated compensation light intensity is used to compensate for the light intensity collected by the front photosensitive sensor of the electronic device to simulate the amount of light entering the human eye. Then, the screen brightness is adjusted according to the compensated light intensity. Since the compensated light intensity is close to the ambient light intensity perceived by the human eye, such optical compensation can avoid the problem of abnormal screen dimming caused by the opposite angle of view of the photosensitive field and the angle of view of the human eye when the electronic device moves to a local point light source (such as a street lamp, car headlight, or other high-brightness scene), thus improving the screen dimming effect.

[0089] The screen dimming method provided in this application can be executed by a screen dimming device. This application uses a screen dimming device executing the screen dimming method as an example to illustrate the screen dimming device provided in this application.

[0090] Figure 11 This is a structural block diagram of a screen dimming device provided in an embodiment of this application, applied to an electronic device, the electronic device including: a front-facing photosensor, such as... Figure 11 As shown, the screen dimming device 1100 may include: an acquisition module 1101, a first determination module 1102, a second determination module 1103, and a dimming module 1104, wherein,

[0091] The acquisition module 1101 is used to acquire the real-time position information of the electronic device relative to the forward light source during the movement, and to acquire the real-time light intensity of the forward light source under each real-time position information through the front photosensitive sensor.

[0092] The first determining module 1102 is used to determine the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity obtained before the electronic device enters the dimming failure range of the forward light source, wherein whether the electronic device enters the dimming failure range is determined based on the real-time position information.

[0093] The second determining module 1103 is used to determine the dimming compensation light intensity corresponding to each second real-time position information obtained after the electronic device enters the dimming failure range, based on the target light source power and the second real-time position information.

[0094] The dimming module 1104 is used to dim the screen of the electronic device under the second real-time location information according to the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information.

[0095] As can be seen from the above embodiments, in this embodiment, the power of the forward light source can be calculated before the electronic device moves into the dimming failure range. After the electronic device moves into the dimming failure range, the compensation light intensity is calculated based on the real-time position information of the electronic device and the power of the forward light source. The calculated compensation light intensity is used to compensate for the light intensity collected by the front photosensitive sensor of the electronic device to simulate the amount of light entering the human eye. Then, the screen brightness is adjusted according to the compensated light intensity. Since the compensated light intensity is close to the ambient light intensity perceived by the human eye, such optical compensation can avoid the problem of abnormal screen dimming caused by the opposite angle of view of the photosensitive field and the angle of view of the human eye when the electronic device moves to a local point light source (such as a street lamp, car headlight, or other high-brightness scene), thus improving the screen dimming effect.

[0096] Optionally, as one embodiment, the electronic device further includes: a rear-facing camera, an accelerometer, and an angular velocity sensor;

[0097] The acquisition module 1101 may include:

[0098] The first determining submodule is used to acquire an image of the forward light source through the rear camera, and determine the initial optical center position information of the forward light source relative to the electronic device based on the image of the forward light source.

[0099] The first acquisition submodule is used to acquire real-time acceleration information of the electronic device during its movement through the acceleration sensor, starting from the moment the initial optical center position information is determined.

[0100] The second acquisition submodule is used to acquire the real-time angular velocity information of the electronic device during its movement through the angular velocity sensor;

[0101] The second determining submodule is used to determine the real-time position information of the electronic device relative to the forward light source during its movement, based on the initial optical center position information, the real-time acceleration information, and the real-time angular velocity information.

[0102] Optionally, as an embodiment, the initial optical center position information includes: the initial projection distance and height of the forward light source relative to the electronic device.

[0103] Optionally, as an embodiment, the rear camera is a dual rear camera; the first determining submodule may include:

[0104] The first calculation unit is used to acquire two images of the forward light source through the rear dual cameras and calculate the optical center coordinate information of the forward light source in the two images;

[0105] The second calculation unit is used to calculate the initial projection distance and height of the forward light source relative to the electronic device based on the optical center coordinate information of the forward light source in the two images and the viewing angle difference information of the rear dual cameras.

[0106] Optionally, as an embodiment, the second determining submodule may include:

[0107] The construction unit is used to construct a three-dimensional rectangular coordinate system with the projection point of the forward light source as the origin, the projection distance direction of the forward light source relative to the electronic device as one coordinate axis direction, and the height direction of the forward light source relative to the electronic device as another coordinate axis direction.

[0108] The third calculation unit is used to calculate the real-time displacement information of the electronic device based on the real-time acceleration information; and to calculate the real-time angle information of the electronic device based on the real-time angular velocity information.

[0109] The fourth calculation unit is used to calculate the real-time position information of the electronic device in a three-dimensional Cartesian coordinate system based on the real-time displacement information, real-time angle information, and the initial projection distance and height of the electronic device.

[0110] Optionally, as an embodiment, the screen dimming device 1100 may further include:

[0111] The third determining module is used to acquire images of the forward light source in real time through the rear camera, and determine the real-time optical center position information of the forward light source relative to the electronic device based on the real-time acquired images.

[0112] The verification module is used to verify the real-time position information of the electronic device relative to the forward light source during the movement based on the real-time optical center position information. If the verification result is within the tolerance range, the first determination module 1102 is triggered to determine the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range.

[0113] Optionally, as an embodiment, the first determining module 1102 may include:

[0114] The third determining submodule is used to determine the target light source power of the forward light source based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters.

[0115] In the direction of movement of the electronic device, the effective measurement range of the optical parameters is before and adjacent to the dimming failure range.

[0116] Optionally, as an embodiment, the third determining submodule may include:

[0117] The fifth calculation unit is used to calculate the optical power under each first real-time position information based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters;

[0118] The sixth calculation unit is used to calculate the target light source power of the forward light source based on the optical power under multiple first real-time location information and the corresponding preset weight parameters.

[0119] Optionally, as an embodiment, the screen dimming device 1100 may further include:

[0120] The detection module is used to detect whether the electronic device has translational behavior in a specific direction and whether the translational distance within a preset time period is greater than a preset length. If so, the acquisition module 1101 is triggered to acquire the real-time position information of the electronic device relative to the forward light source during the movement.

[0121] Optionally, as an embodiment, the second determining module 1103 may include:

[0122] The fourth determining submodule is used to determine the straight-line distance between the electronic device and the forward light source based on the second real-time location information;

[0123] The calculation submodule is used to calculate the dimming compensation light intensity based on the target light source power and the straight-line distance between the electronic device and the forward light source, wherein the dimming compensation light intensity = target light source power / (straight-line distance between the electronic device and the forward light source). 2 .

[0124] Optionally, as an embodiment, the dimming module 1104 may include:

[0125] The compensation submodule is used to perform a difference operation between the real-time light intensity corresponding to the second real-time location information and the dimming compensation light intensity to obtain the compensated light intensity;

[0126] The dimming submodule is used to dim the screen of the electronic device based on the compensated light intensity under the second real-time location information.

[0127] The screen dimming device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0128] The screen dimming device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0129] The screen dimming device provided in this application embodiment can achieve... Figure 4 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0130] Optionally, such as Figure 12 As shown, this application embodiment also provides an electronic device 1200, including a processor 1201 and a memory 1202. The memory 1202 stores a program or instructions that can run on the processor 1201. When the program or instructions are executed by the processor 1201, they implement the various steps of the above-described screen dimming method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0131] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0132] Figure 13 This is a schematic diagram of the hardware structure of an electronic device that implements the various embodiments of this application.

[0133] The electronic device 1300 includes, but is not limited to, components such as: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.

[0134] Those skilled in the art will understand that the electronic device 1300 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1310 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0135] In one embodiment, the processor 1310 is configured to acquire real-time position information of an electronic device relative to a forward light source during movement, and acquire real-time light intensity of the forward light source at each real-time position using a front-facing photosensor; before the electronic device enters the dimming failure range of the forward light source, determine the target light source power of the forward light source based on the first real-time position information acquired before entering the dimming failure range and the corresponding real-time light intensity, wherein whether the electronic device enters the dimming failure range is determined based on the real-time position information; after the electronic device enters the dimming failure range, for each second real-time position information acquired after entering the dimming failure range, determine the dimming compensation light intensity corresponding to the second real-time position information based on the target light source power and the second real-time position information; and perform screen dimming on the electronic device at the second real-time position information based on the real-time light intensity corresponding to the second real-time position information and the dimming compensation light intensity.

[0136] As can be seen, in this embodiment, the power of the forward light source can be calculated before the electronic device moves into the dimming failure range. After the electronic device moves into the dimming failure range, the compensation light intensity is calculated based on the real-time position information of the electronic device and the power of the forward light source. The calculated compensation light intensity is used to compensate for the light intensity collected by the front photosensitive sensor of the electronic device to simulate the amount of light entering the human eye. Then, the screen brightness is adjusted according to the compensated light intensity. Since the compensated light intensity is close to the ambient light intensity perceived by the human eye, such optical compensation can avoid the problem of abnormal screen dimming caused by the opposite vector of the photosensitive field of view and the human eye field of view when the electronic device moves to a local point light source (such as a street lamp, car headlight, or other high-brightness scene), thus improving the screen dimming effect.

[0137] Optionally, as an embodiment, the processor 1310 is further configured to acquire an image of a forward-facing light source via a rear-facing camera, determine the initial optical center position information of the forward-facing light source relative to the electronic device based on the image of the forward-facing light source, acquire real-time acceleration information of the electronic device during its movement via an accelerometer, acquire real-time angular velocity information of the electronic device during its movement via an angular velocity sensor, and determine the real-time position information of the electronic device relative to the forward-facing light source during its movement based on the initial optical center position information, the real-time acceleration information, and the real-time angular velocity information.

[0138] Optionally, as an embodiment, the initial optical center position information includes: the initial projection distance and height of the forward light source relative to the electronic device.

[0139] Optionally, as an embodiment, the rear camera is a dual rear camera, and the processor 1310 is further configured to acquire two images of the forward light source through the dual rear cameras, calculate the optical center coordinates of the forward light source in the two images, and calculate the initial projection distance and height of the forward light source relative to the electronic device based on the optical center coordinates of the forward light source in the two images and the viewing angle difference information of the dual rear cameras.

[0140] Optionally, as an embodiment, the processor 1310 is further configured to construct a three-dimensional Cartesian coordinate system with the projection point of the forward light source as the origin, the projection distance direction of the forward light source relative to the electronic device as one coordinate axis, and the height direction of the forward light source relative to the electronic device as another coordinate axis; calculate the real-time displacement information of the electronic device based on the real-time acceleration information; calculate the real-time angle information of the electronic device based on the real-time angular velocity information; and calculate the real-time position information of the electronic device in the three-dimensional Cartesian coordinate system based on the real-time displacement information, the real-time angle information, the initial projection distance, and the height.

[0141] Optionally, as an embodiment, the processor 1310 is further configured to acquire images of the forward light source in real time via the rear camera, determine the real-time optical center position information of the forward light source relative to the electronic device based on the real-time acquired images, verify the real-time position information of the electronic device relative to the forward light source during movement based on the real-time optical center position information, and if the verification result is within the tolerance range, determine the target light source power of the forward light source based on the first real-time position information obtained before entering the dimming failure range and the corresponding real-time light intensity.

[0142] Optionally, as an embodiment, the processor 1310 is further configured to determine the target light source power of the forward light source based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters; wherein, in the direction of movement of the electronic device, the effective measurement range of optical parameters is before and adjacent to the dimming failure range.

[0143] Optionally, as an embodiment, the processor 1310 is further configured to calculate the optical power under each of the first real-time position information obtained within the effective measurement range of optical parameters and the corresponding real-time light intensity; and to calculate the target light source power of the forward light source based on the optical power under the multiple first real-time position information and the corresponding preset weight parameters.

[0144] Optionally, as an embodiment, the processor 1310 is further configured to detect whether the electronic device has translational behavior in a specific direction and the translational distance within a preset time period is greater than a preset length; if so, the processor obtains the real-time position information of the electronic device relative to the forward light source during the movement.

[0145] Optionally, as an embodiment, the processor 1310 is further configured to determine the straight-line distance between the electronic device and the forward light source based on the second real-time position information; and calculate the dimming compensation light intensity based on the target light source power and the straight-line distance between the electronic device and the forward light source, wherein the dimming compensation light intensity = target light source power / (straight-line distance between the electronic device and the forward light source). 2 .

[0146] Optionally, as an embodiment, the processor 1310 is further configured to perform a difference operation on the real-time light intensity corresponding to the second real-time location information and the dimming compensation light intensity to obtain the compensated light intensity; and to perform screen dimming on the electronic device under the second real-time location information according to the compensated light intensity.

[0147] It should be understood that, in this embodiment, the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042. The GPU 13041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0148] The memory 1309 can be used to store software programs and various data. The memory 1309 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1309 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (Synchlink DRAM, SLDRAM), and direct memory bus RAM (DRRAM). The memory 1309 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0149] Processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1310.

[0150] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described screen dimming method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0151] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0152] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described screen dimming method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0153] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0154] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the screen dimming method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0155] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0156] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0157] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A screen dimming method, applied to an electronic device, the electronic device comprising: A front-mounted photosensor, characterized in that the method comprises: The system acquires the real-time position information of the electronic device relative to the forward light source during its movement, and acquires the real-time light intensity of the forward light source under each real-time position information through the front photosensitive sensor. Before the electronic device enters the dimming failure range of the forward light source, the target light source power of the forward light source is determined based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range. Whether the electronic device enters the dimming failure range is determined based on the real-time position information. The dimming failure range refers to the position range where the photosensitive field view and the human eye field view are perceived from opposite directions. After the electronic device enters the dimming failure range, for each second real-time position information obtained after entering the dimming failure range, the dimming compensation light intensity corresponding to the second real-time position information is determined according to the target light source power and the second real-time position information. Based on the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information, the screen dimming of the electronic device under the second real-time location information is performed.

2. The method according to claim 1, characterized in that, The electronic device also includes: a rear-facing camera, an accelerometer, and an angular velocity sensor; The step of acquiring the real-time position information of the electronic device relative to the forward light source during its movement includes: The image of the forward light source is acquired by the rear camera, and the initial optical center position information of the forward light source relative to the electronic device is determined based on the image of the forward light source. Starting from the moment the initial optical center position information is determined, the real-time acceleration information of the electronic device during its motion is obtained through the accelerometer, and the real-time angular velocity information of the electronic device during its motion is obtained through the angular velocity sensor. Based on the initial optical center position information, the real-time acceleration information, and the real-time angular velocity information, the real-time position information of the electronic device relative to the forward light source during its movement is determined.

3. The method according to claim 2, characterized in that, The initial optical center position information includes: the initial projection distance and height of the forward light source relative to the electronic device.

4. The method according to claim 3, characterized in that, The rear camera is a dual rear camera; the step of acquiring an image of the forward light source through the rear camera and determining the initial optical center position information of the forward light source relative to the electronic device based on the image of the forward light source includes: Two images of the forward light source are acquired using the rear dual cameras, and the optical center coordinates of the forward light source in the two images are calculated. Based on the optical center coordinates of the forward light source in the two images and the viewing angle difference information of the rear dual cameras, the initial projection distance and height of the forward light source relative to the electronic device are calculated.

5. The method according to claim 3, characterized in that, Determining the real-time position information of the electronic device relative to the forward light source during its movement, based on the initial optical center position information, the real-time acceleration information, and the real-time angular velocity information, includes: A three-dimensional Cartesian coordinate system is constructed with the projection point of the forward light source as the origin, the projection distance direction of the forward light source relative to the electronic device as one coordinate axis, and the height direction of the forward light source relative to the electronic device as another coordinate axis. Based on the real-time acceleration information, the real-time displacement information of the electronic device is calculated; and based on the real-time angular velocity information, the real-time angle information of the electronic device is calculated. Based on the real-time displacement information, real-time angle information, initial projection distance, and height of the electronic device, the real-time position information of the electronic device in a three-dimensional Cartesian coordinate system is calculated.

6. The method according to claim 2, characterized in that, Before the step of determining the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range, the method further includes: The rear camera captures images of the forward light source in real time, and the real-time optical center position information of the forward light source relative to the electronic device is determined based on the captured images. Based on the real-time optical center position information, the real-time position information of the electronic device relative to the forward light source during its movement is verified; If the verification result is within the tolerance range, the target light source power of the forward light source is determined based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range.

7. The method according to claim 1, characterized in that, The step of determining the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity obtained before entering the dimming failure range includes: Based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters, the target light source power of the forward light source is determined; In the direction of movement of the electronic device, the effective measurement range of the optical parameters is before and adjacent to the dimming failure range.

8. The method according to claim 7, characterized in that, The step of determining the target light source power of the forward light source based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters includes: Based on multiple first real-time position information and corresponding real-time light intensity obtained within the effective measurement range of optical parameters, calculate the optical power under each first real-time position information; The target light source power of the forward light source is calculated based on the optical power under multiple first real-time location information and the corresponding preset weight parameters.

9. The method according to claim 1, characterized in that, Before the step of acquiring the real-time position information of the electronic device relative to the forward light source during its movement, the method further includes: If the electronic device is detected to have translational behavior in a specific direction and the translational distance within a preset time period is greater than a preset length, then the real-time position information of the electronic device relative to the forward light source during the movement is obtained.

10. The method according to claim 1, characterized in that, The step of determining the dimming compensation light intensity corresponding to the second real-time position information based on the target light source power and the second real-time position information includes: Based on the second real-time location information, the straight-line distance between the electronic device and the forward light source is determined; The dimming compensation light intensity is calculated based on the target light source power and the straight-line distance between the electronic device and the forward light source, wherein the dimming compensation light intensity = target light source power / (straight-line distance between the electronic device and the forward light source). 2 .

11. The method according to claim 1, characterized in that, The step of adjusting the screen dimming of the electronic device based on the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information includes: The difference between the real-time light intensity corresponding to the second real-time location information and the dimming compensation light intensity is calculated to obtain the compensated light intensity. Based on the compensated light intensity, the screen dimming of the electronic device under the second real-time location information is adjusted.

12. A screen dimming device, applied to an electronic device, the electronic device comprising: A front-mounted photosensor, characterized in that the device comprises: The acquisition module is used to acquire the real-time position information of the electronic device relative to the forward light source during the movement, and to acquire the real-time light intensity of the forward light source under each real-time position information through the front photosensitive sensor. The first determining module is used to determine the target light source power of the forward light source based on the first real-time position information and the corresponding real-time light intensity obtained before the electronic device enters the dimming failure range of the forward light source. The determination of whether the electronic device enters the dimming failure range is based on the real-time position information. The dimming failure range refers to the position range where the photosensitive field view and the human eye field view are perceived from opposite directions. The second determining module is used to determine the dimming compensation light intensity corresponding to each second real-time position information obtained after the electronic device enters the dimming failure range, based on the target light source power and the second real-time position information. The dimming module is used to dim the screen of the electronic device under the second real-time location information according to the real-time light intensity and dimming compensation light intensity corresponding to the second real-time location information.

13. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the screen dimming method as described in any one of claims 1 to 11.

14. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the screen dimming method as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Adjustment method for interface display content and mobile terminal

    CN106528034A

  • Display brightness control based on ambient light angles

    US20120019152A1