CN105096909A - Method for adjusting power consumption and electronic device - Google Patents

Method for adjusting power consumption and electronic device Download PDF

Info

Publication number
CN105096909A
CN105096909A CN201410222712.8A CN201410222712A CN105096909A CN 105096909 A CN105096909 A CN 105096909A CN 201410222712 A CN201410222712 A CN 201410222712A CN 105096909 A CN105096909 A CN 105096909A
Authority
CN
China
Prior art keywords
color value
color
power consumption
map information
low
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.)
Pending
Application number
CN201410222712.8A
Other languages
Chinese (zh)
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.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software 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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201410222712.8A priority Critical patent/CN105096909A/en
Priority to PCT/CN2014/093310 priority patent/WO2015176524A1/en
Publication of CN105096909A publication Critical patent/CN105096909A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention discloses a method for adjusting power consumption and an electronic device. The method includes the steps as follows: confirming a low-power consumption color value corresponding to a color value of a pixel data according to a color mapping information sheet when the pixel data in the frame buffer is updated, and replacing the color value of the pixel data in the frame buffer with the low-power consumption color value; and displaying according to the replaced pixel data in the frame buffer.

Description

A kind of method and electronic equipment adjusting power consumption
Technical field
The present invention relates to the control technology of electronic equipment, particularly relate to a kind of method and the electronic equipment that adjust power consumption.
Background technology
The function of electronic equipment especially mobile terminal is no longer confined to basic information communication, and the functions such as video, chat, office, game also come one after another.Particularly in recent years along with the hardware configuration of mobile terminal progressively promotes and uses more and more extensive, the simple application of inner integrated or early development, such as trivial games can not meet the new demand of gorgeous degree, fluency and the complexity that people apply terminal is played again, a lot of picture is better, and the application that animation effect is more complicated also occurs on the mobile apparatus in succession.But, along with the complicated and gorgeous application of increasing picture runs in the electronic device, make the power consumption of electronic equipment increasing, thus had a strong impact on the cruising time of electronic equipment.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of method and the electronic equipment that adjust power consumption.
The invention provides a kind of method adjusting power consumption, described method comprises:
When the pixel data in frame buffer upgrades,
Determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table, the color value of pixel data described in described frame buffer is replaced with described low-power consumption color value;
Show according to the pixel data after replacing in described frame buffer.
In such scheme, described color map information table comprises: original color value and low-power consumption color value corresponding to original color value.
In such scheme, described method also comprises: preserve one or more color map information table;
Described color map information table comprises: four information fields;
Wherein, first information territory is identification information, for identifying application corresponding to described color map information table;
Second information field is original color value;
3rd information field is the low-power consumption color value that original color value is corresponding;
4th information field is the alternative low-power consumption color value that original color value is corresponding.
In such scheme, described determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table before, described method also comprises:
Determine the application that described frame buffer is corresponding, select color map information table according to the mark of described application.
In such scheme, describedly determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table, the color value of pixel data described in described frame buffer replaced with described low-power consumption color value, comprising:
From pixel data, extract color value, using the described color value of extraction as original color value, according to color map information table, determine the low-power consumption color value that original color value is corresponding;
Extraction color value is replaced with described low-power consumption color value;
The rest may be inferred, until the whole color values in pixel data all replace with described low-power consumption color value.
In such scheme, described method also comprises: when application initializes, preserves the setting to color map information table corresponding to described application.
Present invention also offers a kind of electronic equipment, described electronic equipment comprises:
Monitoring modular, for when monitoring the pixel data in frame buffer and upgrading, notice execution module carries out color value conversion;
Execution module, for the notice sent according to monitoring modular, determine the low-power consumption color value corresponding with the color value of described pixel data according to the color map information table in map information storehouse, the color value of pixel data described in described frame buffer is replaced with described low-power consumption color value;
Display unit, for showing according to the pixel data after replacement in described frame buffer;
Map information storehouse, for the map information table that saves colors.
In such scheme, described map information storehouse, specifically for preserving the color map information table be made up of original color value and low-power consumption color value corresponding to original color value.
In such scheme, described map information storehouse, specifically for preserving one or more color map information table;
Described color map information table comprises: four information fields;
Wherein, first information territory is identification information, for identifying application corresponding to described color map information table;
Second information field is original color value;
3rd information field is the low-power consumption color value that original color value is corresponding;
4th information field is the alternative low-power consumption color value that original color value is corresponding.
In such scheme, described execution module comprises: color information searches submodule, for determining the application that described frame buffer is corresponding, according to mark selected color map information table from described map information storehouse of described application.
In such scheme, described execution module also comprises: replace subelement, for extracting color value from pixel data, the described color value extracted is sent to color information as original color value and searches submodule, reception color information searches the low-power consumption color that submodule returns, and extraction color value is replaced with described low-power consumption color value; The rest may be inferred, until the whole color values in pixel data all replace with described low-power consumption color value;
Accordingly, described color information searches submodule, also for the color map information table according to map information storehouse, determines the low-power consumption color value that original color value is corresponding.
In such scheme, described electronic equipment also comprises: color information configuration module, for when application initializes, is saved to the setting of color map information table corresponding to described application in map information storehouse.
The method of adjustment power consumption provided by the present invention and electronic equipment, according to color map information table, the color value of pixel data in frame buffer can be converted to low-power consumption color value, so, just can when ensureing not have an impact to the operation of application, reduce the operation power consumption of electronic equipment, promote the flying power of electronic equipment, ensure that the experience of user.
Accompanying drawing explanation
The method flow schematic diagram one of the adjustment power consumption that Fig. 1 provides for the embodiment of the present invention;
The electronic equipment composition structural representation one that Fig. 2 provides for the embodiment of the present invention;
The method flow schematic diagram two of the adjustment power consumption that Fig. 3 provides for the embodiment of the present invention;
The method flow schematic diagram three of the adjustment power consumption that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 a is the original display interface schematic diagram not enabling the embodiment of the present invention;
Fig. 5 b is the display interface schematic diagram after enabling embodiment of the present invention adjustment power consumption;
The electronic equipment composition structural representation two that Fig. 6 provides for the embodiment of the present invention;
The color map information table composition schematic diagram that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Embodiment one,
Fig. 1 is the method for the adjustment power consumption that the embodiment of the present invention provides, specific as follows:
Step 101: when the pixel data in frame buffer upgrades, determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table, the color value of pixel data described in described frame buffer is replaced with described low-power consumption color value.
Step 102: show according to the pixel data after replacing in described frame buffer.
Here, described pixel data is the data message of buffer memory in frame buffer in prior art, can comprise: the multiple pixels corresponding with the resolution of each frame of system, and the color value that each pixel is corresponding, such as, resolution is 800x600, then pixel data comprises 800x600 pixel, and the color value that each pixel is corresponding.
Described color map information table comprises: original color value and low-power consumption color value corresponding to described original color value; Wherein, the color value of the brightness value designated value lower than described original color value in described low-power consumption color value and color value.Described designated value can be the numerical value preset according to actual conditions.
Here, be understandable that, in prior art, in frame buffer, pixel data have employed HSL color mode, i.e. form and aspect (H), saturation degree (S), lightness (L) pattern; Under this pattern, when the pixel data of display frame buffer memory, under tone and the constant prerequisite of saturation degree, the brightness value of color is lower, more saves power consumption.Therefore, during by color value being replaced with brightness value low color value, display power consumption number will be reduced.
Preferably, system can preserve one or more color map information table, the corresponding a kind of application of each color map information table, and wherein, described application can be game, or web application etc.;
Described color map information table can comprise: four information fields;
Wherein, first information territory is identification information, for identifying application corresponding to described color map information table, can comprise the mark of described application, namely described color map information table is the configuration information belonging to which application, and the mark of described application can be the title of application;
Second information field is one or more original color value;
3rd information field is the low-power consumption color value that original color value is corresponding; Described low-power consumption color value can be selected then by user, or by Systematic selection;
4th information field is the alternative low-power consumption color value that original color value is corresponding.
Accordingly, described determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table before, can comprise: determine the application that described frame buffer is corresponding, select color map information table according to the mark of described application.
Wherein, described determine frame buffer corresponding be applied as prior art, should being used for of such as direct current operation of being recorded by CPU is determined.
Preferably, describedly determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table, the color value of pixel data described in described frame buffer replaced with described low-power consumption color value, can comprise:
Color value is extracted from pixel data,
Using the described color value of extraction as original color value, according to color map information table, determine the low-power consumption color value that original color value is corresponding;
Extraction color value is replaced with described low-power consumption color value; The rest may be inferred, until the whole color values in pixel data all replace with described low-power consumption color value.
Wherein, described extraction pixel data can extract for starting anew according to the queue of pixel data; Wherein, putting in order as prior art of the queue of described pixel data, does not repeat here.
Preferably, before execution step 101, can also comprise: described color map information table is set; Or, when any one application initializes, the color map information table that described application is corresponding is set.
Wherein, described when any one application initializes, the described color map information table preserving described application corresponding is specially: when initialization is carried out in any one application, what show color map information table corresponding to described application arranges interface, receives and preserves the color map information table after being provided with;
Such as, when game initialization, system arranges showing interface to user by color map information table corresponding for described application, and user is provided with and then sets up the color map information table of described application correspondence after confirming.Equally, user can select suitable mapped color according to the aesthetic hobby of oneself from alternative low-power consumption color-set, mapping database is reconfigured with this, namely the autonomous color value of high power consumption in mapping database of giving arranges a corresponding low-power consumption color, thus builds a new mapping database.
Preferably, above-mentioned when application initializes, the color map information table arranging described application corresponding can also comprise: judge that described application is the need of the conversion carrying out pixel color value, when needed, arranges the color map information table that described application is corresponding; Otherwise do not arrange described application, accordingly, this application operationally, would not carry out the conversion of color value.
Wherein, the described application of described judgement the need of the conversion carrying out pixel color value can be: the conversion application of predefined type not being carried out all the time to pixel color value; Or, the application of predefined type is carried out to the conversion of pixel color; Predeterminedly judge that application is the need of the conversion carrying out pixel color value according to above-mentioned.
So, can ensure Consumer's Experience when some application run, such as, when movie, user does not wish color value to change, and wishes to ensure visual experience, so, just can select the conversion operations application such as player not being carried out to color value.
Color value described in the embodiment of the present invention is according to R, G, the trichromatic data of B calculate respectively, by finely tuning R to primitive color in the scope of low-power consumption, G, the numerical value of B, show that the similar color value of high, normal, basic three kinds of power consumption level is as low-power consumption alternate color, and acquiescence adopts other color of middle grade to be mapped color value.
Visible, pass through such scheme, according to color map information table, the color value of pixel data in frame buffer can be converted to low-power consumption color value, so, just can when ensureing not have an impact to the operation of application, reduce the operation power consumption of electronic equipment, promote the flying power of electronic equipment, ensure that the experience of user.
Embodiment two,
The electronic equipment that the present embodiment provides, as shown in Figure 2, comprising:
Monitoring modular 21, for when monitoring the pixel data in frame buffer and upgrading, notice execution module carries out color value conversion;
Execution module 22, for the notice sent according to monitoring modular, determine the low-power consumption color value corresponding with the color value of described pixel data according to the color map information table in map information storehouse 24, the color value of pixel data described in described frame buffer is replaced with described low-power consumption color value;
Display unit 23, for showing according to the pixel data after replacement in described frame buffer;
Map information storehouse 24, for the map information table that saves colors.
Wherein, described pixel data is the data message of buffer memory in frame buffer in prior art, can comprise: the multiple pixels corresponding with the resolution of each frame of system, and the color value that each pixel is corresponding, such as, resolution is 800x600, then pixel data comprises 800x600 pixel, and the color value that each pixel is corresponding.
Preferably, described map information storehouse 24, for preserving the color map information table be made up of original color value and low-power consumption color value corresponding to original color value; Wherein, the color value of the brightness value designated value lower than described original color value in described low-power consumption color value and color value.Described designated value can be the numerical value preset according to actual conditions.
Here, be understandable that, in prior art, in frame buffer, pixel data have employed HSL color mode, i.e. form and aspect (H), saturation degree (S), lightness (L) pattern; Under this pattern, when the pixel data of display frame buffer memory, under tone and the constant prerequisite of saturation degree, the brightness value of color is lower, more saves power consumption.Therefore, during by color value being replaced with brightness value low color value, display power consumption number will be reduced.
Or described map information storehouse 24, for preserving one or more color map information table;
Described color map information table comprises: four information fields;
Wherein, first information territory is identification information, for identifying application corresponding to described color map information table, can comprise the mark of described application, namely described color map information table is the configuration information belonging to which application, and the mark of described application can be the title of application;
Second information field is original color value;
3rd information field is the low-power consumption color value that original color value is corresponding;
4th information field is the alternative low-power consumption color value that original color value is corresponding.
Described execution module also comprises: color information searches submodule, for determining the application that described frame buffer is corresponding, according to mark selected color map information table from described map information storehouse of described application.
Described execution module also comprises: replace subelement, for extracting color value from pixel data, the described color value extracted is sent to color information as original color value and searches submodule, reception color information searches the low-power consumption color that submodule returns, and extraction color value is replaced with described low-power consumption color value; The rest may be inferred, until the whole color values in pixel data all replace with described low-power consumption color value; Accordingly, described color information searches submodule, also for the color map information table according to map information storehouse 24, determines the low-power consumption color value that original color value is corresponding; Wherein, described extraction pixel data can extract for starting anew according to the queue of pixel data.
Wherein, putting in order as prior art of the queue of described pixel data, does not repeat here.
Preferably, described electronic equipment also comprises: color information configuration module 25, for when application initializes, is saved to the setting of color map information table corresponding to described application in map information storehouse 24.Wherein, described when any one application initializes, the described color map information table preserving described application corresponding is specially: when initialization is carried out in any one application, what show color map information table corresponding to described application arranges interface, receives and preserves the color map information table after being provided with;
Such as, when game initialization, system arranges showing interface to user by color map information table corresponding for described application, and user is provided with and then sets up the color map information table of described application correspondence after confirming.Equally, user can select suitable mapped color according to the aesthetic hobby of oneself from alternative low-power consumption color-set, mapping database is reconfigured with this, namely the autonomous color value of high power consumption in mapping database of giving arranges a corresponding low-power consumption color, thus builds a new mapping database.
Described map information storehouse 24, also for judging that described application is the need of the conversion carrying out pixel color value, when needed, arranges the color map information table that described application is corresponding; Otherwise do not arrange described application, accordingly, this application operationally, would not carry out the conversion of color value.
Wherein, the described application of described judgement the need of the conversion carrying out pixel color value can be: the conversion application of predefined type not being carried out all the time to pixel color value; Or, the application of predefined type is carried out to the conversion of pixel color; Predeterminedly judge that application is the need of the conversion carrying out pixel color value according to above-mentioned.
So, can ensure Consumer's Experience when some application run, such as, when movie, user does not wish color value to change, and wishes to ensure visual experience, so, just can select the conversion operations application such as player not being carried out to color value.
Described monitoring modular, specifically for when the UI having any one to apply changes, when described application is updated to the pixel data of correspondence in frame buffer, notice execution module carries out pixel color optimization.
Color information configuration module 25, can provide an interface to use to user, and such as, when game initialization, the default color configuration information of current mapping database is showed user by system, and user then builds a mapping database after confirming.
Equally, user can select suitable mapped color according to the aesthetic hobby of oneself from alternative low-power consumption color-set, mapping database is reconfigured with this, namely the autonomous color value of high power consumption in mapping database of giving arranges a corresponding low-power consumption color, thus builds a new mapping database.Color data is according to R, G, the trichromatic data of B calculate respectively, by finely tuning R to primitive color in the scope of low-power consumption, G, the numerical value of B, show that the similar color value of high, normal, basic three kinds of power consumption level is as low-power consumption alternate color, and acquiescence adopts other color of middle grade to be mapped color value.System repeats the conversion of pixel color value, until after completing the conversion of whole frame buffer data, finally can be presented at color data amended in frame buffer in LCD screen, thus reaches the object of economize on electricity.
Preferably, above-mentioned monitoring modular, execution module all can by hardware implementing such as CPU or DSP; Described display unit can be realized by touch display screen; Described map information storehouse can by the storer in electronic equipment, the realizations such as such as ROM or RAM; Color information configuration module can coordinate realization by the hardware such as touch display screen and CPU.
Embodiment three,
Below, by an embodiment, the method for adjustment power consumption provided by the invention is described in detail, as shown in Figure 3, as follows:
Step 301: the Monitor thread of monitoring modular resides backstage, Real-Time Monitoring frame buffer (FrameBuffer).
Step 302: when monitor in frame buffer have Data Update time, perform step 303;
When do not monitor in frame buffer have Data Update time, continue perform monitoring.
Step 303: Inter-Process Communication, the frame buffer of Monitor thread dispatching notification interface notice execution module has Data Update, needs to perform pixel color optimization.
Step 304: execution module read pixel source color value one by one from frame buffer, calls the Retrieval Interface that color information searches module, searches the low-power consumption color value corresponding with pixel source color value from mapping database.
Step 305: revise current pixel source color value with the new low-power consumption color value found, and amended color value is updated in frame buffer.
Step 306, whether the pixel in judgment frame buffer memory has processed, if completed, then shows according to the pixel data after replacement in described frame buffer, then returns step 301, restart the monitoring of next round frame buffer; Otherwise, still continue read pixel from frame buffer, restart step 304.
Embodiment four,
The present embodiment is the flow process that the mapping database of high low-power consumption color data in the power consumption of the application method of adjustment power consumption provided by the invention being applied to reduction game class creates or upgrades, as shown in Figure 4, as follows:
Step S401, starts game application software.
Step S402, judges whether to start games festival Electricity Functional, if open, performs step S404; Otherwise, perform step S403.
Here, described judgement can be: judge whether to need to start games festival Electricity Functional according to the selection of user.
Step S403, continue game application, end process flow process.
Step S404, judges whether the color configuration data using acquiescence, if do not use, then performs step S405; If use, then perform step S406.
Here, described judgement can be: display reminding information is for inquiring whether user uses the color configuration data of acquiescence, and the selection according to user judges.
Step S405, ejects color configuration panel, arranges the low-power consumption color value of playing corresponding to color with current source for user, then performs step S403.
Step S406, adopts the colouring information given tacit consent in mapping database, then performs step S403.
Here, be described, as shown in Fig. 5 a and Fig. 5 b with the implementation result of contrast sectional drawing to this programme of the game screen enabling this programme by not enabling.Wherein, Fig. 5 a is the operating pattern of original game not enabling this programme, and Fig. 5 b is the sectional drawing in the game running after enabling energy-saving scheme.
In Fig. 5 a, the HSL value of viewing area 51 correspondence is respectively tone 32, saturation degree 190, brightness 125; The HSL value of viewing area 53 correspondence is respectively tone 0, saturation degree 240, brightness 120; The HSL value of viewing area 52 correspondence is respectively tone 40, saturation degree 240, brightness 120; The tone 80 of background, saturation degree 240, brightness 120;
Fig. 5 b is the displaying contents after the color value power consumption of the present embodiment replaces it, and wherein the HSL value of viewing area 51 correspondence is respectively tone 32, saturation degree 190, brightness 75; The HSL value of viewing area 53 correspondence is respectively tone 0, saturation degree 240, brightness 70; The HSL value of viewing area 52 correspondence is respectively tone 40, saturation degree 240, brightness 70; Background is tone 80, saturation degree 240, brightness 70.
By comparison diagram 5a and Fig. 5 b, be not difficult to find, the difference of two figure is just to have changed the brightness value of wherein viewing area 51, viewing area 52, viewing area 53 and background.But, through experiment, draw the power consumption contrast of its transient frame image: not enabling this programme needs to consume 186mA electric current, enables this programme and then only consumes 162mA.Visible, adopt this programme when ensureing not have an impact to the operation of application, the operation power consumption of electronic equipment can be reduced, promote the flying power of electronic equipment, ensure that the experience of user reduces.
Embodiment five,
Below in conjunction with the structure of the electronic equipment that above-described embodiment provides, a kind of implementation of the present invention is described, as shown in Figure 6, comprises:
Monitoring modular 61, is responsible for real-time supervisory frame buffer memory, and backstage starts a monitoring Monitor thread 611, real-time listening frame buffer FrameBuffer60;
Execution module 62, is responsible for the conversion work performing pixel color value in frame buffer; According to given pixel source color value, in mapping database 64, search the low-power consumption color value of its correspondence.
Mapping database 64, comprises one group of color map information table, the corresponding a kind of game of each table.This table comprises at least four territories, it is the configuration information belonging to which game that first territory indicates current information table, second territory is original high power consumption color value of playing, 3rd territory is the low-power consumption color value that game adopts, and the 4th territory provides an alternative pack low-power dissipation color value for the 3rd territory.
The color value of highly energy-consuming on interface, when game running, by the color value of pixel in sampling FrameBuffer60, is converted to the color value of low power consuming, thus reaches certain power savings when being presented at after on liquid crystal display by the present embodiment.
The present embodiment also add user and configures exercisable color information configuration module 63 on the basis of above-mentioned module, is responsible for the content set up mapping database or upgrade in mapping database.The function of this module is supplied to user specially to use.When game initialization, the default color configuration information of current mapping database is showed user by system, and user then builds a mapping database after confirming.
Equally, user can reconfigure mapping database according to the aesthetic hobby of oneself, arranges a corresponding low-power consumption color namely to the color value of high power consumption in mapping database, thus builds a new mapping database.
Fig. 7 is the structural representation of the color map information table that first embodiment of the invention provides, and first information territory 71 is game number, indicates current mapping database and belongs to which game application; Second information field 72 is source color value, refers to the original color value of the pixel read from FrameBuffer; 3rd information field 73 is low-power consumption color value, and refer to the final goal color value that needs are converted to from source color value, this color data can set from user, also can be the default number that system-computed goes out; 4th information field 74 is alternative low-power consumption color value, and be supplied to user or the alternative pack low-power dissipation color value of system, its final selected results is low-power consumption color value.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (12)

1. adjust a method for power consumption, it is characterized in that, described method comprises:
When the pixel data in frame buffer upgrades,
Determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table, the color value of pixel data described in described frame buffer is replaced with described low-power consumption color value;
Show according to the pixel data after replacing in described frame buffer.
2. method according to claim 1, is characterized in that, described color map information table comprises: original color value and low-power consumption color value corresponding to original color value.
3. method according to claim 1, is characterized in that, described method also comprises: preserve one or more color map information table;
Described color map information table comprises: four information fields;
Wherein, first information territory is identification information, for identifying application corresponding to described color map information table;
Second information field is original color value;
3rd information field is the low-power consumption color value that original color value is corresponding;
4th information field is the alternative low-power consumption color value that original color value is corresponding.
4. method according to claim 3, is characterized in that, described determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table before, described method also comprises:
Determine the application that described frame buffer is corresponding, select color map information table according to the mark of described application.
5. the method according to any one of claim 1-4, it is characterized in that, describedly determine the low-power consumption color value corresponding with the color value of described pixel data according to color map information table, the color value of pixel data described in described frame buffer replaced with described low-power consumption color value, comprising:
From pixel data, extract color value, using the described color value of extraction as original color value, according to color map information table, determine the low-power consumption color value that original color value is corresponding;
Extraction color value is replaced with described low-power consumption color value;
The rest may be inferred, until the whole color values in pixel data all replace with described low-power consumption color value.
6. method according to claim 3, is characterized in that, described method also comprises: when application initializes, preserves the setting to color map information table corresponding to described application.
7. an electronic equipment, is characterized in that, described electronic equipment comprises:
Monitoring modular, for when monitoring the pixel data in frame buffer and upgrading, notice execution module carries out color value conversion;
Execution module, for the notice sent according to monitoring modular, determine the low-power consumption color value corresponding with the color value of described pixel data according to the color map information table in map information storehouse, the color value of pixel data described in described frame buffer is replaced with described low-power consumption color value;
Display unit, for showing according to the pixel data after replacement in described frame buffer;
Map information storehouse, for the map information table that saves colors.
8. electronic equipment according to claim 7, is characterized in that, described map information storehouse, specifically for preserving the color map information table be made up of original color value and low-power consumption color value corresponding to original color value.
9. electronic equipment according to claim 7, is characterized in that, described map information storehouse, specifically for preserving one or more color map information table;
Described color map information table comprises: four information fields;
Wherein, first information territory is identification information, for identifying application corresponding to described color map information table;
Second information field is original color value;
3rd information field is the low-power consumption color value that original color value is corresponding;
4th information field is the alternative low-power consumption color value that original color value is corresponding.
10. electronic equipment according to claim 9, it is characterized in that, described execution module comprises: color information searches submodule, for determining the application that described frame buffer is corresponding, according to mark selected color map information table from described map information storehouse of described application.
11. electronic equipments according to claim 10, it is characterized in that, described execution module also comprises: replace subelement, for extracting color value from pixel data, the described color value extracted is sent to color information as original color value and searches submodule, reception color information searches the low-power consumption color that submodule returns, and extraction color value is replaced with described low-power consumption color value; The rest may be inferred, until the whole color values in pixel data all replace with described low-power consumption color value;
Accordingly, described color information searches submodule, also for the color map information table according to map information storehouse, determines the low-power consumption color value that original color value is corresponding.
12. electronic equipments according to claim 9, is characterized in that, described electronic equipment also comprises: color information configuration module, for when application initializes, are saved to the setting of color map information table corresponding to described application in map information storehouse.
CN201410222712.8A 2014-05-23 2014-05-23 Method for adjusting power consumption and electronic device Pending CN105096909A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410222712.8A CN105096909A (en) 2014-05-23 2014-05-23 Method for adjusting power consumption and electronic device
PCT/CN2014/093310 WO2015176524A1 (en) 2014-05-23 2014-12-08 Power consumption adjustment method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410222712.8A CN105096909A (en) 2014-05-23 2014-05-23 Method for adjusting power consumption and electronic device

