CN104703048B - A kind of method and device for adjusting screen intensity - Google Patents
A kind of method and device for adjusting screen intensity Download PDFInfo
- Publication number
- CN104703048B CN104703048B CN201510150450.3A CN201510150450A CN104703048B CN 104703048 B CN104703048 B CN 104703048B CN 201510150450 A CN201510150450 A CN 201510150450A CN 104703048 B CN104703048 B CN 104703048B
- Authority
- CN
- China
- Prior art keywords
- brightness
- terminal
- screen
- video
- degree
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4854—End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Receiver Circuits (AREA)
- Telephone Function (AREA)
Abstract
A kind of method and device for adjusting screen intensity provided in an embodiment of the present invention, method include:In video display process, the brightness regulation information in video frame tagging in the video is obtained;The brightness regulation information is used to identify a kind of bright, common or brightness degree in the dark, and every kind of brightness degree corresponds to a default screen brightness value respectively;Obtain the current electric quantity of terminal;Judge whether the current electric quantity of terminal is more than default low battery threshold value;If so, according to the brightness regulation information in video frame tagging, the screen intensity of terminal is adjusted into the corresponding default screen brightness value of brightness degree to the brightness regulation message identification;If not, only when the brightness degree of the brightness regulation message identification is dark, the screen intensity of terminal is adjusted to dark corresponding default screen brightness value.Using the embodiment of the present invention, screen intensity of the user without adjusting terminal repeatedly manually, realizes that terminal automatically adjusts screen intensity according to luminance video, easy to operate, lifts user experience.
Description
Technical field
The present invention relates to electronic equipment screen administrative skill field, more particularly to a kind of method for adjusting screen intensity and
Device.
Background technology
With the rapid development of electronic technology, user can by terminal (such as mobile phone, laptop, tablet computer,
MP4 etc.) required video is watched whenever and wherever possible, enjoy the convenience that scientific and technological progress is brought.In general, different video content meeting
Show different light and shade visual effects.In addition, the electric quantity consumption situation of terminal is also what user paid special attention to, actually using
During, screen electric quantity consumption has accounted for the 40% of terminal power wastage in bulk or weight;If terminal is only used for playing video, screen electricity
The ratio that consumption accounts for terminal power wastage in bulk or weight is up to 50%.
In the prior art, it is constant brightness typically by the setting screen of terminal to ensure video-see, it is,
During video playing, terminal will be played out with the constant brightness.
But to make user obtain optimal viewing effect, then the brightness case according to video scene is needed, is adjusted repeatedly manually
The screen intensity of whole terminal, and cannot automatically adjust screen intensity, when such user's operation, can bother very much.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and device for adjusting screen intensity, in video display process
In, screen intensity of the user without adjusting terminal repeatedly manually, realizes that terminal automatically adjusts the screen of itself according to luminance video
Curtain brightness.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of method for adjusting screen intensity, including step:
In video display process, the brightness regulation information in video frame tagging in the video is obtained;The brightness regulation
Information is used to identify a kind of bright, common or brightness degree in the dark, and every kind of brightness degree corresponds to a default screen intensity respectively
Value;
Obtain the current electric quantity of terminal;
Judge whether the current electric quantity of terminal is more than default low battery threshold value;
If so, according to the brightness regulation information in video frame tagging, the screen intensity of terminal is adjusted to the brightness
Adjust the corresponding default screen brightness value of brightness degree of message identification;If not, only in the brightness regulation message identification
When brightness degree is dark, the screen intensity of terminal is adjusted to dark corresponding default screen brightness value.
Preferably, the brightness regulation information is added in advance according to the luminance video of each video by server.
Preferably, the server adds brightness regulation information in advance according to the luminance video of each video, including:
A, to each video, the average brightness value of each basic cycle in each video flowing is calculated;The basic cycle is
Default fixed video duration;
B, according to the average brightness value of each basic cycle, the preparation brightness degree of each basic cycle is determined;
C, for each basic cycle, perform:
C1, the preparation brightness degree of the preparation brightness degree for judging the current basic cycle and a upper basic cycle whether phase
Together;If identical, next basic cycle is determined as the current basic cycle, returns to the step C1;If it is different, then hold
Row step C2;
C2, the preparation brightness degree of the preparation brightness degree for judging the current basic cycle and next basic cycle whether phase
Together;If identical, the preparation brightness degree is added in default video frame tagging in next basic cycle;If
Difference, then be determined as the current basic cycle by next basic cycle, returns to the step C1.
Preferably, according to the average brightness value of each basic cycle, determine the preparation brightness degree of each basic cycle, wrap
Include:
Preset section the upper limit value H and lower limit L of the average brightness value;
If the average brightness value > H of basic cycle, the preparation brightness degree of the basic cycle is bright;If L < are substantially all
Average brightness value≤H of phase, then the preparation brightness degree of the basic cycle is common;If average brightness value≤L of basic cycle,
Then the preparation brightness degree of the basic cycle is dark.
Preferably, the current electric quantity for obtaining terminal, including:
In the charge state, directly determine terminal current electric quantity be by Full Charge Capacity, and/or, under non-charged state, obtain
Take the current actual electricity of terminal.
Preferably, the default low battery threshold value is:
The 20% of terminal Full Charge Capacity.
Preferably, the brightness regulation information in the frame tagging according to video, the screen intensity of terminal is adjusted to described
The corresponding default screen brightness value of brightness degree of brightness regulation message identification, including:
Obtain the current screen brightness value S1 of terminal;
Obtain the corresponding default screen brightness value S2 of brightness degree of brightness regulation message identification;
According to default brightness regulation frequency, gradually screen luminance of terminal value is adjusted to S2 from S1.
Preferably, the screen intensity of the terminal is quantified as 0 to 100 brightness value, it is right when the brightness degree is bright
The default screen brightness value answered is 80;When the brightness degree is common, corresponding default screen brightness value is 50;The brightness
Grade is dark, and corresponding default screen brightness value is 30.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of device for adjusting screen intensity, including:
Preferably, the brightness regulation information is added in advance according to the luminance video of each video by server.
Preferably, the current electric quantity obtains module, it is specifically used for:
In the charge state, directly determine terminal current electric quantity be by Full Charge Capacity, and/or, under non-charged state, obtain
Take the current actual electricity of terminal.
Preferably, the default low battery threshold value is:
The 20% of terminal Full Charge Capacity.
Preferably, the screen intensity of the terminal is quantified as 0 to 100 brightness value, it is right when the brightness degree is bright
The default screen brightness value answered is 80;When the brightness degree is common, corresponding default screen brightness value is 50;The brightness
Grade is dark, and corresponding default screen brightness value is 30.
As seen from the above technical solutions, the embodiment of the present invention provides a kind of method and device for adjusting screen intensity.
In video display process, the brightness regulation information in video frame tagging in the video is obtained, obtains the current electric quantity of terminal, is judged
Whether the current electric quantity of terminal is more than default low battery threshold value, if so, according to the brightness regulation information in video frame tagging,
The screen intensity of terminal is adjusted into the corresponding default screen brightness value of brightness degree to the brightness regulation message identification;If
It is no, only when the brightness degree of the brightness regulation message identification is dark, the screen intensity of terminal is adjusted to dark corresponding pre-
If screen brightness value.It can be seen from the above that using the embodiment of the present invention, terminal can be automatically adjusted according to currently playing luminance video
The screen intensity of itself, screen intensity of the user without adjusting terminal repeatedly manually is easy to operate, lifts user experience.Moreover,
, will only when the brightness degree of monochrome information mark is dark when the current electric quantity of terminal is not more than default low battery threshold value
The screen intensity of terminal is adjusted to dark corresponding default screen brightness value, i.e., the behaviour only dimmed to the screen intensity of terminal
Make, it is thus possible to enough reduce electric quantity consumption.Certainly, implement any of the products of the present invention or method must be not necessarily required to reach at the same time
To all the above advantage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of method for adjusting screen intensity provided in an embodiment of the present invention;
Fig. 2 is a kind of structure diagram of device for adjusting screen intensity provided in an embodiment of the present invention;
Fig. 3 is the signal of the video flowing with brightness regulation information in a kind of instantiation provided in an embodiment of the present invention
Figure.
Embodiment
At present, electronic technology develops rapidly, and more and more electronic products are obtained into the daily life of access customer to user
The facility that various information bring great convenience.For example, user can by mobile phone, laptop, tablet computer,
The terminals such as ipad, MP4 watch required video whenever and wherever possible.However, freely enjoy these terminals bring user facility when, user
Need to adjust the screen intensity of terminal according to different luminance videos, to obtain a pleasant visual effect.But
It is that in actual use, user adjusts greatly the brightness of screen repeatedly both for different luminance videos using manual mode, this
Sample, operating can be cumbersome.Therefore, most users are more accustomed to the screen intensity of terminal being arranged to constant brightness, but
It can so cause the screen electric quantity consumption of terminal big.
In view of the above-mentioned problems, the embodiment of the present invention provides a kind of method and device for adjusting screen intensity, applied to terminal,
This method comprises the following steps:
In video display process, the brightness regulation information in video frame tagging in the video is obtained;The brightness regulation
Information is used to identify a kind of bright, common or brightness degree in the dark, and every kind of brightness degree corresponds to a default screen intensity respectively
Value;
Obtain the current electric quantity of terminal;
Judge whether the current electric quantity of terminal is more than default low battery threshold value;
If so, according to the brightness regulation information in video frame tagging, the screen intensity of terminal is adjusted to the brightness
Adjust the corresponding default screen brightness value of brightness degree of message identification;If not, only in the brightness regulation message identification
When brightness degree is dark, the screen intensity of terminal is adjusted to dark corresponding default screen brightness value.
Based on the above situation as it can be seen that terminal screen that itself can be automatically adjusted according to currently playing luminance video is bright
Degree, screen intensity of the user without adjusting terminal repeatedly manually is easy to operate, lifts user experience.Moreover, in the current of terminal
It is only when the brightness degree of monochrome information mark is dark, the screen of terminal is bright when electricity is not more than default low battery threshold value
Degree is adjusted to dark corresponding default screen brightness value, i.e., the operation only dimmed to the screen intensity of terminal, it is thus possible to enough
Reduce electric quantity consumption.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is a kind of flow diagram of method for adjusting screen intensity provided in an embodiment of the present invention, including walks as follows
Suddenly:
Step S101:In video display process, the brightness regulation information in video frame tagging in the video is obtained.
Wherein, brightness regulation information is used to identify a kind of bright, common or brightness degree in the dark, every kind of brightness degree difference
A corresponding default screen brightness value.
In a kind of embodiment of the present invention, brightness regulation information is regarding according to each video by server
Frequency brightness is added in advance.
Furthermore, server adds brightness regulation information in advance according to the luminance video of each video, including:
A, to each video, the average brightness value of each basic cycle in each video flowing is calculated.
Wherein, the basic cycle is default fixed video duration, for example, being set according to the empirical parameter during video production
It is a basic cycle to put 1 second, or, sets every 24 video frame basic for one according to the empirical parameter during video production
Cycle.
In a kind of embodiment of the present invention, the average brightness of each basic cycle in each video flowing is calculated
Value, can usually use average weighted method.By the brightness value and the video that calculate each video frame in the basic cycle
Weights corresponding to the brightness value of frame, obtain the average brightness value of basic cycle.
It should be noted that the video frame images in each video flowing are quantified previously according to gradation of image test card
Processing, by the brightness value within the brightness specification to 0-10 of the video frame images, for each frame video image in video flowing,
The brightness value of the quantization of specific one.
B, according to the average brightness value of each basic cycle, the preparation brightness degree of each basic cycle is determined.
Wherein, according to the average brightness value of each basic cycle, determine the preparation brightness degree of each basic cycle, wrap
Include:
Preset section the upper limit value H and lower limit L of the average brightness value;
If the average brightness value > H of basic cycle, the preparation brightness degree of the basic cycle is bright;If L < are substantially all
Average brightness value≤H of phase, then the preparation brightness degree of the basic cycle is common;If average brightness value≤L of basic cycle,
Then the preparation brightness degree of the basic cycle is dark.
In a kind of embodiment of the present invention, in advance by the brightness of video frame images according to the brightness after its quantization
Value is divided into bright, common, dark three video frame brightness degrees, wherein, " bright " corresponding range of luminance values is:7-10, " common "
Corresponding range of luminance values is:4-6, " dark " corresponding range of luminance values are:0-3.
C, for each basic cycle, perform:
It should be strongly noted that since the first frame and the last frame shortage one of the video frame in video flowing can left and right
The video frame of reference, therefore, the first frame in video flowing keep current luminance video grade with last frame;This step
Acquiescence is since the second video frame of video flowing to video frame end second from the bottom.
C1, the preparation brightness degree of the preparation brightness degree for judging the current basic cycle and a upper basic cycle whether phase
Together;If identical, next basic cycle is determined as the current basic cycle, returns to the step C1;If it is different, then hold
Row step C2.
It should be noted that the preparation brightness degree of the video frame images in each video flowing is added to substantially by server
In video frame tagging in cycle, brightness regulation information is obtained, when terminal obtains the brightness in the video flowing in video frame tagging
Adjust information after, in label it is bright, common, secretly correspond respectively to default screen brightness value.
Example one:If the preparation brightness degree of current basic cycle is identical with the preparation grade of a upper basic cycle, it was:
It is bright, then next basic cycle of current basic cycle is determined as the current basic cycle, its brightness degree is:It is bright.
Example two:If the preparation brightness degree of current basic cycle was common, the preparation brightness degree of a upper basic cycle
It is to be dark, i.e., different, perform step C2.
C2, the preparation brightness degree of the preparation brightness degree for judging the current basic cycle and next basic cycle whether phase
Together;If identical, the preparation brightness degree is added in default video frame tagging in next basic cycle;If
Difference, then be determined as the current basic cycle by next basic cycle, returns to the step C1.
Still for the example two in C1 steps, if the preparation brightness of next basic cycle in current video cycle etc.
Level is also by chance common, then adds preparation brightness degree in default video frame tagging in next basic cycle:Commonly;
If the preparation brightness degree of next basic cycle in current video cycle is not common, next basic cycle is determined as
The current basic cycle, returns to the step C1.
Step S102:Obtain the current electric quantity of terminal.
It should be strongly noted that the current electric quantity of terminal is obtained, including:
In the charge state, directly determine terminal current electric quantity be by Full Charge Capacity, and/or, under non-charged state, obtain
Take the current actual electricity of terminal.
Step S103:Judge whether the current electric quantity of terminal is more than default low battery threshold value, if so, performing step
S104, if not, performing step S105.
In the preferred embodiment of the present invention, default low battery threshold value is:The 20% of terminal Full Charge Capacity.It is actual
In, default low battery threshold value on the basis of 20%, can also do upper and lower 10% adjustment, such as also can be according to actual need
It is arranged to:10% or 15% or 28% or 30% grade equivalence.That is, the embodiment of the present invention is not to default low battery
The concrete numerical value of threshold value is defined, it is necessary to set suitable low battery threshold value with reference to practical application.
Step S104:According to the brightness regulation information in video frame tagging, the screen intensity of terminal is adjusted to described bright
Degree adjusts the corresponding default screen brightness value of brightness degree of message identification.
In a kind of embodiment of the present invention, the screen intensity of terminal is quantified as 0 to 100 brightness value, its
In, when brightness degree is bright, corresponding predetermined luminance value is 80;When brightness degree is common, corresponding predetermined luminance value is 50;
Brightness degree is dark, and corresponding predetermined luminance value is 30.
In a kind of embodiment of the present invention, the brightness regulation information in video frame tagging, by terminal
Screen intensity adjusts the corresponding predetermined luminance value of brightness degree to the brightness regulation message identification, including:
Obtain the current screen brightness value S1 of terminal;
Obtain the corresponding brightness value S2 of brightness degree of brightness regulation message identification;
According to default brightness regulation frequency, gradually screen luminance of terminal value is adjusted to S2 from S1.
In practical applications, brightness regulation frequency can be pre-set according to the visual experience effect of user.Example
Such as, a kind of brightness regulation frequency is:20 brightness values of adjusting per second, it may also be said to, one brightness value of every 50 milliseconds of adjustment.
Step S105:Only when the brightness degree of the brightness regulation message identification is dark, by the screen intensity tune of terminal
Save dark corresponding default screen brightness value.
Specifically, this step can include:
If the brightness regulation information in video frame tagging is bright, the current screen intensity of terminal is kept;
If the brightness regulation information in video frame tagging is common, the current screen intensity of terminal is kept;
If the brightness regulation information in video frame tagging is dark, the screen intensity of terminal is adjusted to dark.
Based on the above situation as it can be seen that terminal screen that itself can be automatically adjusted according to currently playing luminance video is bright
Degree, screen intensity of the user without adjusting terminal repeatedly manually is easy to operate, lifts user experience.Moreover, in the current of terminal
It is only when the brightness degree of monochrome information mark is dark, the screen of terminal is bright when electricity is not more than default low battery threshold value
Degree is adjusted to dark corresponding default screen brightness value, i.e., the operation only dimmed to the screen intensity of terminal, it is thus possible to enough
Reduce electric quantity consumption.
Fig. 2 is a kind of structure diagram of device for adjusting screen intensity provided in an embodiment of the present invention, applied to terminal,
The device includes:Brightness regulation information acquisition module, current electric quantity obtain module, current electric quantity judgment module and screen intensity tune
Save module.
Wherein, brightness regulation information acquisition module 201, in video display process, obtains video frame tagging in the video
In brightness regulation information;The brightness regulation information is used to identify a kind of bright, common or brightness degree in the dark, every kind of brightness
Grade corresponds to a default screen brightness value respectively;
Current electric quantity obtains module 202, for obtaining the current electric quantity of terminal;
Whether current electric quantity judgment module 203, the current electric quantity for judging terminal are more than default low battery threshold value;
Screen intensity adjustment module 204, for when the determination result is yes, being believed according to the brightness regulation in video frame tagging
Breath, the corresponding default screen brightness value of brightness degree to the brightness regulation message identification is adjusted by the screen intensity of terminal;
When the judgment result is No, only when the brightness degree of the brightness regulation message identification is dark, by the screen intensity tune of terminal
Save dark corresponding default screen brightness value.
Optionally, brightness regulation information is added in advance according to the luminance video of each video by server.
Wherein, current electric quantity obtains module 203, is specifically used for:
In the charge state, directly determine terminal current electric quantity be by Full Charge Capacity, and/or, under non-charged state, obtain
Take the current actual electricity of terminal.
In the preferred embodiment of the present invention, default low battery threshold value is:The 20% of terminal Full Charge Capacity.It is actual
In, default low battery threshold value on the basis of 20%, can also do upper and lower 10% adjustment, such as also can be according to actual need
It is arranged to:10% or 15% or 28% or 30% grade equivalence.That is, the embodiment of the present invention is not to default low battery
The concrete numerical value of threshold value is defined, it is necessary to set suitable low battery threshold value with reference to practical application.
Optionally, the screen intensity of terminal is quantified as 0 to 100 brightness value, corresponding when the brightness degree is bright
Default screen brightness value is 80;When the brightness degree is common, corresponding default screen brightness value is 50;The brightness degree
To be dark, corresponding default screen brightness value is 30.
Based on the above situation as it can be seen that terminal screen that itself can be automatically adjusted according to currently playing luminance video is bright
Degree, screen intensity of the user without adjusting terminal repeatedly manually is easy to operate, lifts user experience.Moreover, in the current of terminal
It is only when the brightness degree of monochrome information mark is dark, the screen of terminal is bright when electricity is not more than default low battery threshold value
Degree is adjusted to dark corresponding default screen brightness value, i.e., the operation only dimmed to the screen intensity of terminal, it is thus possible to enough
Reduce electric quantity consumption.
For device embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Expenditure illustrates referring to the part of embodiment of the method.
With reference to three specific examples, the implementation process and effect of the present invention program are illustrated:
Example one:
Assuming that:
In currently playing video, the brightness regulation information in the video in video frame tagging is as shown in figure 3, work as forward sight
The frequency cycle was the second basic cycle;
Default low battery threshold value is the 20% of terminal Full Charge Capacity;
The screen brightness value S1 of present terminal is:70;
When the screen intensity grade of terminal is bright, corresponding default screen brightness value is 80, and the brightness degree is common
When, corresponding default screen brightness value is 50, and the brightness degree is dark, and corresponding default screen brightness value is 30;
Default brightness regulation frequency is 20 milliseconds of adjustment, one brightness value.
According to step S101:In video display process, the brightness regulation information in video frame tagging in the video is obtained:It is general
It is logical.
According to step S102:The current electric quantity for obtaining terminal is the 80% of terminal Full Charge Capacity.
According to step S103:Judge that the current electric quantity of terminal is more than default low battery threshold value 20%, perform step S104.
According to step S104:According to default brightness regulation frequency, pass through | S2-S1 | * 20 i.e. 400 milliseconds of screens by terminal
The corresponding default screen brightness value S2 of brightness degree of curtain brightness S1 adjustings to the brightness regulation message identification is 50.
Example two:
Assuming that:
In currently playing video, the brightness regulation information in the video in video frame tagging is as shown in figure 3, work as forward sight
The frequency cycle was the 4th basic cycle;
Default low battery threshold value is the 30% of terminal Full Charge Capacity;
The screen brightness value S1 of present terminal is 40;
When the screen intensity grade of terminal is bright, corresponding default screen brightness value is 80;The brightness degree is common
When, corresponding default screen brightness value is 50;The brightness degree is dark, and corresponding default screen brightness value is 30;
Default brightness regulation frequency is 20 milliseconds of adjustment, one brightness value.
According to step S101:In video display process, the brightness regulation information in video frame tagging in the video is obtained:
It is bright.
According to step S102:The current electric quantity for obtaining terminal is the 15% of terminal Full Charge Capacity.
According to step S103:Judge that the current electric quantity of terminal is not more than default low battery threshold value 30%, perform step
S105。
According to step S105:Since the brightness degree of the brightness regulation message identification in current video frame tagging is:It is bright, because
This keeps current screen brightness value 40.
Example three:
Assuming that:
In currently playing video, the brightness regulation information in the video in video frame tagging is as shown in figure 3, work as forward sight
The frequency cycle was the 6th basic cycle;
Default low battery threshold value is the 10% of terminal Full Charge Capacity;
The screen brightness value S1 of present terminal is 40;
When the screen intensity grade of terminal is bright, corresponding default screen brightness value is 80;The brightness degree is common
When, corresponding default screen brightness value is 50;The brightness degree is dark, and corresponding default screen brightness value is 30;
Default brightness regulation frequency is 20 milliseconds of adjustment, one brightness value.
According to step S101:In video display process, the brightness regulation information in video frame tagging in the video is obtained:
Secretly.
According to step S102:The current electric quantity for obtaining terminal is the 8% of terminal Full Charge Capacity.
According to step S103:Judge that the current electric quantity of terminal is not more than default low battery threshold value 10%, perform step
S105。
According to step S105:Since the brightness degree of the brightness regulation message identification in current video frame tagging is:Secretly, because
This, according to default brightness regulation frequency, passes through | S2-S1 | * 20 i.e. 200 milliseconds of screen intensity S1 by terminal are adjusted to described
The corresponding default screen brightness value S2 of brightness degree of brightness regulation message identification is 30.
Based on the above situation as it can be seen that terminal screen that itself can be automatically adjusted according to currently playing luminance video is bright
Degree, screen intensity of the user without adjusting terminal repeatedly manually is easy to operate, lifts user experience.Moreover, in the current of terminal
It is only when the brightness degree of monochrome information mark is dark, the screen of terminal is bright when electricity is not more than default low battery threshold value
Degree is adjusted to dark corresponding default screen brightness value, i.e., the operation only dimmed to the screen intensity of terminal, it is thus possible to enough
Reduce electric quantity consumption.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (13)
- A kind of 1. method for adjusting screen luminance of terminal, it is characterised in that applied to terminal, the described method includes:In video display process, the brightness regulation information in video frame tagging in the video is obtained;The brightness regulation information For identifying a kind of bright, common or in the dark brightness degree, every kind of brightness degree corresponds to a default screen brightness value respectively;Obtain the current electric quantity of terminal;Judge whether the current electric quantity of terminal is more than default low battery threshold value;If so, according to the brightness regulation information in video frame tagging, the screen intensity of terminal is adjusted to the brightness regulation The corresponding default screen brightness value of brightness degree of message identification;If not, only in the brightness of the brightness regulation message identification When grade is dark, the screen intensity of terminal is adjusted to dark corresponding default screen brightness value.
- 2. according to the method described in claim 1, it is characterized in that, the brightness regulation information is to be regarded by server according to each What the luminance video of frequency added in advance.
- 3. according to the method described in claim 2, it is characterized in that, the server is advance according to the luminance video of each video Brightness regulation information is added, including:A, to each video, the average brightness value of each basic cycle in each video flowing is calculated;The basic cycle is default Fixed video duration;B, according to the average brightness value of each basic cycle, the preparation brightness degree of each basic cycle is determined;C, for each basic cycle, perform:Whether C1, the preparation brightness degree for judging the current basic cycle are identical with the preparation brightness degree of a upper basic cycle; If identical, next basic cycle is determined as the current basic cycle, returns to the step C1;If it is different, then perform Step C2;Whether C2, the preparation brightness degree for judging the current basic cycle are identical with the preparation brightness degree of next basic cycle; If identical, the preparation brightness degree is added in default video frame tagging in next basic cycle;If no Together, then next basic cycle is determined as the current basic cycle, returns to the step C1.
- 4. according to the method described in claim 3, it is characterized in that, according to the average brightness value of each basic cycle, determine every The preparation brightness degree of a basic cycle, including:Preset section the upper limit value H and lower limit L of the average brightness value;If the average brightness value > H of basic cycle, the preparation brightness degree of the basic cycle is bright;If the L < basic cycles Average brightness value≤H, then the preparation brightness degree of the basic cycle is common;, should if average brightness value≤L of basic cycle The preparation brightness degree of basic cycle is dark.
- 5. according to the method described in claim 1, it is characterized in that, it is described obtain terminal current electric quantity, including:In the charge state, directly determine terminal current electric quantity be by Full Charge Capacity, and/or, under non-charged state, obtain eventually The current actual electricity in end.
- 6. according to the method described in claim 1, it is characterized in that, the default low battery threshold value is:The 20% of terminal Full Charge Capacity.
- 7. according to the method described in claim 1, it is characterized in that, brightness regulation information in the frame tagging according to video, The screen intensity of terminal is adjusted into the corresponding default screen brightness value of brightness degree to the brightness regulation message identification, bag Include:Obtain the current screen brightness value S1 of terminal;Obtain the corresponding default screen brightness value S2 of brightness degree of brightness regulation message identification;According to default brightness regulation frequency, gradually screen luminance of terminal value is adjusted to S2 from S1.
- 8. according to claim 1-7 any one of them methods, it is characterised in that the screen intensity of the terminal is quantified as 0 To 100 brightness value, when the brightness degree is bright, corresponding default screen brightness value is 80;The brightness degree is common When, corresponding default screen brightness value is 50;The brightness degree is dark, and corresponding default screen brightness value is 30.
- 9. a kind of device for adjusting screen luminance of terminal, it is characterised in that applied to terminal, described device includes:Brightness regulation Information acquisition module, current electric quantity obtain module, current electric quantity judgment module and screen intensity adjustment module;Wherein, brightness regulation information acquisition module, in video display process, obtaining in the video in video frame tagging Brightness regulation information;The brightness regulation information is used to identify a kind of bright, common or brightness degree in the dark, every kind of brightness degree A default screen brightness value is corresponded to respectively;Current electric quantity obtains module, for obtaining the current electric quantity of terminal;Whether current electric quantity judgment module, the current electric quantity for judging terminal are more than default low battery threshold value;Screen intensity adjustment module, for when the determination result is yes, according to the brightness regulation information in video frame tagging, inciting somebody to action eventually The screen intensity at end adjusts the corresponding default screen brightness value of brightness degree to the brightness regulation message identification;Judging to tie When fruit is no, only when the brightness degree of the brightness regulation message identification is dark, the screen intensity of terminal is adjusted to dark right The default screen brightness value answered.
- 10. device according to claim 9, it is characterised in that the brightness regulation information is according to each by server What the luminance video of video added in advance.
- 11. device according to claim 9, it is characterised in that the current electric quantity obtains module, is specifically used for:In the charge state, directly determine terminal current electric quantity be by Full Charge Capacity, and/or, under non-charged state, obtain eventually The current actual electricity in end.
- 12. device according to claim 9, it is characterised in that the default low battery threshold value is:The 20% of terminal Full Charge Capacity.
- 13. according to claim 9-12 any one of them devices, it is characterised in that the screen intensity of the terminal is quantified as 0 to 100 brightness value, when the brightness degree is bright, corresponding default screen brightness value is 80;The brightness degree is common When, corresponding default screen brightness value is 50;The brightness degree is dark, and corresponding default screen brightness value is 30.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510150450.3A CN104703048B (en) | 2015-03-31 | 2015-03-31 | A kind of method and device for adjusting screen intensity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510150450.3A CN104703048B (en) | 2015-03-31 | 2015-03-31 | A kind of method and device for adjusting screen intensity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104703048A CN104703048A (en) | 2015-06-10 |
CN104703048B true CN104703048B (en) | 2018-04-13 |
Family
ID=53349752
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510150450.3A Active CN104703048B (en) | 2015-03-31 | 2015-03-31 | A kind of method and device for adjusting screen intensity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104703048B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105869605A (en) * | 2015-12-09 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Display screen brightness control method and device |
CN106028135A (en) * | 2016-05-13 | 2016-10-12 | 乐视控股(北京)有限公司 | Method and device for adjusting description of three-dimensional scene in virtual reality |
CN106201414B (en) * | 2016-06-28 | 2019-05-17 | Oppo广东移动通信有限公司 | Control method, control device and electronic device |
CN106097987A (en) * | 2016-08-29 | 2016-11-09 | 合肥惠科金扬科技有限公司 | A kind of LCD backlight module processing method with brightness impression regulation |
CN108234914A (en) * | 2016-12-22 | 2018-06-29 | 中科创达软件股份有限公司 | A kind of video document generating method and device |
CN106713640B (en) * | 2016-12-27 | 2019-06-28 | 努比亚技术有限公司 | A kind of brightness adjusting method and equipment |
CN108648697A (en) * | 2018-03-30 | 2018-10-12 | 中兴通讯股份有限公司 | Screen intensity calibration method, apparatus and system, computer readable storage medium |
CN110072146B (en) * | 2019-04-17 | 2021-07-16 | 长沙理工大学 | Power-saving method and device for playing online video by mobile terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622672A (en) * | 2004-12-21 | 2005-06-01 | 北京中星微电子有限公司 | A power supply management method and apparatus for mobile communication terminal |
CN102034442A (en) * | 2009-09-25 | 2011-04-27 | 比亚迪股份有限公司 | Method and device for adjusting backlight of liquid crystal display screen as well as terminal equipment |
CN102790824A (en) * | 2011-05-19 | 2012-11-21 | 中兴通讯股份有限公司 | Mobile terminal and adjusting method of screen brightness in calling state of mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8452344B2 (en) * | 2005-08-25 | 2013-05-28 | Nokia Corporation | Method and device for embedding event notification into multimedia content |
-
2015
- 2015-03-31 CN CN201510150450.3A patent/CN104703048B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622672A (en) * | 2004-12-21 | 2005-06-01 | 北京中星微电子有限公司 | A power supply management method and apparatus for mobile communication terminal |
CN102034442A (en) * | 2009-09-25 | 2011-04-27 | 比亚迪股份有限公司 | Method and device for adjusting backlight of liquid crystal display screen as well as terminal equipment |
CN102790824A (en) * | 2011-05-19 | 2012-11-21 | 中兴通讯股份有限公司 | Mobile terminal and adjusting method of screen brightness in calling state of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104703048A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104703048B (en) | A kind of method and device for adjusting screen intensity | |
CN105632447B (en) | The display brightness method of adjustment and device of a kind of liquid crystal display | |
CN105278899B (en) | A kind of display control method and device | |
CN105185301B (en) | Brightness of display screen adjusting method | |
CN104616626B (en) | A kind of display device brightness regulating apparatus and method | |
CN101740005B (en) | Display control apparatus and display control method | |
CN107993604A (en) | The adjusting method and equipment of a kind of display screen | |
CN109427317A (en) | Screen brightness control method, device, terminal and computer readable storage medium | |
CN104902088B (en) | Mobile terminal adjusts the method and device of screen intensity | |
CN107945766A (en) | Display device | |
CN101404148A (en) | Method for regulating terminal screen display effect and terminal unit | |
CN105489191A (en) | Display device and display method thereof | |
CN103021348A (en) | Display device and screen backlight control method | |
CN108281125A (en) | The method, apparatus and equipment of backlight illumination adjusting are carried out according to human eye characteristic | |
CN104793742B (en) | Shooting preview method and device | |
CN106548763B (en) | Image display method and device and terminal | |
CN105700771A (en) | Display apparatus and display method thereof | |
WO2013148702A1 (en) | Techniques for user profiles for viewing devices | |
CN105632458A (en) | Method, device and related equipment for adjusting screen brightness | |
CN104183216A (en) | Method and device for controlling brightness of display screen of displayer | |
CN112289278A (en) | Screen brightness adjusting method, screen brightness adjusting device and electronic equipment | |
CN109272944A (en) | Backlight adjusting method, device, terminal device and computer-readable storage medium | |
CN107437402B (en) | Method for controlling backlight thereof, device and display equipment | |
CN107465811B (en) | Method for reducing temperature rise, computer readable storage medium and electronic equipment | |
CN107329573B (en) | Control method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |