Display screen brightness determination method and device, terminal and storage medium

By calculating the angle between the light source and the terminal light-sensing element and the ambient light information, the problem of dim display brightness under low ambient illumination is solved, matching the brightness with ambient light is achieved, and the user experience is improved.

CN118675485APending Publication Date: 2024-09-20BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310267327.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-14
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Under low ambient illumination conditions, when there is an angle between the terminal's light-sensing element and the light source, the light-sensing value decreases, causing the brightness of the display to become darker, affecting the user's visual experience.

Method used

By determining the angle between the light source and the terminal light-sensing element and its corresponding ambient light information, the preset mapping relationship is used to calculate the ambient light information, thereby accurately adjusting the display brightness.

Benefits of technology

Ensure that the brightness of the display matches the ambient light information to enhance the user's visual experience and avoid visual discomfort caused by inappropriate brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675485A
    Figure CN118675485A
Patent Text Reader

Abstract

The invention relates to a display screen brightness determination method and device, a terminal and a storage medium. The method for determining the brightness of the display screen is applied to the terminal and comprises the following steps: when a light sensing value of a light sensing element of the terminal is smaller than a preset threshold value, determining ambient light information of a position where the terminal is located according to an included angle between a connecting line between a light source and the light sensing element of the terminal and a first direction and a first mapping relation; the first mapping relation represents the relation between the photosensitive included angle and the ambient light information; the photosensitive included angle is an included angle between a photosensitive element of the terminal and a light source; and determining the display screen brightness of the terminal according to the ambient light information. The ambient light information of the position where the terminal is located is determined according to the position relationship between the terminal and the light source, so that the determined ambient light information can accurately reflect the actual ambient light information of the position where the terminal is located, and the brightness of a display screen accurately adapts to the current environment; therefore, visual discomfort caused by the fact that the brightness of the display screen is not matched with the ambient light information is avoided, and the visual experience of a user is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of smart terminals, and in particular to a method, device, terminal, and storage medium for determining display screen brightness. Background Art

[0002] When the light sensor in a terminal is facing a light source, the light sensitivity value obtained from the light sensor reading accurately reflects the ambient light information of the terminal's environment. However, when there is a certain angle between the light sensor and the light source, that is, when the light source deviates from the position directly facing the light sensor, the ambient light received by the light sensor decreases, causing the light sensitivity value obtained from the light sensor reading to decrease. Therefore, when the terminal is in a low-light environment and the display's automatic brightness adjustment is turned on, the light sensitivity value obtained from the light sensor reading may be lower than the actual ambient light information, resulting in a dimmed terminal display brightness, which affects the user's visual experience. Summary of the Invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a method, device, terminal and storage medium for determining the brightness of a display screen.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining display screen brightness is provided, which is applied to a terminal, and the method includes:

[0005] When the light sensitivity value of the light sensing element of the terminal is less than a preset threshold, determining the ambient light information of the location of the terminal based on the angle between the line connecting the light source and the light sensing element of the terminal and the first direction and a first mapping relationship; the first mapping relationship represents the relationship between the light sensitivity angle and the ambient light information; the light sensitivity angle is the angle between the light sensing element of the terminal and the light source;

[0006] Determine the brightness of the display screen of the terminal according to the ambient light information.

[0007] In an exemplary embodiment, determining the ambient light information of the location of the terminal based on the angle between the line between the light source and the light sensing element of the terminal and the first direction and the first mapping relationship includes:

[0008] Determining the inclination angles of at least two of the terminals and the corresponding light-sensing angles of the terminals based on the angles between the lines connecting the light source and the light-sensing elements of the terminals and the first direction; the inclination angles being the angles between the terminals and the second direction;

[0009] The ambient light information of the location of the terminal is determined according to the inclination angles of at least two of the terminals, the corresponding photosensitivity angles of the terminals, and the first mapping relationship.

[0010] In an exemplary embodiment, the method further comprises:

[0011] The photosensitivity angle is determined according to a difference between an angle between a line connecting the light source and a light-sensing element of the terminal and the first direction and the inclination angle.