Publications (1)

Publication Number Publication Date
CN105096909A true CN105096909A (en) 2015-11-25

Family

ID=54553373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410222712.8A Pending CN105096909A (en) 2014-05-23 2014-05-23 Method for adjusting power consumption and electronic device

Country Status (2)

Country Link
CN (1) CN105096909A (en)
WO (1) WO2015176524A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107112A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Method of adjusting display interface of display screen, user interface, device, electronic apparatus and storage medium
CN113126939A (en) * 2020-01-15 2021-07-16 荣耀终端有限公司 Display method, display control device, display and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953037A (en) * 2005-10-21 2007-04-25 日本先锋公司 Display apparatus, display method, display system, server, and recording medium having program recorded thereon
TW201120868A (en) * 2009-12-03 2011-06-16 Inst Information Industry Flat panel display and image processing method for power saving thereof
CN102867484A (en) * 2011-07-07 2013-01-09 中兴通讯股份有限公司 Display control method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7075242B2 (en) * 2002-12-16 2006-07-11 Eastman Kodak Company Color OLED display system having improved performance
KR101040902B1 (en) * 2009-01-23 2011-06-16 삼성모바일디스플레이주식회사 Organic Light Emitting Display device and driving method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953037A (en) * 2005-10-21 2007-04-25 日本先锋公司 Display apparatus, display method, display system, server, and recording medium having program recorded thereon
TW201120868A (en) * 2009-12-03 2011-06-16 Inst Information Industry Flat panel display and image processing method for power saving thereof
CN102867484A (en) * 2011-07-07 2013-01-09 中兴通讯股份有限公司 Display control method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107112A1 (en) * 2015-12-23 2017-06-29 华为技术有限公司 Method of adjusting display interface of display screen, user interface, device, electronic apparatus and storage medium
US11036272B2 (en) 2015-12-23 2021-06-15 Huawei Technologies Co., Ltd. Method and apparatus for adjusting display interface of screen, user interface, electronic device, and storage medium
CN113126939A (en) * 2020-01-15 2021-07-16 荣耀终端有限公司 Display method, display control device, display and electronic equipment
CN113126939B (en) * 2020-01-15 2022-05-31 荣耀终端有限公司 Display method, display control device, display and electronic equipment

Also Published As

Publication number Publication date
WO2015176524A1 (en) 2015-11-26

Similar Documents

Publication Publication Date Title
CN106933326B (en) A kind of method, device and mobile terminal of the Power Saving Class of dynamic regulation terminal
CN106791212B (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
CN106933587B (en) Layer drawing control method and device and mobile terminal
US10228830B2 (en) Method for starting application program, terminal and non-transitory computer readable storage medium
CN106936995B (en) A kind of control method, device and the mobile terminal of mobile terminal frame per second
CN107426608A (en) A kind of television channel searching method, smart machine and storage medium
CN106919401A (en) A kind of method of dynamic regulation resolution ratio, device and mobile terminal
CN105677265A (en) Display method and terminal
CN110990741B (en) Page display method and device, electronic equipment, server and storage medium
CN102800048B (en) A kind of display packing of electronic chart convergent-divergent
WO2017190438A1 (en) Display control method and apparatus
CN102929650A (en) Method and device for independently configuring application program running environment and mobile device
CN103914204A (en) Method and device for displaying and switching views
CN104780419A (en) Seamless switchover system and method of application scene and channel
CN104503564A (en) Control method and device for picture refreshing of application program
CN104460940A (en) Energy-saving display method and system of screen of smart phone or tablet personal computer
CN105373373B (en) Method and device for quickly generating icon
CN105096909A (en) Method for adjusting power consumption and electronic device
CN105373358A (en) Screen resolution adjustment method and mobile terminal
CN105807890B (en) Information display method and device and electronic equipment
CN103677702A (en) Display method and electronic device
US20200192554A1 (en) Terminal device, display control method implemented by the terminal device, computer readable storage medium and computer program product
CN103809984A (en) Data display method and electronic equipment
CN112882762A (en) Power consumption optimization method, device, equipment and storage medium for ink screen equipment
CN104740873A (en) Image rendering method for game

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125