CN111128092B - Screen brightness adjusting method, screen brightness adjusting device and computer storage medium - Google Patents

Screen brightness adjusting method, screen brightness adjusting device and computer storage medium Download PDF

Info

Publication number
CN111128092B
CN111128092B CN202010086760.4A CN202010086760A CN111128092B CN 111128092 B CN111128092 B CN 111128092B CN 202010086760 A CN202010086760 A CN 202010086760A CN 111128092 B CN111128092 B CN 111128092B
Authority
CN
China
Prior art keywords
sensing data
light sensing
terminal
screen brightness
current
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
Application number
CN202010086760.4A
Other languages
Chinese (zh)
Other versions
CN111128092A (en
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 CN202010086760.4A priority Critical patent/CN111128092B/en
Publication of CN111128092A publication Critical patent/CN111128092A/en
Application granted granted Critical
Publication of CN111128092B publication Critical patent/CN111128092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Abstract

The disclosure relates to a screen brightness adjusting method, a screen brightness adjusting device and a computer storage medium. The screen brightness adjusting method is applied to a terminal, the terminal comprises a front light sensor and a rear light sensor, and the screen brightness adjusting method comprises the following steps: acquiring first light sensing data acquired by a front light sensor and acquiring second light sensing data acquired by a rear light sensor; determining light sensing data of the terminal according to the first light sensing data and the second light sensing data; and adjusting the screen brightness of the terminal according to the light sensing data. The front light sensor and the rear light sensor at the terminal are used for acquiring light sensing data of the front side and the rear side of the terminal, so that the light condition of the current terminal can be acquired more accurately, the brightness of a terminal screen is adjusted more stably, and the use experience of a user is promoted.

Description

Screen brightness adjusting method, screen brightness adjusting device and computer storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a screen brightness adjusting method, a screen brightness adjusting apparatus, and a computer storage medium.
Background
In the related art, a light sensor is provided on one side of a screen of a device such as a terminal. The brightness of the screen of the terminal can be adjusted through the light sensing data of the light sensor.
However, the light sensor data obtained by the light sensor is different under different usage scenarios. When the light sensor is shielded, the generated light sensing data may be jittered, resulting in a backlight whose screen brightness cannot be maintained stable. Therefore, in the use of the user, the use experience of the user is influenced.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a screen brightness adjusting method, a screen brightness adjusting apparatus, an electronic device, and a computer storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting method applied to a terminal, where the terminal includes a front light sensor and a rear light sensor, and the screen brightness adjusting method includes: acquiring first light sensing data acquired by the front light sensor and acquiring second light sensing data acquired by the rear light sensor; determining light sensing data of the terminal according to the first light sensing data and the second light sensing data; and adjusting the screen brightness of the terminal according to the light sensing data.
In an embodiment, the determining the light sensing data of the terminal according to the first light sensing data and the second light sensing data includes: and weighting the first light sensing data and the second light sensing data according to the designated weight to obtain the light sensing data of the terminal.
In another embodiment, the specified weights include a first weight and a second weight, the first weight being greater than the second weight; weighting the first light sensing data and the second light sensing data according to the assigned weight to obtain the light sensing data of the terminal, including: and weighting the light sensing data with the larger data value in the first light sensing data and the second light sensing data according to the first weight, and weighting the light sensing data with the smaller data value in the first light sensing data and the second light sensing data according to the second weight to obtain the light sensing data of the terminal.
In another embodiment, the adjusting the screen brightness of the terminal according to the light sensing data includes: acquiring light sensing data in a specified monitoring period; calling a preset analysis model, and determining the variation range of the light sensing data in the monitoring period; and adjusting the screen brightness of the terminal according to the change range of the light sensing data in the monitoring period and the current screen brightness of the terminal.
In another embodiment, the adjusting the screen brightness of the terminal according to the variation range of the light sensing data in the monitoring period and the current screen brightness of the terminal includes: if the light sensing data change range in the monitoring period belongs to the light sensing data range corresponding to the current screen brightness of the terminal, the screen brightness of the terminal is unchanged; if the light sensing data in the light sensing data change range in the monitoring period is higher than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, reducing the screen brightness of the terminal; and if the light sensing data in the light sensing data change range in the monitoring period is lower than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, improving the screen brightness of the terminal.
In still another embodiment, the screen brightness adjusting method further includes: determining the current scene of the terminal, and adjusting the screen brightness of the terminal to be matched with the brightness of the scene.
In another embodiment, the determining the current scene of the terminal includes: acquiring current geographical position information of the terminal through a global positioning system, and determining the current scene of the terminal according to the current geographical position information; and/or obtaining the current motion state information of the terminal through an acceleration sensor, and determining the current scene of the terminal according to the current motion state information.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus applied to a terminal, the terminal including a front light sensor and a rear light sensor, the screen brightness adjusting apparatus including: the acquisition unit is used for acquiring first light sensing data acquired by the front light sensor and acquiring second light sensing data acquired by the rear light sensor; the light sensing data determining unit is used for determining the light sensing data of the terminal according to the first light sensing data and the second light sensing data; and the adjusting unit is used for adjusting the screen brightness of the terminal according to the light sensing data.
In an embodiment, the light sensing data determining unit determines the light sensing data of the terminal according to the first light sensing data and the second light sensing data by the following method: and weighting the first light sensing data and the second light sensing data according to the designated weight to obtain the light sensing data of the terminal.
In another embodiment, the specified weights include a first weight and a second weight, the first weight being greater than the second weight; the light sensing data determining unit weights the first light sensing data and the second light sensing data according to a designated weight by adopting the following method to obtain the light sensing data of the terminal: and weighting the light sensing data with the larger data value in the first light sensing data and the second light sensing data according to the first weight, and weighting the light sensing data with the smaller data value in the first light sensing data and the second light sensing data according to the second weight to obtain the light sensing data of the terminal.
In another embodiment, the adjusting unit adjusts the screen brightness of the terminal according to the light sensing data in the following manner: acquiring light sensing data in a specified monitoring period; calling a preset analysis model, and determining the variation range of the light sensing data in the monitoring period; and adjusting the screen brightness of the terminal according to the change trend and the current screen brightness of the terminal.
In another embodiment, the adjusting unit adjusts the screen brightness of the terminal according to the variation range of the light sensing data in the monitoring period and the current screen brightness of the terminal in the following manner: if the light sensing data change range in the monitoring period belongs to the light sensing data range corresponding to the current screen brightness of the terminal, the screen brightness of the terminal is unchanged; if the light sensing data in the light sensing data change range in the monitoring period is higher than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, reducing the screen brightness of the terminal; and if the light sensing data in the light sensing data change range in the monitoring period is lower than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, improving the screen brightness of the terminal.
In a further embodiment, the adjustment unit is further configured to: determining the current scene of the terminal, and adjusting the screen brightness of the terminal to be matched with the brightness of the scene.
In another embodiment, the adjusting unit determines the current scene of the terminal by: acquiring current geographical position information of the terminal through a global positioning system, and determining the current scene of the terminal according to the current geographical position information; and/or obtaining the current motion state information of the terminal through an acceleration sensor, and determining the current scene of the terminal according to the current motion state information.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen brightness adjusting apparatus including: a memory to store instructions; and the processor is used for calling the instruction stored in the memory to execute any one of the screen brightness adjusting methods.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium comprising: a non-transitory computer readable storage medium stores computer executable instructions that, when executed by a processor, perform any one of the screen brightness adjustment methods described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the front light sensor and the rear light sensor at the terminal are used for acquiring light sensing data of the front side and the rear side of the terminal, so that the light condition of the environment where the current terminal is located can be acquired more accurately, the brightness adjustment of the screen of the terminal is more stable, and the use experience of a user is promoted.
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 flowchart illustrating a screen brightness adjustment method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating another screen brightness adjustment method according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
It should be noted that although the expressions "first", "second", etc. are used herein to describe different modules, steps, data, etc. of the embodiments of the present invention, the expressions "first", "second", etc. are merely used to distinguish between different modules, steps, data, etc. and do not indicate a particular order or degree of importance. Indeed, the terms "first," "second," and the like are fully interchangeable.
In the correlation technique, the external light is obtained through the front light sensor at the terminal by the equipment such as the terminal, when the front light sensor is shielded, the light sensing data obtained by the light sensor easily shakes, the current external light environment cannot be accurately identified, the screen brightness can shake and change, the stable backlight cannot be kept, and the use experience of a user is influenced.
The embodiment of the disclosure provides a screen brightness adjusting method, which includes the steps that light sensors arranged in front and at back of a terminal are used for obtaining light sensing data around the outside of the terminal, and then the brightness of a screen of the terminal is adjusted according to the light sensing data, so that the terminal can provide stable screen brightness when in use, discomfort brought to user experience by screen brightness jitter is avoided, and the user experience is enhanced.
It can be understood that the terminal involved in the embodiments of the present disclosure may include: cell phones, tablets, notebooks, etc., and are not limited in this disclosure.
Fig. 1 is a flowchart illustrating a screen brightness adjusting method according to an exemplary embodiment, where the screen brightness adjusting method is used in a terminal, as shown in fig. 1, and includes the following steps S11 to S13.
In step S11, first light sensing data collected by the front light sensor is acquired, and second light sensing data collected by the rear light sensor is acquired.
In the embodiment of the disclosure, the light sensors are arranged on the front side and the rear side of the terminal. A front light sensor is arranged in the direction of the terminal screen, and a rear light sensor is arranged on the back of the terminal screen. The front light sensor is mainly used for acquiring light sensing data on the front side of a terminal screen. The rear light sensor is mainly used for acquiring light sensing data on the back of the terminal.
For convenience of description, the light sensing data acquired by the front light sensor is referred to as first light sensing data. The light sensing data acquired by the rear light sensor is referred to as second light sensing data.
In the embodiment of the disclosure, the external light environment of the screen of the terminal is acquired through the front light sensor and the rear light sensor, so that the terminal can acquire the external light sensing data of the terminal more comprehensively, and further stable screen brightness is provided, and the user can use the terminal conveniently.
In step S12, light sensing data of the terminal is determined based on the first light sensing data and the second light sensing data.
In the embodiment of the present disclosure, the first light sensing data and the second light sensing data may be combined in a combination manner such as weighting or averaging, so as to finally determine the light sensing data of the terminal.
In the embodiment of the disclosure, light sensing data are acquired through the front light sensor and the rear light sensor respectively, so that when the front light sensor is sheltered, the acquired first light sensing data are unstable, the light sensing data acquired from the terminal are subject to error, and the stability of the screen brightness is affected. For example: when the terminal is used for playing games, the front light sensor is often shielded by fingers of a user, so that the first light sensing data acquired by the front light sensor can shake, and the light sensing data for adjusting the screen brightness is unstable. However, the rear light sensor cannot be easily shielded, and therefore the second light sensing data acquired by the rear light sensor is stable, and the first light sensing data and the second light sensing data are acquired simultaneously, so that the external light sensing data of the current terminal can be determined, and the adjustment of the screen brightness is more stable.
In an embodiment, the first light sensing data and the second light sensing data are combined in a weighted manner according to the assigned weight, so as to obtain the light sensing data of the terminal. Because the first light sensing data and the second light sensing data both have accuracy, weighting processing is performed through the assigned weight, data errors are reduced, and the light sensing data acquired by the terminal is more accurate.
In an embodiment, the assigned weights include a first weight and a second weight. In the embodiment of the present disclosure, a weight value of the first weight is set to be greater than a weight value of the second weight. When the light sensing data of the terminal is determined by combining the first light sensing data and the second light sensing data, the acquired first light sensing data is compared with the acquired second light sensing data, the light sensing data with the larger data value is weighted by using the first weight, and the light sensing data with the smaller data value is weighted by using the second weight.
In the embodiment of the disclosure, the first weight is assigned to the light sensing data with a higher data value in the first light sensing data and the second light sensing data, so that the accuracy of the light sensing data acquired by the terminal is not affected by backlight or backlight of an external light source, and the screen brightness of the terminal is stabilized conveniently.
In one implementation scenario, assume that the first weight is 0.7 and the second weight is 0.3. When the terminal is used in a backlight, for example, when a user sits under a desk lamp and uses the terminal in a bed, the first light sensing data is 500 lux, and the second light sensing data is 300 lux, then the light sensing data of the terminal is 470 lux after the weighting processing, that is, the 500 lux is multiplied by 0.7 and the 400 lux is multiplied by 0.3. When the user lies on the terminal, the acquired first light sensing data is 300 lux, the acquired second light sensing data is 500 lux, and the light sensing data of the terminal is 470 lux after weighting processing, wherein the 500 lux is multiplied by 0.7 and the 400 lux is multiplied by 0.3, and the light sensing data is the same as the light sensing data of the backlight acquisition terminal, so that the screen brightness cannot be changed, and the stability of the screen brightness is convenient to maintain.
In another embodiment, fixed weights are set for the front light sensor and the rear light sensor, such as: the first weight is the weight of the front light sensor for acquiring the first light sensing data, and the second weight is the weight of the rear light sensor for acquiring the second light sensing data. The fixed weight of the light sensor is set in a determined mode, so that the accuracy of the light sensing data of the terminal is improved under the condition that the light source is stable, the stability of the screen brightness is kept for a long time, and the use experience of a user is improved.
In step S13, the screen brightness of the terminal is adjusted according to the light sensing data.
In the embodiment of the disclosure, different terminal use scenes have different screen brightness parameters, and the different screen brightness parameters correspond to different light sensing data ranges. For example: when the mobile phone is in a use scene such as a game or a video, the screen needs to be high-bright. When the mobile phone is used under a night desk lamp, the mobile phone needs soft screen brightness. According to the acquired light sensing data, the light sensing data range to which the acquired light sensing data belong is determined, and then the screen brightness of the terminal is adjusted, so that the screen brightness suitable for the user is provided. When the light sensing data are abnormally floated, the influence of jitter on the brightness of a terminal screen is reduced. The application scenario may include: camera, game, social chat, etc., and are not limited in this disclosure.
In an embodiment, in order to maintain the stability of the screen brightness parameter, the light sensing data in the specified monitoring period is acquired, the light sensing data acquired in the specified period is analyzed through a preset analysis model, the change trend of the light sensing data in the period is determined, whether the light around the terminal changes obviously or not is judged, and then the current screen brightness of the terminal is adjusted according to the change trend, so that the adjustment of the screen brightness is more reasonable and more suitable for users to use, and the use experience of the users is improved.
In another embodiment, according to the variation trend of the light sensing data in the designated monitoring period, if the light sensing data has no obvious fluctuation change or has individual abnormal light sensing data and is in the light sensing data range corresponding to the current screen brightness of the terminal screen, the current screen brightness is maintained. When the light sensing data changes, for example, the light sensing data suddenly rises or falls and lasts for a period of time, but all the light sensing data belong to the light sensing data range corresponding to the current screen brightness, the screen brightness of the terminal is also kept unchanged. If the change trend of the light sensing data is obviously increased and is higher than the light sensing data range corresponding to the current screen brightness of the terminal screen, the brightness of the screen is reduced, so that the screen brightness is more suitable for the current light, and the use by a user is facilitated. If the change trend of the light sensing data is obviously reduced and is lower than the light sensing data range corresponding to the current screen brightness of the terminal screen, the brightness of the screen is improved, the use requirement of a user is met, and the use experience of the user is improved.
Through above-mentioned embodiment, utilize leading optical line sensors and the rear optical line sensors at terminal to acquire the light sensing data of both sides around the terminal, the light condition at present terminal can be acquireed to more accurate, makes the adjustting of the lighteness of terminal screen more stable, is favorable to promoting user's use and experiences.
Fig. 2 is a flow chart illustrating another brightness adjustment according to an exemplary embodiment, which makes the screen brightness of the terminal more stable and more accurate by combining the scene where the terminal is located. The scene may include: the present disclosure is not limited to walking, indoor, lying, and other scenes.
As shown in fig. 2, the screen brightness adjusting method is used in a terminal, and includes the following steps S21 to S24.
In the present disclosure, the implementation of step S21, step S22 and step S24 are the same as the implementation of step S11 to step S13, respectively, and are not described again.
In step S21, first light sensing data collected by the front light sensor is acquired, and second light sensing data collected by the rear light sensor is acquired.
In step S22, light sensing data of the terminal is determined based on the first light sensing data and the second light sensing data.
In step S23, the scene where the terminal is currently located is determined, and the screen brightness of the terminal is adjusted to match the brightness of the scene where the terminal is currently located.
In the embodiment of the disclosure, according to the acquired light sensing data, the brightness of the current screen is adjusted by combining with the determination of the scene where the current terminal is located, so that the terminal screen is more suitable for the current use state of a user when being used, and further, the display effect of screen backlight is improved, and the use experience of the user is improved.
In one embodiment, the current geographic location of the terminal is determined by obtaining current geographic location information of the terminal through a Global Positioning System (GPS), for example: in the cinema or outdoor places such as parks, the screen brightness is conveniently improved or reduced according to the current environment, the appropriate screen brightness is provided, and the use by users is convenient. Or the current motion state information of the terminal is acquired through the acceleration sensor or by combining with the gyroscope sensor, so that the motion state of the user is judged, and the appropriate screen brightness is provided for the user according to the current motion state information, so that the user can use the device conveniently. The motion state may include: walking, running, carrying vehicles for movement, and the like.
In another embodiment, the sensing data of the GPS and the accelerometer sensor are acquired simultaneously, and the screen brightness is adjusted together by combining the light transmission data of the terminal, so that the backlight effect of the screen brightness is optimized, and the adjusted screen brightness is more suitable for users. For example: according to the application scene of the current game, the screen brightness is improved by combining the current light sensing data. The method comprises the steps of positioning a home of a user according to a GPS, obtaining a current motion state as static through an accelerometer sensor, obtaining a scene that the current state of the user is lying according to a fixed relation between an accelerometer sensor coordinate system and a terminal position coordinate system, reducing a brightness value for improving screen brightness, improving comfort of the user, and improving use experience of the user.
In step S24, the screen brightness of the terminal is adjusted according to the light sensing data.
Based on the same inventive concept, the embodiment of the disclosure also provides a screen brightness adjusting device.
Fig. 3 is a block diagram illustrating a screen brightness adjustment apparatus according to an exemplary embodiment. Referring to fig. 3, the screen brightness adjusting apparatus is applied to a terminal including a front light sensor and a rear light sensor, and the screen brightness adjusting apparatus 100 includes an obtaining unit 110, a light sensing data determining unit 120, and an adjusting unit 130.
The obtaining unit 110 is configured to obtain first light sensing data collected by the front light sensor, and obtain second light sensing data collected by the rear light sensor.
The light sensing data determining unit 120 is configured to determine light sensing data of the terminal according to the first light sensing data and the second light sensing data.
And an adjusting unit 130 for adjusting the screen brightness of the terminal according to the light sensing data.
In one embodiment, the light sensing data determining unit 120 determines the light sensing data of the terminal from the first light sensing data and the second light sensing data in the following manner: and weighting the first light sensing data and the second light sensing data according to the designated weight to obtain the light sensing data of the terminal.
In another embodiment, the assigned weights include a first weight and a second weight, the first weight being greater than the second weight; the light sensing data determining unit 120 weights the first light sensing data and the second light sensing data according to the assigned weights in the following manner to obtain the light sensing data of the terminal: and weighting the light sensing data with larger data values in the first light sensing data and the second light sensing data according to the first weight, and weighting the light sensing data with smaller data values in the first light sensing data and the second light sensing data according to the second weight to obtain the light sensing data of the terminal.
In another embodiment, the adjusting unit 130 adjusts the screen brightness of the terminal according to the light sensing data in the following manner: acquiring light sensing data in a specified monitoring period; calling a preset analysis model, and determining the variation range of the light sensing data in the monitoring period; and adjusting the screen brightness of the terminal according to the change range of the light sensing data in the monitoring period and the current screen brightness of the terminal.
In another embodiment, the adjusting unit 130 adjusts the screen brightness of the terminal according to the variation range of the light sensing data in the monitoring period and the current screen brightness of the terminal in the following manner: if the light sensing data change range in the monitoring period belongs to the light sensing data range corresponding to the current screen brightness of the terminal, the screen brightness of the terminal is unchanged; if the light sensing data in the light sensing data change range in the monitoring period is higher than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, reducing the screen brightness of the terminal; and if the light sensing data in the light sensing data change range in the monitoring period is lower than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, improving the screen brightness of the terminal.
In a further embodiment, the adjusting unit 130 is further configured to: and determining the current scene of the terminal, and adjusting the screen brightness of the terminal to be the brightness of the scene which is matched with the terminal.
In a further embodiment, the adjusting unit 130 determines the current scene of the terminal by: acquiring current geographical position information of the terminal through a global positioning system, and determining a current scene of the terminal according to the current geographical position information; and/or acquiring current motion state information of the terminal through an acceleration sensor, and determining the current scene of the terminal according to the current motion state information.
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. 4 is a block diagram illustrating an apparatus 200 for brightness adjustment according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
Memory 204 is configured to store various types of data to support operation at device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 206 provide power to the various components of device 200. Power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 200.
The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen 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 208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 210 is configured to output and/or input audio signals. For example, audio component 210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 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 214 includes one or more sensors for providing various aspects of status assessment for the device 200. For example, the sensor component 214 may detect an open/closed state of the device 200, the relative positioning of components, such as a display and keypad of the apparatus 200, the sensor component 214 may also detect a change in position of the apparatus 200 or a component of the apparatus 200, the presence or absence of user contact with the apparatus 200, orientation or acceleration/deceleration of the apparatus 200, and a change in temperature of the apparatus 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 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 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The device 200 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 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 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 any of the above-described screen brightness adjustment methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 204, comprising instructions executable by processor 220 of device 200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is further understood that the use of "a plurality" in this disclosure means two or more, as other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.

Claims (12)

1. A screen brightness adjusting method is applied to a terminal, wherein the terminal comprises a front light sensor and a rear light sensor, and the method comprises the following steps:
acquiring first light sensing data acquired by the front light sensor and acquiring second light sensing data acquired by the rear light sensor;
determining light sensing data of the terminal according to the first light sensing data and the second light sensing data;
adjusting the screen brightness of the terminal according to the light sensing data;
the determining the light sensing data of the terminal according to the first light sensing data and the second light sensing data includes:
weighting the light sensing data with larger data value in the first light sensing data and the second light sensing data according to a first weight, and
weighting the light sensing data with smaller data value in the first light sensing data and the second light sensing data according to a second weight to obtain the light sensing data of the terminal; wherein the first weight is greater than the second weight.
2. The method for adjusting the screen brightness of the terminal according to the light sensing data, comprising the steps of:
acquiring light sensing data in a specified monitoring period;
calling a preset analysis model, and determining the change range of the light sensing data in the monitoring period;
and adjusting the screen brightness of the terminal according to the change range of the light sensing data in the monitoring period and the current screen brightness of the terminal.
3. The method for adjusting the screen brightness of the terminal according to the light sensing data variation range in the monitoring period and the current screen brightness of the terminal, as claimed in claim 2, comprises:
if the light sensing data change range in the monitoring period belongs to the light sensing data range corresponding to the current screen brightness of the terminal, the screen brightness of the terminal is unchanged;
if the light sensing data in the light sensing data change range in the monitoring period is higher than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, reducing the screen brightness of the terminal;
and if the light sensing data in the light sensing data change range in the monitoring period is lower than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, improving the screen brightness of the terminal.
4. The screen brightness adjustment method according to claim 1, further comprising:
determining the current scene of the terminal, and adjusting the screen brightness of the terminal to be matched with the brightness of the scene.
5. The screen brightness adjusting method of claim 4, wherein the determining of the current scene of the terminal comprises:
acquiring current geographical position information of the terminal through a global positioning system, and determining the current scene of the terminal according to the current geographical position information; and/or
And acquiring the current motion state information of the terminal through an acceleration sensor, and determining the current scene of the terminal according to the current motion state information.
6. A screen brightness adjusting device is applied to a terminal, the terminal comprises a front light sensor and a rear light sensor, and the device comprises:
the acquisition unit is used for acquiring first light sensing data acquired by the front light sensor and acquiring second light sensing data acquired by the rear light sensor;
the light sensing data determining unit is used for determining the light sensing data of the terminal according to the first light sensing data and the second light sensing data;
the adjusting unit is used for adjusting the screen brightness of the terminal according to the light sensing data;
the light sensing data determining unit determines the light sensing data of the terminal according to the first light sensing data and the second light sensing data in the following manner:
weighting the light sensing data with larger data value in the first light sensing data and the second light sensing data according to a first weight, and
weighting the light sensing data with smaller data value in the first light sensing data and the second light sensing data according to a second weight to obtain the light sensing data of the terminal; wherein the first weight is greater than the second weight.
7. The screen brightness adjusting apparatus according to claim 6, wherein the adjusting unit adjusts the screen brightness of the terminal according to the light sensing data in the following manner:
acquiring light sensing data in a specified monitoring period;
calling a preset analysis model, and determining the variation range of the light sensing data in the monitoring period;
and adjusting the screen brightness of the terminal according to the change range of the light sensing data in the monitoring period and the current screen brightness of the terminal.
8. The screen brightness adjusting apparatus according to claim 7, wherein the adjusting unit adjusts the screen brightness of the terminal according to the variation range of the light sensing data in the monitoring period and the current screen brightness of the terminal in the following manner:
if the light sensing data change range in the monitoring period belongs to the light sensing data range corresponding to the current screen brightness of the terminal, the screen brightness of the terminal is unchanged;
if the light sensing data in the light sensing data change range in the monitoring period is higher than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, reducing the screen brightness of the terminal;
and if the light sensing data in the light sensing data change range in the monitoring period is lower than the light sensing data in the light sensing data range corresponding to the current screen brightness of the terminal screen, improving the screen brightness of the terminal.
9. The screen brightness adjustment device of claim 6, wherein the adjustment unit is further configured to:
determining the current scene of the terminal, and adjusting the screen brightness of the terminal to be matched with the brightness of the scene.
10. The screen brightness adjusting apparatus according to claim 9, wherein the adjusting unit determines the current scene of the terminal by:
acquiring current geographical position information of the terminal through a global positioning system, and determining the current scene of the terminal according to the current geographical position information; and/or
And acquiring the current motion state information of the terminal through an acceleration sensor, and determining the current scene of the terminal according to the current motion state information.
11. A screen brightness adjustment apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the screen brightness adjustment method of any one of claims 1-5 is performed.
12. A non-transitory computer-readable storage medium storing computer-executable instructions which, when executed by a processor, perform the screen brightness adjustment method of any one of claims 1-5.
CN202010086760.4A 2020-02-11 2020-02-11 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium Active CN111128092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010086760.4A CN111128092B (en) 2020-02-11 2020-02-11 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010086760.4A CN111128092B (en) 2020-02-11 2020-02-11 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium

Publications (2)

Publication Number Publication Date
CN111128092A CN111128092A (en) 2020-05-08
CN111128092B true CN111128092B (en) 2021-07-23

Family

ID=70491857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010086760.4A Active CN111128092B (en) 2020-02-11 2020-02-11 Screen brightness adjusting method, screen brightness adjusting device and computer storage medium

Country Status (1)

Country Link
CN (1) CN111128092B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202962B (en) * 2020-08-28 2023-03-24 北京小米移动软件有限公司 Screen brightness adjusting method and device and storage medium
CN114187874B (en) * 2020-09-15 2023-07-18 北京小米移动软件有限公司 Brightness adjusting method, device and storage medium
CN112150983B (en) * 2020-09-28 2022-04-26 Oppo(重庆)智能科技有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN113329122A (en) * 2021-05-13 2021-08-31 上海龙旗科技股份有限公司 Method and equipment for adjusting screen brightness of mobile terminal
CN114495862A (en) * 2022-01-24 2022-05-13 上海闻泰信息技术有限公司 Method for acquiring ambient light sensitivity value, electronic device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210311A (en) * 2016-07-11 2016-12-07 广东欧珀移动通信有限公司 The control method of screen intensity and device
CN106257581A (en) * 2015-06-18 2016-12-28 三星电子株式会社 User terminal apparatus and the method being used for adjusting brightness thereof
CN108550353A (en) * 2018-04-20 2018-09-18 Oppo广东移动通信有限公司 Brightness adjusting method and related product

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789230B (en) * 2009-01-24 2013-09-04 联想(北京)有限公司 Electronic equipment and display device screen brightness adjusting method thereof
CN104517585A (en) * 2013-09-29 2015-04-15 联想(北京)有限公司 Method and device for adjusting display screen
US9875722B2 (en) * 2015-08-05 2018-01-23 International Business Machines Corporation Optimized screen brightness control using multi-point light intensity input
US20160005362A1 (en) * 2015-09-08 2016-01-07 Mediatek Inc. Determination Of Optical Condition And Adjustment Of Display
KR102504308B1 (en) * 2016-03-02 2023-02-28 삼성전자주식회사 Method and terminal for controlling brightness of screen and computer-readable recording medium
CN105654923B (en) * 2016-03-30 2018-09-04 广东欧珀移动通信有限公司 A kind of back light brightness regulating method and user terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106257581A (en) * 2015-06-18 2016-12-28 三星电子株式会社 User terminal apparatus and the method being used for adjusting brightness thereof
CN106210311A (en) * 2016-07-11 2016-12-07 广东欧珀移动通信有限公司 The control method of screen intensity and device
CN108550353A (en) * 2018-04-20 2018-09-18 Oppo广东移动通信有限公司 Brightness adjusting method and related product

Also Published As

Publication number Publication date
CN111128092A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
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
EP3032821B1 (en) Method and device for shooting a picture
CN107493500B (en) Multimedia resource playing method and device
US20170154604A1 (en) Method and apparatus for adjusting luminance
CN106250430B (en) Method and device for sorting intelligent device list
CN110059547B (en) Target detection method and device
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
CN109522058B (en) Wake-up method, device, terminal and storage medium
CN108629814B (en) Camera adjusting method and device
EP3125514A1 (en) Method and device for state notification
CN106101441B (en) Terminal control method and device
CN111131596B (en) Screen brightness adjusting method and device
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN112925466B (en) Touch control method and device
CN106775246B (en) Screen brightness adjusting method and device
US9723218B2 (en) Method and device for shooting a picture
CN110677470B (en) Service information pushing method and device and computer readable storage medium
CN108769513B (en) Camera photographing method and device
CN108365645B (en) Charging control method and device and storage medium
CN108231037B (en) Method and device for determining screen brightness setting range
CN112148149A (en) Touch screen control method, touch screen control device and storage medium
CN107122286B (en) Method and device for counting event information
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
GR01 Patent grant
GR01 Patent grant