CN111564145B - Backlight brightness adjusting method and device, terminal equipment and storage medium - Google Patents
Backlight brightness adjusting method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN111564145B CN111564145B CN202010488791.2A CN202010488791A CN111564145B CN 111564145 B CN111564145 B CN 111564145B CN 202010488791 A CN202010488791 A CN 202010488791A CN 111564145 B CN111564145 B CN 111564145B
- Authority
- CN
- China
- Prior art keywords
- light intensity
- intensity information
- information
- determining
- terminal equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The application relates to the technical field of backlight adjustment, and provides a backlight brightness adjusting method, a backlight brightness adjusting device, terminal equipment and a storage medium. The method comprises the following steps: when light intensity information of terminal equipment is acquired, determining corresponding position information and distance information of the terminal equipment; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. By adopting the method, even if the terminal equipment is in a backlight condition or is shielded, the current environment can be accurately adapted.
Description
Technical Field
The present application relates to the field of backlight adjustment technologies, and in particular, to a method and an apparatus for adjusting backlight brightness, a terminal device, and a storage medium.
Background
With the increasing popularity of electronic products, intelligent terminals such as mobile phones, PCs, tablets, smart televisions, smart speakers, and the like have entered thousands of households.
At present, the intelligent terminal detects the ambient light through the ambient light detection sensor, but such a detection mode is only to detect the light intensity of the light receiving hole of the intelligent terminal on one side, so as to determine the ambient light corresponding to the intelligent terminal. If the light receiving hole of the intelligent terminal is shielded and the direction of the light receiving hole is back to the light source, the light intensity detected by the ambient light detection sensor is inconsistent with the actual light intensity. Therefore, the backlight brightness setting of the intelligent terminal cannot be accurately adapted to the current environment.
Disclosure of Invention
In view of the above, it is necessary to provide a backlight brightness adjustment method, device, terminal device and storage medium capable of accurately adapting to the current environment even if the terminal device is in backlight or is shielded.
The embodiment of the application provides a backlight brightness adjusting method, which comprises the following steps:
when light intensity information of terminal equipment is acquired, determining corresponding position information and distance information of the terminal equipment;
determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information;
and adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
In one embodiment, the step of determining target light intensity information of the terminal device according to the light intensity information, the position information and the distance information includes:
determining whether the terminal equipment is in backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information;
and determining the target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
In one embodiment, the step of determining the reference light intensity information of the terminal device based on the light intensity information includes:
acquiring a plurality of groups of light intensity information;
and determining reference light intensity information of the terminal equipment according to the plurality of groups of light intensity information.
In one embodiment, the step of determining the target light intensity information based on a result of determining whether the backlight is present, the reference light intensity information, and a result of determining whether the obstacle is present includes:
and if the terminal equipment is not backlighted and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
In one embodiment, the step of determining the target light intensity information based on a result of determining whether the backlight is present, the reference light intensity information, and a result of determining whether the obstacle is present includes:
and if the terminal equipment is in backlight and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information according to the reference light intensity information and the distance information.
In one embodiment, the step of determining the target light intensity information based on the reference light intensity information and the distance information includes:
determining compensated light intensity information according to the light intensity information and the position information;
if the light intensity corresponding to the compensation light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or the like, or, alternatively,
and if the light intensity corresponding to the compensation light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensation light intensity information.
In one embodiment, the step of determining the target light intensity information based on a result of determining whether the backlight is present, the reference light intensity information, and a result of determining whether the obstacle is present includes:
and if an obstacle exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
The embodiment of the application provides a backlight brightness adjusting device, the device includes:
the information acquisition module is used for determining the position information and the distance information corresponding to the terminal equipment when the light intensity information of the terminal equipment is acquired;
the light intensity information determining module is used for determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information;
and the backlight adjusting module is used for adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
The embodiment of the invention provides terminal equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the backlight brightness adjusting method provided by any embodiment of the application when executing.
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the backlight brightness adjustment method provided in any embodiment of the present application.
According to the backlight brightness adjusting method provided by the embodiment of the application, when the light intensity information of the terminal equipment is obtained, the position information and the distance information corresponding to the terminal equipment are determined; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. The problem of prior art's intelligent terminal luminance setting in a poor light can't be according to the accurate adaptation of actual conditions is solved to realize being in a poor light or under the condition of sheltering from at terminal equipment, guaranteed that terminal equipment luminance in a poor light normally sets up.
Drawings
FIG. 1 is a flow chart illustrating a backlight brightness adjusting method according to an embodiment;
FIG. 2 is a flowchart illustrating a backlight brightness adjusting method according to another embodiment;
FIG. 3 is a flowchart illustrating a backlight brightness adjusting method according to yet another embodiment;
FIG. 4 is a flowchart illustrating a backlight brightness adjusting method according to another embodiment;
FIG. 5 is a flowchart illustrating a backlight brightness adjusting method according to a next embodiment;
FIG. 6 is a block diagram of a backlight brightness adjusting apparatus according to an embodiment;
fig. 7 is a schematic diagram of an internal structure of a terminal device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, a backlight brightness adjustment method is provided, and this embodiment is exemplified by applying the method to a terminal device, and it is to be understood that the method may be applied to a server, and may also be applied to a system including the terminal device and the server, and is implemented by interaction between the terminal device and the server. In this embodiment, the method includes the steps of:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
The light intensity information of the terminal device can be obtained by detecting the ambient light through the light receiving hole of the terminal device, specifically, the current ambient light of the terminal device is detected by using the existing ambient light sensor.
The terminal device can be an intelligent terminal device such as a smart phone, a smart watch, a tablet or a computer, and electronic devices capable of adjusting backlight brightness in the prior art are all suitable for the embodiment of the invention, and are not described in detail herein.
Specifically, when the terminal device detects the ambient light at the light receiving hole through the ambient light sensor provided by the terminal device to obtain the light intensity information corresponding to the current ambient light, the position information and the distance information of the current terminal device are determined at the same time.
The position information of the terminal equipment can be obtained through an acceleration sensor arranged in the terminal equipment, the position information can be used for determining the posture of the current terminal equipment, and the posture of the current terminal equipment determines whether the current terminal equipment is in a backlight condition or a light source approaching condition; the location information may also indicate the current terminal device angle to the horizontal. For example, the acceleration sensor may detect a vector of the terminal device in each of the x, y, and z axes, and further calculate an angle formed by the terminal device when the terminal device is facing upward and the horizontal plane.
The distance information of the terminal equipment can be obtained through a distance sensor arranged in the terminal equipment, and the distance information can be used for determining whether an obstacle exists in front of a light receiving hole where the current terminal equipment is located. As is known in the art, the light receiving hole is generally disposed on the front side of the terminal device, that is, on the same plane with the screen of the terminal device, so as to accurately obtain the current ambient light and adjust the screen brightness of the terminal device in time. In the scheme, in order to avoid the defect that the screen brightness is adjusted only according to the ambient light detected by the current light receiving hole without considering whether the current actual situation needs to adjust the screen brightness, the distance sensor is added, and if the distance sensor detects that the obstacle exists on the front face of the terminal device, the backlight brightness of the terminal device is not adjusted.
It can be understood that before the terminal device acquires the light intensity information, the method further includes: and calibrating the light sensation to eliminate the influence of the light receiving hole structure of the terminal equipment on the light sensation. Illustratively, the light receiving hole structure of the terminal equipment can be calibrated by light sensation under a D651000Lux light source.
And step 120, determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information.
And the target light intensity information is the light intensity corresponding to the backlight brightness determined according to the actual use condition of the current terminal equipment.
Specifically, whether the terminal device is backlight is determined based on the position information, reference light intensity information of the terminal device is determined based on the light intensity information, and whether an obstacle exists in front of a light receiving hole of the terminal device is determined based on the distance information; and determining target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
Wherein, the reference light intensity information of the terminal device is determined based on the light intensity information, including: acquiring a plurality of groups of light intensity information; and determining the reference light intensity information of the terminal equipment according to the multiple sets of light intensity information.
Specifically, a plurality of groups of light intensity information are collected through the terminal device, and an average value of light intensities corresponding to the plurality of groups of light intensity information is calculated to serve as reference light intensity information of the terminal device.
Further, if the terminal device is not backlighted and no obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined to be the reference light intensity information. And if the terminal equipment is in backlight and no barrier exists in front of the light receiving hole of the terminal equipment, determining target light intensity information according to the reference light intensity information and the distance information.
Further, determining the target light intensity information based on the reference light intensity information and the distance information includes: determining compensated light intensity information according to the light intensity information and the position information; if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or, if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
It should be noted that, in the present application, if an obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined as the reference light intensity information, that is, the position and the current light intensity information of the terminal device are not considered any more, and further, it can be understood that, when the screen of the terminal device is placed downward on the desktop, that is, the current situation is generally that the user is not using the terminal device, the current situation of the terminal device can be fed back to the controller of the terminal device to control the terminal device to rapidly enter the sleep mode, so that the power consumption of the terminal device is reduced.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
The backlight brightness of the terminal device can be determined according to the light intensity information of the currently detected ambient light, and it can be understood that after the terminal device starts the automatic backlight brightness adjusting function, the terminal device can automatically adjust the screen backlight brightness according to the detected current ambient light.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information; and when the target light intensity information is determined to be the compensation light intensity information, adjusting the backlight brightness of the terminal equipment according to the compensation light intensity information.
In the backlight brightness adjusting method, when the light intensity information of the terminal equipment is obtained, the position information and the distance information corresponding to the terminal equipment are determined; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. The problem of prior art's intelligent terminal luminance setting in a poor light can't be according to the accurate adaptation of actual conditions is solved to even realize being in a poor light or under the condition of sheltering from at terminal equipment, also can accurate adaptation current environment.
In one embodiment, as shown in fig. 2, a backlight brightness adjusting method is provided, and the embodiment is optimized based on the above embodiment.
Correspondingly, the method of the embodiment specifically includes:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
For example, in this embodiment, the terminal device may be assisted by establishing a virtual light sensor in the terminal device, and the virtual light sensor is used to couple the ambient light sensor, the acceleration sensor and the distance sensor, so as to obtain the position information corresponding to the terminal device through the acceleration sensor and obtain the distance information corresponding to the terminal device through the distance sensor when the ambient light sensor detects the light intensity information.
And step 121, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information.
Specifically, the virtual light sensation sensor acquires position information through the acceleration sensor, and the posture of the terminal device is judged according to the position information so as to further determine whether the terminal device is in backlight. For example, the acceleration sensor may detect directions of x, y, and z axes of the terminal device, so as to calculate an angle of the terminal device facing downward, and the degree of backlight of the terminal device may be compared with the angle, so as to determine a degree of compensation for the ambient light sensor, where the degree of compensation for the ambient light sensor is a dynamic compensation light intensity corresponding to the terminal device in a process from an upright state to a screen-down state.
The virtual light sensation sensor acquires the distance information through the distance sensor, whether an obstacle exists on the front face of the terminal equipment is judged according to the distance information, and when the obstacle exists on the front face of the terminal equipment, the target light intensity information of the terminal equipment is determined to be reference light intensity information.
Further, determining reference light intensity information of the terminal device based on the light intensity information includes: acquiring a plurality of groups of light intensity information; and determining the reference light intensity information of the terminal equipment according to the multiple sets of light intensity information.
Specifically, when the light intensity information of the terminal device is acquired, the virtual light sensor collects multiple groups of light intensity information, and the reference light intensity information is obtained by averaging the light intensities corresponding to the multiple groups of light intensity information.
It can be understood that when the virtual light sensation sensor determines that the front side of the screen of the terminal device has an obstacle through the distance sensor, the reference light intensity information is directly used as the current target light intensity information, that is, the backlight brightness of the terminal device is adjusted according to the reference light intensity information.
And step 122, determining target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
Specifically, if the terminal device is not backlighted and no barrier exists in front of a light receiving hole of the terminal device, determining the target light intensity information as reference light intensity information; if the terminal equipment is in backlight and no barrier exists in front of a light receiving hole of the terminal equipment, determining compensation light intensity information according to the light intensity information and the position information; if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or, if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information; and when the target light intensity information is determined to be the compensation light intensity information, adjusting the backlight brightness of the terminal equipment according to the compensation light intensity information.
According to the backlight brightness adjusting method, after the terminal device is used for starting the virtual light sensation sensor, the distance sensor, the acceleration sensor and the ambient light sensor are monitored, the attitude information of the terminal device is determined through the acceleration sensor, whether an obstacle blocks the terminal device is judged through the distance sensor, the light intensity detected by the ambient light sensor is determined and compensated according to the light intensity information of the current terminal device, and therefore the backlight brightness of the terminal device is automatically and flexibly controlled according to different environments of the terminal device.
In an embodiment, as shown in fig. 3, a method for adjusting backlight brightness is provided, and accordingly, the steps of this embodiment specifically include:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
And step 121, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information.
And 1221, if the terminal equipment is not backlit and no obstacle exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as reference light intensity information.
It can be understood that if the terminal device is not backlit, it may indicate that the front side of the terminal device is close to the light source at this time, and it is determined that no obstacle exists in front of the light receiving hole of the terminal device, that is, the reference light intensity information of the terminal device determined according to the light intensity information may be used as the target light intensity information.
It should be noted that, if an obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined as the reference light intensity information.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information.
In the backlight brightness adjusting method, when the terminal equipment is determined to be used close to the light source at the moment, the reference light intensity information is used as the backlight brightness adjusting basis of the current terminal equipment, so that the normal display of the screen brightness of the terminal equipment is ensured.
In an embodiment, as shown in fig. 4, a method for adjusting backlight brightness is provided, and accordingly, the steps of this embodiment specifically include:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
And step 121, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information.
And 1222, if the terminal device is in backlight and no obstacle exists in front of the light receiving hole of the terminal device, determining the target light intensity information according to the reference light intensity information and the distance information.
On the basis of the above embodiment, determining the target light intensity information according to the reference light intensity information and the distance information includes: determining compensated light intensity information according to the light intensity information and the position information; if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or, if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
Specifically, under a calibration environment of a D651000Lux (Lux, lighting unit) light source, when a screen of the terminal device is upward and an angle formed by the screen and a horizontal plane is smaller than a preset angle threshold, optionally, the preset angle threshold is 30 degrees, a plurality of sets of light intensity information are sampled, and a plurality of angles of the terminal device are determined according to a plurality of sets of position information of the terminal device; calculating the standard light intensity of 1000Lux and the deviation light intensity of the light intensity corresponding to the multiple groups of light intensity information; analyzing the linear relation between a plurality of angles and the deviation light intensity, and determining a reasonable deviation light intensity and angle linear relation variance, wherein if the deviation light intensity is the angle A + B, A and B are obtained by the statistics of the plurality of groups of data; the light intensity corresponding to the compensation light intensity information is equal to the light intensity corresponding to the light intensity information plus the deviation light intensity. The D65 light source is the most commonly used artificial sunlight in standard light sources.
It should be noted that, if an obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined as the reference light intensity information.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information; and when the target light intensity information is determined to be the compensation light intensity information, adjusting the backlight brightness of the terminal equipment according to the compensation light intensity information.
In the backlight brightness adjusting method, the compensation light intensity information is determined by utilizing the light intensity information and the position information, and the target light intensity information is determined according to the compensation light intensity information and the reference light intensity information, so that the backlight brightness of the terminal equipment is accurately adapted to the backlight environment.
In one embodiment, as shown in fig. 5, a backlight brightness adjustment method is provided. On the basis of the above-described embodiments, a specific example of an embodiment is provided. The specific steps of the implementation comprise:
and step 510, the intelligent terminal equipment starts an automatic backlight brightness adjusting function.
And step 520, calibrating the light sensation of the light receiving hole structure of the terminal equipment.
And step 530, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
And 540, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information, executing 560 if the terminal equipment is backlight or the obstacle exists in the light receiving hole of the terminal equipment, and executing 550 if the terminal equipment is not backlight or the obstacle exists in the light receiving hole of the terminal equipment.
And step 550, if the terminal device is not backlighted and no obstacle exists in front of the light receiving hole of the terminal device, determining the target light intensity information as reference light intensity information.
And step 560, if the terminal equipment is in backlight or an obstacle exists in front of a light receiving hole of the terminal equipment, determining the compensated light intensity information according to the light intensity information and the position information.
Step 570, determining whether the compensated light intensity information is lower than the reference light intensity information, if yes, performing step 580, and if not, performing step 590.
And 580, determining the target light intensity information as reference light intensity information, and adjusting the backlight brightness of the terminal device according to the reference light intensity information.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, a block diagram of a backlight brightness adjusting apparatus is provided, including: an information obtaining module 610, a light intensity information determining module 620 and a backlight adjusting module 630, wherein:
the information acquisition module 610 is configured to determine position information and distance information corresponding to the terminal device when the light intensity information of the terminal device is acquired;
a light intensity information determining module 620, configured to determine target light intensity information of the terminal device according to the light intensity information, the position information, and the distance information;
and the backlight adjusting module 630 is configured to adjust the backlight brightness of the terminal device according to the target light intensity information.
The backlight brightness adjusting device of the embodiment determines the position information and the distance information corresponding to the terminal device when the light intensity information of the terminal device is acquired; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. The problem of prior art's intelligent terminal luminance setting in a poor way according to actual conditions accurate control, user experience sense is relatively poor is solved to even realize that terminal equipment is in a poor light or under the condition of being sheltered from, also can accurate adaptation current environment.
On the basis of the above embodiments, determining the target light intensity information of the terminal device according to the light intensity information, the position information, and the distance information includes:
determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information;
and determining target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
On the basis of the above embodiments, determining the reference light intensity information of the terminal device based on the light intensity information includes:
acquiring a plurality of groups of light intensity information;
and determining the reference light intensity information of the terminal equipment according to the multiple sets of light intensity information.
On the basis of the above embodiments, determining target light intensity information according to a result of determining whether a backlight is present, reference light intensity information, and a result of determining whether an obstacle is present includes:
and if the terminal equipment is not backlighted and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
On the basis of the above embodiments, determining target light intensity information according to a result of determining whether a backlight is present, reference light intensity information, and a result of determining whether an obstacle is present includes:
and if the terminal equipment is in backlight and no barrier exists in front of the light receiving hole of the terminal equipment, determining target light intensity information according to the reference light intensity information and the distance information.
On the basis of the above embodiments, determining the target light intensity information according to the reference light intensity information and the distance information includes:
determining compensated light intensity information according to the light intensity information and the position information;
if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or the like, or, alternatively,
and if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
On the basis of the above embodiments, determining target light intensity information according to a result of determining whether a backlight is present, reference light intensity information, and a result of determining whether an obstacle is present includes:
and if the front of the light receiving hole of the terminal equipment is provided with the obstacle, determining the target light intensity information as the reference light intensity information.
For the specific definition of the backlight brightness adjusting device, reference may be made to the above definition of the backlight brightness adjusting method, which is not described herein again. The modules in the backlight brightness adjusting device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a terminal device is provided, the internal structure of which may be as shown in fig. 7. The terminal equipment comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal device is configured to provide computing and control capabilities. The memory of the terminal equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal device is used for performing wired or wireless Communication with an external terminal, and the wireless Communication can be realized through WIFI, an operator network, Near Field Communication (NFC for short) or other technologies. The computer program is executed by a processor to implement the backlight brightness adjusting method provided by any one of the above embodiments. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the terminal equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structure shown in fig. 7 is a block diagram of only a portion of the structure relevant to the present disclosure, and does not constitute a limitation on the terminal device to which the present disclosure applies, and that a particular terminal device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
In one embodiment, the backlight brightness adjusting apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on a terminal device as shown in fig. 7. The memory of the terminal device may store various program modules constituting the backlight brightness adjusting apparatus, such as the information obtaining module 610, the light intensity information determining module 620, and the backlight adjusting module 630 shown in fig. 6. The computer program constituted by the respective program modules causes the processor to execute the steps in the backlight luminance adjusting method of the embodiments of the present application described in the present specification.
For example, the terminal device shown in fig. 7 may perform the steps by the information determining module 610 in the backlight brightness adjusting apparatus shown in fig. 6, when the light intensity information of the terminal device is acquired, the position information and the distance information corresponding to the terminal device are determined. The terminal device may perform the step of determining target light intensity information of the terminal device according to the light intensity information, the position information, and the distance information through the light intensity information determining module 620. The terminal device may perform the step of adjusting the backlight brightness of the terminal device according to the target light intensity information through the backlight adjusting module 630.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (7)
1. A backlight brightness adjusting method is characterized by comprising the following steps:
when light intensity information of terminal equipment is acquired, determining corresponding position information and distance information of the terminal equipment;
determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information;
adjusting the backlight brightness of the terminal equipment according to the target light intensity information;
wherein determining the target light intensity information of the terminal device according to the light intensity information, the position information and the distance information comprises:
determining whether the terminal equipment is in backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information;
determining compensated light intensity information according to the light intensity information and the position information;
if the light intensity corresponding to the compensation light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or the like, or, alternatively,
and if the light intensity corresponding to the compensation light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensation light intensity information.
2. The method of claim 1, wherein determining the reference light intensity information of the terminal device based on the light intensity information comprises:
acquiring a plurality of groups of light intensity information;
and determining reference light intensity information of the terminal equipment according to the plurality of groups of light intensity information.
3. The method according to claim 1, wherein determining the target light intensity information based on a result of determining whether a backlight is present, the reference light intensity information, and a result of determining whether an obstacle is present comprises:
and if the terminal equipment is not backlighted and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
4. The method according to claim 1, wherein determining the target light intensity information based on a result of determining whether a backlight is present, the reference light intensity information, and a result of determining whether an obstacle is present comprises:
and if an obstacle exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
5. A backlight luminance adjusting apparatus, comprising:
the information acquisition module is used for determining the position information and the distance information corresponding to the terminal equipment when the light intensity information of the terminal equipment is acquired;
the light intensity information determining module is used for determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information;
the backlight adjusting module is used for adjusting the backlight brightness of the terminal equipment according to the target light intensity information;
the light intensity information determining module is specifically configured to determine whether the terminal device is backlighted based on the position information, determine reference light intensity information of the terminal device based on the light intensity information, and determine whether an obstacle exists in front of a light receiving hole of the terminal device based on the distance information;
determining compensated light intensity information according to the light intensity information and the position information;
if the light intensity corresponding to the compensation light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or the like, or, alternatively,
and if the light intensity corresponding to the compensation light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensation light intensity information.
6. A terminal device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010488791.2A CN111564145B (en) | 2020-06-02 | 2020-06-02 | Backlight brightness adjusting method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010488791.2A CN111564145B (en) | 2020-06-02 | 2020-06-02 | Backlight brightness adjusting method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111564145A CN111564145A (en) | 2020-08-21 |
CN111564145B true CN111564145B (en) | 2021-10-26 |
Family
ID=72072564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010488791.2A Active CN111564145B (en) | 2020-06-02 | 2020-06-02 | Backlight brightness adjusting method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111564145B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112530384B (en) * | 2020-12-02 | 2022-07-08 | 惠州Tcl移动通信有限公司 | Display brightness adjusting method and device and electronic equipment |
CN114283753B (en) * | 2022-01-04 | 2023-01-20 | 海信视像科技股份有限公司 | Display device and control method of screen backlight brightness |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104700816A (en) * | 2015-01-08 | 2015-06-10 | 小米科技有限责任公司 | Method and device for setting screen brightness |
CN106097984A (en) * | 2016-08-15 | 2016-11-09 | 广东欧珀移动通信有限公司 | The method of proximity transducer, device and mobile terminal is opened in backlight adjusts |
CN107247520A (en) * | 2017-05-18 | 2017-10-13 | 联想(北京)有限公司 | A kind of control method, electronic equipment and computer-readable recording medium |
CN109413279A (en) * | 2018-11-30 | 2019-03-01 | 努比亚技术有限公司 | Screen luminance adjustment method, device, mobile terminal and readable storage medium storing program for executing |
CN109462703A (en) * | 2018-12-30 | 2019-03-12 | 努比亚技术有限公司 | Screen luminance adjustment method, storage medium and mobile terminal |
CN109599066A (en) * | 2018-11-21 | 2019-04-09 | 上海闻泰电子科技有限公司 | Screen backlight regulating device and electronic equipment |
CN110619855A (en) * | 2019-09-30 | 2019-12-27 | 京东方科技集团股份有限公司 | Display device and driving method thereof |
-
2020
- 2020-06-02 CN CN202010488791.2A patent/CN111564145B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104700816A (en) * | 2015-01-08 | 2015-06-10 | 小米科技有限责任公司 | Method and device for setting screen brightness |
CN106097984A (en) * | 2016-08-15 | 2016-11-09 | 广东欧珀移动通信有限公司 | The method of proximity transducer, device and mobile terminal is opened in backlight adjusts |
CN107247520A (en) * | 2017-05-18 | 2017-10-13 | 联想(北京)有限公司 | A kind of control method, electronic equipment and computer-readable recording medium |
CN109599066A (en) * | 2018-11-21 | 2019-04-09 | 上海闻泰电子科技有限公司 | Screen backlight regulating device and electronic equipment |
CN109413279A (en) * | 2018-11-30 | 2019-03-01 | 努比亚技术有限公司 | Screen luminance adjustment method, device, mobile terminal and readable storage medium storing program for executing |
CN109462703A (en) * | 2018-12-30 | 2019-03-12 | 努比亚技术有限公司 | Screen luminance adjustment method, storage medium and mobile terminal |
CN110619855A (en) * | 2019-09-30 | 2019-12-27 | 京东方科技集团股份有限公司 | Display device and driving method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN111564145A (en) | 2020-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11574611B2 (en) | Electronic device and method for controlling the same | |
US20220244814A1 (en) | Method for displaying multiple application windows by mobile terminal, and mobile terminal | |
CN107945769B (en) | Ambient light intensity detection method and device, storage medium and electronic equipment | |
EP3435199B1 (en) | Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen | |
KR102474460B1 (en) | electronic device and method for controlling of operation the same | |
CN111564145B (en) | Backlight brightness adjusting method and device, terminal equipment and storage medium | |
US11004369B2 (en) | Screen flickering processing method and device, storage medium and electronic | |
KR20200093916A (en) | Electronic device which mounted luminance sensor at a back side of a display and method for measureing luminanace using the luminance sensor | |
KR20210100859A (en) | Method and apparatus for controlling brightness of display in electronic device | |
US20160335940A1 (en) | Method for processing display data and electronic device for supporting the same | |
CN110674490B (en) | Application permission display method and device and mobile terminal | |
US20150046505A1 (en) | Information processing method and electronic device | |
KR102161446B1 (en) | Electronic device including a touch-based user interface | |
KR20200063506A (en) | Deterioration compensating method based on execution screen of application and electronic device realizing the method | |
CN105487893A (en) | Display method of mobile terminal interface mask and mobile terminal | |
US11422666B2 (en) | Electronic device including touch sensor IC and operation method thereof | |
KR20200040597A (en) | Electronic device and method for determining touch input conditions based on type of touch input | |
CN106097984A (en) | The method of proximity transducer, device and mobile terminal is opened in backlight adjusts | |
KR20190088159A (en) | Electronic device for controlling the degree to which a fringerprint sensor is visually recognized | |
CN113553261B (en) | Software automated testing method, device and computer readable storage medium | |
WO2022078027A1 (en) | Information display method and apparatus, electronic device, and computer readable storage medium | |
CN109257506B (en) | Method for adjusting screen brightness, mobile terminal and storage medium | |
US20210389839A1 (en) | Electronic device including touch circuit and operating method therefor | |
CN114089860A (en) | Pressure-sensitive control method and device for electronic device, and medium | |
CN110660087A (en) | Light sensation correction method and device, electronic equipment and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211215 Address after: 710086 Building 1, fengdongwangcheng, Fengdong new town, Xi'an City, Shaanxi Province Patentee after: Xi'an Wentai Information Technology Co.,Ltd. Address before: 10 / F, Zhongqing building, No.42, Gaoxin 6th Road, hi tech Zone, Xi'an City, Shaanxi Province Patentee before: XI'AN WINGTECH ELECTRONIC TECHNOLOGY Co.,Ltd. |