CN115223507A - Screen backlight adjusting method and device and storage medium - Google Patents

Screen backlight adjusting method and device and storage medium Download PDF

Info

Publication number
CN115223507A
CN115223507A CN202110406304.8A CN202110406304A CN115223507A CN 115223507 A CN115223507 A CN 115223507A CN 202110406304 A CN202110406304 A CN 202110406304A CN 115223507 A CN115223507 A CN 115223507A
Authority
CN
China
Prior art keywords
mobile terminal
posture
light
screen backlight
module
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
Application number
CN202110406304.8A
Other languages
Chinese (zh)
Inventor
李金龙
房美琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110406304.8A priority Critical patent/CN115223507A/en
Publication of CN115223507A publication Critical patent/CN115223507A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/34Control 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/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/34Control 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/3406Control of illumination source
    • G09G3/3413Details of control of colour illumination sources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure relates to a screen backlight adjusting method, apparatus and storage medium; the screen backlight adjusting method comprises the following steps: when the change that the light intensity meets the screen backlight adjustment is detected, whether the mobile terminal has displacement exceeding a preset distance range and whether the mobile terminal has posture change or not is determined within a preset duration range at the moment when the light intensity changes; and if the mobile terminal does not displace beyond the preset distance range and changes in posture, maintaining the screen backlight brightness of the mobile terminal. Therefore, when the backlight needs to be automatically adjusted based on the detected light intensity change, whether the light change is caused by movement or posture change of the mobile terminal is determined, and if the light change is caused by posture change, the screen backlight brightness is maintained, so that the condition of inaccurate adjustment caused by the change of the posture, which causes the view field of the light sensor to change, can be reduced.

Description

Screen backlight adjusting method and device and storage medium
Technical Field
The present disclosure relates to the field of touch screen technologies, and in particular, to a method and an apparatus for adjusting screen backlight, and a storage medium.
Background
The automatic backlight adjusting capability of the intelligent electronic equipment is always the direction of the improvement of the mobile phone manufacturers, and the automatic backlight adjusting capability is slightly problematic, so that poor use experience can be brought to users, and even the problems of machine quitting and the like can be caused. However, due to the limitation of the field of view (FOV) of the optical sensor, the optical sensor cannot sense the exact condition of the light source, so that when the screen backlight brightness is automatically adjusted based on the light collected by the optical sensor during actual use, the problems of too bright or too dark screen and the like can be caused, and the user experience is greatly influenced.
Disclosure of Invention
The disclosure provides a screen backlight adjusting method, a screen backlight adjusting device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen backlight adjusting method applied to a mobile terminal, including:
when the change that the light intensity meets the screen backlight adjustment is detected, whether the mobile terminal has displacement exceeding a preset distance range and whether the mobile terminal has posture change or not is determined within a preset duration range at the moment when the light intensity changes;
and if the mobile terminal does not displace beyond the preset distance range and changes in posture, maintaining the screen backlight brightness of the mobile terminal.
Optionally, the method further comprises:
and if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal.
Optionally, if the mobile terminal is displaced beyond a preset distance range, adjusting the screen backlight brightness of the mobile terminal includes:
if the mobile terminal generates displacement exceeding a preset distance range, determining the moving direction of the mobile terminal relative to a light source;
and adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset time range.
Optionally, the adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected within the preset time length range includes:
and when the gesture information represents that the gesture of the mobile terminal does not change, adjusting the screen backlight brightness of the mobile terminal based on the light intensity change detected in the moving direction.
Optionally, the adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected within the preset time length range includes:
when the moving direction faces a light source and the posture information represents that the body of the mobile terminal is changed from the posture of a forward light source to the posture of a lateral light source, determining an adjustment parameter;
and based on the adjustment parameter, on the basis of the screen backlight brightness adjusted based on the detected light intensity change, improving the screen backlight brightness.
Optionally, the method further comprises:
determining weights corresponding to all light sensors on the mobile terminal under all postures;
if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal, including:
and if the mobile terminal generates displacement exceeding the preset distance range, adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor in each posture and the collected light sensation data.
Optionally, the determining the weight corresponding to each light sensor on the mobile terminal in each posture includes:
acquiring light sensation data acquired by each light sensor on the mobile terminal under each posture;
processing the light sensation data and the current target environment light intensity under each posture based on a preset target weight calculation model, and determining the weight corresponding to each light sensor on the mobile terminal; the preset target weight calculation model is obtained by training an initial neural network model according to light sensation data collected by each light sensor under each posture and the light intensity of a target environment.
Optionally, the determining whether the mobile terminal has a displacement exceeding a preset distance range within a preset duration range at the moment when the light intensity changes includes:
and determining whether the mobile terminal has displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on a step counting module and a positioning module in the mobile terminal.
Optionally, determining whether the mobile terminal has a displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on a step counting module and a positioning module in the mobile terminal includes:
when the step frequency parameters collected by the step counting module represent that the mobile terminal has displacement within the preset time length range, determining the distance parameters of the mobile terminal movement based on a positioning module;
and determining whether the mobile terminal generates displacement exceeding the preset distance range or not based on the distance parameter.
Optionally, the determining whether the mobile terminal has a posture change before and after the light intensity changes includes:
and determining whether the mobile terminal has the posture change within a preset time range at the moment when the light intensity changes based on the posture detection module in the mobile terminal.
Optionally, the gesture detection module includes: acceleration sensors and gyroscopes;
based on gesture detection module in the mobile terminal, whether the mobile terminal has gesture change or not in the preset duration range at the moment when the light intensity changes is determined to include:
detecting the acceleration of the mobile terminal within the preset duration range based on an acceleration sensor in the mobile terminal;
detecting the placement angle of the mobile terminal in the preset duration range based on a gyroscope in the mobile terminal;
and determining whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes based on the acceleration and the placing angle.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen backlight adjusting device applied to a mobile terminal, including:
the determining module is used for determining whether the mobile terminal has displacement exceeding a preset distance range and has posture change within a preset duration range at the moment when the light intensity changes when the light intensity is detected to have the change meeting the screen backlight adjustment;
the first type processing module is used for maintaining the screen backlight brightness of the mobile terminal if the mobile terminal does not generate displacement exceeding a preset distance range and generates posture change.
Optionally, the apparatus further comprises:
and the second type processing module is used for adjusting the screen backlight brightness of the mobile terminal if the mobile terminal generates displacement exceeding a preset distance range.
Optionally, the second type of processing module includes:
the direction determining module is used for determining the moving direction of the mobile terminal relative to the light source if the mobile terminal generates displacement exceeding a preset distance range;
and the brightness adjusting module is used for adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset duration range.
Optionally, the brightness adjusting module includes:
and the first brightness adjusting submodule is used for adjusting the screen backlight brightness of the mobile terminal based on the light intensity change detected in the moving direction when the gesture information represents that the mobile terminal does not have gesture change.
Optionally, the brightness adjusting module includes:
the parameter determining module is used for determining an adjusting parameter when the moving direction is facing to the light source and the posture information represents that the body of the mobile terminal is changed from the posture of the forward light source to the posture of the lateral light source;
and the second brightness adjusting submodule is used for improving the screen backlight brightness on the basis of the screen backlight brightness adjusted on the basis of the detected light intensity change on the basis of the adjusting parameter.
Optionally, the apparatus further comprises:
the weight determining module is used for determining the weight corresponding to each light sensor on the mobile terminal under each posture;
the second type of processing module comprises:
and the weight processing module is used for adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor in each posture and the acquired light sensation data if the mobile terminal generates displacement exceeding a preset distance range.
Optionally, the weight determining module includes:
the light sensation acquisition module is used for acquiring light sensation data acquired by each light sensor on the mobile terminal under each posture;
the weight determination submodule is used for processing the light sensation data and the current target environment light intensity under each posture based on a preset target weight calculation model and determining the weight corresponding to each light sensor on the mobile terminal; the preset target weight calculation model is obtained by training an initial neural network model according to light sensation data collected by each light sensor under each posture and the light intensity of a target environment.
Optionally, the determining module includes:
and the displacement determining module is used for determining whether the mobile terminal generates displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on the step counting module and the positioning module in the mobile terminal.
Optionally, the displacement determining module is further configured to:
when the step frequency parameters collected by the step counting module represent that the mobile terminal has displacement within the preset time length range, determining the distance parameters of the mobile terminal movement based on a positioning module;
and determining whether the mobile terminal generates displacement exceeding the preset distance range or not based on the distance parameter.
Optionally, the determining module includes:
and the gesture determining module is used for determining whether the mobile terminal has gesture change within a preset time range at the moment when the light intensity changes based on the gesture detection module in the mobile terminal.
Optionally, the gesture detection module includes: acceleration sensors and gyroscopes;
the attitude determination module is further configured to:
detecting the acceleration of the mobile terminal within the preset duration range based on an acceleration sensor in the mobile terminal;
detecting the placement angle of the mobile terminal in the preset duration range based on a gyroscope in the mobile terminal;
and determining whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes based on the acceleration and the placing angle.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen backlight adjusting device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the method of any of the above first aspects is implemented when executable instructions stored in the memory are executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the steps of the method provided by any one of the above-mentioned first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the screen backlight adjusting method provided by the embodiment of the disclosure, when the change that the light intensity meets the screen backlight adjustment is detected, whether the mobile terminal has displacement exceeding a preset distance range and whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes is determined; if the mobile terminal is not displaced beyond the preset distance range, but the posture change occurs, it indicates that the light intensity change is caused by the change of the posture of the mobile terminal (the brightness of the environment where the mobile terminal is located is not changed), at this time, adjusting the backlight based on the detected light intensity is not in accordance with the actual brightness requirement, and the current backlight brightness should be maintained. For example, the posture of the mobile terminal that the body faces the light source is changed into a body-side light source, so that the intensity of the detected light is relatively reduced under the limitation of the detection field of view of the light sensor, but actually, the brightness of the environment where the mobile terminal is located is not changed, so that the backlight brightness of the screen can be more matched with the environment brightness without adjusting the backlight brightness (maintaining the current backlight brightness), and the backlight adjustment is more accurate and more meets the actual requirement.
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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a first flowchart illustrating a screen backlight adjusting method according to an exemplary embodiment.
Fig. 2 is an application scenario of a screen backlight adjusting method according to an exemplary embodiment.
Fig. 3 is another application scenario of a screen backlight adjusting method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a screen backlight adjusting method according to an exemplary embodiment.
Fig. 5 is a diagram illustrating a screen backlight adjustment strategy applied to a mobile terminal according to an exemplary embodiment.
Fig. 6 is a schematic structural diagram illustrating a screen backlight adjusting apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a screen backlight adjusting apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same 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 disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a screen backlight adjusting method, and fig. 1 is a first flowchart of a screen backlight adjusting method according to an exemplary embodiment, as shown in fig. 1, the screen backlight adjusting method includes the following steps:
step 101, when detecting that the light intensity changes to meet the requirement of screen backlight adjustment, determining whether the mobile terminal has displacement exceeding a preset distance range and has posture change within a preset time range at the moment when the light intensity changes;
and 102, if the mobile terminal does not displace beyond a preset distance range and has posture change, maintaining the screen backlight brightness of the mobile terminal.
It should be noted that the screen backlight adjusting method may be applied to any mobile terminal, and the mobile terminal may be: a smart phone, a tablet computer, or a wearable electronic device, etc.
The mobile terminal comprises one or more light sensors, and the light sensors comprise: a front light sensor on the screen side and/or a rear light sensor on the back shell side. The mobile terminal may automatically adjust the backlight brightness of the screen based on the light intensity detected by the one or more light sensors.
The screen may be a liquid crystal display screen comprising: a liquid crystal display panel and a backlight assembly; the liquid crystal display panel is positioned above the backlight assembly and used for displaying information; the backlight assembly is used for emitting light for the liquid crystal display panel to display. The adjusting of the backlight brightness of the screen is adjusting the brightness of the backlight assembly in the screen.
Here, when the light sensor detects that the variation of the light intensity exceeds the preset brightness threshold, the automatic adjustment of the backlight brightness of the screen is triggered, and the automatic adjustment of the backlight brightness of the screen is not triggered due to slight light intensity variation in consideration of the adjusted power consumption and the user experience. The embodiment of the present disclosure is directed to a scene in which the light intensity satisfies the screen backlight adjustment.
When the change that the light intensity meets the screen backlight adjustment is detected, the automatic adjustment of the screen backlight brightness is triggered according to the previous adjustment rule, and in the embodiment of the disclosure, when the change that the light intensity meets the screen backlight adjustment is found, whether the mobile terminal has displacement exceeding the preset distance range and whether the mobile terminal has posture change is determined in the preset time range at the moment that the light intensity changes, and whether the automatic adjustment of the screen backlight brightness is triggered is considered after the determination result is obtained.
Here, the time when the light intensity changes is: the detection moment when the light intensity changes beyond a preset brightness threshold occurs. For example, when detecting the light intensity, the acquisition period is 30 seconds, and if the preset brightness threshold is 10 Lux, assuming that the light intensity is 80Lux at 8.
The preset time period range may be set as needed, and may be any value within 0 to 30S, for example.
Here, in the detection of the ambient brightness based on the light sensor, factors that cause a change in the intensity of light detected by the light sensor may be: the mobile terminal moves, for example, from a place with brighter ambient brightness to a place with darker ambient brightness. It is also possible that: the mobile terminal does not move, but the gesture of the mobile terminal changes, for example, if the light sensor is arranged at the back shell of the body, when the mobile terminal is positioned at the light source facing the light source at the previous acquisition moment, the light emitted by the light source is just completely acquired, and when the gesture of the mobile terminal changes, if the gesture changes, the light sensor is changed into a lateral light source of the body, and at the later acquisition moment, the light sensor is converted into other positions due to a view field, so that only a small part of light can be acquired, and the intensity of the detected light changes.
For the situation that the mobile terminal does not move but the posture of the mobile terminal changes, if the light variation quantity at the moment of front and back acquisition meets the screen backlight adjustment, the automatic adjustment of the screen backlight brightness is triggered according to the previous adjustment rule, and at the moment, because the mobile terminal does not move, the brightness perceived by human eyes is unchanged, and the adjustment of the screen backlight brightness is not beneficial to the use experience of a user. Therefore, in the embodiment of the present disclosure, when the mobile terminal is not moved but the posture of the mobile terminal is changed, the automatic adjustment of the screen backlight brightness is not triggered, but the screen backlight brightness is maintained, so as to meet the actual requirement.
It should be noted that, if the mobile terminal does not displace beyond the preset distance range but changes the posture, it is indicated that the light intensity change is caused by the change of the posture of the mobile terminal (the brightness of the environment where the mobile terminal is located is not changed), and the backlight brightness is not adjusted (the current backlight brightness is maintained) at this time, so that the actual requirement is met.
It should be noted that, some displacements with a small moving range do not affect the detection of the light intensity by the mobile terminal. In the embodiment of the present disclosure, determining whether the mobile terminal moves is implemented by determining whether the mobile terminal does not move beyond a preset distance range.
The preset distance range can be determined according to the relation between the brightness change and the displacement which can be sensed by human eyes; for example, the preset distance range may be greater than 2 meters and less than 5 meters, in particular: when the mobile terminal moves for 5 meters, human eyes can perceive brightness change, and the preset distance range is as follows: the position before movement is taken as the center, and 5 meters is taken as the range determined by the radius.
In some embodiments, the determining whether the mobile terminal has a displacement exceeding a preset distance range within a preset time range at the time when the light intensity changes may include:
and determining whether the mobile terminal has displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on a step counting module and a positioning module in the mobile terminal.
In the embodiment of the disclosure, the mobile terminal comprises a step counting module and a positioning module.
The meter step module includes: a pedometer. The pedometer is used for collecting moving step frequency parameters and/or moving duration parameters and the like. The step frequency parameter refers to the frequency of the movement, i.e. the number of steps per unit time. The duration parameter refers to the time difference from the movement start time to the movement end time.
The location module includes: the module corresponding to the indoor positioning system; wherein, indoor positioning system includes: an indoor positioning system built by Ultra Wide Band (UWB) technology or action hotspot (WIFI).
Here, when the step counting module collects the movement parameters, the mobile terminal is considered to move. However, considering that it is required to determine whether the mobile terminal has not displaced beyond the preset distance range, the step-counting module may make a misjudgment only, for example, the mobile terminal makes a turn in place, and in the embodiment of the present disclosure, the positioning module is further combined to comprehensively judge whether the mobile terminal has displaced beyond the preset distance range within the preset time range at the time when the light intensity changes.
In some embodiments, the determining, based on the step counting module and the positioning module in the mobile terminal, whether the mobile terminal has a displacement exceeding a preset distance range within a preset time range at the time when the light intensity changes includes:
when the step frequency parameters collected by the step counting module represent that the mobile terminal has displacement within the preset time length range, determining the distance parameters of the mobile terminal based on a positioning module;
and determining whether the mobile terminal generates displacement exceeding the preset distance range or not based on the distance parameter.
Here, when the step counting module collects the movement parameters, the mobile terminal is considered to be moved. In order to reduce the occurrence of misjudgment, in the embodiment of the present disclosure, the distance parameter of the mobile terminal is further determined based on a positioning module.
The distance parameters include: displacement parameters and positioning parameters. The displacement parameter may refer to a specific value of the displacement, and the positioning parameter may refer to a current position of the mobile terminal.
If the terminal is determined to have position change based on the positioning module and the specific value of the displacement is obtained, whether the mobile terminal has the displacement exceeding the preset distance range or not can be judged.
In some embodiments, the determining whether the gesture of the mobile terminal changes within the preset time range at the time when the light intensity changes includes:
and determining whether the mobile terminal has the posture change within a preset time range at the moment when the light intensity changes based on a posture detection module in the mobile terminal.
Here, the gesture of the mobile terminal refers to a current presentation form of the mobile terminal, and reflects a current placement gesture of the mobile terminal.
The gesture includes: standing, lying, or tilting. The attitude can be characterized by an included angle between the body of the mobile terminal and the ground. As a specific example, if the body of the mobile terminal forms an angle of 90 degrees with the ground, the body of the mobile terminal is perpendicular to the ground, and the posture may be considered as vertical.
The posture of the mobile terminal can be determined through the data collected by the posture detection module.
In some embodiments, the gesture detection module comprises: acceleration sensors and gyroscopes.
The acceleration sensor includes: a single axis acceleration sensor or a three axis acceleration sensor, etc.
In some embodiments, the determining, based on the gesture detection module in the mobile terminal, whether the mobile terminal has a gesture change within a preset time range at the time when the light intensity changes includes:
detecting the acceleration of the mobile terminal within the preset duration range based on an acceleration sensor in the mobile terminal;
detecting the placement angle of the mobile terminal in the preset duration range based on a gyroscope in the mobile terminal;
and determining whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes based on the acceleration and the placing angle.
Taking a three-axis acceleration sensor as an example, the determining the posture of the mobile terminal may be: the acceleration of the mobile terminal in three directions is collected based on the triaxial acceleration sensor, and the gyroscope can detect the placement angle of the body of the mobile terminal. The attitude switching condition of the mobile terminal can be obtained by combining the direction of the acceleration and the placement angle of the body. And then, based on the comparison of the postures detected in the preset duration range at the moment when the light intensity changes, whether the mobile terminal has the posture change can be determined.
It should be further noted that the embodiments of the present disclosure may be applied in an indoor environment, and may also be applied in an outdoor environment. In an indoor environment, the light source in the room is typically an overhead light source, such as a light source hung from the top of a house, or a house wall light source hung from a wall. In an outdoor environment, the light source may then be the sun.
In an outdoor environment, the sun is far away from the mobile terminal, so that the change of the posture of the mobile terminal has little influence on the change of the collected light intensity. Therefore, the screen backlight adjusting method in the embodiment of the present disclosure is more specific to an indoor environment, that is, in the indoor environment, when it is detected that the light intensity changes to meet the screen backlight adjustment, it is determined whether the mobile terminal has a displacement exceeding a preset distance range and whether the mobile terminal has a posture change within a preset time range at the time when the light intensity changes.
Fig. 2 and 3 are different application scenarios illustrating a screen backlight adjusting method according to an exemplary embodiment. As shown in fig. 2, in an indoor environment, the light source 202 is suspended at the top of the house, and the posture of the mobile phone 201 held by a person may change, because the field of view of the light sensor is small and limited, the intensity of light collected by the light sensor is different from the intensity of light perceived by a user in an actual environment, and therefore, it is necessary to determine whether the posture of the mobile phone 201 changes during backlight adjustment.
As shown in fig. 3, in an indoor environment, the position of a person changes during activity, and the position of the person from the light source 202 is different, so that the data received by the light sensor changes accordingly. Therefore, it is necessary to determine whether the change in the light collected by the light sensor is caused by a change in the position or the posture of the cellular phone 201.
In some embodiments, a flowchart of another screen backlight adjustment method is given based on the application scenario of fig. 3, specifically, fig. 4 is a flowchart of a screen backlight adjustment method shown according to an exemplary embodiment, and as shown in fig. 4, the method further includes:
and 103, if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal.
Here, since the ambient brightness may actually change when the mobile terminal is displaced beyond the preset distance range, in the embodiment of the present disclosure, when it is detected that the light intensity changes to meet the screen backlight adjustment, if it is further detected that the mobile terminal is displaced beyond the preset distance range, it is considered that the cause of the change in the light intensity to meet the screen backlight adjustment is caused by the displacement, and the displacement may be moved from a place with brighter ambient brightness to a place with darker ambient brightness, and then automatic backlight adjustment is triggered.
Therefore, the backlight adjusting strategy is determined according to the displacement condition of the mobile terminal, the actual requirement can be met as much as possible, and the misjudgment is reduced.
The following describes the corresponding screen backlight brightness adjustment when the mobile terminal is displaced beyond the preset distance range:
in the embodiment of the present disclosure, during moving, the light intensity is to be integrated with the light sensation data collected by the plurality of light sensors to serve as a basis for dimming, and is not limited to one or two, an algorithm model is established based on the posture change of the mobile terminal in the moving process and the light sensation data of the plurality of light sensors, so as to predict the light intensity of the current ambient light, and provide an implementation basis for automatic brightness adjustment, exemplarily:
in some embodiments, the method further comprises:
determining weights corresponding to all light sensors on the mobile terminal under all postures;
if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal, including:
and if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor in each posture and the acquired light sensation data.
Here, the mobile terminal of the embodiment of the present disclosure may include one or more light sensors, and when the mobile terminal includes a plurality of light sensors, each light sensor acquires light sensation data correspondingly in each detection, so when determining the light intensity of the current ambient light based on a plurality of light sensation data, since the light sensation data acquired by the light sensors at each position have different specific gravities in the determination of the light intensity of the ambient light in different postures, then, a corresponding weight may be determined for the light sensors at each position in each posture, and then, the light intensity of the current ambient light is predicted based on the weight, and the screen backlight brightness of the mobile terminal is determined to be adjusted.
For example, when the mobile terminal includes 2 light sensors and the current mobile terminal is in a posture that the back shell faces the light source, the proportion of the light sensation data collected by the rear light sensor on the back shell side to the prediction of the light intensity of the current ambient light is larger, for example, 0.8, and the proportion of the light sensation data collected by the front light sensor on the screen side is smaller, for example, 0.2. Then, based on the weight, adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor in each posture and the collected light sensation data may include: determining the light intensity of the ambient light according to the weight corresponding to each light sensor under each posture and the collected light sensation data; and adjusting the screen backlight brightness of the mobile terminal according to the adjusting parameters corresponding to the light intensity.
Here, the determining the ambient light intensity according to the weight corresponding to each light sensor in each posture and the collected light sensation data may be: acquiring light sensation values corresponding to the light sensors in all the postures according to the product of the weight corresponding to each light sensor in each posture and the acquired light sensation data; and accumulating and averaging the light sensation values corresponding to the light sensors to determine the light intensity of the ambient light.
Exemplarily, when the mobile terminal includes 2 light sensors and the current posture of the mobile terminal is that the back shell faces the light source, the weight corresponding to the rear light sensor on the back shell side is 0.8, and the acquisition corresponding weight of the front light sensor on the screen side is 0.2. Assuming that the light sensation data collected by the rear light sensor is 80Lux and the light sensation data collected by the front light sensor is 20Lux, the light intensity of the ambient light is: (80Lux 0.8+20Lux 0.2)/2.
In some embodiments, the determining the weight corresponding to each light sensor on the mobile terminal in each posture comprises:
acquiring light sensation data acquired by each light sensor on the mobile terminal under each posture;
processing the light sensation data and the current target environment light intensity under each posture based on a preset target weight calculation model, and determining the weight corresponding to each light sensor on the mobile terminal; the preset target weight calculation model is obtained by training an initial neural network model according to light sensation data collected by each light sensor under each posture and the light intensity of a target environment.
Here, in the embodiment of the present disclosure, the light sensation data acquired by each light sensor in each posture of the mobile terminal may be acquired in historical use, the ambient light intensity detected by other devices is used as the target ambient light intensity, and the initial neural network model is trained based on the target ambient light intensity and the light sensation data acquired by each light sensor in each posture to obtain the target weight calculation model. In the training of the model, the weight corresponding to the minimum difference between the output ambient light intensity and the target ambient light intensity is used as the weight of each light sensor in each posture.
In some embodiments, the preset target weight calculation model may be obtained by training a machine learning model, a neural network model, or an algorithm based on data fitting.
Here, in some embodiments, fig. 5 is a schematic diagram illustrating a screen backlight adjustment strategy applied to a mobile terminal according to an exemplary embodiment, and as shown in fig. 5, the mobile terminal 500 includes: light sensor 501, step counting module 502, acceleration sensor 503 and gyroscope 504. The position information of the mobile terminal is detected by the step counting module 502, and then whether the mobile terminal has displacement exceeding a preset distance range is determined according to the position information. The attitude of the mobile terminal is detected by the acceleration sensor 503 and the gyroscope 504. The light intensity of the environment in which the mobile terminal is located is detected by the light sensor 501.
When the light sensor 501 detects that the light intensity changes to meet the screen backlight adjustment, it is determined whether to adjust the backlight brightness according to the displacement condition and the posture change condition of the mobile terminal. Here, if the mobile terminal does not undergo a displacement beyond a preset distance range and undergoes a posture change, the screen backlight brightness of the mobile terminal is maintained, and if the mobile terminal undergoes a displacement beyond a preset distance range, the backlight brightness is adjusted based on the detected light intensity, and further a specific brightness adjustment amplitude is determined based on a posture change condition.
In some embodiments, the adjusting the screen backlight brightness of the mobile terminal if the mobile terminal is displaced beyond a preset distance range includes:
if the mobile terminal generates displacement exceeding a preset distance range, determining the moving direction of the mobile terminal relative to a light source;
and adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset time range.
Here, the moving direction of the mobile terminal with respect to the light source includes: the mobile terminal faces the moving direction of the light source or faces away from the moving direction of the light source. When the light source moves, the light sensor is closer to the light source, the light quantity collected by the light sensor gradually becomes larger, and the obtained light intensity is higher. In contrast, when the light source moves away from the light source, the light sensor is farther away from the light source, the light quantity collected by the light sensor gradually decreases, and the obtained light intensity is smaller.
If only the moving direction is considered, the backlight can be adjusted directly based on the light quantity detected by the light sensor in the moving direction, but it should be noted that, because the attitude change of the light sensor also affects the light quantity collected by the light sensor, if there is also a change in the attitude information in the moving direction, there is a difference between the detected light quantity and the actual ambient brightness. Based on this, in the embodiment of the present disclosure, after the moving direction of the mobile terminal relative to the light source is determined, the screen backlight brightness of the mobile terminal is further adjusted together based on the moving direction and the gesture information detected within the preset time length range.
Thus, the backlight adjustment can be more accurate by combining the movement direction and the posture information to adjust the backlight during the movement.
In some embodiments, the adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected within the preset duration range includes:
and when the gesture information represents that the gesture of the mobile terminal does not change, adjusting the screen backlight brightness of the mobile terminal based on the light intensity change detected in the moving direction.
Here, if the posture of the mobile terminal has not changed during the movement of the mobile terminal, it may be considered that the change of the light amount detected by the light sensor is only affected by the displacement during the movement, and the change of the ambient brightness in the displacement is directly reflected on the light amount detected by the light sensor, so that the screen backlight brightness of the mobile terminal may be adjusted directly based on the change of the light intensity detected in the moving direction in this case.
In some embodiments, the adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected within the preset duration range includes:
when the moving direction faces the light source and the posture information represents that the body of the mobile terminal is changed from the posture of the forward light source to the posture of the lateral light source, determining an adjustment parameter;
based on the adjustment parameter, the screen backlight brightness is improved on the basis of the screen backlight brightness adjusted based on the detected light intensity change.
Here, if the posture of the mobile terminal is changed during the movement of the mobile terminal, an adjustment parameter may be determined according to the posture change, and the backlight brightness may be further adjusted based on the adjustment parameter and the automatic backlight adjustment.
Specifically, the method comprises the following steps: when the attitude information represents that the body of the mobile terminal is changed from the attitude of the forward light source to the attitude of the lateral light source, the light ray sensor detects different light ray quantity due to angle problems, and the correspondingly detected light ray quantity is reduced when the body is changed from the attitude of the forward light source to the lateral light source. In other words, the amount of light detected by the light sensor does not correspond to the actual ambient light intensity, as influenced by the attitude of the mobile terminal.
In order to match the ambient brightness more and realize more accurate adjustment of the backlight, in the embodiment of the present disclosure, if it is determined that the gesture of the mobile terminal changes during the movement, the brightness is further adjusted based on the original automatic backlight adjustment in combination with the change.
For example, assume that the moving direction of the mobile terminal is facing the light source, i.e., moving toward the light source. At this moment, the light quantity detected by the light sensor should be gradually increased, but in this movement, if the body of the mobile terminal is changed from the posture of the forward light source to the posture of the lateral light source, the light quantity detected by the light sensor is correspondingly reduced, but actually in the movement of this period of time, the ambient light intensity sensed by the user should only change along with the distance from the light source, so that the detection of the light quantity caused by the change of the posture is reduced, and the light quantity collected by the light sensor is less than the light quantity in the actual environment, so that the backlight brightness of the screen can be further improved on the basis of the backlight brightness determined on the basis of the light strength collected by the light sensor, and the backlight brightness is more consistent with the ambient brightness and more close to the user requirements.
In some embodiments, the adjustment parameter may be: adjusting the proportion; namely, after obtaining the backlight brightness determined based on the light intensity collected by the light sensor, the final backlight brightness is obtained by multiplying the obtained backlight brightness by the adjustment ratio. For example, if the screen backlight brightness needs to be further improved on the basis of the backlight brightness determined based on the light intensity collected by the light sensor, the adjustment parameter may be set to be greater than 1. Correspondingly, if the screen backlight brightness needs to be further reduced, the adjustment parameter can be set to be less than 1.
Here, the adjustment ratio may be specifically determined based on the posture change amount of the mobile terminal, for example, when the mobile terminal has only 1 light sensor and is located on the back shell of the mobile terminal, and the mobile terminal changes from the back shell facing the light source to the back shell facing away from the light source, the maximum posture change amount at this time is considered, and the maximum adjustment ratio may be corresponded. If the mobile terminal is changed from the back shell surface to the light source to the body side light source, the posture variation at the moment is 1/2 of the maximum posture variation.
In other embodiments, the adjustment parameter may be: and adjusting the numerical value, namely adding the adjusting parameter on the basis of the backlight brightness to obtain the final backlight brightness after obtaining the backlight brightness determined on the basis of the light intensity acquired by the light sensor. Here, the adjustment value may be a positive value or a negative value, and if the screen backlight luminance needs to be further improved on the basis of the backlight luminance determined based on the intensity of the light collected by the light sensor, the adjustment value may be set to the positive value. Correspondingly, if the screen backlight brightness needs to be further reduced, the adjustment value can be set to be a negative value.
Likewise, the adjustment value may also be determined based on the amount of change in the attitude of the mobile terminal, i.e., the greater the amount of change in the attitude, the greater the adjustment value.
In this way, in the embodiment of the present disclosure, when the backlight needs to be automatically adjusted based on the detected light intensity change, it is determined whether the light change is caused by movement or posture change of the mobile terminal, and if the light change is caused by posture change, the screen backlight brightness is maintained, so that the situation of inaccurate adjustment caused by the change of the view field of the light sensor due to posture change can be reduced.
The present disclosure also provides a screen backlight adjusting device, fig. 6 is a schematic structural diagram of a screen backlight adjusting device according to an exemplary embodiment, and as shown in fig. 6, the screen backlight adjusting device 600, applied to a mobile terminal, includes:
the determining module 601 is configured to determine, when it is detected that the light intensity changes according to the screen backlight adjustment, whether the mobile terminal has a displacement exceeding a preset distance range and a posture change within a preset time range at the time when the light intensity changes;
the first type processing module 602 is configured to maintain screen backlight brightness of the mobile terminal if the mobile terminal does not generate displacement exceeding a preset distance range and generates a posture change.
In some embodiments, the apparatus further comprises:
and the second type processing module is used for adjusting the screen backlight brightness of the mobile terminal if the mobile terminal generates displacement exceeding a preset distance range.
In some embodiments, the second class of processing module comprises:
the direction determining module is used for determining the moving direction of the mobile terminal relative to the light source if the mobile terminal generates displacement exceeding a preset distance range;
and the brightness adjusting module is used for adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset duration range.
In some embodiments, the brightness adjustment module comprises:
and the first brightness adjusting submodule is used for adjusting the screen backlight brightness of the mobile terminal based on the light intensity change detected in the moving direction when the gesture information represents that the mobile terminal does not have gesture change.
In some embodiments, the brightness adjustment module comprises:
the parameter determining module is used for determining an adjustment parameter when the moving direction is towards the light source and the posture information represents that the body of the mobile terminal is changed from the posture of the forward light source to the posture of the lateral light source;
and the second brightness adjusting submodule is used for improving the screen backlight brightness on the basis of the screen backlight brightness adjusted on the basis of the detected light intensity change on the basis of the adjusting parameter.
In some embodiments, the apparatus further comprises:
the weight determining module is used for determining the weight corresponding to each light sensor on the mobile terminal under each posture;
the second type processing module comprises:
and the weight processing module is used for adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor under each posture and the collected light sensation data if the mobile terminal generates displacement exceeding a preset distance range.
In some embodiments, the weight determination module comprises:
the light sensation acquisition module is used for acquiring light sensation data acquired by each light sensor on the mobile terminal under each posture;
the weight determination submodule is used for processing the light sensation data and the current target environment light intensity under each posture based on a preset target weight calculation model and determining the weight corresponding to each light sensor on the mobile terminal; the preset target weight calculation model is obtained by training an initial neural network model according to light sensation data collected by each light sensor under each posture and the light intensity of a target environment.
In some embodiments, the determining module comprises:
and the displacement determining module is used for determining whether the mobile terminal generates displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on the step counting module and the positioning module in the mobile terminal.
In some embodiments, the displacement determination module is further configured to:
when the step frequency parameters collected by the step counting module represent that the mobile terminal has displacement within the preset time length range, determining the distance parameters of the mobile terminal movement based on a positioning module;
and determining whether the mobile terminal generates displacement exceeding the preset distance range or not based on the distance parameter.
In some embodiments, the determining module comprises:
and the gesture determining module is used for determining whether the mobile terminal has gesture change within a preset time range at the moment when the light intensity changes based on the gesture detection module in the mobile terminal.
In some embodiments, the gesture detection module comprises: acceleration sensors and gyroscopes;
the attitude determination module is further configured to:
detecting the acceleration of the mobile terminal within the preset duration range based on an acceleration sensor in the mobile terminal;
detecting the placement angle of the mobile terminal in the preset duration range based on a gyroscope in the mobile terminal;
and determining whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes based on the acceleration and the placing angle.
With regard to the apparatus in the above-described 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 elaborated here.
Fig. 7 is a block diagram illustrating a screen backlight adjusting apparatus 1800 according to an exemplary embodiment. For example, the apparatus 1800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and so forth.
Referring to fig. 7, the apparatus 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1814, and a communications component 1816.
The processing component 1802 generally controls overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 can also include one or more modules that facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 may include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operation at the apparatus 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, images, videos, and the like. The memory 1804 may be implemented by any type or combination of volatile or non-volatile storage 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.
Power components 1806 provide power to various components of the device 1800. The power components 1806 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 1800.
The multimedia component 1808 includes a screen that provides an output interface between the device 1800 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 1808 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 1800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1800 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
I/O interface 1812 provides an interface between processing component 1802 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 component 1814 includes one or more sensors for providing various aspects of state assessment for the apparatus 1800. For example, the sensor component 1814 can detect an open/closed state of the device 1800, the relative positioning of components such as a display and keypad of the device 1800, the sensor component 1814 can also detect a change in position of the device 1800 or a component of the device 1800, the presence or absence of user contact with the device 1800, orientation or acceleration/deceleration of the device 1800, and a change in temperature of the device 1800. The sensor assembly 1814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1814 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 1814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate wired or wireless communication between the apparatus 1800 and other devices. The device 1800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1816 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, or other technologies.
In an exemplary embodiment, the apparatus 1800 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 is also provided, such as the memory 1804 including instructions that are executable by the processor 1820 of the apparatus 1800 to perform the above-described method. 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, wherein instructions, when executed by a processor, enable performance of the above-described method.
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 in 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 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 (24)

1. A screen backlight adjusting method is applied to a mobile terminal and comprises the following steps:
when the change that the light intensity meets the screen backlight adjustment is detected, whether the mobile terminal has displacement exceeding a preset distance range and whether the mobile terminal has posture change or not is determined within a preset duration range at the moment when the light intensity changes;
and if the mobile terminal does not displace beyond the preset distance range and changes in posture, maintaining the screen backlight brightness of the mobile terminal.
2. The method of claim 1, further comprising:
and if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal.
3. The method according to claim 2, wherein the adjusting the screen backlight brightness of the mobile terminal if the mobile terminal is displaced beyond a preset distance range comprises:
if the mobile terminal generates displacement exceeding a preset distance range, determining the moving direction of the mobile terminal relative to a light source;
and adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset time range.
4. The method according to claim 3, wherein the adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset duration range comprises:
and when the gesture information represents that the mobile terminal does not have gesture change, adjusting the screen backlight brightness of the mobile terminal based on the detected light intensity change in the moving direction.
5. The method according to claim 3, wherein the adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset duration range comprises:
when the moving direction faces the light source and the posture information represents that the body of the mobile terminal is changed from the posture of the forward light source to the posture of the lateral light source, determining an adjustment parameter;
based on the adjustment parameter, the screen backlight brightness is improved on the basis of the screen backlight brightness adjusted based on the detected light intensity change.
6. The method of claim 2, further comprising:
determining weights corresponding to all light sensors on the mobile terminal under all postures;
if the mobile terminal generates displacement exceeding a preset distance range, adjusting the screen backlight brightness of the mobile terminal, including:
and if the mobile terminal generates displacement exceeding the preset distance range, adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor in each posture and the collected light sensation data.
7. The method of claim 6, wherein determining the weight corresponding to each light sensor on the mobile terminal in each gesture comprises:
acquiring light sensation data acquired by each light sensor on the mobile terminal under each posture;
processing the light sensation data and the current light intensity of the target environment under each posture based on a preset target weight calculation model, and determining the weight corresponding to each light sensor on the mobile terminal; the preset target weight calculation model is obtained by training an initial neural network model according to light sensation data collected by each light sensor under each posture and the light intensity of a target environment.
8. The method according to claim 1, wherein the determining whether the mobile terminal has moved beyond a preset distance range within a preset duration range at the time when the light intensity is changed comprises:
and determining whether the mobile terminal has displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on the step counting module and the positioning module in the mobile terminal.
9. The method according to claim 8, wherein the determining whether the mobile terminal has a displacement exceeding a preset distance range within a preset duration range at the moment when the light intensity changes based on a step counting module and a positioning module in the mobile terminal comprises:
when the step frequency parameters collected by the step counting module represent that the mobile terminal has displacement within the preset time length range, determining the distance parameters of the mobile terminal based on a positioning module;
and determining whether the mobile terminal generates displacement exceeding the preset distance range or not based on the distance parameter.
10. The method according to claim 1, wherein the determining whether the mobile terminal has changed posture within a preset time range at the moment when the light intensity is changed comprises:
and determining whether the mobile terminal has the posture change within a preset time range at the moment when the light intensity changes based on the posture detection module in the mobile terminal.
11. The method of claim 10, wherein the gesture detection module comprises: acceleration sensors and gyroscopes;
based on gesture detection module in the mobile terminal, confirm that whether the mobile terminal takes place the gesture change in the preset duration scope at the moment that light intensity changes, include:
detecting the acceleration of the mobile terminal within the preset duration range based on an acceleration sensor in the mobile terminal;
detecting the placement angle of the mobile terminal in the preset duration range based on a gyroscope in the mobile terminal;
and determining whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes based on the acceleration and the placing angle.
12. A screen backlight adjusting device is applied to a mobile terminal and comprises:
the mobile terminal comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining whether the mobile terminal has displacement exceeding a preset distance range and has posture change within a preset duration range at the moment when the light intensity is detected to change so as to meet the screen backlight regulation;
the first-class processing module is used for maintaining the screen backlight brightness of the mobile terminal if the mobile terminal does not generate displacement exceeding a preset distance range and generates posture change.
13. The apparatus of claim 12, further comprising:
and the second type processing module is used for adjusting the screen backlight brightness of the mobile terminal if the mobile terminal generates displacement exceeding a preset distance range.
14. The apparatus of claim 13, wherein the second type of processing module comprises:
the direction determining module is used for determining the moving direction of the mobile terminal relative to the light source if the mobile terminal generates displacement exceeding a preset distance range;
and the brightness adjusting module is used for adjusting the screen backlight brightness of the mobile terminal based on the moving direction and the gesture information detected in the preset duration range.
15. The apparatus of claim 14, wherein the brightness adjustment module comprises:
and the first brightness adjusting submodule is used for adjusting the screen backlight brightness of the mobile terminal based on the detected light intensity change in the moving direction when the gesture information represents that the mobile terminal does not have gesture change.
16. The apparatus of claim 14, wherein the brightness adjustment module comprises:
the parameter determining module is used for determining an adjusting parameter when the moving direction is facing to the light source and the posture information represents that the body of the mobile terminal is changed from the posture of the forward light source to the posture of the lateral light source;
and the second brightness adjusting submodule is used for improving the screen backlight brightness on the basis of the screen backlight brightness adjusted on the basis of the detected light intensity change on the basis of the adjusting parameter.
17. The apparatus of claim 13, further comprising:
the weight determining module is used for determining the weight corresponding to each light sensor on the mobile terminal under each posture;
the second type processing module comprises:
and the weight processing module is used for adjusting the screen backlight brightness of the mobile terminal according to the weight corresponding to each light sensor under each posture and the collected light sensation data if the mobile terminal generates displacement exceeding a preset distance range.
18. The apparatus of claim 17, wherein the weight determination module comprises:
the light sensation acquisition module is used for acquiring light sensation data acquired by each light sensor on the mobile terminal under each posture;
the weight determination submodule is used for processing the light sensation data and the current target environment light intensity under each posture based on a preset target weight calculation model and determining the weight corresponding to each light sensor on the mobile terminal; the preset target weight calculation model is obtained by training an initial neural network model according to light sensation data collected by each light sensor under each posture and the light intensity of a target environment.
19. The apparatus of claim 12, wherein the determining means comprises:
and the displacement determining module is used for determining whether the mobile terminal generates displacement exceeding a preset distance range within a preset time range at the moment when the light intensity changes based on the step counting module and the positioning module in the mobile terminal.
20. The apparatus of claim 19, wherein the displacement determining module is further configured to:
when the step frequency parameters collected by the step counting module represent that the mobile terminal has displacement within the preset time length range, determining the distance parameters of the mobile terminal based on a positioning module;
and determining whether the mobile terminal generates displacement exceeding the preset distance range or not based on the distance parameter.
21. The apparatus of claim 12, wherein the determining means comprises:
and the gesture determining module is used for determining whether the mobile terminal has gesture change within a preset time range at the moment when the light intensity changes based on the gesture detection module in the mobile terminal.
22. The apparatus of claim 21, wherein the gesture detection module comprises: acceleration sensors and gyroscopes;
the pose determination module is further configured to:
detecting the acceleration of the mobile terminal within the preset duration range based on an acceleration sensor in the mobile terminal;
detecting the placement angle of the mobile terminal in the preset duration range based on a gyroscope in the mobile terminal;
and determining whether the mobile terminal has posture change within a preset time range at the moment when the light intensity changes based on the acceleration and the placing angle.
23. A screen backlight adjusting device, comprising:
a processor and a memory for storing executable instructions operable on the processor, wherein:
the processor is configured to execute the executable instructions, and the executable instructions perform the steps of the method as provided in any one of the preceding claims 1 to 11.
24. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform steps in a method as provided by any one of claims 1 to 11.
CN202110406304.8A 2021-04-15 2021-04-15 Screen backlight adjusting method and device and storage medium Pending CN115223507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110406304.8A CN115223507A (en) 2021-04-15 2021-04-15 Screen backlight adjusting method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110406304.8A CN115223507A (en) 2021-04-15 2021-04-15 Screen backlight adjusting method and device and storage medium

Publications (1)

Publication Number Publication Date
CN115223507A true CN115223507A (en) 2022-10-21

Family

ID=83605637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110406304.8A Pending CN115223507A (en) 2021-04-15 2021-04-15 Screen backlight adjusting method and device and storage medium

Country Status (1)

Country Link
CN (1) CN115223507A (en)

Similar Documents

Publication Publication Date Title
EP3220615B1 (en) Method and device for setting brightness of screen
CN106797416B (en) Screen control method and device
CN110796988B (en) Backlight adjusting method and device
US9491371B2 (en) Method and device for configuring photographing parameters
CN111128092B (en) Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
CN111128091B (en) Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
EP2991067A1 (en) Backlight brightness control method and device
CN112202962B (en) Screen brightness adjusting method and device and storage medium
EP3851875A1 (en) Brightness adjustment method and device, and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
CN111355843A (en) Brightness adjusting method and device, mobile terminal and storage medium
CN112187995A (en) Illumination compensation method, illumination compensation device, and storage medium
CN108597456B (en) Backlight brightness adjusting method and device
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN114187874B (en) Brightness adjusting method, device and storage medium
CN112017598A (en) Backlight brightness adjusting method and device
CN112951162B (en) Display screen and control method and device thereof
CN106775246B (en) Screen brightness adjusting method and device
CN115756286A (en) Display screen brightness control method and device, electronic equipment and readable storage medium
CN115223507A (en) Screen backlight adjusting method and device and storage medium
CN111405115B (en) Display brightness adjusting method and device, mobile terminal and storage medium
CN110087002B (en) Shooting method and terminal equipment
CN112148149A (en) Touch screen control method, touch screen control device and storage medium
CN111385400A (en) Backlight brightness adjusting method and device

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