[0012] In an exemplary embodiment, the first mapping relationship is expressed as:

[0013]

[0014] Among them, f(x) represents the ratio of the sensitivity value of the photosensitive element of the terminal to the ambient light information, x represents the sensitivity angle of the terminal, and a1, a2, a3, b1, b2, b3, c1, c2, and c3 all represent preset parameters.

[0015] In an exemplary embodiment, determining the display screen brightness of the terminal according to the ambient light information includes:

[0016] The display screen brightness of the terminal is determined according to the ambient light information and a second mapping relationship; the second mapping relationship represents the relationship between the ambient light information and the display screen brightness.

[0017] In an exemplary embodiment, the method further comprises:

[0018] The first direction is a vertical direction, and the second direction is a horizontal direction; or, the first direction is a horizontal direction, and the second direction is a vertical direction.

[0019] According to a second aspect of an embodiment of the present disclosure, a device for determining display screen brightness is provided, which is applied to a terminal, and the device includes:

[0020] a first determining module configured to, when a light sensitivity value of a light sensing element of the terminal is less than a preset threshold, determine ambient light information at a location of the terminal based on an angle between a line connecting a light source and the light sensing element of the terminal and a first direction, and a first mapping relationship; the first mapping relationship representing a relationship between a light sensitivity angle and the ambient light information; the light sensitivity angle being an angle between the light sensing element of the terminal and the light source;

[0021] The second determining module is configured to determine the brightness of the display screen of the terminal according to the ambient light information.

[0022] In an exemplary embodiment, the first determining module is further configured to:

[0023] Determining the inclination angles of at least two of the terminals and the corresponding light-sensing angles of the terminals based on the angles between the lines connecting the light source and the light-sensing elements of the terminals and the first direction; the inclination angles being the angles between the terminals and the second direction;

[0024] Based on the inclination angles of at least two of the terminals and the corresponding photosensitivity angles of the terminals and the first mapping relationship.

[0025] In an exemplary embodiment, the first determining module is further configured to:

[0026] The photosensitivity angle is determined according to a difference between an angle between a line connecting the light source and a light-sensing element of the terminal and the first direction and the inclination angle.

[0027] In an exemplary embodiment, the first mapping relationship is expressed as:

[0028]

[0029] Among them, f(x) represents the ratio of the sensitivity value of the photosensitive element of the terminal to the ambient light information, x represents the sensitivity angle of the terminal, and a1, a2, a3, b1, b2, b3, c1, c2, and c3 all represent preset parameters.

[0030] In an exemplary embodiment, the second determining module is further configured to:

[0031] The display screen brightness of the terminal is determined according to the ambient light information and a second mapping relationship; the second mapping relationship represents the relationship between the ambient light information and the display screen brightness.

[0032] In an exemplary embodiment, the first direction is a vertical direction, and the second direction is a horizontal direction; or, the first direction is a horizontal direction, and the second direction is a vertical direction.

[0033] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, including:

[0034] processor;

[0035] a memory for storing processor-executable instructions;

[0036] The processor is configured to execute the method for determining the brightness of a display screen as described in any one of the first aspects of the embodiments of the present disclosure.

[0037] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute a method for determining the brightness of a display screen as described in any one of the first aspects of the embodiment of the present disclosure.

[0038] The above-mentioned method disclosed in the present invention has the following beneficial effects: in the present invention, the ambient light information of the terminal's location is determined according to the positional relationship between the terminal and the light source, so that the determined ambient light information can accurately reflect the actual ambient light information of the terminal's location. Therefore, the display brightness determined according to the ambient light information can accurately adapt to the current environment, avoid visual discomfort caused by the incompatibility between the display brightness and the ambient light information, and effectively improve the user's visual experience.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0041] Figure 1 is a flow chart showing a method for determining the brightness of a display screen according to an exemplary embodiment;

[0042] Figure 2 is a schematic diagram showing the positional relationship between a light sensing element and a light source according to an exemplary embodiment;

[0043] Figure 3 is a schematic diagram showing a curve of the relationship between ambient light information and display screen brightness according to an exemplary embodiment;

[0044] Figure 4 This is a flow chart of a method for determining ambient light information at a location of a terminal based on an angle between a line connecting a light source and a light sensing element of the terminal and a first direction and a first mapping relationship according to an exemplary embodiment;

[0045] Figure 5 is a schematic diagram showing the positional relationship between a light sensing element and a light source according to an exemplary embodiment;

[0046] Figure 6 is a block diagram of a device for determining display screen brightness according to an exemplary embodiment;

[0047] Figure 7 The present invention is a block diagram of a terminal for executing a method for determining display screen brightness according to an exemplary embodiment. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.

[0049] In an exemplary embodiment of the present disclosure, a method for determining display screen brightness is provided, which is applied to a terminal, including an electronic device having a display screen and a light sensing element, such as a smart phone, a smart tablet, and a smart wearable device. Figure 1 FIG. 1 is a flow chart showing a method for determining the brightness of a display screen according to an exemplary embodiment. Figure 1 As shown, the following steps are included:

[0050] Step S101: When the light sensitivity value of the terminal's light sensor is less than a preset threshold, determining ambient light information at the terminal's location based on an angle between a line connecting the light source and the terminal's light sensor and a first direction, and a first mapping relationship; the first mapping relationship represents a relationship between the light sensitivity angle and the ambient light information; the light sensitivity angle being the angle between the terminal's light sensor and the light source;

[0051] Step S102: Determine the brightness of the terminal display screen according to the ambient light information.

[0052] In an exemplary embodiment of the present disclosure, in order to overcome the problems existing in the related art, a method for determining the brightness of a display screen is provided. When the light sensitivity value of a light-sensing element of a terminal is less than a preset threshold value, the ambient light information of the terminal's location is determined based on the angle between the line between the light source and the light-sensing element of the terminal and the first direction and a first mapping relationship; the first mapping relationship represents the relationship between the light sensitivity angle and the ambient light information; the light sensitivity angle is the angle between the light-sensing element of the terminal and the light source; and the brightness of the terminal's display screen is determined based on the ambient light information. In the present disclosure, the ambient light information of the terminal's location is determined based on the positional relationship between the terminal and the light source, so that the determined ambient light information can accurately reflect the actual ambient light information of the terminal's location. Therefore, the display screen brightness determined based on the ambient light information can accurately adapt to the current environment, avoid visual discomfort caused by the mismatch between the display screen brightness and the ambient light information, and effectively improve the user's visual experience.

[0053] In step S101, when the terminal turns on the automatic brightness adjustment function of the display screen, the brightness of the display screen is determined based on the ambient light information detected by the terminal light sensor. Therefore, the accuracy of the ambient light information detected by the terminal light sensor is the main factor affecting the brightness comfort of the terminal display screen. The conditions that can cause the positional relationship between the terminal and the light source to affect the light sensitivity value of the light sensor are recorded as preset conditions, such as the current ambient light illumination is low, or the light source of the current ambient light is straight light. When the ambient light in the environment where the terminal is located does not meet the preset conditions, when the light sensor in the terminal is not facing the light source, that is, when there is a certain angle between the light source and the light sensor, the ambient light received by the light sensor is not much different from the ambient light received when the light sensor is facing the light source. The positional relationship between the terminal and the light source will not affect the light sensitivity value of the light sensor, and therefore will not affect the accuracy of the ambient light information detected by the light sensor. However, when the ambient light in the environment where the terminal is located meets the preset conditions, if the light-sensing element in the terminal is not facing the light source, that is, there is a certain angle between the light source and the light-sensing element, the ambient light received by the light-sensing element of the terminal will be significantly reduced, resulting in a decrease in the sensitivity value obtained by the reading of the light-sensing element. Then, the ambient light information detected by the light-sensing element will have a large error, and the positional relationship between the terminal and the light source will affect the accuracy of the ambient light detected by the light-sensing element.

[0054] In one example, if the light sensitivity value of the terminal's light sensor is less than a preset threshold, it is determined that the current ambient light meets the preset condition. The light sensitivity value of the terminal's light sensor is the reading when the light sensor detects ambient light information. The preset threshold is an empirical value and can be set according to actual needs. For example, the preset threshold is 50 lux. When the light sensor reading is less than 50 lux, it indicates that the current ambient light meets the preset condition.

[0055] When the current environment meets the preset conditions, the ambient light information of the terminal's location is determined based on the positional relationship between the terminal and the light source. This can avoid the impact of the angle between the light sensor and the light source on the ambient light detection results. For example, when the terminal's light sensor is facing the light source, the light sensitivity value of the light sensor is used as the ambient light information; when the angle between the terminal's light sensor and the light source is 45 degrees, twice the light sensitivity value of the light sensor is used as the ambient light information; when the angle between the terminal's light sensor and the light source is 60 degrees, the light sensitivity value of the light sensor is used as two-thirds of the ambient light information.

[0056] The first direction can be a horizontal direction or a vertical direction. When the first direction is a vertical direction, Figure 2 FIG. 1 is a schematic diagram showing the positional relationship between the light sensing element and the light source according to an exemplary embodiment. Figure 2As shown, the terminal 201 is placed in the horizontal direction, and the angle between the line connecting the light sensing element 202 of the terminal and the light source 203 and the first direction is α. The photosensitive angle is the angle between the light sensing element 202 of the terminal and the light source 203. The angle between the light sensing element and the light source represents the angle at which the light source deviates from the position facing the light sensing element. Therefore, Figure 2 The angle α in is also the light-sensing angle at the current location of the terminal. Therefore, there is a certain relationship between the angle between the line connecting the light source and the light-sensing element of the terminal and the first direction and the light-sensing angle. The light-sensing angle can be obtained based on the angle between the line connecting the light source and the light-sensing element of the terminal and the first direction. Based on the obtained light-sensing angle and the first mapping relationship, the ambient light information at the location of the terminal can be determined.

[0057] Among them, the first mapping relationship is obtained through experiments and is used to characterize the relationship between the photosensitive angle and the ambient light information. It can be a mapping relationship table between the photosensitive angle and the ambient light information, or a functional relationship satisfied between the photosensitive angle and the ambient light information, or a relationship curve between the photosensitive angle and the ambient light information, which is pre-stored in the memory of the terminal.

[0058] In step S102, the display brightness that provides the best visual experience under different ambient light information is obtained based on experiments, and the relationship between the ambient light information and the display brightness is determined based on this. After determining the ambient light information of the terminal's current environment, the terminal's display brightness is determined based on the relationship between the ambient light information and the display brightness.

[0059] In one example, the display screen brightness of the terminal is determined according to the ambient light information and a second mapping relationship; the second mapping relationship represents the relationship between the ambient light information and the display screen brightness.

[0060] The second mapping relationship may be a mapping relationship table between ambient light information and display screen brightness, or a functional relationship expression between ambient light information and display screen brightness, or a relationship curve between ambient light information and display screen brightness. Figure 3 FIG. 1 is a schematic diagram showing a relationship curve between ambient light information and display screen brightness according to an exemplary embodiment. Figure 3 As shown, the horizontal axis is the ambient light illuminance, that is, the ambient light information, and the vertical axis is the display brightness. As the ambient light illuminance increases, the display brightness also increases. When the display brightness reaches the maximum value, the increase in ambient light illuminance will not affect the display brightness. The maximum value of the display brightness depends on the hardware structure of the display. The second mapping relationship is obtained through experiments and pre-stored in the memory of the terminal. After determining the ambient light information of the current environment of the terminal, the display brightness corresponding to the ambient light information of the current environment can be determined according to the pre-stored second mapping relationship. For example, the current ambient light information is 30lux. According to Figure 3The second mapping relationship shown determines that the corresponding display brightness is 120 nit.

[0061] In an exemplary embodiment of the present disclosure, when the sensitivity value of the light-sensing element of the terminal is less than a preset threshold value, the ambient light information of the terminal's location is determined based on the angle between the line between the light source and the light-sensing element of the terminal and the first direction and the first mapping relationship, so that the determined ambient light information can accurately reflect the actual ambient light information of the terminal's location. Therefore, based on the ambient light information, the brightness of the terminal's display screen is determined, which can make the display screen brightness adapt to the current ambient light, avoid visual discomfort caused by the mismatch between the current ambient light and the display screen brightness, and effectively improve the user's visual experience.

[0062] In an exemplary embodiment, the first mapping relationship in step S101 is expressed as:

[0063]

[0064] Among them, f(x) represents the ratio of the sensitivity value of the terminal's light sensor to the ambient light information, x represents the terminal's sensitivity angle, and a1, a2, a3, b1, b2, b3, c1, c2, and c3 all represent preset parameters.

[0065] After obtaining the photosensitive angle according to the angle between the line between the light source and the light sensing element of the terminal and the first direction, substituting it into the above functional relationship, the ambient light information can be obtained.

[0066] In an exemplary embodiment, Figure 4 is a flow chart of a method for determining ambient light information of a terminal location based on an angle between a line connecting a light source and a light sensing element of the terminal and a first direction and a first mapping relationship according to an exemplary embodiment. Figure 4 As shown, the following steps are included:

[0067] Step S401, determining the inclination angles of at least two terminals and the corresponding light-sensing angles of the terminals based on the angles between the lines connecting the light source and the light-sensing elements of the terminals and the first direction; the inclination angle is the angle between the terminal and the second direction;

[0068] Step S402: determining ambient light information of the location of the terminal according to the inclination angles of at least two terminals, the corresponding light-sensing angles of the terminals, and a first mapping relationship.

[0069] The second direction is perpendicular to the first direction, and the second direction can be horizontal or vertical. When the first direction is vertical and the second direction is horizontal, Figure 5 FIG. 1 is a schematic diagram showing the positional relationship between the light sensing element and the light source according to an exemplary embodiment. Figure 5As shown, the angle between the terminal 501 and the second direction is β, that is, the inclination angle of the terminal is β, and the angle between the light sensing element 502 of the terminal and the light source 503 is α ′ , that is, the terminal's photosensitive angle is α ′ Based on the angle relationship of the triangle, it can be concluded that the angle between the line connecting the light source 503 and the light sensing element 502 of the terminal and the first direction is α=α ′ Therefore, the light sensing angle is determined according to the difference between the angle between the line connecting the light source and the light sensing element of the terminal and the first direction and the inclination angle.

[0070] The inclination angle of the terminal can be obtained by the accelerometer in the terminal. Within a preset time period, when the relative position between the light source and the light sensing element of the terminal does not change, it indicates that the angle between the line connecting the light source and the light sensing element of the terminal and the first direction does not change. The inclination angles of at least two different terminals within the preset time period are obtained respectively, and based on the difference between the angle and the inclination angle between the line connecting the light source and the light sensing element of the terminal and the first direction, the photosensitive angles corresponding to at least two different inclination angles are obtained. The inclination angles of at least two different terminals and the photosensitive angles of the corresponding terminals are respectively substituted into the first mapping relationship to obtain a set of linear equations of two variables regarding the angle between the line connecting the light source and the light sensing element of the terminal and the first direction and the ambient light information. The ambient light information of the terminal location can be obtained by solving the equations.

[0071] In one example, the first mapping relationship is expressed as:

[0072]

[0073] Among them, f(x) represents the ratio of the sensitivity value of the terminal's light sensor to the ambient light information, x represents the terminal's sensitivity angle, and a1, a2, a3, b1, b2, b3, c1, c2, and c3 all represent preset parameters.

[0074] Figure 2 and Figure 5 is a schematic diagram of the position relationship between any two moments in a preset time period when the relative positions of the light source and the light sensing element of the terminal do not change. Therefore, Figure 2 and Figure 5 The angle between the line connecting the central light source and the light sensing element of the terminal and the first direction does not change. Figure 2 In the example, the inclination angle β of the terminal is recorded as β1, and the angle between the line connecting the light source and the light sensor of the terminal and the first direction is recorded as α. Then, the light-sensing angle is α-β1, where β1=0. The light-sensing value of the light sensor of the terminal at this position is recorded as Z1, and the ambient light information is recorded as Y. Then, according to the first mapping relationship, the following first relationship is obtained:

[0075]

[0076] Figure 5 The inclination angle β of the terminal is recorded as β2, and the angle between the line between the light source and the light sensing element of the terminal and the first direction is recorded as α, then the photosensitive angle is α ′ =α-β2, the light sensitivity value of the light sensor of the terminal at this position is recorded as Z2, and the ambient light information is recorded as Y. Then, according to the first mapping relationship, the following second relationship is obtained:

[0077]

[0078] Z1 and Z2 in the first and second relationship equations are obtained through the readings of the terminal's light-sensing element, and β1 and β2 are obtained through the terminal's accelerometer. The first and second relationship equations form a set of two-variable linear equations about α and Y, and the value of the ambient light information Y can be obtained by solving them.

[0079] In an exemplary embodiment of the present disclosure, a device for determining display screen brightness is provided, which is applied to a terminal. Figure 6 FIG. 1 is a block diagram of a device for determining display screen brightness according to an exemplary embodiment. Figure 6 Shown, including:

[0080] A first determining module 601 is configured to, when a light sensitivity value of a light sensing element of the terminal is less than a preset threshold, determine ambient light information at the location of the terminal based on an angle between a line connecting a light source and the light sensing element of the terminal and a first direction, and a first mapping relationship, wherein the first mapping relationship represents a relationship between a light sensitivity angle and the ambient light information; the light sensitivity angle being the angle between the light sensing element of the terminal and the light source;

[0081] The second determining module 602 is configured to determine the display screen brightness of the terminal according to the ambient light information.

[0082] In an exemplary embodiment, the first determining module 601 is further configured to:

[0083] Determining the inclination angles of at least two of the terminals and the corresponding light-sensing angles of the terminals based on the angles between the lines connecting the light source and the light-sensing elements of the terminals and the first direction; the inclination angles being the angles between the terminals and the second direction;

[0084] Based on the inclination angles of at least two of the terminals and the corresponding photosensitivity angles of the terminals and the first mapping relationship.

[0085] In an exemplary embodiment, the first determining module 601 is further configured to:

[0086] The photosensitivity angle is determined according to a difference between an angle between a line connecting the light source and a light-sensing element of the terminal and the first direction and the inclination angle.

[0087] In an exemplary embodiment, the first mapping relationship is expressed as:

[0088]

[0089] Among them, f(x) represents the ratio of the sensitivity value of the photosensitive element of the terminal to the ambient light information, x represents the sensitivity angle of the terminal, and a1, a2, a3, b1, b2, b3, c1, c2, and c3 all represent preset parameters.

[0090] In an exemplary embodiment, the second determining module 602 is further configured to:

[0091] The display screen brightness of the terminal is determined according to the ambient light information and a second mapping relationship; the second mapping relationship represents the relationship between the ambient light information and the display screen brightness.

[0092] In an exemplary embodiment, the first direction is a vertical direction, and the second direction is a horizontal direction; or, the first direction is a horizontal direction, and the second direction is a vertical direction.

[0093] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0094] Figure 7 is a block diagram of a terminal 700 for executing a method for determining display screen brightness according to an exemplary embodiment.

[0095] Reference Figure 7 The terminal 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .

[0096] The processing component 702 generally controls the overall operation of the terminal 700, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.

[0097] The memory 704 is configured to store various types of data to support operations on the terminal 700. Examples of such data include instructions for any application or method operating on the terminal 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0098] Power component 706 provides power to various components of terminal 700. Power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 700.

[0099] The multimedia component 708 includes a screen that provides an output interface between the terminal 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the terminal 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0100] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the terminal 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

