WO2025020522A1 - 屏幕亮度调整方法、装置、电子设备及可读存储介质 - Google Patents

屏幕亮度调整方法、装置、电子设备及可读存储介质 Download PDF

Info

Publication number
WO2025020522A1
WO2025020522A1 PCT/CN2024/078620 CN2024078620W WO2025020522A1 WO 2025020522 A1 WO2025020522 A1 WO 2025020522A1 CN 2024078620 W CN2024078620 W CN 2024078620W WO 2025020522 A1 WO2025020522 A1 WO 2025020522A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
brightness
temperature
temperature threshold
screen brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/078620
Other languages
English (en)
French (fr)
Inventor
李鑫
肖广楠
赵明远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Publication of WO2025020522A1 publication Critical patent/WO2025020522A1/zh
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • G09G2320/0653Controlling or limiting the speed of brightness adjustment of the illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/04Display protection
    • G09G2330/045Protection against panel overheating

Definitions

  • the present application relates to the field of terminals, and in particular to a screen brightness adjustment method, device, electronic device and readable storage medium.
  • the screen of the electronic device needs to provide a higher brightness to ensure the display effect.
  • increasing the screen brightness often requires a larger drive current, and the increase in drive current will cause the temperature of the entire device to rise rapidly.
  • the protection mechanism can be triggered when the temperature of the electronic device reaches a certain temperature threshold, and the screen brightness can be reduced to a lower level to reduce the driving current to ensure that the temperature of the electronic device does not become too high.
  • the current solution will reach the temperature protection threshold in a very short time when the screen brightness is maintained at a high level, triggering the protection mechanism, causing the screen brightness to be limited to a lower level, affecting the user experience.
  • the present application provides a screen brightness adjustment method, device, electronic device and readable storage medium, which can gradually reduce the screen brightness when the electronic device is in a high-brightness scene, so that the electronic device can maintain a high brightness and will not overheat, and improve the problem that when the screen brightness is maintained at a high brightness, the temperature protection threshold will be reached in a very short time, triggering the protection mechanism, resulting in the screen brightness being limited to a lower level, affecting the user experience.
  • a screen brightness adjustment method which is applied to an electronic device, comprising:
  • the device temperature of the electronic device is obtained; when the device temperature is greater than or equal to a first temperature threshold, the screen brightness of the electronic device is gradually reduced linearly or nonlinearly until the device temperature is the same as or close to a second temperature threshold, and the second temperature threshold is greater than the first temperature threshold.
  • the screen brightness adjustment method can be applied to electronic devices, including mobile phones, tablet computers, handheld game consoles, wearable devices, augmented reality/virtual reality devices, laptops, super mobile personal computers, netbooks, personal digital assistants, etc.
  • the screen brightness of the electronic device since the screen brightness of the electronic device is adjusted when the electronic device is in a high-brightness scene and reaches the first temperature threshold, the brightness of the electronic device can be gradually reduced until the device temperature is the same as or close to the second temperature threshold. In this process, the screen brightness of the electronic device can always be maintained at a relatively high brightness level without a cliff-like brightness change, giving users a better user experience.
  • the screen brightness of the electronic device when the device temperature is greater than or equal to the first temperature threshold, is gradually reduced linearly or nonlinearly until the device temperature is the same as or close to the second temperature threshold, including:
  • a corresponding brightness adjustment function is obtained according to the ambient temperature of the electronic device, the brightness adjustment function is used to determine the screen brightness according to the device temperature at the ambient temperature, and the brightness adjustment function includes a linear brightness adjustment function or a nonlinear brightness adjustment function.
  • the screen brightness of the electronic device is gradually reduced according to the brightness adjustment function until the device temperature is the same as or close to the second temperature threshold.
  • the brightness adjustment function includes a balanced brightness coefficient, which is a ratio of the balanced screen brightness to the maximum screen brightness.
  • the device temperature is the same as or close to the second temperature threshold.
  • the screen brightness of the electronic device is gradually reduced according to the brightness adjustment function, including: obtaining a brightness adjustment coefficient through the brightness adjustment function according to the first temperature threshold, the second temperature threshold, and the balance brightness coefficient.
  • the screen brightness of the electronic device is adjusted according to the brightness adjustment coefficient.
  • adjusting the screen brightness of the electronic device according to the brightness adjustment coefficient includes: multiplying the brightness adjustment coefficient by the maximum screen brightness to obtain a target brightness; and adjusting the screen brightness of the electronic device to the target brightness.
  • the device temperature is close to the second temperature threshold, including: the difference between the device temperature and the second temperature threshold is less than or equal to a preset threshold; or the temperature difference between the device temperature and the second temperature threshold is less than or equal to a preset ratio.
  • determining that the electronic device is in a highlight scene includes: obtaining the brightness of the environment in which the electronic device is located, and when the environment brightness is greater than or equal to a first brightness threshold, determining that the electronic device is in a highlight scene. Or, obtaining the screen brightness of the electronic device, and when the screen brightness is greater than or equal to a second brightness threshold, determining that the electronic device is in a highlight scene.
  • the method further includes: when the device temperature reaches a third temperature threshold, gradually reducing the chip performance of the electronic device until the device temperature is the same as or close to the second temperature threshold.
  • a screen brightness adjustment device which is applied to an electronic device, comprising:
  • An acquisition module used to acquire a device temperature of the electronic device when the electronic device is in a high-brightness scene
  • the adjustment module is used to gradually reduce the screen brightness of the electronic device linearly or nonlinearly when the device temperature is greater than or equal to a first temperature threshold, until the device temperature is the same as or close to a second temperature threshold, and the second temperature threshold is greater than the first temperature threshold.
  • the adjustment module is specifically used to obtain a corresponding brightness adjustment function according to the ambient temperature of the electronic device when the device temperature is greater than or equal to the first temperature threshold, the brightness adjustment function is used to determine the screen brightness according to the device temperature at the ambient temperature, and the second temperature threshold is greater than the first temperature threshold.
  • the screen brightness of the electronic device is gradually reduced according to the brightness adjustment function until the device temperature is the same as or close to the second temperature threshold.
  • the brightness adjustment function includes a balanced brightness coefficient, which is a ratio of the balanced screen brightness to the maximum screen brightness.
  • the device temperature is the same as or close to the second temperature threshold.
  • the adjustment module is specifically used to obtain a brightness adjustment coefficient through a brightness adjustment function according to the first temperature threshold, the second temperature threshold, and the balance brightness coefficient, and adjust the screen brightness of the electronic device according to the brightness adjustment coefficient.
  • the adjustment module is specifically used to multiply the brightness adjustment coefficient by the maximum screen brightness to obtain a target brightness; and adjust the screen brightness of the electronic device to the target brightness.
  • the device temperature is close to the second temperature threshold, including: the device temperature is close to the second temperature threshold
  • the difference between the temperature thresholds is less than or equal to a preset threshold; or, the temperature difference between the device temperature and the second temperature threshold is less than or equal to a preset ratio.
  • the acquisition module is specifically used to acquire the brightness of the environment in which the electronic device is located, and when the ambient brightness is greater than or equal to a first brightness threshold, determine that the electronic device is in a highlight scene. Or, acquire the screen brightness of the electronic device, and when the screen brightness is greater than or equal to a second brightness threshold, determine that the electronic device is in a highlight scene.
  • the adjustment module is further configured to gradually reduce chip performance of the electronic device when the device temperature reaches a third temperature threshold, until the device temperature is the same as or close to the second temperature threshold.
  • an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program and performs the steps of processing in the first aspect or any one of the methods in the first aspect.
  • a chip comprising: a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the steps of processing in the first aspect or any one of the methods in the first aspect.
  • a computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the steps of processing in the first aspect or any one of the methods in the first aspect.
  • a computer program product comprising: a computer program code, when the computer program code is executed by an electronic device, the electronic device executes the steps of processing in the first aspect or any one of the methods in the first aspect.
  • the beneficial effects of the second to sixth aspects can refer to the first aspect and will not be elaborated here.
  • FIG1 is a schematic diagram of an application scenario of a screen brightness adjustment method provided in an embodiment of the present application
  • FIG2 is a hardware structure block diagram of an electronic device provided in an embodiment of the present application.
  • FIG3 is a system structure block diagram of an electronic device provided in an embodiment of the present application.
  • FIG4 is a flow chart of a method for adjusting screen brightness according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a curve showing changes in screen brightness, device temperature, and time in a screen brightness adjustment method provided in an embodiment of the present application;
  • FIG6 is a flow chart of a method for adjusting screen brightness according to another embodiment of the present application.
  • FIG7 is a structural block diagram of a screen brightness adjustment device provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
  • first and second are used for descriptive purposes only and should not be understood as indicating or implying relative The importance or implicitly indicates the number of the indicated technical features. Thus, a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, “multiple” means two or more.
  • the electronic device needs to increase the brightness of the screen to a certain level to ensure that the user can see the screen clearly and provide a good display effect.
  • the screen brightness level that can meet the needs of outdoor or strong light use is often higher, and to match it, a sufficiently large driving current needs to be provided to drive the screen. Although the screen brightness is improved under high current, it will also cause the temperature of the electronic device to rise rapidly.
  • the temperature of the electronic device will reach the temperature protection threshold in a very short time, triggering the high temperature protection mechanism. Once the high temperature protection mechanism is triggered, the screen brightness will be forced to be reduced to a lower level, which is often not enough for outdoor use or under strong light, seriously affecting the user experience.
  • the present application provides a screen brightness adjustment method, which is applied to an electronic device, including: when the electronic device is in a high-brightness scene, obtaining the device temperature of the electronic device; when the device temperature is greater than or equal to a first temperature threshold, gradually reducing the screen brightness of the electronic device in a linear or nonlinear manner until the device temperature is the same as or close to a second temperature threshold, and the second temperature threshold is greater than the first temperature threshold.
  • the screen brightness of the electronic device is adjusted when the electronic device is in a high-brightness scene and reaches the first temperature threshold, the brightness of the electronic device can be gradually reduced until the device temperature is the same as or close to the second temperature threshold. In this process, the screen brightness of the electronic device can always be maintained at a relatively high brightness level without a cliff-like brightness change, giving users a better user experience.
  • FIG1 is a schematic diagram of an application scenario of a screen brightness adjustment method provided in an embodiment of the present application.
  • FIG1 shows an electronic device 100.
  • the electronic device 100 detects that the ambient brightness is greater than the first brightness threshold, and determines that the electronic device 100 is in a high-brightness scene. In this case, the electronic device 100 starts to obtain the device temperature.
  • the electronic device 100 starts to adjust the screen brightness of the electronic device until the device temperature is the same as or close to the second temperature threshold.
  • the screen brightness of the electronic device is gradually reduced, and the screen brightness of the electronic device can always be maintained at a relatively high brightness level, giving the user a better user experience.
  • FIG. 2 is a block diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • the electronic device may include a mobile phone, a tablet computer, a handheld game console, a wearable device, an augmented reality (AR)/virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc.
  • AR augmented reality
  • VR virtual reality
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • 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 (subscriber).
  • 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
  • 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.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • 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.
  • the electronic device 100 when the electronic device 100 is a mobile phone or a tablet computer, it may include all the components shown in the figure, or may include only some of the components shown in the figure.
  • 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 video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • 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.
  • 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.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100.
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and provides the processor 110, the internal memory 121, The display screen 194, the camera 193, and the wireless communication module 160 are powered.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 141 can also be set in the processor 110.
  • the power management module 141 and the charging management module 140 can also be set in the same device.
  • 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.
  • 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.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the modulation and demodulation processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • 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 the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
  • 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).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation system
  • 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.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be Liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • 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.
  • the camera 193 is used to capture still images or videos.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • 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. For example, files such as music and videos can be stored in the external memory card.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the internal memory 121 may include a program storage area and a data storage area.
  • 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.
  • 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.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • 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.
  • 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.
  • 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.
  • 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.
  • the receiver 170B also called a "earpiece" is used to convert the audio electrical signal into a sound signal.
  • the user can place the receiver 170B close to the ear to receive the voice.
  • 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.
  • the earphone interface 170D is used to connect a wired earphone.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals and convert the pressure signals into electrical signals.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes i.e., x, y, and z axes
  • the gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light outward through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the temperature sensor 180J may include multiple ones for detecting the temperatures at different positions of the electronic device 100, such as being set near the processor to obtain the temperature of the processor, being set near the battery to obtain the temperature of the battery, or being set on the inside of the outer casing of the electronic device 100 to obtain the temperature of the outer casing of the electronic device 100.
  • the touch sensor 180K is also called a "touch control device”.
  • the touch sensor 180K can be set on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control 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.
  • 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.
  • the key 190 includes a power key, a volume key, etc.
  • the key 190 may be a mechanical key or a touch key.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
  • Motor 191 can generate vibration prompts.
  • Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminders, receiving messages, alarm clocks, games, etc.
  • the touch vibration feedback effect can also support customization.
  • Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.
  • the electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 can also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 100 uses an eSIM, i.e., an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the operating system of the electronic device 100 may include but is not limited to Symbian, Android, Windows, MacOS, iOS, Blackberry, Operating systems such as HarmonyOS, Linux or Unix.
  • FIG3 is a system structure block diagram of an electronic device provided in an embodiment of the present application.
  • the operating system of the electronic device 100 may be Andriod, and its system structure may refer to FIG. 3 .
  • 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.
  • 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 system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
  • 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.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying characters, controls for displaying pictures, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text message notification icon can include a view for displaying characters and a view for displaying pictures.
  • the phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • 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.
  • Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.
  • 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.
  • 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.
  • the system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • 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.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • 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.
  • FIG. 4 is a flow chart of a method for adjusting screen brightness according to an embodiment of the present application.
  • the screen brightness adjustment method includes:
  • S401 Detect that the electronic device is in a high-brightness scene. If yes, execute S402; otherwise, continue detecting.
  • detecting whether the electronic device is in a high-brightness scene may be achieved by detecting the ambient brightness of the electronic device or obtaining the screen brightness of the electronic device.
  • the ambient brightness acquired by the ambient light sensor 180L in the electronic device is greater than or equal to the first brightness threshold, it can be determined whether the electronic device is in a high-brightness scene.
  • the first brightness threshold is 10000 lux (lx)
  • the illuminance of the ambient brightness collected by the ambient light sensor 180L is 12000 lx, it can be determined that the electronic device is in a high-brightness scene.
  • the ambient brightness is not high (such as only 5000 lx)
  • the screen brightness is manually set or forced to be increased by some applications.
  • the brightness of the screen of the electronic device can be obtained, and when the screen brightness is greater than or equal to the second brightness threshold, it can be determined whether the electronic device is in a high-brightness scene.
  • the second brightness threshold is 1000 nits (nit)
  • the brightness of the screen of the electronic device is obtained to be 1300 nit, it can be determined that the electronic device is in a high-brightness scene.
  • the electronic device can obtain the device temperature through a temperature sensor 180J, and the temperature sensor 180J can be set inside the housing of the electronic device, near the processor, or inside the screen.
  • the temperature sensor 180J can be set inside the housing of the electronic device, near the processor, or inside the screen.
  • multiple temperature sensors 180J can be set, and the average value of the temperatures collected by the multiple temperature sensors 180J is used as the device temperature.
  • S403 Detect that the device temperature is greater than or equal to the first temperature threshold. If yes, execute S404; otherwise, continue detecting.
  • the first temperature threshold may also become a warning temperature, that is, when the temperature of the electronic device rises to the first temperature threshold, it is necessary to intervene to adjust the screen brightness to ensure that the electronic device does not rapidly increase the device temperature due to the high brightness of the screen and trigger the temperature control protection.
  • the first temperature threshold may be pre-set, and the first temperature threshold may be less than the temperature at which the temperature control triggers the temperature control protection.
  • the first temperature threshold may be 30°C, 33°C, or 35°C, etc.
  • FIG. 5 is a schematic diagram of a curve showing changes in screen brightness, device temperature, and time in a screen brightness adjustment method provided in an embodiment of the present application.
  • the screen brightness of the electronic device begins to increase, and at time t 2, the electronic device is detected In the high-brightness scene, in this case, S402 and S403 are executed.
  • S402 and S403 are executed.
  • the electronic device has a different temperature environment, and the rate at which the device temperature of the electronic device increases is also different. Therefore, the corresponding brightness adjustment function can be obtained according to the ambient temperature of the electronic device.
  • the ambient temperature of the electronic device can be obtained by a temperature sensor disposed on the surface of the electronic device. Alternatively, it can also be obtained through a weather forecast application. Alternatively, it can also be obtained through an intelligent device with a temperature measurement function that is connected to the electronic device for communication. For example, if the environment in which the electronic device is located includes intelligent devices such as an intelligent air conditioner, an intelligent thermometer, and an intelligent air purifier that are connected to the electronic device for communication, the electronic device can request the intelligent device to feedback the ambient temperature to obtain the ambient temperature of the electronic device.
  • intelligent devices such as an intelligent air conditioner, an intelligent thermometer, and an intelligent air purifier that are connected to the electronic device for communication
  • the balanced brightness coefficient of the electronic device under different ambient temperatures can be obtained in advance.
  • the balanced brightness coefficient is the ratio of the balanced screen brightness to the maximum screen brightness.
  • the device temperature is the same as or close to the second temperature threshold.
  • L level is the balanced screen brightness
  • L max is the maximum screen brightness
  • the brightness adjustment function may output a brightness adjustment coefficient K, and the product of the brightness adjustment coefficient and L max is the target brightness L of the screen.
  • the brightness adjustment coefficient K may be calculated by Formula 2 or Formula 3:
  • formula 2 is a linear brightness adjustment function.
  • K in formula 2 linear adjustment of the screen brightness can be achieved.
  • Formula 3 is a nonlinear brightness adjustment function. By adjusting the screen brightness by K in formula 3, nonlinear adjustment of the screen brightness can be achieved.
  • T is the device temperature of the electronic device
  • T2 is the second temperature threshold, that is, the temperature when the screen brightness is maintained at the balanced screen brightness
  • T3 is the temperature for triggering the temperature control protection.
  • T1 can be 35°C
  • T2 can be 40°C
  • T3 can be 42°C.
  • the brightness adjustment function of the electronic device i.e., Formula 2 or Formula 3
  • S405 is executed according to Formula 2 or Formula 3.
  • S405 gradually reduce the screen brightness of the electronic device according to the brightness adjustment function.
  • the threshold of the temperature sensor may be set first.
  • the first temperature threshold T1 may be set to 35°C.
  • the obtained device temperature T is sent to the Display Engine.
  • the display engine calculates the real-time brightness adjustment coefficient K according to the received temperature T and reference formula 2 or formula 3.
  • the display engine may be a software display engine or a hardware display engine.
  • the software display engine may be a display engine service in a framework layer.
  • L max can be 1500nit.
  • the room temperature is 25°C
  • the screen brightness is 1000nit, which can stabilize the device temperature of the mobile phone at around 40°C (T 2 ).
  • T 1 can be set to 35°C. According to the formula in the above example, it can be calculated that K level is 0.667.
  • the temperature sensor can report the temperature every 5 seconds, and the device temperature of the electronic device can be the average of the last 5 temperatures reported by the temperature sensor.
  • the electronic device may also update the brightness adjustment coefficient K every preset temperature. For example, after the device temperature T reaches T 1 (35°C), the brightness adjustment coefficient K may be updated every 0.5°C increase. That is, when T increases from 35°C to 35.5°C and above, the brightness adjustment coefficient K may be updated. If it increases from 35°C to 35.4°C, the brightness adjustment coefficient K is not updated because the temperature increase is less than 0.5°C.
  • the above calculation steps can be performed in the display engine service in the Framework. After the brightness coefficient K is calculated, the target brightness L is calculated based on K and L max. Then, the target brightness is sent to the thread that controls the screen brightness, and combined with the brightness switching module, the screen brightness is smoothly switched in a gradual manner.
  • the brightness can be sent to the backlight driver (Backlight Driver) in the kernel layer through the brightness control service "lightService", and the brightness can be smoothly adjusted through the Backlight Driver.
  • Backlight Driver Backlight Driver
  • the brightness control service "lightService” the brightness control service
  • lightService is a service in the Android system, which is used to control the screen brightness.
  • LightService allows the use of functions to set the screen brightness of the device. For example, the screen brightness can be adjusted by passing a brightness value parameter or using a predefined brightness constant.
  • K calculated by Formula 2 or Formula 3 is multiplied by L max to obtain the target brightness L, and the target brightness L is used as a parameter of the brightness value to adjust the screen brightness.
  • the Backlight Driver is used to control the backlight brightness of the screen.
  • the Backlight Driver provides a smooth adjustment function, which can perform a smooth brightness transition to avoid obvious changes in brightness adjustment.
  • the Backlight Driver After receiving the target brightness L, the Backlight Driver performs a smooth adjustment based on the difference in backlight brightness between the target brightness L and the current display brightness, and controls the backlight brightness of the screen to display according to the target brightness L.
  • S406 Detect that the device temperature is the same as or close to the second temperature threshold. If yes, execute S407; otherwise, continue to execute S405.
  • the screen brightness of the electronic device can be maintained.
  • the device temperature of the electronic device can be maintained at an appropriate temperature (T 2 ).
  • the device temperature is close to the second temperature threshold, including: the difference between the device temperature and the second temperature threshold is less than or equal to a preset threshold, or the difference between the device temperature and the second temperature threshold is less than or equal to a preset ratio.
  • the second temperature threshold is 40°C and the preset threshold is 0.2°C.
  • the device temperature is 40°C, it is confirmed that the device temperature is the same as the second temperature threshold.
  • the device temperature is between 39.8°C and 40.2°C, it is confirmed that the device temperature is close to the second temperature threshold.
  • the second temperature threshold is 40°C and the preset ratio is 1%.
  • the device temperature is 40°C, it is confirmed that the device temperature is the same as the second temperature threshold.
  • the device temperature is 39.6°C (40°C*99%) to 40.4°C (40°C*101%) , confirm that the device temperature is close to the second temperature threshold.
  • FIG6 is a flow chart of a screen brightness adjustment method provided in another embodiment of the present application.
  • steps S401 to S407 are the same as the process shown in FIG. 4 , and are not described in detail herein.
  • the screen brightness adjustment method further includes:
  • S408 Detect that the device temperature is greater than or equal to the third temperature threshold. If yes, execute S409; otherwise, continue detecting.
  • S410 Detect that the device temperature is the same as or close to the second temperature threshold. If yes, execute S407; otherwise, continue detecting.
  • the electronic device when the screen brightness of the electronic device is maintained, the electronic device is operated, resulting in increased power consumption of the electronic device, or a significant change in ambient temperature, both of which may cause the device temperature of the electronic device to rise sharply.
  • S409 may be executed to reduce device power consumption, thereby reducing the device temperature of the electronic device.
  • the chip performance of the electronic device can be gradually reduced.
  • the screen refresh frequency can be reduced, that is, the GPU rendering frame rate can be reduced, or the chip computing requirements can be reduced, such as reducing the sampling frequency of various sensors on the electronic device, the transmission rate of wireless networks, near-field communications, and Bluetooth, and shutting down the application calculations in the system background.
  • the chip's computing load and shutting down some of the chip's hardware computing units the heat generation of the chip and major components can be reduced to prevent the temperature from continuing to rise.
  • the chip performance of the electronic device is gradually reduced until the device temperature is the same as or close to the second temperature threshold.
  • the device temperature of the electronic device is too high, the screen brightness can be kept at a high level, and the temperature of the electronic device can be reduced to a reasonable range, thereby providing a better user experience for the user.
  • FIG7 is a structural block diagram of a screen brightness adjustment device provided in an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown.
  • a screen brightness adjustment device is applied to an electronic device, comprising:
  • An acquisition module 71 is used to acquire a device temperature of the electronic device when the electronic device is in a high-brightness scene;
  • the adjustment module 72 is used to gradually reduce the screen brightness of the electronic device linearly or nonlinearly when the device temperature is greater than or equal to the first temperature threshold, until the device temperature is the same as or close to the second temperature threshold, and the second temperature threshold is greater than the first temperature threshold.
  • the adjustment module 72 is specifically used to obtain a corresponding brightness adjustment function according to the ambient temperature of the electronic device when the device temperature is greater than or equal to the first temperature threshold, the brightness adjustment function is used to determine the screen brightness according to the device temperature at the ambient temperature, and the brightness adjustment function includes a linear brightness adjustment function or a nonlinear brightness adjustment function.
  • the screen brightness of the electronic device is gradually reduced according to the brightness adjustment function until the device temperature reaches the minimum value. The same as or close to the second temperature threshold.
  • the brightness adjustment function includes a balanced brightness coefficient, which is a ratio of the balanced screen brightness to the maximum screen brightness.
  • the device temperature is the same as or close to the second temperature threshold.
  • the adjustment module 72 is specifically configured to obtain a brightness adjustment coefficient through a brightness adjustment function according to the first temperature threshold, the second temperature threshold, and the balance brightness coefficient, and to adjust the screen brightness of the electronic device according to the brightness adjustment coefficient.
  • the adjustment module 72 is specifically configured to multiply the brightness adjustment coefficient by the maximum screen brightness to obtain a target brightness; and adjust the screen brightness of the electronic device to the target brightness.
  • the device temperature is close to the second temperature threshold, including: the difference between the device temperature and the second temperature threshold is less than or equal to a preset threshold; or the temperature difference between the device temperature and the second temperature threshold is less than or equal to a preset ratio.
  • the acquisition module 71 is specifically used to acquire the brightness of the environment in which the electronic device is located, and when the ambient brightness is greater than or equal to a first brightness threshold, determine that the electronic device is in a highlight scene. Or, acquire the screen brightness of the electronic device, and when the screen brightness is greater than or equal to a second brightness threshold, determine that the electronic device is in a highlight scene.
  • the adjustment module 72 is further configured to gradually reduce the chip performance of the electronic device when the device temperature reaches a third temperature threshold, until the device temperature is the same as or close to the second temperature threshold.
  • Each functional unit and module in the embodiment 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, and the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • a “module” may be a software program, a hardware circuit, or a combination of the two that implements the above-mentioned functions.
  • the hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit, and/or other suitable components that support the described functions.
  • ASIC application specific integrated circuit
  • processor such as a shared processor, a dedicated processor, or a group processor, etc.
  • memory for executing one or more software or firmware programs, a merged logic circuit, and/or other suitable components that support the described functions.
  • modules of each example described in the embodiments of the present application can be implemented with 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 present application.
  • An embodiment of the present application also provides another electronic device, including a processor and a memory.
  • Memory is used to store computer programs that can be executed on the processor.
  • the processor is used to execute the processing steps in the method for entering the long standby mode as described above.
  • An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is executed on an electronic device, the electronic device executes the method as shown above.
  • the computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
  • wired e.g., coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless e.g., infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or may include one or more servers, data centers, and other data storage devices that can be integrated with the medium.
  • the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
  • a magnetic medium e.g., a floppy disk, a hard disk, a magnetic tape
  • an optical medium e.g., a compact disc (CD)
  • a semiconductor medium e.g., a solid state disk (SSD)
  • the embodiment of the present application also provides a computer program product including computer instructions, which, when executed on an electronic device, enables the electronic device to execute the technical solution shown above.
  • FIG8 is a schematic diagram of the structure of a chip provided in an embodiment of the present application.
  • the chip shown in FIG8 can be a general-purpose processor or a dedicated processor.
  • the chip includes a processor 801.
  • the processor 801 is used to support the electronic device to execute the technical solution shown above.
  • the chip further includes a transceiver 802, and the transceiver 802 is used to accept the control of the processor 801 and to support the communication device to execute the technical solution shown above.
  • the chip shown in FIG. 8 may further include: a storage medium 803 .
  • the chip shown in Figure 8 can be implemented using the following circuits or devices: one or more field programmable gate arrays (FPGA), programmable logic devices (PLD), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits that can perform the various functions described throughout this application.
  • FPGA field programmable gate arrays
  • PLD programmable logic devices
  • controllers state machines
  • gate logic discrete hardware components
  • any other suitable circuits any combination of circuits that can perform the various functions described throughout this application.
  • the electronic device, computer storage medium, computer program product, and chip provided in the above-mentioned embodiments of the present application are all used to execute the methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding beneficial effects of the methods provided above, and will not be repeated here.
  • pre-setting and “pre-definition” can be achieved by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in a device (for example, including an electronic device), and the present application does not limit its specific implementation method.

Landscapes

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

Abstract

一种屏幕亮度调整方法、装置、电子设备及可读存储介质,涉及终端领域。该方法包括:当电子设备处于高亮场景时,获取电子设备的设备温度;当设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近,第二温度阈值大于第一温度阈值。由于在电子设备处于高亮场景且达到第一温度阈值时就开始介入调整电子设备的屏幕亮度,可以使电子设备的亮度逐渐降低,直至设备温度与第二温度阈值相同或相近。在这个过程中,电子设备的屏幕亮度可以始终保持在一个相对较高的亮度水平,给用户带来更好的使用体验。

Description

屏幕亮度调整方法、装置、电子设备及可读存储介质
本申请要求于2023年07月27日提交中国国家知识产权局、申请号为202310940242.8、申请名称为“屏幕亮度调整方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,尤其涉及一种屏幕亮度调整方法、装置、电子设备及可读存储介质。
背景技术
当用户在户外场景或强光场景下使用电子设备时,电子设备的屏幕需要提供较高的亮度才能保证显示效果。然而,提升屏幕亮度往往需要用较大的驱动电流,驱动电流增大会导致整机温度快速升高。
目前,可以通过在电子设备的温度到达一定的温度阈值时触发保护机制,将屏幕亮度降低到一个较低的水平来减小驱动电流,以保证电子设备的温度不会过高。
但是,目前所使用的方案在屏幕亮度保持较高亮度时,会在很短的时间内达到温度保护阈值,触发保护机制,导致屏幕亮度被限制到较低水平,影响用户的使用体验。
发明内容
本申请提供一种屏幕亮度调整方法、装置、电子设备及可读存储介质,能够在电子设备处于高亮场景下时,对屏幕亮度进行逐步降低,以使得电子设备可以维持较高的亮度且不会过热,改善屏幕亮度保持较高亮度时,会在很短的时间内达到温度保护阈值,触发保护机制,导致屏幕亮度被限制到较低水平,影响用户使用体验的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,提供了一种屏幕亮度调整方法,应用于电子设备,包括:
当电子设备处于高亮场景时,获取电子设备的设备温度;当设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近,第二温度阈值大于第一温度阈值。
在本申请的实施例中,屏幕亮度调整方法可以应用于电子设备,包括手机、平板电脑、掌上游戏机、可穿戴设备、增强现实/虚拟现实设备、笔记本电脑、超级移动个人计算机、上网本、个人数字助理等。
在第一方面中,由于在电子设备处于高亮场景且达到第一温度阈值时就开始介入调整电子设备的屏幕亮度,可以使电子设备的亮度逐渐降低,直至设备温度与第二温度阈值相同或相近。在这个过程中,电子设备的屏幕亮度可以始终保持在一个相对较高的亮度水平,不会出现断崖式的亮度变化,给用户带来更好的使用体验。
一些可能的实施方式中,当设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近,包括: 当设备温度大于或等于第一温度阈值时,根据电子设备的环境温度,获取对应的亮度调节函数,亮度调节函数用于在环境温度下,根据设备温度确定屏幕亮度,亮度调节函数包括线性亮度调节函数或非线性亮度调节函数。根据亮度调节函数逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近。
一些可能的实施方式中,亮度调节函数包括平衡亮度系数,平衡亮度系数为平衡屏幕亮度与最大屏幕亮度的比值,当电子设备的屏幕亮度保持在平衡屏幕亮度时,设备温度与第二温度阈值相同或相近。
根据亮度调节函数逐步降低电子设备的屏幕亮度,包括:根据第一温度阈值、第二温度阈值、平衡亮度系数,通过亮度调节函数获取亮度调节系数。根据亮度调节系数,调整电子设备的屏幕亮度。
一些可能的实施方式中,根据亮度调节系数,调整电子设备的屏幕亮度,包括:将亮度调节系数与最大屏幕亮度相乘,得到目标亮度;将电子设备的屏幕亮度调整为目标亮度。
一些可能的实施方式中,设备温度与第二温度阈值相近,包括:设备温度与第二温度阈值的差值小于或等于预设阈值;或,设备温度与第二温度阈值的温度差小于或等于预设比例。
一些可能的实施方式中,确定电子设备处于高亮场景,包括:获取电子设备所处环境的亮度,当环境亮度大于或等于第一亮度阈值时,确定电子设备处于高亮场景。或,获取电子设备的屏幕亮度,当屏幕亮度大于或等于第二亮度阈值时,确定电子设备处于高亮场景。
一些可能的实施方式中,该方法还包括:当设备温度达到第三温度阈值时,逐步降低电子设备的芯片性能,直至设备温度与第二温度阈值相同或相近。
第二方面,提供了一种屏幕亮度调整装置,应用于电子设备,包括:
获取模块,用于当电子设备处于高亮场景时,获取电子设备的设备温度;
调整模块,用于当设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近,第二温度阈值大于第一温度阈值。
一些可能的实施方式中,调整模块,具体用于当设备温度大于或等于第一温度阈值时,根据电子设备的环境温度,获取对应的亮度调节函数,亮度调节函数用于在环境温度下,根据设备温度确定屏幕亮度,第二温度阈值大于第一温度阈值。根据亮度调节函数逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近。
一些可能的实施方式中,亮度调节函数包括平衡亮度系数,平衡亮度系数为平衡屏幕亮度与最大屏幕亮度的比值,当电子设备的屏幕亮度保持在平衡屏幕亮度时,设备温度与第二温度阈值相同或相近。
调整模块,具体用于根据第一温度阈值、第二温度阈值、平衡亮度系数,通过亮度调节函数获取亮度调节系数。根据亮度调节系数,调整电子设备的屏幕亮度。
一些可能的实施方式中,调整模块,具体用于将亮度调节系数与最大屏幕亮度相乘,得到目标亮度;将电子设备的屏幕亮度调整为目标亮度。
一些可能的实施方式中,设备温度与第二温度阈值相近,包括:设备温度与第二 温度阈值的差值小于或等于预设阈值;或,设备温度与第二温度阈值的温度差小于或等于预设比例。
一些可能的实施方式中,获取模块,具体用于获取电子设备所处环境的亮度,当环境亮度大于或等于第一亮度阈值时,确定电子设备处于高亮场景。或,获取电子设备的屏幕亮度,当屏幕亮度大于或等于第二亮度阈值时,确定电子设备处于高亮场景。
一些可能的实施方式中,调整模块,还用于当设备温度达到第三温度阈值时,逐步降低电子设备的芯片性能,直至设备温度与第二温度阈值相同或相近。
第三方面,提供了一种电子设备,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时行第一方面或第一方面中任一种方法中进行处理的步骤。
第四方面,提供了一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行第一方面或第一方面中任一种方法中进行处理的步骤。
第五方面,提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被处理器执行时,使处理器执行第一方面或第一方面中任一种方法中进行处理的步骤。
第六方面,提供了一种计算机程序产品,计算机程序产品包括:计算机程序代码,当计算机程序代码被电子设备运行时,使得该电子设备执行第一方面或第一方面中任一种方法中进行处理的步骤。
其中,第二方面至第六方面的有益效果可以参照第一方面,在此不做赘述。
附图说明
图1是本申请实施例提供的一种屏幕亮度调整方法的应用场景示意图;
图2是本申请实施例提供的一种电子设备的硬件结构框图;
图3是本申请实施例提供的电子设备的系统结构框图;
图4是本申请一实施例提供的屏幕亮度调整方法的流程示意图;
图5是本申请一实施例提供的屏幕亮度调整方法中屏幕亮度、设备温度以及时间的变化曲线示意图;
图6是本申请另一实施例提供的屏幕亮度调整方法的流程示意图;
图7是本申请实施例提供的一种屏幕亮度调整装置的结构框图;
图8是本申请实施例提供的一种芯片的结构示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对 重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
用户使用电子设备时可能会在室外或强光下使用。这种情况下,电子设备需要将屏幕的亮度提高到一定水平,才能保证用户可以看清屏幕,提供良好的显示效果。
但是,能够满足在室外或强光下使用的屏幕亮度水平往往较高,与之匹配的,需要提供足够大的驱动电流驱动屏幕。虽然在大电流下屏幕的亮度得到了提升,但也会导致电子设备整机温度快速升高。
目前所使用的方案,在屏幕亮度保持较高亮度时,电子设备的整机温度会在很短的时间内达到温度保护阈值,触发高温保护机制。高温保护机制触发后,会强制降低屏幕亮度,使其限制到较低水平,而这个亮度水平往往无法满足在室外或强光下使用,严重影响用户的使用体验。
对此,本申请提供了一种屏幕亮度调整方法,应用于电子设备,包括:当所述电子设备处于高亮场景时,获取所述电子设备的设备温度;当所述设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至所述设备温度与第二温度阈值相同或相近,第二温度阈值大于所述第一温度阈值。
本申请中,由于在电子设备处于高亮场景且达到第一温度阈值时就开始介入调整电子设备的屏幕亮度,可以使电子设备的亮度逐渐降低,直至设备温度与第二温度阈值相同或相近。在这个过程中,电子设备的屏幕亮度可以始终保持在一个相对较高的亮度水平,不会出现断崖式的亮度变化,给用户带来更好的使用体验。
图1是本申请实施例提供的一种屏幕亮度调整方法的应用场景示意图。
参考图1,首先对本申请实施例的应用场景进行简要说明。
图1中示出了电子设备100,用户在户外阳光照射下使用电子设备100时,由于阳光照射时光照强度较高。电子设备100检测到环境亮度大于第一亮度阈值,确定电子设备100处于高亮场景下。这个情况下,电子设备100开始获取设备温度,当设备温度大于或等于第一温度阈值时,电子设备100开始调整电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近。在这个调整过程中,电子设备的屏幕亮度是逐步降低的,电子设备的屏幕亮度可以始终保持在一个相对较高的亮度水平,给用户带来更好的使用体验。
图2是本申请实施例提供的一种电子设备的硬件结构框图。
作为示例,电子设备可以包括手机、平板电脑、掌上游戏机、可穿戴设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。对于电子设备的具体类型,本申请实施例不作任何限制。
参考图2,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber  identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
作为举例,当电子设备100为手机或平板电脑时,可以包括图示中的全部部件,也可以仅包括图示中的部分部件。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121, 显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采 用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备 100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。 环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
在本申请实施例中,温度传感器180J可以包括多个,用于检测电子设备100不同位置的温度,如可以设置在处理器附近,获取处理器的温度,设置在电池附近,获取电池的温度或者设置在电子设备100的外壳内侧,用于获取电子设备100外壳的温度。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
对于以上示例中的场景,电子设备100的操作系统可以包括但不限于塞班(Symbian)、安卓(Andriod)、窗口(Windows)、苹果(MacOS、iOS)、黑莓(Blackberry)、 鸿蒙(HarmonyOS)、林纳斯(Linux)或尤内克斯(Unix)等操作系统。
图3是本申请实施例提供的电子设备的系统结构框图。
作为示例,当本申请提供的屏幕亮度调整方法在电子设备100上运行时,电子设备100的操作系统可以是Andriod,其系统结构可以参照图3。
其中,分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图3所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示字符的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示字符的视图以及显示图片的视图。
电话管理器用于提供电子设备的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
图4是本申请一实施例提供的屏幕亮度调整方法的流程示意图。
参考图4,屏幕亮度调整方法包括:
S401、检测到电子设备处于高亮场景,若是,则执行S402,若否则继续检测。
一些可能的实现方式中,检测电子设备是否处于高亮场景,可以通过检测电子设备的环境亮度或获取电子设备的屏幕亮度实现。
作为示例,参考图1中的场景,以及图2中示出的电子设备结构,当电子设备中的环境光传感器180L获取到的环境亮度大于或等于第一亮度阈值时,即可确定电子设备是否处于高亮场景。
例如,假设第一亮度阈值为10000勒克斯(lx)对于图1中的场景,若环境光传感器180L采集到的环境亮度的照度为12000lx,即可以确定电子设备处于高亮场景。
另一个示例中,如果环境亮度不高(如仅有5000lx),但是通过人工设置或者某些应用强制将屏幕亮度调高。这种情况下,可以获取电子设备的屏幕的亮度,当屏幕亮度大于或等于第二亮度阈值时,即可确定电子设备是否处于高亮场景。
例如,假设第二亮度阈值为1000尼特(nit),若获取电子设备的屏幕的亮度为1300nit,即可以确定电子设备处于高亮场景。
S402、获取电子设备的设备温度。
一些可能的实现方式中,参考图2中示出的电子设备结构,电子设备可以通过温度传感器180J获取设备温度,温度传感器180J可以设置在电子设备的壳体内侧、处理器附近或屏幕内侧等位置。或者,也可以设置多个温度传感器180J,将多个温度传感器180J采集到温度的平均值作为设备温度。
S403、检测到设备温度大于或等于第一温度阈值,若是,则执行S404,若否则继续检测。
一些可能的实现方式中,第一温度阈值也可以成为预警温度,即电子设备的温度提升至第一温度阈值时,需要介入对屏幕亮度进行调节,以保证电子设备不会因为屏幕高亮度而迅速提升设备温度,触发温控保护。作为示例,第一温度阈值可以是预先设置的,第一温度阈值可以小于温控触发温控保护的温度,例如,第一温度阈值可以是30℃、33℃或35℃等。
图5是本申请一实施例提供的屏幕亮度调整方法中屏幕亮度、设备温度以及时间的变化曲线示意图。
参考图5,其中,t1时刻电子设备的屏幕亮度开始提升,在t2时刻检测到电子设备 处于高亮场景。这个情况下,开始执行S402、S403。当在t3时刻检测到设备温度大于或等于第一温度阈值T1时,即确定需要开始介入,对屏幕亮度进行调整。
S404、根据电子设备的环境温度,获取对应的亮度调节函数。
一些可能的实现方式中,由于电子设备所处的环境温度不同,电子设备的设备温度提升的速率也不同。所以,可以根据电子设备的环境温度,获取对应的亮度调节函数。
其中,电子设备的环境温度可以通过设置于电子设备表面的温度传感器获取。或者,也可以通过天气预报应用程序获取。再或者,也可以通过与电子设备通信连接的,具有温度测量功能的智能设备获取。例如,若电子设备所处的环境中包括与电子设备通信连接的智能空调、智能温度计、智能空气净化器等智能设备,则电子设备可以请求智能设备反馈环境温度,以获取电子设备的环境温度。
作为示例,对于每一种电子产品,可以预先获取电子设备在不同环境温度下的平衡亮度系数。平衡亮度系数为平衡屏幕亮度与最大屏幕亮度的比值,当电子设备的屏幕亮度保持在平衡屏幕亮度时,设备温度与所述第二温度阈值相同或相近。
即平衡亮度系数K可以通过公式一表示:
K=L/Lmax  (公式一)
其中,L为平衡屏幕亮度,Lmax为最大屏幕亮度。
然后,获取该电子产品在不同环境温度下的亮度调节函数。
一些可能的实现方式中,亮度调节函数可以输出亮度调节系数K,亮度调节系数与Lmax的乘积即为屏幕的目标亮度L。
作为示例,参考图5,亮度调节系数K可以通过公式二或公式三计算:

其中,公式二为线性亮度调节函数,通过公式二中的K对屏幕亮度调节,可以实现屏幕亮度的线性调节,公式三为非线性亮度调节函数,通过公式三中的K对屏幕亮度调节,可以实现屏幕亮度的非线性调节。
则屏幕的目标亮度L可以通过公式四计算:
L=K*Lmax  (公式四)
其中,T为电子设备的设备温度,T2为第二温度阈值,即屏幕亮度保持在平衡屏幕亮度时的温度。T3为触发温控保护的温度。
以室温25℃为例,T1可以是35℃、T2可以是40℃、T3可以是42℃,
作为示例,参考图5,当在t3时刻检测到设备温度大于或等于第一温度阈值T1时,可以根据当前电子设备的环境温度,获取该电子设备的亮度调节函数(即公式二或公式三)然后,根据公式二或公式三执行S405。
S405、根据亮度调节函数逐步降低电子设备的屏幕亮度。
一些可能的实施方式中,参考S404中的示例,根据公式二或公式三调节屏幕亮度时,可以先设置温度传感器(sensor)的阈值。例如,可以将第一温度阈值T1设置为35℃。当温度传感器获取到的温度大于或等于35℃时,将获取到的设备温度T发送给 显示引擎。
显示引擎根据接收到的温度T,根据参考公式二或公式三进行实时亮度调节系数K的计算。
其中,显示引擎可以是软件显示引擎也可以是硬件显示引擎。例如,软件显示引擎可以是框架层(Framework)中的显示引擎服务。
作为示例,当电子设备为手机时,Lmax可以是1500nit。当在25°室温时,若手机负载正常,则屏幕亮度为1000nit时,可以使手机的设备温度稳定在40℃(T2)附近。则T1可以设置为35℃。根据上述示例中的公式,可以计算得到K为0.667。当设备温度高于T1时,温度传感器可以每5秒上报一次温度,电子设备的设备温度可以是温度传感器上报的最近5次温度的平均值。
作为示例,电子设备还可以每隔预设温度更新一次亮度调节系数K。例如,可以在设备温度T达到T1(35℃)后,每升高0.5℃更新一次亮度系数K。即,当T从35℃升至35.5℃及以上时,可以更新亮度调节系数K。若从35℃升至35.4℃,由于升温不到0.5℃,则不更新亮度调节系数K。
其中,以上计算步骤可以在Framework中的显示引擎服务中进行。当计算得到亮度系数K后,根据K和Lmax算出目标亮度L。然后,将目标亮度下发给控制屏幕亮度的线程,并结合亮度切换模块,采用渐变的方式平缓切换屏幕亮度。
例如,可以经过亮度控制服务“lightService”下发亮度至内核层的背光驱动程序(Backlight Driver),通过Backlight Driver平滑调整亮度。
其中,lightService是安卓系统中的一个服务,用于控制屏幕亮度。lightService允许使用函数来设置设备的屏幕亮度。例如,可以通过传递一个亮度值的参数,或者使用预定义的亮度常量来调整屏幕亮度。本申请中,即使用公式二或公式三计算得到的K与Lmax相乘,得到目标亮度L,将目标亮度L作为亮度值的参数来调整屏幕亮度。
而Backlight Driver则用于控制屏幕的背光亮度。Backlight Driver提供平滑调节的功能,可以进行平滑的亮度过渡,以避免亮度调节的明显变化。Backlight Driver接收到目标亮度L后,根据目标亮度L与当前显示亮度之间背光亮度的差别,进行平滑调节,控制屏幕的背光亮度按照目标亮度L进行显示。
S406、检测到设备温度与第二温度阈值相同或相近,若是,则执行S407,若否则继续执行S405。
S407、保持电子设备的屏幕亮度。
一些可能的实施方式中,参考图5,当在t4时刻,检测到设备温度与第二温度阈值相同或相近,即确定电子设备的屏幕亮度与温度达到平衡,可以保持电子设备的屏幕亮度,这个情况下,电子设备的设备温度可以保持在一个合适的温度(T2)。
其中,设备温度与第二温度阈值相近,包括:设备温度与第二温度阈值的差值小于或等于预设阈值。或,设备温度与第二温度阈值的温度差小于或等于预设比例。
例如,第二温度阈值为40℃,预设阈值为0.2℃。则设备温度为40℃时,确认设备温度与第二温度阈值相同。当设备温度为39.8℃至40.2℃时,确认设备温度与第二温度阈值相近。
再例如,第二温度阈值为40℃,预设比例为1%。则设备温度为40℃时,确认设备温度与第二温度阈值相同。当设备温度为39.6℃(40℃*99%)至40.4℃(40℃*101%) 时,确认设备温度与第二温度阈值相近。
图6是本申请另一实施例提供的屏幕亮度调整方法的流程示意图。
参考图6,其中,S401至S407与图4中示出的流程相同,在此不做赘述。
在S407之后,屏幕亮度调整方法还包括:
S408、检测到设备温度大于或等于第三温度阈值,若是,则执行S409,若否则继续检测。
S409、逐步降低电子设备的芯片性能。
S410、检测到设备温度与第二温度阈值相同或相近,若是,则执行S407,若否则继续检测。
一些可能的实施方式中,当保持电子设备的屏幕亮度时,对电子设备进行操作,导致电子设备功耗增加,或者环境温度发生较大变化,均可能导致电子设备的设备温度急剧上升。
在这个情况下,若检测到设备温度大于或等于第三温度阈值(即触发温控保护的温度),则可以执行S409,以降低设备功耗,进而降低电子设备的设备温度。
作为示例,逐步降低电子设备的芯片性能,例如,可以降低屏幕的画面刷新频率,即降低GPU渲染帧率,或者还可以降低芯片的运算需求,例如降低电子设备上各个传感器的采样频率,无线网络、近场通讯、蓝牙的传输速率,关闭系统后台的应用计算等。通过降低芯片的计算负荷,关闭芯片的部分硬件计算单元,可以实现降低芯片的和主要元器件的发热,避免温度持续提升。
其中,S410中的方法与S406中相同,在此不做赘述。
在本实施例中,通过在检测到设备温度大于或等于第三温度阈值时,逐步降低电子设备的芯片性能,直至所述设备温度与第二温度阈值相同或相近。可以在电子设备的设备温度过高时,即保证屏幕亮度处于一个较高的水平,又保证电子设备的温度可以降至一个合理的区间,为用户提供了更好的使用体验。
应理解,上述举例说明是为了帮助本领域技术人员理解本申请实施例,而非要将本申请实施例限于所例示的具体数值或具体场景。
本领域技术人员根据所给出的上述举例说明,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本申请实施例的范围内。
对应于上文实施例提供的屏幕亮度调整方法,图7是本申请实施例提供的一种屏幕亮度调整装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。
参照图7,一种屏幕亮度调整装置,应用于电子设备,包括:
获取模块71,用于当电子设备处于高亮场景时,获取电子设备的设备温度;
调整模块72,用于当设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至设备温度与第二温度阈值相同或相近,第二温度阈值大于第一温度阈值。
一些可能的实施方式中,调整模块72,具体用于当设备温度大于或等于第一温度阈值时,根据电子设备的环境温度,获取对应的亮度调节函数,亮度调节函数用于在环境温度下,根据设备温度确定屏幕亮度,亮度调节函数包括线性亮度调节函数或非线性亮度调节函数。根据亮度调节函数逐步降低电子设备的屏幕亮度,直至设备温度 与第二温度阈值相同或相近。
一些可能的实施方式中,亮度调节函数包括平衡亮度系数,平衡亮度系数为平衡屏幕亮度与最大屏幕亮度的比值,当电子设备的屏幕亮度保持在平衡屏幕亮度时,设备温度与第二温度阈值相同或相近。
调整模块72,具体用于根据第一温度阈值、第二温度阈值、平衡亮度系数,通过亮度调节函数获取亮度调节系数。根据亮度调节系数,调整电子设备的屏幕亮度。
一些可能的实施方式中,调整模块72,具体用于将亮度调节系数与最大屏幕亮度相乘,得到目标亮度;将电子设备的屏幕亮度调整为目标亮度。
一些可能的实施方式中,设备温度与第二温度阈值相近,包括:设备温度与第二温度阈值的差值小于或等于预设阈值;或,设备温度与第二温度阈值的温度差小于或等于预设比例。
一些可能的实施方式中,获取模块71,具体用于获取电子设备所处环境的亮度,当环境亮度大于或等于第一亮度阈值时,确定电子设备处于高亮场景。或,获取电子设备的屏幕亮度,当屏幕亮度大于或等于第二亮度阈值时,确定电子设备处于高亮场景。
一些可能的实施方式中,调整模块72,还用于当设备温度达到第三温度阈值时,逐步降低电子设备的芯片性能,直至设备温度与第二温度阈值相同或相近。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。
实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。例如,“模块”可以是实现上述功能的软件程序、硬件电路或二者结合。所述硬件电路可能包括应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。
因此,在本申请的实施例中描述的各示例的模块,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考以下方法实施例中的对应过程,在此不再赘述。
应理解,本申请实施例中的硬件系统以及芯片可以执行前述本申请实施例的各种进入长待机模式的方法,即以下各种产品的具体工作过程,可以参考前述方法实施例中的对应过程。
本申请实施例还提供另一种电子设备,包括处理器和存储器。
存储器,用于存储可在处理器上运行的计算机程序。
处理器,用于执行如上述所述的进入长待机模式的方法中进行处理的步骤。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令;当所述计算机可读存储介质在电子设备上运行时,使得该电子设备执行如前述所示的方法。
所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。
所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。
所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本申请实施例还提供了一种包含计算机指令的计算机程序产品,当其在电子设备上运行时,使得电子设备可以执行前述所示的技术方案。
图8是本申请实施例提供的一种芯片的结构示意图。图8所示的芯片可以为通用处理器,也可以为专用处理器。该芯片包括处理器801。其中,处理器801用于支持电子设备执行前述所示的技术方案。
可选的,该芯片还包括收发器802,收发器802用于接受处理器801的控制,用于支持通信装置执行前述所示的技术方案。
可选的,图8所示的芯片还可以包括:存储介质803。
需要说明的是,图8所示的芯片可以使用下述电路或者器件来实现:一个或多个现场可编程门阵列(field programmable gate array,FPGA)、可编程逻辑器件(programmable logic device,PLD)、控制器、状态机、门逻辑、分立硬件部件、任何其他适合的电路、或者能够执行本申请通篇所描述的各种功能的电路的任意组合。
上述本申请实施例提供的电子设备、计算机存储介质、计算机程序产品、芯片均用于执行上文所提供的方法,因此,其所能达到的有益效果可参考上文所提供的方法对应的有益效果,在此不再赘述。
应理解,上述只是为了帮助本领域技术人员更好地理解本申请实施例,而非要限制本申请实施例的范围。本领域技术人员根据所给出的上述示例,显然可以进行各种等价的修改或变化。
例如,上述方法的各个实施例中某些步骤可以是不必须的,或者可以新加入某些步骤等。或者上述任意两种或者任意多种实施例的组合。这样的修改、变化或者组合后的方案也落入本申请实施例的范围内。
还应理解,上文对本申请实施例的描述着重于强调各个实施例之间的不同之处,未提到的相同或相似之处可以互相参考,为了简洁,这里不再赘述。
还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
还应理解,本申请实施例中,“预先设定”、“预先定义”可以通过在设备(例如,包括电子设备)中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。
还应理解,本申请实施例中的方式、情况、类别以及实施例的划分仅是为了描述的方便,不应构成特别的限定,各种方式、类别、情况以及实施例中的特征在不矛盾的情况下可以相结合。
还应理解,在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种屏幕亮度调整方法,其特征在于,应用于电子设备,所述方法包括:
    当所述电子设备处于高亮场景时,获取所述电子设备的设备温度;
    当所述设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低所述电子设备的屏幕亮度,直至所述设备温度与第二温度阈值相同或相近,所述第二温度阈值大于所述第一温度阈值。
  2. 根据权利要求1所述的方法,其特征在于,所述当所述设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至所述设备温度与第二温度阈值相同或相近,包括:
    当所述设备温度大于或等于第一温度阈值时,根据所述电子设备的环境温度,获取对应的亮度调节函数,所述亮度调节函数用于在所述环境温度下,根据所述设备温度确定所述屏幕亮度,所述亮度调节函数包括线性亮度调节函数或非线性亮度调节函数;
    根据所述亮度调节函数逐步降低电子设备的屏幕亮度,直至所述设备温度与第二温度阈值相同或相近。
  3. 根据权利要求2所述的方法,其特征在于,所述亮度调节函数包括平衡亮度系数,所述平衡亮度系数为平衡屏幕亮度与最大屏幕亮度的比值,当所述电子设备的屏幕亮度保持在所述平衡屏幕亮度时,所述设备温度与所述第二温度阈值相同或相近;
    所述根据所述亮度调节函数逐步降低电子设备的屏幕亮度,包括:
    根据所述第一温度阈值、所述第二温度阈值、所述平衡亮度系数,通过所述亮度调节函数获取亮度调节系数;
    根据所述亮度调节系数,调整所述电子设备的屏幕亮度。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述亮度调节系数,调整所述电子设备的屏幕亮度,包括:
    将所述亮度调节系数与所述最大屏幕亮度相乘,得到目标亮度;
    将所述电子设备的屏幕亮度调整为所述目标亮度。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述设备温度与所述第二温度阈值相近,包括:
    所述设备温度与所述第二温度阈值的差值小于或等于预设阈值;或,所述设备温度与所述第二温度阈值的温度差小于或等于预设比例。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,确定所述电子设备处于高亮场景,包括:
    获取所述电子设备所处环境的亮度,当所述环境亮度大于或等于第一亮度阈值时,确定所述电子设备处于高亮场景;或,
    获取所述电子设备的屏幕亮度,当所述屏幕亮度大于或等于第二亮度阈值时,确定所述电子设备处于高亮场景。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    当所述设备温度达到第三温度阈值时,逐步降低所述电子设备的芯片性能,直至所述设备温度与第二温度阈值相同或相近。
  8. 一种屏幕亮度调整装置,其特征在于,应用于电子设备,所述装置包括:
    获取模块,用于当所述电子设备处于高亮场景时,获取所述电子设备的设备温度;
    调整模块,用于当所述设备温度大于或等于第一温度阈值时,按照线性或非线性逐步降低电子设备的屏幕亮度,直至所述设备温度与第二温度阈值相同或相近,所述 第二温度阈值大于所述第一温度阈值。
  9. 一种电子设备,其特征在于,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,当所述程序指令被处理器执行时,所述处理器执行如权利要求1至7中任一项所述的方法。
PCT/CN2024/078620 2023-07-27 2024-02-26 屏幕亮度调整方法、装置、电子设备及可读存储介质 Pending WO2025020522A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310940242.8A CN119380642A (zh) 2023-07-27 2023-07-27 屏幕亮度调整方法、装置、电子设备及可读存储介质
CN202310940242.8 2023-07-27

Publications (1)

Publication Number Publication Date
WO2025020522A1 true WO2025020522A1 (zh) 2025-01-30

Family

ID=94340101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/078620 Pending WO2025020522A1 (zh) 2023-07-27 2024-02-26 屏幕亮度调整方法、装置、电子设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN119380642A (zh)
WO (1) WO2025020522A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120148434A (zh) * 2025-04-30 2025-06-13 联想(北京)有限公司 亮度调节方法及电子设备

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130141351A1 (en) * 2011-12-02 2013-06-06 Kabushiki Kaisha Toshiba Portable electronic device and method for brightness control
CN105511592A (zh) * 2016-02-16 2016-04-20 上海斐讯数据通信技术有限公司 一种基于智能终端的温度值检测方法及智能终端
CN105609057A (zh) * 2015-12-30 2016-05-25 中航华东光电有限公司 防止lcd液晶屏高温液化的方法
CN106094932A (zh) * 2016-06-16 2016-11-09 重庆蓝岸通讯技术有限公司 电子产品发热控制方法
CN110796988A (zh) * 2018-08-02 2020-02-14 北京小米移动软件有限公司 背光调节方法及装置
CN112181017A (zh) * 2020-09-17 2021-01-05 武汉海微科技有限公司 基于车载显示屏的温度保护算法
CN113296724A (zh) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 显示参数的调整方法、装置、电子设备以及存储介质
CN115116409A (zh) * 2021-03-17 2022-09-27 深圳市万普拉斯科技有限公司 屏幕亮度调整方法、装置、智能终端及存储介质
US20220327978A1 (en) * 2021-04-13 2022-10-13 Asustek Computer Inc. Electronic device and display panel control method therefor
CN115311974A (zh) * 2022-08-05 2022-11-08 北京小米移动软件有限公司 屏幕亮度调节方法及装置、存储介质及电子设备
CN116386548A (zh) * 2023-02-03 2023-07-04 武汉海微科技有限公司 车载显示屏高温亮度调节方法、装置、设备及存储介质

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130141351A1 (en) * 2011-12-02 2013-06-06 Kabushiki Kaisha Toshiba Portable electronic device and method for brightness control
CN105609057A (zh) * 2015-12-30 2016-05-25 中航华东光电有限公司 防止lcd液晶屏高温液化的方法
CN105511592A (zh) * 2016-02-16 2016-04-20 上海斐讯数据通信技术有限公司 一种基于智能终端的温度值检测方法及智能终端
CN106094932A (zh) * 2016-06-16 2016-11-09 重庆蓝岸通讯技术有限公司 电子产品发热控制方法
CN110796988A (zh) * 2018-08-02 2020-02-14 北京小米移动软件有限公司 背光调节方法及装置
CN112181017A (zh) * 2020-09-17 2021-01-05 武汉海微科技有限公司 基于车载显示屏的温度保护算法
CN115116409A (zh) * 2021-03-17 2022-09-27 深圳市万普拉斯科技有限公司 屏幕亮度调整方法、装置、智能终端及存储介质
US20220327978A1 (en) * 2021-04-13 2022-10-13 Asustek Computer Inc. Electronic device and display panel control method therefor
CN113296724A (zh) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 显示参数的调整方法、装置、电子设备以及存储介质
CN115311974A (zh) * 2022-08-05 2022-11-08 北京小米移动软件有限公司 屏幕亮度调节方法及装置、存储介质及电子设备
CN116386548A (zh) * 2023-02-03 2023-07-04 武汉海微科技有限公司 车载显示屏高温亮度调节方法、装置、设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120148434A (zh) * 2025-04-30 2025-06-13 联想(北京)有限公司 亮度调节方法及电子设备

Also Published As

Publication number Publication date
CN119380642A (zh) 2025-01-28

Similar Documents

Publication Publication Date Title
EP3872807A1 (en) Voice control method and electronic device
WO2020000448A1 (zh) 一种柔性屏幕的显示方法及终端
CN115798390B (zh) 屏幕显示方法和终端设备
CN114089933A (zh) 显示参数的调整方法、电子设备、芯片及可读存储介质
CN113747374B (zh) 一种消息推送方法及装置
WO2023056795A1 (zh) 快速拍照方法、电子设备及计算机可读存储介质
WO2021159746A1 (zh) 文件共享方法、系统及相关设备
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
CN113805797A (zh) 网络资源的处理方法、电子设备及计算机可读存储介质
WO2021057472A1 (zh) 一种显示控制方法与电子设备
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
CN116723384B (zh) 进程的控制方法、电子设备及可读存储介质
WO2022252972A1 (zh) 一种窗口显示方法和电子设备
CN115513571B (zh) 电池温度的控制方法和终端设备
CN116048831B (zh) 一种目标信号处理方法和电子设备
CN116541102A (zh) 文件预加载方法、装置、电子设备及可读存储介质
CN116055856A (zh) 相机界面显示方法、电子设备和计算机可读存储介质
CN119380642A (zh) 屏幕亮度调整方法、装置、电子设备及可读存储介质
CN116382786B (zh) 进入长待机模式的方法、电子设备及可读存储介质
CN116389884B (zh) 缩略图显示方法及终端设备
CN114489469B (zh) 一种数据读取方法、电子设备及存储介质
CN116400974A (zh) 进入长待机模式的方法、电子设备及可读存储介质
CN114828098B (zh) 数据传输方法和电子设备
CN117707243A (zh) 一种电子设备的温度控制方法
CN116017138B (zh) 测光控件显示方法、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24844220

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE