Brightness adjusting method and device and electronic equipment
By dividing the brightness interval in electronic devices and dynamically adjusting the adjustment frequency, the problems of power consumption and display effects during brightness adjustment in the prior art are solved, and brightness adjustment under the full brightness conditions is achieved, providing good eye protection effect and Power consumption savings.
Patent Information
- Application Number
- CN202310756918.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-25
- Publication Date
- 2024-12-27
AI Technical Summary
The prior art adjusts the brightness by high-frequency dimming when the screen brightness of the electronic device is low, resulting in an increase in power consumption and affecting the display effect. It is impossible to effectively adjust the brightness under the full brightness conditions to provide good eye protection and save power consumption.
By determining that the current brightness is less than the brightness threshold, multiple brightness intervals are divided, and the adjustment frequency is determined according to the brightness interval. The adjustment frequency changes with the brightness. Frequency dimming is used to avoid waste of power consumption caused by unified high-frequency adjustment, and at the same time affect the display effect.
Dynamically adjust the adjustment frequency when the brightness is low, reduce strobe visibility, improve eye protection effect, save power consumption, and use fixed low-frequency dimming when the brightness is high to ensure the display effect and achieve brightness adjustment under the full brightness conditions .
Smart Images

Figure CN119207331A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic devices, and in particular, to a method, device and electronic device for adjusting brightness. Background Art
[0002] With the development of science and technology, people can achieve various interactive functions through the screens of electronic devices. In order to make users more comfortable when using the screens of electronic devices, the brightness of the screens of electronic devices can be adjusted by high-frequency dimming. However, the high-frequency dimming method is currently only turned on when the brightness of the screen of the electronic device is low. In addition, the frequency of dimming is closely related to the power consumption of the electronic device and the user experience.
[0003] 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 a problem that needs to be solved urgently. Summary of the invention
[0004] 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, so as to avoid the waste of power consumption caused by uniform high-frequency adjustment.
[0005] In a first aspect, a method for adjusting brightness is provided. The method is applied to an electronic device, comprising: 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, and the brightness of the at least two brightness intervals is 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.
[0006] Exemplarily, an adjustment frequency being greater than or equal to a frequency threshold can be understood as the adjustment frequency being a high frequency.
[0007] 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 also can 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.
[0008] Based on the above method, when the electronic device is in a condition of low current brightness, the adjustment frequency can be determined according to the brightness interval to which the current actual brightness belongs. The adjustment frequency can also be divided into multiple gears according to the brightness interval to which the current brightness belongs, so that the adjustment frequencies corresponding to different brightness intervals are different, thereby realizing variable frequency dimming under this condition. It can avoid using a unified high-frequency frequency to adjust the brightness when the current brightness is low, which not only wastes power consumption but also affects the display effect, and can also bring good eye protection effects to users.
[0009] 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.
[0010] It should be noted that as the brightness of each brightness interval decreases, the stroboscopic visibility measure (SVM) increases.
[0011] Based on the above scheme, the brightness and the flicker visibility measurement value have a certain corresponding relationship. The brightness can be divided into at least two brightness intervals according to the flicker visibility measurement value, so as to facilitate the subsequent determination of the adjustment frequency according to the brightness interval.
[0012] 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 at least two brightness intervals based on the brightness critical value.
[0013] Based on the above scheme, at least two brightness intervals can be determined according to the brightness critical value. Since the adjustment frequencies corresponding to different brightness intervals are different, when the first brightness is reached, since the first brightness is the brightness critical value of two adjacent brightness intervals, the adjustment frequency at the brightness critical value will change suddenly to reduce the SVM value and ensure a good eye protection effect.
[0014] 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.
[0015] It should be noted that the lower the current brightness, the higher the adjustment frequency.
[0016] Based on the above method, as the current brightness decreases, the increase in adjustment frequency will reduce the flicker visibility measurement value to a certain extent. The lower the SVM value, the lower the flicker impact and the better the eye protection effect.
[0017] 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.
[0018] That is to say, 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.
[0019] 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.
[0020] 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.
[0021] In combination with the first aspect, in certain implementations of the first aspect, the method also 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.
[0022] It should be noted that the adjustment frequency can be intuitively obtained by the number of stripes on the screen of the electronic device captured by a high-speed camera; or the change in the number of stripes can be used to determine whether the adjustment frequency has changed. As the adjustment frequency increases, the number of stripes will also increase.
[0023] 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.
[0024] Exemplarily, the fixed frequency being less than the frequency threshold can be understood as the fixed frequency being a low frequency.
[0025] In combination with the first aspect, in some implementations of the first aspect, the fixed frequency is N times a display frame rate of the electronic device, where N is a positive integer greater than or equal to 1.
[0026] It should be noted that when the brightness is high, a fixed low frequency can be used to adjust the brightness, and the fixed frequency will not change with the current brightness. The fixed frequency is related to the display frame rate of the electronic device, for example, it can be a positive integer multiple of the display frame rate of the electronic device.
[0027] 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: determine that a current brightness is less than a brightness threshold; determine 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; determine 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 adjust the brightness according to the adjustment frequency.
[0028] 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.
[0029] 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 among the at least two brightness intervals; and at least two brightness intervals are determined based on the brightness critical value.
[0030] 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.
[0031] 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.
[0032] 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: in response to a user's operation on a first option on a first interface of the electronic device, display a second interface; in response to a user's operation on a second option on the second interface, display a third interface; in response to a user's operation on a first control on the third interface, adjust the brightness according to the adjustment frequency; or in response to a user's operation on a second control on the third interface, adjust the brightness according to the adjustment frequency.
[0033] 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 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 interval, the electronic device displays a second number of stripes, and the first number is greater than the second number.
[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: ensuring 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.
[0035] 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.
[0036] 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 in the first aspect and any possible implementation thereof.
[0037] In combination with the third aspect, in some implementations of the third aspect, one or more of the memory and the transceiver are also included, and the transceiver is used to receive signals and / or send signals.
[0038] 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.
[0039] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method in the first aspect and any possible implementation thereof.
[0040] 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 a memory through the data interface to execute the method in the first aspect and any possible implementation thereof.
[0041] In combination with the sixth aspect, in a possible implementation manner, the processor is coupled to the memory through an interface.
[0042] 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
[0043] Figure 1 It is a structural diagram of an electronic device.
[0044] Figure 2 It is a software structure diagram of an electronic device.
[0045] Figure 3 This is an applicable scene diagram of the brightness adjustment method provided in the embodiment of the present application.
[0046] Figure 4 It is the SVM sensitivity curve provided in the embodiment of the present application.
[0047] Figure 5 is a curve diagram showing the relationship between SVM and brightness provided in an embodiment of the present application.
[0048] Figure 6 It is a schematic flowchart of a method for adjusting brightness provided in an embodiment of the present application.
[0049] Figure 7 This is a frequency-brightness adjustment curve provided in an embodiment of the present application.
[0050] Figure 8 This is another frequency-brightness adjustment curve provided in an embodiment of the present application.
[0051] Fig. 9 It is a schematic diagram of a group of high-speed cameras photographing the screen of an electronic device provided in an embodiment of the present application.
[0052] Fig.10 It is a set of GUIs provided by the embodiments of the present application.
[0053] Fig.11 It is a schematic flowchart of a method for adjusting brightness provided in an embodiment of the present application.
[0054] Fig.12 It is a schematic block diagram of a brightness adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0056] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "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 may exist; for example, A and / or B can represent: 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 objects associated before and after are in an "or" relationship.
[0057] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0058] 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 function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (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.
[0059] For example, Figure 11 shows a schematic diagram of the structure of the 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 screen 194, and a subscriber identification module (SIM) card interface 195, etc. 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.
[0060] It is to be understood that the structure illustrated in the embodiment of the present application does 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0061] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0062] 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.
[0063] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0064] In some embodiments, the processor 110 may include one or more interfaces. The interface 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, etc.
[0065] 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.
[0066] 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 the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0067] 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, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation 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.
[0068] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.
[0069] 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 integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0070] 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 the network and other devices through wireless communication technology. The wireless communication technology 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).
[0071] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0072] The display screen 194 is used to display images, videos, etc. The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0073] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0074] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0075] 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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.
[0076] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0077] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0078] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0079] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0080] 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 may 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 may 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.
[0081] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0082] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0083] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0084] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0085] Microphone 170C, also called "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 microphone 170C to input the sound signal into 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 sound source, realize directional recording function, etc.
[0086] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. 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. The capacitive pressure sensor can be a parallel plate including at least two 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 touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position 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, an instruction to create a new alarm is executed.
[0087] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. For example, when the mobile phone detects a user's touch operation on the lock screen interface, the mobile phone can collect the user's fingerprint information through the fingerprint sensor 180H, and match the collected fingerprint information with the fingerprint information preset in the mobile phone. If the match is successful, the mobile phone can enter the non-lock screen interface from the lock screen interface.
[0088] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and 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 acting on or near it. The touch sensor can pass the detected touch operation 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 set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0089] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0090] like Figure 2 As shown, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, the third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0091] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions.
[0092] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0093] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0094] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views.
[0095] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0096] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0097] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0098] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0099] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0100] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0101] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0102] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0103] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0104] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0105] A 2D graphics engine is a drawing engine for 2D drawings.
[0106] In addition, the system library may 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.
[0107] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0108] The hardware layer can include various types of sensors, such as Figure 1 Various types of sensors introduced in.
[0109] Combined with the above Figure 1 and Figure 2 The electronic device introduced in the embodiment of the present application may be a mobile phone terminal, a smart screen, a tablet computer and other devices with a screen. The physical devices involved in the electronic device 100 mainly include hardware components such as sensors, decision support systems (DSS) display chips, touch screens, fingerprint recognition modules, etc.; 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, power management, etc.; and application layer services such as special adaptation applications (camera), third-party applications, system sleep, and AOD.
[0110] At present, when the screen brightness of electronic devices is low, the brightness is adjusted by high-frequency dimming; when the screen brightness of electronic devices 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, the average value of the current can be reduced by turning on the circuit for half of each cycle, thereby reducing the brightness. Furthermore, in order to ensure a good eye protection effect, high-frequency PWM dimming technology is used to reduce the harm to the human eye.
[0111] 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 Figure 3 In the scenario shown. Figure 3 The user shown in (a) is viewing the screen of the mobile phone on the mobile terminal, such as Figure 3 The user shown in (b) is watching the screen of the smart screen. The brightness adjustment method 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.
[0112] As can be seen from the above, high-frequency dimming has an eye protection effect, and the effect of the adjustment frequency on the eye protection effect can usually be reflected by stroboscopic visibility measure (SVM). Figure 4 As shown, the SVM sensitivity curve is shown. Figure 4 The horizontal axis represents the adjustment frequency in Hertz (Hz), the vertical axis 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.
[0113] Furthermore, under different brightness conditions, the effect of adjusting the frequency on the eye protection effect will also vary. Figure 5 As shown in the figure, the relationship between SVM and brightness under different adjustment frequencies is shown. Generally speaking, without considering other flicker factors (such as anode reset frequency), at a certain brightness, the higher the adjustment frequency, the smaller the SWM, and the lower the impact of flicker on the human eye. For example, Figure 5In the figure, when the brightness is 50nit, as the adjustment frequency increases, the SVM decreases successively. When the adjustment frequency is 480Hz, the SVM is the largest, and when the adjustment frequency is 2160Hz, the SVM is the smallest. At a certain adjustment frequency, as the brightness decreases, the SVM shows a general increasing trend, and may even exceed the SWM sensitivity curve. This is because as the brightness decreases, the duty cycle decreases, so the SVM increases. For example, when the adjustment frequency is 2160Hz, as the brightness decreases, the SVM generally shows an increasing trend.
[0114] It should be noted that Figure 5 The brightness range of the horizontal axis shown in is less than or equal to 90 nit. Generally speaking, 90 nit can be understood as a brightness threshold. The current high-frequency dimming is often applicable to scenes where the brightness is lower than the brightness threshold. However, the brightness adjustment method provided in this application is not limited to scenes where the brightness is lower than the brightness threshold.
[0115] like Figure 6 As shown, a method for adjusting brightness provided by the present application is shown, and the method can be applied to screen brightness adjustment of electronic devices throughout the entire brightness. The following takes the electronic device executing the method as an example to specifically introduce the method.
[0116] S601, determining the current brightness.
[0117] Exemplarily, a brightness threshold is preset. When the current brightness is greater than or equal to the brightness threshold, the electronic device may perform the following step S602; when the current brightness is less than the brightness threshold, the electronic device may perform the following step S603.
[0118] For example, the brightness threshold may be set to 90 nit.
[0119] S602, adjusting the brightness according to the fixed frequency.
[0120] It should be noted that when the current brightness is greater than or equal to the brightness threshold, the electronic device can adjust the brightness at a fixed frequency.
[0121] 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 may be 3 times the display frame rate, which is 360 Hz, or 4 times the display frame rate, which is 480 Hz.
[0122] For example, the brightness threshold is 90 nit, and when the current brightness is 100 nit, the dimming frequency can be 480 Hz.
[0123] It should be noted that the method of adjusting the 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 jointly modifying the current and the duty cycle.
[0124] S603: Determine the adjustment frequency according to the current brightness.
[0125] It should be noted that when the current brightness is less than the brightness threshold, the electronic device can determine the adjustment frequency according to 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 change according to the change of the current brightness. In other words, when the current brightness is less than the brightness threshold, the adjustment frequency can change, thereby realizing variable frequency dimming.
[0126] S604, adjusting the brightness according to the adjustment frequency.
[0127] It should be noted that the adjustment frequency can be set to different levels according to different brightness. Generally speaking, the lower the current brightness, the greater the adjustment frequency.
[0128] Exemplarily, the adjustment frequency is related to the display frame rate. For example, different gears 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.
[0129] 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.
[0130] For ease of understanding, Figure 7 A linear diagram showing a certain frequency dimming below a brightness threshold is shown; Figure 8 A linear graph of variable frequency dimming below the brightness threshold is shown. Figure 7 as well as Figure 8 , the effect of variable frequency dimming can be clearly seen.
[0131] like Figure 7 As shown, the relationship curve 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 (90nit), a fixed frequency of 360Hz is used for low-frequency dimming. When the current brightness is less than the brightness threshold, a fixed frequency of 1440Hz is used for high-frequency dimming.
[0132] in addition, Figure 7The SVM curve at low brightness (brightness below the brightness threshold) is also shown as an example. It can be seen that when dimming at a fixed frequency of 1440 Hz, as the brightness decreases, the SVM value increases, the stroboscopic effect gradually increases, and the eye protection effect gradually weakens.
[0133] like Figure 8 As shown, 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.
[0134] in addition, Figure 8 The SVM curves at different adjustment frequencies at low brightness (brightness below the brightness threshold) are also shown as an example. It can be seen that in a certain brightness range, the adjustment frequency is fixed, and as the brightness decreases, the SVM value increases. When the brightness decreases to the critical value of the brightness range, the SVM value will be lowered again. For example, in a certain brightness range, the SVM value reaches the SVM threshold (0.4).
[0135] It should be noted that the adjustment frequency affects the number of circuit switches per frame of the electronic device, so that the adjustment frequency is related to the power consumption of the electronic device. Generally speaking, the greater the adjustment frequency, the greater the power consumption of the electronic device. Exemplarily, the dynamic switching power consumption of a 2160Hz adjustment frequency is 6 times the dynamic switching power consumption of a 360Hz adjustment frequency. (The calculation formula is: (2160 / 360) = 6).
[0136] For example, using Figure 8 The variable frequency dimming under low brightness conditions shown in the embodiment reduces the number of unnecessary circuit switches compared to the fixed frequency dimming (for example, the fixed frequency is 2160 Hz) under low brightness conditions. In other words, the brightness adjustment method provided by the present application can dynamically adjust the adjustment frequency according to the actual brightness to avoid the waste of power consumption caused by the high frequency dimming under low brightness conditions.
[0137] Furthermore, the screen of the 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. Fig. 9As shown, a group of pictures taken by a high-speed camera on the screen of an electronic device are shown. It can be understood that Fig. 9 The current brightness of the electronic device screen may be lower than the brightness threshold. Fig. 9 In (a), Fig. 9 (b) and Fig. 9 (c) in FIG. 1 shows the screen of an electronic device photographed by a high-speed camera at three adjustment frequencies. The three adjustment frequencies increase in sequence. That is, Fig. 9 (a) in the equation has the lowest adjustment frequency. Fig. 9 The adjustment frequency corresponding to (c) in FIG. 1 is the highest. It can be seen that as the adjustment frequency increases, the number of stripes of the electronic device photographed by the high-speed camera increases, or the density of the stripes increases.
[0138] It should be noted that Fig. 9 The number or density of stripes in the figure is only an example and does not represent a definite value. However, under certain conditions of adjustment frequency and display frame rate, the number of stripes can be determined.
[0139] For example, for an electronic device with a display frame rate of 120 Hz, a 1440 Hz adjustment frequency corresponds to 12 times the frequency (120*12), which is represented by 12 black and white stripes when photographed by a high-speed camera. A 2160 Hz adjustment frequency corresponds to 18 times the frequency (120*18), which is represented by 18 black and white stripes when photographed by a high-speed camera.
[0140] The above mainly introduces the specific scheme of the brightness adjustment method provided by the present application. Fig.10 A set of graphical user interfaces (GUIs) are shown, taking a mobile phone terminal as an example, to introduce a method for triggering an electronic device to adjust brightness, which may specifically include automatic triggering or manual triggering by a user.
[0141] like Fig.10 (a) in FIG. 1 shows a setting interface of a user's mobile terminal. The setting interface includes multiple options, including display, battery, storage, security, and privacy options. When the user clicks on an option, the mobile terminal can display the setting interface corresponding to the option. In response to the user clicking on the display option 1001, the mobile terminal can display the following Fig.10 GUI shown in (b) in .
[0142] like Fig.10 As shown in (b) of FIG. 1 , in response to the user clicking on the display option 1001, the mobile terminal displays a display setting interface. The display setting interface includes multiple options, including wallpaper and brightness option 1002. In response to the user clicking on the brightness option 1002, the mobile terminal may display the following Fig.10 GUI shown in (c) in FIG.
[0143] like Fig.10 As shown in (c), in response to the user clicking the brightness option 1002, the mobile terminal displays a brightness setting interface. Among them, the brightness setting interface includes multiple controls, and the multiple controls include an adjustment control 1003 and an automatic control 1004. Among them, the control is a visual graphical interface element presented to the user. It is a software component contained in the application, which controls the data processed by the application and the interactive operations on these data. The user can interact with the control through touch, slide and other operations, so as to read and edit the relevant information of the application. In general, the control can include icons, buttons, menus, tabs, text boxes, status bars and other visual interface elements. In response to the user's operation on different controls (for example: touch operation, click operation or slide operation), different interfaces can be displayed on the screen of the electronic device, or specific parameters of the display interface can be changed. 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 is reduced; in response to the user sliding the adjustment control 1003 to the right, the brightness of the user interface is increased. In response to the user clicking the automatic control 1004, the brightness of the user interface is automatically adjusted. The automatic adjustment can be understood as the brightness of the user interface being adaptively adjusted according to the brightness of the surrounding environment.
[0144] It should be noted that the above Fig.10 (a) to Fig.10 (c) in FIG. 1 shows a method in which a user triggers an electronic device to adjust the brightness in a setting interface of a mobile terminal. Fig.10 (d) in the figure shows another way in which a user triggers an electronic device to adjust brightness.
[0145] like Fig.10 (d) in the figure shows a sliding notification bar interface of a mobile terminal, which 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 decreases; in response to the user sliding the adjustment control 1005 to the right, the brightness of the user interface increases. In response to the user clicking the automatic control 1006, the brightness of the user interface will be automatically adjusted.
[0146] 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 automatically triggers the brightness adjustment, so that the electronic device can use the brightness adjustment method provided in the present application to adjust the screen brightness at a variable frequency according to the current brightness below the brightness threshold, thereby avoiding unnecessary power consumption caused by using a fixed high-frequency to adjust the brightness under low brightness conditions, as well as the impact of high frequency on the display effect.
[0147] like Fig.11 As shown, a schematic flow chart 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 specifically introduced below.
[0148] S1101, determining that the current brightness is less than a brightness threshold.
[0149] For example, the brightness threshold may be 90 nit. 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.
[0150] S1102, determining the brightness interval to which the current brightness belongs.
[0151] S1103, determining an adjustment frequency according to the brightness interval to which the current brightness belongs.
[0152] S1104, adjusting the brightness according to the adjustment frequency.
[0153] 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 frequencies corresponding to different brightness intervals can be different, and the adjustment frequency is variable.
[0154] For example, the following can be used: Figure 8 In the manner shown, when the current brightness is lower than the brightness threshold (T1), the brightness interval is divided. For example, the adjustment frequency corresponding to the brightness interval [T2, T1) is 720 Hz, the adjustment frequency corresponding to the brightness interval [T3, T2) is 1440 Hz, the adjustment frequency corresponding to the brightness interval [T4, T3) is 2160 Hz, and the adjustment frequency corresponding to the brightness interval [T5, T4) is 2880 Hz.
[0155] 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 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.
[0156] In one implementation, the brightness of each brightness interval is negatively correlated with the stroboscopic visibility measure (SVM) value. Figure 8 As shown, in the brightness interval [T2, T1), as the brightness decreases, the SVM increases.
[0157] Before determining the brightness interval to which the current brightness belongs in the above step S1102, the electronic device may also determine at least two brightness intervals according to the stroboscopic visibility measurement value.
[0158] 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 at least two brightness intervals according to the brightness critical value.
[0159] For example, two adjacent brightness intervals in the at least two brightness intervals may be as follows: Figure 8 The luminance interval [T2, T1) and the luminance interval [T3, T2) shown in FIG. 1 are shown in FIG. 2. The flicker visibility measurement threshold can be a sufficiently large value, such as 0.4. The flicker visibility measurement value increases as the luminance decreases, from Figure 8 As can be seen, 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 first brightness mentioned above. Taking T2 as the brightness critical value, the adjacent brightness intervals [T2, T1) and brightness intervals [T3, T2) are divided.
[0160] 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, and T3 can also be understood as the first brightness mentioned above. Taking T3 as the brightness threshold, the adjacent brightness intervals [T3, T2) and brightness intervals [T4, T3) are divided.
[0161] It should be noted that at least two brightness intervals can be determined according to the brightness critical value. Since different brightness intervals correspond to different adjustment frequencies, when the brightness critical value is reached, the adjustment frequency will also suddenly change. Figure 8 As shown, when the brightness gradually decreases and reaches the brightness critical value T2, the adjustment frequency can be suddenly changed from 720 Hz to 1440 Hz to reduce the flicker visibility measurement value.
[0162] 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 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 of the second brightness interval.
[0163] That is to say, the lower the current brightness, the higher the adjustment frequency.
[0164] For example, Figure 8 As shown, the first brightness interval can be [T4, T3), and the second brightness interval can be [T3, T2). The brightness T4 of the first brightness interval is less 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.
[0165] In one implementation, the adjustment frequency is a positive integer multiple of the display frame rate of the electronic device.
[0166] 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. P and Q are positive integers greater than or equal to 1, and P is greater than Q.
[0167] Exemplarily, 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.
[0168] It should be noted that the electronic device can adjust the brightness of the screen when the user triggers certain operations.
[0169] 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 operating a first option on a first interface of the electronic device; display a third interface in response to a user operating a second option on the second interface; and adjust the brightness according to the adjustment frequency in response to a user operating a first control on the third interface, or in response to a user operating a second control on the third interface.
[0170] For example, Fig.10 As shown, the first interface can be as follows Fig.10 In the setting interface shown in (a) of FIG. 1 , the first option on the first interface may be as follows: Fig.10 The display option 1001 shown in (a) of FIG. 1001, the second interface may be as follows: Fig.10 The display setting interface shown in (b) in FIG. 1 may be as follows: Fig.10 The brightness option 1002 shown in (b) of FIG. 1002, the third interface may be as follows Fig.10 In the brightness setting interface shown in (c) of FIG. 1 , the first control on the third interface may be as follows: Fig.10The adjustment control 1003 shown in (c) in FIG. 1003, the second control on the third interface may be as follows: Fig.10 The automatic control 1004 shown in (c) of FIG. 1004. 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 as follows: Fig.10 The specific operation of the user triggering the electronic device to adjust the brightness can refer to the above description of Fig.10 To avoid redundancy, the description is not repeated here.
[0171] 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 through high-speed camera photography.
[0172] 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.
[0173] For example, when the brightness is adjusted according to the adjustment frequency corresponding to the first brightness interval, the electronic device may display the following: Fig. 9 When the brightness is adjusted according to the adjustment frequency corresponding to the second brightness interval, the electronic device can display the following: Fig. 9 The number of stripes shown in (b) is obvious. Fig. 9 The number of stripes shown in (c) is greater than Fig. 9 That is, the greater the adjustment frequency, the more stripes the electronic device displays. When the current brightness is lower than the brightness threshold, as the current brightness decreases and the adjustment frequency increases, the number of stripes displayed by the electronic device will also increase.
[0174] Furthermore, the current brightness may also be greater than or equal to the brightness threshold.
[0175] In one implementation, it is determined that the current brightness is greater than or equal to a current brightness threshold; 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.
[0176] For example, Figure 8 As shown, when the current brightness is greater than or equal to T1, the brightness is adjusted according to the fixed frequency of 360Hz. The fixed frequency of 360Hz is 3 times the display frame rate of 120Hz. When the current brightness is greater than or equal to T1, the fixed frequency will not change with the change of the current brightness.
[0177] Based on the above scheme, the electronic device can use a fixed frequency to adjust the brightness when the current brightness is high, and determine the corresponding adjustment frequency according to the current brightness when the current brightness is low, and adjust the brightness according to the adjustment frequency. In the scenario where the current brightness is low, the adjustment frequency can be dynamically adjusted according to the actual current brightness, avoiding the use of a uniform high-frequency frequency for brightness adjustment when the current brightness is low, which wastes power consumption and affects the display effect.
[0178] Fig.12 It is a schematic block diagram of a brightness adjustment device according to an embodiment of the present application. Fig.12 The brightness adjustment device 1200 shown 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, the processor 1210 is used to execute the instructions stored in the memory 1230, and the transceiver 1230 receives / sends part of the parameters. Optionally, the memory 1230 may be coupled to the processor 1210 via an interface, or may be integrated with the processor 1210.
[0179] 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 achieve communication between the brightness adjustment device 1200 and other devices or a communication network.
[0180] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 1210 or an instruction in the form of software. The method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in the processor for execution. 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 conjunction with its hardware. To avoid repetition, it is not described in detail here.
[0181] It should also be understood that in the embodiment of the present application, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the processor may also include a non-volatile random access memory. For example, the processor may also store information about the device type.
[0182] The embodiment of the present application provides a computer program product, which, when executed on a device, enables the device to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be described in detail here.
[0183] The embodiment of the present application provides a readable storage medium, which contains instructions. When the instructions are executed on a device, the device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar and will not be repeated here.
[0184] The embodiment of the present application provides a chip, which is used to execute instructions. When the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar and will not be repeated here.
[0185] Those of ordinary skill 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 the present application.
[0186] Those skilled in the art can 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.
[0187] In the several embodiments provided in the present 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 only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, 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.
[0188] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0189] 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.
[0190] 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 is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0191] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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.