CN104200787B - A kind of brightness adjusting method, device and electronic equipment - Google Patents
A kind of brightness adjusting method, device and electronic equipment Download PDFInfo
- Publication number
- CN104200787B CN104200787B CN201410468549.3A CN201410468549A CN104200787B CN 104200787 B CN104200787 B CN 104200787B CN 201410468549 A CN201410468549 A CN 201410468549A CN 104200787 B CN104200787 B CN 104200787B
- Authority
- CN
- China
- Prior art keywords
- display screen
- printing opacity
- parameter
- parameter value
- electronic equipment
- 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.)
- Active
Links
Abstract
The invention provides a kind of brightness adjusting method, the method is applied to have in the electronic equipment of display screen, the method includes: obtain the parameter information in this electronic equipment, according to this parameter information and default transparency adjusting condition, the printing opacity parameter value of this display screen is adjusted, with reduce due to transparency draw this thus produce power consumption;Then, printing opacity parameter value according to this display screen is to the corresponding relation of the image processing data of display in display screen, determine the image processing data that this printing opacity parameter value is corresponding, and then according to this image processing data, the process of image procossing in this electronic equipment is adjusted, to reduce the consumption to the power consumption in image processing process.Use this brightness adjusting method, it is possible to realize the reduction to power consumption from the printing opacity parameter value and image processing process both direction changing display screen, inherently solve the problem that electronic equipment screen power consumption is big.
Description
Technical field
The present invention relates to electronic device field, in particular, relate to a kind of brightness adjusting method, dress
Put and electronic equipment.
Background technology
Along with the development of electronic technology, various display screens, especially LCD (Liquid Crystal
Display, liquid crystal display) screen is widely used in various electronic equipment.
In the prior art, in order to reduce the power consumption of electronic equipment lcd screen, general increase by should
With, with realize display screen light transmittance is adjusted, specially user according to demands of individuals manually to screen
Curtain brightness is adjusted at utmost reducing screen intensity, so that electronic equipment need not be to showing in LCD screen
Show that content carries out transparency drafting, decrease data processing amount, reduce the power consumption of electronic equipment.
But, this regulation realizes screen is exported brightness simply by the regulation of the printing opacity value to display screen
Regulation, say, that by painting of the transparency of display content that the screen of electronic equipment is exported
The change of system, although so can reduce the power consumption of electronic equipment to a certain extent;But, electronics
The screen of equipment has many factors to determine at the power consumption of output display content, only reduces due to thoroughly
Lightness draw this thus produce power consumption, the most substantially solve the screen power consumption of electronic equipment
Big problem.
Summary of the invention
In view of this, the invention provides a kind of brightness adjusting method, solve and existing only electronics is set
Standby transparency draw this thus the power consumption that produces reduce, and can not inherently solve electronics
The problem that device screen power consumption is big.
For achieving the above object, the present invention provides following technical scheme:
A kind of brightness adjusting method, is applied to the electronic equipment with display screen, including:
Obtain the parameter information of described electronic equipment;
According to described parameter information and default transparency adjusting condition, determine that described parameter information is corresponding
Printing opacity parameter value, and the printing opacity parameter of described display screen is regulated according to described printing opacity parameter value;
According to the corresponding relation of the described printing opacity parameter value preset with image processing data, determine with described
The image processing data that beche-de-mer without spike numerical value is corresponding;
According to described image processing data, image processing process in described electronic equipment is adjusted.
Above-mentioned method, it is preferred that when described parameter information is current time, the described electronics of described acquisition
The parameter information of equipment includes:
Obtain the current time of described electronic equipment Timer record.
Above-mentioned method, it is preferred that described according to described parameter information and preset transparency adjusting condition,
Determine the printing opacity parameter value that described parameter information is corresponding, and regulate described display according to described printing opacity parameter value
The printing opacity parameter of screen includes:
According to the corresponding relation of moment and the printing opacity parameter value preset, determine corresponding saturating of described current time
Beche-de-mer without spike numerical value;
According to the printing opacity parameter value that described current time is corresponding, adjust the printing opacity parameter of display screen.
Above-mentioned method, it is preferred that the described printing opacity parameter value corresponding according to described current time, adjusts
The printing opacity parameter of display screen includes;
According to the corresponding relation of the printing opacity parameter value preset with the rendering parameter of described display screen, determine institute
State the first rendering parameter that current time is corresponding;
According to described first rendering parameter, the rendering parameter of described display screen is adjusted, adjusts described
Display screen printing opacity parameter.
Above-mentioned method, it is preferred that described parameter information is the operating file information of application program, described
The parameter information obtaining described electronic equipment includes:
Detect the operating file information of application program in described electronic equipment.
Above-mentioned method, it is preferred that described according to described parameter information and preset transparency adjusting condition,
Determine the printing opacity parameter value that described parameter information is corresponding, and regulate described display according to described printing opacity parameter value
The printing opacity parameter of screen includes:
Application program currently displaying in described display screen is determined according to described operating file information;
According to the application program preset and the corresponding relation of the rendering parameter of described display screen, determine and institute
State the second rendering parameter that application program is corresponding;
According to described second rendering parameter, the rendering parameter of described display screen is adjusted, adjusts described
The printing opacity parameter value of display screen.
Above-mentioned method, it is preferred that when described image processing data is transmission frame number FPS per second, institute
State according to described image processing data, image processing process in described electronic equipment is adjusted, including:
The refresh rate of described display screen is regulated according to described FPS numerical value.
Above-mentioned method, it is preferred that when the color numerical digit that described image processing data is display screen,
The printing opacity parameter value of the described display screen brake sack that described foundation is preset and the corresponding relation of image procossing,
Determine that the image processing data corresponding with described printing opacity parameter value includes:
Judge that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;
If it is lower, determine that the color digit information revising described display screen is white and black displays.
Above-mentioned method, it is preferred that described according to described image processing data, in described electronic equipment
Image processing process is adjusted including:
According to the amendment condition preset, revise the color figure place information of described display screen, by described display
The display mode of screen is white and black displays by colored vision-control.
A kind of brightness regulating apparatus, is applied to the electronic equipment with display screen, including:
Acquisition module, for obtaining the parameter information of described electronic equipment;
First adjustment module, for according to described parameter information and default transparency adjusting condition, determining
The printing opacity parameter value that described parameter information is corresponding, and regulate described display screen according to described printing opacity parameter value
Printing opacity parameter;
Determine module, for the corresponding relation according to the described printing opacity parameter value preset with image processing data,
Determine the image processing data corresponding with described printing opacity parameter value;
Second adjustment module, for according to described image processing data, at image in described electronic equipment
Reason process is adjusted.
Above-mentioned device, it is preferred that when described parameter information is current time, described acquisition module is concrete
For:
Obtain the current time of described electronic equipment Timer record.
Above-mentioned device, it is preferred that described first adjustment module includes:
First determines unit, for the corresponding relation according to the moment preset with printing opacity parameter value, determines institute
State the printing opacity parameter value that current time is corresponding;
First regulation unit, for the printing opacity parameter value corresponding according to described current time, adjusts display screen
The printing opacity parameter of curtain.
Above-mentioned device, it is preferred that described first regulation unit includes;
Determine subelement, for the rendering parameter according to the printing opacity parameter value preset and described display screen
Corresponding relation, determines the first rendering parameter that described current time is corresponding;
Regulon unit, is carried out the rendering parameter of described display screen with according to described first rendering parameter
Adjust, adjust described display screen printing opacity parameter.
Above-mentioned device, it is preferred that described parameter information is the operating file information of application program, described
Acquisition module specifically for:
Detect the operating file information of application program in described electronic equipment.
Above-mentioned device, it is preferred that described first adjustment module includes:
Second determines unit, currently shows for determining in described display screen according to described operating file information
The application program shown;
3rd determines unit, for the rendering parameter according to the application program preset and described display screen
Corresponding relation, determines second rendering parameter corresponding with described application program;
Second regulation unit, for according to described second rendering parameter rendering parameter to described display screen
It is adjusted, adjusts the printing opacity parameter value of described display screen.
Above-mentioned device, it is preferred that when described image processing data is transmission frame number FPS per second, institute
State the second adjustment module specifically for:
The refresh rate of described display screen is regulated according to described FPS numerical value.
Above-mentioned device, it is preferred that when the color numerical digit that described image processing data is display screen,
Described determine module specifically for:
Judge that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;
If it is lower, determine that the color digit information revising described display screen is white and black displays.
Above-mentioned device, it is preferred that described second adjustment module specifically for:
According to the amendment condition preset, revise the color figure place information of described display screen, by described display
The display mode of screen is white and black displays by colored vision-control.
A kind of electronic equipment, it is characterised in that including: be provided with display screen and any of the above-described institute
State brightness regulating apparatus.
Understand via above-mentioned technical scheme, compared with prior art, the invention provides a kind of brightness and adjust
Joint method, the method is applied to have in the electronic equipment of display screen, and the method includes: obtain this electricity
Parameter information in subset, according to this parameter information and default transparency adjusting condition, to this display
The printing opacity parameter value of screen is adjusted, with reduce due to transparency draw this thus produce power consumption
Amount;Then, according to the printing opacity parameter value of this display screen to the image processing data of display in display screen
Corresponding relation, determine the image processing data that this printing opacity parameter value is corresponding, and then according to this image procossing
The process of image procossing in this electronic equipment is adjusted by information, to reduce in image processing process
The consumption of power consumption.Use this brightness adjusting method, it is possible to from change display screen printing opacity parameter value and
Image processing process both direction realizes the reduction to power consumption, inherently solves electronic equipment screen
The problem that power consumption is big.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of a kind of brightness adjusting method embodiment 1 that Fig. 1 provides for the present invention;
The flow chart of a kind of brightness adjusting method embodiment 2 that Fig. 2 provides for the present invention;
The flow chart of step S203 in a kind of brightness adjusting method embodiment 2 that Fig. 3 provides for the present invention;
The flow chart of a kind of brightness adjusting method embodiment 3 that Fig. 4 provides for the present invention;
The flow chart of step S402 in a kind of brightness adjusting method embodiment 3 that Fig. 5 provides for the present invention;
The flow chart of a kind of brightness adjusting method embodiment 4 that Fig. 6 provides for the present invention;
The flow chart of a kind of brightness adjusting method embodiment 1 that Fig. 7 provides for the present invention;
The structural representation of a kind of brightness regulating apparatus embodiment 1 that Fig. 8 provides for the present invention;
The structural representation of a kind of brightness regulating apparatus embodiment 2 that Fig. 9 provides for the present invention;
The structure of the first regulation unit in a kind of brightness regulating apparatus embodiment 2 that Figure 10 provides for the present invention
Schematic diagram;
The structural representation of a kind of brightness regulating apparatus embodiment 3 that Figure 11 provides for the present invention;
The structural representation of a kind of brightness regulating apparatus embodiment 4 that Figure 12 provides for the present invention;
The structural representation of a kind of brightness regulating apparatus embodiment 5 that Figure 13 provides for the present invention.
Detailed description of the invention
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
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
A kind of brightness adjusting method that the application relates to and device, the electronics being applied to have display screen sets
In Bei, the display brightness of this display screen is automatically adjusted, to reduce electronic equipment power consumption.
Refer to accompanying drawing 1, for the flow chart of a kind of brightness adjusting method embodiment 1 that the present invention provides, be somebody's turn to do
Method is applied to an electronic equipment, and this electronic equipment can be desktop computer, notebook, panel computer, hands
The electronic equipments such as machine, intelligent television, intelligent watch, Wearable, have display in this electronic equipment
Screen.
The method realizes especially by following steps:
Step S101: obtain the parameter information of described electronic equipment;
Wherein, this parameter information is to represent the information that current electronic device state is relevant, and this state is correlated with
Information can be that the state of user setup is alternatively the state that electronic equipment internal is run.
Concrete, this parameter information may include that the luminance parameter letter that the operation information according to user generates
Application information of breath, external environment monochrome information, current time or operation etc..
Concrete, when electronic equipment is provided with ALS (ambient light sensor, ambient light sensing sensing
Device) time, this external environment monochrome information can be gathered.
Step S102: according to described parameter information and default transparency adjusting condition, determine described parameter
The printing opacity parameter value that information is corresponding, and the printing opacity ginseng of described display screen is regulated according to described printing opacity parameter value
Number;
Wherein, being preset with transparency adjusting condition in electronic equipment, this condition is to should parameter information and aobvious
The printing opacity parameter value of display screen curtain.
Concrete, according to this parameter information and this transparency adjusting condition, it may be determined that corresponding is transparent
Degree regulation parameter, this transparency regulation parameter is exactly the target printing opacity parameter value of display screen regulation, regulation
The printing opacity parameter value of this display screen is target printing opacity parameter value.
It should be noted that the printing opacity parameter value of this display screen is the biggest, transparency is the highest, and gray value is more
Little, screen is the brightest, is realized the brightness of regulation display screen by the printing opacity parameter value of regulation display screen
Purpose.
Concrete, when this parameter information is the luminance parameter information that the operation information according to user generates,
The target printing opacity parameter value that display screen regulates is can determine that according to this luminance parameter information.
In like manner, when the application journey that this parameter information is external environment monochrome information, current time or operation
Sequence information, according to this information and corresponding transparency adjusting condition, determines that the transparency of its correspondence is adjusted
JIESHEN number, and then according to this transparency regulation parameter, the printing opacity parameter value of this display screen is adjusted.
In being embodied as, the gray scale (transparency) of the printing opacity parameter value correspondence display screen of this display screen,
Corresponding to alpha value, (such as value 0-255, value is 0 to be all-transparent to gray value, the brightest;255 is impermeable
Bright, the most secretly).
Step S103: according to the corresponding relation of the described printing opacity parameter value preset with image processing data, really
The fixed image processing data corresponding with described printing opacity parameter value;
Wherein, electronic equipment is also preset with the corresponding relation of printing opacity parameter value and image processing data.
It should be noted that this printing opacity parameter value is the least, then the brightness of the display screen of this electronic equipment is more
Low, gray scale is the biggest.
It should be noted that when the gray scale of display screen is bigger, can show by this display screen
Image information produces impact, and such as, when the gray scale maximum of this display screen, display screen is opaque
State, the most secretly, the image of its display is the most dark, and what user saw when watching this image is also dark figure
Picture.Now, though the GPU of this electronic equipment (Graphic Processing Unit, graphic process unit)
Or image is processed and sends to this by CPU (Central Processing Unit, central processing unit)
The image information of display screen is the standard picture of standard color, standard frequency, owing to user is by dark
The dark images seen of display screen, the image causing user finally to see also is dark image.And
GPU is that outputting standard image needs to carry out substantial amounts of data process, causes the power consumption of electronic equipment the most very
High.
Therefore, according to the printing opacity parameter value of this current electronic equipment display screen curtain, in conjunction with this printing opacity parameter
Value and the corresponding relation of image processing data, determine the image processing data that this printing opacity parameter value is corresponding.
Step S104: according to described image processing data, image processing process in described electronic equipment is entered
Row regulation.
Wherein, this image processing process refers to that in electronic equipment, the information received is processed by GPU,
Obtain image information, and this image information is exported in display screen be shown.
Concrete, this image processing data is that the information received is processed and exports image by GPU
The information that process is adjusted, i.e. this image processing data are the information adjusting this GPU operational factor.
Concrete, this carries out parameter adjustment according to this image processing data to GPU so that its to image at
The process of reason is adjusted, and to reach when display screen gray scale is bigger, reduces the data volume that GPU processes,
Reach to reduce the purpose of the power consumption of this GPU.
It should be noted that when the gray scale of electronic equipment display screen curtain is the biggest, and brightness is the lowest, user's vision
Perception is the most inconspicuous, even if now reducing the precision of image procossing, the visually-perceptible of user is not affected,
Reduce the purpose of the power consumption of electronic equipment simultaneously.
To sum up, a kind of brightness adjusting method that the present embodiment provides, including: obtain in this electronic equipment
Parameter information, according to this parameter information and default transparency adjusting condition, the printing opacity to this display screen
Parameter value is adjusted, with reduce due to transparency draw this thus produce power consumption;Then,
Printing opacity parameter value according to this display screen is to the corresponding pass of the image processing data of display in display screen
System, determines the image processing data that this printing opacity parameter value is corresponding, and then according to this image processing data to this
In electronic equipment, the process of image procossing is adjusted, to reduce the power consumption in image processing process
Consume.Use this brightness adjusting method, it is possible to from the printing opacity parameter value and the image procossing that change display screen
Process both direction realizes the reduction to power consumption, inherently solves electronic equipment screen power consumption big
Problem.
Wherein, when this parameter information is current time, according to this current time to electronic equipment display screen
The brightness of curtain is adjusted.
Refer to accompanying drawing 2, for the flow chart of a kind of brightness adjusting method embodiment 2 that the present invention provides, be somebody's turn to do
Method realizes especially by following steps:
Step S201: obtain the current time of described electronic equipment Timer record;
Wherein, this electronic equipment is preset with timer clock, this timer record have current time time
Between be worth, the current time of recording modes as various in 1:00,18:00 etc..
Concrete, the numerical value obtaining this timer record i.e. can get current time.
Step S202: according to described parameter information and default transparency adjusting condition, determine described parameter
The printing opacity parameter value that information is corresponding, and the printing opacity ginseng of described display screen is regulated according to described printing opacity parameter value
Number;
Wherein, electronic equipment is preset with the corresponding relation in moment and printing opacity parameter value.
It should be noted that ambient brightness the most corresponding is different, such as this moment of 12:00 at noon
Ambient brightness is higher, now, can determine whether this display screen is set to brightness according to default condition
Or relatively low brightness.Wherein, when being set to higher brightness, then this moment preset joins with printing opacity
In the corresponding relation of numerical value, arranging printing opacity parameter on daytime relatively big, evening, printing opacity parameter value was less, and,
The biggest the closer to moment at noon printing opacity parameter value.
Concrete, according to this current time, look into the corresponding relation of printing opacity parameter value from the default moment
Look for corresponding printing opacity parameter value.
It should be noted that the present embodiment provides the corresponding relation in a kind of moment and printing opacity parameter value,
But this corresponding relation is not limited to this, in being embodied as, can be configured according to practical situation, this Shen
Do not limit.
Step S203: according to the printing opacity parameter value that described current time is corresponding, adjust the printing opacity of display screen
Parameter;
Wherein, this printing opacity parameter value is the printing opacity parameter value determined according to current time, joins according to this printing opacity
Numerical value adjusts the printing opacity parameter of this display screen, so that it is revised as this current time correspondence printing opacity parameter value.
Refer to accompanying drawing 3, for middle step S203 of a kind of brightness adjusting method embodiment 2 that the present invention provides
Flow chart, this step S203 especially by following steps realize:
Step S301: close according to the printing opacity parameter value preset is corresponding with the rendering parameter of described display screen
System, determines the first rendering parameter that described current time is corresponding;
Wherein, the rendering parameter of this display screen refers to the parameter that display screen shows.
Concrete, the drafting of android view is based on the such a object of Bitmap object.
This bitmap object can have multiple format, such as Bitmap.Config.ARGB_8888;
Bitmap.Config.ARGB_4444;Bitmap.Config.ARGB_8888;Bitmap.Config.ARGB_
8888;Bitmap.Config.RGB_565 etc..
Wherein, the form of acquiescence is Bitmap.Config.ARGB_8888.
In the present embodiment, this first rendering parameter is abandoned the drafting of A (alpha, transparency), only paints
Make Bitmap.Config.RGB_565, owing to the latter does not has alpha value, so the when of drafting not
Needing to calculate alpha synthesis, data processing amount is little, and processing speed is accelerated, and the power consumption of display screen also subtracts
Few a lot.
Wherein, this first rendering parameter includes the data value of the Bitmap.Config.RGB_565 drawn,
According to this data value, this display screen is drawn.
Step S302: the rendering parameter of described display screen is adjusted according to described first rendering parameter,
Adjust described display screen printing opacity parameter.
Concrete, according to the first rendering parameter determined in step S301, the rendering parameter to display screen
It is adjusted, reaches the purpose that display screen printing opacity parameter is adjusted.
Step S204: according to the corresponding relation of the described printing opacity parameter value preset with image processing data, really
The fixed image processing data corresponding with described printing opacity parameter value;
Step S205: according to described image processing data, image processing process in described electronic equipment is entered
Row regulation.
Wherein, step S204-205 is consistent with step S103-104 in embodiment 1, and the present embodiment is no longer
Repeat.
To sum up, in a kind of brightness adjusting method that the present embodiment provides, when this parameter information is current time
Time, obtain the current time of electronic equipment Timer record;According to the moment preset and printing opacity parameter value
Corresponding relation, determine the printing opacity parameter value that current time is corresponding;According to the printing opacity ginseng that current time is corresponding
Numerical value, adjusts the printing opacity parameter of display screen.Use the method, by current time being determined correspondence
Printing opacity parameter value, and according to this printing opacity parameter value, the printing opacity parameter of display screen is adjusted, it is achieved that
Electronic equipment automated responsive environment brightness, reduces the power consumption of display screen brightness, decreases electronic equipment
Power consumption.
Wherein, when the operating file information that this parameter information is application program, according to the application of this operation
The brightness of electronic equipment display screen curtain is adjusted by program.
Refer to accompanying drawing 4, for the flow chart of a kind of brightness adjusting method embodiment 3 that the present invention provides, be somebody's turn to do
Method realizes especially by following steps:
Step S401: detect the operating file information of application program in described electronic equipment;
Wherein, this electronic equipment runs and has multiple application program, as microblogging, reading software, video are broadcast
Put the application program of the various difference in functionalitys such as device.
Concrete, detect each operating file information in this electronic equipment, i.e. can obtain this operating file
Corresponding application program and running status thereof.
In being embodied as, this operating file information carries time of origin, type and application program mark
Knowing, i.e. can determine that this application program according to this application program identification, the type represents the action of application program
(bringing into operation or out of service), can determine that this application program then in conjunction with the type and time of origin
Current state be currently running state or halted state.
Concrete, according to the operating file information of application program in this electronic equipment, it may be determined that currently electricity
The application program being currently running in subset.
In being embodied as, also can judge be in occupy display screen and be in display according to this operating file information
The application program of state, and it is in the application program of background operation state.
Such as, determine that according to this operating file information occupying display screen in this electronic equipment is in display shape
The application program of state is reading software, and running background microblogging.
Step S402: according to described parameter information and default transparency adjusting condition, determine described parameter
The printing opacity parameter value that information is corresponding, and the printing opacity ginseng of described display screen is regulated according to described printing opacity parameter value
Number;
Wherein, electronic equipment is preset with the corresponding relation of application program and printing opacity parameter value, this transparency
Adjusting condition associates with this corresponding relation.
Concrete, according to application program (the specially application journey of front stage operation run in this electronic equipment
Sequence) determine corresponding printing opacity parameter value, and the printing opacity ginseng of this display screen is regulated according to this printing opacity parameter value
Number.
Refer to accompanying drawing 5, for middle step S402 of a kind of brightness adjusting method embodiment 3 that the present invention provides
Flow chart, this step S402 especially by following steps realize:
Step S501: determine application currently displaying in described display screen according to described operating file information
Program;
Wherein, this operating file information comprises the time of origin of this operating file information, type and right
The application program identification etc. answered.
Concrete, i.e. can determine that this application program according to this application program identification, the type represents application journey
The action (i.e. bringing into operation or out of service) of sequence, can determine that then in conjunction with the type and time of origin
The current state of this application program is currently running state or halted state.
Concrete, when type nearest in the operating file information of this application program is for bringing into operation, then should
Application program is currently running status.
Further, also can determine whether this application program occupies according to the information carried in this operating file information
Display screen is in display state, if it is, determine that this is the currently displaying application program of display screen.
Step S502: according to the application program preset and the corresponding relation of the rendering parameter of described display screen,
Determine second rendering parameter corresponding with described application program;
Wherein, the rendering parameter of this display screen refers to the parameter that display screen shows.
Concrete, the drafting of android view is based on the such a object of Bitmap object.
This bitmap object can have multiple format, such as Bitmap.Config.ARGB_8888;
Bitmap.Config.ARGB_4444;Bitmap.Config.ARGB_8888;Bitmap.Config.ARGB_
8888;Bitmap.Config.RGB_565 etc..
Wherein, the form of acquiescence is Bitmap.Config.ARGB_8888.
In the present embodiment, this second rendering parameter is abandoned the drafting of A (alpha, transparency), only paints
Make Bitmap.Config.RGB_565, owing to the latter does not has alpha value, so the when of drafting not
Needing to calculate alpha synthesis, data processing amount is little, and processing speed is accelerated, and the power consumption of display screen also subtracts
Few a lot.
Wherein, this second rendering parameter includes the data value of the Bitmap.Config.RGB_565 drawn,
According to this data value, this display screen is drawn.
Step S503: the rendering parameter of described display screen is adjusted according to described second rendering parameter,
Adjust the printing opacity parameter value of described display screen.
Concrete, according to the second rendering parameter determined in step S502, the rendering parameter to display screen
It is adjusted, reaches the purpose that display screen printing opacity parameter is adjusted.
Step S403: according to the corresponding relation of the described printing opacity parameter value preset with image processing data, really
The fixed image processing data corresponding with described printing opacity parameter value;
Step S404: according to described image processing data, image processing process in described electronic equipment is entered
Row regulation.
Wherein, step S403-404 is consistent with step S103-104 in embodiment 1, and the present embodiment is no longer
Repeat.
To sum up, in a kind of brightness adjusting method that the present embodiment provides, parameter information is the fortune of application program
Row fileinfo, the operating file information of the application program in detection electronic equipment;Believe according to operating file
Breath determines application program currently displaying in display screen;According to the application program preset and display screen
The corresponding relation of rendering parameter, determines second rendering parameter corresponding with application program;Draw according to second
The rendering parameter of display screen is adjusted by parameter, adjusts the printing opacity parameter value of display screen.Using should
Method, determines the printing opacity parameter value of correspondence, and foundation by the application program showing current display screen
The printing opacity parameter of display screen is adjusted by this printing opacity parameter value, it is achieved that electronic equipment automated tos respond to ring
Border brightness, reduces the power consumption of display screen brightness, decreases the power consumption of electronic equipment.
Wherein, when this image processing data is FPS (Frames Per Second, transmission frame number per second),
Image processing process in electronic equipment is adjusted specially regulating FPS.
Refer to accompanying drawing 6, for the flow chart of a kind of brightness adjusting method embodiment 4 that the present invention provides, be somebody's turn to do
Method realizes especially by following steps:
Step S601: obtain the parameter information of described electronic equipment;
Step S602: according to described parameter information and default transparency adjusting condition, determine described parameter
The printing opacity parameter value that information is corresponding, and the printing opacity ginseng of described display screen is regulated according to described printing opacity parameter value
Number;
Step S603: according to the corresponding relation of the described printing opacity parameter value preset with image processing data, really
The fixed image processing data corresponding with described printing opacity parameter value;
Wherein, step S601-603 is consistent with step S101-103 in embodiment 1, and the present embodiment does not does
Repeat.
It should be noted that the corresponding relation that this corresponding relation is printing opacity parameter value and FPS.
Step S604: regulate the refresh rate of described display screen according to described FPS numerical value.
Wherein, this FPS is the output per second number of image frames of the GPU in electronic equipment, i.e. the brush of display screen
New rate, and utilize this image that display screen is refreshed.
It should be noted that the number of times that the refresh rate per second kind of picture that be exactly screen is refreshed, current refresh rate
During reduction, the resource needed when drawing picture (includes that GPU heavy duty reduces, cpu data computing with regard to less
Amount lowers), thus reduce the purpose of power consumption.
Wherein, this image processing data corresponds to the FPS of GPU in this electronic equipment, and this FPS numerical value is
FPS numerical value time properly functioning less than electronic equipment GPU.
In actual enforcement, time properly functioning, the FPS of this electronic equipment GPU uses 60 frames/second, at this
Under FPS numerical value, display screen display effect is optimal.
Wherein, the value of the FPS that this image processing data is corresponding can be that ladder is arranged, a certain printing opacity parameter
The corresponding FPS value of value scope, such as, as printing opacity parameter value 100-150, FPS value is 55 frames/second.
It should be noted that due to the operation principle of display screen, the refresh rate of display screen is the highest, figure
As processing accuracy is the highest, after reducing the light transmittance of display screen of electronic equipment, reduce display screen
Refresh rate.
In being embodied as, display screen refresh rate reduces, and reduces the data volume that GPU processes, reaches to subtract
The purpose of the power consumption of this GPU little.
To sum up, in a kind of brightness adjusting method that the present embodiment provides, when this image processing data is per second
During transmission frame number FPS, according to described image processing data, to image processing process in described electronic equipment
It is adjusted, specifically includes: regulate the refresh rate of described display screen according to described FPS numerical value.Use
The method, after reducing electronic equipment display screen curtain gray scale, according further to the printing opacity of this display screen
Parameter value determines FPS numerical value, then according to the refresh rate of this FPS numerical value regulation display screen, reduces aobvious
The refresh rate of display screen curtain, reduces the data volume that GPU processes, reaches to reduce the mesh of the power consumption of this GPU
's.
Wherein, when the color numerical digit that image processing data is display screen, at image in electronic equipment
Reason process is adjusted specially regulating the color numerical digit of display screen.
Refer to accompanying drawing 7, for the flow chart of a kind of brightness adjusting method embodiment 5 that the present invention provides, be somebody's turn to do
Method realizes especially by following steps:
Step S701: obtain the parameter information of described electronic equipment;
Step S702: according to described parameter information and default transparency adjusting condition, determine described parameter
The printing opacity parameter value that information is corresponding, and the printing opacity ginseng of described display screen is regulated according to described printing opacity parameter value
Number;
Step S701-702 is consistent with step S101-102 in embodiment 1, and the present embodiment repeats no more.
Step S703: judge that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;
Wherein, electronic equipment is preset with a threshold value, when the printing opacity parameter value of this display screen is more than this threshold value
Time, the gray scale of this display screen is less, and user can observe the display content of colour by this display screen,
Do not affect user's viewing effect.But, when the printing opacity parameter value of this display screen is less than this predetermined threshold value,
The gray scale of this display screen is relatively big, due to the impact of display screen gray scale so that user is by this display screen
The display content that curtain is watched is black and white.
Therefore, when the printing opacity parameter value of this display screen is less than this predetermined threshold value, though this display screen
The image that display is colored, user also cannot watch the image of colour.
And display screen display coloured image during, due to CPU or GPU to image information for
Each pixel carries out colors countenance, and in this processing procedure, data processing amount is big, and power consumption is higher.
Therefore, when the printing opacity parameter value of this display screen is less than this predetermined threshold value, determine that needs amendment should
The color digit information of display screen is white and black displays, performs step S704;Otherwise, do not process.
Wherein, when the printing opacity parameter value of this display screen is more than this predetermined threshold value, the ash of this display screen
Spending less, user can observe the display content of colour by this display screen, not to this display screen
Color figure place information is modified, so that it carries out white and black displays.
Step S704: according to the amendment condition preset, revise the color figure place information of described display screen,
It is white and black displays by the display mode of described display screen by colored vision-control.
Wherein, this amendment condition preset is provided with display screen and carries out color figure place when colour shows
Value and color bit value when carrying out white and black displays.According to this amendment condition, it may be determined that this display screen
Color figure place information be color during white and black displays be numerical value.
Wherein, the color digit information of this display screen for the mode indicating this display screen to carry out showing is
Colored display or white and black displays.
In being embodied as, carrying out color format conversion when, it is frequently encountered color quantization figure place
Change, such as from the color conversion of 24bit RGB888 to 16bit RGB565.
Concrete, bitmap picture is a RGB888, and each pixel is made up of 3 bytes, R-> 8bit,
G-> 8bit, B-> 8bit;Each pixels of RGB565 is made up of 2 bytes, R-> 5bit, G-> 6bit,
B->5bit。
Wherein, by revising the color figure place information of this display screen, by the display mode of display screen by
Colored vision-control is white and black displays, and the composition byte of each pixel reduces, and is decreasing the appearance of memorizer
While amount, reduce data volume, during same refresh rate, more save when refreshing the display content of display screen
Electricity.
To sum up, in a kind of brightness adjusting method that the present embodiment provides, when described image processing data is aobvious
During the color numerical digit of display screen curtain, it is judged that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;
If it is lower, the gray scale of display screen is relatively big, due to the impact of display screen gray scale so that user passes through
The display content that this display screen is watched is black and white, it is determined that revise the number of colors of described display screen
Position information is white and black displays, and according to the amendment condition preset, revises the color position of described display screen
Number information, are white and black displays by the display mode of described display screen by colored vision-control.Use the party
Method, by being adjusted to white and black displays to the display mode of display screen, to reduce electronic equipment employing colour
Image information refreshes the data processing amount during display screen, decreases the capacity of memorizer, refreshes aobvious
More power saving during the display content of display screen curtain.
Describing method in detail in the embodiment that the invention described above provides, the method for the present invention can use
The device of various ways realizes, and therefore present invention also offers a kind of device, concrete enforcement is given below
Example is described in detail.
Refer to accompanying drawing 8, the structural representation of a kind of brightness regulating apparatus embodiment 1 provided for the present invention,
This device is applied to an electronic equipment, this electronic equipment can be desktop computer, notebook, panel computer,
The electronic equipments such as mobile phone, intelligent television, intelligent watch, Wearable, have aobvious in this electronic equipment
Display screen curtain.
This device is specifically realized by following structure: acquisition module the 801, first adjustment module 802, determine mould
Block 803 and the second adjustment module 804;
Wherein, acquisition module 801, for obtaining the parameter information of described electronic equipment;
Wherein, this parameter information is to represent the information that current electronic device state is relevant, and this state is correlated with
Information can be that the state of user setup is alternatively the state that electronic equipment internal is run.
Concrete, this parameter information may include that the luminance parameter letter that the operation information according to user generates
Application information of breath, external environment monochrome information, current time or operation etc..
Concrete, when electronic equipment is provided with ALS, this external environment monochrome information can be gathered, obtain
Module 801 obtains the ambient brightness information of this ALS.
Wherein, the first adjustment module 802, for according to described parameter information and default transparency adjustment bar
Part, determines the printing opacity parameter value that described parameter information is corresponding, and described according to the regulation of described printing opacity parameter value
The printing opacity parameter of display screen;
Wherein, being preset with transparency adjusting condition in electronic equipment, this condition is to should parameter information and aobvious
The printing opacity parameter value of display screen curtain.
Concrete, the first adjustment module 802, can according to this parameter information and this transparency adjusting condition
To determine the transparency regulation parameter of correspondence, this transparency regulation parameter is exactly the target of display screen regulation
Printing opacity parameter value, the printing opacity parameter value regulating this display screen is target printing opacity parameter value.
It should be noted that the printing opacity parameter value of this display screen is the biggest, transparency is the highest, and gray value is more
Little, screen is the brightest, is realized the brightness of regulation display screen by the printing opacity parameter value of regulation display screen
Purpose.
Concrete, when this parameter information is the luminance parameter information that the operation information according to user generates,
The target printing opacity parameter value that display screen regulates is can determine that according to this luminance parameter information.
In like manner, when the application journey that this parameter information is external environment monochrome information, current time or operation
Sequence information, according to this information and corresponding transparency adjusting condition, determines that the transparency of its correspondence is adjusted
JIESHEN number, and then according to this transparency regulation parameter, the printing opacity parameter value of this display screen is adjusted.
In being embodied as, the gray scale (transparency) of the printing opacity parameter value correspondence display screen of this display screen,
Corresponding to alpha value, (such as value 0-255, value is 0 to be all-transparent to gray value, the brightest;255 is impermeable
Bright, the most secretly).
Wherein it is determined that module 803, for according to the described printing opacity parameter value preset and image processing data
Corresponding relation, determines the image processing data corresponding with described printing opacity parameter value;
Wherein, electronic equipment is also preset with the corresponding relation of printing opacity parameter value and image processing data.
It should be noted that this printing opacity parameter value is the least, then the brightness of the display screen of this electronic equipment is more
Low, gray scale is the biggest.
It should be noted that when the gray scale of display screen is bigger, can show by this display screen
Image information produces impact, and such as, when the gray scale maximum of this display screen, display screen is opaque
State, the most secretly, the image of its display is the most dark, and what user saw when watching this image is also dark figure
Picture.Now, though the GPU of this electronic equipment or image is processed and sends to this display screen
The standard picture that image information is standard color, standard frequency, owing to user is by dark display screen
The dark images that curtain is seen, the image causing user finally to see also is dark image.And GPU is defeated
Going out standard picture to need to carry out substantial amounts of data process, the power consumption causing electronic equipment is the highest.
Accordingly, it is determined that module 803 is according to the printing opacity parameter value of this current electronic equipment display screen curtain, knot
Close the corresponding relation of this printing opacity parameter value and image processing data, determine the image that this printing opacity parameter value is corresponding
Process information.
Wherein, the second adjustment module 804, for according to described image processing data, to described electronic equipment
Middle image processing process is adjusted.
Wherein, this image processing process refers to that in electronic equipment, the information received is processed by GPU,
Obtain image information, and this image information is exported in display screen be shown.
Concrete, this image processing data is that the information received is processed and exports image by GPU
The information that process is adjusted, i.e. this image processing data are the information adjusting this GPU operational factor.
Concrete, the second adjustment module 804 carries out parameter adjustment according to this image processing data to GPU,
So that the process of image procossing is adjusted by it, to reach when display screen gray scale is bigger, reduce GPU
The data volume processed, reaches to reduce the purpose of the power consumption of this GPU.
It should be noted that when the gray scale of electronic equipment display screen curtain is the biggest, and brightness is the lowest, user's vision
Perception is the most inconspicuous, even if now reducing the precision of image procossing, the visually-perceptible of user is not affected,
Reduce the purpose of the power consumption of electronic equipment simultaneously.
To sum up, a kind of brightness regulating apparatus that the present embodiment provides, including acquisition module, it is used for obtaining institute
State the parameter information of electronic equipment;First adjustment module, for saturating with preset according to described parameter information
Lightness adjusting condition, determines the printing opacity parameter value that described parameter information is corresponding, and according to described printing opacity parameter
Value regulates the printing opacity parameter of described display screen;Determine module, for according to the described printing opacity parameter preset
Value and the corresponding relation of image processing data, determine the image processing data corresponding with described printing opacity parameter value;
Second adjustment module, for according to described image processing data, to image procossing mistake in described electronic equipment
Journey is adjusted.Use this brightness regulating apparatus, it is possible to from the printing opacity parameter value and the figure that change display screen
As processing procedure both direction realizes the reduction to power consumption, inherently solve electronic equipment screen consumption
The problem that electricity is big.
Wherein, when this parameter information is current time, according to this current time to electronic equipment display screen
The brightness of curtain is adjusted.
Refer to accompanying drawing 9, the structural representation of a kind of brightness regulating apparatus embodiment 2 provided for the present invention,
This device is specifically realized by following structure: acquisition module the 901, first adjustment module 902, determine module 903
With the second adjustment module 904;
Wherein, this first adjustment module 902 includes: first determines unit 905 and the first regulation unit 906.
Wherein, this determines module 903 and the second adjustment module 904 and the corresponding construction merit in embodiment 1
Can be consistent, the present embodiment repeats no more.
Wherein, acquisition module 901 specifically for: obtain the current of described electronic equipment Timer record
Moment.
Wherein, this electronic equipment is preset with timer clock, this timer record have current time time
Between be worth, the current time of recording modes as various in 1:00,18:00 etc..
Concrete, acquisition module 901 obtains the numerical value of this timer record and i.e. can get current time.
Wherein, first determines unit 905, for the corresponding relation according to the moment preset with printing opacity parameter value,
Determine the printing opacity parameter value that described current time is corresponding;
Wherein, electronic equipment is preset with the corresponding relation in moment and printing opacity parameter value.
It should be noted that ambient brightness the most corresponding is different, such as this moment of 12:00 at noon
Ambient brightness is higher, now, can determine whether this display screen is set to brightness according to default condition
Or relatively low brightness.Wherein, when being set to higher brightness, then this moment preset joins with printing opacity
In the corresponding relation of numerical value, arranging printing opacity parameter on daytime relatively big, evening, printing opacity parameter value was less, and,
The biggest the closer to moment at noon printing opacity parameter value.
Concrete, first determine unit 905 according to this current time, from default moment and printing opacity parameter
The corresponding relation of value is searched corresponding printing opacity parameter value.
It should be noted that the present embodiment provides the corresponding relation in a kind of moment and printing opacity parameter value,
But this corresponding relation is not limited to this, in being embodied as, can be configured according to practical situation, this Shen
Do not limit.
Wherein, the first regulation unit 906, for the printing opacity parameter value corresponding according to described current time, adjust
The printing opacity parameter of whole display screen.
Wherein, this printing opacity parameter value is the printing opacity parameter value determined according to current time, the first regulation unit
906 adjust the printing opacity parameter of this display screen according to this printing opacity parameter value, so that it is revised as this current time
Corresponding printing opacity parameter value.
Refer to accompanying drawing 10, for the first regulation in a kind of brightness regulating apparatus embodiment 2 that the present invention provides
The structural representation of unit, this first regulation unit includes determining subelement 1001 and regulon unit 1002.
Wherein it is determined that subelement 1001, for according to the printing opacity parameter value preset and described display screen
The corresponding relation of rendering parameter, determines the first rendering parameter that described current time is corresponding;
Wherein, the rendering parameter of this display screen refers to the parameter that display screen shows.
Concrete, the drafting of android view is based on the such a object of Bitmap object.
This bitmap object can have multiple format, such as Bitmap.Config.ARGB_8888;
Bitmap.Config.ARGB_4444;Bitmap.Config.ARGB_8888;Bitmap.Config.ARGB_
8888;Bitmap.Config.RGB_565 etc..
Wherein, the form of acquiescence is Bitmap.Config.ARGB_8888.
In the present embodiment, this first rendering parameter is abandoned the drafting of A (alpha, transparency), only paints
Make Bitmap.Config.RGB_565, owing to the latter does not has alpha value, so the when of drafting not
Needing to calculate alpha synthesis, data processing amount is little, and processing speed is accelerated, and the power consumption of display screen also subtracts
Few a lot.
Wherein, this first rendering parameter includes the data value of the Bitmap.Config.RGB_565 drawn,
According to this data value, this display screen is drawn.
Wherein, regulon unit 1002, with according to described first rendering parameter, described display screen is painted
Parameter processed is adjusted, and adjusts described display screen printing opacity parameter.
Concrete, according to determining the first rendering parameter determined in subelement 1001, display screen is painted
Parameter processed is adjusted, and reaches the purpose being adjusted display screen printing opacity parameter.
To sum up, in a kind of brightness regulating apparatus that the present embodiment provides, when this parameter information is current time,
Acquisition module specifically for: obtain electronic equipment Timer record current time.This first regulation mould
Block includes: first determines unit, for the corresponding relation according to the moment preset with printing opacity parameter value, really
The printing opacity parameter value that fixed described current time is corresponding;First regulation unit, for according to described current time
Corresponding printing opacity parameter value, adjusts the printing opacity parameter of display screen.Use this device, by time current
Carve the printing opacity parameter value determining correspondence, and according to this printing opacity parameter value, the printing opacity parameter of display screen is carried out
Adjust, it is achieved that electronic equipment automated responsive environment brightness, reduce the power consumption of display screen brightness, reduce
The power consumption of electronic equipment.
Wherein, when the operating file information that this parameter information is application program, according to the application of this operation
The brightness of electronic equipment display screen curtain is adjusted by program.
Refer to accompanying drawing 11, for the structural representation of a kind of brightness regulating apparatus embodiment 3 that the present invention provides
Figure, this device is specifically realized by following structure: acquisition module the 1101, first adjustment module 1102, determine
Module 1103 and the second adjustment module 1104;
Wherein, this first adjustment module 1102 includes: second determines that unit the 1105, the 3rd determines unit
1106 and second regulate unit 1107.
Wherein, this determines module 1103 and the second adjustment module 1104 and the corresponding construction in embodiment 1
Function is consistent, and the present embodiment repeats no more.
Wherein, this acquisition module 1101 specifically for: detect the fortune of application program in described electronic equipment
Row fileinfo.
Wherein, this electronic equipment runs and has multiple application program, as microblogging, reading software, video are broadcast
Put the application program of the various difference in functionalitys such as device.
Concrete, acquisition module 1101 detects each operating file information in this electronic equipment,
The application program corresponding to this operating file and running status thereof.
In being embodied as, this operating file information carries time of origin, type and application program mark
Knowing, i.e. can determine that this application program according to this application program identification, the type represents the action of application program
(bringing into operation or out of service), can determine that this application program then in conjunction with the type and time of origin
Current state be currently running state or halted state.
Concrete, acquisition module 1101, can according to the operating file information of application program in this electronic equipment
To determine the application program being currently running in current electronic device.
In being embodied as, also can judge be in occupy display screen and be in display according to this operating file information
The application program of state, and it is in the application program of background operation state.
Such as, determine that according to this operating file information occupying display screen in this electronic equipment is in display shape
The application program of state is reading software, and running background microblogging.
Wherein, electronic equipment is preset with the corresponding relation of application program and printing opacity parameter value, this transparency
Adjusting condition associates with this corresponding relation.
Concrete, according to application program (the specially application journey of front stage operation run in this electronic equipment
Sequence) determine corresponding printing opacity parameter value, and the printing opacity ginseng of this display screen is regulated according to this printing opacity parameter value
Number.
Wherein, this second determines unit 1105, for determining described display according to described operating file information
Application program currently displaying in screen;
Wherein, this operating file information comprises the time of origin of this operating file information, type and right
The application program identification etc. answered.
Concrete, second determines that unit 1105 i.e. can determine that this application program according to this application program identification,
The type represents the action (i.e. bringing into operation or out of service) of application program, then in conjunction with the type
Can determine that the current state of this application program is currently running state or halted state with time of origin.
Concrete, when type nearest in the operating file information of this application program is for bringing into operation, then should
Application program is currently running status.
Further, also can determine whether this application program occupies according to the information carried in this operating file information
Display screen is in display state, if it is, determine that this is the currently displaying application program of display screen.
Wherein, the 3rd determines unit 1106, for according to the application program preset and described display screen
The corresponding relation of rendering parameter, determine second rendering parameter corresponding with described application program;
Wherein, the rendering parameter of this display screen refers to the parameter that display screen shows.
Concrete, the drafting of android view is based on the such a object of Bitmap object.
This bitmap object can have multiple format, such as Bitmap.Config.ARGB_8888;
Bitmap.Config.ARGB_4444;Bitmap.Config.ARGB_8888;Bitmap.Config.ARGB_
8888;Bitmap.Config.RGB_565 etc..
Wherein, the form of acquiescence is Bitmap.Config.ARGB_8888.
In the present embodiment, this second rendering parameter is abandoned the drafting of A (alpha, transparency), only paints
Make Bitmap.Config.RGB_565, owing to the latter does not has alpha value, so the when of drafting not
Needing to calculate alpha synthesis, data processing amount is little, and processing speed is accelerated, and the power consumption of display screen also subtracts
Few a lot.
Wherein, this second rendering parameter includes the data value of the Bitmap.Config.RGB_565 drawn,
According to this data value, this display screen is drawn.
Wherein, this second regulation unit 1107, it is used for according to described second rendering parameter described display screen
The rendering parameter of curtain is adjusted, and adjusts the printing opacity parameter value of described display screen.
Concrete, the second regulation unit 1107 determines the second drafting determined in unit 1105 according to second
Parameter, is adjusted the rendering parameter of display screen, reaches to be adjusted display screen printing opacity parameter
Purpose.
To sum up, in a kind of brightness regulating apparatus provided in the present embodiment, when parameter information is application program
Operating file information time, this acquisition module specifically for: detect the application program in described electronic equipment
Operating file information.This first adjustment module includes: second determines unit, for according to described operation
Fileinfo determines application program currently displaying in described display screen;3rd determines unit, is used for depending on
According to default application program and the corresponding relation of the rendering parameter of described display screen, determine and described application
The second rendering parameter that program is corresponding;Second regulation unit, is used for according to described second rendering parameter institute
The rendering parameter stating display screen is adjusted, and adjusts the printing opacity parameter value of described display screen.Using should
Device, determines the printing opacity parameter value of correspondence, and foundation by the application program showing current display screen
The printing opacity parameter of display screen is adjusted by this printing opacity parameter value, it is achieved that electronic equipment automated tos respond to ring
Border brightness, reduces the power consumption of display screen brightness, decreases the power consumption of electronic equipment.
Wherein, when this image processing data is FPS, image processing process in electronic equipment is adjusted
Joint specially regulates FPS.
Refer to accompanying drawing 12, for the structural representation of a kind of brightness regulating apparatus embodiment 4 that the present invention provides
Figure, this device is specifically realized by following structure: acquisition module the 1201, first adjustment module 1202, determine
Module 1203 and the second adjustment module 1204;
Wherein, acquisition module the 1201, first adjustment module 1202, determine module 1203 and embodiment 1
In corresponding construction function consistent, the present embodiment repeats no more.
Wherein, this second adjustment module 1204 specifically for: according to described FPS numerical value regulate described display
The refresh rate of screen.
Wherein, this FPS is the output per second number of image frames of the GPU in electronic equipment, i.e. the brush of display screen
New rate, and utilize this image that display screen is refreshed.
It should be noted that the number of times that the refresh rate per second kind of picture that be exactly screen is refreshed, current refresh rate
During reduction, the resource needed when drawing picture (includes that GPU heavy duty reduces, cpu data computing with regard to less
Amount lowers), thus reduce the purpose of power consumption.
Wherein, this image processing data corresponds to the FPS of GPU in this electronic equipment, and this FPS numerical value is
FPS numerical value time properly functioning less than electronic equipment GPU.
In actual enforcement, time properly functioning, the FPS of this electronic equipment GPU uses 60 frames/second, at this
Under FPS numerical value, display screen display effect is optimal.
Wherein, the value of the FPS that this image processing data is corresponding can be that ladder is arranged, a certain printing opacity parameter
The corresponding FPS value of value scope, such as, as printing opacity parameter value 100-150, FPS value is 55 frames/second.
It should be noted that due to the operation principle of display screen, the refresh rate of display screen is the highest, figure
As processing accuracy is the highest, after reducing the light transmittance of display screen of electronic equipment, reduce display screen
Refresh rate.
In being embodied as, display screen refresh rate reduces, and reduces the data volume that GPU processes, reaches to subtract
The purpose of the power consumption of this GPU little.
To sum up, in a kind of brightness regulating apparatus that the present embodiment provides, when described image processing data is every
During second transmission frame number FPS, this second adjustment module specifically for: described according to the regulation of described FPS numerical value
The refresh rate of display screen.Use this device, after reducing electronic equipment display screen curtain gray scale, enter one
Walk and determine FPS numerical value according to the printing opacity parameter value of this display screen, then aobvious according to the regulation of this FPS numerical value
The refresh rate of display screen curtain, reduces the refresh rate of display screen, reduces the data volume that GPU processes, reaches
Reduce the purpose of the power consumption of this GPU.
Wherein, when the color numerical digit that image processing data is display screen, at image in electronic equipment
Reason process is adjusted specially regulating the color numerical digit of display screen.
Refer to accompanying drawing 13, for the structural representation of a kind of brightness regulating apparatus embodiment 5 that the present invention provides
Figure, this device is specifically realized by following structure: acquisition module the 1301, first adjustment module 1302, determine
Module 1303 and the second adjustment module 1304;
Wherein, acquisition module the 1301, first adjustment module 1302, determine module 1303 and embodiment 1
In corresponding construction function consistent, the present embodiment repeats no more.
Wherein, this determine module 1303 specifically for: whether judge the printing opacity parameter value of described display screen
Less than predetermined threshold value;If it is lower, determine that the color digit information revising described display screen is that black and white shows
Show.
Wherein, electronic equipment is preset with a threshold value, when the printing opacity parameter value of this display screen is more than this threshold value
Time, the gray scale of this display screen is less, and user can observe the display content of colour by this display screen,
Do not affect user's viewing effect.But, when the printing opacity parameter value of this display screen is less than this predetermined threshold value,
The gray scale of this display screen is relatively big, due to the impact of display screen gray scale so that user is by this display screen
The display content that curtain is watched is black and white.
Therefore, when the printing opacity parameter value of this display screen is less than this predetermined threshold value, though this display screen
The image that display is colored, user also cannot watch the image of colour.
And display screen display coloured image during, due to CPU or GPU to image information for
Each pixel carries out colors countenance, and in this processing procedure, data processing amount is big, and power consumption is higher.
Therefore, when the printing opacity parameter value of this display screen is less than this predetermined threshold value, determine that module 1303 is true
Surely needing the color digit information revising this display screen is white and black displays, triggers the second adjustment module 1304;
Otherwise, do not process.
Wherein, when the printing opacity parameter value of this display screen is more than this predetermined threshold value, the ash of this display screen
Spending less, user can observe the display content of colour by this display screen, not to this display screen
Color figure place information is modified, so that it carries out white and black displays.
Wherein, this second adjustment module 1304 specifically for: according to the amendment condition preset, amendment is described
The color figure place information of display screen, is black by the display mode of described display screen by colored vision-control
White display.
Wherein, this amendment condition preset is provided with display screen and carries out color figure place when colour shows
Value and color bit value when carrying out white and black displays.Second adjustment module 1304 according to this amendment condition,
Can determine that the color figure place information of this display screen be color during white and black displays be numerical value.
Wherein, the color digit information of this display screen for the mode indicating this display screen to carry out showing is
Colored display or white and black displays.
In being embodied as, carrying out color format conversion when, it is frequently encountered color quantization figure place
Change, such as from the color conversion of 24bit RGB888 to 16bit RGB565.
Concrete, bitmap picture is a RGB888, and each pixel is made up of 3 bytes, R-> 8bit,
G-> 8bit, B-> 8bit;Each pixels of RGB565 is made up of 2 bytes, R-> 5bit, G-> 6bit,
B->5bit。
Wherein, by revising the color figure place information of this display screen, by the display mode of display screen by
Colored vision-control is white and black displays, and the composition byte of each pixel reduces, and is decreasing the appearance of memorizer
While amount, reduce data volume, during same refresh rate, more save when refreshing the display content of display screen
Electricity.
To sum up, in a kind of brightness regulating apparatus that the present embodiment provides, when described image processing data is aobvious
During the color numerical digit of display screen curtain, determine module specifically for: judge the printing opacity parameter value of described display screen
Whether less than predetermined threshold value;If it is lower, determine that the color digit information revising described display screen is black
White display.Second adjustment module specifically for: according to preset amendment condition, revise described display screen
Color figure place information, be white and black displays by the display mode of described display screen by colored vision-control.
Use this device, by the display mode of display screen is adjusted to white and black displays, to reduce electronic equipment
Data processing amount during using color image information to refresh display screen, decreases the capacity of memorizer,
More power saving when refreshing the display content of display screen.
A kind of brightness regulating apparatus embodiment provided with above-mentioned the application is corresponding, present invention also provides
A kind of electronic equipment, this electronic equipment includes: display screen and bright as described in above-mentioned any embodiment
Degree adjusting means.
Wherein, this brightness regulating apparatus includes: acquisition module, the first adjustment module, determine module and
Two adjustment modules, the function of all modules of this brightness regulating apparatus and above-mentioned a kind of brightness regulation
In device embodiment, the function of corresponding construction is consistent, repeats no more in the present embodiment.
Preferably, when described parameter information is current time, described acquisition module specifically for: obtain institute
State the current time of electronic equipment Timer record.
Preferably, described first adjustment module includes: first determines unit and the first regulation unit, and this is bright
The function of all modules of degree adjusting means is corresponding to above-mentioned a kind of brightness regulating apparatus embodiment
The function of structure is consistent, repeats no more in the present embodiment.
Preferably, described first regulation unit includes;Determine subelement and regulon unit, this brightness
The function of all modules of adjusting means is corresponding to above-mentioned a kind of brightness regulating apparatus embodiment to be tied
The function of structure is consistent, repeats no more in the present embodiment.
Preferably, described parameter information is the operating file information of application program, and described acquisition module is concrete
For: detect the operating file information of application program in described electronic equipment.
Preferably, described first adjustment module includes: second determines unit, the 3rd determine unit and second
Regulation unit, the function of all modules of this brightness regulating apparatus fills with above-mentioned a kind of brightness regulation
Put the function of corresponding construction in embodiment consistent, the present embodiment repeats no more.
Preferably, when described image processing data is transmission frame number FPS per second, described second regulation mould
Block specifically for: according to described FPS numerical value regulate described display screen refresh rate.
Preferably, when the color numerical digit that described image processing data is display screen, described determine module
Specifically for: judge that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;If it is lower,
Determine that the color digit information revising described display screen is white and black displays.
Preferably, described second adjustment module specifically for: according to the amendment condition preset, amendment is described
The color figure place information of display screen, is black by the display mode of described display screen by colored vision-control
White display.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For the device that embodiment provides, owing to it is corresponding with the method that embodiment provides, so describing
Fairly simple, relevant part sees method part and illustrates.
Described above to the embodiment provided, makes professional and technical personnel in the field be capable of or uses
The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principle provided in this article and features of novelty.
Claims (17)
1. a brightness adjusting method, it is characterised in that be applied to the electronic equipment with display screen,
Including:
Obtain the parameter information of described electronic equipment;
According to described parameter information and default transparency adjusting condition, determine that described parameter information is corresponding
Printing opacity parameter value, and the printing opacity parameter of described display screen is regulated according to described printing opacity parameter value;
According to the corresponding relation of the described printing opacity parameter value preset with image processing data, determine with described
The image processing data that beche-de-mer without spike numerical value is corresponding;
According to described image processing data, image processing process in described electronic equipment is adjusted;
Wherein, described parameter information is the operating file information of application program, and the described electronics of described acquisition sets
Standby parameter information includes: detect the operating file information of application program in described electronic equipment.
Method the most according to claim 1, it is characterised in that described parameter information also includes currently
During the moment, the parameter information of the described electronic equipment of described acquisition also includes:
Obtain the current time of described electronic equipment Timer record.
Method the most according to claim 2, it is characterised in that described according to described parameter information and
The transparency adjusting condition preset, determines the printing opacity parameter value that described parameter information is corresponding, and according to described
Printing opacity parameter value regulates the printing opacity parameter of described display screen and also includes:
According to the corresponding relation of moment and the printing opacity parameter value preset, determine corresponding saturating of described current time
Beche-de-mer without spike numerical value;
According to the printing opacity parameter value that described current time is corresponding, adjust the printing opacity parameter of display screen.
Method the most according to claim 3, it is characterised in that described according to described current time pair
The printing opacity parameter value answered, the printing opacity parameter adjusting display screen includes;
According to the corresponding relation of the printing opacity parameter value preset with the rendering parameter of described display screen, determine institute
State the first rendering parameter that current time is corresponding;
According to described first rendering parameter, the rendering parameter of described display screen is adjusted, adjusts described
Display screen printing opacity parameter.
Method the most according to claim 1, it is characterised in that described according to described parameter information and
The transparency adjusting condition preset, determines the printing opacity parameter value that described parameter information is corresponding, and according to described
Printing opacity parameter value regulates the printing opacity parameter of described display screen and includes:
Application program currently displaying in described display screen is determined according to described operating file information;
According to the application program preset and the corresponding relation of the rendering parameter of described display screen, determine and institute
State the second rendering parameter that application program is corresponding;
According to described second rendering parameter, the rendering parameter of described display screen is adjusted, adjusts described
The printing opacity parameter value of display screen.
Method the most according to claim 1, it is characterised in that when described image processing data is every
During second transmission frame number FPS, described according to described image processing data, at image in described electronic equipment
Reason process is adjusted, including:
The refresh rate of described display screen is regulated according to described FPS numerical value.
Method the most according to claim 1, it is characterised in that when described image processing data is aobvious
During the color numerical digit of display screen curtain, the printing opacity parameter value of the described display screen brake sack that described foundation is preset with
The corresponding relation of image procossing, determines that the image processing data corresponding with described printing opacity parameter value includes:
Judge that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;
If it is lower, determine that the color digit information revising described display screen is white and black displays.
Method the most according to claim 6, it is characterised in that described believe according to described image procossing
Breath, is adjusted including to image processing process in described electronic equipment:
According to the amendment condition preset, revise the color figure place information of described display screen, by described display
The display mode of screen is white and black displays by colored vision-control.
9. a brightness regulating apparatus, it is characterised in that be applied to the electronic equipment with display screen,
Including:
Acquisition module, for obtaining the parameter information of described electronic equipment;
First adjustment module, for according to described parameter information and default transparency adjusting condition, determining
The printing opacity parameter value that described parameter information is corresponding, and regulate described display screen according to described printing opacity parameter value
Printing opacity parameter;
Determine module, for the corresponding relation according to the described printing opacity parameter value preset with image processing data,
Determine the image processing data corresponding with described printing opacity parameter value;
Second adjustment module, for according to described image processing data, at image in described electronic equipment
Reason process is adjusted;
Wherein, described parameter information is the operating file information of application program, and described acquisition module is specifically used
In: detect the operating file information of application program in described electronic equipment.
Device the most according to claim 9, it is characterised in that when described parameter information is current
During quarter, described acquisition module is additionally operable to:
Obtain the current time of described electronic equipment Timer record.
11. devices according to claim 10, it is characterised in that described first adjustment module is also wrapped
Include:
First determines unit, for the corresponding relation according to the moment preset with printing opacity parameter value, determines institute
State the printing opacity parameter value that current time is corresponding;
First regulation unit, for the printing opacity parameter value corresponding according to described current time, adjusts display screen
The printing opacity parameter of curtain.
12. devices according to claim 11, it is characterised in that described first regulation unit includes;
Determine subelement, for the rendering parameter according to the printing opacity parameter value preset and described display screen
Corresponding relation, determines the first rendering parameter that described current time is corresponding;
Regulon unit, is carried out the rendering parameter of described display screen with according to described first rendering parameter
Adjust, adjust described display screen printing opacity parameter.
13. devices according to claim 9, it is characterised in that described first adjustment module includes:
Second determines unit, currently shows for determining in described display screen according to described operating file information
The application program shown;
3rd determines unit, for the rendering parameter according to the application program preset and described display screen
Corresponding relation, determines second rendering parameter corresponding with described application program;
Second regulation unit, for according to described second rendering parameter rendering parameter to described display screen
It is adjusted, adjusts the printing opacity parameter value of described display screen.
14. devices according to claim 9, it is characterised in that when described image processing data is
During transmission frame number FPS per second, described second adjustment module specifically for:
The refresh rate of described display screen is regulated according to described FPS numerical value.
15. devices according to claim 9, it is characterised in that when described image processing data is
During the color numerical digit of display screen, described determine module specifically for:
Judge that whether the printing opacity parameter value of described display screen is less than predetermined threshold value;
If it is lower, determine that the color digit information revising described display screen is white and black displays.
16. devices according to claim 15, it is characterised in that described second adjustment module is concrete
For:
According to the amendment condition preset, revise the color figure place information of described display screen, by described display
The display mode of screen is white and black displays by colored vision-control.
17. 1 kinds of electronic equipments, it is characterised in that including: be provided with display screen and as right is wanted
Seek brightness regulating apparatus described in any one of 9-16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410468549.3A CN104200787B (en) | 2014-09-15 | 2014-09-15 | A kind of brightness adjusting method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410468549.3A CN104200787B (en) | 2014-09-15 | 2014-09-15 | A kind of brightness adjusting method, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104200787A CN104200787A (en) | 2014-12-10 |
CN104200787B true CN104200787B (en) | 2016-10-05 |
Family
ID=52086070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410468549.3A Active CN104200787B (en) | 2014-09-15 | 2014-09-15 | A kind of brightness adjusting method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104200787B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045083B (en) * | 2015-08-26 | 2017-09-19 | 广东欧珀移动通信有限公司 | The control method and intelligent watch of a kind of intelligent watch |
CN105426079B (en) * | 2015-11-25 | 2018-11-23 | 小米科技有限责任公司 | The method of adjustment and device of picture luminance |
CN107168507A (en) * | 2017-03-29 | 2017-09-15 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN110910849A (en) * | 2019-12-12 | 2020-03-24 | 上海锐丽科技股份有限公司 | Color correction compensation method and system for liquid crystal display screen and driving board |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7961199B2 (en) * | 2004-12-02 | 2011-06-14 | Sharp Laboratories Of America, Inc. | Methods and systems for image-specific tone scale adjustment and light-source control |
KR100831369B1 (en) * | 2006-06-09 | 2008-05-21 | 삼성전자주식회사 | Backlight apparatus for display device and method of adjusting brightness for the same |
KR101296568B1 (en) * | 2006-09-29 | 2013-08-13 | 엘지디스플레이 주식회사 | Device for regulating a brightness, method thereof and liquid crystal display module having the same |
TWI382395B (en) * | 2008-01-03 | 2013-01-11 | Wintek Corp | A backlight modulation and image processing method |
CN101923822A (en) * | 2009-06-17 | 2010-12-22 | 康佳集团股份有限公司 | Method for adjusting backlight brightness, system and television |
CN101620819B (en) * | 2009-06-25 | 2013-10-16 | 北京中星微电子有限公司 | Dynamic regulation method and dynamic regulation device for displaying image back light brightness, and moving display device |
EP2747070A1 (en) * | 2012-12-19 | 2014-06-25 | QNX Software Systems Limited | GPU display adjustments |
CN103676254B (en) * | 2013-12-04 | 2017-02-08 | 青岛海信电器股份有限公司 | See-through display device and driving method thereof, and electronic equipment |
-
2014
- 2014-09-15 CN CN201410468549.3A patent/CN104200787B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104200787A (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103065551B (en) | Spliced display screen | |
TWI478144B (en) | Display method for sunlight readable and electronic device using the same | |
CN103325355B (en) | A kind of method of image content-based dynamic adjustments backlight illumination | |
CN108281125B (en) | Method, device and equipment for adjusting backlight brightness according to human eye characteristics | |
CN104200787B (en) | A kind of brightness adjusting method, device and electronic equipment | |
CN107111992B (en) | method and terminal for adjusting backlight brightness | |
CN107945766A (en) | Display device | |
CN102568386A (en) | Method and system for dynamic backlight local control liquid crystal display | |
CN103996392A (en) | Screen brightness adjusting method and circuit and display device | |
CN106023904A (en) | Display control method and device based on electronic ink screen | |
CN103258520B (en) | A kind of information processing method, system and a kind of electronic equipment | |
CN101814279B (en) | Dynamic backlight liquid crystal display system and method | |
US20160093238A1 (en) | Image color enhancement method and device for display | |
CN103390395A (en) | Method and electronic equipment for adjusting brightness of display | |
CN107170016A (en) | A kind of image processing method, image processing system and display panel | |
US20080259007A1 (en) | Method for dynamically adjusting brightness of image | |
CN102298904A (en) | Method for adjusting backlight brightness of display device and equipment with display device | |
CN104167187A (en) | Wide-screen film display mode identifying method and device | |
CN103489411A (en) | Display-screen color maintenance method and system | |
KR102076312B1 (en) | Display device | |
CN113096592B (en) | Method and device for eliminating ghost shadow of display screen and display device | |
CN105808185A (en) | Terminal display method, terminal display apparatus, and terminal | |
CN103810985B (en) | Improve electronic installation and the method thereof of image readability | |
CN101727852A (en) | Image processing method and device | |
CN101668225A (en) | Method for adjusting gamma curve to improve image of flat television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |