CN104699221A - Power-saving processing method - Google Patents

Power-saving processing method Download PDF

Info

Publication number
CN104699221A
CN104699221A CN201510088775.3A CN201510088775A CN104699221A CN 104699221 A CN104699221 A CN 104699221A CN 201510088775 A CN201510088775 A CN 201510088775A CN 104699221 A CN104699221 A CN 104699221A
Authority
CN
China
Prior art keywords
color
region
power consumption
color region
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510088775.3A
Other languages
Chinese (zh)
Other versions
CN104699221B (en
Inventor
朱益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510088775.3A priority Critical patent/CN104699221B/en
Publication of CN104699221A publication Critical patent/CN104699221A/en
Application granted granted Critical
Publication of CN104699221B publication Critical patent/CN104699221B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention discloses a power-saving processing method. The method comprises the following steps: obtaining a page to be shown; distinguishing the color of one or more color regions in the page to be shown; determining the current consumed power required for the page to be shown; regulating the color of a first target color region in the color regions, so that the consumed power required for showing the regulated page to be shown is smaller than the consumed power shown currently. Through the adoption of the processing method disclosed by the embodiment of the invention, the showing power consumption of a terminal display screen can be reduced, so that the standby time of the terminal is prolonged.

Description

A kind of economize on electricity disposal route
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of economize on electricity disposal route.
Background technology
Along with the development of electronic technology, the terminal display screen such as mobile phone, panel computer is increasing.Along with the continuous change of terminal display screen is large, terminal display screen display power consumption has become the important component part in power consumption of terminal.Because terminal battery electricity quantity is limited, the increase of terminal display screen display power consumption will shorten terminal standby time.
Summary of the invention
The open a kind of economize on electricity disposal route of the embodiment of the present invention, for reducing terminal display screen display power consumption, to extend terminal standby time.
The open a kind of economize on electricity disposal route of the embodiment of the present invention, comprising:
Obtain the page to be shown;
Identify the color of at least one color region in the described page to be shown;
Determine current display power consumption needed for the described page to be shown;
The color of first object color region in adjustment at least one color region described, makes the required display of the page to be shown after adjustment power consumption be less than described required current display power consumption.
In the embodiment of the present invention, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, adjust the color of first object color region at least one color region, make the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of disposal route of economizing on electricity disclosed in the embodiment of the present invention;
Fig. 2 is the process flow diagram of the disclosed another kind of economize on electricity disposal route of the embodiment of the present invention;
Fig. 3 is the process flow diagram of the embodiment of the present invention another economize on electricity disposal route disclosed;
Fig. 4 is the process flow diagram of the embodiment of the present invention another economize on electricity disposal route disclosed;
Fig. 5 is the structural drawing of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural drawing of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural drawing of the embodiment of the present invention another terminal disclosed;
Fig. 8 is the structural drawing of the embodiment of the present invention another terminal disclosed;
Fig. 9 is the structural drawing of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The open a kind of economize on electricity disposal route of the embodiment of the present invention and terminal, for reducing terminal display screen display power consumption, to extend terminal standby time.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of disposal route of economizing on electricity disclosed in the embodiment of the present invention.Wherein, this economize on electricity disposal route is applicable to the terminal such as mobile phone, panel computer.As shown in Figure 1, this economize on electricity disposal route can comprise the following steps.
S101, obtain the page to be shown.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
S102, identify the color of at least one color region in the page to be shown.
In the present embodiment, the page to be shown has at least one color region, after getting the page to be shown, identifies the color of at least one color region in the page to be shown.
S103, determine current display power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine current display power consumption needed for the page to be shown, wherein, step S102 and step S103 can executed in parallel, also can perform prior to S103 by S102, can also perform prior to S102 by S103, the present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially:
Obtain the region area of each color region at least one color region;
Current display power consumption needed for the page to be shown is determined according to region area of color region each at least one color region and the color of this color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially according to region area of color region each at least one color region and the color of this color region:
Unit area display power consumption needed for the color obtaining each color region at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, to obtain showing power consumption needed for this color region with the region area that unit area power consumption needed for the color of each color region is multiplied by this color region afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region afterwards.
S104, adjust the color in color of object region in this at least one color region, make the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, the color in color of object region at least one color region can be adjusted, make to show needed for the page to be shown after adjustment current display power consumption needed for the page to be shown before power consumption is less than adjustment, thus the display power consumption of display screen can be reduced.Wherein, color of object region is part color region or whole color region at least one color region.
In the economize on electricity disposal route described by Fig. 1, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, adjust the color in color of object region at least one color region, make the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 2, Fig. 2 is the process flow diagram of the disclosed another kind of economize on electricity disposal route of the embodiment of the present invention.Wherein, this economize on electricity disposal route is applicable to the terminal such as mobile phone, panel computer.As shown in Figure 2, this economize on electricity disposal route can comprise the following steps.
S201, obtain the page to be shown.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
S202, identify the color of at least one color region in the page to be shown.
In the present embodiment, the page to be shown has at least one color region, after getting the page to be shown, identifies the color of at least one color region in the page to be shown.
S203, determine current display power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine current display power consumption needed for the page to be shown, wherein, step S202 and step S203 can executed in parallel, also can perform prior to S203 by S202, can also perform prior to S202 by S203, the present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially:
Obtain the region area of each color region at least one color region;
Current display power consumption needed for the page to be shown is determined according to region area of color region each at least one color region and the color of this color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially according to region area of color region each at least one color region and the color of this color region:
Unit area display power consumption needed for the color obtaining each color region at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, to obtain showing power consumption needed for this color region with the region area that unit area power consumption needed for the color of each color region is multiplied by this color region afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region afterwards.
S204, by the color of at least one color region according to needed for color unit area display power consumption carry out descending sort to obtain descending table, at least one color region is carried out ascending order arrangement to obtain ascending order table according to region area, and the color of the color region being arranged in i-th in ascending order table is replaced with in descending table the color being arranged in i-th, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, i is the integer being greater than zero and being less than or equal to the region quantity of at least one color region.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, the color of at least one color region is carried out descending sort to obtain descending table according to unit area display power consumption needed for color, and at least one color region is carried out ascending order arrangement to obtain ascending order table according to region area, afterwards the color of the color region being arranged in ascending order table i-th is replaced with the color being arranged in descending table i-th, make the required display of the page to be shown after replacement power consumption be less than this required current display power consumption.Because the region area of each color region remains unchanged, and unit area display power consumption needed for different colours is different, therefore, the color of color region maximum for region area can be replaced with the color that required unit area display power consumption is minimum, replace successively, finally, the color of color region minimum for region area is replaced with the color that required unit area display power consumption is maximum, can when keeping the color category of at least one color region constant, drop to minimum by showing power consumption needed for the page to be shown.Wherein, i is the integer being greater than zero and being less than or equal to the region quantity of at least one color region.Wherein, when the color of the color region being arranged in ascending order table i-th is identical with the color being arranged in descending table i-th, be that current color is constant by the color of this color region of maintenance; When the color of the color region being arranged in ascending order table i-th is not identical with the color being arranged in descending table i-th, the color of this color region is replaced with the color being arranged in descending table i-th.
Illustrate, suppose in the page to be shown, there are four color region A, B, C and D, the region area of A color region is A1, color is A2, the region area of B color region is B1, color is B2, the region area of C color region is C1, color is C2, the region area of D color region is D1, color is D2, the region area of these four color regions is A1 < C1 < D1 < B1, needed for the color of these four color regions, unit area display power consumption is B2 > A2 > C2 > D2, therefore, the color B2 of B color region maximum for region area is replaced with the color D2 that required unit area display power consumption is minimum, the color D2 of D color region is replaced with color C2, the color C2 of C color region is replaced with color A2, the color A2 of A color region minimum for region area is replaced with the color B2 that required unit area display power consumption is maximum, before adjustment, needed for the page to be shown, current display power consumption is A1*A2+B1*B2+C1*C2+D1*D2, the page to be shown after adjustment required display power consumption is B1*D2+D1*C2+C1*A2+A1*B2.When A1 be 4, C1 is 5, D1 is 6, B1 is 7, B2 is 8, A2 is 6, C2 is 5, D2 is 4 time, A1*A2+B1*B2+C1*C2+D1*D2=129, B1*D2+D1*C2+C1*A2+A1*B2=120, the page to be shown required display lower power consumption after visible adjustment.
In the economize on electricity disposal route described by Fig. 2, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, the color of at least one color region is carried out descending sort to obtain descending table according to unit area display power consumption needed for color, at least one color region is carried out ascending order arrangement to obtain ascending order table according to region area, and the color of the color region being arranged in i-th in ascending order table is replaced with in descending table the color being arranged in i-th, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 3, Fig. 3 is the process flow diagram of the embodiment of the present invention another economize on electricity disposal route disclosed.Wherein, this economize on electricity disposal route is applicable to the terminal such as mobile phone, panel computer.As shown in Figure 3, this economize on electricity disposal route can comprise the following steps.
S301, obtain the page to be shown.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
S302, identify the color of at least one color region in the page to be shown.
In the present embodiment, the page to be shown has at least one color region, after getting the page to be shown, identifies the color of at least one color region in the page to be shown.
S303, determine current display power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine current display power consumption needed for the page to be shown, wherein, step S302 and step S303 can executed in parallel, also can perform prior to S303 by S302, can also perform prior to S302 by S303, the present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially:
Obtain the region area of each color region at least one color region;
Current display power consumption needed for the page to be shown is determined according to region area of color region each at least one color region and the color of this color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially according to region area of color region each at least one color region and the color of this color region:
Unit area display power consumption needed for the color obtaining each color region at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, to obtain showing power consumption needed for this color region with the region area that unit area power consumption needed for the color of each color region is multiplied by this color region afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region afterwards.
S304, from least one color region, choose color of object region, the color of color region each in color of object region is replaced with the first object color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, color of object region required display power consumption is greater than first and presets power consumption, and first object color is arbitrary color in the color except the color of at least one color region.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, from at least one color region, choose required display power consumption be greater than the color of object region that first presets power consumption, think that showing power consumption at least one color region is greater than the large percentage that the first color of object region required display power consumption presetting power consumption occupies current display power consumption needed for the page to be shown, afterwards the color of color region each in color of object region to be replaced with in the color except the color of at least one color region arbitrary color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption.Because the region area in color of object region remains unchanged, and unit area display power consumption needed for the color reducing color of object region, therefore, reduce the display power consumption of display screen.When carrying out color replacement, be select from the color outside at least one color region, therefore, after having replaced, at least one color region, the color of each color region is not identical.
Illustrate, suppose in the page to be shown, there are eight color regions, wherein, there is four color regions required display power consumption to be greater than first and preset power consumption, first the color of a color region in these four color regions to be replaced with except these eight kinds of colors the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, afterwards the color of another color region in these four color regions to be replaced with outside above-mentioned nine kinds of colors the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, afterwards the color of another color region in these four color regions to be replaced with outside above-mentioned ten kinds of colors the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, finally the color of last color region in these four color regions to be replaced with outside above-mentioned 11 kinds of colors the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region.
As a kind of possible embodiment, color of object region required display power consumption is greater than first and presets power consumption, and in color of object region each color region color needed for unit area display power consumption be greater than second and preset power consumption.
In the present embodiment, color region required display power consumption be multiplied by color region by the region area of color region color needed for unit area show power consumption and obtain, therefore, color region required display power consumption be greater than first preset power consumption may be due to the region area of color region comparatively large caused by, also may be unit area display power consumption needed for the color due to color region comparatively large caused by, and the region area of color region remains unchanged, therefore, can reduce needed for color region and show power consumption by adjusting the color of color region.Show power consumption needed for the color region to be greater than first and to preset power consumption, and when needed for the color of color region, unit area display power consumption is greater than the second default display power consumption, by think this color region this color region of Color pair needed for show the impact of power consumption larger, the color of color region each in these color regions to be replaced with in the color except the color of at least one color region arbitrary color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption.
As a kind of possible embodiment, first object color is arbitrary color in the color except the color of at least one color region, and the contrast between first object color and the second color of object is greater than preset value, wherein, the second color of object is arbitrary color in the color of color region at least one color region except color of object region.
In the present embodiment, due to the contrast between two kinds of colors be less than or equal to preset value time, user is difficult to distinguish this two kinds of colors by eyes, therefore, different colours is differentiated by eyes in order to enable user, the replacement color selected will be greater than preset value with original contrast of the color of replacing that do not need in the page to be shown, and wants the contrast between the replacement color that substituted for also to be greater than preset value.
Illustrate, suppose in the page to be shown, there are four color regions, first color region is followed successively by the first color to the color of the 4th color region, second color, 3rd color and the 4th color, wherein, the color of the first color region and the second color region needs to replace, first the first color of the first color region to be replaced with except these four kinds of colors required unit area display power consumption be less than unit area display power consumption needed for the first color and be greater than the 5th color of preset value respectively with the contrast of the 3rd color and the 4th color, outside afterwards the second color of the second color region being replaced with above-mentioned five kinds required unit area display power consumption be less than unit area display power consumption needed for the second color and with the 3rd color, the contrast of the 4th color and the 5th color is greater than the color of preset value respectively.
In the economize on electricity disposal route described by Fig. 3, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, color of object region is chosen from least one color region, the color of color region each in color of object region is replaced with the first object color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, color of object region required display power consumption is greater than first and presets power consumption, first object color is arbitrary color in the color except the color of at least one color region, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 4, Fig. 4 is the process flow diagram of the embodiment of the present invention another economize on electricity disposal route disclosed.Wherein, this economize on electricity disposal route is applicable to the terminal such as mobile phone, panel computer.As shown in Figure 4, this economize on electricity disposal route can comprise the following steps.
S401, obtain the page to be shown.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
S402, identify the color of at least one color region in the page to be shown.
In the present embodiment, the page to be shown has at least one color region, after getting the page to be shown, identifies the color of at least one color region in the page to be shown.
S403, determine current display power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine current display power consumption needed for the page to be shown, wherein, step S402 and step S403 can executed in parallel, also can perform prior to S403 by S402, can also perform prior to S402 by S403, the present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially:
Obtain the region area of each color region at least one color region;
Current display power consumption needed for the page to be shown is determined according to region area of color region each at least one color region and the color of this color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, determine that the mode of current display power consumption needed for the page to be shown is specially according to region area of color region each at least one color region and the color of this color region:
Unit area display power consumption needed for the color obtaining each color region at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after getting the page to be shown, obtain the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, to obtain showing power consumption needed for this color region with the region area that unit area power consumption needed for the color of each color region is multiplied by this color region afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region afterwards.
S404, from least one color region, choose first object color region, the color of color region each in first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, make the required display of the page to be shown after replacement power consumption be less than this required current display power consumption, first object color region required display power consumption is greater than default power consumption.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, the first object color region that required display power consumption is greater than default power consumption is chosen from least one color region, think and to show the large percentage that first object color region required display power consumption that power consumption is greater than default power consumption occupies current display power consumption needed for the page to be shown at least one color region, afterwards the color of color region each in first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption.Because the region area of first object color region remains unchanged, and unit area display power consumption needed for the color reducing first object color region, therefore, reduce the display power consumption of display screen.When carrying out color replacement, select from all colours, therefore, after replacing it, at least one color region, the situation that the color of some color region is identical may be occurred.
In the present embodiment, first object color region required display power consumption can be greater than default power consumption, and in first object color region each color region color needed for unit area display power consumption can be greater than preset value.
In the present embodiment, the color of color region each in first object color region can be replaced with first object color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, and the contrast between first object color and the second color of object is greater than preset value, wherein, the second color of object is arbitrary color in the color of color region at least one color region except first object color region.
As a kind of possible embodiment, the mode color of color region each in first object color region being replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region is specially:
Color region in first object color region is carried out descending sort to obtain descending table according to region area;
All colours is carried out ascending order arrangement to obtain ascending order table according to unit area display power consumption needed for color;
The color of the color region being arranged in jth position in descending table is replaced with the color being arranged in jth position in ascending order table, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, j is the integer being greater than zero and being less than or equal to the region quantity of color region in first object color region.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, the first object color region that required display power consumption is greater than default power consumption is chosen from least one color region, think and to show the large percentage that first object color region required display power consumption that power consumption is greater than default power consumption occupies current display power consumption needed for the page to be shown at least one color region, afterwards the color of the color region being arranged in jth position in descending table is replaced with the color being arranged in jth position in ascending order table, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption.Because the region area of each color region remains unchanged, and unit area display power consumption needed for different colours is different, therefore, the color of color region maximum for region area can be replaced with the color that required unit area display power consumption is minimum, replacing successively, can dropping to minimum by showing power consumption needed for the page to be shown.Wherein, j is the integer being greater than zero and being less than or equal to the region quantity of color region in first object color region.Wherein, when the color of the color region being arranged in jth position in descending table is identical with the color being arranged in jth position in ascending order table, be that current color is constant by the color of this color region of maintenance; When the color of the color region being arranged in jth position in descending table is not identical with the color being arranged in jth position in ascending order table, the color of this color region is replaced with the color being arranged in jth position in ascending order table.
As a kind of possible embodiment, the color of the color region being arranged in jth position in descending table is replaced with the color being arranged in jth position in ascending order table, make after the required display of the page to be shown after replacement power consumption is less than this required current display power consumption, this economize on electricity disposal route can also comprise:
Judge that whether the color in the second color of object region in first object color region is identical with the color in the 3rd color of object region, second color of object region is arbitrary color region in first object color region, and the 3rd color of object region is arbitrary color region in the color region at least one color region except first object color region;
If identical, then judge whether the second color of object region and the 3rd color of object region are adjacent color region;
If adjacent color region, the color in the 3rd color of object region is replaced with the 3rd color of object, the 3rd color of object is arbitrary color in the color except the color of the color region adjacent with the 3rd color of object region.
In the present embodiment, after the color of first object color region is replaced, likely there is the situation that the color of two color regions is identical, if these two color regions are adjacent, user cannot distinguish this two color regions, therefore, the color of not carrying out the color region of color replacement in these two color regions be replaced with the arbitrary color in the color except the color of the color region adjacent with this color region, while reduction display power consumption, not affect Consumer's Experience.
In the economize on electricity disposal route described by Fig. 4, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, first object color region is chosen from least one color region, the color of color region each in first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 5, Fig. 5 is the structural drawing of a kind of terminal disclosed in the embodiment of the present invention.Wherein, this terminal can be mobile phone, panel computer etc.This terminal 500 can comprise:
Acquiring unit 501, for obtaining the page to be shown;
Recognition unit 502, for identifying the color of at least one color region in the page to be shown that acquiring unit 501 obtains;
Determining unit 503, for determining current display power consumption needed for the page to be shown that acquiring unit 502 obtains;
Adjustment unit 504, for adjusting the color in color of object region at least one color region that recognition unit 502 identifies, the required current display power consumption making the required display of the page to be shown after adjustment power consumption be less than determining unit 503 to determine.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, acquiring unit 501 will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
In the present embodiment, the page to be shown has at least one color region, and after acquiring unit 501 gets the page to be shown, recognition unit 502 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after getting the page to be shown, determining unit 503 will determine current display power consumption needed for the page to be shown.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, adjustment unit 504 can adjust the color in color of object region at least one color region, make to show needed for the page to be shown after adjustment current display power consumption needed for the page to be shown before power consumption is less than adjustment, thus the display power consumption of display screen can be reduced.Wherein, color of object region is part color region or whole color region at least one color region.
In the terminal described by Fig. 5, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, adjust the color in color of object region at least one color region, make the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 6, Fig. 6 is the structural drawing of another kind of terminal disclosed in the embodiment of the present invention.Wherein, this terminal can be mobile phone, panel computer etc.This terminal 600 can comprise:
First acquiring unit 601, for obtaining the page to be shown;
Recognition unit 602, for identifying the color of at least one color region in the page to be shown that the first acquiring unit 601 obtains;
First determining unit 603, for determining current display power consumption needed for the page to be shown that the first acquiring unit 602 obtains;
Adjustment unit 604, for adjusting the color in color of object region at least one color region that recognition unit 602 identifies, the required current display power consumption making the required display of the page to be shown after adjustment power consumption be less than the first determining unit 603 to determine.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, the first acquiring unit 601 will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
In the present embodiment, the page to be shown has at least one color region, and after the first acquiring unit 601 gets the page to be shown, recognition unit 602 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after the first acquiring unit 601 gets the page to be shown, the first determining unit 603 determines current display power consumption needed for the page to be shown.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, adjustment unit 604 can adjust the color in color of object region at least one color region, make to show needed for the page to be shown after adjustment current display power consumption needed for the page to be shown before power consumption is less than adjustment, thus the display power consumption of display screen can be reduced.Wherein, color of object region is part color region or whole color region at least one color region.
As a kind of possible embodiment, the first determining unit 603 can comprise:
Second acquisition unit 6031, for obtaining the region area of each color region in this at least one color region;
Second determining unit 6032, determines current display power consumption needed for the page to be shown for the region area of each color region at least one color region of obtaining according to second acquisition unit 6031 and the color of this color region.
In the present embodiment, after first acquiring unit 601 gets the page to be shown, second acquisition unit 6031 obtains the region area of each color region at least one color region in the page to be shown, and the second determining unit 6032 determines current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, the second determining unit 6032 specifically for:
Unit area display power consumption needed for the color obtaining each color region at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after first acquiring unit 601 gets the page to be shown, second acquisition unit 6031 obtains the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, the region area that unit area power consumption needed for the color of each color region is multiplied by this color region will obtain showing power consumption needed for this color region by the second determining unit 6032 afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
As a kind of possible embodiment, adjustment unit 604 can comprise:
First order unit 6041, for carrying out descending sort to obtain descending table by the color of this at least one color region according to unit area display power consumption needed for color;
Second order unit 6042, for carrying out ascending order arrangement to obtain ascending order table by this at least one color region according to region area;
Replacement unit 6043, color for being arranged in the color region of i-th in the ascending order table that obtained by second order unit 6042 replaces with in the descending table that first order unit 6041 obtains the color being arranged in i-th, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 603 to determine, wherein, i is the integer being greater than zero and being less than or equal to the region quantity of at least one color region.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, the color of at least one color region is carried out descending sort to obtain descending table according to unit area display power consumption needed for color by first order unit 6041, at least one color region is carried out ascending order arrangement to obtain ascending order table according to region area by second order unit 6042, the color of the color region being arranged in ascending order table i-th is replaced with the color being arranged in descending table i-th by replacement unit 6043 afterwards, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 603 to determine.Because the region area of each color region remains unchanged, and unit area display power consumption needed for different colours is different, therefore, the color of color region maximum for region area can be replaced with the color that required unit area display power consumption is minimum, replace successively, finally, the color of color region minimum for region area is replaced with the color that required unit area display power consumption is maximum, can when keeping the color category of at least one color region constant, drop to minimum by showing power consumption needed for the page to be shown.Wherein, i is the integer being greater than zero and being less than or equal to the region quantity of at least one color region.Wherein, when the color of the color region being arranged in ascending order table i-th is identical with the color being arranged in descending table i-th, be that current color is constant by the color of this color region of maintenance; When the color of the color region being arranged in ascending order table i-th is not identical with the color being arranged in descending table i-th, the color of this color region is replaced with the color being arranged in descending table i-th.
In the terminal described by Fig. 6, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, the color of at least one color region is carried out descending sort to obtain descending table according to unit area display power consumption needed for color, at least one color region is carried out ascending order arrangement to obtain ascending order table according to region area, and the color of the color region being arranged in i-th in ascending order table is replaced with in descending table the color being arranged in i-th, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 7, Fig. 7 is the structural drawing of the embodiment of the present invention another terminal disclosed.Wherein, this terminal can be mobile phone, panel computer etc.This terminal 700 can comprise:
First acquiring unit 701, for obtaining the page to be shown;
Recognition unit 702, for identifying the color of at least one color region in the page to be shown that the first acquiring unit 701 obtains;
First determining unit 703, for determining current display power consumption needed for the page to be shown that the first acquiring unit 702 obtains;
Adjustment unit 704, for adjusting the color of first object color region at least one color region that recognition unit 702 identifies, the required current display power consumption making the required display of the page to be shown after adjustment power consumption be less than the first determining unit 703 to determine.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, the first acquiring unit 701 will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
In the present embodiment, the page to be shown has at least one color region, and after the first acquiring unit 701 gets the page to be shown, recognition unit 702 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after the first acquiring unit 701 gets the page to be shown, the first determining unit 703 determines current display power consumption needed for the page to be shown.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, adjustment unit 704 can adjust the color in color of object region at least one color region, make to show needed for the page to be shown after adjustment current display power consumption needed for the page to be shown before power consumption is less than adjustment, thus the display power consumption of display screen can be reduced.Wherein, color of object region is part color region or whole color region at least one color region.
As a kind of possible embodiment, the first determining unit 703 can comprise:
Second acquisition unit 7031, for obtaining the region area of each color region in this at least one color region;
Second determining unit 7032, determines current display power consumption needed for the page to be shown for the region area of each color region at least one color region of obtaining according to second acquisition unit 7031 and the color of this color region.
In the present embodiment, after first acquiring unit 701 gets the page to be shown, second acquisition unit 7031 obtains the region area of each color region at least one color region in the page to be shown, and the second determining unit 7032 determines current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, the second determining unit 7032 specifically for:
Unit area display power consumption needed for the color obtaining each color region in this at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region shows power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after first acquiring unit 701 gets the page to be shown, second acquisition unit 7031 obtains the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, the region area that unit area power consumption needed for the color of each color region is multiplied by this color region will obtain showing power consumption needed for this color region by the second determining unit 7032 afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
As a kind of possible embodiment, adjustment unit 704 can comprise:
Choose unit 7041, for choosing color of object region from this at least one color region, color of object region required display power consumption is greater than first and presets power consumption;
Replacement unit 7042, the first object color of unit area display power consumption needed for the color being less than this color region for the color choosing each color region in color of object region that unit 7041 chooses being replaced with required unit area display power consumption, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 703 to determine, first object color is arbitrary color in the color except the color of at least one color region.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, choose unit 7041 from least one color region, choose the required color of object region showing power consumption and be greater than the first default power consumption, think that showing power consumption at least one color region is greater than the large percentage that the first color of object region required display power consumption presetting power consumption occupies current display power consumption needed for the page to be shown, choose arbitrary color of unit area display power consumption needed for color that required unit area display power consumption in the color that the color of color region each in color of object region replaces with except the color of at least one color region by unit 7041 is less than this color region afterwards, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 703 to determine.Because the region area in color of object region remains unchanged, and unit area display power consumption needed for the color reducing color of object region, therefore, reduce the display power consumption of display screen.When carrying out color replacement, be select from the color outside at least one color region, therefore, after having replaced, at least one color region, the color of each color region is not identical.
As a kind of possible embodiment, color of object region required display power consumption is greater than first and presets power consumption, and in first object color region each color region color needed for unit area display power consumption be greater than second and preset power consumption.
In the present embodiment, color region required display power consumption be multiplied by color region by the region area of color region color needed for unit area show power consumption and obtain, therefore, color region required display power consumption be greater than first preset power consumption may be due to the region area of color region comparatively large caused by, also may be unit area display power consumption needed for the color due to color region comparatively large caused by, and the region area of color region remains unchanged, therefore, can reduce needed for color region and show power consumption by adjusting the color of color region.Show power consumption needed for the color region to be greater than first and to preset power consumption, and when needed for the color of color region, unit area display power consumption is greater than the second default display power consumption, by think this color region this color region of Color pair needed for show the impact of power consumption larger, the color of color region each in these color regions to be replaced with in the color except the color of at least one color region arbitrary color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region by replacement unit 7042, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 703 to determine.
As a kind of possible embodiment, first object color is arbitrary color in the color except the color of at least one color region, and the contrast between first object color and the second color of object is greater than the first preset value, wherein, the second color of object is arbitrary color in the color of color region at least one color region except color of object region.
In the present embodiment, due to the contrast between two kinds of colors be less than or equal to preset value time, user is difficult to distinguish this two kinds of colors by eyes, therefore, different colors is differentiated by eyes in order to enable user, the replacement color selected will be greater than preset value with original contrast of the color of replacing that do not need in the page to be shown, and wants the contrast between the replacement color that substituted for also to be greater than preset value.
In the terminal described by Fig. 7, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, color of object region is chosen from least one color region, the color of color region each in color of object region is replaced with the first object color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, color of object region required display power consumption is greater than first and presets power consumption, first object color is arbitrary color in the color except the color of at least one color region, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 8, Fig. 8 is the structural drawing of the embodiment of the present invention another terminal disclosed.Wherein, this terminal can be mobile phone, panel computer etc.This terminal 800 can comprise:
First acquiring unit 801, for obtaining the page to be shown;
Recognition unit 802, for identifying the color of at least one color region in the page to be shown that the first acquiring unit 801 obtains;
First determining unit 803, for determining current display power consumption needed for the page to be shown that the first acquiring unit 802 obtains;
Adjustment unit 804, for adjusting the color of first object color region at least one color region that recognition unit 802 identifies, the required current display power consumption making the required display of the page to be shown after adjustment power consumption be less than the first determining unit 803 to determine.
In the present embodiment, in advance terminal can be provided with display power saving function, when user needs the display power consumption reducing terminal display screen, user can start the enabled instruction of display power saving function by clicking the predeterminable area in display screen, the preset icon in display screen or programmable button input, after terminal detects the enabled instruction starting display power saving function, by startup display power saving function, afterwards when terminal display screen is in running order, the first acquiring unit 801 will obtain the page to be shown.Wherein, the page to be shown is the page that terminal will show on a display screen.
In the present embodiment, the page to be shown has at least one color region, and after the first acquiring unit 801 gets the page to be shown, recognition unit 802 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after the first acquiring unit 801 gets the page to be shown, the first determining unit 803 determines current display power consumption needed for the page to be shown.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, adjustment unit 804 can adjust the color in color of object region at least one color region, make to show needed for the page to be shown after adjustment current display power consumption needed for the page to be shown before power consumption is less than adjustment, thus the display power consumption of display screen can be reduced.Wherein, color of object region is part color region or whole color region at least one color region.
As a kind of possible embodiment, the first determining unit 803 can comprise:
Second acquisition unit 8031, for obtaining the region area of each color region in this at least one color region;
Second determining unit 8032, determines current display power consumption needed for the page to be shown for the region area of each color region at least one color region of obtaining according to second acquisition unit 8031 and the color of this color region.
In the present embodiment, after first acquiring unit 801 gets the page to be shown, second acquisition unit 8031 obtains the region area of each color region at least one color region in the page to be shown, and the second determining unit 8032 determines current display power consumption needed for the page to be shown according to region area of color region each at least one color region and the color of this color region afterwards.
As a kind of possible embodiment, the second determining unit 8032 specifically for:
Unit area display power consumption needed for the color obtaining each color region in this at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
In the present embodiment, after first acquiring unit 801 gets the page to be shown, second acquisition unit 8031 obtains the region area of each color region at least one color region in the page to be shown, and unit area display power consumption needed for the color obtaining each color region at least one color region, the region area that unit area power consumption needed for the color of each color region is multiplied by this color region will obtain showing power consumption needed for this color region by the second determining unit 8032 afterwards, and be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
As a kind of possible embodiment, adjustment unit 804 can comprise:
Choose unit 8041, for choosing first object color region from this at least one color region, first object color region required display power consumption is greater than the 3rd and presets power consumption;
First replacement unit 8042, arbitrary color in the color of unit area display power consumption needed for the color being less than this color region for the color choosing each color region in the first color region that unit 8041 chooses being replaced with required unit area display power consumption, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 803 to determine.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, choose unit 8041 from least one color region, choose the required first object color region showing power consumption and be greater than default power consumption, think and to show the large percentage that first object color region required display power consumption that power consumption is greater than default power consumption occupies current display power consumption needed for the page to be shown at least one color region, the color of color region each in first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region by the first replacement unit 8042 afterwards, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 803 to determine.Because the region area of first object color region remains unchanged, and unit area display power consumption needed for the color reducing first object color region, therefore, reduce the display power consumption of display screen.When carrying out color replacement, select from all colours, therefore, after replacing it, at least one color region, the situation that the color of some color region is identical may be occurred.
As a kind of possible embodiment, the first replacement unit 8042 specifically for:
Color region in first object color region is carried out descending sort to obtain descending table according to region area;
All colours is carried out ascending order arrangement to obtain ascending order table according to unit area display power consumption needed for color;
The color of the color region being arranged in jth position in descending table is replaced with the color being arranged in jth position in ascending order table, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 803 to determine, wherein, j is the integer being greater than zero and being less than or equal to the region quantity of color region in first object color region.
In the present embodiment, after obtaining the color of current display power consumption needed for the page to be shown and at least one color region, choose unit 8041 from least one color region, choose the required first object color region showing power consumption and be greater than default power consumption, think and to show the large percentage that first object color region required display power consumption that power consumption is greater than default power consumption occupies current display power consumption needed for the page to be shown at least one color region, the color of the color region being arranged in jth position in descending table is replaced with the color being arranged in jth position in ascending order table by the first replacement unit 8042 afterwards, the required current display power consumption making the required display of the page to be shown after replacement power consumption be less than the first determining unit 803 to determine.Because the region area of each color region remains unchanged, and unit area display power consumption needed for different colours is different, therefore, the color of color region maximum for region area can be replaced with the color that required unit area display power consumption is minimum, replacing successively, can dropping to minimum by showing power consumption needed for the page to be shown.Wherein, j is the integer being greater than zero and being less than or equal to the region quantity of color region in first object color region.Wherein, when the color of the color region being arranged in jth position in descending table is identical with the color being arranged in jth position in ascending order table, be that current color is constant by the color of this color region of maintenance; When the color of the color region being arranged in jth position in descending table is not identical with the color being arranged in jth position in ascending order table, the color of this color region is replaced with the color being arranged in jth position in ascending order table.
As a kind of possible embodiment, the color being arranged in the color region of jth position in second descending table is replaced with the color being arranged in jth position in the second ascending order table by the first replacement unit 8042, after the page to be shown after replacement required display power consumption is less than required current display power consumption that the first determining unit 803 determines, adjustment unit 804 can also comprise:
First judging unit 8043, whether identical with the color in the 3rd color of object region for judging the color in the second color of object region in first object color region, second color of object region is arbitrary color region in first object color region, and the 3rd color of object region is arbitrary color region in the color region at least one color region except first object color region;
Second judging unit 8044, for when the judged result of the first judging unit 8043 is for being, judges whether the second color of object region and the 3rd color of object region are adjacent color region;
Second replacement unit 8045, for when the judged result of the second judging unit 8044 is for being, the color in the 3rd color of object region is replaced with the 3rd color of object, and the 3rd color of object is arbitrary color in the color except the color of the color region adjacent with the 3rd color of object region.
In the present embodiment, after the color of first object color region is replaced, likely there is the situation that the color of two color regions is identical, if these two color regions are adjacent, user cannot distinguish this two color regions, therefore, the color of not carrying out the color region of color replacement in these two color regions be replaced with the arbitrary color in the color except the color of the color region adjacent with this color region, while reduction display power consumption, not affect Consumer's Experience.
In the terminal described by Fig. 8, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, first object color region is chosen from least one color region, the color of color region each in first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
Refer to Fig. 9, Fig. 9 is the structural drawing of the embodiment of the present invention another terminal disclosed.Wherein, this terminal can be mobile phone, panel computer etc.As shown in Figure 9, this communication apparatus 900 can comprise: at least one processor 901, as CPU, and storer 902 and at least one communication bus 903.Storer 902 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Alternatively, storer 902 can also be that at least one is positioned at the memory storage away from aforementioned processor 1101.Wherein:
Storer 902, for storing batch processing code;
Communication bus 903, for realizing the connection communication between these assemblies;
Processor 901 performs following operation for calling the program code stored in storer 902:
Obtain the page to be shown;
Identify the color of at least one color region in the page to be shown;
Determine current display power consumption needed for the page to be shown;
Adjust the color of first object color region in this at least one color region, make the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption.
As a kind of possible embodiment, processor 901 determines that the mode of current display power consumption needed for the page to be shown is specially:
Obtain the region area of each color region in this at least one color region;
Current display power consumption needed for the page to be shown is determined according to the region area of each color region in this at least one color region and the color of this color region.
As a kind of possible embodiment, according to the region area of each color region in this at least one color region and the color of this color region, processor 901 determines that the mode of current display power consumption needed for the page to be shown is specially:
Unit area display power consumption needed for the color obtaining each color region in this at least one color region;
The region area that unit area display power consumption needed for the color of each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the page to be shown by showing power consumption needed for each color region.
As a kind of possible embodiment, processor 901 adjusts the color of first object color region in this at least one color region, and the mode making the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption is specially:
The color of this at least one color region is carried out descending sort to obtain the first descending table according to unit area display power consumption needed for color;
This at least one color region is carried out ascending order arrangement to obtain the first ascending order table according to region area;
The color being arranged in the color region of i-th in first ascending order table is replaced with in the first descending table the color being arranged in i-th, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, i is the integer being greater than zero and being less than or equal to the region quantity of at least one color region.
As a kind of possible embodiment, processor 901 adjusts the color of first object color region in this at least one color region, and the mode making the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption is specially:
From this at least one color region, choose first object color region, first object color region required display power consumption is greater than first and presets power consumption;
The color of color region each in first object color region is replaced with the first object color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, make the required display of the page to be shown after replacement power consumption be less than this required current display power consumption, first object color is arbitrary color in the color except the color of this at least one color region.
As a kind of possible embodiment, first object color region required display power consumption is greater than first and presets power consumption, and in first object color region each color region color needed for unit area display power consumption be greater than second and preset power consumption.
As a kind of possible embodiment, first object color is arbitrary color in the color except the color of at least one color region, and the contrast between first object color and the second color of object is greater than preset value, wherein, the second color of object is arbitrary color in the color of color region at least one color region except first object color region.
As a kind of possible embodiment, processor 901 adjusts the color of first object color region at least one color region, and the mode making the required display of the page to be shown after adjustment power consumption be less than required current display power consumption is specially:
From this at least one color region, choose first object color region, first object color region required display power consumption is greater than the 3rd and presets power consumption;
The color of color region each in first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, make the required display of the page to be shown after replacement power consumption be less than this required current display power consumption.
As a kind of possible embodiment, the color of color region each in first object color region is replaced with the mode of arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region by processor 901, makes the required display of the page to be shown after replacement power consumption be less than this required current display power consumption and is specially:
Color region in first object color region is carried out descending sort to obtain the second descending table according to region area;
All colours is carried out ascending order arrangement to obtain the second ascending order table according to unit area display power consumption needed for color;
The color being arranged in the color region of jth position in second descending table is replaced with the color being arranged in jth position in the second ascending order table, the required display of the page to be shown after replacement power consumption is made to be less than this required current display power consumption, wherein, j be greater than zero and be less than or equal to the region quantity of color region in first object color region integer.
As a kind of possible embodiment, the color being arranged in the color region of jth position in second descending table is replaced with the color being arranged in jth position in the second ascending order table by processor 901, make after the required display of the page to be shown after replacement power consumption is less than this required current display power consumption, processor 901 also performs following operation for calling the program code stored in storer 902:
Judge that whether the color in the second color of object region in first object color region is identical with the color in the 3rd color of object region, second color of object region is arbitrary color region in first object color region, and the 3rd color of object region is arbitrary color region in the color region at least one color region except first object color region;
If identical, then judge whether the second color of object region and the 3rd color of object region are adjacent color region;
If adjacent color region, the color in the 3rd color of object region is replaced with the 3rd color of object, the 3rd color of object is arbitrary color in the color except the color of the color region adjacent with the 3rd color of object region.
In the terminal described by Fig. 9, obtain the page to be shown, identify the color of at least one color region in the page to be shown, determine current display power consumption needed for the page to be shown, adjust the color of first object color region at least one color region, make the required display of the page to be shown after adjustment power consumption be less than this required current display power consumption, therefore, terminal display screen display power consumption can be reduced, to extend terminal standby time.
The sequence of steps of the method for the embodiment of the present invention can carry out adjusting, merge or deleting according to actual needs.The unit of the terminal of the embodiment of the present invention can carry out integrating according to actual needs, Further Division or delete.
The unit of the embodiment of the present invention, with universal integrated circuit (as central processor CPU), or can realize with special IC (ASIC).
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in one and determine in machine readable storage medium storing program for executing, storage medium can comprise: flash disk, ROM (read-only memory) (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above economize on electricity disclosed in the embodiment of the present invention disposal route and terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an economize on electricity disposal route, is characterized in that, comprising:
Obtain the page to be shown;
Identify the color of at least one color region in the described page to be shown;
Determine current display power consumption needed for the described page to be shown;
The color of first object color region in adjustment at least one color region described, makes the required display of the page to be shown after adjustment power consumption be less than described required current display power consumption.
2. method according to claim 1, is characterized in that, describedly determines that needed for the described page to be shown, current display power consumption comprises:
Obtain the region area of each color region at least one color region described;
Current display power consumption needed for the described page to be shown is determined according to the region area of each color region at least one color region described and the color of this color region.
3. method according to claim 2, is characterized in that, at least one color region described in described basis, the region area of each color region and the color of this color region determine that needed for the described page to be shown, current display power consumption comprises:
Unit area display power consumption needed for the color obtaining each color region at least one color region described;
The region area that unit area display power consumption needed for the color of described each color region is multiplied by this color region is shown power consumption to obtain needed for this color region;
Be added obtain current display power consumption needed for the described page to be shown by showing power consumption needed for described each color region.
4. method according to claim 3, is characterized in that, the color of first object color region at least one color region described in described adjustment, makes the required display of the page to be shown after adjustment power consumption be less than described required current display power consumption and comprises:
The color of at least one color region described is carried out descending sort to obtain the first descending table according to unit area display power consumption needed for color;
At least one color region described is carried out ascending order arrangement to obtain the first ascending order table according to region area;
The color being arranged in the color region of i-th in described first ascending order table is replaced with in described first descending table the color being arranged in i-th, the required display of the page to be shown after replacement power consumption is made to be less than described required current display power consumption, wherein, described i is the integer being greater than zero and being less than or equal to the region quantity of at least one color region described.
5. method according to claim 3, is characterized in that, the color of first object color region at least one color region described in described adjustment, makes the required display of the page to be shown after adjustment power consumption be less than described required current display power consumption and comprises:
From at least one color region described, choose first object color region, described first object color region required display power consumption is greater than first and presets power consumption;
The color of each color region in described first object color region is replaced with the first object color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, make the required display of the page to be shown after replacement power consumption be less than described required current display power consumption, described first object color is arbitrary color in the color except the color of at least one color region described.
6. method according to claim 5, it is characterized in that, described first object color region required display power consumption is greater than first and presets power consumption, and in described first object color region each color region color needed for unit area display power consumption be greater than second and preset power consumption.
7. the method according to claim 5 or 6, it is characterized in that, described first object color is arbitrary color in the color except the color of at least one color region described, and the contrast between described first object color and the second color of object is greater than preset value, wherein, described second color of object is arbitrary color in the color of color region at least one color region described except described first object color region.
8. method according to claim 3, is characterized in that, the color of first object color region at least one color region described in described adjustment, makes the required display of the page to be shown after adjustment power consumption be less than described required current display power consumption and comprises:
From at least one color region described, choose first object color region, described first object color region required display power consumption is greater than the 3rd and presets power consumption;
The color of each color region in described first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, make the required display of the page to be shown after replacement power consumption be less than described required current display power consumption.
9. method according to claim 8, it is characterized in that, describedly the color of each color region in described first object color region is replaced with arbitrary color in the color of unit area display power consumption needed for color that required unit area display power consumption is less than this color region, makes the required display of the page to be shown after replacement power consumption be less than described required current display power consumption and comprise:
Color region in described first object color region is carried out descending sort to obtain the second descending table according to region area;
All colours is carried out ascending order arrangement to obtain the second ascending order table according to unit area display power consumption needed for color;
The color being arranged in the color region of jth position in described second descending table is replaced with the color being arranged in jth position in described second ascending order table, the required display of the page to be shown after replacement power consumption is made to be less than described required current display power consumption, wherein, described j is the integer being greater than zero and being less than or equal to the region quantity of color region in described first object color region.
10. method according to claim 9, it is characterized in that, described the color being arranged in the color region of jth position in described second descending table is replaced with the color being arranged in jth position in described second ascending order table, make after the required display of the page to be shown after replacement power consumption is less than described required current display power consumption, described method also comprises:
Judge that whether the color in the second color of object region in described first object color region is identical with the color in the 3rd color of object region, described second color of object region is arbitrary color region in described first object color region, and described 3rd color of object region is arbitrary color region in the color region at least one color region described except described first object color region;
If identical, then judge whether described second color of object region and described 3rd color of object region are adjacent color region;
If adjacent color region, the color in described 3rd color of object region is replaced with the 3rd color of object, described 3rd color of object is arbitrary color in the color except the color of the color region adjacent with described 3rd color of object region.
CN201510088775.3A 2015-02-26 2015-02-26 One kind economize on electricity processing method Expired - Fee Related CN104699221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510088775.3A CN104699221B (en) 2015-02-26 2015-02-26 One kind economize on electricity processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510088775.3A CN104699221B (en) 2015-02-26 2015-02-26 One kind economize on electricity processing method

Publications (2)

Publication Number Publication Date
CN104699221A true CN104699221A (en) 2015-06-10
CN104699221B CN104699221B (en) 2018-04-27

Family

ID=53346438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510088775.3A Expired - Fee Related CN104699221B (en) 2015-02-26 2015-02-26 One kind economize on electricity processing method

Country Status (1)

Country Link
CN (1) CN104699221B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107112A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Method of adjusting display interface of display screen, user interface, device, electronic apparatus and storage medium
CN111767102A (en) * 2020-03-25 2020-10-13 北京沃东天骏信息技术有限公司 Application program display method, information processing method and device and electronic equipment
CN111788820A (en) * 2018-02-22 2020-10-16 三星电子株式会社 Method for adaptively controlling low power display mode and electronic device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200907922A (en) * 2007-08-15 2009-02-16 Au Optronics Corp A driving method for reducing power consumption of a flat display
US20100277648A1 (en) * 2005-05-04 2010-11-04 Plut William J White-based power savings
US20110102473A1 (en) * 2009-10-29 2011-05-05 Chunghwa Picture Tubes, Ltd. Color sequential display apparatus and driving method thereof
CN102867484A (en) * 2011-07-07 2013-01-09 中兴通讯股份有限公司 Display control method and system
CN103914124A (en) * 2014-04-04 2014-07-09 浙江工商大学 Energy-saving color mapping method aiming at three-dimensional scenes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100277648A1 (en) * 2005-05-04 2010-11-04 Plut William J White-based power savings
TW200907922A (en) * 2007-08-15 2009-02-16 Au Optronics Corp A driving method for reducing power consumption of a flat display
US20110102473A1 (en) * 2009-10-29 2011-05-05 Chunghwa Picture Tubes, Ltd. Color sequential display apparatus and driving method thereof
CN102867484A (en) * 2011-07-07 2013-01-09 中兴通讯股份有限公司 Display control method and system
CN103914124A (en) * 2014-04-04 2014-07-09 浙江工商大学 Energy-saving color mapping method aiming at three-dimensional scenes

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107112A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Method of adjusting display interface of display screen, user interface, device, electronic apparatus and storage medium
CN107111469A (en) * 2015-12-23 2017-08-29 华为技术有限公司 A kind of method, user interface, device, electronic equipment and storage medium for adjusting display screen display interface
CN107111469B (en) * 2015-12-23 2020-01-21 华为技术有限公司 Method for adjusting display interface of display screen, user interface, device, electronic equipment and storage medium
US11036272B2 (en) 2015-12-23 2021-06-15 Huawei Technologies Co., Ltd. Method and apparatus for adjusting display interface of screen, user interface, electronic device, and storage medium
CN111788820A (en) * 2018-02-22 2020-10-16 三星电子株式会社 Method for adaptively controlling low power display mode and electronic device thereof
US11158230B2 (en) 2018-02-22 2021-10-26 Samsung Electronics Co., Ltd Method for adaptively controlling low power display mode and electronic device thereof
CN111788820B (en) * 2018-02-22 2022-06-14 三星电子株式会社 Method for adaptively controlling low power display mode and electronic device thereof
CN111767102A (en) * 2020-03-25 2020-10-13 北京沃东天骏信息技术有限公司 Application program display method, information processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN104699221B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
US8471524B2 (en) Battery charging device and method for controlling charging thereof
CN102369647A (en) Power supply managment method and device of mobile terminal
CN104618588A (en) Method for regulating terminal screen brightness
US20160357616A1 (en) Application management method and application management apparatus
EP2881838A1 (en) Adjustment method and boot method for power-off threshold voltage and electronic device thereof
CN106250092B (en) A kind of terminal screen switching method and device
CN104657188A (en) Startup control method and device and electronic equipment
CN103838353A (en) Method and terminal for controlling processor operation
CN104699221A (en) Power-saving processing method
CN106251831A (en) A kind of screen display lightness regulating method based on ambient light and system
CN104808991A (en) Terminal processing method
CN104571338A (en) Theme replacement method, circuit and device
CN107402804A (en) Background process management-control method, device, storage medium and electronic equipment
CN112328070A (en) Charging control method, charging control device and electronic equipment
CN112134337A (en) Power adapter, terminal device, electronic device and charging control method thereof
CN105744034A (en) Screen brightness output method and device
CN103543901A (en) Method and device for generating menus
CN104699222A (en) Terminal
CN105426192A (en) Information modification method and terminal
CN102681450B (en) Method and equipment for controlling chip
CN106060905A (en) Method and apparatus for improving radio frequency power consumption of mobile terminal
CN104765599A (en) Terminal
CN113241835A (en) Charging module, electronic equipment and charging control method
CN105824631A (en) Control method of application program and terminal
CN106547333A (en) Mobile terminal and its method of work

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180427

Termination date: 20200226

CF01 Termination of patent right due to non-payment of annual fee