Brightness adjustment method and apparatus, and electronic device
By using a frequency conversion dimming method that dynamically adjusts the frequency according to the brightness range when the brightness of electronic devices is low, the problems of power consumption waste and poor display effect caused by high-frequency dimming are solved, achieving eye protection and energy-saving display under full brightness conditions.
Patent Information
- Application Number
- PCT/CN2024/096321
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-25
- Filing Date
- 2024-05-30
- Publication Date
- 2025-01-02
AI Technical Summary
Existing technologies use high-frequency dimming when the screen brightness of electronic devices is low, which leads to wasted power consumption and affects the display effect, and fails to provide good eye protection under full brightness conditions.
When the brightness is low, the screen brightness is adjusted by dividing the current brightness into multiple brightness ranges and dynamically adjusting the adjustment frequency. This is done by using frequency conversion dimming to adjust the screen brightness, avoiding the power waste caused by uniform high-frequency adjustment. The adjustment frequency change is determined based on the flicker visibility measurement value.
While saving power, it ensures display quality and eye protection, thus improving the user experience.
Smart Images

Figure CN2024096321_02012025_PF_FP_ABST
Abstract
Description
Method, device and electronic device for adjusting brightness
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on June 25, 2023, with application number 202310756918.8, and invention name “Method, device and electronic device for adjusting brightness”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of electronic devices, and more particularly to a method, device, and electronic device for adjusting brightness. Background Art
[0003] With the advancement of science and technology, people can now interact with various functions through the screens of electronic devices. To enhance user comfort, high-frequency dimming can be used to adjust the brightness of electronic device screens. However, high-frequency dimming currently only works when the screen brightness is low. Furthermore, the dimming frequency is closely related to the power consumption of the electronic device and the user experience.
[0004] Therefore, how to adjust the brightness of the electronic device screen under full brightness conditions to provide users with good eye protection while saving power consumption is an urgent problem to be solved.
[0005] Summary of the Invention
[0006] The present application provides a method, device, and electronic device for adjusting brightness. The method enables the electronic device to adjust brightness by variable frequency when the current brightness is low, thereby avoiding the waste of power consumption caused by uniform high-frequency adjustment.
[0007] In a first aspect, a method for adjusting brightness is provided. The method is applied to an electronic device, including: determining that the current brightness is less than a brightness threshold; determining a brightness interval to which the current brightness belongs, the brightness interval to which the current brightness belongs being one of at least two brightness intervals, and the brightness of the at least two brightness intervals being less than the brightness threshold; determining an adjustment frequency according to the brightness interval to which the current brightness belongs, the adjustment frequency being greater than or equal to a frequency threshold; and adjusting the brightness according to the adjustment frequency.
[0008] Exemplarily, the adjustment frequency being greater than or equal to the frequency threshold can be understood as the adjustment frequency being a high frequency.
[0009] It should be noted that the brightness threshold can be 90nit. When the current brightness is less than the brightness threshold, it means that the current brightness is low. When the current brightness is low, the adjustment frequency used to adjust the brightness is not only high frequency, but can also change with the change of the current brightness. It can also be understood that according to the current brightness, the adjustment frequency can include multiple gears. When the current brightness is less than the brightness threshold, the brightness can be specifically divided into multiple brightness intervals, and the adjustment frequencies corresponding to different brightness intervals can be different, and the adjustment frequency can change with the change of the current brightness.
[0010] Based on the above method, when the electronic device is currently experiencing low brightness, the adjustment frequency can be determined based on the brightness range to which the current actual brightness belongs. The adjustment frequency can also be divided into multiple gears according to the brightness range to which the current brightness belongs, so that different brightness ranges correspond to different adjustment frequencies, thereby achieving variable-frequency dimming under such conditions. This can avoid using a uniform high-frequency frequency to adjust the brightness when the current brightness is low, which not only wastes power but also affects the display quality, and can also provide good eye protection for users.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the brightness of each brightness interval is negatively correlated with the flicker visibility measurement value; before determining the brightness interval to which the current brightness belongs, the method also includes: determining the at least two brightness intervals based on the flicker visibility measurement value.
[0012] It should be noted that as the brightness of each brightness interval decreases, the stroboscopic visibility measure (SVM) increases.
[0013] Based on the above solution, there is a certain correspondence between brightness and flicker visibility measurement values. The brightness can be divided into at least two brightness intervals according to the flicker visibility measurement values, so as to facilitate the subsequent determination of the adjustment frequency according to the brightness intervals.
[0014] In combination with the first aspect, in certain implementations of the first aspect, determining the at least two brightness intervals based on the flicker visibility measurement value includes: when the flicker visibility measurement value corresponding to the first brightness reaches the flicker visibility measurement threshold, the first brightness is the brightness critical value of two adjacent brightness intervals in the at least two brightness intervals; and determining the at least two brightness intervals based on the brightness critical value.
[0015] Based on the above scheme, at least two brightness intervals can be determined based on the brightness threshold. Since the adjustment frequencies corresponding to different brightness intervals are different, when the first brightness is reached, since the first brightness is the brightness threshold of two adjacent brightness intervals, the adjustment frequency at the brightness threshold will suddenly change, thereby reducing the SVM value and ensuring good eye protection.
[0016] In combination with the first aspect, in certain implementations of the first aspect, the at least two brightness intervals include a first brightness interval and a second brightness interval, the brightness of the first brightness interval is less than the brightness of the second brightness interval, and the adjustment frequency corresponding to the first brightness interval is greater than the adjustment frequency corresponding to the second brightness interval.
[0017] It should be noted that the lower the current brightness, the higher the adjustment frequency.
[0018] Based on the above method, as the current brightness decreases, increasing the adjustment frequency will reduce the flicker visibility measurement value to a certain extent. The lower the SVM value, the less flicker impact and the better the eye protection effect.
[0019] In combination with the first aspect, in certain implementations of the first aspect, the adjustment frequency corresponding to the first brightness range is P times the display frame rate of the electronic device, and the adjustment frequency corresponding to the second brightness range is Q times the display frame rate of the electronic device; wherein Q is a positive integer greater than or equal to 1, and P is a positive integer greater than Q.
[0020] That is, the adjustment frequency is related to the display frame rate of the electronic device, and the adjustment frequency may be a positive integer multiple of the display frame rate of the electronic device.
[0021] In combination with the first aspect, in certain implementations of the first aspect, before adjusting the brightness according to the adjustment frequency, the method also includes: displaying a second interface in response to a user's operation on a first option on a first interface of the electronic device; displaying a third interface in response to a user's operation on a second option on the second interface; adjusting the brightness according to the adjustment frequency in response to a user's operation on a first control on the third interface; or adjusting the brightness according to the adjustment frequency in response to a user's operation on a second control on the third interface.
[0022] It should be noted that the electronic device can adjust the screen brightness under the condition that the user triggers a certain operation. Further, the electronic device can also automatically trigger the adjustment of the screen brightness according to the brightness of the current surrounding environment based on the system preset.
[0023] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: when the brightness is adjusted according to the adjustment frequency corresponding to the first brightness range, the electronic device displays a first number of stripes; when the brightness is adjusted according to the adjustment frequency corresponding to the second brightness range, the electronic device displays a second number of stripes, and the first number is greater than the second number.
[0024] It should be noted that the modulation frequency can be intuitively obtained by measuring the number of stripes on the screen of an electronic device captured by a high-speed camera; or the modulation frequency can be determined by changes in the number of stripes. As the modulation frequency increases, the number of stripes also increases.
[0025] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: determining that the current brightness is greater than or equal to the brightness threshold; and adjusting the brightness according to a fixed frequency, where the fixed frequency is less than the frequency threshold.
[0026] Exemplarily, the fixed frequency being less than the frequency threshold can be understood as the fixed frequency being a low frequency.
[0027] In combination with the first aspect, in some implementations of the first aspect, the fixed frequency is N times the display frame rate of the electronic device, where N is a positive integer greater than or equal to 1.
[0028] It should be noted that when the brightness is high, a fixed low frequency can be used to adjust the brightness. The fixed frequency does not change with the current brightness. The fixed frequency is related to the electronic device display frame rate, for example, it can be a positive integer multiple of the electronic device display frame rate.
[0029] In a second aspect, an electronic device is provided, comprising: one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs comprising instructions, which, when executed by the one or more processors, cause the electronic device to perform the following steps: determining that a current brightness is less than a brightness threshold; determining a brightness interval to which the current brightness belongs, the brightness interval to which the current brightness belongs being one of at least two brightness intervals, the brightness of the at least two brightness intervals being less than the brightness threshold; determining an adjustment frequency according to the brightness interval to which the current brightness belongs, the adjustment frequency being greater than or equal to the frequency threshold, each brightness interval in the at least two brightness intervals corresponding to an adjustment frequency; and adjusting the brightness according to the adjustment frequency.
[0030] In combination with the second aspect, in certain implementations of the second aspect, the brightness of each brightness interval is negatively correlated with the flicker visibility measurement value; when the instruction is executed by the one or more processors, the electronic device performs the following steps: determining the at least two brightness intervals based on the flicker visibility measurement value.
[0031] In combination with the second aspect, in certain implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: when the flicker visibility measurement value corresponding to the first brightness reaches the flicker visibility measurement threshold, the first brightness is the brightness critical value of two adjacent brightness intervals in the at least two brightness intervals; and at least two brightness intervals are determined based on the brightness critical value.
[0032] In combination with the second aspect, in certain implementations of the second aspect, the at least two brightness intervals include a first brightness interval and a second brightness interval, the brightness of the first brightness interval is less than the brightness of the second brightness interval, and the adjustment frequency corresponding to the first brightness interval is greater than the adjustment frequency corresponding to the second brightness interval.
[0033] In combination with the second aspect, in certain implementations of the second aspect, the adjustment frequency corresponding to the first brightness range is P times the display frame rate of the electronic device, and the adjustment frequency corresponding to the second brightness range is Q times the display frame rate of the electronic device; wherein Q is a positive integer greater than or equal to 1, and P is a positive integer greater than Q.
[0034] In combination with the second aspect, in certain implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: displaying a second interface in response to a user's operation on a first option on a first interface of the electronic device; displaying a third interface in response to a user's operation on a second option on the second interface; adjusting the brightness according to the adjustment frequency in response to a user's operation on a first control on the third interface; or adjusting the brightness according to the adjustment frequency in response to a user's operation on a second control on the third interface.
[0035] In combination with the second aspect, in certain implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: when the brightness is adjusted according to the adjustment frequency corresponding to the first brightness range, the electronic device displays a first number of stripes; when the brightness is adjusted according to the adjustment frequency corresponding to the second brightness range, the electronic device displays a second number of stripes, and the first number is greater than the second number.
[0036] In combination with the second aspect, in certain implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: confirming that the current brightness is greater than or equal to the brightness threshold; adjusting the brightness according to a fixed frequency, and the fixed frequency is less than the frequency threshold.
[0037] In combination with the second aspect, in some implementations of the second aspect, the fixed frequency is N times the display frame rate of the electronic device, where N is a positive integer greater than or equal to 1.
[0038] In a third aspect, a device for adjusting brightness is provided, comprising: a processor coupled to a memory, the memory being used to store a computer program, the processor being used to run the computer program, so that the device for adjusting brightness performs the method as described in the first aspect above and any possible implementation thereof.
[0039] In combination with the third aspect, in some implementations of the third aspect, one or more of the memory and the transceiver are further included, and the transceiver is used to receive signals and / or send signals.
[0040] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a computer, the computer implements the method in the first aspect and any possible implementation thereof.
[0041] In a fifth aspect, a computer program product comprising instructions is provided, which, when run on a computer, enables the computer to execute the method in the first aspect and any possible implementation thereof.
[0042] In a sixth aspect, a chip is provided, characterized in that the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the first aspect and any possible implementation thereof.
[0043] In combination with the sixth aspect, in a possible implementation, the processor is coupled to the memory through an interface.
[0044] In combination with the sixth aspect, in a possible implementation, the chip system also includes a memory, in which a computer program or computer instructions are stored. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] FIG1 is a schematic structural diagram of an electronic device.
[0046] FIG2 is a software structure block diagram of an electronic device.
[0047] FIG3 is a diagram showing an applicable scenario of the brightness adjustment method provided in an embodiment of the present application.
[0048] FIG4 is an SVM sensitivity curve provided in an embodiment of the present application.
[0049] FIG5 is a graph showing the relationship between SVM and brightness provided in an embodiment of the present application.
[0050] FIG6 is a schematic flowchart of a method for adjusting brightness provided in an embodiment of the present application.
[0051] FIG. 7 is a graph showing the relationship between adjustment frequency and brightness according to an embodiment of the present application.
[0052] FIG8 is another graph showing the relationship between frequency and brightness according to an embodiment of the present application.
[0053] FIG9 is a schematic diagram of a group of high-speed cameras photographing the screen of an electronic device provided by an embodiment of the present application.
[0054] FIG10 is a set of GUIs provided in an embodiment of the present application.
[0055] FIG11 is a schematic flowchart of a method for adjusting brightness provided in an embodiment of the present application.
[0056] FIG12 is a schematic block diagram of a brightness adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0058] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of this application and the appended claims, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0059] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0060] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer. In some other embodiments, the electronic device may be an instrument for measurement, such as an oscilloscope.
[0061] 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0062] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0063] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0064] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0065] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0066] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0067] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0068] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0069] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, and perform other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0070] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0071] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0072] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0073] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0074] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0075] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0076] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0077] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0078] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0079] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0080] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0081] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0082] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0083] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0084] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0085] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0086] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0087] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0088] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates with conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the alarm application icon, the instruction to create a new alarm is executed.
[0089] Fingerprint sensor 180H is used to collect fingerprints. Electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, and so on. For example, when the phone detects a user's touch operation on the lock screen, the phone can collect the user's fingerprint information through fingerprint sensor 180H and match the collected fingerprint information with the fingerprint information pre-set in the phone. If the match is successful, the phone can enter the non-lock screen interface from the lock screen interface.
[0090] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied on or near the touch sensor. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0091] Figure 2 is a software structure diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer, from top to bottom. The application layer can include a series of application packages.
[0092] As shown in Figure 2, the application layer may include camera, settings, skin modules, user interface (UI), third-party applications, etc. Among them, third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0093] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer may include some predefined functions.
[0094] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0095] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.
[0096] The view system includes visual controls, such as controls for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views.
[0097] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0098] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0099] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0100] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0101] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0102] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0103] The system library can include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).
[0104] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0105] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0106] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0107] A 2D graphics engine is a drawing engine for 2D drawings.
[0108] In addition, the system library can also include status monitoring service modules, such as a physical status recognition module for analyzing and identifying user gestures; a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.
[0109] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0110] The hardware layer may include various sensors, such as the various sensors described in FIG1 .
[0111] In conjunction with the electronic devices described in Figures 1 and 2 above, in the embodiments of the present application, the electronic devices may be devices with screens, such as mobile phone terminals, smart screens, and tablet computers. The physical components involved in the electronic device 100 mainly include hardware components such as sensors, decision support systems (DSS) display chips, touch screens, and fingerprint recognition modules; as well as kernel software layers such as screen management modules, display drivers, fingerprint drivers, and anti-mistouch; application framework layer functions such as anti-mistouch input, screen control, always on display (AOD) services, and power management; and application layer services such as special adaptation applications (cameras), third-party applications, system hibernation, and AOD.
[0112] At present, when the screen brightness of an electronic device is low, the brightness is adjusted by high-frequency dimming; when the screen brightness of an electronic device is high, the brightness is adjusted by low-frequency dimming with a high duty cycle. Among them, high-frequency dimming can also be understood as high-frequency pulse width modulation (PWM) dimming. PWM dimming can change the average value of the current by continuously switching the circuit on and off, thereby adjusting the brightness of the screen. For example, by keeping the circuit in the on state for half of each cycle, the average value of the current is reduced, thereby reducing the brightness. Furthermore, in order to ensure good eye protection, high-frequency PWM dimming technology is used to reduce harm to the human eye.
[0113] It can be seen that when high-frequency dimming is performed, the continuous switching of the circuit will affect the number of charge and discharge times and the charge and discharge time of the electronic device, thereby affecting the power consumption and display effect of the system. Therefore, in order to solve the above problems, the present application provides a method, device and electronic device for adjusting brightness, which can be applied to the scenario shown in Figure 3. As shown in (a) of Figure 3, the user is watching the screen of the mobile phone on the mobile phone terminal, and as shown in (b) of Figure 3, the user is watching the screen of the smart screen. The method for adjusting brightness provided in this application can save power consumption while ensuring a certain display effect and eye protection effect, thereby improving the user's eye experience.
[0114] As can be seen from the above, high-frequency dimming has the effect of eye protection, and the effect of the adjustment frequency on the eye protection effect can usually be reflected based on the stroboscopic visibility measure (SVM). As shown in Figure 4, the SVM sensitivity curve is shown. The abscissa in Figure 4 represents the adjustment frequency in Hertz (Hz), the ordinate represents SVM, and the curve represents the SVM sensitivity curve. At a certain adjustment frequency, when the actual SVM is lower than the corresponding value on the SVM sensitivity curve, it means that the adjustment frequency is relatively safe for eye protection. Generally speaking, it can be understood that the lower the SVM, the better the eye protection effect.
[0115] Furthermore, the effect of the modulation frequency on eye protection varies under different brightness conditions. Figure 5 shows the relationship between SVM and brightness at different modulation frequencies. Generally speaking, without considering other flicker factors (e.g., anode reset frequency), at a certain brightness, the higher the modulation frequency, the smaller the SWM, and the lower the impact of flicker on the human eye. For example, in Figure 5, at a brightness of 50 nits, the SVM decreases as the modulation frequency increases. SVM is maximum at a modulation frequency of 480 Hz and minimum at a modulation frequency of 2160 Hz. At a certain modulation frequency, SVM generally increases as brightness decreases, and may even exceed the SWM sensitivity curve. This is because as brightness decreases, the duty cycle decreases, resulting in an increase in SVM. For example, at a modulation frequency of 2160 Hz, the SVM generally increases as brightness decreases.
[0116] It should be noted that the brightness range of the horizontal axis shown in Figure 5 is less than or equal to 90 nits. Generally speaking, 90 nits can be understood as the brightness threshold. Current high-frequency dimming is often applicable to scenes with brightness below the brightness threshold. However, the brightness adjustment method provided in this application is not limited to scenes with brightness below the brightness threshold.
[0117] As shown in Figure 6, a method for adjusting brightness provided by the present application is shown, which can be applied to adjust the screen brightness of an electronic device at full brightness. The following takes the electronic device executing the method as an example to describe the method in detail.
[0118] S601, determining the current brightness.
[0119] Exemplarily, a brightness threshold is preset. When the current brightness is greater than or equal to the brightness threshold, the electronic device may execute the following step S602; when the current brightness is less than the brightness threshold, the electronic device may execute the following step S603.
[0120] For example, the brightness threshold may be set to 90 nit.
[0121] S602, adjusting the brightness according to the fixed frequency.
[0122] It should be noted that when the current brightness is greater than or equal to the brightness threshold, the electronic device may adjust the brightness at a fixed frequency.
[0123] Exemplarily, the fixed frequency is a positive integer multiple of the display frame rate. For example, when the display frame rate is 120 Hz, the fixed frequency can be 3 times the display frame rate, which is 360 Hz, or 4 times the display frame rate, which is 480 Hz.
[0124] For example, if the brightness threshold is 90 nit and the current brightness is 100 nit, a 480 Hz frequency can be used for dimming.
[0125] It should be noted that the method of adjusting brightness with a fixed frequency in step S602 can also be understood as low-frequency dimming. Low-frequency dimming can achieve the dimming effect by modifying the current, or by modifying the current and the duty cycle in combination.
[0126] S603: Determine the adjustment frequency according to the current brightness.
[0127] It should be noted that when the current brightness is less than the brightness threshold, the electronic device can determine the adjustment frequency based on the current brightness. The adjustment frequency can be the same as or different from the fixed frequency in step S602. Generally speaking, the adjustment frequency is greater than the fixed frequency. However, the adjustment frequency is not fixed and can vary based on changes in the current brightness. In other words, when the current brightness is less than the brightness threshold, the adjustment frequency can vary, thereby achieving variable-frequency dimming.
[0128] S604, adjusting the brightness according to the adjustment frequency.
[0129] It should be noted that the adjustment frequency can be set to different levels according to the brightness. Generally speaking, the lower the current brightness, the higher the adjustment frequency.
[0130] Exemplarily, the adjustment frequency is related to the display frame rate. For example, different levels of the adjustment frequency are set to positive integer multiples of the display frame rate. As the current brightness decreases, the adjustment frequency can be set to 720Hz (120Hz*6), 1440Hz (120Hz*12), 2160Hz (120Hz*18), 2880Hz (120Hz*24), 3600Hz (120Hz*30), etc.
[0131] It should be noted that when the current brightness is less than the brightness threshold, the current can be fixed and the PWM dimming duty cycle can be dynamically adjusted to adjust the brightness.
[0132] For ease of understanding, Figure 7 shows a linear graph using a constant frequency dimming below a brightness threshold; Figure 8 shows a linear graph using variable frequency dimming below a brightness threshold. By comparing Figures 7 and 8, the effect of variable frequency dimming can be clearly seen.
[0133] Figure 7 shows the relationship between adjustment frequency and brightness. Here, brightness can be understood as the current brightness. When the current brightness is greater than or equal to the brightness threshold (90 nits), a fixed frequency of 360 Hz is used for low-frequency dimming. When the current brightness is less than the brightness threshold, a fixed frequency of 1440 Hz is used for high-frequency dimming.
[0134] In addition, Figure 7 also shows an exemplary SVM curve at low brightness (brightness below the brightness threshold). It can be seen that when dimming at a fixed frequency of 1440 Hz, as the brightness decreases, the SVM value increases, the flicker effect gradually increases, and the eye protection effect gradually weakens.
[0135] As shown in Figure 8, a curve showing the relationship between the adjustment frequency and the brightness is shown. Among them, the brightness can be understood as the current brightness. When the current brightness is greater than or equal to the brightness threshold (T1), a fixed frequency of 360Hz is used for low-frequency dimming. When the current brightness is less than the brightness threshold, the brightness can be set to multiple brightness intervals, and each brightness interval corresponds to an adjustment frequency of a different gear. For example, the adjustment frequency corresponding to the brightness interval [T2, T1) is 720Hz, the adjustment frequency corresponding to the brightness interval [T3, T2) is 1440Hz, the adjustment frequency corresponding to the brightness interval [T4, T3) is 2160Hz, and the adjustment frequency corresponding to the brightness interval [T5, T4) is 2880Hz. In other words, when the brightness is less than the brightness threshold, the adjustment frequency can be dynamically determined according to the brightness interval to which the current brightness belongs, and the adjustment frequency can be increased as the current brightness decreases.
[0136] Figure 8 also illustrates the SVM curves at different modulation frequencies at low brightness (brightness below the brightness threshold). As can be seen, within a certain brightness range, the modulation frequency is fixed. As the brightness decreases, the SVM value increases. When the brightness drops to the threshold for that brightness range, the SVM value decreases again. For example, within a certain brightness range, the SVM value reaches the SVM threshold (0.4).
[0137] It should be noted that the adjustment frequency affects the number of circuit switches per frame of the electronic device, which makes the adjustment frequency related to the power consumption of the electronic device. Generally speaking, the higher the adjustment frequency, the greater the power consumption of the electronic device. For example, the dynamic switching power consumption of the 2160Hz adjustment frequency is 6 times that of the 360Hz adjustment frequency. (The calculation formula is: (2160 / 360) = 6).
[0138] For example, using variable frequency dimming under low brightness conditions as shown in Figure 8 reduces the number of unnecessary circuit switches compared to fixed frequency dimming (for example, a fixed frequency of 2160Hz) under low brightness conditions. In other words, the brightness adjustment method provided by this application can dynamically adjust the adjustment frequency according to the actual brightness, thereby avoiding the wasteful power consumption caused by using high frequency dimming under low brightness conditions.
[0139] Furthermore, the screen of an electronic device can be photographed by a high-speed camera to obtain a plurality of black and white stripes on the screen of the electronic device. The number of black and white stripes can reflect the adjustment frequency. As shown in FIG9 , a group of pictures obtained by photographing the screen of an electronic device with a high-speed camera are shown. It can be understood that the current brightness of the screen of the electronic device in FIG9 may be lower than the brightness threshold. (a) in FIG9 , (b) in FIG9 , and (c) in FIG9 respectively show the screens of the electronic device photographed by the high-speed camera at three adjustment frequencies, and these three adjustment frequencies increase in sequence, that is, the adjustment frequency corresponding to (a) in FIG9 is the lowest, and the adjustment frequency corresponding to (c) in FIG9 is the highest. It can be seen that as the adjustment frequency increases, the number of stripes on the electronic device photographed by the high-speed camera increases, or the density of the stripes becomes denser.
[0140] It should be noted that the number or density of stripes in FIG9 is only an example and does not represent a fixed value. However, under certain conditions of adjustment frequency and display frame rate, the number of stripes can be determined.
[0141] For example, for an electronic device with a 120Hz display frame rate, a 1440Hz modulation frequency corresponds to 12 times the frequency (120*12), which appears as 12 black and white stripes when photographed by a high-speed camera. A 2160Hz modulation frequency corresponds to 18 times the frequency (120*18), which appears as 18 black and white stripes when photographed by a high-speed camera.
[0142] The above mainly introduces the specific scheme of the brightness adjustment method provided by this application. Below, in combination with a set of graphical user interfaces (GUIs) shown in Figure 10, taking a mobile phone terminal as an example, a method for triggering an electronic device to adjust the brightness is introduced, which may specifically include automatic triggering or manual triggering by the user.
[0143] As shown in Figure 10(a), the settings interface of a user's mobile terminal includes multiple options, including display, battery, storage, security, and privacy options. When the user clicks on an option, the mobile terminal can display the settings interface corresponding to that option. In response to the user clicking on the display option 1001, the mobile terminal can display the GUI shown in Figure 10(b).
[0144] As shown in FIG10(b), in response to a user clicking on display option 1001, the mobile terminal displays a display settings interface. The display settings interface includes multiple options, including wallpaper and brightness option 1002. In response to the user clicking on brightness option 1002, the mobile terminal may display a GUI as shown in FIG10(c).
[0145] As shown in (c) of Figure 10 , in response to the user clicking on the brightness option 1002, the mobile terminal displays a brightness setting interface. The brightness setting interface includes multiple controls, including an adjustment control 1003 and an automatic control 1004. A control is a visual graphical interface element presented to the user. It is a software component included in an application that controls the data processed by the application and the interactive operations related to that data. The user can interact with the control through operations such as touching and sliding, thereby reading and editing relevant information of the application. Generally speaking, a control can include visual interface elements such as icons, buttons, menus, tabs, text boxes, and status bars. In response to user operations on different controls (e.g., touching, clicking, or sliding), the screen of the electronic device can display different interfaces or change specific parameters of the display interface. In response to the user sliding the adjustment control 1003, the brightness of the user interface will change. For example, in response to the user sliding the adjustment control 1003 to the left, the brightness of the user interface decreases; in response to the user sliding the adjustment control 1003 to the right, the brightness of the user interface increases. In response to the user clicking the automatic control 1004, the brightness of the user interface is automatically adjusted. Automatic adjustment can be understood as the brightness of the user interface being adaptively adjusted according to the brightness of the surrounding environment.
[0146] It should be noted that Figures 10(a) to 10(c) above illustrate one way in which a user triggers an electronic device to adjust brightness in the settings interface of a mobile terminal. Figure 10(d) illustrates another way in which a user triggers an electronic device to adjust brightness.
[0147] As shown in (d) of Figure 10, the sliding notification bar interface of the mobile terminal includes multiple icons, including icons such as Bluetooth, mobile data, mute, and automatic rotation. The interface also includes multiple controls, including an adjustment control 1005 and an automatic control 1006. In response to the user sliding the adjustment control 1005, the brightness of the user interface will change. For example, in response to the user sliding the adjustment control 1005 to the left, the brightness of the user interface will decrease; in response to the user sliding the adjustment control 1005 to the right, the brightness of the user interface will increase. In response to the user clicking the automatic control 1006, the brightness of the user interface will be automatically adjusted.
[0148] Based on the above scheme, the user can trigger the electronic device to adjust the brightness through a series of interactive operations in the user interface of the electronic device, or the electronic device can automatically trigger the brightness adjustment, so that the electronic device can use the brightness adjustment method provided in this application to adjust the screen brightness at a variable frequency according to the current brightness below the brightness threshold, avoiding unnecessary power consumption waste caused by using a fixed high-frequency brightness adjustment under low brightness conditions, and the impact of high frequency on the display effect.
[0149] As shown in FIG11 , a schematic flowchart of a method for adjusting brightness provided by the present application is shown. The method can be applied to electronic devices such as mobile phone terminals. The method 1100 is described in detail below.
[0150] S1101, determining whether the current brightness is less than a brightness threshold.
[0151] For example, the brightness threshold may be 90 nits. When the current brightness is less than the brightness threshold, it indicates that the current brightness is low; when the current brightness is greater than or equal to the brightness threshold, it indicates that the current brightness is high.
[0152] S1102: Determine the brightness range to which the current brightness belongs.
[0153] S1103: Determine an adjustment frequency according to the brightness range to which the current brightness belongs.
[0154] S1104, adjusting the brightness according to the adjustment frequency.
[0155] It should be noted that the brightness interval to which the current brightness belongs is one of at least two brightness intervals, and the brightness of at least two brightness intervals is less than the brightness threshold. In other words, the brightness less than the brightness threshold can be divided into at least two brightness intervals, and the adjustment frequency corresponding to different brightness intervals can be different, and the adjustment frequency is variable.
[0156] For example, the brightness interval can be divided as shown in Figure 8 when the current brightness is lower than the brightness threshold (T1). For example, the adjustment frequency corresponding to the brightness interval [T2, T1) is 720Hz, the adjustment frequency corresponding to the brightness interval [T3, T2) is 1440Hz, the adjustment frequency corresponding to the brightness interval [T4, T3) is 2160Hz, and the adjustment frequency corresponding to the brightness interval [T5, T4) is 2880Hz.
[0157] It should be noted that the adjustment frequency is greater than or equal to the frequency threshold. For example, the frequency threshold is 1250 Hz. Each brightness interval in the at least two brightness intervals corresponds to an adjustment frequency. That is, when the current brightness is low, the high frequency is used to adjust the brightness.
[0158] In one implementation, the brightness of each brightness interval is negatively correlated with the stroboscopic visibility measure (SVM) value. For example, as shown in FIG8 , within the brightness interval [T2, T1), as the brightness decreases, the SVM increases.
[0159] Before determining the brightness interval to which the current brightness belongs in step S1102, the electronic device may further determine at least two brightness intervals according to the flicker visibility measurement value.
[0160] In one implementation, when the flicker visibility measurement value corresponding to the first brightness reaches the flicker visibility measurement threshold, the first brightness is the brightness critical value of two adjacent brightness intervals in the at least two brightness intervals. Further, the electronic device can determine the at least two brightness intervals based on the brightness critical value.
[0161] For example, two adjacent brightness intervals in the at least two brightness intervals can be the brightness interval [T2, T1) and the brightness interval [T3, T2) as shown in Figure 8. The flicker visibility measurement threshold can be a sufficiently large value, such as 0.4. The flicker visibility measurement value increases as the brightness decreases. As can be seen from Figure 8, when the brightness decreases from T1 to T2, the flicker visibility measurement value increases. When the flicker visibility measurement value reaches 0.4, the corresponding brightness is T2, and T2 can be understood as the above-mentioned first brightness. Taking T2 as the brightness critical value, the adjacent brightness interval [T2, T1) and the brightness interval [T3, T2) are divided.
[0162] For another example, when the brightness decreases from T2 to T3, the flicker visibility measurement value increases. When the flicker visibility measurement value reaches 0.4, the corresponding brightness is T3, which can also be understood as the first brightness mentioned above. Taking T3 as the brightness threshold, the adjacent brightness intervals [T3, T2) and the brightness interval [T4, T3) are divided.
[0163] It should be noted that at least two brightness ranges can be determined based on the brightness threshold. Because different brightness ranges correspond to different modulation frequencies, the modulation frequency may also change suddenly when the brightness threshold is reached. For example, as shown in Figure 8, when the brightness gradually decreases and reaches the brightness threshold T2, the modulation frequency may change suddenly from 720Hz to 1440Hz to reduce the flicker visibility measurement value.
[0164] Exemplarily, the at least two intervals may include a first brightness interval and a second brightness interval, the brightness of the first brightness interval is lower than that of the second brightness interval, and the adjustment frequency corresponding to the first brightness interval is higher than the adjustment frequency of the second brightness interval.
[0165] That is to say, the lower the current brightness, the higher the adjustment frequency.
[0166] For example, as shown in FIG8 , the first brightness interval may be [T4, T3), and the second brightness interval may be [T3, T2]. The brightness T4 of the first brightness interval is lower than the brightness T3 of the second brightness interval. The adjustment frequency corresponding to the first brightness interval is 2160 Hz, and the adjustment frequency corresponding to the second brightness interval is 1440 Hz.
[0167] In one implementation, the adjustment frequency is a positive integer multiple of the display frame rate of the electronic device.
[0168] Specifically, the adjustment frequency corresponding to the first brightness range is P times the display frame rate of the electronic device, and the adjustment frequency corresponding to the second brightness range is Q times the display frame rate of the electronic device.
[0169] For example, the adjustment frequency corresponding to the first brightness interval [T4, T3) is 18 times the display frame rate (120Hz*18=2160Hz), and the value of P is 18; the adjustment frequency corresponding to the second brightness interval [T3, T2) is 12 times the display frame rate (120Hz*12=1440Hz), and the value of Q is 12.
[0170] It should be noted that electronic devices can adjust the brightness of the screen when the user triggers certain operations.
[0171] In one implementation, before adjusting the brightness according to the adjustment frequency, the electronic device may display a second interface in response to a user's operation on a first option on a first interface of the electronic device; display a third interface in response to a user's operation on a second option on the second interface; and adjust the brightness according to the adjustment frequency in response to a user's operation on a first control on the third interface, or in response to a user's operation on a second control on the third interface.
[0172] For example, as shown in FIG10 , the first interface may be a settings interface as shown in FIG10 (a), the first option on the first interface may be a display option 1001 as shown in FIG10 (a), the second interface may be a display settings interface as shown in FIG10 (b), the second interface may be a brightness option 1002 as shown in FIG10 (b), the third interface may be a brightness settings interface as shown in FIG10 (c), the first control on the third interface may be an adjustment control 1003 as shown in FIG10 (c), and the second control on the third interface may be an automatic control 1004 as shown in FIG10 (c). The user's operation on the first control on the third interface may be a sliding operation. It is understandable that the first interface may also be a sliding notification bar interface as shown in FIG10 (d). The specific operation of the user triggering the electronic device to adjust the brightness can refer to the description of FIG10 above. To avoid redundancy, it will not be repeated here.
[0173] Furthermore, the brightness adjustment method provided in the present application can determine whether the adjustment frequency changes with the current brightness when the current brightness is low by obtaining the number of stripes captured by a high-speed camera.
[0174] In one implementation, when the brightness is adjusted according to the adjustment frequency corresponding to the first brightness range, the electronic device displays a first number of stripes; when the brightness is adjusted according to the adjustment frequency corresponding to the second brightness range, the electronic device displays a second number of stripes, and the first number is greater than the second number.
[0175] For example, when the brightness is adjusted according to the modulation frequency corresponding to the first brightness range, the electronic device may display the number of stripes shown in (c) of Figure 9; when the brightness is adjusted according to the modulation frequency corresponding to the second brightness range, the electronic device may display the number of stripes shown in (b) of Figure 9. Obviously, the number of stripes shown in (c) of Figure 9 is greater than the number of stripes shown in (b) of Figure 9. In other words, the greater the modulation frequency, the more stripes the electronic device displays. When the current brightness is below the brightness threshold, as the current brightness decreases and the modulation frequency increases, the number of stripes displayed by the electronic device will also increase.
[0176] Furthermore, the current brightness may also be greater than or equal to the brightness threshold.
[0177] In one implementation, it is determined that the current brightness is greater than or equal to a current brightness threshold; and the brightness is adjusted according to a fixed frequency, wherein the fixed frequency is less than the frequency threshold, and the fixed frequency is a positive integer multiple of a display frame rate of the electronic device.
[0178] For example, as shown in Figure 8, when the current brightness is greater than or equal to T1, the brightness is adjusted according to a fixed frequency of 360Hz. The fixed frequency of 360Hz is three times the display frame rate of 120Hz. When the current brightness is greater than or equal to T1, the fixed frequency does not change with changes in the current brightness.
[0179] Based on the above solution, the electronic device can adjust the brightness using a fixed frequency when the current brightness is high, and when the current brightness is low, determine the corresponding adjustment frequency based on the current brightness and adjust the brightness according to the adjustment frequency. This allows the adjustment frequency to be dynamically adjusted based on the actual current brightness in low-brightness scenarios, avoiding the use of a uniform high-frequency frequency for brightness adjustment when the current brightness is low, which wastes power and affects the display quality.
[0180] Figure 12 is a schematic block diagram of a brightness adjustment device according to an embodiment of the present application. The brightness adjustment device 1200 shown in Figure 12 may include: a processor 1210, a transceiver 1220, and a memory 1230. The processor 1210, the transceiver 1220, and the memory 1230 are connected via an internal connection path. The memory 1230 is used to store instructions, and the processor 1210 is used to execute the instructions stored in the memory 1230, and to receive / send some parameters through the transceiver 1230. Optionally, the memory 1230 may be coupled to the processor 1210 via an interface or may be integrated with the processor 1210.
[0181] It should be noted that the transceiver 1220 may include but is not limited to a transceiver device such as an input / output interface to implement communication between the brightness adjustment device 1200 and other devices or a communication network.
[0182] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 1210 or by instructions in the form of software. The method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1230, and the processor 910 reads the information in the memory 930 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0183] It should also be understood that in the embodiments of the present application, the memory may include read-only memory and random access memory, and provide instructions and data to the processor. A portion of the processor may also include non-volatile random access memory. For example, the processor may also store device type information.
[0184] The present application provides a computer program product that, when executed on a device, causes the device to execute the technical solution in the above embodiment. Its implementation principle and technical effects are similar to those of the above method-related embodiments and will not be further described here.
[0185] The present embodiment provides a readable storage medium containing instructions that, when executed on a device, cause the device to execute the technical solution of the above embodiment. The implementation principles and technical effects are similar and will not be further described here.
[0186] The present application provides a chip for executing instructions. When the chip is running, it executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar and will not be described in detail here.
[0187] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of this application.
[0188] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units (modules) can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0189] In the several embodiments provided in this application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the unit is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0190] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0191] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0192] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0193] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for adjusting brightness, characterized in that: The method is applied to an electronic device, comprising: Determine that the current brightness is less than the brightness threshold; Determine a brightness interval to which the current brightness belongs, where the brightness interval to which the current brightness belongs is one of at least two brightness intervals, and brightnesses of the at least two brightness intervals are less than the brightness threshold; Determine an adjustment frequency according to the brightness interval to which the current brightness belongs, the adjustment frequency being greater than or equal to a frequency threshold, and each brightness interval of the at least two brightness intervals corresponds to an adjustment frequency; The brightness is adjusted according to the adjustment frequency.
2. The method according to claim 1, characterized in that The brightness of each brightness interval is negatively correlated with the stroboscopic visibility measurement value; Before determining the brightness interval to which the current brightness belongs, the method further includes: The at least two brightness intervals are determined based on the stroboscopic visibility measurement value.
3. The method according to claim 2, characterized in that Determining the at least two brightness intervals according to the stroboscopic visibility measurement value includes: When the flicker visibility measurement value corresponding to the first brightness reaches the flicker visibility measurement threshold, the first brightness is the brightness critical value of two adjacent brightness intervals in the at least two brightness intervals; At least two brightness intervals are determined according to the brightness critical value.
4. The method according to any one of claims 1 to 3, characterized in that The at least two brightness intervals include a first brightness interval and a second brightness interval, the brightness of the first brightness interval is smaller than the brightness of the second brightness interval, and the adjustment frequency corresponding to the first brightness interval is larger than the adjustment frequency corresponding to the second brightness interval.
5. The method according to claim 4, characterized in that The adjustment frequency corresponding to the first brightness range is P times the display frame rate of the electronic device, and the adjustment frequency corresponding to the second brightness range is Q times the display frame rate of the electronic device, where Q is a positive integer greater than or equal to 1, and P is a positive integer greater than Q.
6. The method according to any one of claims 1 to 5, characterized in that Before adjusting the brightness according to the adjustment frequency, the method further includes: In response to a user operating a first option on a first interface of the electronic device, displaying a second interface; In response to the user's operation on the second option on the second interface, displaying a third interface; In response to a user operation on a first control on the third interface, adjusting the brightness according to the adjustment frequency; or In response to a user operation on a second control on the third interface, the brightness is adjusted according to the adjustment frequency.
7. The method according to claim 4 or 5, characterized in that: The method further comprises: When the brightness is adjusted according to the adjustment frequency corresponding to the first brightness interval, the electronic device displays a first number of stripes; When the brightness is adjusted according to the adjustment frequency corresponding to the second brightness range, the electronic device displays a second number of stripes, and the first number is greater than the second number.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: Determine that the current brightness is greater than or equal to the brightness threshold; The brightness is adjusted according to a fixed frequency, the fixed frequency being less than the frequency threshold.
9. The method according to claim 8, characterized in that The fixed frequency is N times the display frame rate of the electronic device, where N is a positive integer greater than or equal to 1.
10. An electronic device, characterized in that: include: one or more processors; one or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the electronic device performs the following steps: Determine that the current brightness is less than the brightness threshold; Determine a brightness interval to which the current brightness belongs, where the brightness interval to which the current brightness belongs is one of at least two brightness intervals, and brightnesses of the at least two brightness intervals are less than the brightness threshold; Determine an adjustment frequency according to the brightness interval to which the current brightness belongs, the adjustment frequency being greater than or equal to a frequency threshold, and each brightness interval of the at least two brightness intervals corresponds to an adjustment frequency; The brightness is adjusted according to the adjustment frequency.
11. The electronic device according to claim 10, characterized in that: The brightness of each brightness interval is negatively correlated with the stroboscopic visibility measurement value; When the instructions are executed by the one or more processors, the electronic device performs the following steps: The at least two brightness intervals are determined based on the stroboscopic visibility measurement value.
12. The electronic device according to claim 11, characterized in that: When the instructions are executed by the one or more processors, the electronic device performs the following steps: When the flicker visibility measurement value corresponding to the first brightness reaches the flicker visibility measurement threshold, the first brightness is the brightness critical value of two adjacent brightness intervals in the at least two brightness intervals; At least two brightness intervals are determined according to the brightness critical value.
13. The electronic device according to any one of claims 10 to 12, characterized in that: The at least two brightness intervals include a first brightness interval and a second brightness interval, the brightness of the first brightness interval is smaller than the brightness of the second brightness interval, and the adjustment frequency corresponding to the first brightness interval is larger than the adjustment frequency corresponding to the second brightness interval.
14. The electronic device according to claim 13, characterized in that: The adjustment frequency corresponding to the first brightness range is P times the display frame rate of the electronic device, and the adjustment frequency corresponding to the second brightness range is Q times the display frame rate of the electronic device, where Q is a positive integer greater than or equal to 1, and P is a positive integer greater than Q.
15. The electronic device according to any one of claims 10 to 14, characterized in that: When the instructions are executed by the one or more processors, the electronic device performs the following steps: In response to a user operating a first option on a first interface of the electronic device, displaying a second interface; In response to the user's operation on the second option on the second interface, displaying a third interface; In response to a user operation on a first control on the third interface, adjusting the brightness according to the adjustment frequency; or In response to a user operation on a second control on the third interface, the brightness is adjusted according to the adjustment frequency.
16. The electronic device according to claim 13 or 14, characterized in that: When the instructions are executed by the one or more processors, the electronic device performs the following steps: When the brightness is adjusted according to the adjustment frequency corresponding to the first brightness interval, the electronic device displays a first number of stripes; When the brightness is adjusted according to the adjustment frequency corresponding to the second brightness range, the electronic device displays a second number of stripes, and the first number is greater than the second number.
17. The electronic device according to any one of claims 10 to 16, characterized in that: When the instructions are executed by the one or more processors, the electronic device performs the following steps: Determine that the current brightness is greater than or equal to the brightness threshold; The brightness is adjusted according to a fixed frequency, the fixed frequency being less than the frequency threshold.
18. The electronic device according to claim 17, characterized in that: The fixed frequency is N times the display frame rate of the electronic device, where N is a positive integer greater than or equal to 1.
19. A device for adjusting brightness, characterized in that: include: A processor coupled to a memory, wherein the memory is used to store a computer program, and the processor is used to run the computer program so that the device for adjusting brightness performs the method according to any one of claims 1 to 9.
20. The device for adjusting brightness according to claim 19, characterized in that: Also included is one or more of the memory and the transceiver, wherein the transceiver is used to receive signals and / or send signals.
21. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a computer, the computer is caused to implement the method according to any one of claims 1 to 9.
22. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 9.
23. A chip, characterized in that: The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Display device
CN109389947A
Display screen brightness adjusting method and device, mobile terminal and storage medium
CN109859721A
Dimming method and device for display panel
CN113053312A
Display brightness adjusting method and adjusting device
CN113674691A
Circuit and method for driving backlighting LED string, and backlight device and electronic apparatus using the same
JP2013233033A
Cited By
Brightness adjusting method and electronic equipment
CN120148434A
