+

WO2018161592A1 - Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power - Google Patents

Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power Download PDF

Info

Publication number
WO2018161592A1
WO2018161592A1 PCT/CN2017/107185 CN2017107185W WO2018161592A1 WO 2018161592 A1 WO2018161592 A1 WO 2018161592A1 CN 2017107185 W CN2017107185 W CN 2017107185W WO 2018161592 A1 WO2018161592 A1 WO 2018161592A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
background image
power saving
grayscale
power
Prior art date
Application number
PCT/CN2017/107185
Other languages
French (fr)
Chinese (zh)
Inventor
郑志勇
易永鹏
苟生俊
袁晓日
甘高亭
杨海
彭德良
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161592A1 publication Critical patent/WO2018161592A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of electronic devices, and in particular, to a method, an apparatus, a storage medium, and an electronic device for switching background gray scales for power saving.
  • Backlight control functions such as content adaptation to backlight control (Content Adaptive Brightness The Control, CABC function is used to adjust the relationship between the grayscale value of the image and the brightness of the screen backlight according to the image content displayed on the terminal screen, and can effectively reduce the brightness of the screen backlight while maintaining the image display quality.
  • CABC function Content Adaptive Brightness The Control
  • the power saving effect based on the backlight control function is currently poor, resulting in the problem that the terminal still has a short battery life.
  • the embodiment of the present invention provides a method, a device, a storage medium, and an electronic device for switching background gray scales for power saving, which can extend the terminal life of the terminal.
  • an embodiment of the present application provides a method for switching a background grayscale to save power, including:
  • the grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  • the embodiment of the present application provides a device for switching a background gray scale to save power, including:
  • the power detecting module is configured to detect a remaining power value of the terminal if the backlight control function is in an open state
  • a screen grayscale reduction module configured to reduce a grayscale of the screen background image to update the screen display screen when detecting that the remaining power value is lower than or equal to the power threshold
  • the backlight adjustment module is configured to adjust the grayscale and screen backlight brightness of the updated screen display screen based on the backlight control function.
  • an embodiment of the present disclosure provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor to perform a switching background grayscale provided by any one of the embodiments of the present invention. Electrical method.
  • an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following when the computer program is executed step:
  • the grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  • the embodiment of the present invention provides a method, a device, a storage medium, and an electronic device for switching background gray scales for power saving, which can extend the terminal life of the terminal.
  • FIG. 1 is a schematic flowchart of a method for switching a background gray scale to save power according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a current display image provided in an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of still another method for switching a background gray scale to save power according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of an apparatus for switching a background gray scale to save power according to an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application.
  • An embodiment of the present application provides a method for switching a background gray scale to save power, including:
  • the grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  • reducing the grayscale of the background image of the screen includes:
  • selecting and updating a target background image of the screen from the preset at least one power saving background image includes:
  • the first power saving background image is determined as the target background image of the screen
  • the second power saving background image is determined as the target background image of the screen
  • the third power saving background image is determined as the target background image of the screen
  • the gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  • the method includes:
  • the initial background image is re-used as the target background image for the screen.
  • reducing the grayscale of the background image of the screen includes:
  • the gray scale of each pixel in the initial background image is subtracted from the preset value.
  • the grayscale boosting amplitude of the updated screen display screen is the same as the screen backlight brightness reduction amplitude based on the backlight control function.
  • selecting and updating a target background image of the screen from the preset at least one power saving background image further includes:
  • the type of scene in which the screen is located is determined according to at least one of the display frame characteristics, the user behavior characteristics, or the camera status of the screen.
  • FIG. 1 is a schematic flowchart of a method for switching a background gray scale to save power according to an embodiment of the present disclosure.
  • the method may be performed by a device that switches background gray scales to save power, and the device may be implemented by software and/or hardware. Generally, it can be loaded in an electronic device such as a mobile terminal. As shown in FIG. 1, the method can include:
  • Step 11 If the backlight control function is in the on state, the remaining power value of the terminal is detected.
  • the remaining power value of the terminal may be periodically detected at a set time interval, so that the terminal may determine whether the terminal is in the low power mode according to the detected remaining power value.
  • Step 12 When detecting that the remaining power value is lower than or equal to the power threshold, lower the gray level of the screen background image to update the screen display screen.
  • the power threshold may be an experience value pre-stored in the terminal, which may be preset in the terminal before the mobile terminal leaves the factory, or may be set according to user operations.
  • the current display image corresponding to the screen display screen may include a background image 01 and a content layer 02, and the current display image may be an application icon interface, or an image of another application interface such as an instant messaging application, a calendar, a short message, or a note.
  • the terminal After detecting the remaining power value of the terminal, comparing the remaining power value of the terminal with the power threshold, if the remaining power value of the terminal is lower than or equal to the power threshold, determining that the terminal is in the low power mode; otherwise, determining the terminal In normal mode.
  • the backlight control function saves the power of the dark picture (low grayscale picture) better than the light picture of the light picture (high gray level picture), because the gray picture space of the picture itself can be increased, so the corresponding The space for lowering the brightness of the backlight is also large. Specifically, if the terminal is in the low power mode, the gray scale of the screen background image is reduced, and the gray scale of the screen display screen including the screen background image and the content layer can be reduced, thereby improving the grayscale lifting space of the screen display screen, correspondingly Ground can increase the room for the brightness of the screen backlight.
  • Step 13 Adjust the grayscale and the brightness of the screen backlight on the updated screen display screen based on the backlight control function.
  • the backlight control function has the same grayscale increase range as the screen backlight brightness reduction on the updated screen display screen, so that the brightness of the image is substantially consistent before and after the processing.
  • the embodiment of the present invention detects the remaining power value of the terminal, and when the remaining power value is lower than or equal to the power threshold, the gray scale of the screen backlight image is reduced, and the screen display screen can be improved.
  • the grayscale increases the space, and then adjusts the grayscale and screen backlight brightness of the screen display based on the backlight control function. The reduction of the brightness of the screen backlight can be increased, so that the power consumption of the terminal can be reduced.
  • reducing the grayscale of the background image of the screen includes:
  • At least one power saving background image is preset in the terminal, and the power saving background image is used to reduce the gray scale of the currently displayed image in the screen.
  • the grayscale threshold may be an empirical value determined by the user, or may be determined according to a history of the backlight control function, such as grayscale values of the historical image content for each historical image content displayed on the screen, and backlight control.
  • the screen backlight brightness adjusted for the historical image is determined, each target history image whose screen backlight brightness is higher than the brightness threshold is determined, and the minimum gray level value among the gray scale values of each target history image may be used as the gray level threshold.
  • the gray scale of the screen background image can be directly reduced by the preset power saving background image, which can not only effectively improve the brightness reduction of the screen backlight, but also improve the update efficiency of the screen display screen, thereby improving the efficiency of switching the background gray scale for power saving.
  • selecting and updating a target background image of the screen from the preset at least one power saving background image may include:
  • the first power saving background image is determined as the target background image of the screen
  • the second power saving background image is determined as the target background image of the screen
  • the third power saving background image is determined as the target background image of the screen
  • the gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  • the type of the scene in which the screen is located may be determined according to at least one of the display frame feature, the user behavior feature, or the camera state of the screen, and the display frame feature may be the brightness, transparency, hue, contrast, and saturation of the screen display frame. Or ambiguity, etc. For example, if the current frame rate of the screen is zero, it is determined that the screen is in a static picture scene; if the camera of the terminal is in the startup state, it is determined that the screen is in the picture preview scene; if the currently active active process is a video class process or a game class process And the current layer is a dynamic layer, then it is determined that the screen is in a dynamic scene.
  • the power consumption of the terminal can be further reduced under the premise of taking into account the screen display effect, thereby extending the terminal life time.
  • reducing the gray level of the background image of the screen may further include:
  • the gray scale of each pixel in the initial background image is subtracted from the preset value.
  • the initial background image refers to the background image of the currently displayed image.
  • the preset value corresponding to the initial background image may be one or more.
  • the current display image is divided into multiple sub-regions, and the grayscale mean values of the sub-regions are respectively counted, and the values corresponding to the grayscale mean values of the sub-regions are determined according to the mapping relationship between the pre-established grayscale mean values and the preset numerical values. The higher the gray level mean value in the mapping relationship, the higher the preset value.
  • the method for switching the background gray scale to save power may further include:
  • Step 24 When a charging event is detected, and the remaining power value of the screen is higher than the power threshold, the initial background image is re-used as the target background image of the screen.
  • the initial background image After detecting that the terminal is switched from the low power mode to the non-low power mode, the initial background image is re-used as the target background image of the screen.
  • the initial background image may be a background image with high user satisfaction that is predetermined or personalized according to user operations.
  • Step 25 Perform grayscale and screen backlight brightness adjustment on the updated screen display screen based on the backlight control function.
  • step 25 and step 13 are the same, and step 25 may be omitted.
  • the grayscale and screen backlight brightness adjustment may be performed based on the backlight control function each time the screen background image is updated, that is, each time the screen display screen is updated. Just fine.
  • the backlight control function adjusts the grayscale and the screen backlight brightness on the screen display screen with the initial background image as the background, and can provide the screen display screen for the user, thereby improving user satisfaction.
  • the embodiment of the present application further provides a device for switching background gray scales for power saving, including:
  • the power detecting module is configured to detect a remaining power value of the terminal if the backlight control function is in an open state
  • a screen grayscale reduction module configured to reduce a grayscale of the screen background image to update the screen display screen when detecting that the remaining power value is lower than or equal to the power threshold
  • the backlight adjustment module is configured to adjust the grayscale and screen backlight brightness of the updated screen display screen based on the backlight control function.
  • the screen grayscale reduction module is specifically configured to:
  • the screen grayscale reduction module is specifically configured to:
  • the first power saving background image is determined as the target background image of the screen
  • the second power saving background image is determined as the target background image of the screen
  • the third power saving background image is determined as the target background image of the screen
  • the gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  • the background image recovery module is configured to select and update the target background image of the screen from the preset at least one power saving background image
  • the charging event is detected, and the remaining power value of the screen is higher than When the power threshold is reached, the initial background image is re-used as the target background image of the screen.
  • the screen grayscale reduction module is specifically configured to:
  • the gray scale of each pixel in the initial background image is subtracted from the preset value.
  • the backlight adjustment module is based on the backlight control function, and the grayscale increase range of the updated screen display screen is the same as the screen backlight brightness reduction amplitude.
  • the screen grayscale reduction module is further configured to: determine a scene type in which the screen is located according to at least one of a display frame feature, a user behavior feature, or a camera state of the screen.
  • FIG. 4 is a schematic structural diagram of an apparatus for switching a background gray scale to perform power saving according to an embodiment of the present disclosure, where the apparatus may be configured in a mobile terminal.
  • the specific structure of the apparatus for switching the background gray scale to save power may include:
  • the power detecting module 31 is configured to detect a remaining power value of the terminal if the backlight control function is in an on state;
  • the screen grayscale reduction module 32 is configured to: when detecting that the remaining power value is lower than or equal to the power threshold, reduce a grayscale of the screen background image to update the screen display screen;
  • the backlight adjustment module 33 is configured to perform grayscale and screen backlight brightness adjustment on the updated screen display screen based on the backlight control function.
  • the screen grayscale reduction module 31 may be specifically used to:
  • the screen grayscale reduction module 31 may be specifically used to:
  • the first power saving background image is determined as the target background image of the screen
  • the second power saving background image is determined as the target background image of the screen
  • the third power saving background image is determined as the target background image of the screen
  • the gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  • the device may further include:
  • a background image recovery module configured to: after selecting and updating a target background image of the screen from the preset at least one power saving background image, when a charging event is detected, and a remaining power value of the screen is higher than the power threshold The initial background image is re-used as the target background image of the screen.
  • the screen grayscale reduction module 31 is specifically configured to: subtract the grayscale of each pixel in the initial background image by a preset value.
  • the screen grayscale reduction module 31 is further configured to: determine a scene type in which the screen is located according to at least one of a display frame feature, a user behavior feature, or a camera state of the screen.
  • the backlight adjustment module 33 performs the same grayscale increase amplitude on the updated screen display screen as the backlight backlight brightness reduction based on the backlight control function.
  • the method for switching the background gray scale to save power and the method for switching the background gray scale to save power provided by any embodiment of the present application belong to the same inventive concept, and can perform the switching background gray scale provided by any embodiment of the present application.
  • the electrical method has the corresponding functional modules and beneficial effects of performing the method of switching the background gray scale to save power.
  • An embodiment of the present application provides an electronic device, which may include a memory, a processor, and a computer program stored on the memory and executable on the processor. For example, perform the following steps:
  • the grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  • the electronic device may be a device such as a mobile terminal, such as a mobile phone or a tablet computer.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the illustrated smart phone 400 may include: a memory 401 and a central processing unit (Central). Processing Unit, hereinafter referred to as CPU) 402, peripheral interface 403, RF circuit 405, audio circuit 406, speaker 411, power management chip 408, input/output (I/O) subsystem 409, other input/control devices 410, and external ports 404, these components communicate via one or more communication buses or signal lines 407.
  • CPU central processing unit
  • the illustrated smartphone 400 is merely one example of a mobile terminal, and that the smartphone 400 may have more or fewer components than those shown in the figures, two or more components may be combined, or Can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the following describes a smart phone for switching the background gray scale for power saving provided in this embodiment.
  • Memory 401 can be accessed by a CPU (abbreviated as processor) 402, a peripheral interface 403, etc., and the memory 401 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, Flash memory devices, or other volatile solid-state memory devices.
  • processor abbreviated as processor
  • peripheral interface 403 a peripheral interface
  • non-volatile memory such as one or more disk storage devices, Flash memory devices, or other volatile solid-state memory devices.
  • Peripheral interface 403 which can connect the input and output peripherals of the device to CPU 402 and memory 401.
  • I/O Subsystem 409 can connect input and output peripherals on the device, such as touch screen 402 and other input/control devices 410, to peripheral interface 403.
  • the I/O subsystem 409 can include a display controller 4091 and one or more input controllers 4092 for controlling other input/control devices 410.
  • one or more input controllers 4092 receive electrical signals from other input/control devices 410 or transmit electrical signals to other input/control devices 410, and other input/control devices 410 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick or click on the wheel.
  • the input controller 4092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • Touch screen 412 The touch screen 412 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, or video.
  • Display controller 4091 in I/O subsystem 409 receives electrical signals from touch screen 412 or transmits electrical signals to touch screen 412.
  • the touch screen 412 detects the contact on the touch screen, and the display controller 4091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 412, ie, realizes human-computer interaction, and the user interface object displayed on the touch screen 412 may be running.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 405 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 405 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 405 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 405 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip Group, user identification module (Subscriber Identity Module, SIM) and more.
  • an antenna system an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip Group, user identification module (Subscriber Identity Module, SIM) and more.
  • SIM Subscriber Identity Module
  • the audio circuit 406 is mainly used to receive audio data from the peripheral interface 403, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 411.
  • the speaker 411 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 405 to sound and play the sound to the user.
  • the power management chip 408 is used for power supply and power management of the hardware connected to the CPU 402, the I/O subsystem, and the peripheral interface.
  • the CPU 402 provided by the embodiment of the present application implements the following steps when executing the computer program:
  • the grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  • the processor 402 is configured to perform the following steps when reducing the grayscale of the background image of the screen:
  • the processor 402 when selecting and updating a target background image of the screen from the preset at least one power saving background image, the processor 402 is configured to perform the following steps:
  • the first power saving background image is determined as the target background image of the screen
  • the second power saving background image is determined as the target background image of the screen
  • the third power saving background image is determined as the target background image of the screen
  • the gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  • the processor 402 is further configured to perform the following steps:
  • the initial background image is re-used as the target background image for the screen.
  • the processor 402 is configured to perform the following steps when reducing the grayscale of the background image of the screen:
  • the gray scale of each pixel in the initial background image is subtracted from the preset value.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
  • ROM Read only memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Disclosed in embodiments of the present application are a method, device, storage medium, and electronic apparatus for changing a background grayscale level to save power. The method comprises: if a backlight control function is in an on state, then detecting a remaining power level of a terminal; if the remaining power level is detected to be less than or equal to a power level threshold, lowering a grayscale level of a background image on a screen, and refreshing a display frame on the screen; and adjusting, on the basis of the backlight control function, a grayscale level and screen backlight brightness for the refreshed display frame on the screen.

Description

切换背景灰阶进行省电的方法、装置、存储介质及电子设备 Method, device, storage medium and electronic device for switching background gray scale for power saving
本申请要求于2017年03月25日提交中国专利局、申请号为201710142351.X、发明名称为“一种切换背景灰阶进行省电的方法、装置及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from the Chinese Patent Application submitted to the China Patent Office on March 25, 2017, the application number is 201710142351.X, and the invention name is “a method, device and mobile terminal for switching background gray scale for power saving”. The entire content of which is incorporated herein by reference.
技术领域Technical field
本申请涉及电子设备领域,尤其是一种切换背景灰阶进行省电的方法、装置、存储介质及电子设备。The present application relates to the field of electronic devices, and in particular, to a method, an apparatus, a storage medium, and an electronic device for switching background gray scales for power saving.
背景技术Background technique
随着移动通信技术和计算机技术的快速发展,诸如智能手机和平板电脑之类的移动终端已经成为人们生活中不可缺少的通信工具。如何兼顾终端的低功耗需求以及屏幕显示的图像质量是图像处理领域亟需解决的问题。With the rapid development of mobile communication technology and computer technology, mobile terminals such as smart phones and tablets have become indispensable communication tools in people's lives. How to balance the low power consumption requirements of the terminal and the image quality of the screen display is an urgent problem in the image processing field.
背光控制功能例如内容适应背光控制(Content Adaptive Brightness Control,CABC)功能用于依据终端屏幕显示的图像内容来调整图像的灰阶值与屏幕背光亮度之间的关系,可以在有效降低屏幕背光亮度的同时,保持图像的显示质量。然而,受屏幕显示的图像内容限制,目前基于背光控制功能的省电效果较差,导致终端仍然存在续航时间短的问题。Backlight control functions such as content adaptation to backlight control (Content Adaptive Brightness The Control, CABC function is used to adjust the relationship between the grayscale value of the image and the brightness of the screen backlight according to the image content displayed on the terminal screen, and can effectively reduce the brightness of the screen backlight while maintaining the image display quality. However, due to the limitation of the image content displayed on the screen, the power saving effect based on the backlight control function is currently poor, resulting in the problem that the terminal still has a short battery life.
技术问题technical problem
本申请实施例提供一种切换背景灰阶进行省电的方法、装置、存储介质及电子设备,可以延长终端的续航时间。The embodiment of the present invention provides a method, a device, a storage medium, and an electronic device for switching background gray scales for power saving, which can extend the terminal life of the terminal.
技术解决方案Technical solution
第一方面,本申请实施例提供了一种切换背景灰阶进行省电的方法,包括:In a first aspect, an embodiment of the present application provides a method for switching a background grayscale to save power, including:
若背光控制功能处于开启状态,则检测终端的剩余电量值;If the backlight control function is in the on state, detecting the remaining power value of the terminal;
在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
第二方面,本申请实施例提供了一种切换背景灰阶进行省电的装置,包括:In a second aspect, the embodiment of the present application provides a device for switching a background gray scale to save power, including:
电量检测模块,用于若背光控制功能处于开启状态,则检测终端的剩余电量值;The power detecting module is configured to detect a remaining power value of the terminal if the backlight control function is in an open state;
屏幕灰阶降低模块,用于在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;a screen grayscale reduction module, configured to reduce a grayscale of the screen background image to update the screen display screen when detecting that the remaining power value is lower than or equal to the power threshold;
背光调整模块,用于基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The backlight adjustment module is configured to adjust the grayscale and screen backlight brightness of the updated screen display screen based on the backlight control function.
第三方面,本申请实施例提供了一种存储介质所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行本发明实施例任一提供的切换背景灰阶进行省电的方法。In a third aspect, an embodiment of the present disclosure provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor to perform a switching background grayscale provided by any one of the embodiments of the present invention. Electrical method.
第四方面,本申请实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following when the computer program is executed step:
若背光控制功能处于开启状态,则检测电子设备的剩余电量值;If the backlight control function is in an on state, detecting a remaining power value of the electronic device;
在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
有益效果 Beneficial effect
本申请实施例提供一种切换背景灰阶进行省电的方法、装置、存储介质及电子设备,可以延长终端的续航时间。The embodiment of the present invention provides a method, a device, a storage medium, and an electronic device for switching background gray scales for power saving, which can extend the terminal life of the terminal.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1为本申请实施例中提供的一种切换背景灰阶进行省电的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for switching a background gray scale to save power according to an embodiment of the present application;
图2为本申请实施例中提供的一种当前显示图像的示意图;2 is a schematic diagram of a current display image provided in an embodiment of the present application;
图3为本申请实施例中提供的又一种切换背景灰阶进行省电的方法的流程示意图;FIG. 3 is a schematic flowchart of still another method for switching a background gray scale to save power according to an embodiment of the present application;
图4为本申请实施例中提供的一种切换背景灰阶进行省电的装置的结构示意图;4 is a schematic structural diagram of an apparatus for switching a background gray scale to save power according to an embodiment of the present application;
图5为本申请实施例中提供的一种移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. In addition, it should be noted that, for the convenience of description, only some but not all of the structures related to the present application are shown in the drawings.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe the various steps as a sequential process, many of the steps can be implemented in parallel, concurrently, or concurrently. In addition, the order of the steps can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
本申请实施例提供了一种切换背景灰阶进行省电的方法,包括:An embodiment of the present application provides a method for switching a background gray scale to save power, including:
若背光控制功能处于开启状态,则检测终端的剩余电量值;If the backlight control function is in the on state, detecting the remaining power value of the terminal;
在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
在一实施例中,降低屏幕背景图的灰阶,包括:In an embodiment, reducing the grayscale of the background image of the screen includes:
从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
在一实施例中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,包括:In an embodiment, selecting and updating a target background image of the screen from the preset at least one power saving background image includes:
若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
在一实施例中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,包括:In an embodiment, after selecting and updating the target background image of the screen from the preset at least one power saving background image, the method includes:
在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将初始背景图重新作为所述屏幕的目标背景图。Upon detecting a charging event and the remaining charge value of the screen is above the power threshold, the initial background image is re-used as the target background image for the screen.
在一实施例中,降低屏幕背景图的灰阶,包括:In an embodiment, reducing the grayscale of the background image of the screen includes:
将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
在一实施例中,基于背光控制功能对更新后的屏幕显示画面的灰阶提升幅度与对屏幕背光亮度降低幅度相同。In an embodiment, the grayscale boosting amplitude of the updated screen display screen is the same as the screen backlight brightness reduction amplitude based on the backlight control function.
在一实施例中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,还包括:In an embodiment, selecting and updating a target background image of the screen from the preset at least one power saving background image further includes:
根据屏幕的显示帧特征、用户行为特征或摄像头状态中的至少一种场景特征确定屏幕所处的场景类型。The type of scene in which the screen is located is determined according to at least one of the display frame characteristics, the user behavior characteristics, or the camera status of the screen.
图1为本申请实施例中提供的一种切换背景灰阶进行省电的方法的流程示意图,该方法可以由切换背景灰阶进行省电的装置执行,该装置可由软件和/或硬件实现,一般可加载在电子设备如移动终端中。如图1所示,该方法可以包括:FIG. 1 is a schematic flowchart of a method for switching a background gray scale to save power according to an embodiment of the present disclosure. The method may be performed by a device that switches background gray scales to save power, and the device may be implemented by software and/or hardware. Generally, it can be loaded in an electronic device such as a mobile terminal. As shown in FIG. 1, the method can include:
步骤11、若背光控制功能处于开启状态,则检测终端的剩余电量值。Step 11. If the backlight control function is in the on state, the remaining power value of the terminal is detected.
具体的,若背光控制功能处于开启状态,则可以以设定的时间间隔定时检测终端的剩余电量值,使得后续可以依据检测到的剩余电量值确定终端是否处于低电模式。Specifically, if the backlight control function is in the on state, the remaining power value of the terminal may be periodically detected at a set time interval, so that the terminal may determine whether the terminal is in the low power mode according to the detected remaining power value.
步骤12、在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面。Step 12: When detecting that the remaining power value is lower than or equal to the power threshold, lower the gray level of the screen background image to update the screen display screen.
其中,电量阈值可以是预先存储在终端中的经验值,其可以在移动终端出厂前预先设置在终端中,也可以依据用户操作设定。The power threshold may be an experience value pre-stored in the terminal, which may be preset in the terminal before the mobile terminal leaves the factory, or may be set according to user operations.
参考图2,屏幕显示画面对应的当前显示图像可以包含背景图01和内容图层02,如当前显示图像可以是应用图标界面,或者即时通信应用、日历、短信或记事等其他应用界面的图像。Referring to FIG. 2, the current display image corresponding to the screen display screen may include a background image 01 and a content layer 02, and the current display image may be an application icon interface, or an image of another application interface such as an instant messaging application, a calendar, a short message, or a note.
具体的,在检测到终端的剩余电量值后,将终端的剩余电量值与电量阈值进行比较,若终端的剩余电量值低于或等于电量阈值,则确定终端处于低电模式;否则,确定终端处于正常模式。Specifically, after detecting the remaining power value of the terminal, comparing the remaining power value of the terminal with the power threshold, if the remaining power value of the terminal is lower than or equal to the power threshold, determining that the terminal is in the low power mode; otherwise, determining the terminal In normal mode.
背光控制功能对深色画面(低灰阶画面)省电效果好于对浅色画面(高灰阶画面)省电效果,因为深色画面可以提高的画面本身的灰阶空间大,那么相应的往下降低背光亮度的空间也大。具体的,若终端处于低电模式,则降低屏幕背景图的灰阶,可以降低包含屏幕背景图和内容图层的屏幕显示画面的灰阶,进而可以提高屏幕显示画面的灰阶提升空间,相应地可以增加屏幕背光亮度的下降空间。The backlight control function saves the power of the dark picture (low grayscale picture) better than the light picture of the light picture (high gray level picture), because the gray picture space of the picture itself can be increased, so the corresponding The space for lowering the brightness of the backlight is also large. Specifically, if the terminal is in the low power mode, the gray scale of the screen background image is reduced, and the gray scale of the screen display screen including the screen background image and the content layer can be reduced, thereby improving the grayscale lifting space of the screen display screen, correspondingly Ground can increase the room for the brightness of the screen backlight.
步骤13、基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。Step 13. Adjust the grayscale and the brightness of the screen backlight on the updated screen display screen based on the backlight control function.
具体的,背光控制功能对更新后的屏幕显示画面的灰阶提升幅度与对屏幕背光亮度降低幅度相同,可以使图像的亮度在处理前后基本保持一致。Specifically, the backlight control function has the same grayscale increase range as the screen backlight brightness reduction on the updated screen display screen, so that the brightness of the image is substantially consistent before and after the processing.
本申请实施例在背光控制功能处于开启状态过程中,通过检测终端的剩余电量值,在检测到剩余电量值低于或等于电量阈值时,降低屏幕背光图的灰阶,可以提高屏幕显示画面的灰阶提高空间,随后基于背光控制功能对屏幕显示画面进行灰阶和屏幕背光亮度的调整。可以提高屏幕背光亮度的下降调整空间,从而可以降低终端的功耗。In the process of the backlight control function being turned on, the embodiment of the present invention detects the remaining power value of the terminal, and when the remaining power value is lower than or equal to the power threshold, the gray scale of the screen backlight image is reduced, and the screen display screen can be improved. The grayscale increases the space, and then adjusts the grayscale and screen backlight brightness of the screen display based on the backlight control function. The reduction of the brightness of the screen backlight can be increased, so that the power consumption of the terminal can be reduced.
在一实施例中,示例性的,降低屏幕背景图的灰阶,包括:In an embodiment, exemplarily, reducing the grayscale of the background image of the screen includes:
从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
其中,终端中预先设置有至少一个省电背景图,省电背景图用于降低屏幕中当前显示图像的灰阶。其中灰阶阈值可以是由用户确定的经验值,也可以是依据背光控制功能的历史记录确定的,如针对屏幕显示的每一历史图像内容,统计该历史图像内容的灰阶值以及基于背光控制功能对该历史图像进行调整的屏幕背光亮度,确定屏幕背光亮度高于亮度阈值的各目标历史图像,并可以将各目标历史图像的灰阶值中的最小灰阶值作为灰阶阈值。直接通过预设的省电背景图来降低屏幕背景图的灰阶,不仅可以有效提升屏幕背光亮度降低幅度,还可以提高屏幕显示画面更新效率,从而提高切换背景灰阶进行省电的效率。At least one power saving background image is preset in the terminal, and the power saving background image is used to reduce the gray scale of the currently displayed image in the screen. The grayscale threshold may be an empirical value determined by the user, or may be determined according to a history of the backlight control function, such as grayscale values of the historical image content for each historical image content displayed on the screen, and backlight control. The screen backlight brightness adjusted for the historical image is determined, each target history image whose screen backlight brightness is higher than the brightness threshold is determined, and the minimum gray level value among the gray scale values of each target history image may be used as the gray level threshold. The gray scale of the screen background image can be directly reduced by the preset power saving background image, which can not only effectively improve the brightness reduction of the screen backlight, but also improve the update efficiency of the screen display screen, thereby improving the efficiency of switching the background gray scale for power saving.
在一实施例中,示例性的,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,可以包括:In an embodiment, exemplarily, selecting and updating a target background image of the screen from the preset at least one power saving background image may include:
若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
其中,屏幕所处的场景类型可以依据屏幕的显示帧特征、用户行为特征或摄像头状态中的至少一种场景特征确定,显示帧特征可以为屏幕显示帧的亮度、透明度、色调、对比度、饱和度或模糊度等。例如,若屏幕的当前帧率为零,则确定屏幕处于静态画面场景;若终端的摄像头处于启动状态,则确定屏幕处于图片预览场景;若当前正在运行的活动进程为视频类进程或游戏类进程,且当前图层是动态图层,则确定屏幕处于动态画面场景。The type of the scene in which the screen is located may be determined according to at least one of the display frame feature, the user behavior feature, or the camera state of the screen, and the display frame feature may be the brightness, transparency, hue, contrast, and saturation of the screen display frame. Or ambiguity, etc. For example, if the current frame rate of the screen is zero, it is determined that the screen is in a static picture scene; if the camera of the terminal is in the startup state, it is determined that the screen is in the picture preview scene; if the currently active active process is a video class process or a game class process And the current layer is a dynamic layer, then it is determined that the screen is in a dynamic scene.
具体的,在屏幕处于不同场景时,采用不同的省电背景图,可以进一步在兼顾画面显示效果的前提下,降低终端的功耗,从而延长终端的续航时间。Specifically, when the screen is in different scenes, different power saving background images are used, and the power consumption of the terminal can be further reduced under the premise of taking into account the screen display effect, thereby extending the terminal life time.
在一实施例中,示例性的,降低屏幕背景图的灰阶,还可以包括:In an embodiment, exemplarily, reducing the gray level of the background image of the screen may further include:
将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
其中,初始背景图指的是当前显示图像的背景图。初始背景图对应的预设数值可以是一个,也可以是多个。例如将当前显示图像划分为多个子区域,分别统计各子区域的灰阶均值,依据预先构建的灰阶均值与预设数值之间的映射关系,确定各子区域的灰阶均值所对应的数值,其中该映射关系中灰阶均值越高对应的预设数值越高。The initial background image refers to the background image of the currently displayed image. The preset value corresponding to the initial background image may be one or more. For example, the current display image is divided into multiple sub-regions, and the grayscale mean values of the sub-regions are respectively counted, and the values corresponding to the grayscale mean values of the sub-regions are determined according to the mapping relationship between the pre-established grayscale mean values and the preset numerical values. The higher the gray level mean value in the mapping relationship, the higher the preset value.
在上述实施例的基础上,参考图3,为了进一步提高省电效果,切换背景灰阶进行省电的方法还可以包括:On the basis of the foregoing embodiment, referring to FIG. 3, in order to further improve the power saving effect, the method for switching the background gray scale to save power may further include:
步骤24、在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将所述初始背景图重新作为所述屏幕的目标背景图。Step 24: When a charging event is detected, and the remaining power value of the screen is higher than the power threshold, the initial background image is re-used as the target background image of the screen.
在检测到终端由低电模式切换到非低电模式后,将所述初始背景图重新作为所述屏幕的目标背景图。其中,初始背景图可以是预先确定的或者依据用户操作个性化设定的用户满意度高的背景图。After detecting that the terminal is switched from the low power mode to the non-low power mode, the initial background image is re-used as the target background image of the screen. The initial background image may be a background image with high user satisfaction that is predetermined or personalized according to user operations.
步骤25、基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。Step 25: Perform grayscale and screen backlight brightness adjustment on the updated screen display screen based on the backlight control function.
需要说明的是,步骤25与步骤13的功能相同,也可以没有步骤25,只需在每次更新屏幕背景图即每次更新屏幕显示画面后均基于背光控制功能执行灰阶和屏幕背光亮度调整即可。It should be noted that the functions of step 25 and step 13 are the same, and step 25 may be omitted. The grayscale and screen backlight brightness adjustment may be performed based on the backlight control function each time the screen background image is updated, that is, each time the screen display screen is updated. Just fine.
具体的,基于背光控制功能对以初始背景图为背景的屏幕显示画面进行灰阶和屏幕背光亮度的调整,可以为用户提供屏幕显示画面,提高用户的满意度。Specifically, the backlight control function adjusts the grayscale and the screen backlight brightness on the screen display screen with the initial background image as the background, and can provide the screen display screen for the user, thereby improving user satisfaction.
本申请实施例还提供了一种切换背景灰阶进行省电的装置,包括:The embodiment of the present application further provides a device for switching background gray scales for power saving, including:
电量检测模块,用于若背光控制功能处于开启状态,则检测终端的剩余电量值;The power detecting module is configured to detect a remaining power value of the terminal if the backlight control function is in an open state;
屏幕灰阶降低模块,用于在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;a screen grayscale reduction module, configured to reduce a grayscale of the screen background image to update the screen display screen when detecting that the remaining power value is lower than or equal to the power threshold;
背光调整模块,用于基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The backlight adjustment module is configured to adjust the grayscale and screen backlight brightness of the updated screen display screen based on the backlight control function.
在一实施例中,所述屏幕灰阶降低模块具体用于:In an embodiment, the screen grayscale reduction module is specifically configured to:
从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
在一实施例中,所述屏幕灰阶降低模块具体用于:In an embodiment, the screen grayscale reduction module is specifically configured to:
若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
在一实施例中,背景图恢复模块,用于从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将所述初始背景图重新作为所述屏幕的目标背景图。In an embodiment, after the background image recovery module is configured to select and update the target background image of the screen from the preset at least one power saving background image, the charging event is detected, and the remaining power value of the screen is higher than When the power threshold is reached, the initial background image is re-used as the target background image of the screen.
在一实施例中,所述屏幕灰阶降低模块具体用于:In an embodiment, the screen grayscale reduction module is specifically configured to:
将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
在一实施例中,所述背光调整模块基于背光控制功能对更新后的屏幕显示画面的灰阶提升幅度与对屏幕背光亮度降低幅度相同。In an embodiment, the backlight adjustment module is based on the backlight control function, and the grayscale increase range of the updated screen display screen is the same as the screen backlight brightness reduction amplitude.
在一实施例中,所述屏幕灰阶降低模块还用于:根据屏幕的显示帧特征、用户行为特征或摄像头状态中的至少一种场景特征确定屏幕所处的场景类型。In an embodiment, the screen grayscale reduction module is further configured to: determine a scene type in which the screen is located according to at least one of a display frame feature, a user behavior feature, or a camera state of the screen.
图4为本申请实施例中提供的一种切换背景灰阶进行省电的装置的结构示意图,该装置可以配置于移动终端中。如图4所示,该切换背景灰阶进行省电的装置具体结构可以包括:FIG. 4 is a schematic structural diagram of an apparatus for switching a background gray scale to perform power saving according to an embodiment of the present disclosure, where the apparatus may be configured in a mobile terminal. As shown in FIG. 4, the specific structure of the apparatus for switching the background gray scale to save power may include:
电量检测模块31,用于若背光控制功能处于开启状态,则检测终端的剩余电量值;The power detecting module 31 is configured to detect a remaining power value of the terminal if the backlight control function is in an on state;
屏幕灰阶降低模块32,用于在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;The screen grayscale reduction module 32 is configured to: when detecting that the remaining power value is lower than or equal to the power threshold, reduce a grayscale of the screen background image to update the screen display screen;
背光调整模块33,用于基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The backlight adjustment module 33 is configured to perform grayscale and screen backlight brightness adjustment on the updated screen display screen based on the backlight control function.
在一实施例中,示例性的,所述屏幕灰阶降低模块31具体可以用于:In an embodiment, the screen grayscale reduction module 31 may be specifically used to:
从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
在一实施例中,示例性的,所述屏幕灰阶降低模块31具体可以用于:In an embodiment, the screen grayscale reduction module 31 may be specifically used to:
若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
在一实施例中,示例性的,上述装置还可以包括:In an embodiment, the device may further include:
背景图恢复模块,用于从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将所述初始背景图重新作为所述屏幕的目标背景图。a background image recovery module, configured to: after selecting and updating a target background image of the screen from the preset at least one power saving background image, when a charging event is detected, and a remaining power value of the screen is higher than the power threshold The initial background image is re-used as the target background image of the screen.
在一实施例中,示例性的,所述屏幕灰阶降低模块31具体可以用于:将所述初始背景图中各像素的灰阶均减去预设数值。In an embodiment, the screen grayscale reduction module 31 is specifically configured to: subtract the grayscale of each pixel in the initial background image by a preset value.
在一实施例中,示例性的,所述屏幕灰阶降低模块31还用于:根据屏幕的显示帧特征、用户行为特征或摄像头状态中的至少一种场景特征确定屏幕所处的场景类型。In an embodiment, the screen grayscale reduction module 31 is further configured to: determine a scene type in which the screen is located according to at least one of a display frame feature, a user behavior feature, or a camera state of the screen.
在一实施例中,示例性的,背光调整模块33基于背光控制功能对更新后的屏幕显示画面的灰阶提升幅度与对屏幕背光亮度降低幅度相同。In an embodiment, the backlight adjustment module 33 performs the same grayscale increase amplitude on the updated screen display screen as the backlight backlight brightness reduction based on the backlight control function.
上述切换背景灰阶进行省电的装置,与本申请任意实施例所提供的切换背景灰阶进行省电的方法属于同一发明构思,可执行本申请任意实施例所提供的切换背景灰阶进行省电的方法,具备执行切换背景灰阶进行省电的方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请任意实施例提供的切换背景灰阶进行省电的方法。本申请实施例提供了一种电子设备,该电子设备可以包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。比如,执行以下步骤:The method for switching the background gray scale to save power, and the method for switching the background gray scale to save power provided by any embodiment of the present application belong to the same inventive concept, and can perform the switching background gray scale provided by any embodiment of the present application. The electrical method has the corresponding functional modules and beneficial effects of performing the method of switching the background gray scale to save power. For the technical details that are not described in detail in this embodiment, refer to the method for switching the background gray scale to save power provided by any embodiment of the present application. An embodiment of the present application provides an electronic device, which may include a memory, a processor, and a computer program stored on the memory and executable on the processor. For example, perform the following steps:
若背光控制功能处于开启状态,则检测电子设备的剩余电量值;If the backlight control function is in an on state, detecting a remaining power value of the electronic device;
在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
其中,电子设备可以为移动终端等设备,如手机、平板电脑等。The electronic device may be a device such as a mobile terminal, such as a mobile phone or a tablet computer.
图5为本申请实施例中提供的一种移动终端的结构示意图,如图5所示,图示智能手机400可以包括:存储器401、中央处理器(Central Processing Unit,以下简称CPU)402、外设接口403、RF电路405、音频电路406、扬声器411、电源管理芯片408、输入/输出(I/O)子系统409、其它输入/控制设备410以及外部端口404,这些部件通过一个或多个通信总线或信号线407来通信。FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 5, the illustrated smart phone 400 may include: a memory 401 and a central processing unit (Central). Processing Unit, hereinafter referred to as CPU) 402, peripheral interface 403, RF circuit 405, audio circuit 406, speaker 411, power management chip 408, input/output (I/O) subsystem 409, other input/control devices 410, and external ports 404, these components communicate via one or more communication buses or signal lines 407.
应该理解的是,图示智能手机400仅仅移动终端的一个范例,并且智能手机400可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated smartphone 400 is merely one example of a mobile terminal, and that the smartphone 400 may have more or fewer components than those shown in the figures, two or more components may be combined, or Can have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于切换背景灰阶进行省电的智能手机进行详细的描述。The following describes a smart phone for switching the background gray scale for power saving provided in this embodiment.
存储器401:存储器401可以被CPU(简称处理器)402、外设接口403等访问,存储器401可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其它易失性固态存储器件。Memory 401: The memory 401 can be accessed by a CPU (abbreviated as processor) 402, a peripheral interface 403, etc., and the memory 401 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, Flash memory devices, or other volatile solid-state memory devices.
外设接口403,外设接口可以将设备的输入和输出外设连接到CPU402和存储器401。Peripheral interface 403, which can connect the input and output peripherals of the device to CPU 402 and memory 401.
I/O子系统409:I/O子系统409可以将设备上的输入输出外设,例如触摸屏402和其它输入/控制设备410,连接到外设接口403。I/O子系统409可以包括显示控制器4091和用于控制其它输入/控制设备410的一个或多个输入控制器4092。其中,一个或多个输入控制器4092从其它输入/控制设备410接收电信号或者向其它输入/控制设备410发送电信号,其它输入/控制设备410可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆或点击滚轮。值得说明的是,输入控制器4092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O Subsystem 409: I/O Subsystem 409 can connect input and output peripherals on the device, such as touch screen 402 and other input/control devices 410, to peripheral interface 403. The I/O subsystem 409 can include a display controller 4091 and one or more input controllers 4092 for controlling other input/control devices 410. Wherein, one or more input controllers 4092 receive electrical signals from other input/control devices 410 or transmit electrical signals to other input/control devices 410, and other input/control devices 410 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick or click on the wheel. It is worth noting that the input controller 4092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏412:触摸屏412是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标或视频等。Touch screen 412: The touch screen 412 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user. The visual output may include graphics, text, icons, or video.
I/O子系统409中的显示控制器4091从触摸屏412接收电信号或者向触摸屏412发送电信号。触摸屏412检测触摸屏上的接触,显示控制器4091将检测到的接触转换为与显示在触摸屏412上的用户界面对象的交互,即实现人机交互,显示在触摸屏412上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。Display controller 4091 in I/O subsystem 409 receives electrical signals from touch screen 412 or transmits electrical signals to touch screen 412. The touch screen 412 detects the contact on the touch screen, and the display controller 4091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 412, ie, realizes human-computer interaction, and the user interface object displayed on the touch screen 412 may be running. The icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
RF电路405,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路405接收并发送RF信号,RF信号也称为电磁信号,RF电路405将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其它设备进行通信。RF电路405可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 405 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 405 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 405 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate. RF circuitry 405 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip Group, user identification module (Subscriber Identity Module, SIM) and more.
音频电路406,主要用于从外设接口403接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器411。The audio circuit 406 is mainly used to receive audio data from the peripheral interface 403, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 411.
扬声器411,用于将手机通过RF电路405从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 411 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 405 to sound and play the sound to the user.
电源管理芯片408,用于为CPU402、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 408 is used for power supply and power management of the hardware connected to the CPU 402, the I/O subsystem, and the peripheral interface.
本申请实施例提供的CPU402执行所述计算机程序时实现以下步骤:The CPU 402 provided by the embodiment of the present application implements the following steps when executing the computer program:
若背光控制功能处于开启状态,则检测终端的剩余电量值;If the backlight control function is in the on state, detecting the remaining power value of the terminal;
在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
在一实施例中,在降低屏幕背景图的灰阶时,所述处理器402用于执行以下步骤:In an embodiment, the processor 402 is configured to perform the following steps when reducing the grayscale of the background image of the screen:
从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
在一实施例中,在从预设的至少一个省电背景图中选择并更新屏幕的目标背景图时,所述处理器402用于执行以下步骤:In an embodiment, when selecting and updating a target background image of the screen from the preset at least one power saving background image, the processor 402 is configured to perform the following steps:
若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
在一实施例中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,所述处理器402还用于执行以下步骤:In an embodiment, after selecting and updating the target background image of the screen from the preset at least one power saving background image, the processor 402 is further configured to perform the following steps:
在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将初始背景图重新作为所述屏幕的目标背景图。Upon detecting a charging event and the remaining charge value of the screen is above the power threshold, the initial background image is re-used as the target background image for the screen.
在一实施例中,在降低屏幕背景图的灰阶时,所述处理器402用于执行以下步骤:In an embodiment, the processor 402 is configured to perform the following steps when reducing the grayscale of the background image of the screen:
将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其它等效实施例,而本申请的范围由所附的权利要求范围决定。The above are only the preferred embodiments of the present application and the technical principles applied thereto. A person skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various changes, modifications and substitutions can be made by those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in detail by the above embodiments, the present application is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the concept of the present application. The scope is determined by the scope of the appended claims.

Claims (20)

  1. 一种切换背景灰阶进行省电的方法,其中,包括:A method for switching background gray scales for power saving, wherein:
    若背光控制功能处于开启状态,则检测终端的剩余电量值;If the backlight control function is in the on state, detecting the remaining power value of the terminal;
    在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
    基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  2. 根据权利要求1所述的方法,其中,降低屏幕背景图的灰阶,包括:The method of claim 1 wherein reducing the grayscale of the background image of the screen comprises:
    从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
  3. 根据权利要求2所述的方法,其中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,包括:The method of claim 2, wherein selecting and updating a target background image of the screen from the preset at least one power saving background image comprises:
    若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
    若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
    若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
    其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  4. 根据权利要求2所述的方法,其中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,包括:The method according to claim 2, wherein after selecting and updating the target background image of the screen from the preset at least one power saving background image, the method comprises:
    在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将初始背景图重新作为所述屏幕的目标背景图。Upon detecting a charging event and the remaining charge value of the screen is above the power threshold, the initial background image is re-used as the target background image for the screen.
  5. 根据权利要求1所述的方法,其中,降低屏幕背景图的灰阶,包括:The method of claim 1 wherein reducing the grayscale of the background image of the screen comprises:
    将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
  6. 根据权利要求1所述的方法,其中,基于背光控制功能对更新后的屏幕显示画面的灰阶提升幅度与对屏幕背光亮度降低幅度相同。The method of claim 1, wherein the grayscale boosting amplitude of the updated screen display screen is the same as the screen backlight luminance reduction amplitude based on the backlight control function.
  7. 根据权利要求3所述的方法,其中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,还包括:The method of claim 3, wherein selecting and updating the target background image of the screen from the preset at least one power saving background image further comprises:
    根据屏幕的显示帧特征、用户行为特征或摄像头状态中的至少一种场景特征确定屏幕所处的场景类型。The type of scene in which the screen is located is determined according to at least one of the display frame characteristics, the user behavior characteristics, or the camera status of the screen.
  8. 一种切换背景灰阶进行省电的装置,其中,包括:A device for switching background gray scales for power saving, wherein:
    电量检测模块,用于若背光控制功能处于开启状态,则检测终端的剩余电量值;The power detecting module is configured to detect a remaining power value of the terminal if the backlight control function is in an open state;
    屏幕灰阶降低模块,用于在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;a screen grayscale reduction module, configured to reduce a grayscale of the screen background image to update the screen display screen when detecting that the remaining power value is lower than or equal to the power threshold;
    背光调整模块,用于基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The backlight adjustment module is configured to adjust the grayscale and screen backlight brightness of the updated screen display screen based on the backlight control function.
  9. 根据权利要求8所述的装置,其中,所述屏幕灰阶降低模块具体用于:The device according to claim 8, wherein the screen grayscale reduction module is specifically configured to:
    从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
  10. 根据权利要求9所述的装置,其中,所述屏幕灰阶降低模块具体用于:The device according to claim 9, wherein the screen grayscale reduction module is specifically configured to:
    若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
    若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
    若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
    其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  11. 根据权利要求9所述的装置,其中,包括:The apparatus of claim 9 comprising:
    背景图恢复模块,用于从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将所述初始背景图重新作为所述屏幕的目标背景图。a background image recovery module, configured to: after selecting and updating a target background image of the screen from the preset at least one power saving background image, when a charging event is detected, and a remaining power value of the screen is higher than the power threshold The initial background image is re-used as the target background image of the screen.
  12. 根据权利要求8所述的装置,其中,所述屏幕灰阶降低模块具体用于:The device according to claim 8, wherein the screen grayscale reduction module is specifically configured to:
    将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
  13. 根据权利要求8所述的装置,其中,所述背光调整模块基于背光控制功能对更新后的屏幕显示画面的灰阶提升幅度与对屏幕背光亮度降低幅度相同。The apparatus according to claim 8, wherein the backlight adjustment module adjusts the grayscale increase amplitude of the updated screen display screen to be the same as the screen backlight luminance reduction amplitude based on the backlight control function.
  14. 根据权利要求10所述的装置,其中,所述屏幕灰阶降低模块还用于:根据屏幕的显示帧特征、用户行为特征或摄像头状态中的至少一种场景特征确定屏幕所处的场景类型。The apparatus of claim 10, wherein the screen grayscale reduction module is further configured to determine a scene type in which the screen is located according to at least one of a display frame feature, a user behavior feature, or a camera state of the screen.
  15. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行如权利要求1-7任一项所述的方法。A storage medium, wherein the storage medium stores a plurality of instructions adapted to be loaded by a processor to perform the method of any one of claims 1-7.
  16. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:An electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps:
    若背光控制功能处于开启状态,则检测电子设备的剩余电量值;If the backlight control function is in an on state, detecting a remaining power value of the electronic device;
    在检测到所述剩余电量值低于或等于电量阈值时,降低屏幕背景图的灰阶,以更新屏幕显示画面;When detecting that the remaining power value is lower than or equal to the power threshold, lowering the gray level of the screen background image to update the screen display screen;
    基于背光控制功能对更新的屏幕显示画面进行灰阶和屏幕背光亮度的调整。The grayscale and screen backlight brightness are adjusted on the updated screen display screen based on the backlight control function.
  17. 根据权利要求16所述的电子设备,其中,在降低屏幕背景图的灰阶时,所述处理器用于执行以下步骤:The electronic device of claim 16, wherein the processor is configured to perform the following steps when reducing grayscale of the screen background image:
    从预设的至少一个省电背景图中选择并更新屏幕的目标背景图,其中所述省电背景图的灰阶小于灰阶阈值。Selecting and updating a target background image of the screen from the preset at least one power saving background image, wherein the grayscale of the power saving background image is less than a grayscale threshold.
  18. 根据权利要求16所述的电子设备,其中,在从预设的至少一个省电背景图中选择并更新屏幕的目标背景图时,所述处理器用于执行以下步骤:The electronic device of claim 16, wherein the processor is configured to perform the following steps when selecting and updating a target background image of the screen from the preset at least one power saving background image:
    若屏幕处于静态画面型场景,则将第一省电背景图确定为屏幕的目标背景图;If the screen is in a static picture type scene, the first power saving background image is determined as the target background image of the screen;
    若屏幕处于图片预览场景,则将第二省电背景图确定为屏幕的目标背景图;If the screen is in the picture preview scene, the second power saving background image is determined as the target background image of the screen;
    若屏幕处于动态画面场景,则将第三省电背景图确定为屏幕的目标背景图;If the screen is in a dynamic scene, the third power saving background image is determined as the target background image of the screen;
    其中,所述第一省电背景图、所述第二省电背景图和所述第三省电背景图的灰阶依次降低。The gray level of the first power saving background image, the second power saving background image, and the third power saving background image are sequentially decreased.
  19. 根据权利要求17所述的电子设备,其中,从预设的至少一个省电背景图中选择并更新屏幕的目标背景图之后,所述处理器还用于执行以下步骤:The electronic device according to claim 17, wherein after selecting and updating a target background image of the screen from the preset at least one power saving background image, the processor is further configured to perform the following steps:
    在检测到充电事件,且所述屏幕的剩余电量值高于所述电量阈值时,将初始背景图重新作为所述屏幕的目标背景图。Upon detecting a charging event and the remaining charge value of the screen is above the power threshold, the initial background image is re-used as the target background image for the screen.
  20. 根据权利要求16所述的电子设备,其中,在降低屏幕背景图的灰阶时,所述处理器用于执行以下步骤:The electronic device of claim 16, wherein the processor is configured to perform the following steps when reducing grayscale of the screen background image:
    将所述初始背景图中各像素的灰阶均减去预设数值。The gray scale of each pixel in the initial background image is subtracted from the preset value.
PCT/CN2017/107185 2017-03-10 2017-10-21 Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power WO2018161592A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142351.XA CN106817753B (en) 2017-03-10 2017-03-10 Method and device for saving electricity by switching background gray scales and mobile terminal
CN201710142351.X 2017-03-10

Publications (1)

Publication Number Publication Date
WO2018161592A1 true WO2018161592A1 (en) 2018-09-13

Family

ID=59116165

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107185 WO2018161592A1 (en) 2017-03-10 2017-10-21 Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power

Country Status (2)

Country Link
CN (1) CN106817753B (en)
WO (1) WO2018161592A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572867A (en) * 2019-09-06 2019-12-13 广东虹勤通讯技术有限公司 method and device for reducing power consumption of electronic equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817753B (en) * 2017-03-10 2020-04-17 Oppo广东移动通信有限公司 Method and device for saving electricity by switching background gray scales and mobile terminal
CN107465811B (en) * 2017-07-12 2020-09-04 Oppo广东移动通信有限公司 Method for reducing temperature rise, computer readable storage medium and electronic equipment
CN109634023B (en) * 2019-01-28 2022-08-12 Oppo广东移动通信有限公司 Electrochromic component processing method, apparatus, electronic device and readable storage medium
CN111831281A (en) * 2019-01-28 2020-10-27 华为技术有限公司 Display method of electronic equipment, graphical user interface and electronic equipment
CN110189674A (en) * 2019-05-27 2019-08-30 武汉华星光电半导体显示技术有限公司 The method for automatically adjusting output voltage according to the battery capacity of mobile display device
CN114339966B (en) * 2021-12-23 2023-10-31 杭州逗酷软件科技有限公司 Interface control method, device, media and electronic equipment for data transmission

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040104919A1 (en) * 2000-08-25 2004-06-03 International Business Machines Corporation Brightness controlling apparatus, brightness adjusting system, computer system, liquid crystal display unit, brightness controlling method, computer software, and storage medium
CN101777309A (en) * 2009-12-28 2010-07-14 硅谷数模半导体(北京)有限公司 Self-adapting backlight control method and device
JP2011216944A (en) * 2010-03-31 2011-10-27 Nec Corp Mobile terminal device, power consumption reduction method of mobile terminal device, and program
CN105096875A (en) * 2015-08-14 2015-11-25 武汉华星光电技术有限公司 Gray-scale control method, gray-scale control device and liquid crystal display screen
CN106817753A (en) * 2017-03-10 2017-06-09 广东欧珀移动通信有限公司 A kind of background GTG that switches carries out method, device and the mobile terminal of power saving

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286303B (en) * 2007-04-13 2012-04-11 奇美电子股份有限公司 Liquid crystal display device and image display method thereof
TWI440926B (en) * 2010-12-31 2014-06-11 Hongda Liu Liquid crystal display apparatus
KR20120079398A (en) * 2011-01-04 2012-07-12 삼성전자주식회사 Apparatus and method for reducing power consumption in portable terminal
CN103050108B (en) * 2012-12-17 2015-12-02 华为终端有限公司 A kind of screen backlight dynamic adjustment method and user terminal
CN103533319A (en) * 2013-10-16 2014-01-22 东莞宇龙通信科技有限公司 Method and device for reducing power consumption of mobile terminal
CN104469022B (en) * 2014-12-03 2017-08-25 北京元心科技有限公司 A kind of backlight adjusting method, system and handheld terminal
CN104599642B (en) * 2014-12-31 2017-05-03 小米科技有限责任公司 Backlight control method and backlight control device
CN106304280B (en) * 2015-05-11 2020-03-24 上海和辉光电有限公司 Power supply control method and system and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040104919A1 (en) * 2000-08-25 2004-06-03 International Business Machines Corporation Brightness controlling apparatus, brightness adjusting system, computer system, liquid crystal display unit, brightness controlling method, computer software, and storage medium
CN101777309A (en) * 2009-12-28 2010-07-14 硅谷数模半导体(北京)有限公司 Self-adapting backlight control method and device
JP2011216944A (en) * 2010-03-31 2011-10-27 Nec Corp Mobile terminal device, power consumption reduction method of mobile terminal device, and program
CN105096875A (en) * 2015-08-14 2015-11-25 武汉华星光电技术有限公司 Gray-scale control method, gray-scale control device and liquid crystal display screen
CN106817753A (en) * 2017-03-10 2017-06-09 广东欧珀移动通信有限公司 A kind of background GTG that switches carries out method, device and the mobile terminal of power saving

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572867A (en) * 2019-09-06 2019-12-13 广东虹勤通讯技术有限公司 method and device for reducing power consumption of electronic equipment

Also Published As

Publication number Publication date
CN106817753A (en) 2017-06-09
CN106817753B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
WO2018161592A1 (en) Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power
WO2018161571A1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
WO2018161601A1 (en) Screen backlight adjusting method, device, storage medium and electronic device
WO2022030996A1 (en) Electronic device comprising display, and operation method thereof
WO2020256460A1 (en) Apparatus and method for driving display based on frequency operation cycle set differently according to frequency
WO2018182287A1 (en) Method for low power driving of display and electronic device for performing same
WO2018161591A1 (en) Method, device, storage medium, and electronic apparatus for changing background grayscale level to save power
WO2021162436A1 (en) Electronic device including display and method for operating the same
WO2018161578A1 (en) Method, device, storage medium, and electronic apparatus for dynamically adjusting screen refresh rate
WO2015160148A1 (en) Device and method for controlling display
WO2018161584A1 (en) Application program control method, device, medium, and electronic apparatus
WO2018161586A1 (en) Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device
WO2019039809A1 (en) Method and electronic device for switching operating mode of display
WO2018145597A1 (en) Mobile terminal-based screen light-supplementing photographing method and system, and mobile terminal
WO2018161593A1 (en) Broadcast processing method, device, storage medium and terminal device
WO2021054710A1 (en) Method, electronic device, and storage medium for displaying charging state in start of charging
WO2018161587A1 (en) Method and apparatus for controlling display of mobile terminal, storage medium, and electronic device
WO2017088513A1 (en) Service processing method, device, and mobile terminal under hybrid network standard
WO2018161603A1 (en) Method and apparatus for controlling image drawing of mobile terminal, medium, electronic device
WO2018161575A1 (en) Method and device for adjusting broadcast message queue, storage medium, and terminal
WO2017206870A1 (en) Sensor shutdown method and apparatus, storage medium, and electronic device
WO2019164248A1 (en) Method for adaptively controlling low power display mode and electronic device thereof
WO2018161595A1 (en) Broadcast receiver registration method, device, terminal apparatus, and storage medium
WO2022211307A1 (en) Electronic device supporting display of always-on display content, and control method therefor
WO2018076931A1 (en) Front camera automatic light supplementing system and method therefor

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: 17900121

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900121

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载