CN106453892A - Android screen always-on and energy-saving control method and system based on dynamic brightness adjustment - Google Patents
Android screen always-on and energy-saving control method and system based on dynamic brightness adjustment Download PDFInfo
- Publication number
- CN106453892A CN106453892A CN201610888110.5A CN201610888110A CN106453892A CN 106453892 A CN106453892 A CN 106453892A CN 201610888110 A CN201610888110 A CN 201610888110A CN 106453892 A CN106453892 A CN 106453892A
- Authority
- CN
- China
- Prior art keywords
- screen
- state
- video
- brightness
- android
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/73—Battery saving arrangements
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses an Android screen always-on and energy-saving control method and system based on dynamic brightness adjustment. The method comprises the following steps: S1, when a user uses video play software, acquiring the using permission of a screen lock of an Android system, and controlling a screen to be in an always-on state in the use period of the software via the screen lock; S2, after the screen enters the always-on state, controlling the brightness of the screen in a high brightness state if the Android system is in a video playing state, or controlling the brightness of the screen in a low brightness state if the Android system is in a non-video playing state; and S3, unlocking the screen lock after use of the software is finished, so that the screen can recover a screen-off state normally. According to the method and the system, the brightness of the screen can be improved or lowered according to different video use conditions, so that power consumption can be reduced, and the standby time of a mobile phone can be prolonged; and the method can improve user experience.
Description
Technical field
The present invention relates to android system energy-conserving control technology field, more particularly to a kind of based on luminance dynamic regulation
Android screen Chang Liangyu energy-saving control method and system.
Background technology
Android phone is if open some application program under open state, if long-time rests on some
System in the case of interface is processed because mobile phone screen can be gone out to shield by the consideration such as power consumption with dormancy so that mobile phone is in dormancy shape
State.
It is to need mobile phone never enter resting state during the use of the scene such as live, but primary
Android system is arranged in interface either with or without the function choosing-item.
There are some control methods heighten the brightness of mobile phone screen during using software in prior art, but screen
The long-term Chang Lianghou of curtain may bring certain power dissipation overhead to system, and such control method is unfavorable for the energy-conservation of mobile phone, meeting
Greatly reduce the stand-by time of mobile phone.So needing to provide a kind of method of the control screen luminance of mobile phone for being capable of intelligence.
Content of the invention
The technical problem to be solved in the present invention is the defect for regulation screen intensity that cannot be intelligent in prior art,
A kind of Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation and system are provided.
The technical solution adopted for the present invention to solve the technical problems is:
The present invention provides a kind of Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation, including with
Lower step:
S1, user obtain the access right of the screen lock of android system, in software when using video jukebox software
During use often bright state is kept by screen lock control screen;
After S2, screen enter often bright state, if video broadcasting condition, control screen brightness is high brightness state;If
The non-broadcast state of video, control screen brightness is low-light level state;
After S3, software are using terminating, screen lock is discharged, screen can normally return to screen state of going out.
Further, the video jukebox software in the method for the present invention includes live class video software, the method for step S2
Also include:
After screen enters often bright state, live class video software is determined whether:
If live class video software, screen printing image, carries out recognition of face to screen picture at a time interval,
And while determine whether that audio signal is input into;If having recognized face in screen picture or having had audio signal to be input into, judge
For live state, control screen brightness is high brightness state;If not recognized face in screen picture and having believed without audio frequency
Number input, then be judged as live pause state, control screen brightness be low-light level state;
If non-live class video software, then carry out the judgement of video broadcasting condition.
Further, the screen of android system is controlled to keep the method for often bright state concrete the step of the present invention in S1
For:
S11, state and obtain the authority locked using power management in android system file and access bottom power supply pipe
The authority of reason equipment;
S12, stated authority after, call automatically call back function, in the call back function execute obtain screen lock operation;
S13, in software during use, keeps often bright state by screen lock control screen.
Further, the method the step of present invention in S2 to control screen brightness is specially:
After S21, screen enter often bright state, the current initial luma values of screen are obtained, and initial luma values are stored in
In file;
S22, detect whether as video broadcasting condition:By the state of video playback flag bit is detected, current regarding is judged
Frequency broadcast state, if flag bit is true, for video broadcasting condition;If flag bit is false, for the non-broadcasting shape of video
State;
If S23 video broadcasting condition, control screen brightness is high brightness state;
If during the non-broadcast state of video, control screen brightness be.
Further, the method for changing screen intensity the step of the present invention in S23 is specially:
In a, setting android system, the excursion of brightness value is 0-255, and monitors the data base for storing the brightness value
Change;
B, write function by the data base of android system, one shaping brightness value of write is in data base;
C, high brightness state are the 60%-90% of highest brightness value, that is, the brightness value for arranging screen is 153-230.
Further, the method for discharging screen lock the step of the present invention in S3 is specially:
At the end of S31, software use, android system calls application life cycles function, in the application life cycles letter
Screen lock is discharged in number;
S32, release screen lock after, close luminance dynamic regulatory function, screen from often bright recovering state to initial luma values,
And screen can normally return to screen state of going out.
The present invention provides a kind of Android screen Chang Liangyu energy-saving control system based on luminance dynamic regulation, including normal
Bright control module and luminance adjustment module, wherein:
Normal bright control module, for when user is using video jukebox software, obtaining making for the screen lock of android system
With authority, during use often bright state is kept by screen lock control screen in software;After software is using terminating, screen is discharged
Lock, screen can normally return to screen state of going out;
Luminance adjustment module, for, after screen enters often bright state, if video broadcasting condition, control screen brightness is
High brightness state;If the non-broadcast state of video, control screen brightness is low-light level state.
Further, the often bright control module of the present invention includes authority acquiring module, often screen lock acquisition module, bright state
Control module, screen lock release module and screen state recovery module, wherein:
Authority acquiring module, for state in android system file and obtain the authority that is locked using power management and
Access the authority of bottom power supply management device;
Screen lock acquisition module, for, after authority has been stated, calling automatically call back function, executes in the call back function
Obtain the operation of screen lock;
Often bright status control module, in software during use, keeps often bright state by screen lock control screen;
Screen lock release module, for, at the end of software use, android system calls application life cycles function,
Screen lock is discharged in the application life cycles function;
Screen state recovery module, for, after release screen lock, closing luminance dynamic regulatory function, screen is from Chang Liangzhuan
State returns to initial luma values, and screen can normally return to screen state of going out.
Further, the luminance adjustment module of the present invention includes:
Initial luma values acquisition module, for after screen enters often bright state, obtaining the current initial luma values of screen,
And initial luma values are stored hereof;
Video broadcasting condition detection module, for detecting whether be video broadcasting condition:By detecting video playback mark
The state of position, judges current video broadcasting condition, if flag bit is true, for video broadcasting condition;If flag bit is
False, then be the non-broadcast state of video;
Screen intensity dynamic regulation module, for dynamic regulation screen intensity, if video broadcasting condition, control screen is bright
Spend for high brightness state;If during the non-broadcast state of video, control screen brightness be.
Further, the system of the present invention is desirably integrated in the client setting list of android system.
The beneficial effect comprise that:The Android screen Chang Liangyu section for being adjusted based on luminance dynamic of the present invention
Energy control method, by the use state of identification software, control screen keeps often bright state, and the side for adjusting by luminance dynamic
Method, for different video software service conditions, reaches the dynamic purpose for adjusting Android screen brightness;The method can
For different video service conditions, improve or reduce the brightness of screen, can reduce power dissipation overhead, extending cell phone standby when
Between;And such method can improve Consumer's Experience.
Description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the often bright control method flow chart of the embodiment of the present invention;
Fig. 3 is the brightness regulation flow chart of the embodiment of the present invention;
Fig. 4 is the system block diagram of the embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, not
For limiting the present invention.
As shown in figure 1, the Android screen Chang Liangyu Energy Saving Control side for being adjusted based on luminance dynamic of the embodiment of the present invention
Method, comprises the following steps:
S1, user obtain the access right of the screen lock of android system, in software when using video jukebox software
During use often bright state is kept by screen lock control screen;
After S2, screen enter often bright state, if video broadcasting condition, control screen brightness is high brightness state;If
The non-broadcast state of video, control screen brightness is low-light level state;
After S3, software are using terminating, screen lock is discharged, screen can normally return to screen state of going out.
For the live class video software in video jukebox software, due to live class video software play property with common
Video jukebox software difference, for example live class video software is during live, and reproduction time is longer, if be constantly in
The state of high brightness will waste more electricity, and live during occur longer time main broadcaster rest, live temporarily
The stage for stopping, so only by judging whether video is played to decide whether the state using high brightness, it is impossible to enough meet straight
Broadcast the broadcast request of class software.For this problem, we introduce carries out recognition of face to live picture, to judge live master
People is held whether before photographic head;Audio signal is monitored, with judge live during whether be music state, if not
It is both states, then it is assumed that the live state in suspending, even if at this moment the video jukebox software of live class is in operation shape
In state, still screen intensity is adjusted to low-light level state.
In another specific embodiment of the present invention, the video jukebox software in the method includes that live class video is soft
Part, the method for step S2 also includes:
After screen enters often bright state, live class video software is determined whether:
If live class video software, screen printing image, carries out recognition of face to screen picture at a time interval,
And while determine whether that audio signal is input into;If having recognized face in screen picture or having had audio signal to be input into, judge
For live state, control screen brightness is high brightness state;If not recognized face in screen picture and having believed without audio frequency
Number input, then be judged as live pause state, control screen brightness be low-light level state;
If non-live class video software, then carry out the judgement of video broadcasting condition.
The screen of android system is controlled to keep the method for often bright state to be specially in step S1:
S11, state and obtain the authority locked using power management in android system file and access bottom power supply pipe
The authority of reason equipment;
S12, stated authority after, call automatically call back function, in the call back function execute obtain screen lock operation;
S13, in software during use, keeps often bright state by screen lock control screen.
Method in step S2 to control screen brightness is specially:
After S21, screen enter often bright state, the current initial luma values of screen are obtained, and initial luma values are stored in
In file;
S22, detect whether as video broadcasting condition:By the state of video playback flag bit is detected, current regarding is judged
Frequency broadcast state, if flag bit is true, for video broadcasting condition;If flag bit is false, for the non-broadcasting shape of video
State;
If S23 video broadcasting condition, control screen brightness is high brightness state;
If during the non-broadcast state of video, control screen brightness be.
The method for changing screen intensity in step S23 is specially:
In a, setting android system, the excursion of brightness value is 0-255, and monitors the data base for storing the brightness value
Change;
B, write function by the data base of android system, one shaping brightness value of write is in data base;
C, high brightness state are the 60%-90% of highest brightness value, that is, the brightness value for arranging screen is 153-230.
The method for discharging screen lock in step S3 is specially:
At the end of S31, software use, android system calls application life cycles function, in the application life cycles letter
Screen lock is discharged in number;
S32, release screen lock after, close luminance dynamic regulatory function, screen from often bright recovering state to initial luma values,
And screen can normally return to screen state of going out.
In another specific embodiment of the present invention, to used in the present embodiment to noun slightly explain:
The explanation of AndroidManifest.xml:The description of whole application program and join in the development process of Android
It is AndroidManifest.xml to put file, and this document is mainly used in describing have which interface inside application program, applies journey
Sequence needs which authority in application system etc..Its Core Feature is the description to whole application program.
onCreate:This is a function of system readjustment when application program launching in android system, also
It is the function performance that can execute automatically when saying application program launching, generally inside executes some initialization correlations
Operation.
acquireWakeLock:The major function of this function is to obtain system power supply lock, once obtain this lock into
Work(, this application program if any holder lock and does not discharge, then system would not enter resting state.
onDestory:This is a function of system readjustment when application program is exited in android system,
That is the function performance that application program can be executed when exiting automatically, generally inside executes some release resources
Operation.
releaseWakeLock:The major function of this function is release power lock, once discharge successfully, system and energy
Enough automatically into dormancy and screen lock state.When application program is exited, we will discharge power lock in time, in order to avoid cause
The leakage of resource in system.
Mainly include two modules in the present embodiment:Often bright control module and luminance adjustment module, this 2 modules are made jointly
With after complement each other, can cross reach guarantee screen constant in the case of while reaching the purpose of power saving.
Normal bright module:
Often the major function of bright module is that guarantee system will not enter dormancy screen lock state;Often bright module core logical design
As shown in Figure 2.
This sets of plan can be controlled whether forbidding that android system enters resting state by on-off mode, and
Can effectively and fast integration to corresponding client arrange list in.There is one in the development process of Android software
AndroidManifest.xml file, the configuration file of this file mainly whole application.
It is as follows which realizes logic:
1st, apply for authority
A) as we will realize screen often bright function, so be directed to 2 authorities to need to be stated as system.
Need 2 System Privileges of application.This 2 authorities and related description are as follows:
i.android.permission.WAKE_LOCK:Allow to lock using power management, this power management lock can
Prevention system carries out dormancy and screen goes out screen.
ii.android.permission.DEVICE_POWER:Allow to access bottom power supply management device.
B) concrete announcement procedure is stated in AndroidManifest.xml file, and statement mode is as follows
<uses-permissionandroid:Name=" android.permission.WAKE_LOCK "/>
<uses-permissionandroid:Name=" android.permission.DEVICE_POWER "/>
2nd, stated after authority when application program launching and system can call onCreate function (this is application
Life cycle function, can call the letter automatically when enabling application program), we execute in this onCreate function and obtain
Take the operation of lock.
3rd, in onCreate function, execution obtains lock operation, and concrete acquisition lock operation is as follows, passes through
AcquireWakeLock () function can be obtained obtaining screen lock after executing the success of acquireWakeLock () function
Screen lock is taken, until the forth screen that screen lock is released goes out screen.
After screen often open by bright module, we can open luminance dynamic regulatory function module at once, adjust with regard to luminance dynamic
The design of section module hereafter has detailed narration.Open brightness control function be by calling startAutoLight function (this
Function major function is to open luminance adjustment module), after opening luminance adjustment module automatic detection screen whether play video from
And dynamic regulation screen intensity.
4th, when application program exits interface, system can be called onDestory function (this is application life cycles
Function, can call the letter when application program is exited automatically, and the function is mainly used in discharging resource), we are in onDestory
Release lock operation is executed in function.
5th, release lock operation is executed in onDestory function, and concrete release lock operation is as follows, passes through
ReleaseWakeLock () function can be released discharging screen lock after executing the success of releaseWakeLock () function
Screen lock is put, after release screen lock, screen just can normally return to screen state of going out.
After screen constants block is closed, we can close luminance dynamic regulatory function module at once, adjust with regard to luminance dynamic
Section module hereafter has detailed narration, wouldn't describe in detail herein.Close luminance dynamic adjustment module be by calling stopAutoLight
Brightness exactly is reduced to no longer be any regulation behaviour after original screen brightness by (closing luminance dynamic adjustment module) primary operational
Make.
Often bright module brief summary:
Screen can be reached by such scheme not going out the purpose of screen, by the life cycle onCreate in application and
Realization acquisition lock and release lock in onDestory function, do not lock so as to reaching holding screen during holder lock and not going out for a long time to shield
The purpose of screen.
Luminance adjustment module:
The major function of brightness module is to carry out dynamic regulation to screen intensity, enables to screen by luminance adjustment module
Overall mobile telephone power consumption is kept to be reduced to than relatively low state when curtain is under often bright state.
By using luminance adjustment module so that it is guaranteed that when in the case of screen Chang Liang in this programme, it is ensured that Neng Gouyou
The purpose of power saving is reached in the case of good use.
Realize the framework of flow process as shown in figure 3, its to realize logic as follows:
1st, obtaining screen brightness value first, and brightness value is deposited hereof, storage value is set as h1
A) pass through system SettingProvider data base interface
android.provider.Settings.System.getInt
(android.provider.Settings.System.SCREEN_BRIGHTNESS)
The function screen brightness value current to obtain system.
Wherein android.provider.Settings.System.SCREEN_BRIGHTNESS is a constant value, generation
What table was obtained is the meaning of the current screen brightness of system.
2nd, detect whether video is played, be described in detail as follows
A) when video is played, we can arrange one and play flag bit isVideoOn (only one boolean's change
Amount, for indicating current video broadcast state) it is true (true);
B) when stopping playing video, it is false (vacation) that we can arrange one and play flag bit isVideoOn;
C) by the state of detection flag bit isVideoOn, we just can determine that current video playback situation.
If 3 when detecting under video state is played, we just arrange 60%- of the screen intensity for maximum brightness
90% (in the case of video is played, it is the bright environment of a comparison for 60%-90% to play brightness, is relatively suitable for video and broadcasts
The brightness that puts).In android system, the brightness of screen is to be stored in data base SettingProvider (database-name)
In, the change in system meeting monitored data storehouse, after the brightness value in data base changes, system can be perceived at once,
And the operation of the screen intensity of triggering modification immediately.
The concrete flow process for arranging screen intensity is as follows:
A) in android system, the excursion of brightness is 0-255.
B) by the setting interface of system SettingProvider data base
Android.provider.Settings.System.putInt (the write letter of SettingProvider data base
Number) a shaping brightness value is written in data base.
C) maximum brightness is 255, then the 90% of 255 is 230, so we are written to data base by 230
In SettingProvider, the brightness of such system is just adjusted to the 90% of maximum brightness.
If detected after stopping plays, we can read out the screen brightness value h1 of default storage, then by the
Data base SettingProvider write interface described in three
Android.provider.Settings.System.putInt, this brightness value of h1 is written to data base
In SettingProvider, the screen intensity of such system will become the brightness for turning to original luminance value h1.
Two modules are used in combination process:
The above-detailed implementation process of normal bright module and luminance adjustment module in this programme, next we will be detailed
Carefully describe this 2 modules are how to be closely linked.
1st, the often bright module in this programme in the on state when, we can preferentially pass through above-mentioned often bright embodiment party
Case keeps often bright operation to screen.Due to wanting to reach more preferable experience under broadcasting video state after often bright unlatching
When, we will open second functional module, luminance video adjustment module this when immediately.
2nd, luminance adjustment module can detect video broadcasting condition after opening, can be actively when detecting and being video state
Screen intensity is lifted, to guarantee the user experience under video broadcasting condition.When video broadcasting condition is left, I
Can be reduced to the screen intensity that opens before video immediately to screen intensity, such just can meet before Consumer's Experience is lifted
Put the purpose of the appropriate power consumption for reducing screen.
2 big modules are described in the present embodiment, and one is screen often bright module, it is ensured that screen Chang Liang, another is
Luminance adjustment module.By this 2 modules with the use of so that video clip under conditions of can finally reaching screen Chang Liang
Brightness experience that can be higher can be more preferable, at the same under non-video interface brightness and the Huis to original use brightness, so as to
Reach certain power saving purpose.
As shown in figure 4, the Android screen Chang Liangyu Energy Saving Control system for being adjusted based on luminance dynamic of the embodiment of the present invention
System, for realizing the Android screen Chang Liangyu energy-saving control method for adjusting based on luminance dynamic of the embodiment of the present invention, including
Often bright control module and luminance adjustment module, wherein:
Normal bright control module, for when user is using video jukebox software, obtaining making for the screen lock of android system
With authority, during use often bright state is kept by screen lock control screen in software;After software is using terminating, screen is discharged
Lock, screen can normally return to screen state of going out;
Luminance adjustment module, for, after screen enters often bright state, if video broadcasting condition, control screen brightness is
High brightness state;If the non-broadcast state of video, control screen brightness is low-light level state.
Often bright control module includes authority acquiring module, screen lock acquisition module, often bright status control module, screen lock are released
Amplification module and screen state recovery module, wherein:
Authority acquiring module, for state in android system file and obtain the authority that is locked using power management and
Access the authority of bottom power supply management device;
Screen lock acquisition module, for, after authority has been stated, calling automatically call back function, executes in the call back function
Obtain the operation of screen lock;
Often bright status control module, in software during use, keeps often bright state by screen lock control screen;
Screen lock release module, for, at the end of software use, android system calls application life cycles function,
Screen lock is discharged in the application life cycles function;
Screen state recovery module, for, after release screen lock, closing luminance dynamic regulatory function, screen is from Chang Liangzhuan
State returns to initial luma values, and screen can normally return to screen state of going out.
Luminance adjustment module includes:
Initial luma values acquisition module, for after screen enters often bright state, obtaining the current initial luma values of screen,
And initial luma values are stored hereof;
Video broadcasting condition detection module, for detecting whether be video broadcasting condition:By detecting video playback mark
The state of position, judges current video broadcasting condition, if flag bit is true, for video broadcasting condition;If flag bit is
False, then be the non-broadcast state of video;
Screen intensity dynamic regulation module, for dynamic regulation screen intensity, if video broadcasting condition, control screen is bright
Spend for high brightness state;If during the non-broadcast state of video, control screen brightness be.
The system is desirably integrated into the client of android system and arranges in list.
It should be appreciated that for those of ordinary skills, can be improved according to the above description or be converted,
And all these modifications and variations should all belong to the protection domain of claims of the present invention.
Claims (10)
1. a kind of Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation, it is characterised in that including following
Step:
S1, user obtain the access right of the screen lock of android system when using video jukebox software, use in software
Period keeps often bright state by screen lock control screen;
After S2, screen enter often bright state, if video broadcasting condition, control screen brightness is high brightness state;If video
Non- broadcast state, control screen brightness is low-light level state;
After S3, software are using terminating, screen lock is discharged, screen can normally return to screen state of going out.
2. the Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation according to claim 1, which is special
Levy and be, the video jukebox software in the method includes live class video software, the method for step S2 also includes:
After screen enters often bright state, live class video software is determined whether:
If live class video software, screen printing image, carries out recognition of face to screen picture at a time interval, and same
When determine whether audio signal be input into;If having recognized face in screen picture or having had audio signal to be input into, it is judged as straight
State is broadcast, control screen brightness is high brightness state;If not recognized face and defeated without audio signal in screen picture
Enter, be then judged as live pause state, control screen brightness is low-light level state;
If non-live class video software, then carry out the judgement of video broadcasting condition.
3. the Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation according to claim 1, which is special
Levy and be, in step S1, control the screen of android system to keep the method for often bright state to be specially:
S11, state and obtain the authority locked using power management in android system file and access bottom power management and set
Standby authority;
S12, stated authority after, call automatically call back function, in the call back function execute obtain screen lock operation;
S13, in software during use, keeps often bright state by screen lock control screen.
4. the Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation according to claim 1, which is special
Levy and be, the method in step S2 to control screen brightness is specially:
After S21, screen enter often bright state, the current initial luma values of screen are obtained, and initial luma values are stored in file
In;
S22, detect whether as video broadcasting condition:By the state of video playback flag bit is detected, judge that current video is broadcast
State is put, if flag bit is true, for video broadcasting condition;If flag bit is false, for the non-broadcast state of video;
If S23 video broadcasting condition, control screen brightness is high brightness state;
If during the non-broadcast state of video, control screen brightness be.
5. the Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation according to claim 4, which is special
Levying and being, the method that screen intensity is changed in step S23 is specially:
In a, setting android system, the excursion of brightness value is 0-255, and monitors the change of the data base for storing the brightness value
Change;
B, write function by the data base of android system, one shaping brightness value of write is in data base;
C, high brightness state are the 60%-90% of highest brightness value, that is, the brightness value for arranging screen is 153-230.
6. the Android screen Chang Liangyu energy-saving control method based on luminance dynamic regulation according to claim 4, which is special
Levying and being, the method that screen lock is discharged in step S3 is specially:
At the end of S31, software use, android system calls application life cycles function, in the application life cycles function
Release screen lock;
After S32, release screen lock, luminance dynamic regulatory function is closed, screen is from often bright recovering state to initial luma values, and shields
Curtain can normally return to screen state of going out.
7. the control of the Android screen Chang Liangyu energy-saving control method for being adjusted based on luminance dynamic of a kind of employing claim 1
System processed, it is characterised in that including often bright control module and luminance adjustment module, wherein:
Normal bright control module, for when user is using video jukebox software, obtaining the right to use of the screen lock of android system
Limit, keeps often bright state by screen lock control screen during use in software;After software is using terminating, screen lock, screen is discharged
Curtain can normally return to screen state of going out;
Luminance adjustment module, for after screen enters often bright state, if video broadcasting condition, control screen brightness is highlighted
Degree state;If the non-broadcast state of video, control screen brightness is low-light level state.
8. the Android screen Chang Liangyu energy-saving control system based on luminance dynamic regulation according to claim 7, which is special
Levy and be, often bright control module includes authority acquiring module, screen lock acquisition module, often bright status control module, screen lock are released
Amplification module and screen state recovery module, wherein:
Authority acquiring module, for stating and obtaining the authority that locks using power management and access in android system file
The authority of bottom power supply management device;
Screen lock acquisition module, for, after authority has been stated, calling automatically call back function, executes acquisition in the call back function
The operation of screen lock;
Often bright status control module, in software during use, keeps often bright state by screen lock control screen;
Screen lock release module, for, at the end of software use, android system calls application life cycles function, at this
Screen lock is discharged in application life cycles function;
Screen state recovery module, for, after release screen lock, closing luminance dynamic regulatory function, screen is extensive from often bright state
Arrive initial luma values again, and screen can normally return to screen state of going out.
9. the Android screen Chang Liangyu energy-saving control system based on luminance dynamic regulation according to claim 7, which is special
Levy and be, luminance adjustment module includes:
Initial luma values acquisition module, for after screen enters often bright state, obtaining the current initial luma values of screen, and will
Initial luma values are stored hereof;
Video broadcasting condition detection module, for detecting whether be video broadcasting condition:By detecting video playback flag bit
State, judges current video broadcasting condition, if flag bit is true, for video broadcasting condition;If flag bit is false,
It is then the non-broadcast state of video;
Screen intensity dynamic regulation module, for dynamic regulation screen intensity, if video broadcasting condition, control screen brightness is
High brightness state;If during the non-broadcast state of video, control screen brightness be.
10. the Android screen Chang Liangyu energy-saving control system based on luminance dynamic regulation according to claim 7, its
It is characterised by, the system is desirably integrated into the client of android system and arranges in list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610888110.5A CN106453892B (en) | 2016-10-11 | 2016-10-11 | The Android screen adjusted based on luminance dynamic is always on and energy-saving control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610888110.5A CN106453892B (en) | 2016-10-11 | 2016-10-11 | The Android screen adjusted based on luminance dynamic is always on and energy-saving control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453892A true CN106453892A (en) | 2017-02-22 |
CN106453892B CN106453892B (en) | 2019-08-02 |
Family
ID=58174869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610888110.5A Active CN106453892B (en) | 2016-10-11 | 2016-10-11 | The Android screen adjusted based on luminance dynamic is always on and energy-saving control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453892B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108196664A (en) * | 2018-01-19 | 2018-06-22 | 广东欧珀移动通信有限公司 | screen display method, device, storage medium and terminal |
CN108874272A (en) * | 2018-05-31 | 2018-11-23 | 南昌黑鲨科技有限公司 | Brightness display control method, computer readable storage medium and the intelligent terminal of intelligent terminal |
CN110087132A (en) * | 2019-05-14 | 2019-08-02 | 珠海格力电器股份有限公司 | A kind of method and apparatus of intelligent set brightness |
CN110543333A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | Dormancy processing method and device for processor, mobile terminal and storage medium |
CN111352604A (en) * | 2020-02-13 | 2020-06-30 | 支付宝(杭州)信息技术有限公司 | Screen brightness adjusting method and device and computer readable storage medium |
CN113676779A (en) * | 2021-07-22 | 2021-11-19 | 南京信息职业技术学院 | Power saving system and method for screen of intelligent device |
WO2022002205A1 (en) * | 2020-07-01 | 2022-01-06 | 华为技术有限公司 | Display method and electronic device |
CN114168211A (en) * | 2022-02-14 | 2022-03-11 | 麒麟软件有限公司 | Method for associating Android application with Linux screen locking mechanism during system compatibility |
WO2023212928A1 (en) * | 2022-05-06 | 2023-11-09 | 北京小米移动软件有限公司 | Display screen control method and apparatus, terminal device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984641A (en) * | 2010-10-14 | 2011-03-09 | 中兴通讯股份有限公司 | Mobile terminal and backlight control method thereof |
US20110260958A1 (en) * | 2010-04-22 | 2011-10-27 | Qualcomm Incorporated | Adjusting backlight intensity based on a progress of a task |
CN102387245A (en) * | 2010-09-06 | 2012-03-21 | 康佳集团股份有限公司 | Mobile terminal and backlight adjusting method thereof |
CN104427082A (en) * | 2013-08-19 | 2015-03-18 | 联想移动通信科技有限公司 | Terminal device screen backlight brightness control method and device and terminal device |
-
2016
- 2016-10-11 CN CN201610888110.5A patent/CN106453892B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110260958A1 (en) * | 2010-04-22 | 2011-10-27 | Qualcomm Incorporated | Adjusting backlight intensity based on a progress of a task |
CN102387245A (en) * | 2010-09-06 | 2012-03-21 | 康佳集团股份有限公司 | Mobile terminal and backlight adjusting method thereof |
CN101984641A (en) * | 2010-10-14 | 2011-03-09 | 中兴通讯股份有限公司 | Mobile terminal and backlight control method thereof |
CN104427082A (en) * | 2013-08-19 | 2015-03-18 | 联想移动通信科技有限公司 | Terminal device screen backlight brightness control method and device and terminal device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108196664A (en) * | 2018-01-19 | 2018-06-22 | 广东欧珀移动通信有限公司 | screen display method, device, storage medium and terminal |
CN108196664B (en) * | 2018-01-19 | 2021-10-26 | Oppo广东移动通信有限公司 | Screen display method and device, storage medium and terminal |
CN110543333A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | Dormancy processing method and device for processor, mobile terminal and storage medium |
CN108874272A (en) * | 2018-05-31 | 2018-11-23 | 南昌黑鲨科技有限公司 | Brightness display control method, computer readable storage medium and the intelligent terminal of intelligent terminal |
CN110087132A (en) * | 2019-05-14 | 2019-08-02 | 珠海格力电器股份有限公司 | A kind of method and apparatus of intelligent set brightness |
CN111352604A (en) * | 2020-02-13 | 2020-06-30 | 支付宝(杭州)信息技术有限公司 | Screen brightness adjusting method and device and computer readable storage medium |
WO2022002205A1 (en) * | 2020-07-01 | 2022-01-06 | 华为技术有限公司 | Display method and electronic device |
CN113676779A (en) * | 2021-07-22 | 2021-11-19 | 南京信息职业技术学院 | Power saving system and method for screen of intelligent device |
CN113676779B (en) * | 2021-07-22 | 2023-09-26 | 南京信息职业技术学院 | Intelligent equipment screen power saving system and method |
CN114168211A (en) * | 2022-02-14 | 2022-03-11 | 麒麟软件有限公司 | Method for associating Android application with Linux screen locking mechanism during system compatibility |
WO2023212928A1 (en) * | 2022-05-06 | 2023-11-09 | 北京小米移动软件有限公司 | Display screen control method and apparatus, terminal device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106453892B (en) | 2019-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453892A (en) | Android screen always-on and energy-saving control method and system based on dynamic brightness adjustment | |
WO2020038088A1 (en) | Occupation control method and apparatus for camera application | |
CN103188277B (en) | load energy consumption management system, method and server | |
CN103839558B (en) | Synchronous broadcast method and server, player | |
CN104699218B (en) | A kind of task management method and equipment | |
CN106662907B (en) | Wake-up lock control method, device and terminal based on terminal | |
EP2552084A1 (en) | Method and system for realizing power saving mechanism management between optical network unit (onu) and optical line terminal (olt) | |
CN102402454B (en) | Method for regulating memory operation frequency and electronic device | |
CN103226491B (en) | A kind of method and device that Application Status are set | |
CN102938851B (en) | A kind of automatic stand-by processing method and set-top box based on set-top box | |
CN106897125A (en) | Smart machine and its management method of service or application | |
CN103986891A (en) | Television volume control method and system | |
CN105425950A (en) | Method and system for regulating terminal according to eyeball state detection, and terminal | |
CN106375565A (en) | Implementation method of breathing lamp in intelligent equipment application notification | |
WO2022111407A1 (en) | Cell handover method and apparatus | |
CN102186112A (en) | IPTV (Interactive Personality TV) receiving terminal and remote wakeup method and system thereof | |
CN105824392A (en) | Application program management method and terminal | |
WO2015154376A1 (en) | Power saving method and device for terminal, terminal, computer program and carrier | |
US20220116868A1 (en) | Electronic device, method, medium and apparatus for managing extender nodes | |
CN104102498B (en) | A kind of mobile terminal and its starting-up method | |
CN103503379A (en) | Media rendering device providing uninterrupted playback of content | |
CN106792056A (en) | The control method and intelligent television of intelligent television | |
CN106686633A (en) | Method for preventing WIFI malicious frequent awakening | |
CN107423125A (en) | A kind of camera shooting control method and shooting control system for intelligent terminal | |
CN107484022A (en) | The method that system overall situation screen protection is realized in Android intelligent 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |