WO2013004040A1 - Method and device for saving power of mobile terminal - Google Patents

Method and device for saving power of mobile terminal Download PDF

Info

Publication number
WO2013004040A1
WO2013004040A1 PCT/CN2011/078584 CN2011078584W WO2013004040A1 WO 2013004040 A1 WO2013004040 A1 WO 2013004040A1 CN 2011078584 W CN2011078584 W CN 2011078584W WO 2013004040 A1 WO2013004040 A1 WO 2013004040A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
bitmap
mobile terminal
power
buffer
Prior art date
Application number
PCT/CN2011/078584
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 WO2013004040A1 publication Critical patent/WO2013004040A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving 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
    • 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 invention relates to the field of communications, and in particular to a power saving method and apparatus for a mobile terminal.
  • a mobile terminal e.g., mobile phones
  • the screens of mobile terminals are getting larger and larger.
  • the mobile terminal almost all functions are inseparable from the display of the screen, and a large part of the power of the mobile terminal is consumed on the screen.
  • the power consumption of large-screen mobile terminals is quite large, and most mobile terminals are charged every day.
  • the conventional power saving technology is: when the mobile terminal is low-powered, the battery is switched from the power supply for the mobile terminal to the power supply function of only the mobile terminal to save power, for example, when the mobile phone is low-powered, the camera is turned off. , audio and video entertainment modules.
  • the traditional mobile terminal power saving technology cannot effectively save the power consumption of the screen, and the power saving effect is limited for the large screen mobile phone.
  • CN200810113765.0 discloses a mobile phone power saving method and device, the power saving method includes: detecting the remaining battery power of the mobile phone in real time; and performing the detected remaining power with a preset power threshold Comparing; when the remaining power is lower than the power threshold, the mobile phone battery is switched from the power supply for the mobile phone to only the function of the mobile phone.
  • the power saving device includes: a remaining power detecting unit, configured to detect a remaining battery power of the mobile phone battery in real time; and a power threshold comparing unit, configured to compare the detected remaining power with a preset power threshold; If the remaining power is lower than the power threshold, the mobile phone battery is switched from the power supply for the mobile phone to only the function of the mobile phone.
  • the present invention provides a power saving method and apparatus for a mobile terminal to solve at least one of the above problems, in view of the problem in the related art that the power consumption on the screen of the mobile terminal cannot be saved. According to an aspect of the present invention, a power saving method of a mobile terminal is provided.
  • the power saving method of the mobile terminal includes the following processes: acquiring a bitmap in a screen buffer of the mobile terminal in the screen power saving mode; reducing a bitmap in the screen buffer according to a preset ratio; saving power according to the screen
  • the screen resolution reduction ratio in mode determines the display area of the screen; turns off screen pixels and/or backlights in the screen other than the display area.
  • the method further includes: comparing the current power of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state; determining to enable the screen power saving mode according to the preset configuration. .
  • the above-mentioned reduction of the bitmap according to the preset ratio includes: scanning the bitmap in the screen buffer progressively; selecting the X rows of the bitmap in the screen buffer to form a new bitmap, wherein X is smaller than the bitmap in the screen buffer The total number of rows; the new bitmap is scanned column by column; the Y column of the new bitmap is selected to form a reduced bitmap, where Y is smaller than the total number of columns of the bitmap in the screen buffer.
  • the X rows of the bitmap in the selected screen buffer form a new bitmap including: selecting an odd row or an even row of the bitmap in the screen buffer to form a new bitmap; selecting the Y column of the new bitmap to form a reduced bitmap
  • the bitmap includes: Selecting an odd or even column of the new bitmap to form a reduced bitmap.
  • a power saving device for a mobile terminal includes: an obtaining module configured to acquire a bitmap in a screen buffer of the mobile terminal in a screen power saving mode; and a processing module configured to reduce the screen buffer according to a preset ratio
  • the first determining module is configured to determine the display area of the screen according to the screen resolution reduction ratio in the screen power saving mode; the closing module is set to turn off the screen pixels and/or the backlight in the screen except the display area.
  • the device further includes: a second determining module, configured to compare the current power of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state; and enable the module, and set to enable the screen power saving according to the preset configuration. mode.
  • the processing module includes: a first scanning unit configured to scan a bitmap in a screen buffer; a first group of graphics units, configured to select a X row of a bitmap in the screen buffer to form a new bitmap, where X is smaller than the total number of rows in the bitmap buffer; the second scanning unit is set to scan a new bitmap; the second group of graphics units, The Y column set to select a new bitmap constitutes a reduced bitmap, where ⁇ is smaller than the total number of columns of the bitmap in the screen buffer.
  • the above device further comprises: an adjustment module, configured to adjust a cutting area of the screen refresh; and a refresh module, configured to refresh the screen.
  • the invention maintains the basic display function of the mobile terminal by reducing the screen resolution of the mobile terminal, and solves the problem that the power consumption on the screen of the mobile terminal cannot be saved in the related art, thereby saving power consumption on the screen of the mobile terminal and prolonging the movement.
  • FIG. 1 is a flowchart of a power saving method of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a power saving mode setting method of a mobile terminal according to a preferred embodiment of the present invention
  • FIG. 4 is a flowchart of a method for adjusting a screen resolution of a mobile terminal according to a preferred embodiment of the present invention
  • FIG. 5 is a screen of a mobile terminal according to a preferred embodiment of the present invention
  • FIG. 6 is a flowchart of a method for reducing a screen bitmap of a mobile terminal according to a preferred embodiment of the present invention
  • FIG. 1 is a flowchart of a power saving method of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a power saving mode setting method of a mobile terminal according to a preferred embodiment of the present invention
  • FIG. 4 is a flowchart of a method for adjusting a screen resolution of a mobile terminal according to
  • FIG. 7 is a diagram showing a display effect after a screen resolution of a mobile terminal is reduced according to a preferred embodiment of the present invention
  • 8 is a schematic diagram of refreshing a cutting area map after a screen resolution of a mobile terminal is reduced according to a preferred embodiment of the present invention
  • FIG. 9 is a structural block diagram of a power saving apparatus for a mobile terminal according to an embodiment of the present invention
  • FIG. 10 is a preferred embodiment according to the present invention.
  • the mobile terminal power saving method mainly includes the following processes: Step S102: Obtain a bitmap in a screen buffer of the mobile terminal in a screen power saving mode; Step S104: Reduce the screen buffer according to a preset ratio. a bitmap in the screen; Step S106: determining a display area of the screen according to a screen resolution reduction ratio in the screen power saving mode; Step S108: Turn off screen pixel points and/or backlights in the screen other than the display area.
  • the power consumption of the screen cannot be effectively saved, which is limited in power saving for a large-screen mobile phone.
  • the following processing may be further included: (1) comparing the current power of the mobile terminal with a preset low power threshold, and determining that the mobile terminal is in a low power state;
  • the preset configuration may be a configuration of whether the mobile power saving mode is activated when the mobile terminal is set in a low power state, and the screen power saving mode identifier LOW_POWER_MODEL is saved if the mobile phone screen power saving mode is automatically enabled when the user selects low power.
  • the phone screen power save mode is not activated when the power is low.
  • the low power threshold may also be set and modified in response to user operations. If the low power threshold is set and modified, the low power threshold LOW_POWER_THRESHOD needs to be saved, otherwise the default value is used.
  • the preset ratio may also be set and modified in response to a user operation.
  • FIG. 2 is a flow chart of a method for setting a power saving mode of a mobile terminal (taking a mobile phone as an example) according to a preferred embodiment of the present invention. As shown in FIG.
  • the mobile terminal power-saving mode setting method includes the following processing: Step S202: In response to a user operation, setting whether the mobile phone screen power-saving mode is automatically enabled in a low-power state of the mobile phone, if the user selects to automatically enable the mobile phone screen to save power.
  • Step S204 Determine whether the user selects the low power threshold, and if yes, save the low power threshold LOW_POWER THRESHOD, otherwise use The default value ends the setting process;
  • Step S206 Determine whether the user selects the resolution in the mobile phone screen power saving mode, and if so, saves the ratio of the resolution in the mobile phone screen power saving mode to the original screen resolution LOW_POWER_RESOL_RATIO, otherwise the default value is used. End the process.
  • Step S208 Save the set LOW_POWER_MODEL, LOW_POWER_THRESHOD and LOW_POWER_RESOL_RATIO.
  • 3 is a flow chart of a method for starting a screen power save mode of a mobile terminal (taking a mobile phone as an example) according to a preferred embodiment of the present invention. As shown in FIG.
  • the mobile terminal screen power saving mode starting method mainly includes the following processing: Step S302: determining that the current power value CURRENT_POWER of the mobile phone changes; Step S304: reading the low power threshold LOW_POWER_THRESHOD of the mobile phone, comparing CURRENT POWER with LOW_POWER_THRESHOD, If the LOW POWER THRESHOD is greater than CURRENT_POWER, it is determined that the mobile phone is in a low power state to continue the startup process of the mobile phone screen power saving mode, otherwise the flow is directly ended; Step S306: Read the setting screen power saving mode identifier LOW_POWER_MODEL, if LOW_POWER MODEL is true, continue The mobile phone screen power saving mode starts the process, otherwise the process is directly ended; Step S308: The mobile phone issues a warning, pops up a prompt message, prompts the user the remaining battery power of the mobile phone, asks the user whether the mobile phone screen starts the power saving mode of the mobile phone, and the user confirms, then starts the
  • the following processing may also be included: adjusting the cut area of the screen refresh and refreshing the screen.
  • the cutting area of the screen refresh is the area refreshed on the screen. After the screen resolution is adjusted, the cutting area needs to be adjusted, and the cutting area refreshed by the original screen can be mapped to the cutting area after the resolution adjustment.
  • the following processing may also be included:
  • FIG. 4 is a flow chart of a method for adjusting a screen resolution of a mobile terminal (taking a mobile phone as an example) according to a preferred embodiment of the present invention. As shown in FIG.
  • the mobile terminal screen resolution adjustment method mainly includes the following processing (steps S402-S416): Step S402: The upper layer software of the mobile phone calls draw to input data into the buffer of the screen; Step S404: Determine whether the mobile phone is In the mobile phone screen power saving mode, if yes, continue the mobile phone screen resolution adjustment process, otherwise directly go to step S416; Step S406: obtain a bitmap in the mobile phone screen buffer; Step S408: Read the mobile phone screen power saving mode The reduction ratio of the resolution is LOW POWER RESOL RATIO.
  • Step S410 The bitmap A in the screen buffer of the mobile phone is reduced, and the process is shown in the figure.
  • step S412 determining the screen display area range according to the reduced scale value LOW_POWER RESOL RATIO of the resolution in the power saving mode of the mobile phone screen, by modifying the position of the LCD related register setting on the screen and Area, close the screen pixels and/or backlight outside the area, the effect is shown in Figure 7.
  • Step S414 The cut area of the screen refresh is the area refreshed on the screen, and the cut area needs to be adjusted after the screen resolution is adjusted, assuming that the range of the cut area of the original screen refresh is (x, y, dx, dy), where x is horizontal The starting position of the direction, y is the starting position in the vertical direction, dx is the width, dy is the height, and the range of the cutting area mapped to the resolution adjustment is (x/2, y/2, dx/2, dy/ 2), the cutting area mapping diagram is shown in Figure 8; Step S416: Refresh the mobile phone screen.
  • step S410 may further include the following steps: Step S602: Scan the bitmap A in the screen buffer of the mobile phone by row; Step S604: Select the even-numbered row to form a new bitmap B. , the bitmap size is ⁇ ⁇ N/2; Step S606: Scan the bitmap B in the screen buffer of the mobile phone by column; Step S608: Select the even-numbered column to form a new bitmap C, the bitmap size is ⁇ /2 ⁇ ⁇ /2.
  • FIG. 9 is a structural block diagram of a power saving device for a mobile terminal according to an embodiment of the present invention. As shown in FIG.
  • the mobile terminal power saving device includes: an obtaining module 10, configured to acquire a bitmap in a screen buffer of the mobile terminal in a screen power saving mode; and the processing module 20 is configured to be reduced according to a preset ratio. a bitmap in the screen buffer; the first determining module 30 is configured to determine a display area of the screen according to a screen resolution reduction ratio in the screen power saving mode; and the closing module 40 is configured to close a screen pixel other than the display area in the screen Point and / or backlight.
  • the basic display function of the mobile terminal is maintained by reducing the screen resolution of the mobile terminal, which solves the problem that the power consumption on the screen of the mobile terminal cannot be saved in the related art, thereby saving the screen of the mobile terminal.
  • the apparatus further includes: a second determining module 50 configured to compare a current power level of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state; Connected between the second determining module 50 and the obtaining module 10, and configured to determine to enable the screen power saving mode according to the preset configuration.
  • a second determining module 50 configured to compare a current power level of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state
  • Connected between the second determining module 50 and the obtaining module 10 Connected between the second determining module 50 and the obtaining module 10, and configured to determine to enable the screen power saving mode according to the preset configuration.
  • the processing module 20 may further include: a first scanning unit 200 configured to scan a bitmap in a progressive scan screen buffer; a first set of graphics unit 202, configured to select a screen buffer
  • the X rows of the bitmap constitute a new bitmap, where X is smaller than the total number of rows of the bitmap in the screen buffer;
  • the second scanning unit 204 is set to scan a new bitmap;
  • the second group of graphics units 206 is set to The queue of the new bitmap is selected to form a reduced bitmap, where ⁇ is smaller than the total number of columns of the bitmap in the screen buffer.
  • is smaller than the total number of columns of the bitmap in the screen buffer.
  • the apparatus may further include: an adjustment module 70 connected to the shutdown module 40, configured to adjust a cutting area of the screen refresh; and a refreshing module 80 configured to refresh the screen.
  • an adjustment module 70 connected to the shutdown module 40, configured to adjust a cutting area of the screen refresh
  • a refreshing module 80 configured to refresh the screen.
  • a charging event is detected, or the current power is higher than a low power threshold set by the user. For example, if the user replaces the battery, the screen power saving mode may be turned off. The mobile terminal returns to normal mode and the screen returns to normal resolution. It should be noted that the above power saving device may be disposed in the mobile terminal.
  • the bitmap size in the display screen buffer is reduced according to a preset ratio, according to the reduction
  • the bitmap size reduces the screen resolution, which can effectively reduce the power consumption of the mobile phone and prolong the use time of the mobile phone in a low power state. For a mobile terminal with a large screen, a better power saving effect can be achieved.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Telephone Function (AREA)

Abstract

Provided are a method and device for saving power of a mobile terminal. The method includes: in a screen power-saving mode, acquiring a bitmap in a screen buffer of a mobile terminal; zooming out the bitmap in the screen buffer according to a pre-set scale; determining a display area of the screen according to the zooming-out scale of the screen resolution in the screen power-saving mode; and on the screen turning off the screen pixel points and/or backlight leaving the display area. The technical solution provided by the present invention can save the electricity consumption of a mobile terminal screen, and prolong the service time of a mobile terminal in a low-battery state.

Description

移动终端的节电方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种移动终端的节电方法及装置。 背景技术 随着用户对于移动终端 (例如, 手机) 娱乐性能的需求不断增强, 移动终端的屏 幕越来越大。 在移动终端上, 几乎全部的功能都离不开屏幕的显示, 移动终端很大部 分电量消耗在屏幕上。 大屏幕移动终端的耗电量相当大, 绝大部分移动终端是一天一 充电。 当用户身处户外, 不方便充电时, 则希望在低电时, 可以切换到节电模式, 移 动终端屏幕维持基本的显示功能, 保持与外界的联系。 相关技术中, 传统的节电技术是: 在移动终端低电情况下电池从为移动终端整体 供电切换为仅为移动终端部分功能供电以达到节电的目的, 例如, 手机低电时, 关闭 摄像、 音频视频等娱乐模块。 然而, 传统的移动终端节电技术无法有效节约屏幕的电量消耗, 对于大屏幕手机 来说节电效果有限。 专利申请号为 CN200810113765.0 的专利申请, 公开了一种手机 节电方法及装置, 该节电方法包括: 实时检测手机电池的剩余电量; 将检测出的剩余 电量与预设的电量阀值进行比较; 当所述的剩余电量低于所述的电量阀值时, 使手机 电池从为手机整体供电切换为仅为手机部分功能供电。 该节电装置包括: 剩余电量检 测单元, 用于实时检测手机电池的剩余电量; 电量阀值比较单元, 用于将检测出的剩 余电量与预设的电量阀值进行比较; 供电切换单元, 如果所述的剩余电量低于所述的 电量阀值, 则使所述的手机电池从为手机整体供电切换为仅为手机部分功能供电。 通 过上述节电方案可以延长手机的待机时间, 降低手机的耗电量。 但是, 上述节电方案无法节约移动终端 (例如, 手机) 屏幕上的电量消耗, 存在 着一定的局限性, 对于大屏幕手机这种局限性尤其明显。 发明内容 针对相关技术中无法节约移动终端屏幕上的电量消耗的问题, 本发明提供了一种 移动终端的节电方法及装置, 以解决上述问题至少之一。 根据本发明的一个方面, 提供了一种移动终端的节电方法。 根据本发明的移动终端的节电方法包括以下处理: 在屏幕节电模式下, 获取移动 终端的屏幕缓冲区中的位图; 按照预设比例缩小屏幕缓冲区中的位图; 根据屏幕节电 模式下屏幕分辨率缩小比例确定屏幕的显示区域; 关闭屏幕中除显示区域之外的屏幕 像素点和 /或背光。 在获取移动终端屏幕缓冲区中的位图之前, 还包括: 将移动终端的当前电量与预 设的低电阈值进行比较, 确定移动终端处于低电状态; 根据预设配置确定启用屏幕节 电模式。 上述按照预设比例缩小位图包括: 逐行扫描屏幕缓冲区中的位图; 选取屏幕缓冲 区中的位图的 X行组成新的位图, 其中, X小于屏幕缓冲区中的位图的总行数; 逐列 扫描新的位图; 选取新的位图的 Y列组成缩小的位图, 其中, Y小于屏幕缓冲区中的 位图的总列数。 上述选取屏幕缓冲区中的位图的 X行组成新的位图包括: 选取屏幕缓冲区中的位 图的奇数行或偶数行组成新的位图; 选取新的位图的 Y列组成缩小的位图包括: 选取 新的位图的奇数列或偶数列组成缩小的位图。 在关闭屏幕中除显示区域之外的屏幕像素点和 /或背光之后, 还包括: 调整屏幕刷 新的切割区域并刷新屏幕。 上述关闭屏幕中除显示区域之外的屏幕像素点和 /或背光之后, 还包括: 检测移动 终端的当前电量; 当检测到的当前电量高于低电阈值时, 关闭屏幕节电模式。 根据本发明的一个方面, 提供了一种移动终端的节电装置。 根据本发明的移动终端的节电装置包括: 获取模块, 设置为在屏幕节电模式下, 获取移动终端的屏幕缓冲区中的位图; 处理模块, 设置为按照预设比例缩小屏幕缓冲 区中的位图; 第一确定模块, 设置为根据屏幕节电模式下屏幕分辨率缩小比例确定屏 幕的显示区域;关闭模块,设置为关闭屏幕中除显示区域之外的屏幕像素点和 /或背光。 上述装置还包括: 第二确定模块, 设置为将移动终端的当前电量与预设的低电阈 值进行比较, 确定移动终端处于低电状态; 启用模块, 设置为根据预设配置确定启用 屏幕节电模式。 上述处理模块包括: 第一扫描单元, 设置为逐行扫描屏幕缓冲区中的位图; 第一 组图单元, 设置为选取屏幕缓冲区中的位图的 X行组成新的位图, 其中, X小于屏幕 缓冲区中的位图的总行数; 第二扫描单元, 设置为扫描新的位图; 第二组图单元, 设 置为选取新的位图的 Y列组成缩小的位图, 其中, Υ小于屏幕缓冲区中的位图的总列 数。 上述装置还包括: 调整模块, 设置为调整屏幕刷新的切割区域; 刷新模块, 设置 为刷新屏幕。 通过本发明, 通过降低移动终端屏幕分辨率, 来维持移动终端基本显示功能, 解 决了相关技术中无法节约移动终端屏幕上的电量消耗的问题, 进而可以节约移动终端 屏幕上的电量消耗, 延长移动终端在低电状态下的使用时间。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的移动终端节电方法的流程图; 图 2是根据本发明优选实施例的移动终端节电模式设置方法的流程图; 图 3是根据本发明优选实施例的移动终端屏幕节电模式启动方法的流程图; 图 4是根据本发明优选实施例的移动终端屏幕分辨率调节方法的流程图; 图 5是根据本发明优选实施例的移动终端屏幕位图缩小的示意图; 图 6是根据本发明优选实施例的移动终端屏幕位图缩小方法的流程图; 图 7是根据本发明优选实施例的移动终端屏幕分辨率降低后的显示效果图; 图 8是根据本发明优选实施例的移动终端屏幕分辨率降低后刷新切割区域映射的 示意图; 图 9是根据本发明实施例的移动终端节电装置的结构框图; 图 10是根据本发明优选实施例的移动终端节电装置的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的移动终端节电方法的流程图。 如图 1所示, 该移动终 端节电方法主要包括以下处理: 步骤 S102: 在屏幕节电模式下, 获取移动终端的屏幕缓冲区中的位图; 步骤 S104: 按照预设比例缩小屏幕缓冲区中的位图; 步骤 S106: 根据屏幕节电模式下屏幕分辨率缩小比例确定屏幕的显示区域; 步骤 S108: 关闭屏幕中除显示区域之外的屏幕像素点和 /或背光。 相关技术中, 无法有效节约屏幕的电量消耗, 这对于大屏幕手机来说节电效果有 限。 采用图 1所示的节电方法, 通过降低移动终端屏幕分辨率, 来维持移动终端基本 显示功能, 解决了相关技术中无法节约移动终端屏幕上的电量消耗的问题, 进而可以 节约移动终端屏幕上的电量消耗, 延长移动终端在低电状态下的使用时间。 优选地, 在获取移动终端屏幕缓冲区中的位图之前, 还可以包括以下处理: ( 1 )将移动终端的当前电量与预设的低电阈值进行比较,确定移动终端处于低电 状态; TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a power saving method and apparatus for a mobile terminal. BACKGROUND OF THE INVENTION As users' demands for entertainment performance of mobile terminals (e.g., mobile phones) continue to increase, the screens of mobile terminals are getting larger and larger. On the mobile terminal, almost all functions are inseparable from the display of the screen, and a large part of the power of the mobile terminal is consumed on the screen. The power consumption of large-screen mobile terminals is quite large, and most mobile terminals are charged every day. When the user is outdoors and inconvenient to charge, it is desirable to switch to the power saving mode when the battery is low, and the mobile terminal screen maintains the basic display function and maintains contact with the outside world. In the related art, the conventional power saving technology is: when the mobile terminal is low-powered, the battery is switched from the power supply for the mobile terminal to the power supply function of only the mobile terminal to save power, for example, when the mobile phone is low-powered, the camera is turned off. , audio and video entertainment modules. However, the traditional mobile terminal power saving technology cannot effectively save the power consumption of the screen, and the power saving effect is limited for the large screen mobile phone. Patent application No. CN200810113765.0, discloses a mobile phone power saving method and device, the power saving method includes: detecting the remaining battery power of the mobile phone in real time; and performing the detected remaining power with a preset power threshold Comparing; when the remaining power is lower than the power threshold, the mobile phone battery is switched from the power supply for the mobile phone to only the function of the mobile phone. The power saving device includes: a remaining power detecting unit, configured to detect a remaining battery power of the mobile phone battery in real time; and a power threshold comparing unit, configured to compare the detected remaining power with a preset power threshold; If the remaining power is lower than the power threshold, the mobile phone battery is switched from the power supply for the mobile phone to only the function of the mobile phone. Through the above power saving scheme, the standby time of the mobile phone can be extended, and the power consumption of the mobile phone can be reduced. However, the above power saving scheme cannot save power consumption on the screen of a mobile terminal (for example, a mobile phone), and has certain limitations, and the limitation of the large screen mobile phone is particularly obvious. SUMMARY OF THE INVENTION The present invention provides a power saving method and apparatus for a mobile terminal to solve at least one of the above problems, in view of the problem in the related art that the power consumption on the screen of the mobile terminal cannot be saved. According to an aspect of the present invention, a power saving method of a mobile terminal is provided. The power saving method of the mobile terminal according to the present invention includes the following processes: acquiring a bitmap in a screen buffer of the mobile terminal in the screen power saving mode; reducing a bitmap in the screen buffer according to a preset ratio; saving power according to the screen The screen resolution reduction ratio in mode determines the display area of the screen; turns off screen pixels and/or backlights in the screen other than the display area. Before obtaining the bitmap in the screen buffer of the mobile terminal, the method further includes: comparing the current power of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state; determining to enable the screen power saving mode according to the preset configuration. . The above-mentioned reduction of the bitmap according to the preset ratio includes: scanning the bitmap in the screen buffer progressively; selecting the X rows of the bitmap in the screen buffer to form a new bitmap, wherein X is smaller than the bitmap in the screen buffer The total number of rows; the new bitmap is scanned column by column; the Y column of the new bitmap is selected to form a reduced bitmap, where Y is smaller than the total number of columns of the bitmap in the screen buffer. The X rows of the bitmap in the selected screen buffer form a new bitmap including: selecting an odd row or an even row of the bitmap in the screen buffer to form a new bitmap; selecting the Y column of the new bitmap to form a reduced bitmap The bitmap includes: Selecting an odd or even column of the new bitmap to form a reduced bitmap. After turning off the screen pixels and/or the backlight outside the display area in the screen, the method further includes: adjusting the cut area of the screen refresh and refreshing the screen. After the screen pixel and/or the backlight in the screen is turned off, the method further includes: detecting the current power of the mobile terminal; and turning off the screen power saving mode when the detected current power is higher than the low power threshold. According to an aspect of the present invention, a power saving device for a mobile terminal is provided. The power saving device of the mobile terminal according to the present invention includes: an obtaining module configured to acquire a bitmap in a screen buffer of the mobile terminal in a screen power saving mode; and a processing module configured to reduce the screen buffer according to a preset ratio The first determining module is configured to determine the display area of the screen according to the screen resolution reduction ratio in the screen power saving mode; the closing module is set to turn off the screen pixels and/or the backlight in the screen except the display area. The device further includes: a second determining module, configured to compare the current power of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state; and enable the module, and set to enable the screen power saving according to the preset configuration. mode. The processing module includes: a first scanning unit configured to scan a bitmap in a screen buffer; a first group of graphics units, configured to select a X row of a bitmap in the screen buffer to form a new bitmap, where X is smaller than the total number of rows in the bitmap buffer; the second scanning unit is set to scan a new bitmap; the second group of graphics units, The Y column set to select a new bitmap constitutes a reduced bitmap, where Υ is smaller than the total number of columns of the bitmap in the screen buffer. The above device further comprises: an adjustment module, configured to adjust a cutting area of the screen refresh; and a refresh module, configured to refresh the screen. The invention maintains the basic display function of the mobile terminal by reducing the screen resolution of the mobile terminal, and solves the problem that the power consumption on the screen of the mobile terminal cannot be saved in the related art, thereby saving power consumption on the screen of the mobile terminal and prolonging the movement. The usage time of the terminal in the low power state. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a power saving method of a mobile terminal according to an embodiment of the present invention; FIG. 2 is a flowchart of a power saving mode setting method of a mobile terminal according to a preferred embodiment of the present invention; FIG. 4 is a flowchart of a method for adjusting a screen resolution of a mobile terminal according to a preferred embodiment of the present invention; FIG. 5 is a screen of a mobile terminal according to a preferred embodiment of the present invention; FIG. 6 is a flowchart of a method for reducing a screen bitmap of a mobile terminal according to a preferred embodiment of the present invention; FIG. 7 is a diagram showing a display effect after a screen resolution of a mobile terminal is reduced according to a preferred embodiment of the present invention; 8 is a schematic diagram of refreshing a cutting area map after a screen resolution of a mobile terminal is reduced according to a preferred embodiment of the present invention; FIG. 9 is a structural block diagram of a power saving apparatus for a mobile terminal according to an embodiment of the present invention; FIG. 10 is a preferred embodiment according to the present invention. A block diagram of a mobile terminal power saving device. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. 1 is a flow chart of a power saving method of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1 , the mobile terminal power saving method mainly includes the following processes: Step S102: Obtain a bitmap in a screen buffer of the mobile terminal in a screen power saving mode; Step S104: Reduce the screen buffer according to a preset ratio. a bitmap in the screen; Step S106: determining a display area of the screen according to a screen resolution reduction ratio in the screen power saving mode; Step S108: Turn off screen pixel points and/or backlights in the screen other than the display area. In the related art, the power consumption of the screen cannot be effectively saved, which is limited in power saving for a large-screen mobile phone. The power saving method shown in FIG. 1 is adopted to maintain the basic display function of the mobile terminal by reducing the screen resolution of the mobile terminal, thereby solving the problem that the power consumption on the screen of the mobile terminal cannot be saved in the related art, thereby saving the screen of the mobile terminal. The power consumption increases the usage time of the mobile terminal in a low power state. Preferably, before acquiring the bitmap in the screen buffer of the mobile terminal, the following processing may be further included: (1) comparing the current power of the mobile terminal with a preset low power threshold, and determining that the mobile terminal is in a low power state;
(2) 根据预设配置确定启用屏幕节电模式。 通过上述处理, 在低电状态下启用屏幕节电模式, 可以有效减缓移动终端的电量 消耗, 延长手机在低电状态下的使用时间。 在优选实施过程中, 在移动终端屏幕刷新前, 通常判断移动终端是否处于低电状 态, 如果处于低电状态下, 可以按预设比例缩小显示屏幕缓冲区中的位图大小, 根据 缩减后的位图尺寸降低屏幕分辨率, 达到移动终端节电的效果。 其中, 上述预设配置可以是用户设置的移动终端低电状态下是否启动屏幕节电模 式的配置, 如果用户选择了低电时自动启用手机屏幕节电模式则保存屏幕节电模式标 识 LOW_POWER_MODEL, 否则低电时不启动手机屏幕节电模式。 其中, 上述低电阈值也可以响应用户操作, 进行设置和修改, 如果设置和修改了 低电阈值, 则需要保存该低电阈值 LOW_POWER_THRESHOD, 否则使用默认值。 其中, 上述预设比例也可以响应用户操作, 进行设置和修改, 如果设置和修改预 设比例(即移动终端屏幕节电模式下的分辨率与原屏幕分辨率的比值), 则需要保存该 预设比例 LOW_POWER_RESOL_RATIO, 否则使用默认值。 以下结合图 2进一步描述上述优选实施方式。 图 2是根据本发明优选实施例的移动终端 (以手机为例) 节电模式设置方法的流 程图。 如图 2所示, 该移动终端节电模式设置方法包括以下处理: 步骤 S202:响应用户操作,设置手机低电状态下是否自动启用手机屏幕节电模式, 如果用户选择了 自动启用手机屏幕节电模式则保存屏幕节电模式标识 LOW_POWER_MODEL, 否则结束设置, 低电时不启动手机屏幕节电模式; 步骤 S204 : 确定用户是否选择了低电阈值, 如果是, 则保存低电阈值 LOW_POWER THRESHOD, 否则使用默认值结束设置流程; 步骤 S206: 确定用户是否选择了手机屏幕节电模式下的分辨率, 如果是则保存手 机屏幕节电模式下的分辨率与原屏幕分辨率的比值 LOW_POWER_RESOL_RATIO, 否则使用默认值结束流程。 步骤 S208: 保存设置的 LOW_POWER_MODEL, LOW_POWER_THRESHOD以 及 LOW_POWER_RESOL_RATIO。 图 3是根据本发明优选实施例的移动终端 (以手机为例) 屏幕节电模式启动方法 的流程图。 如图 3所示, 该移动终端屏幕节电模式启动方法主要包括以下处理: 步骤 S302: 判断手机当前电量值 CURRENT_POWER发生变化; 步 骤 S304 : 读 取 手 机 低 电 阈 值 LOW_POWER_THRESHOD , 将 CURRENT POWER 与 LOW_POWER_THRESHOD 比 较 , 如 果 LOW POWER THRESHOD 大于 CURRENT_POWER,则确定手机处于低电状态继续 手机屏幕节电模式的启动流程, 否则直接结束流程; 步骤 S306 : 读取设置屏幕节电模式标识 LOW_POWER_MODEL, 如果 LOW_POWER MODEL为真,则继续手机屏幕节电模式启动流程,否则直接结束流程; 步骤 S308: 手机发出警告, 弹出提示信息, 提示用户手机电池剩余电量, 询问用 户手机是否启动手机屏幕节电模式, 用户确认, 则启动手机屏幕节电模式, 否则结束 流程; 步骤 S310: 启动手机屏幕节电模式, 结束流程。 优选地, 步骤 S104中, 上述按照预设比例缩小位图可以包括: (2) Determine the enable screen power save mode according to the preset configuration. Through the above processing, enabling the screen power saving mode in the low power state can effectively slow down the power consumption of the mobile terminal and prolong the use time of the mobile phone in the low power state. In a preferred implementation process, before the screen of the mobile terminal is refreshed, it is generally determined whether the mobile terminal is in a low power state, and if in a low power state, the bitmap size in the display screen buffer may be reduced according to a preset ratio, according to the reduced size. The bitmap size reduces the screen resolution and achieves the power saving effect of the mobile terminal. The preset configuration may be a configuration of whether the mobile power saving mode is activated when the mobile terminal is set in a low power state, and the screen power saving mode identifier LOW_POWER_MODEL is saved if the mobile phone screen power saving mode is automatically enabled when the user selects low power. The phone screen power save mode is not activated when the power is low. The low power threshold may also be set and modified in response to user operations. If the low power threshold is set and modified, the low power threshold LOW_POWER_THRESHOD needs to be saved, otherwise the default value is used. The preset ratio may also be set and modified in response to a user operation. If the preset ratio is set and modified (ie, the ratio of the resolution in the power saving mode of the mobile terminal to the original screen resolution), the preset needs to be saved. Set the ratio LOW_POWER_RESOL_RATIO, otherwise use the default value. The above preferred embodiments are further described below in conjunction with FIG. 2. 2 is a flow chart of a method for setting a power saving mode of a mobile terminal (taking a mobile phone as an example) according to a preferred embodiment of the present invention. As shown in FIG. 2, the mobile terminal power-saving mode setting method includes the following processing: Step S202: In response to a user operation, setting whether the mobile phone screen power-saving mode is automatically enabled in a low-power state of the mobile phone, if the user selects to automatically enable the mobile phone screen to save power. The mode saves the screen power saving mode identifier LOW_POWER_MODEL, otherwise the setting is ended, and the mobile phone screen power saving mode is not activated when the power is low; Step S204: Determine whether the user selects the low power threshold, and if yes, save the low power threshold LOW_POWER THRESHOD, otherwise use The default value ends the setting process; Step S206: Determine whether the user selects the resolution in the mobile phone screen power saving mode, and if so, saves the ratio of the resolution in the mobile phone screen power saving mode to the original screen resolution LOW_POWER_RESOL_RATIO, otherwise the default value is used. End the process. Step S208: Save the set LOW_POWER_MODEL, LOW_POWER_THRESHOD and LOW_POWER_RESOL_RATIO. 3 is a flow chart of a method for starting a screen power save mode of a mobile terminal (taking a mobile phone as an example) according to a preferred embodiment of the present invention. As shown in FIG. 3, the mobile terminal screen power saving mode starting method mainly includes the following processing: Step S302: determining that the current power value CURRENT_POWER of the mobile phone changes; Step S304: reading the low power threshold LOW_POWER_THRESHOD of the mobile phone, comparing CURRENT POWER with LOW_POWER_THRESHOD, If the LOW POWER THRESHOD is greater than CURRENT_POWER, it is determined that the mobile phone is in a low power state to continue the startup process of the mobile phone screen power saving mode, otherwise the flow is directly ended; Step S306: Read the setting screen power saving mode identifier LOW_POWER_MODEL, if LOW_POWER MODEL is true, continue The mobile phone screen power saving mode starts the process, otherwise the process is directly ended; Step S308: The mobile phone issues a warning, pops up a prompt message, prompts the user the remaining battery power of the mobile phone, asks the user whether the mobile phone screen starts the power saving mode of the mobile phone, and the user confirms, then starts the mobile phone screen power saving mode, otherwise the process ends; Step S310: Start the mobile phone screen Power saving mode, ending the process. Preferably, in step S104, the foregoing reducing the bitmap according to the preset ratio may include:
( 1 ) 逐行扫描屏幕缓冲区中的位图; (1) progressively scan the bitmap in the screen buffer;
(2) 选取屏幕缓冲区中的位图的 X行组成新的位图, 其中, X小于屏幕缓冲区 中的位图的总行数; 优选地, 可以选取屏幕缓冲区中的位图的奇数行或偶数行组成新的位图。 通过隔 行选取可以有效防止图像失真。 当然, 也可以按照预设算法选取其他行组成新的位图。 (2) Selecting the X rows of the bitmap in the screen buffer to form a new bitmap, where X is smaller than the total number of rows of the bitmap in the screen buffer; preferably, the odd rows of the bitmap in the screen buffer can be selected Or even lines form a new bitmap. Image separation can be effectively prevented by interlacing. Of course, other lines can also be selected according to a preset algorithm to form a new bitmap.
(3 ) 逐列扫描上述新的位图; (3) scanning the above new bitmaps column by column;
(4) 选取上述新的位图的 Y列组成缩小的位图, 其中, Y小于屏幕缓冲区中的 位图的总列数。 优选地, 可以选取上述新的位图的奇数列或偶数列组成上述缩小的位图。 通过隔 列选取也可以有效防止图像失真。 当然, 也可以按照预设算法选取其他列组成新的位图。 优选地, 在执行步骤 S108之后, 还可以包括以下处理: 调整屏幕刷新的切割区域 并刷新屏幕。 屏幕刷新的切割区域是屏幕上刷新的区域,屏幕分辨率调整后切割区域需要调整, 可以将原屏幕刷新的切割区域映射到分辨率调整后的切割区域。 优选地, 在关闭屏幕中除显示区域之外的屏幕像素点和 /或背光之后, 还可以包括 以下处理: (4) Select the Y column of the above new bitmap to form a reduced bitmap, where Y is smaller than the total number of columns in the bitmap buffer. Preferably, the odd-numbered column or the even-numbered column of the above new bitmap may be selected to constitute the reduced bitmap. Image separation can also effectively prevent image distortion. Of course, other columns can also be selected according to a preset algorithm to form a new bitmap. Preferably, after performing step S108, the following processing may also be included: adjusting the cut area of the screen refresh and refreshing the screen. The cutting area of the screen refresh is the area refreshed on the screen. After the screen resolution is adjusted, the cutting area needs to be adjusted, and the cutting area refreshed by the original screen can be mapped to the cutting area after the resolution adjustment. Preferably, after the screen pixels and/or the backlight other than the display area are turned off in the screen, the following processing may also be included:
( 1 ) 检测移动终端的当前电量; (2)当检测到的当前电量高于低电阈值时, 关闭屏幕节电模式, 即将屏幕恢复到 正常的分辨率。 通过上述处理, 可以使具有较高电量的移动终端更好地将屏幕图像呈现给用户, 通过模式切换, 大大提高了用户体验。 以下结合图 4至图 6进一步描述上述优选实施方式。 图 4是根据本发明优选实施例的移动终端 (以手机为例) 屏幕分辨率调节方法的 流程图。 如图 4 所示, 该移动终端屏幕分辨率调节方法主要包括以下处理 (步骤 S402-S416): 步骤 S402: 手机上层软件调用 draw, 向屏幕的缓冲区中打入数据; 步骤 S404: 判断手机是否处于手机屏幕节电模式, 如果是, 则继续手机屏幕分辨 率调节流程, 否则直接转入步骤 S416; 步骤 S406: 获取手机屏幕缓冲区中的位图; 步骤 S408 : 读取手机屏幕节 电模式下分辨率的缩小 比例值 LOW POWER RESOL RATIO , 下面流程中以 LOW_POWER_RESOL_RATIO的值为 0.5为例, 描述手机屏幕分辨率调节流程; 步骤 S410: 缩小手机屏幕缓冲区中的位图 A, 其示意过程入图 5所示, 假设该位 图大小为 M N, 步骤 S412 : 根据手机屏幕节 电模式下分辨率的缩小 比例值 LOW_POWER RESOL RATIO确定屏幕显示区域范围, 通过修改 LCD相关寄存器设 定屏幕上显示的位置和区域, 关闭该区域以外的屏幕像素点和 /或背光, 其效果如图 7 所示, 图 7中所示的阴影区域为关闭屏幕像素点和 /或背光的区域; 当然, 在具体实施过程中, 如果同时关闭该区域以外的屏幕像素点和背光, 可以 进一步节省手机屏幕上的电量消耗。 步骤 S414: 屏幕刷新的切割区域是屏幕上刷新的区域, 屏幕分辨率调整后切割区 域需要调整, 假设原屏幕刷新的切割区域的范围为 (x, y, dx, dy), 其中, x为水平 方向的起始位置, y为竖直方向的起始位置, dx为宽度, dy为高度, 映射到分辨率调 整后的切割区域范围为 (x/2, y/2, dx/2, dy/2) ,切割区域映射示意图如图 8所示; 步骤 S416: 刷新手机屏幕。 在优选实施过程中, 如图 6所示, 上述步骤 S410可以进一步包括如下处理: 步骤 S602: 按行扫描手机屏幕缓冲区中的位图 A; 步骤 S604: 选取第偶数行组成新的位图 B, 位图大小为 Μ χ N/2; 步骤 S606: 按列扫描手机屏幕缓冲区中的位图 B; 步骤 S608: 选取第偶数列组成新的位图 C, 位图大小为 Μ/2 χ Ν/2。 图 9是根据本发明实施例的移动终端节电装置的结构框图。 如图 9所示, 该移动 终端节电装置包括: 获取模块 10, 设置为在屏幕节电模式下, 获取移动终端的屏幕缓 冲区中的位图; 处理模块 20, 设置为按照预设比例缩小屏幕缓冲区中的位图; 第一确 定模块 30, 设置为根据屏幕节电模式下屏幕分辨率缩小比例确定屏幕的显示区域; 关 闭模块 40, 设置为关闭屏幕中除显示区域之外的屏幕像素点和 /或背光。 在图 9所示的节电装置中, 通过降低移动终端屏幕分辨率, 来维持移动终端基本 显示功能, 解决了相关技术中无法节约移动终端屏幕上的电量消耗的问题, 进而可以 节约移动终端屏幕上的电量消耗, 延长移动终端在低电状态下的使用时间。 优选地, 如图 10所示, 上述装置还包括: 第二确定模块 50, 设置为将移动终端 的当前电量与预设的低电阈值进行比较, 确定移动终端处于低电状态; 启用模块 60, 连接于第二确定模块 50和获取模块 10之间, 设置为根据预设配置确定启用屏幕节电 模式。 优选地, 如图 10所示, 上述处理模块 20可以进一步包括: 第一扫描单元 200, 设置为逐行扫描屏幕缓冲区中的位图; 第一组图单元 202, 设置为选取屏幕缓冲区中 的位图的 X行组成新的位图, 其中, X小于屏幕缓冲区中的位图的总行数; 第二扫描 单元 204, 设置为扫描新的位图; 第二组图单元 206, 设置为选取新的位图的 Υ列组 成缩小的位图, 其中, Υ小于屏幕缓冲区中的位图的总列数。 优选地, 如图 10所示, 上述装置还可以进一步包括: 调整模块 70, 与关闭模块 40相连接, 设置为调整屏幕刷新的切割区域; 刷新模块 80, 设置为刷新屏幕。 在优选实施过程中, 当上述移动终端处于屏幕节电模式下时, 检测到充电事件, 或者当前电量高于用户设定的低电阈值, 例如, 用户更换电池, 则可以关闭屏幕节电 模式, 移动终端回到普通模式, 屏幕恢复到正常的分辨率。 需要注意的是, 上述节电装置可以设置于移动终端中。 综上所述, 借助本发明提供的上述实施例, 在手机屏幕刷新前, 判断手机是否处 于低电状态, 如果是, 则按预设比例缩小显示屏幕缓冲区中的位图大小, 根据缩减后 的位图尺寸降低屏幕分辨率, 从而可以有效减缓手机电量的消耗, 延长手机在低电状 态下的使用时间。 对于屏幕较大的移动终端而言, 可以达到较好的节电效果。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而可以将 它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限 制于任何特定的硬件和软件结合。 以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技术人 员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 (1) detecting the current power of the mobile terminal; (2) When the detected current power is higher than the low power threshold, the screen power save mode is turned off, that is, the screen is restored to the normal resolution. Through the above processing, the mobile terminal with higher power can better present the screen image to the user, and the mode switching greatly improves the user experience. The above preferred embodiments are further described below in conjunction with FIGS. 4 through 6. 4 is a flow chart of a method for adjusting a screen resolution of a mobile terminal (taking a mobile phone as an example) according to a preferred embodiment of the present invention. As shown in FIG. 4, the mobile terminal screen resolution adjustment method mainly includes the following processing (steps S402-S416): Step S402: The upper layer software of the mobile phone calls draw to input data into the buffer of the screen; Step S404: Determine whether the mobile phone is In the mobile phone screen power saving mode, if yes, continue the mobile phone screen resolution adjustment process, otherwise directly go to step S416; Step S406: obtain a bitmap in the mobile phone screen buffer; Step S408: Read the mobile phone screen power saving mode The reduction ratio of the resolution is LOW POWER RESOL RATIO. In the following flow, the value of LOW_POWER_RESOL_RATIO is 0.5 as an example to describe the screen resolution adjustment process of the mobile phone; Step S410: The bitmap A in the screen buffer of the mobile phone is reduced, and the process is shown in the figure. As shown in FIG. 5, assuming that the bitmap size is MN, step S412: determining the screen display area range according to the reduced scale value LOW_POWER RESOL RATIO of the resolution in the power saving mode of the mobile phone screen, by modifying the position of the LCD related register setting on the screen and Area, close the screen pixels and/or backlight outside the area, the effect is shown in Figure 7. The shaded area shown in FIG. 7 is an area where the screen pixels and/or the backlight are turned off; of course, in the specific implementation, if the screen pixels and the backlight outside the area are simultaneously turned off, the power consumption on the screen of the mobile phone can be further saved. . Step S414: The cut area of the screen refresh is the area refreshed on the screen, and the cut area needs to be adjusted after the screen resolution is adjusted, assuming that the range of the cut area of the original screen refresh is (x, y, dx, dy), where x is horizontal The starting position of the direction, y is the starting position in the vertical direction, dx is the width, dy is the height, and the range of the cutting area mapped to the resolution adjustment is (x/2, y/2, dx/2, dy/ 2), the cutting area mapping diagram is shown in Figure 8; Step S416: Refresh the mobile phone screen. In a preferred implementation process, as shown in FIG. 6, the foregoing step S410 may further include the following steps: Step S602: Scan the bitmap A in the screen buffer of the mobile phone by row; Step S604: Select the even-numbered row to form a new bitmap B. , the bitmap size is Μ χ N/2; Step S606: Scan the bitmap B in the screen buffer of the mobile phone by column; Step S608: Select the even-numbered column to form a new bitmap C, the bitmap size is Μ/2 χ Ν /2. FIG. 9 is a structural block diagram of a power saving device for a mobile terminal according to an embodiment of the present invention. As shown in FIG. 9, the mobile terminal power saving device includes: an obtaining module 10, configured to acquire a bitmap in a screen buffer of the mobile terminal in a screen power saving mode; and the processing module 20 is configured to be reduced according to a preset ratio. a bitmap in the screen buffer; the first determining module 30 is configured to determine a display area of the screen according to a screen resolution reduction ratio in the screen power saving mode; and the closing module 40 is configured to close a screen pixel other than the display area in the screen Point and / or backlight. In the power saving device shown in FIG. 9, the basic display function of the mobile terminal is maintained by reducing the screen resolution of the mobile terminal, which solves the problem that the power consumption on the screen of the mobile terminal cannot be saved in the related art, thereby saving the screen of the mobile terminal. The power consumption on the battery extends the use time of the mobile terminal in a low power state. Preferably, as shown in FIG. 10, the apparatus further includes: a second determining module 50 configured to compare a current power level of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state; Connected between the second determining module 50 and the obtaining module 10, and configured to determine to enable the screen power saving mode according to the preset configuration. Preferably, as shown in FIG. 10, the processing module 20 may further include: a first scanning unit 200 configured to scan a bitmap in a progressive scan screen buffer; a first set of graphics unit 202, configured to select a screen buffer The X rows of the bitmap constitute a new bitmap, where X is smaller than the total number of rows of the bitmap in the screen buffer; the second scanning unit 204 is set to scan a new bitmap; the second group of graphics units 206 is set to The queue of the new bitmap is selected to form a reduced bitmap, where Υ is smaller than the total number of columns of the bitmap in the screen buffer. Preferably, as shown in FIG. 10, the apparatus may further include: an adjustment module 70 connected to the shutdown module 40, configured to adjust a cutting area of the screen refresh; and a refreshing module 80 configured to refresh the screen. In a preferred implementation process, when the mobile terminal is in the screen power saving mode, a charging event is detected, or the current power is higher than a low power threshold set by the user. For example, if the user replaces the battery, the screen power saving mode may be turned off. The mobile terminal returns to normal mode and the screen returns to normal resolution. It should be noted that the above power saving device may be disposed in the mobile terminal. In summary, with the above embodiment provided by the present invention, before the screen of the mobile phone is refreshed, it is determined whether the mobile phone is in a low power state, and if so, the bitmap size in the display screen buffer is reduced according to a preset ratio, according to the reduction The bitmap size reduces the screen resolution, which can effectively reduce the power consumption of the mobile phone and prolong the use time of the mobile phone in a low power state. For a mobile terminal with a large screen, a better power saving effect can be achieved. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种移动终端的节电方法, 包括: A power saving method for a mobile terminal, comprising:
在屏幕节电模式下, 获取移动终端的屏幕缓冲区中的位图;  Obtaining a bitmap in a screen buffer of the mobile terminal in the screen power saving mode;
按照预设比例缩小所述屏幕缓冲区中的位图;  Shrinking the bitmap in the screen buffer by a preset ratio;
根据屏幕节电模式下屏幕分辨率缩小比例确定屏幕的显示区域; 关闭所述屏幕中除所述显示区域之外的屏幕像素点和 /或背光。  The display area of the screen is determined according to the screen resolution reduction ratio in the screen power saving mode; the screen pixels and/or the backlight in the screen other than the display area are turned off.
2. 根据权利要求 1所述的方法,其中,在获取移动终端屏幕缓冲区中的位图之前, 还包括: 2. The method according to claim 1, wherein before acquiring the bitmap in the screen buffer of the mobile terminal, the method further comprises:
将所述移动终端的当前电量与预设的低电阈值进行比较, 确定所述移动终 端处于低电状态;  Comparing the current power of the mobile terminal with a preset low power threshold to determine that the mobile terminal is in a low power state;
根据预设配置确定启用所述屏幕节电模式。  The screen power saving mode is determined to be enabled according to a preset configuration.
3. 根据权利要求 1所述的方法, 其中, 所述按照预设比例缩小所述位图包括: 逐行扫描所述屏幕缓冲区中的位图; The method according to claim 1, wherein the reducing the bitmap according to a preset ratio comprises: scanning a bitmap in the screen buffer line by line;
选取所述屏幕缓冲区中的位图的 X行组成新的位图, 其中, X小于所述屏 幕缓冲区中的位图的总行数;  Selecting X rows of the bitmap in the screen buffer to form a new bitmap, where X is smaller than the total number of rows of the bitmap in the screen buffer;
逐列扫描所述新的位图;  Scanning the new bitmap column by column;
选取所述新的位图的 Y列组成所述缩小的位图, 其中, Y小于所述屏幕缓 冲区中的位图的总列数。  The Y column of the new bitmap is selected to form the reduced bitmap, where Y is less than the total number of columns of the bitmap in the screen buffer.
4. 根据权利要求 3所述的方法, 其中, 选取所述屏幕缓冲区中的位图的 X行组成新的位图包括: 选取所述屏幕缓 冲区中的位图的奇数行或偶数行组成新的位图; 4. The method according to claim 3, wherein selecting the X rows of the bitmap in the screen buffer to form a new bitmap comprises: selecting an odd row or an even row of the bitmap in the screen buffer New bitmap;
选取所述新的位图的 Y列组成所述缩小的位图包括: 选取所述新的位图的 奇数列或偶数列组成所述缩小的位图。  Selecting the Y column of the new bitmap to form the reduced bitmap includes: selecting an odd or even column of the new bitmap to form the reduced bitmap.
5. 根据权利要求 1所述的方法, 其中, 在关闭所述屏幕中除所述显示区域之外的 屏幕像素点和 /或背光之后,还包括:调整屏幕刷新的切割区域并刷新所述屏幕。 根据权利要求 1至 5中任一项所述的方法, 其中, 关闭所述屏幕中除所述显示 区域之外的屏幕像素点和 /或背光之后, 还包括: 5. The method according to claim 1, wherein, after turning off screen pixel points and/or backlights other than the display area in the screen, further comprising: adjusting a screen refreshed cut area and refreshing the screen . The method according to any one of claims 1 to 5, wherein, after the screen pixels and/or the backlight in the screen except the display area are turned off, the method further includes:
检测所述移动终端的当前电量;  Detecting a current power of the mobile terminal;
当所述检测到的当前电量高于所述低电阈值时, 关闭所述屏幕节电模式。 一种移动终端的节电装置, 包括:  The screen power save mode is turned off when the detected current power is higher than the low power threshold. A power saving device for a mobile terminal, comprising:
获取模块, 设置为在屏幕节电模式下, 获取移动终端的屏幕缓冲区中的位 图;  Obtaining a module, configured to obtain a bitmap in a screen buffer of the mobile terminal in the screen power saving mode;
处理模块, 设置为按照预设比例缩小所述屏幕缓冲区中的位图; 第一确定模块, 设置为根据屏幕节电模式下屏幕分辨率缩小比例确定屏幕 的显示区域;  a processing module, configured to reduce the bitmap in the screen buffer according to a preset ratio; the first determining module is configured to determine a display area of the screen according to a screen resolution reduction ratio in the screen power saving mode;
关闭模块, 设置为关闭所述屏幕中除所述显示区域之外的屏幕像素点和 / 或背光。 根据权利要求 7所述的装置, 其中, 还包括: 第二确定模块, 设置为将所述移动终端的当前电量与预设的低电阈值进行 比较, 确定所述移动终端处于低电状态;  The module is turned off, and is set to turn off screen pixels and/or backlights in the screen other than the display area. The device according to claim 7, further comprising: a second determining module, configured to compare a current power of the mobile terminal with a preset low power threshold, and determine that the mobile terminal is in a low power state;
启用模块, 设置为根据预设配置确定启用所述屏幕节电模式。 根据权利要求 7或 8所述的装置, 其中, 所述处理模块包括:  The module is enabled, and is set to determine to enable the screen power saving mode according to a preset configuration. The device according to claim 7 or 8, wherein the processing module comprises:
第一扫描单元, 设置为逐行扫描所述屏幕缓冲区中的位图;  a first scanning unit, configured to scan a bitmap in the screen buffer line by line;
第一组图单元,设置为选取所述屏幕缓冲区中的位图的 X行组成新的位图, 其中, X小于所述屏幕缓冲区中的位图的总行数;  a first set of map units, configured to select a X row of the bitmap in the screen buffer to form a new bitmap, where X is smaller than a total number of rows of the bitmap in the screen buffer;
第二扫描单元, 设置为描所述新的位图;  a second scanning unit, configured to describe the new bitmap;
第二组图单元, 设置为选取所述新的位图的 Y列组成所述缩小的位图, 其 中, Y小于所述屏幕缓冲区中的位图的总列数。 根据权利要求 7或 8所述的装置, 其中, 还包括: 调整模块, 设置为调整屏幕刷新的切割区域;  The second set of picture elements, arranged to select the Y column of the new bitmap, constitutes the reduced bitmap, wherein Y is smaller than the total number of columns of the bitmap in the screen buffer. The apparatus according to claim 7 or 8, further comprising: an adjustment module configured to adjust a cutting area of the screen refresh;
刷新模块, 设置为刷新所述屏幕。  Refresh the module, set to refresh the screen.
PCT/CN2011/078584 2011-07-01 2011-08-18 Method and device for saving power of mobile terminal WO2013004040A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110183439.9 2011-07-01
CN2011101834399A CN102857643A (en) 2011-07-01 2011-07-01 Method and device for saving power for mobile terminal

Publications (1)

Publication Number Publication Date
WO2013004040A1 true WO2013004040A1 (en) 2013-01-10

Family

ID=47403826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078584 WO2013004040A1 (en) 2011-07-01 2011-08-18 Method and device for saving power of mobile terminal

Country Status (2)

Country Link
CN (1) CN102857643A (en)
WO (1) WO2013004040A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092327B (en) * 2013-02-04 2015-09-09 华为技术有限公司 Subscriber equipment and display packing thereof
CN103312901A (en) * 2013-03-21 2013-09-18 广东欧珀移动通信有限公司 Power-saving method and device for mobile terminal with screen
CN104243720A (en) 2013-06-24 2014-12-24 中兴通讯股份有限公司 Electricity saving method of terminal device and terminal device
CN103915072B (en) * 2014-03-24 2016-07-06 京东方科技集团股份有限公司 A kind of display system and driving method thereof
CN105159635B (en) * 2015-07-16 2019-03-01 小米科技有限责任公司 A kind of display control method and device
CN104933984B (en) * 2015-07-20 2017-12-05 京东方科技集团股份有限公司 Display device and its driving method and drive module
CN105635684A (en) * 2015-12-31 2016-06-01 深圳市金立通信设备有限公司 Monitoring method and terminal
CN105892617A (en) * 2016-03-30 2016-08-24 上海斐讯数据通信技术有限公司 Operation method for intelligent terminal and intelligent terminal
CN106097952B (en) * 2016-06-29 2019-12-27 深圳市富优镁科技有限公司 Terminal display screen resolution adjusting method and terminal
CN106547544A (en) * 2016-10-17 2017-03-29 上海传英信息技术有限公司 The method and device of game image buffering during a kind of low battery
CN107734619A (en) * 2017-11-27 2018-02-23 维沃移动通信有限公司 Reduce the method and mobile terminal of mobile terminal power consumption
CN111208894A (en) * 2018-11-01 2020-05-29 西安易朴通讯技术有限公司 Screen display control method and system
CN109508133A (en) * 2018-11-26 2019-03-22 努比亚技术有限公司 Method, terminal and the computer readable storage medium of screen display control
CN110831131A (en) * 2019-09-18 2020-02-21 珠海格力电器股份有限公司 Screen display method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201226232Y (en) * 2008-07-14 2009-04-22 华晶科技股份有限公司 Portable electronic device with electricity-saving function
JP2009253349A (en) * 2008-04-01 2009-10-29 Nec Corp Portable terminal and information display method
CN101763214A (en) * 2009-12-30 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal display page zoom method, system and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004328167A (en) * 2003-04-22 2004-11-18 Murata Mach Ltd Communication equipment
CN101296439A (en) * 2007-04-25 2008-10-29 中兴通讯股份有限公司 System and method for displaying residual power-on time of mobile phone battery and saving power
CN101572072A (en) * 2008-04-30 2009-11-04 宏碁股份有限公司 Image display device and power-saving control method thereof
CN101877745B (en) * 2010-06-30 2014-04-09 中兴通讯股份有限公司 Power saving system and method for mobile terminal
CN101950546A (en) * 2010-09-17 2011-01-19 张超 Liquid crystal display device and display control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253349A (en) * 2008-04-01 2009-10-29 Nec Corp Portable terminal and information display method
CN201226232Y (en) * 2008-07-14 2009-04-22 华晶科技股份有限公司 Portable electronic device with electricity-saving function
CN101763214A (en) * 2009-12-30 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal display page zoom method, system and mobile terminal

Also Published As

Publication number Publication date
CN102857643A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
WO2013004040A1 (en) Method and device for saving power of mobile terminal
TW521257B (en) Image display apparatus with driving modes and method of driving the same
RU2656729C2 (en) Liquid crystal display method and apparatus
RU2648583C2 (en) Liquid crystal method and display device
CN111767013A (en) Control method, control device, electronic device, computer-readable storage medium
CN106782258B (en) Display screen, display device and display method
KR101880833B1 (en) Method and apparatus for displaying content
CN101523481B (en) Image processing apparatus for superimposing windows displaying video data having different frame rates
CN104269155A (en) Method and device for adjusting refreshing rate of screen
US10971100B2 (en) Pixel driving circuit, display panel having the pixel driving circuit and driving method of display panel
WO2015165013A1 (en) Method for displaying data on screen and display control apparatus
CN103021348A (en) Display device and screen backlight control method
WO2013120331A1 (en) Screen content display method and apparatus
US10134326B2 (en) Device for and method of saving power when refreshing a display screen when displayed content does not change
CN107436658B (en) Method for reducing temperature rise, computer readable storage medium and mobile terminal
WO2017067061A1 (en) Content display method and apparatus
CN110164355B (en) Control signal output circuit and method, array substrate and display device
CN104754409A (en) Multimedia video playing system applied to Android platform and multimedia video playing method applied to multimedia video playing system of Android platform
WO2020211568A1 (en) Array substrate, method for driving same, display panel, and display apparatus
CN112581874B (en) Display panel, display device, display control method and device and terminal equipment
WO2023045921A1 (en) Display method and apparatus, and electronic device
WO2017067060A1 (en) Method and device for content display
JP2007036702A (en) Personal digital assistant and display control method
CN107274853A (en) Array base palte, display panel and display device
JP2008148065A (en) Mobile phone, program, and information storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1