CN106055073A - Processing method and device based on screen-lighting lock - Google Patents
Processing method and device based on screen-lighting lock Download PDFInfo
- Publication number
- CN106055073A CN106055073A CN201610379612.5A CN201610379612A CN106055073A CN 106055073 A CN106055073 A CN 106055073A CN 201610379612 A CN201610379612 A CN 201610379612A CN 106055073 A CN106055073 A CN 106055073A
- Authority
- CN
- China
- Prior art keywords
- application program
- bright screen
- module
- terminal
- application
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Abstract
The embodiment of the invention discloses a processing method and device based on a screen-lighting lock. The method comprises the following steps: acquiring a notification event corresponding to a message when a terminal is in a standby screen-off state, determining an application program corresponding to the notification event, judging whether the application program possesses the screen-lighting lock, if so, preventing the application program from lighting the screen of the terminal through the possessed screen-lighting lock. Through the releasing of the screen-lighting lock possessed by the application program corresponding to the notification event when the terminal is in standby state, the terminal screen keeps the off state, the terminal electric quantity consumption caused by the screen lighting is reduced, the electric quantity of the terminal is saved, and then the endurance capacity of the terminal can be improved.
Description
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind for the treatment of method and apparatus based on bright screen lock.
Background technology
Along with the development in telecommunications field, from strength to strength, user is not only for the function of mobile terminal such as smart mobile phone
Being made a phone call by smart mobile phone, send short messages, user can also install the application journey of various function the most in the terminal
Sequence, mobile terminal is already known to a part for people's live and work.
At present, in the middle of the process using smart mobile phone, the power consumption condition of each hardware in the middle of mobile phone is analyzed
It is found that power consumption maximum be that screen show, smart mobile phone of today is in order to meet user to amusement, video, interaction
Visual demand, screen design is increasing, and the luminescence of giant-screen needs to consume substantial amounts of electricity, and with moving along with giant-screen
State and touch-control effect are also required to substantial amounts of electricity support equally.
But, in the middle of real life, it was found by the inventors of the present invention that the third party application installed in terminal is frequent
The message that can receive the propelling movement of its service server is reminded to user's (such as weather conditions, microblogging by the way of notification event
Message, application program update propelling movement etc.), cell phone system can be waken up simultaneously up and light screen, light mobile phone screen to just standby
System for be the process comparing power consumption, if user mobile phone backstage is mounted with that many this type of application program of comparison is transported on backstage
OK, arise that the many notification event of comparison wakes up terminal screen up by holding bright screen lock, thus cause the wave of terminal power
Take.
From the foregoing, it will be observed that all kinds of notification events wake up screen the most voluntarily up in existing terminal, thus cause terminal electricity
The waste of amount.
Summary of the invention
The embodiment of the present invention provides a kind for the treatment of method and apparatus based on bright screen lock, can solve to notify in existing terminal
Event wakes up screen voluntarily up, thus causes the technical problem of the waste of terminal power.
The embodiment of the present invention provides a kind of processing method based on bright screen lock, comprises the following steps:
Terminal be in standby put out screen state time, obtain notification event corresponding to message;
Determine the application program that described notification event is corresponding;
Judge whether described application program holds bright screen lock;
Described application program is the most then stoped to light the screen of described terminal by the bright screen lock held.
Further, described method also includes:
If judging, described application program does not holds bright screen lock, then detect whether the bright screen lock Shen that described application program is corresponding
Please ask;
If having, then refuse to process, the lock application request of described bright screen to stop described application program bright screen to be locked.
Further, described determine the application program that described notification event is corresponding after, described judgement described application journey
Before whether sequence holds bright screen lock, described method also includes:
Obtain the application identities of described application program;
Judge to preset in application identities set whether there is the sample application identities corresponding with described application program;
If it is not, then perform to judge the step whether described application program holds bright screen lock.
Further, after judging that described application program holds bright screen lock, held by it stoping described application program
Before the screen of described terminal lighted by some bright screens lock, described method also includes:
Judge described application program hold described bright screen lock duration whether exceed preset duration;
The most then perform to stop described application program to lock the step of the screen lighting described terminal by its bright screen held
Suddenly.
Further, before the notification event that described acquisition message is corresponding, described method also includes:
Receive the request that arranges of application program, described request is set carries the application identities of described application program;
Ask the application identities of described application program as sample application identities according to described setting, and add to presetting
Application identities set.
The embodiment of the present invention additionally provides a kind of processing means based on bright screen lock, including: acquisition module, determine module,
First judge module and control module;
Described acquisition module, for terminal be in standby put out screen state time, obtain notification event corresponding to message;
Described determine module, for determining the application program that described notification event is corresponding;
Described first judge module, is used for judging whether described application program holds bright screen lock;
Described control module, for when described first judge module is judged as YES, stops described application program by holding
The screen of described terminal lighted by some bright screens lock.
Further, described device also includes: detection module;
Described detection module, for when described first judge module is judged as NO, has detected whether described application program
Corresponding bright screen lock application request;
Described control module, is additionally operable to when described detection module detects the bright screen lock application that described application program is corresponding
During request, refuse to process, the lock application request of described bright screen to stop described application program bright screen to be locked.
Further, described device also includes: the second judge module;
Described second judge module, for described determine application program that module determines that described notification event is corresponding it
After, before described first judge module judges whether described application program holds bright screen lock, obtain the application of described application program
Mark, and judge to preset in application identities set whether there is the default application identities corresponding with described application program, if it is not, then
Judged whether described application program holds bright screen lock by described first judge module.
Further, described device also includes: the 3rd judge module;
Described 3rd judge module, for after described first judge module is judged as YES, described control module stops
Before described application program lights the screen of described terminal by its bright screen held lock, it is judged that described application program is held described
Whether the duration of bright screen lock exceedes preset duration, the most then stoped described application program to be held by it by described control module
Bright screen lock light the screen of described terminal.
Further, described device also includes: request receiver module and interpolation module;
Described request receiver module, before obtaining, at described acquisition module, the notification event that message is corresponding, receiving should
With the request that arranges of program, described request is set carries the application identities of described application program;
Described interpolation module, for asking to apply the application identities of described application program as sample according to described setting
Mark, and add to presetting application identities set.
The embodiment of the present invention first terminal be in standby put out screen state time, obtain notification event corresponding to message, determine
The application program that above-mentioned notification event is corresponding, it is judged that whether this application program holds bright screen lock, the most then stop this application program
The screen of terminal is lighted by the bright screen lock held;This programme by dischargeing the application that notification event is corresponding when terminal standby
The bright screen lock that program is held, so that terminal screen keeps extinguishing, decreases the consumption lighting screen to terminal power, saves
The electricity of terminal, and then can improve the flying power of terminal.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
The schematic flow sheet of a kind of based on bright screen lock the processing method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of based on bright screen lock the processing method that Fig. 2 provides for the embodiment of the present invention two;
Fig. 3 shows for the flow process of a kind of processing method locked based on bright screen in smart mobile phone that the embodiment of the present invention three provides
It is intended to;
The structural representation of a kind of based on bright screen lock the processing means that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the processing means that Fig. 5 locks based on bright screen for the second that the embodiment of the present invention four provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind for the treatment of method and apparatus based on bright screen lock.To carry out specifically respectively below
Bright.
Embodiment one,
The present embodiment will be described from the angle of the processing means locked based on bright screen, should be based on the processing means of bright screen lock
Specifically can integrated in the terminal, this terminal can be mobile internet device (such as smart mobile phone, panel computer), intelligence dress
Each class of electronic devices such as equipment (such as intelligent watch).
Refer to the flow process signal of a kind of based on bright screen lock the processing method that Fig. 1, Fig. 1 provide for the embodiment of the present invention one
Figure, the processing method based on bright screen lock of the present embodiment includes:
Step S101, terminal be in standby put out screen state time, receive notification event corresponding to message.
The most described notification event can be info web, short message, QQ information, application pushed information etc.,
It may come from the announcement informations such as webpage, the application program of installation or the operating system of terminal.
In the middle of the embodiment of the present invention, above-mentioned intelligent terminal can utilize the accessibility in Android (android) framework
The accessibility case mechanism of service (Accessibility Service) obtains above-mentioned announcement information.Certainly, implement at other
In example this step can also Mac OS X operating system based on Apple, easily combine understanding those skilled in the art
In the range of, the most carefully state at this and limit.
Step S102, determines the application program that notification event is corresponding.
Concrete, during terminal standby puts out screen, receive the notification message in the informing of terminal, then can be right
This notification message is analyzed processing to obtain the application program corresponding to this notification message, wherein obtains this notification message institute right
The step of the application program answered can have multiple, such as, above-mentioned notification message is carried out extraction process, to obtain this notification message
Entrained application program identification information, determines the application journey corresponding to this notification message according to this application program identification information
Sequence.
Optionally, the present embodiment can also be detected by the informing management interface in the operating system to terminal,
When detecting that informing management interface receives the notification message that application program is initiated, can obtain from informing management interface
The notification message received.Wherein, in an embodiment of the present invention, application program can be the application program of short message types,
Can also is that the application program of instant messaging IM (InstantMessaging) type, such as, above-mentioned application program can be to be
System information pushing, game etc., it is also possible to be the application program of the instant messaging IM type such as wechat, QQ, Skype, Facebook, this
Outward, the application program during this application program can be the operating system of terminal, it is also possible to for the third-party application journey of user installation
Sequence.
In the middle of a specific embodiment, it is assumed that this terminal is smart mobile phone based on android operating system, specifically
, the NotificationListenerService service interface in mobile phone can be detected, wherein it is desired to explanation
It is, in the middle of Android system, when system receives new notification message or notification message is deleted, to trigger
The callback method of NotificationListenerService interface, newly increases after android4.4 simultaneously
That is Notification.extras field can use NotificationListenerService service interface
Obtain the specifying information of notifications.After getting notification message, notification message can be analyzed, to determine this notice
Application program corresponding to message.It is to say, after getting notification message, can analyze this notification message is which should
With program initiation.
Step S103, it is judged that whether above-mentioned application program holds bright screen lock, the most then perform step S104, if it is not, then hold
Row step S105.
In embodiments of the present invention, after determining the application program that above-mentioned notification event is corresponding, it is judged that above-mentioned application journey
Whether sequence holds the method for bright screen lock can have multiple, and terminal such as can having detected whether, bright screen lock is in work shape
State, the most then judge whether this bright screen lock is to lock with the bright screen corresponding to above-mentioned application program, wherein it is possible to by system
The title of the bright screen lock that the acquisition of framework (framework) layer is in running order and in running order bright screen are locked corresponding
Application name, it should be noted that above-mentioned in running order bright screen lock may have one, it is also possible to have multiple, when
Detect when in running order bright screen lock has multiple, obtain the application name that multiple bright screen lock is corresponding the most respectively, really
Determine whether to there is the bright screen lock corresponding with above-mentioned application program.I.e. judge whether above-mentioned application program holds the step of bright screen lock
Can specifically include:
Whether detection terminal exists in running order bright screen lock;
The most then judge whether above-mentioned in running order bright screen lock is the bright screen corresponding with above-mentioned application program
Lock;
If, it is determined that above-mentioned application program holds bright screen lock.
Optionally, above-mentioned judge application program whether hold bright screen lock step can also include: obtain above-mentioned application journey
The identification information of sequence, searches corresponding and in running order bright screen lock according to this identification information, in the terminal if depositing
, it is determined that this application program holds bright screen lock.
Step S104, stops application program to light the screen of terminal by the bright screen lock held.
Such as, if judging, above-mentioned application program holds bright screen lock, then discharge this bright screen lock, to keep putting out of terminal screen
Go out state, thus avoid the power consumption phenomenon that terminal is unnecessary.
Optionally, when user opens a terminal, the above-mentioned announcement information received can be shown the informing in terminal,
For notifying that user have received those announcement informations when terminal standby, allow user process, add motility.
Step S105, is not further processed, and keeps standby.
In the present embodiment, if application program corresponding to above-mentioned notification event does not holds bright screen lock, namely this application program
Will not make terminal standby put out screen time wake up screen up, then it can be further processed, keep the standby of terminal put out screen
State.
In embodiments of the present invention, if judging, application program does not holds bright screen lock, then detected whether that application program is corresponding
Bright screen lock application request;
If having, then refuse to process, bright screen lock application request to stop application program bright screen to be locked.
Preferably, it is contemplated that user uses the motility of terminal, the embodiment of the present invention can increase by one and control switch, uses
In the open and close controlling this terminal processes mode.
Optionally, the processing mode that the embodiment of the present invention provides can reduce the power consumption of terminal, and then increases stand-by time,
Therefore, when this processing method can also be arranged on terminal power less than a predetermined threshold value, automatically open up this function, such as, work as hands
When dynamo-electric amount is less than 30%, mobile phone enters battery saving mode and automatically opens up this function, and the most above-mentioned predetermined threshold value can be according to user
Demand carrys out sets itself.
Put out in the middle of the process of screen from the foregoing, it will be observed that the embodiment of the present invention uses at terminal standby, receive notification event, determine logical
The application program that county magistrate's part is corresponding, it is judged that whether this application program holds bright screen lock, the most then discharge what this application program was held
Bright screen is locked, so that the screen of terminal keeps OFF state;This programme by discharging corresponding the answering of notification event when terminal standby
The bright screen lock held by program, so that terminal screen keeps extinguishing, decreases the consumption lighting screen to terminal power, joint
Save the electricity of terminal, and then the flying power of terminal can have been improved, improve Consumer's Experience.
Embodiment two,
The processing method of the present invention, by the basis of the method that embodiment one describes, is described further by the present embodiment,
With reference to Fig. 2, the processing method based on bright screen lock that the embodiment of the present invention provides includes:
Step S201, receive application program arranges request.
Concrete, above-mentioned application program arranges request and carries the application identities of application program, the most above-mentioned application program
Application identities can be that user needs through commonly used application name, even if these application programs need when terminal standby
Hold bright screen lock, also will not be forced to discharge, i.e. its bright screen taken lock will not be carried out release process.
Such as, arranging interface and provide the application list installed in terminal, user can be in this application list
Choose conventional application program, also be able to wake up screen up during to be maintained at terminal standby, the such as instant messaging such as wechat, QQ IM class
The application program etc. of type.
Step S202, asks the application identities of application program as sample application identities according to above-mentioned setting, and adds
To presetting application identities set.
Wherein, this application identities set is user and allows to wake up up when terminal standby one or more application of screen
Program, this pool of applications is application white list.
Step S203, puts out in the middle of the process of screen at terminal standby, receives notification event, and determines the application journey of its correspondence
Sequence.
The most described notification event can be info web, short message, QQ information, application pushed information etc.,
It may come from the announcement informations such as webpage, the application program of installation or the operating system of terminal.
Concrete, during terminal standby puts out screen, receive the notification message in the informing of terminal, then can be right
This notification message is analyzed processing to obtain the application program corresponding to this notification message, such as, enters above-mentioned notification message
Row extraction process, to obtain the application program identification information entrained by this notification message, true according to this application program identification information
Fixed application program corresponding to this notification message.
Step S204, obtains the application identities of above-mentioned application program.
Step S205, it is judged that preset in application identities set whether there is the sample application identities corresponding with application program,
The most then perform step S206, if it is not, then perform step S207.
Concrete, this application program can be mated with the application program in the middle of above-mentioned default application identities set,
If the application matches success in the middle of this application program and default application identities set, i.e. this application program is at default application mark
Know in the middle of set, so allowing this application program to hold bright screen lock;If in the middle of this application program and default application identities set
Application matches failure, i.e. this application program is not in the middle of default application identities set, so not allowing this application program to hold
Bright screen is had to lock.
Optionally, the application program identification that arranging in the middle of above-mentioned steps S201 comprises in the middle of request can also for user not
The application program that commonly use, power consumption is higher, often hold bright screen lock, these application programs are not allowed to when terminal standby
Hold and wake up institute up.The default application identities set now set up in the middle of step S102 is application blacklist.So in step
In the middle of S205, it is judged that whether this blacklist exists the default application identities corresponding with application program, the most then performs step
S207, if it is not, then perform step S206.
Step S206, determines that this application program of permission is held bright screen and locked and wake up screen up.
Such as, this application program is an instant messaging class application, when receiving message, it can be allowed to wake up screen up
Curtain, and this message is shown, and the informing in terminal is to inform user.
Step S207, it is judged that whether above-mentioned application program holds bright screen lock, the most then perform step S208, if it is not, then hold
Row step S209.
In embodiments of the present invention, after determining the application program that above-mentioned notification event is corresponding, it is judged that above-mentioned application journey
Whether sequence holds the method for bright screen lock can have multiple, and terminal such as can having detected whether, bright screen lock is in work shape
State, the most then judge whether this bright screen lock is to lock with the bright screen corresponding to above-mentioned application program.
Step S208, stops application program to light the screen of terminal by the bright screen lock held.
Optionally, when user opens a terminal, the above-mentioned announcement information received can be shown the informing in terminal,
For notifying that user have received those announcement informations when terminal standby, allow user process, add motility.
Step S209, is not further processed, and keeps standby.
In the embodiment of the present invention, above-mentioned terminal can be, but not limited to the intelligence such as smart mobile phone, panel computer, notebook computer
Terminal, wherein, the operating system of this terminal can be that Android operation system, IOS, Black Berry operate system
Systems etc., the present invention does not limits.
From the foregoing, it will be observed that the embodiment of the present invention use terminal be in standby put out screen state time, obtain notice corresponding to message
Event, determines the application program that above-mentioned notification event is corresponding, it is judged that whether this application program holds bright screen lock, the most then stop
This application program lights the screen of terminal by the bright screen lock held;This programme by discharging notification event pair when terminal standby
The bright screen lock that the application program answered is held, so that terminal screen keeps extinguishing, decreases and lights screen to terminal power
Consume, save the electricity of terminal, and then the flying power of terminal can be improved, additionally scheme need not to increase any device with
And Material Cost, implement the most relatively simple.
Embodiment three,
The present embodiment will as a example by smart mobile phone, describe this programme reality application in the middle of be embodied as step, reference
Fig. 3, comprises the following steps:
Step S301, smart mobile phone receives the white list of user and arranges request.
Wherein, above-mentioned white list arranges the title asking to include at least one application program, even if these application programs exist
Hold bright screen lock during cell phone standby, also will not fall by forcible aborting, i.e. its bright screen taken lock will not be carried out release process, permissible
It is set to " Sina's microblogging ", " Tencent QQ ", " wechat ".
Step S302, smart mobile phone arranges request according to white list and sets up white list.
Such as, the application program comprised in this white list is " Sina's microblogging ", " Tencent QQ " and " wechat ".
Step S303, during smart mobile phone puts out screen, receives notification message and determines the application program of correspondence.
This announcement information can be notifications, it is also possible to the PUSH message of the third-party application for installing on mobile phone, than
As Baidu's mhkc newly reply, the new vermicelli of Sina's microblogging, wechat message etc..
Concrete, such as in the middle of smart mobile phone based on android operating system, can pass through
NotificationListenerService service interface detects, when cell phone system receives new notification message or leads to
Know when message is deleted, the callback method of NotificationListenerService interface can be triggered, obtain this notification message
Specifying information.After smart mobile phone gets notification message, notification message can be analyzed, to determine this notification message
Corresponding application program, the mhkc such as received replies message that corresponding application program is " Baidu's mhkc ", QQ disappears
Application program corresponding to breath is " Tencent QQ ".
Step S304, smart mobile phone obtains the application identities of this application program.
Step S305, smart mobile phone judges that this application identities whether in the middle of white list, the most then performs step S306,
If it is not, then perform step S307.
Concrete, this application program can be mated with the application program in the middle of white list, if this application program and
Application matches success in the middle of white list, i.e. this application program is in the middle of white list, so allowing this application program to hold
Bright screen is locked;If the application matches failure in the middle of this application program and white list, i.e. this application program is not in the middle of white list,
So not allowing this application program to hold bright screen lock.
Step S306, smart mobile phone allows this application program to hold bright screen lock.
It is QQ message that such as mobile phone receives notification message, so that it is determined that application program corresponding to this notification message is for " to rise
News QQ ", and " Tencent QQ " is in the middle of above-mentioned white list, so mobile phone allows " Tencent QQ " program to hold bright screen lock, and puts bright screen
Curtain displays to the user that this QQ message.
Step S307, smart mobile phone judges whether this application program holds bright screen lock, the most then perform step S308, if
No, then perform step S309.
In the present embodiment, this application program is defined as not in the middle of above-mentioned white list, with above-mentioned application program for " paying
Precious " as a example by, it is judged that whether whether " Alipay " holds bright screen lock, concrete, exist in running order in detection smart mobile phone
Bright screen lock, if existing, then determine whether that whether this in running order bright screen lock is corresponding with " Alipay " bright
Screen lock, if then performing step S308, if it is not, then perform step S309.
Step S308, the bright screen lock that smart mobile phone release application program is held, to keep the OFF state of mobile phone screen.
It is as a example by " Alipay " by this application program, after determining its bright screen holding in mobile phone lock, discharges what it was held
Bright screen is locked, thus avoids " Alipay " to light mobile phone screen.
Optionally, after user unlocks and lights mobile phone screen, the notification message that can above-mentioned " Alipay " be pushed shows
Show on mobile phone desktop, thus allow user process.
Step S309, if judging, this application program does not holds bright screen lock, is not further processed, keeps smart mobile phone
Standby put out screen state.
From the foregoing, it will be observed that the embodiment of the present invention use smart mobile phone be in standby put out screen state time, obtain message corresponding
Notification event, determines the application program that above-mentioned notification event is corresponding, it is judged that whether this application program holds bright screen lock, the most then
This application program is stoped to light the screen of smart mobile phone by the bright screen lock held;This programme is by releasing when smart mobile phone is standby
Bleed off the bright screen lock that application program corresponding to notification event is held, so that mobile phone screen keeps extinguishing, decrease a bright screen
The curtain consumption to battery electric quantity, saves the electricity of mobile phone, and then can improve the flying power of mobile phone, promotes Consumer's Experience.
Embodiment four,
In order to preferably implement said method embodiment, present invention also offers a kind of processing means based on bright screen lock,
This device can integrated in the terminal, this terminal can be that mobile internet device (such as smart mobile phone, panel computer), intelligence are worn
Wear all kinds of intelligent electronic devices such as equipment (such as intelligent watch).
As shown in Figure 4, acquisition module 401 should be may include that based on the processing means of bright screen lock, determined module 402, first
Judge module 403 and control module 404;
This acquisition module 401, for terminal be in standby put out screen state time, obtain notification event corresponding to message;
This determines module 402, for determining the application program that notification event is corresponding;
This first judge module 403, is used for judging whether application program holds bright screen lock;
This control module 404, for when the first judge module 403 is judged as YES, stops application program by holding
The screen of terminal lighted by bright screen lock.
Optionally, the processing means that the embodiment of the present invention provides can also include: detection module;
This detection module, for when the first judge module 403 is judged as NO, detects whether corresponding bright of application program
Screen lock application request;
Control module 404, is additionally operable to, when detection module detects that the bright screen lock application that application program is corresponding is asked, refuse
Definitely bright screen lock application request processes, to stop application program bright screen to be locked.
Preferably, as it is shown in figure 5, the processing means that the embodiment of the present invention provides can also include: the second judge module
405;
This second judge module 405, is used for after determining that module 402 determines the application program that notification event is corresponding, the
Before one judge module 403 judges whether application program holds bright screen lock, obtain the application identities of application program, and judge to preset
Whether application identities set exists the sample application identities corresponding with application program, if it is not, then sentenced by the first judge module 403
Whether disconnected application program holds bright screen lock.
Preferably, the processing means that the embodiment of the present invention provides can also include: request receiver module 406 and interpolation module
407;
This request receiver module 406, for before acquisition module 401 obtains the notification event that message is corresponding, receiving should
Arranging request by program, the application identities of described application program is carried in the request of arranging;
This interpolation module 407, for asking the application identities of application program as sample application identities according to arranging, and
Add to presetting application identities set.
Optionally, this processing means can also include: the 3rd judge module;
3rd judge module, for after the first judge module 403 is judged as YES, control module 404 stops application
Before program lights the screen of terminal by its bright screen held lock, it is judged that application program holds whether the duration of bright screen lock exceedes
Preset duration, the most then stoped application program to light the screen of terminal by its bright screen held lock by control module.
From the foregoing, it will be observed that the embodiment of the present invention use terminal be in standby put out screen state time, by acquisition module 401 obtain disappear
The notification event that breath is corresponding, determines that module 402 determines that the application program that notification event is corresponding, the first judge module 403 judge to be somebody's turn to do
Whether application program holds bright screen lock, the most then stoped this application program to be lighted by the bright screen lock held by control module 404
The screen of terminal;The bright screen that this programme is held by discharging application program corresponding to notification event when terminal standby is locked, from
And make terminal screen keep extinguishing, and decrease the consumption lighting screen to terminal power, save the electricity of terminal, so permissible
Improve the flying power of terminal, improve Consumer's Experience.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, makees
Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above modules, at this not
Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps can be by program and completes to instruct relevant hardware, and this program can be stored in computer-readable storage medium
In matter, as being stored in the memorizer of terminal, and performed by least one processor in this terminal, can wrap in the process of implementation
Include the flow process of the embodiment such as information issuing method.Wherein, storage medium may include that read only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of based on bright screen lock the treating method and apparatus provided the embodiment of the present invention above is described in detail,
Its each functional module can be integrated in one and process in chip, it is also possible to be that modules is individually physically present, it is also possible to two
Or two or more module is integrated in a module.Above-mentioned integrated module both can realize to use the form of hardware, it is also possible to
The form using software function module realizes.Principle and the embodiment of the present invention are carried out by specific case used herein
Illustrating, the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this area
Technical staff, according to the thought of the present invention, the most all will change, to sum up institute
Stating, this specification content should not be construed as limitation of the present invention.
Claims (10)
1. a processing method based on bright screen lock, it is characterised in that comprise the following steps:
Terminal be in standby put out screen state time, obtain notification event corresponding to message;
Determine the application program that described notification event is corresponding;
Judge whether described application program holds bright screen lock;
Described application program is the most then stoped to light the screen of described terminal by the bright screen lock held.
2. processing method as claimed in claim 1, it is characterised in that described method also includes:
If judging, described application program does not holds bright screen lock, then detect whether that the bright screen lock application that described application program is corresponding please
Ask;
If having, then refuse to process, the lock application request of described bright screen to stop described application program bright screen to be locked.
3. processing method as claimed in claim 1, it is characterised in that in the described application journey determining that described notification event is corresponding
After sequence, described judge described application program whether hold bright screen lock before, described method also includes:
Obtain the application identities of described application program;
Judge to preset in application identities set whether there is the sample application identities corresponding with described application program;
If it is not, then perform to judge the step whether described application program holds bright screen lock.
4. processing method as claimed in claim 1, it is characterised in that after judging that described application program holds bright screen lock,
Before the screen of described terminal lighted by the bright screen lock stoping described application program to be held by it, described method also includes:
Judge described application program hold described bright screen lock duration whether exceed preset duration;
The most then perform to stop described application program to lock the step of the screen lighting described terminal by its bright screen held.
5. processing method as claimed in claim 3, it is characterised in that before the notification event that described acquisition message is corresponding,
Described method also includes:
Receive the request that arranges of application program, described request is set carries the application identities of described application program;
Ask the application identities of described application program as sample application identities according to described setting, and add to presetting application
Logo collection.
6. a processing means based on bright screen lock, it is characterised in that including: acquisition module, determine module, the first judge module
And control module;
Described acquisition module, for terminal be in standby put out screen state time, obtain notification event corresponding to message;
Described determine module, for determining the application program that described notification event is corresponding;
Described first judge module, is used for judging whether described application program holds bright screen lock;
Described control module, for when described first judge module is judged as YES, stops described application program by holding
The screen of described terminal lighted by bright screen lock.
7. processing means as claimed in claim 6, it is characterised in that described device also includes: detection module;
Described detection module, for when described first judge module is judged as NO, has detected whether that described application program is corresponding
Bright screen lock application request;
Described control module, is additionally operable to when described detection module detects the bright screen lock application request that described application program is corresponding
Time, refuse to process, the lock application request of described bright screen to stop described application program bright screen to be locked.
8. processing means as claimed in claim 6, it is characterised in that described device also includes: the second judge module;
Described second judge module, for described determine that module determines the application program that described notification event is corresponding after, institute
State the first judge module judge described application program whether hold bright screen lock before, obtain the application identities of described application program,
And judge to preset in application identities set whether there is the sample application identities corresponding with described application program, if it is not, then by institute
State the first judge module and judge whether described application program holds bright screen lock.
9. processing means as claimed in claim 6, it is characterised in that described device also includes: the 3rd judge module;
Described 3rd judge module, for after described first judge module is judged as YES, described control module stops described
Before application program lights the screen of described terminal by its bright screen held lock, it is judged that described application program holds described bright screen
Lock duration whether exceed preset duration, the most then by described control module stop described application program by its hold bright
The screen of described terminal lighted by screen lock.
10. processing means as claimed in claim 8, it is characterised in that described device also includes: request receiver module and interpolation
Module;
Described request receiver module, before obtaining, at described acquisition module, the notification event that message is corresponding, receives application journey
The request that arranges of sequence, described arrange request and carries the application identities of described application program;
Described interpolation module, for asking the application identities of described application program as sample application mark according to described setting
Know, and add to presetting application identities set.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379612.5A CN106055073B (en) | 2016-05-31 | 2016-05-31 | A kind for the treatment of method and apparatus based on bright screen lock |
PCT/CN2017/086459 WO2017206862A1 (en) | 2016-05-31 | 2017-05-29 | Bright screen lock-based processing method and apparatus, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379612.5A CN106055073B (en) | 2016-05-31 | 2016-05-31 | A kind for the treatment of method and apparatus based on bright screen lock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106055073A true CN106055073A (en) | 2016-10-26 |
CN106055073B CN106055073B (en) | 2019-02-26 |
Family
ID=57171795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610379612.5A Active CN106055073B (en) | 2016-05-31 | 2016-05-31 | A kind for the treatment of method and apparatus based on bright screen lock |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106055073B (en) |
WO (1) | WO2017206862A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648325A (en) * | 2016-12-28 | 2017-05-10 | 北京金山安全软件有限公司 | Method and device for playing video on screen locking interface and electronic equipment |
CN106681474A (en) * | 2016-12-07 | 2017-05-17 | 上海传英信息技术有限公司 | Mobile communication terminal bright screen management and setting method thereof |
CN106778233A (en) * | 2016-12-26 | 2017-05-31 | 努比亚技术有限公司 | Control device and method that a kind of application is installed |
WO2017206862A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Bright screen lock-based processing method and apparatus, storage medium, and electronic device |
CN107592665A (en) * | 2017-10-27 | 2018-01-16 | 维沃移动通信有限公司 | A kind of control method of application program, device and mobile terminal |
CN107682543A (en) * | 2017-09-28 | 2018-02-09 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and the terminal device of information output |
CN108268116A (en) * | 2017-01-03 | 2018-07-10 | 中兴通讯股份有限公司 | A kind of method, device and mobile terminal for solving mobile terminal exception power consumption |
CN110119188A (en) * | 2019-04-08 | 2019-08-13 | 上海闻泰信息技术有限公司 | Reduce the method, apparatus and terminal of power consumption of terminal |
CN110543333A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | Dormancy processing method and device for processor, mobile terminal and storage medium |
CN113840358A (en) * | 2020-06-24 | 2021-12-24 | Oppo(重庆)智能科技有限公司 | Message filtering method, mobile terminal and computer readable storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107148073B (en) * | 2017-05-24 | 2020-10-30 | 北京珠穆朗玛移动通信有限公司 | Bright screen processing method, mobile terminal and device with storage function |
CN114390190B (en) * | 2020-10-22 | 2023-10-31 | 海信视像科技股份有限公司 | Display equipment and method for monitoring application to start camera |
CN116027876B (en) * | 2022-06-30 | 2023-11-24 | 荣耀终端有限公司 | Absolute static state information acquisition method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104221445A (en) * | 2013-11-15 | 2014-12-17 | 华为终端有限公司 | Method for waking up terminal system and terminal |
US20150234442A1 (en) * | 2014-02-20 | 2015-08-20 | Qualcomm Incorporated | Wake lock management through application monitoring |
CN105183137A (en) * | 2015-09-09 | 2015-12-23 | 厦门美图移动科技有限公司 | Mobile terminal and wake lock control method and system thereof |
CN105306743A (en) * | 2015-09-30 | 2016-02-03 | 小米科技有限责任公司 | Screen control method and device |
CN105530377A (en) * | 2015-12-14 | 2016-04-27 | 广东欧珀移动通信有限公司 | Method, device and system for processing wake-up lock |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156053B (en) * | 2014-07-29 | 2015-12-30 | 努比亚技术有限公司 | A kind of control method of abnormal power consumption, device and mobile terminal |
CN104486510A (en) * | 2014-12-16 | 2015-04-01 | 上海斐讯数据通信技术有限公司 | Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal |
CN105204856A (en) * | 2015-09-18 | 2015-12-30 | 北京金山安全软件有限公司 | Information prompting method and device and electronic equipment |
CN105354492B (en) * | 2015-10-16 | 2018-07-17 | 珠海格力电器股份有限公司 | Communication terminal and its message informing control method and device |
CN106055073B (en) * | 2016-05-31 | 2019-02-26 | Oppo广东移动通信有限公司 | A kind for the treatment of method and apparatus based on bright screen lock |
-
2016
- 2016-05-31 CN CN201610379612.5A patent/CN106055073B/en active Active
-
2017
- 2017-05-29 WO PCT/CN2017/086459 patent/WO2017206862A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104221445A (en) * | 2013-11-15 | 2014-12-17 | 华为终端有限公司 | Method for waking up terminal system and terminal |
US20150234442A1 (en) * | 2014-02-20 | 2015-08-20 | Qualcomm Incorporated | Wake lock management through application monitoring |
CN105183137A (en) * | 2015-09-09 | 2015-12-23 | 厦门美图移动科技有限公司 | Mobile terminal and wake lock control method and system thereof |
CN105306743A (en) * | 2015-09-30 | 2016-02-03 | 小米科技有限责任公司 | Screen control method and device |
CN105530377A (en) * | 2015-12-14 | 2016-04-27 | 广东欧珀移动通信有限公司 | Method, device and system for processing wake-up lock |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206862A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Bright screen lock-based processing method and apparatus, storage medium, and electronic device |
CN106681474A (en) * | 2016-12-07 | 2017-05-17 | 上海传英信息技术有限公司 | Mobile communication terminal bright screen management and setting method thereof |
CN106778233A (en) * | 2016-12-26 | 2017-05-31 | 努比亚技术有限公司 | Control device and method that a kind of application is installed |
CN106648325A (en) * | 2016-12-28 | 2017-05-10 | 北京金山安全软件有限公司 | Method and device for playing video on screen locking interface and electronic equipment |
CN106648325B (en) * | 2016-12-28 | 2020-11-03 | 北京金山安全软件有限公司 | Method and device for playing video on screen locking interface and electronic equipment |
CN108268116A (en) * | 2017-01-03 | 2018-07-10 | 中兴通讯股份有限公司 | A kind of method, device and mobile terminal for solving mobile terminal exception power consumption |
WO2018126770A1 (en) * | 2017-01-03 | 2018-07-12 | 中兴通讯股份有限公司 | Method for solving abnormal power consumption of mobile terminal |
CN108268116B (en) * | 2017-01-03 | 2022-06-07 | 中兴通讯股份有限公司 | Method and device for solving abnormal power consumption of mobile terminal and mobile terminal |
CN107682543A (en) * | 2017-09-28 | 2018-02-09 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and the terminal device of information output |
CN107592665A (en) * | 2017-10-27 | 2018-01-16 | 维沃移动通信有限公司 | A kind of control method of application program, device and mobile terminal |
CN110543333A (en) * | 2018-05-29 | 2019-12-06 | 视联动力信息技术股份有限公司 | Dormancy processing method and device for processor, mobile terminal and storage medium |
CN110119188A (en) * | 2019-04-08 | 2019-08-13 | 上海闻泰信息技术有限公司 | Reduce the method, apparatus and terminal of power consumption of terminal |
CN113840358A (en) * | 2020-06-24 | 2021-12-24 | Oppo(重庆)智能科技有限公司 | Message filtering method, mobile terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106055073B (en) | 2019-02-26 |
WO2017206862A1 (en) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055073A (en) | Processing method and device based on screen-lighting lock | |
US9970966B2 (en) | Method, device and computer storage medium for detecting power consumption of an application | |
CN106507445B (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
EP2977854B1 (en) | Method, apparatus, and user terminal for removing malicious power consuming application | |
CN109803359B (en) | Method for awakening terminal system and terminal | |
CN106095288A (en) | A kind of based on the treating method and apparatus waking up lock up | |
CN102200942B (en) | Based on application behavior monitoring method and the cloud server of cloud computing | |
CN107302789B (en) | Method and system for improving battery endurance of android device | |
CN106020415B (en) | Application control method and device under smart machine standby mode | |
CN107797841B (en) | Window control method and device, terminal equipment and storage medium | |
CN104156053A (en) | Abnormal power consumption control method, abnormal power consumption control device and mobile terminal | |
CN105554316A (en) | Intelligent terminal battery capacity reserving realization method and system | |
CN110554762A (en) | Method and terminal for controlling application program | |
CN102915192A (en) | Method for adjusting standby time of screen and communication terminal | |
CN106055077A (en) | Wake-up lock-based processing method and device | |
CN105700663A (en) | Background program cleaning method and system for mobile terminal | |
CN103401991A (en) | Method and device for prompting communication event of terminal device | |
CN107943269B (en) | Scheduling job control method, device, terminal equipment and storage medium | |
EP3190771B1 (en) | Method and device for managing instant communication application program, and mobile terminal thereof | |
CN105245718A (en) | Control method and device of breathing lamp and mobile terminal | |
CN106022108A (en) | Synchronous management method and terminal device | |
CN105573777B (en) | Method and device for controlling service in application | |
CN104166591A (en) | Method and device for avoiding forced interruption of game | |
CN107436672B (en) | Application processing method and terminal | |
CN105824391A (en) | Timer awakening control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |