CN115831076A - Screen brightness adjusting method and device, terminal and storage medium - Google Patents
Screen brightness adjusting method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN115831076A CN115831076A CN202111094989.3A CN202111094989A CN115831076A CN 115831076 A CN115831076 A CN 115831076A CN 202111094989 A CN202111094989 A CN 202111094989A CN 115831076 A CN115831076 A CN 115831076A
- Authority
- CN
- China
- Prior art keywords
- light source
- brightness
- terminal
- optical sensor
- light
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The disclosure relates to a screen brightness adjusting method and device, a terminal and a storage medium. The method is applied to a terminal comprising a display screen and a plurality of optical sensors, and comprises the following steps: determining actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor; and adjusting the display brightness of the display screen according to the actual light emitting brightness. By the method, the accuracy of adjustment can be improved, and the user experience is improved.
Description
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a method and an apparatus for adjusting screen brightness, a terminal, and a storage medium.
Background
Generally, an optical sensor is installed in a terminal device to adjust the brightness of a terminal screen by a light intensity value sensed by the sensor. However, optical sensors are limited to the Field of view (FOV), and the sensed light intensity value may be smaller than the true value.
On the basis, attention has been paid to how to improve the accuracy of the light intensity detected by the optical sensor to adjust the screen brightness.
Disclosure of Invention
The disclosure provides a screen brightness adjusting method and device, a terminal and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting method applied in a terminal including a display screen, the terminal including a plurality of optical sensors therein, the method including:
determining actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor;
and adjusting the display brightness of the display screen according to the actual light emitting brightness.
In some embodiments, the determining the actual light emitting brightness of the light source according to the brightness value of the light source detected by each of the optical sensors includes:
determining the actual light emitting brightness of the light source according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and the preset functional relation; the preset functional relationship represents a mapping relationship between an included angle between the light source and the terminal, actual light emitting brightness of the light source and a brightness value collected by the optical sensor.
In some embodiments, the terminal includes a first optical sensor and a second optical sensor, the first optical sensor being located below the display screen, the first optical sensor having a field angle directed toward the display screen; the second optical sensor is close to a frame of the terminal, and the angle of view of the second optical sensor faces the frame.
In some embodiments, the terminal further comprises an angle sensor, and the method further comprises:
determining a first included angle between a plane where a display screen of the terminal is located and the ground horizontal plane through the angle sensor;
determining a second included angle between the light source and the terminal according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and the preset function relation;
establishing a light sensation model according to the first included angle, the second included angle and the actual brightness of the light source; the light sensation model is used for determining the actual light emitting brightness of the light source according to the position of the light source.
In some embodiments, a third optical sensor is included in the terminal, the third optical sensor being proximate to a back housing of the terminal, a field angle of the third optical sensor being directed toward the back housing of the terminal;
the method further comprises the following steps:
acquiring the ambient light brightness of ambient light outside the light source detected by the third optical sensor;
the determining the actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor comprises:
and if the ambient light brightness is smaller than a preset brightness threshold, determining the actual light emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor.
In some embodiments, the light source comprises: a point light source or a line light source.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus applied in a terminal including a display screen, the terminal including a plurality of optical sensors therein, the apparatus including:
a first determination module configured to determine actual light emission luminance of the light source according to the luminance value of the light source detected by each of the optical sensors;
and the adjusting module is configured to adjust the display brightness of the display screen according to the actual light emitting brightness.
In some embodiments, the first determining module is further configured to determine the actual light emitting brightness of the light source according to the brightness value detected by each of the optical sensors, a predetermined position relationship between each of the optical sensors, and a preset functional relationship; the preset functional relationship represents a mapping relationship between an included angle between the light source and the terminal, actual light emitting brightness of the light source and a brightness value collected by the optical sensor.
In some embodiments, the terminal further comprises an angle sensor, and the apparatus further comprises:
the second determining module is configured to determine a first included angle between a plane where a display screen of the terminal is located and the ground horizontal plane through the angle sensor;
a third determining module configured to determine a second included angle between the light source and the terminal according to the brightness value detected by each optical sensor, a predetermined position relation among the optical sensors, and a preset functional relation;
the modeling module is configured to establish a light sensation model according to the first included angle, the second included angle and the actual light emitting brightness of the light source; the light sensation model is used for determining the actual light emitting brightness of the light source according to the position of the light source.
In some embodiments, a third optical sensor is included in the terminal, the third optical sensor being proximate to a back housing of the terminal, a field angle of the third optical sensor being directed toward the back housing of the terminal;
the device further comprises:
an acquisition module configured to acquire an ambient light brightness of ambient light other than the light source detected by the third optical sensor;
the first determining module is further configured to determine actual light emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor if the ambient light brightness is smaller than a preset brightness threshold.
According to a third aspect of an embodiment of the present disclosure, there is provided a terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the screen brightness adjustment method as described in the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium including:
the instructions in said storage medium, when executed by a processor of a terminal, enable the terminal to perform the screen brightness adjustment method as described in the above first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the actual brightness of the light source is determined by using the brightness value of the light source detected by the plurality of optical sensors in the terminal, and then the display brightness of the display screen is adjusted, so that the adjustment accuracy can be improved, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method for adjusting screen brightness according to an embodiment of the disclosure.
Fig. 2 is an exemplary diagram of an angle of view of an off-screen optical sensor in an embodiment of the disclosure.
Fig. 3 is a first diagram illustrating a position of a light source and an optical sensor according to an embodiment of the disclosure.
Fig. 4 is a second example of the positions of the light source and the optical sensor in the embodiment of the disclosure.
Fig. 5 is an exemplary graph of light intensity sensed by an optical sensor in an embodiment of the disclosure.
Fig. 6 is an exemplary diagram of a position of a light source relative to an angle of view of each optical sensor in an embodiment of the disclosure.
FIG. 7 is an exemplary illustration of an angle between a light source and a ground level in an embodiment of the disclosure.
Fig. 8 is a diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram of a terminal shown in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart of a screen brightness adjusting method shown in an embodiment of the present disclosure, which is applied to a terminal including a display screen, where the terminal includes a plurality of optical sensors, and as shown in fig. 1, the screen brightness adjusting method includes the following steps:
s11, determining the actual light emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor;
and S12, adjusting the display brightness of the display screen according to the actual light emitting brightness.
In an embodiment of the present disclosure, a terminal device includes: a mobile device and a stationary device; the mobile device includes: a mobile phone, a tablet computer or an intelligent sound box with a display screen. The stationary device includes, but is not limited to, a Personal Computer (PC).
The terminal equipment comprises a display screen which can display image frames. Still be provided with light sensor in the terminal, light sensor can set up the below at the display screen, can turn into the signal of telecommunication with the ambient light that sees through the display screen to make the terminal can be according to the signal of telecommunication and confirm ambient light brightness. For a full-screen terminal, a light sensor disposed below a display screen detects ambient light by detecting light transmitted through a space gap between display units.
As previously mentioned, the optical sensor is limited to the field of view (field angle) and the sensed light intensity value may be smaller than the true value. The severity of this problem is exacerbated for full-screen terminals. The reason is that the field angle of the optical sensor placed under the screen is smaller, and the actual application is only about 45 degrees, so that the actual light intensity at the top and the back of the mobile phone may not be sensed, and the light intensity detected by the optical sensor may not be accurate enough.
Fig. 2 is an exemplary view of the viewing angle of an optical sensor under a screen in an embodiment of the disclosure, as shown in fig. 2, taking a mobile phone as an example, the viewing range of the optical sensor under the display screen of the mobile phone is about 0 to 45 degrees.
Typically, the optical sensor will sense the exact light intensity if the terminal is directly below the light source. On the contrary, if there is an included angle between the light source and the optical sensor, and the included angle is too large and even exceeds the visual field range of the optical sensor, the sensing capability of the optical sensor will decline by more than 50%, resulting in a problem of small measurement. In the disclosed embodiment, the position of the light source relative to the terminal refers to the position of the light source relative to the field angle of the optical sensor in the terminal.
Fig. 3 is a first exemplary diagram illustrating positions of the light source and the optical sensor according to the embodiment of the disclosure, as shown in fig. 3, the light source is at the exact center of the field angle of the optical sensor, and the data measured by the optical sensor is close to the real value. Fig. 4 is a second exemplary diagram illustrating positions of the light source and the optical sensor in the embodiment of the disclosure, as shown in fig. 4, the light source is outside the field angle range of the optical sensor, and the data measured by the optical sensor is smaller than the true value.
Fig. 5 is an exemplary graph of light intensity sensed by an optical sensor in an embodiment of the disclosure, where an abscissa represents a position of a terminal with respect to a light source and an ordinate represents a light intensity value sensed by the optical sensor, as shown in fig. 5. Fig. 5 includes 2 curves of the light intensity sensed by the optical sensor, and it can be seen from the trend of the 2 curves that the light intensity sensed by the optical sensor is larger in the range of plus or minus 30 degrees, and the angular deviation exceeds this range, and the larger the deviation is, the smaller the light intensity sensed by the optical sensor is. It should be noted that the inconsistency of the curves of the light intensities sensed by the 2 optical sensors in the terminal may be caused by the difference of the positions of the 2 optical sensors.
As can be seen from the above, the intensity of light detected by the optical sensor may not accurately reflect the actual situation, and thus the brightness of the display screen is adjusted based on the ambient light detected by the optical sensor, and there may be a deviation in the adjustment. For example, the adjustment of the screen brightness is dark, which affects the reading experience of the user.
In this regard, the present disclosure proposes a screen brightness adjustment method, in step S11, determining actual light emission brightness of a light source according to brightness values of the light source detected by a plurality of optical sensors, and then in step S12, adjusting display brightness of a display screen based on the actual light emission brightness of the light source.
In one embodiment, the light source comprises: a point light source or a line light source.
In the embodiments of the present disclosure, the point light source or the line light source refers to light emitted by an electronic device that can emit light, and does not include light emitted by sunlight. This is because the radiation range of sunlight is wide and the light intensity is uniform in any direction, and therefore, the problem of detection variation due to the limitation of the angle of view of the optical sensor does not occur. The radiation range (irradiation area) of the point light source or the line light source is limited because there is a problem that the optical sensor is caused to detect a deviation.
In the embodiment of the present disclosure, when the actual light emission luminance of the light source is determined according to the luminance values of the light source detected by the plurality of optical sensors, for example, considering that the optical sensors make the sensed light intensity value small due to the field angle limitation, in one embodiment, the maximum value among the luminance values of the light source detected by the plurality of sensors may be taken as the actual light emission luminance to reduce the deviation. In another embodiment, the average value of the luminance values of the plurality of optical sensor detection light sources may be multiplied by a predetermined coefficient as the actual light emission luminance. The predetermined coefficient may be a value set to be suitable for most cases, for example, a predetermined coefficient value of 1.3, based on a curve such as that shown in fig. 3.
In the embodiment of the disclosure, after obtaining the actual light emitting brightness of the light source, the terminal may adjust the display brightness of the display screen according to the actual light emitting brightness. For example, when the ambient light brightness information is high, the display brightness of the display screen can be increased; when the ambient light brightness information is very low, the display brightness of the display screen can be adjusted to adapt to human eyes of a user.
It can be understood that, according to the display screen brightness adjusting method and device, the brightness value of the light source detected by the optical sensors in the terminal is utilized to determine the actual brightness of the light source and then adjust the display brightness of the display screen, so that the adjusting accuracy can be improved, and the user experience is improved.
In one embodiment, the determining the actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor includes:
determining the actual light emitting brightness of the light source according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and the preset functional relation; the preset functional relationship represents a mapping relationship between an included angle between the light source and the terminal, actual luminous intensity of the light source and a brightness value acquired by the optical sensor.
In the embodiment of the present disclosure, when the actual light-emitting luminance of the light source is determined according to the luminance value of the light source detected by each optical sensor, the predetermined position relationship and the preset functional relationship between each optical sensor may also be combined.
Wherein the predetermined positional relationship between the optical sensors is characterized by a correlation between the field angle orientations of the optical sensors. Taking two optical sensors as an example, if the position between the two optical sensors is vertical, the field angle of one optical sensor may face the display screen, and the field angle of the other optical sensor faces the frame of the terminal, such as the top of a mobile phone; if the position between the two optical sensors is parallel, the field angles of the two optical sensors may both face the display screen. Of course, the present disclosure may have three or more optical sensors, and the positions between the respective optical sensors are predetermined in advance.
In this embodiment, the preset functional relationship may be characterized by the following equation (1):
L*=f(L,θ) (1)
wherein, L represents the actual luminance brightness of the light source, theta represents the included angle between the light source and the terminal, and L represents the brightness value collected by the optical sensor.
It should be noted that the preset functional relationship of the present disclosure can be obtained by fitting the following experimental data: when the light source is at the +/-90-degree position of the optical sensor, the light sensing capacity of the optical sensor is 0; when the light source is right above (0 degree) the optical sensor, the light sensing capability is 100 percent, namely the actual light emitting brightness of the light source can be correctly detected; when the light source is at the 45 deg. position of the optical sensor, the light sensing capability is halved. And obtaining a curve corresponding to the functional relation based on the data, namely a standard FOV curve.
In this embodiment, since the brightness values detected by the respective optical sensors are known and the predetermined positional relationship between the respective optical sensors is known, the actual light emission luminance of the light source can be obtained by establishing the equation system based on the above formula (1).
It can be understood that, in the present disclosure, the calculation amount is small, and it is simple and convenient, based on the above manner of constructing the equation set to obtain the actual light-emitting brightness of the light source.
In one embodiment, the terminal comprises a first optical sensor and a second optical sensor, wherein the first optical sensor is positioned below the display screen, and the angle of view of the first optical sensor faces to the display screen; the second optical sensor is close to a frame of the terminal, and the field angle of the second optical sensor faces to the frame.
In this embodiment, the terminal includes two optical sensors, and based on the foregoing description, if the viewing angle of the first optical sensor is oriented toward the display screen and the viewing angle of the other optical sensor is oriented toward the bezel, the position between the two optical sensors is perpendicular. FIG. 6 is a diagram illustrating an exemplary position of the light source relative to the field angle of each optical sensor in the embodiment of the disclosure, where the angle of the light source relative to the first optical sensor under the display screen is θ as shown in FIG. 6 1 The angle of the light source relative to the second optical sensor at the top of the terminal is theta 2 . As can be seen from the figure, θ 1 And theta 2 Is approximately 90 degrees. In fig. 6, θ represents 3 The angle between the terminal and the ground level is indicated.
Based on the above fig. 6 and equation (1), if the first optical sensor detects light intensity as L1 and the second optical sensor detects light intensity as L2, then an equation system can be established: l1= f (L, θ) 1 ),L2=f(L,θ 2 ) Wherein θ 1 +θ 2 =90 °. Since L1 and L2 are known, θ 1 And theta 2 If the angular relationship of (a) is known, L, i.e., the actual light emission luminance of the light source, can be obtained.
In one embodiment, the terminal further includes an angle sensor therein, and the method further includes:
determining a first included angle between a plane where a display screen of the terminal is located and the ground horizontal plane through the angle sensor;
determining a second included angle between the light source and the terminal according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and a preset function relation;
establishing a light sensation model according to the first included angle, the second included angle and the actual brightness of the light source; the light sensation model is used for determining the actual light emitting brightness of the light source according to the position of the light source.
In this embodiment, the terminal may further include an angle sensor, such as a gyroscope, for detecting a first angle between a plane where the display screen of the terminal is located and the ground level, i.e. θ in fig. 6 3 I.e. the tilt angle of the terminal.
In addition, the present disclosure may also determine a second angle between the light source and the terminal based on the equation set established by the above formula (1). It should be noted that, in the embodiment of the disclosure, the second included angle between the light source and the terminal may refer to an included angle between the light source and a plane where the warm display screen of the terminal is located, that is, θ in fig. 6 1 。
After the first included angle and the second included angle are determined, and then the light sensing model is established by combining the actual light-emitting brightness of the light source, in an embodiment, the included angle of the light source relative to the ground horizontal plane is determined according to the sum of the first included angle and the second included angle, and then the first light sensing model is established based on the actual light-emitting brightness of the light source. It should be noted that the first light sensation model may be a model obtained by training based on the included angles of the multiple groups of light sources with respect to the ground horizontal plane and the actual light-emitting luminances of the light sources, where the included angle of the light sources with respect to the ground horizontal plane corresponds to the actual light-emitting luminance of one light source, and is referred to as a group in the embodiment of the present disclosure.
In practical application, if an angle sensor is arranged in the electronic equipment providing the light source, the included angle between the angle sensor and the ground horizontal plane can be determined based on the angle sensor, the included angle is sent to the terminal disclosed by the invention, and the terminal can directly determine the actual brightness of the light source according to the first light sensation model, so that the display brightness of the display screen is adjusted.
FIG. 7 is an exemplary diagram of an angle between a light source and a ground level, as shown in FIG. 7, where the angle between the light source and the ground level is θ in an embodiment of the disclosure 1 +θ 3 。
In another embodiment, the second light sensation model may be established according to the second included angle, i.e., the included angle between the light source and the terminal, and based on the actual light emitting brightness of the light source. It should be noted that the second light sensation model may be a model obtained by training based on the included angles of the plurality of groups of light sources relative to the terminal and the actual light-emitting brightness of the light sources, where the included angle of the light sources relative to the terminal corresponds to the actual light-emitting brightness of one light source, and is also referred to as a group in the embodiment of the present disclosure.
In practical application, if the electronic device or the terminal providing the light source is provided with the positioning sensor, an included angle between the light source (the electronic device providing the light source) and the terminal can be determined based on the positioning sensor, the included angle is sent to the terminal disclosed by the disclosure, and the terminal can directly determine the actual brightness of the light source according to the second light sensation model, so that the display brightness of the display screen is adjusted.
It can be understood that, the present disclosure is based on a built-in angle sensor, and determines the first angle and the second angle in combination with the aforementioned scheme including the above formula (1) to determine the position of the light source (including the position of the light source relative to the terminal, or the position of the light source relative to the ground level), so as to establish a light sensation model for determining the actual light emitting brightness of the light source, which can enhance the capability of the terminal in automatic dimming and the like.
In one embodiment, a third optical sensor is included in the terminal, the third optical sensor is close to the back shell of the terminal, and the angle of view of the third optical sensor is towards the back shell of the terminal;
the method further comprises the following steps:
acquiring the ambient light brightness of ambient light outside the light source detected by the third optical sensor;
the determining the actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor comprises:
and if the ambient light brightness is smaller than a preset brightness threshold, determining the actual light emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor.
Since the light intensity of the light source sensed by the optical sensor is more likely to cause the aforementioned problem of detection deviation in a darker environment, the present disclosure uses the third optical sensor with the field angle facing the terminal back shell to detect the ambient light brightness of the ambient light outside the light source, and determines the actual light emitting brightness of the light source when the ambient light brightness is smaller than the preset brightness threshold, so as to improve the necessity of determining the actual light emitting brightness of the light source by using the scheme of the present disclosure.
It should be noted that, since the light source of the present disclosure includes a point light source or a line light source, and after the light of the point light source or the line light source is blocked, the light cannot pass through the blocking object, the ambient light detected by the third optical sensor in the present disclosure may be understood as light that does not include the light source.
Fig. 8 is a diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment. The apparatus is applied to a terminal including a display screen, the terminal including a plurality of optical sensors therein, and referring to fig. 8, the apparatus includes:
a first determination module 101 configured to determine actual light emission luminance of the light source according to the luminance value of the light source detected by each of the optical sensors;
and the adjusting module 102 is configured to adjust the display brightness of the display screen according to the actual light emitting brightness.
In some embodiments, the method is characterized in that,
the first determining module 101 is further configured to determine actual light-emitting brightness of the light source according to the brightness value detected by each optical sensor, a predetermined position relationship between each optical sensor, and a preset functional relationship; the preset functional relationship represents a mapping relationship between an included angle between the light source and the terminal, actual light emitting brightness of the light source and a brightness value collected by the optical sensor.
In some embodiments, the terminal further comprises an angle sensor, and the apparatus further comprises:
the second determining module 103 is configured to determine a first included angle between a plane where a display screen of the terminal is located and the ground horizontal plane through the angle sensor;
a third determining module 104, configured to determine a second included angle between the light source and the terminal according to the brightness value detected by each of the optical sensors, a predetermined position relationship between the optical sensors, and a preset functional relationship;
the modeling module 105 is configured to establish a light sensation model according to the first included angle, the second included angle and the actual light emitting brightness of the light source; the light sensation model is used for determining the actual light emitting brightness of the light source according to the position of the light source.
In some embodiments, a third optical sensor is included in the terminal, the third optical sensor being proximate to a back housing of the terminal, a field angle of the third optical sensor being directed toward the back housing of the terminal;
the device further comprises:
an obtaining module 106 configured to obtain an ambient light brightness of ambient light other than the light source detected by the third optical sensor;
the first determining module 101 is further configured to determine actual light emitting brightness of the light source according to the brightness value of the light source detected by each of the optical sensors if the ambient light brightness is smaller than a preset brightness threshold.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 9 is a block diagram illustrating a terminal apparatus 800 according to an example embodiment. For example, the device 800 may be a cell phone, tablet computer, or the like.
Referring to fig. 9, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices, 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 or optical disks.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a 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 may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi,2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal including a display screen and a plurality of optical sensors to perform a screen brightness adjustment method, the method comprising:
determining actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor;
and adjusting the display brightness of the display screen according to the actual light emitting brightness.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been 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 disclosure is limited only by the appended claims.
Claims (12)
1. A screen brightness adjusting method is applied to a terminal comprising a display screen, wherein a plurality of optical sensors are included in the terminal, and the method comprises the following steps:
determining actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor;
and adjusting the display brightness of the display screen according to the actual light emitting brightness.
2. The method of claim 1, wherein said determining actual light emitting brightness of said light sources based on brightness values of said light sources detected by each of said optical sensors comprises:
determining the actual light emitting brightness of the light source according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and the preset functional relation; the preset functional relationship represents a mapping relationship between an included angle between the light source and the terminal, actual light emitting brightness of the light source and a brightness value collected by the optical sensor.
3. The method of claim 2, wherein the terminal comprises a first optical sensor and a second optical sensor, the first optical sensor is located below the display screen, and a field angle of the first optical sensor faces the display screen; the second optical sensor is close to a frame of the terminal, and the field angle of the second optical sensor faces to the frame.
4. The method of claim 2, further comprising an angle sensor in the terminal, the method further comprising:
determining a first included angle between a plane where a display screen of the terminal is located and the ground horizontal plane through the angle sensor;
determining a second included angle between the light source and the terminal according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and the preset function relation;
establishing a light sensation model according to the first included angle, the second included angle and the actual brightness of the light source; the light sensation model is used for determining the actual light emitting brightness of the light source according to the position of the light source.
5. The method of claim 1, wherein a third optical sensor is included in the terminal, the third optical sensor being proximate to a back housing of the terminal, a field angle of the third optical sensor being directed toward the back housing of the terminal;
the method further comprises the following steps:
acquiring the ambient light brightness of ambient light outside the light source detected by the third optical sensor;
the determining the actual light-emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor comprises:
and if the ambient light brightness is smaller than a preset brightness threshold, determining the actual light emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor.
6. The method of claim 1, wherein the light source comprises: a point light source or a line light source.
7. A screen brightness adjusting apparatus applied to a terminal including a display screen, the terminal including a plurality of optical sensors therein, the apparatus comprising:
a first determination module configured to determine actual light emission luminance of the light source according to the luminance value of the light source detected by each of the optical sensors;
and the adjusting module is configured to adjust the display brightness of the display screen according to the actual light emitting brightness.
8. The apparatus of claim 7,
the first determining module is further configured to determine the actual light emitting brightness of the light source according to the brightness value detected by each optical sensor, the preset position relation among the optical sensors and a preset functional relation; the preset functional relationship represents a mapping relationship between an included angle between the light source and the terminal, actual light emitting brightness of the light source and a brightness value collected by the optical sensor.
9. The apparatus of claim 8, further comprising an angle sensor in the terminal, the apparatus further comprising:
the second determining module is configured to determine a first included angle between a plane where a display screen of the terminal is located and the ground horizontal plane through the angle sensor;
a third determining module configured to determine a second included angle between the light source and the terminal according to the brightness value detected by each optical sensor, a predetermined position relation among the optical sensors, and a preset functional relation;
the modeling module is configured to establish a light sensation model according to the first included angle, the second included angle and the actual light emitting brightness of the light source; the light sensation model is used for determining the actual light emitting brightness of the light source according to the position of the light source.
10. The apparatus of claim 7, wherein a third optical sensor is included in the terminal, the third optical sensor being proximate to a back housing of the terminal, a field angle of the third optical sensor being oriented toward the back housing of the terminal;
the device further comprises:
an acquisition module configured to acquire an ambient light brightness of ambient light other than the light source detected by the third optical sensor;
the first determining module is further configured to determine actual light emitting brightness of the light source according to the brightness value of the light source detected by each optical sensor if the ambient light brightness is smaller than a preset brightness threshold.
11. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the screen brightness adjustment method of any one of claims 1 to 6.
12. A non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform the screen brightness adjustment method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094989.3A CN115831076A (en) | 2021-09-17 | 2021-09-17 | Screen brightness adjusting method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111094989.3A CN115831076A (en) | 2021-09-17 | 2021-09-17 | Screen brightness adjusting method and device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115831076A true CN115831076A (en) | 2023-03-21 |
Family
ID=85515321
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111094989.3A Pending CN115831076A (en) | 2021-09-17 | 2021-09-17 | Screen brightness adjusting method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115831076A (en) |
-
2021
- 2021-09-17 CN CN202111094989.3A patent/CN115831076A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101861093B1 (en) | Method and apparatus for setting brightness of screen | |
CN110796988B (en) | Backlight adjusting method and device | |
US11698297B2 (en) | Methods and devices for detecting ambient light based on different states of flexible screen, and storage medium | |
US20210264876A1 (en) | Brightness adjustment method and device, mobile terminal and storage medium | |
CN111901459A (en) | Color temperature adjusting method, device, terminal and storage medium | |
US10930217B2 (en) | Method and apparatus for compensating operating parameter of display circuit | |
CN108847199B (en) | Brightness determination method and device | |
CN112951162B (en) | Display screen and control method and device thereof | |
CN113241044B (en) | Screen brightness adjusting method, device, equipment and storage medium | |
EP3975548B1 (en) | Photographing method and apparatus, terminal, and storage medium | |
CN111277754B (en) | Mobile terminal shooting method and device | |
CN115831076A (en) | Screen brightness adjusting method and device, terminal and storage medium | |
CN112689047B (en) | Display control method and device and electronic equipment | |
CN111243506B (en) | Screen brightness adjusting method, device, equipment and storage medium | |
CN115145662A (en) | Screen display brightness adjusting method and device and storage medium | |
CN112087539A (en) | Screen light adjusting method for terminal equipment and terminal equipment | |
CN111314550A (en) | Display control method and device, mobile terminal and storage medium | |
CN114187874A (en) | Brightness adjusting method and device and storage medium | |
CN112653806B (en) | Camera module, image processing method and device and electronic equipment | |
CN111383568A (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN115129281A (en) | Method and device for adjusting backlight brightness, electronic equipment and storage medium | |
CN114359983A (en) | Fingerprint acquisition calibration method and device, terminal equipment and medium | |
CN115150541A (en) | Image acquisition method, device, equipment and storage medium | |
CN115223507A (en) | Screen backlight adjusting method and device and storage medium | |
CN116204252A (en) | Screen display method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |