CN104699222B - A kind of terminal - Google Patents

A kind of terminal Download PDF

Info

Publication number
CN104699222B
CN104699222B CN201510088947.7A CN201510088947A CN104699222B CN 104699222 B CN104699222 B CN 104699222B CN 201510088947 A CN201510088947 A CN 201510088947A CN 104699222 B CN104699222 B CN 104699222B
Authority
CN
China
Prior art keywords
color
region
power consumption
needed
color region
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.)
Expired - Fee Related
Application number
CN201510088947.7A
Other languages
Chinese (zh)
Other versions
CN104699222A (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 CN201510088947.7A priority Critical patent/CN104699222B/en
Publication of CN104699222A publication Critical patent/CN104699222A/en
Application granted granted Critical
Publication of CN104699222B publication Critical patent/CN104699222B/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 kind of terminal, the terminal includes:First acquisition unit, for obtaining the page to be shown;Recognition unit, for identify first acquisition unit obtain the page to be shown at least one color region color;First determining unit, current display power consumption needed for the page to be shown obtained for determining acquiring unit;Adjustment unit, the color of first object color region, makes display power consumption needed for the page to be shown after adjustment be less than the required current display power consumption that the first determining unit determines at least one color region for adjusting recognition unit identification.Implement the embodiment of the present invention, terminal display screen can be reduced and show power consumption, to extend terminal standby time.

Description

A kind of terminal
Technical field
The present invention relates to electronic technology field, and in particular to a kind of terminal.
Background technology
With the continuous development of electronic technology, the terminal display screen such as mobile phone, tablet personal computer is increasing.As terminal is shown The continuous change of screen is big, and terminal display screen shows that power consumption has turned into the important component in power consumption of terminal.Due to end cell electricity Measure it is limited, terminal display screen show power consumption increase will shorten terminal standby time.
The content of the invention
The embodiment of the present invention discloses a kind of terminal, power consumption is shown for reducing terminal display screen, during extending terminal standby Between.
The embodiment of the present invention discloses a kind of terminal, including:
First acquisition unit, for obtaining the page to be shown;
Recognition unit, at least one color region in the page to be shown obtained for identifying the first acquisition unit Color;
First determining unit, current display power consumption needed for the page to be shown obtained for determining the acquiring unit;
Adjustment unit, first object color region at least one color region for adjusting recognition unit identification Color, display power consumption needed for the page to be shown after adjustment is less than the required current display that first determining unit determines Power consumption.
In the embodiment of the present invention, first acquisition unit obtains the page to be shown, and recognition unit identification first acquisition unit obtains The color of at least one color region in the page to be shown taken, the first determining unit determine the page to be shown that acquiring unit obtains Currently display power consumption, adjustment unit adjust first object chromatic zones at least one color region that recognition unit identifies needed for face The color in domain, display power consumption needed for the page to be shown after adjustment is set to be less than the required current display work(that the first determining unit determines Consumption, therefore, terminal display screen can be reduced and show power consumption, to extend terminal standby time.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart for processing method of economizing on electricity disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of another economize on electricity processing method disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of another disclosed economize on electricity processing method of the embodiment of the present invention;
Fig. 4 is the flow chart of another disclosed economize on electricity processing method of the embodiment of the present invention;
Fig. 5 is a kind of structure chart of terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structure chart of another terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structure chart of another terminal disclosed in the embodiment of the present invention;
Fig. 8 is the structure chart of another terminal disclosed in the embodiment of the present invention;
Fig. 9 is the structure chart of another terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
The embodiment of the present invention discloses a kind of economize on electricity processing method and terminal, and power consumption is shown for reducing terminal display screen, with Extend terminal standby time.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of flow chart for processing method of economizing on electricity disclosed in the embodiment of the present invention.Wherein, the economize on electricity Processing method is applied to the terminals such as mobile phone, tablet personal computer.As shown in figure 1, the economize on electricity processing method may comprise steps of.
S101, obtain the page to be shown.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, wait to show It is the page that terminal will be shown on a display screen to show the page.
The color of at least one color region in S102, the identification 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 and waits to show Show the color of at least one color region in the page.
S103, determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine currently to show power consumption needed for the page to be shown, wherein, Step S102 and step S103 can be performed parallel, can also S102 prior to S103 perform, can with S103 prior to S102 perform, The present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain the region area of each color region at least one color region;
Determine to treat according to the color of the region area of each color region at least one color region and the color region Show current display power consumption needed for the page.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, afterwards according to the region area of each color region at least one color region and the color The color in region determines currently to show power consumption needed for the page to be shown.
As a kind of possible embodiment, according to the region area of each color region at least one color region and The color of the color region determines that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, and obtain unit area needed for the color of each color region at least one color region and show Show power consumption, the unit area power consumption needed for the color of each color region is multiplied by the region area of the color region and will obtained afterwards Display power consumption, will show that power consumption is added to obtain needed for the page to be shown and works as afterwards needed for the color region needed for each color region Preceding display power consumption.
S104, the color for adjusting color of object region at least one color region, make the page to be shown after adjustment Required display power consumption is less than the required current display power consumption.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, the color in color of object region at least one color region can be adjusted, makes 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, so as to reduce the display power consumption of display screen.Wherein, Color of object region is part color region or whole color regions at least one color region.
In the economize on electricity processing method described by Fig. 1, the page to be shown is obtained, identifies at least one face in the page to be shown The color in color region, determine currently to show power consumption needed for the page to be shown, adjust color of object area at least one color region The color in domain, display power consumption needed for the page to be shown after adjustment is less than the required current display power consumption, therefore, can reduce Terminal display screen shows power consumption, to extend terminal standby time.
Referring to Fig. 2, Fig. 2 is the flow chart of another economize on electricity processing method disclosed in the embodiment of the present invention.Wherein, the section Electric treatment method is applied to the terminals such as mobile phone, tablet personal computer.As shown in Fig. 2 the economize on electricity processing method may comprise steps of.
S201, obtain the page to be shown.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, wait to show It is the page that terminal will be shown on a display screen to show the page.
The color of at least one color region in S202, the identification 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 and waits to show Show the color of at least one color region in the page.
S203, determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine currently to show power consumption needed for the page to be shown, wherein, Step S202 and step S203 can be performed parallel, can also S202 prior to S203 perform, can with S203 prior to S202 perform, The present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain the region area of each color region at least one color region;
Determine to treat according to the color of the region area of each color region at least one color region and the color region Show current display power consumption needed for the page.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, afterwards according to the region area of each color region at least one color region and the color The color in region determines currently to show power consumption needed for the page to be shown.
As a kind of possible embodiment, according to the region area of each color region at least one color region and The color of the color region determines that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, and obtain unit area needed for the color of each color region at least one color region and show Show power consumption, the unit area power consumption needed for the color of each color region is multiplied by the region area of the color region and will obtained afterwards Display power consumption, will show that power consumption is added to obtain needed for the page to be shown and works as afterwards needed for the color region needed for each color region Preceding display power consumption.
S204, by the color of at least one color region according to needed for color unit area show power consumption carry out descending arrangement To obtain descending table, at least one color region is subjected to ascending order arrangement to obtain ascending order table according to region area, and by ascending order The color that the color region of i-th bit is arranged in table replaces with the color that i-th bit is arranged in descending table, makes to wait to show after replacement Show that display power consumption needed for the page is less than the required current display power consumption, wherein, i is more than zero and is less than or equal at least one face The integer of the region quantity in color region.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, the color of at least one color region is shown that power consumption carries out descending arrangement to obtain descending according to unit area needed for color Table, and at least one color region is subjected to ascending order arrangement to obtain ascending order table according to region area, ascending order will be arranged in afterwards The color of the color region of i-th bit replaces with the color for being arranged in i-th bit in descending table in table, makes the page to be shown after replacement Required display power consumption is less than the required current display power consumption.Because the region area of each color region keeps constant, and it is different Unit area needed for color shows that power consumption is different, therefore, the color of the maximum color region of region area can be replaced with into institute Need unit area to show the minimum color of power consumption, be replaced successively, finally, by the color of the minimum color region of region area Unit area needed for replacing with shows the maximum color of power consumption, the color category of at least one color region can kept constant In the case of, it will show that power consumption is minimized needed for the page to be shown.Wherein, i is more than zero and less than or equal at least one The integer of the region quantity of color region.Wherein, when being arranged in ascending order table the color of the color region of i-th bit and be arranged in drop It is when the color of i-th bit is identical in sequence table, the color for keeping the color region is constant for current color;When being arranged in ascending order table When the color of the color region of i-th bit differs with being arranged in the color of i-th bit in descending table, the color of the color region is replaced It is changed to the color for being arranged in i-th bit in descending table.
Illustrate, it is assumed that have four color regions A, B, C and D in the page to be shown, the region area of A color regions is A1, the region area of color A2, B color region are B1, the region area of color B2, C color region is C1, color is The region area of C2, D color region is D1, color D2, and the region area of this four color regions is A1 < C1 < D1 < B1, Unit area needed for the color of this four color regions shows that power consumption is B2 > A2 > C2 > D2, therefore, region area is maximum B color regions color B2 replace with needed for unit area show the minimum color D2 of power consumption, by the color D2 of D color regions Color C2 is replaced with, the color C2 of C color regions is replaced with into color A2, by the color of the minimum A color regions of region area A2 replaces with required unit area and shows the maximum color B2 of power consumption, and currently display power consumption is needed for the page to be shown before adjustment A1*A2+B1*B2+C1*C2+D1*D2, display power consumption is B1*D2+D1*C2+C1*A2+A1* needed for the page to be shown after adjustment B2.When A1 is 4, C1 5, D1 6, B1 7, B2 8, A2 6, C2 5, D2 are 4, A1*A2+B1*B2+C1*C2+D1* D2=129, B1*D2+D1*C2+C1*A2+A1*B2=120, it is seen that display lower power consumption needed for the page to be shown after adjustment.
In the economize on electricity processing method described by Fig. 2, the page to be shown is obtained, identifies at least one face in the page to be shown The color in color region, determine currently to show power consumption needed for the page to be shown, by the color of at least one color region according to color Required unit area shows that power consumption carries out descending arrangement to obtain descending table, and at least one color region is entered according to region area Row ascending order is arranged to obtain ascending order table, and the color for the color region that i-th bit is arranged in ascending order table is replaced with descending table The color of i-th bit is arranged in, display power consumption needed for the page to be shown after replacement is less than the required current display power consumption, can be with Reduce terminal display screen and show power consumption, to extend terminal standby time.
Referring to Fig. 3, Fig. 3 is the flow chart of another disclosed economize on electricity processing method of the embodiment of the present invention.Wherein, the section Electric treatment method is applied to the terminals such as mobile phone, tablet personal computer.As shown in figure 3, the economize on electricity processing method may comprise steps of.
S301, obtain the page to be shown.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, wait to show It is the page that terminal will be shown on a display screen to show the page.
The color of at least one color region in S302, the identification 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 and waits to show Show the color of at least one color region in the page.
S303, determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine currently to show power consumption needed for the page to be shown, wherein, Step S302 and step S303 can be performed parallel, can also S302 prior to S303 perform, can with S303 prior to S302 perform, The present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain the region area of each color region at least one color region;
Determine to treat according to the color of the region area of each color region at least one color region and the color region Show current display power consumption needed for the page.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, afterwards according to the region area of each color region at least one color region and the color The color in region determines currently to show power consumption needed for the page to be shown.
As a kind of possible embodiment, according to the region area of each color region at least one color region and The color of the color region determines that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, and obtain unit area needed for the color of each color region at least one color region and show Show power consumption, the unit area power consumption needed for the color of each color region is multiplied by the region area of the color region and will obtained afterwards Display power consumption, will show that power consumption is added to obtain needed for the page to be shown and works as afterwards needed for the color region needed for each color region Preceding display power consumption.
S304, color of object region is chosen from least one color region, by each chromatic zones in color of object region The color in domain replaces with required unit area and shows that power consumption is less than unit area needed for the color of the color region and shows power consumption First object color, display power consumption needed for the page to be shown after replacement is set to be less than the required current display power consumption, wherein, target Display power consumption needed for color region is more than the first default power consumption, first object color be except at least one color region color it Any color in outer color.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, display power consumption needed for being chosen from least one color region is more than the color of object region of the first default power consumption, it is believed that extremely It is to be shown to show that power consumption occupies more than display power consumption needed for the color of object region of the first default power consumption in a few color region The large percentage of power consumption is currently shown needed for the page, the color of each color region in color of object region is replaced with removed afterwards Unit area needed for color outside the color of at least one color region shows that power consumption is less than the color institute of the color region Need unit area to show any color of power consumption, display power consumption needed for the page to be shown after replacement is less than this required current aobvious Show power consumption.Because the region area in color of object region keeps constant, and reduce unit needed for the color in color of object region Area shows power consumption, it therefore reduces the display power consumption of display screen.It is from least one color region when carrying out color replacement Outside color in select, therefore, after having replaced, the color of each color region not phase at least one color region Together.
Illustrate, it is assumed that there are eight color regions in the page to be shown, wherein, there is display work(needed for four color regions Consumption is more than the first default power consumption, first replaces with the color of a color region in this four color regions except this eight kinds of colors Outside required unit area show that power consumption is less than the color that unit area needed for the color of this color region shows power consumption, afterwards The color of another color region in this four color regions is replaced with into required unit area outside above-mentioned nine kinds of colors to show Show that power consumption is less than the color that unit area needed for the color of this color region shows power consumption, afterwards by this four color regions The color of another color region replace with required unit area outside above-mentioned ten kinds of colors and show that power consumption is less than this color Unit area needed for the color in region shows the color of power consumption, finally by last color region in this four color regions Color replaces with required unit area outside a kind of above-mentioned ten colors and shows that power consumption is less than list needed for the color of this color region Plane product shows the color of power consumption.
As a kind of possible embodiment, display power consumption needed for color of object region is more than the first default power consumption, and mesh Mark unit area needed for the color of each color region in color region and show that power consumption is more than the second default power consumption.
In the present embodiment, display power consumption is that the face of color region is multiplied by by the region area of color region needed for color region Unit area needed for color shows what power consumption obtained, and therefore, display power consumption needed for color region is more than the first default power consumption and is probably Caused by the region area of color region is larger, it is also possible to be due to that unit area needed for the color of color region shows power consumption Caused by larger, and the region area of color region keeps constant, therefore, can reduce face by adjusting the color of color region Display power consumption needed for color region.When showing that power consumption is more than the first default power consumption, and the color institute of color region needed for color region When needing unit area display power consumption more than the second default display power consumption, it will be considered that the color of the color region is to the color region institute Having a great influence for power consumption need to be shown, the color of each color region in these color regions is replaced with except at least one chromatic zones Unit area needed for color outside the color in domain shows that power consumption is shown less than unit area needed for the color of the color region Any color of power consumption, display power consumption needed for the page to be shown after replacement is set to be less than the required current display power consumption.
As a kind of possible embodiment, first object color is the face in addition to the color of at least one color region Any color in color, and the contrast between first object color and the second color of object is more than preset value, wherein, the second target Color is any color in the color of the color region at least one color region in addition to color of object region.
In the present embodiment, because when the contrast between two kinds of colors is less than or equal to preset value, user is difficult to pass through Eyes distinguish both colors, and therefore, in order to allow users to differentiate different colours by eyes, the replacement color of selection will The contrast of color with need not originally be replaced in the page to be shown is more than preset value, and to be replaced with what be substituted for The contrast changed between color is also greater than preset value.
Illustrate, it is assumed that have four color regions, the first color region to the 4th color region in the page to be shown Color is followed successively by the first color, the second color, the 3rd color and the 4th color, wherein, the first color region and the second chromatic zones The color in domain is needed to replace, and the first color of the first color region first is replaced with into the required unit area in addition to these four colors Show that power consumption is less than unit area needed for the first color and shows power consumption and distinguish with the contrast of the 3rd color and the 4th color big In the 5th color of preset value, the second color of the second color region is replaced with into required unit area outside above-mentioned five kinds afterwards Show power consumption be less than needed for the second color unit area show power consumption and with the contrast of the 3rd color, the 4th color and the 5th color Degree is respectively greater than the color of preset value.
In the economize on electricity processing method described by Fig. 3, the page to be shown is obtained, identifies at least one face in the page to be shown The color in color region, determine currently to show power consumption needed for the page to be shown, color of object is chosen from least one color region Region, the color of each color region in color of object region is replaced with into required unit area and shows that power consumption is less than the chromatic zones Unit area needed for the color in domain shows the first object color of power consumption, makes display small power consumption needed for the page to be shown after replacement In the required current display power consumption, wherein, display power consumption needed for color of object region is more than the first default power consumption, first object face Color is any color in the color in addition to the color of at least one color region, therefore, can reduce terminal display screen and show Power consumption, to extend terminal standby time.
Referring to Fig. 4, Fig. 4 is the flow chart of another disclosed economize on electricity processing method of the embodiment of the present invention.Wherein, the section Electric treatment method is applied to the terminals such as mobile phone, tablet personal computer.As shown in figure 4, the economize on electricity processing method may comprise steps of.
S401, obtain the page to be shown.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, terminal will obtain the page to be shown.Wherein, wait to show It is the page that terminal will be shown on a display screen to show the page.
The color of at least one color region in S402, the identification 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 and waits to show Show the color of at least one color region in the page.
S403, determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after getting the page to be shown, determine currently to show power consumption needed for the page to be shown, wherein, Step S402 and step S403 can be performed parallel, can also S402 prior to S403 perform, can with S403 prior to S402 perform, The present embodiment is not construed as limiting.
As a kind of possible embodiment, determine that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain the region area of each color region at least one color region;
Determine to treat according to the color of the region area of each color region at least one color region and the color region Show current display power consumption needed for the page.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, afterwards according to the region area of each color region at least one color region and the color The color in region determines currently to show power consumption needed for the page to be shown.
As a kind of possible embodiment, according to the region area of each color region at least one color region and The color of the color region determines that currently the mode of display power consumption is specially needed for the page to be shown:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after getting the page to be shown, obtain every at least one color region in the page to be shown The region area of individual color region, and obtain unit area needed for the color of each color region at least one color region and show Show power consumption, the unit area power consumption needed for the color of each color region is multiplied by the region area of the color region and will obtained afterwards Display power consumption, will show that power consumption is added to obtain needed for the page to be shown and works as afterwards needed for the color region needed for each color region Preceding display power consumption.
S404, first object color region is chosen from least one color region, will be every in first object color region The color of individual color region replaces with required unit area and shows that power consumption shows less than unit area needed for the color of the color region Show any color in the color of power consumption, display power consumption needed for the page to be shown after replacement is less than the required current display work( Consumption, display power consumption is more than default power consumption needed for first object color region.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, display power consumption is more than the first object color region of default power consumption needed for being chosen from least one color region, it is believed that extremely It is to be shown to show that power consumption occupies more than display power consumption needed for the first object color region of default power consumption in a few color region The large percentage of power consumption is currently shown needed for the page, afterwards replaces the color of each color region in first object color region Show that power consumption is less than any face in the color of unit area display power consumption needed for the color of the color region for required unit area Color, display power consumption needed for the page to be shown after replacement is set to be less than the required current display power consumption.Due to first object chromatic zones The region area in domain keeps constant, and reduces unit area needed for the color of first object color region and show power consumption, therefore, Reduce the display power consumption of display screen.When carrying out color replacement, selected from all colours, therefore, after replacing it at least The color identical situation of some color regions is likely to occur in one color region.
In the present embodiment, display power consumption needed for first object color region can be more than default power consumption, and first object face Unit area needed for the color of each color region shows that power consumption can be more than preset value in color region.
In the present embodiment, the color of each color region in first object color region can be replaced with required unit plane Product shows that power consumption is less than first object color in the color of unit area display power consumption needed for the color of the color region, and first Contrast between color of object and the second color of object is more than preset value, wherein, the second color of object is at least one color Any color in the color of color region in region in addition to first object color region.
As a kind of possible embodiment, the color of each color region in first object color region is replaced with into institute Unit area is needed to show that power consumption is less than any color in the color of unit area display power consumption needed for the color of the color region Mode is specially:
Color region in first object color region is subjected to descending arrangement to obtain descending table according to region area;
All colours are shown that power consumption carries out ascending order arrangement to obtain ascending order table according to unit area needed for color;
The color for the color region that jth position is arranged in descending table is replaced with to the color that jth position is arranged in ascending order table, Display power consumption needed for the page to be shown after replacement is less than the required current display power consumption, wherein, j be more than zero and be less than or Equal to the integer of the region quantity of color region in first object color region.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, display power consumption is more than the first object color region of default power consumption needed for being chosen from least one color region, it is believed that extremely It is to be shown to show that power consumption occupies more than display power consumption needed for the first object color region of default power consumption in a few color region Currently the large percentage of display power consumption, the color that will be arranged in the color region of jth position in descending table afterwards are replaced needed for the page To be arranged in the color of jth position in ascending order table, display power consumption needed for the page to be shown after replacement is set to be less than this required current aobvious Show power consumption.Because the region area of each color region keeps constant, and unit area needed for different colours shows that power consumption is different, Therefore, unit area needed for the color of the maximum color region of region area can be replaced with shows the minimum color of power consumption, It is replaced successively, can will shows that power consumption is minimized needed for the page to be shown.Wherein, j is more than zero and is less than or equal to The integer of the region quantity of color region in first object color region.Wherein, when the chromatic zones for being arranged in jth position in descending table When the color in domain is identical with the color for being arranged in jth position in ascending order table, will keep the color of the color region for current color not Become;When be arranged in the color of the color region of jth position in descending table and be arranged in the color of jth position in ascending order table differ when, The color of the color region is replaced with to the color for being arranged in jth position in ascending order table.
As a kind of possible embodiment, the color for the color region that jth position is arranged in descending table is replaced with into liter The color of jth position is arranged in sequence table, display power consumption needed for the page to be shown after replacement is less than the required current display work( After consumption, the economize on electricity processing method can also include:
Judge the second color of object region in first object color region color whether with the 3rd color of object region Color is identical, and the second color of object region is any color region in first object color region, and the 3rd color of object region is Any color region in color region at least one color region in addition to first object color region;
If identical, 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 into the 3rd color of object, the 3rd target Color is any color in the color in addition to 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, it is possible to the face of two color regions occur Color identical situation, if the two color regions are adjacent, user will be unable to distinguish the two color regions, therefore, by this two The color for not carrying out the color region of color replacement in individual color region replaces with and removes the chromatic zones adjacent with this color region Any color in color outside the color in domain, while display power consumption is reduced, not influence Consumer's Experience.
In the economize on electricity processing method described by Fig. 4, the page to be shown is obtained, identifies at least one face in the page to be shown The color in color region, determine currently to show power consumption needed for the page to be shown, first object is chosen from least one color region Color region, the color of each color region in first object color region is replaced with into required unit area and shows that power consumption is less than Any color in the color of unit area display power consumption needed for the color of the color region, makes needed for the page to be shown after replacement Show that power consumption is less than the required current display power consumption, therefore, terminal display screen can be reduced and show power consumption, to extend terminal standby Time.
Referring to Fig. 5, Fig. 5 is a kind of structure chart of terminal disclosed in the embodiment of the present invention.Wherein, the terminal can be hand Machine, tablet personal computer etc..The terminal 500 can include:
Acquiring unit 501, for obtaining the page to be shown;
Recognition unit 502, for identify acquiring unit 501 obtain the page to be shown at least one color region face Color;
Determining unit 503, current display power consumption needed for the page to be shown obtained for determining acquiring unit 502;
Adjustment unit 504, color of object region at least one color region for adjusting the identification of recognition unit 502 Color, display power consumption needed for the page to be shown after adjustment is set to be less than the required current display power consumption that determining unit 503 determines.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, acquiring unit 501 will obtain the page to be shown.Its In, the page to be shown is the page that terminal will be shown on a display screen.
In the present embodiment, the page to be shown has at least one color region, acquiring unit 501 get the page to be shown it Afterwards, 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 currently to show needed for the page to be shown Show power consumption.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, adjustment unit 504 can adjust the color in color of object region at least one color region, make the page to be shown after adjustment Current display power consumption needed for the page to be shown before display power consumption is less than adjustment needed for face, so as to reduce the display of display screen Power consumption.Wherein, color of object region is part color region or whole color regions at least one color region.
In the terminal described by Fig. 5, the page to be shown is obtained, identifies at least one color region in the page to be shown Color, determine currently to show power consumption needed for the page to be shown, adjust the color in color of object region at least one color region, Display power consumption needed for the page to be shown after adjustment is less than the required current display power consumption, therefore, terminal can be reduced and shown Screen shows power consumption, to extend terminal standby time.
Referring to Fig. 6, Fig. 6 is the structure chart of another terminal disclosed in the embodiment of the present invention.Wherein, the terminal can be Mobile phone, tablet personal computer etc..The terminal 600 can include:
First acquisition unit 601, for obtaining the page to be shown;
Recognition unit 602, for identify first acquisition unit 601 obtain the page to be shown at least one color region Color;
First determining unit 603, current display work(needed for the page to be shown obtained for determining first acquisition unit 602 Consumption;
Adjustment unit 604, color of object region at least one color region for adjusting the identification of recognition unit 602 Color, display power consumption needed for the page to be shown after adjustment is set to be less than the required current display work(that the first determining unit 603 determines Consumption.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, first acquisition unit 601 will obtain page to be shown Face.Wherein, the page to be shown is the page that terminal will be shown on a display screen.
In the present embodiment, the page to be shown has at least one color region, and first acquisition unit 601 gets page to be shown After face, recognition unit 602 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after first acquisition unit 601 gets the page to be shown, the first determining unit 603 determines to treat Show current display power consumption needed for the page.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, adjustment unit 604 can adjust the color in color of object region at least one color region, make the page to be shown after adjustment Current display power consumption needed for the page to be shown before display power consumption is less than adjustment needed for face, so as to reduce the display of display screen Power consumption.Wherein, color of object region is part color region or whole color regions at least one color region.
As a kind of possible embodiment, the first determining unit 603 can include:
Second acquisition unit 6031, for obtaining the region area of each color region at least one color region;
Second determining unit 6032, for each at least one color region for being obtained according to second acquisition unit 6031 The region area of color region and the color of the color region determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after first acquisition unit 601 gets the page to be shown, second acquisition unit 6031 is obtained and treated The region area of each color region at least one color region in the page is shown, the second determining unit 6032 is according to extremely afterwards Each region area of color region and the color of the color region determine to work as needed for the page to be shown in a few color region Preceding display power consumption.
As a kind of possible embodiment, the second determining unit 6032 is specifically used for:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after first acquisition unit 601 gets the page to be shown, second acquisition unit 6031 is obtained and treated The region area of each color region at least one color region in the page is shown, and is obtained every at least one color region Unit area needed for the color of individual color region shows power consumption, and the second determining unit 6032 is by the color of each color region afterwards The region area that required unit area power consumption is multiplied by the color region will obtain display power consumption needed for the color region, and will be each Display power consumption, which is added to obtain, needed for color region currently shows power consumption needed for the page to be shown.
As a kind of possible embodiment, adjustment unit 604 can include:
First order unit 6041, for the color of at least one color region to be shown according to unit area needed for color Show that power consumption carries out descending arrangement to obtain descending table;
Second order unit 6042, at least one color region to be carried out into ascending order arrangement to obtain according to region area Obtain ascending order table;
Replacement unit 6043, for being arranged in the chromatic zones of i-th bit in the ascending order table that obtains second order unit 6042 The color in domain replaces with the color that i-th bit is arranged in the descending table that first order unit 6041 obtains, and makes to wait to show after replacement Show that display power consumption needed for the page is less than the required current display power consumption that the first determining unit 603 determines, wherein, i be more than zero and Less than or equal to the integer of the region quantity of at least one color region.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, the color of at least one color region is shown that power consumption is dropped by first order unit 6041 according to unit area needed for color To obtain descending table, at least one color region is carried out ascending order arrangement by second order unit 6042 according to region area for sequence arrangement To obtain ascending order table, the color for being arranged in the color region of i-th bit in ascending order table is replaced with arrangement by replacement unit 6043 afterwards The color of i-th bit in descending table, display power consumption needed for the page to be shown after replacement is set to be determined less than the first determining unit 603 Required current display power consumption.Because the region area of each color region keeps constant, and unit area needed for different colours Show that power consumption is different, therefore, the color of the maximum color region of region area can be replaced with required unit area and show work( Minimum color is consumed, is replaced successively, finally, the color of the minimum color region of region area is replaced with into required unit plane Product shows the maximum color of power consumption, be able to will wait to show in the case where the color category of at least one color region of holding is constant Show that display power consumption is minimized needed for the page.Wherein, i is more than zero and less than or equal to the number of regions of at least one color region The integer of amount.Wherein, when being arranged in the color of the color region of i-th bit in ascending order table and be arranged in the face of i-th bit in descending table Form and aspect are simultaneously, constant for current color by the color for keeping the color region;When the color region for being arranged in i-th bit in ascending order table Color and when being arranged in the color of i-th bit in descending table and differing, the color of the color region is replaced with and is arranged in descending The color of i-th bit in table.
In the terminal described by Fig. 6, the page to be shown is obtained, identifies at least one color region in the page to be shown Color, determine currently to show power consumption needed for the page to be shown, by the color of at least one color region according to unit needed for color Area shows that power consumption carries out descending arrangement to obtain descending table, and at least one color region is carried out into ascending order row according to region area The color for the color region that i-th bit is arranged in ascending order table is replaced with descending table to obtain ascending order table and is arranged in i-th by row The color of position, display power consumption needed for the page to be shown after replacement is less than the required current display power consumption, terminal can be reduced Display screen shows power consumption, to extend terminal standby time.
Referring to Fig. 7, Fig. 7 is the structure chart of another terminal disclosed in the embodiment of the present invention.Wherein, the terminal can be Mobile phone, tablet personal computer etc..The terminal 700 can include:
First acquisition unit 701, for obtaining the page to be shown;
Recognition unit 702, for identify first acquisition unit 701 obtain the page to be shown at least one color region Color;
First determining unit 703, current display work(needed for the page to be shown obtained for determining first acquisition unit 702 Consumption;
Adjustment unit 704, for adjust recognition unit 702 identification at least one color region in first object chromatic zones The color in domain, display power consumption needed for the page to be shown after adjustment is set to be less than the required current aobvious of the first determining unit 703 determination Show power consumption.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, first acquisition unit 701 will obtain page to be shown Face.Wherein, the page to be shown is the page that terminal will be shown on a display screen.
In the present embodiment, the page to be shown has at least one color region, and first acquisition unit 701 gets page to be shown After face, recognition unit 702 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after first acquisition unit 701 gets the page to be shown, the first determining unit 703 determines to treat Show current display power consumption needed for the page.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, adjustment unit 704 can adjust the color in color of object region at least one color region, make the page to be shown after adjustment Current display power consumption needed for the page to be shown before display power consumption is less than adjustment needed for face, so as to reduce the display of display screen Power consumption.Wherein, color of object region is part color region or whole color regions at least one color region.
As a kind of possible embodiment, the first determining unit 703 can include:
Second acquisition unit 7031, for obtaining the region area of each color region at least one color region;
Second determining unit 7032, for each at least one color region for being obtained according to second acquisition unit 7031 The region area of color region and the color of the color region determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after first acquisition unit 701 gets the page to be shown, second acquisition unit 7031 is obtained and treated The region area of each color region at least one color region in the page is shown, the second determining unit 7032 is according to extremely afterwards Each region area of color region and the color of the color region determine to work as needed for the page to be shown in a few color region Preceding display power consumption.
As a kind of possible embodiment, the second determining unit 7032 is specifically used for:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region shows that power consumption is multiplied by the region area of the color region to obtain Display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after first acquisition unit 701 gets the page to be shown, second acquisition unit 7031 is obtained and treated The region area of each color region at least one color region in the page is shown, and is obtained every at least one color region Unit area needed for the color of individual color region shows power consumption, and the second determining unit 7032 is by the color of each color region afterwards The region area that required unit area power consumption is multiplied by the color region will obtain display power consumption needed for the color region, and will be each Display power consumption, which is added to obtain, needed for color region currently shows power consumption needed for the page to be shown.
As a kind of possible embodiment, adjustment unit 704 can include:
Unit 7041 is chosen, for choosing color of object region, color of object region from least one color region Required display power consumption is more than the first default power consumption;
Replacement unit 7042, for the color of each color region in the color of object region chosen of unit 7041 will to be chosen Unit area needed for replacing with shows that power consumption is less than the first object that unit area needed for the color of the color region shows power consumption Color, display power consumption needed for the page to be shown after replacement is set to be less than the required current display work(that the first determining unit 703 determines Consumption, first object color are any color in the color in addition to the color of at least one color region.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, choose unit 7041 and the color of object that required display power consumption is more than the first default power consumption is chosen from least one color region Region, it is believed that show that power consumption is more than display power consumption needed for the color of object region of the first default power consumption at least one color region The large percentage that power consumption is currently shown needed for the page to be shown is occupied, choosing unit 7041 afterwards will be each in color of object region The color of color region replaces with unit area needed for color in addition to the color of at least one color region and shows power consumption Less than any color that unit area needed for the color of the color region shows power consumption, make to show needed for the page to be shown after replacement Show that power consumption is less than the required current display power consumption that the first determining unit 703 determines.Because the region area in color of object region is protected Hold constant, and reduce needed for the color in color of object region unit area and show power consumption, it therefore reduces the display of display screen Power consumption.It is to be selected in the color outside at least one color region, therefore, after having replaced, extremely when carrying out color replacement The color of each color region is different from a few color region.
As a kind of possible embodiment, display power consumption needed for color of object region is more than the first default power consumption, and the Unit area needed for the color of each color region shows that power consumption is more than the second default power consumption in one color of object region.
In the present embodiment, display power consumption is that the face of color region is multiplied by by the region area of color region needed for color region Unit area needed for color shows what power consumption obtained, and therefore, display power consumption needed for color region is more than the first default power consumption and is probably Caused by the region area of color region is larger, it is also possible to be due to that unit area needed for the color of color region shows power consumption Caused by larger, and the region area of color region keeps constant, therefore, can reduce face by adjusting the color of color region Display power consumption needed for color region.When showing that power consumption is more than the first default power consumption, and the color institute of color region needed for color region When needing unit area display power consumption more than the second default display power consumption, it will be considered that the color of the color region is to the color region institute Having a great influence for power consumption need to be shown, replacement unit 7042 replaces with the color of each color region in these color regions except extremely Unit area needed for color outside the color of a few color region shows that power consumption is less than needed for the color of the color region Unit area shows any color of power consumption, display power consumption needed for the page to be shown after replacement is less than the first determining unit The 703 required current display power consumptions determined.
As a kind of possible embodiment, first object color is the face in addition to the color of at least one color region Any color in color, and the contrast between first object color and the second color of object is more than the first preset value, wherein, second Color of object is any color in the color of the color region at least one color region in addition to color of object region.
In the present embodiment, because when the contrast between two kinds of colors is less than or equal to preset value, user is difficult to pass through Eyes distinguish both colors, therefore, in order to allow users to differentiate different colors, the replacement color of selection by eyes To be more than preset value with the contrast for the color that need not be originally replaced in the page to be shown, and will be with substituted for The contrast between color is replaced also greater than preset value.
In the terminal described by Fig. 7, the page to be shown is obtained, identifies at least one color region in the page to be shown Color, determine currently to show power consumption needed for the page to be shown, color of object region is chosen from least one color region, by mesh The color of each color region replaces with required unit area and shows that power consumption is less than the color of the color region in mark color region Required unit area shows the first object color of power consumption, display power consumption needed for the page to be shown after replacement is less than this required Current display power consumption, wherein, display power consumption needed for color of object region is more than the first default power consumption, and first object color is except extremely Any color in color outside the color of a few color region, therefore, terminal display screen can be reduced and show power consumption, to prolong Long terminal standby time.
Referring to Fig. 8, Fig. 8 is the structure chart of another terminal disclosed in the embodiment of the present invention.Wherein, the terminal can be Mobile phone, tablet personal computer etc..The terminal 800 can include:
First acquisition unit 801, for obtaining the page to be shown;
Recognition unit 802, for identify first acquisition unit 801 obtain the page to be shown at least one color region Color;
First determining unit 803, current display work(needed for the page to be shown obtained for determining first acquisition unit 802 Consumption;
Adjustment unit 804, for adjust recognition unit 802 identification at least one color region in first object chromatic zones The color in domain, display power consumption needed for the page to be shown after adjustment is set to be less than the required current aobvious of the first determining unit 803 determination Show power consumption.
In the present embodiment, terminal can be provided with display power saving function in advance, when user needs to reduce terminal display screen Display power consumption when, user can be by clicking on preset icon or programmable button in the predeterminable area in display screen, display screen Input starts the enabled instruction for showing power saving function, after terminal detects the enabled instruction for starting display power saving function, will open Dynamic display power saving function, afterwards when terminal display screen is in running order, first acquisition unit 801 will obtain page to be shown Face.Wherein, the page to be shown is the page that terminal will be shown on a display screen.
In the present embodiment, the page to be shown has at least one color region, and first acquisition unit 801 gets page to be shown After face, recognition unit 802 will identify the color of at least one color region in the page to be shown.
In the present embodiment, after first acquisition unit 801 gets the page to be shown, the first determining unit 803 determines to treat Show current display power consumption needed for the page.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, adjustment unit 804 can adjust the color in color of object region at least one color region, make the page to be shown after adjustment Current display power consumption needed for the page to be shown before display power consumption is less than adjustment needed for face, so as to reduce the display of display screen Power consumption.Wherein, color of object region is part color region or whole color regions at least one color region.
As a kind of possible embodiment, the first determining unit 803 can include:
Second acquisition unit 8031, for obtaining the region area of each color region at least one color region;
Second determining unit 8032, for each at least one color region for being obtained according to second acquisition unit 8031 The region area of color region and the color of the color region determine currently to show power consumption needed for the page to be shown.
In the present embodiment, after first acquisition unit 801 gets the page to be shown, second acquisition unit 8031 is obtained and treated The region area of each color region at least one color region in the page is shown, the second determining unit 8032 is according to extremely afterwards Each region area of color region and the color of the color region determine to work as needed for the page to be shown in a few color region Preceding display power consumption.
As a kind of possible embodiment, the second determining unit 8032 is specifically used for:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
In the present embodiment, after first acquisition unit 801 gets the page to be shown, second acquisition unit 8031 is obtained and treated The region area of each color region at least one color region in the page is shown, and is obtained every at least one color region Unit area needed for the color of individual color region shows power consumption, and the second determining unit 8032 is by the color of each color region afterwards The region area that required unit area power consumption is multiplied by the color region will obtain display power consumption needed for the color region, and will be each Display power consumption, which is added to obtain, needed for color region currently shows power consumption needed for the page to be shown.
As a kind of possible embodiment, adjustment unit 804 can include:
Unit 8041 is chosen, for choosing first object color region, first object from least one color region Display power consumption needed for color region is more than the 3rd default power consumption;
First replacement unit 8042, for each color region in the first color region chosen of unit 8041 will to be chosen Color replaces with required unit area and shows that power consumption is less than the color that unit area needed for the color of the color region shows power consumption In any color, make display power consumption needed for the page to be shown after replacement be less than the first determining unit 803 determine it is required current Show power consumption.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, choose unit 8041 and the first object color that required display power consumption is more than default power consumption is chosen from least one color region Region, it is believed that show that power consumption is more than display power consumption needed for the first object color region of default power consumption at least one color region The large percentage of currently display power consumption is occupied needed for the page to be shown, the first replacement unit 8042 is by first object chromatic zones afterwards The color of each color region replaces with required unit area and shows that power consumption is less than unit needed for the color of the color region in domain Any color in the color of area display power consumption, display power consumption needed for the page to be shown after replacement is set to be less than the first determining unit The 803 required current display power consumptions determined.Because the region area of first object color region keeps constant, and reduce first Unit area needed for the color in color of object region shows power consumption, it therefore reduces the display power consumption of display screen.Color is carried out to replace When changing, selected from all colours, therefore, replace it in rear at least one color region and be likely to occur some color regions Color identical situation.
As a kind of possible embodiment, the first replacement unit 8042 is specifically used for:
Color region in first object color region is subjected to descending arrangement to obtain descending table according to region area;
All colours are shown that power consumption carries out ascending order arrangement to obtain ascending order table according to unit area needed for color;
The color for the color region that jth position is arranged in descending table is replaced with to the color that jth position is arranged in ascending order table, Display power consumption needed for the page to be shown after replacement is set to be less than the required current display power consumption that the first determining unit 803 determines, its In, j is more than zero and less than or equal to the integer of the region quantity of color region in first object color region.
In the present embodiment, obtain needed for the page to be shown currently display power consumption and the color of at least one color region it Afterwards, choose unit 8041 and the first object color that required display power consumption is more than default power consumption is chosen from least one color region Region, it is believed that show that power consumption is more than display power consumption needed for the first object color region of default power consumption at least one color region The large percentage that power consumption is currently shown needed for the page to be shown is occupied, the first replacement unit 8042 will be arranged in descending table afterwards The color of the color region of jth position replaces with the color that jth position is arranged in ascending order table, makes needed for the page to be shown after replacement Show that power consumption is less than the required current display power consumption that the first determining unit 803 determines.Due to the region area of each color region Keep constant, and unit area needed for different colours shows that power consumption is different, therefore, can be by the maximum color region of region area Color replace with needed for unit area show the minimum color of power consumption, be replaced successively, can be by needed for the page to be shown Display power consumption is minimized.Wherein, j is more than zero and less than or equal to the number of regions of color region in first object color region The integer of amount.Wherein, when being arranged in the color of the color region of jth position in descending table and be arranged in the face of jth position in ascending order table Form and aspect are simultaneously, constant for current color by the color for keeping the color region;When the color region for being arranged in jth position in descending table Color and when being arranged in the color of jth position in ascending order table and differing, the color of the color region is replaced with and is arranged in ascending order The color of jth position in table.
As a kind of possible embodiment, the first replacement unit 8042 will be arranged in the face of jth position in second descending table The color in color region replaces with the color that jth position is arranged in the second ascending order table, makes to show needed for the page to be shown after replacement Power consumption is less than after the required current display power consumption that the first determining unit 803 determines, adjustment unit 804 can also include:
First judging unit 8043, for judge the second color of object region in first object color region color whether Identical with the color in the 3rd color of object region, the second color of object region is any chromatic zones in first object color region Domain, the 3rd color of object region are any in the color region at least one color region in addition to first object color region Color region;
Second judging unit 8044, for when the judged result of the first judging unit 8043 is is, judging the second target Whether color region and the 3rd color of object region are adjacent color region;
Second replacement unit 8045, for when the second judging unit 8044 judged result for be when, by the 3rd target face The color in color region replaces with the 3rd color of object, and the 3rd color of object is except the chromatic zones adjacent with the 3rd color of object region Any color in color outside the color in domain.
In the present embodiment, after the color of first object color region is replaced, it is possible to the face of two color regions occur Color identical situation, if the two color regions are adjacent, user will be unable to distinguish the two color regions, therefore, will The color for not carrying out the color region of color replacement in the two color regions replaces with and removes the face adjacent with this color region Any color in color outside the color in color region, while display power consumption is reduced, not influence Consumer's Experience.
In the terminal described by Fig. 8, the page to be shown is obtained, identifies at least one color region in the page to be shown Color, determine currently to show power consumption needed for the page to be shown, first object color region chosen from least one color region, The color of each color region in first object color region is replaced with into required unit area and shows that power consumption is less than the chromatic zones Any color in the color of unit area display power consumption needed for the color in domain, makes display power consumption needed for the page to be shown after replacement Less than the required current display power consumption, therefore, terminal display screen can be reduced and show power consumption, to extend terminal standby time.
Referring to Fig. 9, Fig. 9 is the structure chart of another terminal disclosed in the embodiment of the present invention.Wherein, the terminal can be Mobile phone, tablet personal computer etc..As shown in figure 9, the communication apparatus 900 can include:At least one processor 901, such as CPU, storage Device 902 and at least one communication bus 903.Memory 902 can be high-speed RAM memory or non-labile Memory (non-volatile memory), for example, at least a magnetic disk storage.Alternatively, memory 902 can also be to A few storage device for being located remotely from aforementioned processor 1101.Wherein:
Memory 902, for storing batch processing code;
Communication bus 903, for realizing the connection communication between these components;
Processor 901 is used to call the program code stored in memory 902 to perform following operate:
Obtain the page to be shown;
Identify the color of at least one color region in the page to be shown;
Determine currently to show power consumption needed for the page to be shown;
The color of first object color region at least one color region is adjusted, makes the page institute to be shown after adjustment It need to show that power consumption is less than the required current display power consumption.
As a kind of possible embodiment, processor 901 determines currently to show the mode of power consumption needed for the page to be shown Specially:
Obtain the region area of each color region at least one color region;
Determined according to the color of the region area of each color region at least one color region and the color region Power consumption is currently shown needed for the page to be shown.
As a kind of possible embodiment, processor 901 is according to each color region at least one color region Region area and the color of the color region determine needed for the page to be shown that the mode of currently display power consumption is specially:
Obtain unit area needed for the color of each color region at least one color region and show power consumption;
Unit area needed for the color of each color region is shown that power consumption is multiplied by the region area of the color region to obtain Obtain display power consumption needed for the color region;
It will show that power consumption is added to obtain needed for each color region and power consumption currently shown needed for the page to be shown.
As a kind of possible embodiment, processor 901 adjusts first object color at least one color region The color in region, make display power consumption needed for the page to be shown after adjustment specific less than the mode of the required current display power consumption For:
By the color of at least one color region according to needed for color unit area show power consumption carry out descending arrangement with Obtain the first descending table;
At least one color region is subjected to ascending order arrangement to obtain the first ascending order table according to region area;
The color for the color region for being arranged in i-th bit in first ascending order table is replaced with the first descending table and is arranged in i-th The color of position, display power consumption needed for the page to be shown after replacement is less than the required current display power consumption, wherein, i be more than Zero and less than or equal at least one color region region quantity integer.
As a kind of possible embodiment, processor 901 adjusts first object color at least one color region The color in region, make display power consumption needed for the page to be shown after adjustment specific less than the mode of the required current display power consumption For:
First object color region is chosen from least one color region, display work(needed for first object color region Consumption is more than the first default power consumption;
The color of each color region in first object color region is replaced with into required unit area and shows that power consumption is less than Unit area needed for the color of the color region shows the first object color of power consumption, makes to show needed for the page to be shown after replacement Show that power consumption is less than the required current display power consumption, first object color is the face in addition to the color of at least one color region Any color in color.
As a kind of possible embodiment, display power consumption needed for first object color region is more than the first default power consumption, And unit area needed for the color of each color region shows that power consumption is more than the second default power consumption in first object color region.
As a kind of possible embodiment, first object color is the face in addition to the color of at least one color region Any color in color, and the contrast between first object color and the second color of object is more than preset value, wherein, the second target Color is any color in the color of the color region at least one color region in addition to first object color region.
As a kind of possible embodiment, processor 901 adjusts first object chromatic zones at least one color region The color in domain, making display power consumption needed for the page to be shown after adjustment, currently the mode of display power consumption is specially less than needed for:
First object color region is chosen from least one color region, display work(needed for first object color region Consumption is more than the 3rd default power consumption;
The color of each color region in first object color region is replaced with into required unit area and shows that power consumption is less than Any color in the color of unit area display power consumption needed for the color of the color region, makes needed for the page to be shown after replacement Show that power consumption is less than the required current display power consumption.
As a kind of possible embodiment, processor 901 is by the face of each color region in first object color region Color replaces with required unit area and shows that power consumption is less than unit area needed for the color of the color region and shown in the color of power consumption The mode of any color, make to show that power consumption is less than the required current display power consumption and is specially needed for the page to be shown after replacement:
Color region in first object color region is subjected to descending arrangement to obtain the second descending table according to region area;
All colours are shown that power consumption carries out ascending order arrangement to obtain the second ascending order table according to unit area needed for color;
The color for the color region for being arranged in jth position in second descending table is replaced with the second ascending order table and is arranged in jth The color of position, display power consumption needed for the page to be shown after replacement is less than the required current display power consumption, wherein, j be more than Zero and less than or equal to the integer of the region quantity of color region in first object color region.
As a kind of possible embodiment, processor 901 will be arranged in the color region of jth position in second descending table Color replaces with the color that jth position is arranged in the second ascending order table, is less than display power consumption needed for the page to be shown after replacement After the required current display power consumption, processor 901 is additionally operable to call the program code stored in memory 902 to perform following grasp Make:
Judge the second color of object region in first object color region color whether with the 3rd color of object region Color is identical, and the second color of object region is any color region in first object color region, and the 3rd color of object region is Any color region in color region at least one color region in addition to first object color region;
If identical, 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 into the 3rd color of object, the 3rd target Color is any color in the color in addition to the color of the color region adjacent with the 3rd color of object region.
In the terminal described by Fig. 9, the page to be shown is obtained, identifies at least one color region in the page to be shown Color, determine currently to show power consumption needed for the page to be shown, adjust first object color region at least one color region Color, display power consumption needed for the page to be shown after adjustment is less than the required current display power consumption, therefore, terminal can be reduced Display screen shows power consumption, to extend terminal standby time.
The step of method of the embodiment of the present invention, sequentially can be adjusted, merges or delete according to being actually needed.This hair The unit of the terminal of bright embodiment can be integrated, further divided or deleted according to being actually needed.
The unit of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special integrated electricity Road (ASIC) is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a determination machine readable storage medium storing program for executing, storage Medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Economize on electricity processing method and terminal disclosed in the embodiment of the present invention are described in detail above, it is used herein Specific case is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help and understands this The method and its core concept of invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, specific There will be changes in embodiment and application, in summary, this specification content should not be construed as to the present invention's Limitation.

Claims (6)

  1. A kind of 1. terminal, it is characterised in that including:
    First acquisition unit, for obtaining the page to be shown;
    Recognition unit, the face of at least three color regions in the page to be shown obtained for identifying the first acquisition unit Color;
    First determining unit, current display power consumption needed for the page to be shown obtained for determining the acquiring unit;
    Adjustment unit, the face of first object color region at least three color regions for adjusting recognition unit identification Color, display power consumption needed for the page to be shown after adjustment is set to be less than the required current display work(that first determining unit determines Consumption;Wherein, display power consumption is more than default power consumption needed for the first object color region;
    Wherein, first determining unit includes:
    Second acquisition unit, for obtaining the region area of each color region at least three color region;
    Second determining unit, for each color region at least three color regions that are obtained according to the second acquisition unit Region area and the color of the color region determine needed for the page to be shown currently display power consumption;
    Second determining unit is specifically used for:Obtain at least three color region needed for the color of each color region Unit area shows power consumption;Unit area needed for the color of each color region shows that power consumption is multiplied by the area of the color region Domain area shows power consumption to obtain needed for the color region;Described in show that power consumption is added to obtain needed for each color region Power consumption is currently shown needed for the page to be shown;
    The adjustment unit includes:
    First chooses unit, for choosing first object color region, first mesh from least three color region Mark display power consumption needed for color region and be more than the first default power consumption;
    Second replacement unit, each color region in the first object color region for choosing unit selection by described first Color replaces with required unit area and shows that power consumption is less than unit area needed for the color of the color region and shows the first of power consumption Color of object, display power consumption needed for the page to be shown after replacement is set to be less than the required current display power consumption, first mesh Color is marked as any color in the color in addition to the color of at least three color region.
  2. 2. terminal according to claim 1, it is characterised in that display power consumption is more than needed for the first object color region First default power consumption, and unit area needed for the color of each color region shows that power consumption is big in the first object color region In the second default power consumption.
  3. 3. terminal according to claim 1 or 2, it is characterised in that the first object color is except described at least three Any color in color outside the color of color region, and the contrast between the first object color and the second color of object Degree is more than preset value, wherein, second color of object is to remove the first object color at least three color region Any color in the color of color region outside region.
  4. 4. terminal according to claim 1, it is characterised in that the adjustment unit includes:
    Second chooses unit, for choosing first object color region, first mesh from least three color region Mark display power consumption needed for color region and be more than the 3rd default power consumption;
    3rd replacement unit, each color region in the first object color region for choosing unit selection by described second Color replaces with required unit area and shows that power consumption is less than the color that unit area needed for the color of the color region shows power consumption In any color, make display power consumption needed for the page to be shown after replacement be less than it is described needed for current display power consumption.
  5. 5. terminal according to claim 4, it is characterised in that the 3rd replacement unit is specifically used for:
    Color region in the first object color region is subjected to descending arrangement to obtain the second descending table according to region area;
    All colours are shown that power consumption carries out ascending order arrangement to obtain the second ascending order table according to unit area needed for color;
    The color for the color region for being arranged in jth position in the second descending table is replaced with the second ascending order table and is arranged in The color of jth position, display power consumption needed for the page to be shown after replacement is set to be less than the required current display power consumption, wherein, institute It is more than zero and less than or equal to the integer of the region quantity of color region in the first object color region to state j.
  6. 6. terminal according to claim 5, it is characterised in that the 3rd replacement unit will be arranged in the second descending table The color for being listed in the color region of jth position replaces with the color that jth position is arranged in the second ascending order table, makes to treat after replacement Show that display power consumption needed for the page is less than after the required current display power consumption, the adjustment unit also includes:
    First judging unit, for judging the color in the second color of object region in the first object color region whether with The color in three color of object regions is identical, and the second color of object region is any color in the first object color region Region, the 3rd color of object region be at least three color region in addition to the first object color region Any color region in color region;
    Second judging unit, for when the judged result of first judging unit is is, judging second color of object Whether region and the 3rd color of object region are adjacent color region;
    4th replacement unit, for when second judging unit judged result for be when, by the 3rd color of object area The color in domain replaces with the 3rd color of object, and the 3rd color of object is except the face adjacent with the 3rd color of object region Any color in color outside the color in color region.
CN201510088947.7A 2015-02-26 2015-02-26 A kind of terminal Expired - Fee Related CN104699222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510088947.7A CN104699222B (en) 2015-02-26 2015-02-26 A kind of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510088947.7A CN104699222B (en) 2015-02-26 2015-02-26 A kind of terminal

Publications (2)

Publication Number Publication Date
CN104699222A CN104699222A (en) 2015-06-10
CN104699222B true CN104699222B (en) 2017-12-15

Family

ID=53346439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510088947.7A Expired - Fee Related CN104699222B (en) 2015-02-26 2015-02-26 A kind of terminal

Country Status (1)

Country Link
CN (1) CN104699222B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978414A (en) * 2015-06-25 2015-10-14 深圳市金立通信设备有限公司 Content search method and terminal
CN107111469B (en) * 2015-12-23 2020-01-21 华为技术有限公司 Method for adjusting display interface of display screen, user interface, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010107784A (en) * 2008-10-30 2010-05-13 Kyocera Corp Electronic equipment
CN102867484A (en) * 2011-07-07 2013-01-09 中兴通讯股份有限公司 Display control method and system
CN103440030A (en) * 2013-08-28 2013-12-11 浙江大学 Energy-saving display method of three-dimensional drawn image for OLED displayer
CN103914124A (en) * 2014-04-04 2014-07-09 浙江工商大学 Energy-saving color mapping method aiming at three-dimensional scenes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201120868A (en) * 2009-12-03 2011-06-16 Inst Information Industry Flat panel display and image processing method for power saving thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010107784A (en) * 2008-10-30 2010-05-13 Kyocera Corp Electronic equipment
CN102867484A (en) * 2011-07-07 2013-01-09 中兴通讯股份有限公司 Display control method and system
CN103440030A (en) * 2013-08-28 2013-12-11 浙江大学 Energy-saving display method of three-dimensional drawn image for OLED displayer
CN103914124A (en) * 2014-04-04 2014-07-09 浙江工商大学 Energy-saving color mapping method aiming at three-dimensional scenes

Also Published As

Publication number Publication date
CN104699222A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN107247540B (en) Application icon adjusting method and device
CN104503889B (en) A kind of information processing method and electronic equipment
US20160357616A1 (en) Application management method and application management apparatus
CN104699221B (en) One kind economize on electricity processing method
CN106066805A (en) Method, device and the terminal that a kind of end application starts
CN102369647A (en) Power supply managment method and device of mobile terminal
CN106250092B (en) A kind of terminal screen switching method and device
CN103513748A (en) Method for processing information, information processor and electronic device
CN105334939B (en) Terminal power consumption control method and device
CN104699222B (en) A kind of terminal
CN103631469B (en) The display processing method of icon, device and electronic equipment
CN102208144B (en) The implementation method of screen contact sensing functions and device
CN106843438B (en) Cascade communication method and cascade circuit
CN102023843B (en) Function calling method and device as well as smart card
KR20160055220A (en) Method, Apparatus and Terminal For Processor Core Processing
CN104765600A (en) Page processing method
CN108156320A (en) Icon auto arranging method, icon automatic arranging device and terminal device
CN103207778A (en) Method, device and mobile terminal for modifying icons
CN109471835A (en) A kind of page display method of application program, device and storage medium
CN103729051A (en) Display control method and terminal
CN107959759A (en) Electronic equipment, display control method and related product
CN109547292A (en) It is a kind of to select system according to the network routes of network quality
CN106535245A (en) Different system measurement method and multi-mode mobile terminal
CN103123623A (en) Method and device for providing webpage hierarchy information
CN104765599A (en) Terminal

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
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180428

Granted publication date: 20171215

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20171215

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

Granted publication date: 20171215

Termination date: 20200226