CN108682400B - Brightness adjusting method and device - Google Patents

Brightness adjusting method and device Download PDF

Info

Publication number
CN108682400B
CN108682400B CN201810826820.4A CN201810826820A CN108682400B CN 108682400 B CN108682400 B CN 108682400B CN 201810826820 A CN201810826820 A CN 201810826820A CN 108682400 B CN108682400 B CN 108682400B
Authority
CN
China
Prior art keywords
light intensity
period
intensity information
preset
brightness
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
CN201810826820.4A
Other languages
Chinese (zh)
Other versions
CN108682400A (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 CN201810826820.4A priority Critical patent/CN108682400B/en
Publication of CN108682400A publication Critical patent/CN108682400A/en
Application granted granted Critical
Publication of CN108682400B publication Critical patent/CN108682400B/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
    • 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
    • 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 brightness adjustment method and device. The method comprises the following steps: when the screen is automatically lightened, setting a preset period as a first period; acquiring a plurality of continuously acquired light intensity information in the preset period; determining the brightness of the current backlight according to the plurality of light intensity information; acquiring a time interval from the screen lighting time to the current time; and when the time interval is greater than or equal to the preset duration, increasing the length of the preset period to a second period. According to the technical scheme, the less the light intensity information acquired in a shorter period, the more the calculated brightness of the current backlight is consistent with the brightness of the current environment, so that the current backlight can quickly react according to the brightness of the current environment, the problem that the brightness adjustment of the backlight is delayed when the ambient light is extremely changed is solved, and the user experience is improved.

Description

Brightness adjusting method and device
Technical Field
The present disclosure relates to the field of electronics, and in particular, to a brightness adjustment method and apparatus.
Background
At present, intelligent terminals are more and more widely used, most of the intelligent terminals are interacted with users through screens, and in order to improve user experience of user interaction, the backlight of the screens can change brightness according to ambient light. For example, in the outdoors from indoors to noon in a sunny day, the backlight intensity may be smoothly turned on so that the user can see the content displayed on the screen clearly; when the indoor light is turned off at night, the backlight intensity is smoothly dimmed so that a user does not feel dazzling when watching a screen. However, if the light of the environment changes extremely, the effect of the smooth adjustment effect of the backlight adjustment is not good, which may result in that the user cannot see the contents displayed on the screen clearly.
Disclosure of Invention
The embodiment of the disclosure provides a brightness adjusting method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a brightness adjustment method, including:
when the screen is automatically lightened, setting a preset period as a first period;
acquiring a plurality of continuously acquired light intensity information in the preset period;
determining the brightness of the current backlight according to the plurality of light intensity information;
acquiring a time interval from the screen lighting time to the current time;
when the time interval is greater than or equal to the preset duration, increasing the length of the preset period to a second period; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the less the light intensity information acquired in a shorter period is, the more the calculated brightness of the current backlight conforms to the brightness of the current environment, so that the current backlight can quickly react according to the brightness of the current environment, the problem that the brightness adjustment of the backlight is delayed when the ambient light is extremely changed is solved, and the user experience is improved.
Meanwhile, the screen can be adjusted smoothly in the using process except for the time period beyond the preset time after the screen is lightened, the screen cannot be ignored, and the user experience is improved.
In one embodiment, the acquiring a plurality of pieces of light intensity information collected continuously in the preset period includes:
sequentially storing n pieces of light intensity information to an annular cache region according to an acquisition sequence;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
In one embodiment, the increasing the length of the preset period includes:
and increasing the length of the annular cache region to a preset length so that the increased annular cache region can store m pieces of illumination intensity information, wherein m is an integer larger than n.
In one embodiment, the light intensity information includes at least light intensity, and the determining the brightness of the current backlight according to the plurality of light intensity information includes:
determining a weighted value of the light intensity in the plurality of light intensity information according to the arrangement sequence of the plurality of light intensity information;
determining weighted light intensity according to the weighted value and the light intensity in the plurality of pieces of light intensity information;
and according to a preset corresponding relation between the light intensity and the brightness, taking the brightness corresponding to the determined weighted light intensity as the brightness of the current backlight.
According to a second aspect of the embodiments of the present disclosure, there is provided a luminance adjusting device including:
the setting module is used for setting a preset period as a first period when the screen is automatically lightened;
the first acquisition module is used for acquiring a plurality of continuously acquired light intensity information in the preset period;
the determining module is used for determining the brightness of the current backlight according to the light intensity information;
the second acquisition module is used for acquiring a time interval from the screen lighting moment to the current moment;
the increasing module is used for increasing the length of the preset period to a second period when the time interval is greater than or equal to the preset time length; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
In one embodiment, the first obtaining module comprises:
the storage submodule is used for sequentially storing n pieces of light intensity information to the annular cache region according to the acquisition sequence;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
In one embodiment, the growth module includes:
and the increasing submodule is used for increasing the length of the annular cache region to a preset length so that the increased annular cache region can store m pieces of illumination intensity information, wherein m is an integer larger than n.
In one embodiment, the light intensity information comprises at least light intensity, the determining means comprising:
a first determining sub-module, configured to determine, according to the permutation sequence of the multiple pieces of light intensity information, a weighted value of light intensity in the multiple pieces of light intensity information;
a second determining sub-module, configured to determine a weighted light intensity according to the weighted value and a light intensity in the plurality of light intensity information;
and the third determining submodule is used for determining the brightness corresponding to the weighted light intensity as the brightness of the current backlight according to the preset corresponding relation between the light intensity and the brightness.
According to a third aspect of the embodiments of the present disclosure, there is provided a luminance adjustment device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
after a screen is lightened, acquiring a plurality of continuously acquired light intensity information in a preset period;
determining the brightness of the current backlight according to the plurality of light intensity information;
acquiring a time interval from the screen lighting time to the current time;
when the time interval is greater than or equal to the preset duration, increasing the length of the preset period to a first period;
wherein the longer the preset period is, the more the acquired light intensity information is.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a brightness adjustment method and apparatus according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a brightness adjustment method and apparatus according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a brightness adjustment method and apparatus according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a brightness adjustment method and apparatus according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a brightness adjustment method and apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a brightness adjustment apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a brightness adjustment apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a brightness adjustment apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a brightness adjustment apparatus according to an exemplary embodiment.
FIG. 10 is a block diagram illustrating a brightness adjustment 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. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, the intelligent terminal has the function of automatically adjusting backlight, but if the intelligent terminal is in a dark environment, for example, in a carry-on bag, if the screen is automatically lighted, when a user takes out the intelligent terminal from the carry-on bag, the backlight intensity of the screen is still adapted to the backlight intensity in the carry-on bag for a long time, and then the backlight intensity can be slowly lightened, so that the user experience is influenced.
Fig. 1 is a flowchart illustrating a brightness adjusting method according to an exemplary embodiment, where, as shown in fig. 1, the brightness adjusting method is used in a brightness adjusting device, the brightness adjusting device is applied to an intelligent terminal, and the method may include the following steps 101 and 105:
in step 101, when the screen is automatically lit, a preset period is set as a first period.
The manner of automatically lighting the screen in this embodiment includes many ways, for example, the terminal receives the message forwarded by the server, an incoming call, a timed alarm, a reminder of a memo, and so on.
The manner of manually lighting up the screen in this embodiment generally includes that the user clicks a power key, slides the screen, or triggers the screen to light up through a fingerprint.
In step 102, a plurality of pieces of light intensity information collected continuously are acquired in a preset period.
The first period is a short period, and therefore, the amount of light intensity information acquired in this period is small. The light intensity information is acquired by the photosensitive sensor according to the own acquisition cycle, the photosensitive sensor acquires one light intensity information, the device acquires one light intensity information until the preset cycle is completed, the next preset cycle is entered, the acquired light intensity information is continuously acquired, the acquisition cycle is unrelated to the preset cycle, and the acquisition cycle is set by the photosensitive sensor.
Here, the first period is 1 second, and the number of light intensity information may be 5.
In step 103, the brightness of the current backlight is determined according to the plurality of light intensity information.
Here, the more the light intensity information is, when the ambient light changes, the more the difference between the obtained current backlight brightness and the backlight brightness of the previous preset period is, the smaller the difference is, so that the backlight brightness changes more slowly and smoothly, but if the ambient light changes more extremely, the backlight brightness change cannot follow the ambient light change, the user may not be able to see the content displayed on the screen clearly, and the user experience is not high; the less the light intensity information is, the larger the difference between the obtained current backlight brightness and the backlight brightness in the last preset period is, the more quickly the ambient light can be responded, the luminance of the backlight which is most matched with the ambient light is converted, but if the ambient light is changed for a long time, the backlight brightness is changed too frequently, the screen is dim and dim, and the user experience is poor. Here, the backlight refers to light on a rear panel of the screen.
In step 104, a time interval from the screen lighting time to the current time is acquired.
In step 105, when the time interval is greater than or equal to the preset duration, the length of the preset period is increased to a second period.
Since such a short period cannot be maintained all the time, the screen may be overlooked for a long time, and thus, needs to be increased to a second, longer period. Here, the preset time period is 2 minutes.
Here, the second period is a period when the screen is manually lit, which is set in advance.
Wherein the shorter the preset period is, the less the acquired light intensity information is.
In the embodiment, the less the light intensity information acquired in a shorter period is, the more the calculated brightness of the current backlight conforms to the brightness of the current environment, so that the current backlight can quickly react according to the brightness of the current environment, the problem that the brightness adjustment of the backlight is delayed when the ambient light is extremely changed is solved, and the user experience is improved.
Meanwhile, the screen can be adjusted smoothly in the using process except for the time period beyond the preset time after the screen is lightened, the screen cannot be ignored, and the user experience is improved.
In one embodiment, fig. 2 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment, as shown in fig. 2, step 102 in fig. 1, namely acquiring a plurality of continuously collected light intensity information within a preset period, including:
in step 1021, sequentially storing the n light intensity information into the ring buffer according to the collection order.
Wherein n is determined according to a preset period and a collection period for collecting light intensity information.
Here, the length of the ring buffer corresponds to the length of the preset period, and thus, the length of the ring buffer is also the first period, i.e., 1 second, when the screen is automatically lit.
In one embodiment, fig. 3 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment, where step 104 of fig. 1, i.e. increasing the length of the preset period, as shown in fig. 3, includes:
in step 1041, the length of the ring cache is increased to a preset length, so that the increased ring cache can store m pieces of illumination intensity information.
The preset length may be a second period, i.e., 10 seconds. The longer the length of the ring buffer, the more light intensity information can be stored, where the length of the ring buffer is also stored. m is an integer greater than n.
In one embodiment, fig. 4 is a flowchart illustrating a brightness adjustment method according to an exemplary embodiment, where as shown in fig. 4, the light intensity information at least includes a light intensity, and step 103 in fig. 1, namely, determining the brightness of the current backlight according to a plurality of light intensity information, may include:
in step 1031, a weighting value of the light intensity in the plurality of light intensity information is determined according to the arrangement sequence of the plurality of light intensity information.
In this embodiment, when the ring buffer is full, that is, a preset period is over, the weighting values are allocated according to the storage order (that is, the collection order) of the stored light intensities, where the allocation rule only needs to satisfy that the later weighting value is larger, and the earlier weighting value is stored.
For example, it is assumed that the annular storage area can store 5 light intensity information, and the corresponding light intensities are sequentially stored as 0lx, 10lx, 29lx, 70lx, and 150lx, where the weighted value of 0 is the lowest and the weighted value of 150 is the highest, so that the calculated weighted light intensity is the closest to the actual ambient light. If the light intensity is larger, the weight occupied by each light intensity is reduced, especially the weight of the next light intensity is reduced more, so that the weighted light intensity is more different from the actual ambient light.
Here, the lengths of the ring storage areas are different, and the assigned weight values of the corresponding weight values are different, but the assignment rule is complied with, and the specific weight value can be preset.
In step 1032, a weighted light intensity is determined based on the weighted value and the light intensity in the plurality of light intensity information.
A weighted average is calculated from the stored light intensity information, the weighted average being the weighted light intensity.
In step 1033, the determined brightness corresponding to the weighted light intensity is used as the current backlight brightness according to the preset corresponding relationship between the light intensity and the brightness.
Here, the correspondence relationship is set in advance, and the higher the light intensity is, the higher the luminance is, and the smaller the light intensity is, the lower the luminance is.
When the screen is initially lighted, the length of a shorter annular cache region is set, wherein the shorter the length is, the less the number of the stored light intensity information is, 5 pieces of light intensity information which is strongly changed are collected by the photosensitive sensor and stored in the annular cache region, the annular cache region is rapidly filled up, the brightness of the backlight is calculated through the stored light intensity information, the backlight is adjusted according to the calculated brightness of the backlight, meanwhile, the annular cache region is emptied, the storage and the calculation are continuously carried out, in the process, the calculated brightness of the backlight can rapidly respond to the actual ambient light every time due to the small number of the stored light intensity information, and when the time for lighting the screen reaches the preset time, the preset period is increased.
Fig. 5 is a flowchart illustrating a brightness adjusting method according to an exemplary embodiment, where, as shown in fig. 5, the brightness adjusting method is used in a brightness adjusting device, the device is applied to a smart terminal, and the method may include the following steps 201 and 208:
in step 201, when the screen is lit, it is determined whether the screen is automatically lit. If yes, go to step 202; if not, go to step 208.
In step 202, the length of the ring buffer is set to a first length.
In step 203, the n pieces of light intensity information are sequentially stored in the ring buffer according to the collection order.
Wherein n is determined according to a preset period and a collection period for collecting light intensity information.
In step 204, a weighting value of the light intensity in the plurality of light intensity information is determined according to the sequence of the plurality of light intensity information.
In step 205, a weighted light intensity is determined based on the weighted value and the light intensity in the plurality of light intensity information.
In step 206, the brightness corresponding to the determined weighted light intensity is used as the brightness of the current backlight according to the preset corresponding relationship between the light intensity and the brightness.
In step 207, the length of the ring buffer is increased to a preset length, so that the increased ring buffer can store m pieces of illumination intensity information.
m is an integer greater than n.
In step 208, the length of the ring buffer is set to a second length.
In this embodiment, the brightness of the backlight can be quickly adjusted within the preset duration of lighting the screen, and the screen can be adjusted smoothly in the using process except for the time period beyond the preset duration after the screen is lighted, so that the screen cannot be ignored, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a block diagram illustrating a brightness adjustment apparatus, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an exemplary embodiment. As shown in fig. 6, the brightness adjusting apparatus includes:
a setting module 301, configured to set a preset period as a first period when a screen is automatically lit;
a first obtaining module 302, configured to obtain a plurality of continuously collected light intensity information in the preset period;
a determining module 303, configured to determine the brightness of the current backlight according to the multiple pieces of light intensity information;
a second obtaining module 304, configured to obtain a time interval from the screen lighting time to a current time;
a growing module 305, configured to grow the length of the preset period to a second period when the time interval is greater than or equal to the preset duration; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
In the embodiment, the less the light intensity information acquired in a shorter period is, the more the calculated brightness of the current backlight conforms to the brightness of the current environment, so that the current backlight can quickly react according to the brightness of the current environment, the problem that the brightness adjustment of the backlight is delayed when the ambient light is extremely changed is solved, and the user experience is improved.
Meanwhile, the screen can be adjusted smoothly in the using process except for the time period beyond the preset time after the screen is lightened, the screen cannot be ignored, and the user experience is improved.
In one embodiment, as shown in fig. 7, the first obtaining module 302 includes:
the storage submodule 3021 is configured to sequentially store n pieces of light intensity information to the annular cache area according to the acquisition order;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
In one embodiment, as shown in FIG. 8, the grow module 305 includes:
the increasing submodule 3051 is configured to increase the length of the annular cache region to a preset length, so that the increased annular cache region can store m pieces of illumination intensity information, where m is an integer greater than n.
In one embodiment, as shown in fig. 9, the light intensity information at least includes light intensity, and the determining module 303 includes:
a first determining submodule 3031, configured to determine, according to the permutation sequence of the plurality of light intensity information, a weighted value of light intensity in the plurality of light intensity information;
a second determining submodule 3032, configured to determine a weighted light intensity according to the weighted value and the light intensity in the plurality of light intensity information;
and a third determining submodule 3033, configured to determine, according to a preset correspondence between light intensity and brightness, brightness corresponding to the determined weighted light intensity as brightness of the current backlight.
According to a third aspect of the embodiments of the present disclosure, there is provided a luminance adjustment device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the screen is automatically lightened, setting a preset period as a first period;
acquiring a plurality of continuously acquired light intensity information in the preset period;
determining the brightness of the current backlight according to the plurality of light intensity information;
acquiring a time interval from the screen lighting time to the current time;
when the time interval is greater than or equal to the preset duration, increasing the length of the preset period to a second period; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
The processor may be further configured to:
the acquiring of the plurality of continuously acquired light intensity information in the preset period includes:
sequentially storing n pieces of light intensity information to an annular cache region according to an acquisition sequence;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
The increasing the length of the preset period includes:
and increasing the length of the annular cache region to a preset length so that the increased annular cache region can store m pieces of illumination intensity information, wherein m is an integer larger than n.
The determining the brightness of the current backlight according to the plurality of light intensity information includes:
determining a weighted value of the light intensity in the plurality of light intensity information according to the arrangement sequence of the plurality of light intensity information;
determining weighted light intensity according to the weighted value and the light intensity in the plurality of pieces of light intensity information;
and according to a preset corresponding relation between the light intensity and the brightness, taking the brightness corresponding to the determined weighted light intensity as the brightness of the current backlight.
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. 10 is a block diagram illustrating a brightness adjustment apparatus for a terminal device according to an exemplary embodiment. For example, the apparatus 1700 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.
Apparatus 1700 may include one or more of the following components: processing component 1702, memory 1704, power component 1706, multimedia component 1708, audio component 1710, input/output (I/O) interface 1712, sensor component 1714, and communications component 1716.
The processing component 1702 generally controls the overall operation of the apparatus 1700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 1702 may include one or more processors 1720 to execute instructions to perform all or a portion of the steps of the above-described method. Further, processing component 1702 may include one or more modules that facilitate interaction between processing component 1702 and other components. For example, processing component 1702 may include a multimedia module to facilitate interaction between multimedia component 1708 and processing component 1702.
The memory 1704 is configured to store various types of data to support operations at the apparatus 1700. Examples of such data include instructions for any application or method operating on the apparatus 1700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1706 provides power to the various components of the device 1700. The power components 1706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1700.
The multimedia component 1708 includes a screen providing an output interface between the device 1700 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 1708 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 apparatus 1700 is in an operation mode, such as a photographing 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.
Audio component 1710 is configured to output and/or input audio signals. For example, audio component 1710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1700 is in an operating mode, such as a call mode, a record mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1704 or transmitted via the communication component 1716. In some embodiments, audio component 1710 also includes a speaker for outputting audio signals.
The I/O interface 1712 provides an interface between the processing component 1702 and peripheral interface modules, such as a keyboard, click wheel, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1714 includes one or more sensors for providing various aspects of state assessment for the apparatus 1700. For example, sensor assembly 1714 may detect an open/closed state of apparatus 1700, the relative positioning of components, such as a display and keypad of apparatus 1700, the change in position of apparatus 1700 or a component of apparatus 1700, the presence or absence of user contact with apparatus 1700, the orientation or acceleration/deceleration of apparatus 1700, and the change in temperature of apparatus 1700. The sensor assembly 1714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1714 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 1714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1716 is configured to facilitate communications between the apparatus 1700 and other devices in a wired or wireless manner. The apparatus 1700 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 1716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1716 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 1700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1704 comprising instructions, executable by the processor 1720 of the apparatus 1700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 1700, enable the apparatus 1700 to perform the above brightness adjustment method, the method comprising:
when the screen is automatically lightened, setting a preset period as a first period;
acquiring a plurality of continuously acquired light intensity information in the preset period;
determining the brightness of the current backlight according to the plurality of light intensity information;
acquiring a time interval from the screen lighting time to the current time;
when the time interval is greater than or equal to the preset duration, increasing the length of the preset period to a second period; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
The acquiring of the plurality of continuously acquired light intensity information in the preset period includes:
sequentially storing n pieces of light intensity information to an annular cache region according to an acquisition sequence;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
The increasing the length of the preset period includes:
and increasing the length of the annular cache region to a preset length so that the increased annular cache region can store m pieces of illumination intensity information, wherein m is an integer larger than n.
The determining the brightness of the current backlight according to the plurality of light intensity information includes:
determining a weighted value of the light intensity in the plurality of light intensity information according to the arrangement sequence of the plurality of light intensity information;
determining weighted light intensity according to the weighted value and the light intensity in the plurality of pieces of light intensity information;
and according to a preset corresponding relation between the light intensity and the brightness, taking the brightness corresponding to the determined weighted light intensity as the brightness of the current backlight.
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 application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (10)

1. A brightness adjustment method, comprising:
when the screen is automatically lightened, setting a preset period as a first period;
acquiring a plurality of continuously acquired light intensity information in the preset period;
determining the brightness of the current backlight according to the plurality of light intensity information;
acquiring a time interval from the screen lighting time to the current time;
when the time interval is greater than or equal to a preset time length, increasing the length of the preset period to a second period; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
2. The method according to claim 1, wherein the acquiring a plurality of pieces of light intensity information collected continuously in the preset period comprises:
sequentially storing n pieces of light intensity information to an annular cache region according to an acquisition sequence;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
3. The method of claim 2, wherein said increasing the length of said preset period comprises:
and increasing the length of the annular cache region to a preset length so that the increased annular cache region can store m pieces of illumination intensity information, wherein m is an integer larger than n.
4. The method of claim 1, wherein the light intensity information comprises at least a light intensity, and wherein determining the current backlight brightness based on the plurality of light intensity information comprises:
determining a weighted value of the light intensity in the plurality of light intensity information according to the arrangement sequence of the plurality of light intensity information;
determining weighted light intensity according to the weighted value and the light intensity in the plurality of pieces of light intensity information;
and according to a preset corresponding relation between the light intensity and the brightness, taking the brightness corresponding to the determined weighted light intensity as the brightness of the current backlight.
5. A luminance adjustment device, characterized by comprising:
the setting module is used for setting a preset period as a first period when the screen is automatically lightened;
the first acquisition module is used for acquiring a plurality of continuously acquired light intensity information in the preset period;
the determining module is used for determining the brightness of the current backlight according to the light intensity information;
the second acquisition module is used for acquiring a time interval from the screen lighting moment to the current moment;
the increasing module is used for increasing the length of the preset period to a second period when the time interval is greater than or equal to a preset time length; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
6. The apparatus of claim 5, wherein the first obtaining module comprises:
the storage submodule is used for sequentially storing n pieces of light intensity information to the annular cache region according to the acquisition sequence;
wherein n is determined according to the preset period and the acquisition period of the acquired light intensity information.
7. The apparatus of claim 6, wherein the growth module comprises:
and the increasing submodule is used for increasing the length of the annular cache region to a preset length so that the increased annular cache region can store m pieces of illumination intensity information, wherein m is an integer larger than n.
8. The apparatus of claim 5, wherein the light intensity information comprises at least a light intensity, and wherein the determining module comprises:
a first determining sub-module, configured to determine, according to the permutation sequence of the multiple pieces of light intensity information, a weighted value of light intensity in the multiple pieces of light intensity information;
a second determining sub-module, configured to determine a weighted light intensity according to the weighted value and a light intensity in the plurality of light intensity information;
and the third determining submodule is used for determining the brightness corresponding to the weighted light intensity as the brightness of the current backlight according to the preset corresponding relation between the light intensity and the brightness.
9. A luminance adjustment device, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the screen is automatically lightened, setting a preset period as a first period;
acquiring a plurality of continuously acquired light intensity information in the preset period;
determining the brightness of the current backlight according to the plurality of light intensity information;
acquiring a time interval from the screen lighting time to the current time;
when the time interval is greater than or equal to a preset time length, increasing the length of the preset period to a second period; the second period is a period preset when the screen is manually lighted;
wherein the shorter the preset period is, the less the acquired light intensity information is.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810826820.4A 2018-07-25 2018-07-25 Brightness adjusting method and device Active CN108682400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810826820.4A CN108682400B (en) 2018-07-25 2018-07-25 Brightness adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810826820.4A CN108682400B (en) 2018-07-25 2018-07-25 Brightness adjusting method and device

Publications (2)

Publication Number Publication Date
CN108682400A CN108682400A (en) 2018-10-19
CN108682400B true CN108682400B (en) 2020-06-19

Family

ID=63814924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810826820.4A Active CN108682400B (en) 2018-07-25 2018-07-25 Brightness adjusting method and device

Country Status (1)

Country Link
CN (1) CN108682400B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112017598A (en) * 2019-05-30 2020-12-01 北京小米移动软件有限公司 Backlight brightness adjusting method and device
CN112492102B (en) * 2019-08-20 2022-01-25 青岛海信移动通信技术股份有限公司 Terminal screen brightness control method, terminal and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005006260A (en) * 2003-06-16 2005-01-06 Nec Saitama Ltd Method and program for controlling mobile terminal and backlight
CN102946459B (en) * 2012-11-01 2015-04-08 广东欧珀移动通信有限公司 Rapid regulation method for screen backlight brightness and mobile terminal
CN103000144B (en) * 2012-12-24 2016-05-04 深圳Tcl新技术有限公司 A kind of backlight adjusting method of liquid crystal indicator and device
KR20150043934A (en) * 2013-10-15 2015-04-23 삼성전자주식회사 Method and apparatus for control brightness of display
CN107393484A (en) * 2014-07-04 2017-11-24 联想(北京)有限公司 A kind of system control method and electronic equipment
CN105575334B (en) * 2015-07-10 2018-11-06 宇龙计算机通信科技(深圳)有限公司 A kind of screen luminance adjustment method and user terminal
CN105679252B (en) * 2016-03-01 2018-05-18 广东欧珀移动通信有限公司 The quick method and system that backlight illumination is set
CN106060285A (en) * 2016-08-15 2016-10-26 广东欧珀移动通信有限公司 Backlight control method and device, and mobile terminal

Also Published As

Publication number Publication date
CN108682400A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
US10204595B2 (en) Methods and devices for adjusting screen brightness
CN106527160B (en) Equipment control method and device
CN108040360B (en) Method and device for controlling screen display
CN109360261B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108200279B (en) Backlight adjusting method, device and equipment
CN108682400B (en) Brightness adjusting method and device
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN106775246B (en) Screen brightness adjusting method and device
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN112037719B (en) Screen brightness adjusting method and device
CN110677470B (en) Service information pushing method and device and computer readable storage medium
CN112017598A (en) Backlight brightness adjusting method and device
CN107979695B (en) Network message receiving method and device and storage medium
CN111385400A (en) Backlight brightness adjusting method and device
CN111314550A (en) Display control method and device, mobile terminal and storage medium
CN112019680A (en) Screen brightness adjusting method and device
CN106254919B (en) The method of adjustment and device of smart television working condition
CN114187874B (en) Brightness adjusting method, device and storage medium
US11617023B2 (en) Method for brightness enhancement of preview image, apparatus, and medium
CN109189306B (en) Operation mode switching method and device
CN111107624B (en) Negative one-screen synchronization method, negative one-screen synchronization device and electronic equipment
CN111883040B (en) Display effect adjusting method and device of display screen, terminal equipment and medium
CN113851096B (en) Brightness detection method, device and storage medium
CN111462284B (en) Animation generation method, animation generation device and electronic equipment

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