[0101] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0102] The sensor assembly 714 includes one or more sensors for providing various aspects of the terminal 700's status assessment. For example, the sensor assembly 714 can detect the open / closed state of the terminal 700, the relative positioning of components, such as the display and keypad of the terminal 700. The sensor assembly 714 can also detect changes in the position of the terminal 700 or a component of the terminal 700, the presence or absence of user contact with the terminal 700, the orientation or acceleration / deceleration of the terminal 700, and changes in the temperature of the terminal 700. The sensor assembly 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 can also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0103] The communication component 716 is configured to facilitate wired or wireless communication between the terminal 700 and other devices. The terminal 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0104] In an exemplary embodiment, the terminal 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0105] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the terminal 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0106] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a device, enables the device to perform a method for determining the brightness of a display screen, the method including any of the above methods.

[0107] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

[0108] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for determining display brightness, applied to a terminal, characterized in that: The method comprises: When the light sensitivity value of the light sensing element of the terminal is less than a preset threshold, the ambient light information of the location of the terminal is determined according to the angle between the line between the light source and the light sensing element of the terminal and the first direction and a first mapping relationship; the first mapping relationship represents the relationship between the light sensitivity angle and the ambient light information; the light sensitivity angle is the angle between the light sensing element of the terminal and the light source; Determine the display screen brightness of the terminal according to the ambient light information.

2. The method for determining display screen brightness according to claim 1, characterized in that: The determining, according to an angle between a line between the light source and a light sensing element of the terminal and a first direction and a first mapping relationship, ambient light information of a location of the terminal includes: Determine the inclination angles of at least two of the terminals and the corresponding photosensitivity angles of the terminals according to the angles between the lines between the light source and the light sensing elements of the terminals and the first direction; the inclination angle is the angle between the terminal and the second direction; The ambient light information of the location of the terminal is determined according to the inclination angles of at least two of the terminals, the corresponding photosensitivity angles of the terminals, and the first mapping relationship.

3. The method for determining display screen brightness according to claim 2, characterized in that: The method further comprises: The photosensing angle is determined according to a difference between an angle between a line connecting the light source and a light sensing element of the terminal and the first direction and the inclination angle.

4. The method for determining display screen brightness according to claim 3, characterized in that: The first mapping relationship is expressed as: Among them, f(x) represents the ratio of the photosensitivity value of the photosensitive element of the terminal to the ambient light information, x represents the photosensitivity angle of the terminal, and a1, a2, a3, b1, b2, b3, c1, c2, and c3 all represent preset parameters.

5. The method for determining display screen brightness according to any one of claims 1 to 4, characterized in that: The step of determining the display screen brightness of the terminal according to the ambient light information includes: The display screen brightness of the terminal is determined according to the ambient light information and a second mapping relationship; the second mapping relationship represents the relationship between the ambient light information and the display screen brightness.

6. The method for determining display screen brightness according to claim 3, characterized in that: The method further comprises: The first direction is a vertical direction, and the second direction is a horizontal direction; or, the first direction is a horizontal direction, and the second direction is a vertical direction.

7. A device for determining display screen brightness, applied to a terminal, characterized in that: The device comprises: A first determination module is configured to determine the ambient light information of the location of the terminal according to the angle between the line between the light source and the light sensing element of the terminal and the first direction and a first mapping relationship when the light sensing value of the light sensing element of the terminal is less than a preset threshold; the first mapping relationship represents the relationship between the light sensing angle and the ambient light information; the light sensing angle is the angle between the light sensing element of the terminal and the light source; The second determination module is configured to determine the display screen brightness of the terminal according to the ambient light information.

8. The device for determining display screen brightness according to claim 7, characterized in that: The first determining module is further configured to: Determine the inclination angles of at least two of the terminals and the corresponding photosensitivity angles of the terminals according to the angles between the lines between the light source and the light sensing elements of the terminals and the first direction; the inclination angle is the angle between the terminal and the second direction; Based on the inclination angles of at least two of the terminals and the corresponding photosensitivity angles of the terminals and the first mapping relationship.

9. A terminal, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method for determining the brightness of a display screen as described in any one of claims 1-6.

10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method for determining the brightness of a display screen as described in any one of claims 1 to 6.