WO2015035773A1 - 屏幕亮度调节的方法、装置及存储介质 - Google Patents

屏幕亮度调节的方法、装置及存储介质 Download PDF

Info

Publication number
WO2015035773A1
WO2015035773A1 PCT/CN2014/075389 CN2014075389W WO2015035773A1 WO 2015035773 A1 WO2015035773 A1 WO 2015035773A1 CN 2014075389 W CN2014075389 W CN 2014075389W WO 2015035773 A1 WO2015035773 A1 WO 2015035773A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen brightness
value
brightness value
power consumption
range
Prior art date
Application number
PCT/CN2014/075389
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to JP2016541771A priority Critical patent/JP6235151B2/ja
Priority to US15/021,474 priority patent/US20160239071A1/en
Priority to EP14844164.5A priority patent/EP3046003B1/en
Publication of WO2015035773A1 publication Critical patent/WO2015035773A1/zh

Links

Classifications

    • 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/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the field of display technologies, and in particular, to a method, device, and storage medium for adjusting screen brightness. Background technique
  • the functions of the terminal are more and more complicated, such as camera function, handwriting function, music playing function, video telephone function, terminal television function, etc., and the terminal also develops from a common terminal to a smart terminal.
  • the functions of the terminal are more and more complicated, and the power consumption is more and more, and the standby time of the terminal becomes an urgent technical problem to be solved for the rapid development of the terminal.
  • the screen of the terminal is a liquid crystal display (LED, Light Emitting Diode) or a liquid crystal display (LCD).
  • LED Light Emitting Diode
  • LCD liquid crystal display
  • the embodiment of the invention provides a method, a device and a storage medium for adjusting the brightness of the screen, which can save the power of the terminal.
  • a method for adjusting screen brightness is provided, and the method includes:
  • the method further includes:
  • the selecting, according to the current screen brightness value, a target screen brightness range that is compatible with the obtained current battery power value includes:
  • a brightness range lower than the current screen brightness value is selected as the target screen brightness range.
  • the screen selects a screen brightness value corresponding to the current battery power value according to a power consumption value corresponding to each selected brightness value in the target screen brightness range, and according to the selected screen brightness value
  • the steps to display the screen brightness include:
  • a screen brightness value corresponding to the smallest power consumption difference is selected, and the screen brightness display is performed in accordance with the selected screen brightness value.
  • the screen selects a screen brightness value corresponding to the current battery power value according to a power consumption value corresponding to each selected brightness value in the target screen brightness range, and according to the selected screen brightness value Perform screen brightness display, including:
  • an apparatus for adjusting a brightness of a screen comprising:
  • Obtaining a module configured to obtain a current battery power value and a current screen brightness value of the terminal; and selecting a screen brightness range module, configured to select a target screen brightness range that is compatible with the obtained current battery power value based on the current screen brightness value ;
  • Determining a screen brightness value module configured to select a screen brightness value corresponding to the current battery power value according to the power consumption value corresponding to the selected brightness value within the target screen brightness range, and according to the selected The screen brightness value is used to display the screen brightness.
  • the device further includes:
  • Obtaining a screen brightness value and a power consumption value module configured to obtain a minimum screen brightness value and a maximum screen brightness value of the terminal; and in an increment or decrement manner within a minimum screen brightness value and a maximum screen brightness value range of the acquired terminal At least two screen brightness values are selected at equal intervals, and power consumption values corresponding to the at least two screen brightness values are calculated.
  • the selecting a screen brightness range module is further configured to: when the acquired current battery power value is not lower than a set threshold, select a brightness range higher than the current screen brightness value as the target screen brightness range. And when the acquired current battery power value is lower than the set threshold, selecting a brightness range lower than the current screen brightness value as the target screen brightness range.
  • the determining the screen brightness value module comprises:
  • Calculating a power consumption difference sub-module configured to select at least two screen brightness values within the target screen brightness range, and obtain a power consumption value corresponding to each selected brightness value, and calculate brightness of two adjacent screens The power consumption difference of the value of the power consumption corresponding to the value;
  • Establishing a first list sub-module configured to establish and save a first list according to at least two screen brightness values and corresponding power consumption difference values in the target screen brightness range;
  • the determining submodule is configured to select, in the first list, a screen brightness value corresponding to the minimum power consumption difference, and perform screen brightness display according to the selected screen brightness value.
  • the determining a screen brightness value module further includes:
  • Establishing a first graph sub-module configured to select at least two screen brightness values within the target screen range, and obtain a power consumption value corresponding to each selected brightness value, and establish a first curve graph;
  • a conversion submodule configured to convert the established first graph into at least two function lines; determining a submodule configured to find a line having the smallest slope and selecting the screen with the smallest slope The screen brightness value with the smallest difference in brightness values, and the screen brightness is displayed according to the selected screen brightness value.
  • the embodiment of the invention further describes a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform the foregoing method for adjusting screen brightness.
  • the method, device and storage medium for screen brightness adjustment include: obtaining a current battery power value of the terminal and a current screen brightness value; The value is a reference, and the target screen brightness range corresponding to the obtained current battery power value is selected; and the current battery is selected according to the power consumption value corresponding to the selected brightness value in the target screen brightness range. The corresponding screen brightness value of the power value, and the screen brightness is displayed according to the selected screen brightness value.
  • a brightness range is selected in real time according to the current battery power, and then a point with the smallest differential value on the first graph is selected as the screen brightness value in the brightness range to save power. purpose.
  • FIG. 1 is a flow chart of a method for adjusting the brightness of a screen according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a device for adjusting the brightness of a screen according to an embodiment of the present invention
  • Electrical implementation flow chart
  • FIG. 5 is a flow chart of a method for realizing screen brightness adjustment by a table lookup method according to an embodiment of the present invention
  • FIG. 6 is a flow chart of a method for realizing screen brightness adjustment by a function method according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for adjusting screen brightness according to an embodiment of the present invention; as shown in FIG. 1, the method includes the following steps:
  • Step S101 Acquire a current battery power value of the terminal and a current screen brightness value.
  • Step S102 selecting, according to the current screen brightness value, a target screen brightness range that is adapted to the acquired current battery power value;
  • the ratio is selected.
  • the brightness range in which the current screen brightness value is high is the target screen brightness range; when the acquired current battery power value is lower than the threshold, the brightness range lower than the current screen brightness value is selected as the target screen brightness range.
  • Step S103 Select a screen brightness value corresponding to the current battery power value according to a power consumption value corresponding to each selected brightness value in the target screen brightness range, and perform a screen according to the selected screen brightness value. Brightness display.
  • the method further includes: acquiring a minimum screen brightness value and a maximum screen brightness value of the terminal; and increasing or decreasing the method according to the minimum screen brightness value and the maximum screen brightness value of the acquired terminal.
  • the at least two screen brightness values are selected at intervals, and the power consumption values corresponding to the at least two screen brightness values are respectively calculated.
  • the screen brightness display comprises: selecting at least two screen brightness values within the target screen range, and obtaining a power consumption value corresponding to each selected brightness value, and then calculating corresponding brightness values of two adjacent screens.
  • the power consumption difference value of the power consumption value ; establishing and saving the first list, that is, the screen brightness value-power consumption difference table according to at least two screen brightness values and the corresponding power consumption difference values in the target screen brightness range
  • the screen brightness value-power consumption difference table a screen brightness value corresponding to the minimum power consumption difference value is selected, and the screen brightness value is displayed according to the screen brightness value.
  • the screen brightness display further includes: selecting, within the target screen range, at least two screen brightness values, and obtaining a power consumption value corresponding to each selected brightness value, and establishing a first curve, that is, a screen brightness value-consuming a power value graph; converting the established screen brightness value-power consumption value graph into at least two function lines; and finding the straight line with the smallest slope, and The screen with the lowest slope selects the screen brightness value that has the smallest difference from the current screen brightness value, and displays the screen brightness according to the selected screen brightness value.
  • FIG. 2 is a schematic diagram of a device for adjusting the brightness of a screen according to an embodiment of the present invention; as shown in FIG. 2, the device includes: an obtaining module 201, a screen brightness range module 202, and a screen brightness value module 203;
  • the obtaining module 201 is configured to obtain a current battery power value and a current screen brightness value of the terminal.
  • the screen brightness range module 202 is configured to select a target screen that is adapted to the current battery power value obtained by using the current screen brightness value as a reference. Brightness range
  • the determining the screen brightness value module 203 is configured to select a screen brightness value corresponding to the current battery power value according to the power consumption value corresponding to the selected brightness value in the target screen brightness range, and select according to the selected The screen brightness value is displayed on the screen brightness.
  • the device further includes:
  • Obtaining a screen brightness value and power consumption value module 204 configured to acquire a minimum screen brightness value and a maximum screen brightness value of the terminal; and in increment or decrement of the minimum screen brightness value and the maximum screen brightness value range of the acquired terminal The method selects at least two screen brightness values at equal intervals, and calculates a power consumption value corresponding to the at least two screen brightness values.
  • the selected screen brightness range module 202 is further configured to: when the acquired current battery power value is not lower than the set threshold, select a brightness range higher than the current screen brightness value as the target screen. a brightness range; when the acquired current battery power value is lower than the threshold, a brightness range lower than the current screen brightness value is selected as the target screen brightness range.
  • the determining screen brightness value module 203 includes:
  • Calculating a power consumption difference sub-module configured to select at least two screen brightness values within the target screen brightness range, and obtain a power consumption value corresponding to each selected brightness value, and then calculate adjacent two screens The power consumption difference of the power consumption value corresponding to the brightness value;
  • the screen brightness value and the corresponding power consumption difference value are established, and the first list, that is, the screen brightness value-power consumption difference table is established and saved;
  • the determining submodule is configured to select, in the screen brightness value-power consumption difference table, a screen brightness value corresponding to the minimum power consumption difference, and perform screen brightness display according to the screen brightness value.
  • the determining the screen brightness value module 203 further includes:
  • Establishing a first graph sub-module configured to select at least two screen brightness values within the target screen range, and obtain a power consumption value corresponding to each selected brightness value, and establish a first curve diagram to establish a screen Luminance value - power consumption value graph;
  • a conversion submodule configured to convert the established screen brightness value-consumption power value graph into at least two function lines
  • Determining a sub-module configured to find a line having the smallest slope, and selecting a screen brightness value having the smallest difference from the current screen brightness value on the straight line having the smallest slope, and performing a screen according to the selected screen brightness value Brightness display.
  • the obtaining module 201, the selecting screen brightness range module 202, the determining screen brightness value module 203, the obtaining screen brightness value, and the power consumption value module 204 may all be performed by a central processing unit (CPU), or Digital signal processing (DSP, Digital Signal Processor), or processor (MPU, Micro Processor Unit), or Field Programmable Gate Array (FPGA), etc.; the CPU, DSP, MPU, FPGA It can be built into a terminal such as a mobile terminal.
  • CPU central processing unit
  • DSP Digital Signal Processor
  • MPU Micro Processor Unit
  • FPGA Field Programmable Gate Array
  • FIG. 3 is a flowchart of implementing optimal scanning power saving according to an embodiment of the present invention. As shown in FIG. 3, taking the android terminal operating system as an example, the remaining terminal operating systems are similar.
  • the terminal After entering the terminal system, if the terminal can give a screen brightness value-power consumption value graph (some manufacturers will provide), use it directly. If not provided, set the minimum screen brightness value (in the case of off-screen) and the maximum screen brightness value (the terminal supports maximum brightness), and then increase or decrease the brightness between the maximum screen brightness value and the minimum screen brightness value. Mode equally spaced Multiple screen brightness values (such as 100 or 1000). In the process of going out to the brightest, the power consumption of each screen brightness value is scanned in turn, and each screen brightness value and corresponding power consumption value are recorded. As shown in FIG. 4, it is assumed that the screen brightness range of the LCD (the horizontal axis in FIG.
  • 4 is the brightness value range) is [0-255], and 0 and 255 respectively correspond to the minimum screen brightness value and the maximum screen brightness value (Fig. The vertical axis in 4 is the range of screen brightness values).
  • the system power consumption value corresponding to the 256 brightness levels is tested, and the screen brightness value-power consumption value table is created and saved.
  • the name of the application module that implements the above functions may be specifically the lowest power indicator module (LPL, Lowest Power Light).
  • FIG. 5 is a flow chart of a method for realizing screen brightness adjustment by a table lookup method according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps:
  • Step S501 Obtain a current battery power value by using a system power acquisition interface
  • the current battery power value can be obtained by registering to receive the power change broadcast message.
  • Step S502 Acquire a current screen brightness value through a related interface of the system light sensor; in the android operating system, the screen brightness value of the current automatic light sense may be obtained from the light sense driver.
  • Step S503 selecting a screen brightness range according to the current battery power value and the current screen brightness value
  • Step S504 Select at least two screen brightness values in the screen brightness range, and calculate a difference between power consumption of all adjacent two screen brightness values, and obtain a minimum power consumption difference;
  • the minimum screen brightness value and the maximum screen brightness value are divided into equal parts (for example, divided into 100 copies or 1000). Share), then scan the power consumption of each screen brightness value (by the change of current) in the process of going out to the brightest, and will be adjacent to the two screens
  • the brightness value of the screen is recorded as the difference between the power consumption values, as LB.
  • the terminal establishes a screen brightness value-power consumption difference table for storing the plurality of (100 or 1000) screen brightness values and their corresponding power consumption difference values LB (eg, screen brightness value 40 power consumption 0.25 ma, brightness 41)
  • LB power consumption difference values
  • the power consumption is 0.27ma.
  • Table 1 Screen Brightness Value - Power Consumption Difference Table
  • Step S505 Set a screen brightness value corresponding to the LB minimum value of the power consumption difference to a system screen display brightness.
  • FIG. 6 is a flow of a method for realizing screen brightness adjustment by a function method according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:
  • Step S601 Obtain a current battery power value by using a system power acquisition interface
  • the battery power can be obtained by registering to receive a power change broadcast message.
  • Step S602 Acquire a current screen brightness value through a related interface of the system light sensor; in the android operating system, the current automatic light sense screen brightness value may be obtained from the light sense driver.
  • Step S603 Select a screen brightness range according to the current battery power value and the current screen brightness value
  • Step S604 Establish a screen brightness value-power consumption value curve according to the power consumption value of each brightness value selected by the screen brightness range; convert the established screen brightness value-power consumption value curve to at least two Function line, find the line equation of all screen brightness values in the brightness range of the screen on the function graph, and then choose according to the following principles: Select the slope with the smallest value of k in all line equations, select the line, and select it on the line The point at which the absolute value of the difference from the current screen brightness value is the smallest.
  • the minimum screen brightness value and the maximum screen brightness value are divided into equal parts (for example, divided into 100 parts). Or 1000 copies), and then sequentially scan the power consumption of each screen brightness value (by the change of current) during the process of extinguishing the screen to the brightest, recording the brightness value of each screen and the corresponding power consumption value at a time, establishing and Save the screen brightness value - power consumption value graph.
  • the power consumption value is represented by a straight line expression
  • the corresponding function of all points is connected by a straight line of a small enough length to derive the brightness value of the screen about the terminal -
  • a function of the power consumption value segment function, each segment is a straight line.
  • the relevant formula is derived from the data to obtain a straight line equation in each screen brightness range.
  • the following is a specific embodiment to illustrate the screen brightness value set by the system screen: Assume that the following sets of data are obtained, the format is the screen brightness value - the power consumption value, and the maximum error is set to 0.05.
  • the error between the two is 0.02 ⁇ 0.05, which is within the acceptable range.
  • a freely moving screen brightness range is selected according to the current battery level, for example, when the battery level is lower than the set threshold, the screen brightness range is Move at a low position (provided that the current automatic brightness value is within the range of this movement), such as when the current screen brightness value is X, the screen brightness range can be set to [x-6, X], when the battery level is not low At the threshold value, the screen brightness range is moved to a high position. If the current screen brightness value is X, the screen brightness range can be set to [X, x+5], and then all the brightness within the screen brightness range is found.
  • the screen brightness value contains several line equations on the function graph, and then choose according to the following principles: Select the smallest slope k value in all line equations, select the line, select the difference between the line and the current screen brightness value The point at which the absolute value of the value is the smallest.
  • the threshold may be flexibly set according to actual application conditions. Below, for example, for example, the current screen brightness value is 100, the current battery level is higher
  • the screen brightness value of the system screen is set to 102.
  • Step S605 Set the screen brightness value of the point to the system brightness.
  • the embodiment of the invention further describes a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to perform the foregoing method for adjusting screen brightness.
  • the method, device, and storage medium for adjusting the brightness of the screen provided by the embodiment of the present invention include: acquiring a current battery power value and a current screen brightness value of the terminal; and selecting a current screen brightness value as a reference Obtaining a target screen brightness range that is adapted to the current battery power value; selecting a screen brightness value corresponding to the current battery power value according to the power consumption value of each brightness value selected in the target screen brightness range, and following The selected screen brightness value is used to display the screen brightness.
  • the brightness of the screen display can be adjusted by the current battery power of the terminal, thereby achieving the purpose of power saving and improving the user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer usable storage medium (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • a computer usable storage medium including but not limited to disk storage and optical storage, etc.
  • These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device processor to produce a machine such that a flow or a block diagram of a flow or a block diagram or A device that has multiple functions specified in the box.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Power Sources (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种屏幕亮度调节的方法,所述方法包括:获取终端的当前电池电量值和当前屏幕亮度值;以当前屏幕亮度值为基准,选取与所获取的当前电池电量值相适应的目标屏幕亮度范围;依据所述目标屏幕亮度范围内与所选取的各亮度值相对应的耗电量值,选择与所述当前电池电量值相应的屏幕亮度值,并按照所选择的屏幕亮度值进行屏幕亮度显示;同时,本发明还公开了一种屏幕亮度调节的装置。

Description

屏幕亮度调节的方法、 装置及存储介质 技术领域
本发明涉及显示技术领域, 特别涉及一种屏幕亮度调节的方法、 装置 及存储介质。 背景技术
随着科技的不断发展和进步, 终端的功能越来越复杂, 比如拍照功能、 手写功能、 音乐播放功能、 视频电话功能、 终端电视功能等等, 终端也从 普通终端发展到智能终端。 然而, 终端的功能越来越复杂, 耗电也就越来 越多, 终端的待机时间也就成为利于终端快速发展的一个亟待解决的技术 问题。
随着终端功能越来越复杂, 功能越来越强大, 大屏幕的终端也越来越 多。 但是终端的屏幕越大, 耗电也就越大。 一般终端的屏幕都是使用液晶 屏幕(LED, Light Emitting Diode ) 或液晶显示器 (LCD, Liquid Crystal Display ), 操作终端时液晶屏就会点亮, 同时液晶屏的背光也会点亮, 这样 长时间亮屏就会使电池耗电, 尤其是电池电量不足的情况下, 如果仍然全 屏点亮, 就会加快电池电量的消耗。
当前终端省电的方式有很多, 如釆用省电材料, 釆用后台运行程序, 区分白天黑夜等方法, 除此之外还存在有对部分显示区域的省电方法。 虽 然这些方法都可以达到省电的目的, 但是, 这期间需要过多的用户参与, 并且省电效果也不够明显。 发明内容
本发明实施例在于提供一种屏幕亮度调节的方法、 装置及存储介质, 可节省终端电量。 根据本发明实施例的一个方面, 提供了一种屏幕亮度调节的方法, 所 述方法包括:
获取终端的当前电池电量值和当前屏幕亮度值;
以当前屏幕亮度值为基准, 选取与所获取的当前电池电量值相适应的 目标屏幕亮度范围;
依据所述目标屏幕亮度范围内与所选取的各亮度值相对应的耗电量 值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所选择的屏幕 亮度值进行屏幕亮度显示。
优选地, 所述方法还包括:
获取终端的最小屏幕亮度值和最大屏幕亮度值;
在所获取终端的最小屏幕亮度值和最大屏幕亮度值范围内, 按照递增 或递减的方式等间隔选取至少两个屏幕亮度值, 并分别计算所述至少两个 屏幕亮度值所对应的多个耗电量值。
优选地, 所述以当前屏幕亮度值为基准, 选取与所获取的当前电池电 量值相适应的目标屏幕亮度范围, 包括:
当所获取的当前电池电量值未低于设定的阈值时, 则选取比所述当前 屏幕亮度值高的亮度范围为所述目标屏幕亮度范围;
当所获取的当前电池电量值低于设定的阈值时, 则选取比所述当前屏 幕亮度值低的亮度范围为所述目标屏幕亮度范围。
优选地, 所述依据所述目标屏幕亮度范围内与所选取的各亮度值相对 应的耗电量值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所 选择的屏幕亮度值进行屏幕亮度显示的步骤包括:
所述目标屏幕亮度范围内所选取的至少两个屏幕亮度值的耗电量值, 计算相邻两个屏幕亮度值相对应的耗电量值的耗电差值;
根据所述目标屏幕亮度范围内的至少两个屏幕亮度值和所对应的耗电 差值, 建立第一列表;
在所述第一列表中, 选择出与最小的耗电差值相对应的屏幕亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
优选地, 所述依据所述目标屏幕亮度范围内与所选取的各亮度值相对 应的耗电量值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所 选择的屏幕亮度值进行屏幕亮度显示, 包括:
依据所选取的屏幕亮度值及所述屏幕亮度值所对应的耗电量值, 建立 第一曲线图;
将所建立的第一曲线图转换为至少两个函数直线;
查找出斜率最小的直线, 并在所述斜率最小的直线上, 选择出与所述 屏幕亮度值的差值最小的屏幕亮度值, 并按照所选 ^屏幕亮度值进行屏 幕亮度显示。
根据本发明实施例的另一方面, 提供了一种屏幕亮度调节的装置, 所 述装置包括:
获取模块, 配置为获取终端的当前电池电量值和当前屏幕亮度值; 选取屏幕亮度范围模块, 配置为以当前屏幕亮度值为基准, 选取与所 获取的当前电池电量值相适应的目标屏幕亮度范围;
确定屏幕亮度值模块, 配置为依据所述目标屏幕亮度范围内与所选取 的各亮度值相对应的耗电量值, 选择与所述当前电池电量值相应的屏幕亮 度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
优选地, 所述装置还包括:
获取屏幕亮度值及耗电量值模块, 配置为获取终端的最小屏幕亮度值 和最大屏幕亮度值; 以及在所获取终端的最小屏幕亮度值和最大屏幕亮度 值范围内, 按照递增或递减的方式等间隔选取至少两个屏幕亮度值, 并计 算所述至少两个屏幕亮度值所对应的耗电量值。 优选地, 所述选取屏幕亮度范围模块, 还配置为当所获取的当前电池 电量值未低于设定的阈值时, 则选取比所述当前屏幕亮度值高的亮度范围 为所述目标屏幕亮度范围; 当所获取的当前电池电量值低于设定的阈值时, 则选取比所述当前屏幕亮度值低的亮度范围为所述目标屏幕亮度范围。
优选地, 所述确定屏幕亮度值模块包括:
计算耗电差值子模块, 配置为在所述目标屏幕亮度范围内, 选取至少 两个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 计算相邻 两个屏幕亮度值相对应的耗电量值的耗电差值;
建立第一列表子模块, 配置为根据所述目标屏幕亮度范围内的至少两 个屏幕亮度值和所对应的耗电差值, 建立并保存第一列表;
确定子模块, 配置为在所述第一列表中, 选择出与最小的耗电差值相 对应的屏幕亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
优选地, 所述确定屏幕亮度值模块还包括:
建立第一曲线图子模块, 配置为在所述目标屏幕范围内, 选取至少两 个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 建立第一曲 线图;
转换子模块, 配置为将所建立的第一曲线图转换为至少两个函数直线; 确定子模块, 配置为查找出斜率最小的直线, 并在所述斜率最小的直 线上选择出与所述屏幕亮度值的差值最小的屏幕亮度值, 并按照所选择的 屏幕亮度值进行屏幕亮度显示。
本发明实施例还记载了一种计算机存储介质, 所述计算机存储介质中 存储有计算机可执行指令, 所述计算机可执行指令用于执行前述的屏幕亮 度调节的方法。
本发明实施例提供的屏幕亮度调节的方法、 装置及存储介质, 所述方 法包括: 获取终端的当前电池电量值和当前屏幕亮度值; 以当前屏幕亮度 值为基准, 选取与所获取的当前电池电量值相适应的目标屏幕亮度范围; 依据所述目标屏幕亮度范围内与所选取的各亮度值相对应的耗电量值, 选 择与所述当前电池电量值相应的屏幕亮度值, 并按照所选择的屏幕亮度值 进行屏幕亮度显示。 利用本发明实施例的技术方案, 根据当前电池电量来 实时选定一个亮度范围, 然后在这个亮度范围中选取一个在第一曲线图上 微分值最小的点来作为屏幕亮度值, 以达到省电目的。 附图说明
图 1是本发明实施例提供的一种屏幕亮度调节的方法流程图; 图 2是本发明实施例提供的一种屏幕亮度调节的装置示意图; 图 3是本发明实施例提供的扫描最佳省电的实现流程图;
图 4是本发明实施例提供的屏幕亮度 -耗电量的曲线图;
图 5是本发明实施例提供的通过查表法实现屏幕亮度调节的方法的流 程图;
图 6是本发明实施例提供的通过函数法实现屏幕亮度调节的方法的流 程图。 具体实施方式
以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下 所说明的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。
图 1 是本发明实施例提供的一种屏幕亮度调节的方法流程图; 如图 1 所示, 所述方法包括以下步骤:
步骤 S 101: 获取终端的当前电池电量值和当前屏幕亮度值。
步骤 S102: 以当前屏幕亮度值为基准, 选取与所获取的当前电池电量 值相适应的目标屏幕亮度范围;
这里, 当所获取的当前电池电量值未低于设定的阈值时, 则选取比所 述当前屏幕亮度值高的亮度范围为所述目标屏幕亮度范围; 当所获取的当 前电池电量值低于所述阈值时, 则选取比所述当前屏幕亮度值低的亮度范 围为所述目标屏幕亮度范围。
步骤 S103 : 依据所述目标屏幕亮度范围内与所选取的各亮度值相对应 的耗电量值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所选 择的屏幕亮度值进行屏幕亮度显示。
在本发明实施例中, 所述方法还包括: 获取终端的最小屏幕亮度值和 最大屏幕亮度值; 在所获取终端的最小屏幕亮度值与最大屏幕亮度值范围 内, 按照递增或递减的方式等间隔选取至少两个屏幕亮度值, 并分别计算 所述至少两个屏幕亮度值所对应的耗电量值。
其中, 所述依据所述目标屏幕亮度范围内与所选取的各亮度值相对应 的耗电量值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所选 择的屏幕亮度值进行屏幕亮度显示, 包括: 在所述目标屏幕范围内, 选取 至少两个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 再计 算相邻两个屏幕亮度值相对应的耗电量值的耗电差值; 根据所述目标屏幕 亮度范围内的至少两个屏幕亮度值和所对应的耗电差值, 建立并保存第一 列表即屏幕亮度值-耗电差值表; 在所述屏幕亮度值-耗电差值表中, 选择出 与最小的耗电差值相对应的屏幕亮度值, 并按照该屏幕亮度值进行屏幕亮 度显示。
其中, 所述依据所述目标屏幕亮度范围内与所选取的各亮度值相对应 的耗电量值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所选 择的屏幕亮度值进行屏幕亮度显示, 还包括: 在所述目标屏幕范围内, 选 取至少两个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 建 立第一曲线图即屏幕亮度值 -耗电量值曲线图;将所建立的屏幕亮度值 -耗电 量值曲线图转换至少两个函数直线; 并查找出斜率最小的直线, 并在所述 斜率最小的直线上选择出与当前屏幕亮度值的差值最小的屏幕亮度值, 并 按照所选择的屏幕亮度值进行屏幕亮度显示。
图 2是本发明实施例提供的一种屏幕亮度调节的装置示意图; 如图 2 所示, 所述装置包括: 获取模块 201、 选取屏幕亮度范围模块 202、 确定屏 幕亮度值模块 203; 其中,
获取模块 201, 配置为获取终端的当前电池电量值和当前屏幕亮度值; 选取屏幕亮度范围模块 202, 配置为以当前屏幕亮度值为基准, 选取与所获 取的当前电池电量值相适应的目标屏幕亮度范围;
确定屏幕亮度值模块 203,配置为依据所述目标屏幕亮度范围内与所选 取的各亮度值相对应的耗电量值, 选择与所述当前电池电量值相应的屏幕 亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
在本发明实施例中, 所述装置还包括:
获取屏幕亮度值及耗电量值模块 204,配置为获取终端的最小屏幕亮度 值和最大屏幕亮度值; 以及在所获取终端的最小屏幕亮度值和最大屏幕亮 度值范围内, 按照递增或递减的方式等间隔选取至少两个屏幕亮度值, 并 计算所述至少两个屏幕亮度值所对应的耗电量值。
较佳地, 所述选取屏幕亮度范围模块 202,还配置为当所获取的当前电 池电量值未低于设定的阈值时, 则选取比所述当前屏幕亮度值高的亮度范 围为所述目标屏幕亮度范围; 当所获取的当前电池电量值低于所述阈值时, 则选取比所述当前屏幕亮度值低的亮度范围为所述目标屏幕亮度范围。
较佳地, 所述确定屏幕亮度值模块 203包括:
计算耗电差值子模块, 配置为在所述目标屏幕亮度范围内, 选取至少 两个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 再计算相 邻两个屏幕亮度值相对应的耗电量值的耗电差值;
建立第一列表子模块, 配置为根据所述目标屏幕亮度范围内的至少两 个屏幕亮度值和所对应的耗电差值, 建立并保存第一列表即屏幕亮度值-耗 电差值表;
确定子模块, 配置为在所述屏幕亮度值-耗电差值表中, 选择出与最小 的耗电差值相对应的屏幕亮度值, 并按照该屏幕亮度值进行屏幕亮度显示。
较佳地, 所述确定屏幕亮度值模块 203还包括:
建立第一曲线图子模块, 配置为在所述目标屏幕范围内, 选取至少两 个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 建立第一曲 线图即建立屏幕亮度值 -耗电量值曲线图;
转换子模块, 配置为将所建立的屏幕亮度值-耗电量值曲线图转换为至 少两个函数直线;
确定子模块, 配置为查找出斜率最小的直线, 并在所述斜率最小的直 线上选择出与所述当前屏幕亮度值的差值最小的屏幕亮度值, 并按照所选 择的屏幕亮度值进行屏幕亮度显示。
在实际应用中, 所述获取模块 201、 选取屏幕亮度范围模块 202、 确定 屏幕亮度值模块 203、获取屏幕亮度值及耗电量值模块 204均可由中央处理 单元( CPU, Central Processing Unit ),或数字信号处理( DSP, Digital Signal Processor ), 或 处理器( MPU, Micro Processor Unit ), 或现场可编程门阵 列 (FPGA, Field Programmable Gate Array )等来实现; 所述 CPU、 DSP, MPU、 FPGA均可内置于终端如移动终端中。
图 3是本发明实施例提供的扫描最佳省电的实现流程图; 如图 3所示, 以 android终端操作系统为例, 其余终端操作系统类似。
进入终端系统之后, 如果终端能给出屏幕亮度值-耗电量值曲线图 (有 些厂家会提供) 则直接使用。 如果未能提供, 则设置最小屏幕亮度值(灭 屏情况下)和最大屏幕亮度值(终端支持最大亮度), 然后在把最大屏幕亮 度值和最小屏幕亮度值之间按照亮度均勾递增或者递减的方式等间隔选取 多个屏幕亮度值 (比如选择 100个或者 1000个)。 在灭屏到最亮的过程中 依次扫描每个屏幕亮度值的耗电情况, 并将每个屏幕亮度值和相应的耗电 量值都记录下来。 如图 4所示, 设 LCD的屏幕亮度取值范围 (图 4中的横 轴为亮度取值范围)是 [0-255], 0和 255分别对应最小屏幕亮度值和最大屏 幕亮度值 (图 4中的纵轴为屏幕亮度值范围)。 针对每一款手机终端, 都会 测试这 256个亮度等级相对应的系统耗电量值, 建立并保存屏幕亮度值-耗 电量值表。
实现上述功能的应用模块名称可以具体为最低电源指示灯模块(LPL, Lowest Power Light )。
图 5是本发明实施例提供的通过查表法实现屏幕亮度调节的方法的流 程图; 如图 5所示, 所述方法包括以下步骤:
步骤 S501 : 通过系统电量获取接口获取当前电池电量值;
在 android操作系统中, 可通过注册接收电量变化广播消息来获取到当 前电池电量值。
步骤 S502: 通过系统光感器的相关接口获取当前屏幕亮度值; 在 android操作系统中, 可以从光感驱动程序里面去获取当前自动光感 的屏幕亮度值。
步骤 S503 : 根据当前的电池电量值和当前屏幕亮度值, 选定一个屏幕 亮度范围;
步骤 S504: 在所述屏幕亮度范围内选取至少两个屏幕亮度值, 并计算 的所有相邻两个屏幕亮度值的耗电量之间的差值, 并取得最小的耗电差值; 获取移动设备灭屏时的最小屏幕亮度值和最亮显示时的最大屏幕亮度 值, 将最小屏幕亮度值与最大屏幕亮度值之间按照等间隔进行划分, 划分 成若干份(比如划分成 100份或者 1000份), 然后在灭屏到最亮的过程中 依次扫描每个屏幕亮度值的耗电情况(通过电流的变化), 并将相邻两个屏 幕亮度值对应耗电量值的差值进行记录, 如记为 LB。 终端建立用于存储这 若干个( 100个或者 1000个)屏幕亮度值及其对应的耗电差值 LB的屏幕 亮度值 -耗电差值表(比如屏幕亮度值 40 耗电 0.25ma、 亮度 41 时耗电 0.27ma。那么 LB值即为 0.27-0.25=0.02ma,记录为 41-0.02 )如下表 1所示。
表 1 : 屏幕亮度值 -耗电差值表
Figure imgf000012_0001
步骤 S505: 将所述耗电差值中 LB最小值相对应的屏幕亮度值设置为 系统屏幕显示亮度。
图 6是本发明实施例提供的通过函数法实现屏幕亮度调节的方法的流 程图; 如图 6所示, 所述方法包括以下步骤:
步骤 S601 : 通过系统电量获取接口获取当前电池电量值;
在 android操作系统中, 可通过注册接收电量变化广播消息来获取到电 池电量。
步骤 S602: 通过系统光感器的相关接口获取当前屏幕亮度值; 在 android操作系统中,可以从光感驱动程序里面获取当前的自动光感 的屏幕亮度值。
步骤 S603 : 根据当前的电池电量值和当前屏幕亮度值, 选定一个屏幕 亮度范围;
步骤 S604: 依据所述屏幕亮度范围所选取的各亮度值的耗电量值, 建 立屏幕亮度值 -耗电量值曲线图;将所建立的屏幕亮度值 -耗电量值曲线转换 至少两个函数直线, 查找屏幕亮度范围内的所有屏幕亮度值在函数图上所 属的直线方程, 然后遵循如下原则进行选择: 挑选在所有直线方程中斜率 k 值最小的, 选定直线后, 选取在直线上与当前屏幕亮度值的差值的绝对值 最小的点。
获取移动设备灭屏时的最小屏幕亮度值和最亮显示时的最大屏幕亮度 值, 将最小屏幕亮度值和最大屏幕亮度值之间按照等间隔进行划分, 划分 成若干份(比如划分成 100份或者 1000份), 然后在灭屏到最亮的过程中 依次扫描每个屏幕亮度值的耗电情况(通过电流的变化), 一次记录每个屏 幕亮度值及对应的耗电量值, 建立并保存屏幕亮度值 -耗电量值曲线图。 根 据两点之间的屏幕亮度值-耗电量值用直线的表达式来表示, 所有点的对应 的函数就是用一段段足够小的直线连接起来的, 推导出该终端的关于屏幕 亮度值-耗电量值的函数(分段函数, 每段为直线)。
从一些实际得到的数据来看, LCD显示器的屏幕亮度值-耗电量值并不 是呈线性关系, 而是呈曲线状。 但是用微分的思想来看的话, 这个曲线其 实是由一段段足够短的直线组成的。设这个直线函数是 Y=kx+b,其中 Y为 电压, X为屏幕亮度值, b是补偿系数, k为斜率。 对于不同种类的 LCD, 乃至在不同的亮度范围, 斜率 k和补偿系数 b都有差别。 按照亮度的细粒 度划分若干范围(比如划分成 100个范围,或者 1000个范围,也可以更多)。 这样对每个足够小的范围可以看成一个斜率为 k的直线, 同时对于每个足 够小的范围调整相应的补偿系数。
通过数据来推演相关的公式, 得到各个屏幕亮度范围内的直线方程式。 下面以具体的实施例来说明系统屏幕设置的屏幕亮度值: 假设得到如 下几组数据, 格式为屏幕亮度值 -耗电量值, 设最大误差为 0.05。
1-3.1 2-5.2 3-7.32 4-9.48 5-11.6
通过两点可以确定一条直线, 通过 1-3.1和 2-5.2可以得到 y =2.1x + 1 ; 对于 3-7.32来说, 将 x=3代入上式, 得 y=7.3, y=7.3与 7.32之间的误 差为 0.02 < 0.05, 在可接受范围内。
对于 4-9.48来说, 将 x=4代入上式, 得 y=9.4, y=9.4与 9.48之间的误 差是 0.08 > 0.05,确定 4-9.48这个点不在这条直线上,接下来与上面的求解 方法类似, 继续利用 4-9.48和 5-11.6组成新的直线方程。
在屏幕亮度值-耗电量值(电流) 关系确定之后, 根据当前电池电量会 选择一个自由移动的屏幕亮度范围, 比如在电池电量低于设定的阈值的情 况下, 把这个屏幕亮度范围往低处移动 (前提是, 当前自动亮度值要在这 个移动的范围内), 如以当前屏幕亮度值为 X时, 该屏幕亮度范围可以置为 [x-6, X] , 当电池电量未低于所述阈值的时候, 将屏幕亮度范围往高处移动, 如以当前屏幕亮度值为 X时, 该屏幕亮度范围可以置为 [X, x+5], 再查找这 个屏幕亮度范围内的所有屏幕亮度值在函数图上包含有哪几条直线方程, 然后遵循如下原则进行选择: 挑选在所有直线方程中斜率 k值最小的, 选 定直线后, 选取在直线上与当前屏幕亮度值的差值的绝对值最小的点。 其 中, 所述阈值可以依据实际应用情况而灵活设置。 下面, 举例说明, 比如当前屏幕亮度值为 100, 当前电池电量较高为
86%, 将屏幕亮度范围置为 [100, 105] , 那么根据先前的函数生成过程, 假 设在 100-105上有 3条直线。 比如:
屏幕亮度值在 98 101之间的点在直线 y = 1.58x+0.8上;
屏幕亮度值在 102、 103的点在直线 y=1.52x+1.2上;
屏幕亮度值在 104~108之间的点在直线 y = 1.6x-2.1上;
那么很容易发现 102、 103这两点所在直线的直线斜率最小。
由于在 102、 103这两个点中, 102与 100的差值小于 103与 100的差 值, 所以此时系统屏幕的屏幕亮度值就会设为 102。
步骤 S605: 将该点的屏幕亮度值设置为系统亮度。
本发明实施例还记载了一种计算机存储介质, 所述计算机存储介质中 存储有计算机可执行指令, 所述计算机可执行指令用于执行前述的屏幕亮 度调节的方法。
综上所述, 本发明实施例提供的屏幕亮度调节的方法、 装置及存储介 质, 所述方法包括: 获取终端的当前电池电量值和当前屏幕亮度值; 以当 前屏幕亮度值为基准, 选取与所获取的当前电池电量值相适应的目标屏幕 亮度范围; 依据所述目标屏幕亮度范围内选取的各亮度值的耗电量值, 选 择与所述当前电池电量值相应的屏幕亮度值, 并按照所选择的屏幕亮度值 进行屏幕亮度显示。 利用本发明实施例的技术方案, 可通过终端当前电池 电量来调整屏幕显示亮度值, 达到了省电的目的, 提高了用户体验。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等)上实施的计算机程序产品的形式。 本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步骤。
尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本技术领 域技术人员可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原 理所作的修改, 都应当理解为落入本发明的保护范围。

Claims

权利要求书
1、 一种屏幕亮度调节的方法, 所述方法包括:
获取终端的当前电池电量值和当前屏幕亮度值;
以当前屏幕亮度值为基准, 选取与所获取的当前电池电量值相适应的 目标屏幕亮度范围;
依据所述目标屏幕亮度范围内与所选取的各亮度值相对应的耗电量 值, 选择与所述当前电池电量值相应的屏幕亮度值, 并按照所选择的屏幕 亮度值进行屏幕亮度显示。
2、 根据权利要求 1所述的方法, 其中, 所述方法还包括:
获取终端的最小屏幕亮度值和最大屏幕亮度值;
在所获取终端的最小屏幕亮度值与最大屏幕亮度值范围内, 按照递增 或递减的方式等间隔选取至少两个屏幕亮度值, 并分别计算所述至少两个 屏幕亮度值所对应的耗电量值。
3、 根据权利要求 1或 2所述的方法, 其中, 所述以当前屏幕亮度值为 基准, 选取与所获取的当前电池电量值相适应的目标屏幕亮度范围, 包括: 当所获取的当前电池电量值未低于设定的阈值时, 则选取比所述当前 屏幕亮度值高的亮度范围为所述目标屏幕亮度范围;
当所获取的当前电池电量值低于所述阈值时, 则选取比所述当前屏幕 亮度值低的亮度范围为所述目标屏幕亮度范围。
4、 根据权利要求 3所述的方法, 其中, 所述依据所述目标屏幕亮度范 围内与所选取的各亮度值相对应的耗电量值, 选择与所述当前电池电量值 相应的屏幕亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示, 包括: 获取所述目标屏幕亮度范围内所选取的至少两个屏幕亮度值的耗电量 值, 计算相邻两个屏幕亮度值相对应的耗电量值的耗电差值;
根据所述目标屏幕亮度范围内的至少两个屏幕亮度值和所对应的耗电 差值, 建立第一列表;
在所述第一列表中, 选择出与最小的耗电差值相对应的屏幕亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
5、 根据权利要求 3所述的方法, 其中, 所述依据所述目标屏幕亮度范 围内与所选取的各亮度值相对应的耗电量值, 选择与所述当前电池电量值 相应的屏幕亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示, 包括: 依据所选取的屏幕亮度值及所述屏幕亮度值所对应的耗电量值, 建立 第一曲线图;
将所建立的第一曲线图转换为至少两个函数直线;
查找出斜率最小的直线, 并在所述斜率最小的直线上, 选择出与所述 当前屏幕亮度值的差值最小的屏幕亮度值, 并按照所选择的屏幕亮度值进 行屏幕亮度显示。
6、 一种屏幕最优亮度显示的装置, 所述装置包括:
获取模块, 配置为获取终端的当前电池电量值和当前屏幕亮度值; 选取屏幕亮度范围模块, 配置为以当前屏幕亮度值为基准, 选取与所 获取的当前电池电量值相适应的目标屏幕亮度范围;
确定屏幕亮度值模块, 配置为依据所述目标屏幕亮度范围内与所选取 的各亮度值相对应的耗电量值, 选择与所述当前电池电量值相应的屏幕亮 度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
7、 根据权利要求 6所述的装置, 其中, 所述装置还包括:
获取屏幕亮度值及耗电量值模块, 配置为获取终端的最小屏幕亮度值 和最大屏幕亮度值; 以及在所获取终端的最小屏幕亮度值和最大屏幕亮度 值范围内, 按照递增或递减的方式等间隔选取至少两个屏幕亮度值, 并计 算所述至少两个屏幕亮度值所对应的耗电量值。
8、 根据权利要求 6或 7所述的装置, 其中, 所述选取屏幕亮度范围模 块, 还配置为当所获取的当前电池电量值未低于设定的阈值时, 则选取比 所述当前屏幕亮度值高的亮度范围为所述目标屏幕亮度范围; 当所获取的 当前电池电量值低于所述阈值时, 则选取比所述当前屏幕亮度值低的亮度 范围为所述目标屏幕亮度范围。
9、根据权利要求 8所述的装置, 其中, 所述确定屏幕亮度值模块包括: 计算耗电差值子模块, 配置为在所述目标屏幕亮度范围内, 选取至少 两个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 计算相邻 两个屏幕亮度值相对应的耗电量值的耗电差值;
建立第一列表子模块, 配置为根据所述目标屏幕亮度范围内的至少两 个屏幕亮度值和所对应的耗电差值, 建立并保存第一列表;
确定子模块, 配置为在所述第一列表中, 选择出与最小的耗电差值相 对应的屏幕亮度值, 并按照所选择的屏幕亮度值进行屏幕亮度显示。
10、 根据权利要求 8所述的装置, 其中, 所述确定屏幕亮度值模块还 包括:
建立第一曲线图子模块, 配置为在所述目标屏幕范围内, 选取至少两 个屏幕亮度值, 并获取所选取的各亮度值所对应的耗电量值, 建立第一曲 线图;
转换子模块, 配置为将所建立的第一曲线图转换为至少两个函数直线; 确定子模块, 配置为查找出斜率最小的直线, 并在所述斜率最小的直 线上选择出与所述当前屏幕亮度值的差值最小的屏幕亮度值, 并按照所选 择的屏幕亮度值进行屏幕亮度显示。
11、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 1至 5任一项所述的屏 幕亮度调节的方法。
PCT/CN2014/075389 2013-09-11 2014-04-15 屏幕亮度调节的方法、装置及存储介质 WO2015035773A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016541771A JP6235151B2 (ja) 2013-09-11 2014-04-15 スクリーンの輝度を調節する方法、装置及び記憶媒体
US15/021,474 US20160239071A1 (en) 2013-09-11 2014-04-15 Screen brightness regulation method and apparatus, and storage medium
EP14844164.5A EP3046003B1 (en) 2013-09-11 2014-04-15 Screen brightness regulation method and apparatus, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310413193.9 2013-09-11
CN201310413193.9A CN104424901B (zh) 2013-09-11 2013-09-11 一种屏幕亮度调节的方法及装置

Publications (1)

Publication Number Publication Date
WO2015035773A1 true WO2015035773A1 (zh) 2015-03-19

Family

ID=52665006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075389 WO2015035773A1 (zh) 2013-09-11 2014-04-15 屏幕亮度调节的方法、装置及存储介质

Country Status (5)

Country Link
US (1) US20160239071A1 (zh)
EP (1) EP3046003B1 (zh)
JP (1) JP6235151B2 (zh)
CN (1) CN104424901B (zh)
WO (1) WO2015035773A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824740A (zh) * 2015-11-26 2016-08-03 维沃移动通信有限公司 确定应用耗电的方法和终端

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654924B (zh) * 2016-04-19 2018-08-14 冠捷显示科技(中国)有限公司 一种供电不足时自动高亮显示的方法及其设备
CN106354244A (zh) * 2016-09-13 2017-01-25 宇龙计算机通信科技(深圳)有限公司 屏幕亮度调节方法及系统
CN107132026B (zh) * 2017-04-11 2019-04-30 上海汇尔通信息技术有限公司 扫描设备支持的最低显示设备背光亮度的测试方法及系统
CN107378946A (zh) * 2017-07-21 2017-11-24 诺伯特智能装备(山东)有限公司 一种工业机器人控制系统及其控制方法
CN109686310B (zh) * 2019-01-25 2021-01-26 京东方科技集团股份有限公司 一种显示装置及其驱动方法
CN110189674A (zh) * 2019-05-27 2019-08-30 武汉华星光电半导体显示技术有限公司 根据移动显示设备的电池电量自动调节输出电压的方法
CN110879658A (zh) * 2019-11-18 2020-03-13 北京小米移动软件有限公司 调整显示亮度的方法及装置、电子设备及存储介质
CN112578898A (zh) * 2020-12-29 2021-03-30 广东湾区智能终端工业设计研究院有限公司 一种屏幕功耗优化的方法、装置、计算设备及存储介质
CN112996203B (zh) * 2021-03-10 2022-07-12 重庆第二师范学院 一种智能化照明控制系统及控制方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287037A (zh) * 2008-05-30 2008-10-15 德信无线通讯科技(北京)有限公司 一种手机节电方法及装置
CN101848281A (zh) * 2010-04-23 2010-09-29 中兴通讯股份有限公司 一种省电终端及其省电的方法
CN102193615A (zh) * 2010-03-11 2011-09-21 纬创资通股份有限公司 电源管理方法、电源管理装置及便携式计算机系统
CN102523344A (zh) * 2011-12-14 2012-06-27 深圳市中兴移动通信有限公司 一种移动终端的电量提示方法及装置
CN103024179A (zh) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 一种移动终端的电量提醒方法及装置

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6271813B1 (en) * 1996-08-30 2001-08-07 Lear Automotive Dearborn, Inc. Voltage control for adjusting the brightness of a screen display
US6618042B1 (en) * 1999-10-28 2003-09-09 Gateway, Inc. Display brightness control method and apparatus for conserving battery power
JP2001154642A (ja) * 1999-11-30 2001-06-08 Toshiba Corp 情報処理装置
US6967647B2 (en) * 2003-01-02 2005-11-22 Fujitsu Limited Method of controlling display brightness of portable information device, and portable information device
JP2004251808A (ja) * 2003-02-21 2004-09-09 Kodak Kk バッテリ状態監視装置及びこれを備えた電子機器
US7595796B2 (en) * 2004-04-23 2009-09-29 Hewlett-Packard Development Company, L.P. Optimizing lifetime of a display
US7366921B2 (en) * 2004-04-23 2008-04-29 Hewlett-Packard Development Company, L.P. Selecting input/output devices to control power consumption of a computer system
JP2006048131A (ja) * 2004-07-30 2006-02-16 Toshiba Corp 情報処理装置および表示輝度制御方法
US20060092182A1 (en) * 2004-11-04 2006-05-04 Intel Corporation Display brightness adjustment
JP2007150831A (ja) * 2005-11-29 2007-06-14 Kyocera Corp 携帯端末、表示方法
JP2008252185A (ja) * 2007-03-29 2008-10-16 Kyocera Corp 携帯電子機器
CN101312034B (zh) * 2007-05-25 2011-09-28 佛山市顺德区顺达电脑厂有限公司 动态调整屏幕亮度的方法
JP5196317B2 (ja) * 2008-12-02 2013-05-15 株式会社ニコン 投影装置
KR101023130B1 (ko) * 2009-01-08 2011-03-24 삼성모바일디스플레이주식회사 표시 장치 및 그의 구동 방법
US8358298B2 (en) * 2009-10-07 2013-01-22 Cisco Technology, Inc. Automatic brightness control
JP5447182B2 (ja) * 2010-05-21 2014-03-19 富士通モバイルコミュニケーションズ株式会社 携帯型電子機器
DE112010005779T5 (de) * 2010-08-31 2013-05-08 Hewlett-Packard Development Company, L.P. Bestimmung des Leistungsverbrauchs einer Anzeigevorrichtung
US20120102407A1 (en) * 2010-10-25 2012-04-26 Microsoft Corporation Displaying battery life resulting from setting changes
CN103593039B (zh) * 2012-08-16 2015-11-25 腾讯科技(深圳)有限公司 省电控制的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287037A (zh) * 2008-05-30 2008-10-15 德信无线通讯科技(北京)有限公司 一种手机节电方法及装置
CN102193615A (zh) * 2010-03-11 2011-09-21 纬创资通股份有限公司 电源管理方法、电源管理装置及便携式计算机系统
CN101848281A (zh) * 2010-04-23 2010-09-29 中兴通讯股份有限公司 一种省电终端及其省电的方法
CN102523344A (zh) * 2011-12-14 2012-06-27 深圳市中兴移动通信有限公司 一种移动终端的电量提示方法及装置
CN103024179A (zh) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 一种移动终端的电量提醒方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824740A (zh) * 2015-11-26 2016-08-03 维沃移动通信有限公司 确定应用耗电的方法和终端

Also Published As

Publication number Publication date
JP6235151B2 (ja) 2017-11-22
JP2016539379A (ja) 2016-12-15
EP3046003A1 (en) 2016-07-20
EP3046003A4 (en) 2016-09-28
CN104424901A (zh) 2015-03-18
EP3046003B1 (en) 2018-07-04
US20160239071A1 (en) 2016-08-18
CN104424901B (zh) 2019-01-04

Similar Documents

Publication Publication Date Title
WO2015035773A1 (zh) 屏幕亮度调节的方法、装置及存储介质
CN103093726B (zh) 控制多路led的恒定电流的装置及使用该装置的液晶显示器
US10037070B2 (en) Image display method and display system
TW201403582A (zh) 節電的顯示控制方法和裝置以及非暫時電腦可讀記錄介質
US8953048B2 (en) Information processing apparatus and control method thereof
CN106415697A (zh) 显示装置、包括该显示装置的电子设备以及操作该电子设备的方法
CN104851387B (zh) 显示装置及其驱动方法
CN107111469B (zh) 一种调整显示屏显示界面的方法、用户界面、装置、电子设备及存储介质
CN103905759B (zh) 图像投影设备与其控制方法
TW201120853A (en) Electronic apparatus and backlight brightness control method thereof
CN113470581B (zh) 显示器背光亮度的控制方法、装置、电子设备及存储介质
CN103578435A (zh) 背光调整方法及具有该背光调整功能的电子装置
US20130155126A1 (en) Determination of display device power consumption
CN103413536A (zh) 显示器节能控制方法
JPWO2014129007A1 (ja) 液晶表示装置
CN102938247A (zh) 一种亮度调整方法及装置
WO2017190438A1 (zh) 一种显示控制的方法以及装置
CN103414834A (zh) 一种屏幕节电方法、装置及移动终端
US8149206B2 (en) Liquid crystal display and method of controlling the same
JP2015001585A (ja) マルチモニタシステム、マルチモニタシステムで使用されるコンピュータプログラム、及び表示装置
US20100125374A1 (en) Image processing apparatus and control method thereof
TW201430550A (zh) 電子設備及其能源消耗訊息顯示方法
KR20240122573A (ko) 2차원 백라이트 동작을 위한 시스템들 및 방법들
CN102157140A (zh) 背光控制装置及其控制方法
CN107517311A (zh) 移动终端调节指示灯亮度的方法及移动终端、存储装置

Legal Events

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

Ref document number: 14844164

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016541771

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15021474

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2014844164

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014844164

Country of ref document: EP